]> git.saurik.com Git - wxWidgets.git/blob - configure
Extract operator<<(ostream, wxFileName) from filename test.
[wxWidgets.git] / configure
1 #! /bin/sh
2 # From configure.in Id.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.61 for wxWidgets 2.9.1.
5 #
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
7 #
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
10 # This configure script is free software; the Free Software Foundation
11 # gives unlimited permission to copy, distribute and modify it.
12 ## --------------------- ##
13 ## M4sh Initialization. ##
14 ## --------------------- ##
15
16 # Be more Bourne compatible
17 DUALCASE=1; export DUALCASE # for MKS sh
18 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
19 emulate sh
20 NULLCMD=:
21 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22 # is contrary to our usage. Disable this feature.
23 alias -g '${1+"$@"}'='"$@"'
24 setopt NO_GLOB_SUBST
25 else
26 case `(set -o) 2>/dev/null` in
27 *posix*) set -o posix ;;
28 esac
29
30 fi
31
32
33
34
35 # PATH needs CR
36 # Avoid depending upon Character Ranges.
37 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
38 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
39 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
40 as_cr_digits='0123456789'
41 as_cr_alnum=$as_cr_Letters$as_cr_digits
42
43 # The user is always right.
44 if test "${PATH_SEPARATOR+set}" != set; then
45 echo "#! /bin/sh" >conf$$.sh
46 echo "exit 0" >>conf$$.sh
47 chmod +x conf$$.sh
48 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
49 PATH_SEPARATOR=';'
50 else
51 PATH_SEPARATOR=:
52 fi
53 rm -f conf$$.sh
54 fi
55
56 # Support unset when possible.
57 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
58 as_unset=unset
59 else
60 as_unset=false
61 fi
62
63
64 # IFS
65 # We need space, tab and new line, in precisely that order. Quoting is
66 # there to prevent editors from complaining about space-tab.
67 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
68 # splitting by setting IFS to empty value.)
69 as_nl='
70 '
71 IFS=" "" $as_nl"
72
73 # Find who we are. Look in the path if we contain no directory separator.
74 case $0 in
75 *[\\/]* ) as_myself=$0 ;;
76 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77 for as_dir in $PATH
78 do
79 IFS=$as_save_IFS
80 test -z "$as_dir" && as_dir=.
81 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
82 done
83 IFS=$as_save_IFS
84
85 ;;
86 esac
87 # We did not find ourselves, most probably we were run as `sh COMMAND'
88 # in which case we are not to be found in the path.
89 if test "x$as_myself" = x; then
90 as_myself=$0
91 fi
92 if test ! -f "$as_myself"; then
93 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
94 { (exit 1); exit 1; }
95 fi
96
97 # Work around bugs in pre-3.0 UWIN ksh.
98 for as_var in ENV MAIL MAILPATH
99 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
100 done
101 PS1='$ '
102 PS2='> '
103 PS4='+ '
104
105 # NLS nuisances.
106 for as_var in \
107 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
108 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
109 LC_TELEPHONE LC_TIME
110 do
111 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
112 eval $as_var=C; export $as_var
113 else
114 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
115 fi
116 done
117
118 # Required to use basename.
119 if expr a : '\(a\)' >/dev/null 2>&1 &&
120 test "X`expr 00001 : '.*\(...\)'`" = X001; then
121 as_expr=expr
122 else
123 as_expr=false
124 fi
125
126 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
127 as_basename=basename
128 else
129 as_basename=false
130 fi
131
132
133 # Name of the executable.
134 as_me=`$as_basename -- "$0" ||
135 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
136 X"$0" : 'X\(//\)$' \| \
137 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
138 echo X/"$0" |
139 sed '/^.*\/\([^/][^/]*\)\/*$/{
140 s//\1/
141 q
142 }
143 /^X\/\(\/\/\)$/{
144 s//\1/
145 q
146 }
147 /^X\/\(\/\).*/{
148 s//\1/
149 q
150 }
151 s/.*/./; q'`
152
153 # CDPATH.
154 $as_unset CDPATH
155
156
157 if test "x$CONFIG_SHELL" = x; then
158 if (eval ":") 2>/dev/null; then
159 as_have_required=yes
160 else
161 as_have_required=no
162 fi
163
164 if test $as_have_required = yes && (eval ":
165 (as_func_return () {
166 (exit \$1)
167 }
168 as_func_success () {
169 as_func_return 0
170 }
171 as_func_failure () {
172 as_func_return 1
173 }
174 as_func_ret_success () {
175 return 0
176 }
177 as_func_ret_failure () {
178 return 1
179 }
180
181 exitcode=0
182 if as_func_success; then
183 :
184 else
185 exitcode=1
186 echo as_func_success failed.
187 fi
188
189 if as_func_failure; then
190 exitcode=1
191 echo as_func_failure succeeded.
192 fi
193
194 if as_func_ret_success; then
195 :
196 else
197 exitcode=1
198 echo as_func_ret_success failed.
199 fi
200
201 if as_func_ret_failure; then
202 exitcode=1
203 echo as_func_ret_failure succeeded.
204 fi
205
206 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
207 :
208 else
209 exitcode=1
210 echo positional parameters were not saved.
211 fi
212
213 test \$exitcode = 0) || { (exit 1); exit 1; }
214
215 (
216 as_lineno_1=\$LINENO
217 as_lineno_2=\$LINENO
218 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
219 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
220 ") 2> /dev/null; then
221 :
222 else
223 as_candidate_shells=
224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
225 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
226 do
227 IFS=$as_save_IFS
228 test -z "$as_dir" && as_dir=.
229 case $as_dir in
230 /*)
231 for as_base in sh bash ksh sh5; do
232 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
233 done;;
234 esac
235 done
236 IFS=$as_save_IFS
237
238
239 for as_shell in $as_candidate_shells $SHELL; do
240 # Try only shells that exist, to save several forks.
241 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
242 { ("$as_shell") 2> /dev/null <<\_ASEOF
243 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
244 emulate sh
245 NULLCMD=:
246 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
247 # is contrary to our usage. Disable this feature.
248 alias -g '${1+"$@"}'='"$@"'
249 setopt NO_GLOB_SUBST
250 else
251 case `(set -o) 2>/dev/null` in
252 *posix*) set -o posix ;;
253 esac
254
255 fi
256
257
258 :
259 _ASEOF
260 }; then
261 CONFIG_SHELL=$as_shell
262 as_have_required=yes
263 if { "$as_shell" 2> /dev/null <<\_ASEOF
264 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
265 emulate sh
266 NULLCMD=:
267 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
268 # is contrary to our usage. Disable this feature.
269 alias -g '${1+"$@"}'='"$@"'
270 setopt NO_GLOB_SUBST
271 else
272 case `(set -o) 2>/dev/null` in
273 *posix*) set -o posix ;;
274 esac
275
276 fi
277
278
279 :
280 (as_func_return () {
281 (exit $1)
282 }
283 as_func_success () {
284 as_func_return 0
285 }
286 as_func_failure () {
287 as_func_return 1
288 }
289 as_func_ret_success () {
290 return 0
291 }
292 as_func_ret_failure () {
293 return 1
294 }
295
296 exitcode=0
297 if as_func_success; then
298 :
299 else
300 exitcode=1
301 echo as_func_success failed.
302 fi
303
304 if as_func_failure; then
305 exitcode=1
306 echo as_func_failure succeeded.
307 fi
308
309 if as_func_ret_success; then
310 :
311 else
312 exitcode=1
313 echo as_func_ret_success failed.
314 fi
315
316 if as_func_ret_failure; then
317 exitcode=1
318 echo as_func_ret_failure succeeded.
319 fi
320
321 if ( set x; as_func_ret_success y && test x = "$1" ); then
322 :
323 else
324 exitcode=1
325 echo positional parameters were not saved.
326 fi
327
328 test $exitcode = 0) || { (exit 1); exit 1; }
329
330 (
331 as_lineno_1=$LINENO
332 as_lineno_2=$LINENO
333 test "x$as_lineno_1" != "x$as_lineno_2" &&
334 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
335
336 _ASEOF
337 }; then
338 break
339 fi
340
341 fi
342
343 done
344
345 if test "x$CONFIG_SHELL" != x; then
346 for as_var in BASH_ENV ENV
347 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
348 done
349 export CONFIG_SHELL
350 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
351 fi
352
353
354 if test $as_have_required = no; then
355 echo This script requires a shell more modern than all the
356 echo shells that I found on your system. Please install a
357 echo modern shell, or manually run the script under such a
358 echo shell if you do have one.
359 { (exit 1); exit 1; }
360 fi
361
362
363 fi
364
365 fi
366
367
368
369 (eval "as_func_return () {
370 (exit \$1)
371 }
372 as_func_success () {
373 as_func_return 0
374 }
375 as_func_failure () {
376 as_func_return 1
377 }
378 as_func_ret_success () {
379 return 0
380 }
381 as_func_ret_failure () {
382 return 1
383 }
384
385 exitcode=0
386 if as_func_success; then
387 :
388 else
389 exitcode=1
390 echo as_func_success failed.
391 fi
392
393 if as_func_failure; then
394 exitcode=1
395 echo as_func_failure succeeded.
396 fi
397
398 if as_func_ret_success; then
399 :
400 else
401 exitcode=1
402 echo as_func_ret_success failed.
403 fi
404
405 if as_func_ret_failure; then
406 exitcode=1
407 echo as_func_ret_failure succeeded.
408 fi
409
410 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
411 :
412 else
413 exitcode=1
414 echo positional parameters were not saved.
415 fi
416
417 test \$exitcode = 0") || {
418 echo No shell found that supports shell functions.
419 echo Please tell autoconf@gnu.org about your system,
420 echo including any error possibly output before this
421 echo message
422 }
423
424
425
426 as_lineno_1=$LINENO
427 as_lineno_2=$LINENO
428 test "x$as_lineno_1" != "x$as_lineno_2" &&
429 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
430
431 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
432 # uniformly replaced by the line number. The first 'sed' inserts a
433 # line-number line after each line using $LINENO; the second 'sed'
434 # does the real work. The second script uses 'N' to pair each
435 # line-number line with the line containing $LINENO, and appends
436 # trailing '-' during substitution so that $LINENO is not a special
437 # case at line end.
438 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
439 # scripts with optimization help from Paolo Bonzini. Blame Lee
440 # E. McMahon (1931-1989) for sed's syntax. :-)
441 sed -n '
442 p
443 /[$]LINENO/=
444 ' <$as_myself |
445 sed '
446 s/[$]LINENO.*/&-/
447 t lineno
448 b
449 :lineno
450 N
451 :loop
452 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
453 t loop
454 s/-\n.*//
455 ' >$as_me.lineno &&
456 chmod +x "$as_me.lineno" ||
457 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
458 { (exit 1); exit 1; }; }
459
460 # Don't try to exec as it changes $[0], causing all sort of problems
461 # (the dirname of $[0] is not the place where we might find the
462 # original and so on. Autoconf is especially sensitive to this).
463 . "./$as_me.lineno"
464 # Exit status is that of the last command.
465 exit
466 }
467
468
469 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
470 as_dirname=dirname
471 else
472 as_dirname=false
473 fi
474
475 ECHO_C= ECHO_N= ECHO_T=
476 case `echo -n x` in
477 -n*)
478 case `echo 'x\c'` in
479 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
480 *) ECHO_C='\c';;
481 esac;;
482 *)
483 ECHO_N='-n';;
484 esac
485
486 if expr a : '\(a\)' >/dev/null 2>&1 &&
487 test "X`expr 00001 : '.*\(...\)'`" = X001; then
488 as_expr=expr
489 else
490 as_expr=false
491 fi
492
493 rm -f conf$$ conf$$.exe conf$$.file
494 if test -d conf$$.dir; then
495 rm -f conf$$.dir/conf$$.file
496 else
497 rm -f conf$$.dir
498 mkdir conf$$.dir
499 fi
500 echo >conf$$.file
501 if ln -s conf$$.file conf$$ 2>/dev/null; then
502 as_ln_s='ln -s'
503 # ... but there are two gotchas:
504 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
505 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
506 # In both cases, we have to default to `cp -p'.
507 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
508 as_ln_s='cp -p'
509 elif ln conf$$.file conf$$ 2>/dev/null; then
510 as_ln_s=ln
511 else
512 as_ln_s='cp -p'
513 fi
514 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
515 rmdir conf$$.dir 2>/dev/null
516
517 if mkdir -p . 2>/dev/null; then
518 as_mkdir_p=:
519 else
520 test -d ./-p && rmdir ./-p
521 as_mkdir_p=false
522 fi
523
524 if test -x / >/dev/null 2>&1; then
525 as_test_x='test -x'
526 else
527 if ls -dL / >/dev/null 2>&1; then
528 as_ls_L_option=L
529 else
530 as_ls_L_option=
531 fi
532 as_test_x='
533 eval sh -c '\''
534 if test -d "$1"; then
535 test -d "$1/.";
536 else
537 case $1 in
538 -*)set "./$1";;
539 esac;
540 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
541 ???[sx]*):;;*)false;;esac;fi
542 '\'' sh
543 '
544 fi
545 as_executable_p=$as_test_x
546
547 # Sed expression to map a string onto a valid CPP name.
548 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
549
550 # Sed expression to map a string onto a valid variable name.
551 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
552
553
554
555 exec 7<&0 </dev/null 6>&1
556
557 # Name of the host.
558 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
559 # so uname gets run too.
560 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
561
562 #
563 # Initializations.
564 #
565 ac_default_prefix=/usr/local
566 ac_clean_files=
567 ac_config_libobj_dir=.
568 LIBOBJS=
569 cross_compiling=no
570 subdirs=
571 MFLAGS=
572 MAKEFLAGS=
573 SHELL=${CONFIG_SHELL-/bin/sh}
574
575 # Identity of this package.
576 PACKAGE_NAME='wxWidgets'
577 PACKAGE_TARNAME='wxwidgets'
578 PACKAGE_VERSION='2.9.1'
579 PACKAGE_STRING='wxWidgets 2.9.1'
580 PACKAGE_BUGREPORT='wx-dev@lists.wxwidgets.org'
581
582 ac_unique_file="wx-config.in"
583 # Factoring default headers for most tests.
584 ac_includes_default="\
585 #include <stdio.h>
586 #ifdef HAVE_SYS_TYPES_H
587 # include <sys/types.h>
588 #endif
589 #ifdef HAVE_SYS_STAT_H
590 # include <sys/stat.h>
591 #endif
592 #ifdef STDC_HEADERS
593 # include <stdlib.h>
594 # include <stddef.h>
595 #else
596 # ifdef HAVE_STDLIB_H
597 # include <stdlib.h>
598 # endif
599 #endif
600 #ifdef HAVE_STRING_H
601 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
602 # include <memory.h>
603 # endif
604 # include <string.h>
605 #endif
606 #ifdef HAVE_STRINGS_H
607 # include <strings.h>
608 #endif
609 #ifdef HAVE_INTTYPES_H
610 # include <inttypes.h>
611 #endif
612 #ifdef HAVE_STDINT_H
613 # include <stdint.h>
614 #endif
615 #ifdef HAVE_UNISTD_H
616 # include <unistd.h>
617 #endif"
618
619 ac_subst_vars='SHELL
620 PATH_SEPARATOR
621 PACKAGE_NAME
622 PACKAGE_TARNAME
623 PACKAGE_VERSION
624 PACKAGE_STRING
625 PACKAGE_BUGREPORT
626 exec_prefix
627 prefix
628 program_transform_name
629 bindir
630 sbindir
631 libexecdir
632 datarootdir
633 datadir
634 sysconfdir
635 sharedstatedir
636 localstatedir
637 includedir
638 oldincludedir
639 docdir
640 infodir
641 htmldir
642 dvidir
643 pdfdir
644 psdir
645 libdir
646 localedir
647 mandir
648 DEFS
649 ECHO_C
650 ECHO_N
651 ECHO_T
652 LIBS
653 build_alias
654 host_alias
655 target_alias
656 build
657 build_cpu
658 build_vendor
659 build_os
660 host
661 host_cpu
662 host_vendor
663 host_os
664 wx_top_builddir
665 CC
666 CFLAGS
667 LDFLAGS
668 CPPFLAGS
669 ac_ct_CC
670 EXEEXT
671 OBJEXT
672 CPP
673 GREP
674 EGREP
675 CXX
676 CXXFLAGS
677 ac_ct_CXX
678 AR
679 subdirs
680 PKG_CONFIG
681 GTK_CFLAGS
682 GTK_LIBS
683 GTK_CONFIG
684 DIRECTFB_CFLAGS
685 DIRECTFB_LIBS
686 XMKMF
687 X_CFLAGS
688 X_PRE_LIBS
689 X_LIBS
690 X_EXTRA_LIBS
691 PANGOX_CFLAGS
692 PANGOX_LIBS
693 PANGOFT2_CFLAGS
694 PANGOFT2_LIBS
695 PANGOXFT_CFLAGS
696 PANGOXFT_LIBS
697 CFLAGS_VISIBILITY
698 CXXFLAGS_VISIBILITY
699 LIBICONV
700 GXX_VERSION
701 SDL_CONFIG
702 SDL_CFLAGS
703 SDL_LIBS
704 GTKPRINT_CFLAGS
705 GTKPRINT_LIBS
706 LIBGNOMEPRINTUI_CFLAGS
707 LIBGNOMEPRINTUI_LIBS
708 GNOMEVFS_CFLAGS
709 GNOMEVFS_LIBS
710 HILDON_CFLAGS
711 HILDON_LIBS
712 HILDON2_CFLAGS
713 HILDON2_LIBS
714 PYTHON
715 COND_PYTHON
716 CAIRO_CFLAGS
717 CAIRO_LIBS
718 GST_CFLAGS
719 GST_LIBS
720 ALL_WX_LIBS
721 BUILT_WX_LIBS
722 STD_BASE_LIBS
723 STD_GUI_LIBS
724 wxUSE_ZLIB
725 wxUSE_REGEX
726 wxUSE_EXPAT
727 wxUSE_LIBJPEG
728 wxUSE_LIBPNG
729 wxUSE_LIBTIFF
730 VENDOR
731 OFFICIAL_BUILD
732 WX_FLAVOUR
733 WX_LIB_FLAVOUR
734 WXUNIV
735 MONOLITHIC
736 USE_PLUGINS
737 CXXWARNINGS
738 EXTRALIBS
739 EXTRALIBS_XML
740 EXTRALIBS_HTML
741 EXTRALIBS_MEDIA
742 EXTRALIBS_GUI
743 EXTRALIBS_OPENGL
744 EXTRALIBS_SDL
745 EXTRALIBS_STC
746 WITH_PLUGIN_SDL
747 EXTRALIBS_GTKPRINT
748 EXTRALIBS_GNOMEPRINT
749 EXTRALIBS_GNOMEVFS
750 EXTRALIBS_HILDON
751 UNICODE
752 DEBUG_INFO
753 DEBUG_FLAG
754 TOOLKIT_LOWERCASE
755 TOOLKIT_VERSION
756 DYLIB_RPATH_INSTALL
757 DYLIB_RPATH_POSTLINK
758 SAMPLES_RPATH_FLAG
759 HEADER_PAD_OPTION
760 HOST_SUFFIX
761 CPPUNIT_CFLAGS
762 CPPUNIT_LIBS
763 RANLIB
764 INSTALL_PROGRAM
765 INSTALL_SCRIPT
766 INSTALL_DATA
767 LN_S
768 SET_MAKE
769 MAKE_SET
770 AROPTIONS
771 STRIP
772 NM
773 INSTALL_DIR
774 LDFLAGS_GUI
775 IF_GNU_MAKE
776 PLATFORM_UNIX
777 PLATFORM_WIN32
778 PLATFORM_MSDOS
779 PLATFORM_MAC
780 PLATFORM_MACOS
781 PLATFORM_MACOSX
782 PLATFORM_OS2
783 PLATFORM_BEOS
784 SO_SUFFIX
785 SO_SUFFIX_MODULE
786 DLLIMP_SUFFIX
787 LIBPREFIX
788 LIBEXT
789 DLLPREFIX
790 DLLPREFIX_MODULE
791 dlldir
792 AIX_CXX_LD
793 SHARED_LD_CC
794 SHARED_LD_CXX
795 SHARED_LD_MODULE_CC
796 SHARED_LD_MODULE_CXX
797 PIC_FLAG
798 WINDOWS_IMPLIB
799 USE_SOVERSION
800 USE_SOVERLINUX
801 USE_SOVERSOLARIS
802 USE_SOVERCYGWIN
803 USE_MACVERSION
804 USE_SOTWOSYMLINKS
805 SONAME_FLAG
806 DEPS_TRACKING
807 BK_DEPS
808 WINDRES
809 REZ
810 SETFILE
811 OBJCXXFLAGS
812 GCC_PCH
813 ICC_PCH
814 ICC_PCH_CREATE_SWITCH
815 ICC_PCH_USE_SWITCH
816 BK_MAKE_PCH
817 COND_BUILD_DEBUG
818 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
819 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
820 COND_BUILD_DEBUG_UNICODE_0
821 COND_BUILD_DEBUG_UNICODE_1
822 COND_BUILD_RELEASE
823 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
824 COND_BUILD_RELEASE_UNICODE_0
825 COND_BUILD_RELEASE_UNICODE_1
826 COND_BUILD_debug
827 COND_BUILD_debug_DEBUG_FLAG_default
828 COND_BUILD_debug_DEBUG_INFO_default
829 COND_BUILD_debug_UNICODE_0
830 COND_BUILD_debug_UNICODE_1
831 COND_BUILD_release
832 COND_BUILD_release_DEBUG_INFO_default
833 COND_BUILD_release_UNICODE_0
834 COND_BUILD_release_UNICODE_1
835 COND_DEBUG_FLAG_0
836 COND_DEBUG_FLAG_1
837 COND_DEBUG_INFO_0
838 COND_DEBUG_INFO_1
839 COND_DEPS_TRACKING_0
840 COND_DEPS_TRACKING_1
841 COND_GCC_PCH_1
842 COND_ICC_PCH_1
843 COND_MONOLITHIC_0
844 COND_MONOLITHIC_0_SHARED_0
845 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
846 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
847 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
848 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
849 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
850 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
851 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1
852 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
853 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
854 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
855 COND_MONOLITHIC_0_SHARED_1
856 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
857 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
858 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
859 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
860 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
861 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
862 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1
863 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
864 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
865 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
866 COND_MONOLITHIC_0_USE_AUI_1
867 COND_MONOLITHIC_0_USE_GUI_1
868 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
869 COND_MONOLITHIC_0_USE_HTML_1
870 COND_MONOLITHIC_0_USE_MEDIA_1
871 COND_MONOLITHIC_0_USE_PROPGRID_1
872 COND_MONOLITHIC_0_USE_QA_1
873 COND_MONOLITHIC_0_USE_RIBBON_1
874 COND_MONOLITHIC_0_USE_RICHTEXT_1
875 COND_MONOLITHIC_0_USE_STC_1
876 COND_MONOLITHIC_0_USE_XRC_1
877 COND_MONOLITHIC_1
878 COND_MONOLITHIC_1_SHARED_0
879 COND_MONOLITHIC_1_SHARED_1
880 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
881 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
882 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
883 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
884 COND_PLATFORM_MACOSX_1
885 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
886 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
887 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
888 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
889 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
890 COND_PLATFORM_MACOSX_1_USE_GUI_1
891 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
892 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
893 COND_PLATFORM_MACOS_1
894 COND_PLATFORM_MAC_0
895 COND_PLATFORM_MAC_1
896 COND_PLATFORM_MSDOS_0
897 COND_PLATFORM_MSDOS_1
898 COND_PLATFORM_OS2_1
899 COND_PLATFORM_UNIX_0
900 COND_PLATFORM_UNIX_1
901 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
902 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
903 COND_PLATFORM_UNIX_1_USE_GUI_1
904 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
905 COND_PLATFORM_WIN32_0
906 COND_PLATFORM_WIN32_1
907 COND_SHARED_0
908 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
909 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
910 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
911 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
912 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
913 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
914 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
915 COND_SHARED_0_USE_STC_1
916 COND_SHARED_0_wxUSE_EXPAT_builtin
917 COND_SHARED_0_wxUSE_REGEX_builtin
918 COND_SHARED_0_wxUSE_ZLIB_builtin
919 COND_SHARED_1
920 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
921 COND_TOOLKIT_
922 COND_TOOLKIT_COCOA
923 COND_TOOLKIT_COCOA_USE_GUI_1
924 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
925 COND_TOOLKIT_DFB
926 COND_TOOLKIT_DFB_USE_GUI_1
927 COND_TOOLKIT_GTK
928 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
929 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
930 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
931 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
932 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
933 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
934 COND_TOOLKIT_GTK_USE_GUI_1
935 COND_TOOLKIT_MAC
936 COND_TOOLKIT_MGL
937 COND_TOOLKIT_MGL_USE_GUI_1
938 COND_TOOLKIT_MOTIF
939 COND_TOOLKIT_MOTIF_USE_GUI_1
940 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
941 COND_TOOLKIT_MSW
942 COND_TOOLKIT_MSW_USE_GUI_1
943 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
944 COND_TOOLKIT_MSW_WXUNIV_0
945 COND_TOOLKIT_OSX_CARBON
946 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
947 COND_TOOLKIT_OSX_COCOA
948 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
949 COND_TOOLKIT_OSX_IPHONE
950 COND_TOOLKIT_PM
951 COND_TOOLKIT_PM_USE_GUI_1
952 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
953 COND_TOOLKIT_WINCE
954 COND_TOOLKIT_WINCE_USE_GUI_1
955 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
956 COND_TOOLKIT_WINCE_WXUNIV_0
957 COND_TOOLKIT_X11
958 COND_TOOLKIT_X11_USE_GUI_1
959 COND_UNICODE_1
960 COND_USE_EXCEPTIONS_0
961 COND_USE_EXCEPTIONS_1
962 COND_USE_GUI_0
963 COND_USE_GUI_1
964 COND_USE_GUI_1_USE_OPENGL_1
965 COND_USE_GUI_1_WXUNIV_0
966 COND_USE_GUI_1_WXUNIV_1
967 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
968 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
969 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
970 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
971 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
972 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
973 COND_USE_OPENGL_1
974 COND_USE_PCH_1
975 COND_USE_PLUGINS_0
976 COND_USE_RTTI_0
977 COND_USE_RTTI_1
978 COND_USE_SOTWOSYMLINKS_1
979 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
980 COND_USE_SOVERLINUX_1
981 COND_USE_SOVERSION_0
982 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1
983 COND_USE_SOVERSOLARIS_1
984 COND_USE_STC_1
985 COND_USE_THREADS_0
986 COND_USE_THREADS_1
987 COND_USE_XRC_1
988 COND_WINDOWS_IMPLIB_1
989 COND_WITH_PLUGIN_SDL_1
990 COND_WXUNIV_0
991 COND_WXUNIV_1
992 COND_WXUSE_EXPAT_BUILTIN
993 COND_WXUSE_LIBJPEG_BUILTIN
994 COND_WXUSE_LIBPNG_BUILTIN
995 COND_WXUSE_LIBTIFF_BUILTIN
996 COND_WXUSE_REGEX_BUILTIN
997 COND_WXUSE_ZLIB_BUILTIN
998 COND_wxUSE_EXPAT_builtin
999 COND_wxUSE_LIBJPEG_builtin
1000 COND_wxUSE_LIBPNG_builtin
1001 COND_wxUSE_LIBTIFF_builtin
1002 COND_wxUSE_REGEX_builtin
1003 COND_wxUSE_ZLIB_builtin
1004 DEREZ
1005 SHARED
1006 WX_LIBRARY_BASENAME_NOGUI
1007 WX_LIBRARY_BASENAME_GUI
1008 USE_GUI
1009 AFMINSTALL
1010 WIN32INSTALL
1011 TOOLKIT
1012 TOOLKIT_DIR
1013 TOOLCHAIN_NAME
1014 TOOLCHAIN_FULLNAME
1015 cross_compiling
1016 WIDGET_SET
1017 WX_RELEASE
1018 WX_VERSION
1019 WX_SUBVERSION
1020 WX_CHARTYPE
1021 WXCONFIG_CPPFLAGS
1022 WXCONFIG_CFLAGS
1023 WXCONFIG_CXXFLAGS
1024 WXCONFIG_LIBS
1025 WXCONFIG_RPATH
1026 WXCONFIG_LDFLAGS
1027 WXCONFIG_LDFLAGS_GUI
1028 WXCONFIG_RESFLAGS
1029 GUIDIST
1030 DISTDIR
1031 SAMPLES_SUBDIRS
1032 LDFLAGS_GL
1033 OPENGL_LIBS
1034 DMALLOC_LIBS
1035 WX_VERSION_TAG
1036 RESCOMP
1037 RESFLAGS
1038 RESPROGRAMOBJ
1039 WX_RESOURCES_MACOSX_ASCII
1040 WX_RESOURCES_MACOSX_DATA
1041 LIBWXMACRES
1042 POSTLINK_COMMAND
1043 MACSETFILE
1044 GCC
1045 DLLTOOL
1046 CPPUNIT_CONFIG
1047 LIBOBJS
1048 LTLIBOBJS'
1049 ac_subst_files=''
1050 ac_precious_vars='build_alias
1051 host_alias
1052 target_alias
1053 CC
1054 CFLAGS
1055 LDFLAGS
1056 LIBS
1057 CPPFLAGS
1058 CPP
1059 CXX
1060 CXXFLAGS
1061 CCC
1062 PKG_CONFIG
1063 DIRECTFB_CFLAGS
1064 DIRECTFB_LIBS
1065 XMKMF
1066 PANGOX_CFLAGS
1067 PANGOX_LIBS
1068 PANGOFT2_CFLAGS
1069 PANGOFT2_LIBS
1070 PANGOXFT_CFLAGS
1071 PANGOXFT_LIBS
1072 GTKPRINT_CFLAGS
1073 GTKPRINT_LIBS
1074 LIBGNOMEPRINTUI_CFLAGS
1075 LIBGNOMEPRINTUI_LIBS
1076 GNOMEVFS_CFLAGS
1077 GNOMEVFS_LIBS
1078 HILDON_CFLAGS
1079 HILDON_LIBS
1080 HILDON2_CFLAGS
1081 HILDON2_LIBS
1082 CAIRO_CFLAGS
1083 CAIRO_LIBS
1084 GST_CFLAGS
1085 GST_LIBS'
1086 ac_subdirs_all='src/tiff
1087 src/expat'
1088
1089 # Initialize some variables set by options.
1090 ac_init_help=
1091 ac_init_version=false
1092 # The variables have the same names as the options, with
1093 # dashes changed to underlines.
1094 cache_file=/dev/null
1095 exec_prefix=NONE
1096 no_create=
1097 no_recursion=
1098 prefix=NONE
1099 program_prefix=NONE
1100 program_suffix=NONE
1101 program_transform_name=s,x,x,
1102 silent=
1103 site=
1104 srcdir=
1105 verbose=
1106 x_includes=NONE
1107 x_libraries=NONE
1108
1109 # Installation directory options.
1110 # These are left unexpanded so users can "make install exec_prefix=/foo"
1111 # and all the variables that are supposed to be based on exec_prefix
1112 # by default will actually change.
1113 # Use braces instead of parens because sh, perl, etc. also accept them.
1114 # (The list follows the same order as the GNU Coding Standards.)
1115 bindir='${exec_prefix}/bin'
1116 sbindir='${exec_prefix}/sbin'
1117 libexecdir='${exec_prefix}/libexec'
1118 datarootdir='${prefix}/share'
1119 datadir='${datarootdir}'
1120 sysconfdir='${prefix}/etc'
1121 sharedstatedir='${prefix}/com'
1122 localstatedir='${prefix}/var'
1123 includedir='${prefix}/include'
1124 oldincludedir='/usr/include'
1125 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1126 infodir='${datarootdir}/info'
1127 htmldir='${docdir}'
1128 dvidir='${docdir}'
1129 pdfdir='${docdir}'
1130 psdir='${docdir}'
1131 libdir='${exec_prefix}/lib'
1132 localedir='${datarootdir}/locale'
1133 mandir='${datarootdir}/man'
1134
1135 ac_prev=
1136 ac_dashdash=
1137 for ac_option
1138 do
1139 # If the previous option needs an argument, assign it.
1140 if test -n "$ac_prev"; then
1141 eval $ac_prev=\$ac_option
1142 ac_prev=
1143 continue
1144 fi
1145
1146 case $ac_option in
1147 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1148 *) ac_optarg=yes ;;
1149 esac
1150
1151 # Accept the important Cygnus configure options, so we can diagnose typos.
1152
1153 case $ac_dashdash$ac_option in
1154 --)
1155 ac_dashdash=yes ;;
1156
1157 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1158 ac_prev=bindir ;;
1159 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1160 bindir=$ac_optarg ;;
1161
1162 -build | --build | --buil | --bui | --bu)
1163 ac_prev=build_alias ;;
1164 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1165 build_alias=$ac_optarg ;;
1166
1167 -cache-file | --cache-file | --cache-fil | --cache-fi \
1168 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1169 ac_prev=cache_file ;;
1170 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1171 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1172 cache_file=$ac_optarg ;;
1173
1174 --config-cache | -C)
1175 cache_file=config.cache ;;
1176
1177 -datadir | --datadir | --datadi | --datad)
1178 ac_prev=datadir ;;
1179 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1180 datadir=$ac_optarg ;;
1181
1182 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1183 | --dataroo | --dataro | --datar)
1184 ac_prev=datarootdir ;;
1185 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1186 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1187 datarootdir=$ac_optarg ;;
1188
1189 -disable-* | --disable-*)
1190 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1191 # Reject names that are not valid shell variable names.
1192 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1193 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1194 { (exit 1); exit 1; }; }
1195 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1196 eval enable_$ac_feature=no ;;
1197
1198 -docdir | --docdir | --docdi | --doc | --do)
1199 ac_prev=docdir ;;
1200 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1201 docdir=$ac_optarg ;;
1202
1203 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1204 ac_prev=dvidir ;;
1205 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1206 dvidir=$ac_optarg ;;
1207
1208 -enable-* | --enable-*)
1209 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1210 # Reject names that are not valid shell variable names.
1211 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1212 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1213 { (exit 1); exit 1; }; }
1214 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1215 eval enable_$ac_feature=\$ac_optarg ;;
1216
1217 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1218 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1219 | --exec | --exe | --ex)
1220 ac_prev=exec_prefix ;;
1221 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1222 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1223 | --exec=* | --exe=* | --ex=*)
1224 exec_prefix=$ac_optarg ;;
1225
1226 -gas | --gas | --ga | --g)
1227 # Obsolete; use --with-gas.
1228 with_gas=yes ;;
1229
1230 -help | --help | --hel | --he | -h)
1231 ac_init_help=long ;;
1232 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1233 ac_init_help=recursive ;;
1234 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1235 ac_init_help=short ;;
1236
1237 -host | --host | --hos | --ho)
1238 ac_prev=host_alias ;;
1239 -host=* | --host=* | --hos=* | --ho=*)
1240 host_alias=$ac_optarg ;;
1241
1242 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1243 ac_prev=htmldir ;;
1244 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1245 | --ht=*)
1246 htmldir=$ac_optarg ;;
1247
1248 -includedir | --includedir | --includedi | --included | --include \
1249 | --includ | --inclu | --incl | --inc)
1250 ac_prev=includedir ;;
1251 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1252 | --includ=* | --inclu=* | --incl=* | --inc=*)
1253 includedir=$ac_optarg ;;
1254
1255 -infodir | --infodir | --infodi | --infod | --info | --inf)
1256 ac_prev=infodir ;;
1257 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1258 infodir=$ac_optarg ;;
1259
1260 -libdir | --libdir | --libdi | --libd)
1261 ac_prev=libdir ;;
1262 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1263 libdir=$ac_optarg ;;
1264
1265 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1266 | --libexe | --libex | --libe)
1267 ac_prev=libexecdir ;;
1268 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1269 | --libexe=* | --libex=* | --libe=*)
1270 libexecdir=$ac_optarg ;;
1271
1272 -localedir | --localedir | --localedi | --localed | --locale)
1273 ac_prev=localedir ;;
1274 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1275 localedir=$ac_optarg ;;
1276
1277 -localstatedir | --localstatedir | --localstatedi | --localstated \
1278 | --localstate | --localstat | --localsta | --localst | --locals)
1279 ac_prev=localstatedir ;;
1280 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1281 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1282 localstatedir=$ac_optarg ;;
1283
1284 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1285 ac_prev=mandir ;;
1286 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1287 mandir=$ac_optarg ;;
1288
1289 -nfp | --nfp | --nf)
1290 # Obsolete; use --without-fp.
1291 with_fp=no ;;
1292
1293 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1294 | --no-cr | --no-c | -n)
1295 no_create=yes ;;
1296
1297 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1298 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1299 no_recursion=yes ;;
1300
1301 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1302 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1303 | --oldin | --oldi | --old | --ol | --o)
1304 ac_prev=oldincludedir ;;
1305 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1306 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1307 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1308 oldincludedir=$ac_optarg ;;
1309
1310 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1311 ac_prev=prefix ;;
1312 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1313 prefix=$ac_optarg ;;
1314
1315 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1316 | --program-pre | --program-pr | --program-p)
1317 ac_prev=program_prefix ;;
1318 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1319 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1320 program_prefix=$ac_optarg ;;
1321
1322 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1323 | --program-suf | --program-su | --program-s)
1324 ac_prev=program_suffix ;;
1325 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1326 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1327 program_suffix=$ac_optarg ;;
1328
1329 -program-transform-name | --program-transform-name \
1330 | --program-transform-nam | --program-transform-na \
1331 | --program-transform-n | --program-transform- \
1332 | --program-transform | --program-transfor \
1333 | --program-transfo | --program-transf \
1334 | --program-trans | --program-tran \
1335 | --progr-tra | --program-tr | --program-t)
1336 ac_prev=program_transform_name ;;
1337 -program-transform-name=* | --program-transform-name=* \
1338 | --program-transform-nam=* | --program-transform-na=* \
1339 | --program-transform-n=* | --program-transform-=* \
1340 | --program-transform=* | --program-transfor=* \
1341 | --program-transfo=* | --program-transf=* \
1342 | --program-trans=* | --program-tran=* \
1343 | --progr-tra=* | --program-tr=* | --program-t=*)
1344 program_transform_name=$ac_optarg ;;
1345
1346 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1347 ac_prev=pdfdir ;;
1348 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1349 pdfdir=$ac_optarg ;;
1350
1351 -psdir | --psdir | --psdi | --psd | --ps)
1352 ac_prev=psdir ;;
1353 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1354 psdir=$ac_optarg ;;
1355
1356 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1357 | -silent | --silent | --silen | --sile | --sil)
1358 silent=yes ;;
1359
1360 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1361 ac_prev=sbindir ;;
1362 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1363 | --sbi=* | --sb=*)
1364 sbindir=$ac_optarg ;;
1365
1366 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1367 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1368 | --sharedst | --shareds | --shared | --share | --shar \
1369 | --sha | --sh)
1370 ac_prev=sharedstatedir ;;
1371 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1372 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1373 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1374 | --sha=* | --sh=*)
1375 sharedstatedir=$ac_optarg ;;
1376
1377 -site | --site | --sit)
1378 ac_prev=site ;;
1379 -site=* | --site=* | --sit=*)
1380 site=$ac_optarg ;;
1381
1382 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1383 ac_prev=srcdir ;;
1384 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1385 srcdir=$ac_optarg ;;
1386
1387 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1388 | --syscon | --sysco | --sysc | --sys | --sy)
1389 ac_prev=sysconfdir ;;
1390 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1391 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1392 sysconfdir=$ac_optarg ;;
1393
1394 -target | --target | --targe | --targ | --tar | --ta | --t)
1395 ac_prev=target_alias ;;
1396 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1397 target_alias=$ac_optarg ;;
1398
1399 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1400 verbose=yes ;;
1401
1402 -version | --version | --versio | --versi | --vers | -V)
1403 ac_init_version=: ;;
1404
1405 -with-* | --with-*)
1406 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1407 # Reject names that are not valid shell variable names.
1408 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1409 { echo "$as_me: error: invalid package name: $ac_package" >&2
1410 { (exit 1); exit 1; }; }
1411 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1412 eval with_$ac_package=\$ac_optarg ;;
1413
1414 -without-* | --without-*)
1415 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1416 # Reject names that are not valid shell variable names.
1417 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1418 { echo "$as_me: error: invalid package name: $ac_package" >&2
1419 { (exit 1); exit 1; }; }
1420 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1421 eval with_$ac_package=no ;;
1422
1423 --x)
1424 # Obsolete; use --with-x.
1425 with_x=yes ;;
1426
1427 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1428 | --x-incl | --x-inc | --x-in | --x-i)
1429 ac_prev=x_includes ;;
1430 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1431 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1432 x_includes=$ac_optarg ;;
1433
1434 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1435 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1436 ac_prev=x_libraries ;;
1437 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1438 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1439 x_libraries=$ac_optarg ;;
1440
1441 -*) { echo "$as_me: error: unrecognized option: $ac_option
1442 Try \`$0 --help' for more information." >&2
1443 { (exit 1); exit 1; }; }
1444 ;;
1445
1446 *=*)
1447 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1448 # Reject names that are not valid shell variable names.
1449 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1450 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1451 { (exit 1); exit 1; }; }
1452 eval $ac_envvar=\$ac_optarg
1453 export $ac_envvar ;;
1454
1455 *)
1456 # FIXME: should be removed in autoconf 3.0.
1457 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1458 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1459 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1460 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1461 ;;
1462
1463 esac
1464 done
1465
1466 if test -n "$ac_prev"; then
1467 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1468 { echo "$as_me: error: missing argument to $ac_option" >&2
1469 { (exit 1); exit 1; }; }
1470 fi
1471
1472 # Be sure to have absolute directory names.
1473 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1474 datadir sysconfdir sharedstatedir localstatedir includedir \
1475 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1476 libdir localedir mandir
1477 do
1478 eval ac_val=\$$ac_var
1479 case $ac_val in
1480 [\\/$]* | ?:[\\/]* ) continue;;
1481 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1482 esac
1483 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1484 { (exit 1); exit 1; }; }
1485 done
1486
1487 # There might be people who depend on the old broken behavior: `$host'
1488 # used to hold the argument of --host etc.
1489 # FIXME: To remove some day.
1490 build=$build_alias
1491 host=$host_alias
1492 target=$target_alias
1493
1494 # FIXME: To remove some day.
1495 if test "x$host_alias" != x; then
1496 if test "x$build_alias" = x; then
1497 cross_compiling=maybe
1498 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1499 If a cross compiler is detected then cross compile mode will be used." >&2
1500 elif test "x$build_alias" != "x$host_alias"; then
1501 cross_compiling=yes
1502 fi
1503 fi
1504
1505 ac_tool_prefix=
1506 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1507
1508 test "$silent" = yes && exec 6>/dev/null
1509
1510
1511 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1512 ac_ls_di=`ls -di .` &&
1513 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1514 { echo "$as_me: error: Working directory cannot be determined" >&2
1515 { (exit 1); exit 1; }; }
1516 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1517 { echo "$as_me: error: pwd does not report name of working directory" >&2
1518 { (exit 1); exit 1; }; }
1519
1520
1521 # Find the source files, if location was not specified.
1522 if test -z "$srcdir"; then
1523 ac_srcdir_defaulted=yes
1524 # Try the directory containing this script, then the parent directory.
1525 ac_confdir=`$as_dirname -- "$0" ||
1526 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1527 X"$0" : 'X\(//\)[^/]' \| \
1528 X"$0" : 'X\(//\)$' \| \
1529 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1530 echo X"$0" |
1531 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1532 s//\1/
1533 q
1534 }
1535 /^X\(\/\/\)[^/].*/{
1536 s//\1/
1537 q
1538 }
1539 /^X\(\/\/\)$/{
1540 s//\1/
1541 q
1542 }
1543 /^X\(\/\).*/{
1544 s//\1/
1545 q
1546 }
1547 s/.*/./; q'`
1548 srcdir=$ac_confdir
1549 if test ! -r "$srcdir/$ac_unique_file"; then
1550 srcdir=..
1551 fi
1552 else
1553 ac_srcdir_defaulted=no
1554 fi
1555 if test ! -r "$srcdir/$ac_unique_file"; then
1556 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1557 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1558 { (exit 1); exit 1; }; }
1559 fi
1560 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1561 ac_abs_confdir=`(
1562 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1563 { (exit 1); exit 1; }; }
1564 pwd)`
1565 # When building in place, set srcdir=.
1566 if test "$ac_abs_confdir" = "$ac_pwd"; then
1567 srcdir=.
1568 fi
1569 # Remove unnecessary trailing slashes from srcdir.
1570 # Double slashes in file names in object file debugging info
1571 # mess up M-x gdb in Emacs.
1572 case $srcdir in
1573 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1574 esac
1575 for ac_var in $ac_precious_vars; do
1576 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1577 eval ac_env_${ac_var}_value=\$${ac_var}
1578 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1579 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1580 done
1581
1582 #
1583 # Report the --help message.
1584 #
1585 if test "$ac_init_help" = "long"; then
1586 # Omit some internal or obsolete options to make the list less imposing.
1587 # This message is too long to be a string in the A/UX 3.1 sh.
1588 cat <<_ACEOF
1589 \`configure' configures wxWidgets 2.9.1 to adapt to many kinds of systems.
1590
1591 Usage: $0 [OPTION]... [VAR=VALUE]...
1592
1593 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1594 VAR=VALUE. See below for descriptions of some of the useful variables.
1595
1596 Defaults for the options are specified in brackets.
1597
1598 Configuration:
1599 -h, --help display this help and exit
1600 --help=short display options specific to this package
1601 --help=recursive display the short help of all the included packages
1602 -V, --version display version information and exit
1603 -q, --quiet, --silent do not print \`checking...' messages
1604 --cache-file=FILE cache test results in FILE [disabled]
1605 -C, --config-cache alias for \`--cache-file=config.cache'
1606 -n, --no-create do not create output files
1607 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1608
1609 Installation directories:
1610 --prefix=PREFIX install architecture-independent files in PREFIX
1611 [$ac_default_prefix]
1612 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1613 [PREFIX]
1614
1615 By default, \`make install' will install all the files in
1616 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1617 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1618 for instance \`--prefix=\$HOME'.
1619
1620 For better control, use the options below.
1621
1622 Fine tuning of the installation directories:
1623 --bindir=DIR user executables [EPREFIX/bin]
1624 --sbindir=DIR system admin executables [EPREFIX/sbin]
1625 --libexecdir=DIR program executables [EPREFIX/libexec]
1626 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1627 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1628 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1629 --libdir=DIR object code libraries [EPREFIX/lib]
1630 --includedir=DIR C header files [PREFIX/include]
1631 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1632 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1633 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1634 --infodir=DIR info documentation [DATAROOTDIR/info]
1635 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1636 --mandir=DIR man documentation [DATAROOTDIR/man]
1637 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1638 --htmldir=DIR html documentation [DOCDIR]
1639 --dvidir=DIR dvi documentation [DOCDIR]
1640 --pdfdir=DIR pdf documentation [DOCDIR]
1641 --psdir=DIR ps documentation [DOCDIR]
1642 _ACEOF
1643
1644 cat <<\_ACEOF
1645
1646 X features:
1647 --x-includes=DIR X include files are in DIR
1648 --x-libraries=DIR X library files are in DIR
1649
1650 System types:
1651 --build=BUILD configure for building on BUILD [guessed]
1652 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1653 _ACEOF
1654 fi
1655
1656 if test -n "$ac_init_help"; then
1657 case $ac_init_help in
1658 short | recursive ) echo "Configuration of wxWidgets 2.9.1:";;
1659 esac
1660 cat <<\_ACEOF
1661
1662 Optional Features:
1663 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1664 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1665 --disable-gui don't build GUI parts of the library
1666 --enable-monolithic build wxWidgets as single library
1667 --enable-plugins build parts of wxWidgets as loadable components
1668 --enable-official_build official build of wxWidgets (win32 DLL only)
1669 --enable-vendor=VENDOR vendor name (win32 DLL only)
1670 --disable-all-features disable all optional features to build minimal library
1671 --enable-universal use wxWidgets GUI controls instead of native ones
1672 --enable-nanox use NanoX
1673 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1674 --enable-gpe use GNOME PDA Environment features if possible
1675 --enable-debug build library for debugging
1676 --disable-debug_flag disable all debugging support
1677 --enable-debug_info generate debug information
1678 --enable-debug_gdb create code with extra GDB debugging information
1679 --enable-debug_cntxt obsolete, don't use: use wxDebugContext
1680 --enable-mem_tracing obsolete, don't use: create code with memory tracing
1681 --disable-shared create static library instead of shared
1682 --enable-stl use STL for containers
1683 --enable-std_iostreams use standard C++ stream classes
1684 --enable-std_string use standard C++ string classes
1685 --disable-unicode compile without Unicode support
1686 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1687 --enable-utf8 use UTF-8 representation for strings (Unix only)
1688 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1689 --enable-extended_rtti use extended RTTI (XTI)
1690 --enable-omf use OMF object format
1691 --disable-optimise compile without optimisations
1692 --enable-profile create code with profiling information
1693 --enable-no_rtti create code without RTTI information
1694 --enable-no_exceptions create code without C++ exceptions handling
1695 --enable-permissive compile code disregarding strict ANSI
1696 --enable-no_deps create code without dependency information
1697 --disable-vararg_macros don't use vararg macros, even if they are supported
1698 --enable-universal_binary create Mac PowerPC and Intel Universal binary
1699 --enable-compat26 enable wxWidgets 2.6 compatibility
1700 --disable-compat28 disable wxWidgets 2.8 compatibility
1701 --disable-rpath disable use of rpath for uninstalled builds
1702 --enable-objc_uniquifying enable Objective-C class name uniquifying
1703 --disable-visibility disable use of ELF symbols visibility even if supported
1704 --disable-tls disable use of compiler TLS support
1705 --enable-intl use internationalization system
1706 --enable-xlocale use x-locale support (requires wxLocale)
1707 --enable-config use wxConfig (and derived) classes
1708 --enable-protocols use wxProtocol and derived classes
1709 --enable-ftp use wxFTP (requires wxProtocol
1710 --enable-http use wxHTTP (requires wxProtocol
1711 --enable-fileproto use wxFileProto class (requires wxProtocol
1712 --enable-sockets use socket/network classes
1713 --enable-ipv6 enable IPv6 support in wxSocket
1714 --enable-ole use OLE classes (Win32 only)
1715 --enable-dataobj use data object classes
1716 --enable-ipc use interprocess communication (wxSocket etc.)
1717 --enable-baseevtloop use event loop in console programs too
1718 --enable-epollloop use wxEpollDispatcher class (Linux only)
1719 --enable-selectloop use wxSelectDispatcher class
1720 --enable-any use wxAny class
1721 --enable-apple_ieee use the Apple IEEE codec
1722 --enable-arcstream use wxArchive streams
1723 --enable-base64 use base64 encoding/decoding functions
1724 --enable-backtrace use wxStackWalker class for getting backtraces
1725 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
1726 --enable-cmdline use wxCmdLineParser class
1727 --enable-datetime use wxDateTime class
1728 --enable-debugreport use wxDebugReport class
1729 --enable-dialupman use dialup network classes
1730 --enable-dynlib use wxLibrary class for DLL loading
1731 --enable-dynamicloader use (new) wxDynamicLibrary class
1732 --enable-exceptions build exception-safe library
1733 --enable-ffile use wxFFile class
1734 --enable-file use wxFile class
1735 --enable-filesystem use virtual file systems classes
1736 --enable-fontenum use wxFontEnumerator class
1737 --enable-fontmap use font encodings conversion classes
1738 --enable-fs_archive use virtual archive filesystems
1739 --enable-fs_inet use virtual HTTP/FTP filesystems
1740 --enable-fs_zip now replaced by fs_archive
1741 --enable-geometry use geometry class
1742 --enable-log use logging system
1743 --enable-longlong use wxLongLong class
1744 --enable-mimetype use wxMimeTypesManager
1745 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1746 --enable-snglinst use wxSingleInstanceChecker class
1747 --enable-sound use wxSound class
1748 --enable-stdpaths use wxStandardPaths class
1749 --enable-stopwatch use wxStopWatch class
1750 --enable-streams use wxStream etc classes
1751 --enable-sysoptions use wxSystemOptions
1752 --enable-tarstream use wxTar streams
1753 --enable-textbuf use wxTextBuffer class
1754 --enable-textfile use wxTextFile class
1755 --enable-timer use wxTimer class
1756 --enable-variant use wxVariant class
1757 --enable-zipstream use wxZip streams
1758 --enable-url use wxURL class
1759 --enable-protocol use wxProtocol class
1760 --enable-protocol-http HTTP support in wxProtocol
1761 --enable-protocol-ftp FTP support in wxProtocol
1762 --enable-protocol-file FILE support in wxProtocol
1763 --enable-threads use threads
1764 --enable-iniconf use wxIniConfig (Win32 only)
1765 --enable-regkey use wxRegKey class (Win32 only)
1766 --enable-docview use document view architecture
1767 --enable-help use help subsystem
1768 --enable-mshtmlhelp use MS HTML Help (win32)
1769 --enable-html use wxHTML sub-library
1770 --enable-htmlhelp use wxHTML-based help
1771 --enable-xrc use XRC resources sub-library
1772 --enable-aui use AUI docking library
1773 --enable-propgrid use wxPropertyGrid library
1774 --enable-ribbon use wxRibbon library
1775 --enable-stc use wxStyledTextCtrl library
1776 --enable-constraints use layout-constraints system
1777 --enable-loggui use standard GUI logger
1778 --enable-logwin use wxLogWindow
1779 --enable-logdialog use wxLogDialog
1780 --enable-mdi use multiple document interface architecture
1781 --enable-mdidoc use docview architecture with MDI
1782 --enable-mediactrl use wxMediaCtrl class
1783 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1784 --enable-webkit use wxWebKitCtrl (Mac)
1785 --enable-richtext use wxRichTextCtrl
1786 --enable-graphics_ctx use graphics context 2D drawing API
1787 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1788 --enable-printarch use printing architecture
1789 --enable-svg use wxSVGFileDC device context
1790 --enable-clipboard use wxClipboard class
1791 --enable-dnd use Drag'n'Drop classes
1792 --enable-metafile use win32 metafiles
1793 --disable-controls disable compilation of all standard controls
1794 --enable-accel use accelerators
1795 --enable-animatectrl use wxAnimationCtrl class
1796 --enable-bmpbutton use wxBitmapButton class
1797 --enable-bmpcombobox use wxBitmapComboBox class
1798 --enable-button use wxButton class
1799 --enable-calendar use wxCalendarCtrl class
1800 --enable-caret use wxCaret class
1801 --enable-checkbox use wxCheckBox class
1802 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1803 --enable-choice use wxChoice class
1804 --enable-choicebook use wxChoicebook class
1805 --enable-collpane use wxCollapsiblePane class
1806 --enable-colourpicker use wxColourPickerCtrl class
1807 --enable-combobox use wxComboBox class
1808 --enable-comboctrl use wxComboCtrl class
1809 --enable-dataviewctrl use wxDataViewCtrl class
1810 --enable-datepick use wxDatePickerCtrl class
1811 --enable-detect_sm use code to detect X11 session manager
1812 --enable-dirpicker use wxDirPickerCtrl class
1813 --enable-display use wxDisplay class
1814 --enable-editablebox use wxEditableListBox class
1815 --enable-filectrl use wxFileCtrl class
1816 --enable-filepicker use wxFilePickerCtrl class
1817 --enable-fontpicker use wxFontPickerCtrl class
1818 --enable-gauge use wxGauge class
1819 --enable-grid use wxGrid class
1820 --enable-headerctrl use wxHeaderCtrl class
1821 --enable-hyperlink use wxHyperlinkCtrl class
1822 --enable-imaglist use wxImageList class
1823 --enable-infobar use wxInfoBar class
1824 --enable-listbook use wxListbook class
1825 --enable-listbox use wxListBox class
1826 --enable-listctrl use wxListCtrl class
1827 --enable-notebook use wxNotebook class
1828 --enable-notifmsg use wxNotificationMessage class
1829 --enable-odcombobox use wxOwnerDrawnComboBox class
1830 --enable-popupwin use wxPopUpWindow class
1831 --enable-radiobox use wxRadioBox class
1832 --enable-radiobtn use wxRadioButton class
1833 --enable-rearrangectrl use wxRearrangeList/Ctrl/Dialog
1834 --enable-sash use wxSashWindow class
1835 --enable-scrollbar use wxScrollBar class and scrollable windows
1836 --enable-searchctrl use wxSearchCtrl class
1837 --enable-slider use wxSlider class
1838 --enable-spinbtn use wxSpinButton class
1839 --enable-spinctrl use wxSpinCtrl class
1840 --enable-splitter use wxSplitterWindow class
1841 --enable-statbmp use wxStaticBitmap class
1842 --enable-statbox use wxStaticBox class
1843 --enable-statline use wxStaticLine class
1844 --enable-stattext use wxStaticText class
1845 --enable-statusbar use wxStatusBar class
1846 --enable-taskbaricon use wxTaskBarIcon class
1847 --enable-tbarnative use native wxToolBar class
1848 --enable-textctrl use wxTextCtrl class
1849 --enable-tipwindow use wxTipWindow class
1850 --enable-togglebtn use wxToggleButton class
1851 --enable-toolbar use wxToolBar class
1852 --enable-toolbook use wxToolbook class
1853 --enable-treebook use wxTreebook class
1854 --enable-treectrl use wxTreeCtrl class
1855 --enable-commondlg use all common dialogs
1856 --enable-aboutdlg use wxAboutBox
1857 --enable-choicedlg use wxChoiceDialog
1858 --enable-coldlg use wxColourDialog
1859 --enable-filedlg use wxFileDialog
1860 --enable-finddlg use wxFindReplaceDialog
1861 --enable-fontdlg use wxFontDialog
1862 --enable-dirdlg use wxDirDialog
1863 --enable-msgdlg use wxMessageDialog
1864 --enable-numberdlg use wxNumberEntryDialog
1865 --enable-splash use wxSplashScreen
1866 --enable-textdlg use wxTextDialog
1867 --enable-tipdlg use startup tips
1868 --enable-progressdlg use wxProgressDialog
1869 --enable-wizarddlg use wxWizard
1870 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1871 --enable-miniframe use wxMiniFrame class
1872 --enable-tooltips use wxToolTip class
1873 --enable-splines use spline drawing code
1874 --enable-mousewheel use mousewheel
1875 --enable-validators use wxValidator and derived classes
1876 --enable-busyinfo use wxBusyInfo
1877 --enable-joystick use wxJoystick
1878 --enable-metafiles use wxMetaFile (Win32 only)
1879 --enable-dragimage use wxDragImage
1880 --enable-accessibility enable accessibility support
1881 --enable-palette use wxPalette class
1882 --enable-image use wxImage class
1883 --enable-gif use gif images (GIF file format)
1884 --enable-pcx use pcx images (PCX file format)
1885 --enable-tga use tga images (TGA file format)
1886 --enable-iff use iff images (IFF file format)
1887 --enable-pnm use pnm images (PNM file format)
1888 --enable-xpm use xpm images (XPM file format)
1889 --enable-ico_cur use Windows ICO and CUR formats
1890 --enable-dccache cache temporary wxDC objects (Win32 only)
1891 --enable-ps-in-msw use PS printing in wxMSW (Win32 only)
1892 --enable-ownerdrawn use owner drawn controls (Win32 and OS/2 only)
1893 --enable-uxtheme enable support for Windows XP themed look (Win32 only)
1894 --enable-wxdib use wxDIB class (Win32 only)
1895 --enable-autoidman use automatic ids management
1896 --disable-largefile omit support for large files
1897 --disable-gtktest do not try to compile and run a test GTK+ program
1898 --disable-gtktest Do not try to compile and run a test GTK program
1899 --disable-sdltest Do not try to compile and run a test SDL program
1900 --enable-omf use OMF object format (OS/2)
1901 --disable-dependency-tracking
1902 don't use dependency tracking even if the compiler
1903 can
1904 --disable-precomp-headers
1905 don't use precompiled headers even if compiler can
1906
1907 Optional Packages:
1908 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1909 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1910 --without-subdirs don't generate makefiles for samples/demos/...
1911 --with-flavour=NAME specify a name to identify this build
1912 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1913 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1914 --with-motif use Motif/Lesstif
1915 --with-osx_carbon use Mac OS X (Carbon)
1916 --with-osx_cocoa use Mac OS X (Cocoa)
1917 --with-mac use Mac OS X (Default)
1918 --with-cocoa use Cocoa
1919 --with-wine use Wine
1920 --with-msw use MS-Windows
1921 --with-pm use OS/2 Presentation Manager
1922 --with-mgl use SciTech MGL
1923 --with-directfb use DirectFB
1924 --with-microwin use MicroWindows
1925 --with-x11 use X11
1926 --with-libpng use libpng (PNG image format)
1927 --with-libjpeg use libjpeg (JPEG file format)
1928 --with-libtiff use libtiff (TIFF file format)
1929 --with-libxpm use libxpm (XPM file format)
1930 --with-libiconv use libiconv (character conversion)
1931 --with-libmspack use libmspack (CHM help files loading)
1932 --without-gtkprint don't use GTK printing support
1933 --without-gnomeprint don't use GNOME printing libraries
1934 --with-gnomevfs use GNOME VFS for associating MIME types
1935 --with-hildon use Hildon framework for Nokia 770/800/810
1936 --with-opengl use OpenGL (or Mesa)
1937 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1938 --with-sdl use SDL for audio on Unix
1939 --with-regex enable support for wxRegEx class
1940 --with-zlib use zlib for LZW compression
1941 --with-expat enable XML support using expat parser
1942 --with-macosx-sdk=PATH use an OS X SDK at PATH
1943 --with-macosx-version-min=VER build binaries which require at least this OS X version
1944 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1945 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1946 --with-x use the X Window System
1947 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1948 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1949 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1950 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1951 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1952
1953 Some influential environment variables:
1954 CC C compiler command
1955 CFLAGS C compiler flags
1956 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1957 nonstandard directory <lib dir>
1958 LIBS libraries to pass to the linker, e.g. -l<library>
1959 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1960 you have headers in a nonstandard directory <include dir>
1961 CPP C preprocessor
1962 CXX C++ compiler command
1963 CXXFLAGS C++ compiler flags
1964 PKG_CONFIG path to pkg-config utility
1965 DIRECTFB_CFLAGS
1966 C compiler flags for DIRECTFB, overriding pkg-config
1967 DIRECTFB_LIBS
1968 linker flags for DIRECTFB, overriding pkg-config
1969 XMKMF Path to xmkmf, Makefile generator for X Window System
1970 PANGOX_CFLAGS
1971 C compiler flags for PANGOX, overriding pkg-config
1972 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1973 PANGOFT2_CFLAGS
1974 C compiler flags for PANGOFT2, overriding pkg-config
1975 PANGOFT2_LIBS
1976 linker flags for PANGOFT2, overriding pkg-config
1977 PANGOXFT_CFLAGS
1978 C compiler flags for PANGOXFT, overriding pkg-config
1979 PANGOXFT_LIBS
1980 linker flags for PANGOXFT, overriding pkg-config
1981 GTKPRINT_CFLAGS
1982 C compiler flags for GTKPRINT, overriding pkg-config
1983 GTKPRINT_LIBS
1984 linker flags for GTKPRINT, overriding pkg-config
1985 LIBGNOMEPRINTUI_CFLAGS
1986 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1987 LIBGNOMEPRINTUI_LIBS
1988 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1989 GNOMEVFS_CFLAGS
1990 C compiler flags for GNOMEVFS, overriding pkg-config
1991 GNOMEVFS_LIBS
1992 linker flags for GNOMEVFS, overriding pkg-config
1993 HILDON_CFLAGS
1994 C compiler flags for HILDON, overriding pkg-config
1995 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1996 HILDON2_CFLAGS
1997 C compiler flags for HILDON2, overriding pkg-config
1998 HILDON2_LIBS
1999 linker flags for HILDON2, overriding pkg-config
2000 CAIRO_CFLAGS
2001 C compiler flags for CAIRO, overriding pkg-config
2002 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
2003 GST_CFLAGS C compiler flags for GST, overriding pkg-config
2004 GST_LIBS linker flags for GST, overriding pkg-config
2005
2006 Use these variables to override the choices made by `configure' or to help
2007 it to find libraries and programs with nonstandard names/locations.
2008
2009 Report bugs to <wx-dev@lists.wxwidgets.org>.
2010 _ACEOF
2011 ac_status=$?
2012 fi
2013
2014 if test "$ac_init_help" = "recursive"; then
2015 # If there are subdirs, report their specific --help.
2016 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2017 test -d "$ac_dir" || continue
2018 ac_builddir=.
2019
2020 case "$ac_dir" in
2021 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2022 *)
2023 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2024 # A ".." for each directory in $ac_dir_suffix.
2025 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
2026 case $ac_top_builddir_sub in
2027 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2028 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2029 esac ;;
2030 esac
2031 ac_abs_top_builddir=$ac_pwd
2032 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2033 # for backward compatibility:
2034 ac_top_builddir=$ac_top_build_prefix
2035
2036 case $srcdir in
2037 .) # We are building in place.
2038 ac_srcdir=.
2039 ac_top_srcdir=$ac_top_builddir_sub
2040 ac_abs_top_srcdir=$ac_pwd ;;
2041 [\\/]* | ?:[\\/]* ) # Absolute name.
2042 ac_srcdir=$srcdir$ac_dir_suffix;
2043 ac_top_srcdir=$srcdir
2044 ac_abs_top_srcdir=$srcdir ;;
2045 *) # Relative name.
2046 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2047 ac_top_srcdir=$ac_top_build_prefix$srcdir
2048 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2049 esac
2050 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2051
2052 cd "$ac_dir" || { ac_status=$?; continue; }
2053 # Check for guested configure.
2054 if test -f "$ac_srcdir/configure.gnu"; then
2055 echo &&
2056 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2057 elif test -f "$ac_srcdir/configure"; then
2058 echo &&
2059 $SHELL "$ac_srcdir/configure" --help=recursive
2060 else
2061 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2062 fi || ac_status=$?
2063 cd "$ac_pwd" || { ac_status=$?; break; }
2064 done
2065 fi
2066
2067 test -n "$ac_init_help" && exit $ac_status
2068 if $ac_init_version; then
2069 cat <<\_ACEOF
2070 wxWidgets configure 2.9.1
2071 generated by GNU Autoconf 2.61
2072
2073 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2074 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
2075 This configure script is free software; the Free Software Foundation
2076 gives unlimited permission to copy, distribute and modify it.
2077 _ACEOF
2078 exit
2079 fi
2080 cat >config.log <<_ACEOF
2081 This file contains any messages produced by compilers while
2082 running configure, to aid debugging if configure makes a mistake.
2083
2084 It was created by wxWidgets $as_me 2.9.1, which was
2085 generated by GNU Autoconf 2.61. Invocation command line was
2086
2087 $ $0 $@
2088
2089 _ACEOF
2090 exec 5>>config.log
2091 {
2092 cat <<_ASUNAME
2093 ## --------- ##
2094 ## Platform. ##
2095 ## --------- ##
2096
2097 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2098 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2099 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2100 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2101 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2102
2103 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2104 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2105
2106 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2107 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2108 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2109 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2110 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2111 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2112 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2113
2114 _ASUNAME
2115
2116 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2117 for as_dir in $PATH
2118 do
2119 IFS=$as_save_IFS
2120 test -z "$as_dir" && as_dir=.
2121 echo "PATH: $as_dir"
2122 done
2123 IFS=$as_save_IFS
2124
2125 } >&5
2126
2127 cat >&5 <<_ACEOF
2128
2129
2130 ## ----------- ##
2131 ## Core tests. ##
2132 ## ----------- ##
2133
2134 _ACEOF
2135
2136
2137 # Keep a trace of the command line.
2138 # Strip out --no-create and --no-recursion so they do not pile up.
2139 # Strip out --silent because we don't want to record it for future runs.
2140 # Also quote any args containing shell meta-characters.
2141 # Make two passes to allow for proper duplicate-argument suppression.
2142 ac_configure_args=
2143 ac_configure_args0=
2144 ac_configure_args1=
2145 ac_must_keep_next=false
2146 for ac_pass in 1 2
2147 do
2148 for ac_arg
2149 do
2150 case $ac_arg in
2151 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2152 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2153 | -silent | --silent | --silen | --sile | --sil)
2154 continue ;;
2155 *\'*)
2156 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2157 esac
2158 case $ac_pass in
2159 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2160 2)
2161 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2162 if test $ac_must_keep_next = true; then
2163 ac_must_keep_next=false # Got value, back to normal.
2164 else
2165 case $ac_arg in
2166 *=* | --config-cache | -C | -disable-* | --disable-* \
2167 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2168 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2169 | -with-* | --with-* | -without-* | --without-* | --x)
2170 case "$ac_configure_args0 " in
2171 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2172 esac
2173 ;;
2174 -* ) ac_must_keep_next=true ;;
2175 esac
2176 fi
2177 ac_configure_args="$ac_configure_args '$ac_arg'"
2178 ;;
2179 esac
2180 done
2181 done
2182 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2183 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2184
2185 # When interrupted or exit'd, cleanup temporary files, and complete
2186 # config.log. We remove comments because anyway the quotes in there
2187 # would cause problems or look ugly.
2188 # WARNING: Use '\'' to represent an apostrophe within the trap.
2189 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2190 trap 'exit_status=$?
2191 # Save into config.log some information that might help in debugging.
2192 {
2193 echo
2194
2195 cat <<\_ASBOX
2196 ## ---------------- ##
2197 ## Cache variables. ##
2198 ## ---------------- ##
2199 _ASBOX
2200 echo
2201 # The following way of writing the cache mishandles newlines in values,
2202 (
2203 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2204 eval ac_val=\$$ac_var
2205 case $ac_val in #(
2206 *${as_nl}*)
2207 case $ac_var in #(
2208 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2209 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2210 esac
2211 case $ac_var in #(
2212 _ | IFS | as_nl) ;; #(
2213 *) $as_unset $ac_var ;;
2214 esac ;;
2215 esac
2216 done
2217 (set) 2>&1 |
2218 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2219 *${as_nl}ac_space=\ *)
2220 sed -n \
2221 "s/'\''/'\''\\\\'\'''\''/g;
2222 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2223 ;; #(
2224 *)
2225 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2226 ;;
2227 esac |
2228 sort
2229 )
2230 echo
2231
2232 cat <<\_ASBOX
2233 ## ----------------- ##
2234 ## Output variables. ##
2235 ## ----------------- ##
2236 _ASBOX
2237 echo
2238 for ac_var in $ac_subst_vars
2239 do
2240 eval ac_val=\$$ac_var
2241 case $ac_val in
2242 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2243 esac
2244 echo "$ac_var='\''$ac_val'\''"
2245 done | sort
2246 echo
2247
2248 if test -n "$ac_subst_files"; then
2249 cat <<\_ASBOX
2250 ## ------------------- ##
2251 ## File substitutions. ##
2252 ## ------------------- ##
2253 _ASBOX
2254 echo
2255 for ac_var in $ac_subst_files
2256 do
2257 eval ac_val=\$$ac_var
2258 case $ac_val in
2259 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2260 esac
2261 echo "$ac_var='\''$ac_val'\''"
2262 done | sort
2263 echo
2264 fi
2265
2266 if test -s confdefs.h; then
2267 cat <<\_ASBOX
2268 ## ----------- ##
2269 ## confdefs.h. ##
2270 ## ----------- ##
2271 _ASBOX
2272 echo
2273 cat confdefs.h
2274 echo
2275 fi
2276 test "$ac_signal" != 0 &&
2277 echo "$as_me: caught signal $ac_signal"
2278 echo "$as_me: exit $exit_status"
2279 } >&5
2280 rm -f core *.core core.conftest.* &&
2281 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2282 exit $exit_status
2283 ' 0
2284 for ac_signal in 1 2 13 15; do
2285 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2286 done
2287 ac_signal=0
2288
2289 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2290 rm -f -r conftest* confdefs.h
2291
2292 # Predefined preprocessor variables.
2293
2294 cat >>confdefs.h <<_ACEOF
2295 #define PACKAGE_NAME "$PACKAGE_NAME"
2296 _ACEOF
2297
2298
2299 cat >>confdefs.h <<_ACEOF
2300 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2301 _ACEOF
2302
2303
2304 cat >>confdefs.h <<_ACEOF
2305 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2306 _ACEOF
2307
2308
2309 cat >>confdefs.h <<_ACEOF
2310 #define PACKAGE_STRING "$PACKAGE_STRING"
2311 _ACEOF
2312
2313
2314 cat >>confdefs.h <<_ACEOF
2315 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2316 _ACEOF
2317
2318
2319 # Let the site file select an alternate cache file if it wants to.
2320 # Prefer explicitly selected file to automatically selected ones.
2321 if test -n "$CONFIG_SITE"; then
2322 set x "$CONFIG_SITE"
2323 elif test "x$prefix" != xNONE; then
2324 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2325 else
2326 set x "$ac_default_prefix/share/config.site" \
2327 "$ac_default_prefix/etc/config.site"
2328 fi
2329 shift
2330 for ac_site_file
2331 do
2332 if test -r "$ac_site_file"; then
2333 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2334 echo "$as_me: loading site script $ac_site_file" >&6;}
2335 sed 's/^/| /' "$ac_site_file" >&5
2336 . "$ac_site_file"
2337 fi
2338 done
2339
2340 if test -r "$cache_file"; then
2341 # Some versions of bash will fail to source /dev/null (special
2342 # files actually), so we avoid doing that.
2343 if test -f "$cache_file"; then
2344 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2345 echo "$as_me: loading cache $cache_file" >&6;}
2346 case $cache_file in
2347 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2348 *) . "./$cache_file";;
2349 esac
2350 fi
2351 else
2352 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2353 echo "$as_me: creating cache $cache_file" >&6;}
2354 >$cache_file
2355 fi
2356
2357 # Check that the precious variables saved in the cache have kept the same
2358 # value.
2359 ac_cache_corrupted=false
2360 for ac_var in $ac_precious_vars; do
2361 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2362 eval ac_new_set=\$ac_env_${ac_var}_set
2363 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2364 eval ac_new_val=\$ac_env_${ac_var}_value
2365 case $ac_old_set,$ac_new_set in
2366 set,)
2367 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2368 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2369 ac_cache_corrupted=: ;;
2370 ,set)
2371 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2372 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2373 ac_cache_corrupted=: ;;
2374 ,);;
2375 *)
2376 if test "x$ac_old_val" != "x$ac_new_val"; then
2377 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2378 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2379 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2380 echo "$as_me: former value: $ac_old_val" >&2;}
2381 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2382 echo "$as_me: current value: $ac_new_val" >&2;}
2383 ac_cache_corrupted=:
2384 fi;;
2385 esac
2386 # Pass precious variables to config.status.
2387 if test "$ac_new_set" = set; then
2388 case $ac_new_val in
2389 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2390 *) ac_arg=$ac_var=$ac_new_val ;;
2391 esac
2392 case " $ac_configure_args " in
2393 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2394 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2395 esac
2396 fi
2397 done
2398 if $ac_cache_corrupted; then
2399 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2400 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2401 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2402 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2403 { (exit 1); exit 1; }; }
2404 fi
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430 ac_ext=c
2431 ac_cpp='$CPP $CPPFLAGS'
2432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2435
2436
2437
2438
2439
2440 ac_aux_dir=
2441 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2442 if test -f "$ac_dir/install-sh"; then
2443 ac_aux_dir=$ac_dir
2444 ac_install_sh="$ac_aux_dir/install-sh -c"
2445 break
2446 elif test -f "$ac_dir/install.sh"; then
2447 ac_aux_dir=$ac_dir
2448 ac_install_sh="$ac_aux_dir/install.sh -c"
2449 break
2450 elif test -f "$ac_dir/shtool"; then
2451 ac_aux_dir=$ac_dir
2452 ac_install_sh="$ac_aux_dir/shtool install -c"
2453 break
2454 fi
2455 done
2456 if test -z "$ac_aux_dir"; then
2457 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2458 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2459 { (exit 1); exit 1; }; }
2460 fi
2461
2462 # These three variables are undocumented and unsupported,
2463 # and are intended to be withdrawn in a future Autoconf release.
2464 # They can cause serious problems if a builder's source tree is in a directory
2465 # whose full name contains unusual characters.
2466 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2467 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2468 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2469
2470
2471 # Make sure we can run config.sub.
2472 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2473 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2474 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2475 { (exit 1); exit 1; }; }
2476
2477 { echo "$as_me:$LINENO: checking build system type" >&5
2478 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2479 if test "${ac_cv_build+set}" = set; then
2480 echo $ECHO_N "(cached) $ECHO_C" >&6
2481 else
2482 ac_build_alias=$build_alias
2483 test "x$ac_build_alias" = x &&
2484 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2485 test "x$ac_build_alias" = x &&
2486 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2487 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2488 { (exit 1); exit 1; }; }
2489 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2490 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2491 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2492 { (exit 1); exit 1; }; }
2493
2494 fi
2495 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2496 echo "${ECHO_T}$ac_cv_build" >&6; }
2497 case $ac_cv_build in
2498 *-*-*) ;;
2499 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2500 echo "$as_me: error: invalid value of canonical build" >&2;}
2501 { (exit 1); exit 1; }; };;
2502 esac
2503 build=$ac_cv_build
2504 ac_save_IFS=$IFS; IFS='-'
2505 set x $ac_cv_build
2506 shift
2507 build_cpu=$1
2508 build_vendor=$2
2509 shift; shift
2510 # Remember, the first character of IFS is used to create $*,
2511 # except with old shells:
2512 build_os=$*
2513 IFS=$ac_save_IFS
2514 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2515
2516
2517 { echo "$as_me:$LINENO: checking host system type" >&5
2518 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2519 if test "${ac_cv_host+set}" = set; then
2520 echo $ECHO_N "(cached) $ECHO_C" >&6
2521 else
2522 if test "x$host_alias" = x; then
2523 ac_cv_host=$ac_cv_build
2524 else
2525 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2526 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2527 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2528 { (exit 1); exit 1; }; }
2529 fi
2530
2531 fi
2532 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2533 echo "${ECHO_T}$ac_cv_host" >&6; }
2534 case $ac_cv_host in
2535 *-*-*) ;;
2536 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2537 echo "$as_me: error: invalid value of canonical host" >&2;}
2538 { (exit 1); exit 1; }; };;
2539 esac
2540 host=$ac_cv_host
2541 ac_save_IFS=$IFS; IFS='-'
2542 set x $ac_cv_host
2543 shift
2544 host_cpu=$1
2545 host_vendor=$2
2546 shift; shift
2547 # Remember, the first character of IFS is used to create $*,
2548 # except with old shells:
2549 host_os=$*
2550 IFS=$ac_save_IFS
2551 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2552
2553
2554
2555 if test "$cross_compiling" != "no"; then
2556 HOST_PREFIX="${host_alias}-"
2557 HOST_SUFFIX="-$host_alias"
2558 else
2559 HOST_PREFIX=
2560 HOST_SUFFIX=
2561 fi
2562
2563
2564 wx_major_version_number=2
2565 wx_minor_version_number=9
2566 wx_release_number=1
2567 wx_subrelease_number=0
2568
2569 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2570 WX_VERSION=$WX_RELEASE.$wx_release_number
2571 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2572
2573 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2574
2575
2576 wx_top_builddir="`pwd`"
2577
2578
2579
2580
2581 USE_UNIX=1
2582 USE_OS2=0
2583 USE_WIN32=0
2584 USE_DOS=0
2585 USE_BEOS=0
2586 USE_MAC=0
2587
2588 USE_AIX=
2589 USE_BSD= USE_DARWIN= USE_FREEBSD=
2590 USE_GNU= USE_HPUX=
2591 USE_LINUX=
2592 USE_NETBSD=
2593 USE_OPENBSD=
2594 USE_OSF= USE_SGI=
2595 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2596 USE_ULTRIX=
2597 USE_UNIXWARE=
2598
2599 USE_ALPHA=
2600
2601 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2602
2603 ALL_TOOLKITS="COCOA GTK OSX_CARBON OSX_COCOA MGL MICROWIN MOTIF MSW PM X11 DFB"
2604
2605 DEFAULT_wxUSE_COCOA=0
2606 DEFAULT_wxUSE_GTK=0
2607 DEFAULT_wxUSE_OSX_CARBON=0
2608 DEFAULT_wxUSE_OSX_COCOA=0
2609 DEFAULT_wxUSE_MGL=0
2610 DEFAULT_wxUSE_MICROWIN=0
2611 DEFAULT_wxUSE_MOTIF=0
2612 DEFAULT_wxUSE_MSW=0
2613 DEFAULT_wxUSE_PM=0
2614 DEFAULT_wxUSE_X11=0
2615 DEFAULT_wxUSE_DFB=0
2616
2617 DEFAULT_DEFAULT_wxUSE_COCOA=0
2618 DEFAULT_DEFAULT_wxUSE_GTK=0
2619 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=0
2620 DEFAULT_DEFAULT_wxUSE_OSX_COCOA=0
2621 DEFAULT_DEFAULT_wxUSE_MGL=0
2622 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2623 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2624 DEFAULT_DEFAULT_wxUSE_MSW=0
2625 DEFAULT_DEFAULT_wxUSE_PM=0
2626 DEFAULT_DEFAULT_wxUSE_X11=0
2627 DEFAULT_DEFAULT_wxUSE_DFB=0
2628
2629 PROGRAM_EXT=
2630 SAMPLES_RPATH_FLAG=
2631 DYLIB_RPATH_INSTALL=
2632 DYLIB_RPATH_POSTLINK=
2633
2634 DEFAULT_STD_FLAG=yes
2635
2636 case "${host}" in
2637 *-hp-hpux* )
2638 USE_HPUX=1
2639 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2640 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2641 cat >>confdefs.h <<\_ACEOF
2642 #define __HPUX__ 1
2643 _ACEOF
2644
2645
2646 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2647 ;;
2648 *-*-linux* )
2649 USE_LINUX=1
2650 cat >>confdefs.h <<\_ACEOF
2651 #define __LINUX__ 1
2652 _ACEOF
2653
2654 TMP=`uname -m`
2655 if test "x$TMP" = "xalpha"; then
2656 USE_ALPHA=1
2657 cat >>confdefs.h <<\_ACEOF
2658 #define __ALPHA__ 1
2659 _ACEOF
2660
2661 fi
2662 DEFAULT_DEFAULT_wxUSE_GTK=1
2663 ;;
2664 *-*-gnu* | *-*-k*bsd*-gnu )
2665 USE_GNU=1
2666 TMP=`uname -m`
2667 if test "x$TMP" = "xalpha"; then
2668 USE_ALPHA=1
2669 cat >>confdefs.h <<\_ACEOF
2670 #define __ALPHA__ 1
2671 _ACEOF
2672
2673 fi
2674 DEFAULT_DEFAULT_wxUSE_GTK=1
2675 ;;
2676 *-*-irix5* | *-*-irix6* )
2677 USE_SGI=1
2678 USE_SVR4=1
2679 cat >>confdefs.h <<\_ACEOF
2680 #define __SGI__ 1
2681 _ACEOF
2682
2683 cat >>confdefs.h <<\_ACEOF
2684 #define __SVR4__ 1
2685 _ACEOF
2686
2687 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2688 ;;
2689 *-*-solaris2* )
2690 USE_SUN=1
2691 USE_SOLARIS=1
2692 USE_SVR4=1
2693 cat >>confdefs.h <<\_ACEOF
2694 #define __SUN__ 1
2695 _ACEOF
2696
2697 cat >>confdefs.h <<\_ACEOF
2698 #define __SOLARIS__ 1
2699 _ACEOF
2700
2701 cat >>confdefs.h <<\_ACEOF
2702 #define __SVR4__ 1
2703 _ACEOF
2704
2705 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2706 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2707 ;;
2708 *-*-sunos4* )
2709 USE_SUN=1
2710 USE_SUNOS=1
2711 USE_BSD=1
2712 cat >>confdefs.h <<\_ACEOF
2713 #define __SUN__ 1
2714 _ACEOF
2715
2716 cat >>confdefs.h <<\_ACEOF
2717 #define __SUNOS__ 1
2718 _ACEOF
2719
2720 cat >>confdefs.h <<\_ACEOF
2721 #define __BSD__ 1
2722 _ACEOF
2723
2724 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2725 ;;
2726 *-*-freebsd*)
2727 USE_BSD=1
2728 USE_FREEBSD=1
2729 cat >>confdefs.h <<\_ACEOF
2730 #define __FREEBSD__ 1
2731 _ACEOF
2732
2733 cat >>confdefs.h <<\_ACEOF
2734 #define __BSD__ 1
2735 _ACEOF
2736
2737 DEFAULT_DEFAULT_wxUSE_GTK=1
2738 ;;
2739 *-*-openbsd*|*-*-mirbsd*)
2740 USE_BSD=1
2741 USE_OPENBSD=1
2742 cat >>confdefs.h <<\_ACEOF
2743 #define __OPENBSD__ 1
2744 _ACEOF
2745
2746 cat >>confdefs.h <<\_ACEOF
2747 #define __BSD__ 1
2748 _ACEOF
2749
2750 DEFAULT_DEFAULT_wxUSE_GTK=1
2751 ;;
2752 *-*-netbsd*)
2753 USE_BSD=1
2754 USE_NETBSD=1
2755 cat >>confdefs.h <<\_ACEOF
2756 #define __NETBSD__ 1
2757 _ACEOF
2758
2759 cat >>confdefs.h <<\_ACEOF
2760 #define __BSD__ 1
2761 _ACEOF
2762
2763 DEFAULT_DEFAULT_wxUSE_GTK=1
2764 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2765
2766 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2767 ;;
2768 *-*-osf* )
2769 USE_ALPHA=1
2770 USE_OSF=1
2771 cat >>confdefs.h <<\_ACEOF
2772 #define __ALPHA__ 1
2773 _ACEOF
2774
2775 cat >>confdefs.h <<\_ACEOF
2776 #define __OSF__ 1
2777 _ACEOF
2778
2779 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2780 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2781 ;;
2782 *-*-dgux5* )
2783 USE_ALPHA=1
2784 USE_SVR4=1
2785 cat >>confdefs.h <<\_ACEOF
2786 #define __ALPHA__ 1
2787 _ACEOF
2788
2789 cat >>confdefs.h <<\_ACEOF
2790 #define __SVR4__ 1
2791 _ACEOF
2792
2793 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2794 ;;
2795 *-*-sysv5* )
2796 USE_SYSV=1
2797 USE_SVR4=1
2798 cat >>confdefs.h <<\_ACEOF
2799 #define __SYSV__ 1
2800 _ACEOF
2801
2802 cat >>confdefs.h <<\_ACEOF
2803 #define __SVR4__ 1
2804 _ACEOF
2805
2806 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2807 ;;
2808 *-*-aix* )
2809 USE_AIX=1
2810 USE_SYSV=1
2811 USE_SVR4=1
2812 cat >>confdefs.h <<\_ACEOF
2813 #define __AIX__ 1
2814 _ACEOF
2815
2816 cat >>confdefs.h <<\_ACEOF
2817 #define __SYSV__ 1
2818 _ACEOF
2819
2820 cat >>confdefs.h <<\_ACEOF
2821 #define __SVR4__ 1
2822 _ACEOF
2823
2824 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2825 ;;
2826
2827 *-*-*UnixWare*)
2828 USE_SYSV=1
2829 USE_SVR4=1
2830 USE_UNIXWARE=1
2831 cat >>confdefs.h <<\_ACEOF
2832 #define __UNIXWARE__ 1
2833 _ACEOF
2834
2835 ;;
2836
2837 *-*-cygwin* | *-*-mingw32* )
2838 PROGRAM_EXT=".exe"
2839 DEFAULT_DEFAULT_wxUSE_MSW=1
2840 ;;
2841
2842 *-pc-msdosdjgpp )
2843 USE_UNIX=0
2844 USE_DOS=1
2845 cat >>confdefs.h <<\_ACEOF
2846 #define __DOS__ 1
2847 _ACEOF
2848
2849 PROGRAM_EXT=".exe"
2850 DEFAULT_DEFAULT_wxUSE_MGL=1
2851 ;;
2852
2853 *-pc-os2_emx | *-pc-os2-emx )
2854 cat >>confdefs.h <<\_ACEOF
2855 #define __EMX__ 1
2856 _ACEOF
2857
2858 USE_OS2=1
2859 cat >>confdefs.h <<\_ACEOF
2860 #define __OS2__ 1
2861 _ACEOF
2862
2863 PROGRAM_EXT=".exe"
2864 DEFAULT_DEFAULT_wxUSE_PM=1
2865 CXX=gcc
2866 LDFLAGS="$LDFLAGS -Zcrtdll"
2867 ac_executable_extensions=".exe"
2868 export ac_executable_extensions
2869 ac_save_IFS="$IFS"
2870 IFS='\\'
2871 ac_TEMP_PATH=
2872 for ac_dir in $PATH; do
2873 IFS=$ac_save_IFS
2874 if test -z "$ac_TEMP_PATH"; then
2875 ac_TEMP_PATH="$ac_dir"
2876 else
2877 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2878 fi
2879 done
2880 export PATH="$ac_TEMP_PATH"
2881 unset ac_TEMP_PATH
2882 DEFAULT_STD_FLAG=no
2883 ;;
2884
2885 *-*-darwin* )
2886 USE_BSD=1
2887 USE_DARWIN=1
2888 cat >>confdefs.h <<\_ACEOF
2889 #define __BSD__ 1
2890 _ACEOF
2891
2892 cat >>confdefs.h <<\_ACEOF
2893 #define __DARWIN__ 1
2894 _ACEOF
2895
2896 cat >>confdefs.h <<\_ACEOF
2897 #define TARGET_CARBON 1
2898 _ACEOF
2899
2900 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=1
2901 ;;
2902
2903 *-*-beos* )
2904 USE_BEOS=1
2905 cat >>confdefs.h <<\_ACEOF
2906 #define __BEOS__ 1
2907 _ACEOF
2908
2909 ;;
2910
2911 *)
2912 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2913 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2914 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2915 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2916
2917 DEFAULT_DEFAULT_wxUSE_X11=1
2918 DEFAULT_wxUSE_SHARED=no
2919 esac
2920
2921
2922
2923 DEFAULT_wxUSE_ALL_FEATURES=yes
2924
2925 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2926 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2927
2928 DEFAULT_wxUSE_DMALLOC=no
2929 DEFAULT_wxUSE_LIBGNOMEVFS=no
2930 DEFAULT_wxUSE_LIBHILDON=no
2931 DEFAULT_wxUSE_LIBHILDON2=no
2932 DEFAULT_wxUSE_LIBMSPACK=no
2933 DEFAULT_wxUSE_LIBSDL=no
2934
2935 DEFAULT_wxUSE_ACCESSIBILITY=no
2936 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2937 DEFAULT_wxUSE_IPV6=no
2938 DEFAULT_wxUSE_GSTREAMER8=no
2939
2940 DEFAULT_wxUSE_UNICODE_UTF8=auto
2941 DEFAULT_wxUSE_OPENGL=auto
2942 DEFAULT_wxUSE_MEDIACTRL=auto
2943 DEFAULT_wxUSE_COMPILER_TLS=auto
2944
2945 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
2946
2947 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2948
2949 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2950
2951 DEFAULT_wxUSE_GTK2=yes
2952
2953 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
2954
2955
2956
2957
2958
2959 enablestring=disable
2960 defaultval=
2961 if test -z "$defaultval"; then
2962 if test x"$enablestring" = xdisable; then
2963 defaultval=yes
2964 else
2965 defaultval=no
2966 fi
2967 fi
2968
2969 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2970 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
2971 # Check whether --enable-gui was given.
2972 if test "${enable_gui+set}" = set; then
2973 enableval=$enable_gui;
2974 if test "$enableval" = yes; then
2975 wx_cv_use_gui='wxUSE_GUI=yes'
2976 else
2977 wx_cv_use_gui='wxUSE_GUI=no'
2978 fi
2979
2980 else
2981
2982 wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
2983
2984 fi
2985
2986
2987 eval "$wx_cv_use_gui"
2988
2989 if test x"$enablestring" = xdisable; then
2990 if test $wxUSE_GUI = no; then
2991 result=yes
2992 else
2993 result=no
2994 fi
2995 else
2996 result=$wxUSE_GUI
2997 fi
2998
2999 { echo "$as_me:$LINENO: result: $result" >&5
3000 echo "${ECHO_T}$result" >&6; }
3001
3002
3003 enablestring=
3004 defaultval=
3005 if test -z "$defaultval"; then
3006 if test x"$enablestring" = xdisable; then
3007 defaultval=yes
3008 else
3009 defaultval=no
3010 fi
3011 fi
3012
3013 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3014 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3015 # Check whether --enable-monolithic was given.
3016 if test "${enable_monolithic+set}" = set; then
3017 enableval=$enable_monolithic;
3018 if test "$enableval" = yes; then
3019 wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3020 else
3021 wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3022 fi
3023
3024 else
3025
3026 wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3027
3028 fi
3029
3030
3031 eval "$wx_cv_use_monolithic"
3032
3033 if test x"$enablestring" = xdisable; then
3034 if test $wxUSE_MONOLITHIC = no; then
3035 result=yes
3036 else
3037 result=no
3038 fi
3039 else
3040 result=$wxUSE_MONOLITHIC
3041 fi
3042
3043 { echo "$as_me:$LINENO: result: $result" >&5
3044 echo "${ECHO_T}$result" >&6; }
3045
3046
3047 enablestring=
3048 defaultval=
3049 if test -z "$defaultval"; then
3050 if test x"$enablestring" = xdisable; then
3051 defaultval=yes
3052 else
3053 defaultval=no
3054 fi
3055 fi
3056
3057 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3058 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3059 # Check whether --enable-plugins was given.
3060 if test "${enable_plugins+set}" = set; then
3061 enableval=$enable_plugins;
3062 if test "$enableval" = yes; then
3063 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3064 else
3065 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3066 fi
3067
3068 else
3069
3070 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3071
3072 fi
3073
3074
3075 eval "$wx_cv_use_plugins"
3076
3077 if test x"$enablestring" = xdisable; then
3078 if test $wxUSE_PLUGINS = no; then
3079 result=yes
3080 else
3081 result=no
3082 fi
3083 else
3084 result=$wxUSE_PLUGINS
3085 fi
3086
3087 { echo "$as_me:$LINENO: result: $result" >&5
3088 echo "${ECHO_T}$result" >&6; }
3089
3090
3091 withstring=without
3092 defaultval=$wxUSE_ALL_FEATURES
3093 if test -z "$defaultval"; then
3094 if test x"$withstring" = xwithout; then
3095 defaultval=yes
3096 else
3097 defaultval=no
3098 fi
3099 fi
3100 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3101 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3102
3103 # Check whether --with-subdirs was given.
3104 if test "${with_subdirs+set}" = set; then
3105 withval=$with_subdirs;
3106 if test "$withval" = yes; then
3107 wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3108 else
3109 wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
3110 fi
3111
3112 else
3113
3114 wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3115
3116 fi
3117
3118
3119 eval "$wx_cv_use_subdirs"
3120
3121 if test x"$withstring" = xwithout; then
3122 if test $wxWITH_SUBDIRS = yes; then
3123 result=no
3124 else
3125 result=yes
3126 fi
3127 else
3128 result=$wxWITH_SUBDIRS
3129 fi
3130
3131 { echo "$as_me:$LINENO: result: $result" >&5
3132 echo "${ECHO_T}$result" >&6; }
3133
3134
3135 # Check whether --with-flavour was given.
3136 if test "${with_flavour+set}" = set; then
3137 withval=$with_flavour; WX_FLAVOUR="$withval"
3138 fi
3139
3140
3141 enablestring=
3142 defaultval=
3143 if test -z "$defaultval"; then
3144 if test x"$enablestring" = xdisable; then
3145 defaultval=yes
3146 else
3147 defaultval=no
3148 fi
3149 fi
3150
3151 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3152 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3153 # Check whether --enable-official_build was given.
3154 if test "${enable_official_build+set}" = set; then
3155 enableval=$enable_official_build;
3156 if test "$enableval" = yes; then
3157 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
3158 else
3159 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
3160 fi
3161
3162 else
3163
3164 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3165
3166 fi
3167
3168
3169 eval "$wx_cv_use_official_build"
3170
3171 if test x"$enablestring" = xdisable; then
3172 if test $wxUSE_OFFICIAL_BUILD = no; then
3173 result=yes
3174 else
3175 result=no
3176 fi
3177 else
3178 result=$wxUSE_OFFICIAL_BUILD
3179 fi
3180
3181 { echo "$as_me:$LINENO: result: $result" >&5
3182 echo "${ECHO_T}$result" >&6; }
3183
3184 # Check whether --enable-vendor was given.
3185 if test "${enable_vendor+set}" = set; then
3186 enableval=$enable_vendor; VENDOR="$enableval"
3187 fi
3188
3189 if test "x$VENDOR" = "x"; then
3190 VENDOR="custom"
3191 fi
3192
3193
3194 enablestring=disable
3195 defaultval=
3196 if test -z "$defaultval"; then
3197 if test x"$enablestring" = xdisable; then
3198 defaultval=yes
3199 else
3200 defaultval=no
3201 fi
3202 fi
3203
3204 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-all-features" >&5
3205 echo $ECHO_N "checking for --${enablestring:-enable}-all-features... $ECHO_C" >&6; }
3206 # Check whether --enable-all-features was given.
3207 if test "${enable_all_features+set}" = set; then
3208 enableval=$enable_all_features;
3209 if test "$enableval" = yes; then
3210 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3211 else
3212 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3213 fi
3214
3215 else
3216
3217 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3218
3219 fi
3220
3221
3222 eval "$wx_cv_use_all_features"
3223
3224 if test x"$enablestring" = xdisable; then
3225 if test $wxUSE_ALL_FEATURES = no; then
3226 result=yes
3227 else
3228 result=no
3229 fi
3230 else
3231 result=$wxUSE_ALL_FEATURES
3232 fi
3233
3234 { echo "$as_me:$LINENO: result: $result" >&5
3235 echo "${ECHO_T}$result" >&6; }
3236
3237
3238 if test "$wxUSE_ALL_FEATURES" = "no"; then
3239 DEFAULT_wxUSE_MEDIACTRL=no
3240 fi
3241
3242
3243 if test "$wxUSE_GUI" = "yes"; then
3244
3245
3246 enablestring=
3247 defaultval=
3248 if test -z "$defaultval"; then
3249 if test x"$enablestring" = xdisable; then
3250 defaultval=yes
3251 else
3252 defaultval=no
3253 fi
3254 fi
3255
3256 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3257 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3258 # Check whether --enable-universal was given.
3259 if test "${enable_universal+set}" = set; then
3260 enableval=$enable_universal;
3261 if test "$enableval" = yes; then
3262 wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
3263 else
3264 wx_cv_use_universal='wxUSE_UNIVERSAL=no'
3265 fi
3266
3267 else
3268
3269 wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3270
3271 fi
3272
3273
3274 eval "$wx_cv_use_universal"
3275
3276 if test x"$enablestring" = xdisable; then
3277 if test $wxUSE_UNIVERSAL = no; then
3278 result=yes
3279 else
3280 result=no
3281 fi
3282 else
3283 result=$wxUSE_UNIVERSAL
3284 fi
3285
3286 { echo "$as_me:$LINENO: result: $result" >&5
3287 echo "${ECHO_T}$result" >&6; }
3288
3289 if test "$wxUSE_UNIVERSAL" = "yes"; then
3290
3291 # Check whether --with-themes was given.
3292 if test "${with_themes+set}" = set; then
3293 withval=$with_themes; wxUNIV_THEMES="$withval"
3294 fi
3295
3296 fi
3297
3298
3299 # Check whether --with-gtk was given.
3300 if test "${with_gtk+set}" = set; then
3301 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3302 fi
3303
3304
3305 # Check whether --with-motif was given.
3306 if test "${with_motif+set}" = set; then
3307 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3308 fi
3309
3310
3311 # Check whether --with-osx_carbon was given.
3312 if test "${with_osx_carbon+set}" = set; then
3313 withval=$with_osx_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3314 fi
3315
3316
3317 # Check whether --with-osx_cocoa was given.
3318 if test "${with_osx_cocoa+set}" = set; then
3319 withval=$with_osx_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3320 fi
3321
3322
3323 # Check whether --with-mac was given.
3324 if test "${with_mac+set}" = set; then
3325 withval=$with_mac; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3326 fi
3327
3328
3329 # Check whether --with-cocoa was given.
3330 if test "${with_cocoa+set}" = set; then
3331 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3332 fi
3333
3334
3335 # Check whether --with-wine was given.
3336 if test "${with_wine+set}" = set; then
3337 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3338 fi
3339
3340
3341 # Check whether --with-msw was given.
3342 if test "${with_msw+set}" = set; then
3343 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3344 fi
3345
3346
3347 # Check whether --with-pm was given.
3348 if test "${with_pm+set}" = set; then
3349 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3350 fi
3351
3352
3353 # Check whether --with-mgl was given.
3354 if test "${with_mgl+set}" = set; then
3355 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3356 fi
3357
3358
3359 # Check whether --with-directfb was given.
3360 if test "${with_directfb+set}" = set; then
3361 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3362 fi
3363
3364
3365 # Check whether --with-microwin was given.
3366 if test "${with_microwin+set}" = set; then
3367 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3368 fi
3369
3370
3371 # Check whether --with-x11 was given.
3372 if test "${with_x11+set}" = set; then
3373 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3374 fi
3375
3376
3377 enablestring=
3378 defaultval=
3379 if test -z "$defaultval"; then
3380 if test x"$enablestring" = xdisable; then
3381 defaultval=yes
3382 else
3383 defaultval=no
3384 fi
3385 fi
3386
3387 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3388 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3389 # Check whether --enable-nanox was given.
3390 if test "${enable_nanox+set}" = set; then
3391 enableval=$enable_nanox;
3392 if test "$enableval" = yes; then
3393 wx_cv_use_nanox='wxUSE_NANOX=yes'
3394 else
3395 wx_cv_use_nanox='wxUSE_NANOX=no'
3396 fi
3397
3398 else
3399
3400 wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3401
3402 fi
3403
3404
3405 eval "$wx_cv_use_nanox"
3406
3407 if test x"$enablestring" = xdisable; then
3408 if test $wxUSE_NANOX = no; then
3409 result=yes
3410 else
3411 result=no
3412 fi
3413 else
3414 result=$wxUSE_NANOX
3415 fi
3416
3417 { echo "$as_me:$LINENO: result: $result" >&5
3418 echo "${ECHO_T}$result" >&6; }
3419
3420
3421 # Check whether --enable-gtk2 was given.
3422 if test "${enable_gtk2+set}" = set; then
3423 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3424 fi
3425
3426
3427 enablestring=
3428 defaultval=
3429 if test -z "$defaultval"; then
3430 if test x"$enablestring" = xdisable; then
3431 defaultval=yes
3432 else
3433 defaultval=no
3434 fi
3435 fi
3436
3437 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3438 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3439 # Check whether --enable-gpe was given.
3440 if test "${enable_gpe+set}" = set; then
3441 enableval=$enable_gpe;
3442 if test "$enableval" = yes; then
3443 wx_cv_use_gpe='wxUSE_GPE=yes'
3444 else
3445 wx_cv_use_gpe='wxUSE_GPE=no'
3446 fi
3447
3448 else
3449
3450 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3451
3452 fi
3453
3454
3455 eval "$wx_cv_use_gpe"
3456
3457 if test x"$enablestring" = xdisable; then
3458 if test $wxUSE_GPE = no; then
3459 result=yes
3460 else
3461 result=no
3462 fi
3463 else
3464 result=$wxUSE_GPE
3465 fi
3466
3467 { echo "$as_me:$LINENO: result: $result" >&5
3468 echo "${ECHO_T}$result" >&6; }
3469
3470
3471
3472 { echo "$as_me:$LINENO: checking for toolkit" >&5
3473 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
3474
3475
3476
3477 # In Wine, we need to default to MSW, not GTK or MOTIF
3478 if test "$wxUSE_WINE" = "yes"; then
3479 DEFAULT_DEFAULT_wxUSE_GTK=0
3480 DEFAULT_DEFAULT_wxUSE_MOTIF=0
3481 DEFAULT_DEFAULT_wxUSE_MSW=1
3482 wxUSE_SHARED=no
3483 CC=${CC:-winegcc}
3484 CXX=${CXX:-wineg++}
3485 fi
3486
3487
3488 if test "$wxUSE_GUI" = "yes"; then
3489
3490 if test "$USE_BEOS" = 1; then
3491 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
3492 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
3493 { (exit 1); exit 1; }; }
3494 fi
3495
3496 if test "$TOOLKIT_GIVEN" = 1; then
3497 for toolkit in $ALL_TOOLKITS; do
3498 var=wxUSE_$toolkit
3499 eval "value=\$${var}"
3500 if test "x$value" = "xno"; then
3501 eval "$var=0"
3502 elif test "x$value" != "x"; then
3503 eval "$var=1"
3504 fi
3505
3506 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
3507 eval "wx${toolkit}_VERSION=$value"
3508 fi
3509 done
3510 else
3511 for toolkit in $ALL_TOOLKITS; do
3512 var=DEFAULT_DEFAULT_wxUSE_$toolkit
3513 eval "wxUSE_$toolkit=\$${var}"
3514 done
3515 fi
3516
3517 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_OSX_CARBON:-0} \
3518 + ${wxUSE_OSX_COCOA:-0} + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} \
3519 + ${wxUSE_MICROWIN:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
3520
3521 case "${host}" in
3522 *-pc-os2_emx | *-pc-os2-emx )
3523 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
3524 esac
3525
3526 case "$NUM_TOOLKITS" in
3527 1)
3528 ;;
3529 0)
3530 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
3531 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
3532 { (exit 1); exit 1; }; }
3533 ;;
3534 *)
3535 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit" >&5
3536 echo "$as_me: error: Please specify at most one toolkit" >&2;}
3537 { (exit 1); exit 1; }; }
3538 esac
3539
3540 # to be removed when --disable-gtk2 isn't needed
3541 if test "x$wxUSE_GTK2" = "xyes"; then
3542 wxGTK_VERSION=2
3543 elif test "x$wxUSE_GTK2" = "xno"; then
3544 wxGTK_VERSION=1
3545 fi
3546
3547 for toolkit in $ALL_TOOLKITS; do
3548 var=wxUSE_$toolkit
3549 eval "value=\$${var}"
3550 if test "$value" = 1; then
3551 toolkit_echo=`echo $toolkit | tr '[A-Z]' '[a-z]'`
3552 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
3553 echo "${ECHO_T}$toolkit_echo" >&6; }
3554 fi
3555 done
3556 else
3557 if test "x$host_alias" != "x"; then
3558 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
3559 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
3560 else
3561 { echo "$as_me:$LINENO: result: base only" >&5
3562 echo "${ECHO_T}base only" >&6; }
3563 fi
3564 fi
3565
3566 wxUSE_MAC=0
3567 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1; then
3568 wxUSE_MAC=1
3569 fi
3570
3571
3572
3573 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3574 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3575
3576 # Check whether --with-libpng was given.
3577 if test "${with_libpng+set}" = set; then
3578 withval=$with_libpng;
3579 if test "$withval" = yes; then
3580 wx_cv_use_libpng='wxUSE_LIBPNG=yes'
3581 elif test "$withval" = no; then
3582 wx_cv_use_libpng='wxUSE_LIBPNG=no'
3583 elif test "$withval" = sys; then
3584 wx_cv_use_libpng='wxUSE_LIBPNG=sys'
3585 elif test "$withval" = builtin; then
3586 wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
3587 else
3588 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3589 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3590 { (exit 1); exit 1; }; }
3591 fi
3592
3593 else
3594
3595 wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3596
3597 fi
3598
3599
3600 eval "$wx_cv_use_libpng"
3601
3602 if test "$wxUSE_LIBPNG" = yes; then
3603 { echo "$as_me:$LINENO: result: yes" >&5
3604 echo "${ECHO_T}yes" >&6; }
3605 elif test "$wxUSE_LIBPNG" = no; then
3606 { echo "$as_me:$LINENO: result: no" >&5
3607 echo "${ECHO_T}no" >&6; }
3608 elif test "$wxUSE_LIBPNG" = sys; then
3609 { echo "$as_me:$LINENO: result: system version" >&5
3610 echo "${ECHO_T}system version" >&6; }
3611 elif test "$wxUSE_LIBPNG" = builtin; then
3612 { echo "$as_me:$LINENO: result: builtin version" >&5
3613 echo "${ECHO_T}builtin version" >&6; }
3614 else
3615 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3616 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3617 { (exit 1); exit 1; }; }
3618 fi
3619
3620
3621 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3622 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3623
3624 # Check whether --with-libjpeg was given.
3625 if test "${with_libjpeg+set}" = set; then
3626 withval=$with_libjpeg;
3627 if test "$withval" = yes; then
3628 wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3629 elif test "$withval" = no; then
3630 wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3631 elif test "$withval" = sys; then
3632 wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3633 elif test "$withval" = builtin; then
3634 wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3635 else
3636 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3637 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3638 { (exit 1); exit 1; }; }
3639 fi
3640
3641 else
3642
3643 wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3644
3645 fi
3646
3647
3648 eval "$wx_cv_use_libjpeg"
3649
3650 if test "$wxUSE_LIBJPEG" = yes; then
3651 { echo "$as_me:$LINENO: result: yes" >&5
3652 echo "${ECHO_T}yes" >&6; }
3653 elif test "$wxUSE_LIBJPEG" = no; then
3654 { echo "$as_me:$LINENO: result: no" >&5
3655 echo "${ECHO_T}no" >&6; }
3656 elif test "$wxUSE_LIBJPEG" = sys; then
3657 { echo "$as_me:$LINENO: result: system version" >&5
3658 echo "${ECHO_T}system version" >&6; }
3659 elif test "$wxUSE_LIBJPEG" = builtin; then
3660 { echo "$as_me:$LINENO: result: builtin version" >&5
3661 echo "${ECHO_T}builtin version" >&6; }
3662 else
3663 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3664 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3665 { (exit 1); exit 1; }; }
3666 fi
3667
3668
3669 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3670 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3671
3672 # Check whether --with-libtiff was given.
3673 if test "${with_libtiff+set}" = set; then
3674 withval=$with_libtiff;
3675 if test "$withval" = yes; then
3676 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3677 elif test "$withval" = no; then
3678 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3679 elif test "$withval" = sys; then
3680 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3681 elif test "$withval" = builtin; then
3682 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3683 else
3684 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3685 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3686 { (exit 1); exit 1; }; }
3687 fi
3688
3689 else
3690
3691 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3692
3693 fi
3694
3695
3696 eval "$wx_cv_use_libtiff"
3697
3698 if test "$wxUSE_LIBTIFF" = yes; then
3699 { echo "$as_me:$LINENO: result: yes" >&5
3700 echo "${ECHO_T}yes" >&6; }
3701 elif test "$wxUSE_LIBTIFF" = no; then
3702 { echo "$as_me:$LINENO: result: no" >&5
3703 echo "${ECHO_T}no" >&6; }
3704 elif test "$wxUSE_LIBTIFF" = sys; then
3705 { echo "$as_me:$LINENO: result: system version" >&5
3706 echo "${ECHO_T}system version" >&6; }
3707 elif test "$wxUSE_LIBTIFF" = builtin; then
3708 { echo "$as_me:$LINENO: result: builtin version" >&5
3709 echo "${ECHO_T}builtin version" >&6; }
3710 else
3711 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3712 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3713 { (exit 1); exit 1; }; }
3714 fi
3715
3716
3717 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3718 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3719
3720 # Check whether --with-libxpm was given.
3721 if test "${with_libxpm+set}" = set; then
3722 withval=$with_libxpm;
3723 if test "$withval" = yes; then
3724 wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
3725 elif test "$withval" = no; then
3726 wx_cv_use_libxpm='wxUSE_LIBXPM=no'
3727 elif test "$withval" = sys; then
3728 wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
3729 elif test "$withval" = builtin; then
3730 wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3731 else
3732 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3733 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3734 { (exit 1); exit 1; }; }
3735 fi
3736
3737 else
3738
3739 wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3740
3741 fi
3742
3743
3744 eval "$wx_cv_use_libxpm"
3745
3746 if test "$wxUSE_LIBXPM" = yes; then
3747 { echo "$as_me:$LINENO: result: yes" >&5
3748 echo "${ECHO_T}yes" >&6; }
3749 elif test "$wxUSE_LIBXPM" = no; then
3750 { echo "$as_me:$LINENO: result: no" >&5
3751 echo "${ECHO_T}no" >&6; }
3752 elif test "$wxUSE_LIBXPM" = sys; then
3753 { echo "$as_me:$LINENO: result: system version" >&5
3754 echo "${ECHO_T}system version" >&6; }
3755 elif test "$wxUSE_LIBXPM" = builtin; then
3756 { echo "$as_me:$LINENO: result: builtin version" >&5
3757 echo "${ECHO_T}builtin version" >&6; }
3758 else
3759 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3760 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3761 { (exit 1); exit 1; }; }
3762 fi
3763
3764
3765 withstring=
3766 defaultval=$wxUSE_ALL_FEATURES
3767 if test -z "$defaultval"; then
3768 if test x"$withstring" = xwithout; then
3769 defaultval=yes
3770 else
3771 defaultval=no
3772 fi
3773 fi
3774 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libiconv" >&5
3775 echo $ECHO_N "checking for --${withstring:-with}-libiconv... $ECHO_C" >&6; }
3776
3777 # Check whether --with-libiconv was given.
3778 if test "${with_libiconv+set}" = set; then
3779 withval=$with_libiconv;
3780 if test "$withval" = yes; then
3781 wx_cv_use_libiconv='wxUSE_LIBICONV=yes'
3782 else
3783 wx_cv_use_libiconv='wxUSE_LIBICONV=no'
3784 fi
3785
3786 else
3787
3788 wx_cv_use_libiconv='wxUSE_LIBICONV=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
3789
3790 fi
3791
3792
3793 eval "$wx_cv_use_libiconv"
3794
3795 if test x"$withstring" = xwithout; then
3796 if test $wxUSE_LIBICONV = yes; then
3797 result=no
3798 else
3799 result=yes
3800 fi
3801 else
3802 result=$wxUSE_LIBICONV
3803 fi
3804
3805 { echo "$as_me:$LINENO: result: $result" >&5
3806 echo "${ECHO_T}$result" >&6; }
3807
3808
3809 withstring=
3810 defaultval=$wxUSE_ALL_FEATURES
3811 if test -z "$defaultval"; then
3812 if test x"$withstring" = xwithout; then
3813 defaultval=yes
3814 else
3815 defaultval=no
3816 fi
3817 fi
3818 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3819 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3820
3821 # Check whether --with-libmspack was given.
3822 if test "${with_libmspack+set}" = set; then
3823 withval=$with_libmspack;
3824 if test "$withval" = yes; then
3825 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3826 else
3827 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3828 fi
3829
3830 else
3831
3832 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3833
3834 fi
3835
3836
3837 eval "$wx_cv_use_libmspack"
3838
3839 if test x"$withstring" = xwithout; then
3840 if test $wxUSE_LIBMSPACK = yes; then
3841 result=no
3842 else
3843 result=yes
3844 fi
3845 else
3846 result=$wxUSE_LIBMSPACK
3847 fi
3848
3849 { echo "$as_me:$LINENO: result: $result" >&5
3850 echo "${ECHO_T}$result" >&6; }
3851
3852
3853 withstring=without
3854 defaultval=$wxUSE_ALL_FEATURES
3855 if test -z "$defaultval"; then
3856 if test x"$withstring" = xwithout; then
3857 defaultval=yes
3858 else
3859 defaultval=no
3860 fi
3861 fi
3862 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gtkprint" >&5
3863 echo $ECHO_N "checking for --${withstring:-with}-gtkprint... $ECHO_C" >&6; }
3864
3865 # Check whether --with-gtkprint was given.
3866 if test "${with_gtkprint+set}" = set; then
3867 withval=$with_gtkprint;
3868 if test "$withval" = yes; then
3869 wx_cv_use_gtkprint='wxUSE_GTKPRINT=yes'
3870 else
3871 wx_cv_use_gtkprint='wxUSE_GTKPRINT=no'
3872 fi
3873
3874 else
3875
3876 wx_cv_use_gtkprint='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
3877
3878 fi
3879
3880
3881 eval "$wx_cv_use_gtkprint"
3882
3883 if test x"$withstring" = xwithout; then
3884 if test $wxUSE_GTKPRINT = yes; then
3885 result=no
3886 else
3887 result=yes
3888 fi
3889 else
3890 result=$wxUSE_GTKPRINT
3891 fi
3892
3893 { echo "$as_me:$LINENO: result: $result" >&5
3894 echo "${ECHO_T}$result" >&6; }
3895
3896
3897 withstring=without
3898 defaultval=$wxUSE_ALL_FEATURES
3899 if test -z "$defaultval"; then
3900 if test x"$withstring" = xwithout; then
3901 defaultval=yes
3902 else
3903 defaultval=no
3904 fi
3905 fi
3906 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3907 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3908
3909 # Check whether --with-gnomeprint was given.
3910 if test "${with_gnomeprint+set}" = set; then
3911 withval=$with_gnomeprint;
3912 if test "$withval" = yes; then
3913 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3914 else
3915 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3916 fi
3917
3918 else
3919
3920 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
3921
3922 fi
3923
3924
3925 eval "$wx_cv_use_gnomeprint"
3926
3927 if test x"$withstring" = xwithout; then
3928 if test $wxUSE_LIBGNOMEPRINT = yes; then
3929 result=no
3930 else
3931 result=yes
3932 fi
3933 else
3934 result=$wxUSE_LIBGNOMEPRINT
3935 fi
3936
3937 { echo "$as_me:$LINENO: result: $result" >&5
3938 echo "${ECHO_T}$result" >&6; }
3939
3940
3941 withstring=
3942 defaultval=$wxUSE_ALL_FEATURES
3943 if test -z "$defaultval"; then
3944 if test x"$withstring" = xwithout; then
3945 defaultval=yes
3946 else
3947 defaultval=no
3948 fi
3949 fi
3950 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3951 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
3952
3953 # Check whether --with-gnomevfs was given.
3954 if test "${with_gnomevfs+set}" = set; then
3955 withval=$with_gnomevfs;
3956 if test "$withval" = yes; then
3957 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
3958 else
3959 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
3960 fi
3961
3962 else
3963
3964 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
3965
3966 fi
3967
3968
3969 eval "$wx_cv_use_gnomevfs"
3970
3971 if test x"$withstring" = xwithout; then
3972 if test $wxUSE_LIBGNOMEVFS = yes; then
3973 result=no
3974 else
3975 result=yes
3976 fi
3977 else
3978 result=$wxUSE_LIBGNOMEVFS
3979 fi
3980
3981 { echo "$as_me:$LINENO: result: $result" >&5
3982 echo "${ECHO_T}$result" >&6; }
3983
3984
3985 withstring=
3986 defaultval=$wxUSE_ALL_FEATURES
3987 if test -z "$defaultval"; then
3988 if test x"$withstring" = xwithout; then
3989 defaultval=yes
3990 else
3991 defaultval=no
3992 fi
3993 fi
3994 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3995 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
3996
3997 # Check whether --with-hildon was given.
3998 if test "${with_hildon+set}" = set; then
3999 withval=$with_hildon;
4000 if test "$withval" = yes; then
4001 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
4002 else
4003 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
4004 fi
4005
4006 else
4007
4008 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
4009
4010 fi
4011
4012
4013 eval "$wx_cv_use_hildon"
4014
4015 if test x"$withstring" = xwithout; then
4016 if test $wxUSE_LIBHILDON = yes; then
4017 result=no
4018 else
4019 result=yes
4020 fi
4021 else
4022 result=$wxUSE_LIBHILDON
4023 fi
4024
4025 { echo "$as_me:$LINENO: result: $result" >&5
4026 echo "${ECHO_T}$result" >&6; }
4027
4028
4029 withstring=
4030 defaultval=$wxUSE_ALL_FEATURES
4031 if test -z "$defaultval"; then
4032 if test x"$withstring" = xwithout; then
4033 defaultval=yes
4034 else
4035 defaultval=no
4036 fi
4037 fi
4038 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4039 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4040
4041 # Check whether --with-opengl was given.
4042 if test "${with_opengl+set}" = set; then
4043 withval=$with_opengl;
4044 if test "$withval" = yes; then
4045 wx_cv_use_opengl='wxUSE_OPENGL=yes'
4046 else
4047 wx_cv_use_opengl='wxUSE_OPENGL=no'
4048 fi
4049
4050 else
4051
4052 wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4053
4054 fi
4055
4056
4057 eval "$wx_cv_use_opengl"
4058
4059 if test x"$withstring" = xwithout; then
4060 if test $wxUSE_OPENGL = yes; then
4061 result=no
4062 else
4063 result=yes
4064 fi
4065 else
4066 result=$wxUSE_OPENGL
4067 fi
4068
4069 { echo "$as_me:$LINENO: result: $result" >&5
4070 echo "${ECHO_T}$result" >&6; }
4071
4072
4073 fi
4074
4075
4076 withstring=
4077 defaultval=$wxUSE_ALL_FEATURES
4078 if test -z "$defaultval"; then
4079 if test x"$withstring" = xwithout; then
4080 defaultval=yes
4081 else
4082 defaultval=no
4083 fi
4084 fi
4085 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4086 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4087
4088 # Check whether --with-dmalloc was given.
4089 if test "${with_dmalloc+set}" = set; then
4090 withval=$with_dmalloc;
4091 if test "$withval" = yes; then
4092 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4093 else
4094 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4095 fi
4096
4097 else
4098
4099 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4100
4101 fi
4102
4103
4104 eval "$wx_cv_use_dmalloc"
4105
4106 if test x"$withstring" = xwithout; then
4107 if test $wxUSE_DMALLOC = yes; then
4108 result=no
4109 else
4110 result=yes
4111 fi
4112 else
4113 result=$wxUSE_DMALLOC
4114 fi
4115
4116 { echo "$as_me:$LINENO: result: $result" >&5
4117 echo "${ECHO_T}$result" >&6; }
4118
4119
4120 withstring=
4121 defaultval=$wxUSE_ALL_FEATURES
4122 if test -z "$defaultval"; then
4123 if test x"$withstring" = xwithout; then
4124 defaultval=yes
4125 else
4126 defaultval=no
4127 fi
4128 fi
4129 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4130 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4131
4132 # Check whether --with-sdl was given.
4133 if test "${with_sdl+set}" = set; then
4134 withval=$with_sdl;
4135 if test "$withval" = yes; then
4136 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
4137 else
4138 wx_cv_use_sdl='wxUSE_LIBSDL=no'
4139 fi
4140
4141 else
4142
4143 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4144
4145 fi
4146
4147
4148 eval "$wx_cv_use_sdl"
4149
4150 if test x"$withstring" = xwithout; then
4151 if test $wxUSE_LIBSDL = yes; then
4152 result=no
4153 else
4154 result=yes
4155 fi
4156 else
4157 result=$wxUSE_LIBSDL
4158 fi
4159
4160 { echo "$as_me:$LINENO: result: $result" >&5
4161 echo "${ECHO_T}$result" >&6; }
4162
4163
4164 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4165 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4166
4167 # Check whether --with-regex was given.
4168 if test "${with_regex+set}" = set; then
4169 withval=$with_regex;
4170 if test "$withval" = yes; then
4171 wx_cv_use_regex='wxUSE_REGEX=yes'
4172 elif test "$withval" = no; then
4173 wx_cv_use_regex='wxUSE_REGEX=no'
4174 elif test "$withval" = sys; then
4175 wx_cv_use_regex='wxUSE_REGEX=sys'
4176 elif test "$withval" = builtin; then
4177 wx_cv_use_regex='wxUSE_REGEX=builtin'
4178 else
4179 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4180 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4181 { (exit 1); exit 1; }; }
4182 fi
4183
4184 else
4185
4186 wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4187
4188 fi
4189
4190
4191 eval "$wx_cv_use_regex"
4192
4193 if test "$wxUSE_REGEX" = yes; then
4194 { echo "$as_me:$LINENO: result: yes" >&5
4195 echo "${ECHO_T}yes" >&6; }
4196 elif test "$wxUSE_REGEX" = no; then
4197 { echo "$as_me:$LINENO: result: no" >&5
4198 echo "${ECHO_T}no" >&6; }
4199 elif test "$wxUSE_REGEX" = sys; then
4200 { echo "$as_me:$LINENO: result: system version" >&5
4201 echo "${ECHO_T}system version" >&6; }
4202 elif test "$wxUSE_REGEX" = builtin; then
4203 { echo "$as_me:$LINENO: result: builtin version" >&5
4204 echo "${ECHO_T}builtin version" >&6; }
4205 else
4206 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4207 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4208 { (exit 1); exit 1; }; }
4209 fi
4210
4211
4212 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4213 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4214
4215 # Check whether --with-zlib was given.
4216 if test "${with_zlib+set}" = set; then
4217 withval=$with_zlib;
4218 if test "$withval" = yes; then
4219 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4220 elif test "$withval" = no; then
4221 wx_cv_use_zlib='wxUSE_ZLIB=no'
4222 elif test "$withval" = sys; then
4223 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4224 elif test "$withval" = builtin; then
4225 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4226 else
4227 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4228 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4229 { (exit 1); exit 1; }; }
4230 fi
4231
4232 else
4233
4234 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4235
4236 fi
4237
4238
4239 eval "$wx_cv_use_zlib"
4240
4241 if test "$wxUSE_ZLIB" = yes; then
4242 { echo "$as_me:$LINENO: result: yes" >&5
4243 echo "${ECHO_T}yes" >&6; }
4244 elif test "$wxUSE_ZLIB" = no; then
4245 { echo "$as_me:$LINENO: result: no" >&5
4246 echo "${ECHO_T}no" >&6; }
4247 elif test "$wxUSE_ZLIB" = sys; then
4248 { echo "$as_me:$LINENO: result: system version" >&5
4249 echo "${ECHO_T}system version" >&6; }
4250 elif test "$wxUSE_ZLIB" = builtin; then
4251 { echo "$as_me:$LINENO: result: builtin version" >&5
4252 echo "${ECHO_T}builtin version" >&6; }
4253 else
4254 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4255 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4256 { (exit 1); exit 1; }; }
4257 fi
4258
4259
4260 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4261 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4262
4263 # Check whether --with-expat was given.
4264 if test "${with_expat+set}" = set; then
4265 withval=$with_expat;
4266 if test "$withval" = yes; then
4267 wx_cv_use_expat='wxUSE_EXPAT=yes'
4268 elif test "$withval" = no; then
4269 wx_cv_use_expat='wxUSE_EXPAT=no'
4270 elif test "$withval" = sys; then
4271 wx_cv_use_expat='wxUSE_EXPAT=sys'
4272 elif test "$withval" = builtin; then
4273 wx_cv_use_expat='wxUSE_EXPAT=builtin'
4274 else
4275 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4276 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4277 { (exit 1); exit 1; }; }
4278 fi
4279
4280 else
4281
4282 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4283
4284 fi
4285
4286
4287 eval "$wx_cv_use_expat"
4288
4289 if test "$wxUSE_EXPAT" = yes; then
4290 { echo "$as_me:$LINENO: result: yes" >&5
4291 echo "${ECHO_T}yes" >&6; }
4292 elif test "$wxUSE_EXPAT" = no; then
4293 { echo "$as_me:$LINENO: result: no" >&5
4294 echo "${ECHO_T}no" >&6; }
4295 elif test "$wxUSE_EXPAT" = sys; then
4296 { echo "$as_me:$LINENO: result: system version" >&5
4297 echo "${ECHO_T}system version" >&6; }
4298 elif test "$wxUSE_EXPAT" = builtin; then
4299 { echo "$as_me:$LINENO: result: builtin version" >&5
4300 echo "${ECHO_T}builtin version" >&6; }
4301 else
4302 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4303 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4304 { (exit 1); exit 1; }; }
4305 fi
4306
4307
4308 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4309 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4310
4311 # Check whether --with-macosx-sdk was given.
4312 if test "${with_macosx_sdk+set}" = set; then
4313 withval=$with_macosx_sdk;
4314 wxUSE_MACOSX_SDK=$withval
4315 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4316
4317 fi
4318
4319 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4320 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4321
4322 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4323 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4324
4325 # Check whether --with-macosx-version-min was given.
4326 if test "${with_macosx_version_min+set}" = set; then
4327 withval=$with_macosx_version_min;
4328 wxUSE_MACOSX_VERSION_MIN=$withval
4329 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4330
4331 fi
4332
4333 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4334 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4335
4336
4337 { echo "$as_me:$LINENO: checking for --enable-debug" >&5
4338 echo $ECHO_N "checking for --enable-debug... $ECHO_C" >&6; }
4339 # Check whether --enable-debug was given.
4340 if test "${enable_debug+set}" = set; then
4341 enableval=$enable_debug;
4342 if test "$enableval" = yes; then
4343 wxUSE_DEBUG=yes
4344 elif test "$enableval" = no; then
4345 wxUSE_DEBUG=no
4346 elif test "$enableval" = max; then
4347 wxUSE_DEBUG=yes
4348 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=2"
4349 else
4350 { { echo "$as_me:$LINENO: error: Invalid --enable-debug value, must be yes, no or max" >&5
4351 echo "$as_me: error: Invalid --enable-debug value, must be yes, no or max" >&2;}
4352 { (exit 1); exit 1; }; }
4353 fi
4354
4355 else
4356 wxUSE_DEBUG=default
4357
4358 fi
4359
4360
4361 case "$wxUSE_DEBUG" in
4362 yes)
4363 DEFAULT_wxUSE_DEBUG_FLAG=yes
4364 DEFAULT_wxUSE_DEBUG_INFO=yes
4365
4366 DEFAULT_wxUSE_OPTIMISE=no
4367 ;;
4368
4369 no)
4370 DEFAULT_wxUSE_DEBUG_FLAG=no
4371 DEFAULT_wxUSE_DEBUG_INFO=no
4372 ;;
4373
4374 default)
4375 DEFAULT_wxUSE_DEBUG_FLAG=yes
4376 DEFAULT_wxUSE_DEBUG_INFO=no
4377 ;;
4378 esac
4379
4380
4381 enablestring=disable
4382 defaultval=
4383 if test -z "$defaultval"; then
4384 if test x"$enablestring" = xdisable; then
4385 defaultval=yes
4386 else
4387 defaultval=no
4388 fi
4389 fi
4390
4391 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4392 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4393 # Check whether --enable-debug_flag was given.
4394 if test "${enable_debug_flag+set}" = set; then
4395 enableval=$enable_debug_flag;
4396 if test "$enableval" = yes; then
4397 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4398 else
4399 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4400 fi
4401
4402 else
4403
4404 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
4405
4406 fi
4407
4408
4409 eval "$wx_cv_use_debug_flag"
4410
4411 if test x"$enablestring" = xdisable; then
4412 if test $wxUSE_DEBUG_FLAG = no; then
4413 result=yes
4414 else
4415 result=no
4416 fi
4417 else
4418 result=$wxUSE_DEBUG_FLAG
4419 fi
4420
4421 { echo "$as_me:$LINENO: result: $result" >&5
4422 echo "${ECHO_T}$result" >&6; }
4423
4424
4425 enablestring=
4426 defaultval=
4427 if test -z "$defaultval"; then
4428 if test x"$enablestring" = xdisable; then
4429 defaultval=yes
4430 else
4431 defaultval=no
4432 fi
4433 fi
4434
4435 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4436 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
4437 # Check whether --enable-debug_info was given.
4438 if test "${enable_debug_info+set}" = set; then
4439 enableval=$enable_debug_info;
4440 if test "$enableval" = yes; then
4441 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4442 else
4443 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4444 fi
4445
4446 else
4447
4448 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
4449
4450 fi
4451
4452
4453 eval "$wx_cv_use_debug_info"
4454
4455 if test x"$enablestring" = xdisable; then
4456 if test $wxUSE_DEBUG_INFO = no; then
4457 result=yes
4458 else
4459 result=no
4460 fi
4461 else
4462 result=$wxUSE_DEBUG_INFO
4463 fi
4464
4465 { echo "$as_me:$LINENO: result: $result" >&5
4466 echo "${ECHO_T}$result" >&6; }
4467
4468
4469
4470
4471 enablestring=
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_gdb" >&5
4482 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4483 # Check whether --enable-debug_gdb was given.
4484 if test "${enable_debug_gdb+set}" = set; then
4485 enableval=$enable_debug_gdb;
4486 if test "$enableval" = yes; then
4487 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4488 else
4489 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4490 fi
4491
4492 else
4493
4494 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
4495
4496 fi
4497
4498
4499 eval "$wx_cv_use_debug_gdb"
4500
4501 if test x"$enablestring" = xdisable; then
4502 if test $wxUSE_DEBUG_GDB = no; then
4503 result=yes
4504 else
4505 result=no
4506 fi
4507 else
4508 result=$wxUSE_DEBUG_GDB
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_cntxt" >&5
4526 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
4527 # Check whether --enable-debug_cntxt was given.
4528 if test "${enable_debug_cntxt+set}" = set; then
4529 enableval=$enable_debug_cntxt;
4530 if test "$enableval" = yes; then
4531 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4532 else
4533 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4534 fi
4535
4536 else
4537
4538 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
4539
4540 fi
4541
4542
4543 eval "$wx_cv_use_debug_cntxt"
4544
4545 if test x"$enablestring" = xdisable; then
4546 if test $wxUSE_DEBUG_CONTEXT = no; then
4547 result=yes
4548 else
4549 result=no
4550 fi
4551 else
4552 result=$wxUSE_DEBUG_CONTEXT
4553 fi
4554
4555 { echo "$as_me:$LINENO: result: $result" >&5
4556 echo "${ECHO_T}$result" >&6; }
4557
4558
4559 enablestring=
4560 defaultval=
4561 if test -z "$defaultval"; then
4562 if test x"$enablestring" = xdisable; then
4563 defaultval=yes
4564 else
4565 defaultval=no
4566 fi
4567 fi
4568
4569 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4570 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
4571 # Check whether --enable-mem_tracing was given.
4572 if test "${enable_mem_tracing+set}" = set; then
4573 enableval=$enable_mem_tracing;
4574 if test "$enableval" = yes; then
4575 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4576 else
4577 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4578 fi
4579
4580 else
4581
4582 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
4583
4584 fi
4585
4586
4587 eval "$wx_cv_use_mem_tracing"
4588
4589 if test x"$enablestring" = xdisable; then
4590 if test $wxUSE_MEM_TRACING = no; then
4591 result=yes
4592 else
4593 result=no
4594 fi
4595 else
4596 result=$wxUSE_MEM_TRACING
4597 fi
4598
4599 { echo "$as_me:$LINENO: result: $result" >&5
4600 echo "${ECHO_T}$result" >&6; }
4601
4602
4603
4604
4605 enablestring=disable
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}-shared" >&5
4616 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4617 # Check whether --enable-shared was given.
4618 if test "${enable_shared+set}" = set; then
4619 enableval=$enable_shared;
4620 if test "$enableval" = yes; then
4621 wx_cv_use_shared='wxUSE_SHARED=yes'
4622 else
4623 wx_cv_use_shared='wxUSE_SHARED=no'
4624 fi
4625
4626 else
4627
4628 wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4629
4630 fi
4631
4632
4633 eval "$wx_cv_use_shared"
4634
4635 if test x"$enablestring" = xdisable; then
4636 if test $wxUSE_SHARED = no; then
4637 result=yes
4638 else
4639 result=no
4640 fi
4641 else
4642 result=$wxUSE_SHARED
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}-stl" >&5
4660 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4661 # Check whether --enable-stl was given.
4662 if test "${enable_stl+set}" = set; then
4663 enableval=$enable_stl;
4664 if test "$enableval" = yes; then
4665 wx_cv_use_stl='wxUSE_STL=yes'
4666 else
4667 wx_cv_use_stl='wxUSE_STL=no'
4668 fi
4669
4670 else
4671
4672 wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4673
4674 fi
4675
4676
4677 eval "$wx_cv_use_stl"
4678
4679 if test x"$enablestring" = xdisable; then
4680 if test $wxUSE_STL = no; then
4681 result=yes
4682 else
4683 result=no
4684 fi
4685 else
4686 result=$wxUSE_STL
4687 fi
4688
4689 { echo "$as_me:$LINENO: result: $result" >&5
4690 echo "${ECHO_T}$result" >&6; }
4691
4692
4693 enablestring=
4694 defaultval=
4695 if test -z "$defaultval"; then
4696 if test x"$enablestring" = xdisable; then
4697 defaultval=yes
4698 else
4699 defaultval=no
4700 fi
4701 fi
4702
4703 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4704 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4705 # Check whether --enable-std_iostreams was given.
4706 if test "${enable_std_iostreams+set}" = set; then
4707 enableval=$enable_std_iostreams;
4708 if test "$enableval" = yes; then
4709 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4710 else
4711 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4712 fi
4713
4714 else
4715
4716 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4717
4718 fi
4719
4720
4721 eval "$wx_cv_use_std_iostreams"
4722
4723 if test x"$enablestring" = xdisable; then
4724 if test $wxUSE_STD_IOSTREAM = no; then
4725 result=yes
4726 else
4727 result=no
4728 fi
4729 else
4730 result=$wxUSE_STD_IOSTREAM
4731 fi
4732
4733 { echo "$as_me:$LINENO: result: $result" >&5
4734 echo "${ECHO_T}$result" >&6; }
4735
4736
4737 enablestring=
4738 defaultval=
4739 if test -z "$defaultval"; then
4740 if test x"$enablestring" = xdisable; then
4741 defaultval=yes
4742 else
4743 defaultval=no
4744 fi
4745 fi
4746
4747 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4748 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4749 # Check whether --enable-std_string was given.
4750 if test "${enable_std_string+set}" = set; then
4751 enableval=$enable_std_string;
4752 if test "$enableval" = yes; then
4753 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4754 else
4755 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4756 fi
4757
4758 else
4759
4760 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4761
4762 fi
4763
4764
4765 eval "$wx_cv_use_std_string"
4766
4767 if test x"$enablestring" = xdisable; then
4768 if test $wxUSE_STD_STRING = no; then
4769 result=yes
4770 else
4771 result=no
4772 fi
4773 else
4774 result=$wxUSE_STD_STRING
4775 fi
4776
4777 { echo "$as_me:$LINENO: result: $result" >&5
4778 echo "${ECHO_T}$result" >&6; }
4779
4780
4781 enablestring=disable
4782 defaultval=
4783 if test -z "$defaultval"; then
4784 if test x"$enablestring" = xdisable; then
4785 defaultval=yes
4786 else
4787 defaultval=no
4788 fi
4789 fi
4790
4791 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4792 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4793 # Check whether --enable-unicode was given.
4794 if test "${enable_unicode+set}" = set; then
4795 enableval=$enable_unicode;
4796 if test "$enableval" = yes; then
4797 wx_cv_use_unicode='wxUSE_UNICODE=yes'
4798 else
4799 wx_cv_use_unicode='wxUSE_UNICODE=no'
4800 fi
4801
4802 else
4803
4804 wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4805
4806 fi
4807
4808
4809 eval "$wx_cv_use_unicode"
4810
4811 if test x"$enablestring" = xdisable; then
4812 if test $wxUSE_UNICODE = no; then
4813 result=yes
4814 else
4815 result=no
4816 fi
4817 else
4818 result=$wxUSE_UNICODE
4819 fi
4820
4821 { echo "$as_me:$LINENO: result: $result" >&5
4822 echo "${ECHO_T}$result" >&6; }
4823
4824
4825 enablestring=
4826 defaultval=
4827 if test -z "$defaultval"; then
4828 if test x"$enablestring" = xdisable; then
4829 defaultval=yes
4830 else
4831 defaultval=no
4832 fi
4833 fi
4834
4835 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4836 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
4837 # Check whether --enable-mslu was given.
4838 if test "${enable_mslu+set}" = set; then
4839 enableval=$enable_mslu;
4840 if test "$enableval" = yes; then
4841 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4842 else
4843 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4844 fi
4845
4846 else
4847
4848 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4849
4850 fi
4851
4852
4853 eval "$wx_cv_use_mslu"
4854
4855 if test x"$enablestring" = xdisable; then
4856 if test $wxUSE_UNICODE_MSLU = no; then
4857 result=yes
4858 else
4859 result=no
4860 fi
4861 else
4862 result=$wxUSE_UNICODE_MSLU
4863 fi
4864
4865 { echo "$as_me:$LINENO: result: $result" >&5
4866 echo "${ECHO_T}$result" >&6; }
4867
4868
4869 enablestring=
4870 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
4871 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
4872 # Check whether --enable-utf8 was given.
4873 if test "${enable_utf8+set}" = set; then
4874 enableval=$enable_utf8;
4875 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
4876
4877 else
4878
4879 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4880
4881 fi
4882
4883
4884 eval "$wx_cv_use_utf8"
4885
4886 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
4887 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
4888
4889
4890 enablestring=
4891 defaultval=
4892 if test -z "$defaultval"; then
4893 if test x"$enablestring" = xdisable; then
4894 defaultval=yes
4895 else
4896 defaultval=no
4897 fi
4898 fi
4899
4900 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
4901 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
4902 # Check whether --enable-utf8only was given.
4903 if test "${enable_utf8only+set}" = set; then
4904 enableval=$enable_utf8only;
4905 if test "$enableval" = yes; then
4906 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
4907 else
4908 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
4909 fi
4910
4911 else
4912
4913 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
4914
4915 fi
4916
4917
4918 eval "$wx_cv_use_utf8only"
4919
4920 if test x"$enablestring" = xdisable; then
4921 if test $wxUSE_UNICODE_UTF8_LOCALE = no; then
4922 result=yes
4923 else
4924 result=no
4925 fi
4926 else
4927 result=$wxUSE_UNICODE_UTF8_LOCALE
4928 fi
4929
4930 { echo "$as_me:$LINENO: result: $result" >&5
4931 echo "${ECHO_T}$result" >&6; }
4932
4933
4934 enablestring=
4935 defaultval=
4936 if test -z "$defaultval"; then
4937 if test x"$enablestring" = xdisable; then
4938 defaultval=yes
4939 else
4940 defaultval=no
4941 fi
4942 fi
4943
4944 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
4945 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
4946 # Check whether --enable-extended_rtti was given.
4947 if test "${enable_extended_rtti+set}" = set; then
4948 enableval=$enable_extended_rtti;
4949 if test "$enableval" = yes; then
4950 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
4951 else
4952 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
4953 fi
4954
4955 else
4956
4957 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
4958
4959 fi
4960
4961
4962 eval "$wx_cv_use_extended_rtti"
4963
4964 if test x"$enablestring" = xdisable; then
4965 if test $wxUSE_EXTENDED_RTTI = no; then
4966 result=yes
4967 else
4968 result=no
4969 fi
4970 else
4971 result=$wxUSE_EXTENDED_RTTI
4972 fi
4973
4974 { echo "$as_me:$LINENO: result: $result" >&5
4975 echo "${ECHO_T}$result" >&6; }
4976
4977 if test "$USE_OS2" = 1; then
4978 DEFAULT_wxUSE_OMF=no
4979
4980 enablestring=
4981 defaultval=
4982 if test -z "$defaultval"; then
4983 if test x"$enablestring" = xdisable; then
4984 defaultval=yes
4985 else
4986 defaultval=no
4987 fi
4988 fi
4989
4990 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
4991 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
4992 # Check whether --enable-omf was given.
4993 if test "${enable_omf+set}" = set; then
4994 enableval=$enable_omf;
4995 if test "$enableval" = yes; then
4996 wx_cv_use_omf='wxUSE_OMF=yes'
4997 else
4998 wx_cv_use_omf='wxUSE_OMF=no'
4999 fi
5000
5001 else
5002
5003 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
5004
5005 fi
5006
5007
5008 eval "$wx_cv_use_omf"
5009
5010 if test x"$enablestring" = xdisable; then
5011 if test $wxUSE_OMF = no; then
5012 result=yes
5013 else
5014 result=no
5015 fi
5016 else
5017 result=$wxUSE_OMF
5018 fi
5019
5020 { echo "$as_me:$LINENO: result: $result" >&5
5021 echo "${ECHO_T}$result" >&6; }
5022
5023 fi
5024
5025
5026 enablestring=disable
5027 defaultval=
5028 if test -z "$defaultval"; then
5029 if test x"$enablestring" = xdisable; then
5030 defaultval=yes
5031 else
5032 defaultval=no
5033 fi
5034 fi
5035
5036 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
5037 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
5038 # Check whether --enable-optimise was given.
5039 if test "${enable_optimise+set}" = set; then
5040 enableval=$enable_optimise;
5041 if test "$enableval" = yes; then
5042 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
5043 else
5044 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
5045 fi
5046
5047 else
5048
5049 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
5050
5051 fi
5052
5053
5054 eval "$wx_cv_use_optimise"
5055
5056 if test x"$enablestring" = xdisable; then
5057 if test $wxUSE_OPTIMISE = no; then
5058 result=yes
5059 else
5060 result=no
5061 fi
5062 else
5063 result=$wxUSE_OPTIMISE
5064 fi
5065
5066 { echo "$as_me:$LINENO: result: $result" >&5
5067 echo "${ECHO_T}$result" >&6; }
5068
5069
5070
5071 enablestring=
5072 defaultval=
5073 if test -z "$defaultval"; then
5074 if test x"$enablestring" = xdisable; then
5075 defaultval=yes
5076 else
5077 defaultval=no
5078 fi
5079 fi
5080
5081 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5082 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5083 # Check whether --enable-profile was given.
5084 if test "${enable_profile+set}" = set; then
5085 enableval=$enable_profile;
5086 if test "$enableval" = yes; then
5087 wx_cv_use_profile='wxUSE_PROFILE=yes'
5088 else
5089 wx_cv_use_profile='wxUSE_PROFILE=no'
5090 fi
5091
5092 else
5093
5094 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5095
5096 fi
5097
5098
5099 eval "$wx_cv_use_profile"
5100
5101 if test x"$enablestring" = xdisable; then
5102 if test $wxUSE_PROFILE = no; then
5103 result=yes
5104 else
5105 result=no
5106 fi
5107 else
5108 result=$wxUSE_PROFILE
5109 fi
5110
5111 { echo "$as_me:$LINENO: result: $result" >&5
5112 echo "${ECHO_T}$result" >&6; }
5113
5114
5115 enablestring=
5116 defaultval=
5117 if test -z "$defaultval"; then
5118 if test x"$enablestring" = xdisable; then
5119 defaultval=yes
5120 else
5121 defaultval=no
5122 fi
5123 fi
5124
5125 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5126 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5127 # Check whether --enable-no_rtti was given.
5128 if test "${enable_no_rtti+set}" = set; then
5129 enableval=$enable_no_rtti;
5130 if test "$enableval" = yes; then
5131 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5132 else
5133 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5134 fi
5135
5136 else
5137
5138 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5139
5140 fi
5141
5142
5143 eval "$wx_cv_use_no_rtti"
5144
5145 if test x"$enablestring" = xdisable; then
5146 if test $wxUSE_NO_RTTI = no; then
5147 result=yes
5148 else
5149 result=no
5150 fi
5151 else
5152 result=$wxUSE_NO_RTTI
5153 fi
5154
5155 { echo "$as_me:$LINENO: result: $result" >&5
5156 echo "${ECHO_T}$result" >&6; }
5157
5158
5159 enablestring=
5160 defaultval=
5161 if test -z "$defaultval"; then
5162 if test x"$enablestring" = xdisable; then
5163 defaultval=yes
5164 else
5165 defaultval=no
5166 fi
5167 fi
5168
5169 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5170 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5171 # Check whether --enable-no_exceptions was given.
5172 if test "${enable_no_exceptions+set}" = set; then
5173 enableval=$enable_no_exceptions;
5174 if test "$enableval" = yes; then
5175 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5176 else
5177 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5178 fi
5179
5180 else
5181
5182 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5183
5184 fi
5185
5186
5187 eval "$wx_cv_use_no_exceptions"
5188
5189 if test x"$enablestring" = xdisable; then
5190 if test $wxUSE_NO_EXCEPTIONS = no; then
5191 result=yes
5192 else
5193 result=no
5194 fi
5195 else
5196 result=$wxUSE_NO_EXCEPTIONS
5197 fi
5198
5199 { echo "$as_me:$LINENO: result: $result" >&5
5200 echo "${ECHO_T}$result" >&6; }
5201
5202
5203 enablestring=
5204 defaultval=
5205 if test -z "$defaultval"; then
5206 if test x"$enablestring" = xdisable; then
5207 defaultval=yes
5208 else
5209 defaultval=no
5210 fi
5211 fi
5212
5213 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5214 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5215 # Check whether --enable-permissive was given.
5216 if test "${enable_permissive+set}" = set; then
5217 enableval=$enable_permissive;
5218 if test "$enableval" = yes; then
5219 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5220 else
5221 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
5222 fi
5223
5224 else
5225
5226 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5227
5228 fi
5229
5230
5231 eval "$wx_cv_use_permissive"
5232
5233 if test x"$enablestring" = xdisable; then
5234 if test $wxUSE_PERMISSIVE = no; then
5235 result=yes
5236 else
5237 result=no
5238 fi
5239 else
5240 result=$wxUSE_PERMISSIVE
5241 fi
5242
5243 { echo "$as_me:$LINENO: result: $result" >&5
5244 echo "${ECHO_T}$result" >&6; }
5245
5246
5247 enablestring=
5248 defaultval=
5249 if test -z "$defaultval"; then
5250 if test x"$enablestring" = xdisable; then
5251 defaultval=yes
5252 else
5253 defaultval=no
5254 fi
5255 fi
5256
5257 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5258 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5259 # Check whether --enable-no_deps was given.
5260 if test "${enable_no_deps+set}" = set; then
5261 enableval=$enable_no_deps;
5262 if test "$enableval" = yes; then
5263 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5264 else
5265 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5266 fi
5267
5268 else
5269
5270 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5271
5272 fi
5273
5274
5275 eval "$wx_cv_use_no_deps"
5276
5277 if test x"$enablestring" = xdisable; then
5278 if test $wxUSE_NO_DEPS = no; then
5279 result=yes
5280 else
5281 result=no
5282 fi
5283 else
5284 result=$wxUSE_NO_DEPS
5285 fi
5286
5287 { echo "$as_me:$LINENO: result: $result" >&5
5288 echo "${ECHO_T}$result" >&6; }
5289
5290
5291 enablestring=disable
5292 defaultval=
5293 if test -z "$defaultval"; then
5294 if test x"$enablestring" = xdisable; then
5295 defaultval=yes
5296 else
5297 defaultval=no
5298 fi
5299 fi
5300
5301 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5302 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5303 # Check whether --enable-vararg_macros was given.
5304 if test "${enable_vararg_macros+set}" = set; then
5305 enableval=$enable_vararg_macros;
5306 if test "$enableval" = yes; then
5307 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5308 else
5309 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5310 fi
5311
5312 else
5313
5314 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5315
5316 fi
5317
5318
5319 eval "$wx_cv_use_vararg_macros"
5320
5321 if test x"$enablestring" = xdisable; then
5322 if test $wxUSE_VARARG_MACROS = no; then
5323 result=yes
5324 else
5325 result=no
5326 fi
5327 else
5328 result=$wxUSE_VARARG_MACROS
5329 fi
5330
5331 { echo "$as_me:$LINENO: result: $result" >&5
5332 echo "${ECHO_T}$result" >&6; }
5333
5334
5335 enablestring=
5336 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5337 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5338 # Check whether --enable-universal_binary was given.
5339 if test "${enable_universal_binary+set}" = set; then
5340 enableval=$enable_universal_binary;
5341 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5342
5343 else
5344
5345 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5346
5347 fi
5348
5349
5350 eval "$wx_cv_use_universal_binary"
5351
5352 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5353 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5354
5355
5356
5357 enablestring=
5358 defaultval=
5359 if test -z "$defaultval"; then
5360 if test x"$enablestring" = xdisable; then
5361 defaultval=yes
5362 else
5363 defaultval=no
5364 fi
5365 fi
5366
5367 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5368 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5369 # Check whether --enable-compat26 was given.
5370 if test "${enable_compat26+set}" = set; then
5371 enableval=$enable_compat26;
5372 if test "$enableval" = yes; then
5373 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5374 else
5375 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5376 fi
5377
5378 else
5379
5380 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5381
5382 fi
5383
5384
5385 eval "$wx_cv_use_compat26"
5386
5387 if test x"$enablestring" = xdisable; then
5388 if test $WXWIN_COMPATIBILITY_2_6 = no; then
5389 result=yes
5390 else
5391 result=no
5392 fi
5393 else
5394 result=$WXWIN_COMPATIBILITY_2_6
5395 fi
5396
5397 { echo "$as_me:$LINENO: result: $result" >&5
5398 echo "${ECHO_T}$result" >&6; }
5399
5400
5401 enablestring=disable
5402 defaultval=
5403 if test -z "$defaultval"; then
5404 if test x"$enablestring" = xdisable; then
5405 defaultval=yes
5406 else
5407 defaultval=no
5408 fi
5409 fi
5410
5411 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5412 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5413 # Check whether --enable-compat28 was given.
5414 if test "${enable_compat28+set}" = set; then
5415 enableval=$enable_compat28;
5416 if test "$enableval" = yes; then
5417 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5418 else
5419 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5420 fi
5421
5422 else
5423
5424 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5425
5426 fi
5427
5428
5429 eval "$wx_cv_use_compat28"
5430
5431 if test x"$enablestring" = xdisable; then
5432 if test $WXWIN_COMPATIBILITY_2_8 = no; then
5433 result=yes
5434 else
5435 result=no
5436 fi
5437 else
5438 result=$WXWIN_COMPATIBILITY_2_8
5439 fi
5440
5441 { echo "$as_me:$LINENO: result: $result" >&5
5442 echo "${ECHO_T}$result" >&6; }
5443
5444
5445
5446 enablestring=disable
5447 defaultval=
5448 if test -z "$defaultval"; then
5449 if test x"$enablestring" = xdisable; then
5450 defaultval=yes
5451 else
5452 defaultval=no
5453 fi
5454 fi
5455
5456 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5457 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5458 # Check whether --enable-rpath was given.
5459 if test "${enable_rpath+set}" = set; then
5460 enableval=$enable_rpath;
5461 if test "$enableval" = yes; then
5462 wx_cv_use_rpath='wxUSE_RPATH=yes'
5463 else
5464 wx_cv_use_rpath='wxUSE_RPATH=no'
5465 fi
5466
5467 else
5468
5469 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5470
5471 fi
5472
5473
5474 eval "$wx_cv_use_rpath"
5475
5476 if test x"$enablestring" = xdisable; then
5477 if test $wxUSE_RPATH = no; then
5478 result=yes
5479 else
5480 result=no
5481 fi
5482 else
5483 result=$wxUSE_RPATH
5484 fi
5485
5486 { echo "$as_me:$LINENO: result: $result" >&5
5487 echo "${ECHO_T}$result" >&6; }
5488
5489
5490
5491 enablestring=
5492 defaultval=
5493 if test -z "$defaultval"; then
5494 if test x"$enablestring" = xdisable; then
5495 defaultval=yes
5496 else
5497 defaultval=no
5498 fi
5499 fi
5500
5501 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5502 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5503 # Check whether --enable-objc_uniquifying was given.
5504 if test "${enable_objc_uniquifying+set}" = set; then
5505 enableval=$enable_objc_uniquifying;
5506 if test "$enableval" = yes; then
5507 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
5508 else
5509 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
5510 fi
5511
5512 else
5513
5514 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5515
5516 fi
5517
5518
5519 eval "$wx_cv_use_objc_uniquifying"
5520
5521 if test x"$enablestring" = xdisable; then
5522 if test $wxUSE_OBJC_UNIQUIFYING = no; then
5523 result=yes
5524 else
5525 result=no
5526 fi
5527 else
5528 result=$wxUSE_OBJC_UNIQUIFYING
5529 fi
5530
5531 { echo "$as_me:$LINENO: result: $result" >&5
5532 echo "${ECHO_T}$result" >&6; }
5533
5534
5535
5536 enablestring=disable
5537 defaultval=
5538 if test -z "$defaultval"; then
5539 if test x"$enablestring" = xdisable; then
5540 defaultval=yes
5541 else
5542 defaultval=no
5543 fi
5544 fi
5545
5546 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
5547 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
5548 # Check whether --enable-visibility was given.
5549 if test "${enable_visibility+set}" = set; then
5550 enableval=$enable_visibility;
5551 if test "$enableval" = yes; then
5552 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
5553 else
5554 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
5555 fi
5556
5557 else
5558
5559 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5560
5561 fi
5562
5563
5564 eval "$wx_cv_use_visibility"
5565
5566 if test x"$enablestring" = xdisable; then
5567 if test $wxUSE_VISIBILITY = no; then
5568 result=yes
5569 else
5570 result=no
5571 fi
5572 else
5573 result=$wxUSE_VISIBILITY
5574 fi
5575
5576 { echo "$as_me:$LINENO: result: $result" >&5
5577 echo "${ECHO_T}$result" >&6; }
5578
5579
5580 enablestring=disable
5581 defaultval=
5582 if test -z "$defaultval"; then
5583 if test x"$enablestring" = xdisable; then
5584 defaultval=yes
5585 else
5586 defaultval=no
5587 fi
5588 fi
5589
5590 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tls" >&5
5591 echo $ECHO_N "checking for --${enablestring:-enable}-tls... $ECHO_C" >&6; }
5592 # Check whether --enable-tls was given.
5593 if test "${enable_tls+set}" = set; then
5594 enableval=$enable_tls;
5595 if test "$enableval" = yes; then
5596 wx_cv_use_tls='wxUSE_COMPILER_TLS=yes'
5597 else
5598 wx_cv_use_tls='wxUSE_COMPILER_TLS=no'
5599 fi
5600
5601 else
5602
5603 wx_cv_use_tls='wxUSE_COMPILER_TLS=${'DEFAULT_wxUSE_COMPILER_TLS":-$defaultval}"
5604
5605 fi
5606
5607
5608 eval "$wx_cv_use_tls"
5609
5610 if test x"$enablestring" = xdisable; then
5611 if test $wxUSE_COMPILER_TLS = no; then
5612 result=yes
5613 else
5614 result=no
5615 fi
5616 else
5617 result=$wxUSE_COMPILER_TLS
5618 fi
5619
5620 { echo "$as_me:$LINENO: result: $result" >&5
5621 echo "${ECHO_T}$result" >&6; }
5622
5623
5624
5625
5626 enablestring=
5627 defaultval=$wxUSE_ALL_FEATURES
5628 if test -z "$defaultval"; then
5629 if test x"$enablestring" = xdisable; then
5630 defaultval=yes
5631 else
5632 defaultval=no
5633 fi
5634 fi
5635
5636 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5637 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5638 # Check whether --enable-intl was given.
5639 if test "${enable_intl+set}" = set; then
5640 enableval=$enable_intl;
5641 if test "$enableval" = yes; then
5642 wx_cv_use_intl='wxUSE_INTL=yes'
5643 else
5644 wx_cv_use_intl='wxUSE_INTL=no'
5645 fi
5646
5647 else
5648
5649 wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5650
5651 fi
5652
5653
5654 eval "$wx_cv_use_intl"
5655
5656 if test x"$enablestring" = xdisable; then
5657 if test $wxUSE_INTL = no; then
5658 result=yes
5659 else
5660 result=no
5661 fi
5662 else
5663 result=$wxUSE_INTL
5664 fi
5665
5666 { echo "$as_me:$LINENO: result: $result" >&5
5667 echo "${ECHO_T}$result" >&6; }
5668
5669
5670 enablestring=
5671 defaultval=$wxUSE_ALL_FEATURES
5672 if test -z "$defaultval"; then
5673 if test x"$enablestring" = xdisable; then
5674 defaultval=yes
5675 else
5676 defaultval=no
5677 fi
5678 fi
5679
5680 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xlocale" >&5
5681 echo $ECHO_N "checking for --${enablestring:-enable}-xlocale... $ECHO_C" >&6; }
5682 # Check whether --enable-xlocale was given.
5683 if test "${enable_xlocale+set}" = set; then
5684 enableval=$enable_xlocale;
5685 if test "$enableval" = yes; then
5686 wx_cv_use_xlocale='wxUSE_XLOCALE=yes'
5687 else
5688 wx_cv_use_xlocale='wxUSE_XLOCALE=no'
5689 fi
5690
5691 else
5692
5693 wx_cv_use_xlocale='wxUSE_XLOCALE=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
5694
5695 fi
5696
5697
5698 eval "$wx_cv_use_xlocale"
5699
5700 if test x"$enablestring" = xdisable; then
5701 if test $wxUSE_XLOCALE = no; then
5702 result=yes
5703 else
5704 result=no
5705 fi
5706 else
5707 result=$wxUSE_XLOCALE
5708 fi
5709
5710 { echo "$as_me:$LINENO: result: $result" >&5
5711 echo "${ECHO_T}$result" >&6; }
5712
5713
5714 enablestring=
5715 defaultval=$wxUSE_ALL_FEATURES
5716 if test -z "$defaultval"; then
5717 if test x"$enablestring" = xdisable; then
5718 defaultval=yes
5719 else
5720 defaultval=no
5721 fi
5722 fi
5723
5724 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5725 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5726 # Check whether --enable-config was given.
5727 if test "${enable_config+set}" = set; then
5728 enableval=$enable_config;
5729 if test "$enableval" = yes; then
5730 wx_cv_use_config='wxUSE_CONFIG=yes'
5731 else
5732 wx_cv_use_config='wxUSE_CONFIG=no'
5733 fi
5734
5735 else
5736
5737 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5738
5739 fi
5740
5741
5742 eval "$wx_cv_use_config"
5743
5744 if test x"$enablestring" = xdisable; then
5745 if test $wxUSE_CONFIG = no; then
5746 result=yes
5747 else
5748 result=no
5749 fi
5750 else
5751 result=$wxUSE_CONFIG
5752 fi
5753
5754 { echo "$as_me:$LINENO: result: $result" >&5
5755 echo "${ECHO_T}$result" >&6; }
5756
5757
5758
5759 enablestring=
5760 defaultval=$wxUSE_ALL_FEATURES
5761 if test -z "$defaultval"; then
5762 if test x"$enablestring" = xdisable; then
5763 defaultval=yes
5764 else
5765 defaultval=no
5766 fi
5767 fi
5768
5769 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5770 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5771 # Check whether --enable-protocols was given.
5772 if test "${enable_protocols+set}" = set; then
5773 enableval=$enable_protocols;
5774 if test "$enableval" = yes; then
5775 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
5776 else
5777 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
5778 fi
5779
5780 else
5781
5782 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
5783
5784 fi
5785
5786
5787 eval "$wx_cv_use_protocols"
5788
5789 if test x"$enablestring" = xdisable; then
5790 if test $wxUSE_PROTOCOL = no; then
5791 result=yes
5792 else
5793 result=no
5794 fi
5795 else
5796 result=$wxUSE_PROTOCOL
5797 fi
5798
5799 { echo "$as_me:$LINENO: result: $result" >&5
5800 echo "${ECHO_T}$result" >&6; }
5801
5802
5803 enablestring=
5804 defaultval=$wxUSE_ALL_FEATURES
5805 if test -z "$defaultval"; then
5806 if test x"$enablestring" = xdisable; then
5807 defaultval=yes
5808 else
5809 defaultval=no
5810 fi
5811 fi
5812
5813 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
5814 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
5815 # Check whether --enable-ftp was given.
5816 if test "${enable_ftp+set}" = set; then
5817 enableval=$enable_ftp;
5818 if test "$enableval" = yes; then
5819 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
5820 else
5821 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
5822 fi
5823
5824 else
5825
5826 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
5827
5828 fi
5829
5830
5831 eval "$wx_cv_use_ftp"
5832
5833 if test x"$enablestring" = xdisable; then
5834 if test $wxUSE_PROTOCOL_FTP = no; then
5835 result=yes
5836 else
5837 result=no
5838 fi
5839 else
5840 result=$wxUSE_PROTOCOL_FTP
5841 fi
5842
5843 { echo "$as_me:$LINENO: result: $result" >&5
5844 echo "${ECHO_T}$result" >&6; }
5845
5846
5847 enablestring=
5848 defaultval=$wxUSE_ALL_FEATURES
5849 if test -z "$defaultval"; then
5850 if test x"$enablestring" = xdisable; then
5851 defaultval=yes
5852 else
5853 defaultval=no
5854 fi
5855 fi
5856
5857 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
5858 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
5859 # Check whether --enable-http was given.
5860 if test "${enable_http+set}" = set; then
5861 enableval=$enable_http;
5862 if test "$enableval" = yes; then
5863 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
5864 else
5865 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
5866 fi
5867
5868 else
5869
5870 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
5871
5872 fi
5873
5874
5875 eval "$wx_cv_use_http"
5876
5877 if test x"$enablestring" = xdisable; then
5878 if test $wxUSE_PROTOCOL_HTTP = no; then
5879 result=yes
5880 else
5881 result=no
5882 fi
5883 else
5884 result=$wxUSE_PROTOCOL_HTTP
5885 fi
5886
5887 { echo "$as_me:$LINENO: result: $result" >&5
5888 echo "${ECHO_T}$result" >&6; }
5889
5890
5891 enablestring=
5892 defaultval=$wxUSE_ALL_FEATURES
5893 if test -z "$defaultval"; then
5894 if test x"$enablestring" = xdisable; then
5895 defaultval=yes
5896 else
5897 defaultval=no
5898 fi
5899 fi
5900
5901 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
5902 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
5903 # Check whether --enable-fileproto was given.
5904 if test "${enable_fileproto+set}" = set; then
5905 enableval=$enable_fileproto;
5906 if test "$enableval" = yes; then
5907 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
5908 else
5909 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
5910 fi
5911
5912 else
5913
5914 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
5915
5916 fi
5917
5918
5919 eval "$wx_cv_use_fileproto"
5920
5921 if test x"$enablestring" = xdisable; then
5922 if test $wxUSE_PROTOCOL_FILE = no; then
5923 result=yes
5924 else
5925 result=no
5926 fi
5927 else
5928 result=$wxUSE_PROTOCOL_FILE
5929 fi
5930
5931 { echo "$as_me:$LINENO: result: $result" >&5
5932 echo "${ECHO_T}$result" >&6; }
5933
5934
5935 enablestring=
5936 defaultval=$wxUSE_ALL_FEATURES
5937 if test -z "$defaultval"; then
5938 if test x"$enablestring" = xdisable; then
5939 defaultval=yes
5940 else
5941 defaultval=no
5942 fi
5943 fi
5944
5945 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
5946 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
5947 # Check whether --enable-sockets was given.
5948 if test "${enable_sockets+set}" = set; then
5949 enableval=$enable_sockets;
5950 if test "$enableval" = yes; then
5951 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
5952 else
5953 wx_cv_use_sockets='wxUSE_SOCKETS=no'
5954 fi
5955
5956 else
5957
5958 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
5959
5960 fi
5961
5962
5963 eval "$wx_cv_use_sockets"
5964
5965 if test x"$enablestring" = xdisable; then
5966 if test $wxUSE_SOCKETS = no; then
5967 result=yes
5968 else
5969 result=no
5970 fi
5971 else
5972 result=$wxUSE_SOCKETS
5973 fi
5974
5975 { echo "$as_me:$LINENO: result: $result" >&5
5976 echo "${ECHO_T}$result" >&6; }
5977
5978
5979 enablestring=
5980 defaultval=$wxUSE_ALL_FEATURES
5981 if test -z "$defaultval"; then
5982 if test x"$enablestring" = xdisable; then
5983 defaultval=yes
5984 else
5985 defaultval=no
5986 fi
5987 fi
5988
5989 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipv6" >&5
5990 echo $ECHO_N "checking for --${enablestring:-enable}-ipv6... $ECHO_C" >&6; }
5991 # Check whether --enable-ipv6 was given.
5992 if test "${enable_ipv6+set}" = set; then
5993 enableval=$enable_ipv6;
5994 if test "$enableval" = yes; then
5995 wx_cv_use_ipv6='wxUSE_IPV6=yes'
5996 else
5997 wx_cv_use_ipv6='wxUSE_IPV6=no'
5998 fi
5999
6000 else
6001
6002 wx_cv_use_ipv6='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
6003
6004 fi
6005
6006
6007 eval "$wx_cv_use_ipv6"
6008
6009 if test x"$enablestring" = xdisable; then
6010 if test $wxUSE_IPV6 = no; then
6011 result=yes
6012 else
6013 result=no
6014 fi
6015 else
6016 result=$wxUSE_IPV6
6017 fi
6018
6019 { echo "$as_me:$LINENO: result: $result" >&5
6020 echo "${ECHO_T}$result" >&6; }
6021
6022
6023 enablestring=
6024 defaultval=$wxUSE_ALL_FEATURES
6025 if test -z "$defaultval"; then
6026 if test x"$enablestring" = xdisable; then
6027 defaultval=yes
6028 else
6029 defaultval=no
6030 fi
6031 fi
6032
6033 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
6034 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
6035 # Check whether --enable-ole was given.
6036 if test "${enable_ole+set}" = set; then
6037 enableval=$enable_ole;
6038 if test "$enableval" = yes; then
6039 wx_cv_use_ole='wxUSE_OLE=yes'
6040 else
6041 wx_cv_use_ole='wxUSE_OLE=no'
6042 fi
6043
6044 else
6045
6046 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6047
6048 fi
6049
6050
6051 eval "$wx_cv_use_ole"
6052
6053 if test x"$enablestring" = xdisable; then
6054 if test $wxUSE_OLE = no; then
6055 result=yes
6056 else
6057 result=no
6058 fi
6059 else
6060 result=$wxUSE_OLE
6061 fi
6062
6063 { echo "$as_me:$LINENO: result: $result" >&5
6064 echo "${ECHO_T}$result" >&6; }
6065
6066
6067 enablestring=
6068 defaultval=$wxUSE_ALL_FEATURES
6069 if test -z "$defaultval"; then
6070 if test x"$enablestring" = xdisable; then
6071 defaultval=yes
6072 else
6073 defaultval=no
6074 fi
6075 fi
6076
6077 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
6078 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
6079 # Check whether --enable-dataobj was given.
6080 if test "${enable_dataobj+set}" = set; then
6081 enableval=$enable_dataobj;
6082 if test "$enableval" = yes; then
6083 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6084 else
6085 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6086 fi
6087
6088 else
6089
6090 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6091
6092 fi
6093
6094
6095 eval "$wx_cv_use_dataobj"
6096
6097 if test x"$enablestring" = xdisable; then
6098 if test $wxUSE_DATAOBJ = no; then
6099 result=yes
6100 else
6101 result=no
6102 fi
6103 else
6104 result=$wxUSE_DATAOBJ
6105 fi
6106
6107 { echo "$as_me:$LINENO: result: $result" >&5
6108 echo "${ECHO_T}$result" >&6; }
6109
6110
6111
6112 enablestring=
6113 defaultval=$wxUSE_ALL_FEATURES
6114 if test -z "$defaultval"; then
6115 if test x"$enablestring" = xdisable; then
6116 defaultval=yes
6117 else
6118 defaultval=no
6119 fi
6120 fi
6121
6122 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6123 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6124 # Check whether --enable-ipc was given.
6125 if test "${enable_ipc+set}" = set; then
6126 enableval=$enable_ipc;
6127 if test "$enableval" = yes; then
6128 wx_cv_use_ipc='wxUSE_IPC=yes'
6129 else
6130 wx_cv_use_ipc='wxUSE_IPC=no'
6131 fi
6132
6133 else
6134
6135 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6136
6137 fi
6138
6139
6140 eval "$wx_cv_use_ipc"
6141
6142 if test x"$enablestring" = xdisable; then
6143 if test $wxUSE_IPC = no; then
6144 result=yes
6145 else
6146 result=no
6147 fi
6148 else
6149 result=$wxUSE_IPC
6150 fi
6151
6152 { echo "$as_me:$LINENO: result: $result" >&5
6153 echo "${ECHO_T}$result" >&6; }
6154
6155
6156
6157 enablestring=
6158 defaultval=$wxUSE_ALL_FEATURES
6159 if test -z "$defaultval"; then
6160 if test x"$enablestring" = xdisable; then
6161 defaultval=yes
6162 else
6163 defaultval=no
6164 fi
6165 fi
6166
6167 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6168 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6169 # Check whether --enable-baseevtloop was given.
6170 if test "${enable_baseevtloop+set}" = set; then
6171 enableval=$enable_baseevtloop;
6172 if test "$enableval" = yes; then
6173 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
6174 else
6175 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
6176 fi
6177
6178 else
6179
6180 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6181
6182 fi
6183
6184
6185 eval "$wx_cv_use_baseevtloop"
6186
6187 if test x"$enablestring" = xdisable; then
6188 if test $wxUSE_CONSOLE_EVENTLOOP = no; then
6189 result=yes
6190 else
6191 result=no
6192 fi
6193 else
6194 result=$wxUSE_CONSOLE_EVENTLOOP
6195 fi
6196
6197 { echo "$as_me:$LINENO: result: $result" >&5
6198 echo "${ECHO_T}$result" >&6; }
6199
6200
6201 enablestring=
6202 defaultval=$wxUSE_ALL_FEATURES
6203 if test -z "$defaultval"; then
6204 if test x"$enablestring" = xdisable; then
6205 defaultval=yes
6206 else
6207 defaultval=no
6208 fi
6209 fi
6210
6211 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-epollloop" >&5
6212 echo $ECHO_N "checking for --${enablestring:-enable}-epollloop... $ECHO_C" >&6; }
6213 # Check whether --enable-epollloop was given.
6214 if test "${enable_epollloop+set}" = set; then
6215 enableval=$enable_epollloop;
6216 if test "$enableval" = yes; then
6217 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
6218 else
6219 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
6220 fi
6221
6222 else
6223
6224 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6225
6226 fi
6227
6228
6229 eval "$wx_cv_use_epollloop"
6230
6231 if test x"$enablestring" = xdisable; then
6232 if test $wxUSE_EPOLL_DISPATCHER = no; then
6233 result=yes
6234 else
6235 result=no
6236 fi
6237 else
6238 result=$wxUSE_EPOLL_DISPATCHER
6239 fi
6240
6241 { echo "$as_me:$LINENO: result: $result" >&5
6242 echo "${ECHO_T}$result" >&6; }
6243
6244
6245 enablestring=
6246 defaultval=$wxUSE_ALL_FEATURES
6247 if test -z "$defaultval"; then
6248 if test x"$enablestring" = xdisable; then
6249 defaultval=yes
6250 else
6251 defaultval=no
6252 fi
6253 fi
6254
6255 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6256 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6257 # Check whether --enable-selectloop was given.
6258 if test "${enable_selectloop+set}" = set; then
6259 enableval=$enable_selectloop;
6260 if test "$enableval" = yes; then
6261 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
6262 else
6263 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
6264 fi
6265
6266 else
6267
6268 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6269
6270 fi
6271
6272
6273 eval "$wx_cv_use_selectloop"
6274
6275 if test x"$enablestring" = xdisable; then
6276 if test $wxUSE_SELECT_DISPATCHER = no; then
6277 result=yes
6278 else
6279 result=no
6280 fi
6281 else
6282 result=$wxUSE_SELECT_DISPATCHER
6283 fi
6284
6285 { echo "$as_me:$LINENO: result: $result" >&5
6286 echo "${ECHO_T}$result" >&6; }
6287
6288
6289
6290 enablestring=
6291 defaultval=$wxUSE_ALL_FEATURES
6292 if test -z "$defaultval"; then
6293 if test x"$enablestring" = xdisable; then
6294 defaultval=yes
6295 else
6296 defaultval=no
6297 fi
6298 fi
6299
6300 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-any" >&5
6301 echo $ECHO_N "checking for --${enablestring:-enable}-any... $ECHO_C" >&6; }
6302 # Check whether --enable-any was given.
6303 if test "${enable_any+set}" = set; then
6304 enableval=$enable_any;
6305 if test "$enableval" = yes; then
6306 wx_cv_use_any='wxUSE_ANY=yes'
6307 else
6308 wx_cv_use_any='wxUSE_ANY=no'
6309 fi
6310
6311 else
6312
6313 wx_cv_use_any='wxUSE_ANY=${'DEFAULT_wxUSE_ANY":-$defaultval}"
6314
6315 fi
6316
6317
6318 eval "$wx_cv_use_any"
6319
6320 if test x"$enablestring" = xdisable; then
6321 if test $wxUSE_ANY = no; then
6322 result=yes
6323 else
6324 result=no
6325 fi
6326 else
6327 result=$wxUSE_ANY
6328 fi
6329
6330 { echo "$as_me:$LINENO: result: $result" >&5
6331 echo "${ECHO_T}$result" >&6; }
6332
6333
6334 enablestring=
6335 defaultval=$wxUSE_ALL_FEATURES
6336 if test -z "$defaultval"; then
6337 if test x"$enablestring" = xdisable; then
6338 defaultval=yes
6339 else
6340 defaultval=no
6341 fi
6342 fi
6343
6344 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6345 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6346 # Check whether --enable-apple_ieee was given.
6347 if test "${enable_apple_ieee+set}" = set; then
6348 enableval=$enable_apple_ieee;
6349 if test "$enableval" = yes; then
6350 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6351 else
6352 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6353 fi
6354
6355 else
6356
6357 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6358
6359 fi
6360
6361
6362 eval "$wx_cv_use_apple_ieee"
6363
6364 if test x"$enablestring" = xdisable; then
6365 if test $wxUSE_APPLE_IEEE = no; then
6366 result=yes
6367 else
6368 result=no
6369 fi
6370 else
6371 result=$wxUSE_APPLE_IEEE
6372 fi
6373
6374 { echo "$as_me:$LINENO: result: $result" >&5
6375 echo "${ECHO_T}$result" >&6; }
6376
6377
6378 enablestring=
6379 defaultval=$wxUSE_ALL_FEATURES
6380 if test -z "$defaultval"; then
6381 if test x"$enablestring" = xdisable; then
6382 defaultval=yes
6383 else
6384 defaultval=no
6385 fi
6386 fi
6387
6388 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6389 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6390 # Check whether --enable-arcstream was given.
6391 if test "${enable_arcstream+set}" = set; then
6392 enableval=$enable_arcstream;
6393 if test "$enableval" = yes; then
6394 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6395 else
6396 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6397 fi
6398
6399 else
6400
6401 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6402
6403 fi
6404
6405
6406 eval "$wx_cv_use_arcstream"
6407
6408 if test x"$enablestring" = xdisable; then
6409 if test $wxUSE_ARCHIVE_STREAMS = no; then
6410 result=yes
6411 else
6412 result=no
6413 fi
6414 else
6415 result=$wxUSE_ARCHIVE_STREAMS
6416 fi
6417
6418 { echo "$as_me:$LINENO: result: $result" >&5
6419 echo "${ECHO_T}$result" >&6; }
6420
6421
6422 enablestring=
6423 defaultval=$wxUSE_ALL_FEATURES
6424 if test -z "$defaultval"; then
6425 if test x"$enablestring" = xdisable; then
6426 defaultval=yes
6427 else
6428 defaultval=no
6429 fi
6430 fi
6431
6432 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6433 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6434 # Check whether --enable-base64 was given.
6435 if test "${enable_base64+set}" = set; then
6436 enableval=$enable_base64;
6437 if test "$enableval" = yes; then
6438 wx_cv_use_base64='wxUSE_BASE64=yes'
6439 else
6440 wx_cv_use_base64='wxUSE_BASE64=no'
6441 fi
6442
6443 else
6444
6445 wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6446
6447 fi
6448
6449
6450 eval "$wx_cv_use_base64"
6451
6452 if test x"$enablestring" = xdisable; then
6453 if test $wxUSE_BASE64 = no; then
6454 result=yes
6455 else
6456 result=no
6457 fi
6458 else
6459 result=$wxUSE_BASE64
6460 fi
6461
6462 { echo "$as_me:$LINENO: result: $result" >&5
6463 echo "${ECHO_T}$result" >&6; }
6464
6465
6466 enablestring=
6467 defaultval=$wxUSE_ALL_FEATURES
6468 if test -z "$defaultval"; then
6469 if test x"$enablestring" = xdisable; then
6470 defaultval=yes
6471 else
6472 defaultval=no
6473 fi
6474 fi
6475
6476 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
6477 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
6478 # Check whether --enable-backtrace was given.
6479 if test "${enable_backtrace+set}" = set; then
6480 enableval=$enable_backtrace;
6481 if test "$enableval" = yes; then
6482 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
6483 else
6484 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
6485 fi
6486
6487 else
6488
6489 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6490
6491 fi
6492
6493
6494 eval "$wx_cv_use_backtrace"
6495
6496 if test x"$enablestring" = xdisable; then
6497 if test $wxUSE_STACKWALKER = no; then
6498 result=yes
6499 else
6500 result=no
6501 fi
6502 else
6503 result=$wxUSE_STACKWALKER
6504 fi
6505
6506 { echo "$as_me:$LINENO: result: $result" >&5
6507 echo "${ECHO_T}$result" >&6; }
6508
6509
6510 enablestring=
6511 defaultval=$wxUSE_ALL_FEATURES
6512 if test -z "$defaultval"; then
6513 if test x"$enablestring" = xdisable; then
6514 defaultval=yes
6515 else
6516 defaultval=no
6517 fi
6518 fi
6519
6520 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
6521 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
6522 # Check whether --enable-catch_segvs was given.
6523 if test "${enable_catch_segvs+set}" = set; then
6524 enableval=$enable_catch_segvs;
6525 if test "$enableval" = yes; then
6526 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
6527 else
6528 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
6529 fi
6530
6531 else
6532
6533 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6534
6535 fi
6536
6537
6538 eval "$wx_cv_use_catch_segvs"
6539
6540 if test x"$enablestring" = xdisable; then
6541 if test $wxUSE_ON_FATAL_EXCEPTION = no; then
6542 result=yes
6543 else
6544 result=no
6545 fi
6546 else
6547 result=$wxUSE_ON_FATAL_EXCEPTION
6548 fi
6549
6550 { echo "$as_me:$LINENO: result: $result" >&5
6551 echo "${ECHO_T}$result" >&6; }
6552
6553
6554 enablestring=
6555 defaultval=$wxUSE_ALL_FEATURES
6556 if test -z "$defaultval"; then
6557 if test x"$enablestring" = xdisable; then
6558 defaultval=yes
6559 else
6560 defaultval=no
6561 fi
6562 fi
6563
6564 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6565 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6566 # Check whether --enable-cmdline was given.
6567 if test "${enable_cmdline+set}" = set; then
6568 enableval=$enable_cmdline;
6569 if test "$enableval" = yes; then
6570 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
6571 else
6572 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
6573 fi
6574
6575 else
6576
6577 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6578
6579 fi
6580
6581
6582 eval "$wx_cv_use_cmdline"
6583
6584 if test x"$enablestring" = xdisable; then
6585 if test $wxUSE_CMDLINE_PARSER = no; then
6586 result=yes
6587 else
6588 result=no
6589 fi
6590 else
6591 result=$wxUSE_CMDLINE_PARSER
6592 fi
6593
6594 { echo "$as_me:$LINENO: result: $result" >&5
6595 echo "${ECHO_T}$result" >&6; }
6596
6597
6598 enablestring=
6599 defaultval=$wxUSE_ALL_FEATURES
6600 if test -z "$defaultval"; then
6601 if test x"$enablestring" = xdisable; then
6602 defaultval=yes
6603 else
6604 defaultval=no
6605 fi
6606 fi
6607
6608 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6609 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
6610 # Check whether --enable-datetime was given.
6611 if test "${enable_datetime+set}" = set; then
6612 enableval=$enable_datetime;
6613 if test "$enableval" = yes; then
6614 wx_cv_use_datetime='wxUSE_DATETIME=yes'
6615 else
6616 wx_cv_use_datetime='wxUSE_DATETIME=no'
6617 fi
6618
6619 else
6620
6621 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6622
6623 fi
6624
6625
6626 eval "$wx_cv_use_datetime"
6627
6628 if test x"$enablestring" = xdisable; then
6629 if test $wxUSE_DATETIME = no; then
6630 result=yes
6631 else
6632 result=no
6633 fi
6634 else
6635 result=$wxUSE_DATETIME
6636 fi
6637
6638 { echo "$as_me:$LINENO: result: $result" >&5
6639 echo "${ECHO_T}$result" >&6; }
6640
6641
6642 enablestring=
6643 defaultval=$wxUSE_ALL_FEATURES
6644 if test -z "$defaultval"; then
6645 if test x"$enablestring" = xdisable; then
6646 defaultval=yes
6647 else
6648 defaultval=no
6649 fi
6650 fi
6651
6652 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6653 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
6654 # Check whether --enable-debugreport was given.
6655 if test "${enable_debugreport+set}" = set; then
6656 enableval=$enable_debugreport;
6657 if test "$enableval" = yes; then
6658 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6659 else
6660 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6661 fi
6662
6663 else
6664
6665 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6666
6667 fi
6668
6669
6670 eval "$wx_cv_use_debugreport"
6671
6672 if test x"$enablestring" = xdisable; then
6673 if test $wxUSE_DEBUGREPORT = no; then
6674 result=yes
6675 else
6676 result=no
6677 fi
6678 else
6679 result=$wxUSE_DEBUGREPORT
6680 fi
6681
6682 { echo "$as_me:$LINENO: result: $result" >&5
6683 echo "${ECHO_T}$result" >&6; }
6684
6685
6686 enablestring=
6687 defaultval=$wxUSE_ALL_FEATURES
6688 if test -z "$defaultval"; then
6689 if test x"$enablestring" = xdisable; then
6690 defaultval=yes
6691 else
6692 defaultval=no
6693 fi
6694 fi
6695
6696 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6697 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6698 # Check whether --enable-dialupman was given.
6699 if test "${enable_dialupman+set}" = set; then
6700 enableval=$enable_dialupman;
6701 if test "$enableval" = yes; then
6702 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
6703 else
6704 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
6705 fi
6706
6707 else
6708
6709 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
6710
6711 fi
6712
6713
6714 eval "$wx_cv_use_dialupman"
6715
6716 if test x"$enablestring" = xdisable; then
6717 if test $wxUSE_DIALUP_MANAGER = no; then
6718 result=yes
6719 else
6720 result=no
6721 fi
6722 else
6723 result=$wxUSE_DIALUP_MANAGER
6724 fi
6725
6726 { echo "$as_me:$LINENO: result: $result" >&5
6727 echo "${ECHO_T}$result" >&6; }
6728
6729
6730 enablestring=
6731 defaultval=$wxUSE_ALL_FEATURES
6732 if test -z "$defaultval"; then
6733 if test x"$enablestring" = xdisable; then
6734 defaultval=yes
6735 else
6736 defaultval=no
6737 fi
6738 fi
6739
6740 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6741 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6742 # Check whether --enable-dynlib was given.
6743 if test "${enable_dynlib+set}" = set; then
6744 enableval=$enable_dynlib;
6745 if test "$enableval" = yes; then
6746 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6747 else
6748 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6749 fi
6750
6751 else
6752
6753 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
6754
6755 fi
6756
6757
6758 eval "$wx_cv_use_dynlib"
6759
6760 if test x"$enablestring" = xdisable; then
6761 if test $wxUSE_DYNLIB_CLASS = no; then
6762 result=yes
6763 else
6764 result=no
6765 fi
6766 else
6767 result=$wxUSE_DYNLIB_CLASS
6768 fi
6769
6770 { echo "$as_me:$LINENO: result: $result" >&5
6771 echo "${ECHO_T}$result" >&6; }
6772
6773
6774 enablestring=
6775 defaultval=$wxUSE_ALL_FEATURES
6776 if test -z "$defaultval"; then
6777 if test x"$enablestring" = xdisable; then
6778 defaultval=yes
6779 else
6780 defaultval=no
6781 fi
6782 fi
6783
6784 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
6785 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
6786 # Check whether --enable-dynamicloader was given.
6787 if test "${enable_dynamicloader+set}" = set; then
6788 enableval=$enable_dynamicloader;
6789 if test "$enableval" = yes; then
6790 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
6791 else
6792 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
6793 fi
6794
6795 else
6796
6797 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
6798
6799 fi
6800
6801
6802 eval "$wx_cv_use_dynamicloader"
6803
6804 if test x"$enablestring" = xdisable; then
6805 if test $wxUSE_DYNAMIC_LOADER = no; then
6806 result=yes
6807 else
6808 result=no
6809 fi
6810 else
6811 result=$wxUSE_DYNAMIC_LOADER
6812 fi
6813
6814 { echo "$as_me:$LINENO: result: $result" >&5
6815 echo "${ECHO_T}$result" >&6; }
6816
6817
6818 enablestring=
6819 defaultval=$wxUSE_ALL_FEATURES
6820 if test -z "$defaultval"; then
6821 if test x"$enablestring" = xdisable; then
6822 defaultval=yes
6823 else
6824 defaultval=no
6825 fi
6826 fi
6827
6828 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
6829 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
6830 # Check whether --enable-exceptions was given.
6831 if test "${enable_exceptions+set}" = set; then
6832 enableval=$enable_exceptions;
6833 if test "$enableval" = yes; then
6834 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
6835 else
6836 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
6837 fi
6838
6839 else
6840
6841 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
6842
6843 fi
6844
6845
6846 eval "$wx_cv_use_exceptions"
6847
6848 if test x"$enablestring" = xdisable; then
6849 if test $wxUSE_EXCEPTIONS = no; then
6850 result=yes
6851 else
6852 result=no
6853 fi
6854 else
6855 result=$wxUSE_EXCEPTIONS
6856 fi
6857
6858 { echo "$as_me:$LINENO: result: $result" >&5
6859 echo "${ECHO_T}$result" >&6; }
6860
6861
6862 enablestring=
6863 defaultval=$wxUSE_ALL_FEATURES
6864 if test -z "$defaultval"; then
6865 if test x"$enablestring" = xdisable; then
6866 defaultval=yes
6867 else
6868 defaultval=no
6869 fi
6870 fi
6871
6872 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
6873 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
6874 # Check whether --enable-ffile was given.
6875 if test "${enable_ffile+set}" = set; then
6876 enableval=$enable_ffile;
6877 if test "$enableval" = yes; then
6878 wx_cv_use_ffile='wxUSE_FFILE=yes'
6879 else
6880 wx_cv_use_ffile='wxUSE_FFILE=no'
6881 fi
6882
6883 else
6884
6885 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
6886
6887 fi
6888
6889
6890 eval "$wx_cv_use_ffile"
6891
6892 if test x"$enablestring" = xdisable; then
6893 if test $wxUSE_FFILE = no; then
6894 result=yes
6895 else
6896 result=no
6897 fi
6898 else
6899 result=$wxUSE_FFILE
6900 fi
6901
6902 { echo "$as_me:$LINENO: result: $result" >&5
6903 echo "${ECHO_T}$result" >&6; }
6904
6905
6906 enablestring=
6907 defaultval=$wxUSE_ALL_FEATURES
6908 if test -z "$defaultval"; then
6909 if test x"$enablestring" = xdisable; then
6910 defaultval=yes
6911 else
6912 defaultval=no
6913 fi
6914 fi
6915
6916 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
6917 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
6918 # Check whether --enable-file was given.
6919 if test "${enable_file+set}" = set; then
6920 enableval=$enable_file;
6921 if test "$enableval" = yes; then
6922 wx_cv_use_file='wxUSE_FILE=yes'
6923 else
6924 wx_cv_use_file='wxUSE_FILE=no'
6925 fi
6926
6927 else
6928
6929 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
6930
6931 fi
6932
6933
6934 eval "$wx_cv_use_file"
6935
6936 if test x"$enablestring" = xdisable; then
6937 if test $wxUSE_FILE = no; then
6938 result=yes
6939 else
6940 result=no
6941 fi
6942 else
6943 result=$wxUSE_FILE
6944 fi
6945
6946 { echo "$as_me:$LINENO: result: $result" >&5
6947 echo "${ECHO_T}$result" >&6; }
6948
6949
6950 enablestring=
6951 defaultval=$wxUSE_ALL_FEATURES
6952 if test -z "$defaultval"; then
6953 if test x"$enablestring" = xdisable; then
6954 defaultval=yes
6955 else
6956 defaultval=no
6957 fi
6958 fi
6959
6960 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
6961 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
6962 # Check whether --enable-filesystem was given.
6963 if test "${enable_filesystem+set}" = set; then
6964 enableval=$enable_filesystem;
6965 if test "$enableval" = yes; then
6966 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
6967 else
6968 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
6969 fi
6970
6971 else
6972
6973 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
6974
6975 fi
6976
6977
6978 eval "$wx_cv_use_filesystem"
6979
6980 if test x"$enablestring" = xdisable; then
6981 if test $wxUSE_FILESYSTEM = no; then
6982 result=yes
6983 else
6984 result=no
6985 fi
6986 else
6987 result=$wxUSE_FILESYSTEM
6988 fi
6989
6990 { echo "$as_me:$LINENO: result: $result" >&5
6991 echo "${ECHO_T}$result" >&6; }
6992
6993
6994 enablestring=
6995 defaultval=$wxUSE_ALL_FEATURES
6996 if test -z "$defaultval"; then
6997 if test x"$enablestring" = xdisable; then
6998 defaultval=yes
6999 else
7000 defaultval=no
7001 fi
7002 fi
7003
7004 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
7005 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
7006 # Check whether --enable-fontenum was given.
7007 if test "${enable_fontenum+set}" = set; then
7008 enableval=$enable_fontenum;
7009 if test "$enableval" = yes; then
7010 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
7011 else
7012 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
7013 fi
7014
7015 else
7016
7017 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
7018
7019 fi
7020
7021
7022 eval "$wx_cv_use_fontenum"
7023
7024 if test x"$enablestring" = xdisable; then
7025 if test $wxUSE_FONTENUM = no; then
7026 result=yes
7027 else
7028 result=no
7029 fi
7030 else
7031 result=$wxUSE_FONTENUM
7032 fi
7033
7034 { echo "$as_me:$LINENO: result: $result" >&5
7035 echo "${ECHO_T}$result" >&6; }
7036
7037
7038 enablestring=
7039 defaultval=$wxUSE_ALL_FEATURES
7040 if test -z "$defaultval"; then
7041 if test x"$enablestring" = xdisable; then
7042 defaultval=yes
7043 else
7044 defaultval=no
7045 fi
7046 fi
7047
7048 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
7049 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
7050 # Check whether --enable-fontmap was given.
7051 if test "${enable_fontmap+set}" = set; then
7052 enableval=$enable_fontmap;
7053 if test "$enableval" = yes; then
7054 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
7055 else
7056 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
7057 fi
7058
7059 else
7060
7061 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
7062
7063 fi
7064
7065
7066 eval "$wx_cv_use_fontmap"
7067
7068 if test x"$enablestring" = xdisable; then
7069 if test $wxUSE_FONTMAP = no; then
7070 result=yes
7071 else
7072 result=no
7073 fi
7074 else
7075 result=$wxUSE_FONTMAP
7076 fi
7077
7078 { echo "$as_me:$LINENO: result: $result" >&5
7079 echo "${ECHO_T}$result" >&6; }
7080
7081
7082 enablestring=
7083 defaultval=$wxUSE_ALL_FEATURES
7084 if test -z "$defaultval"; then
7085 if test x"$enablestring" = xdisable; then
7086 defaultval=yes
7087 else
7088 defaultval=no
7089 fi
7090 fi
7091
7092 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7093 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7094 # Check whether --enable-fs_archive was given.
7095 if test "${enable_fs_archive+set}" = set; then
7096 enableval=$enable_fs_archive;
7097 if test "$enableval" = yes; then
7098 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
7099 else
7100 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
7101 fi
7102
7103 else
7104
7105 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7106
7107 fi
7108
7109
7110 eval "$wx_cv_use_fs_archive"
7111
7112 if test x"$enablestring" = xdisable; then
7113 if test $wxUSE_FS_ARCHIVE = no; then
7114 result=yes
7115 else
7116 result=no
7117 fi
7118 else
7119 result=$wxUSE_FS_ARCHIVE
7120 fi
7121
7122 { echo "$as_me:$LINENO: result: $result" >&5
7123 echo "${ECHO_T}$result" >&6; }
7124
7125
7126 enablestring=
7127 defaultval=$wxUSE_ALL_FEATURES
7128 if test -z "$defaultval"; then
7129 if test x"$enablestring" = xdisable; then
7130 defaultval=yes
7131 else
7132 defaultval=no
7133 fi
7134 fi
7135
7136 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
7137 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
7138 # Check whether --enable-fs_inet was given.
7139 if test "${enable_fs_inet+set}" = set; then
7140 enableval=$enable_fs_inet;
7141 if test "$enableval" = yes; then
7142 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
7143 else
7144 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
7145 fi
7146
7147 else
7148
7149 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7150
7151 fi
7152
7153
7154 eval "$wx_cv_use_fs_inet"
7155
7156 if test x"$enablestring" = xdisable; then
7157 if test $wxUSE_FS_INET = no; then
7158 result=yes
7159 else
7160 result=no
7161 fi
7162 else
7163 result=$wxUSE_FS_INET
7164 fi
7165
7166 { echo "$as_me:$LINENO: result: $result" >&5
7167 echo "${ECHO_T}$result" >&6; }
7168
7169
7170 enablestring=
7171 defaultval=$wxUSE_ALL_FEATURES
7172 if test -z "$defaultval"; then
7173 if test x"$enablestring" = xdisable; then
7174 defaultval=yes
7175 else
7176 defaultval=no
7177 fi
7178 fi
7179
7180 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
7181 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
7182 # Check whether --enable-fs_zip was given.
7183 if test "${enable_fs_zip+set}" = set; then
7184 enableval=$enable_fs_zip;
7185 if test "$enableval" = yes; then
7186 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
7187 else
7188 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
7189 fi
7190
7191 else
7192
7193 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7194
7195 fi
7196
7197
7198 eval "$wx_cv_use_fs_zip"
7199
7200 if test x"$enablestring" = xdisable; then
7201 if test $wxUSE_FS_ZIP = no; then
7202 result=yes
7203 else
7204 result=no
7205 fi
7206 else
7207 result=$wxUSE_FS_ZIP
7208 fi
7209
7210 { echo "$as_me:$LINENO: result: $result" >&5
7211 echo "${ECHO_T}$result" >&6; }
7212
7213
7214 enablestring=
7215 defaultval=$wxUSE_ALL_FEATURES
7216 if test -z "$defaultval"; then
7217 if test x"$enablestring" = xdisable; then
7218 defaultval=yes
7219 else
7220 defaultval=no
7221 fi
7222 fi
7223
7224 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
7225 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
7226 # Check whether --enable-geometry was given.
7227 if test "${enable_geometry+set}" = set; then
7228 enableval=$enable_geometry;
7229 if test "$enableval" = yes; then
7230 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
7231 else
7232 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
7233 fi
7234
7235 else
7236
7237 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7238
7239 fi
7240
7241
7242 eval "$wx_cv_use_geometry"
7243
7244 if test x"$enablestring" = xdisable; then
7245 if test $wxUSE_GEOMETRY = no; then
7246 result=yes
7247 else
7248 result=no
7249 fi
7250 else
7251 result=$wxUSE_GEOMETRY
7252 fi
7253
7254 { echo "$as_me:$LINENO: result: $result" >&5
7255 echo "${ECHO_T}$result" >&6; }
7256
7257
7258 enablestring=
7259 defaultval=$wxUSE_ALL_FEATURES
7260 if test -z "$defaultval"; then
7261 if test x"$enablestring" = xdisable; then
7262 defaultval=yes
7263 else
7264 defaultval=no
7265 fi
7266 fi
7267
7268 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
7269 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
7270 # Check whether --enable-log was given.
7271 if test "${enable_log+set}" = set; then
7272 enableval=$enable_log;
7273 if test "$enableval" = yes; then
7274 wx_cv_use_log='wxUSE_LOG=yes'
7275 else
7276 wx_cv_use_log='wxUSE_LOG=no'
7277 fi
7278
7279 else
7280
7281 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7282
7283 fi
7284
7285
7286 eval "$wx_cv_use_log"
7287
7288 if test x"$enablestring" = xdisable; then
7289 if test $wxUSE_LOG = no; then
7290 result=yes
7291 else
7292 result=no
7293 fi
7294 else
7295 result=$wxUSE_LOG
7296 fi
7297
7298 { echo "$as_me:$LINENO: result: $result" >&5
7299 echo "${ECHO_T}$result" >&6; }
7300
7301
7302 enablestring=
7303 defaultval=$wxUSE_ALL_FEATURES
7304 if test -z "$defaultval"; then
7305 if test x"$enablestring" = xdisable; then
7306 defaultval=yes
7307 else
7308 defaultval=no
7309 fi
7310 fi
7311
7312 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
7313 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
7314 # Check whether --enable-longlong was given.
7315 if test "${enable_longlong+set}" = set; then
7316 enableval=$enable_longlong;
7317 if test "$enableval" = yes; then
7318 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
7319 else
7320 wx_cv_use_longlong='wxUSE_LONGLONG=no'
7321 fi
7322
7323 else
7324
7325 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7326
7327 fi
7328
7329
7330 eval "$wx_cv_use_longlong"
7331
7332 if test x"$enablestring" = xdisable; then
7333 if test $wxUSE_LONGLONG = no; then
7334 result=yes
7335 else
7336 result=no
7337 fi
7338 else
7339 result=$wxUSE_LONGLONG
7340 fi
7341
7342 { echo "$as_me:$LINENO: result: $result" >&5
7343 echo "${ECHO_T}$result" >&6; }
7344
7345
7346 enablestring=
7347 defaultval=$wxUSE_ALL_FEATURES
7348 if test -z "$defaultval"; then
7349 if test x"$enablestring" = xdisable; then
7350 defaultval=yes
7351 else
7352 defaultval=no
7353 fi
7354 fi
7355
7356 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
7357 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
7358 # Check whether --enable-mimetype was given.
7359 if test "${enable_mimetype+set}" = set; then
7360 enableval=$enable_mimetype;
7361 if test "$enableval" = yes; then
7362 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
7363 else
7364 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
7365 fi
7366
7367 else
7368
7369 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7370
7371 fi
7372
7373
7374 eval "$wx_cv_use_mimetype"
7375
7376 if test x"$enablestring" = xdisable; then
7377 if test $wxUSE_MIMETYPE = no; then
7378 result=yes
7379 else
7380 result=no
7381 fi
7382 else
7383 result=$wxUSE_MIMETYPE
7384 fi
7385
7386 { echo "$as_me:$LINENO: result: $result" >&5
7387 echo "${ECHO_T}$result" >&6; }
7388
7389
7390 enablestring=
7391 defaultval=$wxUSE_ALL_FEATURES
7392 if test -z "$defaultval"; then
7393 if test x"$enablestring" = xdisable; then
7394 defaultval=yes
7395 else
7396 defaultval=no
7397 fi
7398 fi
7399
7400 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7401 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7402 # Check whether --enable-printfposparam was given.
7403 if test "${enable_printfposparam+set}" = set; then
7404 enableval=$enable_printfposparam;
7405 if test "$enableval" = yes; then
7406 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
7407 else
7408 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
7409 fi
7410
7411 else
7412
7413 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
7414
7415 fi
7416
7417
7418 eval "$wx_cv_use_printfposparam"
7419
7420 if test x"$enablestring" = xdisable; then
7421 if test $wxUSE_PRINTF_POS_PARAMS = no; then
7422 result=yes
7423 else
7424 result=no
7425 fi
7426 else
7427 result=$wxUSE_PRINTF_POS_PARAMS
7428 fi
7429
7430 { echo "$as_me:$LINENO: result: $result" >&5
7431 echo "${ECHO_T}$result" >&6; }
7432
7433
7434 enablestring=
7435 defaultval=$wxUSE_ALL_FEATURES
7436 if test -z "$defaultval"; then
7437 if test x"$enablestring" = xdisable; then
7438 defaultval=yes
7439 else
7440 defaultval=no
7441 fi
7442 fi
7443
7444 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
7445 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
7446 # Check whether --enable-snglinst was given.
7447 if test "${enable_snglinst+set}" = set; then
7448 enableval=$enable_snglinst;
7449 if test "$enableval" = yes; then
7450 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
7451 else
7452 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
7453 fi
7454
7455 else
7456
7457 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7458
7459 fi
7460
7461
7462 eval "$wx_cv_use_snglinst"
7463
7464 if test x"$enablestring" = xdisable; then
7465 if test $wxUSE_SNGLINST_CHECKER = no; then
7466 result=yes
7467 else
7468 result=no
7469 fi
7470 else
7471 result=$wxUSE_SNGLINST_CHECKER
7472 fi
7473
7474 { echo "$as_me:$LINENO: result: $result" >&5
7475 echo "${ECHO_T}$result" >&6; }
7476
7477
7478 enablestring=
7479 defaultval=$wxUSE_ALL_FEATURES
7480 if test -z "$defaultval"; then
7481 if test x"$enablestring" = xdisable; then
7482 defaultval=yes
7483 else
7484 defaultval=no
7485 fi
7486 fi
7487
7488 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7489 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7490 # Check whether --enable-sound was given.
7491 if test "${enable_sound+set}" = set; then
7492 enableval=$enable_sound;
7493 if test "$enableval" = yes; then
7494 wx_cv_use_sound='wxUSE_SOUND=yes'
7495 else
7496 wx_cv_use_sound='wxUSE_SOUND=no'
7497 fi
7498
7499 else
7500
7501 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
7502
7503 fi
7504
7505
7506 eval "$wx_cv_use_sound"
7507
7508 if test x"$enablestring" = xdisable; then
7509 if test $wxUSE_SOUND = no; then
7510 result=yes
7511 else
7512 result=no
7513 fi
7514 else
7515 result=$wxUSE_SOUND
7516 fi
7517
7518 { echo "$as_me:$LINENO: result: $result" >&5
7519 echo "${ECHO_T}$result" >&6; }
7520
7521
7522 enablestring=
7523 defaultval=$wxUSE_ALL_FEATURES
7524 if test -z "$defaultval"; then
7525 if test x"$enablestring" = xdisable; then
7526 defaultval=yes
7527 else
7528 defaultval=no
7529 fi
7530 fi
7531
7532 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7533 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
7534 # Check whether --enable-stdpaths was given.
7535 if test "${enable_stdpaths+set}" = set; then
7536 enableval=$enable_stdpaths;
7537 if test "$enableval" = yes; then
7538 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
7539 else
7540 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
7541 fi
7542
7543 else
7544
7545 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7546
7547 fi
7548
7549
7550 eval "$wx_cv_use_stdpaths"
7551
7552 if test x"$enablestring" = xdisable; then
7553 if test $wxUSE_STDPATHS = no; then
7554 result=yes
7555 else
7556 result=no
7557 fi
7558 else
7559 result=$wxUSE_STDPATHS
7560 fi
7561
7562 { echo "$as_me:$LINENO: result: $result" >&5
7563 echo "${ECHO_T}$result" >&6; }
7564
7565
7566 enablestring=
7567 defaultval=$wxUSE_ALL_FEATURES
7568 if test -z "$defaultval"; then
7569 if test x"$enablestring" = xdisable; then
7570 defaultval=yes
7571 else
7572 defaultval=no
7573 fi
7574 fi
7575
7576 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
7577 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
7578 # Check whether --enable-stopwatch was given.
7579 if test "${enable_stopwatch+set}" = set; then
7580 enableval=$enable_stopwatch;
7581 if test "$enableval" = yes; then
7582 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
7583 else
7584 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
7585 fi
7586
7587 else
7588
7589 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7590
7591 fi
7592
7593
7594 eval "$wx_cv_use_stopwatch"
7595
7596 if test x"$enablestring" = xdisable; then
7597 if test $wxUSE_STOPWATCH = no; then
7598 result=yes
7599 else
7600 result=no
7601 fi
7602 else
7603 result=$wxUSE_STOPWATCH
7604 fi
7605
7606 { echo "$as_me:$LINENO: result: $result" >&5
7607 echo "${ECHO_T}$result" >&6; }
7608
7609
7610 enablestring=
7611 defaultval=$wxUSE_ALL_FEATURES
7612 if test -z "$defaultval"; then
7613 if test x"$enablestring" = xdisable; then
7614 defaultval=yes
7615 else
7616 defaultval=no
7617 fi
7618 fi
7619
7620 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
7621 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
7622 # Check whether --enable-streams was given.
7623 if test "${enable_streams+set}" = set; then
7624 enableval=$enable_streams;
7625 if test "$enableval" = yes; then
7626 wx_cv_use_streams='wxUSE_STREAMS=yes'
7627 else
7628 wx_cv_use_streams='wxUSE_STREAMS=no'
7629 fi
7630
7631 else
7632
7633 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7634
7635 fi
7636
7637
7638 eval "$wx_cv_use_streams"
7639
7640 if test x"$enablestring" = xdisable; then
7641 if test $wxUSE_STREAMS = no; then
7642 result=yes
7643 else
7644 result=no
7645 fi
7646 else
7647 result=$wxUSE_STREAMS
7648 fi
7649
7650 { echo "$as_me:$LINENO: result: $result" >&5
7651 echo "${ECHO_T}$result" >&6; }
7652
7653
7654 enablestring=
7655 defaultval=$wxUSE_ALL_FEATURES
7656 if test -z "$defaultval"; then
7657 if test x"$enablestring" = xdisable; then
7658 defaultval=yes
7659 else
7660 defaultval=no
7661 fi
7662 fi
7663
7664 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
7665 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
7666 # Check whether --enable-system_options was given.
7667 if test "${enable_system_options+set}" = set; then
7668 enableval=$enable_system_options;
7669 if test "$enableval" = yes; then
7670 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
7671 else
7672 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
7673 fi
7674
7675 else
7676
7677 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
7678
7679 fi
7680
7681
7682 eval "$wx_cv_use_system_options"
7683
7684 if test x"$enablestring" = xdisable; then
7685 if test $wxUSE_SYSTEM_OPTIONS = no; then
7686 result=yes
7687 else
7688 result=no
7689 fi
7690 else
7691 result=$wxUSE_SYSTEM_OPTIONS
7692 fi
7693
7694 { echo "$as_me:$LINENO: result: $result" >&5
7695 echo "${ECHO_T}$result" >&6; }
7696
7697
7698 enablestring=
7699 defaultval=$wxUSE_ALL_FEATURES
7700 if test -z "$defaultval"; then
7701 if test x"$enablestring" = xdisable; then
7702 defaultval=yes
7703 else
7704 defaultval=no
7705 fi
7706 fi
7707
7708 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
7709 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
7710 # Check whether --enable-tarstream was given.
7711 if test "${enable_tarstream+set}" = set; then
7712 enableval=$enable_tarstream;
7713 if test "$enableval" = yes; then
7714 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
7715 else
7716 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
7717 fi
7718
7719 else
7720
7721 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
7722
7723 fi
7724
7725
7726 eval "$wx_cv_use_tarstream"
7727
7728 if test x"$enablestring" = xdisable; then
7729 if test $wxUSE_TARSTREAM = no; then
7730 result=yes
7731 else
7732 result=no
7733 fi
7734 else
7735 result=$wxUSE_TARSTREAM
7736 fi
7737
7738 { echo "$as_me:$LINENO: result: $result" >&5
7739 echo "${ECHO_T}$result" >&6; }
7740
7741
7742 enablestring=
7743 defaultval=$wxUSE_ALL_FEATURES
7744 if test -z "$defaultval"; then
7745 if test x"$enablestring" = xdisable; then
7746 defaultval=yes
7747 else
7748 defaultval=no
7749 fi
7750 fi
7751
7752 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
7753 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
7754 # Check whether --enable-textbuf was given.
7755 if test "${enable_textbuf+set}" = set; then
7756 enableval=$enable_textbuf;
7757 if test "$enableval" = yes; then
7758 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
7759 else
7760 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
7761 fi
7762
7763 else
7764
7765 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
7766
7767 fi
7768
7769
7770 eval "$wx_cv_use_textbuf"
7771
7772 if test x"$enablestring" = xdisable; then
7773 if test $wxUSE_TEXTBUFFER = no; then
7774 result=yes
7775 else
7776 result=no
7777 fi
7778 else
7779 result=$wxUSE_TEXTBUFFER
7780 fi
7781
7782 { echo "$as_me:$LINENO: result: $result" >&5
7783 echo "${ECHO_T}$result" >&6; }
7784
7785
7786 enablestring=
7787 defaultval=$wxUSE_ALL_FEATURES
7788 if test -z "$defaultval"; then
7789 if test x"$enablestring" = xdisable; then
7790 defaultval=yes
7791 else
7792 defaultval=no
7793 fi
7794 fi
7795
7796 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
7797 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
7798 # Check whether --enable-textfile was given.
7799 if test "${enable_textfile+set}" = set; then
7800 enableval=$enable_textfile;
7801 if test "$enableval" = yes; then
7802 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
7803 else
7804 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
7805 fi
7806
7807 else
7808
7809 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
7810
7811 fi
7812
7813
7814 eval "$wx_cv_use_textfile"
7815
7816 if test x"$enablestring" = xdisable; then
7817 if test $wxUSE_TEXTFILE = no; then
7818 result=yes
7819 else
7820 result=no
7821 fi
7822 else
7823 result=$wxUSE_TEXTFILE
7824 fi
7825
7826 { echo "$as_me:$LINENO: result: $result" >&5
7827 echo "${ECHO_T}$result" >&6; }
7828
7829
7830 enablestring=
7831 defaultval=$wxUSE_ALL_FEATURES
7832 if test -z "$defaultval"; then
7833 if test x"$enablestring" = xdisable; then
7834 defaultval=yes
7835 else
7836 defaultval=no
7837 fi
7838 fi
7839
7840 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
7841 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
7842 # Check whether --enable-timer was given.
7843 if test "${enable_timer+set}" = set; then
7844 enableval=$enable_timer;
7845 if test "$enableval" = yes; then
7846 wx_cv_use_timer='wxUSE_TIMER=yes'
7847 else
7848 wx_cv_use_timer='wxUSE_TIMER=no'
7849 fi
7850
7851 else
7852
7853 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
7854
7855 fi
7856
7857
7858 eval "$wx_cv_use_timer"
7859
7860 if test x"$enablestring" = xdisable; then
7861 if test $wxUSE_TIMER = no; then
7862 result=yes
7863 else
7864 result=no
7865 fi
7866 else
7867 result=$wxUSE_TIMER
7868 fi
7869
7870 { echo "$as_me:$LINENO: result: $result" >&5
7871 echo "${ECHO_T}$result" >&6; }
7872
7873
7874 enablestring=
7875 defaultval=$wxUSE_ALL_FEATURES
7876 if test -z "$defaultval"; then
7877 if test x"$enablestring" = xdisable; then
7878 defaultval=yes
7879 else
7880 defaultval=no
7881 fi
7882 fi
7883
7884 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
7885 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
7886 # Check whether --enable-variant was given.
7887 if test "${enable_variant+set}" = set; then
7888 enableval=$enable_variant;
7889 if test "$enableval" = yes; then
7890 wx_cv_use_variant='wxUSE_VARIANT=yes'
7891 else
7892 wx_cv_use_variant='wxUSE_VARIANT=no'
7893 fi
7894
7895 else
7896
7897 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
7898
7899 fi
7900
7901
7902 eval "$wx_cv_use_variant"
7903
7904 if test x"$enablestring" = xdisable; then
7905 if test $wxUSE_VARIANT = no; then
7906 result=yes
7907 else
7908 result=no
7909 fi
7910 else
7911 result=$wxUSE_VARIANT
7912 fi
7913
7914 { echo "$as_me:$LINENO: result: $result" >&5
7915 echo "${ECHO_T}$result" >&6; }
7916
7917
7918 enablestring=
7919 defaultval=$wxUSE_ALL_FEATURES
7920 if test -z "$defaultval"; then
7921 if test x"$enablestring" = xdisable; then
7922 defaultval=yes
7923 else
7924 defaultval=no
7925 fi
7926 fi
7927
7928 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
7929 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
7930 # Check whether --enable-zipstream was given.
7931 if test "${enable_zipstream+set}" = set; then
7932 enableval=$enable_zipstream;
7933 if test "$enableval" = yes; then
7934 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
7935 else
7936 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
7937 fi
7938
7939 else
7940
7941 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
7942
7943 fi
7944
7945
7946 eval "$wx_cv_use_zipstream"
7947
7948 if test x"$enablestring" = xdisable; then
7949 if test $wxUSE_ZIPSTREAM = no; then
7950 result=yes
7951 else
7952 result=no
7953 fi
7954 else
7955 result=$wxUSE_ZIPSTREAM
7956 fi
7957
7958 { echo "$as_me:$LINENO: result: $result" >&5
7959 echo "${ECHO_T}$result" >&6; }
7960
7961
7962
7963 enablestring=
7964 defaultval=$wxUSE_ALL_FEATURES
7965 if test -z "$defaultval"; then
7966 if test x"$enablestring" = xdisable; then
7967 defaultval=yes
7968 else
7969 defaultval=no
7970 fi
7971 fi
7972
7973 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
7974 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
7975 # Check whether --enable-url was given.
7976 if test "${enable_url+set}" = set; then
7977 enableval=$enable_url;
7978 if test "$enableval" = yes; then
7979 wx_cv_use_url='wxUSE_URL=yes'
7980 else
7981 wx_cv_use_url='wxUSE_URL=no'
7982 fi
7983
7984 else
7985
7986 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
7987
7988 fi
7989
7990
7991 eval "$wx_cv_use_url"
7992
7993 if test x"$enablestring" = xdisable; then
7994 if test $wxUSE_URL = no; then
7995 result=yes
7996 else
7997 result=no
7998 fi
7999 else
8000 result=$wxUSE_URL
8001 fi
8002
8003 { echo "$as_me:$LINENO: result: $result" >&5
8004 echo "${ECHO_T}$result" >&6; }
8005
8006
8007 enablestring=
8008 defaultval=$wxUSE_ALL_FEATURES
8009 if test -z "$defaultval"; then
8010 if test x"$enablestring" = xdisable; then
8011 defaultval=yes
8012 else
8013 defaultval=no
8014 fi
8015 fi
8016
8017 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
8018 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
8019 # Check whether --enable-protocol was given.
8020 if test "${enable_protocol+set}" = set; then
8021 enableval=$enable_protocol;
8022 if test "$enableval" = yes; then
8023 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
8024 else
8025 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
8026 fi
8027
8028 else
8029
8030 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
8031
8032 fi
8033
8034
8035 eval "$wx_cv_use_protocol"
8036
8037 if test x"$enablestring" = xdisable; then
8038 if test $wxUSE_PROTOCOL = no; then
8039 result=yes
8040 else
8041 result=no
8042 fi
8043 else
8044 result=$wxUSE_PROTOCOL
8045 fi
8046
8047 { echo "$as_me:$LINENO: result: $result" >&5
8048 echo "${ECHO_T}$result" >&6; }
8049
8050
8051 enablestring=
8052 defaultval=$wxUSE_ALL_FEATURES
8053 if test -z "$defaultval"; then
8054 if test x"$enablestring" = xdisable; then
8055 defaultval=yes
8056 else
8057 defaultval=no
8058 fi
8059 fi
8060
8061 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
8062 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
8063 # Check whether --enable-protocol_http was given.
8064 if test "${enable_protocol_http+set}" = set; then
8065 enableval=$enable_protocol_http;
8066 if test "$enableval" = yes; then
8067 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
8068 else
8069 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
8070 fi
8071
8072 else
8073
8074 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
8075
8076 fi
8077
8078
8079 eval "$wx_cv_use_protocol_http"
8080
8081 if test x"$enablestring" = xdisable; then
8082 if test $wxUSE_PROTOCOL_HTTP = no; then
8083 result=yes
8084 else
8085 result=no
8086 fi
8087 else
8088 result=$wxUSE_PROTOCOL_HTTP
8089 fi
8090
8091 { echo "$as_me:$LINENO: result: $result" >&5
8092 echo "${ECHO_T}$result" >&6; }
8093
8094
8095 enablestring=
8096 defaultval=$wxUSE_ALL_FEATURES
8097 if test -z "$defaultval"; then
8098 if test x"$enablestring" = xdisable; then
8099 defaultval=yes
8100 else
8101 defaultval=no
8102 fi
8103 fi
8104
8105 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
8106 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
8107 # Check whether --enable-protocol_ftp was given.
8108 if test "${enable_protocol_ftp+set}" = set; then
8109 enableval=$enable_protocol_ftp;
8110 if test "$enableval" = yes; then
8111 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
8112 else
8113 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
8114 fi
8115
8116 else
8117
8118 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
8119
8120 fi
8121
8122
8123 eval "$wx_cv_use_protocol_ftp"
8124
8125 if test x"$enablestring" = xdisable; then
8126 if test $wxUSE_PROTOCOL_FTP = no; then
8127 result=yes
8128 else
8129 result=no
8130 fi
8131 else
8132 result=$wxUSE_PROTOCOL_FTP
8133 fi
8134
8135 { echo "$as_me:$LINENO: result: $result" >&5
8136 echo "${ECHO_T}$result" >&6; }
8137
8138
8139 enablestring=
8140 defaultval=$wxUSE_ALL_FEATURES
8141 if test -z "$defaultval"; then
8142 if test x"$enablestring" = xdisable; then
8143 defaultval=yes
8144 else
8145 defaultval=no
8146 fi
8147 fi
8148
8149 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
8150 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
8151 # Check whether --enable-protocol_file was given.
8152 if test "${enable_protocol_file+set}" = set; then
8153 enableval=$enable_protocol_file;
8154 if test "$enableval" = yes; then
8155 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
8156 else
8157 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
8158 fi
8159
8160 else
8161
8162 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
8163
8164 fi
8165
8166
8167 eval "$wx_cv_use_protocol_file"
8168
8169 if test x"$enablestring" = xdisable; then
8170 if test $wxUSE_PROTOCOL_FILE = no; then
8171 result=yes
8172 else
8173 result=no
8174 fi
8175 else
8176 result=$wxUSE_PROTOCOL_FILE
8177 fi
8178
8179 { echo "$as_me:$LINENO: result: $result" >&5
8180 echo "${ECHO_T}$result" >&6; }
8181
8182
8183
8184 enablestring=
8185 defaultval=$wxUSE_ALL_FEATURES
8186 if test -z "$defaultval"; then
8187 if test x"$enablestring" = xdisable; then
8188 defaultval=yes
8189 else
8190 defaultval=no
8191 fi
8192 fi
8193
8194 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
8195 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
8196 # Check whether --enable-threads was given.
8197 if test "${enable_threads+set}" = set; then
8198 enableval=$enable_threads;
8199 if test "$enableval" = yes; then
8200 wx_cv_use_threads='wxUSE_THREADS=yes'
8201 else
8202 wx_cv_use_threads='wxUSE_THREADS=no'
8203 fi
8204
8205 else
8206
8207 wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8208
8209 fi
8210
8211
8212 eval "$wx_cv_use_threads"
8213
8214 if test x"$enablestring" = xdisable; then
8215 if test $wxUSE_THREADS = no; then
8216 result=yes
8217 else
8218 result=no
8219 fi
8220 else
8221 result=$wxUSE_THREADS
8222 fi
8223
8224 { echo "$as_me:$LINENO: result: $result" >&5
8225 echo "${ECHO_T}$result" >&6; }
8226
8227
8228
8229 enablestring=
8230 defaultval=
8231 if test -z "$defaultval"; then
8232 if test x"$enablestring" = xdisable; then
8233 defaultval=yes
8234 else
8235 defaultval=no
8236 fi
8237 fi
8238
8239 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iniconf" >&5
8240 echo $ECHO_N "checking for --${enablestring:-enable}-iniconf... $ECHO_C" >&6; }
8241 # Check whether --enable-iniconf was given.
8242 if test "${enable_iniconf+set}" = set; then
8243 enableval=$enable_iniconf;
8244 if test "$enableval" = yes; then
8245 wx_cv_use_iniconf='wxUSE_INICONF=yes'
8246 else
8247 wx_cv_use_iniconf='wxUSE_INICONF=no'
8248 fi
8249
8250 else
8251
8252 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
8253
8254 fi
8255
8256
8257 eval "$wx_cv_use_iniconf"
8258
8259 if test x"$enablestring" = xdisable; then
8260 if test $wxUSE_INICONF = no; then
8261 result=yes
8262 else
8263 result=no
8264 fi
8265 else
8266 result=$wxUSE_INICONF
8267 fi
8268
8269 { echo "$as_me:$LINENO: result: $result" >&5
8270 echo "${ECHO_T}$result" >&6; }
8271
8272
8273 enablestring=
8274 defaultval=$wxUSE_ALL_FEATURES
8275 if test -z "$defaultval"; then
8276 if test x"$enablestring" = xdisable; then
8277 defaultval=yes
8278 else
8279 defaultval=no
8280 fi
8281 fi
8282
8283 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
8284 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
8285 # Check whether --enable-regkey was given.
8286 if test "${enable_regkey+set}" = set; then
8287 enableval=$enable_regkey;
8288 if test "$enableval" = yes; then
8289 wx_cv_use_regkey='wxUSE_REGKEY=yes'
8290 else
8291 wx_cv_use_regkey='wxUSE_REGKEY=no'
8292 fi
8293
8294 else
8295
8296 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
8297
8298 fi
8299
8300
8301 eval "$wx_cv_use_regkey"
8302
8303 if test x"$enablestring" = xdisable; then
8304 if test $wxUSE_REGKEY = no; then
8305 result=yes
8306 else
8307 result=no
8308 fi
8309 else
8310 result=$wxUSE_REGKEY
8311 fi
8312
8313 { echo "$as_me:$LINENO: result: $result" >&5
8314 echo "${ECHO_T}$result" >&6; }
8315
8316
8317 if test "$wxUSE_GUI" = "yes"; then
8318
8319
8320
8321 enablestring=
8322 defaultval=$wxUSE_ALL_FEATURES
8323 if test -z "$defaultval"; then
8324 if test x"$enablestring" = xdisable; then
8325 defaultval=yes
8326 else
8327 defaultval=no
8328 fi
8329 fi
8330
8331 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
8332 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
8333 # Check whether --enable-docview was given.
8334 if test "${enable_docview+set}" = set; then
8335 enableval=$enable_docview;
8336 if test "$enableval" = yes; then
8337 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
8338 else
8339 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
8340 fi
8341
8342 else
8343
8344 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8345
8346 fi
8347
8348
8349 eval "$wx_cv_use_docview"
8350
8351 if test x"$enablestring" = xdisable; then
8352 if test $wxUSE_DOC_VIEW_ARCHITECTURE = no; then
8353 result=yes
8354 else
8355 result=no
8356 fi
8357 else
8358 result=$wxUSE_DOC_VIEW_ARCHITECTURE
8359 fi
8360
8361 { echo "$as_me:$LINENO: result: $result" >&5
8362 echo "${ECHO_T}$result" >&6; }
8363
8364
8365 enablestring=
8366 defaultval=$wxUSE_ALL_FEATURES
8367 if test -z "$defaultval"; then
8368 if test x"$enablestring" = xdisable; then
8369 defaultval=yes
8370 else
8371 defaultval=no
8372 fi
8373 fi
8374
8375 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
8376 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
8377 # Check whether --enable-help was given.
8378 if test "${enable_help+set}" = set; then
8379 enableval=$enable_help;
8380 if test "$enableval" = yes; then
8381 wx_cv_use_help='wxUSE_HELP=yes'
8382 else
8383 wx_cv_use_help='wxUSE_HELP=no'
8384 fi
8385
8386 else
8387
8388 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8389
8390 fi
8391
8392
8393 eval "$wx_cv_use_help"
8394
8395 if test x"$enablestring" = xdisable; then
8396 if test $wxUSE_HELP = no; then
8397 result=yes
8398 else
8399 result=no
8400 fi
8401 else
8402 result=$wxUSE_HELP
8403 fi
8404
8405 { echo "$as_me:$LINENO: result: $result" >&5
8406 echo "${ECHO_T}$result" >&6; }
8407
8408
8409 enablestring=
8410 defaultval=$wxUSE_ALL_FEATURES
8411 if test -z "$defaultval"; then
8412 if test x"$enablestring" = xdisable; then
8413 defaultval=yes
8414 else
8415 defaultval=no
8416 fi
8417 fi
8418
8419 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
8420 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
8421 # Check whether --enable-mshtmlhelp was given.
8422 if test "${enable_mshtmlhelp+set}" = set; then
8423 enableval=$enable_mshtmlhelp;
8424 if test "$enableval" = yes; then
8425 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
8426 else
8427 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
8428 fi
8429
8430 else
8431
8432 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
8433
8434 fi
8435
8436
8437 eval "$wx_cv_use_mshtmlhelp"
8438
8439 if test x"$enablestring" = xdisable; then
8440 if test $wxUSE_MS_HTML_HELP = no; then
8441 result=yes
8442 else
8443 result=no
8444 fi
8445 else
8446 result=$wxUSE_MS_HTML_HELP
8447 fi
8448
8449 { echo "$as_me:$LINENO: result: $result" >&5
8450 echo "${ECHO_T}$result" >&6; }
8451
8452
8453 enablestring=
8454 defaultval=$wxUSE_ALL_FEATURES
8455 if test -z "$defaultval"; then
8456 if test x"$enablestring" = xdisable; then
8457 defaultval=yes
8458 else
8459 defaultval=no
8460 fi
8461 fi
8462
8463 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
8464 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
8465 # Check whether --enable-html was given.
8466 if test "${enable_html+set}" = set; then
8467 enableval=$enable_html;
8468 if test "$enableval" = yes; then
8469 wx_cv_use_html='wxUSE_HTML=yes'
8470 else
8471 wx_cv_use_html='wxUSE_HTML=no'
8472 fi
8473
8474 else
8475
8476 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
8477
8478 fi
8479
8480
8481 eval "$wx_cv_use_html"
8482
8483 if test x"$enablestring" = xdisable; then
8484 if test $wxUSE_HTML = no; then
8485 result=yes
8486 else
8487 result=no
8488 fi
8489 else
8490 result=$wxUSE_HTML
8491 fi
8492
8493 { echo "$as_me:$LINENO: result: $result" >&5
8494 echo "${ECHO_T}$result" >&6; }
8495
8496
8497 enablestring=
8498 defaultval=$wxUSE_ALL_FEATURES
8499 if test -z "$defaultval"; then
8500 if test x"$enablestring" = xdisable; then
8501 defaultval=yes
8502 else
8503 defaultval=no
8504 fi
8505 fi
8506
8507 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
8508 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
8509 # Check whether --enable-htmlhelp was given.
8510 if test "${enable_htmlhelp+set}" = set; then
8511 enableval=$enable_htmlhelp;
8512 if test "$enableval" = yes; then
8513 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
8514 else
8515 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
8516 fi
8517
8518 else
8519
8520 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
8521
8522 fi
8523
8524
8525 eval "$wx_cv_use_htmlhelp"
8526
8527 if test x"$enablestring" = xdisable; then
8528 if test $wxUSE_WXHTML_HELP = no; then
8529 result=yes
8530 else
8531 result=no
8532 fi
8533 else
8534 result=$wxUSE_WXHTML_HELP
8535 fi
8536
8537 { echo "$as_me:$LINENO: result: $result" >&5
8538 echo "${ECHO_T}$result" >&6; }
8539
8540
8541 enablestring=
8542 defaultval=$wxUSE_ALL_FEATURES
8543 if test -z "$defaultval"; then
8544 if test x"$enablestring" = xdisable; then
8545 defaultval=yes
8546 else
8547 defaultval=no
8548 fi
8549 fi
8550
8551 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
8552 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
8553 # Check whether --enable-xrc was given.
8554 if test "${enable_xrc+set}" = set; then
8555 enableval=$enable_xrc;
8556 if test "$enableval" = yes; then
8557 wx_cv_use_xrc='wxUSE_XRC=yes'
8558 else
8559 wx_cv_use_xrc='wxUSE_XRC=no'
8560 fi
8561
8562 else
8563
8564 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
8565
8566 fi
8567
8568
8569 eval "$wx_cv_use_xrc"
8570
8571 if test x"$enablestring" = xdisable; then
8572 if test $wxUSE_XRC = no; then
8573 result=yes
8574 else
8575 result=no
8576 fi
8577 else
8578 result=$wxUSE_XRC
8579 fi
8580
8581 { echo "$as_me:$LINENO: result: $result" >&5
8582 echo "${ECHO_T}$result" >&6; }
8583
8584
8585 enablestring=
8586 defaultval=$wxUSE_ALL_FEATURES
8587 if test -z "$defaultval"; then
8588 if test x"$enablestring" = xdisable; then
8589 defaultval=yes
8590 else
8591 defaultval=no
8592 fi
8593 fi
8594
8595 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8596 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
8597 # Check whether --enable-aui was given.
8598 if test "${enable_aui+set}" = set; then
8599 enableval=$enable_aui;
8600 if test "$enableval" = yes; then
8601 wx_cv_use_aui='wxUSE_AUI=yes'
8602 else
8603 wx_cv_use_aui='wxUSE_AUI=no'
8604 fi
8605
8606 else
8607
8608 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
8609
8610 fi
8611
8612
8613 eval "$wx_cv_use_aui"
8614
8615 if test x"$enablestring" = xdisable; then
8616 if test $wxUSE_AUI = no; then
8617 result=yes
8618 else
8619 result=no
8620 fi
8621 else
8622 result=$wxUSE_AUI
8623 fi
8624
8625 { echo "$as_me:$LINENO: result: $result" >&5
8626 echo "${ECHO_T}$result" >&6; }
8627
8628
8629 enablestring=
8630 defaultval=$wxUSE_ALL_FEATURES
8631 if test -z "$defaultval"; then
8632 if test x"$enablestring" = xdisable; then
8633 defaultval=yes
8634 else
8635 defaultval=no
8636 fi
8637 fi
8638
8639 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-propgrid" >&5
8640 echo $ECHO_N "checking for --${enablestring:-enable}-propgrid... $ECHO_C" >&6; }
8641 # Check whether --enable-propgrid was given.
8642 if test "${enable_propgrid+set}" = set; then
8643 enableval=$enable_propgrid;
8644 if test "$enableval" = yes; then
8645 wx_cv_use_propgrid='wxUSE_PROPGRID=yes'
8646 else
8647 wx_cv_use_propgrid='wxUSE_PROPGRID=no'
8648 fi
8649
8650 else
8651
8652 wx_cv_use_propgrid='wxUSE_PROPGRID=${'DEFAULT_wxUSE_PROPGRID":-$defaultval}"
8653
8654 fi
8655
8656
8657 eval "$wx_cv_use_propgrid"
8658
8659 if test x"$enablestring" = xdisable; then
8660 if test $wxUSE_PROPGRID = no; then
8661 result=yes
8662 else
8663 result=no
8664 fi
8665 else
8666 result=$wxUSE_PROPGRID
8667 fi
8668
8669 { echo "$as_me:$LINENO: result: $result" >&5
8670 echo "${ECHO_T}$result" >&6; }
8671
8672
8673 enablestring=
8674 defaultval=$wxUSE_ALL_FEATURES
8675 if test -z "$defaultval"; then
8676 if test x"$enablestring" = xdisable; then
8677 defaultval=yes
8678 else
8679 defaultval=no
8680 fi
8681 fi
8682
8683 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ribbon" >&5
8684 echo $ECHO_N "checking for --${enablestring:-enable}-ribbon... $ECHO_C" >&6; }
8685 # Check whether --enable-ribbon was given.
8686 if test "${enable_ribbon+set}" = set; then
8687 enableval=$enable_ribbon;
8688 if test "$enableval" = yes; then
8689 wx_cv_use_ribbon='wxUSE_RIBBON=yes'
8690 else
8691 wx_cv_use_ribbon='wxUSE_RIBBON=no'
8692 fi
8693
8694 else
8695
8696 wx_cv_use_ribbon='wxUSE_RIBBON=${'DEFAULT_wxUSE_RIBBON":-$defaultval}"
8697
8698 fi
8699
8700
8701 eval "$wx_cv_use_ribbon"
8702
8703 if test x"$enablestring" = xdisable; then
8704 if test $wxUSE_RIBBON = no; then
8705 result=yes
8706 else
8707 result=no
8708 fi
8709 else
8710 result=$wxUSE_RIBBON
8711 fi
8712
8713 { echo "$as_me:$LINENO: result: $result" >&5
8714 echo "${ECHO_T}$result" >&6; }
8715
8716
8717 enablestring=
8718 defaultval=$wxUSE_ALL_FEATURES
8719 if test -z "$defaultval"; then
8720 if test x"$enablestring" = xdisable; then
8721 defaultval=yes
8722 else
8723 defaultval=no
8724 fi
8725 fi
8726
8727 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
8728 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
8729 # Check whether --enable-stc was given.
8730 if test "${enable_stc+set}" = set; then
8731 enableval=$enable_stc;
8732 if test "$enableval" = yes; then
8733 wx_cv_use_stc='wxUSE_STC=yes'
8734 else
8735 wx_cv_use_stc='wxUSE_STC=no'
8736 fi
8737
8738 else
8739
8740 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
8741
8742 fi
8743
8744
8745 eval "$wx_cv_use_stc"
8746
8747 if test x"$enablestring" = xdisable; then
8748 if test $wxUSE_STC = no; then
8749 result=yes
8750 else
8751 result=no
8752 fi
8753 else
8754 result=$wxUSE_STC
8755 fi
8756
8757 { echo "$as_me:$LINENO: result: $result" >&5
8758 echo "${ECHO_T}$result" >&6; }
8759
8760
8761 enablestring=
8762 defaultval=$wxUSE_ALL_FEATURES
8763 if test -z "$defaultval"; then
8764 if test x"$enablestring" = xdisable; then
8765 defaultval=yes
8766 else
8767 defaultval=no
8768 fi
8769 fi
8770
8771 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
8772 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
8773 # Check whether --enable-constraints was given.
8774 if test "${enable_constraints+set}" = set; then
8775 enableval=$enable_constraints;
8776 if test "$enableval" = yes; then
8777 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
8778 else
8779 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
8780 fi
8781
8782 else
8783
8784 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
8785
8786 fi
8787
8788
8789 eval "$wx_cv_use_constraints"
8790
8791 if test x"$enablestring" = xdisable; then
8792 if test $wxUSE_CONSTRAINTS = no; then
8793 result=yes
8794 else
8795 result=no
8796 fi
8797 else
8798 result=$wxUSE_CONSTRAINTS
8799 fi
8800
8801 { echo "$as_me:$LINENO: result: $result" >&5
8802 echo "${ECHO_T}$result" >&6; }
8803
8804
8805 enablestring=
8806 defaultval=$wxUSE_ALL_FEATURES
8807 if test -z "$defaultval"; then
8808 if test x"$enablestring" = xdisable; then
8809 defaultval=yes
8810 else
8811 defaultval=no
8812 fi
8813 fi
8814
8815 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
8816 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
8817 # Check whether --enable-loggui was given.
8818 if test "${enable_loggui+set}" = set; then
8819 enableval=$enable_loggui;
8820 if test "$enableval" = yes; then
8821 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
8822 else
8823 wx_cv_use_loggui='wxUSE_LOGGUI=no'
8824 fi
8825
8826 else
8827
8828 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
8829
8830 fi
8831
8832
8833 eval "$wx_cv_use_loggui"
8834
8835 if test x"$enablestring" = xdisable; then
8836 if test $wxUSE_LOGGUI = no; then
8837 result=yes
8838 else
8839 result=no
8840 fi
8841 else
8842 result=$wxUSE_LOGGUI
8843 fi
8844
8845 { echo "$as_me:$LINENO: result: $result" >&5
8846 echo "${ECHO_T}$result" >&6; }
8847
8848
8849 enablestring=
8850 defaultval=$wxUSE_ALL_FEATURES
8851 if test -z "$defaultval"; then
8852 if test x"$enablestring" = xdisable; then
8853 defaultval=yes
8854 else
8855 defaultval=no
8856 fi
8857 fi
8858
8859 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
8860 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
8861 # Check whether --enable-logwin was given.
8862 if test "${enable_logwin+set}" = set; then
8863 enableval=$enable_logwin;
8864 if test "$enableval" = yes; then
8865 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
8866 else
8867 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
8868 fi
8869
8870 else
8871
8872 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
8873
8874 fi
8875
8876
8877 eval "$wx_cv_use_logwin"
8878
8879 if test x"$enablestring" = xdisable; then
8880 if test $wxUSE_LOGWINDOW = no; then
8881 result=yes
8882 else
8883 result=no
8884 fi
8885 else
8886 result=$wxUSE_LOGWINDOW
8887 fi
8888
8889 { echo "$as_me:$LINENO: result: $result" >&5
8890 echo "${ECHO_T}$result" >&6; }
8891
8892
8893 enablestring=
8894 defaultval=$wxUSE_ALL_FEATURES
8895 if test -z "$defaultval"; then
8896 if test x"$enablestring" = xdisable; then
8897 defaultval=yes
8898 else
8899 defaultval=no
8900 fi
8901 fi
8902
8903 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
8904 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
8905 # Check whether --enable-logdialog was given.
8906 if test "${enable_logdialog+set}" = set; then
8907 enableval=$enable_logdialog;
8908 if test "$enableval" = yes; then
8909 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
8910 else
8911 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
8912 fi
8913
8914 else
8915
8916 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
8917
8918 fi
8919
8920
8921 eval "$wx_cv_use_logdialog"
8922
8923 if test x"$enablestring" = xdisable; then
8924 if test $wxUSE_LOGDIALOG = no; then
8925 result=yes
8926 else
8927 result=no
8928 fi
8929 else
8930 result=$wxUSE_LOGDIALOG
8931 fi
8932
8933 { echo "$as_me:$LINENO: result: $result" >&5
8934 echo "${ECHO_T}$result" >&6; }
8935
8936
8937 enablestring=
8938 defaultval=$wxUSE_ALL_FEATURES
8939 if test -z "$defaultval"; then
8940 if test x"$enablestring" = xdisable; then
8941 defaultval=yes
8942 else
8943 defaultval=no
8944 fi
8945 fi
8946
8947 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
8948 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
8949 # Check whether --enable-mdi was given.
8950 if test "${enable_mdi+set}" = set; then
8951 enableval=$enable_mdi;
8952 if test "$enableval" = yes; then
8953 wx_cv_use_mdi='wxUSE_MDI=yes'
8954 else
8955 wx_cv_use_mdi='wxUSE_MDI=no'
8956 fi
8957
8958 else
8959
8960 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
8961
8962 fi
8963
8964
8965 eval "$wx_cv_use_mdi"
8966
8967 if test x"$enablestring" = xdisable; then
8968 if test $wxUSE_MDI = no; then
8969 result=yes
8970 else
8971 result=no
8972 fi
8973 else
8974 result=$wxUSE_MDI
8975 fi
8976
8977 { echo "$as_me:$LINENO: result: $result" >&5
8978 echo "${ECHO_T}$result" >&6; }
8979
8980
8981 enablestring=
8982 defaultval=$wxUSE_ALL_FEATURES
8983 if test -z "$defaultval"; then
8984 if test x"$enablestring" = xdisable; then
8985 defaultval=yes
8986 else
8987 defaultval=no
8988 fi
8989 fi
8990
8991 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
8992 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
8993 # Check whether --enable-mdidoc was given.
8994 if test "${enable_mdidoc+set}" = set; then
8995 enableval=$enable_mdidoc;
8996 if test "$enableval" = yes; then
8997 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
8998 else
8999 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
9000 fi
9001
9002 else
9003
9004 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
9005
9006 fi
9007
9008
9009 eval "$wx_cv_use_mdidoc"
9010
9011 if test x"$enablestring" = xdisable; then
9012 if test $wxUSE_MDI_ARCHITECTURE = no; then
9013 result=yes
9014 else
9015 result=no
9016 fi
9017 else
9018 result=$wxUSE_MDI_ARCHITECTURE
9019 fi
9020
9021 { echo "$as_me:$LINENO: result: $result" >&5
9022 echo "${ECHO_T}$result" >&6; }
9023
9024
9025 enablestring=
9026 defaultval=$wxUSE_ALL_FEATURES
9027 if test -z "$defaultval"; then
9028 if test x"$enablestring" = xdisable; then
9029 defaultval=yes
9030 else
9031 defaultval=no
9032 fi
9033 fi
9034
9035 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
9036 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
9037 # Check whether --enable-mediactrl was given.
9038 if test "${enable_mediactrl+set}" = set; then
9039 enableval=$enable_mediactrl;
9040 if test "$enableval" = yes; then
9041 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
9042 else
9043 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
9044 fi
9045
9046 else
9047
9048 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
9049
9050 fi
9051
9052
9053 eval "$wx_cv_use_mediactrl"
9054
9055 if test x"$enablestring" = xdisable; then
9056 if test $wxUSE_MEDIACTRL = no; then
9057 result=yes
9058 else
9059 result=no
9060 fi
9061 else
9062 result=$wxUSE_MEDIACTRL
9063 fi
9064
9065 { echo "$as_me:$LINENO: result: $result" >&5
9066 echo "${ECHO_T}$result" >&6; }
9067
9068
9069 enablestring=
9070 defaultval=$wxUSE_ALL_FEATURES
9071 if test -z "$defaultval"; then
9072 if test x"$enablestring" = xdisable; then
9073 defaultval=yes
9074 else
9075 defaultval=no
9076 fi
9077 fi
9078
9079 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
9080 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
9081 # Check whether --enable-gstreamer8 was given.
9082 if test "${enable_gstreamer8+set}" = set; then
9083 enableval=$enable_gstreamer8;
9084 if test "$enableval" = yes; then
9085 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
9086 else
9087 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
9088 fi
9089
9090 else
9091
9092 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
9093
9094 fi
9095
9096
9097 eval "$wx_cv_use_gstreamer8"
9098
9099 if test x"$enablestring" = xdisable; then
9100 if test $wxUSE_GSTREAMER8 = no; then
9101 result=yes
9102 else
9103 result=no
9104 fi
9105 else
9106 result=$wxUSE_GSTREAMER8
9107 fi
9108
9109 { echo "$as_me:$LINENO: result: $result" >&5
9110 echo "${ECHO_T}$result" >&6; }
9111
9112
9113 enablestring=
9114 defaultval=$wxUSE_ALL_FEATURES
9115 if test -z "$defaultval"; then
9116 if test x"$enablestring" = xdisable; then
9117 defaultval=yes
9118 else
9119 defaultval=no
9120 fi
9121 fi
9122
9123 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
9124 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
9125 # Check whether --enable-webkit was given.
9126 if test "${enable_webkit+set}" = set; then
9127 enableval=$enable_webkit;
9128 if test "$enableval" = yes; then
9129 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
9130 else
9131 wx_cv_use_webkit='wxUSE_WEBKIT=no'
9132 fi
9133
9134 else
9135
9136 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
9137
9138 fi
9139
9140
9141 eval "$wx_cv_use_webkit"
9142
9143 if test x"$enablestring" = xdisable; then
9144 if test $wxUSE_WEBKIT = no; then
9145 result=yes
9146 else
9147 result=no
9148 fi
9149 else
9150 result=$wxUSE_WEBKIT
9151 fi
9152
9153 { echo "$as_me:$LINENO: result: $result" >&5
9154 echo "${ECHO_T}$result" >&6; }
9155
9156
9157 enablestring=
9158 defaultval=$wxUSE_ALL_FEATURES
9159 if test -z "$defaultval"; then
9160 if test x"$enablestring" = xdisable; then
9161 defaultval=yes
9162 else
9163 defaultval=no
9164 fi
9165 fi
9166
9167 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
9168 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
9169 # Check whether --enable-richtext was given.
9170 if test "${enable_richtext+set}" = set; then
9171 enableval=$enable_richtext;
9172 if test "$enableval" = yes; then
9173 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
9174 else
9175 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
9176 fi
9177
9178 else
9179
9180 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
9181
9182 fi
9183
9184
9185 eval "$wx_cv_use_richtext"
9186
9187 if test x"$enablestring" = xdisable; then
9188 if test $wxUSE_RICHTEXT = no; then
9189 result=yes
9190 else
9191 result=no
9192 fi
9193 else
9194 result=$wxUSE_RICHTEXT
9195 fi
9196
9197 { echo "$as_me:$LINENO: result: $result" >&5
9198 echo "${ECHO_T}$result" >&6; }
9199
9200
9201 enablestring=
9202 defaultval=$wxUSE_ALL_FEATURES
9203 if test -z "$defaultval"; then
9204 if test x"$enablestring" = xdisable; then
9205 defaultval=yes
9206 else
9207 defaultval=no
9208 fi
9209 fi
9210
9211 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
9212 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
9213 # Check whether --enable-graphics_ctx was given.
9214 if test "${enable_graphics_ctx+set}" = set; then
9215 enableval=$enable_graphics_ctx;
9216 if test "$enableval" = yes; then
9217 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
9218 else
9219 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
9220 fi
9221
9222 else
9223
9224 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
9225
9226 fi
9227
9228
9229 eval "$wx_cv_use_graphics_ctx"
9230
9231 if test x"$enablestring" = xdisable; then
9232 if test $wxUSE_GRAPHICS_CONTEXT = no; then
9233 result=yes
9234 else
9235 result=no
9236 fi
9237 else
9238 result=$wxUSE_GRAPHICS_CONTEXT
9239 fi
9240
9241 { echo "$as_me:$LINENO: result: $result" >&5
9242 echo "${ECHO_T}$result" >&6; }
9243
9244
9245 enablestring=
9246 defaultval=$wxUSE_ALL_FEATURES
9247 if test -z "$defaultval"; then
9248 if test x"$enablestring" = xdisable; then
9249 defaultval=yes
9250 else
9251 defaultval=no
9252 fi
9253 fi
9254
9255 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
9256 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
9257 # Check whether --enable-postscript was given.
9258 if test "${enable_postscript+set}" = set; then
9259 enableval=$enable_postscript;
9260 if test "$enableval" = yes; then
9261 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
9262 else
9263 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
9264 fi
9265
9266 else
9267
9268 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
9269
9270 fi
9271
9272
9273 eval "$wx_cv_use_postscript"
9274
9275 if test x"$enablestring" = xdisable; then
9276 if test $wxUSE_POSTSCRIPT = no; then
9277 result=yes
9278 else
9279 result=no
9280 fi
9281 else
9282 result=$wxUSE_POSTSCRIPT
9283 fi
9284
9285 { echo "$as_me:$LINENO: result: $result" >&5
9286 echo "${ECHO_T}$result" >&6; }
9287
9288
9289 enablestring=
9290 defaultval=$wxUSE_ALL_FEATURES
9291 if test -z "$defaultval"; then
9292 if test x"$enablestring" = xdisable; then
9293 defaultval=yes
9294 else
9295 defaultval=no
9296 fi
9297 fi
9298
9299 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
9300 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
9301 # Check whether --enable-printarch was given.
9302 if test "${enable_printarch+set}" = set; then
9303 enableval=$enable_printarch;
9304 if test "$enableval" = yes; then
9305 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
9306 else
9307 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
9308 fi
9309
9310 else
9311
9312 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
9313
9314 fi
9315
9316
9317 eval "$wx_cv_use_printarch"
9318
9319 if test x"$enablestring" = xdisable; then
9320 if test $wxUSE_PRINTING_ARCHITECTURE = no; then
9321 result=yes
9322 else
9323 result=no
9324 fi
9325 else
9326 result=$wxUSE_PRINTING_ARCHITECTURE
9327 fi
9328
9329 { echo "$as_me:$LINENO: result: $result" >&5
9330 echo "${ECHO_T}$result" >&6; }
9331
9332
9333 enablestring=
9334 defaultval=$wxUSE_ALL_FEATURES
9335 if test -z "$defaultval"; then
9336 if test x"$enablestring" = xdisable; then
9337 defaultval=yes
9338 else
9339 defaultval=no
9340 fi
9341 fi
9342
9343 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
9344 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
9345 # Check whether --enable-svg was given.
9346 if test "${enable_svg+set}" = set; then
9347 enableval=$enable_svg;
9348 if test "$enableval" = yes; then
9349 wx_cv_use_svg='wxUSE_SVG=yes'
9350 else
9351 wx_cv_use_svg='wxUSE_SVG=no'
9352 fi
9353
9354 else
9355
9356 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
9357
9358 fi
9359
9360
9361 eval "$wx_cv_use_svg"
9362
9363 if test x"$enablestring" = xdisable; then
9364 if test $wxUSE_SVG = no; then
9365 result=yes
9366 else
9367 result=no
9368 fi
9369 else
9370 result=$wxUSE_SVG
9371 fi
9372
9373 { echo "$as_me:$LINENO: result: $result" >&5
9374 echo "${ECHO_T}$result" >&6; }
9375
9376
9377
9378
9379 enablestring=
9380 defaultval=$wxUSE_ALL_FEATURES
9381 if test -z "$defaultval"; then
9382 if test x"$enablestring" = xdisable; then
9383 defaultval=yes
9384 else
9385 defaultval=no
9386 fi
9387 fi
9388
9389 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
9390 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
9391 # Check whether --enable-clipboard was given.
9392 if test "${enable_clipboard+set}" = set; then
9393 enableval=$enable_clipboard;
9394 if test "$enableval" = yes; then
9395 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
9396 else
9397 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
9398 fi
9399
9400 else
9401
9402 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
9403
9404 fi
9405
9406
9407 eval "$wx_cv_use_clipboard"
9408
9409 if test x"$enablestring" = xdisable; then
9410 if test $wxUSE_CLIPBOARD = no; then
9411 result=yes
9412 else
9413 result=no
9414 fi
9415 else
9416 result=$wxUSE_CLIPBOARD
9417 fi
9418
9419 { echo "$as_me:$LINENO: result: $result" >&5
9420 echo "${ECHO_T}$result" >&6; }
9421
9422
9423 enablestring=
9424 defaultval=$wxUSE_ALL_FEATURES
9425 if test -z "$defaultval"; then
9426 if test x"$enablestring" = xdisable; then
9427 defaultval=yes
9428 else
9429 defaultval=no
9430 fi
9431 fi
9432
9433 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
9434 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
9435 # Check whether --enable-dnd was given.
9436 if test "${enable_dnd+set}" = set; then
9437 enableval=$enable_dnd;
9438 if test "$enableval" = yes; then
9439 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
9440 else
9441 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
9442 fi
9443
9444 else
9445
9446 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
9447
9448 fi
9449
9450
9451 eval "$wx_cv_use_dnd"
9452
9453 if test x"$enablestring" = xdisable; then
9454 if test $wxUSE_DRAG_AND_DROP = no; then
9455 result=yes
9456 else
9457 result=no
9458 fi
9459 else
9460 result=$wxUSE_DRAG_AND_DROP
9461 fi
9462
9463 { echo "$as_me:$LINENO: result: $result" >&5
9464 echo "${ECHO_T}$result" >&6; }
9465
9466
9467 enablestring=
9468 defaultval=$wxUSE_ALL_FEATURES
9469 if test -z "$defaultval"; then
9470 if test x"$enablestring" = xdisable; then
9471 defaultval=yes
9472 else
9473 defaultval=no
9474 fi
9475 fi
9476
9477 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9478 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
9479 # Check whether --enable-metafile was given.
9480 if test "${enable_metafile+set}" = set; then
9481 enableval=$enable_metafile;
9482 if test "$enableval" = yes; then
9483 wx_cv_use_metafile='wxUSE_METAFILE=yes'
9484 else
9485 wx_cv_use_metafile='wxUSE_METAFILE=no'
9486 fi
9487
9488 else
9489
9490 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
9491
9492 fi
9493
9494
9495 eval "$wx_cv_use_metafile"
9496
9497 if test x"$enablestring" = xdisable; then
9498 if test $wxUSE_METAFILE = no; then
9499 result=yes
9500 else
9501 result=no
9502 fi
9503 else
9504 result=$wxUSE_METAFILE
9505 fi
9506
9507 { echo "$as_me:$LINENO: result: $result" >&5
9508 echo "${ECHO_T}$result" >&6; }
9509
9510
9511
9512 DEFAULT_wxUSE_CONTROLS=none
9513
9514 enablestring=disable
9515 defaultval=
9516 if test -z "$defaultval"; then
9517 if test x"$enablestring" = xdisable; then
9518 defaultval=yes
9519 else
9520 defaultval=no
9521 fi
9522 fi
9523
9524 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
9525 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
9526 # Check whether --enable-controls was given.
9527 if test "${enable_controls+set}" = set; then
9528 enableval=$enable_controls;
9529 if test "$enableval" = yes; then
9530 wx_cv_use_controls='wxUSE_CONTROLS=yes'
9531 else
9532 wx_cv_use_controls='wxUSE_CONTROLS=no'
9533 fi
9534
9535 else
9536
9537 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
9538
9539 fi
9540
9541
9542 eval "$wx_cv_use_controls"
9543
9544 if test x"$enablestring" = xdisable; then
9545 if test $wxUSE_CONTROLS = no; then
9546 result=yes
9547 else
9548 result=no
9549 fi
9550 else
9551 result=$wxUSE_CONTROLS
9552 fi
9553
9554 { echo "$as_me:$LINENO: result: $result" >&5
9555 echo "${ECHO_T}$result" >&6; }
9556
9557
9558 if test "$wxUSE_CONTROLS" = "no"; then
9559 DEFAULT_wxUSE_ACCEL=no
9560 DEFAULT_wxUSE_ANIMATIONCTRL=no
9561 DEFAULT_wxUSE_BMPBUTTON=no
9562 DEFAULT_wxUSE_BUTTON=no
9563 DEFAULT_wxUSE_CALCTRL=no
9564 DEFAULT_wxUSE_CARET=no
9565 DEFAULT_wxUSE_CHECKBOX=no
9566 DEFAULT_wxUSE_CHECKLISTBOX=no
9567 DEFAULT_wxUSE_CHOICE=no
9568 DEFAULT_wxUSE_CHOICEBOOK=no
9569 DEFAULT_wxUSE_COLLPANE=no
9570 DEFAULT_wxUSE_COLOURPICKERCTRL=no
9571 DEFAULT_wxUSE_COMBOBOX=no
9572 DEFAULT_wxUSE_COMBOBOX=no
9573 DEFAULT_wxUSE_DATAVIEWCTRL=no
9574 DEFAULT_wxUSE_DATEPICKCTRL=no
9575 DEFAULT_wxUSE_DETECT_SM=no
9576 DEFAULT_wxUSE_DIRPICKERCTRL=no
9577 DEFAULT_wxUSE_DISPLAY=no
9578 DEFAULT_wxUSE_FILECTRL=no
9579 DEFAULT_wxUSE_FILEPICKERCTRL=no
9580 DEFAULT_wxUSE_FONTPICKERCTRL=no
9581 DEFAULT_wxUSE_GAUGE=no
9582 DEFAULT_wxUSE_GRID=no
9583 DEFAULT_wxUSE_HEADERCTRL=no
9584 DEFAULT_wxUSE_HYPERLINKCTRL=no
9585 DEFAULT_wxUSE_IMAGLIST=no
9586 DEFAULT_wxUSE_LISTBOOK=no
9587 DEFAULT_wxUSE_LISTBOX=no
9588 DEFAULT_wxUSE_LISTCTRL=no
9589 DEFAULT_wxUSE_NOTEBOOK=no
9590 DEFAULT_wxUSE_POPUPWIN=no
9591 DEFAULT_wxUSE_RADIOBOX=no
9592 DEFAULT_wxUSE_RADIOBTN=no
9593 DEFAULT_wxUSE_REARRANGECTRL=no
9594 DEFAULT_wxUSE_SASH=no
9595 DEFAULT_wxUSE_SCROLLBAR=no
9596 DEFAULT_wxUSE_SEARCHCTRL=no
9597 DEFAULT_wxUSE_SLIDER=no
9598 DEFAULT_wxUSE_SPINBTN=no
9599 DEFAULT_wxUSE_SPINCTRL=no
9600 DEFAULT_wxUSE_SPLITTER=no
9601 DEFAULT_wxUSE_STATBMP=no
9602 DEFAULT_wxUSE_STATBOX=no
9603 DEFAULT_wxUSE_STATLINE=no
9604 DEFAULT_wxUSE_STATUSBAR=no
9605 DEFAULT_wxUSE_TIPWINDOW=no
9606 DEFAULT_wxUSE_TOGGLEBTN=no
9607 DEFAULT_wxUSE_TOOLBAR=no
9608 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
9609 DEFAULT_wxUSE_TOOLBOOK=no
9610 DEFAULT_wxUSE_TOOLTIPS=no
9611 DEFAULT_wxUSE_TREEBOOK=no
9612 DEFAULT_wxUSE_TREECTRL=no
9613 fi
9614
9615
9616 enablestring=
9617 defaultval=$wxUSE_ALL_FEATURES
9618 if test -z "$defaultval"; then
9619 if test x"$enablestring" = xdisable; then
9620 defaultval=yes
9621 else
9622 defaultval=no
9623 fi
9624 fi
9625
9626 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
9627 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
9628 # Check whether --enable-accel was given.
9629 if test "${enable_accel+set}" = set; then
9630 enableval=$enable_accel;
9631 if test "$enableval" = yes; then
9632 wx_cv_use_accel='wxUSE_ACCEL=yes'
9633 else
9634 wx_cv_use_accel='wxUSE_ACCEL=no'
9635 fi
9636
9637 else
9638
9639 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
9640
9641 fi
9642
9643
9644 eval "$wx_cv_use_accel"
9645
9646 if test x"$enablestring" = xdisable; then
9647 if test $wxUSE_ACCEL = no; then
9648 result=yes
9649 else
9650 result=no
9651 fi
9652 else
9653 result=$wxUSE_ACCEL
9654 fi
9655
9656 { echo "$as_me:$LINENO: result: $result" >&5
9657 echo "${ECHO_T}$result" >&6; }
9658
9659
9660 enablestring=
9661 defaultval=$wxUSE_ALL_FEATURES
9662 if test -z "$defaultval"; then
9663 if test x"$enablestring" = xdisable; then
9664 defaultval=yes
9665 else
9666 defaultval=no
9667 fi
9668 fi
9669
9670 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
9671 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
9672 # Check whether --enable-animatectrl was given.
9673 if test "${enable_animatectrl+set}" = set; then
9674 enableval=$enable_animatectrl;
9675 if test "$enableval" = yes; then
9676 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
9677 else
9678 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
9679 fi
9680
9681 else
9682
9683 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
9684
9685 fi
9686
9687
9688 eval "$wx_cv_use_animatectrl"
9689
9690 if test x"$enablestring" = xdisable; then
9691 if test $wxUSE_ANIMATIONCTRL = no; then
9692 result=yes
9693 else
9694 result=no
9695 fi
9696 else
9697 result=$wxUSE_ANIMATIONCTRL
9698 fi
9699
9700 { echo "$as_me:$LINENO: result: $result" >&5
9701 echo "${ECHO_T}$result" >&6; }
9702
9703
9704 enablestring=
9705 defaultval=$wxUSE_ALL_FEATURES
9706 if test -z "$defaultval"; then
9707 if test x"$enablestring" = xdisable; then
9708 defaultval=yes
9709 else
9710 defaultval=no
9711 fi
9712 fi
9713
9714 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
9715 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
9716 # Check whether --enable-bmpbutton was given.
9717 if test "${enable_bmpbutton+set}" = set; then
9718 enableval=$enable_bmpbutton;
9719 if test "$enableval" = yes; then
9720 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
9721 else
9722 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
9723 fi
9724
9725 else
9726
9727 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
9728
9729 fi
9730
9731
9732 eval "$wx_cv_use_bmpbutton"
9733
9734 if test x"$enablestring" = xdisable; then
9735 if test $wxUSE_BMPBUTTON = no; then
9736 result=yes
9737 else
9738 result=no
9739 fi
9740 else
9741 result=$wxUSE_BMPBUTTON
9742 fi
9743
9744 { echo "$as_me:$LINENO: result: $result" >&5
9745 echo "${ECHO_T}$result" >&6; }
9746
9747
9748 enablestring=
9749 defaultval=$wxUSE_ALL_FEATURES
9750 if test -z "$defaultval"; then
9751 if test x"$enablestring" = xdisable; then
9752 defaultval=yes
9753 else
9754 defaultval=no
9755 fi
9756 fi
9757
9758 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
9759 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
9760 # Check whether --enable-bmpcombobox was given.
9761 if test "${enable_bmpcombobox+set}" = set; then
9762 enableval=$enable_bmpcombobox;
9763 if test "$enableval" = yes; then
9764 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
9765 else
9766 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
9767 fi
9768
9769 else
9770
9771 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
9772
9773 fi
9774
9775
9776 eval "$wx_cv_use_bmpcombobox"
9777
9778 if test x"$enablestring" = xdisable; then
9779 if test $wxUSE_BITMAPCOMBOBOX = no; then
9780 result=yes
9781 else
9782 result=no
9783 fi
9784 else
9785 result=$wxUSE_BITMAPCOMBOBOX
9786 fi
9787
9788 { echo "$as_me:$LINENO: result: $result" >&5
9789 echo "${ECHO_T}$result" >&6; }
9790
9791
9792 enablestring=
9793 defaultval=$wxUSE_ALL_FEATURES
9794 if test -z "$defaultval"; then
9795 if test x"$enablestring" = xdisable; then
9796 defaultval=yes
9797 else
9798 defaultval=no
9799 fi
9800 fi
9801
9802 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
9803 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
9804 # Check whether --enable-button was given.
9805 if test "${enable_button+set}" = set; then
9806 enableval=$enable_button;
9807 if test "$enableval" = yes; then
9808 wx_cv_use_button='wxUSE_BUTTON=yes'
9809 else
9810 wx_cv_use_button='wxUSE_BUTTON=no'
9811 fi
9812
9813 else
9814
9815 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
9816
9817 fi
9818
9819
9820 eval "$wx_cv_use_button"
9821
9822 if test x"$enablestring" = xdisable; then
9823 if test $wxUSE_BUTTON = no; then
9824 result=yes
9825 else
9826 result=no
9827 fi
9828 else
9829 result=$wxUSE_BUTTON
9830 fi
9831
9832 { echo "$as_me:$LINENO: result: $result" >&5
9833 echo "${ECHO_T}$result" >&6; }
9834
9835
9836 enablestring=
9837 defaultval=$wxUSE_ALL_FEATURES
9838 if test -z "$defaultval"; then
9839 if test x"$enablestring" = xdisable; then
9840 defaultval=yes
9841 else
9842 defaultval=no
9843 fi
9844 fi
9845
9846 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
9847 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
9848 # Check whether --enable-calendar was given.
9849 if test "${enable_calendar+set}" = set; then
9850 enableval=$enable_calendar;
9851 if test "$enableval" = yes; then
9852 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
9853 else
9854 wx_cv_use_calendar='wxUSE_CALCTRL=no'
9855 fi
9856
9857 else
9858
9859 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
9860
9861 fi
9862
9863
9864 eval "$wx_cv_use_calendar"
9865
9866 if test x"$enablestring" = xdisable; then
9867 if test $wxUSE_CALCTRL = no; then
9868 result=yes
9869 else
9870 result=no
9871 fi
9872 else
9873 result=$wxUSE_CALCTRL
9874 fi
9875
9876 { echo "$as_me:$LINENO: result: $result" >&5
9877 echo "${ECHO_T}$result" >&6; }
9878
9879
9880 enablestring=
9881 defaultval=$wxUSE_ALL_FEATURES
9882 if test -z "$defaultval"; then
9883 if test x"$enablestring" = xdisable; then
9884 defaultval=yes
9885 else
9886 defaultval=no
9887 fi
9888 fi
9889
9890 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
9891 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
9892 # Check whether --enable-caret was given.
9893 if test "${enable_caret+set}" = set; then
9894 enableval=$enable_caret;
9895 if test "$enableval" = yes; then
9896 wx_cv_use_caret='wxUSE_CARET=yes'
9897 else
9898 wx_cv_use_caret='wxUSE_CARET=no'
9899 fi
9900
9901 else
9902
9903 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
9904
9905 fi
9906
9907
9908 eval "$wx_cv_use_caret"
9909
9910 if test x"$enablestring" = xdisable; then
9911 if test $wxUSE_CARET = no; then
9912 result=yes
9913 else
9914 result=no
9915 fi
9916 else
9917 result=$wxUSE_CARET
9918 fi
9919
9920 { echo "$as_me:$LINENO: result: $result" >&5
9921 echo "${ECHO_T}$result" >&6; }
9922
9923
9924 enablestring=
9925 defaultval=$wxUSE_ALL_FEATURES
9926 if test -z "$defaultval"; then
9927 if test x"$enablestring" = xdisable; then
9928 defaultval=yes
9929 else
9930 defaultval=no
9931 fi
9932 fi
9933
9934 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
9935 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
9936 # Check whether --enable-checkbox was given.
9937 if test "${enable_checkbox+set}" = set; then
9938 enableval=$enable_checkbox;
9939 if test "$enableval" = yes; then
9940 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
9941 else
9942 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
9943 fi
9944
9945 else
9946
9947 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
9948
9949 fi
9950
9951
9952 eval "$wx_cv_use_checkbox"
9953
9954 if test x"$enablestring" = xdisable; then
9955 if test $wxUSE_CHECKBOX = no; then
9956 result=yes
9957 else
9958 result=no
9959 fi
9960 else
9961 result=$wxUSE_CHECKBOX
9962 fi
9963
9964 { echo "$as_me:$LINENO: result: $result" >&5
9965 echo "${ECHO_T}$result" >&6; }
9966
9967
9968 enablestring=
9969 defaultval=$wxUSE_ALL_FEATURES
9970 if test -z "$defaultval"; then
9971 if test x"$enablestring" = xdisable; then
9972 defaultval=yes
9973 else
9974 defaultval=no
9975 fi
9976 fi
9977
9978 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
9979 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
9980 # Check whether --enable-checklst was given.
9981 if test "${enable_checklst+set}" = set; then
9982 enableval=$enable_checklst;
9983 if test "$enableval" = yes; then
9984 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
9985 else
9986 wx_cv_use_checklst='wxUSE_CHECKLST=no'
9987 fi
9988
9989 else
9990
9991 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
9992
9993 fi
9994
9995
9996 eval "$wx_cv_use_checklst"
9997
9998 if test x"$enablestring" = xdisable; then
9999 if test $wxUSE_CHECKLST = no; then
10000 result=yes
10001 else
10002 result=no
10003 fi
10004 else
10005 result=$wxUSE_CHECKLST
10006 fi
10007
10008 { echo "$as_me:$LINENO: result: $result" >&5
10009 echo "${ECHO_T}$result" >&6; }
10010
10011
10012 enablestring=
10013 defaultval=$wxUSE_ALL_FEATURES
10014 if test -z "$defaultval"; then
10015 if test x"$enablestring" = xdisable; then
10016 defaultval=yes
10017 else
10018 defaultval=no
10019 fi
10020 fi
10021
10022 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
10023 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
10024 # Check whether --enable-choice was given.
10025 if test "${enable_choice+set}" = set; then
10026 enableval=$enable_choice;
10027 if test "$enableval" = yes; then
10028 wx_cv_use_choice='wxUSE_CHOICE=yes'
10029 else
10030 wx_cv_use_choice='wxUSE_CHOICE=no'
10031 fi
10032
10033 else
10034
10035 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
10036
10037 fi
10038
10039
10040 eval "$wx_cv_use_choice"
10041
10042 if test x"$enablestring" = xdisable; then
10043 if test $wxUSE_CHOICE = no; then
10044 result=yes
10045 else
10046 result=no
10047 fi
10048 else
10049 result=$wxUSE_CHOICE
10050 fi
10051
10052 { echo "$as_me:$LINENO: result: $result" >&5
10053 echo "${ECHO_T}$result" >&6; }
10054
10055
10056 enablestring=
10057 defaultval=$wxUSE_ALL_FEATURES
10058 if test -z "$defaultval"; then
10059 if test x"$enablestring" = xdisable; then
10060 defaultval=yes
10061 else
10062 defaultval=no
10063 fi
10064 fi
10065
10066 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
10067 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
10068 # Check whether --enable-choicebook was given.
10069 if test "${enable_choicebook+set}" = set; then
10070 enableval=$enable_choicebook;
10071 if test "$enableval" = yes; then
10072 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
10073 else
10074 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
10075 fi
10076
10077 else
10078
10079 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
10080
10081 fi
10082
10083
10084 eval "$wx_cv_use_choicebook"
10085
10086 if test x"$enablestring" = xdisable; then
10087 if test $wxUSE_CHOICEBOOK = no; then
10088 result=yes
10089 else
10090 result=no
10091 fi
10092 else
10093 result=$wxUSE_CHOICEBOOK
10094 fi
10095
10096 { echo "$as_me:$LINENO: result: $result" >&5
10097 echo "${ECHO_T}$result" >&6; }
10098
10099
10100 enablestring=
10101 defaultval=$wxUSE_ALL_FEATURES
10102 if test -z "$defaultval"; then
10103 if test x"$enablestring" = xdisable; then
10104 defaultval=yes
10105 else
10106 defaultval=no
10107 fi
10108 fi
10109
10110 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
10111 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
10112 # Check whether --enable-collpane was given.
10113 if test "${enable_collpane+set}" = set; then
10114 enableval=$enable_collpane;
10115 if test "$enableval" = yes; then
10116 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
10117 else
10118 wx_cv_use_collpane='wxUSE_COLLPANE=no'
10119 fi
10120
10121 else
10122
10123 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
10124
10125 fi
10126
10127
10128 eval "$wx_cv_use_collpane"
10129
10130 if test x"$enablestring" = xdisable; then
10131 if test $wxUSE_COLLPANE = no; then
10132 result=yes
10133 else
10134 result=no
10135 fi
10136 else
10137 result=$wxUSE_COLLPANE
10138 fi
10139
10140 { echo "$as_me:$LINENO: result: $result" >&5
10141 echo "${ECHO_T}$result" >&6; }
10142
10143
10144 enablestring=
10145 defaultval=$wxUSE_ALL_FEATURES
10146 if test -z "$defaultval"; then
10147 if test x"$enablestring" = xdisable; then
10148 defaultval=yes
10149 else
10150 defaultval=no
10151 fi
10152 fi
10153
10154 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
10155 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
10156 # Check whether --enable-colourpicker was given.
10157 if test "${enable_colourpicker+set}" = set; then
10158 enableval=$enable_colourpicker;
10159 if test "$enableval" = yes; then
10160 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
10161 else
10162 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
10163 fi
10164
10165 else
10166
10167 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
10168
10169 fi
10170
10171
10172 eval "$wx_cv_use_colourpicker"
10173
10174 if test x"$enablestring" = xdisable; then
10175 if test $wxUSE_COLOURPICKERCTRL = no; then
10176 result=yes
10177 else
10178 result=no
10179 fi
10180 else
10181 result=$wxUSE_COLOURPICKERCTRL
10182 fi
10183
10184 { echo "$as_me:$LINENO: result: $result" >&5
10185 echo "${ECHO_T}$result" >&6; }
10186
10187
10188 enablestring=
10189 defaultval=$wxUSE_ALL_FEATURES
10190 if test -z "$defaultval"; then
10191 if test x"$enablestring" = xdisable; then
10192 defaultval=yes
10193 else
10194 defaultval=no
10195 fi
10196 fi
10197
10198 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
10199 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
10200 # Check whether --enable-combobox was given.
10201 if test "${enable_combobox+set}" = set; then
10202 enableval=$enable_combobox;
10203 if test "$enableval" = yes; then
10204 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
10205 else
10206 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
10207 fi
10208
10209 else
10210
10211 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
10212
10213 fi
10214
10215
10216 eval "$wx_cv_use_combobox"
10217
10218 if test x"$enablestring" = xdisable; then
10219 if test $wxUSE_COMBOBOX = no; then
10220 result=yes
10221 else
10222 result=no
10223 fi
10224 else
10225 result=$wxUSE_COMBOBOX
10226 fi
10227
10228 { echo "$as_me:$LINENO: result: $result" >&5
10229 echo "${ECHO_T}$result" >&6; }
10230
10231
10232 enablestring=
10233 defaultval=$wxUSE_ALL_FEATURES
10234 if test -z "$defaultval"; then
10235 if test x"$enablestring" = xdisable; then
10236 defaultval=yes
10237 else
10238 defaultval=no
10239 fi
10240 fi
10241
10242 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
10243 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
10244 # Check whether --enable-comboctrl was given.
10245 if test "${enable_comboctrl+set}" = set; then
10246 enableval=$enable_comboctrl;
10247 if test "$enableval" = yes; then
10248 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
10249 else
10250 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
10251 fi
10252
10253 else
10254
10255 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
10256
10257 fi
10258
10259
10260 eval "$wx_cv_use_comboctrl"
10261
10262 if test x"$enablestring" = xdisable; then
10263 if test $wxUSE_COMBOCTRL = no; then
10264 result=yes
10265 else
10266 result=no
10267 fi
10268 else
10269 result=$wxUSE_COMBOCTRL
10270 fi
10271
10272 { echo "$as_me:$LINENO: result: $result" >&5
10273 echo "${ECHO_T}$result" >&6; }
10274
10275
10276 enablestring=
10277 defaultval=$wxUSE_ALL_FEATURES
10278 if test -z "$defaultval"; then
10279 if test x"$enablestring" = xdisable; then
10280 defaultval=yes
10281 else
10282 defaultval=no
10283 fi
10284 fi
10285
10286 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
10287 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
10288 # Check whether --enable-dataviewctrl was given.
10289 if test "${enable_dataviewctrl+set}" = set; then
10290 enableval=$enable_dataviewctrl;
10291 if test "$enableval" = yes; then
10292 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
10293 else
10294 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
10295 fi
10296
10297 else
10298
10299 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
10300
10301 fi
10302
10303
10304 eval "$wx_cv_use_dataviewctrl"
10305
10306 if test x"$enablestring" = xdisable; then
10307 if test $wxUSE_DATAVIEWCTRL = no; then
10308 result=yes
10309 else
10310 result=no
10311 fi
10312 else
10313 result=$wxUSE_DATAVIEWCTRL
10314 fi
10315
10316 { echo "$as_me:$LINENO: result: $result" >&5
10317 echo "${ECHO_T}$result" >&6; }
10318
10319
10320 enablestring=
10321 defaultval=$wxUSE_ALL_FEATURES
10322 if test -z "$defaultval"; then
10323 if test x"$enablestring" = xdisable; then
10324 defaultval=yes
10325 else
10326 defaultval=no
10327 fi
10328 fi
10329
10330 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
10331 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
10332 # Check whether --enable-datepick was given.
10333 if test "${enable_datepick+set}" = set; then
10334 enableval=$enable_datepick;
10335 if test "$enableval" = yes; then
10336 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
10337 else
10338 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
10339 fi
10340
10341 else
10342
10343 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
10344
10345 fi
10346
10347
10348 eval "$wx_cv_use_datepick"
10349
10350 if test x"$enablestring" = xdisable; then
10351 if test $wxUSE_DATEPICKCTRL = no; then
10352 result=yes
10353 else
10354 result=no
10355 fi
10356 else
10357 result=$wxUSE_DATEPICKCTRL
10358 fi
10359
10360 { echo "$as_me:$LINENO: result: $result" >&5
10361 echo "${ECHO_T}$result" >&6; }
10362
10363
10364 enablestring=
10365 defaultval=$wxUSE_ALL_FEATURES
10366 if test -z "$defaultval"; then
10367 if test x"$enablestring" = xdisable; then
10368 defaultval=yes
10369 else
10370 defaultval=no
10371 fi
10372 fi
10373
10374 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
10375 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
10376 # Check whether --enable-detect_sm was given.
10377 if test "${enable_detect_sm+set}" = set; then
10378 enableval=$enable_detect_sm;
10379 if test "$enableval" = yes; then
10380 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
10381 else
10382 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
10383 fi
10384
10385 else
10386
10387 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
10388
10389 fi
10390
10391
10392 eval "$wx_cv_use_detect_sm"
10393
10394 if test x"$enablestring" = xdisable; then
10395 if test $wxUSE_DETECT_SM = no; then
10396 result=yes
10397 else
10398 result=no
10399 fi
10400 else
10401 result=$wxUSE_DETECT_SM
10402 fi
10403
10404 { echo "$as_me:$LINENO: result: $result" >&5
10405 echo "${ECHO_T}$result" >&6; }
10406
10407
10408 enablestring=
10409 defaultval=$wxUSE_ALL_FEATURES
10410 if test -z "$defaultval"; then
10411 if test x"$enablestring" = xdisable; then
10412 defaultval=yes
10413 else
10414 defaultval=no
10415 fi
10416 fi
10417
10418 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
10419 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
10420 # Check whether --enable-dirpicker was given.
10421 if test "${enable_dirpicker+set}" = set; then
10422 enableval=$enable_dirpicker;
10423 if test "$enableval" = yes; then
10424 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
10425 else
10426 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
10427 fi
10428
10429 else
10430
10431 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
10432
10433 fi
10434
10435
10436 eval "$wx_cv_use_dirpicker"
10437
10438 if test x"$enablestring" = xdisable; then
10439 if test $wxUSE_DIRPICKERCTRL = no; then
10440 result=yes
10441 else
10442 result=no
10443 fi
10444 else
10445 result=$wxUSE_DIRPICKERCTRL
10446 fi
10447
10448 { echo "$as_me:$LINENO: result: $result" >&5
10449 echo "${ECHO_T}$result" >&6; }
10450
10451
10452 enablestring=
10453 defaultval=$wxUSE_ALL_FEATURES
10454 if test -z "$defaultval"; then
10455 if test x"$enablestring" = xdisable; then
10456 defaultval=yes
10457 else
10458 defaultval=no
10459 fi
10460 fi
10461
10462 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
10463 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
10464 # Check whether --enable-display was given.
10465 if test "${enable_display+set}" = set; then
10466 enableval=$enable_display;
10467 if test "$enableval" = yes; then
10468 wx_cv_use_display='wxUSE_DISPLAY=yes'
10469 else
10470 wx_cv_use_display='wxUSE_DISPLAY=no'
10471 fi
10472
10473 else
10474
10475 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
10476
10477 fi
10478
10479
10480 eval "$wx_cv_use_display"
10481
10482 if test x"$enablestring" = xdisable; then
10483 if test $wxUSE_DISPLAY = no; then
10484 result=yes
10485 else
10486 result=no
10487 fi
10488 else
10489 result=$wxUSE_DISPLAY
10490 fi
10491
10492 { echo "$as_me:$LINENO: result: $result" >&5
10493 echo "${ECHO_T}$result" >&6; }
10494
10495
10496 enablestring=
10497 defaultval=$wxUSE_ALL_FEATURES
10498 if test -z "$defaultval"; then
10499 if test x"$enablestring" = xdisable; then
10500 defaultval=yes
10501 else
10502 defaultval=no
10503 fi
10504 fi
10505
10506 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
10507 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
10508 # Check whether --enable-editablebox was given.
10509 if test "${enable_editablebox+set}" = set; then
10510 enableval=$enable_editablebox;
10511 if test "$enableval" = yes; then
10512 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
10513 else
10514 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
10515 fi
10516
10517 else
10518
10519 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
10520
10521 fi
10522
10523
10524 eval "$wx_cv_use_editablebox"
10525
10526 if test x"$enablestring" = xdisable; then
10527 if test $wxUSE_EDITABLELISTBOX = no; then
10528 result=yes
10529 else
10530 result=no
10531 fi
10532 else
10533 result=$wxUSE_EDITABLELISTBOX
10534 fi
10535
10536 { echo "$as_me:$LINENO: result: $result" >&5
10537 echo "${ECHO_T}$result" >&6; }
10538
10539
10540 enablestring=
10541 defaultval=$wxUSE_ALL_FEATURES
10542 if test -z "$defaultval"; then
10543 if test x"$enablestring" = xdisable; then
10544 defaultval=yes
10545 else
10546 defaultval=no
10547 fi
10548 fi
10549
10550 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filectrl" >&5
10551 echo $ECHO_N "checking for --${enablestring:-enable}-filectrl... $ECHO_C" >&6; }
10552 # Check whether --enable-filectrl was given.
10553 if test "${enable_filectrl+set}" = set; then
10554 enableval=$enable_filectrl;
10555 if test "$enableval" = yes; then
10556 wx_cv_use_filectrl='wxUSE_FILECTRL=yes'
10557 else
10558 wx_cv_use_filectrl='wxUSE_FILECTRL=no'
10559 fi
10560
10561 else
10562
10563 wx_cv_use_filectrl='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
10564
10565 fi
10566
10567
10568 eval "$wx_cv_use_filectrl"
10569
10570 if test x"$enablestring" = xdisable; then
10571 if test $wxUSE_FILECTRL = no; then
10572 result=yes
10573 else
10574 result=no
10575 fi
10576 else
10577 result=$wxUSE_FILECTRL
10578 fi
10579
10580 { echo "$as_me:$LINENO: result: $result" >&5
10581 echo "${ECHO_T}$result" >&6; }
10582
10583
10584 enablestring=
10585 defaultval=$wxUSE_ALL_FEATURES
10586 if test -z "$defaultval"; then
10587 if test x"$enablestring" = xdisable; then
10588 defaultval=yes
10589 else
10590 defaultval=no
10591 fi
10592 fi
10593
10594 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
10595 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
10596 # Check whether --enable-filepicker was given.
10597 if test "${enable_filepicker+set}" = set; then
10598 enableval=$enable_filepicker;
10599 if test "$enableval" = yes; then
10600 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
10601 else
10602 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
10603 fi
10604
10605 else
10606
10607 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
10608
10609 fi
10610
10611
10612 eval "$wx_cv_use_filepicker"
10613
10614 if test x"$enablestring" = xdisable; then
10615 if test $wxUSE_FILEPICKERCTRL = no; then
10616 result=yes
10617 else
10618 result=no
10619 fi
10620 else
10621 result=$wxUSE_FILEPICKERCTRL
10622 fi
10623
10624 { echo "$as_me:$LINENO: result: $result" >&5
10625 echo "${ECHO_T}$result" >&6; }
10626
10627
10628 enablestring=
10629 defaultval=$wxUSE_ALL_FEATURES
10630 if test -z "$defaultval"; then
10631 if test x"$enablestring" = xdisable; then
10632 defaultval=yes
10633 else
10634 defaultval=no
10635 fi
10636 fi
10637
10638 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
10639 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
10640 # Check whether --enable-fontpicker was given.
10641 if test "${enable_fontpicker+set}" = set; then
10642 enableval=$enable_fontpicker;
10643 if test "$enableval" = yes; then
10644 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
10645 else
10646 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
10647 fi
10648
10649 else
10650
10651 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
10652
10653 fi
10654
10655
10656 eval "$wx_cv_use_fontpicker"
10657
10658 if test x"$enablestring" = xdisable; then
10659 if test $wxUSE_FONTPICKERCTRL = no; then
10660 result=yes
10661 else
10662 result=no
10663 fi
10664 else
10665 result=$wxUSE_FONTPICKERCTRL
10666 fi
10667
10668 { echo "$as_me:$LINENO: result: $result" >&5
10669 echo "${ECHO_T}$result" >&6; }
10670
10671
10672 enablestring=
10673 defaultval=$wxUSE_ALL_FEATURES
10674 if test -z "$defaultval"; then
10675 if test x"$enablestring" = xdisable; then
10676 defaultval=yes
10677 else
10678 defaultval=no
10679 fi
10680 fi
10681
10682 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
10683 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
10684 # Check whether --enable-gauge was given.
10685 if test "${enable_gauge+set}" = set; then
10686 enableval=$enable_gauge;
10687 if test "$enableval" = yes; then
10688 wx_cv_use_gauge='wxUSE_GAUGE=yes'
10689 else
10690 wx_cv_use_gauge='wxUSE_GAUGE=no'
10691 fi
10692
10693 else
10694
10695 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
10696
10697 fi
10698
10699
10700 eval "$wx_cv_use_gauge"
10701
10702 if test x"$enablestring" = xdisable; then
10703 if test $wxUSE_GAUGE = no; then
10704 result=yes
10705 else
10706 result=no
10707 fi
10708 else
10709 result=$wxUSE_GAUGE
10710 fi
10711
10712 { echo "$as_me:$LINENO: result: $result" >&5
10713 echo "${ECHO_T}$result" >&6; }
10714
10715
10716 enablestring=
10717 defaultval=$wxUSE_ALL_FEATURES
10718 if test -z "$defaultval"; then
10719 if test x"$enablestring" = xdisable; then
10720 defaultval=yes
10721 else
10722 defaultval=no
10723 fi
10724 fi
10725
10726 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
10727 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
10728 # Check whether --enable-grid was given.
10729 if test "${enable_grid+set}" = set; then
10730 enableval=$enable_grid;
10731 if test "$enableval" = yes; then
10732 wx_cv_use_grid='wxUSE_GRID=yes'
10733 else
10734 wx_cv_use_grid='wxUSE_GRID=no'
10735 fi
10736
10737 else
10738
10739 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
10740
10741 fi
10742
10743
10744 eval "$wx_cv_use_grid"
10745
10746 if test x"$enablestring" = xdisable; then
10747 if test $wxUSE_GRID = no; then
10748 result=yes
10749 else
10750 result=no
10751 fi
10752 else
10753 result=$wxUSE_GRID
10754 fi
10755
10756 { echo "$as_me:$LINENO: result: $result" >&5
10757 echo "${ECHO_T}$result" >&6; }
10758
10759
10760 enablestring=
10761 defaultval=$wxUSE_ALL_FEATURES
10762 if test -z "$defaultval"; then
10763 if test x"$enablestring" = xdisable; then
10764 defaultval=yes
10765 else
10766 defaultval=no
10767 fi
10768 fi
10769
10770 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-headerctrl" >&5
10771 echo $ECHO_N "checking for --${enablestring:-enable}-headerctrl... $ECHO_C" >&6; }
10772 # Check whether --enable-headerctrl was given.
10773 if test "${enable_headerctrl+set}" = set; then
10774 enableval=$enable_headerctrl;
10775 if test "$enableval" = yes; then
10776 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=yes'
10777 else
10778 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=no'
10779 fi
10780
10781 else
10782
10783 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=${'DEFAULT_wxUSE_HEADERCTRL":-$defaultval}"
10784
10785 fi
10786
10787
10788 eval "$wx_cv_use_headerctrl"
10789
10790 if test x"$enablestring" = xdisable; then
10791 if test $wxUSE_HEADERCTRL = no; then
10792 result=yes
10793 else
10794 result=no
10795 fi
10796 else
10797 result=$wxUSE_HEADERCTRL
10798 fi
10799
10800 { echo "$as_me:$LINENO: result: $result" >&5
10801 echo "${ECHO_T}$result" >&6; }
10802
10803
10804 enablestring=
10805 defaultval=$wxUSE_ALL_FEATURES
10806 if test -z "$defaultval"; then
10807 if test x"$enablestring" = xdisable; then
10808 defaultval=yes
10809 else
10810 defaultval=no
10811 fi
10812 fi
10813
10814 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
10815 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
10816 # Check whether --enable-hyperlink was given.
10817 if test "${enable_hyperlink+set}" = set; then
10818 enableval=$enable_hyperlink;
10819 if test "$enableval" = yes; then
10820 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
10821 else
10822 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
10823 fi
10824
10825 else
10826
10827 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
10828
10829 fi
10830
10831
10832 eval "$wx_cv_use_hyperlink"
10833
10834 if test x"$enablestring" = xdisable; then
10835 if test $wxUSE_HYPERLINKCTRL = no; then
10836 result=yes
10837 else
10838 result=no
10839 fi
10840 else
10841 result=$wxUSE_HYPERLINKCTRL
10842 fi
10843
10844 { echo "$as_me:$LINENO: result: $result" >&5
10845 echo "${ECHO_T}$result" >&6; }
10846
10847
10848 enablestring=
10849 defaultval=$wxUSE_ALL_FEATURES
10850 if test -z "$defaultval"; then
10851 if test x"$enablestring" = xdisable; then
10852 defaultval=yes
10853 else
10854 defaultval=no
10855 fi
10856 fi
10857
10858 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
10859 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
10860 # Check whether --enable-imaglist was given.
10861 if test "${enable_imaglist+set}" = set; then
10862 enableval=$enable_imaglist;
10863 if test "$enableval" = yes; then
10864 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
10865 else
10866 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
10867 fi
10868
10869 else
10870
10871 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
10872
10873 fi
10874
10875
10876 eval "$wx_cv_use_imaglist"
10877
10878 if test x"$enablestring" = xdisable; then
10879 if test $wxUSE_IMAGLIST = no; then
10880 result=yes
10881 else
10882 result=no
10883 fi
10884 else
10885 result=$wxUSE_IMAGLIST
10886 fi
10887
10888 { echo "$as_me:$LINENO: result: $result" >&5
10889 echo "${ECHO_T}$result" >&6; }
10890
10891
10892 enablestring=
10893 defaultval=$wxUSE_ALL_FEATURES
10894 if test -z "$defaultval"; then
10895 if test x"$enablestring" = xdisable; then
10896 defaultval=yes
10897 else
10898 defaultval=no
10899 fi
10900 fi
10901
10902 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-infobar" >&5
10903 echo $ECHO_N "checking for --${enablestring:-enable}-infobar... $ECHO_C" >&6; }
10904 # Check whether --enable-infobar was given.
10905 if test "${enable_infobar+set}" = set; then
10906 enableval=$enable_infobar;
10907 if test "$enableval" = yes; then
10908 wx_cv_use_infobar='wxUSE_INFOBAR=yes'
10909 else
10910 wx_cv_use_infobar='wxUSE_INFOBAR=no'
10911 fi
10912
10913 else
10914
10915 wx_cv_use_infobar='wxUSE_INFOBAR=${'DEFAULT_wxUSE_INFOBAR":-$defaultval}"
10916
10917 fi
10918
10919
10920 eval "$wx_cv_use_infobar"
10921
10922 if test x"$enablestring" = xdisable; then
10923 if test $wxUSE_INFOBAR = no; then
10924 result=yes
10925 else
10926 result=no
10927 fi
10928 else
10929 result=$wxUSE_INFOBAR
10930 fi
10931
10932 { echo "$as_me:$LINENO: result: $result" >&5
10933 echo "${ECHO_T}$result" >&6; }
10934
10935
10936 enablestring=
10937 defaultval=$wxUSE_ALL_FEATURES
10938 if test -z "$defaultval"; then
10939 if test x"$enablestring" = xdisable; then
10940 defaultval=yes
10941 else
10942 defaultval=no
10943 fi
10944 fi
10945
10946 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
10947 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
10948 # Check whether --enable-listbook was given.
10949 if test "${enable_listbook+set}" = set; then
10950 enableval=$enable_listbook;
10951 if test "$enableval" = yes; then
10952 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
10953 else
10954 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
10955 fi
10956
10957 else
10958
10959 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
10960
10961 fi
10962
10963
10964 eval "$wx_cv_use_listbook"
10965
10966 if test x"$enablestring" = xdisable; then
10967 if test $wxUSE_LISTBOOK = no; then
10968 result=yes
10969 else
10970 result=no
10971 fi
10972 else
10973 result=$wxUSE_LISTBOOK
10974 fi
10975
10976 { echo "$as_me:$LINENO: result: $result" >&5
10977 echo "${ECHO_T}$result" >&6; }
10978
10979
10980 enablestring=
10981 defaultval=$wxUSE_ALL_FEATURES
10982 if test -z "$defaultval"; then
10983 if test x"$enablestring" = xdisable; then
10984 defaultval=yes
10985 else
10986 defaultval=no
10987 fi
10988 fi
10989
10990 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
10991 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
10992 # Check whether --enable-listbox was given.
10993 if test "${enable_listbox+set}" = set; then
10994 enableval=$enable_listbox;
10995 if test "$enableval" = yes; then
10996 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
10997 else
10998 wx_cv_use_listbox='wxUSE_LISTBOX=no'
10999 fi
11000
11001 else
11002
11003 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
11004
11005 fi
11006
11007
11008 eval "$wx_cv_use_listbox"
11009
11010 if test x"$enablestring" = xdisable; then
11011 if test $wxUSE_LISTBOX = no; then
11012 result=yes
11013 else
11014 result=no
11015 fi
11016 else
11017 result=$wxUSE_LISTBOX
11018 fi
11019
11020 { echo "$as_me:$LINENO: result: $result" >&5
11021 echo "${ECHO_T}$result" >&6; }
11022
11023
11024 enablestring=
11025 defaultval=$wxUSE_ALL_FEATURES
11026 if test -z "$defaultval"; then
11027 if test x"$enablestring" = xdisable; then
11028 defaultval=yes
11029 else
11030 defaultval=no
11031 fi
11032 fi
11033
11034 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
11035 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
11036 # Check whether --enable-listctrl was given.
11037 if test "${enable_listctrl+set}" = set; then
11038 enableval=$enable_listctrl;
11039 if test "$enableval" = yes; then
11040 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
11041 else
11042 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
11043 fi
11044
11045 else
11046
11047 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
11048
11049 fi
11050
11051
11052 eval "$wx_cv_use_listctrl"
11053
11054 if test x"$enablestring" = xdisable; then
11055 if test $wxUSE_LISTCTRL = no; then
11056 result=yes
11057 else
11058 result=no
11059 fi
11060 else
11061 result=$wxUSE_LISTCTRL
11062 fi
11063
11064 { echo "$as_me:$LINENO: result: $result" >&5
11065 echo "${ECHO_T}$result" >&6; }
11066
11067
11068 enablestring=
11069 defaultval=$wxUSE_ALL_FEATURES
11070 if test -z "$defaultval"; then
11071 if test x"$enablestring" = xdisable; then
11072 defaultval=yes
11073 else
11074 defaultval=no
11075 fi
11076 fi
11077
11078 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
11079 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
11080 # Check whether --enable-notebook was given.
11081 if test "${enable_notebook+set}" = set; then
11082 enableval=$enable_notebook;
11083 if test "$enableval" = yes; then
11084 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
11085 else
11086 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
11087 fi
11088
11089 else
11090
11091 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
11092
11093 fi
11094
11095
11096 eval "$wx_cv_use_notebook"
11097
11098 if test x"$enablestring" = xdisable; then
11099 if test $wxUSE_NOTEBOOK = no; then
11100 result=yes
11101 else
11102 result=no
11103 fi
11104 else
11105 result=$wxUSE_NOTEBOOK
11106 fi
11107
11108 { echo "$as_me:$LINENO: result: $result" >&5
11109 echo "${ECHO_T}$result" >&6; }
11110
11111
11112 enablestring=
11113 defaultval=$wxUSE_ALL_FEATURES
11114 if test -z "$defaultval"; then
11115 if test x"$enablestring" = xdisable; then
11116 defaultval=yes
11117 else
11118 defaultval=no
11119 fi
11120 fi
11121
11122 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notifmsg" >&5
11123 echo $ECHO_N "checking for --${enablestring:-enable}-notifmsg... $ECHO_C" >&6; }
11124 # Check whether --enable-notifmsg was given.
11125 if test "${enable_notifmsg+set}" = set; then
11126 enableval=$enable_notifmsg;
11127 if test "$enableval" = yes; then
11128 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=yes'
11129 else
11130 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=no'
11131 fi
11132
11133 else
11134
11135 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
11136
11137 fi
11138
11139
11140 eval "$wx_cv_use_notifmsg"
11141
11142 if test x"$enablestring" = xdisable; then
11143 if test $wxUSE_NOTIFICATION_MESSAGE = no; then
11144 result=yes
11145 else
11146 result=no
11147 fi
11148 else
11149 result=$wxUSE_NOTIFICATION_MESSAGE
11150 fi
11151
11152 { echo "$as_me:$LINENO: result: $result" >&5
11153 echo "${ECHO_T}$result" >&6; }
11154
11155
11156 enablestring=
11157 defaultval=$wxUSE_ALL_FEATURES
11158 if test -z "$defaultval"; then
11159 if test x"$enablestring" = xdisable; then
11160 defaultval=yes
11161 else
11162 defaultval=no
11163 fi
11164 fi
11165
11166 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
11167 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
11168 # Check whether --enable-odcombobox was given.
11169 if test "${enable_odcombobox+set}" = set; then
11170 enableval=$enable_odcombobox;
11171 if test "$enableval" = yes; then
11172 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
11173 else
11174 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
11175 fi
11176
11177 else
11178
11179 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
11180
11181 fi
11182
11183
11184 eval "$wx_cv_use_odcombobox"
11185
11186 if test x"$enablestring" = xdisable; then
11187 if test $wxUSE_ODCOMBOBOX = no; then
11188 result=yes
11189 else
11190 result=no
11191 fi
11192 else
11193 result=$wxUSE_ODCOMBOBOX
11194 fi
11195
11196 { echo "$as_me:$LINENO: result: $result" >&5
11197 echo "${ECHO_T}$result" >&6; }
11198
11199
11200 enablestring=
11201 defaultval=$wxUSE_ALL_FEATURES
11202 if test -z "$defaultval"; then
11203 if test x"$enablestring" = xdisable; then
11204 defaultval=yes
11205 else
11206 defaultval=no
11207 fi
11208 fi
11209
11210 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
11211 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
11212 # Check whether --enable-popupwin was given.
11213 if test "${enable_popupwin+set}" = set; then
11214 enableval=$enable_popupwin;
11215 if test "$enableval" = yes; then
11216 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
11217 else
11218 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
11219 fi
11220
11221 else
11222
11223 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
11224
11225 fi
11226
11227
11228 eval "$wx_cv_use_popupwin"
11229
11230 if test x"$enablestring" = xdisable; then
11231 if test $wxUSE_POPUPWIN = no; then
11232 result=yes
11233 else
11234 result=no
11235 fi
11236 else
11237 result=$wxUSE_POPUPWIN
11238 fi
11239
11240 { echo "$as_me:$LINENO: result: $result" >&5
11241 echo "${ECHO_T}$result" >&6; }
11242
11243
11244 enablestring=
11245 defaultval=$wxUSE_ALL_FEATURES
11246 if test -z "$defaultval"; then
11247 if test x"$enablestring" = xdisable; then
11248 defaultval=yes
11249 else
11250 defaultval=no
11251 fi
11252 fi
11253
11254 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
11255 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
11256 # Check whether --enable-radiobox was given.
11257 if test "${enable_radiobox+set}" = set; then
11258 enableval=$enable_radiobox;
11259 if test "$enableval" = yes; then
11260 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
11261 else
11262 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
11263 fi
11264
11265 else
11266
11267 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
11268
11269 fi
11270
11271
11272 eval "$wx_cv_use_radiobox"
11273
11274 if test x"$enablestring" = xdisable; then
11275 if test $wxUSE_RADIOBOX = no; then
11276 result=yes
11277 else
11278 result=no
11279 fi
11280 else
11281 result=$wxUSE_RADIOBOX
11282 fi
11283
11284 { echo "$as_me:$LINENO: result: $result" >&5
11285 echo "${ECHO_T}$result" >&6; }
11286
11287
11288 enablestring=
11289 defaultval=$wxUSE_ALL_FEATURES
11290 if test -z "$defaultval"; then
11291 if test x"$enablestring" = xdisable; then
11292 defaultval=yes
11293 else
11294 defaultval=no
11295 fi
11296 fi
11297
11298 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
11299 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
11300 # Check whether --enable-radiobtn was given.
11301 if test "${enable_radiobtn+set}" = set; then
11302 enableval=$enable_radiobtn;
11303 if test "$enableval" = yes; then
11304 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
11305 else
11306 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
11307 fi
11308
11309 else
11310
11311 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
11312
11313 fi
11314
11315
11316 eval "$wx_cv_use_radiobtn"
11317
11318 if test x"$enablestring" = xdisable; then
11319 if test $wxUSE_RADIOBTN = no; then
11320 result=yes
11321 else
11322 result=no
11323 fi
11324 else
11325 result=$wxUSE_RADIOBTN
11326 fi
11327
11328 { echo "$as_me:$LINENO: result: $result" >&5
11329 echo "${ECHO_T}$result" >&6; }
11330
11331
11332 enablestring=
11333 defaultval=$wxUSE_ALL_FEATURES
11334 if test -z "$defaultval"; then
11335 if test x"$enablestring" = xdisable; then
11336 defaultval=yes
11337 else
11338 defaultval=no
11339 fi
11340 fi
11341
11342 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rearrangectrl" >&5
11343 echo $ECHO_N "checking for --${enablestring:-enable}-rearrangectrl... $ECHO_C" >&6; }
11344 # Check whether --enable-rearrangectrl was given.
11345 if test "${enable_rearrangectrl+set}" = set; then
11346 enableval=$enable_rearrangectrl;
11347 if test "$enableval" = yes; then
11348 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=yes'
11349 else
11350 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=no'
11351 fi
11352
11353 else
11354
11355 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=${'DEFAULT_wxUSE_REARRANGECTRL":-$defaultval}"
11356
11357 fi
11358
11359
11360 eval "$wx_cv_use_rearrangectrl"
11361
11362 if test x"$enablestring" = xdisable; then
11363 if test $wxUSE_REARRANGECTRL = no; then
11364 result=yes
11365 else
11366 result=no
11367 fi
11368 else
11369 result=$wxUSE_REARRANGECTRL
11370 fi
11371
11372 { echo "$as_me:$LINENO: result: $result" >&5
11373 echo "${ECHO_T}$result" >&6; }
11374
11375
11376 enablestring=
11377 defaultval=$wxUSE_ALL_FEATURES
11378 if test -z "$defaultval"; then
11379 if test x"$enablestring" = xdisable; then
11380 defaultval=yes
11381 else
11382 defaultval=no
11383 fi
11384 fi
11385
11386 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
11387 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
11388 # Check whether --enable-sash was given.
11389 if test "${enable_sash+set}" = set; then
11390 enableval=$enable_sash;
11391 if test "$enableval" = yes; then
11392 wx_cv_use_sash='wxUSE_SASH=yes'
11393 else
11394 wx_cv_use_sash='wxUSE_SASH=no'
11395 fi
11396
11397 else
11398
11399 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
11400
11401 fi
11402
11403
11404 eval "$wx_cv_use_sash"
11405
11406 if test x"$enablestring" = xdisable; then
11407 if test $wxUSE_SASH = no; then
11408 result=yes
11409 else
11410 result=no
11411 fi
11412 else
11413 result=$wxUSE_SASH
11414 fi
11415
11416 { echo "$as_me:$LINENO: result: $result" >&5
11417 echo "${ECHO_T}$result" >&6; }
11418
11419
11420 enablestring=
11421 defaultval=$wxUSE_ALL_FEATURES
11422 if test -z "$defaultval"; then
11423 if test x"$enablestring" = xdisable; then
11424 defaultval=yes
11425 else
11426 defaultval=no
11427 fi
11428 fi
11429
11430 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
11431 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
11432 # Check whether --enable-scrollbar was given.
11433 if test "${enable_scrollbar+set}" = set; then
11434 enableval=$enable_scrollbar;
11435 if test "$enableval" = yes; then
11436 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
11437 else
11438 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
11439 fi
11440
11441 else
11442
11443 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
11444
11445 fi
11446
11447
11448 eval "$wx_cv_use_scrollbar"
11449
11450 if test x"$enablestring" = xdisable; then
11451 if test $wxUSE_SCROLLBAR = no; then
11452 result=yes
11453 else
11454 result=no
11455 fi
11456 else
11457 result=$wxUSE_SCROLLBAR
11458 fi
11459
11460 { echo "$as_me:$LINENO: result: $result" >&5
11461 echo "${ECHO_T}$result" >&6; }
11462
11463
11464 enablestring=
11465 defaultval=$wxUSE_ALL_FEATURES
11466 if test -z "$defaultval"; then
11467 if test x"$enablestring" = xdisable; then
11468 defaultval=yes
11469 else
11470 defaultval=no
11471 fi
11472 fi
11473
11474 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
11475 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
11476 # Check whether --enable-searchctrl was given.
11477 if test "${enable_searchctrl+set}" = set; then
11478 enableval=$enable_searchctrl;
11479 if test "$enableval" = yes; then
11480 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
11481 else
11482 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
11483 fi
11484
11485 else
11486
11487 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
11488
11489 fi
11490
11491
11492 eval "$wx_cv_use_searchctrl"
11493
11494 if test x"$enablestring" = xdisable; then
11495 if test $wxUSE_SEARCHCTRL = no; then
11496 result=yes
11497 else
11498 result=no
11499 fi
11500 else
11501 result=$wxUSE_SEARCHCTRL
11502 fi
11503
11504 { echo "$as_me:$LINENO: result: $result" >&5
11505 echo "${ECHO_T}$result" >&6; }
11506
11507
11508 enablestring=
11509 defaultval=$wxUSE_ALL_FEATURES
11510 if test -z "$defaultval"; then
11511 if test x"$enablestring" = xdisable; then
11512 defaultval=yes
11513 else
11514 defaultval=no
11515 fi
11516 fi
11517
11518 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
11519 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
11520 # Check whether --enable-slider was given.
11521 if test "${enable_slider+set}" = set; then
11522 enableval=$enable_slider;
11523 if test "$enableval" = yes; then
11524 wx_cv_use_slider='wxUSE_SLIDER=yes'
11525 else
11526 wx_cv_use_slider='wxUSE_SLIDER=no'
11527 fi
11528
11529 else
11530
11531 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
11532
11533 fi
11534
11535
11536 eval "$wx_cv_use_slider"
11537
11538 if test x"$enablestring" = xdisable; then
11539 if test $wxUSE_SLIDER = no; then
11540 result=yes
11541 else
11542 result=no
11543 fi
11544 else
11545 result=$wxUSE_SLIDER
11546 fi
11547
11548 { echo "$as_me:$LINENO: result: $result" >&5
11549 echo "${ECHO_T}$result" >&6; }
11550
11551
11552 enablestring=
11553 defaultval=$wxUSE_ALL_FEATURES
11554 if test -z "$defaultval"; then
11555 if test x"$enablestring" = xdisable; then
11556 defaultval=yes
11557 else
11558 defaultval=no
11559 fi
11560 fi
11561
11562 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
11563 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
11564 # Check whether --enable-spinbtn was given.
11565 if test "${enable_spinbtn+set}" = set; then
11566 enableval=$enable_spinbtn;
11567 if test "$enableval" = yes; then
11568 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
11569 else
11570 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
11571 fi
11572
11573 else
11574
11575 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
11576
11577 fi
11578
11579
11580 eval "$wx_cv_use_spinbtn"
11581
11582 if test x"$enablestring" = xdisable; then
11583 if test $wxUSE_SPINBTN = no; then
11584 result=yes
11585 else
11586 result=no
11587 fi
11588 else
11589 result=$wxUSE_SPINBTN
11590 fi
11591
11592 { echo "$as_me:$LINENO: result: $result" >&5
11593 echo "${ECHO_T}$result" >&6; }
11594
11595
11596 enablestring=
11597 defaultval=$wxUSE_ALL_FEATURES
11598 if test -z "$defaultval"; then
11599 if test x"$enablestring" = xdisable; then
11600 defaultval=yes
11601 else
11602 defaultval=no
11603 fi
11604 fi
11605
11606 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
11607 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
11608 # Check whether --enable-spinctrl was given.
11609 if test "${enable_spinctrl+set}" = set; then
11610 enableval=$enable_spinctrl;
11611 if test "$enableval" = yes; then
11612 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
11613 else
11614 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
11615 fi
11616
11617 else
11618
11619 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
11620
11621 fi
11622
11623
11624 eval "$wx_cv_use_spinctrl"
11625
11626 if test x"$enablestring" = xdisable; then
11627 if test $wxUSE_SPINCTRL = no; then
11628 result=yes
11629 else
11630 result=no
11631 fi
11632 else
11633 result=$wxUSE_SPINCTRL
11634 fi
11635
11636 { echo "$as_me:$LINENO: result: $result" >&5
11637 echo "${ECHO_T}$result" >&6; }
11638
11639
11640 enablestring=
11641 defaultval=$wxUSE_ALL_FEATURES
11642 if test -z "$defaultval"; then
11643 if test x"$enablestring" = xdisable; then
11644 defaultval=yes
11645 else
11646 defaultval=no
11647 fi
11648 fi
11649
11650 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
11651 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
11652 # Check whether --enable-splitter was given.
11653 if test "${enable_splitter+set}" = set; then
11654 enableval=$enable_splitter;
11655 if test "$enableval" = yes; then
11656 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
11657 else
11658 wx_cv_use_splitter='wxUSE_SPLITTER=no'
11659 fi
11660
11661 else
11662
11663 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
11664
11665 fi
11666
11667
11668 eval "$wx_cv_use_splitter"
11669
11670 if test x"$enablestring" = xdisable; then
11671 if test $wxUSE_SPLITTER = no; then
11672 result=yes
11673 else
11674 result=no
11675 fi
11676 else
11677 result=$wxUSE_SPLITTER
11678 fi
11679
11680 { echo "$as_me:$LINENO: result: $result" >&5
11681 echo "${ECHO_T}$result" >&6; }
11682
11683
11684 enablestring=
11685 defaultval=$wxUSE_ALL_FEATURES
11686 if test -z "$defaultval"; then
11687 if test x"$enablestring" = xdisable; then
11688 defaultval=yes
11689 else
11690 defaultval=no
11691 fi
11692 fi
11693
11694 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
11695 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
11696 # Check whether --enable-statbmp was given.
11697 if test "${enable_statbmp+set}" = set; then
11698 enableval=$enable_statbmp;
11699 if test "$enableval" = yes; then
11700 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
11701 else
11702 wx_cv_use_statbmp='wxUSE_STATBMP=no'
11703 fi
11704
11705 else
11706
11707 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
11708
11709 fi
11710
11711
11712 eval "$wx_cv_use_statbmp"
11713
11714 if test x"$enablestring" = xdisable; then
11715 if test $wxUSE_STATBMP = no; then
11716 result=yes
11717 else
11718 result=no
11719 fi
11720 else
11721 result=$wxUSE_STATBMP
11722 fi
11723
11724 { echo "$as_me:$LINENO: result: $result" >&5
11725 echo "${ECHO_T}$result" >&6; }
11726
11727
11728 enablestring=
11729 defaultval=$wxUSE_ALL_FEATURES
11730 if test -z "$defaultval"; then
11731 if test x"$enablestring" = xdisable; then
11732 defaultval=yes
11733 else
11734 defaultval=no
11735 fi
11736 fi
11737
11738 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
11739 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
11740 # Check whether --enable-statbox was given.
11741 if test "${enable_statbox+set}" = set; then
11742 enableval=$enable_statbox;
11743 if test "$enableval" = yes; then
11744 wx_cv_use_statbox='wxUSE_STATBOX=yes'
11745 else
11746 wx_cv_use_statbox='wxUSE_STATBOX=no'
11747 fi
11748
11749 else
11750
11751 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
11752
11753 fi
11754
11755
11756 eval "$wx_cv_use_statbox"
11757
11758 if test x"$enablestring" = xdisable; then
11759 if test $wxUSE_STATBOX = no; then
11760 result=yes
11761 else
11762 result=no
11763 fi
11764 else
11765 result=$wxUSE_STATBOX
11766 fi
11767
11768 { echo "$as_me:$LINENO: result: $result" >&5
11769 echo "${ECHO_T}$result" >&6; }
11770
11771
11772 enablestring=
11773 defaultval=$wxUSE_ALL_FEATURES
11774 if test -z "$defaultval"; then
11775 if test x"$enablestring" = xdisable; then
11776 defaultval=yes
11777 else
11778 defaultval=no
11779 fi
11780 fi
11781
11782 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
11783 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
11784 # Check whether --enable-statline was given.
11785 if test "${enable_statline+set}" = set; then
11786 enableval=$enable_statline;
11787 if test "$enableval" = yes; then
11788 wx_cv_use_statline='wxUSE_STATLINE=yes'
11789 else
11790 wx_cv_use_statline='wxUSE_STATLINE=no'
11791 fi
11792
11793 else
11794
11795 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
11796
11797 fi
11798
11799
11800 eval "$wx_cv_use_statline"
11801
11802 if test x"$enablestring" = xdisable; then
11803 if test $wxUSE_STATLINE = no; then
11804 result=yes
11805 else
11806 result=no
11807 fi
11808 else
11809 result=$wxUSE_STATLINE
11810 fi
11811
11812 { echo "$as_me:$LINENO: result: $result" >&5
11813 echo "${ECHO_T}$result" >&6; }
11814
11815
11816 enablestring=
11817 defaultval=$wxUSE_ALL_FEATURES
11818 if test -z "$defaultval"; then
11819 if test x"$enablestring" = xdisable; then
11820 defaultval=yes
11821 else
11822 defaultval=no
11823 fi
11824 fi
11825
11826 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
11827 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
11828 # Check whether --enable-stattext was given.
11829 if test "${enable_stattext+set}" = set; then
11830 enableval=$enable_stattext;
11831 if test "$enableval" = yes; then
11832 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
11833 else
11834 wx_cv_use_stattext='wxUSE_STATTEXT=no'
11835 fi
11836
11837 else
11838
11839 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
11840
11841 fi
11842
11843
11844 eval "$wx_cv_use_stattext"
11845
11846 if test x"$enablestring" = xdisable; then
11847 if test $wxUSE_STATTEXT = no; then
11848 result=yes
11849 else
11850 result=no
11851 fi
11852 else
11853 result=$wxUSE_STATTEXT
11854 fi
11855
11856 { echo "$as_me:$LINENO: result: $result" >&5
11857 echo "${ECHO_T}$result" >&6; }
11858
11859
11860 enablestring=
11861 defaultval=$wxUSE_ALL_FEATURES
11862 if test -z "$defaultval"; then
11863 if test x"$enablestring" = xdisable; then
11864 defaultval=yes
11865 else
11866 defaultval=no
11867 fi
11868 fi
11869
11870 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
11871 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
11872 # Check whether --enable-statusbar was given.
11873 if test "${enable_statusbar+set}" = set; then
11874 enableval=$enable_statusbar;
11875 if test "$enableval" = yes; then
11876 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
11877 else
11878 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
11879 fi
11880
11881 else
11882
11883 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
11884
11885 fi
11886
11887
11888 eval "$wx_cv_use_statusbar"
11889
11890 if test x"$enablestring" = xdisable; then
11891 if test $wxUSE_STATUSBAR = no; then
11892 result=yes
11893 else
11894 result=no
11895 fi
11896 else
11897 result=$wxUSE_STATUSBAR
11898 fi
11899
11900 { echo "$as_me:$LINENO: result: $result" >&5
11901 echo "${ECHO_T}$result" >&6; }
11902
11903
11904 enablestring=
11905 defaultval=$wxUSE_ALL_FEATURES
11906 if test -z "$defaultval"; then
11907 if test x"$enablestring" = xdisable; then
11908 defaultval=yes
11909 else
11910 defaultval=no
11911 fi
11912 fi
11913
11914 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
11915 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
11916 # Check whether --enable-taskbaricon was given.
11917 if test "${enable_taskbaricon+set}" = set; then
11918 enableval=$enable_taskbaricon;
11919 if test "$enableval" = yes; then
11920 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
11921 else
11922 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
11923 fi
11924
11925 else
11926
11927 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
11928
11929 fi
11930
11931
11932 eval "$wx_cv_use_taskbaricon"
11933
11934 if test x"$enablestring" = xdisable; then
11935 if test $wxUSE_TASKBARICON = no; then
11936 result=yes
11937 else
11938 result=no
11939 fi
11940 else
11941 result=$wxUSE_TASKBARICON
11942 fi
11943
11944 { echo "$as_me:$LINENO: result: $result" >&5
11945 echo "${ECHO_T}$result" >&6; }
11946
11947
11948 enablestring=
11949 defaultval=$wxUSE_ALL_FEATURES
11950 if test -z "$defaultval"; then
11951 if test x"$enablestring" = xdisable; then
11952 defaultval=yes
11953 else
11954 defaultval=no
11955 fi
11956 fi
11957
11958 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
11959 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
11960 # Check whether --enable-tbarnative was given.
11961 if test "${enable_tbarnative+set}" = set; then
11962 enableval=$enable_tbarnative;
11963 if test "$enableval" = yes; then
11964 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
11965 else
11966 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
11967 fi
11968
11969 else
11970
11971 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
11972
11973 fi
11974
11975
11976 eval "$wx_cv_use_tbarnative"
11977
11978 if test x"$enablestring" = xdisable; then
11979 if test $wxUSE_TOOLBAR_NATIVE = no; then
11980 result=yes
11981 else
11982 result=no
11983 fi
11984 else
11985 result=$wxUSE_TOOLBAR_NATIVE
11986 fi
11987
11988 { echo "$as_me:$LINENO: result: $result" >&5
11989 echo "${ECHO_T}$result" >&6; }
11990
11991
11992 enablestring=
11993 defaultval=$wxUSE_ALL_FEATURES
11994 if test -z "$defaultval"; then
11995 if test x"$enablestring" = xdisable; then
11996 defaultval=yes
11997 else
11998 defaultval=no
11999 fi
12000 fi
12001
12002 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
12003 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
12004 # Check whether --enable-textctrl was given.
12005 if test "${enable_textctrl+set}" = set; then
12006 enableval=$enable_textctrl;
12007 if test "$enableval" = yes; then
12008 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
12009 else
12010 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
12011 fi
12012
12013 else
12014
12015 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
12016
12017 fi
12018
12019
12020 eval "$wx_cv_use_textctrl"
12021
12022 if test x"$enablestring" = xdisable; then
12023 if test $wxUSE_TEXTCTRL = no; then
12024 result=yes
12025 else
12026 result=no
12027 fi
12028 else
12029 result=$wxUSE_TEXTCTRL
12030 fi
12031
12032 { echo "$as_me:$LINENO: result: $result" >&5
12033 echo "${ECHO_T}$result" >&6; }
12034
12035
12036 enablestring=
12037 defaultval=$wxUSE_ALL_FEATURES
12038 if test -z "$defaultval"; then
12039 if test x"$enablestring" = xdisable; then
12040 defaultval=yes
12041 else
12042 defaultval=no
12043 fi
12044 fi
12045
12046 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
12047 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
12048 # Check whether --enable-tipwindow was given.
12049 if test "${enable_tipwindow+set}" = set; then
12050 enableval=$enable_tipwindow;
12051 if test "$enableval" = yes; then
12052 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
12053 else
12054 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
12055 fi
12056
12057 else
12058
12059 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
12060
12061 fi
12062
12063
12064 eval "$wx_cv_use_tipwindow"
12065
12066 if test x"$enablestring" = xdisable; then
12067 if test $wxUSE_TIPWINDOW = no; then
12068 result=yes
12069 else
12070 result=no
12071 fi
12072 else
12073 result=$wxUSE_TIPWINDOW
12074 fi
12075
12076 { echo "$as_me:$LINENO: result: $result" >&5
12077 echo "${ECHO_T}$result" >&6; }
12078
12079
12080 enablestring=
12081 defaultval=$wxUSE_ALL_FEATURES
12082 if test -z "$defaultval"; then
12083 if test x"$enablestring" = xdisable; then
12084 defaultval=yes
12085 else
12086 defaultval=no
12087 fi
12088 fi
12089
12090 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
12091 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
12092 # Check whether --enable-togglebtn was given.
12093 if test "${enable_togglebtn+set}" = set; then
12094 enableval=$enable_togglebtn;
12095 if test "$enableval" = yes; then
12096 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
12097 else
12098 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
12099 fi
12100
12101 else
12102
12103 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
12104
12105 fi
12106
12107
12108 eval "$wx_cv_use_togglebtn"
12109
12110 if test x"$enablestring" = xdisable; then
12111 if test $wxUSE_TOGGLEBTN = no; then
12112 result=yes
12113 else
12114 result=no
12115 fi
12116 else
12117 result=$wxUSE_TOGGLEBTN
12118 fi
12119
12120 { echo "$as_me:$LINENO: result: $result" >&5
12121 echo "${ECHO_T}$result" >&6; }
12122
12123
12124 enablestring=
12125 defaultval=$wxUSE_ALL_FEATURES
12126 if test -z "$defaultval"; then
12127 if test x"$enablestring" = xdisable; then
12128 defaultval=yes
12129 else
12130 defaultval=no
12131 fi
12132 fi
12133
12134 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
12135 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
12136 # Check whether --enable-toolbar was given.
12137 if test "${enable_toolbar+set}" = set; then
12138 enableval=$enable_toolbar;
12139 if test "$enableval" = yes; then
12140 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
12141 else
12142 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
12143 fi
12144
12145 else
12146
12147 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
12148
12149 fi
12150
12151
12152 eval "$wx_cv_use_toolbar"
12153
12154 if test x"$enablestring" = xdisable; then
12155 if test $wxUSE_TOOLBAR = no; then
12156 result=yes
12157 else
12158 result=no
12159 fi
12160 else
12161 result=$wxUSE_TOOLBAR
12162 fi
12163
12164 { echo "$as_me:$LINENO: result: $result" >&5
12165 echo "${ECHO_T}$result" >&6; }
12166
12167
12168 enablestring=
12169 defaultval=$wxUSE_ALL_FEATURES
12170 if test -z "$defaultval"; then
12171 if test x"$enablestring" = xdisable; then
12172 defaultval=yes
12173 else
12174 defaultval=no
12175 fi
12176 fi
12177
12178 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
12179 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
12180 # Check whether --enable-toolbook was given.
12181 if test "${enable_toolbook+set}" = set; then
12182 enableval=$enable_toolbook;
12183 if test "$enableval" = yes; then
12184 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
12185 else
12186 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
12187 fi
12188
12189 else
12190
12191 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
12192
12193 fi
12194
12195
12196 eval "$wx_cv_use_toolbook"
12197
12198 if test x"$enablestring" = xdisable; then
12199 if test $wxUSE_TOOLBOOK = no; then
12200 result=yes
12201 else
12202 result=no
12203 fi
12204 else
12205 result=$wxUSE_TOOLBOOK
12206 fi
12207
12208 { echo "$as_me:$LINENO: result: $result" >&5
12209 echo "${ECHO_T}$result" >&6; }
12210
12211
12212 enablestring=
12213 defaultval=$wxUSE_ALL_FEATURES
12214 if test -z "$defaultval"; then
12215 if test x"$enablestring" = xdisable; then
12216 defaultval=yes
12217 else
12218 defaultval=no
12219 fi
12220 fi
12221
12222 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
12223 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
12224 # Check whether --enable-treebook was given.
12225 if test "${enable_treebook+set}" = set; then
12226 enableval=$enable_treebook;
12227 if test "$enableval" = yes; then
12228 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
12229 else
12230 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
12231 fi
12232
12233 else
12234
12235 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
12236
12237 fi
12238
12239
12240 eval "$wx_cv_use_treebook"
12241
12242 if test x"$enablestring" = xdisable; then
12243 if test $wxUSE_TREEBOOK = no; then
12244 result=yes
12245 else
12246 result=no
12247 fi
12248 else
12249 result=$wxUSE_TREEBOOK
12250 fi
12251
12252 { echo "$as_me:$LINENO: result: $result" >&5
12253 echo "${ECHO_T}$result" >&6; }
12254
12255
12256 enablestring=
12257 defaultval=$wxUSE_ALL_FEATURES
12258 if test -z "$defaultval"; then
12259 if test x"$enablestring" = xdisable; then
12260 defaultval=yes
12261 else
12262 defaultval=no
12263 fi
12264 fi
12265
12266 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
12267 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
12268 # Check whether --enable-treectrl was given.
12269 if test "${enable_treectrl+set}" = set; then
12270 enableval=$enable_treectrl;
12271 if test "$enableval" = yes; then
12272 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
12273 else
12274 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
12275 fi
12276
12277 else
12278
12279 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
12280
12281 fi
12282
12283
12284 eval "$wx_cv_use_treectrl"
12285
12286 if test x"$enablestring" = xdisable; then
12287 if test $wxUSE_TREECTRL = no; then
12288 result=yes
12289 else
12290 result=no
12291 fi
12292 else
12293 result=$wxUSE_TREECTRL
12294 fi
12295
12296 { echo "$as_me:$LINENO: result: $result" >&5
12297 echo "${ECHO_T}$result" >&6; }
12298
12299
12300
12301
12302 enablestring=
12303 defaultval=$wxUSE_ALL_FEATURES
12304 if test -z "$defaultval"; then
12305 if test x"$enablestring" = xdisable; then
12306 defaultval=yes
12307 else
12308 defaultval=no
12309 fi
12310 fi
12311
12312 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
12313 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
12314 # Check whether --enable-commondlg was given.
12315 if test "${enable_commondlg+set}" = set; then
12316 enableval=$enable_commondlg;
12317 if test "$enableval" = yes; then
12318 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
12319 else
12320 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
12321 fi
12322
12323 else
12324
12325 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
12326
12327 fi
12328
12329
12330 eval "$wx_cv_use_commondlg"
12331
12332 if test x"$enablestring" = xdisable; then
12333 if test $wxUSE_COMMONDLGS = no; then
12334 result=yes
12335 else
12336 result=no
12337 fi
12338 else
12339 result=$wxUSE_COMMONDLGS
12340 fi
12341
12342 { echo "$as_me:$LINENO: result: $result" >&5
12343 echo "${ECHO_T}$result" >&6; }
12344
12345
12346 enablestring=
12347 defaultval=$wxUSE_ALL_FEATURES
12348 if test -z "$defaultval"; then
12349 if test x"$enablestring" = xdisable; then
12350 defaultval=yes
12351 else
12352 defaultval=no
12353 fi
12354 fi
12355
12356 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
12357 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
12358 # Check whether --enable-aboutdlg was given.
12359 if test "${enable_aboutdlg+set}" = set; then
12360 enableval=$enable_aboutdlg;
12361 if test "$enableval" = yes; then
12362 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
12363 else
12364 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
12365 fi
12366
12367 else
12368
12369 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
12370
12371 fi
12372
12373
12374 eval "$wx_cv_use_aboutdlg"
12375
12376 if test x"$enablestring" = xdisable; then
12377 if test $wxUSE_ABOUTDLG = no; then
12378 result=yes
12379 else
12380 result=no
12381 fi
12382 else
12383 result=$wxUSE_ABOUTDLG
12384 fi
12385
12386 { echo "$as_me:$LINENO: result: $result" >&5
12387 echo "${ECHO_T}$result" >&6; }
12388
12389
12390 enablestring=
12391 defaultval=$wxUSE_ALL_FEATURES
12392 if test -z "$defaultval"; then
12393 if test x"$enablestring" = xdisable; then
12394 defaultval=yes
12395 else
12396 defaultval=no
12397 fi
12398 fi
12399
12400 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
12401 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
12402 # Check whether --enable-choicedlg was given.
12403 if test "${enable_choicedlg+set}" = set; then
12404 enableval=$enable_choicedlg;
12405 if test "$enableval" = yes; then
12406 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
12407 else
12408 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
12409 fi
12410
12411 else
12412
12413 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
12414
12415 fi
12416
12417
12418 eval "$wx_cv_use_choicedlg"
12419
12420 if test x"$enablestring" = xdisable; then
12421 if test $wxUSE_CHOICEDLG = no; then
12422 result=yes
12423 else
12424 result=no
12425 fi
12426 else
12427 result=$wxUSE_CHOICEDLG
12428 fi
12429
12430 { echo "$as_me:$LINENO: result: $result" >&5
12431 echo "${ECHO_T}$result" >&6; }
12432
12433
12434 enablestring=
12435 defaultval=$wxUSE_ALL_FEATURES
12436 if test -z "$defaultval"; then
12437 if test x"$enablestring" = xdisable; then
12438 defaultval=yes
12439 else
12440 defaultval=no
12441 fi
12442 fi
12443
12444 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
12445 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
12446 # Check whether --enable-coldlg was given.
12447 if test "${enable_coldlg+set}" = set; then
12448 enableval=$enable_coldlg;
12449 if test "$enableval" = yes; then
12450 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
12451 else
12452 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
12453 fi
12454
12455 else
12456
12457 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
12458
12459 fi
12460
12461
12462 eval "$wx_cv_use_coldlg"
12463
12464 if test x"$enablestring" = xdisable; then
12465 if test $wxUSE_COLOURDLG = no; then
12466 result=yes
12467 else
12468 result=no
12469 fi
12470 else
12471 result=$wxUSE_COLOURDLG
12472 fi
12473
12474 { echo "$as_me:$LINENO: result: $result" >&5
12475 echo "${ECHO_T}$result" >&6; }
12476
12477
12478 enablestring=
12479 defaultval=$wxUSE_ALL_FEATURES
12480 if test -z "$defaultval"; then
12481 if test x"$enablestring" = xdisable; then
12482 defaultval=yes
12483 else
12484 defaultval=no
12485 fi
12486 fi
12487
12488 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
12489 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
12490 # Check whether --enable-filedlg was given.
12491 if test "${enable_filedlg+set}" = set; then
12492 enableval=$enable_filedlg;
12493 if test "$enableval" = yes; then
12494 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
12495 else
12496 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
12497 fi
12498
12499 else
12500
12501 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
12502
12503 fi
12504
12505
12506 eval "$wx_cv_use_filedlg"
12507
12508 if test x"$enablestring" = xdisable; then
12509 if test $wxUSE_FILEDLG = no; then
12510 result=yes
12511 else
12512 result=no
12513 fi
12514 else
12515 result=$wxUSE_FILEDLG
12516 fi
12517
12518 { echo "$as_me:$LINENO: result: $result" >&5
12519 echo "${ECHO_T}$result" >&6; }
12520
12521
12522 enablestring=
12523 defaultval=$wxUSE_ALL_FEATURES
12524 if test -z "$defaultval"; then
12525 if test x"$enablestring" = xdisable; then
12526 defaultval=yes
12527 else
12528 defaultval=no
12529 fi
12530 fi
12531
12532 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
12533 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
12534 # Check whether --enable-finddlg was given.
12535 if test "${enable_finddlg+set}" = set; then
12536 enableval=$enable_finddlg;
12537 if test "$enableval" = yes; then
12538 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
12539 else
12540 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
12541 fi
12542
12543 else
12544
12545 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
12546
12547 fi
12548
12549
12550 eval "$wx_cv_use_finddlg"
12551
12552 if test x"$enablestring" = xdisable; then
12553 if test $wxUSE_FINDREPLDLG = no; then
12554 result=yes
12555 else
12556 result=no
12557 fi
12558 else
12559 result=$wxUSE_FINDREPLDLG
12560 fi
12561
12562 { echo "$as_me:$LINENO: result: $result" >&5
12563 echo "${ECHO_T}$result" >&6; }
12564
12565
12566 enablestring=
12567 defaultval=$wxUSE_ALL_FEATURES
12568 if test -z "$defaultval"; then
12569 if test x"$enablestring" = xdisable; then
12570 defaultval=yes
12571 else
12572 defaultval=no
12573 fi
12574 fi
12575
12576 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
12577 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
12578 # Check whether --enable-fontdlg was given.
12579 if test "${enable_fontdlg+set}" = set; then
12580 enableval=$enable_fontdlg;
12581 if test "$enableval" = yes; then
12582 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
12583 else
12584 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
12585 fi
12586
12587 else
12588
12589 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
12590
12591 fi
12592
12593
12594 eval "$wx_cv_use_fontdlg"
12595
12596 if test x"$enablestring" = xdisable; then
12597 if test $wxUSE_FONTDLG = no; then
12598 result=yes
12599 else
12600 result=no
12601 fi
12602 else
12603 result=$wxUSE_FONTDLG
12604 fi
12605
12606 { echo "$as_me:$LINENO: result: $result" >&5
12607 echo "${ECHO_T}$result" >&6; }
12608
12609
12610 enablestring=
12611 defaultval=$wxUSE_ALL_FEATURES
12612 if test -z "$defaultval"; then
12613 if test x"$enablestring" = xdisable; then
12614 defaultval=yes
12615 else
12616 defaultval=no
12617 fi
12618 fi
12619
12620 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
12621 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
12622 # Check whether --enable-dirdlg was given.
12623 if test "${enable_dirdlg+set}" = set; then
12624 enableval=$enable_dirdlg;
12625 if test "$enableval" = yes; then
12626 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
12627 else
12628 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
12629 fi
12630
12631 else
12632
12633 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
12634
12635 fi
12636
12637
12638 eval "$wx_cv_use_dirdlg"
12639
12640 if test x"$enablestring" = xdisable; then
12641 if test $wxUSE_DIRDLG = no; then
12642 result=yes
12643 else
12644 result=no
12645 fi
12646 else
12647 result=$wxUSE_DIRDLG
12648 fi
12649
12650 { echo "$as_me:$LINENO: result: $result" >&5
12651 echo "${ECHO_T}$result" >&6; }
12652
12653
12654 enablestring=
12655 defaultval=$wxUSE_ALL_FEATURES
12656 if test -z "$defaultval"; then
12657 if test x"$enablestring" = xdisable; then
12658 defaultval=yes
12659 else
12660 defaultval=no
12661 fi
12662 fi
12663
12664 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
12665 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
12666 # Check whether --enable-msgdlg was given.
12667 if test "${enable_msgdlg+set}" = set; then
12668 enableval=$enable_msgdlg;
12669 if test "$enableval" = yes; then
12670 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
12671 else
12672 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
12673 fi
12674
12675 else
12676
12677 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
12678
12679 fi
12680
12681
12682 eval "$wx_cv_use_msgdlg"
12683
12684 if test x"$enablestring" = xdisable; then
12685 if test $wxUSE_MSGDLG = no; then
12686 result=yes
12687 else
12688 result=no
12689 fi
12690 else
12691 result=$wxUSE_MSGDLG
12692 fi
12693
12694 { echo "$as_me:$LINENO: result: $result" >&5
12695 echo "${ECHO_T}$result" >&6; }
12696
12697
12698 enablestring=
12699 defaultval=$wxUSE_ALL_FEATURES
12700 if test -z "$defaultval"; then
12701 if test x"$enablestring" = xdisable; then
12702 defaultval=yes
12703 else
12704 defaultval=no
12705 fi
12706 fi
12707
12708 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
12709 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
12710 # Check whether --enable-numberdlg was given.
12711 if test "${enable_numberdlg+set}" = set; then
12712 enableval=$enable_numberdlg;
12713 if test "$enableval" = yes; then
12714 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
12715 else
12716 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
12717 fi
12718
12719 else
12720
12721 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
12722
12723 fi
12724
12725
12726 eval "$wx_cv_use_numberdlg"
12727
12728 if test x"$enablestring" = xdisable; then
12729 if test $wxUSE_NUMBERDLG = no; then
12730 result=yes
12731 else
12732 result=no
12733 fi
12734 else
12735 result=$wxUSE_NUMBERDLG
12736 fi
12737
12738 { echo "$as_me:$LINENO: result: $result" >&5
12739 echo "${ECHO_T}$result" >&6; }
12740
12741
12742 enablestring=
12743 defaultval=$wxUSE_ALL_FEATURES
12744 if test -z "$defaultval"; then
12745 if test x"$enablestring" = xdisable; then
12746 defaultval=yes
12747 else
12748 defaultval=no
12749 fi
12750 fi
12751
12752 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
12753 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
12754 # Check whether --enable-splash was given.
12755 if test "${enable_splash+set}" = set; then
12756 enableval=$enable_splash;
12757 if test "$enableval" = yes; then
12758 wx_cv_use_splash='wxUSE_SPLASH=yes'
12759 else
12760 wx_cv_use_splash='wxUSE_SPLASH=no'
12761 fi
12762
12763 else
12764
12765 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
12766
12767 fi
12768
12769
12770 eval "$wx_cv_use_splash"
12771
12772 if test x"$enablestring" = xdisable; then
12773 if test $wxUSE_SPLASH = no; then
12774 result=yes
12775 else
12776 result=no
12777 fi
12778 else
12779 result=$wxUSE_SPLASH
12780 fi
12781
12782 { echo "$as_me:$LINENO: result: $result" >&5
12783 echo "${ECHO_T}$result" >&6; }
12784
12785
12786 enablestring=
12787 defaultval=$wxUSE_ALL_FEATURES
12788 if test -z "$defaultval"; then
12789 if test x"$enablestring" = xdisable; then
12790 defaultval=yes
12791 else
12792 defaultval=no
12793 fi
12794 fi
12795
12796 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
12797 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
12798 # Check whether --enable-textdlg was given.
12799 if test "${enable_textdlg+set}" = set; then
12800 enableval=$enable_textdlg;
12801 if test "$enableval" = yes; then
12802 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
12803 else
12804 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
12805 fi
12806
12807 else
12808
12809 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
12810
12811 fi
12812
12813
12814 eval "$wx_cv_use_textdlg"
12815
12816 if test x"$enablestring" = xdisable; then
12817 if test $wxUSE_TEXTDLG = no; then
12818 result=yes
12819 else
12820 result=no
12821 fi
12822 else
12823 result=$wxUSE_TEXTDLG
12824 fi
12825
12826 { echo "$as_me:$LINENO: result: $result" >&5
12827 echo "${ECHO_T}$result" >&6; }
12828
12829
12830 enablestring=
12831 defaultval=$wxUSE_ALL_FEATURES
12832 if test -z "$defaultval"; then
12833 if test x"$enablestring" = xdisable; then
12834 defaultval=yes
12835 else
12836 defaultval=no
12837 fi
12838 fi
12839
12840 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
12841 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
12842 # Check whether --enable-tipdlg was given.
12843 if test "${enable_tipdlg+set}" = set; then
12844 enableval=$enable_tipdlg;
12845 if test "$enableval" = yes; then
12846 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
12847 else
12848 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
12849 fi
12850
12851 else
12852
12853 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
12854
12855 fi
12856
12857
12858 eval "$wx_cv_use_tipdlg"
12859
12860 if test x"$enablestring" = xdisable; then
12861 if test $wxUSE_STARTUP_TIPS = no; then
12862 result=yes
12863 else
12864 result=no
12865 fi
12866 else
12867 result=$wxUSE_STARTUP_TIPS
12868 fi
12869
12870 { echo "$as_me:$LINENO: result: $result" >&5
12871 echo "${ECHO_T}$result" >&6; }
12872
12873
12874 enablestring=
12875 defaultval=$wxUSE_ALL_FEATURES
12876 if test -z "$defaultval"; then
12877 if test x"$enablestring" = xdisable; then
12878 defaultval=yes
12879 else
12880 defaultval=no
12881 fi
12882 fi
12883
12884 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
12885 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
12886 # Check whether --enable-progressdlg was given.
12887 if test "${enable_progressdlg+set}" = set; then
12888 enableval=$enable_progressdlg;
12889 if test "$enableval" = yes; then
12890 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
12891 else
12892 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
12893 fi
12894
12895 else
12896
12897 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
12898
12899 fi
12900
12901
12902 eval "$wx_cv_use_progressdlg"
12903
12904 if test x"$enablestring" = xdisable; then
12905 if test $wxUSE_PROGRESSDLG = no; then
12906 result=yes
12907 else
12908 result=no
12909 fi
12910 else
12911 result=$wxUSE_PROGRESSDLG
12912 fi
12913
12914 { echo "$as_me:$LINENO: result: $result" >&5
12915 echo "${ECHO_T}$result" >&6; }
12916
12917
12918 enablestring=
12919 defaultval=$wxUSE_ALL_FEATURES
12920 if test -z "$defaultval"; then
12921 if test x"$enablestring" = xdisable; then
12922 defaultval=yes
12923 else
12924 defaultval=no
12925 fi
12926 fi
12927
12928 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
12929 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
12930 # Check whether --enable-wizarddlg was given.
12931 if test "${enable_wizarddlg+set}" = set; then
12932 enableval=$enable_wizarddlg;
12933 if test "$enableval" = yes; then
12934 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
12935 else
12936 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
12937 fi
12938
12939 else
12940
12941 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
12942
12943 fi
12944
12945
12946 eval "$wx_cv_use_wizarddlg"
12947
12948 if test x"$enablestring" = xdisable; then
12949 if test $wxUSE_WIZARDDLG = no; then
12950 result=yes
12951 else
12952 result=no
12953 fi
12954 else
12955 result=$wxUSE_WIZARDDLG
12956 fi
12957
12958 { echo "$as_me:$LINENO: result: $result" >&5
12959 echo "${ECHO_T}$result" >&6; }
12960
12961
12962
12963
12964 enablestring=
12965 defaultval=$wxUSE_ALL_FEATURES
12966 if test -z "$defaultval"; then
12967 if test x"$enablestring" = xdisable; then
12968 defaultval=yes
12969 else
12970 defaultval=no
12971 fi
12972 fi
12973
12974 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
12975 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
12976 # Check whether --enable-menus was given.
12977 if test "${enable_menus+set}" = set; then
12978 enableval=$enable_menus;
12979 if test "$enableval" = yes; then
12980 wx_cv_use_menus='wxUSE_MENUS=yes'
12981 else
12982 wx_cv_use_menus='wxUSE_MENUS=no'
12983 fi
12984
12985 else
12986
12987 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
12988
12989 fi
12990
12991
12992 eval "$wx_cv_use_menus"
12993
12994 if test x"$enablestring" = xdisable; then
12995 if test $wxUSE_MENUS = no; then
12996 result=yes
12997 else
12998 result=no
12999 fi
13000 else
13001 result=$wxUSE_MENUS
13002 fi
13003
13004 { echo "$as_me:$LINENO: result: $result" >&5
13005 echo "${ECHO_T}$result" >&6; }
13006
13007
13008 enablestring=
13009 defaultval=$wxUSE_ALL_FEATURES
13010 if test -z "$defaultval"; then
13011 if test x"$enablestring" = xdisable; then
13012 defaultval=yes
13013 else
13014 defaultval=no
13015 fi
13016 fi
13017
13018 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
13019 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
13020 # Check whether --enable-miniframe was given.
13021 if test "${enable_miniframe+set}" = set; then
13022 enableval=$enable_miniframe;
13023 if test "$enableval" = yes; then
13024 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
13025 else
13026 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
13027 fi
13028
13029 else
13030
13031 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
13032
13033 fi
13034
13035
13036 eval "$wx_cv_use_miniframe"
13037
13038 if test x"$enablestring" = xdisable; then
13039 if test $wxUSE_MINIFRAME = no; then
13040 result=yes
13041 else
13042 result=no
13043 fi
13044 else
13045 result=$wxUSE_MINIFRAME
13046 fi
13047
13048 { echo "$as_me:$LINENO: result: $result" >&5
13049 echo "${ECHO_T}$result" >&6; }
13050
13051
13052 enablestring=
13053 defaultval=$wxUSE_ALL_FEATURES
13054 if test -z "$defaultval"; then
13055 if test x"$enablestring" = xdisable; then
13056 defaultval=yes
13057 else
13058 defaultval=no
13059 fi
13060 fi
13061
13062 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
13063 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
13064 # Check whether --enable-tooltips was given.
13065 if test "${enable_tooltips+set}" = set; then
13066 enableval=$enable_tooltips;
13067 if test "$enableval" = yes; then
13068 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
13069 else
13070 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
13071 fi
13072
13073 else
13074
13075 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
13076
13077 fi
13078
13079
13080 eval "$wx_cv_use_tooltips"
13081
13082 if test x"$enablestring" = xdisable; then
13083 if test $wxUSE_TOOLTIPS = no; then
13084 result=yes
13085 else
13086 result=no
13087 fi
13088 else
13089 result=$wxUSE_TOOLTIPS
13090 fi
13091
13092 { echo "$as_me:$LINENO: result: $result" >&5
13093 echo "${ECHO_T}$result" >&6; }
13094
13095
13096 enablestring=
13097 defaultval=$wxUSE_ALL_FEATURES
13098 if test -z "$defaultval"; then
13099 if test x"$enablestring" = xdisable; then
13100 defaultval=yes
13101 else
13102 defaultval=no
13103 fi
13104 fi
13105
13106 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
13107 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
13108 # Check whether --enable-splines was given.
13109 if test "${enable_splines+set}" = set; then
13110 enableval=$enable_splines;
13111 if test "$enableval" = yes; then
13112 wx_cv_use_splines='wxUSE_SPLINES=yes'
13113 else
13114 wx_cv_use_splines='wxUSE_SPLINES=no'
13115 fi
13116
13117 else
13118
13119 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
13120
13121 fi
13122
13123
13124 eval "$wx_cv_use_splines"
13125
13126 if test x"$enablestring" = xdisable; then
13127 if test $wxUSE_SPLINES = no; then
13128 result=yes
13129 else
13130 result=no
13131 fi
13132 else
13133 result=$wxUSE_SPLINES
13134 fi
13135
13136 { echo "$as_me:$LINENO: result: $result" >&5
13137 echo "${ECHO_T}$result" >&6; }
13138
13139
13140 enablestring=
13141 defaultval=$wxUSE_ALL_FEATURES
13142 if test -z "$defaultval"; then
13143 if test x"$enablestring" = xdisable; then
13144 defaultval=yes
13145 else
13146 defaultval=no
13147 fi
13148 fi
13149
13150 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
13151 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
13152 # Check whether --enable-mousewheel was given.
13153 if test "${enable_mousewheel+set}" = set; then
13154 enableval=$enable_mousewheel;
13155 if test "$enableval" = yes; then
13156 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
13157 else
13158 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
13159 fi
13160
13161 else
13162
13163 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
13164
13165 fi
13166
13167
13168 eval "$wx_cv_use_mousewheel"
13169
13170 if test x"$enablestring" = xdisable; then
13171 if test $wxUSE_MOUSEWHEEL = no; then
13172 result=yes
13173 else
13174 result=no
13175 fi
13176 else
13177 result=$wxUSE_MOUSEWHEEL
13178 fi
13179
13180 { echo "$as_me:$LINENO: result: $result" >&5
13181 echo "${ECHO_T}$result" >&6; }
13182
13183
13184 enablestring=
13185 defaultval=$wxUSE_ALL_FEATURES
13186 if test -z "$defaultval"; then
13187 if test x"$enablestring" = xdisable; then
13188 defaultval=yes
13189 else
13190 defaultval=no
13191 fi
13192 fi
13193
13194 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
13195 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
13196 # Check whether --enable-validators was given.
13197 if test "${enable_validators+set}" = set; then
13198 enableval=$enable_validators;
13199 if test "$enableval" = yes; then
13200 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
13201 else
13202 wx_cv_use_validators='wxUSE_VALIDATORS=no'
13203 fi
13204
13205 else
13206
13207 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
13208
13209 fi
13210
13211
13212 eval "$wx_cv_use_validators"
13213
13214 if test x"$enablestring" = xdisable; then
13215 if test $wxUSE_VALIDATORS = no; then
13216 result=yes
13217 else
13218 result=no
13219 fi
13220 else
13221 result=$wxUSE_VALIDATORS
13222 fi
13223
13224 { echo "$as_me:$LINENO: result: $result" >&5
13225 echo "${ECHO_T}$result" >&6; }
13226
13227
13228 enablestring=
13229 defaultval=$wxUSE_ALL_FEATURES
13230 if test -z "$defaultval"; then
13231 if test x"$enablestring" = xdisable; then
13232 defaultval=yes
13233 else
13234 defaultval=no
13235 fi
13236 fi
13237
13238 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
13239 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
13240 # Check whether --enable-busyinfo was given.
13241 if test "${enable_busyinfo+set}" = set; then
13242 enableval=$enable_busyinfo;
13243 if test "$enableval" = yes; then
13244 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
13245 else
13246 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
13247 fi
13248
13249 else
13250
13251 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
13252
13253 fi
13254
13255
13256 eval "$wx_cv_use_busyinfo"
13257
13258 if test x"$enablestring" = xdisable; then
13259 if test $wxUSE_BUSYINFO = no; then
13260 result=yes
13261 else
13262 result=no
13263 fi
13264 else
13265 result=$wxUSE_BUSYINFO
13266 fi
13267
13268 { echo "$as_me:$LINENO: result: $result" >&5
13269 echo "${ECHO_T}$result" >&6; }
13270
13271
13272 enablestring=
13273 defaultval=$wxUSE_ALL_FEATURES
13274 if test -z "$defaultval"; then
13275 if test x"$enablestring" = xdisable; then
13276 defaultval=yes
13277 else
13278 defaultval=no
13279 fi
13280 fi
13281
13282 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
13283 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
13284 # Check whether --enable-joystick was given.
13285 if test "${enable_joystick+set}" = set; then
13286 enableval=$enable_joystick;
13287 if test "$enableval" = yes; then
13288 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
13289 else
13290 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
13291 fi
13292
13293 else
13294
13295 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
13296
13297 fi
13298
13299
13300 eval "$wx_cv_use_joystick"
13301
13302 if test x"$enablestring" = xdisable; then
13303 if test $wxUSE_JOYSTICK = no; then
13304 result=yes
13305 else
13306 result=no
13307 fi
13308 else
13309 result=$wxUSE_JOYSTICK
13310 fi
13311
13312 { echo "$as_me:$LINENO: result: $result" >&5
13313 echo "${ECHO_T}$result" >&6; }
13314
13315
13316 enablestring=
13317 defaultval=$wxUSE_ALL_FEATURES
13318 if test -z "$defaultval"; then
13319 if test x"$enablestring" = xdisable; then
13320 defaultval=yes
13321 else
13322 defaultval=no
13323 fi
13324 fi
13325
13326 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
13327 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
13328 # Check whether --enable-metafile was given.
13329 if test "${enable_metafile+set}" = set; then
13330 enableval=$enable_metafile;
13331 if test "$enableval" = yes; then
13332 wx_cv_use_metafile='wxUSE_METAFILE=yes'
13333 else
13334 wx_cv_use_metafile='wxUSE_METAFILE=no'
13335 fi
13336
13337 else
13338
13339 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
13340
13341 fi
13342
13343
13344 eval "$wx_cv_use_metafile"
13345
13346 if test x"$enablestring" = xdisable; then
13347 if test $wxUSE_METAFILE = no; then
13348 result=yes
13349 else
13350 result=no
13351 fi
13352 else
13353 result=$wxUSE_METAFILE
13354 fi
13355
13356 { echo "$as_me:$LINENO: result: $result" >&5
13357 echo "${ECHO_T}$result" >&6; }
13358
13359
13360 enablestring=
13361 defaultval=$wxUSE_ALL_FEATURES
13362 if test -z "$defaultval"; then
13363 if test x"$enablestring" = xdisable; then
13364 defaultval=yes
13365 else
13366 defaultval=no
13367 fi
13368 fi
13369
13370 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
13371 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
13372 # Check whether --enable-dragimage was given.
13373 if test "${enable_dragimage+set}" = set; then
13374 enableval=$enable_dragimage;
13375 if test "$enableval" = yes; then
13376 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
13377 else
13378 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
13379 fi
13380
13381 else
13382
13383 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
13384
13385 fi
13386
13387
13388 eval "$wx_cv_use_dragimage"
13389
13390 if test x"$enablestring" = xdisable; then
13391 if test $wxUSE_DRAGIMAGE = no; then
13392 result=yes
13393 else
13394 result=no
13395 fi
13396 else
13397 result=$wxUSE_DRAGIMAGE
13398 fi
13399
13400 { echo "$as_me:$LINENO: result: $result" >&5
13401 echo "${ECHO_T}$result" >&6; }
13402
13403
13404 enablestring=
13405 defaultval=$wxUSE_ALL_FEATURES
13406 if test -z "$defaultval"; then
13407 if test x"$enablestring" = xdisable; then
13408 defaultval=yes
13409 else
13410 defaultval=no
13411 fi
13412 fi
13413
13414 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
13415 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
13416 # Check whether --enable-accessibility was given.
13417 if test "${enable_accessibility+set}" = set; then
13418 enableval=$enable_accessibility;
13419 if test "$enableval" = yes; then
13420 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
13421 else
13422 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
13423 fi
13424
13425 else
13426
13427 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
13428
13429 fi
13430
13431
13432 eval "$wx_cv_use_accessibility"
13433
13434 if test x"$enablestring" = xdisable; then
13435 if test $wxUSE_ACCESSIBILITY = no; then
13436 result=yes
13437 else
13438 result=no
13439 fi
13440 else
13441 result=$wxUSE_ACCESSIBILITY
13442 fi
13443
13444 { echo "$as_me:$LINENO: result: $result" >&5
13445 echo "${ECHO_T}$result" >&6; }
13446
13447
13448
13449
13450 enablestring=
13451 defaultval=$wxUSE_ALL_FEATURES
13452 if test -z "$defaultval"; then
13453 if test x"$enablestring" = xdisable; then
13454 defaultval=yes
13455 else
13456 defaultval=no
13457 fi
13458 fi
13459
13460 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
13461 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
13462 # Check whether --enable-palette was given.
13463 if test "${enable_palette+set}" = set; then
13464 enableval=$enable_palette;
13465 if test "$enableval" = yes; then
13466 wx_cv_use_palette='wxUSE_PALETTE=yes'
13467 else
13468 wx_cv_use_palette='wxUSE_PALETTE=no'
13469 fi
13470
13471 else
13472
13473 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
13474
13475 fi
13476
13477
13478 eval "$wx_cv_use_palette"
13479
13480 if test x"$enablestring" = xdisable; then
13481 if test $wxUSE_PALETTE = no; then
13482 result=yes
13483 else
13484 result=no
13485 fi
13486 else
13487 result=$wxUSE_PALETTE
13488 fi
13489
13490 { echo "$as_me:$LINENO: result: $result" >&5
13491 echo "${ECHO_T}$result" >&6; }
13492
13493
13494 enablestring=
13495 defaultval=$wxUSE_ALL_FEATURES
13496 if test -z "$defaultval"; then
13497 if test x"$enablestring" = xdisable; then
13498 defaultval=yes
13499 else
13500 defaultval=no
13501 fi
13502 fi
13503
13504 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
13505 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
13506 # Check whether --enable-image was given.
13507 if test "${enable_image+set}" = set; then
13508 enableval=$enable_image;
13509 if test "$enableval" = yes; then
13510 wx_cv_use_image='wxUSE_IMAGE=yes'
13511 else
13512 wx_cv_use_image='wxUSE_IMAGE=no'
13513 fi
13514
13515 else
13516
13517 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
13518
13519 fi
13520
13521
13522 eval "$wx_cv_use_image"
13523
13524 if test x"$enablestring" = xdisable; then
13525 if test $wxUSE_IMAGE = no; then
13526 result=yes
13527 else
13528 result=no
13529 fi
13530 else
13531 result=$wxUSE_IMAGE
13532 fi
13533
13534 { echo "$as_me:$LINENO: result: $result" >&5
13535 echo "${ECHO_T}$result" >&6; }
13536
13537
13538 enablestring=
13539 defaultval=$wxUSE_ALL_FEATURES
13540 if test -z "$defaultval"; then
13541 if test x"$enablestring" = xdisable; then
13542 defaultval=yes
13543 else
13544 defaultval=no
13545 fi
13546 fi
13547
13548 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
13549 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
13550 # Check whether --enable-gif was given.
13551 if test "${enable_gif+set}" = set; then
13552 enableval=$enable_gif;
13553 if test "$enableval" = yes; then
13554 wx_cv_use_gif='wxUSE_GIF=yes'
13555 else
13556 wx_cv_use_gif='wxUSE_GIF=no'
13557 fi
13558
13559 else
13560
13561 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
13562
13563 fi
13564
13565
13566 eval "$wx_cv_use_gif"
13567
13568 if test x"$enablestring" = xdisable; then
13569 if test $wxUSE_GIF = no; then
13570 result=yes
13571 else
13572 result=no
13573 fi
13574 else
13575 result=$wxUSE_GIF
13576 fi
13577
13578 { echo "$as_me:$LINENO: result: $result" >&5
13579 echo "${ECHO_T}$result" >&6; }
13580
13581
13582 enablestring=
13583 defaultval=$wxUSE_ALL_FEATURES
13584 if test -z "$defaultval"; then
13585 if test x"$enablestring" = xdisable; then
13586 defaultval=yes
13587 else
13588 defaultval=no
13589 fi
13590 fi
13591
13592 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
13593 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
13594 # Check whether --enable-pcx was given.
13595 if test "${enable_pcx+set}" = set; then
13596 enableval=$enable_pcx;
13597 if test "$enableval" = yes; then
13598 wx_cv_use_pcx='wxUSE_PCX=yes'
13599 else
13600 wx_cv_use_pcx='wxUSE_PCX=no'
13601 fi
13602
13603 else
13604
13605 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
13606
13607 fi
13608
13609
13610 eval "$wx_cv_use_pcx"
13611
13612 if test x"$enablestring" = xdisable; then
13613 if test $wxUSE_PCX = no; then
13614 result=yes
13615 else
13616 result=no
13617 fi
13618 else
13619 result=$wxUSE_PCX
13620 fi
13621
13622 { echo "$as_me:$LINENO: result: $result" >&5
13623 echo "${ECHO_T}$result" >&6; }
13624
13625
13626 enablestring=
13627 defaultval=$wxUSE_ALL_FEATURES
13628 if test -z "$defaultval"; then
13629 if test x"$enablestring" = xdisable; then
13630 defaultval=yes
13631 else
13632 defaultval=no
13633 fi
13634 fi
13635
13636 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
13637 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
13638 # Check whether --enable-tga was given.
13639 if test "${enable_tga+set}" = set; then
13640 enableval=$enable_tga;
13641 if test "$enableval" = yes; then
13642 wx_cv_use_tga='wxUSE_TGA=yes'
13643 else
13644 wx_cv_use_tga='wxUSE_TGA=no'
13645 fi
13646
13647 else
13648
13649 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
13650
13651 fi
13652
13653
13654 eval "$wx_cv_use_tga"
13655
13656 if test x"$enablestring" = xdisable; then
13657 if test $wxUSE_TGA = no; then
13658 result=yes
13659 else
13660 result=no
13661 fi
13662 else
13663 result=$wxUSE_TGA
13664 fi
13665
13666 { echo "$as_me:$LINENO: result: $result" >&5
13667 echo "${ECHO_T}$result" >&6; }
13668
13669
13670 enablestring=
13671 defaultval=$wxUSE_ALL_FEATURES
13672 if test -z "$defaultval"; then
13673 if test x"$enablestring" = xdisable; then
13674 defaultval=yes
13675 else
13676 defaultval=no
13677 fi
13678 fi
13679
13680 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
13681 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
13682 # Check whether --enable-iff was given.
13683 if test "${enable_iff+set}" = set; then
13684 enableval=$enable_iff;
13685 if test "$enableval" = yes; then
13686 wx_cv_use_iff='wxUSE_IFF=yes'
13687 else
13688 wx_cv_use_iff='wxUSE_IFF=no'
13689 fi
13690
13691 else
13692
13693 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
13694
13695 fi
13696
13697
13698 eval "$wx_cv_use_iff"
13699
13700 if test x"$enablestring" = xdisable; then
13701 if test $wxUSE_IFF = no; then
13702 result=yes
13703 else
13704 result=no
13705 fi
13706 else
13707 result=$wxUSE_IFF
13708 fi
13709
13710 { echo "$as_me:$LINENO: result: $result" >&5
13711 echo "${ECHO_T}$result" >&6; }
13712
13713
13714 enablestring=
13715 defaultval=$wxUSE_ALL_FEATURES
13716 if test -z "$defaultval"; then
13717 if test x"$enablestring" = xdisable; then
13718 defaultval=yes
13719 else
13720 defaultval=no
13721 fi
13722 fi
13723
13724 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
13725 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
13726 # Check whether --enable-pnm was given.
13727 if test "${enable_pnm+set}" = set; then
13728 enableval=$enable_pnm;
13729 if test "$enableval" = yes; then
13730 wx_cv_use_pnm='wxUSE_PNM=yes'
13731 else
13732 wx_cv_use_pnm='wxUSE_PNM=no'
13733 fi
13734
13735 else
13736
13737 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
13738
13739 fi
13740
13741
13742 eval "$wx_cv_use_pnm"
13743
13744 if test x"$enablestring" = xdisable; then
13745 if test $wxUSE_PNM = no; then
13746 result=yes
13747 else
13748 result=no
13749 fi
13750 else
13751 result=$wxUSE_PNM
13752 fi
13753
13754 { echo "$as_me:$LINENO: result: $result" >&5
13755 echo "${ECHO_T}$result" >&6; }
13756
13757
13758 enablestring=
13759 defaultval=$wxUSE_ALL_FEATURES
13760 if test -z "$defaultval"; then
13761 if test x"$enablestring" = xdisable; then
13762 defaultval=yes
13763 else
13764 defaultval=no
13765 fi
13766 fi
13767
13768 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
13769 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
13770 # Check whether --enable-xpm was given.
13771 if test "${enable_xpm+set}" = set; then
13772 enableval=$enable_xpm;
13773 if test "$enableval" = yes; then
13774 wx_cv_use_xpm='wxUSE_XPM=yes'
13775 else
13776 wx_cv_use_xpm='wxUSE_XPM=no'
13777 fi
13778
13779 else
13780
13781 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
13782
13783 fi
13784
13785
13786 eval "$wx_cv_use_xpm"
13787
13788 if test x"$enablestring" = xdisable; then
13789 if test $wxUSE_XPM = no; then
13790 result=yes
13791 else
13792 result=no
13793 fi
13794 else
13795 result=$wxUSE_XPM
13796 fi
13797
13798 { echo "$as_me:$LINENO: result: $result" >&5
13799 echo "${ECHO_T}$result" >&6; }
13800
13801
13802 enablestring=
13803 defaultval=$wxUSE_ALL_FEATURES
13804 if test -z "$defaultval"; then
13805 if test x"$enablestring" = xdisable; then
13806 defaultval=yes
13807 else
13808 defaultval=no
13809 fi
13810 fi
13811
13812 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
13813 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
13814 # Check whether --enable-ico_cur was given.
13815 if test "${enable_ico_cur+set}" = set; then
13816 enableval=$enable_ico_cur;
13817 if test "$enableval" = yes; then
13818 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
13819 else
13820 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
13821 fi
13822
13823 else
13824
13825 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
13826
13827 fi
13828
13829
13830 eval "$wx_cv_use_ico_cur"
13831
13832 if test x"$enablestring" = xdisable; then
13833 if test $wxUSE_ICO_CUR = no; then
13834 result=yes
13835 else
13836 result=no
13837 fi
13838 else
13839 result=$wxUSE_ICO_CUR
13840 fi
13841
13842 { echo "$as_me:$LINENO: result: $result" >&5
13843 echo "${ECHO_T}$result" >&6; }
13844
13845
13846
13847
13848 enablestring=
13849 defaultval=$wxUSE_ALL_FEATURES
13850 if test -z "$defaultval"; then
13851 if test x"$enablestring" = xdisable; then
13852 defaultval=yes
13853 else
13854 defaultval=no
13855 fi
13856 fi
13857
13858 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
13859 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
13860 # Check whether --enable-dccache was given.
13861 if test "${enable_dccache+set}" = set; then
13862 enableval=$enable_dccache;
13863 if test "$enableval" = yes; then
13864 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
13865 else
13866 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
13867 fi
13868
13869 else
13870
13871 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
13872
13873 fi
13874
13875
13876 eval "$wx_cv_use_dccache"
13877
13878 if test x"$enablestring" = xdisable; then
13879 if test $wxUSE_DC_CACHEING = no; then
13880 result=yes
13881 else
13882 result=no
13883 fi
13884 else
13885 result=$wxUSE_DC_CACHEING
13886 fi
13887
13888 { echo "$as_me:$LINENO: result: $result" >&5
13889 echo "${ECHO_T}$result" >&6; }
13890
13891
13892 enablestring=
13893 defaultval=$wxUSE_ALL_FEATURES
13894 if test -z "$defaultval"; then
13895 if test x"$enablestring" = xdisable; then
13896 defaultval=yes
13897 else
13898 defaultval=no
13899 fi
13900 fi
13901
13902 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
13903 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
13904 # Check whether --enable-ps-in-msw was given.
13905 if test "${enable_ps_in_msw+set}" = set; then
13906 enableval=$enable_ps_in_msw;
13907 if test "$enableval" = yes; then
13908 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
13909 else
13910 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
13911 fi
13912
13913 else
13914
13915 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
13916
13917 fi
13918
13919
13920 eval "$wx_cv_use_ps_in_msw"
13921
13922 if test x"$enablestring" = xdisable; then
13923 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = no; then
13924 result=yes
13925 else
13926 result=no
13927 fi
13928 else
13929 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
13930 fi
13931
13932 { echo "$as_me:$LINENO: result: $result" >&5
13933 echo "${ECHO_T}$result" >&6; }
13934
13935
13936 enablestring=
13937 defaultval=$wxUSE_ALL_FEATURES
13938 if test -z "$defaultval"; then
13939 if test x"$enablestring" = xdisable; then
13940 defaultval=yes
13941 else
13942 defaultval=no
13943 fi
13944 fi
13945
13946 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
13947 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
13948 # Check whether --enable-ownerdrawn was given.
13949 if test "${enable_ownerdrawn+set}" = set; then
13950 enableval=$enable_ownerdrawn;
13951 if test "$enableval" = yes; then
13952 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
13953 else
13954 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
13955 fi
13956
13957 else
13958
13959 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
13960
13961 fi
13962
13963
13964 eval "$wx_cv_use_ownerdrawn"
13965
13966 if test x"$enablestring" = xdisable; then
13967 if test $wxUSE_OWNER_DRAWN = no; then
13968 result=yes
13969 else
13970 result=no
13971 fi
13972 else
13973 result=$wxUSE_OWNER_DRAWN
13974 fi
13975
13976 { echo "$as_me:$LINENO: result: $result" >&5
13977 echo "${ECHO_T}$result" >&6; }
13978
13979
13980 enablestring=
13981 defaultval=$wxUSE_ALL_FEATURES
13982 if test -z "$defaultval"; then
13983 if test x"$enablestring" = xdisable; then
13984 defaultval=yes
13985 else
13986 defaultval=no
13987 fi
13988 fi
13989
13990 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
13991 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
13992 # Check whether --enable-uxtheme was given.
13993 if test "${enable_uxtheme+set}" = set; then
13994 enableval=$enable_uxtheme;
13995 if test "$enableval" = yes; then
13996 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
13997 else
13998 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
13999 fi
14000
14001 else
14002
14003 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
14004
14005 fi
14006
14007
14008 eval "$wx_cv_use_uxtheme"
14009
14010 if test x"$enablestring" = xdisable; then
14011 if test $wxUSE_UXTHEME = no; then
14012 result=yes
14013 else
14014 result=no
14015 fi
14016 else
14017 result=$wxUSE_UXTHEME
14018 fi
14019
14020 { echo "$as_me:$LINENO: result: $result" >&5
14021 echo "${ECHO_T}$result" >&6; }
14022
14023
14024 enablestring=
14025 defaultval=$wxUSE_ALL_FEATURES
14026 if test -z "$defaultval"; then
14027 if test x"$enablestring" = xdisable; then
14028 defaultval=yes
14029 else
14030 defaultval=no
14031 fi
14032 fi
14033
14034 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
14035 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
14036 # Check whether --enable-wxdib was given.
14037 if test "${enable_wxdib+set}" = set; then
14038 enableval=$enable_wxdib;
14039 if test "$enableval" = yes; then
14040 wx_cv_use_wxdib='wxUSE_DIB=yes'
14041 else
14042 wx_cv_use_wxdib='wxUSE_DIB=no'
14043 fi
14044
14045 else
14046
14047 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
14048
14049 fi
14050
14051
14052 eval "$wx_cv_use_wxdib"
14053
14054 if test x"$enablestring" = xdisable; then
14055 if test $wxUSE_DIB = no; then
14056 result=yes
14057 else
14058 result=no
14059 fi
14060 else
14061 result=$wxUSE_DIB
14062 fi
14063
14064 { echo "$as_me:$LINENO: result: $result" >&5
14065 echo "${ECHO_T}$result" >&6; }
14066
14067
14068 if test "$wxUSE_MSW" != 1; then
14069 DEFAULT_wxUSE_AUTOID_MANAGEMENT=no
14070 fi
14071
14072
14073 enablestring=
14074 defaultval=$wxUSE_ALL_FEATURES
14075 if test -z "$defaultval"; then
14076 if test x"$enablestring" = xdisable; then
14077 defaultval=yes
14078 else
14079 defaultval=no
14080 fi
14081 fi
14082
14083 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-autoidman" >&5
14084 echo $ECHO_N "checking for --${enablestring:-enable}-autoidman... $ECHO_C" >&6; }
14085 # Check whether --enable-autoidman was given.
14086 if test "${enable_autoidman+set}" = set; then
14087 enableval=$enable_autoidman;
14088 if test "$enableval" = yes; then
14089 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=yes'
14090 else
14091 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=no'
14092 fi
14093
14094 else
14095
14096 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
14097
14098 fi
14099
14100
14101 eval "$wx_cv_use_autoidman"
14102
14103 if test x"$enablestring" = xdisable; then
14104 if test $wxUSE_AUTOID_MANAGEMENT = no; then
14105 result=yes
14106 else
14107 result=no
14108 fi
14109 else
14110 result=$wxUSE_AUTOID_MANAGEMENT
14111 fi
14112
14113 { echo "$as_me:$LINENO: result: $result" >&5
14114 echo "${ECHO_T}$result" >&6; }
14115
14116
14117 fi
14118
14119
14120 cat >confcache <<\_ACEOF
14121 # This file is a shell script that caches the results of configure
14122 # tests run on this system so they can be shared between configure
14123 # scripts and configure runs, see configure's option --config-cache.
14124 # It is not useful on other systems. If it contains results you don't
14125 # want to keep, you may remove or edit it.
14126 #
14127 # config.status only pays attention to the cache file if you give it
14128 # the --recheck option to rerun configure.
14129 #
14130 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14131 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14132 # following values.
14133
14134 _ACEOF
14135
14136 # The following way of writing the cache mishandles newlines in values,
14137 # but we know of no workaround that is simple, portable, and efficient.
14138 # So, we kill variables containing newlines.
14139 # Ultrix sh set writes to stderr and can't be redirected directly,
14140 # and sets the high bit in the cache file unless we assign to the vars.
14141 (
14142 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14143 eval ac_val=\$$ac_var
14144 case $ac_val in #(
14145 *${as_nl}*)
14146 case $ac_var in #(
14147 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
14148 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
14149 esac
14150 case $ac_var in #(
14151 _ | IFS | as_nl) ;; #(
14152 *) $as_unset $ac_var ;;
14153 esac ;;
14154 esac
14155 done
14156
14157 (set) 2>&1 |
14158 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14159 *${as_nl}ac_space=\ *)
14160 # `set' does not quote correctly, so add quotes (double-quote
14161 # substitution turns \\\\ into \\, and sed turns \\ into \).
14162 sed -n \
14163 "s/'/'\\\\''/g;
14164 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14165 ;; #(
14166 *)
14167 # `set' quotes correctly as required by POSIX, so do not add quotes.
14168 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14169 ;;
14170 esac |
14171 sort
14172 ) |
14173 sed '
14174 /^ac_cv_env_/b end
14175 t clear
14176 :clear
14177 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14178 t end
14179 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14180 :end' >>confcache
14181 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14182 if test -w "$cache_file"; then
14183 test "x$cache_file" != "x/dev/null" &&
14184 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
14185 echo "$as_me: updating cache $cache_file" >&6;}
14186 cat confcache >$cache_file
14187 else
14188 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
14189 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14190 fi
14191 fi
14192 rm -f confcache
14193
14194 CFLAGS=${CFLAGS:=}
14195
14196
14197
14198 ac_ext=c
14199 ac_cpp='$CPP $CPPFLAGS'
14200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14203 if test -n "$ac_tool_prefix"; then
14204 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
14205 set dummy ${ac_tool_prefix}gcc; ac_word=$2
14206 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14207 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14208 if test "${ac_cv_prog_CC+set}" = set; then
14209 echo $ECHO_N "(cached) $ECHO_C" >&6
14210 else
14211 if test -n "$CC"; then
14212 ac_cv_prog_CC="$CC" # Let the user override the test.
14213 else
14214 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14215 for as_dir in $PATH
14216 do
14217 IFS=$as_save_IFS
14218 test -z "$as_dir" && as_dir=.
14219 for ac_exec_ext in '' $ac_executable_extensions; do
14220 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14221 ac_cv_prog_CC="${ac_tool_prefix}gcc"
14222 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14223 break 2
14224 fi
14225 done
14226 done
14227 IFS=$as_save_IFS
14228
14229 fi
14230 fi
14231 CC=$ac_cv_prog_CC
14232 if test -n "$CC"; then
14233 { echo "$as_me:$LINENO: result: $CC" >&5
14234 echo "${ECHO_T}$CC" >&6; }
14235 else
14236 { echo "$as_me:$LINENO: result: no" >&5
14237 echo "${ECHO_T}no" >&6; }
14238 fi
14239
14240
14241 fi
14242 if test -z "$ac_cv_prog_CC"; then
14243 ac_ct_CC=$CC
14244 # Extract the first word of "gcc", so it can be a program name with args.
14245 set dummy gcc; ac_word=$2
14246 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14247 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14248 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14249 echo $ECHO_N "(cached) $ECHO_C" >&6
14250 else
14251 if test -n "$ac_ct_CC"; then
14252 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14253 else
14254 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14255 for as_dir in $PATH
14256 do
14257 IFS=$as_save_IFS
14258 test -z "$as_dir" && as_dir=.
14259 for ac_exec_ext in '' $ac_executable_extensions; do
14260 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14261 ac_cv_prog_ac_ct_CC="gcc"
14262 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14263 break 2
14264 fi
14265 done
14266 done
14267 IFS=$as_save_IFS
14268
14269 fi
14270 fi
14271 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14272 if test -n "$ac_ct_CC"; then
14273 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14274 echo "${ECHO_T}$ac_ct_CC" >&6; }
14275 else
14276 { echo "$as_me:$LINENO: result: no" >&5
14277 echo "${ECHO_T}no" >&6; }
14278 fi
14279
14280 if test "x$ac_ct_CC" = x; then
14281 CC=""
14282 else
14283 case $cross_compiling:$ac_tool_warned in
14284 yes:)
14285 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14286 whose name does not start with the host triplet. If you think this
14287 configuration is useful to you, please write to autoconf@gnu.org." >&5
14288 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14289 whose name does not start with the host triplet. If you think this
14290 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14291 ac_tool_warned=yes ;;
14292 esac
14293 CC=$ac_ct_CC
14294 fi
14295 else
14296 CC="$ac_cv_prog_CC"
14297 fi
14298
14299 if test -z "$CC"; then
14300 if test -n "$ac_tool_prefix"; then
14301 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
14302 set dummy ${ac_tool_prefix}cc; ac_word=$2
14303 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14304 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14305 if test "${ac_cv_prog_CC+set}" = set; then
14306 echo $ECHO_N "(cached) $ECHO_C" >&6
14307 else
14308 if test -n "$CC"; then
14309 ac_cv_prog_CC="$CC" # Let the user override the test.
14310 else
14311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14312 for as_dir in $PATH
14313 do
14314 IFS=$as_save_IFS
14315 test -z "$as_dir" && as_dir=.
14316 for ac_exec_ext in '' $ac_executable_extensions; do
14317 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14318 ac_cv_prog_CC="${ac_tool_prefix}cc"
14319 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14320 break 2
14321 fi
14322 done
14323 done
14324 IFS=$as_save_IFS
14325
14326 fi
14327 fi
14328 CC=$ac_cv_prog_CC
14329 if test -n "$CC"; then
14330 { echo "$as_me:$LINENO: result: $CC" >&5
14331 echo "${ECHO_T}$CC" >&6; }
14332 else
14333 { echo "$as_me:$LINENO: result: no" >&5
14334 echo "${ECHO_T}no" >&6; }
14335 fi
14336
14337
14338 fi
14339 fi
14340 if test -z "$CC"; then
14341 # Extract the first word of "cc", so it can be a program name with args.
14342 set dummy cc; ac_word=$2
14343 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14344 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14345 if test "${ac_cv_prog_CC+set}" = set; then
14346 echo $ECHO_N "(cached) $ECHO_C" >&6
14347 else
14348 if test -n "$CC"; then
14349 ac_cv_prog_CC="$CC" # Let the user override the test.
14350 else
14351 ac_prog_rejected=no
14352 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14353 for as_dir in $PATH
14354 do
14355 IFS=$as_save_IFS
14356 test -z "$as_dir" && as_dir=.
14357 for ac_exec_ext in '' $ac_executable_extensions; do
14358 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14359 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
14360 ac_prog_rejected=yes
14361 continue
14362 fi
14363 ac_cv_prog_CC="cc"
14364 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14365 break 2
14366 fi
14367 done
14368 done
14369 IFS=$as_save_IFS
14370
14371 if test $ac_prog_rejected = yes; then
14372 # We found a bogon in the path, so make sure we never use it.
14373 set dummy $ac_cv_prog_CC
14374 shift
14375 if test $# != 0; then
14376 # We chose a different compiler from the bogus one.
14377 # However, it has the same basename, so the bogon will be chosen
14378 # first if we set CC to just the basename; use the full file name.
14379 shift
14380 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
14381 fi
14382 fi
14383 fi
14384 fi
14385 CC=$ac_cv_prog_CC
14386 if test -n "$CC"; then
14387 { echo "$as_me:$LINENO: result: $CC" >&5
14388 echo "${ECHO_T}$CC" >&6; }
14389 else
14390 { echo "$as_me:$LINENO: result: no" >&5
14391 echo "${ECHO_T}no" >&6; }
14392 fi
14393
14394
14395 fi
14396 if test -z "$CC"; then
14397 if test -n "$ac_tool_prefix"; then
14398 for ac_prog in cl.exe
14399 do
14400 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14401 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
14402 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14403 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14404 if test "${ac_cv_prog_CC+set}" = set; then
14405 echo $ECHO_N "(cached) $ECHO_C" >&6
14406 else
14407 if test -n "$CC"; then
14408 ac_cv_prog_CC="$CC" # Let the user override the test.
14409 else
14410 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14411 for as_dir in $PATH
14412 do
14413 IFS=$as_save_IFS
14414 test -z "$as_dir" && as_dir=.
14415 for ac_exec_ext in '' $ac_executable_extensions; do
14416 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14417 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
14418 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14419 break 2
14420 fi
14421 done
14422 done
14423 IFS=$as_save_IFS
14424
14425 fi
14426 fi
14427 CC=$ac_cv_prog_CC
14428 if test -n "$CC"; then
14429 { echo "$as_me:$LINENO: result: $CC" >&5
14430 echo "${ECHO_T}$CC" >&6; }
14431 else
14432 { echo "$as_me:$LINENO: result: no" >&5
14433 echo "${ECHO_T}no" >&6; }
14434 fi
14435
14436
14437 test -n "$CC" && break
14438 done
14439 fi
14440 if test -z "$CC"; then
14441 ac_ct_CC=$CC
14442 for ac_prog in cl.exe
14443 do
14444 # Extract the first word of "$ac_prog", so it can be a program name with args.
14445 set dummy $ac_prog; ac_word=$2
14446 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14447 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14448 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14449 echo $ECHO_N "(cached) $ECHO_C" >&6
14450 else
14451 if test -n "$ac_ct_CC"; then
14452 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14453 else
14454 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14455 for as_dir in $PATH
14456 do
14457 IFS=$as_save_IFS
14458 test -z "$as_dir" && as_dir=.
14459 for ac_exec_ext in '' $ac_executable_extensions; do
14460 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14461 ac_cv_prog_ac_ct_CC="$ac_prog"
14462 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14463 break 2
14464 fi
14465 done
14466 done
14467 IFS=$as_save_IFS
14468
14469 fi
14470 fi
14471 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14472 if test -n "$ac_ct_CC"; then
14473 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14474 echo "${ECHO_T}$ac_ct_CC" >&6; }
14475 else
14476 { echo "$as_me:$LINENO: result: no" >&5
14477 echo "${ECHO_T}no" >&6; }
14478 fi
14479
14480
14481 test -n "$ac_ct_CC" && break
14482 done
14483
14484 if test "x$ac_ct_CC" = x; then
14485 CC=""
14486 else
14487 case $cross_compiling:$ac_tool_warned in
14488 yes:)
14489 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14490 whose name does not start with the host triplet. If you think this
14491 configuration is useful to you, please write to autoconf@gnu.org." >&5
14492 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14493 whose name does not start with the host triplet. If you think this
14494 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14495 ac_tool_warned=yes ;;
14496 esac
14497 CC=$ac_ct_CC
14498 fi
14499 fi
14500
14501 fi
14502
14503
14504 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
14505 See \`config.log' for more details." >&5
14506 echo "$as_me: error: no acceptable C compiler found in \$PATH
14507 See \`config.log' for more details." >&2;}
14508 { (exit 1); exit 1; }; }
14509
14510 # Provide some information about the compiler.
14511 echo "$as_me:$LINENO: checking for C compiler version" >&5
14512 ac_compiler=`set X $ac_compile; echo $2`
14513 { (ac_try="$ac_compiler --version >&5"
14514 case "(($ac_try" in
14515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14516 *) ac_try_echo=$ac_try;;
14517 esac
14518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14519 (eval "$ac_compiler --version >&5") 2>&5
14520 ac_status=$?
14521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14522 (exit $ac_status); }
14523 { (ac_try="$ac_compiler -v >&5"
14524 case "(($ac_try" in
14525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14526 *) ac_try_echo=$ac_try;;
14527 esac
14528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14529 (eval "$ac_compiler -v >&5") 2>&5
14530 ac_status=$?
14531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14532 (exit $ac_status); }
14533 { (ac_try="$ac_compiler -V >&5"
14534 case "(($ac_try" in
14535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14536 *) ac_try_echo=$ac_try;;
14537 esac
14538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14539 (eval "$ac_compiler -V >&5") 2>&5
14540 ac_status=$?
14541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14542 (exit $ac_status); }
14543
14544 cat >conftest.$ac_ext <<_ACEOF
14545 /* confdefs.h. */
14546 _ACEOF
14547 cat confdefs.h >>conftest.$ac_ext
14548 cat >>conftest.$ac_ext <<_ACEOF
14549 /* end confdefs.h. */
14550
14551 int
14552 main ()
14553 {
14554
14555 ;
14556 return 0;
14557 }
14558 _ACEOF
14559 ac_clean_files_save=$ac_clean_files
14560 ac_clean_files="$ac_clean_files a.out a.exe b.out"
14561 # Try to create an executable without -o first, disregard a.out.
14562 # It will help us diagnose broken compilers, and finding out an intuition
14563 # of exeext.
14564 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
14565 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
14566 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
14567 #
14568 # List of possible output files, starting from the most likely.
14569 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
14570 # only as a last resort. b.out is created by i960 compilers.
14571 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
14572 #
14573 # The IRIX 6 linker writes into existing files which may not be
14574 # executable, retaining their permissions. Remove them first so a
14575 # subsequent execution test works.
14576 ac_rmfiles=
14577 for ac_file in $ac_files
14578 do
14579 case $ac_file in
14580 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14581 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
14582 esac
14583 done
14584 rm -f $ac_rmfiles
14585
14586 if { (ac_try="$ac_link_default"
14587 case "(($ac_try" in
14588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14589 *) ac_try_echo=$ac_try;;
14590 esac
14591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14592 (eval "$ac_link_default") 2>&5
14593 ac_status=$?
14594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14595 (exit $ac_status); }; then
14596 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
14597 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
14598 # in a Makefile. We should not override ac_cv_exeext if it was cached,
14599 # so that the user can short-circuit this test for compilers unknown to
14600 # Autoconf.
14601 for ac_file in $ac_files ''
14602 do
14603 test -f "$ac_file" || continue
14604 case $ac_file in
14605 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
14606 ;;
14607 [ab].out )
14608 # We found the default executable, but exeext='' is most
14609 # certainly right.
14610 break;;
14611 *.* )
14612 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
14613 then :; else
14614 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
14615 fi
14616 # We set ac_cv_exeext here because the later test for it is not
14617 # safe: cross compilers may not add the suffix if given an `-o'
14618 # argument, so we may need to know it at that point already.
14619 # Even if this section looks crufty: it has the advantage of
14620 # actually working.
14621 break;;
14622 * )
14623 break;;
14624 esac
14625 done
14626 test "$ac_cv_exeext" = no && ac_cv_exeext=
14627
14628 else
14629 ac_file=''
14630 fi
14631
14632 { echo "$as_me:$LINENO: result: $ac_file" >&5
14633 echo "${ECHO_T}$ac_file" >&6; }
14634 if test -z "$ac_file"; then
14635 echo "$as_me: failed program was:" >&5
14636 sed 's/^/| /' conftest.$ac_ext >&5
14637
14638 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
14639 See \`config.log' for more details." >&5
14640 echo "$as_me: error: C compiler cannot create executables
14641 See \`config.log' for more details." >&2;}
14642 { (exit 77); exit 77; }; }
14643 fi
14644
14645 ac_exeext=$ac_cv_exeext
14646
14647 # Check that the compiler produces executables we can run. If not, either
14648 # the compiler is broken, or we cross compile.
14649 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
14650 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
14651 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
14652 # If not cross compiling, check that we can run a simple program.
14653 if test "$cross_compiling" != yes; then
14654 if { ac_try='./$ac_file'
14655 { (case "(($ac_try" in
14656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14657 *) ac_try_echo=$ac_try;;
14658 esac
14659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14660 (eval "$ac_try") 2>&5
14661 ac_status=$?
14662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14663 (exit $ac_status); }; }; then
14664 cross_compiling=no
14665 else
14666 if test "$cross_compiling" = maybe; then
14667 cross_compiling=yes
14668 else
14669 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
14670 If you meant to cross compile, use \`--host'.
14671 See \`config.log' for more details." >&5
14672 echo "$as_me: error: cannot run C compiled programs.
14673 If you meant to cross compile, use \`--host'.
14674 See \`config.log' for more details." >&2;}
14675 { (exit 1); exit 1; }; }
14676 fi
14677 fi
14678 fi
14679 { echo "$as_me:$LINENO: result: yes" >&5
14680 echo "${ECHO_T}yes" >&6; }
14681
14682 rm -f a.out a.exe conftest$ac_cv_exeext b.out
14683 ac_clean_files=$ac_clean_files_save
14684 # Check that the compiler produces executables we can run. If not, either
14685 # the compiler is broken, or we cross compile.
14686 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
14687 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
14688 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
14689 echo "${ECHO_T}$cross_compiling" >&6; }
14690
14691 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
14692 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
14693 if { (ac_try="$ac_link"
14694 case "(($ac_try" in
14695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14696 *) ac_try_echo=$ac_try;;
14697 esac
14698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14699 (eval "$ac_link") 2>&5
14700 ac_status=$?
14701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14702 (exit $ac_status); }; then
14703 # If both `conftest.exe' and `conftest' are `present' (well, observable)
14704 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
14705 # work properly (i.e., refer to `conftest.exe'), while it won't with
14706 # `rm'.
14707 for ac_file in conftest.exe conftest conftest.*; do
14708 test -f "$ac_file" || continue
14709 case $ac_file in
14710 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14711 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
14712 break;;
14713 * ) break;;
14714 esac
14715 done
14716 else
14717 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
14718 See \`config.log' for more details." >&5
14719 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
14720 See \`config.log' for more details." >&2;}
14721 { (exit 1); exit 1; }; }
14722 fi
14723
14724 rm -f conftest$ac_cv_exeext
14725 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
14726 echo "${ECHO_T}$ac_cv_exeext" >&6; }
14727
14728 rm -f conftest.$ac_ext
14729 EXEEXT=$ac_cv_exeext
14730 ac_exeext=$EXEEXT
14731 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
14732 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
14733 if test "${ac_cv_objext+set}" = set; then
14734 echo $ECHO_N "(cached) $ECHO_C" >&6
14735 else
14736 cat >conftest.$ac_ext <<_ACEOF
14737 /* confdefs.h. */
14738 _ACEOF
14739 cat confdefs.h >>conftest.$ac_ext
14740 cat >>conftest.$ac_ext <<_ACEOF
14741 /* end confdefs.h. */
14742
14743 int
14744 main ()
14745 {
14746
14747 ;
14748 return 0;
14749 }
14750 _ACEOF
14751 rm -f conftest.o conftest.obj
14752 if { (ac_try="$ac_compile"
14753 case "(($ac_try" in
14754 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14755 *) ac_try_echo=$ac_try;;
14756 esac
14757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14758 (eval "$ac_compile") 2>&5
14759 ac_status=$?
14760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14761 (exit $ac_status); }; then
14762 for ac_file in conftest.o conftest.obj conftest.*; do
14763 test -f "$ac_file" || continue;
14764 case $ac_file in
14765 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
14766 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
14767 break;;
14768 esac
14769 done
14770 else
14771 echo "$as_me: failed program was:" >&5
14772 sed 's/^/| /' conftest.$ac_ext >&5
14773
14774 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
14775 See \`config.log' for more details." >&5
14776 echo "$as_me: error: cannot compute suffix of object files: cannot compile
14777 See \`config.log' for more details." >&2;}
14778 { (exit 1); exit 1; }; }
14779 fi
14780
14781 rm -f conftest.$ac_cv_objext conftest.$ac_ext
14782 fi
14783 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
14784 echo "${ECHO_T}$ac_cv_objext" >&6; }
14785 OBJEXT=$ac_cv_objext
14786 ac_objext=$OBJEXT
14787 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
14788 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
14789 if test "${ac_cv_c_compiler_gnu+set}" = set; then
14790 echo $ECHO_N "(cached) $ECHO_C" >&6
14791 else
14792 cat >conftest.$ac_ext <<_ACEOF
14793 /* confdefs.h. */
14794 _ACEOF
14795 cat confdefs.h >>conftest.$ac_ext
14796 cat >>conftest.$ac_ext <<_ACEOF
14797 /* end confdefs.h. */
14798
14799 int
14800 main ()
14801 {
14802 #ifndef __GNUC__
14803 choke me
14804 #endif
14805
14806 ;
14807 return 0;
14808 }
14809 _ACEOF
14810 rm -f conftest.$ac_objext
14811 if { (ac_try="$ac_compile"
14812 case "(($ac_try" in
14813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14814 *) ac_try_echo=$ac_try;;
14815 esac
14816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14817 (eval "$ac_compile") 2>conftest.er1
14818 ac_status=$?
14819 grep -v '^ *+' conftest.er1 >conftest.err
14820 rm -f conftest.er1
14821 cat conftest.err >&5
14822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14823 (exit $ac_status); } && {
14824 test -z "$ac_c_werror_flag" ||
14825 test ! -s conftest.err
14826 } && test -s conftest.$ac_objext; then
14827 ac_compiler_gnu=yes
14828 else
14829 echo "$as_me: failed program was:" >&5
14830 sed 's/^/| /' conftest.$ac_ext >&5
14831
14832 ac_compiler_gnu=no
14833 fi
14834
14835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14836 ac_cv_c_compiler_gnu=$ac_compiler_gnu
14837
14838 fi
14839 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
14840 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
14841 GCC=`test $ac_compiler_gnu = yes && echo yes`
14842 ac_test_CFLAGS=${CFLAGS+set}
14843 ac_save_CFLAGS=$CFLAGS
14844 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
14845 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
14846 if test "${ac_cv_prog_cc_g+set}" = set; then
14847 echo $ECHO_N "(cached) $ECHO_C" >&6
14848 else
14849 ac_save_c_werror_flag=$ac_c_werror_flag
14850 ac_c_werror_flag=yes
14851 ac_cv_prog_cc_g=no
14852 CFLAGS="-g"
14853 cat >conftest.$ac_ext <<_ACEOF
14854 /* confdefs.h. */
14855 _ACEOF
14856 cat confdefs.h >>conftest.$ac_ext
14857 cat >>conftest.$ac_ext <<_ACEOF
14858 /* end confdefs.h. */
14859
14860 int
14861 main ()
14862 {
14863
14864 ;
14865 return 0;
14866 }
14867 _ACEOF
14868 rm -f conftest.$ac_objext
14869 if { (ac_try="$ac_compile"
14870 case "(($ac_try" in
14871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14872 *) ac_try_echo=$ac_try;;
14873 esac
14874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14875 (eval "$ac_compile") 2>conftest.er1
14876 ac_status=$?
14877 grep -v '^ *+' conftest.er1 >conftest.err
14878 rm -f conftest.er1
14879 cat conftest.err >&5
14880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14881 (exit $ac_status); } && {
14882 test -z "$ac_c_werror_flag" ||
14883 test ! -s conftest.err
14884 } && test -s conftest.$ac_objext; then
14885 ac_cv_prog_cc_g=yes
14886 else
14887 echo "$as_me: failed program was:" >&5
14888 sed 's/^/| /' conftest.$ac_ext >&5
14889
14890 CFLAGS=""
14891 cat >conftest.$ac_ext <<_ACEOF
14892 /* confdefs.h. */
14893 _ACEOF
14894 cat confdefs.h >>conftest.$ac_ext
14895 cat >>conftest.$ac_ext <<_ACEOF
14896 /* end confdefs.h. */
14897
14898 int
14899 main ()
14900 {
14901
14902 ;
14903 return 0;
14904 }
14905 _ACEOF
14906 rm -f conftest.$ac_objext
14907 if { (ac_try="$ac_compile"
14908 case "(($ac_try" in
14909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14910 *) ac_try_echo=$ac_try;;
14911 esac
14912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14913 (eval "$ac_compile") 2>conftest.er1
14914 ac_status=$?
14915 grep -v '^ *+' conftest.er1 >conftest.err
14916 rm -f conftest.er1
14917 cat conftest.err >&5
14918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14919 (exit $ac_status); } && {
14920 test -z "$ac_c_werror_flag" ||
14921 test ! -s conftest.err
14922 } && test -s conftest.$ac_objext; then
14923 :
14924 else
14925 echo "$as_me: failed program was:" >&5
14926 sed 's/^/| /' conftest.$ac_ext >&5
14927
14928 ac_c_werror_flag=$ac_save_c_werror_flag
14929 CFLAGS="-g"
14930 cat >conftest.$ac_ext <<_ACEOF
14931 /* confdefs.h. */
14932 _ACEOF
14933 cat confdefs.h >>conftest.$ac_ext
14934 cat >>conftest.$ac_ext <<_ACEOF
14935 /* end confdefs.h. */
14936
14937 int
14938 main ()
14939 {
14940
14941 ;
14942 return 0;
14943 }
14944 _ACEOF
14945 rm -f conftest.$ac_objext
14946 if { (ac_try="$ac_compile"
14947 case "(($ac_try" in
14948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14949 *) ac_try_echo=$ac_try;;
14950 esac
14951 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14952 (eval "$ac_compile") 2>conftest.er1
14953 ac_status=$?
14954 grep -v '^ *+' conftest.er1 >conftest.err
14955 rm -f conftest.er1
14956 cat conftest.err >&5
14957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14958 (exit $ac_status); } && {
14959 test -z "$ac_c_werror_flag" ||
14960 test ! -s conftest.err
14961 } && test -s conftest.$ac_objext; then
14962 ac_cv_prog_cc_g=yes
14963 else
14964 echo "$as_me: failed program was:" >&5
14965 sed 's/^/| /' conftest.$ac_ext >&5
14966
14967
14968 fi
14969
14970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14971 fi
14972
14973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14974 fi
14975
14976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14977 ac_c_werror_flag=$ac_save_c_werror_flag
14978 fi
14979 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
14980 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
14981 if test "$ac_test_CFLAGS" = set; then
14982 CFLAGS=$ac_save_CFLAGS
14983 elif test $ac_cv_prog_cc_g = yes; then
14984 if test "$GCC" = yes; then
14985 CFLAGS="-g -O2"
14986 else
14987 CFLAGS="-g"
14988 fi
14989 else
14990 if test "$GCC" = yes; then
14991 CFLAGS="-O2"
14992 else
14993 CFLAGS=
14994 fi
14995 fi
14996 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
14997 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
14998 if test "${ac_cv_prog_cc_c89+set}" = set; then
14999 echo $ECHO_N "(cached) $ECHO_C" >&6
15000 else
15001 ac_cv_prog_cc_c89=no
15002 ac_save_CC=$CC
15003 cat >conftest.$ac_ext <<_ACEOF
15004 /* confdefs.h. */
15005 _ACEOF
15006 cat confdefs.h >>conftest.$ac_ext
15007 cat >>conftest.$ac_ext <<_ACEOF
15008 /* end confdefs.h. */
15009 #include <stdarg.h>
15010 #include <stdio.h>
15011 #include <sys/types.h>
15012 #include <sys/stat.h>
15013 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
15014 struct buf { int x; };
15015 FILE * (*rcsopen) (struct buf *, struct stat *, int);
15016 static char *e (p, i)
15017 char **p;
15018 int i;
15019 {
15020 return p[i];
15021 }
15022 static char *f (char * (*g) (char **, int), char **p, ...)
15023 {
15024 char *s;
15025 va_list v;
15026 va_start (v,p);
15027 s = g (p, va_arg (v,int));
15028 va_end (v);
15029 return s;
15030 }
15031
15032 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
15033 function prototypes and stuff, but not '\xHH' hex character constants.
15034 These don't provoke an error unfortunately, instead are silently treated
15035 as 'x'. The following induces an error, until -std is added to get
15036 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
15037 array size at least. It's necessary to write '\x00'==0 to get something
15038 that's true only with -std. */
15039 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
15040
15041 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
15042 inside strings and character constants. */
15043 #define FOO(x) 'x'
15044 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
15045
15046 int test (int i, double x);
15047 struct s1 {int (*f) (int a);};
15048 struct s2 {int (*f) (double a);};
15049 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
15050 int argc;
15051 char **argv;
15052 int
15053 main ()
15054 {
15055 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
15056 ;
15057 return 0;
15058 }
15059 _ACEOF
15060 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
15061 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
15062 do
15063 CC="$ac_save_CC $ac_arg"
15064 rm -f conftest.$ac_objext
15065 if { (ac_try="$ac_compile"
15066 case "(($ac_try" in
15067 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15068 *) ac_try_echo=$ac_try;;
15069 esac
15070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15071 (eval "$ac_compile") 2>conftest.er1
15072 ac_status=$?
15073 grep -v '^ *+' conftest.er1 >conftest.err
15074 rm -f conftest.er1
15075 cat conftest.err >&5
15076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15077 (exit $ac_status); } && {
15078 test -z "$ac_c_werror_flag" ||
15079 test ! -s conftest.err
15080 } && test -s conftest.$ac_objext; then
15081 ac_cv_prog_cc_c89=$ac_arg
15082 else
15083 echo "$as_me: failed program was:" >&5
15084 sed 's/^/| /' conftest.$ac_ext >&5
15085
15086
15087 fi
15088
15089 rm -f core conftest.err conftest.$ac_objext
15090 test "x$ac_cv_prog_cc_c89" != "xno" && break
15091 done
15092 rm -f conftest.$ac_ext
15093 CC=$ac_save_CC
15094
15095 fi
15096 # AC_CACHE_VAL
15097 case "x$ac_cv_prog_cc_c89" in
15098 x)
15099 { echo "$as_me:$LINENO: result: none needed" >&5
15100 echo "${ECHO_T}none needed" >&6; } ;;
15101 xno)
15102 { echo "$as_me:$LINENO: result: unsupported" >&5
15103 echo "${ECHO_T}unsupported" >&6; } ;;
15104 *)
15105 CC="$CC $ac_cv_prog_cc_c89"
15106 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
15107 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
15108 esac
15109
15110
15111 ac_ext=c
15112 ac_cpp='$CPP $CPPFLAGS'
15113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15116
15117
15118
15119
15120 ac_ext=c
15121 ac_cpp='$CPP $CPPFLAGS'
15122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15125
15126 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
15127 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6; }
15128 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
15129 echo $ECHO_N "(cached) $ECHO_C" >&6
15130 else
15131 cat >conftest.$ac_ext <<_ACEOF
15132 /* confdefs.h. */
15133 _ACEOF
15134 cat confdefs.h >>conftest.$ac_ext
15135 cat >>conftest.$ac_ext <<_ACEOF
15136 /* end confdefs.h. */
15137
15138 int
15139 main ()
15140 {
15141
15142 #ifndef __INTEL_COMPILER
15143 choke me
15144 #endif
15145
15146 ;
15147 return 0;
15148 }
15149 _ACEOF
15150 rm -f conftest.$ac_objext
15151 if { (ac_try="$ac_compile"
15152 case "(($ac_try" in
15153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15154 *) ac_try_echo=$ac_try;;
15155 esac
15156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15157 (eval "$ac_compile") 2>conftest.er1
15158 ac_status=$?
15159 grep -v '^ *+' conftest.er1 >conftest.err
15160 rm -f conftest.er1
15161 cat conftest.err >&5
15162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15163 (exit $ac_status); } && {
15164 test -z "$ac_c_werror_flag" ||
15165 test ! -s conftest.err
15166 } && test -s conftest.$ac_objext; then
15167 bakefile_cv_c_compiler___INTEL_COMPILER=yes
15168 else
15169 echo "$as_me: failed program was:" >&5
15170 sed 's/^/| /' conftest.$ac_ext >&5
15171
15172 bakefile_cv_c_compiler___INTEL_COMPILER=no
15173
15174 fi
15175
15176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15177
15178
15179 fi
15180 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
15181 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
15182 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
15183 :; INTELCC=yes
15184 else
15185 :;
15186 fi
15187 ac_ext=c
15188 ac_cpp='$CPP $CPPFLAGS'
15189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15192
15193
15194
15195
15196 if test "$INTELCC" = "yes"; then
15197
15198
15199 ac_ext=c
15200 ac_cpp='$CPP $CPPFLAGS'
15201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15204
15205 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v8 or later" >&5
15206 echo $ECHO_N "checking whether we are using Intel C compiler v8 or later... $ECHO_C" >&6; }
15207 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_800+set}" = set; then
15208 echo $ECHO_N "(cached) $ECHO_C" >&6
15209 else
15210 cat >conftest.$ac_ext <<_ACEOF
15211 /* confdefs.h. */
15212 _ACEOF
15213 cat confdefs.h >>conftest.$ac_ext
15214 cat >>conftest.$ac_ext <<_ACEOF
15215 /* end confdefs.h. */
15216
15217 int
15218 main ()
15219 {
15220
15221 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
15222 choke me
15223 #endif
15224
15225 ;
15226 return 0;
15227 }
15228 _ACEOF
15229 rm -f conftest.$ac_objext
15230 if { (ac_try="$ac_compile"
15231 case "(($ac_try" in
15232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15233 *) ac_try_echo=$ac_try;;
15234 esac
15235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15236 (eval "$ac_compile") 2>conftest.er1
15237 ac_status=$?
15238 grep -v '^ *+' conftest.er1 >conftest.err
15239 rm -f conftest.er1
15240 cat conftest.err >&5
15241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15242 (exit $ac_status); } && {
15243 test -z "$ac_c_werror_flag" ||
15244 test ! -s conftest.err
15245 } && test -s conftest.$ac_objext; then
15246 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=yes
15247 else
15248 echo "$as_me: failed program was:" >&5
15249 sed 's/^/| /' conftest.$ac_ext >&5
15250
15251 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=no
15252
15253 fi
15254
15255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15256
15257
15258 fi
15259 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&5
15260 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&6; }
15261 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
15262 :; INTELCC8=yes
15263 else
15264 :;
15265 fi
15266 ac_ext=c
15267 ac_cpp='$CPP $CPPFLAGS'
15268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15271
15272
15273
15274
15275
15276 ac_ext=c
15277 ac_cpp='$CPP $CPPFLAGS'
15278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15281
15282 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v10 or later" >&5
15283 echo $ECHO_N "checking whether we are using Intel C compiler v10 or later... $ECHO_C" >&6; }
15284 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
15285 echo $ECHO_N "(cached) $ECHO_C" >&6
15286 else
15287 cat >conftest.$ac_ext <<_ACEOF
15288 /* confdefs.h. */
15289 _ACEOF
15290 cat confdefs.h >>conftest.$ac_ext
15291 cat >>conftest.$ac_ext <<_ACEOF
15292 /* end confdefs.h. */
15293
15294 int
15295 main ()
15296 {
15297
15298 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
15299 choke me
15300 #endif
15301
15302 ;
15303 return 0;
15304 }
15305 _ACEOF
15306 rm -f conftest.$ac_objext
15307 if { (ac_try="$ac_compile"
15308 case "(($ac_try" in
15309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15310 *) ac_try_echo=$ac_try;;
15311 esac
15312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15313 (eval "$ac_compile") 2>conftest.er1
15314 ac_status=$?
15315 grep -v '^ *+' conftest.er1 >conftest.err
15316 rm -f conftest.er1
15317 cat conftest.err >&5
15318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15319 (exit $ac_status); } && {
15320 test -z "$ac_c_werror_flag" ||
15321 test ! -s conftest.err
15322 } && test -s conftest.$ac_objext; then
15323 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=yes
15324 else
15325 echo "$as_me: failed program was:" >&5
15326 sed 's/^/| /' conftest.$ac_ext >&5
15327
15328 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=no
15329
15330 fi
15331
15332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15333
15334
15335 fi
15336 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&5
15337 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&6; }
15338 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
15339 :; INTELCC10=yes
15340 else
15341 :;
15342 fi
15343 ac_ext=c
15344 ac_cpp='$CPP $CPPFLAGS'
15345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15348
15349
15350
15351 fi
15352
15353 if test "x$GCC" != "xyes"; then
15354 if test "xCC" = "xC"; then
15355 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
15356 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
15357 if test "${bakefile_cv_c_exto+set}" = set; then
15358 echo $ECHO_N "(cached) $ECHO_C" >&6
15359 else
15360 cat >conftest.$ac_ext <<_ACEOF
15361 /* confdefs.h. */
15362 _ACEOF
15363 cat confdefs.h >>conftest.$ac_ext
15364 cat >>conftest.$ac_ext <<_ACEOF
15365 /* end confdefs.h. */
15366
15367 int
15368 main ()
15369 {
15370
15371 ;
15372 return 0;
15373 }
15374 _ACEOF
15375 rm -f conftest.$ac_objext conftest.$ac_ext.o
15376 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15377 (eval $ac_compile) 2>&5
15378 ac_status=$?
15379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15380 (exit $ac_status); }; then
15381 for ac_file in `(ls conftest.* 2>/dev/null)`; do
15382 case $ac_file in
15383 conftest.$ac_ext.o)
15384 bakefile_cv_c_exto="-ext o"
15385 ;;
15386 *)
15387 ;;
15388 esac
15389 done
15390 else
15391 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
15392 See \`config.log' for more details." >&5
15393 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
15394 See \`config.log' for more details." >&2;}
15395 { (exit 1); exit 1; }; }
15396
15397 fi
15398
15399 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
15400
15401 fi
15402 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
15403 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
15404 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15405 if test "c" = "c"; then
15406 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
15407 fi
15408 if test "c" = "cxx"; then
15409 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
15410 fi
15411 fi
15412
15413 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15414 unset ac_cv_prog_cc_g
15415 ac_test_CFLAGS=${CFLAGS+set}
15416 ac_save_CFLAGS=$CFLAGS
15417 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15418 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15419 if test "${ac_cv_prog_cc_g+set}" = set; then
15420 echo $ECHO_N "(cached) $ECHO_C" >&6
15421 else
15422 ac_save_c_werror_flag=$ac_c_werror_flag
15423 ac_c_werror_flag=yes
15424 ac_cv_prog_cc_g=no
15425 CFLAGS="-g"
15426 cat >conftest.$ac_ext <<_ACEOF
15427 /* confdefs.h. */
15428 _ACEOF
15429 cat confdefs.h >>conftest.$ac_ext
15430 cat >>conftest.$ac_ext <<_ACEOF
15431 /* end confdefs.h. */
15432
15433 int
15434 main ()
15435 {
15436
15437 ;
15438 return 0;
15439 }
15440 _ACEOF
15441 rm -f conftest.$ac_objext
15442 if { (ac_try="$ac_compile"
15443 case "(($ac_try" in
15444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15445 *) ac_try_echo=$ac_try;;
15446 esac
15447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15448 (eval "$ac_compile") 2>conftest.er1
15449 ac_status=$?
15450 grep -v '^ *+' conftest.er1 >conftest.err
15451 rm -f conftest.er1
15452 cat conftest.err >&5
15453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15454 (exit $ac_status); } && {
15455 test -z "$ac_c_werror_flag" ||
15456 test ! -s conftest.err
15457 } && test -s conftest.$ac_objext; then
15458 ac_cv_prog_cc_g=yes
15459 else
15460 echo "$as_me: failed program was:" >&5
15461 sed 's/^/| /' conftest.$ac_ext >&5
15462
15463 CFLAGS=""
15464 cat >conftest.$ac_ext <<_ACEOF
15465 /* confdefs.h. */
15466 _ACEOF
15467 cat confdefs.h >>conftest.$ac_ext
15468 cat >>conftest.$ac_ext <<_ACEOF
15469 /* end confdefs.h. */
15470
15471 int
15472 main ()
15473 {
15474
15475 ;
15476 return 0;
15477 }
15478 _ACEOF
15479 rm -f conftest.$ac_objext
15480 if { (ac_try="$ac_compile"
15481 case "(($ac_try" in
15482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15483 *) ac_try_echo=$ac_try;;
15484 esac
15485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15486 (eval "$ac_compile") 2>conftest.er1
15487 ac_status=$?
15488 grep -v '^ *+' conftest.er1 >conftest.err
15489 rm -f conftest.er1
15490 cat conftest.err >&5
15491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15492 (exit $ac_status); } && {
15493 test -z "$ac_c_werror_flag" ||
15494 test ! -s conftest.err
15495 } && test -s conftest.$ac_objext; then
15496 :
15497 else
15498 echo "$as_me: failed program was:" >&5
15499 sed 's/^/| /' conftest.$ac_ext >&5
15500
15501 ac_c_werror_flag=$ac_save_c_werror_flag
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
15541 fi
15542
15543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15544 fi
15545
15546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15547 fi
15548
15549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15550 ac_c_werror_flag=$ac_save_c_werror_flag
15551 fi
15552 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15553 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15554 if test "$ac_test_CFLAGS" = set; then
15555 CFLAGS=$ac_save_CFLAGS
15556 elif test $ac_cv_prog_cc_g = yes; then
15557 if test "$GCC" = yes; then
15558 CFLAGS="-g -O2"
15559 else
15560 CFLAGS="-g"
15561 fi
15562 else
15563 if test "$GCC" = yes; then
15564 CFLAGS="-O2"
15565 else
15566 CFLAGS=
15567 fi
15568 fi
15569 fi
15570 fi
15571
15572 case `uname -s` in
15573 AIX*)
15574
15575
15576 ac_ext=c
15577 ac_cpp='$CPP $CPPFLAGS'
15578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15581
15582 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15583 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15584 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15585 echo $ECHO_N "(cached) $ECHO_C" >&6
15586 else
15587 cat >conftest.$ac_ext <<_ACEOF
15588 /* confdefs.h. */
15589 _ACEOF
15590 cat confdefs.h >>conftest.$ac_ext
15591 cat >>conftest.$ac_ext <<_ACEOF
15592 /* end confdefs.h. */
15593
15594 int
15595 main ()
15596 {
15597
15598 #ifndef __xlC__
15599 choke me
15600 #endif
15601
15602 ;
15603 return 0;
15604 }
15605 _ACEOF
15606 rm -f conftest.$ac_objext
15607 if { (ac_try="$ac_compile"
15608 case "(($ac_try" in
15609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15610 *) ac_try_echo=$ac_try;;
15611 esac
15612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15613 (eval "$ac_compile") 2>conftest.er1
15614 ac_status=$?
15615 grep -v '^ *+' conftest.er1 >conftest.err
15616 rm -f conftest.er1
15617 cat conftest.err >&5
15618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15619 (exit $ac_status); } && {
15620 test -z "$ac_c_werror_flag" ||
15621 test ! -s conftest.err
15622 } && test -s conftest.$ac_objext; then
15623 bakefile_cv_c_compiler___xlC__=yes
15624 else
15625 echo "$as_me: failed program was:" >&5
15626 sed 's/^/| /' conftest.$ac_ext >&5
15627
15628 bakefile_cv_c_compiler___xlC__=no
15629
15630 fi
15631
15632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15633
15634
15635 fi
15636 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15637 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15638 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15639 :; XLCC=yes
15640 else
15641 :;
15642 fi
15643 ac_ext=c
15644 ac_cpp='$CPP $CPPFLAGS'
15645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15648
15649
15650
15651 ;;
15652
15653 Darwin)
15654
15655
15656 ac_ext=c
15657 ac_cpp='$CPP $CPPFLAGS'
15658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15661
15662 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
15663 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
15664 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
15665 echo $ECHO_N "(cached) $ECHO_C" >&6
15666 else
15667 cat >conftest.$ac_ext <<_ACEOF
15668 /* confdefs.h. */
15669 _ACEOF
15670 cat confdefs.h >>conftest.$ac_ext
15671 cat >>conftest.$ac_ext <<_ACEOF
15672 /* end confdefs.h. */
15673
15674 int
15675 main ()
15676 {
15677
15678 #ifndef __MWERKS__
15679 choke me
15680 #endif
15681
15682 ;
15683 return 0;
15684 }
15685 _ACEOF
15686 rm -f conftest.$ac_objext
15687 if { (ac_try="$ac_compile"
15688 case "(($ac_try" in
15689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15690 *) ac_try_echo=$ac_try;;
15691 esac
15692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15693 (eval "$ac_compile") 2>conftest.er1
15694 ac_status=$?
15695 grep -v '^ *+' conftest.er1 >conftest.err
15696 rm -f conftest.er1
15697 cat conftest.err >&5
15698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15699 (exit $ac_status); } && {
15700 test -z "$ac_c_werror_flag" ||
15701 test ! -s conftest.err
15702 } && test -s conftest.$ac_objext; then
15703 bakefile_cv_c_compiler___MWERKS__=yes
15704 else
15705 echo "$as_me: failed program was:" >&5
15706 sed 's/^/| /' conftest.$ac_ext >&5
15707
15708 bakefile_cv_c_compiler___MWERKS__=no
15709
15710 fi
15711
15712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15713
15714
15715 fi
15716 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
15717 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
15718 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
15719 :; MWCC=yes
15720 else
15721 :;
15722 fi
15723 ac_ext=c
15724 ac_cpp='$CPP $CPPFLAGS'
15725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15728
15729
15730
15731 if test "$MWCC" != "yes"; then
15732
15733
15734 ac_ext=c
15735 ac_cpp='$CPP $CPPFLAGS'
15736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15739
15740 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15741 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15742 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15743 echo $ECHO_N "(cached) $ECHO_C" >&6
15744 else
15745 cat >conftest.$ac_ext <<_ACEOF
15746 /* confdefs.h. */
15747 _ACEOF
15748 cat confdefs.h >>conftest.$ac_ext
15749 cat >>conftest.$ac_ext <<_ACEOF
15750 /* end confdefs.h. */
15751
15752 int
15753 main ()
15754 {
15755
15756 #ifndef __xlC__
15757 choke me
15758 #endif
15759
15760 ;
15761 return 0;
15762 }
15763 _ACEOF
15764 rm -f conftest.$ac_objext
15765 if { (ac_try="$ac_compile"
15766 case "(($ac_try" in
15767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15768 *) ac_try_echo=$ac_try;;
15769 esac
15770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15771 (eval "$ac_compile") 2>conftest.er1
15772 ac_status=$?
15773 grep -v '^ *+' conftest.er1 >conftest.err
15774 rm -f conftest.er1
15775 cat conftest.err >&5
15776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15777 (exit $ac_status); } && {
15778 test -z "$ac_c_werror_flag" ||
15779 test ! -s conftest.err
15780 } && test -s conftest.$ac_objext; then
15781 bakefile_cv_c_compiler___xlC__=yes
15782 else
15783 echo "$as_me: failed program was:" >&5
15784 sed 's/^/| /' conftest.$ac_ext >&5
15785
15786 bakefile_cv_c_compiler___xlC__=no
15787
15788 fi
15789
15790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15791
15792
15793 fi
15794 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15795 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15796 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15797 :; XLCC=yes
15798 else
15799 :;
15800 fi
15801 ac_ext=c
15802 ac_cpp='$CPP $CPPFLAGS'
15803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15806
15807
15808
15809 fi
15810 ;;
15811
15812 IRIX*)
15813
15814
15815 ac_ext=c
15816 ac_cpp='$CPP $CPPFLAGS'
15817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15820
15821 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
15822 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
15823 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
15824 echo $ECHO_N "(cached) $ECHO_C" >&6
15825 else
15826 cat >conftest.$ac_ext <<_ACEOF
15827 /* confdefs.h. */
15828 _ACEOF
15829 cat confdefs.h >>conftest.$ac_ext
15830 cat >>conftest.$ac_ext <<_ACEOF
15831 /* end confdefs.h. */
15832
15833 int
15834 main ()
15835 {
15836
15837 #ifndef _SGI_COMPILER_VERSION
15838 choke me
15839 #endif
15840
15841 ;
15842 return 0;
15843 }
15844 _ACEOF
15845 rm -f conftest.$ac_objext
15846 if { (ac_try="$ac_compile"
15847 case "(($ac_try" in
15848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15849 *) ac_try_echo=$ac_try;;
15850 esac
15851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15852 (eval "$ac_compile") 2>conftest.er1
15853 ac_status=$?
15854 grep -v '^ *+' conftest.er1 >conftest.err
15855 rm -f conftest.er1
15856 cat conftest.err >&5
15857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15858 (exit $ac_status); } && {
15859 test -z "$ac_c_werror_flag" ||
15860 test ! -s conftest.err
15861 } && test -s conftest.$ac_objext; then
15862 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
15863 else
15864 echo "$as_me: failed program was:" >&5
15865 sed 's/^/| /' conftest.$ac_ext >&5
15866
15867 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
15868
15869 fi
15870
15871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15872
15873
15874 fi
15875 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
15876 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
15877 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
15878 :; SGICC=yes
15879 else
15880 :;
15881 fi
15882 ac_ext=c
15883 ac_cpp='$CPP $CPPFLAGS'
15884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15887
15888
15889
15890 ;;
15891
15892 Linux*)
15893 if test "$INTELCC" != "yes"; then
15894
15895
15896 ac_ext=c
15897 ac_cpp='$CPP $CPPFLAGS'
15898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15901
15902 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
15903 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
15904 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
15905 echo $ECHO_N "(cached) $ECHO_C" >&6
15906 else
15907 cat >conftest.$ac_ext <<_ACEOF
15908 /* confdefs.h. */
15909 _ACEOF
15910 cat confdefs.h >>conftest.$ac_ext
15911 cat >>conftest.$ac_ext <<_ACEOF
15912 /* end confdefs.h. */
15913
15914 int
15915 main ()
15916 {
15917
15918 #ifndef __SUNPRO_C
15919 choke me
15920 #endif
15921
15922 ;
15923 return 0;
15924 }
15925 _ACEOF
15926 rm -f conftest.$ac_objext
15927 if { (ac_try="$ac_compile"
15928 case "(($ac_try" in
15929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15930 *) ac_try_echo=$ac_try;;
15931 esac
15932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15933 (eval "$ac_compile") 2>conftest.er1
15934 ac_status=$?
15935 grep -v '^ *+' conftest.er1 >conftest.err
15936 rm -f conftest.er1
15937 cat conftest.err >&5
15938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15939 (exit $ac_status); } && {
15940 test -z "$ac_c_werror_flag" ||
15941 test ! -s conftest.err
15942 } && test -s conftest.$ac_objext; then
15943 bakefile_cv_c_compiler___SUNPRO_C=yes
15944 else
15945 echo "$as_me: failed program was:" >&5
15946 sed 's/^/| /' conftest.$ac_ext >&5
15947
15948 bakefile_cv_c_compiler___SUNPRO_C=no
15949
15950 fi
15951
15952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15953
15954
15955 fi
15956 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
15957 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
15958 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
15959 :; SUNCC=yes
15960 else
15961 :;
15962 fi
15963 ac_ext=c
15964 ac_cpp='$CPP $CPPFLAGS'
15965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15968
15969
15970
15971 fi
15972 ;;
15973
15974 HP-UX*)
15975
15976
15977 ac_ext=c
15978 ac_cpp='$CPP $CPPFLAGS'
15979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15982
15983 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
15984 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
15985 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
15986 echo $ECHO_N "(cached) $ECHO_C" >&6
15987 else
15988 cat >conftest.$ac_ext <<_ACEOF
15989 /* confdefs.h. */
15990 _ACEOF
15991 cat confdefs.h >>conftest.$ac_ext
15992 cat >>conftest.$ac_ext <<_ACEOF
15993 /* end confdefs.h. */
15994
15995 int
15996 main ()
15997 {
15998
15999 #ifndef __HP_cc
16000 choke me
16001 #endif
16002
16003 ;
16004 return 0;
16005 }
16006 _ACEOF
16007 rm -f conftest.$ac_objext
16008 if { (ac_try="$ac_compile"
16009 case "(($ac_try" in
16010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16011 *) ac_try_echo=$ac_try;;
16012 esac
16013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16014 (eval "$ac_compile") 2>conftest.er1
16015 ac_status=$?
16016 grep -v '^ *+' conftest.er1 >conftest.err
16017 rm -f conftest.er1
16018 cat conftest.err >&5
16019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16020 (exit $ac_status); } && {
16021 test -z "$ac_c_werror_flag" ||
16022 test ! -s conftest.err
16023 } && test -s conftest.$ac_objext; then
16024 bakefile_cv_c_compiler___HP_cc=yes
16025 else
16026 echo "$as_me: failed program was:" >&5
16027 sed 's/^/| /' conftest.$ac_ext >&5
16028
16029 bakefile_cv_c_compiler___HP_cc=no
16030
16031 fi
16032
16033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16034
16035
16036 fi
16037 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
16038 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
16039 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
16040 :; HPCC=yes
16041 else
16042 :;
16043 fi
16044 ac_ext=c
16045 ac_cpp='$CPP $CPPFLAGS'
16046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16049
16050
16051
16052 ;;
16053
16054 OSF1)
16055
16056
16057 ac_ext=c
16058 ac_cpp='$CPP $CPPFLAGS'
16059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16062
16063 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
16064 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
16065 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
16066 echo $ECHO_N "(cached) $ECHO_C" >&6
16067 else
16068 cat >conftest.$ac_ext <<_ACEOF
16069 /* confdefs.h. */
16070 _ACEOF
16071 cat confdefs.h >>conftest.$ac_ext
16072 cat >>conftest.$ac_ext <<_ACEOF
16073 /* end confdefs.h. */
16074
16075 int
16076 main ()
16077 {
16078
16079 #ifndef __DECC
16080 choke me
16081 #endif
16082
16083 ;
16084 return 0;
16085 }
16086 _ACEOF
16087 rm -f conftest.$ac_objext
16088 if { (ac_try="$ac_compile"
16089 case "(($ac_try" in
16090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16091 *) ac_try_echo=$ac_try;;
16092 esac
16093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16094 (eval "$ac_compile") 2>conftest.er1
16095 ac_status=$?
16096 grep -v '^ *+' conftest.er1 >conftest.err
16097 rm -f conftest.er1
16098 cat conftest.err >&5
16099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16100 (exit $ac_status); } && {
16101 test -z "$ac_c_werror_flag" ||
16102 test ! -s conftest.err
16103 } && test -s conftest.$ac_objext; then
16104 bakefile_cv_c_compiler___DECC=yes
16105 else
16106 echo "$as_me: failed program was:" >&5
16107 sed 's/^/| /' conftest.$ac_ext >&5
16108
16109 bakefile_cv_c_compiler___DECC=no
16110
16111 fi
16112
16113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16114
16115
16116 fi
16117 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
16118 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
16119 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
16120 :; COMPAQCC=yes
16121 else
16122 :;
16123 fi
16124 ac_ext=c
16125 ac_cpp='$CPP $CPPFLAGS'
16126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16129
16130
16131
16132 ;;
16133
16134 SunOS)
16135
16136
16137 ac_ext=c
16138 ac_cpp='$CPP $CPPFLAGS'
16139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16142
16143 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
16144 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
16145 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
16146 echo $ECHO_N "(cached) $ECHO_C" >&6
16147 else
16148 cat >conftest.$ac_ext <<_ACEOF
16149 /* confdefs.h. */
16150 _ACEOF
16151 cat confdefs.h >>conftest.$ac_ext
16152 cat >>conftest.$ac_ext <<_ACEOF
16153 /* end confdefs.h. */
16154
16155 int
16156 main ()
16157 {
16158
16159 #ifndef __SUNPRO_C
16160 choke me
16161 #endif
16162
16163 ;
16164 return 0;
16165 }
16166 _ACEOF
16167 rm -f conftest.$ac_objext
16168 if { (ac_try="$ac_compile"
16169 case "(($ac_try" in
16170 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16171 *) ac_try_echo=$ac_try;;
16172 esac
16173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16174 (eval "$ac_compile") 2>conftest.er1
16175 ac_status=$?
16176 grep -v '^ *+' conftest.er1 >conftest.err
16177 rm -f conftest.er1
16178 cat conftest.err >&5
16179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16180 (exit $ac_status); } && {
16181 test -z "$ac_c_werror_flag" ||
16182 test ! -s conftest.err
16183 } && test -s conftest.$ac_objext; then
16184 bakefile_cv_c_compiler___SUNPRO_C=yes
16185 else
16186 echo "$as_me: failed program was:" >&5
16187 sed 's/^/| /' conftest.$ac_ext >&5
16188
16189 bakefile_cv_c_compiler___SUNPRO_C=no
16190
16191 fi
16192
16193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16194
16195
16196 fi
16197 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16198 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16199 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16200 :; SUNCC=yes
16201 else
16202 :;
16203 fi
16204 ac_ext=c
16205 ac_cpp='$CPP $CPPFLAGS'
16206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16209
16210
16211
16212 ;;
16213 esac
16214 fi
16215
16216
16217
16218 ac_ext=c
16219 ac_cpp='$CPP $CPPFLAGS'
16220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16223 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
16224 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
16225 # On Suns, sometimes $CPP names a directory.
16226 if test -n "$CPP" && test -d "$CPP"; then
16227 CPP=
16228 fi
16229 if test -z "$CPP"; then
16230 if test "${ac_cv_prog_CPP+set}" = set; then
16231 echo $ECHO_N "(cached) $ECHO_C" >&6
16232 else
16233 # Double quotes because CPP needs to be expanded
16234 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
16235 do
16236 ac_preproc_ok=false
16237 for ac_c_preproc_warn_flag in '' yes
16238 do
16239 # Use a header file that comes with gcc, so configuring glibc
16240 # with a fresh cross-compiler works.
16241 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16242 # <limits.h> exists even on freestanding compilers.
16243 # On the NeXT, cc -E runs the code through the compiler's parser,
16244 # not just through cpp. "Syntax error" is here to catch this case.
16245 cat >conftest.$ac_ext <<_ACEOF
16246 /* confdefs.h. */
16247 _ACEOF
16248 cat confdefs.h >>conftest.$ac_ext
16249 cat >>conftest.$ac_ext <<_ACEOF
16250 /* end confdefs.h. */
16251 #ifdef __STDC__
16252 # include <limits.h>
16253 #else
16254 # include <assert.h>
16255 #endif
16256 Syntax error
16257 _ACEOF
16258 if { (ac_try="$ac_cpp conftest.$ac_ext"
16259 case "(($ac_try" in
16260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16261 *) ac_try_echo=$ac_try;;
16262 esac
16263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16264 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16265 ac_status=$?
16266 grep -v '^ *+' conftest.er1 >conftest.err
16267 rm -f conftest.er1
16268 cat conftest.err >&5
16269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16270 (exit $ac_status); } >/dev/null && {
16271 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16272 test ! -s conftest.err
16273 }; then
16274 :
16275 else
16276 echo "$as_me: failed program was:" >&5
16277 sed 's/^/| /' conftest.$ac_ext >&5
16278
16279 # Broken: fails on valid input.
16280 continue
16281 fi
16282
16283 rm -f conftest.err conftest.$ac_ext
16284
16285 # OK, works on sane cases. Now check whether nonexistent headers
16286 # can be detected and how.
16287 cat >conftest.$ac_ext <<_ACEOF
16288 /* confdefs.h. */
16289 _ACEOF
16290 cat confdefs.h >>conftest.$ac_ext
16291 cat >>conftest.$ac_ext <<_ACEOF
16292 /* end confdefs.h. */
16293 #include <ac_nonexistent.h>
16294 _ACEOF
16295 if { (ac_try="$ac_cpp conftest.$ac_ext"
16296 case "(($ac_try" in
16297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16298 *) ac_try_echo=$ac_try;;
16299 esac
16300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16301 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16302 ac_status=$?
16303 grep -v '^ *+' conftest.er1 >conftest.err
16304 rm -f conftest.er1
16305 cat conftest.err >&5
16306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16307 (exit $ac_status); } >/dev/null && {
16308 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16309 test ! -s conftest.err
16310 }; then
16311 # Broken: success on invalid input.
16312 continue
16313 else
16314 echo "$as_me: failed program was:" >&5
16315 sed 's/^/| /' conftest.$ac_ext >&5
16316
16317 # Passes both tests.
16318 ac_preproc_ok=:
16319 break
16320 fi
16321
16322 rm -f conftest.err conftest.$ac_ext
16323
16324 done
16325 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16326 rm -f conftest.err conftest.$ac_ext
16327 if $ac_preproc_ok; then
16328 break
16329 fi
16330
16331 done
16332 ac_cv_prog_CPP=$CPP
16333
16334 fi
16335 CPP=$ac_cv_prog_CPP
16336 else
16337 ac_cv_prog_CPP=$CPP
16338 fi
16339 { echo "$as_me:$LINENO: result: $CPP" >&5
16340 echo "${ECHO_T}$CPP" >&6; }
16341 ac_preproc_ok=false
16342 for ac_c_preproc_warn_flag in '' yes
16343 do
16344 # Use a header file that comes with gcc, so configuring glibc
16345 # with a fresh cross-compiler works.
16346 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16347 # <limits.h> exists even on freestanding compilers.
16348 # On the NeXT, cc -E runs the code through the compiler's parser,
16349 # not just through cpp. "Syntax error" is here to catch this case.
16350 cat >conftest.$ac_ext <<_ACEOF
16351 /* confdefs.h. */
16352 _ACEOF
16353 cat confdefs.h >>conftest.$ac_ext
16354 cat >>conftest.$ac_ext <<_ACEOF
16355 /* end confdefs.h. */
16356 #ifdef __STDC__
16357 # include <limits.h>
16358 #else
16359 # include <assert.h>
16360 #endif
16361 Syntax error
16362 _ACEOF
16363 if { (ac_try="$ac_cpp conftest.$ac_ext"
16364 case "(($ac_try" in
16365 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16366 *) ac_try_echo=$ac_try;;
16367 esac
16368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16369 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16370 ac_status=$?
16371 grep -v '^ *+' conftest.er1 >conftest.err
16372 rm -f conftest.er1
16373 cat conftest.err >&5
16374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16375 (exit $ac_status); } >/dev/null && {
16376 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16377 test ! -s conftest.err
16378 }; then
16379 :
16380 else
16381 echo "$as_me: failed program was:" >&5
16382 sed 's/^/| /' conftest.$ac_ext >&5
16383
16384 # Broken: fails on valid input.
16385 continue
16386 fi
16387
16388 rm -f conftest.err conftest.$ac_ext
16389
16390 # OK, works on sane cases. Now check whether nonexistent headers
16391 # can be detected and how.
16392 cat >conftest.$ac_ext <<_ACEOF
16393 /* confdefs.h. */
16394 _ACEOF
16395 cat confdefs.h >>conftest.$ac_ext
16396 cat >>conftest.$ac_ext <<_ACEOF
16397 /* end confdefs.h. */
16398 #include <ac_nonexistent.h>
16399 _ACEOF
16400 if { (ac_try="$ac_cpp conftest.$ac_ext"
16401 case "(($ac_try" in
16402 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16403 *) ac_try_echo=$ac_try;;
16404 esac
16405 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16406 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16407 ac_status=$?
16408 grep -v '^ *+' conftest.er1 >conftest.err
16409 rm -f conftest.er1
16410 cat conftest.err >&5
16411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16412 (exit $ac_status); } >/dev/null && {
16413 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16414 test ! -s conftest.err
16415 }; then
16416 # Broken: success on invalid input.
16417 continue
16418 else
16419 echo "$as_me: failed program was:" >&5
16420 sed 's/^/| /' conftest.$ac_ext >&5
16421
16422 # Passes both tests.
16423 ac_preproc_ok=:
16424 break
16425 fi
16426
16427 rm -f conftest.err conftest.$ac_ext
16428
16429 done
16430 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16431 rm -f conftest.err conftest.$ac_ext
16432 if $ac_preproc_ok; then
16433 :
16434 else
16435 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
16436 See \`config.log' for more details." >&5
16437 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
16438 See \`config.log' for more details." >&2;}
16439 { (exit 1); exit 1; }; }
16440 fi
16441
16442 ac_ext=c
16443 ac_cpp='$CPP $CPPFLAGS'
16444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16447
16448
16449 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
16450 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
16451 if test "${ac_cv_path_GREP+set}" = set; then
16452 echo $ECHO_N "(cached) $ECHO_C" >&6
16453 else
16454 # Extract the first word of "grep ggrep" to use in msg output
16455 if test -z "$GREP"; then
16456 set dummy grep ggrep; ac_prog_name=$2
16457 if test "${ac_cv_path_GREP+set}" = set; then
16458 echo $ECHO_N "(cached) $ECHO_C" >&6
16459 else
16460 ac_path_GREP_found=false
16461 # Loop through the user's path and test for each of PROGNAME-LIST
16462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16463 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
16464 do
16465 IFS=$as_save_IFS
16466 test -z "$as_dir" && as_dir=.
16467 for ac_prog in grep ggrep; do
16468 for ac_exec_ext in '' $ac_executable_extensions; do
16469 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
16470 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
16471 # Check for GNU ac_path_GREP and select it if it is found.
16472 # Check for GNU $ac_path_GREP
16473 case `"$ac_path_GREP" --version 2>&1` in
16474 *GNU*)
16475 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
16476 *)
16477 ac_count=0
16478 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16479 while :
16480 do
16481 cat "conftest.in" "conftest.in" >"conftest.tmp"
16482 mv "conftest.tmp" "conftest.in"
16483 cp "conftest.in" "conftest.nl"
16484 echo 'GREP' >> "conftest.nl"
16485 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
16486 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
16487 ac_count=`expr $ac_count + 1`
16488 if test $ac_count -gt ${ac_path_GREP_max-0}; then
16489 # Best one so far, save it but keep looking for a better one
16490 ac_cv_path_GREP="$ac_path_GREP"
16491 ac_path_GREP_max=$ac_count
16492 fi
16493 # 10*(2^10) chars as input seems more than enough
16494 test $ac_count -gt 10 && break
16495 done
16496 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
16497 esac
16498
16499
16500 $ac_path_GREP_found && break 3
16501 done
16502 done
16503
16504 done
16505 IFS=$as_save_IFS
16506
16507
16508 fi
16509
16510 GREP="$ac_cv_path_GREP"
16511 if test -z "$GREP"; then
16512 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16513 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16514 { (exit 1); exit 1; }; }
16515 fi
16516
16517 else
16518 ac_cv_path_GREP=$GREP
16519 fi
16520
16521
16522 fi
16523 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
16524 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
16525 GREP="$ac_cv_path_GREP"
16526
16527
16528 { echo "$as_me:$LINENO: checking for egrep" >&5
16529 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
16530 if test "${ac_cv_path_EGREP+set}" = set; then
16531 echo $ECHO_N "(cached) $ECHO_C" >&6
16532 else
16533 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
16534 then ac_cv_path_EGREP="$GREP -E"
16535 else
16536 # Extract the first word of "egrep" to use in msg output
16537 if test -z "$EGREP"; then
16538 set dummy egrep; ac_prog_name=$2
16539 if test "${ac_cv_path_EGREP+set}" = set; then
16540 echo $ECHO_N "(cached) $ECHO_C" >&6
16541 else
16542 ac_path_EGREP_found=false
16543 # Loop through the user's path and test for each of PROGNAME-LIST
16544 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16545 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
16546 do
16547 IFS=$as_save_IFS
16548 test -z "$as_dir" && as_dir=.
16549 for ac_prog in egrep; do
16550 for ac_exec_ext in '' $ac_executable_extensions; do
16551 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
16552 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
16553 # Check for GNU ac_path_EGREP and select it if it is found.
16554 # Check for GNU $ac_path_EGREP
16555 case `"$ac_path_EGREP" --version 2>&1` in
16556 *GNU*)
16557 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
16558 *)
16559 ac_count=0
16560 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16561 while :
16562 do
16563 cat "conftest.in" "conftest.in" >"conftest.tmp"
16564 mv "conftest.tmp" "conftest.in"
16565 cp "conftest.in" "conftest.nl"
16566 echo 'EGREP' >> "conftest.nl"
16567 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
16568 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
16569 ac_count=`expr $ac_count + 1`
16570 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
16571 # Best one so far, save it but keep looking for a better one
16572 ac_cv_path_EGREP="$ac_path_EGREP"
16573 ac_path_EGREP_max=$ac_count
16574 fi
16575 # 10*(2^10) chars as input seems more than enough
16576 test $ac_count -gt 10 && break
16577 done
16578 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
16579 esac
16580
16581
16582 $ac_path_EGREP_found && break 3
16583 done
16584 done
16585
16586 done
16587 IFS=$as_save_IFS
16588
16589
16590 fi
16591
16592 EGREP="$ac_cv_path_EGREP"
16593 if test -z "$EGREP"; then
16594 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16595 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16596 { (exit 1); exit 1; }; }
16597 fi
16598
16599 else
16600 ac_cv_path_EGREP=$EGREP
16601 fi
16602
16603
16604 fi
16605 fi
16606 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
16607 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
16608 EGREP="$ac_cv_path_EGREP"
16609
16610
16611 if test $ac_cv_c_compiler_gnu = yes; then
16612 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
16613 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
16614 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
16615 echo $ECHO_N "(cached) $ECHO_C" >&6
16616 else
16617 ac_pattern="Autoconf.*'x'"
16618 cat >conftest.$ac_ext <<_ACEOF
16619 /* confdefs.h. */
16620 _ACEOF
16621 cat confdefs.h >>conftest.$ac_ext
16622 cat >>conftest.$ac_ext <<_ACEOF
16623 /* end confdefs.h. */
16624 #include <sgtty.h>
16625 Autoconf TIOCGETP
16626 _ACEOF
16627 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16628 $EGREP "$ac_pattern" >/dev/null 2>&1; then
16629 ac_cv_prog_gcc_traditional=yes
16630 else
16631 ac_cv_prog_gcc_traditional=no
16632 fi
16633 rm -f conftest*
16634
16635
16636 if test $ac_cv_prog_gcc_traditional = no; then
16637 cat >conftest.$ac_ext <<_ACEOF
16638 /* confdefs.h. */
16639 _ACEOF
16640 cat confdefs.h >>conftest.$ac_ext
16641 cat >>conftest.$ac_ext <<_ACEOF
16642 /* end confdefs.h. */
16643 #include <termio.h>
16644 Autoconf TCGETA
16645 _ACEOF
16646 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16647 $EGREP "$ac_pattern" >/dev/null 2>&1; then
16648 ac_cv_prog_gcc_traditional=yes
16649 fi
16650 rm -f conftest*
16651
16652 fi
16653 fi
16654 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
16655 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
16656 if test $ac_cv_prog_gcc_traditional = yes; then
16657 CC="$CC -traditional"
16658 fi
16659 fi
16660
16661
16662 CXXFLAGS=${CXXFLAGS:=}
16663
16664
16665
16666 ac_ext=cpp
16667 ac_cpp='$CXXCPP $CPPFLAGS'
16668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16671 if test -z "$CXX"; then
16672 if test -n "$CCC"; then
16673 CXX=$CCC
16674 else
16675 if test -n "$ac_tool_prefix"; then
16676 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16677 do
16678 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16679 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16680 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16681 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16682 if test "${ac_cv_prog_CXX+set}" = set; then
16683 echo $ECHO_N "(cached) $ECHO_C" >&6
16684 else
16685 if test -n "$CXX"; then
16686 ac_cv_prog_CXX="$CXX" # Let the user override the test.
16687 else
16688 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16689 for as_dir in $PATH
16690 do
16691 IFS=$as_save_IFS
16692 test -z "$as_dir" && as_dir=.
16693 for ac_exec_ext in '' $ac_executable_extensions; do
16694 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16695 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
16696 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16697 break 2
16698 fi
16699 done
16700 done
16701 IFS=$as_save_IFS
16702
16703 fi
16704 fi
16705 CXX=$ac_cv_prog_CXX
16706 if test -n "$CXX"; then
16707 { echo "$as_me:$LINENO: result: $CXX" >&5
16708 echo "${ECHO_T}$CXX" >&6; }
16709 else
16710 { echo "$as_me:$LINENO: result: no" >&5
16711 echo "${ECHO_T}no" >&6; }
16712 fi
16713
16714
16715 test -n "$CXX" && break
16716 done
16717 fi
16718 if test -z "$CXX"; then
16719 ac_ct_CXX=$CXX
16720 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16721 do
16722 # Extract the first word of "$ac_prog", so it can be a program name with args.
16723 set dummy $ac_prog; ac_word=$2
16724 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16725 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16726 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
16727 echo $ECHO_N "(cached) $ECHO_C" >&6
16728 else
16729 if test -n "$ac_ct_CXX"; then
16730 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
16731 else
16732 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16733 for as_dir in $PATH
16734 do
16735 IFS=$as_save_IFS
16736 test -z "$as_dir" && as_dir=.
16737 for ac_exec_ext in '' $ac_executable_extensions; do
16738 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16739 ac_cv_prog_ac_ct_CXX="$ac_prog"
16740 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16741 break 2
16742 fi
16743 done
16744 done
16745 IFS=$as_save_IFS
16746
16747 fi
16748 fi
16749 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
16750 if test -n "$ac_ct_CXX"; then
16751 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
16752 echo "${ECHO_T}$ac_ct_CXX" >&6; }
16753 else
16754 { echo "$as_me:$LINENO: result: no" >&5
16755 echo "${ECHO_T}no" >&6; }
16756 fi
16757
16758
16759 test -n "$ac_ct_CXX" && break
16760 done
16761
16762 if test "x$ac_ct_CXX" = x; then
16763 CXX="g++"
16764 else
16765 case $cross_compiling:$ac_tool_warned in
16766 yes:)
16767 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16768 whose name does not start with the host triplet. If you think this
16769 configuration is useful to you, please write to autoconf@gnu.org." >&5
16770 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16771 whose name does not start with the host triplet. If you think this
16772 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16773 ac_tool_warned=yes ;;
16774 esac
16775 CXX=$ac_ct_CXX
16776 fi
16777 fi
16778
16779 fi
16780 fi
16781 # Provide some information about the compiler.
16782 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
16783 ac_compiler=`set X $ac_compile; echo $2`
16784 { (ac_try="$ac_compiler --version >&5"
16785 case "(($ac_try" in
16786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16787 *) ac_try_echo=$ac_try;;
16788 esac
16789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16790 (eval "$ac_compiler --version >&5") 2>&5
16791 ac_status=$?
16792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16793 (exit $ac_status); }
16794 { (ac_try="$ac_compiler -v >&5"
16795 case "(($ac_try" in
16796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16797 *) ac_try_echo=$ac_try;;
16798 esac
16799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16800 (eval "$ac_compiler -v >&5") 2>&5
16801 ac_status=$?
16802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16803 (exit $ac_status); }
16804 { (ac_try="$ac_compiler -V >&5"
16805 case "(($ac_try" in
16806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16807 *) ac_try_echo=$ac_try;;
16808 esac
16809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16810 (eval "$ac_compiler -V >&5") 2>&5
16811 ac_status=$?
16812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16813 (exit $ac_status); }
16814
16815 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
16816 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
16817 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
16818 echo $ECHO_N "(cached) $ECHO_C" >&6
16819 else
16820 cat >conftest.$ac_ext <<_ACEOF
16821 /* confdefs.h. */
16822 _ACEOF
16823 cat confdefs.h >>conftest.$ac_ext
16824 cat >>conftest.$ac_ext <<_ACEOF
16825 /* end confdefs.h. */
16826
16827 int
16828 main ()
16829 {
16830 #ifndef __GNUC__
16831 choke me
16832 #endif
16833
16834 ;
16835 return 0;
16836 }
16837 _ACEOF
16838 rm -f conftest.$ac_objext
16839 if { (ac_try="$ac_compile"
16840 case "(($ac_try" in
16841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16842 *) ac_try_echo=$ac_try;;
16843 esac
16844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16845 (eval "$ac_compile") 2>conftest.er1
16846 ac_status=$?
16847 grep -v '^ *+' conftest.er1 >conftest.err
16848 rm -f conftest.er1
16849 cat conftest.err >&5
16850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16851 (exit $ac_status); } && {
16852 test -z "$ac_cxx_werror_flag" ||
16853 test ! -s conftest.err
16854 } && test -s conftest.$ac_objext; then
16855 ac_compiler_gnu=yes
16856 else
16857 echo "$as_me: failed program was:" >&5
16858 sed 's/^/| /' conftest.$ac_ext >&5
16859
16860 ac_compiler_gnu=no
16861 fi
16862
16863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16864 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
16865
16866 fi
16867 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
16868 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
16869 GXX=`test $ac_compiler_gnu = yes && echo yes`
16870 ac_test_CXXFLAGS=${CXXFLAGS+set}
16871 ac_save_CXXFLAGS=$CXXFLAGS
16872 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
16873 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
16874 if test "${ac_cv_prog_cxx_g+set}" = set; then
16875 echo $ECHO_N "(cached) $ECHO_C" >&6
16876 else
16877 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
16878 ac_cxx_werror_flag=yes
16879 ac_cv_prog_cxx_g=no
16880 CXXFLAGS="-g"
16881 cat >conftest.$ac_ext <<_ACEOF
16882 /* confdefs.h. */
16883 _ACEOF
16884 cat confdefs.h >>conftest.$ac_ext
16885 cat >>conftest.$ac_ext <<_ACEOF
16886 /* end confdefs.h. */
16887
16888 int
16889 main ()
16890 {
16891
16892 ;
16893 return 0;
16894 }
16895 _ACEOF
16896 rm -f conftest.$ac_objext
16897 if { (ac_try="$ac_compile"
16898 case "(($ac_try" in
16899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16900 *) ac_try_echo=$ac_try;;
16901 esac
16902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16903 (eval "$ac_compile") 2>conftest.er1
16904 ac_status=$?
16905 grep -v '^ *+' conftest.er1 >conftest.err
16906 rm -f conftest.er1
16907 cat conftest.err >&5
16908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16909 (exit $ac_status); } && {
16910 test -z "$ac_cxx_werror_flag" ||
16911 test ! -s conftest.err
16912 } && test -s conftest.$ac_objext; then
16913 ac_cv_prog_cxx_g=yes
16914 else
16915 echo "$as_me: failed program was:" >&5
16916 sed 's/^/| /' conftest.$ac_ext >&5
16917
16918 CXXFLAGS=""
16919 cat >conftest.$ac_ext <<_ACEOF
16920 /* confdefs.h. */
16921 _ACEOF
16922 cat confdefs.h >>conftest.$ac_ext
16923 cat >>conftest.$ac_ext <<_ACEOF
16924 /* end confdefs.h. */
16925
16926 int
16927 main ()
16928 {
16929
16930 ;
16931 return 0;
16932 }
16933 _ACEOF
16934 rm -f conftest.$ac_objext
16935 if { (ac_try="$ac_compile"
16936 case "(($ac_try" in
16937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16938 *) ac_try_echo=$ac_try;;
16939 esac
16940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16941 (eval "$ac_compile") 2>conftest.er1
16942 ac_status=$?
16943 grep -v '^ *+' conftest.er1 >conftest.err
16944 rm -f conftest.er1
16945 cat conftest.err >&5
16946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16947 (exit $ac_status); } && {
16948 test -z "$ac_cxx_werror_flag" ||
16949 test ! -s conftest.err
16950 } && test -s conftest.$ac_objext; then
16951 :
16952 else
16953 echo "$as_me: failed program was:" >&5
16954 sed 's/^/| /' conftest.$ac_ext >&5
16955
16956 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
16957 CXXFLAGS="-g"
16958 cat >conftest.$ac_ext <<_ACEOF
16959 /* confdefs.h. */
16960 _ACEOF
16961 cat confdefs.h >>conftest.$ac_ext
16962 cat >>conftest.$ac_ext <<_ACEOF
16963 /* end confdefs.h. */
16964
16965 int
16966 main ()
16967 {
16968
16969 ;
16970 return 0;
16971 }
16972 _ACEOF
16973 rm -f conftest.$ac_objext
16974 if { (ac_try="$ac_compile"
16975 case "(($ac_try" in
16976 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16977 *) ac_try_echo=$ac_try;;
16978 esac
16979 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16980 (eval "$ac_compile") 2>conftest.er1
16981 ac_status=$?
16982 grep -v '^ *+' conftest.er1 >conftest.err
16983 rm -f conftest.er1
16984 cat conftest.err >&5
16985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16986 (exit $ac_status); } && {
16987 test -z "$ac_cxx_werror_flag" ||
16988 test ! -s conftest.err
16989 } && test -s conftest.$ac_objext; then
16990 ac_cv_prog_cxx_g=yes
16991 else
16992 echo "$as_me: failed program was:" >&5
16993 sed 's/^/| /' conftest.$ac_ext >&5
16994
16995
16996 fi
16997
16998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16999 fi
17000
17001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17002 fi
17003
17004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17005 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
17006 fi
17007 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
17008 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
17009 if test "$ac_test_CXXFLAGS" = set; then
17010 CXXFLAGS=$ac_save_CXXFLAGS
17011 elif test $ac_cv_prog_cxx_g = yes; then
17012 if test "$GXX" = yes; then
17013 CXXFLAGS="-g -O2"
17014 else
17015 CXXFLAGS="-g"
17016 fi
17017 else
17018 if test "$GXX" = yes; then
17019 CXXFLAGS="-O2"
17020 else
17021 CXXFLAGS=
17022 fi
17023 fi
17024 ac_ext=c
17025 ac_cpp='$CPP $CPPFLAGS'
17026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17029
17030
17031
17032
17033 ac_ext=cpp
17034 ac_cpp='$CXXCPP $CPPFLAGS'
17035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17038
17039 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
17040 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
17041 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
17042 echo $ECHO_N "(cached) $ECHO_C" >&6
17043 else
17044 cat >conftest.$ac_ext <<_ACEOF
17045 /* confdefs.h. */
17046 _ACEOF
17047 cat confdefs.h >>conftest.$ac_ext
17048 cat >>conftest.$ac_ext <<_ACEOF
17049 /* end confdefs.h. */
17050
17051 int
17052 main ()
17053 {
17054
17055 #ifndef __INTEL_COMPILER
17056 choke me
17057 #endif
17058
17059 ;
17060 return 0;
17061 }
17062 _ACEOF
17063 rm -f conftest.$ac_objext
17064 if { (ac_try="$ac_compile"
17065 case "(($ac_try" in
17066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17067 *) ac_try_echo=$ac_try;;
17068 esac
17069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17070 (eval "$ac_compile") 2>conftest.er1
17071 ac_status=$?
17072 grep -v '^ *+' conftest.er1 >conftest.err
17073 rm -f conftest.er1
17074 cat conftest.err >&5
17075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17076 (exit $ac_status); } && {
17077 test -z "$ac_cxx_werror_flag" ||
17078 test ! -s conftest.err
17079 } && test -s conftest.$ac_objext; then
17080 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
17081 else
17082 echo "$as_me: failed program was:" >&5
17083 sed 's/^/| /' conftest.$ac_ext >&5
17084
17085 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
17086
17087 fi
17088
17089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17090
17091
17092 fi
17093 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
17094 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
17095 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
17096 :; INTELCXX=yes
17097 else
17098 :;
17099 fi
17100 ac_ext=c
17101 ac_cpp='$CPP $CPPFLAGS'
17102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17105
17106
17107
17108
17109 if test "$INTELCXX" = "yes"; then
17110
17111
17112 ac_ext=cpp
17113 ac_cpp='$CXXCPP $CPPFLAGS'
17114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17117
17118 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v8 or later" >&5
17119 echo $ECHO_N "checking whether we are using Intel C++ compiler v8 or later... $ECHO_C" >&6; }
17120 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800+set}" = set; then
17121 echo $ECHO_N "(cached) $ECHO_C" >&6
17122 else
17123 cat >conftest.$ac_ext <<_ACEOF
17124 /* confdefs.h. */
17125 _ACEOF
17126 cat confdefs.h >>conftest.$ac_ext
17127 cat >>conftest.$ac_ext <<_ACEOF
17128 /* end confdefs.h. */
17129
17130 int
17131 main ()
17132 {
17133
17134 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
17135 choke me
17136 #endif
17137
17138 ;
17139 return 0;
17140 }
17141 _ACEOF
17142 rm -f conftest.$ac_objext
17143 if { (ac_try="$ac_compile"
17144 case "(($ac_try" in
17145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17146 *) ac_try_echo=$ac_try;;
17147 esac
17148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17149 (eval "$ac_compile") 2>conftest.er1
17150 ac_status=$?
17151 grep -v '^ *+' conftest.er1 >conftest.err
17152 rm -f conftest.er1
17153 cat conftest.err >&5
17154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17155 (exit $ac_status); } && {
17156 test -z "$ac_cxx_werror_flag" ||
17157 test ! -s conftest.err
17158 } && test -s conftest.$ac_objext; then
17159 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=yes
17160 else
17161 echo "$as_me: failed program was:" >&5
17162 sed 's/^/| /' conftest.$ac_ext >&5
17163
17164 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=no
17165
17166 fi
17167
17168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17169
17170
17171 fi
17172 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&5
17173 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&6; }
17174 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
17175 :; INTELCXX8=yes
17176 else
17177 :;
17178 fi
17179 ac_ext=c
17180 ac_cpp='$CPP $CPPFLAGS'
17181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17184
17185
17186
17187
17188
17189 ac_ext=cpp
17190 ac_cpp='$CXXCPP $CPPFLAGS'
17191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17194
17195 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v10 or later" >&5
17196 echo $ECHO_N "checking whether we are using Intel C++ compiler v10 or later... $ECHO_C" >&6; }
17197 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
17198 echo $ECHO_N "(cached) $ECHO_C" >&6
17199 else
17200 cat >conftest.$ac_ext <<_ACEOF
17201 /* confdefs.h. */
17202 _ACEOF
17203 cat confdefs.h >>conftest.$ac_ext
17204 cat >>conftest.$ac_ext <<_ACEOF
17205 /* end confdefs.h. */
17206
17207 int
17208 main ()
17209 {
17210
17211 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
17212 choke me
17213 #endif
17214
17215 ;
17216 return 0;
17217 }
17218 _ACEOF
17219 rm -f conftest.$ac_objext
17220 if { (ac_try="$ac_compile"
17221 case "(($ac_try" in
17222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17223 *) ac_try_echo=$ac_try;;
17224 esac
17225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17226 (eval "$ac_compile") 2>conftest.er1
17227 ac_status=$?
17228 grep -v '^ *+' conftest.er1 >conftest.err
17229 rm -f conftest.er1
17230 cat conftest.err >&5
17231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17232 (exit $ac_status); } && {
17233 test -z "$ac_cxx_werror_flag" ||
17234 test ! -s conftest.err
17235 } && test -s conftest.$ac_objext; then
17236 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=yes
17237 else
17238 echo "$as_me: failed program was:" >&5
17239 sed 's/^/| /' conftest.$ac_ext >&5
17240
17241 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=no
17242
17243 fi
17244
17245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17246
17247
17248 fi
17249 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&5
17250 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&6; }
17251 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
17252 :; INTELCXX10=yes
17253 else
17254 :;
17255 fi
17256 ac_ext=c
17257 ac_cpp='$CPP $CPPFLAGS'
17258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17261
17262
17263
17264 fi
17265
17266 if test "x$GCXX" != "xyes"; then
17267 if test "xCXX" = "xC"; then
17268 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
17269 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
17270 if test "${bakefile_cv_c_exto+set}" = set; then
17271 echo $ECHO_N "(cached) $ECHO_C" >&6
17272 else
17273 cat >conftest.$ac_ext <<_ACEOF
17274 /* confdefs.h. */
17275 _ACEOF
17276 cat confdefs.h >>conftest.$ac_ext
17277 cat >>conftest.$ac_ext <<_ACEOF
17278 /* end confdefs.h. */
17279
17280 int
17281 main ()
17282 {
17283
17284 ;
17285 return 0;
17286 }
17287 _ACEOF
17288 rm -f conftest.$ac_objext conftest.$ac_ext.o
17289 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17290 (eval $ac_compile) 2>&5
17291 ac_status=$?
17292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17293 (exit $ac_status); }; then
17294 for ac_file in `(ls conftest.* 2>/dev/null)`; do
17295 case $ac_file in
17296 conftest.$ac_ext.o)
17297 bakefile_cv_c_exto="-ext o"
17298 ;;
17299 *)
17300 ;;
17301 esac
17302 done
17303 else
17304 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
17305 See \`config.log' for more details." >&5
17306 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
17307 See \`config.log' for more details." >&2;}
17308 { (exit 1); exit 1; }; }
17309
17310 fi
17311
17312 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
17313
17314 fi
17315 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
17316 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
17317 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17318 if test "c" = "c"; then
17319 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
17320 fi
17321 if test "c" = "cxx"; then
17322 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
17323 fi
17324 fi
17325
17326 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17327 unset ac_cv_prog_cc_g
17328 ac_test_CFLAGS=${CFLAGS+set}
17329 ac_save_CFLAGS=$CFLAGS
17330 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
17331 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
17332 if test "${ac_cv_prog_cc_g+set}" = set; then
17333 echo $ECHO_N "(cached) $ECHO_C" >&6
17334 else
17335 ac_save_c_werror_flag=$ac_c_werror_flag
17336 ac_c_werror_flag=yes
17337 ac_cv_prog_cc_g=no
17338 CFLAGS="-g"
17339 cat >conftest.$ac_ext <<_ACEOF
17340 /* confdefs.h. */
17341 _ACEOF
17342 cat confdefs.h >>conftest.$ac_ext
17343 cat >>conftest.$ac_ext <<_ACEOF
17344 /* end confdefs.h. */
17345
17346 int
17347 main ()
17348 {
17349
17350 ;
17351 return 0;
17352 }
17353 _ACEOF
17354 rm -f conftest.$ac_objext
17355 if { (ac_try="$ac_compile"
17356 case "(($ac_try" in
17357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17358 *) ac_try_echo=$ac_try;;
17359 esac
17360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17361 (eval "$ac_compile") 2>conftest.er1
17362 ac_status=$?
17363 grep -v '^ *+' conftest.er1 >conftest.err
17364 rm -f conftest.er1
17365 cat conftest.err >&5
17366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17367 (exit $ac_status); } && {
17368 test -z "$ac_c_werror_flag" ||
17369 test ! -s conftest.err
17370 } && test -s conftest.$ac_objext; then
17371 ac_cv_prog_cc_g=yes
17372 else
17373 echo "$as_me: failed program was:" >&5
17374 sed 's/^/| /' conftest.$ac_ext >&5
17375
17376 CFLAGS=""
17377 cat >conftest.$ac_ext <<_ACEOF
17378 /* confdefs.h. */
17379 _ACEOF
17380 cat confdefs.h >>conftest.$ac_ext
17381 cat >>conftest.$ac_ext <<_ACEOF
17382 /* end confdefs.h. */
17383
17384 int
17385 main ()
17386 {
17387
17388 ;
17389 return 0;
17390 }
17391 _ACEOF
17392 rm -f conftest.$ac_objext
17393 if { (ac_try="$ac_compile"
17394 case "(($ac_try" in
17395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17396 *) ac_try_echo=$ac_try;;
17397 esac
17398 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17399 (eval "$ac_compile") 2>conftest.er1
17400 ac_status=$?
17401 grep -v '^ *+' conftest.er1 >conftest.err
17402 rm -f conftest.er1
17403 cat conftest.err >&5
17404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17405 (exit $ac_status); } && {
17406 test -z "$ac_c_werror_flag" ||
17407 test ! -s conftest.err
17408 } && test -s conftest.$ac_objext; then
17409 :
17410 else
17411 echo "$as_me: failed program was:" >&5
17412 sed 's/^/| /' conftest.$ac_ext >&5
17413
17414 ac_c_werror_flag=$ac_save_c_werror_flag
17415 CFLAGS="-g"
17416 cat >conftest.$ac_ext <<_ACEOF
17417 /* confdefs.h. */
17418 _ACEOF
17419 cat confdefs.h >>conftest.$ac_ext
17420 cat >>conftest.$ac_ext <<_ACEOF
17421 /* end confdefs.h. */
17422
17423 int
17424 main ()
17425 {
17426
17427 ;
17428 return 0;
17429 }
17430 _ACEOF
17431 rm -f conftest.$ac_objext
17432 if { (ac_try="$ac_compile"
17433 case "(($ac_try" in
17434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17435 *) ac_try_echo=$ac_try;;
17436 esac
17437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17438 (eval "$ac_compile") 2>conftest.er1
17439 ac_status=$?
17440 grep -v '^ *+' conftest.er1 >conftest.err
17441 rm -f conftest.er1
17442 cat conftest.err >&5
17443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17444 (exit $ac_status); } && {
17445 test -z "$ac_c_werror_flag" ||
17446 test ! -s conftest.err
17447 } && test -s conftest.$ac_objext; then
17448 ac_cv_prog_cc_g=yes
17449 else
17450 echo "$as_me: failed program was:" >&5
17451 sed 's/^/| /' conftest.$ac_ext >&5
17452
17453
17454 fi
17455
17456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17457 fi
17458
17459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17460 fi
17461
17462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17463 ac_c_werror_flag=$ac_save_c_werror_flag
17464 fi
17465 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
17466 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
17467 if test "$ac_test_CFLAGS" = set; then
17468 CFLAGS=$ac_save_CFLAGS
17469 elif test $ac_cv_prog_cc_g = yes; then
17470 if test "$GCC" = yes; then
17471 CFLAGS="-g -O2"
17472 else
17473 CFLAGS="-g"
17474 fi
17475 else
17476 if test "$GCC" = yes; then
17477 CFLAGS="-O2"
17478 else
17479 CFLAGS=
17480 fi
17481 fi
17482 fi
17483 fi
17484
17485 case `uname -s` in
17486 AIX*)
17487
17488
17489 ac_ext=cpp
17490 ac_cpp='$CXXCPP $CPPFLAGS'
17491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17494
17495 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17496 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17497 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17498 echo $ECHO_N "(cached) $ECHO_C" >&6
17499 else
17500 cat >conftest.$ac_ext <<_ACEOF
17501 /* confdefs.h. */
17502 _ACEOF
17503 cat confdefs.h >>conftest.$ac_ext
17504 cat >>conftest.$ac_ext <<_ACEOF
17505 /* end confdefs.h. */
17506
17507 int
17508 main ()
17509 {
17510
17511 #ifndef __xlC__
17512 choke me
17513 #endif
17514
17515 ;
17516 return 0;
17517 }
17518 _ACEOF
17519 rm -f conftest.$ac_objext
17520 if { (ac_try="$ac_compile"
17521 case "(($ac_try" in
17522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17523 *) ac_try_echo=$ac_try;;
17524 esac
17525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17526 (eval "$ac_compile") 2>conftest.er1
17527 ac_status=$?
17528 grep -v '^ *+' conftest.er1 >conftest.err
17529 rm -f conftest.er1
17530 cat conftest.err >&5
17531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17532 (exit $ac_status); } && {
17533 test -z "$ac_cxx_werror_flag" ||
17534 test ! -s conftest.err
17535 } && test -s conftest.$ac_objext; then
17536 bakefile_cv_cxx_compiler___xlC__=yes
17537 else
17538 echo "$as_me: failed program was:" >&5
17539 sed 's/^/| /' conftest.$ac_ext >&5
17540
17541 bakefile_cv_cxx_compiler___xlC__=no
17542
17543 fi
17544
17545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17546
17547
17548 fi
17549 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17550 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17551 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17552 :; XLCXX=yes
17553 else
17554 :;
17555 fi
17556 ac_ext=c
17557 ac_cpp='$CPP $CPPFLAGS'
17558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17561
17562
17563
17564 ;;
17565
17566 Darwin)
17567
17568
17569 ac_ext=cpp
17570 ac_cpp='$CXXCPP $CPPFLAGS'
17571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17574
17575 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
17576 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
17577 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
17578 echo $ECHO_N "(cached) $ECHO_C" >&6
17579 else
17580 cat >conftest.$ac_ext <<_ACEOF
17581 /* confdefs.h. */
17582 _ACEOF
17583 cat confdefs.h >>conftest.$ac_ext
17584 cat >>conftest.$ac_ext <<_ACEOF
17585 /* end confdefs.h. */
17586
17587 int
17588 main ()
17589 {
17590
17591 #ifndef __MWERKS__
17592 choke me
17593 #endif
17594
17595 ;
17596 return 0;
17597 }
17598 _ACEOF
17599 rm -f conftest.$ac_objext
17600 if { (ac_try="$ac_compile"
17601 case "(($ac_try" in
17602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17603 *) ac_try_echo=$ac_try;;
17604 esac
17605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17606 (eval "$ac_compile") 2>conftest.er1
17607 ac_status=$?
17608 grep -v '^ *+' conftest.er1 >conftest.err
17609 rm -f conftest.er1
17610 cat conftest.err >&5
17611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17612 (exit $ac_status); } && {
17613 test -z "$ac_cxx_werror_flag" ||
17614 test ! -s conftest.err
17615 } && test -s conftest.$ac_objext; then
17616 bakefile_cv_cxx_compiler___MWERKS__=yes
17617 else
17618 echo "$as_me: failed program was:" >&5
17619 sed 's/^/| /' conftest.$ac_ext >&5
17620
17621 bakefile_cv_cxx_compiler___MWERKS__=no
17622
17623 fi
17624
17625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17626
17627
17628 fi
17629 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
17630 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
17631 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
17632 :; MWCXX=yes
17633 else
17634 :;
17635 fi
17636 ac_ext=c
17637 ac_cpp='$CPP $CPPFLAGS'
17638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17641
17642
17643
17644 if test "$MWCXX" != "yes"; then
17645
17646
17647 ac_ext=cpp
17648 ac_cpp='$CXXCPP $CPPFLAGS'
17649 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17650 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17651 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17652
17653 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17654 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17655 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17656 echo $ECHO_N "(cached) $ECHO_C" >&6
17657 else
17658 cat >conftest.$ac_ext <<_ACEOF
17659 /* confdefs.h. */
17660 _ACEOF
17661 cat confdefs.h >>conftest.$ac_ext
17662 cat >>conftest.$ac_ext <<_ACEOF
17663 /* end confdefs.h. */
17664
17665 int
17666 main ()
17667 {
17668
17669 #ifndef __xlC__
17670 choke me
17671 #endif
17672
17673 ;
17674 return 0;
17675 }
17676 _ACEOF
17677 rm -f conftest.$ac_objext
17678 if { (ac_try="$ac_compile"
17679 case "(($ac_try" in
17680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17681 *) ac_try_echo=$ac_try;;
17682 esac
17683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17684 (eval "$ac_compile") 2>conftest.er1
17685 ac_status=$?
17686 grep -v '^ *+' conftest.er1 >conftest.err
17687 rm -f conftest.er1
17688 cat conftest.err >&5
17689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17690 (exit $ac_status); } && {
17691 test -z "$ac_cxx_werror_flag" ||
17692 test ! -s conftest.err
17693 } && test -s conftest.$ac_objext; then
17694 bakefile_cv_cxx_compiler___xlC__=yes
17695 else
17696 echo "$as_me: failed program was:" >&5
17697 sed 's/^/| /' conftest.$ac_ext >&5
17698
17699 bakefile_cv_cxx_compiler___xlC__=no
17700
17701 fi
17702
17703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17704
17705
17706 fi
17707 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17708 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17709 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17710 :; XLCXX=yes
17711 else
17712 :;
17713 fi
17714 ac_ext=c
17715 ac_cpp='$CPP $CPPFLAGS'
17716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17719
17720
17721
17722 fi
17723 ;;
17724
17725 IRIX*)
17726
17727
17728 ac_ext=cpp
17729 ac_cpp='$CXXCPP $CPPFLAGS'
17730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17733
17734 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
17735 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
17736 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
17737 echo $ECHO_N "(cached) $ECHO_C" >&6
17738 else
17739 cat >conftest.$ac_ext <<_ACEOF
17740 /* confdefs.h. */
17741 _ACEOF
17742 cat confdefs.h >>conftest.$ac_ext
17743 cat >>conftest.$ac_ext <<_ACEOF
17744 /* end confdefs.h. */
17745
17746 int
17747 main ()
17748 {
17749
17750 #ifndef _SGI_COMPILER_VERSION
17751 choke me
17752 #endif
17753
17754 ;
17755 return 0;
17756 }
17757 _ACEOF
17758 rm -f conftest.$ac_objext
17759 if { (ac_try="$ac_compile"
17760 case "(($ac_try" in
17761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17762 *) ac_try_echo=$ac_try;;
17763 esac
17764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17765 (eval "$ac_compile") 2>conftest.er1
17766 ac_status=$?
17767 grep -v '^ *+' conftest.er1 >conftest.err
17768 rm -f conftest.er1
17769 cat conftest.err >&5
17770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17771 (exit $ac_status); } && {
17772 test -z "$ac_cxx_werror_flag" ||
17773 test ! -s conftest.err
17774 } && test -s conftest.$ac_objext; then
17775 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
17776 else
17777 echo "$as_me: failed program was:" >&5
17778 sed 's/^/| /' conftest.$ac_ext >&5
17779
17780 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
17781
17782 fi
17783
17784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17785
17786
17787 fi
17788 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
17789 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
17790 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17791 :; SGICXX=yes
17792 else
17793 :;
17794 fi
17795 ac_ext=c
17796 ac_cpp='$CPP $CPPFLAGS'
17797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17800
17801
17802
17803 ;;
17804
17805 Linux*)
17806 if test "$INTELCXX" != "yes"; then
17807
17808
17809 ac_ext=cpp
17810 ac_cpp='$CXXCPP $CPPFLAGS'
17811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17814
17815 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17816 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17817 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17818 echo $ECHO_N "(cached) $ECHO_C" >&6
17819 else
17820 cat >conftest.$ac_ext <<_ACEOF
17821 /* confdefs.h. */
17822 _ACEOF
17823 cat confdefs.h >>conftest.$ac_ext
17824 cat >>conftest.$ac_ext <<_ACEOF
17825 /* end confdefs.h. */
17826
17827 int
17828 main ()
17829 {
17830
17831 #ifndef __SUNPRO_CC
17832 choke me
17833 #endif
17834
17835 ;
17836 return 0;
17837 }
17838 _ACEOF
17839 rm -f conftest.$ac_objext
17840 if { (ac_try="$ac_compile"
17841 case "(($ac_try" in
17842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17843 *) ac_try_echo=$ac_try;;
17844 esac
17845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17846 (eval "$ac_compile") 2>conftest.er1
17847 ac_status=$?
17848 grep -v '^ *+' conftest.er1 >conftest.err
17849 rm -f conftest.er1
17850 cat conftest.err >&5
17851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17852 (exit $ac_status); } && {
17853 test -z "$ac_cxx_werror_flag" ||
17854 test ! -s conftest.err
17855 } && test -s conftest.$ac_objext; then
17856 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
17857 else
17858 echo "$as_me: failed program was:" >&5
17859 sed 's/^/| /' conftest.$ac_ext >&5
17860
17861 bakefile_cv_cxx_compiler___SUNPRO_CC=no
17862
17863 fi
17864
17865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17866
17867
17868 fi
17869 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17870 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17871 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17872 :; SUNCXX=yes
17873 else
17874 :;
17875 fi
17876 ac_ext=c
17877 ac_cpp='$CPP $CPPFLAGS'
17878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17881
17882
17883
17884 fi
17885 ;;
17886
17887 HP-UX*)
17888
17889
17890 ac_ext=cpp
17891 ac_cpp='$CXXCPP $CPPFLAGS'
17892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17895
17896 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
17897 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
17898 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
17899 echo $ECHO_N "(cached) $ECHO_C" >&6
17900 else
17901 cat >conftest.$ac_ext <<_ACEOF
17902 /* confdefs.h. */
17903 _ACEOF
17904 cat confdefs.h >>conftest.$ac_ext
17905 cat >>conftest.$ac_ext <<_ACEOF
17906 /* end confdefs.h. */
17907
17908 int
17909 main ()
17910 {
17911
17912 #ifndef __HP_aCC
17913 choke me
17914 #endif
17915
17916 ;
17917 return 0;
17918 }
17919 _ACEOF
17920 rm -f conftest.$ac_objext
17921 if { (ac_try="$ac_compile"
17922 case "(($ac_try" in
17923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17924 *) ac_try_echo=$ac_try;;
17925 esac
17926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17927 (eval "$ac_compile") 2>conftest.er1
17928 ac_status=$?
17929 grep -v '^ *+' conftest.er1 >conftest.err
17930 rm -f conftest.er1
17931 cat conftest.err >&5
17932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17933 (exit $ac_status); } && {
17934 test -z "$ac_cxx_werror_flag" ||
17935 test ! -s conftest.err
17936 } && test -s conftest.$ac_objext; then
17937 bakefile_cv_cxx_compiler___HP_aCC=yes
17938 else
17939 echo "$as_me: failed program was:" >&5
17940 sed 's/^/| /' conftest.$ac_ext >&5
17941
17942 bakefile_cv_cxx_compiler___HP_aCC=no
17943
17944 fi
17945
17946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17947
17948
17949 fi
17950 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
17951 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
17952 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
17953 :; HPCXX=yes
17954 else
17955 :;
17956 fi
17957 ac_ext=c
17958 ac_cpp='$CPP $CPPFLAGS'
17959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17962
17963
17964
17965 ;;
17966
17967 OSF1)
17968
17969
17970 ac_ext=cpp
17971 ac_cpp='$CXXCPP $CPPFLAGS'
17972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17975
17976 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
17977 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
17978 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
17979 echo $ECHO_N "(cached) $ECHO_C" >&6
17980 else
17981 cat >conftest.$ac_ext <<_ACEOF
17982 /* confdefs.h. */
17983 _ACEOF
17984 cat confdefs.h >>conftest.$ac_ext
17985 cat >>conftest.$ac_ext <<_ACEOF
17986 /* end confdefs.h. */
17987
17988 int
17989 main ()
17990 {
17991
17992 #ifndef __DECCXX
17993 choke me
17994 #endif
17995
17996 ;
17997 return 0;
17998 }
17999 _ACEOF
18000 rm -f conftest.$ac_objext
18001 if { (ac_try="$ac_compile"
18002 case "(($ac_try" in
18003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18004 *) ac_try_echo=$ac_try;;
18005 esac
18006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18007 (eval "$ac_compile") 2>conftest.er1
18008 ac_status=$?
18009 grep -v '^ *+' conftest.er1 >conftest.err
18010 rm -f conftest.er1
18011 cat conftest.err >&5
18012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18013 (exit $ac_status); } && {
18014 test -z "$ac_cxx_werror_flag" ||
18015 test ! -s conftest.err
18016 } && test -s conftest.$ac_objext; then
18017 bakefile_cv_cxx_compiler___DECCXX=yes
18018 else
18019 echo "$as_me: failed program was:" >&5
18020 sed 's/^/| /' conftest.$ac_ext >&5
18021
18022 bakefile_cv_cxx_compiler___DECCXX=no
18023
18024 fi
18025
18026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18027
18028
18029 fi
18030 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
18031 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
18032 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
18033 :; COMPAQCXX=yes
18034 else
18035 :;
18036 fi
18037 ac_ext=c
18038 ac_cpp='$CPP $CPPFLAGS'
18039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18042
18043
18044
18045 ;;
18046
18047 SunOS)
18048
18049
18050 ac_ext=cpp
18051 ac_cpp='$CXXCPP $CPPFLAGS'
18052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18055
18056 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
18057 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
18058 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
18059 echo $ECHO_N "(cached) $ECHO_C" >&6
18060 else
18061 cat >conftest.$ac_ext <<_ACEOF
18062 /* confdefs.h. */
18063 _ACEOF
18064 cat confdefs.h >>conftest.$ac_ext
18065 cat >>conftest.$ac_ext <<_ACEOF
18066 /* end confdefs.h. */
18067
18068 int
18069 main ()
18070 {
18071
18072 #ifndef __SUNPRO_CC
18073 choke me
18074 #endif
18075
18076 ;
18077 return 0;
18078 }
18079 _ACEOF
18080 rm -f conftest.$ac_objext
18081 if { (ac_try="$ac_compile"
18082 case "(($ac_try" in
18083 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18084 *) ac_try_echo=$ac_try;;
18085 esac
18086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18087 (eval "$ac_compile") 2>conftest.er1
18088 ac_status=$?
18089 grep -v '^ *+' conftest.er1 >conftest.err
18090 rm -f conftest.er1
18091 cat conftest.err >&5
18092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18093 (exit $ac_status); } && {
18094 test -z "$ac_cxx_werror_flag" ||
18095 test ! -s conftest.err
18096 } && test -s conftest.$ac_objext; then
18097 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
18098 else
18099 echo "$as_me: failed program was:" >&5
18100 sed 's/^/| /' conftest.$ac_ext >&5
18101
18102 bakefile_cv_cxx_compiler___SUNPRO_CC=no
18103
18104 fi
18105
18106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18107
18108
18109 fi
18110 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
18111 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
18112 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
18113 :; SUNCXX=yes
18114 else
18115 :;
18116 fi
18117 ac_ext=c
18118 ac_cpp='$CPP $CPPFLAGS'
18119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18122
18123
18124
18125 ;;
18126 esac
18127 fi
18128
18129
18130
18131 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
18132 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
18133 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
18134 { (exit 1); exit 1; }; }
18135 fi
18136
18137 if test "x$SUNCXX" != xyes; then
18138 if test -n "$ac_tool_prefix"; then
18139 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
18140 set dummy ${ac_tool_prefix}ar; ac_word=$2
18141 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18142 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18143 if test "${ac_cv_prog_AR+set}" = set; then
18144 echo $ECHO_N "(cached) $ECHO_C" >&6
18145 else
18146 if test -n "$AR"; then
18147 ac_cv_prog_AR="$AR" # Let the user override the test.
18148 else
18149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18150 for as_dir in $PATH
18151 do
18152 IFS=$as_save_IFS
18153 test -z "$as_dir" && as_dir=.
18154 for ac_exec_ext in '' $ac_executable_extensions; do
18155 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18156 ac_cv_prog_AR="${ac_tool_prefix}ar"
18157 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18158 break 2
18159 fi
18160 done
18161 done
18162 IFS=$as_save_IFS
18163
18164 fi
18165 fi
18166 AR=$ac_cv_prog_AR
18167 if test -n "$AR"; then
18168 { echo "$as_me:$LINENO: result: $AR" >&5
18169 echo "${ECHO_T}$AR" >&6; }
18170 else
18171 { echo "$as_me:$LINENO: result: no" >&5
18172 echo "${ECHO_T}no" >&6; }
18173 fi
18174
18175
18176 fi
18177 if test -z "$ac_cv_prog_AR"; then
18178 ac_ct_AR=$AR
18179 # Extract the first word of "ar", so it can be a program name with args.
18180 set dummy ar; ac_word=$2
18181 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18182 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18183 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
18184 echo $ECHO_N "(cached) $ECHO_C" >&6
18185 else
18186 if test -n "$ac_ct_AR"; then
18187 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
18188 else
18189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18190 for as_dir in $PATH
18191 do
18192 IFS=$as_save_IFS
18193 test -z "$as_dir" && as_dir=.
18194 for ac_exec_ext in '' $ac_executable_extensions; do
18195 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18196 ac_cv_prog_ac_ct_AR="ar"
18197 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18198 break 2
18199 fi
18200 done
18201 done
18202 IFS=$as_save_IFS
18203
18204 fi
18205 fi
18206 ac_ct_AR=$ac_cv_prog_ac_ct_AR
18207 if test -n "$ac_ct_AR"; then
18208 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
18209 echo "${ECHO_T}$ac_ct_AR" >&6; }
18210 else
18211 { echo "$as_me:$LINENO: result: no" >&5
18212 echo "${ECHO_T}no" >&6; }
18213 fi
18214
18215 if test "x$ac_ct_AR" = x; then
18216 AR=""
18217 else
18218 case $cross_compiling:$ac_tool_warned in
18219 yes:)
18220 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
18221 whose name does not start with the host triplet. If you think this
18222 configuration is useful to you, please write to autoconf@gnu.org." >&5
18223 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
18224 whose name does not start with the host triplet. If you think this
18225 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
18226 ac_tool_warned=yes ;;
18227 esac
18228 AR=$ac_ct_AR
18229 fi
18230 else
18231 AR="$ac_cv_prog_AR"
18232 fi
18233
18234 if test "x$AR" = "x" ; then
18235 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
18236 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
18237 { (exit 1); exit 1; }; }
18238 fi
18239 fi
18240
18241
18242 if test "$wxUSE_MAC" = 1; then
18243
18244 retest_macosx_linking=no
18245
18246 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
18247 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
18248 # Implicitly turn on the new --with-macosx-sdk using the default
18249 # SDK which provides the behavior this option has always had.
18250 if test "x$wxUSE_MACOSX_SDK" = "x"; then
18251 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
18252 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
18253 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
18254 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
18255 wxUSE_MACOSX_SDK=yes
18256 fi
18257 else
18258 # Complain to user if he specified an argument to --enable-universal_binary
18259 # and also 1) specified --with-macosx-sdk using the default (yes) or
18260 # 2) specified --with-macosx-sdk using a path or 3) specified
18261 # --without-macosx-sdk (no).
18262 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
18263 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18264 See \`config.log' for more details." >&5
18265 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18266 See \`config.log' for more details." >&2;}
18267 { (exit 1); exit 1; }; }
18268 else
18269 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
18270 # special-case the empty string because the below test simply
18271 # converts "no" to the empty string anyway.
18272 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
18273 { echo "$as_me:$LINENO: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&5
18274 echo "$as_me: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&2;}
18275 fi
18276 fi
18277 OSX_UNIV_OPTS="-arch ppc -arch i386"
18278 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
18279 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
18280 OBJCXXFLAGS="$OSX_UNIV_OPTS $OBJCXXFLAGS"
18281 OBJCFLAGS="$OSX_UNIV_OPTS $OBJCFLAGS"
18282 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
18283 retest_macosx_linking=yes
18284
18285 { echo "$as_me:$LINENO: WARNING: Disabling precompiled headers due to universal binary build." >&5
18286 echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
18287 bk_use_pch=no
18288 fi
18289
18290 if test "x$wxUSE_MACOSX_SDK" = "xno"; then
18291 wxUSE_MACOSX_SDK=
18292 elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
18293 # TODO: Search for most recent SDK and use it.
18294 wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
18295 fi
18296
18297
18298 if test "x$wxUSE_MACOSX_SDK" != "x"; then
18299 { echo "$as_me:$LINENO: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
18300 echo $ECHO_N "checking for SDK directory $wxUSE_MACOSX_SDK... $ECHO_C" >&6; }
18301 if ! test -d "$wxUSE_MACOSX_SDK"; then
18302 { { echo "$as_me:$LINENO: error: not found
18303 See \`config.log' for more details." >&5
18304 echo "$as_me: error: not found
18305 See \`config.log' for more details." >&2;}
18306 { (exit 1); exit 1; }; }
18307 else
18308 { echo "$as_me:$LINENO: result: exists" >&5
18309 echo "${ECHO_T}exists" >&6; }
18310 fi
18311 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
18312 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
18313 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
18314 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
18315 retest_macosx_linking=yes
18316 fi
18317
18318 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
18319 wxUSE_MACOSX_VERSION_MIN=
18320 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
18321 if test "x$wxUSE_MACOSX_SDK" != "x"; then
18322 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
18323 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
18324
18325 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/'`
18326
18327 # If that failed, try again with the new key
18328 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
18329
18330 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/'`
18331
18332 fi
18333
18334 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
18335 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
18336 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
18337 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
18338 else
18339 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
18340 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
18341 wxUSE_MACOSX_VERSION_MIN=
18342 fi
18343 else
18344 wxUSE_MACOSX_VERSION_MIN=
18345 fi
18346 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
18347 OSX_VERSION=`sw_vers -productVersion | grep 10.[0-9]`
18348 if test "$wxUSE_OSX_CARBON" = 1 -o "x$OSX_VERSION" = "x10.4"; then
18349 # otherwise configure stops on leopard for universal_binary
18350 wxUSE_MACOSX_VERSION_MIN=10.4
18351 else
18352 # for OS X Cocoa, use 10.5 so we can get 64-bit compile on Snow Leopard
18353 wxUSE_MACOSX_VERSION_MIN=10.5
18354 fi
18355 fi
18356
18357 NEEDS_GCC40="no"
18358 if test "x$wxUSE_MACOSX_VERSION_MIN" == "x10.4"; then
18359 NEEDS_GCC40="yes"
18360 fi
18361
18362 if test "$wxUSE_OSX_CARBON" = 1; then
18363 NEEDS_GCC40="yes"
18364 fi
18365
18366 if test "x$NEEDS_GCC40" == "xyes"; then
18367 # gcc 4.2 cannot compile 10.4 compatible code, so if the user is using it
18368 # and wants 10.4 compatible code, then 'downgrade' to 4.0
18369 # This is also the simplest way to get 32-bit binaries on Snow Leopard.
18370 if test "x$CC" = "xgcc"; then
18371 CCVERSION=`$CC --version | grep 4.[2-9].`
18372 if test "x$CCVERSION" != "x"; then
18373 echo "$as_me:$LINENO: WARNING: gcc >= 4.2 cannot compile 10.4 compatible code. Using gcc 4.0 instead."
18374 CC="/usr/bin/gcc-4.0"
18375 fi
18376 fi
18377
18378 if test "x$CXX" = "xg++"; then
18379 CCVERSION=`$CXX --version | grep 4.[2-9].`
18380 if test "x$CCVERSION" != "x"; then
18381 CXX="/usr/bin/g++-4.0"
18382 fi
18383 fi
18384 fi
18385
18386 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
18387 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
18388 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
18389 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
18390 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
18391 retest_macosx_linking=yes
18392 fi
18393
18394 if test "x$retest_macosx_linking" = "xyes"; then
18395 ac_ext=c
18396 ac_cpp='$CPP $CPPFLAGS'
18397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18400
18401 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
18402 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
18403 cat >conftest.$ac_ext <<_ACEOF
18404 /* confdefs.h. */
18405 _ACEOF
18406 cat confdefs.h >>conftest.$ac_ext
18407 cat >>conftest.$ac_ext <<_ACEOF
18408 /* end confdefs.h. */
18409
18410 int
18411 main ()
18412 {
18413
18414 ;
18415 return 0;
18416 }
18417 _ACEOF
18418 rm -f conftest.$ac_objext conftest$ac_exeext
18419 if { (ac_try="$ac_link"
18420 case "(($ac_try" in
18421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18422 *) ac_try_echo=$ac_try;;
18423 esac
18424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18425 (eval "$ac_link") 2>conftest.er1
18426 ac_status=$?
18427 grep -v '^ *+' conftest.er1 >conftest.err
18428 rm -f conftest.er1
18429 cat conftest.err >&5
18430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18431 (exit $ac_status); } && {
18432 test -z "$ac_c_werror_flag" ||
18433 test ! -s conftest.err
18434 } && test -s conftest$ac_exeext &&
18435 $as_test_x conftest$ac_exeext; then
18436 { echo "$as_me:$LINENO: result: yes" >&5
18437 echo "${ECHO_T}yes" >&6; }
18438 else
18439 echo "$as_me: failed program was:" >&5
18440 sed 's/^/| /' conftest.$ac_ext >&5
18441
18442 { { echo "$as_me:$LINENO: error: no. Try a different SDK
18443 See \`config.log' for more details." >&5
18444 echo "$as_me: error: no. Try a different SDK
18445 See \`config.log' for more details." >&2;}
18446 { (exit 1); exit 1; }; }; exit 1
18447 fi
18448
18449 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18450 conftest$ac_exeext conftest.$ac_ext
18451 ac_ext=c
18452 ac_cpp='$CPP $CPPFLAGS'
18453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18456
18457
18458 ac_ext=cpp
18459 ac_cpp='$CXXCPP $CPPFLAGS'
18460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18463
18464 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
18465 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
18466 cat >conftest.$ac_ext <<_ACEOF
18467 /* confdefs.h. */
18468 _ACEOF
18469 cat confdefs.h >>conftest.$ac_ext
18470 cat >>conftest.$ac_ext <<_ACEOF
18471 /* end confdefs.h. */
18472
18473 int
18474 main ()
18475 {
18476
18477 ;
18478 return 0;
18479 }
18480 _ACEOF
18481 rm -f conftest.$ac_objext conftest$ac_exeext
18482 if { (ac_try="$ac_link"
18483 case "(($ac_try" in
18484 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18485 *) ac_try_echo=$ac_try;;
18486 esac
18487 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18488 (eval "$ac_link") 2>conftest.er1
18489 ac_status=$?
18490 grep -v '^ *+' conftest.er1 >conftest.err
18491 rm -f conftest.er1
18492 cat conftest.err >&5
18493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18494 (exit $ac_status); } && {
18495 test -z "$ac_cxx_werror_flag" ||
18496 test ! -s conftest.err
18497 } && test -s conftest$ac_exeext &&
18498 $as_test_x conftest$ac_exeext; then
18499 { echo "$as_me:$LINENO: result: yes" >&5
18500 echo "${ECHO_T}yes" >&6; }
18501 else
18502 echo "$as_me: failed program was:" >&5
18503 sed 's/^/| /' conftest.$ac_ext >&5
18504
18505 { { echo "$as_me:$LINENO: error: no. Try a different SDK
18506 See \`config.log' for more details." >&5
18507 echo "$as_me: error: no. Try a different SDK
18508 See \`config.log' for more details." >&2;}
18509 { (exit 1); exit 1; }; }; exit 1
18510 fi
18511
18512 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18513 conftest$ac_exeext conftest.$ac_ext
18514 ac_ext=c
18515 ac_cpp='$CPP $CPPFLAGS'
18516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18519
18520 fi
18521
18522 fi
18523 case "${host}" in
18524
18525 *-*-darwin* )
18526 INSTALL_PROGRAM="cp -fp"
18527 INSTALL_DATA="cp -fp"
18528 ;;
18529 *)
18530 ;;
18531 esac
18532
18533
18534 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
18535 CXXFLAGS="-qunique $CXXFLAGS"
18536 fi
18537
18538 case "${host}" in
18539 powerpc-*-darwin* )
18540 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
18541 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
18542 cat >conftest.$ac_ext <<_ACEOF
18543 /* confdefs.h. */
18544 _ACEOF
18545 cat confdefs.h >>conftest.$ac_ext
18546 cat >>conftest.$ac_ext <<_ACEOF
18547 /* end confdefs.h. */
18548
18549 int
18550 main ()
18551 {
18552 #ifndef __POWERPC__
18553 choke me for lack of PowerPC
18554 #endif
18555
18556 ;
18557 return 0;
18558 }
18559 _ACEOF
18560 rm -f conftest.$ac_objext
18561 if { (ac_try="$ac_compile"
18562 case "(($ac_try" in
18563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18564 *) ac_try_echo=$ac_try;;
18565 esac
18566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18567 (eval "$ac_compile") 2>conftest.er1
18568 ac_status=$?
18569 grep -v '^ *+' conftest.er1 >conftest.err
18570 rm -f conftest.er1
18571 cat conftest.err >&5
18572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18573 (exit $ac_status); } && {
18574 test -z "$ac_c_werror_flag" ||
18575 test ! -s conftest.err
18576 } && test -s conftest.$ac_objext; then
18577 { echo "$as_me:$LINENO: result: yes" >&5
18578 echo "${ECHO_T}yes" >&6; }
18579 else
18580 echo "$as_me: failed program was:" >&5
18581 sed 's/^/| /' conftest.$ac_ext >&5
18582
18583 { echo "$as_me:$LINENO: result: no" >&5
18584 echo "${ECHO_T}no" >&6; }
18585 cat >>confdefs.h <<\_ACEOF
18586 #define __POWERPC__ 1
18587 _ACEOF
18588
18589
18590 fi
18591
18592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18593 ;;
18594 esac
18595
18596 case "${host}" in
18597 *-*-darwin* )
18598 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
18599 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
18600 cat >conftest.$ac_ext <<_ACEOF
18601 /* confdefs.h. */
18602 _ACEOF
18603 cat confdefs.h >>conftest.$ac_ext
18604 cat >>conftest.$ac_ext <<_ACEOF
18605 /* end confdefs.h. */
18606 #include <CoreFoundation/CFBase.h>
18607
18608 int
18609 main ()
18610 {
18611
18612 ;
18613 return 0;
18614 }
18615 _ACEOF
18616 rm -f conftest.$ac_objext
18617 if { (ac_try="$ac_compile"
18618 case "(($ac_try" in
18619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18620 *) ac_try_echo=$ac_try;;
18621 esac
18622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18623 (eval "$ac_compile") 2>conftest.er1
18624 ac_status=$?
18625 grep -v '^ *+' conftest.er1 >conftest.err
18626 rm -f conftest.er1
18627 cat conftest.err >&5
18628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18629 (exit $ac_status); } && {
18630 test -z "$ac_c_werror_flag" ||
18631 test ! -s conftest.err
18632 } && test -s conftest.$ac_objext; then
18633 { echo "$as_me:$LINENO: result: yes" >&5
18634 echo "${ECHO_T}yes" >&6; }
18635 else
18636 echo "$as_me: failed program was:" >&5
18637 sed 's/^/| /' conftest.$ac_ext >&5
18638
18639 { echo "$as_me:$LINENO: result: no" >&5
18640 echo "${ECHO_T}no" >&6; }
18641 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
18642 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
18643 cat >conftest.$ac_ext <<_ACEOF
18644 /* confdefs.h. */
18645 _ACEOF
18646 cat confdefs.h >>conftest.$ac_ext
18647 cat >>conftest.$ac_ext <<_ACEOF
18648 /* end confdefs.h. */
18649 #define __CF_USE_FRAMEWORK_INCLUDES__
18650 #include <CoreFoundation/CFBase.h>
18651
18652 int
18653 main ()
18654 {
18655
18656 ;
18657 return 0;
18658 }
18659 _ACEOF
18660 rm -f conftest.$ac_objext
18661 if { (ac_try="$ac_compile"
18662 case "(($ac_try" in
18663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18664 *) ac_try_echo=$ac_try;;
18665 esac
18666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18667 (eval "$ac_compile") 2>conftest.er1
18668 ac_status=$?
18669 grep -v '^ *+' conftest.er1 >conftest.err
18670 rm -f conftest.er1
18671 cat conftest.err >&5
18672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18673 (exit $ac_status); } && {
18674 test -z "$ac_c_werror_flag" ||
18675 test ! -s conftest.err
18676 } && test -s conftest.$ac_objext; then
18677 { echo "$as_me:$LINENO: result: yes" >&5
18678 echo "${ECHO_T}yes" >&6; }
18679 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
18680 else
18681 echo "$as_me: failed program was:" >&5
18682 sed 's/^/| /' conftest.$ac_ext >&5
18683
18684 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
18685 See \`config.log' for more details." >&5
18686 echo "$as_me: error: no. CoreFoundation not available.
18687 See \`config.log' for more details." >&2;}
18688 { (exit 1); exit 1; }; }
18689
18690 fi
18691
18692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18693
18694
18695 fi
18696
18697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18698 ;;
18699 esac
18700
18701 wants_win32=0
18702 doesnt_want_win32=0
18703 case "${host}" in
18704 *-*-cygwin*)
18705 if test "$wxUSE_MSW" = 1 ; then
18706 wants_win32=1
18707 else
18708 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
18709 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
18710 if test "${wx_cv_nocygwin+set}" = set; then
18711 echo $ECHO_N "(cached) $ECHO_C" >&6
18712 else
18713
18714 cat >conftest.$ac_ext <<_ACEOF
18715 /* confdefs.h. */
18716 _ACEOF
18717 cat confdefs.h >>conftest.$ac_ext
18718 cat >>conftest.$ac_ext <<_ACEOF
18719 /* end confdefs.h. */
18720
18721 int
18722 main ()
18723 {
18724
18725 #ifdef __MINGW32__
18726 choke me
18727 #endif
18728
18729 ;
18730 return 0;
18731 }
18732 _ACEOF
18733 rm -f conftest.$ac_objext
18734 if { (ac_try="$ac_compile"
18735 case "(($ac_try" in
18736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18737 *) ac_try_echo=$ac_try;;
18738 esac
18739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18740 (eval "$ac_compile") 2>conftest.er1
18741 ac_status=$?
18742 grep -v '^ *+' conftest.er1 >conftest.err
18743 rm -f conftest.er1
18744 cat conftest.err >&5
18745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18746 (exit $ac_status); } && {
18747 test -z "$ac_c_werror_flag" ||
18748 test ! -s conftest.err
18749 } && test -s conftest.$ac_objext; then
18750 wx_cv_nocygwin=no
18751 else
18752 echo "$as_me: failed program was:" >&5
18753 sed 's/^/| /' conftest.$ac_ext >&5
18754
18755 wx_cv_nocygwin=yes
18756
18757 fi
18758
18759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18760
18761
18762 fi
18763 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
18764 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
18765
18766 if test "$wx_cv_nocygwin" = "yes"; then
18767 wants_win32=1
18768 else
18769 doesnt_want_win32=1
18770 fi
18771 fi
18772 if test "$wants_win32" = 1 ; then
18773 BAKEFILE_FORCE_PLATFORM=win32
18774 fi
18775 ;;
18776 *-*-mingw*)
18777 wants_win32=1
18778 ;;
18779 esac
18780
18781 if test "$wxUSE_WINE" = "yes"; then
18782 wants_win32=1
18783 LDFLAGS_GUI="-mwindows"
18784 fi
18785
18786 if test "$wants_win32" = 1 ; then
18787 USE_UNIX=0
18788 USE_WIN32=1
18789 cat >>confdefs.h <<\_ACEOF
18790 #define __WIN32__ 1
18791 _ACEOF
18792
18793 cat >>confdefs.h <<\_ACEOF
18794 #define __WIN95__ 1
18795 _ACEOF
18796
18797 cat >>confdefs.h <<\_ACEOF
18798 #define __WINDOWS__ 1
18799 _ACEOF
18800
18801 cat >>confdefs.h <<\_ACEOF
18802 #define __GNUWIN32__ 1
18803 _ACEOF
18804
18805 cat >>confdefs.h <<\_ACEOF
18806 #define STRICT 1
18807 _ACEOF
18808
18809 fi
18810 if test "$doesnt_want_win32" = 1 ; then
18811 USE_UNIX=1
18812 USE_WIN32=0
18813 fi
18814
18815 if test "$USE_UNIX" = 1 ; then
18816 wxUSE_UNIX=yes
18817 cat >>confdefs.h <<\_ACEOF
18818 #define __UNIX__ 1
18819 _ACEOF
18820
18821 fi
18822
18823 case "${host}" in
18824 *-pc-os2_emx | *-pc-os2-emx )
18825 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
18826 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
18827 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
18828 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
18829 echo $ECHO_N "(cached) $ECHO_C" >&6
18830 else
18831 ac_check_lib_save_LIBS=$LIBS
18832 LIBS="-lcExt $LIBS"
18833 cat >conftest.$ac_ext <<_ACEOF
18834 /* confdefs.h. */
18835 _ACEOF
18836 cat confdefs.h >>conftest.$ac_ext
18837 cat >>conftest.$ac_ext <<_ACEOF
18838 /* end confdefs.h. */
18839
18840 /* Override any GCC internal prototype to avoid an error.
18841 Use char because int might match the return type of a GCC
18842 builtin and then its argument prototype would still apply. */
18843 #ifdef __cplusplus
18844 extern "C"
18845 #endif
18846 char drand48 ();
18847 int
18848 main ()
18849 {
18850 return drand48 ();
18851 ;
18852 return 0;
18853 }
18854 _ACEOF
18855 rm -f conftest.$ac_objext conftest$ac_exeext
18856 if { (ac_try="$ac_link"
18857 case "(($ac_try" in
18858 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18859 *) ac_try_echo=$ac_try;;
18860 esac
18861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18862 (eval "$ac_link") 2>conftest.er1
18863 ac_status=$?
18864 grep -v '^ *+' conftest.er1 >conftest.err
18865 rm -f conftest.er1
18866 cat conftest.err >&5
18867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18868 (exit $ac_status); } && {
18869 test -z "$ac_c_werror_flag" ||
18870 test ! -s conftest.err
18871 } && test -s conftest$ac_exeext &&
18872 $as_test_x conftest$ac_exeext; then
18873 ac_cv_lib_cExt_drand48=yes
18874 else
18875 echo "$as_me: failed program was:" >&5
18876 sed 's/^/| /' conftest.$ac_ext >&5
18877
18878 ac_cv_lib_cExt_drand48=no
18879 fi
18880
18881 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18882 conftest$ac_exeext conftest.$ac_ext
18883 LIBS=$ac_check_lib_save_LIBS
18884 fi
18885 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
18886 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
18887 if test $ac_cv_lib_cExt_drand48 = yes; then
18888 LIBS="$LIBS -lcExt"
18889 fi
18890
18891 else
18892 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
18893 fi
18894 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
18895 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
18896 if test "${wx_cv_gccversion+set}" = set; then
18897 echo $ECHO_N "(cached) $ECHO_C" >&6
18898 else
18899
18900 if test "$cross_compiling" = yes; then
18901 wx_cv_gccversion="EMX2"
18902
18903 else
18904 cat >conftest.$ac_ext <<_ACEOF
18905 /* confdefs.h. */
18906 _ACEOF
18907 cat confdefs.h >>conftest.$ac_ext
18908 cat >>conftest.$ac_ext <<_ACEOF
18909 /* end confdefs.h. */
18910
18911 #include <stdio.h>
18912
18913 int main()
18914 {
18915 FILE *f=fopen("conftestval", "w");
18916 if (!f) exit(1);
18917 fprintf(f,
18918 #if (__GNUC__ < 3)
18919 "EMX2"
18920 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
18921 "EMX3"
18922 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
18923 "Innotek5"
18924 #else
18925 "Innotek6"
18926 #endif
18927 );
18928 exit(0);
18929 }
18930
18931 _ACEOF
18932 rm -f conftest$ac_exeext
18933 if { (ac_try="$ac_link"
18934 case "(($ac_try" in
18935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18936 *) ac_try_echo=$ac_try;;
18937 esac
18938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18939 (eval "$ac_link") 2>&5
18940 ac_status=$?
18941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18942 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18943 { (case "(($ac_try" in
18944 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18945 *) ac_try_echo=$ac_try;;
18946 esac
18947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18948 (eval "$ac_try") 2>&5
18949 ac_status=$?
18950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18951 (exit $ac_status); }; }; then
18952 wx_cv_gccversion=`cat conftestval`
18953 else
18954 echo "$as_me: program exited with status $ac_status" >&5
18955 echo "$as_me: failed program was:" >&5
18956 sed 's/^/| /' conftest.$ac_ext >&5
18957
18958 ( exit $ac_status )
18959 wx_cv_gccversion="EMX2"
18960 fi
18961 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18962 fi
18963
18964
18965
18966 fi
18967 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
18968 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
18969 if test "$wx_cv_gccversion" = "EMX2"; then
18970 LIBS="$LIBS -lstdcpp"
18971 LDFLAGS="$LDFLAGS -Zsysv-signals"
18972 else
18973 if test "$wx_cv_gccversion" = "EMX3"; then
18974 LIBS="$LIBS -lstdcxx -lgcc"
18975 LDFLAGS="$LDFLAGS -Zsysv-signals"
18976 else
18977 LIBS="$LIBS -lstdc++"
18978 fi
18979 fi
18980 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
18981 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
18982 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
18983 wxUSE_OMF=yes
18984 enable_omf=yes
18985 fi
18986 ;;
18987 *)
18988
18989 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
18990 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
18991 if test "${ac_cv_string_strcasecmp+set}" = set; then
18992 echo $ECHO_N "(cached) $ECHO_C" >&6
18993 else
18994
18995 cat >conftest.$ac_ext <<_ACEOF
18996 /* confdefs.h. */
18997 _ACEOF
18998 cat confdefs.h >>conftest.$ac_ext
18999 cat >>conftest.$ac_ext <<_ACEOF
19000 /* end confdefs.h. */
19001
19002 #include <string.h>
19003
19004 int
19005 main ()
19006 {
19007
19008 strcasecmp("foo", "bar");
19009
19010 ;
19011 return 0;
19012 }
19013 _ACEOF
19014 rm -f conftest.$ac_objext conftest$ac_exeext
19015 if { (ac_try="$ac_link"
19016 case "(($ac_try" in
19017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19018 *) ac_try_echo=$ac_try;;
19019 esac
19020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19021 (eval "$ac_link") 2>conftest.er1
19022 ac_status=$?
19023 grep -v '^ *+' conftest.er1 >conftest.err
19024 rm -f conftest.er1
19025 cat conftest.err >&5
19026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19027 (exit $ac_status); } && {
19028 test -z "$ac_c_werror_flag" ||
19029 test ! -s conftest.err
19030 } && test -s conftest$ac_exeext &&
19031 $as_test_x conftest$ac_exeext; then
19032 ac_cv_string_strcasecmp=yes
19033 else
19034 echo "$as_me: failed program was:" >&5
19035 sed 's/^/| /' conftest.$ac_ext >&5
19036
19037 ac_cv_string_strcasecmp=no
19038
19039 fi
19040
19041 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19042 conftest$ac_exeext conftest.$ac_ext
19043
19044 fi
19045 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
19046 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
19047
19048 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
19049 cat >>confdefs.h <<\_ACEOF
19050 #define HAVE_STRCASECMP_IN_STRING_H 1
19051 _ACEOF
19052
19053 else
19054 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
19055 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
19056 if test "${ac_cv_strings_strcasecmp+set}" = set; then
19057 echo $ECHO_N "(cached) $ECHO_C" >&6
19058 else
19059
19060 cat >conftest.$ac_ext <<_ACEOF
19061 /* confdefs.h. */
19062 _ACEOF
19063 cat confdefs.h >>conftest.$ac_ext
19064 cat >>conftest.$ac_ext <<_ACEOF
19065 /* end confdefs.h. */
19066
19067 #include <strings.h>
19068
19069 int
19070 main ()
19071 {
19072
19073 strcasecmp("foo", "bar");
19074
19075 ;
19076 return 0;
19077 }
19078 _ACEOF
19079 rm -f conftest.$ac_objext conftest$ac_exeext
19080 if { (ac_try="$ac_link"
19081 case "(($ac_try" in
19082 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19083 *) ac_try_echo=$ac_try;;
19084 esac
19085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19086 (eval "$ac_link") 2>conftest.er1
19087 ac_status=$?
19088 grep -v '^ *+' conftest.er1 >conftest.err
19089 rm -f conftest.er1
19090 cat conftest.err >&5
19091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19092 (exit $ac_status); } && {
19093 test -z "$ac_c_werror_flag" ||
19094 test ! -s conftest.err
19095 } && test -s conftest$ac_exeext &&
19096 $as_test_x conftest$ac_exeext; then
19097 ac_cv_strings_strcasecmp=yes
19098 else
19099 echo "$as_me: failed program was:" >&5
19100 sed 's/^/| /' conftest.$ac_ext >&5
19101
19102 ac_cv_strings_strcasecmp=no
19103
19104 fi
19105
19106 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19107 conftest$ac_exeext conftest.$ac_ext
19108
19109 fi
19110 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
19111 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
19112
19113 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
19114 cat >>confdefs.h <<\_ACEOF
19115 #define HAVE_STRCASECMP_IN_STRINGS_H 1
19116 _ACEOF
19117
19118 else
19119 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
19120 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
19121 { (exit 1); exit 1; }; }
19122 fi
19123 fi
19124
19125 ;;
19126 esac
19127
19128
19129 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
19130 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
19131 if test "${ac_cv_header_stdc+set}" = set; then
19132 echo $ECHO_N "(cached) $ECHO_C" >&6
19133 else
19134 cat >conftest.$ac_ext <<_ACEOF
19135 /* confdefs.h. */
19136 _ACEOF
19137 cat confdefs.h >>conftest.$ac_ext
19138 cat >>conftest.$ac_ext <<_ACEOF
19139 /* end confdefs.h. */
19140 #include <stdlib.h>
19141 #include <stdarg.h>
19142 #include <string.h>
19143 #include <float.h>
19144
19145 int
19146 main ()
19147 {
19148
19149 ;
19150 return 0;
19151 }
19152 _ACEOF
19153 rm -f conftest.$ac_objext
19154 if { (ac_try="$ac_compile"
19155 case "(($ac_try" in
19156 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19157 *) ac_try_echo=$ac_try;;
19158 esac
19159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19160 (eval "$ac_compile") 2>conftest.er1
19161 ac_status=$?
19162 grep -v '^ *+' conftest.er1 >conftest.err
19163 rm -f conftest.er1
19164 cat conftest.err >&5
19165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19166 (exit $ac_status); } && {
19167 test -z "$ac_c_werror_flag" ||
19168 test ! -s conftest.err
19169 } && test -s conftest.$ac_objext; then
19170 ac_cv_header_stdc=yes
19171 else
19172 echo "$as_me: failed program was:" >&5
19173 sed 's/^/| /' conftest.$ac_ext >&5
19174
19175 ac_cv_header_stdc=no
19176 fi
19177
19178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19179
19180 if test $ac_cv_header_stdc = yes; then
19181 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19182 cat >conftest.$ac_ext <<_ACEOF
19183 /* confdefs.h. */
19184 _ACEOF
19185 cat confdefs.h >>conftest.$ac_ext
19186 cat >>conftest.$ac_ext <<_ACEOF
19187 /* end confdefs.h. */
19188 #include <string.h>
19189
19190 _ACEOF
19191 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19192 $EGREP "memchr" >/dev/null 2>&1; then
19193 :
19194 else
19195 ac_cv_header_stdc=no
19196 fi
19197 rm -f conftest*
19198
19199 fi
19200
19201 if test $ac_cv_header_stdc = yes; then
19202 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19203 cat >conftest.$ac_ext <<_ACEOF
19204 /* confdefs.h. */
19205 _ACEOF
19206 cat confdefs.h >>conftest.$ac_ext
19207 cat >>conftest.$ac_ext <<_ACEOF
19208 /* end confdefs.h. */
19209 #include <stdlib.h>
19210
19211 _ACEOF
19212 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19213 $EGREP "free" >/dev/null 2>&1; then
19214 :
19215 else
19216 ac_cv_header_stdc=no
19217 fi
19218 rm -f conftest*
19219
19220 fi
19221
19222 if test $ac_cv_header_stdc = yes; then
19223 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19224 if test "$cross_compiling" = yes; then
19225 :
19226 else
19227 cat >conftest.$ac_ext <<_ACEOF
19228 /* confdefs.h. */
19229 _ACEOF
19230 cat confdefs.h >>conftest.$ac_ext
19231 cat >>conftest.$ac_ext <<_ACEOF
19232 /* end confdefs.h. */
19233 #include <ctype.h>
19234 #include <stdlib.h>
19235 #if ((' ' & 0x0FF) == 0x020)
19236 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19237 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19238 #else
19239 # define ISLOWER(c) \
19240 (('a' <= (c) && (c) <= 'i') \
19241 || ('j' <= (c) && (c) <= 'r') \
19242 || ('s' <= (c) && (c) <= 'z'))
19243 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19244 #endif
19245
19246 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19247 int
19248 main ()
19249 {
19250 int i;
19251 for (i = 0; i < 256; i++)
19252 if (XOR (islower (i), ISLOWER (i))
19253 || toupper (i) != TOUPPER (i))
19254 return 2;
19255 return 0;
19256 }
19257 _ACEOF
19258 rm -f conftest$ac_exeext
19259 if { (ac_try="$ac_link"
19260 case "(($ac_try" in
19261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19262 *) ac_try_echo=$ac_try;;
19263 esac
19264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19265 (eval "$ac_link") 2>&5
19266 ac_status=$?
19267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19268 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19269 { (case "(($ac_try" in
19270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19271 *) ac_try_echo=$ac_try;;
19272 esac
19273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19274 (eval "$ac_try") 2>&5
19275 ac_status=$?
19276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19277 (exit $ac_status); }; }; then
19278 :
19279 else
19280 echo "$as_me: program exited with status $ac_status" >&5
19281 echo "$as_me: failed program was:" >&5
19282 sed 's/^/| /' conftest.$ac_ext >&5
19283
19284 ( exit $ac_status )
19285 ac_cv_header_stdc=no
19286 fi
19287 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19288 fi
19289
19290
19291 fi
19292 fi
19293 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
19294 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
19295 if test $ac_cv_header_stdc = yes; then
19296
19297 cat >>confdefs.h <<\_ACEOF
19298 #define STDC_HEADERS 1
19299 _ACEOF
19300
19301 fi
19302
19303 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
19304
19305
19306
19307
19308
19309
19310
19311
19312
19313 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
19314 inttypes.h stdint.h unistd.h
19315 do
19316 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19317 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19318 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19319 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19320 echo $ECHO_N "(cached) $ECHO_C" >&6
19321 else
19322 cat >conftest.$ac_ext <<_ACEOF
19323 /* confdefs.h. */
19324 _ACEOF
19325 cat confdefs.h >>conftest.$ac_ext
19326 cat >>conftest.$ac_ext <<_ACEOF
19327 /* end confdefs.h. */
19328 $ac_includes_default
19329
19330 #include <$ac_header>
19331 _ACEOF
19332 rm -f conftest.$ac_objext
19333 if { (ac_try="$ac_compile"
19334 case "(($ac_try" in
19335 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19336 *) ac_try_echo=$ac_try;;
19337 esac
19338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19339 (eval "$ac_compile") 2>conftest.er1
19340 ac_status=$?
19341 grep -v '^ *+' conftest.er1 >conftest.err
19342 rm -f conftest.er1
19343 cat conftest.err >&5
19344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19345 (exit $ac_status); } && {
19346 test -z "$ac_c_werror_flag" ||
19347 test ! -s conftest.err
19348 } && test -s conftest.$ac_objext; then
19349 eval "$as_ac_Header=yes"
19350 else
19351 echo "$as_me: failed program was:" >&5
19352 sed 's/^/| /' conftest.$ac_ext >&5
19353
19354 eval "$as_ac_Header=no"
19355 fi
19356
19357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19358 fi
19359 ac_res=`eval echo '${'$as_ac_Header'}'`
19360 { echo "$as_me:$LINENO: result: $ac_res" >&5
19361 echo "${ECHO_T}$ac_res" >&6; }
19362 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19363 cat >>confdefs.h <<_ACEOF
19364 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19365 _ACEOF
19366
19367 fi
19368
19369 done
19370
19371
19372
19373
19374 for ac_header in langinfo.h wchar.h
19375 do
19376 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19377 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19378 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19379 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19380 echo $ECHO_N "(cached) $ECHO_C" >&6
19381 else
19382 cat >conftest.$ac_ext <<_ACEOF
19383 /* confdefs.h. */
19384 _ACEOF
19385 cat confdefs.h >>conftest.$ac_ext
19386 cat >>conftest.$ac_ext <<_ACEOF
19387 /* end confdefs.h. */
19388 $ac_includes_default
19389
19390 #include <$ac_header>
19391 _ACEOF
19392 rm -f conftest.$ac_objext
19393 if { (ac_try="$ac_compile"
19394 case "(($ac_try" in
19395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19396 *) ac_try_echo=$ac_try;;
19397 esac
19398 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19399 (eval "$ac_compile") 2>conftest.er1
19400 ac_status=$?
19401 grep -v '^ *+' conftest.er1 >conftest.err
19402 rm -f conftest.er1
19403 cat conftest.err >&5
19404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19405 (exit $ac_status); } && {
19406 test -z "$ac_c_werror_flag" ||
19407 test ! -s conftest.err
19408 } && test -s conftest.$ac_objext; then
19409 eval "$as_ac_Header=yes"
19410 else
19411 echo "$as_me: failed program was:" >&5
19412 sed 's/^/| /' conftest.$ac_ext >&5
19413
19414 eval "$as_ac_Header=no"
19415 fi
19416
19417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19418 fi
19419 ac_res=`eval echo '${'$as_ac_Header'}'`
19420 { echo "$as_me:$LINENO: result: $ac_res" >&5
19421 echo "${ECHO_T}$ac_res" >&6; }
19422 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19423 cat >>confdefs.h <<_ACEOF
19424 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19425 _ACEOF
19426
19427 fi
19428
19429 done
19430
19431
19432 if test "$ac_cv_header_wchar_h" != "yes"; then
19433
19434 for ac_header in wcstr.h
19435 do
19436 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19437 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19438 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19439 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19440 echo $ECHO_N "(cached) $ECHO_C" >&6
19441 else
19442 cat >conftest.$ac_ext <<_ACEOF
19443 /* confdefs.h. */
19444 _ACEOF
19445 cat confdefs.h >>conftest.$ac_ext
19446 cat >>conftest.$ac_ext <<_ACEOF
19447 /* end confdefs.h. */
19448 $ac_includes_default
19449
19450 #include <$ac_header>
19451 _ACEOF
19452 rm -f conftest.$ac_objext
19453 if { (ac_try="$ac_compile"
19454 case "(($ac_try" in
19455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19456 *) ac_try_echo=$ac_try;;
19457 esac
19458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19459 (eval "$ac_compile") 2>conftest.er1
19460 ac_status=$?
19461 grep -v '^ *+' conftest.er1 >conftest.err
19462 rm -f conftest.er1
19463 cat conftest.err >&5
19464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19465 (exit $ac_status); } && {
19466 test -z "$ac_c_werror_flag" ||
19467 test ! -s conftest.err
19468 } && test -s conftest.$ac_objext; then
19469 eval "$as_ac_Header=yes"
19470 else
19471 echo "$as_me: failed program was:" >&5
19472 sed 's/^/| /' conftest.$ac_ext >&5
19473
19474 eval "$as_ac_Header=no"
19475 fi
19476
19477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19478 fi
19479 ac_res=`eval echo '${'$as_ac_Header'}'`
19480 { echo "$as_me:$LINENO: result: $ac_res" >&5
19481 echo "${ECHO_T}$ac_res" >&6; }
19482 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19483 cat >>confdefs.h <<_ACEOF
19484 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19485 _ACEOF
19486
19487 fi
19488
19489 done
19490
19491 fi
19492
19493 case "${host}" in
19494 *-pc-os2_emx | *-pc-os2-emx )
19495 if test $ac_cv_header_langinfo_h = "yes" \
19496 -a \( "$wx_cv_gccversion" = "EMX2" \
19497 -o "$wx_cv_gccversion" = "EMX3" \
19498 -o "$wx_cv_gccversion" = "Innotek5" \); then
19499 LIBS="$LIBS -lintl"
19500 fi
19501 ;;
19502 esac
19503
19504 if test "$USE_UNIX" = 1 ; then
19505
19506 for ac_header in sys/select.h
19507 do
19508 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19509 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19510 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19511 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19512 echo $ECHO_N "(cached) $ECHO_C" >&6
19513 else
19514 cat >conftest.$ac_ext <<_ACEOF
19515 /* confdefs.h. */
19516 _ACEOF
19517 cat confdefs.h >>conftest.$ac_ext
19518 cat >>conftest.$ac_ext <<_ACEOF
19519 /* end confdefs.h. */
19520 $ac_includes_default
19521
19522 #include <$ac_header>
19523 _ACEOF
19524 rm -f conftest.$ac_objext
19525 if { (ac_try="$ac_compile"
19526 case "(($ac_try" in
19527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19528 *) ac_try_echo=$ac_try;;
19529 esac
19530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19531 (eval "$ac_compile") 2>conftest.er1
19532 ac_status=$?
19533 grep -v '^ *+' conftest.er1 >conftest.err
19534 rm -f conftest.er1
19535 cat conftest.err >&5
19536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19537 (exit $ac_status); } && {
19538 test -z "$ac_c_werror_flag" ||
19539 test ! -s conftest.err
19540 } && test -s conftest.$ac_objext; then
19541 eval "$as_ac_Header=yes"
19542 else
19543 echo "$as_me: failed program was:" >&5
19544 sed 's/^/| /' conftest.$ac_ext >&5
19545
19546 eval "$as_ac_Header=no"
19547 fi
19548
19549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19550 fi
19551 ac_res=`eval echo '${'$as_ac_Header'}'`
19552 { echo "$as_me:$LINENO: result: $ac_res" >&5
19553 echo "${ECHO_T}$ac_res" >&6; }
19554 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19555 cat >>confdefs.h <<_ACEOF
19556 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19557 _ACEOF
19558
19559 fi
19560
19561 done
19562
19563 fi
19564
19565
19566 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
19567 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
19568 if test "${ac_cv_c_const+set}" = set; then
19569 echo $ECHO_N "(cached) $ECHO_C" >&6
19570 else
19571 cat >conftest.$ac_ext <<_ACEOF
19572 /* confdefs.h. */
19573 _ACEOF
19574 cat confdefs.h >>conftest.$ac_ext
19575 cat >>conftest.$ac_ext <<_ACEOF
19576 /* end confdefs.h. */
19577
19578 int
19579 main ()
19580 {
19581 /* FIXME: Include the comments suggested by Paul. */
19582 #ifndef __cplusplus
19583 /* Ultrix mips cc rejects this. */
19584 typedef int charset[2];
19585 const charset cs;
19586 /* SunOS 4.1.1 cc rejects this. */
19587 char const *const *pcpcc;
19588 char **ppc;
19589 /* NEC SVR4.0.2 mips cc rejects this. */
19590 struct point {int x, y;};
19591 static struct point const zero = {0,0};
19592 /* AIX XL C 1.02.0.0 rejects this.
19593 It does not let you subtract one const X* pointer from another in
19594 an arm of an if-expression whose if-part is not a constant
19595 expression */
19596 const char *g = "string";
19597 pcpcc = &g + (g ? g-g : 0);
19598 /* HPUX 7.0 cc rejects these. */
19599 ++pcpcc;
19600 ppc = (char**) pcpcc;
19601 pcpcc = (char const *const *) ppc;
19602 { /* SCO 3.2v4 cc rejects this. */
19603 char *t;
19604 char const *s = 0 ? (char *) 0 : (char const *) 0;
19605
19606 *t++ = 0;
19607 if (s) return 0;
19608 }
19609 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
19610 int x[] = {25, 17};
19611 const int *foo = &x[0];
19612 ++foo;
19613 }
19614 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19615 typedef const int *iptr;
19616 iptr p = 0;
19617 ++p;
19618 }
19619 { /* AIX XL C 1.02.0.0 rejects this saying
19620 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19621 struct s { int j; const int *ap[3]; };
19622 struct s *b; b->j = 5;
19623 }
19624 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19625 const int foo = 10;
19626 if (!foo) return 0;
19627 }
19628 return !cs[0] && !zero.x;
19629 #endif
19630
19631 ;
19632 return 0;
19633 }
19634 _ACEOF
19635 rm -f conftest.$ac_objext
19636 if { (ac_try="$ac_compile"
19637 case "(($ac_try" in
19638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19639 *) ac_try_echo=$ac_try;;
19640 esac
19641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19642 (eval "$ac_compile") 2>conftest.er1
19643 ac_status=$?
19644 grep -v '^ *+' conftest.er1 >conftest.err
19645 rm -f conftest.er1
19646 cat conftest.err >&5
19647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19648 (exit $ac_status); } && {
19649 test -z "$ac_c_werror_flag" ||
19650 test ! -s conftest.err
19651 } && test -s conftest.$ac_objext; then
19652 ac_cv_c_const=yes
19653 else
19654 echo "$as_me: failed program was:" >&5
19655 sed 's/^/| /' conftest.$ac_ext >&5
19656
19657 ac_cv_c_const=no
19658 fi
19659
19660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19661 fi
19662 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
19663 echo "${ECHO_T}$ac_cv_c_const" >&6; }
19664 if test $ac_cv_c_const = no; then
19665
19666 cat >>confdefs.h <<\_ACEOF
19667 #define const
19668 _ACEOF
19669
19670 fi
19671
19672 { echo "$as_me:$LINENO: checking for inline" >&5
19673 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
19674 if test "${ac_cv_c_inline+set}" = set; then
19675 echo $ECHO_N "(cached) $ECHO_C" >&6
19676 else
19677 ac_cv_c_inline=no
19678 for ac_kw in inline __inline__ __inline; do
19679 cat >conftest.$ac_ext <<_ACEOF
19680 /* confdefs.h. */
19681 _ACEOF
19682 cat confdefs.h >>conftest.$ac_ext
19683 cat >>conftest.$ac_ext <<_ACEOF
19684 /* end confdefs.h. */
19685 #ifndef __cplusplus
19686 typedef int foo_t;
19687 static $ac_kw foo_t static_foo () {return 0; }
19688 $ac_kw foo_t foo () {return 0; }
19689 #endif
19690
19691 _ACEOF
19692 rm -f conftest.$ac_objext
19693 if { (ac_try="$ac_compile"
19694 case "(($ac_try" in
19695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19696 *) ac_try_echo=$ac_try;;
19697 esac
19698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19699 (eval "$ac_compile") 2>conftest.er1
19700 ac_status=$?
19701 grep -v '^ *+' conftest.er1 >conftest.err
19702 rm -f conftest.er1
19703 cat conftest.err >&5
19704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19705 (exit $ac_status); } && {
19706 test -z "$ac_c_werror_flag" ||
19707 test ! -s conftest.err
19708 } && test -s conftest.$ac_objext; then
19709 ac_cv_c_inline=$ac_kw
19710 else
19711 echo "$as_me: failed program was:" >&5
19712 sed 's/^/| /' conftest.$ac_ext >&5
19713
19714
19715 fi
19716
19717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19718 test "$ac_cv_c_inline" != no && break
19719 done
19720
19721 fi
19722 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
19723 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
19724
19725
19726 case $ac_cv_c_inline in
19727 inline | yes) ;;
19728 *)
19729 case $ac_cv_c_inline in
19730 no) ac_val=;;
19731 *) ac_val=$ac_cv_c_inline;;
19732 esac
19733 cat >>confdefs.h <<_ACEOF
19734 #ifndef __cplusplus
19735 #define inline $ac_val
19736 #endif
19737 _ACEOF
19738 ;;
19739 esac
19740
19741
19742 { echo "$as_me:$LINENO: checking for short" >&5
19743 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
19744 if test "${ac_cv_type_short+set}" = set; then
19745 echo $ECHO_N "(cached) $ECHO_C" >&6
19746 else
19747 cat >conftest.$ac_ext <<_ACEOF
19748 /* confdefs.h. */
19749 _ACEOF
19750 cat confdefs.h >>conftest.$ac_ext
19751 cat >>conftest.$ac_ext <<_ACEOF
19752 /* end confdefs.h. */
19753 $ac_includes_default
19754 typedef short ac__type_new_;
19755 int
19756 main ()
19757 {
19758 if ((ac__type_new_ *) 0)
19759 return 0;
19760 if (sizeof (ac__type_new_))
19761 return 0;
19762 ;
19763 return 0;
19764 }
19765 _ACEOF
19766 rm -f conftest.$ac_objext
19767 if { (ac_try="$ac_compile"
19768 case "(($ac_try" in
19769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19770 *) ac_try_echo=$ac_try;;
19771 esac
19772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19773 (eval "$ac_compile") 2>conftest.er1
19774 ac_status=$?
19775 grep -v '^ *+' conftest.er1 >conftest.err
19776 rm -f conftest.er1
19777 cat conftest.err >&5
19778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19779 (exit $ac_status); } && {
19780 test -z "$ac_c_werror_flag" ||
19781 test ! -s conftest.err
19782 } && test -s conftest.$ac_objext; then
19783 ac_cv_type_short=yes
19784 else
19785 echo "$as_me: failed program was:" >&5
19786 sed 's/^/| /' conftest.$ac_ext >&5
19787
19788 ac_cv_type_short=no
19789 fi
19790
19791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19792 fi
19793 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
19794 echo "${ECHO_T}$ac_cv_type_short" >&6; }
19795
19796 # The cast to long int works around a bug in the HP C Compiler
19797 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19798 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19799 # This bug is HP SR number 8606223364.
19800 { echo "$as_me:$LINENO: checking size of short" >&5
19801 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
19802 if test "${ac_cv_sizeof_short+set}" = set; then
19803 echo $ECHO_N "(cached) $ECHO_C" >&6
19804 else
19805 if test "$cross_compiling" = yes; then
19806 # Depending upon the size, compute the lo and hi bounds.
19807 cat >conftest.$ac_ext <<_ACEOF
19808 /* confdefs.h. */
19809 _ACEOF
19810 cat confdefs.h >>conftest.$ac_ext
19811 cat >>conftest.$ac_ext <<_ACEOF
19812 /* end confdefs.h. */
19813 $ac_includes_default
19814 typedef short ac__type_sizeof_;
19815 int
19816 main ()
19817 {
19818 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19819 test_array [0] = 0
19820
19821 ;
19822 return 0;
19823 }
19824 _ACEOF
19825 rm -f conftest.$ac_objext
19826 if { (ac_try="$ac_compile"
19827 case "(($ac_try" in
19828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19829 *) ac_try_echo=$ac_try;;
19830 esac
19831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19832 (eval "$ac_compile") 2>conftest.er1
19833 ac_status=$?
19834 grep -v '^ *+' conftest.er1 >conftest.err
19835 rm -f conftest.er1
19836 cat conftest.err >&5
19837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19838 (exit $ac_status); } && {
19839 test -z "$ac_c_werror_flag" ||
19840 test ! -s conftest.err
19841 } && test -s conftest.$ac_objext; then
19842 ac_lo=0 ac_mid=0
19843 while :; do
19844 cat >conftest.$ac_ext <<_ACEOF
19845 /* confdefs.h. */
19846 _ACEOF
19847 cat confdefs.h >>conftest.$ac_ext
19848 cat >>conftest.$ac_ext <<_ACEOF
19849 /* end confdefs.h. */
19850 $ac_includes_default
19851 typedef short ac__type_sizeof_;
19852 int
19853 main ()
19854 {
19855 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19856 test_array [0] = 0
19857
19858 ;
19859 return 0;
19860 }
19861 _ACEOF
19862 rm -f conftest.$ac_objext
19863 if { (ac_try="$ac_compile"
19864 case "(($ac_try" in
19865 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19866 *) ac_try_echo=$ac_try;;
19867 esac
19868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19869 (eval "$ac_compile") 2>conftest.er1
19870 ac_status=$?
19871 grep -v '^ *+' conftest.er1 >conftest.err
19872 rm -f conftest.er1
19873 cat conftest.err >&5
19874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19875 (exit $ac_status); } && {
19876 test -z "$ac_c_werror_flag" ||
19877 test ! -s conftest.err
19878 } && test -s conftest.$ac_objext; then
19879 ac_hi=$ac_mid; break
19880 else
19881 echo "$as_me: failed program was:" >&5
19882 sed 's/^/| /' conftest.$ac_ext >&5
19883
19884 ac_lo=`expr $ac_mid + 1`
19885 if test $ac_lo -le $ac_mid; then
19886 ac_lo= ac_hi=
19887 break
19888 fi
19889 ac_mid=`expr 2 '*' $ac_mid + 1`
19890 fi
19891
19892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19893 done
19894 else
19895 echo "$as_me: failed program was:" >&5
19896 sed 's/^/| /' conftest.$ac_ext >&5
19897
19898 cat >conftest.$ac_ext <<_ACEOF
19899 /* confdefs.h. */
19900 _ACEOF
19901 cat confdefs.h >>conftest.$ac_ext
19902 cat >>conftest.$ac_ext <<_ACEOF
19903 /* end confdefs.h. */
19904 $ac_includes_default
19905 typedef short ac__type_sizeof_;
19906 int
19907 main ()
19908 {
19909 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19910 test_array [0] = 0
19911
19912 ;
19913 return 0;
19914 }
19915 _ACEOF
19916 rm -f conftest.$ac_objext
19917 if { (ac_try="$ac_compile"
19918 case "(($ac_try" in
19919 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19920 *) ac_try_echo=$ac_try;;
19921 esac
19922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19923 (eval "$ac_compile") 2>conftest.er1
19924 ac_status=$?
19925 grep -v '^ *+' conftest.er1 >conftest.err
19926 rm -f conftest.er1
19927 cat conftest.err >&5
19928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19929 (exit $ac_status); } && {
19930 test -z "$ac_c_werror_flag" ||
19931 test ! -s conftest.err
19932 } && test -s conftest.$ac_objext; then
19933 ac_hi=-1 ac_mid=-1
19934 while :; do
19935 cat >conftest.$ac_ext <<_ACEOF
19936 /* confdefs.h. */
19937 _ACEOF
19938 cat confdefs.h >>conftest.$ac_ext
19939 cat >>conftest.$ac_ext <<_ACEOF
19940 /* end confdefs.h. */
19941 $ac_includes_default
19942 typedef short ac__type_sizeof_;
19943 int
19944 main ()
19945 {
19946 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19947 test_array [0] = 0
19948
19949 ;
19950 return 0;
19951 }
19952 _ACEOF
19953 rm -f conftest.$ac_objext
19954 if { (ac_try="$ac_compile"
19955 case "(($ac_try" in
19956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19957 *) ac_try_echo=$ac_try;;
19958 esac
19959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19960 (eval "$ac_compile") 2>conftest.er1
19961 ac_status=$?
19962 grep -v '^ *+' conftest.er1 >conftest.err
19963 rm -f conftest.er1
19964 cat conftest.err >&5
19965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19966 (exit $ac_status); } && {
19967 test -z "$ac_c_werror_flag" ||
19968 test ! -s conftest.err
19969 } && test -s conftest.$ac_objext; then
19970 ac_lo=$ac_mid; break
19971 else
19972 echo "$as_me: failed program was:" >&5
19973 sed 's/^/| /' conftest.$ac_ext >&5
19974
19975 ac_hi=`expr '(' $ac_mid ')' - 1`
19976 if test $ac_mid -le $ac_hi; then
19977 ac_lo= ac_hi=
19978 break
19979 fi
19980 ac_mid=`expr 2 '*' $ac_mid`
19981 fi
19982
19983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19984 done
19985 else
19986 echo "$as_me: failed program was:" >&5
19987 sed 's/^/| /' conftest.$ac_ext >&5
19988
19989 ac_lo= ac_hi=
19990 fi
19991
19992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19993 fi
19994
19995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19996 # Binary search between lo and hi bounds.
19997 while test "x$ac_lo" != "x$ac_hi"; do
19998 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19999 cat >conftest.$ac_ext <<_ACEOF
20000 /* confdefs.h. */
20001 _ACEOF
20002 cat confdefs.h >>conftest.$ac_ext
20003 cat >>conftest.$ac_ext <<_ACEOF
20004 /* end confdefs.h. */
20005 $ac_includes_default
20006 typedef short ac__type_sizeof_;
20007 int
20008 main ()
20009 {
20010 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20011 test_array [0] = 0
20012
20013 ;
20014 return 0;
20015 }
20016 _ACEOF
20017 rm -f conftest.$ac_objext
20018 if { (ac_try="$ac_compile"
20019 case "(($ac_try" in
20020 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20021 *) ac_try_echo=$ac_try;;
20022 esac
20023 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20024 (eval "$ac_compile") 2>conftest.er1
20025 ac_status=$?
20026 grep -v '^ *+' conftest.er1 >conftest.err
20027 rm -f conftest.er1
20028 cat conftest.err >&5
20029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20030 (exit $ac_status); } && {
20031 test -z "$ac_c_werror_flag" ||
20032 test ! -s conftest.err
20033 } && test -s conftest.$ac_objext; then
20034 ac_hi=$ac_mid
20035 else
20036 echo "$as_me: failed program was:" >&5
20037 sed 's/^/| /' conftest.$ac_ext >&5
20038
20039 ac_lo=`expr '(' $ac_mid ')' + 1`
20040 fi
20041
20042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20043 done
20044 case $ac_lo in
20045 ?*) ac_cv_sizeof_short=$ac_lo;;
20046 '') if test "$ac_cv_type_short" = yes; then
20047 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
20048 See \`config.log' for more details." >&5
20049 echo "$as_me: error: cannot compute sizeof (short)
20050 See \`config.log' for more details." >&2;}
20051 { (exit 77); exit 77; }; }
20052 else
20053 ac_cv_sizeof_short=0
20054 fi ;;
20055 esac
20056 else
20057 cat >conftest.$ac_ext <<_ACEOF
20058 /* confdefs.h. */
20059 _ACEOF
20060 cat confdefs.h >>conftest.$ac_ext
20061 cat >>conftest.$ac_ext <<_ACEOF
20062 /* end confdefs.h. */
20063 $ac_includes_default
20064 typedef short ac__type_sizeof_;
20065 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20066 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20067 #include <stdio.h>
20068 #include <stdlib.h>
20069 int
20070 main ()
20071 {
20072
20073 FILE *f = fopen ("conftest.val", "w");
20074 if (! f)
20075 return 1;
20076 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20077 {
20078 long int i = longval ();
20079 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20080 return 1;
20081 fprintf (f, "%ld\n", i);
20082 }
20083 else
20084 {
20085 unsigned long int i = ulongval ();
20086 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20087 return 1;
20088 fprintf (f, "%lu\n", i);
20089 }
20090 return ferror (f) || fclose (f) != 0;
20091
20092 ;
20093 return 0;
20094 }
20095 _ACEOF
20096 rm -f conftest$ac_exeext
20097 if { (ac_try="$ac_link"
20098 case "(($ac_try" in
20099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20100 *) ac_try_echo=$ac_try;;
20101 esac
20102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20103 (eval "$ac_link") 2>&5
20104 ac_status=$?
20105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20106 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20107 { (case "(($ac_try" in
20108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20109 *) ac_try_echo=$ac_try;;
20110 esac
20111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20112 (eval "$ac_try") 2>&5
20113 ac_status=$?
20114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20115 (exit $ac_status); }; }; then
20116 ac_cv_sizeof_short=`cat conftest.val`
20117 else
20118 echo "$as_me: program exited with status $ac_status" >&5
20119 echo "$as_me: failed program was:" >&5
20120 sed 's/^/| /' conftest.$ac_ext >&5
20121
20122 ( exit $ac_status )
20123 if test "$ac_cv_type_short" = yes; then
20124 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
20125 See \`config.log' for more details." >&5
20126 echo "$as_me: error: cannot compute sizeof (short)
20127 See \`config.log' for more details." >&2;}
20128 { (exit 77); exit 77; }; }
20129 else
20130 ac_cv_sizeof_short=0
20131 fi
20132 fi
20133 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20134 fi
20135 rm -f conftest.val
20136 fi
20137 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
20138 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
20139
20140
20141
20142 cat >>confdefs.h <<_ACEOF
20143 #define SIZEOF_SHORT $ac_cv_sizeof_short
20144 _ACEOF
20145
20146
20147 { echo "$as_me:$LINENO: checking for void *" >&5
20148 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
20149 if test "${ac_cv_type_void_p+set}" = set; then
20150 echo $ECHO_N "(cached) $ECHO_C" >&6
20151 else
20152 cat >conftest.$ac_ext <<_ACEOF
20153 /* confdefs.h. */
20154 _ACEOF
20155 cat confdefs.h >>conftest.$ac_ext
20156 cat >>conftest.$ac_ext <<_ACEOF
20157 /* end confdefs.h. */
20158 $ac_includes_default
20159 typedef void * ac__type_new_;
20160 int
20161 main ()
20162 {
20163 if ((ac__type_new_ *) 0)
20164 return 0;
20165 if (sizeof (ac__type_new_))
20166 return 0;
20167 ;
20168 return 0;
20169 }
20170 _ACEOF
20171 rm -f conftest.$ac_objext
20172 if { (ac_try="$ac_compile"
20173 case "(($ac_try" in
20174 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20175 *) ac_try_echo=$ac_try;;
20176 esac
20177 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20178 (eval "$ac_compile") 2>conftest.er1
20179 ac_status=$?
20180 grep -v '^ *+' conftest.er1 >conftest.err
20181 rm -f conftest.er1
20182 cat conftest.err >&5
20183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20184 (exit $ac_status); } && {
20185 test -z "$ac_c_werror_flag" ||
20186 test ! -s conftest.err
20187 } && test -s conftest.$ac_objext; then
20188 ac_cv_type_void_p=yes
20189 else
20190 echo "$as_me: failed program was:" >&5
20191 sed 's/^/| /' conftest.$ac_ext >&5
20192
20193 ac_cv_type_void_p=no
20194 fi
20195
20196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20197 fi
20198 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
20199 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
20200
20201 # The cast to long int works around a bug in the HP C Compiler
20202 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20203 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20204 # This bug is HP SR number 8606223364.
20205 { echo "$as_me:$LINENO: checking size of void *" >&5
20206 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
20207 if test "${ac_cv_sizeof_void_p+set}" = set; then
20208 echo $ECHO_N "(cached) $ECHO_C" >&6
20209 else
20210 if test "$cross_compiling" = yes; then
20211 # Depending upon the size, compute the lo and hi bounds.
20212 cat >conftest.$ac_ext <<_ACEOF
20213 /* confdefs.h. */
20214 _ACEOF
20215 cat confdefs.h >>conftest.$ac_ext
20216 cat >>conftest.$ac_ext <<_ACEOF
20217 /* end confdefs.h. */
20218 $ac_includes_default
20219 typedef void * ac__type_sizeof_;
20220 int
20221 main ()
20222 {
20223 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20224 test_array [0] = 0
20225
20226 ;
20227 return 0;
20228 }
20229 _ACEOF
20230 rm -f conftest.$ac_objext
20231 if { (ac_try="$ac_compile"
20232 case "(($ac_try" in
20233 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20234 *) ac_try_echo=$ac_try;;
20235 esac
20236 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20237 (eval "$ac_compile") 2>conftest.er1
20238 ac_status=$?
20239 grep -v '^ *+' conftest.er1 >conftest.err
20240 rm -f conftest.er1
20241 cat conftest.err >&5
20242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20243 (exit $ac_status); } && {
20244 test -z "$ac_c_werror_flag" ||
20245 test ! -s conftest.err
20246 } && test -s conftest.$ac_objext; then
20247 ac_lo=0 ac_mid=0
20248 while :; do
20249 cat >conftest.$ac_ext <<_ACEOF
20250 /* confdefs.h. */
20251 _ACEOF
20252 cat confdefs.h >>conftest.$ac_ext
20253 cat >>conftest.$ac_ext <<_ACEOF
20254 /* end confdefs.h. */
20255 $ac_includes_default
20256 typedef void * ac__type_sizeof_;
20257 int
20258 main ()
20259 {
20260 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20261 test_array [0] = 0
20262
20263 ;
20264 return 0;
20265 }
20266 _ACEOF
20267 rm -f conftest.$ac_objext
20268 if { (ac_try="$ac_compile"
20269 case "(($ac_try" in
20270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20271 *) ac_try_echo=$ac_try;;
20272 esac
20273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20274 (eval "$ac_compile") 2>conftest.er1
20275 ac_status=$?
20276 grep -v '^ *+' conftest.er1 >conftest.err
20277 rm -f conftest.er1
20278 cat conftest.err >&5
20279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20280 (exit $ac_status); } && {
20281 test -z "$ac_c_werror_flag" ||
20282 test ! -s conftest.err
20283 } && test -s conftest.$ac_objext; then
20284 ac_hi=$ac_mid; break
20285 else
20286 echo "$as_me: failed program was:" >&5
20287 sed 's/^/| /' conftest.$ac_ext >&5
20288
20289 ac_lo=`expr $ac_mid + 1`
20290 if test $ac_lo -le $ac_mid; then
20291 ac_lo= ac_hi=
20292 break
20293 fi
20294 ac_mid=`expr 2 '*' $ac_mid + 1`
20295 fi
20296
20297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20298 done
20299 else
20300 echo "$as_me: failed program was:" >&5
20301 sed 's/^/| /' conftest.$ac_ext >&5
20302
20303 cat >conftest.$ac_ext <<_ACEOF
20304 /* confdefs.h. */
20305 _ACEOF
20306 cat confdefs.h >>conftest.$ac_ext
20307 cat >>conftest.$ac_ext <<_ACEOF
20308 /* end confdefs.h. */
20309 $ac_includes_default
20310 typedef void * ac__type_sizeof_;
20311 int
20312 main ()
20313 {
20314 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20315 test_array [0] = 0
20316
20317 ;
20318 return 0;
20319 }
20320 _ACEOF
20321 rm -f conftest.$ac_objext
20322 if { (ac_try="$ac_compile"
20323 case "(($ac_try" in
20324 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20325 *) ac_try_echo=$ac_try;;
20326 esac
20327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20328 (eval "$ac_compile") 2>conftest.er1
20329 ac_status=$?
20330 grep -v '^ *+' conftest.er1 >conftest.err
20331 rm -f conftest.er1
20332 cat conftest.err >&5
20333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20334 (exit $ac_status); } && {
20335 test -z "$ac_c_werror_flag" ||
20336 test ! -s conftest.err
20337 } && test -s conftest.$ac_objext; then
20338 ac_hi=-1 ac_mid=-1
20339 while :; do
20340 cat >conftest.$ac_ext <<_ACEOF
20341 /* confdefs.h. */
20342 _ACEOF
20343 cat confdefs.h >>conftest.$ac_ext
20344 cat >>conftest.$ac_ext <<_ACEOF
20345 /* end confdefs.h. */
20346 $ac_includes_default
20347 typedef void * ac__type_sizeof_;
20348 int
20349 main ()
20350 {
20351 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20352 test_array [0] = 0
20353
20354 ;
20355 return 0;
20356 }
20357 _ACEOF
20358 rm -f conftest.$ac_objext
20359 if { (ac_try="$ac_compile"
20360 case "(($ac_try" in
20361 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20362 *) ac_try_echo=$ac_try;;
20363 esac
20364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20365 (eval "$ac_compile") 2>conftest.er1
20366 ac_status=$?
20367 grep -v '^ *+' conftest.er1 >conftest.err
20368 rm -f conftest.er1
20369 cat conftest.err >&5
20370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20371 (exit $ac_status); } && {
20372 test -z "$ac_c_werror_flag" ||
20373 test ! -s conftest.err
20374 } && test -s conftest.$ac_objext; then
20375 ac_lo=$ac_mid; break
20376 else
20377 echo "$as_me: failed program was:" >&5
20378 sed 's/^/| /' conftest.$ac_ext >&5
20379
20380 ac_hi=`expr '(' $ac_mid ')' - 1`
20381 if test $ac_mid -le $ac_hi; then
20382 ac_lo= ac_hi=
20383 break
20384 fi
20385 ac_mid=`expr 2 '*' $ac_mid`
20386 fi
20387
20388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20389 done
20390 else
20391 echo "$as_me: failed program was:" >&5
20392 sed 's/^/| /' conftest.$ac_ext >&5
20393
20394 ac_lo= ac_hi=
20395 fi
20396
20397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20398 fi
20399
20400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20401 # Binary search between lo and hi bounds.
20402 while test "x$ac_lo" != "x$ac_hi"; do
20403 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20404 cat >conftest.$ac_ext <<_ACEOF
20405 /* confdefs.h. */
20406 _ACEOF
20407 cat confdefs.h >>conftest.$ac_ext
20408 cat >>conftest.$ac_ext <<_ACEOF
20409 /* end confdefs.h. */
20410 $ac_includes_default
20411 typedef void * ac__type_sizeof_;
20412 int
20413 main ()
20414 {
20415 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20416 test_array [0] = 0
20417
20418 ;
20419 return 0;
20420 }
20421 _ACEOF
20422 rm -f conftest.$ac_objext
20423 if { (ac_try="$ac_compile"
20424 case "(($ac_try" in
20425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20426 *) ac_try_echo=$ac_try;;
20427 esac
20428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20429 (eval "$ac_compile") 2>conftest.er1
20430 ac_status=$?
20431 grep -v '^ *+' conftest.er1 >conftest.err
20432 rm -f conftest.er1
20433 cat conftest.err >&5
20434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20435 (exit $ac_status); } && {
20436 test -z "$ac_c_werror_flag" ||
20437 test ! -s conftest.err
20438 } && test -s conftest.$ac_objext; then
20439 ac_hi=$ac_mid
20440 else
20441 echo "$as_me: failed program was:" >&5
20442 sed 's/^/| /' conftest.$ac_ext >&5
20443
20444 ac_lo=`expr '(' $ac_mid ')' + 1`
20445 fi
20446
20447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20448 done
20449 case $ac_lo in
20450 ?*) ac_cv_sizeof_void_p=$ac_lo;;
20451 '') if test "$ac_cv_type_void_p" = yes; then
20452 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
20453 See \`config.log' for more details." >&5
20454 echo "$as_me: error: cannot compute sizeof (void *)
20455 See \`config.log' for more details." >&2;}
20456 { (exit 77); exit 77; }; }
20457 else
20458 ac_cv_sizeof_void_p=0
20459 fi ;;
20460 esac
20461 else
20462 cat >conftest.$ac_ext <<_ACEOF
20463 /* confdefs.h. */
20464 _ACEOF
20465 cat confdefs.h >>conftest.$ac_ext
20466 cat >>conftest.$ac_ext <<_ACEOF
20467 /* end confdefs.h. */
20468 $ac_includes_default
20469 typedef void * ac__type_sizeof_;
20470 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20471 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20472 #include <stdio.h>
20473 #include <stdlib.h>
20474 int
20475 main ()
20476 {
20477
20478 FILE *f = fopen ("conftest.val", "w");
20479 if (! f)
20480 return 1;
20481 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20482 {
20483 long int i = longval ();
20484 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20485 return 1;
20486 fprintf (f, "%ld\n", i);
20487 }
20488 else
20489 {
20490 unsigned long int i = ulongval ();
20491 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20492 return 1;
20493 fprintf (f, "%lu\n", i);
20494 }
20495 return ferror (f) || fclose (f) != 0;
20496
20497 ;
20498 return 0;
20499 }
20500 _ACEOF
20501 rm -f conftest$ac_exeext
20502 if { (ac_try="$ac_link"
20503 case "(($ac_try" in
20504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20505 *) ac_try_echo=$ac_try;;
20506 esac
20507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20508 (eval "$ac_link") 2>&5
20509 ac_status=$?
20510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20511 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20512 { (case "(($ac_try" in
20513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20514 *) ac_try_echo=$ac_try;;
20515 esac
20516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20517 (eval "$ac_try") 2>&5
20518 ac_status=$?
20519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20520 (exit $ac_status); }; }; then
20521 ac_cv_sizeof_void_p=`cat conftest.val`
20522 else
20523 echo "$as_me: program exited with status $ac_status" >&5
20524 echo "$as_me: failed program was:" >&5
20525 sed 's/^/| /' conftest.$ac_ext >&5
20526
20527 ( exit $ac_status )
20528 if test "$ac_cv_type_void_p" = yes; then
20529 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
20530 See \`config.log' for more details." >&5
20531 echo "$as_me: error: cannot compute sizeof (void *)
20532 See \`config.log' for more details." >&2;}
20533 { (exit 77); exit 77; }; }
20534 else
20535 ac_cv_sizeof_void_p=0
20536 fi
20537 fi
20538 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20539 fi
20540 rm -f conftest.val
20541 fi
20542 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
20543 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
20544
20545
20546
20547 cat >>confdefs.h <<_ACEOF
20548 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
20549 _ACEOF
20550
20551
20552 { echo "$as_me:$LINENO: checking for int" >&5
20553 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
20554 if test "${ac_cv_type_int+set}" = set; then
20555 echo $ECHO_N "(cached) $ECHO_C" >&6
20556 else
20557 cat >conftest.$ac_ext <<_ACEOF
20558 /* confdefs.h. */
20559 _ACEOF
20560 cat confdefs.h >>conftest.$ac_ext
20561 cat >>conftest.$ac_ext <<_ACEOF
20562 /* end confdefs.h. */
20563 $ac_includes_default
20564 typedef int ac__type_new_;
20565 int
20566 main ()
20567 {
20568 if ((ac__type_new_ *) 0)
20569 return 0;
20570 if (sizeof (ac__type_new_))
20571 return 0;
20572 ;
20573 return 0;
20574 }
20575 _ACEOF
20576 rm -f conftest.$ac_objext
20577 if { (ac_try="$ac_compile"
20578 case "(($ac_try" in
20579 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20580 *) ac_try_echo=$ac_try;;
20581 esac
20582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20583 (eval "$ac_compile") 2>conftest.er1
20584 ac_status=$?
20585 grep -v '^ *+' conftest.er1 >conftest.err
20586 rm -f conftest.er1
20587 cat conftest.err >&5
20588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20589 (exit $ac_status); } && {
20590 test -z "$ac_c_werror_flag" ||
20591 test ! -s conftest.err
20592 } && test -s conftest.$ac_objext; then
20593 ac_cv_type_int=yes
20594 else
20595 echo "$as_me: failed program was:" >&5
20596 sed 's/^/| /' conftest.$ac_ext >&5
20597
20598 ac_cv_type_int=no
20599 fi
20600
20601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20602 fi
20603 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
20604 echo "${ECHO_T}$ac_cv_type_int" >&6; }
20605
20606 # The cast to long int works around a bug in the HP C Compiler
20607 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20608 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20609 # This bug is HP SR number 8606223364.
20610 { echo "$as_me:$LINENO: checking size of int" >&5
20611 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
20612 if test "${ac_cv_sizeof_int+set}" = set; then
20613 echo $ECHO_N "(cached) $ECHO_C" >&6
20614 else
20615 if test "$cross_compiling" = yes; then
20616 # Depending upon the size, compute the lo and hi bounds.
20617 cat >conftest.$ac_ext <<_ACEOF
20618 /* confdefs.h. */
20619 _ACEOF
20620 cat confdefs.h >>conftest.$ac_ext
20621 cat >>conftest.$ac_ext <<_ACEOF
20622 /* end confdefs.h. */
20623 $ac_includes_default
20624 typedef int ac__type_sizeof_;
20625 int
20626 main ()
20627 {
20628 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20629 test_array [0] = 0
20630
20631 ;
20632 return 0;
20633 }
20634 _ACEOF
20635 rm -f conftest.$ac_objext
20636 if { (ac_try="$ac_compile"
20637 case "(($ac_try" in
20638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20639 *) ac_try_echo=$ac_try;;
20640 esac
20641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20642 (eval "$ac_compile") 2>conftest.er1
20643 ac_status=$?
20644 grep -v '^ *+' conftest.er1 >conftest.err
20645 rm -f conftest.er1
20646 cat conftest.err >&5
20647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20648 (exit $ac_status); } && {
20649 test -z "$ac_c_werror_flag" ||
20650 test ! -s conftest.err
20651 } && test -s conftest.$ac_objext; then
20652 ac_lo=0 ac_mid=0
20653 while :; do
20654 cat >conftest.$ac_ext <<_ACEOF
20655 /* confdefs.h. */
20656 _ACEOF
20657 cat confdefs.h >>conftest.$ac_ext
20658 cat >>conftest.$ac_ext <<_ACEOF
20659 /* end confdefs.h. */
20660 $ac_includes_default
20661 typedef int ac__type_sizeof_;
20662 int
20663 main ()
20664 {
20665 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20666 test_array [0] = 0
20667
20668 ;
20669 return 0;
20670 }
20671 _ACEOF
20672 rm -f conftest.$ac_objext
20673 if { (ac_try="$ac_compile"
20674 case "(($ac_try" in
20675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20676 *) ac_try_echo=$ac_try;;
20677 esac
20678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20679 (eval "$ac_compile") 2>conftest.er1
20680 ac_status=$?
20681 grep -v '^ *+' conftest.er1 >conftest.err
20682 rm -f conftest.er1
20683 cat conftest.err >&5
20684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20685 (exit $ac_status); } && {
20686 test -z "$ac_c_werror_flag" ||
20687 test ! -s conftest.err
20688 } && test -s conftest.$ac_objext; then
20689 ac_hi=$ac_mid; break
20690 else
20691 echo "$as_me: failed program was:" >&5
20692 sed 's/^/| /' conftest.$ac_ext >&5
20693
20694 ac_lo=`expr $ac_mid + 1`
20695 if test $ac_lo -le $ac_mid; then
20696 ac_lo= ac_hi=
20697 break
20698 fi
20699 ac_mid=`expr 2 '*' $ac_mid + 1`
20700 fi
20701
20702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20703 done
20704 else
20705 echo "$as_me: failed program was:" >&5
20706 sed 's/^/| /' conftest.$ac_ext >&5
20707
20708 cat >conftest.$ac_ext <<_ACEOF
20709 /* confdefs.h. */
20710 _ACEOF
20711 cat confdefs.h >>conftest.$ac_ext
20712 cat >>conftest.$ac_ext <<_ACEOF
20713 /* end confdefs.h. */
20714 $ac_includes_default
20715 typedef int ac__type_sizeof_;
20716 int
20717 main ()
20718 {
20719 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20720 test_array [0] = 0
20721
20722 ;
20723 return 0;
20724 }
20725 _ACEOF
20726 rm -f conftest.$ac_objext
20727 if { (ac_try="$ac_compile"
20728 case "(($ac_try" in
20729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20730 *) ac_try_echo=$ac_try;;
20731 esac
20732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20733 (eval "$ac_compile") 2>conftest.er1
20734 ac_status=$?
20735 grep -v '^ *+' conftest.er1 >conftest.err
20736 rm -f conftest.er1
20737 cat conftest.err >&5
20738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20739 (exit $ac_status); } && {
20740 test -z "$ac_c_werror_flag" ||
20741 test ! -s conftest.err
20742 } && test -s conftest.$ac_objext; then
20743 ac_hi=-1 ac_mid=-1
20744 while :; do
20745 cat >conftest.$ac_ext <<_ACEOF
20746 /* confdefs.h. */
20747 _ACEOF
20748 cat confdefs.h >>conftest.$ac_ext
20749 cat >>conftest.$ac_ext <<_ACEOF
20750 /* end confdefs.h. */
20751 $ac_includes_default
20752 typedef int ac__type_sizeof_;
20753 int
20754 main ()
20755 {
20756 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20757 test_array [0] = 0
20758
20759 ;
20760 return 0;
20761 }
20762 _ACEOF
20763 rm -f conftest.$ac_objext
20764 if { (ac_try="$ac_compile"
20765 case "(($ac_try" in
20766 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20767 *) ac_try_echo=$ac_try;;
20768 esac
20769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20770 (eval "$ac_compile") 2>conftest.er1
20771 ac_status=$?
20772 grep -v '^ *+' conftest.er1 >conftest.err
20773 rm -f conftest.er1
20774 cat conftest.err >&5
20775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20776 (exit $ac_status); } && {
20777 test -z "$ac_c_werror_flag" ||
20778 test ! -s conftest.err
20779 } && test -s conftest.$ac_objext; then
20780 ac_lo=$ac_mid; break
20781 else
20782 echo "$as_me: failed program was:" >&5
20783 sed 's/^/| /' conftest.$ac_ext >&5
20784
20785 ac_hi=`expr '(' $ac_mid ')' - 1`
20786 if test $ac_mid -le $ac_hi; then
20787 ac_lo= ac_hi=
20788 break
20789 fi
20790 ac_mid=`expr 2 '*' $ac_mid`
20791 fi
20792
20793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20794 done
20795 else
20796 echo "$as_me: failed program was:" >&5
20797 sed 's/^/| /' conftest.$ac_ext >&5
20798
20799 ac_lo= ac_hi=
20800 fi
20801
20802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20803 fi
20804
20805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20806 # Binary search between lo and hi bounds.
20807 while test "x$ac_lo" != "x$ac_hi"; do
20808 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20809 cat >conftest.$ac_ext <<_ACEOF
20810 /* confdefs.h. */
20811 _ACEOF
20812 cat confdefs.h >>conftest.$ac_ext
20813 cat >>conftest.$ac_ext <<_ACEOF
20814 /* end confdefs.h. */
20815 $ac_includes_default
20816 typedef int ac__type_sizeof_;
20817 int
20818 main ()
20819 {
20820 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20821 test_array [0] = 0
20822
20823 ;
20824 return 0;
20825 }
20826 _ACEOF
20827 rm -f conftest.$ac_objext
20828 if { (ac_try="$ac_compile"
20829 case "(($ac_try" in
20830 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20831 *) ac_try_echo=$ac_try;;
20832 esac
20833 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20834 (eval "$ac_compile") 2>conftest.er1
20835 ac_status=$?
20836 grep -v '^ *+' conftest.er1 >conftest.err
20837 rm -f conftest.er1
20838 cat conftest.err >&5
20839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20840 (exit $ac_status); } && {
20841 test -z "$ac_c_werror_flag" ||
20842 test ! -s conftest.err
20843 } && test -s conftest.$ac_objext; then
20844 ac_hi=$ac_mid
20845 else
20846 echo "$as_me: failed program was:" >&5
20847 sed 's/^/| /' conftest.$ac_ext >&5
20848
20849 ac_lo=`expr '(' $ac_mid ')' + 1`
20850 fi
20851
20852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20853 done
20854 case $ac_lo in
20855 ?*) ac_cv_sizeof_int=$ac_lo;;
20856 '') if test "$ac_cv_type_int" = yes; then
20857 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20858 See \`config.log' for more details." >&5
20859 echo "$as_me: error: cannot compute sizeof (int)
20860 See \`config.log' for more details." >&2;}
20861 { (exit 77); exit 77; }; }
20862 else
20863 ac_cv_sizeof_int=0
20864 fi ;;
20865 esac
20866 else
20867 cat >conftest.$ac_ext <<_ACEOF
20868 /* confdefs.h. */
20869 _ACEOF
20870 cat confdefs.h >>conftest.$ac_ext
20871 cat >>conftest.$ac_ext <<_ACEOF
20872 /* end confdefs.h. */
20873 $ac_includes_default
20874 typedef int ac__type_sizeof_;
20875 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20876 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20877 #include <stdio.h>
20878 #include <stdlib.h>
20879 int
20880 main ()
20881 {
20882
20883 FILE *f = fopen ("conftest.val", "w");
20884 if (! f)
20885 return 1;
20886 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20887 {
20888 long int i = longval ();
20889 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20890 return 1;
20891 fprintf (f, "%ld\n", i);
20892 }
20893 else
20894 {
20895 unsigned long int i = ulongval ();
20896 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20897 return 1;
20898 fprintf (f, "%lu\n", i);
20899 }
20900 return ferror (f) || fclose (f) != 0;
20901
20902 ;
20903 return 0;
20904 }
20905 _ACEOF
20906 rm -f conftest$ac_exeext
20907 if { (ac_try="$ac_link"
20908 case "(($ac_try" in
20909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20910 *) ac_try_echo=$ac_try;;
20911 esac
20912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20913 (eval "$ac_link") 2>&5
20914 ac_status=$?
20915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20916 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20917 { (case "(($ac_try" in
20918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20919 *) ac_try_echo=$ac_try;;
20920 esac
20921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20922 (eval "$ac_try") 2>&5
20923 ac_status=$?
20924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20925 (exit $ac_status); }; }; then
20926 ac_cv_sizeof_int=`cat conftest.val`
20927 else
20928 echo "$as_me: program exited with status $ac_status" >&5
20929 echo "$as_me: failed program was:" >&5
20930 sed 's/^/| /' conftest.$ac_ext >&5
20931
20932 ( exit $ac_status )
20933 if test "$ac_cv_type_int" = yes; then
20934 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20935 See \`config.log' for more details." >&5
20936 echo "$as_me: error: cannot compute sizeof (int)
20937 See \`config.log' for more details." >&2;}
20938 { (exit 77); exit 77; }; }
20939 else
20940 ac_cv_sizeof_int=0
20941 fi
20942 fi
20943 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20944 fi
20945 rm -f conftest.val
20946 fi
20947 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
20948 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
20949
20950
20951
20952 cat >>confdefs.h <<_ACEOF
20953 #define SIZEOF_INT $ac_cv_sizeof_int
20954 _ACEOF
20955
20956
20957 { echo "$as_me:$LINENO: checking for long" >&5
20958 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
20959 if test "${ac_cv_type_long+set}" = set; then
20960 echo $ECHO_N "(cached) $ECHO_C" >&6
20961 else
20962 cat >conftest.$ac_ext <<_ACEOF
20963 /* confdefs.h. */
20964 _ACEOF
20965 cat confdefs.h >>conftest.$ac_ext
20966 cat >>conftest.$ac_ext <<_ACEOF
20967 /* end confdefs.h. */
20968 $ac_includes_default
20969 typedef long ac__type_new_;
20970 int
20971 main ()
20972 {
20973 if ((ac__type_new_ *) 0)
20974 return 0;
20975 if (sizeof (ac__type_new_))
20976 return 0;
20977 ;
20978 return 0;
20979 }
20980 _ACEOF
20981 rm -f conftest.$ac_objext
20982 if { (ac_try="$ac_compile"
20983 case "(($ac_try" in
20984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20985 *) ac_try_echo=$ac_try;;
20986 esac
20987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20988 (eval "$ac_compile") 2>conftest.er1
20989 ac_status=$?
20990 grep -v '^ *+' conftest.er1 >conftest.err
20991 rm -f conftest.er1
20992 cat conftest.err >&5
20993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20994 (exit $ac_status); } && {
20995 test -z "$ac_c_werror_flag" ||
20996 test ! -s conftest.err
20997 } && test -s conftest.$ac_objext; then
20998 ac_cv_type_long=yes
20999 else
21000 echo "$as_me: failed program was:" >&5
21001 sed 's/^/| /' conftest.$ac_ext >&5
21002
21003 ac_cv_type_long=no
21004 fi
21005
21006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21007 fi
21008 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
21009 echo "${ECHO_T}$ac_cv_type_long" >&6; }
21010
21011 # The cast to long int works around a bug in the HP C Compiler
21012 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21013 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21014 # This bug is HP SR number 8606223364.
21015 { echo "$as_me:$LINENO: checking size of long" >&5
21016 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
21017 if test "${ac_cv_sizeof_long+set}" = set; then
21018 echo $ECHO_N "(cached) $ECHO_C" >&6
21019 else
21020 if test "$cross_compiling" = yes; then
21021 # Depending upon the size, compute the lo and hi bounds.
21022 cat >conftest.$ac_ext <<_ACEOF
21023 /* confdefs.h. */
21024 _ACEOF
21025 cat confdefs.h >>conftest.$ac_ext
21026 cat >>conftest.$ac_ext <<_ACEOF
21027 /* end confdefs.h. */
21028 $ac_includes_default
21029 typedef long ac__type_sizeof_;
21030 int
21031 main ()
21032 {
21033 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21034 test_array [0] = 0
21035
21036 ;
21037 return 0;
21038 }
21039 _ACEOF
21040 rm -f conftest.$ac_objext
21041 if { (ac_try="$ac_compile"
21042 case "(($ac_try" in
21043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21044 *) ac_try_echo=$ac_try;;
21045 esac
21046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21047 (eval "$ac_compile") 2>conftest.er1
21048 ac_status=$?
21049 grep -v '^ *+' conftest.er1 >conftest.err
21050 rm -f conftest.er1
21051 cat conftest.err >&5
21052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21053 (exit $ac_status); } && {
21054 test -z "$ac_c_werror_flag" ||
21055 test ! -s conftest.err
21056 } && test -s conftest.$ac_objext; then
21057 ac_lo=0 ac_mid=0
21058 while :; do
21059 cat >conftest.$ac_ext <<_ACEOF
21060 /* confdefs.h. */
21061 _ACEOF
21062 cat confdefs.h >>conftest.$ac_ext
21063 cat >>conftest.$ac_ext <<_ACEOF
21064 /* end confdefs.h. */
21065 $ac_includes_default
21066 typedef long ac__type_sizeof_;
21067 int
21068 main ()
21069 {
21070 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21071 test_array [0] = 0
21072
21073 ;
21074 return 0;
21075 }
21076 _ACEOF
21077 rm -f conftest.$ac_objext
21078 if { (ac_try="$ac_compile"
21079 case "(($ac_try" in
21080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21081 *) ac_try_echo=$ac_try;;
21082 esac
21083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21084 (eval "$ac_compile") 2>conftest.er1
21085 ac_status=$?
21086 grep -v '^ *+' conftest.er1 >conftest.err
21087 rm -f conftest.er1
21088 cat conftest.err >&5
21089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21090 (exit $ac_status); } && {
21091 test -z "$ac_c_werror_flag" ||
21092 test ! -s conftest.err
21093 } && test -s conftest.$ac_objext; then
21094 ac_hi=$ac_mid; break
21095 else
21096 echo "$as_me: failed program was:" >&5
21097 sed 's/^/| /' conftest.$ac_ext >&5
21098
21099 ac_lo=`expr $ac_mid + 1`
21100 if test $ac_lo -le $ac_mid; then
21101 ac_lo= ac_hi=
21102 break
21103 fi
21104 ac_mid=`expr 2 '*' $ac_mid + 1`
21105 fi
21106
21107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21108 done
21109 else
21110 echo "$as_me: failed program was:" >&5
21111 sed 's/^/| /' conftest.$ac_ext >&5
21112
21113 cat >conftest.$ac_ext <<_ACEOF
21114 /* confdefs.h. */
21115 _ACEOF
21116 cat confdefs.h >>conftest.$ac_ext
21117 cat >>conftest.$ac_ext <<_ACEOF
21118 /* end confdefs.h. */
21119 $ac_includes_default
21120 typedef long ac__type_sizeof_;
21121 int
21122 main ()
21123 {
21124 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21125 test_array [0] = 0
21126
21127 ;
21128 return 0;
21129 }
21130 _ACEOF
21131 rm -f conftest.$ac_objext
21132 if { (ac_try="$ac_compile"
21133 case "(($ac_try" in
21134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21135 *) ac_try_echo=$ac_try;;
21136 esac
21137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21138 (eval "$ac_compile") 2>conftest.er1
21139 ac_status=$?
21140 grep -v '^ *+' conftest.er1 >conftest.err
21141 rm -f conftest.er1
21142 cat conftest.err >&5
21143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21144 (exit $ac_status); } && {
21145 test -z "$ac_c_werror_flag" ||
21146 test ! -s conftest.err
21147 } && test -s conftest.$ac_objext; then
21148 ac_hi=-1 ac_mid=-1
21149 while :; do
21150 cat >conftest.$ac_ext <<_ACEOF
21151 /* confdefs.h. */
21152 _ACEOF
21153 cat confdefs.h >>conftest.$ac_ext
21154 cat >>conftest.$ac_ext <<_ACEOF
21155 /* end confdefs.h. */
21156 $ac_includes_default
21157 typedef long ac__type_sizeof_;
21158 int
21159 main ()
21160 {
21161 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21162 test_array [0] = 0
21163
21164 ;
21165 return 0;
21166 }
21167 _ACEOF
21168 rm -f conftest.$ac_objext
21169 if { (ac_try="$ac_compile"
21170 case "(($ac_try" in
21171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21172 *) ac_try_echo=$ac_try;;
21173 esac
21174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21175 (eval "$ac_compile") 2>conftest.er1
21176 ac_status=$?
21177 grep -v '^ *+' conftest.er1 >conftest.err
21178 rm -f conftest.er1
21179 cat conftest.err >&5
21180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21181 (exit $ac_status); } && {
21182 test -z "$ac_c_werror_flag" ||
21183 test ! -s conftest.err
21184 } && test -s conftest.$ac_objext; then
21185 ac_lo=$ac_mid; break
21186 else
21187 echo "$as_me: failed program was:" >&5
21188 sed 's/^/| /' conftest.$ac_ext >&5
21189
21190 ac_hi=`expr '(' $ac_mid ')' - 1`
21191 if test $ac_mid -le $ac_hi; then
21192 ac_lo= ac_hi=
21193 break
21194 fi
21195 ac_mid=`expr 2 '*' $ac_mid`
21196 fi
21197
21198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21199 done
21200 else
21201 echo "$as_me: failed program was:" >&5
21202 sed 's/^/| /' conftest.$ac_ext >&5
21203
21204 ac_lo= ac_hi=
21205 fi
21206
21207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21208 fi
21209
21210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21211 # Binary search between lo and hi bounds.
21212 while test "x$ac_lo" != "x$ac_hi"; do
21213 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21214 cat >conftest.$ac_ext <<_ACEOF
21215 /* confdefs.h. */
21216 _ACEOF
21217 cat confdefs.h >>conftest.$ac_ext
21218 cat >>conftest.$ac_ext <<_ACEOF
21219 /* end confdefs.h. */
21220 $ac_includes_default
21221 typedef long ac__type_sizeof_;
21222 int
21223 main ()
21224 {
21225 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21226 test_array [0] = 0
21227
21228 ;
21229 return 0;
21230 }
21231 _ACEOF
21232 rm -f conftest.$ac_objext
21233 if { (ac_try="$ac_compile"
21234 case "(($ac_try" in
21235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21236 *) ac_try_echo=$ac_try;;
21237 esac
21238 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21239 (eval "$ac_compile") 2>conftest.er1
21240 ac_status=$?
21241 grep -v '^ *+' conftest.er1 >conftest.err
21242 rm -f conftest.er1
21243 cat conftest.err >&5
21244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21245 (exit $ac_status); } && {
21246 test -z "$ac_c_werror_flag" ||
21247 test ! -s conftest.err
21248 } && test -s conftest.$ac_objext; then
21249 ac_hi=$ac_mid
21250 else
21251 echo "$as_me: failed program was:" >&5
21252 sed 's/^/| /' conftest.$ac_ext >&5
21253
21254 ac_lo=`expr '(' $ac_mid ')' + 1`
21255 fi
21256
21257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21258 done
21259 case $ac_lo in
21260 ?*) ac_cv_sizeof_long=$ac_lo;;
21261 '') if test "$ac_cv_type_long" = yes; then
21262 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
21263 See \`config.log' for more details." >&5
21264 echo "$as_me: error: cannot compute sizeof (long)
21265 See \`config.log' for more details." >&2;}
21266 { (exit 77); exit 77; }; }
21267 else
21268 ac_cv_sizeof_long=0
21269 fi ;;
21270 esac
21271 else
21272 cat >conftest.$ac_ext <<_ACEOF
21273 /* confdefs.h. */
21274 _ACEOF
21275 cat confdefs.h >>conftest.$ac_ext
21276 cat >>conftest.$ac_ext <<_ACEOF
21277 /* end confdefs.h. */
21278 $ac_includes_default
21279 typedef long ac__type_sizeof_;
21280 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21281 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21282 #include <stdio.h>
21283 #include <stdlib.h>
21284 int
21285 main ()
21286 {
21287
21288 FILE *f = fopen ("conftest.val", "w");
21289 if (! f)
21290 return 1;
21291 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21292 {
21293 long int i = longval ();
21294 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21295 return 1;
21296 fprintf (f, "%ld\n", i);
21297 }
21298 else
21299 {
21300 unsigned long int i = ulongval ();
21301 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21302 return 1;
21303 fprintf (f, "%lu\n", i);
21304 }
21305 return ferror (f) || fclose (f) != 0;
21306
21307 ;
21308 return 0;
21309 }
21310 _ACEOF
21311 rm -f conftest$ac_exeext
21312 if { (ac_try="$ac_link"
21313 case "(($ac_try" in
21314 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21315 *) ac_try_echo=$ac_try;;
21316 esac
21317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21318 (eval "$ac_link") 2>&5
21319 ac_status=$?
21320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21321 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21322 { (case "(($ac_try" in
21323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21324 *) ac_try_echo=$ac_try;;
21325 esac
21326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21327 (eval "$ac_try") 2>&5
21328 ac_status=$?
21329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21330 (exit $ac_status); }; }; then
21331 ac_cv_sizeof_long=`cat conftest.val`
21332 else
21333 echo "$as_me: program exited with status $ac_status" >&5
21334 echo "$as_me: failed program was:" >&5
21335 sed 's/^/| /' conftest.$ac_ext >&5
21336
21337 ( exit $ac_status )
21338 if test "$ac_cv_type_long" = yes; then
21339 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
21340 See \`config.log' for more details." >&5
21341 echo "$as_me: error: cannot compute sizeof (long)
21342 See \`config.log' for more details." >&2;}
21343 { (exit 77); exit 77; }; }
21344 else
21345 ac_cv_sizeof_long=0
21346 fi
21347 fi
21348 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21349 fi
21350 rm -f conftest.val
21351 fi
21352 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
21353 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
21354
21355
21356
21357 cat >>confdefs.h <<_ACEOF
21358 #define SIZEOF_LONG $ac_cv_sizeof_long
21359 _ACEOF
21360
21361
21362 { echo "$as_me:$LINENO: checking for size_t" >&5
21363 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
21364 if test "${ac_cv_type_size_t+set}" = set; then
21365 echo $ECHO_N "(cached) $ECHO_C" >&6
21366 else
21367 cat >conftest.$ac_ext <<_ACEOF
21368 /* confdefs.h. */
21369 _ACEOF
21370 cat confdefs.h >>conftest.$ac_ext
21371 cat >>conftest.$ac_ext <<_ACEOF
21372 /* end confdefs.h. */
21373 $ac_includes_default
21374 typedef size_t ac__type_new_;
21375 int
21376 main ()
21377 {
21378 if ((ac__type_new_ *) 0)
21379 return 0;
21380 if (sizeof (ac__type_new_))
21381 return 0;
21382 ;
21383 return 0;
21384 }
21385 _ACEOF
21386 rm -f conftest.$ac_objext
21387 if { (ac_try="$ac_compile"
21388 case "(($ac_try" in
21389 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21390 *) ac_try_echo=$ac_try;;
21391 esac
21392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21393 (eval "$ac_compile") 2>conftest.er1
21394 ac_status=$?
21395 grep -v '^ *+' conftest.er1 >conftest.err
21396 rm -f conftest.er1
21397 cat conftest.err >&5
21398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21399 (exit $ac_status); } && {
21400 test -z "$ac_c_werror_flag" ||
21401 test ! -s conftest.err
21402 } && test -s conftest.$ac_objext; then
21403 ac_cv_type_size_t=yes
21404 else
21405 echo "$as_me: failed program was:" >&5
21406 sed 's/^/| /' conftest.$ac_ext >&5
21407
21408 ac_cv_type_size_t=no
21409 fi
21410
21411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21412 fi
21413 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
21414 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
21415
21416 # The cast to long int works around a bug in the HP C Compiler
21417 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21418 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21419 # This bug is HP SR number 8606223364.
21420 { echo "$as_me:$LINENO: checking size of size_t" >&5
21421 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
21422 if test "${ac_cv_sizeof_size_t+set}" = set; then
21423 echo $ECHO_N "(cached) $ECHO_C" >&6
21424 else
21425 if test "$cross_compiling" = yes; then
21426 # Depending upon the size, compute the lo and hi bounds.
21427 cat >conftest.$ac_ext <<_ACEOF
21428 /* confdefs.h. */
21429 _ACEOF
21430 cat confdefs.h >>conftest.$ac_ext
21431 cat >>conftest.$ac_ext <<_ACEOF
21432 /* end confdefs.h. */
21433 $ac_includes_default
21434 typedef size_t ac__type_sizeof_;
21435 int
21436 main ()
21437 {
21438 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21439 test_array [0] = 0
21440
21441 ;
21442 return 0;
21443 }
21444 _ACEOF
21445 rm -f conftest.$ac_objext
21446 if { (ac_try="$ac_compile"
21447 case "(($ac_try" in
21448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21449 *) ac_try_echo=$ac_try;;
21450 esac
21451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21452 (eval "$ac_compile") 2>conftest.er1
21453 ac_status=$?
21454 grep -v '^ *+' conftest.er1 >conftest.err
21455 rm -f conftest.er1
21456 cat conftest.err >&5
21457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21458 (exit $ac_status); } && {
21459 test -z "$ac_c_werror_flag" ||
21460 test ! -s conftest.err
21461 } && test -s conftest.$ac_objext; then
21462 ac_lo=0 ac_mid=0
21463 while :; do
21464 cat >conftest.$ac_ext <<_ACEOF
21465 /* confdefs.h. */
21466 _ACEOF
21467 cat confdefs.h >>conftest.$ac_ext
21468 cat >>conftest.$ac_ext <<_ACEOF
21469 /* end confdefs.h. */
21470 $ac_includes_default
21471 typedef size_t ac__type_sizeof_;
21472 int
21473 main ()
21474 {
21475 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21476 test_array [0] = 0
21477
21478 ;
21479 return 0;
21480 }
21481 _ACEOF
21482 rm -f conftest.$ac_objext
21483 if { (ac_try="$ac_compile"
21484 case "(($ac_try" in
21485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21486 *) ac_try_echo=$ac_try;;
21487 esac
21488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21489 (eval "$ac_compile") 2>conftest.er1
21490 ac_status=$?
21491 grep -v '^ *+' conftest.er1 >conftest.err
21492 rm -f conftest.er1
21493 cat conftest.err >&5
21494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21495 (exit $ac_status); } && {
21496 test -z "$ac_c_werror_flag" ||
21497 test ! -s conftest.err
21498 } && test -s conftest.$ac_objext; then
21499 ac_hi=$ac_mid; break
21500 else
21501 echo "$as_me: failed program was:" >&5
21502 sed 's/^/| /' conftest.$ac_ext >&5
21503
21504 ac_lo=`expr $ac_mid + 1`
21505 if test $ac_lo -le $ac_mid; then
21506 ac_lo= ac_hi=
21507 break
21508 fi
21509 ac_mid=`expr 2 '*' $ac_mid + 1`
21510 fi
21511
21512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21513 done
21514 else
21515 echo "$as_me: failed program was:" >&5
21516 sed 's/^/| /' conftest.$ac_ext >&5
21517
21518 cat >conftest.$ac_ext <<_ACEOF
21519 /* confdefs.h. */
21520 _ACEOF
21521 cat confdefs.h >>conftest.$ac_ext
21522 cat >>conftest.$ac_ext <<_ACEOF
21523 /* end confdefs.h. */
21524 $ac_includes_default
21525 typedef size_t ac__type_sizeof_;
21526 int
21527 main ()
21528 {
21529 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21530 test_array [0] = 0
21531
21532 ;
21533 return 0;
21534 }
21535 _ACEOF
21536 rm -f conftest.$ac_objext
21537 if { (ac_try="$ac_compile"
21538 case "(($ac_try" in
21539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21540 *) ac_try_echo=$ac_try;;
21541 esac
21542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21543 (eval "$ac_compile") 2>conftest.er1
21544 ac_status=$?
21545 grep -v '^ *+' conftest.er1 >conftest.err
21546 rm -f conftest.er1
21547 cat conftest.err >&5
21548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21549 (exit $ac_status); } && {
21550 test -z "$ac_c_werror_flag" ||
21551 test ! -s conftest.err
21552 } && test -s conftest.$ac_objext; then
21553 ac_hi=-1 ac_mid=-1
21554 while :; do
21555 cat >conftest.$ac_ext <<_ACEOF
21556 /* confdefs.h. */
21557 _ACEOF
21558 cat confdefs.h >>conftest.$ac_ext
21559 cat >>conftest.$ac_ext <<_ACEOF
21560 /* end confdefs.h. */
21561 $ac_includes_default
21562 typedef size_t ac__type_sizeof_;
21563 int
21564 main ()
21565 {
21566 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21567 test_array [0] = 0
21568
21569 ;
21570 return 0;
21571 }
21572 _ACEOF
21573 rm -f conftest.$ac_objext
21574 if { (ac_try="$ac_compile"
21575 case "(($ac_try" in
21576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21577 *) ac_try_echo=$ac_try;;
21578 esac
21579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21580 (eval "$ac_compile") 2>conftest.er1
21581 ac_status=$?
21582 grep -v '^ *+' conftest.er1 >conftest.err
21583 rm -f conftest.er1
21584 cat conftest.err >&5
21585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21586 (exit $ac_status); } && {
21587 test -z "$ac_c_werror_flag" ||
21588 test ! -s conftest.err
21589 } && test -s conftest.$ac_objext; then
21590 ac_lo=$ac_mid; break
21591 else
21592 echo "$as_me: failed program was:" >&5
21593 sed 's/^/| /' conftest.$ac_ext >&5
21594
21595 ac_hi=`expr '(' $ac_mid ')' - 1`
21596 if test $ac_mid -le $ac_hi; then
21597 ac_lo= ac_hi=
21598 break
21599 fi
21600 ac_mid=`expr 2 '*' $ac_mid`
21601 fi
21602
21603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21604 done
21605 else
21606 echo "$as_me: failed program was:" >&5
21607 sed 's/^/| /' conftest.$ac_ext >&5
21608
21609 ac_lo= ac_hi=
21610 fi
21611
21612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21613 fi
21614
21615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21616 # Binary search between lo and hi bounds.
21617 while test "x$ac_lo" != "x$ac_hi"; do
21618 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21619 cat >conftest.$ac_ext <<_ACEOF
21620 /* confdefs.h. */
21621 _ACEOF
21622 cat confdefs.h >>conftest.$ac_ext
21623 cat >>conftest.$ac_ext <<_ACEOF
21624 /* end confdefs.h. */
21625 $ac_includes_default
21626 typedef size_t ac__type_sizeof_;
21627 int
21628 main ()
21629 {
21630 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21631 test_array [0] = 0
21632
21633 ;
21634 return 0;
21635 }
21636 _ACEOF
21637 rm -f conftest.$ac_objext
21638 if { (ac_try="$ac_compile"
21639 case "(($ac_try" in
21640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21641 *) ac_try_echo=$ac_try;;
21642 esac
21643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21644 (eval "$ac_compile") 2>conftest.er1
21645 ac_status=$?
21646 grep -v '^ *+' conftest.er1 >conftest.err
21647 rm -f conftest.er1
21648 cat conftest.err >&5
21649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21650 (exit $ac_status); } && {
21651 test -z "$ac_c_werror_flag" ||
21652 test ! -s conftest.err
21653 } && test -s conftest.$ac_objext; then
21654 ac_hi=$ac_mid
21655 else
21656 echo "$as_me: failed program was:" >&5
21657 sed 's/^/| /' conftest.$ac_ext >&5
21658
21659 ac_lo=`expr '(' $ac_mid ')' + 1`
21660 fi
21661
21662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21663 done
21664 case $ac_lo in
21665 ?*) ac_cv_sizeof_size_t=$ac_lo;;
21666 '') if test "$ac_cv_type_size_t" = yes; then
21667 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
21668 See \`config.log' for more details." >&5
21669 echo "$as_me: error: cannot compute sizeof (size_t)
21670 See \`config.log' for more details." >&2;}
21671 { (exit 77); exit 77; }; }
21672 else
21673 ac_cv_sizeof_size_t=0
21674 fi ;;
21675 esac
21676 else
21677 cat >conftest.$ac_ext <<_ACEOF
21678 /* confdefs.h. */
21679 _ACEOF
21680 cat confdefs.h >>conftest.$ac_ext
21681 cat >>conftest.$ac_ext <<_ACEOF
21682 /* end confdefs.h. */
21683 $ac_includes_default
21684 typedef size_t ac__type_sizeof_;
21685 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21686 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21687 #include <stdio.h>
21688 #include <stdlib.h>
21689 int
21690 main ()
21691 {
21692
21693 FILE *f = fopen ("conftest.val", "w");
21694 if (! f)
21695 return 1;
21696 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21697 {
21698 long int i = longval ();
21699 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21700 return 1;
21701 fprintf (f, "%ld\n", i);
21702 }
21703 else
21704 {
21705 unsigned long int i = ulongval ();
21706 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21707 return 1;
21708 fprintf (f, "%lu\n", i);
21709 }
21710 return ferror (f) || fclose (f) != 0;
21711
21712 ;
21713 return 0;
21714 }
21715 _ACEOF
21716 rm -f conftest$ac_exeext
21717 if { (ac_try="$ac_link"
21718 case "(($ac_try" in
21719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21720 *) ac_try_echo=$ac_try;;
21721 esac
21722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21723 (eval "$ac_link") 2>&5
21724 ac_status=$?
21725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21726 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21727 { (case "(($ac_try" in
21728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21729 *) ac_try_echo=$ac_try;;
21730 esac
21731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21732 (eval "$ac_try") 2>&5
21733 ac_status=$?
21734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21735 (exit $ac_status); }; }; then
21736 ac_cv_sizeof_size_t=`cat conftest.val`
21737 else
21738 echo "$as_me: program exited with status $ac_status" >&5
21739 echo "$as_me: failed program was:" >&5
21740 sed 's/^/| /' conftest.$ac_ext >&5
21741
21742 ( exit $ac_status )
21743 if test "$ac_cv_type_size_t" = yes; then
21744 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
21745 See \`config.log' for more details." >&5
21746 echo "$as_me: error: cannot compute sizeof (size_t)
21747 See \`config.log' for more details." >&2;}
21748 { (exit 77); exit 77; }; }
21749 else
21750 ac_cv_sizeof_size_t=0
21751 fi
21752 fi
21753 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21754 fi
21755 rm -f conftest.val
21756 fi
21757 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
21758 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
21759
21760
21761
21762 cat >>confdefs.h <<_ACEOF
21763 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
21764 _ACEOF
21765
21766
21767
21768 case "${host}" in
21769 arm-*-linux* )
21770 { echo "$as_me:$LINENO: checking for long long" >&5
21771 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21772 if test "${ac_cv_type_long_long+set}" = set; then
21773 echo $ECHO_N "(cached) $ECHO_C" >&6
21774 else
21775 cat >conftest.$ac_ext <<_ACEOF
21776 /* confdefs.h. */
21777 _ACEOF
21778 cat confdefs.h >>conftest.$ac_ext
21779 cat >>conftest.$ac_ext <<_ACEOF
21780 /* end confdefs.h. */
21781 $ac_includes_default
21782 typedef long long ac__type_new_;
21783 int
21784 main ()
21785 {
21786 if ((ac__type_new_ *) 0)
21787 return 0;
21788 if (sizeof (ac__type_new_))
21789 return 0;
21790 ;
21791 return 0;
21792 }
21793 _ACEOF
21794 rm -f conftest.$ac_objext
21795 if { (ac_try="$ac_compile"
21796 case "(($ac_try" in
21797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21798 *) ac_try_echo=$ac_try;;
21799 esac
21800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21801 (eval "$ac_compile") 2>conftest.er1
21802 ac_status=$?
21803 grep -v '^ *+' conftest.er1 >conftest.err
21804 rm -f conftest.er1
21805 cat conftest.err >&5
21806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21807 (exit $ac_status); } && {
21808 test -z "$ac_c_werror_flag" ||
21809 test ! -s conftest.err
21810 } && test -s conftest.$ac_objext; then
21811 ac_cv_type_long_long=yes
21812 else
21813 echo "$as_me: failed program was:" >&5
21814 sed 's/^/| /' conftest.$ac_ext >&5
21815
21816 ac_cv_type_long_long=no
21817 fi
21818
21819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21820 fi
21821 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21822 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21823
21824 # The cast to long int works around a bug in the HP C Compiler
21825 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21826 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21827 # This bug is HP SR number 8606223364.
21828 { echo "$as_me:$LINENO: checking size of long long" >&5
21829 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21830 if test "${ac_cv_sizeof_long_long+set}" = set; then
21831 echo $ECHO_N "(cached) $ECHO_C" >&6
21832 else
21833 if test "$cross_compiling" = yes; then
21834 # Depending upon the size, compute the lo and hi bounds.
21835 cat >conftest.$ac_ext <<_ACEOF
21836 /* confdefs.h. */
21837 _ACEOF
21838 cat confdefs.h >>conftest.$ac_ext
21839 cat >>conftest.$ac_ext <<_ACEOF
21840 /* end confdefs.h. */
21841 $ac_includes_default
21842 typedef long long ac__type_sizeof_;
21843 int
21844 main ()
21845 {
21846 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21847 test_array [0] = 0
21848
21849 ;
21850 return 0;
21851 }
21852 _ACEOF
21853 rm -f conftest.$ac_objext
21854 if { (ac_try="$ac_compile"
21855 case "(($ac_try" in
21856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21857 *) ac_try_echo=$ac_try;;
21858 esac
21859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21860 (eval "$ac_compile") 2>conftest.er1
21861 ac_status=$?
21862 grep -v '^ *+' conftest.er1 >conftest.err
21863 rm -f conftest.er1
21864 cat conftest.err >&5
21865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21866 (exit $ac_status); } && {
21867 test -z "$ac_c_werror_flag" ||
21868 test ! -s conftest.err
21869 } && test -s conftest.$ac_objext; then
21870 ac_lo=0 ac_mid=0
21871 while :; do
21872 cat >conftest.$ac_ext <<_ACEOF
21873 /* confdefs.h. */
21874 _ACEOF
21875 cat confdefs.h >>conftest.$ac_ext
21876 cat >>conftest.$ac_ext <<_ACEOF
21877 /* end confdefs.h. */
21878 $ac_includes_default
21879 typedef long long ac__type_sizeof_;
21880 int
21881 main ()
21882 {
21883 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21884 test_array [0] = 0
21885
21886 ;
21887 return 0;
21888 }
21889 _ACEOF
21890 rm -f conftest.$ac_objext
21891 if { (ac_try="$ac_compile"
21892 case "(($ac_try" in
21893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21894 *) ac_try_echo=$ac_try;;
21895 esac
21896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21897 (eval "$ac_compile") 2>conftest.er1
21898 ac_status=$?
21899 grep -v '^ *+' conftest.er1 >conftest.err
21900 rm -f conftest.er1
21901 cat conftest.err >&5
21902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21903 (exit $ac_status); } && {
21904 test -z "$ac_c_werror_flag" ||
21905 test ! -s conftest.err
21906 } && test -s conftest.$ac_objext; then
21907 ac_hi=$ac_mid; break
21908 else
21909 echo "$as_me: failed program was:" >&5
21910 sed 's/^/| /' conftest.$ac_ext >&5
21911
21912 ac_lo=`expr $ac_mid + 1`
21913 if test $ac_lo -le $ac_mid; then
21914 ac_lo= ac_hi=
21915 break
21916 fi
21917 ac_mid=`expr 2 '*' $ac_mid + 1`
21918 fi
21919
21920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21921 done
21922 else
21923 echo "$as_me: failed program was:" >&5
21924 sed 's/^/| /' conftest.$ac_ext >&5
21925
21926 cat >conftest.$ac_ext <<_ACEOF
21927 /* confdefs.h. */
21928 _ACEOF
21929 cat confdefs.h >>conftest.$ac_ext
21930 cat >>conftest.$ac_ext <<_ACEOF
21931 /* end confdefs.h. */
21932 $ac_includes_default
21933 typedef long long ac__type_sizeof_;
21934 int
21935 main ()
21936 {
21937 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21938 test_array [0] = 0
21939
21940 ;
21941 return 0;
21942 }
21943 _ACEOF
21944 rm -f conftest.$ac_objext
21945 if { (ac_try="$ac_compile"
21946 case "(($ac_try" in
21947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21948 *) ac_try_echo=$ac_try;;
21949 esac
21950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21951 (eval "$ac_compile") 2>conftest.er1
21952 ac_status=$?
21953 grep -v '^ *+' conftest.er1 >conftest.err
21954 rm -f conftest.er1
21955 cat conftest.err >&5
21956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21957 (exit $ac_status); } && {
21958 test -z "$ac_c_werror_flag" ||
21959 test ! -s conftest.err
21960 } && test -s conftest.$ac_objext; then
21961 ac_hi=-1 ac_mid=-1
21962 while :; do
21963 cat >conftest.$ac_ext <<_ACEOF
21964 /* confdefs.h. */
21965 _ACEOF
21966 cat confdefs.h >>conftest.$ac_ext
21967 cat >>conftest.$ac_ext <<_ACEOF
21968 /* end confdefs.h. */
21969 $ac_includes_default
21970 typedef long long ac__type_sizeof_;
21971 int
21972 main ()
21973 {
21974 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21975 test_array [0] = 0
21976
21977 ;
21978 return 0;
21979 }
21980 _ACEOF
21981 rm -f conftest.$ac_objext
21982 if { (ac_try="$ac_compile"
21983 case "(($ac_try" in
21984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21985 *) ac_try_echo=$ac_try;;
21986 esac
21987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21988 (eval "$ac_compile") 2>conftest.er1
21989 ac_status=$?
21990 grep -v '^ *+' conftest.er1 >conftest.err
21991 rm -f conftest.er1
21992 cat conftest.err >&5
21993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21994 (exit $ac_status); } && {
21995 test -z "$ac_c_werror_flag" ||
21996 test ! -s conftest.err
21997 } && test -s conftest.$ac_objext; then
21998 ac_lo=$ac_mid; break
21999 else
22000 echo "$as_me: failed program was:" >&5
22001 sed 's/^/| /' conftest.$ac_ext >&5
22002
22003 ac_hi=`expr '(' $ac_mid ')' - 1`
22004 if test $ac_mid -le $ac_hi; then
22005 ac_lo= ac_hi=
22006 break
22007 fi
22008 ac_mid=`expr 2 '*' $ac_mid`
22009 fi
22010
22011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22012 done
22013 else
22014 echo "$as_me: failed program was:" >&5
22015 sed 's/^/| /' conftest.$ac_ext >&5
22016
22017 ac_lo= ac_hi=
22018 fi
22019
22020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22021 fi
22022
22023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22024 # Binary search between lo and hi bounds.
22025 while test "x$ac_lo" != "x$ac_hi"; do
22026 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22027 cat >conftest.$ac_ext <<_ACEOF
22028 /* confdefs.h. */
22029 _ACEOF
22030 cat confdefs.h >>conftest.$ac_ext
22031 cat >>conftest.$ac_ext <<_ACEOF
22032 /* end confdefs.h. */
22033 $ac_includes_default
22034 typedef long long ac__type_sizeof_;
22035 int
22036 main ()
22037 {
22038 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22039 test_array [0] = 0
22040
22041 ;
22042 return 0;
22043 }
22044 _ACEOF
22045 rm -f conftest.$ac_objext
22046 if { (ac_try="$ac_compile"
22047 case "(($ac_try" in
22048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22049 *) ac_try_echo=$ac_try;;
22050 esac
22051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22052 (eval "$ac_compile") 2>conftest.er1
22053 ac_status=$?
22054 grep -v '^ *+' conftest.er1 >conftest.err
22055 rm -f conftest.er1
22056 cat conftest.err >&5
22057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22058 (exit $ac_status); } && {
22059 test -z "$ac_c_werror_flag" ||
22060 test ! -s conftest.err
22061 } && test -s conftest.$ac_objext; then
22062 ac_hi=$ac_mid
22063 else
22064 echo "$as_me: failed program was:" >&5
22065 sed 's/^/| /' conftest.$ac_ext >&5
22066
22067 ac_lo=`expr '(' $ac_mid ')' + 1`
22068 fi
22069
22070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22071 done
22072 case $ac_lo in
22073 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22074 '') if test "$ac_cv_type_long_long" = yes; then
22075 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22076 See \`config.log' for more details." >&5
22077 echo "$as_me: error: cannot compute sizeof (long long)
22078 See \`config.log' for more details." >&2;}
22079 { (exit 77); exit 77; }; }
22080 else
22081 ac_cv_sizeof_long_long=0
22082 fi ;;
22083 esac
22084 else
22085 cat >conftest.$ac_ext <<_ACEOF
22086 /* confdefs.h. */
22087 _ACEOF
22088 cat confdefs.h >>conftest.$ac_ext
22089 cat >>conftest.$ac_ext <<_ACEOF
22090 /* end confdefs.h. */
22091 $ac_includes_default
22092 typedef long long ac__type_sizeof_;
22093 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22094 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22095 #include <stdio.h>
22096 #include <stdlib.h>
22097 int
22098 main ()
22099 {
22100
22101 FILE *f = fopen ("conftest.val", "w");
22102 if (! f)
22103 return 1;
22104 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22105 {
22106 long int i = longval ();
22107 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22108 return 1;
22109 fprintf (f, "%ld\n", i);
22110 }
22111 else
22112 {
22113 unsigned long int i = ulongval ();
22114 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22115 return 1;
22116 fprintf (f, "%lu\n", i);
22117 }
22118 return ferror (f) || fclose (f) != 0;
22119
22120 ;
22121 return 0;
22122 }
22123 _ACEOF
22124 rm -f conftest$ac_exeext
22125 if { (ac_try="$ac_link"
22126 case "(($ac_try" in
22127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22128 *) ac_try_echo=$ac_try;;
22129 esac
22130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22131 (eval "$ac_link") 2>&5
22132 ac_status=$?
22133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22134 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22135 { (case "(($ac_try" in
22136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22137 *) ac_try_echo=$ac_try;;
22138 esac
22139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22140 (eval "$ac_try") 2>&5
22141 ac_status=$?
22142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22143 (exit $ac_status); }; }; then
22144 ac_cv_sizeof_long_long=`cat conftest.val`
22145 else
22146 echo "$as_me: program exited with status $ac_status" >&5
22147 echo "$as_me: failed program was:" >&5
22148 sed 's/^/| /' conftest.$ac_ext >&5
22149
22150 ( exit $ac_status )
22151 if test "$ac_cv_type_long_long" = yes; then
22152 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22153 See \`config.log' for more details." >&5
22154 echo "$as_me: error: cannot compute sizeof (long long)
22155 See \`config.log' for more details." >&2;}
22156 { (exit 77); exit 77; }; }
22157 else
22158 ac_cv_sizeof_long_long=0
22159 fi
22160 fi
22161 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22162 fi
22163 rm -f conftest.val
22164 fi
22165 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22166 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22167
22168
22169
22170 cat >>confdefs.h <<_ACEOF
22171 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22172 _ACEOF
22173
22174
22175 ;;
22176 *-hp-hpux* )
22177 { echo "$as_me:$LINENO: checking for long long" >&5
22178 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22179 if test "${ac_cv_type_long_long+set}" = set; then
22180 echo $ECHO_N "(cached) $ECHO_C" >&6
22181 else
22182 cat >conftest.$ac_ext <<_ACEOF
22183 /* confdefs.h. */
22184 _ACEOF
22185 cat confdefs.h >>conftest.$ac_ext
22186 cat >>conftest.$ac_ext <<_ACEOF
22187 /* end confdefs.h. */
22188 $ac_includes_default
22189 typedef long long ac__type_new_;
22190 int
22191 main ()
22192 {
22193 if ((ac__type_new_ *) 0)
22194 return 0;
22195 if (sizeof (ac__type_new_))
22196 return 0;
22197 ;
22198 return 0;
22199 }
22200 _ACEOF
22201 rm -f conftest.$ac_objext
22202 if { (ac_try="$ac_compile"
22203 case "(($ac_try" in
22204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22205 *) ac_try_echo=$ac_try;;
22206 esac
22207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22208 (eval "$ac_compile") 2>conftest.er1
22209 ac_status=$?
22210 grep -v '^ *+' conftest.er1 >conftest.err
22211 rm -f conftest.er1
22212 cat conftest.err >&5
22213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22214 (exit $ac_status); } && {
22215 test -z "$ac_c_werror_flag" ||
22216 test ! -s conftest.err
22217 } && test -s conftest.$ac_objext; then
22218 ac_cv_type_long_long=yes
22219 else
22220 echo "$as_me: failed program was:" >&5
22221 sed 's/^/| /' conftest.$ac_ext >&5
22222
22223 ac_cv_type_long_long=no
22224 fi
22225
22226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22227 fi
22228 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22229 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22230
22231 # The cast to long int works around a bug in the HP C Compiler
22232 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22233 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22234 # This bug is HP SR number 8606223364.
22235 { echo "$as_me:$LINENO: checking size of long long" >&5
22236 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22237 if test "${ac_cv_sizeof_long_long+set}" = set; then
22238 echo $ECHO_N "(cached) $ECHO_C" >&6
22239 else
22240 if test "$cross_compiling" = yes; then
22241 # Depending upon the size, compute the lo and hi bounds.
22242 cat >conftest.$ac_ext <<_ACEOF
22243 /* confdefs.h. */
22244 _ACEOF
22245 cat confdefs.h >>conftest.$ac_ext
22246 cat >>conftest.$ac_ext <<_ACEOF
22247 /* end confdefs.h. */
22248 $ac_includes_default
22249 typedef long long ac__type_sizeof_;
22250 int
22251 main ()
22252 {
22253 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22254 test_array [0] = 0
22255
22256 ;
22257 return 0;
22258 }
22259 _ACEOF
22260 rm -f conftest.$ac_objext
22261 if { (ac_try="$ac_compile"
22262 case "(($ac_try" in
22263 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22264 *) ac_try_echo=$ac_try;;
22265 esac
22266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22267 (eval "$ac_compile") 2>conftest.er1
22268 ac_status=$?
22269 grep -v '^ *+' conftest.er1 >conftest.err
22270 rm -f conftest.er1
22271 cat conftest.err >&5
22272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22273 (exit $ac_status); } && {
22274 test -z "$ac_c_werror_flag" ||
22275 test ! -s conftest.err
22276 } && test -s conftest.$ac_objext; then
22277 ac_lo=0 ac_mid=0
22278 while :; do
22279 cat >conftest.$ac_ext <<_ACEOF
22280 /* confdefs.h. */
22281 _ACEOF
22282 cat confdefs.h >>conftest.$ac_ext
22283 cat >>conftest.$ac_ext <<_ACEOF
22284 /* end confdefs.h. */
22285 $ac_includes_default
22286 typedef long long ac__type_sizeof_;
22287 int
22288 main ()
22289 {
22290 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22291 test_array [0] = 0
22292
22293 ;
22294 return 0;
22295 }
22296 _ACEOF
22297 rm -f conftest.$ac_objext
22298 if { (ac_try="$ac_compile"
22299 case "(($ac_try" in
22300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22301 *) ac_try_echo=$ac_try;;
22302 esac
22303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22304 (eval "$ac_compile") 2>conftest.er1
22305 ac_status=$?
22306 grep -v '^ *+' conftest.er1 >conftest.err
22307 rm -f conftest.er1
22308 cat conftest.err >&5
22309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22310 (exit $ac_status); } && {
22311 test -z "$ac_c_werror_flag" ||
22312 test ! -s conftest.err
22313 } && test -s conftest.$ac_objext; then
22314 ac_hi=$ac_mid; break
22315 else
22316 echo "$as_me: failed program was:" >&5
22317 sed 's/^/| /' conftest.$ac_ext >&5
22318
22319 ac_lo=`expr $ac_mid + 1`
22320 if test $ac_lo -le $ac_mid; then
22321 ac_lo= ac_hi=
22322 break
22323 fi
22324 ac_mid=`expr 2 '*' $ac_mid + 1`
22325 fi
22326
22327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22328 done
22329 else
22330 echo "$as_me: failed program was:" >&5
22331 sed 's/^/| /' conftest.$ac_ext >&5
22332
22333 cat >conftest.$ac_ext <<_ACEOF
22334 /* confdefs.h. */
22335 _ACEOF
22336 cat confdefs.h >>conftest.$ac_ext
22337 cat >>conftest.$ac_ext <<_ACEOF
22338 /* end confdefs.h. */
22339 $ac_includes_default
22340 typedef long long ac__type_sizeof_;
22341 int
22342 main ()
22343 {
22344 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22345 test_array [0] = 0
22346
22347 ;
22348 return 0;
22349 }
22350 _ACEOF
22351 rm -f conftest.$ac_objext
22352 if { (ac_try="$ac_compile"
22353 case "(($ac_try" in
22354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22355 *) ac_try_echo=$ac_try;;
22356 esac
22357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22358 (eval "$ac_compile") 2>conftest.er1
22359 ac_status=$?
22360 grep -v '^ *+' conftest.er1 >conftest.err
22361 rm -f conftest.er1
22362 cat conftest.err >&5
22363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22364 (exit $ac_status); } && {
22365 test -z "$ac_c_werror_flag" ||
22366 test ! -s conftest.err
22367 } && test -s conftest.$ac_objext; then
22368 ac_hi=-1 ac_mid=-1
22369 while :; do
22370 cat >conftest.$ac_ext <<_ACEOF
22371 /* confdefs.h. */
22372 _ACEOF
22373 cat confdefs.h >>conftest.$ac_ext
22374 cat >>conftest.$ac_ext <<_ACEOF
22375 /* end confdefs.h. */
22376 $ac_includes_default
22377 typedef long long ac__type_sizeof_;
22378 int
22379 main ()
22380 {
22381 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22382 test_array [0] = 0
22383
22384 ;
22385 return 0;
22386 }
22387 _ACEOF
22388 rm -f conftest.$ac_objext
22389 if { (ac_try="$ac_compile"
22390 case "(($ac_try" in
22391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22392 *) ac_try_echo=$ac_try;;
22393 esac
22394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22395 (eval "$ac_compile") 2>conftest.er1
22396 ac_status=$?
22397 grep -v '^ *+' conftest.er1 >conftest.err
22398 rm -f conftest.er1
22399 cat conftest.err >&5
22400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22401 (exit $ac_status); } && {
22402 test -z "$ac_c_werror_flag" ||
22403 test ! -s conftest.err
22404 } && test -s conftest.$ac_objext; then
22405 ac_lo=$ac_mid; break
22406 else
22407 echo "$as_me: failed program was:" >&5
22408 sed 's/^/| /' conftest.$ac_ext >&5
22409
22410 ac_hi=`expr '(' $ac_mid ')' - 1`
22411 if test $ac_mid -le $ac_hi; then
22412 ac_lo= ac_hi=
22413 break
22414 fi
22415 ac_mid=`expr 2 '*' $ac_mid`
22416 fi
22417
22418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22419 done
22420 else
22421 echo "$as_me: failed program was:" >&5
22422 sed 's/^/| /' conftest.$ac_ext >&5
22423
22424 ac_lo= ac_hi=
22425 fi
22426
22427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22428 fi
22429
22430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22431 # Binary search between lo and hi bounds.
22432 while test "x$ac_lo" != "x$ac_hi"; do
22433 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22434 cat >conftest.$ac_ext <<_ACEOF
22435 /* confdefs.h. */
22436 _ACEOF
22437 cat confdefs.h >>conftest.$ac_ext
22438 cat >>conftest.$ac_ext <<_ACEOF
22439 /* end confdefs.h. */
22440 $ac_includes_default
22441 typedef long long ac__type_sizeof_;
22442 int
22443 main ()
22444 {
22445 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22446 test_array [0] = 0
22447
22448 ;
22449 return 0;
22450 }
22451 _ACEOF
22452 rm -f conftest.$ac_objext
22453 if { (ac_try="$ac_compile"
22454 case "(($ac_try" in
22455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22456 *) ac_try_echo=$ac_try;;
22457 esac
22458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22459 (eval "$ac_compile") 2>conftest.er1
22460 ac_status=$?
22461 grep -v '^ *+' conftest.er1 >conftest.err
22462 rm -f conftest.er1
22463 cat conftest.err >&5
22464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22465 (exit $ac_status); } && {
22466 test -z "$ac_c_werror_flag" ||
22467 test ! -s conftest.err
22468 } && test -s conftest.$ac_objext; then
22469 ac_hi=$ac_mid
22470 else
22471 echo "$as_me: failed program was:" >&5
22472 sed 's/^/| /' conftest.$ac_ext >&5
22473
22474 ac_lo=`expr '(' $ac_mid ')' + 1`
22475 fi
22476
22477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22478 done
22479 case $ac_lo in
22480 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22481 '') if test "$ac_cv_type_long_long" = yes; then
22482 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22483 See \`config.log' for more details." >&5
22484 echo "$as_me: error: cannot compute sizeof (long long)
22485 See \`config.log' for more details." >&2;}
22486 { (exit 77); exit 77; }; }
22487 else
22488 ac_cv_sizeof_long_long=0
22489 fi ;;
22490 esac
22491 else
22492 cat >conftest.$ac_ext <<_ACEOF
22493 /* confdefs.h. */
22494 _ACEOF
22495 cat confdefs.h >>conftest.$ac_ext
22496 cat >>conftest.$ac_ext <<_ACEOF
22497 /* end confdefs.h. */
22498 $ac_includes_default
22499 typedef long long ac__type_sizeof_;
22500 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22501 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22502 #include <stdio.h>
22503 #include <stdlib.h>
22504 int
22505 main ()
22506 {
22507
22508 FILE *f = fopen ("conftest.val", "w");
22509 if (! f)
22510 return 1;
22511 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22512 {
22513 long int i = longval ();
22514 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22515 return 1;
22516 fprintf (f, "%ld\n", i);
22517 }
22518 else
22519 {
22520 unsigned long int i = ulongval ();
22521 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22522 return 1;
22523 fprintf (f, "%lu\n", i);
22524 }
22525 return ferror (f) || fclose (f) != 0;
22526
22527 ;
22528 return 0;
22529 }
22530 _ACEOF
22531 rm -f conftest$ac_exeext
22532 if { (ac_try="$ac_link"
22533 case "(($ac_try" in
22534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22535 *) ac_try_echo=$ac_try;;
22536 esac
22537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22538 (eval "$ac_link") 2>&5
22539 ac_status=$?
22540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22541 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22542 { (case "(($ac_try" in
22543 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22544 *) ac_try_echo=$ac_try;;
22545 esac
22546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22547 (eval "$ac_try") 2>&5
22548 ac_status=$?
22549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22550 (exit $ac_status); }; }; then
22551 ac_cv_sizeof_long_long=`cat conftest.val`
22552 else
22553 echo "$as_me: program exited with status $ac_status" >&5
22554 echo "$as_me: failed program was:" >&5
22555 sed 's/^/| /' conftest.$ac_ext >&5
22556
22557 ( exit $ac_status )
22558 if test "$ac_cv_type_long_long" = yes; then
22559 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22560 See \`config.log' for more details." >&5
22561 echo "$as_me: error: cannot compute sizeof (long long)
22562 See \`config.log' for more details." >&2;}
22563 { (exit 77); exit 77; }; }
22564 else
22565 ac_cv_sizeof_long_long=0
22566 fi
22567 fi
22568 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22569 fi
22570 rm -f conftest.val
22571 fi
22572 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22573 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22574
22575
22576
22577 cat >>confdefs.h <<_ACEOF
22578 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22579 _ACEOF
22580
22581
22582 if test "$ac_cv_sizeof_long_long" != 0; then
22583 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
22584 fi
22585 ;;
22586 * )
22587 { echo "$as_me:$LINENO: checking for long long" >&5
22588 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22589 if test "${ac_cv_type_long_long+set}" = set; then
22590 echo $ECHO_N "(cached) $ECHO_C" >&6
22591 else
22592 cat >conftest.$ac_ext <<_ACEOF
22593 /* confdefs.h. */
22594 _ACEOF
22595 cat confdefs.h >>conftest.$ac_ext
22596 cat >>conftest.$ac_ext <<_ACEOF
22597 /* end confdefs.h. */
22598 $ac_includes_default
22599 typedef long long ac__type_new_;
22600 int
22601 main ()
22602 {
22603 if ((ac__type_new_ *) 0)
22604 return 0;
22605 if (sizeof (ac__type_new_))
22606 return 0;
22607 ;
22608 return 0;
22609 }
22610 _ACEOF
22611 rm -f conftest.$ac_objext
22612 if { (ac_try="$ac_compile"
22613 case "(($ac_try" in
22614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22615 *) ac_try_echo=$ac_try;;
22616 esac
22617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22618 (eval "$ac_compile") 2>conftest.er1
22619 ac_status=$?
22620 grep -v '^ *+' conftest.er1 >conftest.err
22621 rm -f conftest.er1
22622 cat conftest.err >&5
22623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22624 (exit $ac_status); } && {
22625 test -z "$ac_c_werror_flag" ||
22626 test ! -s conftest.err
22627 } && test -s conftest.$ac_objext; then
22628 ac_cv_type_long_long=yes
22629 else
22630 echo "$as_me: failed program was:" >&5
22631 sed 's/^/| /' conftest.$ac_ext >&5
22632
22633 ac_cv_type_long_long=no
22634 fi
22635
22636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22637 fi
22638 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22639 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22640
22641 # The cast to long int works around a bug in the HP C Compiler
22642 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22643 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22644 # This bug is HP SR number 8606223364.
22645 { echo "$as_me:$LINENO: checking size of long long" >&5
22646 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22647 if test "${ac_cv_sizeof_long_long+set}" = set; then
22648 echo $ECHO_N "(cached) $ECHO_C" >&6
22649 else
22650 if test "$cross_compiling" = yes; then
22651 # Depending upon the size, compute the lo and hi bounds.
22652 cat >conftest.$ac_ext <<_ACEOF
22653 /* confdefs.h. */
22654 _ACEOF
22655 cat confdefs.h >>conftest.$ac_ext
22656 cat >>conftest.$ac_ext <<_ACEOF
22657 /* end confdefs.h. */
22658 $ac_includes_default
22659 typedef long long ac__type_sizeof_;
22660 int
22661 main ()
22662 {
22663 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22664 test_array [0] = 0
22665
22666 ;
22667 return 0;
22668 }
22669 _ACEOF
22670 rm -f conftest.$ac_objext
22671 if { (ac_try="$ac_compile"
22672 case "(($ac_try" in
22673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22674 *) ac_try_echo=$ac_try;;
22675 esac
22676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22677 (eval "$ac_compile") 2>conftest.er1
22678 ac_status=$?
22679 grep -v '^ *+' conftest.er1 >conftest.err
22680 rm -f conftest.er1
22681 cat conftest.err >&5
22682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22683 (exit $ac_status); } && {
22684 test -z "$ac_c_werror_flag" ||
22685 test ! -s conftest.err
22686 } && test -s conftest.$ac_objext; then
22687 ac_lo=0 ac_mid=0
22688 while :; do
22689 cat >conftest.$ac_ext <<_ACEOF
22690 /* confdefs.h. */
22691 _ACEOF
22692 cat confdefs.h >>conftest.$ac_ext
22693 cat >>conftest.$ac_ext <<_ACEOF
22694 /* end confdefs.h. */
22695 $ac_includes_default
22696 typedef long long ac__type_sizeof_;
22697 int
22698 main ()
22699 {
22700 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22701 test_array [0] = 0
22702
22703 ;
22704 return 0;
22705 }
22706 _ACEOF
22707 rm -f conftest.$ac_objext
22708 if { (ac_try="$ac_compile"
22709 case "(($ac_try" in
22710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22711 *) ac_try_echo=$ac_try;;
22712 esac
22713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22714 (eval "$ac_compile") 2>conftest.er1
22715 ac_status=$?
22716 grep -v '^ *+' conftest.er1 >conftest.err
22717 rm -f conftest.er1
22718 cat conftest.err >&5
22719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22720 (exit $ac_status); } && {
22721 test -z "$ac_c_werror_flag" ||
22722 test ! -s conftest.err
22723 } && test -s conftest.$ac_objext; then
22724 ac_hi=$ac_mid; break
22725 else
22726 echo "$as_me: failed program was:" >&5
22727 sed 's/^/| /' conftest.$ac_ext >&5
22728
22729 ac_lo=`expr $ac_mid + 1`
22730 if test $ac_lo -le $ac_mid; then
22731 ac_lo= ac_hi=
22732 break
22733 fi
22734 ac_mid=`expr 2 '*' $ac_mid + 1`
22735 fi
22736
22737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22738 done
22739 else
22740 echo "$as_me: failed program was:" >&5
22741 sed 's/^/| /' conftest.$ac_ext >&5
22742
22743 cat >conftest.$ac_ext <<_ACEOF
22744 /* confdefs.h. */
22745 _ACEOF
22746 cat confdefs.h >>conftest.$ac_ext
22747 cat >>conftest.$ac_ext <<_ACEOF
22748 /* end confdefs.h. */
22749 $ac_includes_default
22750 typedef long long ac__type_sizeof_;
22751 int
22752 main ()
22753 {
22754 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22755 test_array [0] = 0
22756
22757 ;
22758 return 0;
22759 }
22760 _ACEOF
22761 rm -f conftest.$ac_objext
22762 if { (ac_try="$ac_compile"
22763 case "(($ac_try" in
22764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22765 *) ac_try_echo=$ac_try;;
22766 esac
22767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22768 (eval "$ac_compile") 2>conftest.er1
22769 ac_status=$?
22770 grep -v '^ *+' conftest.er1 >conftest.err
22771 rm -f conftest.er1
22772 cat conftest.err >&5
22773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22774 (exit $ac_status); } && {
22775 test -z "$ac_c_werror_flag" ||
22776 test ! -s conftest.err
22777 } && test -s conftest.$ac_objext; then
22778 ac_hi=-1 ac_mid=-1
22779 while :; do
22780 cat >conftest.$ac_ext <<_ACEOF
22781 /* confdefs.h. */
22782 _ACEOF
22783 cat confdefs.h >>conftest.$ac_ext
22784 cat >>conftest.$ac_ext <<_ACEOF
22785 /* end confdefs.h. */
22786 $ac_includes_default
22787 typedef long long ac__type_sizeof_;
22788 int
22789 main ()
22790 {
22791 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22792 test_array [0] = 0
22793
22794 ;
22795 return 0;
22796 }
22797 _ACEOF
22798 rm -f conftest.$ac_objext
22799 if { (ac_try="$ac_compile"
22800 case "(($ac_try" in
22801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22802 *) ac_try_echo=$ac_try;;
22803 esac
22804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22805 (eval "$ac_compile") 2>conftest.er1
22806 ac_status=$?
22807 grep -v '^ *+' conftest.er1 >conftest.err
22808 rm -f conftest.er1
22809 cat conftest.err >&5
22810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22811 (exit $ac_status); } && {
22812 test -z "$ac_c_werror_flag" ||
22813 test ! -s conftest.err
22814 } && test -s conftest.$ac_objext; then
22815 ac_lo=$ac_mid; break
22816 else
22817 echo "$as_me: failed program was:" >&5
22818 sed 's/^/| /' conftest.$ac_ext >&5
22819
22820 ac_hi=`expr '(' $ac_mid ')' - 1`
22821 if test $ac_mid -le $ac_hi; then
22822 ac_lo= ac_hi=
22823 break
22824 fi
22825 ac_mid=`expr 2 '*' $ac_mid`
22826 fi
22827
22828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22829 done
22830 else
22831 echo "$as_me: failed program was:" >&5
22832 sed 's/^/| /' conftest.$ac_ext >&5
22833
22834 ac_lo= ac_hi=
22835 fi
22836
22837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22838 fi
22839
22840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22841 # Binary search between lo and hi bounds.
22842 while test "x$ac_lo" != "x$ac_hi"; do
22843 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22844 cat >conftest.$ac_ext <<_ACEOF
22845 /* confdefs.h. */
22846 _ACEOF
22847 cat confdefs.h >>conftest.$ac_ext
22848 cat >>conftest.$ac_ext <<_ACEOF
22849 /* end confdefs.h. */
22850 $ac_includes_default
22851 typedef long long ac__type_sizeof_;
22852 int
22853 main ()
22854 {
22855 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22856 test_array [0] = 0
22857
22858 ;
22859 return 0;
22860 }
22861 _ACEOF
22862 rm -f conftest.$ac_objext
22863 if { (ac_try="$ac_compile"
22864 case "(($ac_try" in
22865 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22866 *) ac_try_echo=$ac_try;;
22867 esac
22868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22869 (eval "$ac_compile") 2>conftest.er1
22870 ac_status=$?
22871 grep -v '^ *+' conftest.er1 >conftest.err
22872 rm -f conftest.er1
22873 cat conftest.err >&5
22874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22875 (exit $ac_status); } && {
22876 test -z "$ac_c_werror_flag" ||
22877 test ! -s conftest.err
22878 } && test -s conftest.$ac_objext; then
22879 ac_hi=$ac_mid
22880 else
22881 echo "$as_me: failed program was:" >&5
22882 sed 's/^/| /' conftest.$ac_ext >&5
22883
22884 ac_lo=`expr '(' $ac_mid ')' + 1`
22885 fi
22886
22887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22888 done
22889 case $ac_lo in
22890 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22891 '') if test "$ac_cv_type_long_long" = yes; then
22892 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22893 See \`config.log' for more details." >&5
22894 echo "$as_me: error: cannot compute sizeof (long long)
22895 See \`config.log' for more details." >&2;}
22896 { (exit 77); exit 77; }; }
22897 else
22898 ac_cv_sizeof_long_long=0
22899 fi ;;
22900 esac
22901 else
22902 cat >conftest.$ac_ext <<_ACEOF
22903 /* confdefs.h. */
22904 _ACEOF
22905 cat confdefs.h >>conftest.$ac_ext
22906 cat >>conftest.$ac_ext <<_ACEOF
22907 /* end confdefs.h. */
22908 $ac_includes_default
22909 typedef long long ac__type_sizeof_;
22910 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22911 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22912 #include <stdio.h>
22913 #include <stdlib.h>
22914 int
22915 main ()
22916 {
22917
22918 FILE *f = fopen ("conftest.val", "w");
22919 if (! f)
22920 return 1;
22921 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22922 {
22923 long int i = longval ();
22924 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22925 return 1;
22926 fprintf (f, "%ld\n", i);
22927 }
22928 else
22929 {
22930 unsigned long int i = ulongval ();
22931 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22932 return 1;
22933 fprintf (f, "%lu\n", i);
22934 }
22935 return ferror (f) || fclose (f) != 0;
22936
22937 ;
22938 return 0;
22939 }
22940 _ACEOF
22941 rm -f conftest$ac_exeext
22942 if { (ac_try="$ac_link"
22943 case "(($ac_try" in
22944 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22945 *) ac_try_echo=$ac_try;;
22946 esac
22947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22948 (eval "$ac_link") 2>&5
22949 ac_status=$?
22950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22951 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22952 { (case "(($ac_try" in
22953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22954 *) ac_try_echo=$ac_try;;
22955 esac
22956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22957 (eval "$ac_try") 2>&5
22958 ac_status=$?
22959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22960 (exit $ac_status); }; }; then
22961 ac_cv_sizeof_long_long=`cat conftest.val`
22962 else
22963 echo "$as_me: program exited with status $ac_status" >&5
22964 echo "$as_me: failed program was:" >&5
22965 sed 's/^/| /' conftest.$ac_ext >&5
22966
22967 ( exit $ac_status )
22968 if test "$ac_cv_type_long_long" = yes; then
22969 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22970 See \`config.log' for more details." >&5
22971 echo "$as_me: error: cannot compute sizeof (long long)
22972 See \`config.log' for more details." >&2;}
22973 { (exit 77); exit 77; }; }
22974 else
22975 ac_cv_sizeof_long_long=0
22976 fi
22977 fi
22978 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22979 fi
22980 rm -f conftest.val
22981 fi
22982 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22983 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22984
22985
22986
22987 cat >>confdefs.h <<_ACEOF
22988 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22989 _ACEOF
22990
22991
22992 esac
22993
22994 { echo "$as_me:$LINENO: checking for wchar_t" >&5
22995 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
22996 if test "${ac_cv_type_wchar_t+set}" = set; then
22997 echo $ECHO_N "(cached) $ECHO_C" >&6
22998 else
22999 cat >conftest.$ac_ext <<_ACEOF
23000 /* confdefs.h. */
23001 _ACEOF
23002 cat confdefs.h >>conftest.$ac_ext
23003 cat >>conftest.$ac_ext <<_ACEOF
23004 /* end confdefs.h. */
23005
23006 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23007 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23008 # error "fake wchar_t"
23009 #endif
23010 #ifdef HAVE_WCHAR_H
23011 # ifdef __CYGWIN__
23012 # include <stddef.h>
23013 # endif
23014 # include <wchar.h>
23015 #endif
23016 #ifdef HAVE_STDLIB_H
23017 # include <stdlib.h>
23018 #endif
23019 #include <stdio.h>
23020
23021
23022
23023 typedef wchar_t ac__type_new_;
23024 int
23025 main ()
23026 {
23027 if ((ac__type_new_ *) 0)
23028 return 0;
23029 if (sizeof (ac__type_new_))
23030 return 0;
23031 ;
23032 return 0;
23033 }
23034 _ACEOF
23035 rm -f conftest.$ac_objext
23036 if { (ac_try="$ac_compile"
23037 case "(($ac_try" in
23038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23039 *) ac_try_echo=$ac_try;;
23040 esac
23041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23042 (eval "$ac_compile") 2>conftest.er1
23043 ac_status=$?
23044 grep -v '^ *+' conftest.er1 >conftest.err
23045 rm -f conftest.er1
23046 cat conftest.err >&5
23047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23048 (exit $ac_status); } && {
23049 test -z "$ac_c_werror_flag" ||
23050 test ! -s conftest.err
23051 } && test -s conftest.$ac_objext; then
23052 ac_cv_type_wchar_t=yes
23053 else
23054 echo "$as_me: failed program was:" >&5
23055 sed 's/^/| /' conftest.$ac_ext >&5
23056
23057 ac_cv_type_wchar_t=no
23058 fi
23059
23060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23061 fi
23062 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
23063 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
23064
23065 # The cast to long int works around a bug in the HP C Compiler
23066 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23067 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23068 # This bug is HP SR number 8606223364.
23069 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
23070 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
23071 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
23072 echo $ECHO_N "(cached) $ECHO_C" >&6
23073 else
23074 if test "$cross_compiling" = yes; then
23075 # Depending upon the size, compute the lo and hi bounds.
23076 cat >conftest.$ac_ext <<_ACEOF
23077 /* confdefs.h. */
23078 _ACEOF
23079 cat confdefs.h >>conftest.$ac_ext
23080 cat >>conftest.$ac_ext <<_ACEOF
23081 /* end confdefs.h. */
23082
23083 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23084 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23085 # error "fake wchar_t"
23086 #endif
23087 #ifdef HAVE_WCHAR_H
23088 # ifdef __CYGWIN__
23089 # include <stddef.h>
23090 # endif
23091 # include <wchar.h>
23092 #endif
23093 #ifdef HAVE_STDLIB_H
23094 # include <stdlib.h>
23095 #endif
23096 #include <stdio.h>
23097
23098
23099
23100 typedef wchar_t ac__type_sizeof_;
23101 int
23102 main ()
23103 {
23104 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23105 test_array [0] = 0
23106
23107 ;
23108 return 0;
23109 }
23110 _ACEOF
23111 rm -f conftest.$ac_objext
23112 if { (ac_try="$ac_compile"
23113 case "(($ac_try" in
23114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23115 *) ac_try_echo=$ac_try;;
23116 esac
23117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23118 (eval "$ac_compile") 2>conftest.er1
23119 ac_status=$?
23120 grep -v '^ *+' conftest.er1 >conftest.err
23121 rm -f conftest.er1
23122 cat conftest.err >&5
23123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23124 (exit $ac_status); } && {
23125 test -z "$ac_c_werror_flag" ||
23126 test ! -s conftest.err
23127 } && test -s conftest.$ac_objext; then
23128 ac_lo=0 ac_mid=0
23129 while :; do
23130 cat >conftest.$ac_ext <<_ACEOF
23131 /* confdefs.h. */
23132 _ACEOF
23133 cat confdefs.h >>conftest.$ac_ext
23134 cat >>conftest.$ac_ext <<_ACEOF
23135 /* end confdefs.h. */
23136
23137 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23138 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23139 # error "fake wchar_t"
23140 #endif
23141 #ifdef HAVE_WCHAR_H
23142 # ifdef __CYGWIN__
23143 # include <stddef.h>
23144 # endif
23145 # include <wchar.h>
23146 #endif
23147 #ifdef HAVE_STDLIB_H
23148 # include <stdlib.h>
23149 #endif
23150 #include <stdio.h>
23151
23152
23153
23154 typedef wchar_t ac__type_sizeof_;
23155 int
23156 main ()
23157 {
23158 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23159 test_array [0] = 0
23160
23161 ;
23162 return 0;
23163 }
23164 _ACEOF
23165 rm -f conftest.$ac_objext
23166 if { (ac_try="$ac_compile"
23167 case "(($ac_try" in
23168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23169 *) ac_try_echo=$ac_try;;
23170 esac
23171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23172 (eval "$ac_compile") 2>conftest.er1
23173 ac_status=$?
23174 grep -v '^ *+' conftest.er1 >conftest.err
23175 rm -f conftest.er1
23176 cat conftest.err >&5
23177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23178 (exit $ac_status); } && {
23179 test -z "$ac_c_werror_flag" ||
23180 test ! -s conftest.err
23181 } && test -s conftest.$ac_objext; then
23182 ac_hi=$ac_mid; break
23183 else
23184 echo "$as_me: failed program was:" >&5
23185 sed 's/^/| /' conftest.$ac_ext >&5
23186
23187 ac_lo=`expr $ac_mid + 1`
23188 if test $ac_lo -le $ac_mid; then
23189 ac_lo= ac_hi=
23190 break
23191 fi
23192 ac_mid=`expr 2 '*' $ac_mid + 1`
23193 fi
23194
23195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23196 done
23197 else
23198 echo "$as_me: failed program was:" >&5
23199 sed 's/^/| /' conftest.$ac_ext >&5
23200
23201 cat >conftest.$ac_ext <<_ACEOF
23202 /* confdefs.h. */
23203 _ACEOF
23204 cat confdefs.h >>conftest.$ac_ext
23205 cat >>conftest.$ac_ext <<_ACEOF
23206 /* end confdefs.h. */
23207
23208 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23209 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23210 # error "fake wchar_t"
23211 #endif
23212 #ifdef HAVE_WCHAR_H
23213 # ifdef __CYGWIN__
23214 # include <stddef.h>
23215 # endif
23216 # include <wchar.h>
23217 #endif
23218 #ifdef HAVE_STDLIB_H
23219 # include <stdlib.h>
23220 #endif
23221 #include <stdio.h>
23222
23223
23224
23225 typedef wchar_t ac__type_sizeof_;
23226 int
23227 main ()
23228 {
23229 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23230 test_array [0] = 0
23231
23232 ;
23233 return 0;
23234 }
23235 _ACEOF
23236 rm -f conftest.$ac_objext
23237 if { (ac_try="$ac_compile"
23238 case "(($ac_try" in
23239 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23240 *) ac_try_echo=$ac_try;;
23241 esac
23242 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23243 (eval "$ac_compile") 2>conftest.er1
23244 ac_status=$?
23245 grep -v '^ *+' conftest.er1 >conftest.err
23246 rm -f conftest.er1
23247 cat conftest.err >&5
23248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23249 (exit $ac_status); } && {
23250 test -z "$ac_c_werror_flag" ||
23251 test ! -s conftest.err
23252 } && test -s conftest.$ac_objext; then
23253 ac_hi=-1 ac_mid=-1
23254 while :; do
23255 cat >conftest.$ac_ext <<_ACEOF
23256 /* confdefs.h. */
23257 _ACEOF
23258 cat confdefs.h >>conftest.$ac_ext
23259 cat >>conftest.$ac_ext <<_ACEOF
23260 /* end confdefs.h. */
23261
23262 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23263 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23264 # error "fake wchar_t"
23265 #endif
23266 #ifdef HAVE_WCHAR_H
23267 # ifdef __CYGWIN__
23268 # include <stddef.h>
23269 # endif
23270 # include <wchar.h>
23271 #endif
23272 #ifdef HAVE_STDLIB_H
23273 # include <stdlib.h>
23274 #endif
23275 #include <stdio.h>
23276
23277
23278
23279 typedef wchar_t ac__type_sizeof_;
23280 int
23281 main ()
23282 {
23283 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23284 test_array [0] = 0
23285
23286 ;
23287 return 0;
23288 }
23289 _ACEOF
23290 rm -f conftest.$ac_objext
23291 if { (ac_try="$ac_compile"
23292 case "(($ac_try" in
23293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23294 *) ac_try_echo=$ac_try;;
23295 esac
23296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23297 (eval "$ac_compile") 2>conftest.er1
23298 ac_status=$?
23299 grep -v '^ *+' conftest.er1 >conftest.err
23300 rm -f conftest.er1
23301 cat conftest.err >&5
23302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23303 (exit $ac_status); } && {
23304 test -z "$ac_c_werror_flag" ||
23305 test ! -s conftest.err
23306 } && test -s conftest.$ac_objext; then
23307 ac_lo=$ac_mid; break
23308 else
23309 echo "$as_me: failed program was:" >&5
23310 sed 's/^/| /' conftest.$ac_ext >&5
23311
23312 ac_hi=`expr '(' $ac_mid ')' - 1`
23313 if test $ac_mid -le $ac_hi; then
23314 ac_lo= ac_hi=
23315 break
23316 fi
23317 ac_mid=`expr 2 '*' $ac_mid`
23318 fi
23319
23320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23321 done
23322 else
23323 echo "$as_me: failed program was:" >&5
23324 sed 's/^/| /' conftest.$ac_ext >&5
23325
23326 ac_lo= ac_hi=
23327 fi
23328
23329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23330 fi
23331
23332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23333 # Binary search between lo and hi bounds.
23334 while test "x$ac_lo" != "x$ac_hi"; do
23335 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23336 cat >conftest.$ac_ext <<_ACEOF
23337 /* confdefs.h. */
23338 _ACEOF
23339 cat confdefs.h >>conftest.$ac_ext
23340 cat >>conftest.$ac_ext <<_ACEOF
23341 /* end confdefs.h. */
23342
23343 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23344 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23345 # error "fake wchar_t"
23346 #endif
23347 #ifdef HAVE_WCHAR_H
23348 # ifdef __CYGWIN__
23349 # include <stddef.h>
23350 # endif
23351 # include <wchar.h>
23352 #endif
23353 #ifdef HAVE_STDLIB_H
23354 # include <stdlib.h>
23355 #endif
23356 #include <stdio.h>
23357
23358
23359
23360 typedef wchar_t ac__type_sizeof_;
23361 int
23362 main ()
23363 {
23364 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23365 test_array [0] = 0
23366
23367 ;
23368 return 0;
23369 }
23370 _ACEOF
23371 rm -f conftest.$ac_objext
23372 if { (ac_try="$ac_compile"
23373 case "(($ac_try" in
23374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23375 *) ac_try_echo=$ac_try;;
23376 esac
23377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23378 (eval "$ac_compile") 2>conftest.er1
23379 ac_status=$?
23380 grep -v '^ *+' conftest.er1 >conftest.err
23381 rm -f conftest.er1
23382 cat conftest.err >&5
23383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23384 (exit $ac_status); } && {
23385 test -z "$ac_c_werror_flag" ||
23386 test ! -s conftest.err
23387 } && test -s conftest.$ac_objext; then
23388 ac_hi=$ac_mid
23389 else
23390 echo "$as_me: failed program was:" >&5
23391 sed 's/^/| /' conftest.$ac_ext >&5
23392
23393 ac_lo=`expr '(' $ac_mid ')' + 1`
23394 fi
23395
23396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23397 done
23398 case $ac_lo in
23399 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
23400 '') if test "$ac_cv_type_wchar_t" = yes; then
23401 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
23402 See \`config.log' for more details." >&5
23403 echo "$as_me: error: cannot compute sizeof (wchar_t)
23404 See \`config.log' for more details." >&2;}
23405 { (exit 77); exit 77; }; }
23406 else
23407 ac_cv_sizeof_wchar_t=0
23408 fi ;;
23409 esac
23410 else
23411 cat >conftest.$ac_ext <<_ACEOF
23412 /* confdefs.h. */
23413 _ACEOF
23414 cat confdefs.h >>conftest.$ac_ext
23415 cat >>conftest.$ac_ext <<_ACEOF
23416 /* end confdefs.h. */
23417
23418 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23419 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23420 # error "fake wchar_t"
23421 #endif
23422 #ifdef HAVE_WCHAR_H
23423 # ifdef __CYGWIN__
23424 # include <stddef.h>
23425 # endif
23426 # include <wchar.h>
23427 #endif
23428 #ifdef HAVE_STDLIB_H
23429 # include <stdlib.h>
23430 #endif
23431 #include <stdio.h>
23432
23433
23434
23435 typedef wchar_t ac__type_sizeof_;
23436 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23437 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23438 #include <stdio.h>
23439 #include <stdlib.h>
23440 int
23441 main ()
23442 {
23443
23444 FILE *f = fopen ("conftest.val", "w");
23445 if (! f)
23446 return 1;
23447 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23448 {
23449 long int i = longval ();
23450 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23451 return 1;
23452 fprintf (f, "%ld\n", i);
23453 }
23454 else
23455 {
23456 unsigned long int i = ulongval ();
23457 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23458 return 1;
23459 fprintf (f, "%lu\n", i);
23460 }
23461 return ferror (f) || fclose (f) != 0;
23462
23463 ;
23464 return 0;
23465 }
23466 _ACEOF
23467 rm -f conftest$ac_exeext
23468 if { (ac_try="$ac_link"
23469 case "(($ac_try" in
23470 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23471 *) ac_try_echo=$ac_try;;
23472 esac
23473 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23474 (eval "$ac_link") 2>&5
23475 ac_status=$?
23476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23477 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23478 { (case "(($ac_try" in
23479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23480 *) ac_try_echo=$ac_try;;
23481 esac
23482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23483 (eval "$ac_try") 2>&5
23484 ac_status=$?
23485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23486 (exit $ac_status); }; }; then
23487 ac_cv_sizeof_wchar_t=`cat conftest.val`
23488 else
23489 echo "$as_me: program exited with status $ac_status" >&5
23490 echo "$as_me: failed program was:" >&5
23491 sed 's/^/| /' conftest.$ac_ext >&5
23492
23493 ( exit $ac_status )
23494 if test "$ac_cv_type_wchar_t" = yes; then
23495 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
23496 See \`config.log' for more details." >&5
23497 echo "$as_me: error: cannot compute sizeof (wchar_t)
23498 See \`config.log' for more details." >&2;}
23499 { (exit 77); exit 77; }; }
23500 else
23501 ac_cv_sizeof_wchar_t=0
23502 fi
23503 fi
23504 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23505 fi
23506 rm -f conftest.val
23507 fi
23508 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
23509 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
23510
23511
23512
23513 cat >>confdefs.h <<_ACEOF
23514 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
23515 _ACEOF
23516
23517
23518 if test "$ac_cv_sizeof_wchar_t" != 0; then
23519 wxUSE_WCHAR_T=yes
23520 else
23521 wxUSE_WCHAR_T=no
23522 fi
23523
23524 { echo "$as_me:$LINENO: checking for va_copy" >&5
23525 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
23526 if test "${wx_cv_func_va_copy+set}" = set; then
23527 echo $ECHO_N "(cached) $ECHO_C" >&6
23528 else
23529
23530 ac_ext=cpp
23531 ac_cpp='$CXXCPP $CPPFLAGS'
23532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23535
23536 cat >conftest.$ac_ext <<_ACEOF
23537
23538 #include <stdarg.h>
23539 void foo(char *f, ...)
23540 {
23541 va_list ap1, ap2;
23542 va_start(ap1, f);
23543 va_copy(ap2, ap1);
23544 va_end(ap2);
23545 va_end(ap1);
23546 }
23547 int main()
23548 {
23549 foo("hi", 17);
23550 return 0;
23551 }
23552 _ACEOF
23553 rm -f conftest.$ac_objext conftest$ac_exeext
23554 if { (ac_try="$ac_link"
23555 case "(($ac_try" in
23556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23557 *) ac_try_echo=$ac_try;;
23558 esac
23559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23560 (eval "$ac_link") 2>conftest.er1
23561 ac_status=$?
23562 grep -v '^ *+' conftest.er1 >conftest.err
23563 rm -f conftest.er1
23564 cat conftest.err >&5
23565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23566 (exit $ac_status); } && {
23567 test -z "$ac_cxx_werror_flag" ||
23568 test ! -s conftest.err
23569 } && test -s conftest$ac_exeext &&
23570 $as_test_x conftest$ac_exeext; then
23571 wx_cv_func_va_copy=yes
23572 else
23573 echo "$as_me: failed program was:" >&5
23574 sed 's/^/| /' conftest.$ac_ext >&5
23575
23576 wx_cv_func_va_copy=no
23577
23578 fi
23579
23580 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23581 conftest$ac_exeext conftest.$ac_ext
23582 ac_ext=c
23583 ac_cpp='$CPP $CPPFLAGS'
23584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23587
23588
23589
23590 fi
23591 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
23592 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
23593
23594 if test $wx_cv_func_va_copy = "yes"; then
23595 cat >>confdefs.h <<\_ACEOF
23596 #define HAVE_VA_COPY 1
23597 _ACEOF
23598
23599 else
23600 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
23601 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
23602 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
23603 echo $ECHO_N "(cached) $ECHO_C" >&6
23604 else
23605
23606 if test "$cross_compiling" = yes; then
23607 wx_cv_type_va_list_lvalue=yes
23608
23609 else
23610 cat >conftest.$ac_ext <<_ACEOF
23611
23612 #include <stdarg.h>
23613 int foo(char *f, ...)
23614 {
23615 va_list ap1, ap2;
23616 va_start(ap1, f);
23617 ap2 = ap1;
23618 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
23619 return 1;
23620 va_end(ap2);
23621 va_end(ap1);
23622 return 0;
23623 }
23624 int main()
23625 {
23626 return foo("hi", 17);
23627 }
23628 _ACEOF
23629 rm -f conftest$ac_exeext
23630 if { (ac_try="$ac_link"
23631 case "(($ac_try" in
23632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23633 *) ac_try_echo=$ac_try;;
23634 esac
23635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23636 (eval "$ac_link") 2>&5
23637 ac_status=$?
23638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23639 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23640 { (case "(($ac_try" in
23641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23642 *) ac_try_echo=$ac_try;;
23643 esac
23644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23645 (eval "$ac_try") 2>&5
23646 ac_status=$?
23647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23648 (exit $ac_status); }; }; then
23649 wx_cv_type_va_list_lvalue=yes
23650 else
23651 echo "$as_me: program exited with status $ac_status" >&5
23652 echo "$as_me: failed program was:" >&5
23653 sed 's/^/| /' conftest.$ac_ext >&5
23654
23655 ( exit $ac_status )
23656 wx_cv_type_va_list_lvalue=no
23657 fi
23658 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23659 fi
23660
23661
23662
23663
23664 fi
23665 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
23666 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
23667
23668 if test $wx_cv_type_va_list_lvalue != "yes"; then
23669 cat >>confdefs.h <<\_ACEOF
23670 #define VA_LIST_IS_ARRAY 1
23671 _ACEOF
23672
23673 fi
23674 fi
23675
23676 if test "$wxUSE_VARARG_MACROS" = "yes"; then
23677
23678 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
23679 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
23680 if test "${wx_cv_have_variadic_macros+set}" = set; then
23681 echo $ECHO_N "(cached) $ECHO_C" >&6
23682 else
23683
23684 ac_ext=cpp
23685 ac_cpp='$CXXCPP $CPPFLAGS'
23686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23689
23690 cat >conftest.$ac_ext <<_ACEOF
23691 /* confdefs.h. */
23692 _ACEOF
23693 cat confdefs.h >>conftest.$ac_ext
23694 cat >>conftest.$ac_ext <<_ACEOF
23695 /* end confdefs.h. */
23696
23697 #include <stdio.h>
23698 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
23699
23700 int
23701 main ()
23702 {
23703
23704 test("%s %d %p", "test", 1, 0);
23705
23706
23707 ;
23708 return 0;
23709 }
23710 _ACEOF
23711 rm -f conftest.$ac_objext
23712 if { (ac_try="$ac_compile"
23713 case "(($ac_try" in
23714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23715 *) ac_try_echo=$ac_try;;
23716 esac
23717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23718 (eval "$ac_compile") 2>conftest.er1
23719 ac_status=$?
23720 grep -v '^ *+' conftest.er1 >conftest.err
23721 rm -f conftest.er1
23722 cat conftest.err >&5
23723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23724 (exit $ac_status); } && {
23725 test -z "$ac_cxx_werror_flag" ||
23726 test ! -s conftest.err
23727 } && test -s conftest.$ac_objext; then
23728 wx_cv_have_variadic_macros=yes
23729 else
23730 echo "$as_me: failed program was:" >&5
23731 sed 's/^/| /' conftest.$ac_ext >&5
23732
23733 wx_cv_have_variadic_macros=no
23734
23735 fi
23736
23737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23738 ac_ext=c
23739 ac_cpp='$CPP $CPPFLAGS'
23740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23743
23744
23745
23746 fi
23747 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
23748 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
23749
23750 if test $wx_cv_have_variadic_macros = "yes"; then
23751 cat >>confdefs.h <<\_ACEOF
23752 #define HAVE_VARIADIC_MACROS 1
23753 _ACEOF
23754
23755 fi
23756
23757 fi
23758
23759 LARGEFILE_CPPFLAGS=
23760 # Check whether --enable-largefile was given.
23761 if test "${enable_largefile+set}" = set; then
23762 enableval=$enable_largefile;
23763 fi
23764
23765 if test "$enable_largefile" != no; then
23766 wx_largefile=no
23767
23768 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
23769 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
23770 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
23771 echo $ECHO_N "(cached) $ECHO_C" >&6
23772 else
23773
23774 cat >conftest.$ac_ext <<_ACEOF
23775 /* confdefs.h. */
23776 _ACEOF
23777 cat confdefs.h >>conftest.$ac_ext
23778 cat >>conftest.$ac_ext <<_ACEOF
23779 /* end confdefs.h. */
23780 #define _FILE_OFFSET_BITS 64
23781 #include <sys/types.h>
23782 int
23783 main ()
23784 {
23785 typedef struct {
23786 unsigned int field: sizeof(off_t) == 8;
23787 } wxlf;
23788
23789 ;
23790 return 0;
23791 }
23792 _ACEOF
23793 rm -f conftest.$ac_objext
23794 if { (ac_try="$ac_compile"
23795 case "(($ac_try" in
23796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23797 *) ac_try_echo=$ac_try;;
23798 esac
23799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23800 (eval "$ac_compile") 2>conftest.er1
23801 ac_status=$?
23802 grep -v '^ *+' conftest.er1 >conftest.err
23803 rm -f conftest.er1
23804 cat conftest.err >&5
23805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23806 (exit $ac_status); } && {
23807 test -z "$ac_c_werror_flag" ||
23808 test ! -s conftest.err
23809 } && test -s conftest.$ac_objext; then
23810 ac_cv_sys_file_offset_bits=64
23811 else
23812 echo "$as_me: failed program was:" >&5
23813 sed 's/^/| /' conftest.$ac_ext >&5
23814
23815 ac_cv_sys_file_offset_bits=no
23816 fi
23817
23818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23819
23820
23821 fi
23822 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
23823 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
23824
23825 if test "$ac_cv_sys_file_offset_bits" != no; then
23826 wx_largefile=yes
23827 cat >>confdefs.h <<_ACEOF
23828 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
23829 _ACEOF
23830
23831 fi
23832
23833 if test "x$wx_largefile" != "xyes"; then
23834
23835 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
23836 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
23837 if test "${ac_cv_sys_large_files+set}" = set; then
23838 echo $ECHO_N "(cached) $ECHO_C" >&6
23839 else
23840
23841 cat >conftest.$ac_ext <<_ACEOF
23842 /* confdefs.h. */
23843 _ACEOF
23844 cat confdefs.h >>conftest.$ac_ext
23845 cat >>conftest.$ac_ext <<_ACEOF
23846 /* end confdefs.h. */
23847 #define _LARGE_FILES 1
23848 #include <sys/types.h>
23849 int
23850 main ()
23851 {
23852 typedef struct {
23853 unsigned int field: sizeof(off_t) == 8;
23854 } wxlf;
23855
23856 ;
23857 return 0;
23858 }
23859 _ACEOF
23860 rm -f conftest.$ac_objext
23861 if { (ac_try="$ac_compile"
23862 case "(($ac_try" in
23863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23864 *) ac_try_echo=$ac_try;;
23865 esac
23866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23867 (eval "$ac_compile") 2>conftest.er1
23868 ac_status=$?
23869 grep -v '^ *+' conftest.er1 >conftest.err
23870 rm -f conftest.er1
23871 cat conftest.err >&5
23872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23873 (exit $ac_status); } && {
23874 test -z "$ac_c_werror_flag" ||
23875 test ! -s conftest.err
23876 } && test -s conftest.$ac_objext; then
23877 ac_cv_sys_large_files=1
23878 else
23879 echo "$as_me: failed program was:" >&5
23880 sed 's/^/| /' conftest.$ac_ext >&5
23881
23882 ac_cv_sys_large_files=no
23883 fi
23884
23885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23886
23887
23888 fi
23889 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
23890 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
23891
23892 if test "$ac_cv_sys_large_files" != no; then
23893 wx_largefile=yes
23894 cat >>confdefs.h <<_ACEOF
23895 #define _LARGE_FILES $ac_cv_sys_large_files
23896 _ACEOF
23897
23898 fi
23899
23900 fi
23901
23902 { echo "$as_me:$LINENO: checking if large file support is available" >&5
23903 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
23904 if test "x$wx_largefile" = "xyes"; then
23905 cat >>confdefs.h <<\_ACEOF
23906 #define HAVE_LARGEFILE_SUPPORT 1
23907 _ACEOF
23908
23909 fi
23910 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
23911 echo "${ECHO_T}$wx_largefile" >&6; }
23912 fi
23913
23914 if test "$ac_cv_sys_file_offset_bits" = "64"; then
23915 LARGEFILE_CPPFLAGS="-D_FILE_OFFSET_BITS=64"
23916 elif test "$ac_cv_sys_large_files" = 1; then
23917 LARGEFILE_CPPFLAGS="-D_LARGE_FILES"
23918 fi
23919
23920 if test -n "$LARGEFILE_CPPFLAGS"; then
23921 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $LARGEFILE_CPPFLAGS"
23922
23923 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
23924 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
23925 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
23926 if test "${wx_cv_STDC_EXT_required+set}" = set; then
23927 echo $ECHO_N "(cached) $ECHO_C" >&6
23928 else
23929
23930 ac_ext=cpp
23931 ac_cpp='$CXXCPP $CPPFLAGS'
23932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23935
23936 cat >conftest.$ac_ext <<_ACEOF
23937 /* confdefs.h. */
23938 _ACEOF
23939 cat confdefs.h >>conftest.$ac_ext
23940 cat >>conftest.$ac_ext <<_ACEOF
23941 /* end confdefs.h. */
23942
23943 int
23944 main ()
23945 {
23946
23947 #ifndef __STDC_EXT__
23948 choke me
23949 #endif
23950
23951 ;
23952 return 0;
23953 }
23954 _ACEOF
23955 rm -f conftest.$ac_objext
23956 if { (ac_try="$ac_compile"
23957 case "(($ac_try" in
23958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23959 *) ac_try_echo=$ac_try;;
23960 esac
23961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23962 (eval "$ac_compile") 2>conftest.er1
23963 ac_status=$?
23964 grep -v '^ *+' conftest.er1 >conftest.err
23965 rm -f conftest.er1
23966 cat conftest.err >&5
23967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23968 (exit $ac_status); } && {
23969 test -z "$ac_cxx_werror_flag" ||
23970 test ! -s conftest.err
23971 } && test -s conftest.$ac_objext; then
23972 wx_cv_STDC_EXT_required=no
23973 else
23974 echo "$as_me: failed program was:" >&5
23975 sed 's/^/| /' conftest.$ac_ext >&5
23976
23977 wx_cv_STDC_EXT_required=yes
23978
23979 fi
23980
23981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23982 ac_ext=c
23983 ac_cpp='$CPP $CPPFLAGS'
23984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23987
23988
23989
23990 fi
23991 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
23992 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
23993 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
23994 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
23995 fi
23996 fi
23997 fi
23998
23999 ac_ext=cpp
24000 ac_cpp='$CXXCPP $CPPFLAGS'
24001 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24002 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24003 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24004
24005 old_CPPFLAGS="$CPPFLAGS"
24006 CPPFLAGS="$CPPFLAGS $LARGEFILE_CPPFLAGS"
24007 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
24008 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
24009 if test "${ac_cv_sys_largefile_source+set}" = set; then
24010 echo $ECHO_N "(cached) $ECHO_C" >&6
24011 else
24012 while :; do
24013 cat >conftest.$ac_ext <<_ACEOF
24014 /* confdefs.h. */
24015 _ACEOF
24016 cat confdefs.h >>conftest.$ac_ext
24017 cat >>conftest.$ac_ext <<_ACEOF
24018 /* end confdefs.h. */
24019 #include <sys/types.h> /* for off_t */
24020 #include <stdio.h>
24021 int
24022 main ()
24023 {
24024 int (*fp) (FILE *, off_t, int) = fseeko;
24025 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
24026 ;
24027 return 0;
24028 }
24029 _ACEOF
24030 rm -f conftest.$ac_objext conftest$ac_exeext
24031 if { (ac_try="$ac_link"
24032 case "(($ac_try" in
24033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24034 *) ac_try_echo=$ac_try;;
24035 esac
24036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24037 (eval "$ac_link") 2>conftest.er1
24038 ac_status=$?
24039 grep -v '^ *+' conftest.er1 >conftest.err
24040 rm -f conftest.er1
24041 cat conftest.err >&5
24042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24043 (exit $ac_status); } && {
24044 test -z "$ac_cxx_werror_flag" ||
24045 test ! -s conftest.err
24046 } && test -s conftest$ac_exeext &&
24047 $as_test_x conftest$ac_exeext; then
24048 ac_cv_sys_largefile_source=no; break
24049 else
24050 echo "$as_me: failed program was:" >&5
24051 sed 's/^/| /' conftest.$ac_ext >&5
24052
24053
24054 fi
24055
24056 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24057 conftest$ac_exeext conftest.$ac_ext
24058 cat >conftest.$ac_ext <<_ACEOF
24059 /* confdefs.h. */
24060 _ACEOF
24061 cat confdefs.h >>conftest.$ac_ext
24062 cat >>conftest.$ac_ext <<_ACEOF
24063 /* end confdefs.h. */
24064 #define _LARGEFILE_SOURCE 1
24065 #include <sys/types.h> /* for off_t */
24066 #include <stdio.h>
24067 int
24068 main ()
24069 {
24070 int (*fp) (FILE *, off_t, int) = fseeko;
24071 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
24072 ;
24073 return 0;
24074 }
24075 _ACEOF
24076 rm -f conftest.$ac_objext conftest$ac_exeext
24077 if { (ac_try="$ac_link"
24078 case "(($ac_try" in
24079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24080 *) ac_try_echo=$ac_try;;
24081 esac
24082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24083 (eval "$ac_link") 2>conftest.er1
24084 ac_status=$?
24085 grep -v '^ *+' conftest.er1 >conftest.err
24086 rm -f conftest.er1
24087 cat conftest.err >&5
24088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24089 (exit $ac_status); } && {
24090 test -z "$ac_cxx_werror_flag" ||
24091 test ! -s conftest.err
24092 } && test -s conftest$ac_exeext &&
24093 $as_test_x conftest$ac_exeext; then
24094 ac_cv_sys_largefile_source=1; break
24095 else
24096 echo "$as_me: failed program was:" >&5
24097 sed 's/^/| /' conftest.$ac_ext >&5
24098
24099
24100 fi
24101
24102 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24103 conftest$ac_exeext conftest.$ac_ext
24104 ac_cv_sys_largefile_source=unknown
24105 break
24106 done
24107 fi
24108 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
24109 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
24110 case $ac_cv_sys_largefile_source in #(
24111 no | unknown) ;;
24112 *)
24113 cat >>confdefs.h <<_ACEOF
24114 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
24115 _ACEOF
24116 ;;
24117 esac
24118 rm -f conftest*
24119
24120 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
24121 # in glibc 2.1.3, but that breaks too many other things.
24122 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
24123 if test $ac_cv_sys_largefile_source != unknown; then
24124
24125 cat >>confdefs.h <<\_ACEOF
24126 #define HAVE_FSEEKO 1
24127 _ACEOF
24128
24129 fi
24130
24131 CPPFLAGS="$old_CPPFLAGS"
24132 ac_ext=c
24133 ac_cpp='$CPP $CPPFLAGS'
24134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24137
24138 if test "$ac_cv_sys_largefile_source" != no; then
24139 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
24140 fi
24141
24142 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
24143 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
24144 if test "${ac_cv_c_bigendian+set}" = set; then
24145 echo $ECHO_N "(cached) $ECHO_C" >&6
24146 else
24147 ac_cv_c_bigendian=unknown
24148 # See if sys/param.h defines the BYTE_ORDER macro.
24149 cat >conftest.$ac_ext <<_ACEOF
24150 /* confdefs.h. */
24151 _ACEOF
24152 cat confdefs.h >>conftest.$ac_ext
24153 cat >>conftest.$ac_ext <<_ACEOF
24154 /* end confdefs.h. */
24155 #include <sys/types.h>
24156 #include <sys/param.h>
24157 int
24158 main ()
24159 {
24160
24161 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
24162 bogus endian macros
24163 #endif
24164 ;
24165 return 0;
24166 }
24167 _ACEOF
24168 rm -f conftest.$ac_objext
24169 if { (ac_try="$ac_compile"
24170 case "(($ac_try" in
24171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24172 *) ac_try_echo=$ac_try;;
24173 esac
24174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24175 (eval "$ac_compile") 2>conftest.er1
24176 ac_status=$?
24177 grep -v '^ *+' conftest.er1 >conftest.err
24178 rm -f conftest.er1
24179 cat conftest.err >&5
24180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24181 (exit $ac_status); } && {
24182 test -z "$ac_c_werror_flag" ||
24183 test ! -s conftest.err
24184 } && test -s conftest.$ac_objext; then
24185 # It does; now see whether it defined to BIG_ENDIAN or not.
24186 cat >conftest.$ac_ext <<_ACEOF
24187 /* confdefs.h. */
24188 _ACEOF
24189 cat confdefs.h >>conftest.$ac_ext
24190 cat >>conftest.$ac_ext <<_ACEOF
24191 /* end confdefs.h. */
24192 #include <sys/types.h>
24193 #include <sys/param.h>
24194 int
24195 main ()
24196 {
24197
24198 #if BYTE_ORDER != BIG_ENDIAN
24199 not big endian
24200 #endif
24201 ;
24202 return 0;
24203 }
24204 _ACEOF
24205 rm -f conftest.$ac_objext
24206 if { (ac_try="$ac_compile"
24207 case "(($ac_try" in
24208 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24209 *) ac_try_echo=$ac_try;;
24210 esac
24211 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24212 (eval "$ac_compile") 2>conftest.er1
24213 ac_status=$?
24214 grep -v '^ *+' conftest.er1 >conftest.err
24215 rm -f conftest.er1
24216 cat conftest.err >&5
24217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24218 (exit $ac_status); } && {
24219 test -z "$ac_c_werror_flag" ||
24220 test ! -s conftest.err
24221 } && test -s conftest.$ac_objext; then
24222 ac_cv_c_bigendian=yes
24223 else
24224 echo "$as_me: failed program was:" >&5
24225 sed 's/^/| /' conftest.$ac_ext >&5
24226
24227 ac_cv_c_bigendian=no
24228 fi
24229
24230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24231 else
24232 echo "$as_me: failed program was:" >&5
24233 sed 's/^/| /' conftest.$ac_ext >&5
24234
24235
24236 fi
24237
24238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24239 if test $ac_cv_c_bigendian = unknown; then
24240 if test "$cross_compiling" = yes; then
24241 ac_cv_c_bigendian=unknown
24242 else
24243 cat >conftest.$ac_ext <<_ACEOF
24244 /* confdefs.h. */
24245 _ACEOF
24246 cat confdefs.h >>conftest.$ac_ext
24247 cat >>conftest.$ac_ext <<_ACEOF
24248 /* end confdefs.h. */
24249 main () {
24250 /* Are we little or big endian? From Harbison&Steele. */
24251 union
24252 {
24253 long l;
24254 char c[sizeof (long)];
24255 } u;
24256 u.l = 1;
24257 exit (u.c[sizeof (long) - 1] == 1);
24258 }
24259 _ACEOF
24260 rm -f conftest$ac_exeext
24261 if { (ac_try="$ac_link"
24262 case "(($ac_try" in
24263 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24264 *) ac_try_echo=$ac_try;;
24265 esac
24266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24267 (eval "$ac_link") 2>&5
24268 ac_status=$?
24269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24270 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24271 { (case "(($ac_try" in
24272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24273 *) ac_try_echo=$ac_try;;
24274 esac
24275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24276 (eval "$ac_try") 2>&5
24277 ac_status=$?
24278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24279 (exit $ac_status); }; }; then
24280 ac_cv_c_bigendian=no
24281 else
24282 echo "$as_me: program exited with status $ac_status" >&5
24283 echo "$as_me: failed program was:" >&5
24284 sed 's/^/| /' conftest.$ac_ext >&5
24285
24286 ( exit $ac_status )
24287 ac_cv_c_bigendian=yes
24288 fi
24289 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24290 fi
24291
24292
24293 fi
24294 fi
24295 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
24296 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
24297 if test $ac_cv_c_bigendian = unknown; then
24298 { echo "$as_me:$LINENO: WARNING: Assuming little-endian target machine - this may be overriden by adding the line \"ac_cv_c_bigendian=${ac_cv_c_bigendian='yes'}\" to config.cache file" >&5
24299 echo "$as_me: WARNING: Assuming little-endian target machine - this may be overriden by adding the line \"ac_cv_c_bigendian=${ac_cv_c_bigendian='yes'}\" to config.cache file" >&2;}
24300 fi
24301 if test $ac_cv_c_bigendian = yes; then
24302 cat >>confdefs.h <<\_ACEOF
24303 #define WORDS_BIGENDIAN 1
24304 _ACEOF
24305
24306 fi
24307
24308
24309
24310
24311 ac_ext=cpp
24312 ac_cpp='$CXXCPP $CPPFLAGS'
24313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24316
24317
24318
24319 for ac_header in iostream
24320 do
24321 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24322 { echo "$as_me:$LINENO: checking for $ac_header" >&5
24323 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24324 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24325 echo $ECHO_N "(cached) $ECHO_C" >&6
24326 else
24327 cat >conftest.$ac_ext <<_ACEOF
24328 /* confdefs.h. */
24329 _ACEOF
24330 cat confdefs.h >>conftest.$ac_ext
24331 cat >>conftest.$ac_ext <<_ACEOF
24332 /* end confdefs.h. */
24333
24334
24335 #include <$ac_header>
24336 _ACEOF
24337 rm -f conftest.$ac_objext
24338 if { (ac_try="$ac_compile"
24339 case "(($ac_try" in
24340 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24341 *) ac_try_echo=$ac_try;;
24342 esac
24343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24344 (eval "$ac_compile") 2>conftest.er1
24345 ac_status=$?
24346 grep -v '^ *+' conftest.er1 >conftest.err
24347 rm -f conftest.er1
24348 cat conftest.err >&5
24349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24350 (exit $ac_status); } && {
24351 test -z "$ac_cxx_werror_flag" ||
24352 test ! -s conftest.err
24353 } && test -s conftest.$ac_objext; then
24354 eval "$as_ac_Header=yes"
24355 else
24356 echo "$as_me: failed program was:" >&5
24357 sed 's/^/| /' conftest.$ac_ext >&5
24358
24359 eval "$as_ac_Header=no"
24360 fi
24361
24362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24363 fi
24364 ac_res=`eval echo '${'$as_ac_Header'}'`
24365 { echo "$as_me:$LINENO: result: $ac_res" >&5
24366 echo "${ECHO_T}$ac_res" >&6; }
24367 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24368 cat >>confdefs.h <<_ACEOF
24369 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24370 _ACEOF
24371
24372 fi
24373
24374 done
24375
24376
24377 if test "$ac_cv_header_iostream" = "yes" ; then
24378 :
24379 else
24380 cat >>confdefs.h <<\_ACEOF
24381 #define wxUSE_IOSTREAMH 1
24382 _ACEOF
24383
24384 fi
24385
24386 ac_ext=c
24387 ac_cpp='$CPP $CPPFLAGS'
24388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24391
24392
24393
24394
24395 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
24396 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
24397 if test "${wx_cv_explicit+set}" = set; then
24398 echo $ECHO_N "(cached) $ECHO_C" >&6
24399 else
24400
24401
24402 ac_ext=cpp
24403 ac_cpp='$CXXCPP $CPPFLAGS'
24404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24407
24408
24409 cat >conftest.$ac_ext <<_ACEOF
24410 /* confdefs.h. */
24411 _ACEOF
24412 cat confdefs.h >>conftest.$ac_ext
24413 cat >>conftest.$ac_ext <<_ACEOF
24414 /* end confdefs.h. */
24415
24416 class Foo { public: explicit Foo(int) {} };
24417
24418 int
24419 main ()
24420 {
24421
24422 return 0;
24423
24424 ;
24425 return 0;
24426 }
24427 _ACEOF
24428 rm -f conftest.$ac_objext
24429 if { (ac_try="$ac_compile"
24430 case "(($ac_try" in
24431 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24432 *) ac_try_echo=$ac_try;;
24433 esac
24434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24435 (eval "$ac_compile") 2>conftest.er1
24436 ac_status=$?
24437 grep -v '^ *+' conftest.er1 >conftest.err
24438 rm -f conftest.er1
24439 cat conftest.err >&5
24440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24441 (exit $ac_status); } && {
24442 test -z "$ac_cxx_werror_flag" ||
24443 test ! -s conftest.err
24444 } && test -s conftest.$ac_objext; then
24445
24446 cat >conftest.$ac_ext <<_ACEOF
24447 /* confdefs.h. */
24448 _ACEOF
24449 cat confdefs.h >>conftest.$ac_ext
24450 cat >>conftest.$ac_ext <<_ACEOF
24451 /* end confdefs.h. */
24452
24453 class Foo { public: explicit Foo(int) {} };
24454 static void TakeFoo(const Foo& foo) { }
24455
24456 int
24457 main ()
24458 {
24459
24460 TakeFoo(17);
24461 return 0;
24462
24463 ;
24464 return 0;
24465 }
24466 _ACEOF
24467 rm -f conftest.$ac_objext
24468 if { (ac_try="$ac_compile"
24469 case "(($ac_try" in
24470 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24471 *) ac_try_echo=$ac_try;;
24472 esac
24473 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24474 (eval "$ac_compile") 2>conftest.er1
24475 ac_status=$?
24476 grep -v '^ *+' conftest.er1 >conftest.err
24477 rm -f conftest.er1
24478 cat conftest.err >&5
24479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24480 (exit $ac_status); } && {
24481 test -z "$ac_cxx_werror_flag" ||
24482 test ! -s conftest.err
24483 } && test -s conftest.$ac_objext; then
24484 wx_cv_explicit=no
24485 else
24486 echo "$as_me: failed program was:" >&5
24487 sed 's/^/| /' conftest.$ac_ext >&5
24488
24489 wx_cv_explicit=yes
24490
24491 fi
24492
24493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24494
24495 else
24496 echo "$as_me: failed program was:" >&5
24497 sed 's/^/| /' conftest.$ac_ext >&5
24498
24499 wx_cv_explicit=no
24500
24501 fi
24502
24503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24504
24505 ac_ext=c
24506 ac_cpp='$CPP $CPPFLAGS'
24507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24510
24511
24512 fi
24513 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
24514 echo "${ECHO_T}$wx_cv_explicit" >&6; }
24515
24516 if test "$wx_cv_explicit" = "yes"; then
24517 cat >>confdefs.h <<\_ACEOF
24518 #define HAVE_EXPLICIT 1
24519 _ACEOF
24520
24521 fi
24522
24523
24524 if test "x$SUNCXX" = xyes; then
24525 CXXFLAGS="-features=tmplife $CXXFLAGS"
24526 fi
24527
24528 if test "x$SUNCC" = xyes; then
24529 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
24530 fi
24531
24532 if test "x$SGICC" = "xyes"; then
24533 CFLAGS="-woff 3970 $CFLAGS"
24534 fi
24535 if test "x$SGICXX" = "xyes"; then
24536 CXXFLAGS="-woff 3970 $CXXFLAGS"
24537 fi
24538
24539 if test "x$HPCC" = "xyes"; then
24540 CFLAGS="+W 2011,2450 $CFLAGS"
24541 fi
24542 if test "x$HPCXX" = "xyes"; then
24543 CXXFLAGS="+W 2340,4232 $CXXFLAGS"
24544 fi
24545
24546 if test "x$COMPAQCXX" = "xyes"; then
24547 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
24548 fi
24549
24550 ac_ext=cpp
24551 ac_cpp='$CXXCPP $CPPFLAGS'
24552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24555
24556
24557 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
24558 if test "$wxUSE_UNICODE" = "yes"; then
24559 std_string="std::wstring"
24560 char_type="wchar_t"
24561 else
24562 std_string="std::string"
24563 char_type="char"
24564 fi
24565
24566 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
24567 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
24568 if test "${wx_cv_class_stdstring+set}" = set; then
24569 echo $ECHO_N "(cached) $ECHO_C" >&6
24570 else
24571
24572 cat >conftest.$ac_ext <<_ACEOF
24573 /* confdefs.h. */
24574 _ACEOF
24575 cat confdefs.h >>conftest.$ac_ext
24576 cat >>conftest.$ac_ext <<_ACEOF
24577 /* end confdefs.h. */
24578 #include <string>
24579 int
24580 main ()
24581 {
24582 $std_string foo;
24583 ;
24584 return 0;
24585 }
24586 _ACEOF
24587 rm -f conftest.$ac_objext
24588 if { (ac_try="$ac_compile"
24589 case "(($ac_try" in
24590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24591 *) ac_try_echo=$ac_try;;
24592 esac
24593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24594 (eval "$ac_compile") 2>conftest.er1
24595 ac_status=$?
24596 grep -v '^ *+' conftest.er1 >conftest.err
24597 rm -f conftest.er1
24598 cat conftest.err >&5
24599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24600 (exit $ac_status); } && {
24601 test -z "$ac_cxx_werror_flag" ||
24602 test ! -s conftest.err
24603 } && test -s conftest.$ac_objext; then
24604 wx_cv_class_stdstring=yes
24605 else
24606 echo "$as_me: failed program was:" >&5
24607 sed 's/^/| /' conftest.$ac_ext >&5
24608
24609 wx_cv_class_stdstring=no
24610
24611 fi
24612
24613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24614
24615
24616 fi
24617 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
24618 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
24619
24620 if test "$wx_cv_class_stdstring" = yes; then
24621 if test "$wxUSE_UNICODE" = "yes"; then
24622 cat >>confdefs.h <<\_ACEOF
24623 #define HAVE_STD_WSTRING 1
24624 _ACEOF
24625
24626 fi
24627 else
24628 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
24629 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
24630 if test "${wx_cv_class_stdbasicstring+set}" = set; then
24631 echo $ECHO_N "(cached) $ECHO_C" >&6
24632 else
24633
24634 cat >conftest.$ac_ext <<_ACEOF
24635 /* confdefs.h. */
24636 _ACEOF
24637 cat confdefs.h >>conftest.$ac_ext
24638 cat >>conftest.$ac_ext <<_ACEOF
24639 /* end confdefs.h. */
24640
24641 #ifdef HAVE_WCHAR_H
24642 # ifdef __CYGWIN__
24643 # include <stddef.h>
24644 # endif
24645 # include <wchar.h>
24646 #endif
24647 #ifdef HAVE_STDLIB_H
24648 # include <stdlib.h>
24649 #endif
24650 #include <stdio.h>
24651 #include <string>
24652
24653 int
24654 main ()
24655 {
24656 std::basic_string<$char_type> foo;
24657 const $char_type* dummy = foo.c_str();
24658 ;
24659 return 0;
24660 }
24661 _ACEOF
24662 rm -f conftest.$ac_objext
24663 if { (ac_try="$ac_compile"
24664 case "(($ac_try" in
24665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24666 *) ac_try_echo=$ac_try;;
24667 esac
24668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24669 (eval "$ac_compile") 2>conftest.er1
24670 ac_status=$?
24671 grep -v '^ *+' conftest.er1 >conftest.err
24672 rm -f conftest.er1
24673 cat conftest.err >&5
24674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24675 (exit $ac_status); } && {
24676 test -z "$ac_cxx_werror_flag" ||
24677 test ! -s conftest.err
24678 } && test -s conftest.$ac_objext; then
24679 wx_cv_class_stdbasicstring=yes
24680 else
24681 echo "$as_me: failed program was:" >&5
24682 sed 's/^/| /' conftest.$ac_ext >&5
24683
24684 wx_cv_class_stdbasicstring=no
24685
24686 fi
24687
24688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24689
24690
24691 fi
24692 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
24693 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
24694
24695 if test "$wx_cv_class_stdbasicstring" != yes; then
24696 if test "$wxUSE_STL" = "yes"; then
24697 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
24698 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
24699 { (exit 1); exit 1; }; }
24700 elif test "$wxUSE_STD_STRING" = "yes"; then
24701 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
24702 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
24703 { (exit 1); exit 1; }; }
24704 else
24705 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
24706 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
24707 wxUSE_STD_STRING=no
24708 fi
24709 fi
24710 fi
24711 fi
24712
24713 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24714 { echo "$as_me:$LINENO: checking for std::istream" >&5
24715 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
24716 if test "${ac_cv_type_std__istream+set}" = set; then
24717 echo $ECHO_N "(cached) $ECHO_C" >&6
24718 else
24719 cat >conftest.$ac_ext <<_ACEOF
24720 /* confdefs.h. */
24721 _ACEOF
24722 cat confdefs.h >>conftest.$ac_ext
24723 cat >>conftest.$ac_ext <<_ACEOF
24724 /* end confdefs.h. */
24725 #include <iostream>
24726
24727 typedef std::istream ac__type_new_;
24728 int
24729 main ()
24730 {
24731 if ((ac__type_new_ *) 0)
24732 return 0;
24733 if (sizeof (ac__type_new_))
24734 return 0;
24735 ;
24736 return 0;
24737 }
24738 _ACEOF
24739 rm -f conftest.$ac_objext
24740 if { (ac_try="$ac_compile"
24741 case "(($ac_try" in
24742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24743 *) ac_try_echo=$ac_try;;
24744 esac
24745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24746 (eval "$ac_compile") 2>conftest.er1
24747 ac_status=$?
24748 grep -v '^ *+' conftest.er1 >conftest.err
24749 rm -f conftest.er1
24750 cat conftest.err >&5
24751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24752 (exit $ac_status); } && {
24753 test -z "$ac_cxx_werror_flag" ||
24754 test ! -s conftest.err
24755 } && test -s conftest.$ac_objext; then
24756 ac_cv_type_std__istream=yes
24757 else
24758 echo "$as_me: failed program was:" >&5
24759 sed 's/^/| /' conftest.$ac_ext >&5
24760
24761 ac_cv_type_std__istream=no
24762 fi
24763
24764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24765 fi
24766 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
24767 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
24768 if test $ac_cv_type_std__istream = yes; then
24769
24770 cat >>confdefs.h <<_ACEOF
24771 #define HAVE_STD__ISTREAM 1
24772 _ACEOF
24773
24774
24775 else
24776 wxUSE_STD_IOSTREAM=no
24777 fi
24778 { echo "$as_me:$LINENO: checking for std::ostream" >&5
24779 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
24780 if test "${ac_cv_type_std__ostream+set}" = set; then
24781 echo $ECHO_N "(cached) $ECHO_C" >&6
24782 else
24783 cat >conftest.$ac_ext <<_ACEOF
24784 /* confdefs.h. */
24785 _ACEOF
24786 cat confdefs.h >>conftest.$ac_ext
24787 cat >>conftest.$ac_ext <<_ACEOF
24788 /* end confdefs.h. */
24789 #include <iostream>
24790
24791 typedef std::ostream ac__type_new_;
24792 int
24793 main ()
24794 {
24795 if ((ac__type_new_ *) 0)
24796 return 0;
24797 if (sizeof (ac__type_new_))
24798 return 0;
24799 ;
24800 return 0;
24801 }
24802 _ACEOF
24803 rm -f conftest.$ac_objext
24804 if { (ac_try="$ac_compile"
24805 case "(($ac_try" in
24806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24807 *) ac_try_echo=$ac_try;;
24808 esac
24809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24810 (eval "$ac_compile") 2>conftest.er1
24811 ac_status=$?
24812 grep -v '^ *+' conftest.er1 >conftest.err
24813 rm -f conftest.er1
24814 cat conftest.err >&5
24815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24816 (exit $ac_status); } && {
24817 test -z "$ac_cxx_werror_flag" ||
24818 test ! -s conftest.err
24819 } && test -s conftest.$ac_objext; then
24820 ac_cv_type_std__ostream=yes
24821 else
24822 echo "$as_me: failed program was:" >&5
24823 sed 's/^/| /' conftest.$ac_ext >&5
24824
24825 ac_cv_type_std__ostream=no
24826 fi
24827
24828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24829 fi
24830 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
24831 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
24832 if test $ac_cv_type_std__ostream = yes; then
24833
24834 cat >>confdefs.h <<_ACEOF
24835 #define HAVE_STD__OSTREAM 1
24836 _ACEOF
24837
24838
24839 else
24840 wxUSE_STD_IOSTREAM=no
24841 fi
24842
24843
24844 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
24845 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24846 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
24847 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
24848 { (exit 1); exit 1; }; }
24849 else
24850 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
24851 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
24852 fi
24853 fi
24854 fi
24855
24856 if test "$wxUSE_STL" = "yes"; then
24857 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
24858 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
24859 if test "${wx_cv_lib_stl+set}" = set; then
24860 echo $ECHO_N "(cached) $ECHO_C" >&6
24861 else
24862 cat >conftest.$ac_ext <<_ACEOF
24863 /* confdefs.h. */
24864 _ACEOF
24865 cat confdefs.h >>conftest.$ac_ext
24866 cat >>conftest.$ac_ext <<_ACEOF
24867 /* end confdefs.h. */
24868 #include <string>
24869 #include <functional>
24870 #include <algorithm>
24871 #include <vector>
24872 #include <list>
24873 int
24874 main ()
24875 {
24876 std::vector<int> moo;
24877 std::list<int> foo;
24878 std::vector<int>::iterator it =
24879 std::find_if(moo.begin(), moo.end(),
24880 std::bind2nd(std::less<int>(), 3));
24881 ;
24882 return 0;
24883 }
24884 _ACEOF
24885 rm -f conftest.$ac_objext
24886 if { (ac_try="$ac_compile"
24887 case "(($ac_try" in
24888 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24889 *) ac_try_echo=$ac_try;;
24890 esac
24891 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24892 (eval "$ac_compile") 2>conftest.er1
24893 ac_status=$?
24894 grep -v '^ *+' conftest.er1 >conftest.err
24895 rm -f conftest.er1
24896 cat conftest.err >&5
24897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24898 (exit $ac_status); } && {
24899 test -z "$ac_cxx_werror_flag" ||
24900 test ! -s conftest.err
24901 } && test -s conftest.$ac_objext; then
24902 wx_cv_lib_stl=yes
24903 else
24904 echo "$as_me: failed program was:" >&5
24905 sed 's/^/| /' conftest.$ac_ext >&5
24906
24907 wx_cv_lib_stl=no
24908
24909 fi
24910
24911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24912
24913 fi
24914 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
24915 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
24916
24917 if test "$wx_cv_lib_stl" != yes; then
24918 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
24919 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
24920 { (exit 1); exit 1; }; }
24921 fi
24922
24923 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
24924 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
24925 if test "${wx_cv_func_stdstring_compare+set}" = set; then
24926 echo $ECHO_N "(cached) $ECHO_C" >&6
24927 else
24928 cat >conftest.$ac_ext <<_ACEOF
24929 /* confdefs.h. */
24930 _ACEOF
24931 cat confdefs.h >>conftest.$ac_ext
24932 cat >>conftest.$ac_ext <<_ACEOF
24933 /* end confdefs.h. */
24934 #include <string>
24935 int
24936 main ()
24937 {
24938 std::string foo, bar;
24939 foo.compare(bar);
24940 foo.compare(1, 1, bar);
24941 foo.compare(1, 1, bar, 1, 1);
24942 foo.compare("");
24943 foo.compare(1, 1, "");
24944 foo.compare(1, 1, "", 2);
24945 ;
24946 return 0;
24947 }
24948 _ACEOF
24949 rm -f conftest.$ac_objext
24950 if { (ac_try="$ac_compile"
24951 case "(($ac_try" in
24952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24953 *) ac_try_echo=$ac_try;;
24954 esac
24955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24956 (eval "$ac_compile") 2>conftest.er1
24957 ac_status=$?
24958 grep -v '^ *+' conftest.er1 >conftest.err
24959 rm -f conftest.er1
24960 cat conftest.err >&5
24961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24962 (exit $ac_status); } && {
24963 test -z "$ac_cxx_werror_flag" ||
24964 test ! -s conftest.err
24965 } && test -s conftest.$ac_objext; then
24966 wx_cv_func_stdstring_compare=yes
24967 else
24968 echo "$as_me: failed program was:" >&5
24969 sed 's/^/| /' conftest.$ac_ext >&5
24970
24971 wx_cv_func_stdstring_compare=no
24972
24973 fi
24974
24975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24976
24977 fi
24978 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
24979 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
24980
24981 if test "$wx_cv_func_stdstring_compare" = yes; then
24982 cat >>confdefs.h <<\_ACEOF
24983 #define HAVE_STD_STRING_COMPARE 1
24984 _ACEOF
24985
24986 fi
24987
24988 if test "$wx_cv_class_gnuhashmapset" = yes; then
24989 cat >>confdefs.h <<\_ACEOF
24990 #define HAVE_EXT_HASH_MAP 1
24991 _ACEOF
24992
24993 cat >>confdefs.h <<\_ACEOF
24994 #define HAVE_GNU_CXX_HASH_MAP 1
24995 _ACEOF
24996
24997 fi
24998
24999 { echo "$as_me:$LINENO: checking for unordered_map" >&5
25000 echo $ECHO_N "checking for unordered_map... $ECHO_C" >&6; }
25001 if test "${ac_cv_header_unordered_map+set}" = set; then
25002 echo $ECHO_N "(cached) $ECHO_C" >&6
25003 else
25004 cat >conftest.$ac_ext <<_ACEOF
25005 /* confdefs.h. */
25006 _ACEOF
25007 cat confdefs.h >>conftest.$ac_ext
25008 cat >>conftest.$ac_ext <<_ACEOF
25009 /* end confdefs.h. */
25010
25011
25012
25013 #include <unordered_map>
25014 _ACEOF
25015 rm -f conftest.$ac_objext
25016 if { (ac_try="$ac_compile"
25017 case "(($ac_try" in
25018 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25019 *) ac_try_echo=$ac_try;;
25020 esac
25021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25022 (eval "$ac_compile") 2>conftest.er1
25023 ac_status=$?
25024 grep -v '^ *+' conftest.er1 >conftest.err
25025 rm -f conftest.er1
25026 cat conftest.err >&5
25027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25028 (exit $ac_status); } && {
25029 test -z "$ac_cxx_werror_flag" ||
25030 test ! -s conftest.err
25031 } && test -s conftest.$ac_objext; then
25032 ac_cv_header_unordered_map=yes
25033 else
25034 echo "$as_me: failed program was:" >&5
25035 sed 's/^/| /' conftest.$ac_ext >&5
25036
25037 ac_cv_header_unordered_map=no
25038 fi
25039
25040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25041 fi
25042 { echo "$as_me:$LINENO: result: $ac_cv_header_unordered_map" >&5
25043 echo "${ECHO_T}$ac_cv_header_unordered_map" >&6; }
25044 if test $ac_cv_header_unordered_map = yes; then
25045 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std" >&5
25046 echo $ECHO_N "checking for unordered_map and unordered_set in std... $ECHO_C" >&6; }
25047 if test "${wx_cv_class_stdunorderedmapset+set}" = set; then
25048 echo $ECHO_N "(cached) $ECHO_C" >&6
25049 else
25050 cat >conftest.$ac_ext <<_ACEOF
25051 /* confdefs.h. */
25052 _ACEOF
25053 cat confdefs.h >>conftest.$ac_ext
25054 cat >>conftest.$ac_ext <<_ACEOF
25055 /* end confdefs.h. */
25056 #include <unordered_map>
25057 #include <unordered_set>
25058 int
25059 main ()
25060 {
25061 std::unordered_map<double*, char*> test1;
25062 std::unordered_set<char*> test2;
25063 ;
25064 return 0;
25065 }
25066 _ACEOF
25067 rm -f conftest.$ac_objext
25068 if { (ac_try="$ac_compile"
25069 case "(($ac_try" in
25070 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25071 *) ac_try_echo=$ac_try;;
25072 esac
25073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25074 (eval "$ac_compile") 2>conftest.er1
25075 ac_status=$?
25076 grep -v '^ *+' conftest.er1 >conftest.err
25077 rm -f conftest.er1
25078 cat conftest.err >&5
25079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25080 (exit $ac_status); } && {
25081 test -z "$ac_cxx_werror_flag" ||
25082 test ! -s conftest.err
25083 } && test -s conftest.$ac_objext; then
25084 wx_cv_class_stdunorderedmapset=yes
25085 else
25086 echo "$as_me: failed program was:" >&5
25087 sed 's/^/| /' conftest.$ac_ext >&5
25088
25089 wx_cv_class_stdunorderedmapset=no
25090 fi
25091
25092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25093
25094
25095 fi
25096 { echo "$as_me:$LINENO: result: $wx_cv_class_stdunorderedmapset" >&5
25097 echo "${ECHO_T}$wx_cv_class_stdunorderedmapset" >&6; }
25098 fi
25099
25100
25101
25102 if test "$wx_cv_class_stdunorderedmapset" = yes; then
25103 cat >>confdefs.h <<\_ACEOF
25104 #define HAVE_STD_UNORDERED_MAP 1
25105 _ACEOF
25106
25107 cat >>confdefs.h <<\_ACEOF
25108 #define HAVE_STD_UNORDERED_SET 1
25109 _ACEOF
25110
25111 else
25112 { echo "$as_me:$LINENO: checking for tr1/unordered_map" >&5
25113 echo $ECHO_N "checking for tr1/unordered_map... $ECHO_C" >&6; }
25114 if test "${ac_cv_header_tr1_unordered_map+set}" = set; then
25115 echo $ECHO_N "(cached) $ECHO_C" >&6
25116 else
25117 cat >conftest.$ac_ext <<_ACEOF
25118 /* confdefs.h. */
25119 _ACEOF
25120 cat confdefs.h >>conftest.$ac_ext
25121 cat >>conftest.$ac_ext <<_ACEOF
25122 /* end confdefs.h. */
25123
25124
25125
25126 #include <tr1/unordered_map>
25127 _ACEOF
25128 rm -f conftest.$ac_objext
25129 if { (ac_try="$ac_compile"
25130 case "(($ac_try" in
25131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25132 *) ac_try_echo=$ac_try;;
25133 esac
25134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25135 (eval "$ac_compile") 2>conftest.er1
25136 ac_status=$?
25137 grep -v '^ *+' conftest.er1 >conftest.err
25138 rm -f conftest.er1
25139 cat conftest.err >&5
25140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25141 (exit $ac_status); } && {
25142 test -z "$ac_cxx_werror_flag" ||
25143 test ! -s conftest.err
25144 } && test -s conftest.$ac_objext; then
25145 ac_cv_header_tr1_unordered_map=yes
25146 else
25147 echo "$as_me: failed program was:" >&5
25148 sed 's/^/| /' conftest.$ac_ext >&5
25149
25150 ac_cv_header_tr1_unordered_map=no
25151 fi
25152
25153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25154 fi
25155 { echo "$as_me:$LINENO: result: $ac_cv_header_tr1_unordered_map" >&5
25156 echo "${ECHO_T}$ac_cv_header_tr1_unordered_map" >&6; }
25157 if test $ac_cv_header_tr1_unordered_map = yes; then
25158 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std::tr1" >&5
25159 echo $ECHO_N "checking for unordered_map and unordered_set in std::tr1... $ECHO_C" >&6; }
25160 if test "${wx_cv_class_tr1unorderedmapset+set}" = set; then
25161 echo $ECHO_N "(cached) $ECHO_C" >&6
25162 else
25163 cat >conftest.$ac_ext <<_ACEOF
25164 /* confdefs.h. */
25165 _ACEOF
25166 cat confdefs.h >>conftest.$ac_ext
25167 cat >>conftest.$ac_ext <<_ACEOF
25168 /* end confdefs.h. */
25169 #include <tr1/unordered_map>
25170 #include <tr1/unordered_set>
25171 int
25172 main ()
25173 {
25174 std::tr1::unordered_map<double*, char*> test1;
25175 std::tr1::unordered_set<char*> test2;
25176 #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
25177 #error can't use unordered_{map,set} with gcc-4.[01]: http://gcc.gnu.org/PR24389
25178 #endif
25179 ;
25180 return 0;
25181 }
25182 _ACEOF
25183 rm -f conftest.$ac_objext
25184 if { (ac_try="$ac_compile"
25185 case "(($ac_try" in
25186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25187 *) ac_try_echo=$ac_try;;
25188 esac
25189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25190 (eval "$ac_compile") 2>conftest.er1
25191 ac_status=$?
25192 grep -v '^ *+' conftest.er1 >conftest.err
25193 rm -f conftest.er1
25194 cat conftest.err >&5
25195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25196 (exit $ac_status); } && {
25197 test -z "$ac_cxx_werror_flag" ||
25198 test ! -s conftest.err
25199 } && test -s conftest.$ac_objext; then
25200 wx_cv_class_tr1unorderedmapset=yes
25201 else
25202 echo "$as_me: failed program was:" >&5
25203 sed 's/^/| /' conftest.$ac_ext >&5
25204
25205 wx_cv_class_tr1unorderedmapset=no
25206 fi
25207
25208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25209
25210
25211 fi
25212 { echo "$as_me:$LINENO: result: $wx_cv_class_tr1unorderedmapset" >&5
25213 echo "${ECHO_T}$wx_cv_class_tr1unorderedmapset" >&6; }
25214 fi
25215
25216
25217
25218 if test "$wx_cv_class_tr1unorderedmapset" = yes; then
25219 cat >>confdefs.h <<\_ACEOF
25220 #define HAVE_TR1_UNORDERED_MAP 1
25221 _ACEOF
25222
25223 cat >>confdefs.h <<\_ACEOF
25224 #define HAVE_TR1_UNORDERED_SET 1
25225 _ACEOF
25226
25227 else
25228 { echo "$as_me:$LINENO: checking for hash_map" >&5
25229 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
25230 if test "${ac_cv_header_hash_map+set}" = set; then
25231 echo $ECHO_N "(cached) $ECHO_C" >&6
25232 else
25233 cat >conftest.$ac_ext <<_ACEOF
25234 /* confdefs.h. */
25235 _ACEOF
25236 cat confdefs.h >>conftest.$ac_ext
25237 cat >>conftest.$ac_ext <<_ACEOF
25238 /* end confdefs.h. */
25239
25240
25241
25242 #include <hash_map>
25243 _ACEOF
25244 rm -f conftest.$ac_objext
25245 if { (ac_try="$ac_compile"
25246 case "(($ac_try" in
25247 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25248 *) ac_try_echo=$ac_try;;
25249 esac
25250 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25251 (eval "$ac_compile") 2>conftest.er1
25252 ac_status=$?
25253 grep -v '^ *+' conftest.er1 >conftest.err
25254 rm -f conftest.er1
25255 cat conftest.err >&5
25256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25257 (exit $ac_status); } && {
25258 test -z "$ac_cxx_werror_flag" ||
25259 test ! -s conftest.err
25260 } && test -s conftest.$ac_objext; then
25261 ac_cv_header_hash_map=yes
25262 else
25263 echo "$as_me: failed program was:" >&5
25264 sed 's/^/| /' conftest.$ac_ext >&5
25265
25266 ac_cv_header_hash_map=no
25267 fi
25268
25269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25270 fi
25271 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
25272 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
25273 if test $ac_cv_header_hash_map = yes; then
25274 { echo "$as_me:$LINENO: checking for std::hash_map and hash_set" >&5
25275 echo $ECHO_N "checking for std::hash_map and hash_set... $ECHO_C" >&6; }
25276 if test "${wx_cv_class_stdhashmapset+set}" = set; then
25277 echo $ECHO_N "(cached) $ECHO_C" >&6
25278 else
25279 cat >conftest.$ac_ext <<_ACEOF
25280 /* confdefs.h. */
25281 _ACEOF
25282 cat confdefs.h >>conftest.$ac_ext
25283 cat >>conftest.$ac_ext <<_ACEOF
25284 /* end confdefs.h. */
25285 #include <hash_map>
25286 #include <hash_set>
25287 int
25288 main ()
25289 {
25290 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
25291 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
25292 ;
25293 return 0;
25294 }
25295 _ACEOF
25296 rm -f conftest.$ac_objext
25297 if { (ac_try="$ac_compile"
25298 case "(($ac_try" in
25299 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25300 *) ac_try_echo=$ac_try;;
25301 esac
25302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25303 (eval "$ac_compile") 2>conftest.er1
25304 ac_status=$?
25305 grep -v '^ *+' conftest.er1 >conftest.err
25306 rm -f conftest.er1
25307 cat conftest.err >&5
25308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25309 (exit $ac_status); } && {
25310 test -z "$ac_cxx_werror_flag" ||
25311 test ! -s conftest.err
25312 } && test -s conftest.$ac_objext; then
25313 wx_cv_class_stdhashmapset=yes
25314 else
25315 echo "$as_me: failed program was:" >&5
25316 sed 's/^/| /' conftest.$ac_ext >&5
25317
25318 wx_cv_class_stdhashmapset=no
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_class_stdhashmapset" >&5
25326 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
25327 fi
25328
25329
25330
25331 if test "$wx_cv_class_stdhashmapset" = yes; then
25332 cat >>confdefs.h <<\_ACEOF
25333 #define HAVE_HASH_MAP 1
25334 _ACEOF
25335
25336 cat >>confdefs.h <<\_ACEOF
25337 #define HAVE_STD_HASH_MAP 1
25338 _ACEOF
25339
25340 fi
25341
25342 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
25343 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
25344 if test "${ac_cv_header_ext_hash_map+set}" = set; then
25345 echo $ECHO_N "(cached) $ECHO_C" >&6
25346 else
25347 cat >conftest.$ac_ext <<_ACEOF
25348 /* confdefs.h. */
25349 _ACEOF
25350 cat confdefs.h >>conftest.$ac_ext
25351 cat >>conftest.$ac_ext <<_ACEOF
25352 /* end confdefs.h. */
25353
25354
25355
25356 #include <ext/hash_map>
25357 _ACEOF
25358 rm -f conftest.$ac_objext
25359 if { (ac_try="$ac_compile"
25360 case "(($ac_try" in
25361 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25362 *) ac_try_echo=$ac_try;;
25363 esac
25364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25365 (eval "$ac_compile") 2>conftest.er1
25366 ac_status=$?
25367 grep -v '^ *+' conftest.er1 >conftest.err
25368 rm -f conftest.er1
25369 cat conftest.err >&5
25370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25371 (exit $ac_status); } && {
25372 test -z "$ac_cxx_werror_flag" ||
25373 test ! -s conftest.err
25374 } && test -s conftest.$ac_objext; then
25375 ac_cv_header_ext_hash_map=yes
25376 else
25377 echo "$as_me: failed program was:" >&5
25378 sed 's/^/| /' conftest.$ac_ext >&5
25379
25380 ac_cv_header_ext_hash_map=no
25381 fi
25382
25383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25384 fi
25385 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
25386 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
25387 if test $ac_cv_header_ext_hash_map = yes; then
25388 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
25389 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
25390 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
25391 echo $ECHO_N "(cached) $ECHO_C" >&6
25392 else
25393 cat >conftest.$ac_ext <<_ACEOF
25394 /* confdefs.h. */
25395 _ACEOF
25396 cat confdefs.h >>conftest.$ac_ext
25397 cat >>conftest.$ac_ext <<_ACEOF
25398 /* end confdefs.h. */
25399 #include <ext/hash_map>
25400 #include <ext/hash_set>
25401 int
25402 main ()
25403 {
25404 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
25405 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
25406 ;
25407 return 0;
25408 }
25409 _ACEOF
25410 rm -f conftest.$ac_objext
25411 if { (ac_try="$ac_compile"
25412 case "(($ac_try" in
25413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25414 *) ac_try_echo=$ac_try;;
25415 esac
25416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25417 (eval "$ac_compile") 2>conftest.er1
25418 ac_status=$?
25419 grep -v '^ *+' conftest.er1 >conftest.err
25420 rm -f conftest.er1
25421 cat conftest.err >&5
25422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25423 (exit $ac_status); } && {
25424 test -z "$ac_cxx_werror_flag" ||
25425 test ! -s conftest.err
25426 } && test -s conftest.$ac_objext; then
25427 wx_cv_class_gnuhashmapset=yes
25428 else
25429 echo "$as_me: failed program was:" >&5
25430 sed 's/^/| /' conftest.$ac_ext >&5
25431
25432 wx_cv_class_gnuhashmapset=no
25433 fi
25434
25435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25436
25437
25438 fi
25439 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
25440 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
25441 fi
25442
25443
25444
25445 fi
25446 fi
25447 fi
25448
25449
25450
25451 if test -n "$GCC"; then
25452 { echo "$as_me:$LINENO: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
25453 echo $ECHO_N "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... $ECHO_C" >&6; }
25454 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
25455 echo $ECHO_N "(cached) $ECHO_C" >&6
25456 else
25457
25458 cat >conftest.$ac_ext <<_ACEOF
25459 /* confdefs.h. */
25460 _ACEOF
25461 cat confdefs.h >>conftest.$ac_ext
25462 cat >>conftest.$ac_ext <<_ACEOF
25463 /* end confdefs.h. */
25464
25465 int
25466 main ()
25467 {
25468
25469 unsigned int value=0;
25470 /* wxAtomicInc doesn't use return value here */
25471 __sync_fetch_and_add(&value, 2);
25472 __sync_sub_and_fetch(&value, 1);
25473 /* but wxAtomicDec does, so mimic that: */
25474 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
25475
25476 ;
25477 return 0;
25478 }
25479 _ACEOF
25480 rm -f conftest.$ac_objext conftest$ac_exeext
25481 if { (ac_try="$ac_link"
25482 case "(($ac_try" in
25483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25484 *) ac_try_echo=$ac_try;;
25485 esac
25486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25487 (eval "$ac_link") 2>conftest.er1
25488 ac_status=$?
25489 grep -v '^ *+' conftest.er1 >conftest.err
25490 rm -f conftest.er1
25491 cat conftest.err >&5
25492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25493 (exit $ac_status); } && {
25494 test -z "$ac_cxx_werror_flag" ||
25495 test ! -s conftest.err
25496 } && test -s conftest$ac_exeext &&
25497 $as_test_x conftest$ac_exeext; then
25498 wx_cv_cc_gcc_atomic_builtins=yes
25499 else
25500 echo "$as_me: failed program was:" >&5
25501 sed 's/^/| /' conftest.$ac_ext >&5
25502
25503 wx_cv_cc_gcc_atomic_builtins=no
25504 fi
25505
25506 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25507 conftest$ac_exeext conftest.$ac_ext
25508
25509 fi
25510
25511 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
25512 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
25513 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
25514 cat >>confdefs.h <<\_ACEOF
25515 #define HAVE_GCC_ATOMIC_BUILTINS 1
25516 _ACEOF
25517
25518 fi
25519 fi
25520
25521
25522 ac_ext=c
25523 ac_cpp='$CPP $CPPFLAGS'
25524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25527
25528
25529
25530 SEARCH_INCLUDE="\
25531 /usr/local/include \
25532 /usr/local/X11/include \
25533 /usr/local/include/X11 \
25534 /usr/local/X11R7/include \
25535 /usr/local/X11R6/include \
25536 /usr/local/include/X11R7 \
25537 /usr/local/include/X11R6 \
25538 \
25539 /usr/Motif-2.1/include \
25540 /usr/Motif-1.2/include \
25541 /usr/include/Motif1.2 \
25542 \
25543 /usr/dt/include \
25544 /usr/openwin/include \
25545 \
25546 /usr/include/Xm \
25547 \
25548 /usr/X11R7/include \
25549 /usr/X11R6/include \
25550 /usr/X11R6.4/include \
25551 \
25552 /usr/include/X11R7 \
25553 /usr/include/X11R6 \
25554 \
25555 /usr/X11/include \
25556 /usr/include/X11 \
25557 \
25558 /usr/XFree86/include/X11 \
25559 /usr/pkg/include \
25560 \
25561 /usr/local/X1R5/include \
25562 /usr/local/include/X11R5 \
25563 /usr/X11R5/include \
25564 /usr/include/X11R5 \
25565 \
25566 /usr/local/X11R4/include \
25567 /usr/local/include/X11R4 \
25568 /usr/X11R4/include \
25569 /usr/include/X11R4 \
25570 \
25571 /usr/openwin/share/include"
25572
25573 { echo "$as_me:$LINENO: checking for libraries directory" >&5
25574 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
25575
25576 case "${host}" in
25577 *-*-irix6* )
25578 if test "${wx_cv_std_libpath+set}" = set; then
25579 echo $ECHO_N "(cached) $ECHO_C" >&6
25580 else
25581
25582 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
25583 for e in a so sl dylib dll.a; do
25584 libc="$d/libc.$e"
25585 if test -f $libc; then
25586 save_LIBS="$LIBS"
25587 LIBS="$libc"
25588 cat >conftest.$ac_ext <<_ACEOF
25589 int main() { return 0; }
25590 _ACEOF
25591 rm -f conftest.$ac_objext conftest$ac_exeext
25592 if { (ac_try="$ac_link"
25593 case "(($ac_try" in
25594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25595 *) ac_try_echo=$ac_try;;
25596 esac
25597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25598 (eval "$ac_link") 2>conftest.er1
25599 ac_status=$?
25600 grep -v '^ *+' conftest.er1 >conftest.err
25601 rm -f conftest.er1
25602 cat conftest.err >&5
25603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25604 (exit $ac_status); } && {
25605 test -z "$ac_c_werror_flag" ||
25606 test ! -s conftest.err
25607 } && test -s conftest$ac_exeext &&
25608 $as_test_x conftest$ac_exeext; then
25609 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
25610 else
25611 echo "$as_me: failed program was:" >&5
25612 sed 's/^/| /' conftest.$ac_ext >&5
25613
25614
25615 fi
25616
25617 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25618 conftest$ac_exeext conftest.$ac_ext
25619 LIBS="$save_LIBS"
25620 if test "x$wx_cv_std_libpath" != "x"; then
25621 break 2
25622 fi
25623 fi
25624 done
25625 done
25626 if test "x$wx_cv_std_libpath" = "x"; then
25627 wx_cv_std_libpath="lib"
25628 fi
25629
25630
25631 fi
25632
25633 ;;
25634
25635 *-*-solaris2* )
25636 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
25637 wx_cv_std_libpath="lib/64"
25638 else
25639 wx_cv_std_libpath="lib"
25640 fi
25641 ;;
25642
25643 *-*-linux* )
25644 if test "$ac_cv_sizeof_void_p" = 8 -a \
25645 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
25646 wx_cv_std_libpath="lib64"
25647 else
25648 wx_cv_std_libpath="lib"
25649 fi
25650 ;;
25651
25652 *)
25653 wx_cv_std_libpath="lib";
25654 ;;
25655 esac
25656
25657 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
25658 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
25659
25660 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
25661
25662 if test "$build" != "$host" -a "$GCC" = yes; then
25663 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
25664 cross_root=`dirname $cross_root`
25665 cross_root=`dirname $cross_root`
25666
25667 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25668 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25669 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
25670
25671 if test -z "$PKG_CONFIG_PATH"; then
25672 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
25673 export PKG_CONFIG_PATH
25674 fi
25675
25676 if test -z "$x_includes" -o "$x_includes" = NONE; then
25677
25678 ac_find_includes=
25679 for ac_dir in $SEARCH_INCLUDE /usr/include;
25680 do
25681 if test -f "$ac_dir/X11/Intrinsic.h"; then
25682 ac_find_includes=$ac_dir
25683 break
25684 fi
25685 done
25686
25687 x_includes=$ac_find_includes
25688 fi
25689 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
25690
25691 ac_find_libraries=
25692 for ac_dir in $SEARCH_LIB;
25693 do
25694 for ac_extension in a so sl dylib dll.a; do
25695 if test -f "$ac_dir/libXt.$ac_extension"; then
25696 ac_find_libraries=$ac_dir
25697 break 2
25698 fi
25699 done
25700 done
25701
25702 x_libraries=$ac_find_libraries
25703 fi
25704 fi
25705 fi
25706
25707
25708 cat >confcache <<\_ACEOF
25709 # This file is a shell script that caches the results of configure
25710 # tests run on this system so they can be shared between configure
25711 # scripts and configure runs, see configure's option --config-cache.
25712 # It is not useful on other systems. If it contains results you don't
25713 # want to keep, you may remove or edit it.
25714 #
25715 # config.status only pays attention to the cache file if you give it
25716 # the --recheck option to rerun configure.
25717 #
25718 # `ac_cv_env_foo' variables (set or unset) will be overridden when
25719 # loading this file, other *unset* `ac_cv_foo' will be assigned the
25720 # following values.
25721
25722 _ACEOF
25723
25724 # The following way of writing the cache mishandles newlines in values,
25725 # but we know of no workaround that is simple, portable, and efficient.
25726 # So, we kill variables containing newlines.
25727 # Ultrix sh set writes to stderr and can't be redirected directly,
25728 # and sets the high bit in the cache file unless we assign to the vars.
25729 (
25730 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
25731 eval ac_val=\$$ac_var
25732 case $ac_val in #(
25733 *${as_nl}*)
25734 case $ac_var in #(
25735 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
25736 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
25737 esac
25738 case $ac_var in #(
25739 _ | IFS | as_nl) ;; #(
25740 *) $as_unset $ac_var ;;
25741 esac ;;
25742 esac
25743 done
25744
25745 (set) 2>&1 |
25746 case $as_nl`(ac_space=' '; set) 2>&1` in #(
25747 *${as_nl}ac_space=\ *)
25748 # `set' does not quote correctly, so add quotes (double-quote
25749 # substitution turns \\\\ into \\, and sed turns \\ into \).
25750 sed -n \
25751 "s/'/'\\\\''/g;
25752 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25753 ;; #(
25754 *)
25755 # `set' quotes correctly as required by POSIX, so do not add quotes.
25756 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25757 ;;
25758 esac |
25759 sort
25760 ) |
25761 sed '
25762 /^ac_cv_env_/b end
25763 t clear
25764 :clear
25765 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25766 t end
25767 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25768 :end' >>confcache
25769 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
25770 if test -w "$cache_file"; then
25771 test "x$cache_file" != "x/dev/null" &&
25772 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
25773 echo "$as_me: updating cache $cache_file" >&6;}
25774 cat confcache >$cache_file
25775 else
25776 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
25777 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25778 fi
25779 fi
25780 rm -f confcache
25781
25782 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
25783 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
25784 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
25785 if test "${wx_cv_lib_glibc21+set}" = set; then
25786 echo $ECHO_N "(cached) $ECHO_C" >&6
25787 else
25788
25789 cat >conftest.$ac_ext <<_ACEOF
25790 /* confdefs.h. */
25791 _ACEOF
25792 cat confdefs.h >>conftest.$ac_ext
25793 cat >>conftest.$ac_ext <<_ACEOF
25794 /* end confdefs.h. */
25795 #include <features.h>
25796 int
25797 main ()
25798 {
25799
25800 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
25801 not glibc 2.1
25802 #endif
25803
25804 ;
25805 return 0;
25806 }
25807 _ACEOF
25808 rm -f conftest.$ac_objext
25809 if { (ac_try="$ac_compile"
25810 case "(($ac_try" in
25811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25812 *) ac_try_echo=$ac_try;;
25813 esac
25814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25815 (eval "$ac_compile") 2>conftest.er1
25816 ac_status=$?
25817 grep -v '^ *+' conftest.er1 >conftest.err
25818 rm -f conftest.er1
25819 cat conftest.err >&5
25820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25821 (exit $ac_status); } && {
25822 test -z "$ac_c_werror_flag" ||
25823 test ! -s conftest.err
25824 } && test -s conftest.$ac_objext; then
25825
25826 wx_cv_lib_glibc21=yes
25827
25828 else
25829 echo "$as_me: failed program was:" >&5
25830 sed 's/^/| /' conftest.$ac_ext >&5
25831
25832
25833 wx_cv_lib_glibc21=no
25834
25835
25836 fi
25837
25838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25839
25840 fi
25841 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
25842 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
25843 if test "$wx_cv_lib_glibc21" = "yes"; then
25844 cat >>confdefs.h <<\_ACEOF
25845 #define wxHAVE_GLIBC2 1
25846 _ACEOF
25847
25848 fi
25849 fi
25850
25851 if test "x$wx_cv_lib_glibc21" = "xyes"; then
25852 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
25853 cat >>confdefs.h <<\_ACEOF
25854 #define _GNU_SOURCE 1
25855 _ACEOF
25856
25857 fi
25858 fi
25859
25860 have_cos=0
25861 have_floor=0
25862
25863 for ac_func in cos
25864 do
25865 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25866 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25867 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25868 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25869 echo $ECHO_N "(cached) $ECHO_C" >&6
25870 else
25871 cat >conftest.$ac_ext <<_ACEOF
25872 /* confdefs.h. */
25873 _ACEOF
25874 cat confdefs.h >>conftest.$ac_ext
25875 cat >>conftest.$ac_ext <<_ACEOF
25876 /* end confdefs.h. */
25877 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25878 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25879 #define $ac_func innocuous_$ac_func
25880
25881 /* System header to define __stub macros and hopefully few prototypes,
25882 which can conflict with char $ac_func (); below.
25883 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25884 <limits.h> exists even on freestanding compilers. */
25885
25886 #ifdef __STDC__
25887 # include <limits.h>
25888 #else
25889 # include <assert.h>
25890 #endif
25891
25892 #undef $ac_func
25893
25894 /* Override any GCC internal prototype to avoid an error.
25895 Use char because int might match the return type of a GCC
25896 builtin and then its argument prototype would still apply. */
25897 #ifdef __cplusplus
25898 extern "C"
25899 #endif
25900 char $ac_func ();
25901 /* The GNU C library defines this for functions which it implements
25902 to always fail with ENOSYS. Some functions are actually named
25903 something starting with __ and the normal name is an alias. */
25904 #if defined __stub_$ac_func || defined __stub___$ac_func
25905 choke me
25906 #endif
25907
25908 int
25909 main ()
25910 {
25911 return $ac_func ();
25912 ;
25913 return 0;
25914 }
25915 _ACEOF
25916 rm -f conftest.$ac_objext conftest$ac_exeext
25917 if { (ac_try="$ac_link"
25918 case "(($ac_try" in
25919 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25920 *) ac_try_echo=$ac_try;;
25921 esac
25922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25923 (eval "$ac_link") 2>conftest.er1
25924 ac_status=$?
25925 grep -v '^ *+' conftest.er1 >conftest.err
25926 rm -f conftest.er1
25927 cat conftest.err >&5
25928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25929 (exit $ac_status); } && {
25930 test -z "$ac_c_werror_flag" ||
25931 test ! -s conftest.err
25932 } && test -s conftest$ac_exeext &&
25933 $as_test_x conftest$ac_exeext; then
25934 eval "$as_ac_var=yes"
25935 else
25936 echo "$as_me: failed program was:" >&5
25937 sed 's/^/| /' conftest.$ac_ext >&5
25938
25939 eval "$as_ac_var=no"
25940 fi
25941
25942 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25943 conftest$ac_exeext conftest.$ac_ext
25944 fi
25945 ac_res=`eval echo '${'$as_ac_var'}'`
25946 { echo "$as_me:$LINENO: result: $ac_res" >&5
25947 echo "${ECHO_T}$ac_res" >&6; }
25948 if test `eval echo '${'$as_ac_var'}'` = yes; then
25949 cat >>confdefs.h <<_ACEOF
25950 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25951 _ACEOF
25952 have_cos=1
25953 fi
25954 done
25955
25956
25957 for ac_func in floor
25958 do
25959 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25960 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25961 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25962 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25963 echo $ECHO_N "(cached) $ECHO_C" >&6
25964 else
25965 cat >conftest.$ac_ext <<_ACEOF
25966 /* confdefs.h. */
25967 _ACEOF
25968 cat confdefs.h >>conftest.$ac_ext
25969 cat >>conftest.$ac_ext <<_ACEOF
25970 /* end confdefs.h. */
25971 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25972 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25973 #define $ac_func innocuous_$ac_func
25974
25975 /* System header to define __stub macros and hopefully few prototypes,
25976 which can conflict with char $ac_func (); below.
25977 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25978 <limits.h> exists even on freestanding compilers. */
25979
25980 #ifdef __STDC__
25981 # include <limits.h>
25982 #else
25983 # include <assert.h>
25984 #endif
25985
25986 #undef $ac_func
25987
25988 /* Override any GCC internal prototype to avoid an error.
25989 Use char because int might match the return type of a GCC
25990 builtin and then its argument prototype would still apply. */
25991 #ifdef __cplusplus
25992 extern "C"
25993 #endif
25994 char $ac_func ();
25995 /* The GNU C library defines this for functions which it implements
25996 to always fail with ENOSYS. Some functions are actually named
25997 something starting with __ and the normal name is an alias. */
25998 #if defined __stub_$ac_func || defined __stub___$ac_func
25999 choke me
26000 #endif
26001
26002 int
26003 main ()
26004 {
26005 return $ac_func ();
26006 ;
26007 return 0;
26008 }
26009 _ACEOF
26010 rm -f conftest.$ac_objext conftest$ac_exeext
26011 if { (ac_try="$ac_link"
26012 case "(($ac_try" in
26013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26014 *) ac_try_echo=$ac_try;;
26015 esac
26016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26017 (eval "$ac_link") 2>conftest.er1
26018 ac_status=$?
26019 grep -v '^ *+' conftest.er1 >conftest.err
26020 rm -f conftest.er1
26021 cat conftest.err >&5
26022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26023 (exit $ac_status); } && {
26024 test -z "$ac_c_werror_flag" ||
26025 test ! -s conftest.err
26026 } && test -s conftest$ac_exeext &&
26027 $as_test_x conftest$ac_exeext; then
26028 eval "$as_ac_var=yes"
26029 else
26030 echo "$as_me: failed program was:" >&5
26031 sed 's/^/| /' conftest.$ac_ext >&5
26032
26033 eval "$as_ac_var=no"
26034 fi
26035
26036 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26037 conftest$ac_exeext conftest.$ac_ext
26038 fi
26039 ac_res=`eval echo '${'$as_ac_var'}'`
26040 { echo "$as_me:$LINENO: result: $ac_res" >&5
26041 echo "${ECHO_T}$ac_res" >&6; }
26042 if test `eval echo '${'$as_ac_var'}'` = yes; then
26043 cat >>confdefs.h <<_ACEOF
26044 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26045 _ACEOF
26046 have_floor=1
26047 fi
26048 done
26049
26050 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
26051 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
26052 if test "$have_cos" = 1 -a "$have_floor" = 1; then
26053 { echo "$as_me:$LINENO: result: yes" >&5
26054 echo "${ECHO_T}yes" >&6; }
26055 else
26056 { echo "$as_me:$LINENO: result: no" >&5
26057 echo "${ECHO_T}no" >&6; }
26058 LIBS="$LIBS -lm"
26059 # use different functions to avoid configure caching
26060 have_sin=0
26061 have_ceil=0
26062
26063 for ac_func in sin
26064 do
26065 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26066 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26067 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26068 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26069 echo $ECHO_N "(cached) $ECHO_C" >&6
26070 else
26071 cat >conftest.$ac_ext <<_ACEOF
26072 /* confdefs.h. */
26073 _ACEOF
26074 cat confdefs.h >>conftest.$ac_ext
26075 cat >>conftest.$ac_ext <<_ACEOF
26076 /* end confdefs.h. */
26077 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26078 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26079 #define $ac_func innocuous_$ac_func
26080
26081 /* System header to define __stub macros and hopefully few prototypes,
26082 which can conflict with char $ac_func (); below.
26083 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26084 <limits.h> exists even on freestanding compilers. */
26085
26086 #ifdef __STDC__
26087 # include <limits.h>
26088 #else
26089 # include <assert.h>
26090 #endif
26091
26092 #undef $ac_func
26093
26094 /* Override any GCC internal prototype to avoid an error.
26095 Use char because int might match the return type of a GCC
26096 builtin and then its argument prototype would still apply. */
26097 #ifdef __cplusplus
26098 extern "C"
26099 #endif
26100 char $ac_func ();
26101 /* The GNU C library defines this for functions which it implements
26102 to always fail with ENOSYS. Some functions are actually named
26103 something starting with __ and the normal name is an alias. */
26104 #if defined __stub_$ac_func || defined __stub___$ac_func
26105 choke me
26106 #endif
26107
26108 int
26109 main ()
26110 {
26111 return $ac_func ();
26112 ;
26113 return 0;
26114 }
26115 _ACEOF
26116 rm -f conftest.$ac_objext conftest$ac_exeext
26117 if { (ac_try="$ac_link"
26118 case "(($ac_try" in
26119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26120 *) ac_try_echo=$ac_try;;
26121 esac
26122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26123 (eval "$ac_link") 2>conftest.er1
26124 ac_status=$?
26125 grep -v '^ *+' conftest.er1 >conftest.err
26126 rm -f conftest.er1
26127 cat conftest.err >&5
26128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26129 (exit $ac_status); } && {
26130 test -z "$ac_c_werror_flag" ||
26131 test ! -s conftest.err
26132 } && test -s conftest$ac_exeext &&
26133 $as_test_x conftest$ac_exeext; then
26134 eval "$as_ac_var=yes"
26135 else
26136 echo "$as_me: failed program was:" >&5
26137 sed 's/^/| /' conftest.$ac_ext >&5
26138
26139 eval "$as_ac_var=no"
26140 fi
26141
26142 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26143 conftest$ac_exeext conftest.$ac_ext
26144 fi
26145 ac_res=`eval echo '${'$as_ac_var'}'`
26146 { echo "$as_me:$LINENO: result: $ac_res" >&5
26147 echo "${ECHO_T}$ac_res" >&6; }
26148 if test `eval echo '${'$as_ac_var'}'` = yes; then
26149 cat >>confdefs.h <<_ACEOF
26150 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26151 _ACEOF
26152 have_sin=1
26153 fi
26154 done
26155
26156
26157 for ac_func in ceil
26158 do
26159 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26160 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26161 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26162 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26163 echo $ECHO_N "(cached) $ECHO_C" >&6
26164 else
26165 cat >conftest.$ac_ext <<_ACEOF
26166 /* confdefs.h. */
26167 _ACEOF
26168 cat confdefs.h >>conftest.$ac_ext
26169 cat >>conftest.$ac_ext <<_ACEOF
26170 /* end confdefs.h. */
26171 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26172 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26173 #define $ac_func innocuous_$ac_func
26174
26175 /* System header to define __stub macros and hopefully few prototypes,
26176 which can conflict with char $ac_func (); below.
26177 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26178 <limits.h> exists even on freestanding compilers. */
26179
26180 #ifdef __STDC__
26181 # include <limits.h>
26182 #else
26183 # include <assert.h>
26184 #endif
26185
26186 #undef $ac_func
26187
26188 /* Override any GCC internal prototype to avoid an error.
26189 Use char because int might match the return type of a GCC
26190 builtin and then its argument prototype would still apply. */
26191 #ifdef __cplusplus
26192 extern "C"
26193 #endif
26194 char $ac_func ();
26195 /* The GNU C library defines this for functions which it implements
26196 to always fail with ENOSYS. Some functions are actually named
26197 something starting with __ and the normal name is an alias. */
26198 #if defined __stub_$ac_func || defined __stub___$ac_func
26199 choke me
26200 #endif
26201
26202 int
26203 main ()
26204 {
26205 return $ac_func ();
26206 ;
26207 return 0;
26208 }
26209 _ACEOF
26210 rm -f conftest.$ac_objext conftest$ac_exeext
26211 if { (ac_try="$ac_link"
26212 case "(($ac_try" in
26213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26214 *) ac_try_echo=$ac_try;;
26215 esac
26216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26217 (eval "$ac_link") 2>conftest.er1
26218 ac_status=$?
26219 grep -v '^ *+' conftest.er1 >conftest.err
26220 rm -f conftest.er1
26221 cat conftest.err >&5
26222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26223 (exit $ac_status); } && {
26224 test -z "$ac_c_werror_flag" ||
26225 test ! -s conftest.err
26226 } && test -s conftest$ac_exeext &&
26227 $as_test_x conftest$ac_exeext; then
26228 eval "$as_ac_var=yes"
26229 else
26230 echo "$as_me: failed program was:" >&5
26231 sed 's/^/| /' conftest.$ac_ext >&5
26232
26233 eval "$as_ac_var=no"
26234 fi
26235
26236 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26237 conftest$ac_exeext conftest.$ac_ext
26238 fi
26239 ac_res=`eval echo '${'$as_ac_var'}'`
26240 { echo "$as_me:$LINENO: result: $ac_res" >&5
26241 echo "${ECHO_T}$ac_res" >&6; }
26242 if test `eval echo '${'$as_ac_var'}'` = yes; then
26243 cat >>confdefs.h <<_ACEOF
26244 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26245 _ACEOF
26246 have_ceil=1
26247 fi
26248 done
26249
26250 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
26251 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
26252 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
26253 { echo "$as_me:$LINENO: result: yes" >&5
26254 echo "${ECHO_T}yes" >&6; }
26255 else
26256 { echo "$as_me:$LINENO: result: no" >&5
26257 echo "${ECHO_T}no" >&6; }
26258 # not sure we should warn the user, crash, etc.
26259 fi
26260 fi
26261
26262 ac_ext=cpp
26263 ac_cpp='$CXXCPP $CPPFLAGS'
26264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26267
26268 if test "wxUSE_UNICODE" = "yes"; then
26269
26270 for wx_func in wcstoull
26271 do
26272 { echo "$as_me:$LINENO: checking for $wx_func" >&5
26273 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
26274 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
26275 echo $ECHO_N "(cached) $ECHO_C" >&6
26276 else
26277
26278 cat >conftest.$ac_ext <<_ACEOF
26279
26280 /* confdefs.h. */
26281 _ACEOF
26282 cat confdefs.h >>conftest.$ac_ext
26283 cat >>conftest.$ac_ext <<_ACEOF
26284 /* end confdefs.h. */
26285
26286
26287 $ac_includes_default
26288
26289 int
26290 main ()
26291 {
26292
26293 #ifndef $wx_func
26294 &$wx_func;
26295 #endif
26296
26297
26298 ;
26299 return 0;
26300 }
26301
26302 _ACEOF
26303 rm -f conftest.$ac_objext conftest$ac_exeext
26304 if { (ac_try="$ac_link"
26305 case "(($ac_try" in
26306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26307 *) ac_try_echo=$ac_try;;
26308 esac
26309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26310 (eval "$ac_link") 2>conftest.er1
26311 ac_status=$?
26312 grep -v '^ *+' conftest.er1 >conftest.err
26313 rm -f conftest.er1
26314 cat conftest.err >&5
26315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26316 (exit $ac_status); } && {
26317 test -z "$ac_cxx_werror_flag" ||
26318 test ! -s conftest.err
26319 } && test -s conftest$ac_exeext &&
26320 $as_test_x conftest$ac_exeext; then
26321 eval wx_cv_func_$wx_func=yes
26322 else
26323 echo "$as_me: failed program was:" >&5
26324 sed 's/^/| /' conftest.$ac_ext >&5
26325
26326 eval wx_cv_func_$wx_func=no
26327 fi
26328
26329 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26330 conftest$ac_exeext conftest.$ac_ext
26331
26332 fi
26333 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
26334 { echo "$as_me:$LINENO: result: $ac_res" >&5
26335 echo "${ECHO_T}$ac_res" >&6; }
26336
26337 if eval test \$wx_cv_func_$wx_func = yes
26338 then
26339 cat >>confdefs.h <<_ACEOF
26340 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
26341 _ACEOF
26342
26343
26344 else
26345 :
26346
26347 fi
26348 done
26349
26350 else
26351
26352 for wx_func in strtoull
26353 do
26354 { echo "$as_me:$LINENO: checking for $wx_func" >&5
26355 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
26356 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
26357 echo $ECHO_N "(cached) $ECHO_C" >&6
26358 else
26359
26360 cat >conftest.$ac_ext <<_ACEOF
26361
26362 /* confdefs.h. */
26363 _ACEOF
26364 cat confdefs.h >>conftest.$ac_ext
26365 cat >>conftest.$ac_ext <<_ACEOF
26366 /* end confdefs.h. */
26367
26368
26369 $ac_includes_default
26370
26371 int
26372 main ()
26373 {
26374
26375 #ifndef $wx_func
26376 &$wx_func;
26377 #endif
26378
26379
26380 ;
26381 return 0;
26382 }
26383
26384 _ACEOF
26385 rm -f conftest.$ac_objext conftest$ac_exeext
26386 if { (ac_try="$ac_link"
26387 case "(($ac_try" in
26388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26389 *) ac_try_echo=$ac_try;;
26390 esac
26391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26392 (eval "$ac_link") 2>conftest.er1
26393 ac_status=$?
26394 grep -v '^ *+' conftest.er1 >conftest.err
26395 rm -f conftest.er1
26396 cat conftest.err >&5
26397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26398 (exit $ac_status); } && {
26399 test -z "$ac_cxx_werror_flag" ||
26400 test ! -s conftest.err
26401 } && test -s conftest$ac_exeext &&
26402 $as_test_x conftest$ac_exeext; then
26403 eval wx_cv_func_$wx_func=yes
26404 else
26405 echo "$as_me: failed program was:" >&5
26406 sed 's/^/| /' conftest.$ac_ext >&5
26407
26408 eval wx_cv_func_$wx_func=no
26409 fi
26410
26411 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26412 conftest$ac_exeext conftest.$ac_ext
26413
26414 fi
26415 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
26416 { echo "$as_me:$LINENO: result: $ac_res" >&5
26417 echo "${ECHO_T}$ac_res" >&6; }
26418
26419 if eval test \$wx_cv_func_$wx_func = yes
26420 then
26421 cat >>confdefs.h <<_ACEOF
26422 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
26423 _ACEOF
26424
26425
26426 else
26427 :
26428
26429 fi
26430 done
26431
26432 fi
26433 ac_ext=c
26434 ac_cpp='$CPP $CPPFLAGS'
26435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26438
26439
26440
26441
26442 if test "$wxUSE_REGEX" != "no"; then
26443 cat >>confdefs.h <<\_ACEOF
26444 #define wxUSE_REGEX 1
26445 _ACEOF
26446
26447
26448 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
26449 { echo "$as_me:$LINENO: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
26450 echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
26451 wxUSE_REGEX=builtin
26452 fi
26453
26454 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
26455 { echo "$as_me:$LINENO: checking for regex.h" >&5
26456 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
26457 if test "${ac_cv_header_regex_h+set}" = set; then
26458 echo $ECHO_N "(cached) $ECHO_C" >&6
26459 else
26460 cat >conftest.$ac_ext <<_ACEOF
26461 /* confdefs.h. */
26462 _ACEOF
26463 cat confdefs.h >>conftest.$ac_ext
26464 cat >>conftest.$ac_ext <<_ACEOF
26465 /* end confdefs.h. */
26466
26467
26468 #include <regex.h>
26469 _ACEOF
26470 rm -f conftest.$ac_objext
26471 if { (ac_try="$ac_compile"
26472 case "(($ac_try" in
26473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26474 *) ac_try_echo=$ac_try;;
26475 esac
26476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26477 (eval "$ac_compile") 2>conftest.er1
26478 ac_status=$?
26479 grep -v '^ *+' conftest.er1 >conftest.err
26480 rm -f conftest.er1
26481 cat conftest.err >&5
26482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26483 (exit $ac_status); } && {
26484 test -z "$ac_c_werror_flag" ||
26485 test ! -s conftest.err
26486 } && test -s conftest.$ac_objext; then
26487 ac_cv_header_regex_h=yes
26488 else
26489 echo "$as_me: failed program was:" >&5
26490 sed 's/^/| /' conftest.$ac_ext >&5
26491
26492 ac_cv_header_regex_h=no
26493 fi
26494
26495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26496 fi
26497 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
26498 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
26499 if test $ac_cv_header_regex_h = yes; then
26500
26501
26502 for ac_func in regcomp re_search
26503 do
26504 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26505 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26506 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26507 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26508 echo $ECHO_N "(cached) $ECHO_C" >&6
26509 else
26510 cat >conftest.$ac_ext <<_ACEOF
26511 /* confdefs.h. */
26512 _ACEOF
26513 cat confdefs.h >>conftest.$ac_ext
26514 cat >>conftest.$ac_ext <<_ACEOF
26515 /* end confdefs.h. */
26516 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26517 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26518 #define $ac_func innocuous_$ac_func
26519
26520 /* System header to define __stub macros and hopefully few prototypes,
26521 which can conflict with char $ac_func (); below.
26522 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26523 <limits.h> exists even on freestanding compilers. */
26524
26525 #ifdef __STDC__
26526 # include <limits.h>
26527 #else
26528 # include <assert.h>
26529 #endif
26530
26531 #undef $ac_func
26532
26533 /* Override any GCC internal prototype to avoid an error.
26534 Use char because int might match the return type of a GCC
26535 builtin and then its argument prototype would still apply. */
26536 #ifdef __cplusplus
26537 extern "C"
26538 #endif
26539 char $ac_func ();
26540 /* The GNU C library defines this for functions which it implements
26541 to always fail with ENOSYS. Some functions are actually named
26542 something starting with __ and the normal name is an alias. */
26543 #if defined __stub_$ac_func || defined __stub___$ac_func
26544 choke me
26545 #endif
26546
26547 int
26548 main ()
26549 {
26550 return $ac_func ();
26551 ;
26552 return 0;
26553 }
26554 _ACEOF
26555 rm -f conftest.$ac_objext conftest$ac_exeext
26556 if { (ac_try="$ac_link"
26557 case "(($ac_try" in
26558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26559 *) ac_try_echo=$ac_try;;
26560 esac
26561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26562 (eval "$ac_link") 2>conftest.er1
26563 ac_status=$?
26564 grep -v '^ *+' conftest.er1 >conftest.err
26565 rm -f conftest.er1
26566 cat conftest.err >&5
26567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26568 (exit $ac_status); } && {
26569 test -z "$ac_c_werror_flag" ||
26570 test ! -s conftest.err
26571 } && test -s conftest$ac_exeext &&
26572 $as_test_x conftest$ac_exeext; then
26573 eval "$as_ac_var=yes"
26574 else
26575 echo "$as_me: failed program was:" >&5
26576 sed 's/^/| /' conftest.$ac_ext >&5
26577
26578 eval "$as_ac_var=no"
26579 fi
26580
26581 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26582 conftest$ac_exeext conftest.$ac_ext
26583 fi
26584 ac_res=`eval echo '${'$as_ac_var'}'`
26585 { echo "$as_me:$LINENO: result: $ac_res" >&5
26586 echo "${ECHO_T}$ac_res" >&6; }
26587 if test `eval echo '${'$as_ac_var'}'` = yes; then
26588 cat >>confdefs.h <<_ACEOF
26589 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26590 _ACEOF
26591
26592 fi
26593 done
26594
26595 fi
26596
26597
26598
26599 if test "x$ac_cv_func_regcomp" != "xyes"; then
26600 if test "$wxUSE_REGEX" = "sys" ; then
26601 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
26602 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
26603 { (exit 1); exit 1; }; }
26604 else
26605 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
26606 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
26607 wxUSE_REGEX=builtin
26608 fi
26609 else
26610 wxUSE_REGEX=sys
26611 cat >>confdefs.h <<\_ACEOF
26612 #define WX_NO_REGEX_ADVANCED 1
26613 _ACEOF
26614
26615 fi
26616 fi
26617 fi
26618
26619
26620 ZLIB_LINK=
26621 if test "$wxUSE_ZLIB" != "no" ; then
26622 cat >>confdefs.h <<\_ACEOF
26623 #define wxUSE_ZLIB 1
26624 _ACEOF
26625
26626
26627 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
26628 if test "$USE_DARWIN" = 1; then
26629 system_zlib_h_ok="yes"
26630 else
26631 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
26632 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
26633 if test "${ac_cv_header_zlib_h+set}" = set; then
26634 echo $ECHO_N "(cached) $ECHO_C" >&6
26635 else
26636 if test "$cross_compiling" = yes; then
26637 unset ac_cv_header_zlib_h
26638
26639 else
26640 cat >conftest.$ac_ext <<_ACEOF
26641 /* confdefs.h. */
26642 _ACEOF
26643 cat confdefs.h >>conftest.$ac_ext
26644 cat >>conftest.$ac_ext <<_ACEOF
26645 /* end confdefs.h. */
26646
26647 #include <zlib.h>
26648 #include <stdio.h>
26649
26650 int main()
26651 {
26652 FILE *f=fopen("conftestval", "w");
26653 if (!f) exit(1);
26654 fprintf(f, "%s",
26655 ZLIB_VERSION[0] == '1' &&
26656 (ZLIB_VERSION[2] > '1' ||
26657 (ZLIB_VERSION[2] == '1' &&
26658 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
26659 exit(0);
26660 }
26661
26662 _ACEOF
26663 rm -f conftest$ac_exeext
26664 if { (ac_try="$ac_link"
26665 case "(($ac_try" in
26666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26667 *) ac_try_echo=$ac_try;;
26668 esac
26669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26670 (eval "$ac_link") 2>&5
26671 ac_status=$?
26672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26673 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26674 { (case "(($ac_try" in
26675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26676 *) ac_try_echo=$ac_try;;
26677 esac
26678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26679 (eval "$ac_try") 2>&5
26680 ac_status=$?
26681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26682 (exit $ac_status); }; }; then
26683 ac_cv_header_zlib_h=`cat conftestval`
26684 else
26685 echo "$as_me: program exited with status $ac_status" >&5
26686 echo "$as_me: failed program was:" >&5
26687 sed 's/^/| /' conftest.$ac_ext >&5
26688
26689 ( exit $ac_status )
26690 ac_cv_header_zlib_h=no
26691 fi
26692 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26693 fi
26694
26695
26696
26697 fi
26698 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26699 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26700 { echo "$as_me:$LINENO: checking for zlib.h" >&5
26701 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
26702 if test "${ac_cv_header_zlib_h+set}" = set; then
26703 echo $ECHO_N "(cached) $ECHO_C" >&6
26704 else
26705 cat >conftest.$ac_ext <<_ACEOF
26706 /* confdefs.h. */
26707 _ACEOF
26708 cat confdefs.h >>conftest.$ac_ext
26709 cat >>conftest.$ac_ext <<_ACEOF
26710 /* end confdefs.h. */
26711
26712
26713 #include <zlib.h>
26714 _ACEOF
26715 rm -f conftest.$ac_objext
26716 if { (ac_try="$ac_compile"
26717 case "(($ac_try" in
26718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26719 *) ac_try_echo=$ac_try;;
26720 esac
26721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26722 (eval "$ac_compile") 2>conftest.er1
26723 ac_status=$?
26724 grep -v '^ *+' conftest.er1 >conftest.err
26725 rm -f conftest.er1
26726 cat conftest.err >&5
26727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26728 (exit $ac_status); } && {
26729 test -z "$ac_c_werror_flag" ||
26730 test ! -s conftest.err
26731 } && test -s conftest.$ac_objext; then
26732 ac_cv_header_zlib_h=yes
26733 else
26734 echo "$as_me: failed program was:" >&5
26735 sed 's/^/| /' conftest.$ac_ext >&5
26736
26737 ac_cv_header_zlib_h=no
26738 fi
26739
26740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26741 fi
26742 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26743 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26744
26745
26746
26747 system_zlib_h_ok=$ac_cv_header_zlib_h
26748 fi
26749
26750 if test "$system_zlib_h_ok" = "yes"; then
26751 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
26752 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
26753 if test "${ac_cv_lib_z_deflate+set}" = set; then
26754 echo $ECHO_N "(cached) $ECHO_C" >&6
26755 else
26756 ac_check_lib_save_LIBS=$LIBS
26757 LIBS="-lz $LIBS"
26758 cat >conftest.$ac_ext <<_ACEOF
26759 /* confdefs.h. */
26760 _ACEOF
26761 cat confdefs.h >>conftest.$ac_ext
26762 cat >>conftest.$ac_ext <<_ACEOF
26763 /* end confdefs.h. */
26764
26765 /* Override any GCC internal prototype to avoid an error.
26766 Use char because int might match the return type of a GCC
26767 builtin and then its argument prototype would still apply. */
26768 #ifdef __cplusplus
26769 extern "C"
26770 #endif
26771 char deflate ();
26772 int
26773 main ()
26774 {
26775 return deflate ();
26776 ;
26777 return 0;
26778 }
26779 _ACEOF
26780 rm -f conftest.$ac_objext conftest$ac_exeext
26781 if { (ac_try="$ac_link"
26782 case "(($ac_try" in
26783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26784 *) ac_try_echo=$ac_try;;
26785 esac
26786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26787 (eval "$ac_link") 2>conftest.er1
26788 ac_status=$?
26789 grep -v '^ *+' conftest.er1 >conftest.err
26790 rm -f conftest.er1
26791 cat conftest.err >&5
26792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26793 (exit $ac_status); } && {
26794 test -z "$ac_c_werror_flag" ||
26795 test ! -s conftest.err
26796 } && test -s conftest$ac_exeext &&
26797 $as_test_x conftest$ac_exeext; then
26798 ac_cv_lib_z_deflate=yes
26799 else
26800 echo "$as_me: failed program was:" >&5
26801 sed 's/^/| /' conftest.$ac_ext >&5
26802
26803 ac_cv_lib_z_deflate=no
26804 fi
26805
26806 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26807 conftest$ac_exeext conftest.$ac_ext
26808 LIBS=$ac_check_lib_save_LIBS
26809 fi
26810 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
26811 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
26812 if test $ac_cv_lib_z_deflate = yes; then
26813 ZLIB_LINK=" -lz"
26814 fi
26815
26816 fi
26817
26818 if test "x$ZLIB_LINK" = "x" ; then
26819 if test "$wxUSE_ZLIB" = "sys" ; then
26820 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
26821 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
26822 { (exit 1); exit 1; }; }
26823 else
26824 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
26825 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
26826 wxUSE_ZLIB=builtin
26827 fi
26828 else
26829 wxUSE_ZLIB=sys
26830 fi
26831 fi
26832 fi
26833
26834
26835 PNG_LINK=
26836 if test "$wxUSE_LIBPNG" != "no" ; then
26837 cat >>confdefs.h <<\_ACEOF
26838 #define wxUSE_LIBPNG 1
26839 _ACEOF
26840
26841
26842 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
26843 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
26844 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
26845 wxUSE_LIBPNG=sys
26846 fi
26847
26848 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
26849 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
26850 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
26851 wxUSE_LIBPNG=builtin
26852 fi
26853
26854 if test "$wxUSE_MGL" != 1 ; then
26855 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
26856 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
26857 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
26858 if test "${ac_cv_header_png_h+set}" = set; then
26859 echo $ECHO_N "(cached) $ECHO_C" >&6
26860 else
26861 if test "$cross_compiling" = yes; then
26862 unset ac_cv_header_png_h
26863
26864 else
26865 cat >conftest.$ac_ext <<_ACEOF
26866 /* confdefs.h. */
26867 _ACEOF
26868 cat confdefs.h >>conftest.$ac_ext
26869 cat >>conftest.$ac_ext <<_ACEOF
26870 /* end confdefs.h. */
26871
26872 #include <png.h>
26873 #include <stdio.h>
26874
26875 int main()
26876 {
26877 FILE *f=fopen("conftestval", "w");
26878 if (!f) exit(1);
26879 fprintf(f, "%s",
26880 PNG_LIBPNG_VER > 90 ? "yes" : "no");
26881 exit(0);
26882 }
26883
26884 _ACEOF
26885 rm -f conftest$ac_exeext
26886 if { (ac_try="$ac_link"
26887 case "(($ac_try" in
26888 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26889 *) ac_try_echo=$ac_try;;
26890 esac
26891 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26892 (eval "$ac_link") 2>&5
26893 ac_status=$?
26894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26895 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26896 { (case "(($ac_try" in
26897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26898 *) ac_try_echo=$ac_try;;
26899 esac
26900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26901 (eval "$ac_try") 2>&5
26902 ac_status=$?
26903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26904 (exit $ac_status); }; }; then
26905 ac_cv_header_png_h=`cat conftestval`
26906 else
26907 echo "$as_me: program exited with status $ac_status" >&5
26908 echo "$as_me: failed program was:" >&5
26909 sed 's/^/| /' conftest.$ac_ext >&5
26910
26911 ( exit $ac_status )
26912 ac_cv_header_png_h=no
26913 fi
26914 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26915 fi
26916
26917
26918
26919 fi
26920 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26921 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26922 { echo "$as_me:$LINENO: checking for png.h" >&5
26923 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
26924 if test "${ac_cv_header_png_h+set}" = set; then
26925 echo $ECHO_N "(cached) $ECHO_C" >&6
26926 else
26927 cat >conftest.$ac_ext <<_ACEOF
26928 /* confdefs.h. */
26929 _ACEOF
26930 cat confdefs.h >>conftest.$ac_ext
26931 cat >>conftest.$ac_ext <<_ACEOF
26932 /* end confdefs.h. */
26933
26934
26935 #include <png.h>
26936 _ACEOF
26937 rm -f conftest.$ac_objext
26938 if { (ac_try="$ac_compile"
26939 case "(($ac_try" in
26940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26941 *) ac_try_echo=$ac_try;;
26942 esac
26943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26944 (eval "$ac_compile") 2>conftest.er1
26945 ac_status=$?
26946 grep -v '^ *+' conftest.er1 >conftest.err
26947 rm -f conftest.er1
26948 cat conftest.err >&5
26949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26950 (exit $ac_status); } && {
26951 test -z "$ac_c_werror_flag" ||
26952 test ! -s conftest.err
26953 } && test -s conftest.$ac_objext; then
26954 ac_cv_header_png_h=yes
26955 else
26956 echo "$as_me: failed program was:" >&5
26957 sed 's/^/| /' conftest.$ac_ext >&5
26958
26959 ac_cv_header_png_h=no
26960 fi
26961
26962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26963 fi
26964 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26965 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26966
26967
26968
26969 if test "$ac_cv_header_png_h" = "yes"; then
26970 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
26971 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
26972 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
26973 echo $ECHO_N "(cached) $ECHO_C" >&6
26974 else
26975 ac_check_lib_save_LIBS=$LIBS
26976 LIBS="-lpng -lz -lm $LIBS"
26977 cat >conftest.$ac_ext <<_ACEOF
26978 /* confdefs.h. */
26979 _ACEOF
26980 cat confdefs.h >>conftest.$ac_ext
26981 cat >>conftest.$ac_ext <<_ACEOF
26982 /* end confdefs.h. */
26983
26984 /* Override any GCC internal prototype to avoid an error.
26985 Use char because int might match the return type of a GCC
26986 builtin and then its argument prototype would still apply. */
26987 #ifdef __cplusplus
26988 extern "C"
26989 #endif
26990 char png_check_sig ();
26991 int
26992 main ()
26993 {
26994 return png_check_sig ();
26995 ;
26996 return 0;
26997 }
26998 _ACEOF
26999 rm -f conftest.$ac_objext conftest$ac_exeext
27000 if { (ac_try="$ac_link"
27001 case "(($ac_try" in
27002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27003 *) ac_try_echo=$ac_try;;
27004 esac
27005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27006 (eval "$ac_link") 2>conftest.er1
27007 ac_status=$?
27008 grep -v '^ *+' conftest.er1 >conftest.err
27009 rm -f conftest.er1
27010 cat conftest.err >&5
27011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27012 (exit $ac_status); } && {
27013 test -z "$ac_c_werror_flag" ||
27014 test ! -s conftest.err
27015 } && test -s conftest$ac_exeext &&
27016 $as_test_x conftest$ac_exeext; then
27017 ac_cv_lib_png_png_check_sig=yes
27018 else
27019 echo "$as_me: failed program was:" >&5
27020 sed 's/^/| /' conftest.$ac_ext >&5
27021
27022 ac_cv_lib_png_png_check_sig=no
27023 fi
27024
27025 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27026 conftest$ac_exeext conftest.$ac_ext
27027 LIBS=$ac_check_lib_save_LIBS
27028 fi
27029 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
27030 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
27031 if test $ac_cv_lib_png_png_check_sig = yes; then
27032 PNG_LINK=" -lpng -lz"
27033 fi
27034
27035 fi
27036
27037 if test "x$PNG_LINK" = "x" ; then
27038 if test "$wxUSE_LIBPNG" = "sys" ; then
27039 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
27040 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
27041 { (exit 1); exit 1; }; }
27042 else
27043 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
27044 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
27045 wxUSE_LIBPNG=builtin
27046 fi
27047 else
27048 wxUSE_LIBPNG=sys
27049 fi
27050 fi
27051 fi
27052 fi
27053
27054
27055 JPEG_LINK=
27056 if test "$wxUSE_LIBJPEG" != "no" ; then
27057 cat >>confdefs.h <<\_ACEOF
27058 #define wxUSE_LIBJPEG 1
27059 _ACEOF
27060
27061
27062 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
27063 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
27064 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
27065 wxUSE_LIBJPEG=sys
27066 fi
27067
27068 if test "$wxUSE_MGL" != 1 ; then
27069 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
27070 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
27071 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
27072 if test "${ac_cv_header_jpeglib_h+set}" = set; then
27073 echo $ECHO_N "(cached) $ECHO_C" >&6
27074 else
27075 cat >conftest.$ac_ext <<_ACEOF
27076 /* confdefs.h. */
27077 _ACEOF
27078 cat confdefs.h >>conftest.$ac_ext
27079 cat >>conftest.$ac_ext <<_ACEOF
27080 /* end confdefs.h. */
27081
27082 #undef HAVE_STDLIB_H
27083 #include <stdio.h>
27084 #include <jpeglib.h>
27085
27086 int
27087 main ()
27088 {
27089
27090
27091 ;
27092 return 0;
27093 }
27094 _ACEOF
27095 rm -f conftest.$ac_objext
27096 if { (ac_try="$ac_compile"
27097 case "(($ac_try" in
27098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27099 *) ac_try_echo=$ac_try;;
27100 esac
27101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27102 (eval "$ac_compile") 2>conftest.er1
27103 ac_status=$?
27104 grep -v '^ *+' conftest.er1 >conftest.err
27105 rm -f conftest.er1
27106 cat conftest.err >&5
27107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27108 (exit $ac_status); } && {
27109 test -z "$ac_c_werror_flag" ||
27110 test ! -s conftest.err
27111 } && test -s conftest.$ac_objext; then
27112 ac_cv_header_jpeglib_h=yes
27113 else
27114 echo "$as_me: failed program was:" >&5
27115 sed 's/^/| /' conftest.$ac_ext >&5
27116
27117 ac_cv_header_jpeglib_h=no
27118
27119 fi
27120
27121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27122
27123 fi
27124
27125 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
27126 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
27127
27128 if test "$ac_cv_header_jpeglib_h" = "yes"; then
27129 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
27130 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
27131 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
27132 echo $ECHO_N "(cached) $ECHO_C" >&6
27133 else
27134 ac_check_lib_save_LIBS=$LIBS
27135 LIBS="-ljpeg $LIBS"
27136 cat >conftest.$ac_ext <<_ACEOF
27137 /* confdefs.h. */
27138 _ACEOF
27139 cat confdefs.h >>conftest.$ac_ext
27140 cat >>conftest.$ac_ext <<_ACEOF
27141 /* end confdefs.h. */
27142
27143 /* Override any GCC internal prototype to avoid an error.
27144 Use char because int might match the return type of a GCC
27145 builtin and then its argument prototype would still apply. */
27146 #ifdef __cplusplus
27147 extern "C"
27148 #endif
27149 char jpeg_read_header ();
27150 int
27151 main ()
27152 {
27153 return jpeg_read_header ();
27154 ;
27155 return 0;
27156 }
27157 _ACEOF
27158 rm -f conftest.$ac_objext conftest$ac_exeext
27159 if { (ac_try="$ac_link"
27160 case "(($ac_try" in
27161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27162 *) ac_try_echo=$ac_try;;
27163 esac
27164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27165 (eval "$ac_link") 2>conftest.er1
27166 ac_status=$?
27167 grep -v '^ *+' conftest.er1 >conftest.err
27168 rm -f conftest.er1
27169 cat conftest.err >&5
27170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27171 (exit $ac_status); } && {
27172 test -z "$ac_c_werror_flag" ||
27173 test ! -s conftest.err
27174 } && test -s conftest$ac_exeext &&
27175 $as_test_x conftest$ac_exeext; then
27176 ac_cv_lib_jpeg_jpeg_read_header=yes
27177 else
27178 echo "$as_me: failed program was:" >&5
27179 sed 's/^/| /' conftest.$ac_ext >&5
27180
27181 ac_cv_lib_jpeg_jpeg_read_header=no
27182 fi
27183
27184 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27185 conftest$ac_exeext conftest.$ac_ext
27186 LIBS=$ac_check_lib_save_LIBS
27187 fi
27188 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
27189 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
27190 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
27191 JPEG_LINK=" -ljpeg"
27192 fi
27193
27194 fi
27195
27196 if test "x$JPEG_LINK" = "x" ; then
27197 if test "$wxUSE_LIBJPEG" = "sys" ; then
27198 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
27199 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
27200 { (exit 1); exit 1; }; }
27201 else
27202 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
27203 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
27204 wxUSE_LIBJPEG=builtin
27205 fi
27206 else
27207 wxUSE_LIBJPEG=sys
27208
27209 if test "$wxUSE_MSW" = 1; then
27210 { echo "$as_me:$LINENO: checking for boolean" >&5
27211 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
27212 if test "${ac_cv_type_boolean+set}" = set; then
27213 echo $ECHO_N "(cached) $ECHO_C" >&6
27214 else
27215 cat >conftest.$ac_ext <<_ACEOF
27216 /* confdefs.h. */
27217 _ACEOF
27218 cat confdefs.h >>conftest.$ac_ext
27219 cat >>conftest.$ac_ext <<_ACEOF
27220 /* end confdefs.h. */
27221 #include <windows.h>
27222
27223 typedef boolean ac__type_new_;
27224 int
27225 main ()
27226 {
27227 if ((ac__type_new_ *) 0)
27228 return 0;
27229 if (sizeof (ac__type_new_))
27230 return 0;
27231 ;
27232 return 0;
27233 }
27234 _ACEOF
27235 rm -f conftest.$ac_objext
27236 if { (ac_try="$ac_compile"
27237 case "(($ac_try" in
27238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27239 *) ac_try_echo=$ac_try;;
27240 esac
27241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27242 (eval "$ac_compile") 2>conftest.er1
27243 ac_status=$?
27244 grep -v '^ *+' conftest.er1 >conftest.err
27245 rm -f conftest.er1
27246 cat conftest.err >&5
27247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27248 (exit $ac_status); } && {
27249 test -z "$ac_c_werror_flag" ||
27250 test ! -s conftest.err
27251 } && test -s conftest.$ac_objext; then
27252 ac_cv_type_boolean=yes
27253 else
27254 echo "$as_me: failed program was:" >&5
27255 sed 's/^/| /' conftest.$ac_ext >&5
27256
27257 ac_cv_type_boolean=no
27258 fi
27259
27260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27261 fi
27262 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27263 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
27264 if test $ac_cv_type_boolean = yes; then
27265
27266 cat >>confdefs.h <<_ACEOF
27267 #define HAVE_BOOLEAN 1
27268 _ACEOF
27269
27270
27271 { echo "$as_me:$LINENO: checking for boolean" >&5
27272 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
27273 if test "${ac_cv_type_boolean+set}" = set; then
27274 echo $ECHO_N "(cached) $ECHO_C" >&6
27275 else
27276 cat >conftest.$ac_ext <<_ACEOF
27277 /* confdefs.h. */
27278 _ACEOF
27279 cat confdefs.h >>conftest.$ac_ext
27280 cat >>conftest.$ac_ext <<_ACEOF
27281 /* end confdefs.h. */
27282
27283 #undef HAVE_BOOLEAN
27284 #include <stdio.h>
27285 #include <jpeglib.h>
27286
27287
27288 typedef boolean ac__type_new_;
27289 int
27290 main ()
27291 {
27292 if ((ac__type_new_ *) 0)
27293 return 0;
27294 if (sizeof (ac__type_new_))
27295 return 0;
27296 ;
27297 return 0;
27298 }
27299 _ACEOF
27300 rm -f conftest.$ac_objext
27301 if { (ac_try="$ac_compile"
27302 case "(($ac_try" in
27303 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27304 *) ac_try_echo=$ac_try;;
27305 esac
27306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27307 (eval "$ac_compile") 2>conftest.er1
27308 ac_status=$?
27309 grep -v '^ *+' conftest.er1 >conftest.err
27310 rm -f conftest.er1
27311 cat conftest.err >&5
27312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27313 (exit $ac_status); } && {
27314 test -z "$ac_c_werror_flag" ||
27315 test ! -s conftest.err
27316 } && test -s conftest.$ac_objext; then
27317 ac_cv_type_boolean=yes
27318 else
27319 echo "$as_me: failed program was:" >&5
27320 sed 's/^/| /' conftest.$ac_ext >&5
27321
27322 ac_cv_type_boolean=no
27323 fi
27324
27325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27326 fi
27327 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27328 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
27329
27330 # The cast to long int works around a bug in the HP C Compiler
27331 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
27332 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
27333 # This bug is HP SR number 8606223364.
27334 { echo "$as_me:$LINENO: checking size of boolean" >&5
27335 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
27336 if test "${ac_cv_sizeof_boolean+set}" = set; then
27337 echo $ECHO_N "(cached) $ECHO_C" >&6
27338 else
27339 if test "$cross_compiling" = yes; then
27340 # Depending upon the size, compute the lo and hi bounds.
27341 cat >conftest.$ac_ext <<_ACEOF
27342 /* confdefs.h. */
27343 _ACEOF
27344 cat confdefs.h >>conftest.$ac_ext
27345 cat >>conftest.$ac_ext <<_ACEOF
27346 /* end confdefs.h. */
27347
27348 #undef HAVE_BOOLEAN
27349 #include <stdio.h>
27350 #include <jpeglib.h>
27351
27352
27353 typedef boolean ac__type_sizeof_;
27354 int
27355 main ()
27356 {
27357 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
27358 test_array [0] = 0
27359
27360 ;
27361 return 0;
27362 }
27363 _ACEOF
27364 rm -f conftest.$ac_objext
27365 if { (ac_try="$ac_compile"
27366 case "(($ac_try" in
27367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27368 *) ac_try_echo=$ac_try;;
27369 esac
27370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27371 (eval "$ac_compile") 2>conftest.er1
27372 ac_status=$?
27373 grep -v '^ *+' conftest.er1 >conftest.err
27374 rm -f conftest.er1
27375 cat conftest.err >&5
27376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27377 (exit $ac_status); } && {
27378 test -z "$ac_c_werror_flag" ||
27379 test ! -s conftest.err
27380 } && test -s conftest.$ac_objext; then
27381 ac_lo=0 ac_mid=0
27382 while :; do
27383 cat >conftest.$ac_ext <<_ACEOF
27384 /* confdefs.h. */
27385 _ACEOF
27386 cat confdefs.h >>conftest.$ac_ext
27387 cat >>conftest.$ac_ext <<_ACEOF
27388 /* end confdefs.h. */
27389
27390 #undef HAVE_BOOLEAN
27391 #include <stdio.h>
27392 #include <jpeglib.h>
27393
27394
27395 typedef boolean ac__type_sizeof_;
27396 int
27397 main ()
27398 {
27399 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27400 test_array [0] = 0
27401
27402 ;
27403 return 0;
27404 }
27405 _ACEOF
27406 rm -f conftest.$ac_objext
27407 if { (ac_try="$ac_compile"
27408 case "(($ac_try" in
27409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27410 *) ac_try_echo=$ac_try;;
27411 esac
27412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27413 (eval "$ac_compile") 2>conftest.er1
27414 ac_status=$?
27415 grep -v '^ *+' conftest.er1 >conftest.err
27416 rm -f conftest.er1
27417 cat conftest.err >&5
27418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27419 (exit $ac_status); } && {
27420 test -z "$ac_c_werror_flag" ||
27421 test ! -s conftest.err
27422 } && test -s conftest.$ac_objext; then
27423 ac_hi=$ac_mid; break
27424 else
27425 echo "$as_me: failed program was:" >&5
27426 sed 's/^/| /' conftest.$ac_ext >&5
27427
27428 ac_lo=`expr $ac_mid + 1`
27429 if test $ac_lo -le $ac_mid; then
27430 ac_lo= ac_hi=
27431 break
27432 fi
27433 ac_mid=`expr 2 '*' $ac_mid + 1`
27434 fi
27435
27436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27437 done
27438 else
27439 echo "$as_me: failed program was:" >&5
27440 sed 's/^/| /' conftest.$ac_ext >&5
27441
27442 cat >conftest.$ac_ext <<_ACEOF
27443 /* confdefs.h. */
27444 _ACEOF
27445 cat confdefs.h >>conftest.$ac_ext
27446 cat >>conftest.$ac_ext <<_ACEOF
27447 /* end confdefs.h. */
27448
27449 #undef HAVE_BOOLEAN
27450 #include <stdio.h>
27451 #include <jpeglib.h>
27452
27453
27454 typedef boolean ac__type_sizeof_;
27455 int
27456 main ()
27457 {
27458 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
27459 test_array [0] = 0
27460
27461 ;
27462 return 0;
27463 }
27464 _ACEOF
27465 rm -f conftest.$ac_objext
27466 if { (ac_try="$ac_compile"
27467 case "(($ac_try" in
27468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27469 *) ac_try_echo=$ac_try;;
27470 esac
27471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27472 (eval "$ac_compile") 2>conftest.er1
27473 ac_status=$?
27474 grep -v '^ *+' conftest.er1 >conftest.err
27475 rm -f conftest.er1
27476 cat conftest.err >&5
27477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27478 (exit $ac_status); } && {
27479 test -z "$ac_c_werror_flag" ||
27480 test ! -s conftest.err
27481 } && test -s conftest.$ac_objext; then
27482 ac_hi=-1 ac_mid=-1
27483 while :; do
27484 cat >conftest.$ac_ext <<_ACEOF
27485 /* confdefs.h. */
27486 _ACEOF
27487 cat confdefs.h >>conftest.$ac_ext
27488 cat >>conftest.$ac_ext <<_ACEOF
27489 /* end confdefs.h. */
27490
27491 #undef HAVE_BOOLEAN
27492 #include <stdio.h>
27493 #include <jpeglib.h>
27494
27495
27496 typedef boolean ac__type_sizeof_;
27497 int
27498 main ()
27499 {
27500 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
27501 test_array [0] = 0
27502
27503 ;
27504 return 0;
27505 }
27506 _ACEOF
27507 rm -f conftest.$ac_objext
27508 if { (ac_try="$ac_compile"
27509 case "(($ac_try" in
27510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27511 *) ac_try_echo=$ac_try;;
27512 esac
27513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27514 (eval "$ac_compile") 2>conftest.er1
27515 ac_status=$?
27516 grep -v '^ *+' conftest.er1 >conftest.err
27517 rm -f conftest.er1
27518 cat conftest.err >&5
27519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27520 (exit $ac_status); } && {
27521 test -z "$ac_c_werror_flag" ||
27522 test ! -s conftest.err
27523 } && test -s conftest.$ac_objext; then
27524 ac_lo=$ac_mid; break
27525 else
27526 echo "$as_me: failed program was:" >&5
27527 sed 's/^/| /' conftest.$ac_ext >&5
27528
27529 ac_hi=`expr '(' $ac_mid ')' - 1`
27530 if test $ac_mid -le $ac_hi; then
27531 ac_lo= ac_hi=
27532 break
27533 fi
27534 ac_mid=`expr 2 '*' $ac_mid`
27535 fi
27536
27537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27538 done
27539 else
27540 echo "$as_me: failed program was:" >&5
27541 sed 's/^/| /' conftest.$ac_ext >&5
27542
27543 ac_lo= ac_hi=
27544 fi
27545
27546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27547 fi
27548
27549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27550 # Binary search between lo and hi bounds.
27551 while test "x$ac_lo" != "x$ac_hi"; do
27552 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
27553 cat >conftest.$ac_ext <<_ACEOF
27554 /* confdefs.h. */
27555 _ACEOF
27556 cat confdefs.h >>conftest.$ac_ext
27557 cat >>conftest.$ac_ext <<_ACEOF
27558 /* end confdefs.h. */
27559
27560 #undef HAVE_BOOLEAN
27561 #include <stdio.h>
27562 #include <jpeglib.h>
27563
27564
27565 typedef boolean ac__type_sizeof_;
27566 int
27567 main ()
27568 {
27569 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27570 test_array [0] = 0
27571
27572 ;
27573 return 0;
27574 }
27575 _ACEOF
27576 rm -f conftest.$ac_objext
27577 if { (ac_try="$ac_compile"
27578 case "(($ac_try" in
27579 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27580 *) ac_try_echo=$ac_try;;
27581 esac
27582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27583 (eval "$ac_compile") 2>conftest.er1
27584 ac_status=$?
27585 grep -v '^ *+' conftest.er1 >conftest.err
27586 rm -f conftest.er1
27587 cat conftest.err >&5
27588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27589 (exit $ac_status); } && {
27590 test -z "$ac_c_werror_flag" ||
27591 test ! -s conftest.err
27592 } && test -s conftest.$ac_objext; then
27593 ac_hi=$ac_mid
27594 else
27595 echo "$as_me: failed program was:" >&5
27596 sed 's/^/| /' conftest.$ac_ext >&5
27597
27598 ac_lo=`expr '(' $ac_mid ')' + 1`
27599 fi
27600
27601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27602 done
27603 case $ac_lo in
27604 ?*) ac_cv_sizeof_boolean=$ac_lo;;
27605 '') if test "$ac_cv_type_boolean" = yes; then
27606 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27607 See \`config.log' for more details." >&5
27608 echo "$as_me: error: cannot compute sizeof (boolean)
27609 See \`config.log' for more details." >&2;}
27610 { (exit 77); exit 77; }; }
27611 else
27612 ac_cv_sizeof_boolean=0
27613 fi ;;
27614 esac
27615 else
27616 cat >conftest.$ac_ext <<_ACEOF
27617 /* confdefs.h. */
27618 _ACEOF
27619 cat confdefs.h >>conftest.$ac_ext
27620 cat >>conftest.$ac_ext <<_ACEOF
27621 /* end confdefs.h. */
27622
27623 #undef HAVE_BOOLEAN
27624 #include <stdio.h>
27625 #include <jpeglib.h>
27626
27627
27628 typedef boolean ac__type_sizeof_;
27629 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
27630 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
27631 #include <stdio.h>
27632 #include <stdlib.h>
27633 int
27634 main ()
27635 {
27636
27637 FILE *f = fopen ("conftest.val", "w");
27638 if (! f)
27639 return 1;
27640 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
27641 {
27642 long int i = longval ();
27643 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27644 return 1;
27645 fprintf (f, "%ld\n", i);
27646 }
27647 else
27648 {
27649 unsigned long int i = ulongval ();
27650 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27651 return 1;
27652 fprintf (f, "%lu\n", i);
27653 }
27654 return ferror (f) || fclose (f) != 0;
27655
27656 ;
27657 return 0;
27658 }
27659 _ACEOF
27660 rm -f conftest$ac_exeext
27661 if { (ac_try="$ac_link"
27662 case "(($ac_try" in
27663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27664 *) ac_try_echo=$ac_try;;
27665 esac
27666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27667 (eval "$ac_link") 2>&5
27668 ac_status=$?
27669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27670 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27671 { (case "(($ac_try" in
27672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27673 *) ac_try_echo=$ac_try;;
27674 esac
27675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27676 (eval "$ac_try") 2>&5
27677 ac_status=$?
27678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27679 (exit $ac_status); }; }; then
27680 ac_cv_sizeof_boolean=`cat conftest.val`
27681 else
27682 echo "$as_me: program exited with status $ac_status" >&5
27683 echo "$as_me: failed program was:" >&5
27684 sed 's/^/| /' conftest.$ac_ext >&5
27685
27686 ( exit $ac_status )
27687 if test "$ac_cv_type_boolean" = yes; then
27688 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27689 See \`config.log' for more details." >&5
27690 echo "$as_me: error: cannot compute sizeof (boolean)
27691 See \`config.log' for more details." >&2;}
27692 { (exit 77); exit 77; }; }
27693 else
27694 ac_cv_sizeof_boolean=0
27695 fi
27696 fi
27697 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27698 fi
27699 rm -f conftest.val
27700 fi
27701 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
27702 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
27703
27704
27705
27706 cat >>confdefs.h <<_ACEOF
27707 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
27708 _ACEOF
27709
27710
27711 cat >>confdefs.h <<_ACEOF
27712 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
27713 _ACEOF
27714
27715
27716 fi
27717
27718 fi
27719 fi
27720 fi
27721 fi
27722 fi
27723
27724
27725 TIFF_LINK=
27726 TIFF_PREREQ_LINKS=-lm
27727 if test "$wxUSE_LIBTIFF" != "no" ; then
27728 cat >>confdefs.h <<\_ACEOF
27729 #define wxUSE_LIBTIFF 1
27730 _ACEOF
27731
27732
27733 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
27734 if test "$wxUSE_LIBJPEG" = "sys"; then
27735 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
27736 fi
27737 if test "$wxUSE_ZLIB" = "sys"; then
27738 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
27739 fi
27740 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
27741 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
27742 if test "${ac_cv_header_tiffio_h+set}" = set; then
27743 echo $ECHO_N "(cached) $ECHO_C" >&6
27744 else
27745 cat >conftest.$ac_ext <<_ACEOF
27746 /* confdefs.h. */
27747 _ACEOF
27748 cat confdefs.h >>conftest.$ac_ext
27749 cat >>conftest.$ac_ext <<_ACEOF
27750 /* end confdefs.h. */
27751
27752
27753
27754 #include <tiffio.h>
27755 _ACEOF
27756 rm -f conftest.$ac_objext
27757 if { (ac_try="$ac_compile"
27758 case "(($ac_try" in
27759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27760 *) ac_try_echo=$ac_try;;
27761 esac
27762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27763 (eval "$ac_compile") 2>conftest.er1
27764 ac_status=$?
27765 grep -v '^ *+' conftest.er1 >conftest.err
27766 rm -f conftest.er1
27767 cat conftest.err >&5
27768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27769 (exit $ac_status); } && {
27770 test -z "$ac_c_werror_flag" ||
27771 test ! -s conftest.err
27772 } && test -s conftest.$ac_objext; then
27773 ac_cv_header_tiffio_h=yes
27774 else
27775 echo "$as_me: failed program was:" >&5
27776 sed 's/^/| /' conftest.$ac_ext >&5
27777
27778 ac_cv_header_tiffio_h=no
27779 fi
27780
27781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27782 fi
27783 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
27784 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
27785 if test $ac_cv_header_tiffio_h = yes; then
27786
27787 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
27788 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
27789 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
27790 echo $ECHO_N "(cached) $ECHO_C" >&6
27791 else
27792 ac_check_lib_save_LIBS=$LIBS
27793 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
27794 cat >conftest.$ac_ext <<_ACEOF
27795 /* confdefs.h. */
27796 _ACEOF
27797 cat confdefs.h >>conftest.$ac_ext
27798 cat >>conftest.$ac_ext <<_ACEOF
27799 /* end confdefs.h. */
27800
27801 /* Override any GCC internal prototype to avoid an error.
27802 Use char because int might match the return type of a GCC
27803 builtin and then its argument prototype would still apply. */
27804 #ifdef __cplusplus
27805 extern "C"
27806 #endif
27807 char TIFFError ();
27808 int
27809 main ()
27810 {
27811 return TIFFError ();
27812 ;
27813 return 0;
27814 }
27815 _ACEOF
27816 rm -f conftest.$ac_objext conftest$ac_exeext
27817 if { (ac_try="$ac_link"
27818 case "(($ac_try" in
27819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27820 *) ac_try_echo=$ac_try;;
27821 esac
27822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27823 (eval "$ac_link") 2>conftest.er1
27824 ac_status=$?
27825 grep -v '^ *+' conftest.er1 >conftest.err
27826 rm -f conftest.er1
27827 cat conftest.err >&5
27828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27829 (exit $ac_status); } && {
27830 test -z "$ac_c_werror_flag" ||
27831 test ! -s conftest.err
27832 } && test -s conftest$ac_exeext &&
27833 $as_test_x conftest$ac_exeext; then
27834 ac_cv_lib_tiff_TIFFError=yes
27835 else
27836 echo "$as_me: failed program was:" >&5
27837 sed 's/^/| /' conftest.$ac_ext >&5
27838
27839 ac_cv_lib_tiff_TIFFError=no
27840 fi
27841
27842 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27843 conftest$ac_exeext conftest.$ac_ext
27844 LIBS=$ac_check_lib_save_LIBS
27845 fi
27846 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
27847 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
27848 if test $ac_cv_lib_tiff_TIFFError = yes; then
27849 TIFF_LINK=" -ltiff"
27850 fi
27851
27852
27853 fi
27854
27855
27856
27857 if test "x$TIFF_LINK" = "x" ; then
27858 if test "$wxUSE_LIBTIFF" = "sys" ; then
27859 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
27860 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
27861 { (exit 1); exit 1; }; }
27862 else
27863 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
27864 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
27865 wxUSE_LIBTIFF=builtin
27866 fi
27867 else
27868 wxUSE_LIBTIFF=sys
27869 fi
27870 fi
27871 if test "$wxUSE_LIBTIFF" = "builtin" ; then
27872 if test "$wxUSE_LIBJPEG" = "no"; then
27873 ac_configure_args="$ac_configure_args --disable-jpeg"
27874 fi
27875 subdirs="$subdirs src/tiff"
27876
27877 fi
27878 fi
27879
27880
27881 if test "$wxUSE_WCHAR_T" != "yes"; then
27882 if test "$wxUSE_EXPAT" != "no"; then
27883 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
27884 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
27885 wxUSE_EXPAT=no
27886 fi
27887 if test "$wxUSE_XML" != "no"; then
27888 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
27889 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
27890 wxUSE_XML=no
27891 fi
27892 fi
27893
27894 if test "$wxUSE_EXPAT" != "no"; then
27895 wxUSE_XML=yes
27896 cat >>confdefs.h <<\_ACEOF
27897 #define wxUSE_EXPAT 1
27898 _ACEOF
27899
27900 cat >>confdefs.h <<\_ACEOF
27901 #define wxUSE_XML 1
27902 _ACEOF
27903
27904
27905 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
27906 { echo "$as_me:$LINENO: checking for expat.h" >&5
27907 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
27908 if test "${ac_cv_header_expat_h+set}" = set; then
27909 echo $ECHO_N "(cached) $ECHO_C" >&6
27910 else
27911 cat >conftest.$ac_ext <<_ACEOF
27912 /* confdefs.h. */
27913 _ACEOF
27914 cat confdefs.h >>conftest.$ac_ext
27915 cat >>conftest.$ac_ext <<_ACEOF
27916 /* end confdefs.h. */
27917
27918
27919 #include <expat.h>
27920 _ACEOF
27921 rm -f conftest.$ac_objext
27922 if { (ac_try="$ac_compile"
27923 case "(($ac_try" in
27924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27925 *) ac_try_echo=$ac_try;;
27926 esac
27927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27928 (eval "$ac_compile") 2>conftest.er1
27929 ac_status=$?
27930 grep -v '^ *+' conftest.er1 >conftest.err
27931 rm -f conftest.er1
27932 cat conftest.err >&5
27933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27934 (exit $ac_status); } && {
27935 test -z "$ac_c_werror_flag" ||
27936 test ! -s conftest.err
27937 } && test -s conftest.$ac_objext; then
27938 ac_cv_header_expat_h=yes
27939 else
27940 echo "$as_me: failed program was:" >&5
27941 sed 's/^/| /' conftest.$ac_ext >&5
27942
27943 ac_cv_header_expat_h=no
27944 fi
27945
27946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27947 fi
27948 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
27949 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
27950 if test $ac_cv_header_expat_h = yes; then
27951 found_expat_h=1
27952 fi
27953
27954
27955 if test "x$found_expat_h" = "x1"; then
27956 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
27957 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
27958 if test "${wx_cv_expat_is_not_broken+set}" = set; then
27959 echo $ECHO_N "(cached) $ECHO_C" >&6
27960 else
27961
27962 ac_ext=cpp
27963 ac_cpp='$CXXCPP $CPPFLAGS'
27964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27965 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27967
27968 cat >conftest.$ac_ext <<_ACEOF
27969 /* confdefs.h. */
27970 _ACEOF
27971 cat confdefs.h >>conftest.$ac_ext
27972 cat >>conftest.$ac_ext <<_ACEOF
27973 /* end confdefs.h. */
27974 #include <expat.h>
27975 int
27976 main ()
27977 {
27978
27979 ;
27980 return 0;
27981 }
27982 _ACEOF
27983 rm -f conftest.$ac_objext
27984 if { (ac_try="$ac_compile"
27985 case "(($ac_try" in
27986 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27987 *) ac_try_echo=$ac_try;;
27988 esac
27989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27990 (eval "$ac_compile") 2>conftest.er1
27991 ac_status=$?
27992 grep -v '^ *+' conftest.er1 >conftest.err
27993 rm -f conftest.er1
27994 cat conftest.err >&5
27995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27996 (exit $ac_status); } && {
27997 test -z "$ac_cxx_werror_flag" ||
27998 test ! -s conftest.err
27999 } && test -s conftest.$ac_objext; then
28000 wx_cv_expat_is_not_broken=yes
28001 else
28002 echo "$as_me: failed program was:" >&5
28003 sed 's/^/| /' conftest.$ac_ext >&5
28004
28005 wx_cv_expat_is_not_broken=no
28006
28007 fi
28008
28009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28010 ac_ext=c
28011 ac_cpp='$CPP $CPPFLAGS'
28012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28015
28016
28017
28018 fi
28019 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
28020 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
28021 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
28022 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
28023 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
28024 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
28025 echo $ECHO_N "(cached) $ECHO_C" >&6
28026 else
28027 ac_check_lib_save_LIBS=$LIBS
28028 LIBS="-lexpat $LIBS"
28029 cat >conftest.$ac_ext <<_ACEOF
28030 /* confdefs.h. */
28031 _ACEOF
28032 cat confdefs.h >>conftest.$ac_ext
28033 cat >>conftest.$ac_ext <<_ACEOF
28034 /* end confdefs.h. */
28035
28036 /* Override any GCC internal prototype to avoid an error.
28037 Use char because int might match the return type of a GCC
28038 builtin and then its argument prototype would still apply. */
28039 #ifdef __cplusplus
28040 extern "C"
28041 #endif
28042 char XML_ParserCreate ();
28043 int
28044 main ()
28045 {
28046 return XML_ParserCreate ();
28047 ;
28048 return 0;
28049 }
28050 _ACEOF
28051 rm -f conftest.$ac_objext conftest$ac_exeext
28052 if { (ac_try="$ac_link"
28053 case "(($ac_try" in
28054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28055 *) ac_try_echo=$ac_try;;
28056 esac
28057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28058 (eval "$ac_link") 2>conftest.er1
28059 ac_status=$?
28060 grep -v '^ *+' conftest.er1 >conftest.err
28061 rm -f conftest.er1
28062 cat conftest.err >&5
28063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28064 (exit $ac_status); } && {
28065 test -z "$ac_c_werror_flag" ||
28066 test ! -s conftest.err
28067 } && test -s conftest$ac_exeext &&
28068 $as_test_x conftest$ac_exeext; then
28069 ac_cv_lib_expat_XML_ParserCreate=yes
28070 else
28071 echo "$as_me: failed program was:" >&5
28072 sed 's/^/| /' conftest.$ac_ext >&5
28073
28074 ac_cv_lib_expat_XML_ParserCreate=no
28075 fi
28076
28077 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28078 conftest$ac_exeext conftest.$ac_ext
28079 LIBS=$ac_check_lib_save_LIBS
28080 fi
28081 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
28082 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
28083 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
28084 EXPAT_LINK=" -lexpat"
28085 fi
28086
28087 fi
28088 fi
28089 if test "x$EXPAT_LINK" = "x" ; then
28090 if test "$wxUSE_EXPAT" = "sys" ; then
28091 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
28092 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
28093 { (exit 1); exit 1; }; }
28094 else
28095 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
28096 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
28097 wxUSE_EXPAT=builtin
28098 fi
28099 else
28100 wxUSE_EXPAT=sys
28101 fi
28102 fi
28103 if test "$wxUSE_EXPAT" = "builtin" ; then
28104 subdirs="$subdirs src/expat"
28105
28106 fi
28107 fi
28108
28109
28110
28111 if test "$wxUSE_LIBMSPACK" != "no"; then
28112 { echo "$as_me:$LINENO: checking for mspack.h" >&5
28113 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
28114 if test "${ac_cv_header_mspack_h+set}" = set; then
28115 echo $ECHO_N "(cached) $ECHO_C" >&6
28116 else
28117 cat >conftest.$ac_ext <<_ACEOF
28118 /* confdefs.h. */
28119 _ACEOF
28120 cat confdefs.h >>conftest.$ac_ext
28121 cat >>conftest.$ac_ext <<_ACEOF
28122 /* end confdefs.h. */
28123
28124
28125 #include <mspack.h>
28126 _ACEOF
28127 rm -f conftest.$ac_objext
28128 if { (ac_try="$ac_compile"
28129 case "(($ac_try" in
28130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28131 *) ac_try_echo=$ac_try;;
28132 esac
28133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28134 (eval "$ac_compile") 2>conftest.er1
28135 ac_status=$?
28136 grep -v '^ *+' conftest.er1 >conftest.err
28137 rm -f conftest.er1
28138 cat conftest.err >&5
28139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28140 (exit $ac_status); } && {
28141 test -z "$ac_c_werror_flag" ||
28142 test ! -s conftest.err
28143 } && test -s conftest.$ac_objext; then
28144 ac_cv_header_mspack_h=yes
28145 else
28146 echo "$as_me: failed program was:" >&5
28147 sed 's/^/| /' conftest.$ac_ext >&5
28148
28149 ac_cv_header_mspack_h=no
28150 fi
28151
28152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28153 fi
28154 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
28155 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
28156 if test $ac_cv_header_mspack_h = yes; then
28157 found_mspack_h=1
28158 fi
28159
28160
28161 if test "x$found_mspack_h" = "x1"; then
28162 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
28163 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
28164 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
28165 echo $ECHO_N "(cached) $ECHO_C" >&6
28166 else
28167 ac_check_lib_save_LIBS=$LIBS
28168 LIBS="-lmspack $LIBS"
28169 cat >conftest.$ac_ext <<_ACEOF
28170 /* confdefs.h. */
28171 _ACEOF
28172 cat confdefs.h >>conftest.$ac_ext
28173 cat >>conftest.$ac_ext <<_ACEOF
28174 /* end confdefs.h. */
28175
28176 /* Override any GCC internal prototype to avoid an error.
28177 Use char because int might match the return type of a GCC
28178 builtin and then its argument prototype would still apply. */
28179 #ifdef __cplusplus
28180 extern "C"
28181 #endif
28182 char mspack_create_chm_decompressor ();
28183 int
28184 main ()
28185 {
28186 return mspack_create_chm_decompressor ();
28187 ;
28188 return 0;
28189 }
28190 _ACEOF
28191 rm -f conftest.$ac_objext conftest$ac_exeext
28192 if { (ac_try="$ac_link"
28193 case "(($ac_try" in
28194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28195 *) ac_try_echo=$ac_try;;
28196 esac
28197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28198 (eval "$ac_link") 2>conftest.er1
28199 ac_status=$?
28200 grep -v '^ *+' conftest.er1 >conftest.err
28201 rm -f conftest.er1
28202 cat conftest.err >&5
28203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28204 (exit $ac_status); } && {
28205 test -z "$ac_c_werror_flag" ||
28206 test ! -s conftest.err
28207 } && test -s conftest$ac_exeext &&
28208 $as_test_x conftest$ac_exeext; then
28209 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
28210 else
28211 echo "$as_me: failed program was:" >&5
28212 sed 's/^/| /' conftest.$ac_ext >&5
28213
28214 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
28215 fi
28216
28217 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28218 conftest$ac_exeext conftest.$ac_ext
28219 LIBS=$ac_check_lib_save_LIBS
28220 fi
28221 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
28222 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
28223 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
28224 MSPACK_LINK=" -lmspack"
28225 fi
28226
28227 fi
28228 if test "x$MSPACK_LINK" = "x" ; then
28229 wxUSE_LIBMSPACK=no
28230 fi
28231 fi
28232
28233 if test "$wxUSE_LIBMSPACK" != "no"; then
28234 cat >>confdefs.h <<\_ACEOF
28235 #define wxUSE_LIBMSPACK 1
28236 _ACEOF
28237
28238 fi
28239
28240
28241
28242 AFMINSTALL=
28243 WIN32INSTALL=
28244
28245 TOOLKIT=
28246 TOOLKIT_INCLUDE=
28247 WIDGET_SET=
28248
28249 if test "$USE_WIN32" = 1 ; then
28250
28251 for ac_header in w32api.h
28252 do
28253 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28254 { echo "$as_me:$LINENO: checking for $ac_header" >&5
28255 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
28256 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28257 echo $ECHO_N "(cached) $ECHO_C" >&6
28258 else
28259 cat >conftest.$ac_ext <<_ACEOF
28260 /* confdefs.h. */
28261 _ACEOF
28262 cat confdefs.h >>conftest.$ac_ext
28263 cat >>conftest.$ac_ext <<_ACEOF
28264 /* end confdefs.h. */
28265
28266
28267 #include <$ac_header>
28268 _ACEOF
28269 rm -f conftest.$ac_objext
28270 if { (ac_try="$ac_compile"
28271 case "(($ac_try" in
28272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28273 *) ac_try_echo=$ac_try;;
28274 esac
28275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28276 (eval "$ac_compile") 2>conftest.er1
28277 ac_status=$?
28278 grep -v '^ *+' conftest.er1 >conftest.err
28279 rm -f conftest.er1
28280 cat conftest.err >&5
28281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28282 (exit $ac_status); } && {
28283 test -z "$ac_c_werror_flag" ||
28284 test ! -s conftest.err
28285 } && test -s conftest.$ac_objext; then
28286 eval "$as_ac_Header=yes"
28287 else
28288 echo "$as_me: failed program was:" >&5
28289 sed 's/^/| /' conftest.$ac_ext >&5
28290
28291 eval "$as_ac_Header=no"
28292 fi
28293
28294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28295 fi
28296 ac_res=`eval echo '${'$as_ac_Header'}'`
28297 { echo "$as_me:$LINENO: result: $ac_res" >&5
28298 echo "${ECHO_T}$ac_res" >&6; }
28299 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28300 cat >>confdefs.h <<_ACEOF
28301 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28302 _ACEOF
28303
28304 fi
28305
28306 done
28307
28308 { echo "$as_me:$LINENO: checking for windows.h" >&5
28309 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
28310 if test "${ac_cv_header_windows_h+set}" = set; then
28311 echo $ECHO_N "(cached) $ECHO_C" >&6
28312 else
28313 cat >conftest.$ac_ext <<_ACEOF
28314 /* confdefs.h. */
28315 _ACEOF
28316 cat confdefs.h >>conftest.$ac_ext
28317 cat >>conftest.$ac_ext <<_ACEOF
28318 /* end confdefs.h. */
28319
28320
28321 #include <windows.h>
28322 _ACEOF
28323 rm -f conftest.$ac_objext
28324 if { (ac_try="$ac_compile"
28325 case "(($ac_try" in
28326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28327 *) ac_try_echo=$ac_try;;
28328 esac
28329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28330 (eval "$ac_compile") 2>conftest.er1
28331 ac_status=$?
28332 grep -v '^ *+' conftest.er1 >conftest.err
28333 rm -f conftest.er1
28334 cat conftest.err >&5
28335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28336 (exit $ac_status); } && {
28337 test -z "$ac_c_werror_flag" ||
28338 test ! -s conftest.err
28339 } && test -s conftest.$ac_objext; then
28340 ac_cv_header_windows_h=yes
28341 else
28342 echo "$as_me: failed program was:" >&5
28343 sed 's/^/| /' conftest.$ac_ext >&5
28344
28345 ac_cv_header_windows_h=no
28346 fi
28347
28348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28349 fi
28350 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
28351 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
28352 if test $ac_cv_header_windows_h = yes; then
28353 :
28354 else
28355
28356 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
28357 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
28358 { (exit 1); exit 1; }; }
28359
28360 fi
28361
28362
28363
28364 case "${host}" in
28365 x86_64-*-mingw32* )
28366 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lwctl3d32 -ladvapi32 -lwsock32 -lgdi32"
28367
28368 WINDRES_CPU_DEFINE="--define WX_CPU_AMD64"
28369 ;;
28370 * )
28371 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
28372 ;;
28373 esac
28374 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
28375 LIBS="$LIBS -loleacc"
28376 fi
28377
28378 case "${host}" in
28379 *-*-cygwin* )
28380 LIBS="$LIBS -lkernel32 -luser32"
28381 esac
28382
28383 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
28384 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
28385
28386 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
28387
28388 WIN32INSTALL=win32install
28389
28390 { echo "$as_me:$LINENO: checking for pbt.h" >&5
28391 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6; }
28392 if test "${ac_cv_header_pbt_h+set}" = set; then
28393 echo $ECHO_N "(cached) $ECHO_C" >&6
28394 else
28395 cat >conftest.$ac_ext <<_ACEOF
28396 /* confdefs.h. */
28397 _ACEOF
28398 cat confdefs.h >>conftest.$ac_ext
28399 cat >>conftest.$ac_ext <<_ACEOF
28400 /* end confdefs.h. */
28401
28402
28403 #include <pbt.h>
28404 _ACEOF
28405 rm -f conftest.$ac_objext
28406 if { (ac_try="$ac_compile"
28407 case "(($ac_try" in
28408 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28409 *) ac_try_echo=$ac_try;;
28410 esac
28411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28412 (eval "$ac_compile") 2>conftest.er1
28413 ac_status=$?
28414 grep -v '^ *+' conftest.er1 >conftest.err
28415 rm -f conftest.er1
28416 cat conftest.err >&5
28417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28418 (exit $ac_status); } && {
28419 test -z "$ac_c_werror_flag" ||
28420 test ! -s conftest.err
28421 } && test -s conftest.$ac_objext; then
28422 ac_cv_header_pbt_h=yes
28423 else
28424 echo "$as_me: failed program was:" >&5
28425 sed 's/^/| /' conftest.$ac_ext >&5
28426
28427 ac_cv_header_pbt_h=no
28428 fi
28429
28430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28431 fi
28432 { echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
28433 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
28434 if test $ac_cv_header_pbt_h = yes; then
28435 :
28436 else
28437 cat >>confdefs.h <<\_ACEOF
28438 #define NEED_PBT_H 1
28439 _ACEOF
28440
28441 fi
28442
28443
28444 fi
28445
28446 if test "$wxUSE_GUI" = "yes"; then
28447 USE_GUI=1
28448
28449 GUI_TK_LIBRARY=
28450
28451 WXGTK12=
28452 WXGTK127=
28453 WXGTK2=
28454 WXGPE=
28455
28456 if test "$wxUSE_COCOA" = 1 ; then
28457 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
28458 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
28459 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
28460 wxUSE_PRINTING_ARCHITECTURE=no
28461 fi
28462 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
28463 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
28464 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
28465 wxUSE_DRAG_AND_DROP=no
28466 fi
28467 if test "$wxUSE_DRAGIMAGE" = "yes"; then
28468 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
28469 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
28470 wxUSE_DRAGIMAGE=no
28471 fi
28472 fi
28473
28474 if test "$wxUSE_MSW" = 1 ; then
28475 TOOLKIT=MSW
28476 GUIDIST=MSW_DIST
28477
28478 case "${host}" in
28479 *-*-mingw32* )
28480 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
28481 esac
28482 fi
28483
28484 if test "$wxUSE_GTK" = 1; then
28485 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
28486 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
28487
28488 gtk_version_cached=1
28489 if test "${wx_cv_lib_gtk+set}" = set; then
28490 echo $ECHO_N "(cached) $ECHO_C" >&6
28491 else
28492
28493 gtk_version_cached=0
28494 { echo "$as_me:$LINENO: result: " >&5
28495 echo "${ECHO_T}" >&6; }
28496
28497 GTK_MODULES=
28498 if test "$wxUSE_THREADS" = "yes"; then
28499 GTK_MODULES=gthread
28500 fi
28501
28502 wx_cv_lib_gtk=
28503 if test "x$wxGTK_VERSION" != "x1"
28504 then
28505 case "${host}" in
28506 *-*-solaris2* )
28507 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
28508 enable_gtktest=no
28509 fi
28510 esac
28511
28512 # Check whether --enable-gtktest was given.
28513 if test "${enable_gtktest+set}" = set; then
28514 enableval=$enable_gtktest;
28515 else
28516 enable_gtktest=yes
28517 fi
28518
28519
28520 pkg_config_args=gtk+-2.0
28521 for module in . $GTK_MODULES
28522 do
28523 case "$module" in
28524 gthread)
28525 pkg_config_args="$pkg_config_args gthread-2.0"
28526 ;;
28527 esac
28528 done
28529
28530 no_gtk=""
28531
28532 # Extract the first word of "pkg-config", so it can be a program name with args.
28533 set dummy pkg-config; ac_word=$2
28534 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28535 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28536 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28537 echo $ECHO_N "(cached) $ECHO_C" >&6
28538 else
28539 case $PKG_CONFIG in
28540 [\\/]* | ?:[\\/]*)
28541 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28542 ;;
28543 *)
28544 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28545 for as_dir in $PATH
28546 do
28547 IFS=$as_save_IFS
28548 test -z "$as_dir" && as_dir=.
28549 for ac_exec_ext in '' $ac_executable_extensions; do
28550 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28551 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28552 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28553 break 2
28554 fi
28555 done
28556 done
28557 IFS=$as_save_IFS
28558
28559 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
28560 ;;
28561 esac
28562 fi
28563 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28564 if test -n "$PKG_CONFIG"; then
28565 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
28566 echo "${ECHO_T}$PKG_CONFIG" >&6; }
28567 else
28568 { echo "$as_me:$LINENO: result: no" >&5
28569 echo "${ECHO_T}no" >&6; }
28570 fi
28571
28572
28573
28574 if test x$PKG_CONFIG != xno ; then
28575 if pkg-config --atleast-pkgconfig-version 0.7 ; then
28576 :
28577 else
28578 echo "*** pkg-config too old; version 0.7 or better required."
28579 no_gtk=yes
28580 PKG_CONFIG=no
28581 fi
28582 else
28583 no_gtk=yes
28584 fi
28585
28586 min_gtk_version=2.4.0
28587 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
28588 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
28589
28590 if test x$PKG_CONFIG != xno ; then
28591 ## don't try to run the test against uninstalled libtool libs
28592 if $PKG_CONFIG --uninstalled $pkg_config_args; then
28593 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
28594 enable_gtktest=no
28595 fi
28596
28597 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
28598 :
28599 else
28600 no_gtk=yes
28601 fi
28602 fi
28603
28604 if test x"$no_gtk" = x ; then
28605 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
28606 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
28607 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28608 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28609 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28610 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28611 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28612 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28613 if test "x$enable_gtktest" = "xyes" ; then
28614 ac_save_CFLAGS="$CFLAGS"
28615 ac_save_LIBS="$LIBS"
28616 CFLAGS="$CFLAGS $GTK_CFLAGS"
28617 LIBS="$GTK_LIBS $LIBS"
28618 rm -f conf.gtktest
28619 if test "$cross_compiling" = yes; then
28620 echo $ac_n "cross compiling; assumed OK... $ac_c"
28621 else
28622 cat >conftest.$ac_ext <<_ACEOF
28623 /* confdefs.h. */
28624 _ACEOF
28625 cat confdefs.h >>conftest.$ac_ext
28626 cat >>conftest.$ac_ext <<_ACEOF
28627 /* end confdefs.h. */
28628
28629 #include <gtk/gtk.h>
28630 #include <stdio.h>
28631 #include <stdlib.h>
28632
28633 int
28634 main ()
28635 {
28636 int major, minor, micro;
28637 char *tmp_version;
28638
28639 system ("touch conf.gtktest");
28640
28641 /* HP/UX 9 (%@#!) writes to sscanf strings */
28642 tmp_version = g_strdup("$min_gtk_version");
28643 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28644 printf("%s, bad version string\n", "$min_gtk_version");
28645 exit(1);
28646 }
28647
28648 if ((gtk_major_version != $gtk_config_major_version) ||
28649 (gtk_minor_version != $gtk_config_minor_version) ||
28650 (gtk_micro_version != $gtk_config_micro_version))
28651 {
28652 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28653 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28654 gtk_major_version, gtk_minor_version, gtk_micro_version);
28655 printf ("*** was found! If pkg-config was correct, then it is best\n");
28656 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28657 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28658 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28659 printf("*** required on your system.\n");
28660 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
28661 printf("*** to point to the correct configuration files\n");
28662 }
28663 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28664 (gtk_minor_version != GTK_MINOR_VERSION) ||
28665 (gtk_micro_version != GTK_MICRO_VERSION))
28666 {
28667 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28668 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28669 printf("*** library (version %d.%d.%d)\n",
28670 gtk_major_version, gtk_minor_version, gtk_micro_version);
28671 }
28672 else
28673 {
28674 if ((gtk_major_version > major) ||
28675 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28676 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28677 {
28678 return 0;
28679 }
28680 else
28681 {
28682 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28683 gtk_major_version, gtk_minor_version, gtk_micro_version);
28684 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28685 major, minor, micro);
28686 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28687 printf("***\n");
28688 printf("*** If you have already installed a sufficiently new version, this error\n");
28689 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
28690 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28691 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
28692 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
28693 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28694 printf("*** so that the correct libraries are found at run-time))\n");
28695 }
28696 }
28697 return 1;
28698 }
28699
28700 _ACEOF
28701 rm -f conftest$ac_exeext
28702 if { (ac_try="$ac_link"
28703 case "(($ac_try" in
28704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28705 *) ac_try_echo=$ac_try;;
28706 esac
28707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28708 (eval "$ac_link") 2>&5
28709 ac_status=$?
28710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28711 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28712 { (case "(($ac_try" in
28713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28714 *) ac_try_echo=$ac_try;;
28715 esac
28716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28717 (eval "$ac_try") 2>&5
28718 ac_status=$?
28719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28720 (exit $ac_status); }; }; then
28721 :
28722 else
28723 echo "$as_me: program exited with status $ac_status" >&5
28724 echo "$as_me: failed program was:" >&5
28725 sed 's/^/| /' conftest.$ac_ext >&5
28726
28727 ( exit $ac_status )
28728 no_gtk=yes
28729 fi
28730 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28731 fi
28732
28733
28734 CFLAGS="$ac_save_CFLAGS"
28735 LIBS="$ac_save_LIBS"
28736 fi
28737 fi
28738 if test "x$no_gtk" = x ; then
28739 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
28740 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
28741 wx_cv_lib_gtk=2.0
28742 else
28743 { echo "$as_me:$LINENO: result: no" >&5
28744 echo "${ECHO_T}no" >&6; }
28745 if test "$PKG_CONFIG" = "no" ; then
28746 echo "*** A new enough version of pkg-config was not found."
28747 echo "*** See http://pkgconfig.sourceforge.net"
28748 else
28749 if test -f conf.gtktest ; then
28750 :
28751 else
28752 echo "*** Could not run GTK+ test program, checking why..."
28753 ac_save_CFLAGS="$CFLAGS"
28754 ac_save_LIBS="$LIBS"
28755 CFLAGS="$CFLAGS $GTK_CFLAGS"
28756 LIBS="$LIBS $GTK_LIBS"
28757 cat >conftest.$ac_ext <<_ACEOF
28758 /* confdefs.h. */
28759 _ACEOF
28760 cat confdefs.h >>conftest.$ac_ext
28761 cat >>conftest.$ac_ext <<_ACEOF
28762 /* end confdefs.h. */
28763
28764 #include <gtk/gtk.h>
28765 #include <stdio.h>
28766
28767 int
28768 main ()
28769 {
28770 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28771 ;
28772 return 0;
28773 }
28774 _ACEOF
28775 rm -f conftest.$ac_objext conftest$ac_exeext
28776 if { (ac_try="$ac_link"
28777 case "(($ac_try" in
28778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28779 *) ac_try_echo=$ac_try;;
28780 esac
28781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28782 (eval "$ac_link") 2>conftest.er1
28783 ac_status=$?
28784 grep -v '^ *+' conftest.er1 >conftest.err
28785 rm -f conftest.er1
28786 cat conftest.err >&5
28787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28788 (exit $ac_status); } && {
28789 test -z "$ac_c_werror_flag" ||
28790 test ! -s conftest.err
28791 } && test -s conftest$ac_exeext &&
28792 $as_test_x conftest$ac_exeext; then
28793 echo "*** The test program compiled, but did not run. This usually means"
28794 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
28795 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
28796 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28797 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28798 echo "*** is required on your system"
28799 echo "***"
28800 echo "*** If you have an old version installed, it is best to remove it, although"
28801 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28802 else
28803 echo "$as_me: failed program was:" >&5
28804 sed 's/^/| /' conftest.$ac_ext >&5
28805
28806 echo "*** The test program failed to compile or link. See the file config.log for the"
28807 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
28808 fi
28809
28810 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28811 conftest$ac_exeext conftest.$ac_ext
28812 CFLAGS="$ac_save_CFLAGS"
28813 LIBS="$ac_save_LIBS"
28814 fi
28815 fi
28816 GTK_CFLAGS=""
28817 GTK_LIBS=""
28818 :
28819 fi
28820
28821
28822 rm -f conf.gtktest
28823
28824
28825 case "${host}" in
28826 *-*-solaris2* )
28827 if test "$wxUSE_SHARED" != "yes"; then
28828 GTK_LIBS="$GTK_LIBS -lX11"
28829 fi
28830 esac
28831 fi
28832
28833 if test -z "$wx_cv_lib_gtk"; then
28834 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
28835
28836 # Check whether --with-gtk-prefix was given.
28837 if test "${with_gtk_prefix+set}" = set; then
28838 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28839 else
28840 gtk_config_prefix=""
28841 fi
28842
28843
28844 # Check whether --with-gtk-exec-prefix was given.
28845 if test "${with_gtk_exec_prefix+set}" = set; then
28846 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
28847 else
28848 gtk_config_exec_prefix=""
28849 fi
28850
28851 # Check whether --enable-gtktest was given.
28852 if test "${enable_gtktest+set}" = set; then
28853 enableval=$enable_gtktest;
28854 else
28855 enable_gtktest=yes
28856 fi
28857
28858
28859 for module in . $GTK_MODULES
28860 do
28861 case "$module" in
28862 gthread)
28863 gtk_config_args="$gtk_config_args gthread"
28864 ;;
28865 esac
28866 done
28867
28868 if test x$gtk_config_exec_prefix != x ; then
28869 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28870 if test x${GTK_CONFIG+set} != xset ; then
28871 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28872 fi
28873 fi
28874 if test x$gtk_config_prefix != x ; then
28875 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28876 if test x${GTK_CONFIG+set} != xset ; then
28877 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28878 fi
28879 fi
28880
28881 # Extract the first word of "gtk-config", so it can be a program name with args.
28882 set dummy gtk-config; ac_word=$2
28883 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28884 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28885 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28886 echo $ECHO_N "(cached) $ECHO_C" >&6
28887 else
28888 case $GTK_CONFIG in
28889 [\\/]* | ?:[\\/]*)
28890 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28891 ;;
28892 *)
28893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28894 for as_dir in $PATH
28895 do
28896 IFS=$as_save_IFS
28897 test -z "$as_dir" && as_dir=.
28898 for ac_exec_ext in '' $ac_executable_extensions; do
28899 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28900 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28901 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28902 break 2
28903 fi
28904 done
28905 done
28906 IFS=$as_save_IFS
28907
28908 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28909 ;;
28910 esac
28911 fi
28912 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28913 if test -n "$GTK_CONFIG"; then
28914 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28915 echo "${ECHO_T}$GTK_CONFIG" >&6; }
28916 else
28917 { echo "$as_me:$LINENO: result: no" >&5
28918 echo "${ECHO_T}no" >&6; }
28919 fi
28920
28921
28922 min_gtk_version=1.2.7
28923 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28924 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
28925 no_gtk=""
28926 if test "$GTK_CONFIG" = "no" ; then
28927 no_gtk=yes
28928 else
28929 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28930 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28931 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28932 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28933 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28934 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28935 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28936 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28937 if test "x$enable_gtktest" = "xyes" ; then
28938 ac_save_CFLAGS="$CFLAGS"
28939 ac_save_LIBS="$LIBS"
28940 CFLAGS="$CFLAGS $GTK_CFLAGS"
28941 LIBS="$GTK_LIBS $LIBS"
28942 rm -f conf.gtktest
28943 if test "$cross_compiling" = yes; then
28944 echo $ac_n "cross compiling; assumed OK... $ac_c"
28945 else
28946 cat >conftest.$ac_ext <<_ACEOF
28947 /* confdefs.h. */
28948 _ACEOF
28949 cat confdefs.h >>conftest.$ac_ext
28950 cat >>conftest.$ac_ext <<_ACEOF
28951 /* end confdefs.h. */
28952
28953 #include <gtk/gtk.h>
28954 #include <stdio.h>
28955 #include <stdlib.h>
28956
28957 int
28958 main ()
28959 {
28960 int major, minor, micro;
28961 char *tmp_version;
28962
28963 system ("touch conf.gtktest");
28964
28965 /* HP/UX 9 (%@#!) writes to sscanf strings */
28966 tmp_version = g_strdup("$min_gtk_version");
28967 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28968 printf("%s, bad version string\n", "$min_gtk_version");
28969 exit(1);
28970 }
28971
28972 if ((gtk_major_version != $gtk_config_major_version) ||
28973 (gtk_minor_version != $gtk_config_minor_version) ||
28974 (gtk_micro_version != $gtk_config_micro_version))
28975 {
28976 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28977 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28978 gtk_major_version, gtk_minor_version, gtk_micro_version);
28979 printf ("*** was found! If gtk-config was correct, then it is best\n");
28980 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28981 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28982 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28983 printf("*** required on your system.\n");
28984 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28985 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28986 printf("*** before re-running configure\n");
28987 }
28988 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28989 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28990 (gtk_minor_version != GTK_MINOR_VERSION) ||
28991 (gtk_micro_version != GTK_MICRO_VERSION))
28992 {
28993 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28994 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28995 printf("*** library (version %d.%d.%d)\n",
28996 gtk_major_version, gtk_minor_version, gtk_micro_version);
28997 }
28998 #endif /* defined (GTK_MAJOR_VERSION) ... */
28999 else
29000 {
29001 if ((gtk_major_version > major) ||
29002 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29003 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29004 {
29005 return 0;
29006 }
29007 else
29008 {
29009 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
29010 gtk_major_version, gtk_minor_version, gtk_micro_version);
29011 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
29012 major, minor, micro);
29013 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
29014 printf("***\n");
29015 printf("*** If you have already installed a sufficiently new version, this error\n");
29016 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
29017 printf("*** being found. The easiest way to fix this is to remove the old version\n");
29018 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
29019 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
29020 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
29021 printf("*** so that the correct libraries are found at run-time))\n");
29022 }
29023 }
29024 return 1;
29025 }
29026
29027 _ACEOF
29028 rm -f conftest$ac_exeext
29029 if { (ac_try="$ac_link"
29030 case "(($ac_try" in
29031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29032 *) ac_try_echo=$ac_try;;
29033 esac
29034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29035 (eval "$ac_link") 2>&5
29036 ac_status=$?
29037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29038 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29039 { (case "(($ac_try" in
29040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29041 *) ac_try_echo=$ac_try;;
29042 esac
29043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29044 (eval "$ac_try") 2>&5
29045 ac_status=$?
29046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29047 (exit $ac_status); }; }; then
29048 :
29049 else
29050 echo "$as_me: program exited with status $ac_status" >&5
29051 echo "$as_me: failed program was:" >&5
29052 sed 's/^/| /' conftest.$ac_ext >&5
29053
29054 ( exit $ac_status )
29055 no_gtk=yes
29056 fi
29057 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29058 fi
29059
29060
29061 CFLAGS="$ac_save_CFLAGS"
29062 LIBS="$ac_save_LIBS"
29063 fi
29064 fi
29065 if test "x$no_gtk" = x ; then
29066 { echo "$as_me:$LINENO: result: yes" >&5
29067 echo "${ECHO_T}yes" >&6; }
29068 wx_cv_lib_gtk=1.2.7
29069 else
29070 { echo "$as_me:$LINENO: result: no" >&5
29071 echo "${ECHO_T}no" >&6; }
29072 if test "$GTK_CONFIG" = "no" ; then
29073 echo "*** The gtk-config script installed by GTK could not be found"
29074 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
29075 echo "*** your path, or set the GTK_CONFIG environment variable to the"
29076 echo "*** full path to gtk-config."
29077 else
29078 if test -f conf.gtktest ; then
29079 :
29080 else
29081 echo "*** Could not run GTK test program, checking why..."
29082 CFLAGS="$CFLAGS $GTK_CFLAGS"
29083 LIBS="$LIBS $GTK_LIBS"
29084 cat >conftest.$ac_ext <<_ACEOF
29085 /* confdefs.h. */
29086 _ACEOF
29087 cat confdefs.h >>conftest.$ac_ext
29088 cat >>conftest.$ac_ext <<_ACEOF
29089 /* end confdefs.h. */
29090
29091 #include <gtk/gtk.h>
29092 #include <stdio.h>
29093
29094 int
29095 main ()
29096 {
29097 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29098 ;
29099 return 0;
29100 }
29101 _ACEOF
29102 rm -f conftest.$ac_objext conftest$ac_exeext
29103 if { (ac_try="$ac_link"
29104 case "(($ac_try" in
29105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29106 *) ac_try_echo=$ac_try;;
29107 esac
29108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29109 (eval "$ac_link") 2>conftest.er1
29110 ac_status=$?
29111 grep -v '^ *+' conftest.er1 >conftest.err
29112 rm -f conftest.er1
29113 cat conftest.err >&5
29114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29115 (exit $ac_status); } && {
29116 test -z "$ac_c_werror_flag" ||
29117 test ! -s conftest.err
29118 } && test -s conftest$ac_exeext &&
29119 $as_test_x conftest$ac_exeext; then
29120 echo "*** The test program compiled, but did not run. This usually means"
29121 echo "*** that the run-time linker is not finding GTK or finding the wrong"
29122 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
29123 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29124 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29125 echo "*** is required on your system"
29126 echo "***"
29127 echo "*** If you have an old version installed, it is best to remove it, although"
29128 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29129 echo "***"
29130 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
29131 echo "*** came with the system with the command"
29132 echo "***"
29133 echo "*** rpm --erase --nodeps gtk gtk-devel"
29134 else
29135 echo "$as_me: failed program was:" >&5
29136 sed 's/^/| /' conftest.$ac_ext >&5
29137
29138 echo "*** The test program failed to compile or link. See the file config.log for the"
29139 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
29140 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
29141 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
29142 fi
29143
29144 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29145 conftest$ac_exeext conftest.$ac_ext
29146 CFLAGS="$ac_save_CFLAGS"
29147 LIBS="$ac_save_LIBS"
29148 fi
29149 fi
29150 GTK_CFLAGS=""
29151 GTK_LIBS=""
29152 :
29153 fi
29154
29155
29156 rm -f conf.gtktest
29157
29158
29159 if test -z "$wx_cv_lib_gtk"; then
29160
29161 # Check whether --with-gtk-prefix was given.
29162 if test "${with_gtk_prefix+set}" = set; then
29163 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
29164 else
29165 gtk_config_prefix=""
29166 fi
29167
29168
29169 # Check whether --with-gtk-exec-prefix was given.
29170 if test "${with_gtk_exec_prefix+set}" = set; then
29171 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
29172 else
29173 gtk_config_exec_prefix=""
29174 fi
29175
29176 # Check whether --enable-gtktest was given.
29177 if test "${enable_gtktest+set}" = set; then
29178 enableval=$enable_gtktest;
29179 else
29180 enable_gtktest=yes
29181 fi
29182
29183
29184 for module in . $GTK_MODULES
29185 do
29186 case "$module" in
29187 gthread)
29188 gtk_config_args="$gtk_config_args gthread"
29189 ;;
29190 esac
29191 done
29192
29193 if test x$gtk_config_exec_prefix != x ; then
29194 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
29195 if test x${GTK_CONFIG+set} != xset ; then
29196 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
29197 fi
29198 fi
29199 if test x$gtk_config_prefix != x ; then
29200 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
29201 if test x${GTK_CONFIG+set} != xset ; then
29202 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
29203 fi
29204 fi
29205
29206 # Extract the first word of "gtk-config", so it can be a program name with args.
29207 set dummy gtk-config; ac_word=$2
29208 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29209 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29210 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
29211 echo $ECHO_N "(cached) $ECHO_C" >&6
29212 else
29213 case $GTK_CONFIG in
29214 [\\/]* | ?:[\\/]*)
29215 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
29216 ;;
29217 *)
29218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29219 for as_dir in $PATH
29220 do
29221 IFS=$as_save_IFS
29222 test -z "$as_dir" && as_dir=.
29223 for ac_exec_ext in '' $ac_executable_extensions; do
29224 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29225 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29226 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29227 break 2
29228 fi
29229 done
29230 done
29231 IFS=$as_save_IFS
29232
29233 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
29234 ;;
29235 esac
29236 fi
29237 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
29238 if test -n "$GTK_CONFIG"; then
29239 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
29240 echo "${ECHO_T}$GTK_CONFIG" >&6; }
29241 else
29242 { echo "$as_me:$LINENO: result: no" >&5
29243 echo "${ECHO_T}no" >&6; }
29244 fi
29245
29246
29247 min_gtk_version=1.2.3
29248 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
29249 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
29250 no_gtk=""
29251 if test "$GTK_CONFIG" = "no" ; then
29252 no_gtk=yes
29253 else
29254 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
29255 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
29256 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
29257 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
29258 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
29259 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
29260 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
29261 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
29262 if test "x$enable_gtktest" = "xyes" ; then
29263 ac_save_CFLAGS="$CFLAGS"
29264 ac_save_LIBS="$LIBS"
29265 CFLAGS="$CFLAGS $GTK_CFLAGS"
29266 LIBS="$GTK_LIBS $LIBS"
29267 rm -f conf.gtktest
29268 if test "$cross_compiling" = yes; then
29269 echo $ac_n "cross compiling; assumed OK... $ac_c"
29270 else
29271 cat >conftest.$ac_ext <<_ACEOF
29272 /* confdefs.h. */
29273 _ACEOF
29274 cat confdefs.h >>conftest.$ac_ext
29275 cat >>conftest.$ac_ext <<_ACEOF
29276 /* end confdefs.h. */
29277
29278 #include <gtk/gtk.h>
29279 #include <stdio.h>
29280 #include <stdlib.h>
29281
29282 int
29283 main ()
29284 {
29285 int major, minor, micro;
29286 char *tmp_version;
29287
29288 system ("touch conf.gtktest");
29289
29290 /* HP/UX 9 (%@#!) writes to sscanf strings */
29291 tmp_version = g_strdup("$min_gtk_version");
29292 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
29293 printf("%s, bad version string\n", "$min_gtk_version");
29294 exit(1);
29295 }
29296
29297 if ((gtk_major_version != $gtk_config_major_version) ||
29298 (gtk_minor_version != $gtk_config_minor_version) ||
29299 (gtk_micro_version != $gtk_config_micro_version))
29300 {
29301 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
29302 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29303 gtk_major_version, gtk_minor_version, gtk_micro_version);
29304 printf ("*** was found! If gtk-config was correct, then it is best\n");
29305 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
29306 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
29307 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
29308 printf("*** required on your system.\n");
29309 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
29310 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
29311 printf("*** before re-running configure\n");
29312 }
29313 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
29314 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29315 (gtk_minor_version != GTK_MINOR_VERSION) ||
29316 (gtk_micro_version != GTK_MICRO_VERSION))
29317 {
29318 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
29319 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29320 printf("*** library (version %d.%d.%d)\n",
29321 gtk_major_version, gtk_minor_version, gtk_micro_version);
29322 }
29323 #endif /* defined (GTK_MAJOR_VERSION) ... */
29324 else
29325 {
29326 if ((gtk_major_version > major) ||
29327 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29328 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29329 {
29330 return 0;
29331 }
29332 else
29333 {
29334 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
29335 gtk_major_version, gtk_minor_version, gtk_micro_version);
29336 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
29337 major, minor, micro);
29338 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
29339 printf("***\n");
29340 printf("*** If you have already installed a sufficiently new version, this error\n");
29341 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
29342 printf("*** being found. The easiest way to fix this is to remove the old version\n");
29343 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
29344 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
29345 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
29346 printf("*** so that the correct libraries are found at run-time))\n");
29347 }
29348 }
29349 return 1;
29350 }
29351
29352 _ACEOF
29353 rm -f conftest$ac_exeext
29354 if { (ac_try="$ac_link"
29355 case "(($ac_try" in
29356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29357 *) ac_try_echo=$ac_try;;
29358 esac
29359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29360 (eval "$ac_link") 2>&5
29361 ac_status=$?
29362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29363 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29364 { (case "(($ac_try" in
29365 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29366 *) ac_try_echo=$ac_try;;
29367 esac
29368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29369 (eval "$ac_try") 2>&5
29370 ac_status=$?
29371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29372 (exit $ac_status); }; }; then
29373 :
29374 else
29375 echo "$as_me: program exited with status $ac_status" >&5
29376 echo "$as_me: failed program was:" >&5
29377 sed 's/^/| /' conftest.$ac_ext >&5
29378
29379 ( exit $ac_status )
29380 no_gtk=yes
29381 fi
29382 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29383 fi
29384
29385
29386 CFLAGS="$ac_save_CFLAGS"
29387 LIBS="$ac_save_LIBS"
29388 fi
29389 fi
29390 if test "x$no_gtk" = x ; then
29391 { echo "$as_me:$LINENO: result: yes" >&5
29392 echo "${ECHO_T}yes" >&6; }
29393 wx_cv_lib_gtk=1.2.3
29394 else
29395 { echo "$as_me:$LINENO: result: no" >&5
29396 echo "${ECHO_T}no" >&6; }
29397 if test "$GTK_CONFIG" = "no" ; then
29398 echo "*** The gtk-config script installed by GTK could not be found"
29399 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
29400 echo "*** your path, or set the GTK_CONFIG environment variable to the"
29401 echo "*** full path to gtk-config."
29402 else
29403 if test -f conf.gtktest ; then
29404 :
29405 else
29406 echo "*** Could not run GTK test program, checking why..."
29407 CFLAGS="$CFLAGS $GTK_CFLAGS"
29408 LIBS="$LIBS $GTK_LIBS"
29409 cat >conftest.$ac_ext <<_ACEOF
29410 /* confdefs.h. */
29411 _ACEOF
29412 cat confdefs.h >>conftest.$ac_ext
29413 cat >>conftest.$ac_ext <<_ACEOF
29414 /* end confdefs.h. */
29415
29416 #include <gtk/gtk.h>
29417 #include <stdio.h>
29418
29419 int
29420 main ()
29421 {
29422 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29423 ;
29424 return 0;
29425 }
29426 _ACEOF
29427 rm -f conftest.$ac_objext conftest$ac_exeext
29428 if { (ac_try="$ac_link"
29429 case "(($ac_try" in
29430 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29431 *) ac_try_echo=$ac_try;;
29432 esac
29433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29434 (eval "$ac_link") 2>conftest.er1
29435 ac_status=$?
29436 grep -v '^ *+' conftest.er1 >conftest.err
29437 rm -f conftest.er1
29438 cat conftest.err >&5
29439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29440 (exit $ac_status); } && {
29441 test -z "$ac_c_werror_flag" ||
29442 test ! -s conftest.err
29443 } && test -s conftest$ac_exeext &&
29444 $as_test_x conftest$ac_exeext; then
29445 echo "*** The test program compiled, but did not run. This usually means"
29446 echo "*** that the run-time linker is not finding GTK or finding the wrong"
29447 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
29448 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29449 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29450 echo "*** is required on your system"
29451 echo "***"
29452 echo "*** If you have an old version installed, it is best to remove it, although"
29453 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29454 echo "***"
29455 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
29456 echo "*** came with the system with the command"
29457 echo "***"
29458 echo "*** rpm --erase --nodeps gtk gtk-devel"
29459 else
29460 echo "$as_me: failed program was:" >&5
29461 sed 's/^/| /' conftest.$ac_ext >&5
29462
29463 echo "*** The test program failed to compile or link. See the file config.log for the"
29464 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
29465 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
29466 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
29467 fi
29468
29469 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29470 conftest$ac_exeext conftest.$ac_ext
29471 CFLAGS="$ac_save_CFLAGS"
29472 LIBS="$ac_save_LIBS"
29473 fi
29474 fi
29475 GTK_CFLAGS=""
29476 GTK_LIBS=""
29477 :
29478 fi
29479
29480
29481 rm -f conf.gtktest
29482
29483 fi
29484 fi
29485 fi
29486
29487 if test -z "$wx_cv_lib_gtk"; then
29488 wx_cv_lib_gtk=none
29489 else
29490 wx_cv_cflags_gtk=$GTK_CFLAGS
29491 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
29492 fi
29493
29494
29495 fi
29496
29497
29498 if test "$gtk_version_cached" = 1; then
29499 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
29500 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
29501 fi
29502
29503 case "$wx_cv_lib_gtk" in
29504 2.0) WXGTK2=1
29505 TOOLKIT_VERSION=2
29506 ;;
29507 1.2.7) WXGTK127=1
29508 WXGTK12=1
29509 ;;
29510 1.2.3) WXGTK12=1
29511 ;;
29512 *) { { echo "$as_me:$LINENO: error:
29513 The development files for GTK+ were not found. For GTK+ 2, please
29514 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29515 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29516 and that the version is 1.2.3 or above. Also check that the
29517 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
29518 --libs' are in the LD_LIBRARY_PATH or equivalent.
29519 " >&5
29520 echo "$as_me: error:
29521 The development files for GTK+ were not found. For GTK+ 2, please
29522 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29523 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29524 and that the version is 1.2.3 or above. Also check that the
29525 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
29526 --libs' are in the LD_LIBRARY_PATH or equivalent.
29527 " >&2;}
29528 { (exit 1); exit 1; }; }
29529 ;;
29530 esac
29531
29532 if test "$WXGTK2" = 1; then
29533 save_CFLAGS="$CFLAGS"
29534 save_LIBS="$LIBS"
29535 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
29536 LIBS="$LIBS $wx_cv_libs_gtk"
29537
29538 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.18" >&5
29539 echo $ECHO_N "checking if GTK+ is version >= 2.18... $ECHO_C" >&6; }
29540 cat >conftest.$ac_ext <<_ACEOF
29541 /* confdefs.h. */
29542 _ACEOF
29543 cat confdefs.h >>conftest.$ac_ext
29544 cat >>conftest.$ac_ext <<_ACEOF
29545 /* end confdefs.h. */
29546
29547 #include <gtk/gtk.h>
29548
29549 int
29550 main ()
29551 {
29552
29553 #if !GTK_CHECK_VERSION(2,18,0)
29554 Not GTK+ 2.18
29555 #endif
29556
29557 ;
29558 return 0;
29559 }
29560 _ACEOF
29561 rm -f conftest.$ac_objext
29562 if { (ac_try="$ac_compile"
29563 case "(($ac_try" in
29564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29565 *) ac_try_echo=$ac_try;;
29566 esac
29567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29568 (eval "$ac_compile") 2>conftest.er1
29569 ac_status=$?
29570 grep -v '^ *+' conftest.er1 >conftest.err
29571 rm -f conftest.er1
29572 cat conftest.err >&5
29573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29574 (exit $ac_status); } && {
29575 test -z "$ac_c_werror_flag" ||
29576 test ! -s conftest.err
29577 } && test -s conftest.$ac_objext; then
29578
29579 cat >>confdefs.h <<\_ACEOF
29580 #define __WXGTK218__ 1
29581 _ACEOF
29582
29583 cat >>confdefs.h <<\_ACEOF
29584 #define __WXGTK210__ 1
29585 _ACEOF
29586
29587 cat >>confdefs.h <<\_ACEOF
29588 #define __WXGTK26__ 1
29589 _ACEOF
29590
29591 { echo "$as_me:$LINENO: result: yes" >&5
29592 echo "${ECHO_T}yes" >&6; }
29593 ac_wxgtk218=1
29594
29595 else
29596 echo "$as_me: failed program was:" >&5
29597 sed 's/^/| /' conftest.$ac_ext >&5
29598
29599
29600 { echo "$as_me:$LINENO: result: no" >&5
29601 echo "${ECHO_T}no" >&6; }
29602 ac_wxgtk218=0
29603
29604 fi
29605
29606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29607
29608 if test "$ac_wxgtk218" = 0; then
29609 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
29610 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
29611 cat >conftest.$ac_ext <<_ACEOF
29612 /* confdefs.h. */
29613 _ACEOF
29614 cat confdefs.h >>conftest.$ac_ext
29615 cat >>conftest.$ac_ext <<_ACEOF
29616 /* end confdefs.h. */
29617
29618 #include <gtk/gtk.h>
29619
29620 int
29621 main ()
29622 {
29623
29624 #if !GTK_CHECK_VERSION(2,10,0)
29625 Not GTK+ 2.10
29626 #endif
29627
29628 ;
29629 return 0;
29630 }
29631 _ACEOF
29632 rm -f conftest.$ac_objext
29633 if { (ac_try="$ac_compile"
29634 case "(($ac_try" in
29635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29636 *) ac_try_echo=$ac_try;;
29637 esac
29638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29639 (eval "$ac_compile") 2>conftest.er1
29640 ac_status=$?
29641 grep -v '^ *+' conftest.er1 >conftest.err
29642 rm -f conftest.er1
29643 cat conftest.err >&5
29644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29645 (exit $ac_status); } && {
29646 test -z "$ac_c_werror_flag" ||
29647 test ! -s conftest.err
29648 } && test -s conftest.$ac_objext; then
29649
29650 cat >>confdefs.h <<\_ACEOF
29651 #define __WXGTK210__ 1
29652 _ACEOF
29653
29654 cat >>confdefs.h <<\_ACEOF
29655 #define __WXGTK26__ 1
29656 _ACEOF
29657
29658 { echo "$as_me:$LINENO: result: yes" >&5
29659 echo "${ECHO_T}yes" >&6; }
29660 ac_wxgtk210=1
29661
29662 else
29663 echo "$as_me: failed program was:" >&5
29664 sed 's/^/| /' conftest.$ac_ext >&5
29665
29666
29667 { echo "$as_me:$LINENO: result: no" >&5
29668 echo "${ECHO_T}no" >&6; }
29669 ac_wxgtk210=0
29670
29671 fi
29672
29673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29674
29675 if test "$ac_wxgtk210" = 0; then
29676 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
29677 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
29678 cat >conftest.$ac_ext <<_ACEOF
29679 /* confdefs.h. */
29680 _ACEOF
29681 cat confdefs.h >>conftest.$ac_ext
29682 cat >>conftest.$ac_ext <<_ACEOF
29683 /* end confdefs.h. */
29684
29685 #include <gtk/gtk.h>
29686
29687 int
29688 main ()
29689 {
29690
29691 #if !GTK_CHECK_VERSION(2,6,0)
29692 Not GTK+ 2.6
29693 #endif
29694
29695 ;
29696 return 0;
29697 }
29698 _ACEOF
29699 rm -f conftest.$ac_objext
29700 if { (ac_try="$ac_compile"
29701 case "(($ac_try" in
29702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29703 *) ac_try_echo=$ac_try;;
29704 esac
29705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29706 (eval "$ac_compile") 2>conftest.er1
29707 ac_status=$?
29708 grep -v '^ *+' conftest.er1 >conftest.err
29709 rm -f conftest.er1
29710 cat conftest.err >&5
29711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29712 (exit $ac_status); } && {
29713 test -z "$ac_c_werror_flag" ||
29714 test ! -s conftest.err
29715 } && test -s conftest.$ac_objext; then
29716
29717 cat >>confdefs.h <<\_ACEOF
29718 #define __WXGTK26__ 1
29719 _ACEOF
29720
29721 { echo "$as_me:$LINENO: result: yes" >&5
29722 echo "${ECHO_T}yes" >&6; }
29723 ac_wxgtk26=1
29724
29725 else
29726 echo "$as_me: failed program was:" >&5
29727 sed 's/^/| /' conftest.$ac_ext >&5
29728
29729
29730 { echo "$as_me:$LINENO: result: no" >&5
29731 echo "${ECHO_T}no" >&6; }
29732 ac_wxgtk26=0
29733
29734 fi
29735
29736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29737 fi
29738 fi
29739
29740 CFLAGS="$save_CFLAGS"
29741 LIBS="$save_LIBS"
29742 else
29743 if test "$wxUSE_UNICODE" = "yes"; then
29744 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
29745 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
29746 wxUSE_UNICODE=no
29747 fi
29748
29749 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
29750 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
29751 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
29752 echo $ECHO_N "(cached) $ECHO_C" >&6
29753 else
29754 ac_check_lib_save_LIBS=$LIBS
29755 LIBS="-lgdk $LIBS"
29756 cat >conftest.$ac_ext <<_ACEOF
29757 /* confdefs.h. */
29758 _ACEOF
29759 cat confdefs.h >>conftest.$ac_ext
29760 cat >>conftest.$ac_ext <<_ACEOF
29761 /* end confdefs.h. */
29762
29763 /* Override any GCC internal prototype to avoid an error.
29764 Use char because int might match the return type of a GCC
29765 builtin and then its argument prototype would still apply. */
29766 #ifdef __cplusplus
29767 extern "C"
29768 #endif
29769 char gdk_im_open ();
29770 int
29771 main ()
29772 {
29773 return gdk_im_open ();
29774 ;
29775 return 0;
29776 }
29777 _ACEOF
29778 rm -f conftest.$ac_objext conftest$ac_exeext
29779 if { (ac_try="$ac_link"
29780 case "(($ac_try" in
29781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29782 *) ac_try_echo=$ac_try;;
29783 esac
29784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29785 (eval "$ac_link") 2>conftest.er1
29786 ac_status=$?
29787 grep -v '^ *+' conftest.er1 >conftest.err
29788 rm -f conftest.er1
29789 cat conftest.err >&5
29790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29791 (exit $ac_status); } && {
29792 test -z "$ac_c_werror_flag" ||
29793 test ! -s conftest.err
29794 } && test -s conftest$ac_exeext &&
29795 $as_test_x conftest$ac_exeext; then
29796 ac_cv_lib_gdk_gdk_im_open=yes
29797 else
29798 echo "$as_me: failed program was:" >&5
29799 sed 's/^/| /' conftest.$ac_ext >&5
29800
29801 ac_cv_lib_gdk_gdk_im_open=no
29802 fi
29803
29804 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29805 conftest$ac_exeext conftest.$ac_ext
29806 LIBS=$ac_check_lib_save_LIBS
29807 fi
29808 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
29809 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
29810 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
29811 cat >>confdefs.h <<\_ACEOF
29812 #define HAVE_XIM 1
29813 _ACEOF
29814
29815 fi
29816
29817
29818 if test "$USE_DARWIN" != 1; then
29819
29820 for ac_func in poll
29821 do
29822 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29823 { echo "$as_me:$LINENO: checking for $ac_func" >&5
29824 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
29825 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
29826 echo $ECHO_N "(cached) $ECHO_C" >&6
29827 else
29828 cat >conftest.$ac_ext <<_ACEOF
29829 /* confdefs.h. */
29830 _ACEOF
29831 cat confdefs.h >>conftest.$ac_ext
29832 cat >>conftest.$ac_ext <<_ACEOF
29833 /* end confdefs.h. */
29834 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29835 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29836 #define $ac_func innocuous_$ac_func
29837
29838 /* System header to define __stub macros and hopefully few prototypes,
29839 which can conflict with char $ac_func (); below.
29840 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29841 <limits.h> exists even on freestanding compilers. */
29842
29843 #ifdef __STDC__
29844 # include <limits.h>
29845 #else
29846 # include <assert.h>
29847 #endif
29848
29849 #undef $ac_func
29850
29851 /* Override any GCC internal prototype to avoid an error.
29852 Use char because int might match the return type of a GCC
29853 builtin and then its argument prototype would still apply. */
29854 #ifdef __cplusplus
29855 extern "C"
29856 #endif
29857 char $ac_func ();
29858 /* The GNU C library defines this for functions which it implements
29859 to always fail with ENOSYS. Some functions are actually named
29860 something starting with __ and the normal name is an alias. */
29861 #if defined __stub_$ac_func || defined __stub___$ac_func
29862 choke me
29863 #endif
29864
29865 int
29866 main ()
29867 {
29868 return $ac_func ();
29869 ;
29870 return 0;
29871 }
29872 _ACEOF
29873 rm -f conftest.$ac_objext conftest$ac_exeext
29874 if { (ac_try="$ac_link"
29875 case "(($ac_try" in
29876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29877 *) ac_try_echo=$ac_try;;
29878 esac
29879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29880 (eval "$ac_link") 2>conftest.er1
29881 ac_status=$?
29882 grep -v '^ *+' conftest.er1 >conftest.err
29883 rm -f conftest.er1
29884 cat conftest.err >&5
29885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29886 (exit $ac_status); } && {
29887 test -z "$ac_c_werror_flag" ||
29888 test ! -s conftest.err
29889 } && test -s conftest$ac_exeext &&
29890 $as_test_x conftest$ac_exeext; then
29891 eval "$as_ac_var=yes"
29892 else
29893 echo "$as_me: failed program was:" >&5
29894 sed 's/^/| /' conftest.$ac_ext >&5
29895
29896 eval "$as_ac_var=no"
29897 fi
29898
29899 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29900 conftest$ac_exeext conftest.$ac_ext
29901 fi
29902 ac_res=`eval echo '${'$as_ac_var'}'`
29903 { echo "$as_me:$LINENO: result: $ac_res" >&5
29904 echo "${ECHO_T}$ac_res" >&6; }
29905 if test `eval echo '${'$as_ac_var'}'` = yes; then
29906 cat >>confdefs.h <<_ACEOF
29907 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29908 _ACEOF
29909
29910 fi
29911 done
29912
29913 fi
29914 fi
29915
29916 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
29917 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
29918
29919 AFMINSTALL=afminstall
29920 TOOLKIT=GTK
29921 GUIDIST=GTK_DIST
29922
29923 if test "$wxUSE_GPE" = "yes"; then
29924 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
29925 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
29926
29927 ac_find_libraries=
29928 for ac_dir in $SEARCH_LIB;
29929 do
29930 for ac_extension in a so sl dylib dll.a; do
29931 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
29932 ac_find_libraries=$ac_dir
29933 break 2
29934 fi
29935 done
29936 done
29937
29938 if test "$ac_find_libraries" != "" ; then
29939
29940 if test "$ac_find_libraries" = "default location"; then
29941 ac_path_to_link=""
29942 else
29943 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
29944 result=$?
29945 if test $result = 0; then
29946 ac_path_to_link=""
29947 else
29948 ac_path_to_link=" -L$ac_find_libraries"
29949 fi
29950 fi
29951
29952 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
29953 WXGPE=1
29954 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29955 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
29956 else
29957 { echo "$as_me:$LINENO: result: not found" >&5
29958 echo "${ECHO_T}not found" >&6; }
29959 fi
29960
29961 fi
29962 fi
29963
29964 if test "$wxUSE_MGL" = 1; then
29965 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
29966 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
29967 if test "x$MGL_ROOT" = x ; then
29968 { echo "$as_me:$LINENO: result: not found" >&5
29969 echo "${ECHO_T}not found" >&6; }
29970 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
29971 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
29972 { (exit 1); exit 1; }; }
29973 else
29974 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
29975 echo "${ECHO_T}$MGL_ROOT" >&6; }
29976 fi
29977
29978 { echo "$as_me:$LINENO: checking for libmgl location" >&5
29979 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
29980 case "${host}" in
29981 *-*-linux* )
29982 if test "x$wxUSE_SHARED" = xyes ; then
29983 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
29984 else
29985 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
29986 fi
29987 ;;
29988 *-pc-msdosdjgpp )
29989 mgl_os_candidates="dos32/dj2"
29990 ;;
29991 *)
29992 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
29993 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
29994 { (exit 1); exit 1; }; }
29995 esac
29996
29997 mgl_lib_type=""
29998 mgl_os=""
29999
30000 for mgl_os_i in $mgl_os_candidates ; do
30001 if test "x$mgl_os" = x ; then
30002 if test "$wxUSE_DEBUG_FLAG" = yes ; then
30003 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
30004 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
30005 mgl_lib_type=debug
30006 mgl_os=$mgl_os_i
30007 fi
30008 fi
30009 if test "x$mgl_lib_type" = x ; then
30010 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
30011 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
30012 mgl_lib_type=release
30013 mgl_os=$mgl_os_i
30014 fi
30015 fi
30016 fi
30017 done
30018
30019 if test "x$mgl_os" = x ; then
30020 { echo "$as_me:$LINENO: result: not found" >&5
30021 echo "${ECHO_T}not found" >&6; }
30022 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
30023 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
30024 { (exit 1); exit 1; }; }
30025 fi
30026 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
30027 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
30028
30029 wxUSE_UNIVERSAL="yes"
30030
30031 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
30032 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
30033
30034 AFMINSTALL=afminstall
30035 TOOLKIT=MGL
30036 GUIDIST=MGL_DIST
30037 fi
30038
30039 if test "$wxUSE_DFB" = 1; then
30040
30041
30042 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
30043 if test -n "$ac_tool_prefix"; then
30044 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
30045 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
30046 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30047 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30048 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30049 echo $ECHO_N "(cached) $ECHO_C" >&6
30050 else
30051 case $PKG_CONFIG in
30052 [\\/]* | ?:[\\/]*)
30053 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
30054 ;;
30055 *)
30056 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30057 for as_dir in $PATH
30058 do
30059 IFS=$as_save_IFS
30060 test -z "$as_dir" && as_dir=.
30061 for ac_exec_ext in '' $ac_executable_extensions; do
30062 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30063 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30064 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30065 break 2
30066 fi
30067 done
30068 done
30069 IFS=$as_save_IFS
30070
30071 ;;
30072 esac
30073 fi
30074 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
30075 if test -n "$PKG_CONFIG"; then
30076 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30077 echo "${ECHO_T}$PKG_CONFIG" >&6; }
30078 else
30079 { echo "$as_me:$LINENO: result: no" >&5
30080 echo "${ECHO_T}no" >&6; }
30081 fi
30082
30083
30084 fi
30085 if test -z "$ac_cv_path_PKG_CONFIG"; then
30086 ac_pt_PKG_CONFIG=$PKG_CONFIG
30087 # Extract the first word of "pkg-config", so it can be a program name with args.
30088 set dummy pkg-config; ac_word=$2
30089 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30090 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30091 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
30092 echo $ECHO_N "(cached) $ECHO_C" >&6
30093 else
30094 case $ac_pt_PKG_CONFIG in
30095 [\\/]* | ?:[\\/]*)
30096 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
30097 ;;
30098 *)
30099 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30100 for as_dir in $PATH
30101 do
30102 IFS=$as_save_IFS
30103 test -z "$as_dir" && as_dir=.
30104 for ac_exec_ext in '' $ac_executable_extensions; do
30105 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30106 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30107 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30108 break 2
30109 fi
30110 done
30111 done
30112 IFS=$as_save_IFS
30113
30114 ;;
30115 esac
30116 fi
30117 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
30118 if test -n "$ac_pt_PKG_CONFIG"; then
30119 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
30120 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
30121 else
30122 { echo "$as_me:$LINENO: result: no" >&5
30123 echo "${ECHO_T}no" >&6; }
30124 fi
30125
30126 if test "x$ac_pt_PKG_CONFIG" = x; then
30127 PKG_CONFIG=""
30128 else
30129 case $cross_compiling:$ac_tool_warned in
30130 yes:)
30131 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
30132 whose name does not start with the host triplet. If you think this
30133 configuration is useful to you, please write to autoconf@gnu.org." >&5
30134 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
30135 whose name does not start with the host triplet. If you think this
30136 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
30137 ac_tool_warned=yes ;;
30138 esac
30139 PKG_CONFIG=$ac_pt_PKG_CONFIG
30140 fi
30141 else
30142 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
30143 fi
30144
30145 fi
30146 if test -n "$PKG_CONFIG"; then
30147 _pkg_min_version=0.9.0
30148 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
30149 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
30150 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
30151 { echo "$as_me:$LINENO: result: yes" >&5
30152 echo "${ECHO_T}yes" >&6; }
30153 else
30154 { echo "$as_me:$LINENO: result: no" >&5
30155 echo "${ECHO_T}no" >&6; }
30156 PKG_CONFIG=""
30157 fi
30158
30159 fi
30160
30161
30162 pkg_failed=no
30163 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
30164 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
30165
30166 if test -n "$PKG_CONFIG"; then
30167 if test -n "$DIRECTFB_CFLAGS"; then
30168 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
30169 else
30170 if test -n "$PKG_CONFIG" && \
30171 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
30172 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
30173 ac_status=$?
30174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30175 (exit $ac_status); }; then
30176 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
30177 else
30178 pkg_failed=yes
30179 fi
30180 fi
30181 else
30182 pkg_failed=untried
30183 fi
30184 if test -n "$PKG_CONFIG"; then
30185 if test -n "$DIRECTFB_LIBS"; then
30186 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
30187 else
30188 if test -n "$PKG_CONFIG" && \
30189 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
30190 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
30191 ac_status=$?
30192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30193 (exit $ac_status); }; then
30194 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
30195 else
30196 pkg_failed=yes
30197 fi
30198 fi
30199 else
30200 pkg_failed=untried
30201 fi
30202
30203
30204
30205 if test $pkg_failed = yes; then
30206
30207 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30208 _pkg_short_errors_supported=yes
30209 else
30210 _pkg_short_errors_supported=no
30211 fi
30212 if test $_pkg_short_errors_supported = yes; then
30213 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
30214 else
30215 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
30216 fi
30217 # Put the nasty error message in config.log where it belongs
30218 echo "$DIRECTFB_PKG_ERRORS" >&5
30219
30220
30221 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
30222 echo "$as_me: error: DirectFB not found." >&2;}
30223 { (exit 1); exit 1; }; }
30224
30225
30226 elif test $pkg_failed = untried; then
30227
30228 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
30229 echo "$as_me: error: DirectFB not found." >&2;}
30230 { (exit 1); exit 1; }; }
30231
30232
30233 else
30234 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
30235 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
30236 { echo "$as_me:$LINENO: result: yes" >&5
30237 echo "${ECHO_T}yes" >&6; }
30238
30239 wxUSE_UNIVERSAL="yes"
30240 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
30241 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
30242 TOOLKIT=DFB
30243 GUIDIST=DFB_DIST
30244
30245 fi
30246 fi
30247
30248 if test "$wxUSE_MICROWIN" = 1; then
30249 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
30250 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
30251 if test "x$MICROWINDOWS" = x ; then
30252 { echo "$as_me:$LINENO: result: not found" >&5
30253 echo "${ECHO_T}not found" >&6; }
30254 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
30255 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
30256 { (exit 1); exit 1; }; }
30257 else
30258 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
30259 echo "${ECHO_T}$MICROWINDOWS" >&6; }
30260 fi
30261
30262 if test -f $MICROWINDOWS/lib/libmwin.a; then
30263 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
30264 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
30265 else
30266 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
30267 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
30268 { (exit 1); exit 1; }; }
30269 fi
30270
30271 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
30272 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
30273
30274 wxUSE_UNIVERSAL="yes"
30275
30276 AFMINSTALL=afminstall
30277 TOOLKIT=MICROWIN
30278 GUIDIST=MICROWIN_DIST
30279
30280 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
30281 fi
30282
30283 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
30284 { echo "$as_me:$LINENO: checking for X" >&5
30285 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
30286
30287
30288 # Check whether --with-x was given.
30289 if test "${with_x+set}" = set; then
30290 withval=$with_x;
30291 fi
30292
30293 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
30294 if test "x$with_x" = xno; then
30295 # The user explicitly disabled X.
30296 have_x=disabled
30297 else
30298 case $x_includes,$x_libraries in #(
30299 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
30300 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
30301 { (exit 1); exit 1; }; };; #(
30302 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
30303 echo $ECHO_N "(cached) $ECHO_C" >&6
30304 else
30305 # One or both of the vars are not set, and there is no cached value.
30306 ac_x_includes=no ac_x_libraries=no
30307 rm -f -r conftest.dir
30308 if mkdir conftest.dir; then
30309 cd conftest.dir
30310 cat >Imakefile <<'_ACEOF'
30311 incroot:
30312 @echo incroot='${INCROOT}'
30313 usrlibdir:
30314 @echo usrlibdir='${USRLIBDIR}'
30315 libdir:
30316 @echo libdir='${LIBDIR}'
30317 _ACEOF
30318 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
30319 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
30320 for ac_var in incroot usrlibdir libdir; do
30321 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
30322 done
30323 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
30324 for ac_extension in a so sl; do
30325 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
30326 test -f "$ac_im_libdir/libX11.$ac_extension"; then
30327 ac_im_usrlibdir=$ac_im_libdir; break
30328 fi
30329 done
30330 # Screen out bogus values from the imake configuration. They are
30331 # bogus both because they are the default anyway, and because
30332 # using them would break gcc on systems where it needs fixed includes.
30333 case $ac_im_incroot in
30334 /usr/include) ac_x_includes= ;;
30335 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
30336 esac
30337 case $ac_im_usrlibdir in
30338 /usr/lib | /lib) ;;
30339 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
30340 esac
30341 fi
30342 cd ..
30343 rm -f -r conftest.dir
30344 fi
30345
30346 # Standard set of common directories for X headers.
30347 # Check X11 before X11Rn because it is often a symlink to the current release.
30348 ac_x_header_dirs='
30349 /usr/X11/include
30350 /usr/X11R6/include
30351 /usr/X11R5/include
30352 /usr/X11R4/include
30353
30354 /usr/include/X11
30355 /usr/include/X11R6
30356 /usr/include/X11R5
30357 /usr/include/X11R4
30358
30359 /usr/local/X11/include
30360 /usr/local/X11R6/include
30361 /usr/local/X11R5/include
30362 /usr/local/X11R4/include
30363
30364 /usr/local/include/X11
30365 /usr/local/include/X11R6
30366 /usr/local/include/X11R5
30367 /usr/local/include/X11R4
30368
30369 /usr/X386/include
30370 /usr/x386/include
30371 /usr/XFree86/include/X11
30372
30373 /usr/include
30374 /usr/local/include
30375 /usr/unsupported/include
30376 /usr/athena/include
30377 /usr/local/x11r5/include
30378 /usr/lpp/Xamples/include
30379
30380 /usr/openwin/include
30381 /usr/openwin/share/include'
30382
30383 if test "$ac_x_includes" = no; then
30384 # Guess where to find include files, by looking for Xlib.h.
30385 # First, try using that file with no special directory specified.
30386 cat >conftest.$ac_ext <<_ACEOF
30387 /* confdefs.h. */
30388 _ACEOF
30389 cat confdefs.h >>conftest.$ac_ext
30390 cat >>conftest.$ac_ext <<_ACEOF
30391 /* end confdefs.h. */
30392 #include <X11/Xlib.h>
30393 _ACEOF
30394 if { (ac_try="$ac_cpp conftest.$ac_ext"
30395 case "(($ac_try" in
30396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30397 *) ac_try_echo=$ac_try;;
30398 esac
30399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30400 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
30401 ac_status=$?
30402 grep -v '^ *+' conftest.er1 >conftest.err
30403 rm -f conftest.er1
30404 cat conftest.err >&5
30405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30406 (exit $ac_status); } >/dev/null && {
30407 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
30408 test ! -s conftest.err
30409 }; then
30410 # We can compile using X headers with no special include directory.
30411 ac_x_includes=
30412 else
30413 echo "$as_me: failed program was:" >&5
30414 sed 's/^/| /' conftest.$ac_ext >&5
30415
30416 for ac_dir in $ac_x_header_dirs; do
30417 if test -r "$ac_dir/X11/Xlib.h"; then
30418 ac_x_includes=$ac_dir
30419 break
30420 fi
30421 done
30422 fi
30423
30424 rm -f conftest.err conftest.$ac_ext
30425 fi # $ac_x_includes = no
30426
30427 if test "$ac_x_libraries" = no; then
30428 # Check for the libraries.
30429 # See if we find them without any special options.
30430 # Don't add to $LIBS permanently.
30431 ac_save_LIBS=$LIBS
30432 LIBS="-lX11 $LIBS"
30433 cat >conftest.$ac_ext <<_ACEOF
30434 /* confdefs.h. */
30435 _ACEOF
30436 cat confdefs.h >>conftest.$ac_ext
30437 cat >>conftest.$ac_ext <<_ACEOF
30438 /* end confdefs.h. */
30439 #include <X11/Xlib.h>
30440 int
30441 main ()
30442 {
30443 XrmInitialize ()
30444 ;
30445 return 0;
30446 }
30447 _ACEOF
30448 rm -f conftest.$ac_objext conftest$ac_exeext
30449 if { (ac_try="$ac_link"
30450 case "(($ac_try" in
30451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30452 *) ac_try_echo=$ac_try;;
30453 esac
30454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30455 (eval "$ac_link") 2>conftest.er1
30456 ac_status=$?
30457 grep -v '^ *+' conftest.er1 >conftest.err
30458 rm -f conftest.er1
30459 cat conftest.err >&5
30460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30461 (exit $ac_status); } && {
30462 test -z "$ac_c_werror_flag" ||
30463 test ! -s conftest.err
30464 } && test -s conftest$ac_exeext &&
30465 $as_test_x conftest$ac_exeext; then
30466 LIBS=$ac_save_LIBS
30467 # We can link X programs with no special library path.
30468 ac_x_libraries=
30469 else
30470 echo "$as_me: failed program was:" >&5
30471 sed 's/^/| /' conftest.$ac_ext >&5
30472
30473 LIBS=$ac_save_LIBS
30474 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
30475 do
30476 # Don't even attempt the hair of trying to link an X program!
30477 for ac_extension in a so sl; do
30478 if test -r "$ac_dir/libX11.$ac_extension"; then
30479 ac_x_libraries=$ac_dir
30480 break 2
30481 fi
30482 done
30483 done
30484 fi
30485
30486 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30487 conftest$ac_exeext conftest.$ac_ext
30488 fi # $ac_x_libraries = no
30489
30490 case $ac_x_includes,$ac_x_libraries in #(
30491 no,* | *,no | *\'*)
30492 # Didn't find X, or a directory has "'" in its name.
30493 ac_cv_have_x="have_x=no";; #(
30494 *)
30495 # Record where we found X for the cache.
30496 ac_cv_have_x="have_x=yes\
30497 ac_x_includes='$ac_x_includes'\
30498 ac_x_libraries='$ac_x_libraries'"
30499 esac
30500 fi
30501 ;; #(
30502 *) have_x=yes;;
30503 esac
30504 eval "$ac_cv_have_x"
30505 fi # $with_x != no
30506
30507 if test "$have_x" != yes; then
30508 { echo "$as_me:$LINENO: result: $have_x" >&5
30509 echo "${ECHO_T}$have_x" >&6; }
30510 no_x=yes
30511 else
30512 # If each of the values was on the command line, it overrides each guess.
30513 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
30514 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
30515 # Update the cache value to reflect the command line values.
30516 ac_cv_have_x="have_x=yes\
30517 ac_x_includes='$x_includes'\
30518 ac_x_libraries='$x_libraries'"
30519 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
30520 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
30521 fi
30522
30523 if test "$no_x" = yes; then
30524 # Not all programs may use this symbol, but it does not hurt to define it.
30525
30526 cat >>confdefs.h <<\_ACEOF
30527 #define X_DISPLAY_MISSING 1
30528 _ACEOF
30529
30530 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
30531 else
30532 if test -n "$x_includes"; then
30533 X_CFLAGS="$X_CFLAGS -I$x_includes"
30534 fi
30535
30536 # It would also be nice to do this for all -L options, not just this one.
30537 if test -n "$x_libraries"; then
30538 X_LIBS="$X_LIBS -L$x_libraries"
30539 # For Solaris; some versions of Sun CC require a space after -R and
30540 # others require no space. Words are not sufficient . . . .
30541 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
30542 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
30543 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
30544 ac_xsave_c_werror_flag=$ac_c_werror_flag
30545 ac_c_werror_flag=yes
30546 cat >conftest.$ac_ext <<_ACEOF
30547 /* confdefs.h. */
30548 _ACEOF
30549 cat confdefs.h >>conftest.$ac_ext
30550 cat >>conftest.$ac_ext <<_ACEOF
30551 /* end confdefs.h. */
30552
30553 int
30554 main ()
30555 {
30556
30557 ;
30558 return 0;
30559 }
30560 _ACEOF
30561 rm -f conftest.$ac_objext conftest$ac_exeext
30562 if { (ac_try="$ac_link"
30563 case "(($ac_try" in
30564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30565 *) ac_try_echo=$ac_try;;
30566 esac
30567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30568 (eval "$ac_link") 2>conftest.er1
30569 ac_status=$?
30570 grep -v '^ *+' conftest.er1 >conftest.err
30571 rm -f conftest.er1
30572 cat conftest.err >&5
30573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30574 (exit $ac_status); } && {
30575 test -z "$ac_c_werror_flag" ||
30576 test ! -s conftest.err
30577 } && test -s conftest$ac_exeext &&
30578 $as_test_x conftest$ac_exeext; then
30579 { echo "$as_me:$LINENO: result: no" >&5
30580 echo "${ECHO_T}no" >&6; }
30581 X_LIBS="$X_LIBS -R$x_libraries"
30582 else
30583 echo "$as_me: failed program was:" >&5
30584 sed 's/^/| /' conftest.$ac_ext >&5
30585
30586 LIBS="$ac_xsave_LIBS -R $x_libraries"
30587 cat >conftest.$ac_ext <<_ACEOF
30588 /* confdefs.h. */
30589 _ACEOF
30590 cat confdefs.h >>conftest.$ac_ext
30591 cat >>conftest.$ac_ext <<_ACEOF
30592 /* end confdefs.h. */
30593
30594 int
30595 main ()
30596 {
30597
30598 ;
30599 return 0;
30600 }
30601 _ACEOF
30602 rm -f conftest.$ac_objext conftest$ac_exeext
30603 if { (ac_try="$ac_link"
30604 case "(($ac_try" in
30605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30606 *) ac_try_echo=$ac_try;;
30607 esac
30608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30609 (eval "$ac_link") 2>conftest.er1
30610 ac_status=$?
30611 grep -v '^ *+' conftest.er1 >conftest.err
30612 rm -f conftest.er1
30613 cat conftest.err >&5
30614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30615 (exit $ac_status); } && {
30616 test -z "$ac_c_werror_flag" ||
30617 test ! -s conftest.err
30618 } && test -s conftest$ac_exeext &&
30619 $as_test_x conftest$ac_exeext; then
30620 { echo "$as_me:$LINENO: result: yes" >&5
30621 echo "${ECHO_T}yes" >&6; }
30622 X_LIBS="$X_LIBS -R $x_libraries"
30623 else
30624 echo "$as_me: failed program was:" >&5
30625 sed 's/^/| /' conftest.$ac_ext >&5
30626
30627 { echo "$as_me:$LINENO: result: neither works" >&5
30628 echo "${ECHO_T}neither works" >&6; }
30629 fi
30630
30631 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30632 conftest$ac_exeext conftest.$ac_ext
30633 fi
30634
30635 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30636 conftest$ac_exeext conftest.$ac_ext
30637 ac_c_werror_flag=$ac_xsave_c_werror_flag
30638 LIBS=$ac_xsave_LIBS
30639 fi
30640
30641 # Check for system-dependent libraries X programs must link with.
30642 # Do this before checking for the system-independent R6 libraries
30643 # (-lICE), since we may need -lsocket or whatever for X linking.
30644
30645 if test "$ISC" = yes; then
30646 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
30647 else
30648 # Martyn Johnson says this is needed for Ultrix, if the X
30649 # libraries were built with DECnet support. And Karl Berry says
30650 # the Alpha needs dnet_stub (dnet does not exist).
30651 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
30652 cat >conftest.$ac_ext <<_ACEOF
30653 /* confdefs.h. */
30654 _ACEOF
30655 cat confdefs.h >>conftest.$ac_ext
30656 cat >>conftest.$ac_ext <<_ACEOF
30657 /* end confdefs.h. */
30658
30659 /* Override any GCC internal prototype to avoid an error.
30660 Use char because int might match the return type of a GCC
30661 builtin and then its argument prototype would still apply. */
30662 #ifdef __cplusplus
30663 extern "C"
30664 #endif
30665 char XOpenDisplay ();
30666 int
30667 main ()
30668 {
30669 return XOpenDisplay ();
30670 ;
30671 return 0;
30672 }
30673 _ACEOF
30674 rm -f conftest.$ac_objext conftest$ac_exeext
30675 if { (ac_try="$ac_link"
30676 case "(($ac_try" in
30677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30678 *) ac_try_echo=$ac_try;;
30679 esac
30680 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30681 (eval "$ac_link") 2>conftest.er1
30682 ac_status=$?
30683 grep -v '^ *+' conftest.er1 >conftest.err
30684 rm -f conftest.er1
30685 cat conftest.err >&5
30686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30687 (exit $ac_status); } && {
30688 test -z "$ac_c_werror_flag" ||
30689 test ! -s conftest.err
30690 } && test -s conftest$ac_exeext &&
30691 $as_test_x conftest$ac_exeext; then
30692 :
30693 else
30694 echo "$as_me: failed program was:" >&5
30695 sed 's/^/| /' conftest.$ac_ext >&5
30696
30697 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
30698 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
30699 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
30700 echo $ECHO_N "(cached) $ECHO_C" >&6
30701 else
30702 ac_check_lib_save_LIBS=$LIBS
30703 LIBS="-ldnet $LIBS"
30704 cat >conftest.$ac_ext <<_ACEOF
30705 /* confdefs.h. */
30706 _ACEOF
30707 cat confdefs.h >>conftest.$ac_ext
30708 cat >>conftest.$ac_ext <<_ACEOF
30709 /* end confdefs.h. */
30710
30711 /* Override any GCC internal prototype to avoid an error.
30712 Use char because int might match the return type of a GCC
30713 builtin and then its argument prototype would still apply. */
30714 #ifdef __cplusplus
30715 extern "C"
30716 #endif
30717 char dnet_ntoa ();
30718 int
30719 main ()
30720 {
30721 return dnet_ntoa ();
30722 ;
30723 return 0;
30724 }
30725 _ACEOF
30726 rm -f conftest.$ac_objext conftest$ac_exeext
30727 if { (ac_try="$ac_link"
30728 case "(($ac_try" in
30729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30730 *) ac_try_echo=$ac_try;;
30731 esac
30732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30733 (eval "$ac_link") 2>conftest.er1
30734 ac_status=$?
30735 grep -v '^ *+' conftest.er1 >conftest.err
30736 rm -f conftest.er1
30737 cat conftest.err >&5
30738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30739 (exit $ac_status); } && {
30740 test -z "$ac_c_werror_flag" ||
30741 test ! -s conftest.err
30742 } && test -s conftest$ac_exeext &&
30743 $as_test_x conftest$ac_exeext; then
30744 ac_cv_lib_dnet_dnet_ntoa=yes
30745 else
30746 echo "$as_me: failed program was:" >&5
30747 sed 's/^/| /' conftest.$ac_ext >&5
30748
30749 ac_cv_lib_dnet_dnet_ntoa=no
30750 fi
30751
30752 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30753 conftest$ac_exeext conftest.$ac_ext
30754 LIBS=$ac_check_lib_save_LIBS
30755 fi
30756 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
30757 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
30758 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
30759 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
30760 fi
30761
30762 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
30763 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
30764 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
30765 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
30766 echo $ECHO_N "(cached) $ECHO_C" >&6
30767 else
30768 ac_check_lib_save_LIBS=$LIBS
30769 LIBS="-ldnet_stub $LIBS"
30770 cat >conftest.$ac_ext <<_ACEOF
30771 /* confdefs.h. */
30772 _ACEOF
30773 cat confdefs.h >>conftest.$ac_ext
30774 cat >>conftest.$ac_ext <<_ACEOF
30775 /* end confdefs.h. */
30776
30777 /* Override any GCC internal prototype to avoid an error.
30778 Use char because int might match the return type of a GCC
30779 builtin and then its argument prototype would still apply. */
30780 #ifdef __cplusplus
30781 extern "C"
30782 #endif
30783 char dnet_ntoa ();
30784 int
30785 main ()
30786 {
30787 return dnet_ntoa ();
30788 ;
30789 return 0;
30790 }
30791 _ACEOF
30792 rm -f conftest.$ac_objext conftest$ac_exeext
30793 if { (ac_try="$ac_link"
30794 case "(($ac_try" in
30795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30796 *) ac_try_echo=$ac_try;;
30797 esac
30798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30799 (eval "$ac_link") 2>conftest.er1
30800 ac_status=$?
30801 grep -v '^ *+' conftest.er1 >conftest.err
30802 rm -f conftest.er1
30803 cat conftest.err >&5
30804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30805 (exit $ac_status); } && {
30806 test -z "$ac_c_werror_flag" ||
30807 test ! -s conftest.err
30808 } && test -s conftest$ac_exeext &&
30809 $as_test_x conftest$ac_exeext; then
30810 ac_cv_lib_dnet_stub_dnet_ntoa=yes
30811 else
30812 echo "$as_me: failed program was:" >&5
30813 sed 's/^/| /' conftest.$ac_ext >&5
30814
30815 ac_cv_lib_dnet_stub_dnet_ntoa=no
30816 fi
30817
30818 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30819 conftest$ac_exeext conftest.$ac_ext
30820 LIBS=$ac_check_lib_save_LIBS
30821 fi
30822 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
30823 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
30824 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
30825 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
30826 fi
30827
30828 fi
30829 fi
30830
30831 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30832 conftest$ac_exeext conftest.$ac_ext
30833 LIBS="$ac_xsave_LIBS"
30834
30835 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
30836 # to get the SysV transport functions.
30837 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
30838 # needs -lnsl.
30839 # The nsl library prevents programs from opening the X display
30840 # on Irix 5.2, according to T.E. Dickey.
30841 # The functions gethostbyname, getservbyname, and inet_addr are
30842 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
30843 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
30844 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
30845 if test "${ac_cv_func_gethostbyname+set}" = set; then
30846 echo $ECHO_N "(cached) $ECHO_C" >&6
30847 else
30848 cat >conftest.$ac_ext <<_ACEOF
30849 /* confdefs.h. */
30850 _ACEOF
30851 cat confdefs.h >>conftest.$ac_ext
30852 cat >>conftest.$ac_ext <<_ACEOF
30853 /* end confdefs.h. */
30854 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
30855 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30856 #define gethostbyname innocuous_gethostbyname
30857
30858 /* System header to define __stub macros and hopefully few prototypes,
30859 which can conflict with char gethostbyname (); below.
30860 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30861 <limits.h> exists even on freestanding compilers. */
30862
30863 #ifdef __STDC__
30864 # include <limits.h>
30865 #else
30866 # include <assert.h>
30867 #endif
30868
30869 #undef gethostbyname
30870
30871 /* Override any GCC internal prototype to avoid an error.
30872 Use char because int might match the return type of a GCC
30873 builtin and then its argument prototype would still apply. */
30874 #ifdef __cplusplus
30875 extern "C"
30876 #endif
30877 char gethostbyname ();
30878 /* The GNU C library defines this for functions which it implements
30879 to always fail with ENOSYS. Some functions are actually named
30880 something starting with __ and the normal name is an alias. */
30881 #if defined __stub_gethostbyname || defined __stub___gethostbyname
30882 choke me
30883 #endif
30884
30885 int
30886 main ()
30887 {
30888 return gethostbyname ();
30889 ;
30890 return 0;
30891 }
30892 _ACEOF
30893 rm -f conftest.$ac_objext conftest$ac_exeext
30894 if { (ac_try="$ac_link"
30895 case "(($ac_try" in
30896 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30897 *) ac_try_echo=$ac_try;;
30898 esac
30899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30900 (eval "$ac_link") 2>conftest.er1
30901 ac_status=$?
30902 grep -v '^ *+' conftest.er1 >conftest.err
30903 rm -f conftest.er1
30904 cat conftest.err >&5
30905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30906 (exit $ac_status); } && {
30907 test -z "$ac_c_werror_flag" ||
30908 test ! -s conftest.err
30909 } && test -s conftest$ac_exeext &&
30910 $as_test_x conftest$ac_exeext; then
30911 ac_cv_func_gethostbyname=yes
30912 else
30913 echo "$as_me: failed program was:" >&5
30914 sed 's/^/| /' conftest.$ac_ext >&5
30915
30916 ac_cv_func_gethostbyname=no
30917 fi
30918
30919 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30920 conftest$ac_exeext conftest.$ac_ext
30921 fi
30922 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
30923 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
30924
30925 if test $ac_cv_func_gethostbyname = no; then
30926 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
30927 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
30928 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
30929 echo $ECHO_N "(cached) $ECHO_C" >&6
30930 else
30931 ac_check_lib_save_LIBS=$LIBS
30932 LIBS="-lnsl $LIBS"
30933 cat >conftest.$ac_ext <<_ACEOF
30934 /* confdefs.h. */
30935 _ACEOF
30936 cat confdefs.h >>conftest.$ac_ext
30937 cat >>conftest.$ac_ext <<_ACEOF
30938 /* end confdefs.h. */
30939
30940 /* Override any GCC internal prototype to avoid an error.
30941 Use char because int might match the return type of a GCC
30942 builtin and then its argument prototype would still apply. */
30943 #ifdef __cplusplus
30944 extern "C"
30945 #endif
30946 char gethostbyname ();
30947 int
30948 main ()
30949 {
30950 return gethostbyname ();
30951 ;
30952 return 0;
30953 }
30954 _ACEOF
30955 rm -f conftest.$ac_objext conftest$ac_exeext
30956 if { (ac_try="$ac_link"
30957 case "(($ac_try" in
30958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30959 *) ac_try_echo=$ac_try;;
30960 esac
30961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30962 (eval "$ac_link") 2>conftest.er1
30963 ac_status=$?
30964 grep -v '^ *+' conftest.er1 >conftest.err
30965 rm -f conftest.er1
30966 cat conftest.err >&5
30967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30968 (exit $ac_status); } && {
30969 test -z "$ac_c_werror_flag" ||
30970 test ! -s conftest.err
30971 } && test -s conftest$ac_exeext &&
30972 $as_test_x conftest$ac_exeext; then
30973 ac_cv_lib_nsl_gethostbyname=yes
30974 else
30975 echo "$as_me: failed program was:" >&5
30976 sed 's/^/| /' conftest.$ac_ext >&5
30977
30978 ac_cv_lib_nsl_gethostbyname=no
30979 fi
30980
30981 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30982 conftest$ac_exeext conftest.$ac_ext
30983 LIBS=$ac_check_lib_save_LIBS
30984 fi
30985 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
30986 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
30987 if test $ac_cv_lib_nsl_gethostbyname = yes; then
30988 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
30989 fi
30990
30991 if test $ac_cv_lib_nsl_gethostbyname = no; then
30992 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
30993 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
30994 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
30995 echo $ECHO_N "(cached) $ECHO_C" >&6
30996 else
30997 ac_check_lib_save_LIBS=$LIBS
30998 LIBS="-lbsd $LIBS"
30999 cat >conftest.$ac_ext <<_ACEOF
31000 /* confdefs.h. */
31001 _ACEOF
31002 cat confdefs.h >>conftest.$ac_ext
31003 cat >>conftest.$ac_ext <<_ACEOF
31004 /* end confdefs.h. */
31005
31006 /* Override any GCC internal prototype to avoid an error.
31007 Use char because int might match the return type of a GCC
31008 builtin and then its argument prototype would still apply. */
31009 #ifdef __cplusplus
31010 extern "C"
31011 #endif
31012 char gethostbyname ();
31013 int
31014 main ()
31015 {
31016 return gethostbyname ();
31017 ;
31018 return 0;
31019 }
31020 _ACEOF
31021 rm -f conftest.$ac_objext conftest$ac_exeext
31022 if { (ac_try="$ac_link"
31023 case "(($ac_try" in
31024 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31025 *) ac_try_echo=$ac_try;;
31026 esac
31027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31028 (eval "$ac_link") 2>conftest.er1
31029 ac_status=$?
31030 grep -v '^ *+' conftest.er1 >conftest.err
31031 rm -f conftest.er1
31032 cat conftest.err >&5
31033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31034 (exit $ac_status); } && {
31035 test -z "$ac_c_werror_flag" ||
31036 test ! -s conftest.err
31037 } && test -s conftest$ac_exeext &&
31038 $as_test_x conftest$ac_exeext; then
31039 ac_cv_lib_bsd_gethostbyname=yes
31040 else
31041 echo "$as_me: failed program was:" >&5
31042 sed 's/^/| /' conftest.$ac_ext >&5
31043
31044 ac_cv_lib_bsd_gethostbyname=no
31045 fi
31046
31047 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31048 conftest$ac_exeext conftest.$ac_ext
31049 LIBS=$ac_check_lib_save_LIBS
31050 fi
31051 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
31052 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
31053 if test $ac_cv_lib_bsd_gethostbyname = yes; then
31054 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
31055 fi
31056
31057 fi
31058 fi
31059
31060 # lieder@skyler.mavd.honeywell.com says without -lsocket,
31061 # socket/setsockopt and other routines are undefined under SCO ODT
31062 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
31063 # on later versions), says Simon Leinen: it contains gethostby*
31064 # variants that don't use the name server (or something). -lsocket
31065 # must be given before -lnsl if both are needed. We assume that
31066 # if connect needs -lnsl, so does gethostbyname.
31067 { echo "$as_me:$LINENO: checking for connect" >&5
31068 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
31069 if test "${ac_cv_func_connect+set}" = set; then
31070 echo $ECHO_N "(cached) $ECHO_C" >&6
31071 else
31072 cat >conftest.$ac_ext <<_ACEOF
31073 /* confdefs.h. */
31074 _ACEOF
31075 cat confdefs.h >>conftest.$ac_ext
31076 cat >>conftest.$ac_ext <<_ACEOF
31077 /* end confdefs.h. */
31078 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
31079 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31080 #define connect innocuous_connect
31081
31082 /* System header to define __stub macros and hopefully few prototypes,
31083 which can conflict with char connect (); below.
31084 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31085 <limits.h> exists even on freestanding compilers. */
31086
31087 #ifdef __STDC__
31088 # include <limits.h>
31089 #else
31090 # include <assert.h>
31091 #endif
31092
31093 #undef connect
31094
31095 /* Override any GCC internal prototype to avoid an error.
31096 Use char because int might match the return type of a GCC
31097 builtin and then its argument prototype would still apply. */
31098 #ifdef __cplusplus
31099 extern "C"
31100 #endif
31101 char connect ();
31102 /* The GNU C library defines this for functions which it implements
31103 to always fail with ENOSYS. Some functions are actually named
31104 something starting with __ and the normal name is an alias. */
31105 #if defined __stub_connect || defined __stub___connect
31106 choke me
31107 #endif
31108
31109 int
31110 main ()
31111 {
31112 return connect ();
31113 ;
31114 return 0;
31115 }
31116 _ACEOF
31117 rm -f conftest.$ac_objext conftest$ac_exeext
31118 if { (ac_try="$ac_link"
31119 case "(($ac_try" in
31120 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31121 *) ac_try_echo=$ac_try;;
31122 esac
31123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31124 (eval "$ac_link") 2>conftest.er1
31125 ac_status=$?
31126 grep -v '^ *+' conftest.er1 >conftest.err
31127 rm -f conftest.er1
31128 cat conftest.err >&5
31129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31130 (exit $ac_status); } && {
31131 test -z "$ac_c_werror_flag" ||
31132 test ! -s conftest.err
31133 } && test -s conftest$ac_exeext &&
31134 $as_test_x conftest$ac_exeext; then
31135 ac_cv_func_connect=yes
31136 else
31137 echo "$as_me: failed program was:" >&5
31138 sed 's/^/| /' conftest.$ac_ext >&5
31139
31140 ac_cv_func_connect=no
31141 fi
31142
31143 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31144 conftest$ac_exeext conftest.$ac_ext
31145 fi
31146 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
31147 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
31148
31149 if test $ac_cv_func_connect = no; then
31150 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
31151 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
31152 if test "${ac_cv_lib_socket_connect+set}" = set; then
31153 echo $ECHO_N "(cached) $ECHO_C" >&6
31154 else
31155 ac_check_lib_save_LIBS=$LIBS
31156 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
31157 cat >conftest.$ac_ext <<_ACEOF
31158 /* confdefs.h. */
31159 _ACEOF
31160 cat confdefs.h >>conftest.$ac_ext
31161 cat >>conftest.$ac_ext <<_ACEOF
31162 /* end confdefs.h. */
31163
31164 /* Override any GCC internal prototype to avoid an error.
31165 Use char because int might match the return type of a GCC
31166 builtin and then its argument prototype would still apply. */
31167 #ifdef __cplusplus
31168 extern "C"
31169 #endif
31170 char connect ();
31171 int
31172 main ()
31173 {
31174 return connect ();
31175 ;
31176 return 0;
31177 }
31178 _ACEOF
31179 rm -f conftest.$ac_objext conftest$ac_exeext
31180 if { (ac_try="$ac_link"
31181 case "(($ac_try" in
31182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31183 *) ac_try_echo=$ac_try;;
31184 esac
31185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31186 (eval "$ac_link") 2>conftest.er1
31187 ac_status=$?
31188 grep -v '^ *+' conftest.er1 >conftest.err
31189 rm -f conftest.er1
31190 cat conftest.err >&5
31191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31192 (exit $ac_status); } && {
31193 test -z "$ac_c_werror_flag" ||
31194 test ! -s conftest.err
31195 } && test -s conftest$ac_exeext &&
31196 $as_test_x conftest$ac_exeext; then
31197 ac_cv_lib_socket_connect=yes
31198 else
31199 echo "$as_me: failed program was:" >&5
31200 sed 's/^/| /' conftest.$ac_ext >&5
31201
31202 ac_cv_lib_socket_connect=no
31203 fi
31204
31205 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31206 conftest$ac_exeext conftest.$ac_ext
31207 LIBS=$ac_check_lib_save_LIBS
31208 fi
31209 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
31210 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
31211 if test $ac_cv_lib_socket_connect = yes; then
31212 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
31213 fi
31214
31215 fi
31216
31217 # Guillermo Gomez says -lposix is necessary on A/UX.
31218 { echo "$as_me:$LINENO: checking for remove" >&5
31219 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
31220 if test "${ac_cv_func_remove+set}" = set; then
31221 echo $ECHO_N "(cached) $ECHO_C" >&6
31222 else
31223 cat >conftest.$ac_ext <<_ACEOF
31224 /* confdefs.h. */
31225 _ACEOF
31226 cat confdefs.h >>conftest.$ac_ext
31227 cat >>conftest.$ac_ext <<_ACEOF
31228 /* end confdefs.h. */
31229 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
31230 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31231 #define remove innocuous_remove
31232
31233 /* System header to define __stub macros and hopefully few prototypes,
31234 which can conflict with char remove (); below.
31235 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31236 <limits.h> exists even on freestanding compilers. */
31237
31238 #ifdef __STDC__
31239 # include <limits.h>
31240 #else
31241 # include <assert.h>
31242 #endif
31243
31244 #undef remove
31245
31246 /* Override any GCC internal prototype to avoid an error.
31247 Use char because int might match the return type of a GCC
31248 builtin and then its argument prototype would still apply. */
31249 #ifdef __cplusplus
31250 extern "C"
31251 #endif
31252 char remove ();
31253 /* The GNU C library defines this for functions which it implements
31254 to always fail with ENOSYS. Some functions are actually named
31255 something starting with __ and the normal name is an alias. */
31256 #if defined __stub_remove || defined __stub___remove
31257 choke me
31258 #endif
31259
31260 int
31261 main ()
31262 {
31263 return remove ();
31264 ;
31265 return 0;
31266 }
31267 _ACEOF
31268 rm -f conftest.$ac_objext conftest$ac_exeext
31269 if { (ac_try="$ac_link"
31270 case "(($ac_try" in
31271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31272 *) ac_try_echo=$ac_try;;
31273 esac
31274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31275 (eval "$ac_link") 2>conftest.er1
31276 ac_status=$?
31277 grep -v '^ *+' conftest.er1 >conftest.err
31278 rm -f conftest.er1
31279 cat conftest.err >&5
31280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31281 (exit $ac_status); } && {
31282 test -z "$ac_c_werror_flag" ||
31283 test ! -s conftest.err
31284 } && test -s conftest$ac_exeext &&
31285 $as_test_x conftest$ac_exeext; then
31286 ac_cv_func_remove=yes
31287 else
31288 echo "$as_me: failed program was:" >&5
31289 sed 's/^/| /' conftest.$ac_ext >&5
31290
31291 ac_cv_func_remove=no
31292 fi
31293
31294 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31295 conftest$ac_exeext conftest.$ac_ext
31296 fi
31297 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
31298 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
31299
31300 if test $ac_cv_func_remove = no; then
31301 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
31302 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
31303 if test "${ac_cv_lib_posix_remove+set}" = set; then
31304 echo $ECHO_N "(cached) $ECHO_C" >&6
31305 else
31306 ac_check_lib_save_LIBS=$LIBS
31307 LIBS="-lposix $LIBS"
31308 cat >conftest.$ac_ext <<_ACEOF
31309 /* confdefs.h. */
31310 _ACEOF
31311 cat confdefs.h >>conftest.$ac_ext
31312 cat >>conftest.$ac_ext <<_ACEOF
31313 /* end confdefs.h. */
31314
31315 /* Override any GCC internal prototype to avoid an error.
31316 Use char because int might match the return type of a GCC
31317 builtin and then its argument prototype would still apply. */
31318 #ifdef __cplusplus
31319 extern "C"
31320 #endif
31321 char remove ();
31322 int
31323 main ()
31324 {
31325 return remove ();
31326 ;
31327 return 0;
31328 }
31329 _ACEOF
31330 rm -f conftest.$ac_objext conftest$ac_exeext
31331 if { (ac_try="$ac_link"
31332 case "(($ac_try" in
31333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31334 *) ac_try_echo=$ac_try;;
31335 esac
31336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31337 (eval "$ac_link") 2>conftest.er1
31338 ac_status=$?
31339 grep -v '^ *+' conftest.er1 >conftest.err
31340 rm -f conftest.er1
31341 cat conftest.err >&5
31342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31343 (exit $ac_status); } && {
31344 test -z "$ac_c_werror_flag" ||
31345 test ! -s conftest.err
31346 } && test -s conftest$ac_exeext &&
31347 $as_test_x conftest$ac_exeext; then
31348 ac_cv_lib_posix_remove=yes
31349 else
31350 echo "$as_me: failed program was:" >&5
31351 sed 's/^/| /' conftest.$ac_ext >&5
31352
31353 ac_cv_lib_posix_remove=no
31354 fi
31355
31356 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31357 conftest$ac_exeext conftest.$ac_ext
31358 LIBS=$ac_check_lib_save_LIBS
31359 fi
31360 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
31361 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
31362 if test $ac_cv_lib_posix_remove = yes; then
31363 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
31364 fi
31365
31366 fi
31367
31368 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
31369 { echo "$as_me:$LINENO: checking for shmat" >&5
31370 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
31371 if test "${ac_cv_func_shmat+set}" = set; then
31372 echo $ECHO_N "(cached) $ECHO_C" >&6
31373 else
31374 cat >conftest.$ac_ext <<_ACEOF
31375 /* confdefs.h. */
31376 _ACEOF
31377 cat confdefs.h >>conftest.$ac_ext
31378 cat >>conftest.$ac_ext <<_ACEOF
31379 /* end confdefs.h. */
31380 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
31381 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31382 #define shmat innocuous_shmat
31383
31384 /* System header to define __stub macros and hopefully few prototypes,
31385 which can conflict with char shmat (); below.
31386 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31387 <limits.h> exists even on freestanding compilers. */
31388
31389 #ifdef __STDC__
31390 # include <limits.h>
31391 #else
31392 # include <assert.h>
31393 #endif
31394
31395 #undef shmat
31396
31397 /* Override any GCC internal prototype to avoid an error.
31398 Use char because int might match the return type of a GCC
31399 builtin and then its argument prototype would still apply. */
31400 #ifdef __cplusplus
31401 extern "C"
31402 #endif
31403 char shmat ();
31404 /* The GNU C library defines this for functions which it implements
31405 to always fail with ENOSYS. Some functions are actually named
31406 something starting with __ and the normal name is an alias. */
31407 #if defined __stub_shmat || defined __stub___shmat
31408 choke me
31409 #endif
31410
31411 int
31412 main ()
31413 {
31414 return shmat ();
31415 ;
31416 return 0;
31417 }
31418 _ACEOF
31419 rm -f conftest.$ac_objext conftest$ac_exeext
31420 if { (ac_try="$ac_link"
31421 case "(($ac_try" in
31422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31423 *) ac_try_echo=$ac_try;;
31424 esac
31425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31426 (eval "$ac_link") 2>conftest.er1
31427 ac_status=$?
31428 grep -v '^ *+' conftest.er1 >conftest.err
31429 rm -f conftest.er1
31430 cat conftest.err >&5
31431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31432 (exit $ac_status); } && {
31433 test -z "$ac_c_werror_flag" ||
31434 test ! -s conftest.err
31435 } && test -s conftest$ac_exeext &&
31436 $as_test_x conftest$ac_exeext; then
31437 ac_cv_func_shmat=yes
31438 else
31439 echo "$as_me: failed program was:" >&5
31440 sed 's/^/| /' conftest.$ac_ext >&5
31441
31442 ac_cv_func_shmat=no
31443 fi
31444
31445 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31446 conftest$ac_exeext conftest.$ac_ext
31447 fi
31448 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
31449 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
31450
31451 if test $ac_cv_func_shmat = no; then
31452 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
31453 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
31454 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
31455 echo $ECHO_N "(cached) $ECHO_C" >&6
31456 else
31457 ac_check_lib_save_LIBS=$LIBS
31458 LIBS="-lipc $LIBS"
31459 cat >conftest.$ac_ext <<_ACEOF
31460 /* confdefs.h. */
31461 _ACEOF
31462 cat confdefs.h >>conftest.$ac_ext
31463 cat >>conftest.$ac_ext <<_ACEOF
31464 /* end confdefs.h. */
31465
31466 /* Override any GCC internal prototype to avoid an error.
31467 Use char because int might match the return type of a GCC
31468 builtin and then its argument prototype would still apply. */
31469 #ifdef __cplusplus
31470 extern "C"
31471 #endif
31472 char shmat ();
31473 int
31474 main ()
31475 {
31476 return shmat ();
31477 ;
31478 return 0;
31479 }
31480 _ACEOF
31481 rm -f conftest.$ac_objext conftest$ac_exeext
31482 if { (ac_try="$ac_link"
31483 case "(($ac_try" in
31484 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31485 *) ac_try_echo=$ac_try;;
31486 esac
31487 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31488 (eval "$ac_link") 2>conftest.er1
31489 ac_status=$?
31490 grep -v '^ *+' conftest.er1 >conftest.err
31491 rm -f conftest.er1
31492 cat conftest.err >&5
31493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31494 (exit $ac_status); } && {
31495 test -z "$ac_c_werror_flag" ||
31496 test ! -s conftest.err
31497 } && test -s conftest$ac_exeext &&
31498 $as_test_x conftest$ac_exeext; then
31499 ac_cv_lib_ipc_shmat=yes
31500 else
31501 echo "$as_me: failed program was:" >&5
31502 sed 's/^/| /' conftest.$ac_ext >&5
31503
31504 ac_cv_lib_ipc_shmat=no
31505 fi
31506
31507 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31508 conftest$ac_exeext conftest.$ac_ext
31509 LIBS=$ac_check_lib_save_LIBS
31510 fi
31511 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
31512 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
31513 if test $ac_cv_lib_ipc_shmat = yes; then
31514 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
31515 fi
31516
31517 fi
31518 fi
31519
31520 # Check for libraries that X11R6 Xt/Xaw programs need.
31521 ac_save_LDFLAGS=$LDFLAGS
31522 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
31523 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
31524 # check for ICE first), but we must link in the order -lSM -lICE or
31525 # we get undefined symbols. So assume we have SM if we have ICE.
31526 # These have to be linked with before -lX11, unlike the other
31527 # libraries we check for below, so use a different variable.
31528 # John Interrante, Karl Berry
31529 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
31530 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
31531 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
31532 echo $ECHO_N "(cached) $ECHO_C" >&6
31533 else
31534 ac_check_lib_save_LIBS=$LIBS
31535 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
31536 cat >conftest.$ac_ext <<_ACEOF
31537 /* confdefs.h. */
31538 _ACEOF
31539 cat confdefs.h >>conftest.$ac_ext
31540 cat >>conftest.$ac_ext <<_ACEOF
31541 /* end confdefs.h. */
31542
31543 /* Override any GCC internal prototype to avoid an error.
31544 Use char because int might match the return type of a GCC
31545 builtin and then its argument prototype would still apply. */
31546 #ifdef __cplusplus
31547 extern "C"
31548 #endif
31549 char IceConnectionNumber ();
31550 int
31551 main ()
31552 {
31553 return IceConnectionNumber ();
31554 ;
31555 return 0;
31556 }
31557 _ACEOF
31558 rm -f conftest.$ac_objext conftest$ac_exeext
31559 if { (ac_try="$ac_link"
31560 case "(($ac_try" in
31561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31562 *) ac_try_echo=$ac_try;;
31563 esac
31564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31565 (eval "$ac_link") 2>conftest.er1
31566 ac_status=$?
31567 grep -v '^ *+' conftest.er1 >conftest.err
31568 rm -f conftest.er1
31569 cat conftest.err >&5
31570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31571 (exit $ac_status); } && {
31572 test -z "$ac_c_werror_flag" ||
31573 test ! -s conftest.err
31574 } && test -s conftest$ac_exeext &&
31575 $as_test_x conftest$ac_exeext; then
31576 ac_cv_lib_ICE_IceConnectionNumber=yes
31577 else
31578 echo "$as_me: failed program was:" >&5
31579 sed 's/^/| /' conftest.$ac_ext >&5
31580
31581 ac_cv_lib_ICE_IceConnectionNumber=no
31582 fi
31583
31584 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31585 conftest$ac_exeext conftest.$ac_ext
31586 LIBS=$ac_check_lib_save_LIBS
31587 fi
31588 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
31589 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
31590 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
31591 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
31592 fi
31593
31594 LDFLAGS=$ac_save_LDFLAGS
31595
31596 fi
31597
31598
31599 if test "$no_x" = "yes"; then
31600 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
31601 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
31602 { (exit 1); exit 1; }; }
31603 fi
31604
31605 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
31606 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
31607 AFMINSTALL=afminstall
31608 COMPILED_X_PROGRAM=0
31609
31610 fi
31611
31612 if test "$wxUSE_X11" = 1; then
31613 if test "$wxUSE_NANOX" = "yes"; then
31614 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
31615 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
31616 if test "x$MICROWIN" = x ; then
31617 { echo "$as_me:$LINENO: result: not found" >&5
31618 echo "${ECHO_T}not found" >&6; }
31619 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
31620 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
31621 { (exit 1); exit 1; }; }
31622 else
31623 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
31624 echo "${ECHO_T}$MICROWIN" >&6; }
31625 cat >>confdefs.h <<\_ACEOF
31626 #define wxUSE_NANOX 1
31627 _ACEOF
31628
31629 fi
31630 fi
31631
31632 if test "$wxUSE_UNICODE" = "yes"; then
31633
31634
31635 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31636 if test -n "$ac_tool_prefix"; then
31637 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31638 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
31639 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31640 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31641 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31642 echo $ECHO_N "(cached) $ECHO_C" >&6
31643 else
31644 case $PKG_CONFIG in
31645 [\\/]* | ?:[\\/]*)
31646 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
31647 ;;
31648 *)
31649 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31650 for as_dir in $PATH
31651 do
31652 IFS=$as_save_IFS
31653 test -z "$as_dir" && as_dir=.
31654 for ac_exec_ext in '' $ac_executable_extensions; do
31655 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31656 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31657 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31658 break 2
31659 fi
31660 done
31661 done
31662 IFS=$as_save_IFS
31663
31664 ;;
31665 esac
31666 fi
31667 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
31668 if test -n "$PKG_CONFIG"; then
31669 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31670 echo "${ECHO_T}$PKG_CONFIG" >&6; }
31671 else
31672 { echo "$as_me:$LINENO: result: no" >&5
31673 echo "${ECHO_T}no" >&6; }
31674 fi
31675
31676
31677 fi
31678 if test -z "$ac_cv_path_PKG_CONFIG"; then
31679 ac_pt_PKG_CONFIG=$PKG_CONFIG
31680 # Extract the first word of "pkg-config", so it can be a program name with args.
31681 set dummy pkg-config; ac_word=$2
31682 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31683 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31684 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31685 echo $ECHO_N "(cached) $ECHO_C" >&6
31686 else
31687 case $ac_pt_PKG_CONFIG in
31688 [\\/]* | ?:[\\/]*)
31689 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31690 ;;
31691 *)
31692 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31693 for as_dir in $PATH
31694 do
31695 IFS=$as_save_IFS
31696 test -z "$as_dir" && as_dir=.
31697 for ac_exec_ext in '' $ac_executable_extensions; do
31698 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31699 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31700 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31701 break 2
31702 fi
31703 done
31704 done
31705 IFS=$as_save_IFS
31706
31707 ;;
31708 esac
31709 fi
31710 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
31711 if test -n "$ac_pt_PKG_CONFIG"; then
31712 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31713 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
31714 else
31715 { echo "$as_me:$LINENO: result: no" >&5
31716 echo "${ECHO_T}no" >&6; }
31717 fi
31718
31719 if test "x$ac_pt_PKG_CONFIG" = x; then
31720 PKG_CONFIG=""
31721 else
31722 case $cross_compiling:$ac_tool_warned in
31723 yes:)
31724 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
31725 whose name does not start with the host triplet. If you think this
31726 configuration is useful to you, please write to autoconf@gnu.org." >&5
31727 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
31728 whose name does not start with the host triplet. If you think this
31729 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
31730 ac_tool_warned=yes ;;
31731 esac
31732 PKG_CONFIG=$ac_pt_PKG_CONFIG
31733 fi
31734 else
31735 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
31736 fi
31737
31738 fi
31739 if test -n "$PKG_CONFIG"; then
31740 _pkg_min_version=0.9.0
31741 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31742 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
31743 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31744 { echo "$as_me:$LINENO: result: yes" >&5
31745 echo "${ECHO_T}yes" >&6; }
31746 else
31747 { echo "$as_me:$LINENO: result: no" >&5
31748 echo "${ECHO_T}no" >&6; }
31749 PKG_CONFIG=""
31750 fi
31751
31752 fi
31753
31754
31755 pkg_failed=no
31756 { echo "$as_me:$LINENO: checking for PANGOX" >&5
31757 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
31758
31759 if test -n "$PKG_CONFIG"; then
31760 if test -n "$PANGOX_CFLAGS"; then
31761 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
31762 else
31763 if test -n "$PKG_CONFIG" && \
31764 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31765 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31766 ac_status=$?
31767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31768 (exit $ac_status); }; then
31769 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
31770 else
31771 pkg_failed=yes
31772 fi
31773 fi
31774 else
31775 pkg_failed=untried
31776 fi
31777 if test -n "$PKG_CONFIG"; then
31778 if test -n "$PANGOX_LIBS"; then
31779 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
31780 else
31781 if test -n "$PKG_CONFIG" && \
31782 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31783 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31784 ac_status=$?
31785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31786 (exit $ac_status); }; then
31787 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
31788 else
31789 pkg_failed=yes
31790 fi
31791 fi
31792 else
31793 pkg_failed=untried
31794 fi
31795
31796
31797
31798 if test $pkg_failed = yes; then
31799
31800 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31801 _pkg_short_errors_supported=yes
31802 else
31803 _pkg_short_errors_supported=no
31804 fi
31805 if test $_pkg_short_errors_supported = yes; then
31806 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
31807 else
31808 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
31809 fi
31810 # Put the nasty error message in config.log where it belongs
31811 echo "$PANGOX_PKG_ERRORS" >&5
31812
31813
31814 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31815 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31816 { (exit 1); exit 1; }; }
31817
31818
31819 elif test $pkg_failed = untried; then
31820
31821 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31822 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31823 { (exit 1); exit 1; }; }
31824
31825
31826 else
31827 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
31828 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
31829 { echo "$as_me:$LINENO: result: yes" >&5
31830 echo "${ECHO_T}yes" >&6; }
31831
31832 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
31833 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
31834 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
31835
31836 fi
31837
31838 pkg_failed=no
31839 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
31840 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
31841
31842 if test -n "$PKG_CONFIG"; then
31843 if test -n "$PANGOFT2_CFLAGS"; then
31844 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
31845 else
31846 if test -n "$PKG_CONFIG" && \
31847 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31848 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31849 ac_status=$?
31850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31851 (exit $ac_status); }; then
31852 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
31853 else
31854 pkg_failed=yes
31855 fi
31856 fi
31857 else
31858 pkg_failed=untried
31859 fi
31860 if test -n "$PKG_CONFIG"; then
31861 if test -n "$PANGOFT2_LIBS"; then
31862 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
31863 else
31864 if test -n "$PKG_CONFIG" && \
31865 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31866 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31867 ac_status=$?
31868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31869 (exit $ac_status); }; then
31870 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
31871 else
31872 pkg_failed=yes
31873 fi
31874 fi
31875 else
31876 pkg_failed=untried
31877 fi
31878
31879
31880
31881 if test $pkg_failed = yes; then
31882
31883 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31884 _pkg_short_errors_supported=yes
31885 else
31886 _pkg_short_errors_supported=no
31887 fi
31888 if test $_pkg_short_errors_supported = yes; then
31889 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
31890 else
31891 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
31892 fi
31893 # Put the nasty error message in config.log where it belongs
31894 echo "$PANGOFT2_PKG_ERRORS" >&5
31895
31896
31897 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31898 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31899 wxUSE_PRINTING_ARCHITECTURE="no"
31900
31901
31902 elif test $pkg_failed = untried; then
31903
31904 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31905 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31906 wxUSE_PRINTING_ARCHITECTURE="no"
31907
31908
31909 else
31910 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
31911 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
31912 { echo "$as_me:$LINENO: result: yes" >&5
31913 echo "${ECHO_T}yes" >&6; }
31914
31915 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
31916 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
31917 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
31918
31919 fi
31920
31921 pkg_failed=no
31922 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
31923 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
31924
31925 if test -n "$PKG_CONFIG"; then
31926 if test -n "$PANGOXFT_CFLAGS"; then
31927 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
31928 else
31929 if test -n "$PKG_CONFIG" && \
31930 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31931 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31932 ac_status=$?
31933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31934 (exit $ac_status); }; then
31935 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
31936 else
31937 pkg_failed=yes
31938 fi
31939 fi
31940 else
31941 pkg_failed=untried
31942 fi
31943 if test -n "$PKG_CONFIG"; then
31944 if test -n "$PANGOXFT_LIBS"; then
31945 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
31946 else
31947 if test -n "$PKG_CONFIG" && \
31948 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31949 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31950 ac_status=$?
31951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31952 (exit $ac_status); }; then
31953 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
31954 else
31955 pkg_failed=yes
31956 fi
31957 fi
31958 else
31959 pkg_failed=untried
31960 fi
31961
31962
31963
31964 if test $pkg_failed = yes; then
31965
31966 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31967 _pkg_short_errors_supported=yes
31968 else
31969 _pkg_short_errors_supported=no
31970 fi
31971 if test $_pkg_short_errors_supported = yes; then
31972 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
31973 else
31974 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
31975 fi
31976 # Put the nasty error message in config.log where it belongs
31977 echo "$PANGOXFT_PKG_ERRORS" >&5
31978
31979
31980 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31981 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31982
31983
31984 elif test $pkg_failed = untried; then
31985
31986 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31987 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31988
31989
31990 else
31991 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
31992 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
31993 { echo "$as_me:$LINENO: result: yes" >&5
31994 echo "${ECHO_T}yes" >&6; }
31995
31996 cat >>confdefs.h <<\_ACEOF
31997 #define HAVE_PANGO_XFT 1
31998 _ACEOF
31999
32000 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
32001 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
32002 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
32003
32004 fi
32005 save_LIBS="$LIBS"
32006 LIBS="$LIBS $PANGOX_LIBS"
32007
32008 for ac_func in pango_font_family_is_monospace
32009 do
32010 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32011 { echo "$as_me:$LINENO: checking for $ac_func" >&5
32012 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
32013 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
32014 echo $ECHO_N "(cached) $ECHO_C" >&6
32015 else
32016 cat >conftest.$ac_ext <<_ACEOF
32017 /* confdefs.h. */
32018 _ACEOF
32019 cat confdefs.h >>conftest.$ac_ext
32020 cat >>conftest.$ac_ext <<_ACEOF
32021 /* end confdefs.h. */
32022 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32023 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32024 #define $ac_func innocuous_$ac_func
32025
32026 /* System header to define __stub macros and hopefully few prototypes,
32027 which can conflict with char $ac_func (); below.
32028 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32029 <limits.h> exists even on freestanding compilers. */
32030
32031 #ifdef __STDC__
32032 # include <limits.h>
32033 #else
32034 # include <assert.h>
32035 #endif
32036
32037 #undef $ac_func
32038
32039 /* Override any GCC internal prototype to avoid an error.
32040 Use char because int might match the return type of a GCC
32041 builtin and then its argument prototype would still apply. */
32042 #ifdef __cplusplus
32043 extern "C"
32044 #endif
32045 char $ac_func ();
32046 /* The GNU C library defines this for functions which it implements
32047 to always fail with ENOSYS. Some functions are actually named
32048 something starting with __ and the normal name is an alias. */
32049 #if defined __stub_$ac_func || defined __stub___$ac_func
32050 choke me
32051 #endif
32052
32053 int
32054 main ()
32055 {
32056 return $ac_func ();
32057 ;
32058 return 0;
32059 }
32060 _ACEOF
32061 rm -f conftest.$ac_objext conftest$ac_exeext
32062 if { (ac_try="$ac_link"
32063 case "(($ac_try" in
32064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32065 *) ac_try_echo=$ac_try;;
32066 esac
32067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32068 (eval "$ac_link") 2>conftest.er1
32069 ac_status=$?
32070 grep -v '^ *+' conftest.er1 >conftest.err
32071 rm -f conftest.er1
32072 cat conftest.err >&5
32073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32074 (exit $ac_status); } && {
32075 test -z "$ac_c_werror_flag" ||
32076 test ! -s conftest.err
32077 } && test -s conftest$ac_exeext &&
32078 $as_test_x conftest$ac_exeext; then
32079 eval "$as_ac_var=yes"
32080 else
32081 echo "$as_me: failed program was:" >&5
32082 sed 's/^/| /' conftest.$ac_ext >&5
32083
32084 eval "$as_ac_var=no"
32085 fi
32086
32087 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32088 conftest$ac_exeext conftest.$ac_ext
32089 fi
32090 ac_res=`eval echo '${'$as_ac_var'}'`
32091 { echo "$as_me:$LINENO: result: $ac_res" >&5
32092 echo "${ECHO_T}$ac_res" >&6; }
32093 if test `eval echo '${'$as_ac_var'}'` = yes; then
32094 cat >>confdefs.h <<_ACEOF
32095 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32096 _ACEOF
32097
32098 fi
32099 done
32100
32101 LIBS="$save_LIBS"
32102 fi
32103
32104 wxUSE_UNIVERSAL="yes"
32105
32106 if test "$wxUSE_NANOX" = "yes"; then
32107 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
32108 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"
32109 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
32110 else
32111 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
32112 fi
32113
32114 TOOLKIT=X11
32115 GUIDIST=X11_DIST
32116 fi
32117
32118 if test "$wxUSE_MOTIF" = 1; then
32119 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
32120 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
32121
32122 ac_find_includes=
32123 for ac_dir in $SEARCH_INCLUDE /usr/include;
32124 do
32125 if test -f "$ac_dir/Xm/Xm.h"; then
32126 ac_find_includes=$ac_dir
32127 break
32128 fi
32129 done
32130
32131 if test "$ac_find_includes" != "" ; then
32132 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
32133 echo "${ECHO_T}found in $ac_find_includes" >&6; }
32134
32135 if test "x$ac_find_includes" = "x/usr/include"; then
32136 ac_path_to_include=""
32137 else
32138 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
32139 result=$?
32140 if test $result = 0; then
32141 ac_path_to_include=""
32142 else
32143 ac_path_to_include=" -I$ac_find_includes"
32144 fi
32145 fi
32146
32147 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
32148 else
32149 save_CFLAGS=$CFLAGS
32150 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32151
32152 cat >conftest.$ac_ext <<_ACEOF
32153 /* confdefs.h. */
32154 _ACEOF
32155 cat confdefs.h >>conftest.$ac_ext
32156 cat >>conftest.$ac_ext <<_ACEOF
32157 /* end confdefs.h. */
32158
32159 #include <Xm/Xm.h>
32160
32161 int
32162 main ()
32163 {
32164
32165 int version;
32166 version = xmUseVersion;
32167
32168 ;
32169 return 0;
32170 }
32171 _ACEOF
32172 rm -f conftest.$ac_objext
32173 if { (ac_try="$ac_compile"
32174 case "(($ac_try" in
32175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32176 *) ac_try_echo=$ac_try;;
32177 esac
32178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32179 (eval "$ac_compile") 2>conftest.er1
32180 ac_status=$?
32181 grep -v '^ *+' conftest.er1 >conftest.err
32182 rm -f conftest.er1
32183 cat conftest.err >&5
32184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32185 (exit $ac_status); } && {
32186 test -z "$ac_c_werror_flag" ||
32187 test ! -s conftest.err
32188 } && test -s conftest.$ac_objext; then
32189
32190 { echo "$as_me:$LINENO: result: found in default search path" >&5
32191 echo "${ECHO_T}found in default search path" >&6; }
32192 COMPILED_X_PROGRAM=1
32193
32194 else
32195 echo "$as_me: failed program was:" >&5
32196 sed 's/^/| /' conftest.$ac_ext >&5
32197
32198
32199 { echo "$as_me:$LINENO: result: no" >&5
32200 echo "${ECHO_T}no" >&6; }
32201 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
32202 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
32203 { (exit 1); exit 1; }; }
32204
32205
32206 fi
32207
32208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32209
32210 CFLAGS=$save_CFLAGS
32211 fi
32212
32213
32214 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
32215 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
32216
32217 ac_find_libraries=
32218 for ac_dir in $SEARCH_LIB;
32219 do
32220 for ac_extension in a so sl dylib dll.a; do
32221 if test -f "$ac_dir/libXm.$ac_extension"; then
32222 ac_find_libraries=$ac_dir
32223 break 2
32224 fi
32225 done
32226 done
32227
32228
32229 if test "x$ac_find_libraries" != "x" ; then
32230 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32231 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32232
32233
32234 if test "$ac_find_libraries" = "default location"; then
32235 ac_path_to_link=""
32236 else
32237 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
32238 result=$?
32239 if test $result = 0; then
32240 ac_path_to_link=""
32241 else
32242 ac_path_to_link=" -L$ac_find_libraries"
32243 fi
32244 fi
32245
32246 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
32247 else
32248 save_CFLAGS=$CFLAGS
32249 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32250 save_LIBS="$LIBS"
32251 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
32252
32253 cat >conftest.$ac_ext <<_ACEOF
32254 /* confdefs.h. */
32255 _ACEOF
32256 cat confdefs.h >>conftest.$ac_ext
32257 cat >>conftest.$ac_ext <<_ACEOF
32258 /* end confdefs.h. */
32259
32260 #include <Xm/Xm.h>
32261
32262 int
32263 main ()
32264 {
32265
32266 int version;
32267 version = xmUseVersion;
32268
32269 ;
32270 return 0;
32271 }
32272 _ACEOF
32273 rm -f conftest.$ac_objext conftest$ac_exeext
32274 if { (ac_try="$ac_link"
32275 case "(($ac_try" in
32276 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32277 *) ac_try_echo=$ac_try;;
32278 esac
32279 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32280 (eval "$ac_link") 2>conftest.er1
32281 ac_status=$?
32282 grep -v '^ *+' conftest.er1 >conftest.err
32283 rm -f conftest.er1
32284 cat conftest.err >&5
32285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32286 (exit $ac_status); } && {
32287 test -z "$ac_c_werror_flag" ||
32288 test ! -s conftest.err
32289 } && test -s conftest$ac_exeext &&
32290 $as_test_x conftest$ac_exeext; then
32291
32292 { echo "$as_me:$LINENO: result: found in default search path" >&5
32293 echo "${ECHO_T}found in default search path" >&6; }
32294 COMPILED_X_PROGRAM=1
32295
32296 else
32297 echo "$as_me: failed program was:" >&5
32298 sed 's/^/| /' conftest.$ac_ext >&5
32299
32300
32301 { echo "$as_me:$LINENO: result: no" >&5
32302 echo "${ECHO_T}no" >&6; }
32303 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
32304 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
32305 { (exit 1); exit 1; }; }
32306
32307
32308 fi
32309
32310 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32311 conftest$ac_exeext conftest.$ac_ext
32312
32313 CFLAGS=$save_CFLAGS
32314 LIBS="$save_LIBS"
32315 fi
32316
32317 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
32318 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
32319 libp_link=""
32320 libsm_ice_link=""
32321 libs_found=0
32322 for libp in "" " -lXp"; do
32323 if test "$libs_found" = 0; then
32324 for libsm_ice in "" " -lSM -lICE"; do
32325 if test "$libs_found" = 0; then
32326 save_LIBS="$LIBS"
32327 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
32328 save_CFLAGS=$CFLAGS
32329 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32330
32331 cat >conftest.$ac_ext <<_ACEOF
32332 /* confdefs.h. */
32333 _ACEOF
32334 cat confdefs.h >>conftest.$ac_ext
32335 cat >>conftest.$ac_ext <<_ACEOF
32336 /* end confdefs.h. */
32337
32338 #include <Xm/Xm.h>
32339 #include <Xm/List.h>
32340
32341 int
32342 main ()
32343 {
32344
32345 XmString string = NULL;
32346 Widget w = NULL;
32347 int position = 0;
32348 XmListAddItem(w, string, position);
32349
32350 ;
32351 return 0;
32352 }
32353 _ACEOF
32354 rm -f conftest.$ac_objext conftest$ac_exeext
32355 if { (ac_try="$ac_link"
32356 case "(($ac_try" in
32357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32358 *) ac_try_echo=$ac_try;;
32359 esac
32360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32361 (eval "$ac_link") 2>conftest.er1
32362 ac_status=$?
32363 grep -v '^ *+' conftest.er1 >conftest.err
32364 rm -f conftest.er1
32365 cat conftest.err >&5
32366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32367 (exit $ac_status); } && {
32368 test -z "$ac_c_werror_flag" ||
32369 test ! -s conftest.err
32370 } && test -s conftest$ac_exeext &&
32371 $as_test_x conftest$ac_exeext; then
32372
32373 libp_link="$libp"
32374 libsm_ice_link="$libsm_ice"
32375 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
32376 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
32377 libs_found=1
32378
32379 else
32380 echo "$as_me: failed program was:" >&5
32381 sed 's/^/| /' conftest.$ac_ext >&5
32382
32383
32384
32385 fi
32386
32387 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32388 conftest$ac_exeext conftest.$ac_ext
32389
32390 LIBS="$save_LIBS"
32391 CFLAGS=$save_CFLAGS
32392 fi
32393 done
32394 fi
32395 done
32396
32397 if test "$libs_found" = 0; then
32398 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
32399 echo "${ECHO_T}can't find the right libraries" >&6; }
32400 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
32401 echo "$as_me: error: can't link a simple motif program" >&2;}
32402 { (exit 1); exit 1; }; }
32403 fi
32404
32405 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
32406 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
32407 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
32408 echo $ECHO_N "(cached) $ECHO_C" >&6
32409 else
32410 ac_check_lib_save_LIBS=$LIBS
32411 LIBS="-lSgm $LIBS"
32412 cat >conftest.$ac_ext <<_ACEOF
32413 /* confdefs.h. */
32414 _ACEOF
32415 cat confdefs.h >>conftest.$ac_ext
32416 cat >>conftest.$ac_ext <<_ACEOF
32417 /* end confdefs.h. */
32418
32419 /* Override any GCC internal prototype to avoid an error.
32420 Use char because int might match the return type of a GCC
32421 builtin and then its argument prototype would still apply. */
32422 #ifdef __cplusplus
32423 extern "C"
32424 #endif
32425 char SgCreateList ();
32426 int
32427 main ()
32428 {
32429 return SgCreateList ();
32430 ;
32431 return 0;
32432 }
32433 _ACEOF
32434 rm -f conftest.$ac_objext conftest$ac_exeext
32435 if { (ac_try="$ac_link"
32436 case "(($ac_try" in
32437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32438 *) ac_try_echo=$ac_try;;
32439 esac
32440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32441 (eval "$ac_link") 2>conftest.er1
32442 ac_status=$?
32443 grep -v '^ *+' conftest.er1 >conftest.err
32444 rm -f conftest.er1
32445 cat conftest.err >&5
32446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32447 (exit $ac_status); } && {
32448 test -z "$ac_c_werror_flag" ||
32449 test ! -s conftest.err
32450 } && test -s conftest$ac_exeext &&
32451 $as_test_x conftest$ac_exeext; then
32452 ac_cv_lib_Sgm_SgCreateList=yes
32453 else
32454 echo "$as_me: failed program was:" >&5
32455 sed 's/^/| /' conftest.$ac_ext >&5
32456
32457 ac_cv_lib_Sgm_SgCreateList=no
32458 fi
32459
32460 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32461 conftest$ac_exeext conftest.$ac_ext
32462 LIBS=$ac_check_lib_save_LIBS
32463 fi
32464 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
32465 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
32466 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
32467 libsgm_link=" -lSgm"
32468 fi
32469
32470
32471 save_CFLAGS=$CFLAGS
32472 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32473
32474 { echo "$as_me:$LINENO: checking for Motif 2" >&5
32475 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
32476 if test "${wx_cv_lib_motif2+set}" = set; then
32477 echo $ECHO_N "(cached) $ECHO_C" >&6
32478 else
32479 cat >conftest.$ac_ext <<_ACEOF
32480 /* confdefs.h. */
32481 _ACEOF
32482 cat confdefs.h >>conftest.$ac_ext
32483 cat >>conftest.$ac_ext <<_ACEOF
32484 /* end confdefs.h. */
32485
32486 #include <Xm/Xm.h>
32487
32488 int
32489 main ()
32490 {
32491
32492 #if XmVersion < 2000
32493 Not Motif 2
32494 #endif
32495
32496 ;
32497 return 0;
32498 }
32499 _ACEOF
32500 rm -f conftest.$ac_objext
32501 if { (ac_try="$ac_compile"
32502 case "(($ac_try" in
32503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32504 *) ac_try_echo=$ac_try;;
32505 esac
32506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32507 (eval "$ac_compile") 2>conftest.er1
32508 ac_status=$?
32509 grep -v '^ *+' conftest.er1 >conftest.err
32510 rm -f conftest.er1
32511 cat conftest.err >&5
32512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32513 (exit $ac_status); } && {
32514 test -z "$ac_c_werror_flag" ||
32515 test ! -s conftest.err
32516 } && test -s conftest.$ac_objext; then
32517 wx_cv_lib_motif2="yes"
32518 else
32519 echo "$as_me: failed program was:" >&5
32520 sed 's/^/| /' conftest.$ac_ext >&5
32521
32522 wx_cv_lib_motif2="no"
32523 fi
32524
32525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32526 fi
32527 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
32528 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
32529 if test "$wx_cv_lib_motif2" = "yes"; then
32530 cat >>confdefs.h <<\_ACEOF
32531 #define __WXMOTIF20__ 1
32532 _ACEOF
32533
32534 else
32535 cat >>confdefs.h <<\_ACEOF
32536 #define __WXMOTIF20__ 0
32537 _ACEOF
32538
32539 fi
32540
32541 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
32542 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
32543 if test "${wx_cv_lib_lesstif+set}" = set; then
32544 echo $ECHO_N "(cached) $ECHO_C" >&6
32545 else
32546 cat >conftest.$ac_ext <<_ACEOF
32547 /* confdefs.h. */
32548 _ACEOF
32549 cat confdefs.h >>conftest.$ac_ext
32550 cat >>conftest.$ac_ext <<_ACEOF
32551 /* end confdefs.h. */
32552
32553 #include <Xm/Xm.h>
32554
32555 int
32556 main ()
32557 {
32558
32559 #if !defined(LesstifVersion) || LesstifVersion <= 0
32560 Not Lesstif
32561 #endif
32562
32563 ;
32564 return 0;
32565 }
32566 _ACEOF
32567 rm -f conftest.$ac_objext
32568 if { (ac_try="$ac_compile"
32569 case "(($ac_try" in
32570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32571 *) ac_try_echo=$ac_try;;
32572 esac
32573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32574 (eval "$ac_compile") 2>conftest.er1
32575 ac_status=$?
32576 grep -v '^ *+' conftest.er1 >conftest.err
32577 rm -f conftest.er1
32578 cat conftest.err >&5
32579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32580 (exit $ac_status); } && {
32581 test -z "$ac_c_werror_flag" ||
32582 test ! -s conftest.err
32583 } && test -s conftest.$ac_objext; then
32584 wx_cv_lib_lesstif="yes"
32585 else
32586 echo "$as_me: failed program was:" >&5
32587 sed 's/^/| /' conftest.$ac_ext >&5
32588
32589 wx_cv_lib_lesstif="no"
32590 fi
32591
32592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32593
32594 fi
32595 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
32596 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
32597 if test "$wx_cv_lib_lesstif" = "yes"; then
32598 cat >>confdefs.h <<\_ACEOF
32599 #define __WXLESSTIF__ 1
32600 _ACEOF
32601
32602 else
32603 cat >>confdefs.h <<\_ACEOF
32604 #define __WXLESSTIF__ 0
32605 _ACEOF
32606
32607 fi
32608
32609 CFLAGS=$save_CFLAGS
32610
32611 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
32612 TOOLKIT=MOTIF
32613 GUIDIST=MOTIF_DIST
32614 fi
32615
32616 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
32617 if test "$wxUSE_LIBXPM" = "sys"; then
32618 { echo "$as_me:$LINENO: checking for Xpm library" >&5
32619 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
32620
32621 ac_find_libraries=
32622 for ac_dir in $SEARCH_LIB;
32623 do
32624 for ac_extension in a so sl dylib dll.a; do
32625 if test -f "$ac_dir/libXpm.$ac_extension"; then
32626 ac_find_libraries=$ac_dir
32627 break 2
32628 fi
32629 done
32630 done
32631
32632 if test "$ac_find_libraries" != "" ; then
32633
32634 if test "$ac_find_libraries" = "default location"; then
32635 ac_path_to_link=""
32636 else
32637 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
32638 result=$?
32639 if test $result = 0; then
32640 ac_path_to_link=""
32641 else
32642 ac_path_to_link=" -L$ac_find_libraries"
32643 fi
32644 fi
32645
32646 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
32647 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32648 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32649
32650 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
32651 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
32652 if test "${wx_cv_x11_xpm_h+set}" = set; then
32653 echo $ECHO_N "(cached) $ECHO_C" >&6
32654 else
32655
32656 save_CFLAGS=$CFLAGS
32657 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32658
32659 cat >conftest.$ac_ext <<_ACEOF
32660 /* confdefs.h. */
32661 _ACEOF
32662 cat confdefs.h >>conftest.$ac_ext
32663 cat >>conftest.$ac_ext <<_ACEOF
32664 /* end confdefs.h. */
32665
32666 #include <X11/xpm.h>
32667
32668 int
32669 main ()
32670 {
32671
32672 int version;
32673 version = XpmLibraryVersion();
32674
32675 ;
32676 return 0;
32677 }
32678 _ACEOF
32679 rm -f conftest.$ac_objext
32680 if { (ac_try="$ac_compile"
32681 case "(($ac_try" in
32682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32683 *) ac_try_echo=$ac_try;;
32684 esac
32685 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32686 (eval "$ac_compile") 2>conftest.er1
32687 ac_status=$?
32688 grep -v '^ *+' conftest.er1 >conftest.err
32689 rm -f conftest.er1
32690 cat conftest.err >&5
32691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32692 (exit $ac_status); } && {
32693 test -z "$ac_c_werror_flag" ||
32694 test ! -s conftest.err
32695 } && test -s conftest.$ac_objext; then
32696 wx_cv_x11_xpm_h=yes
32697 else
32698 echo "$as_me: failed program was:" >&5
32699 sed 's/^/| /' conftest.$ac_ext >&5
32700
32701 wx_cv_x11_xpm_h=no
32702
32703 fi
32704
32705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32706
32707 CFLAGS=$save_CFLAGS
32708
32709
32710 fi
32711 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
32712 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
32713
32714 if test $wx_cv_x11_xpm_h = "yes"; then
32715 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
32716 cat >>confdefs.h <<\_ACEOF
32717 #define wxHAVE_LIB_XPM 1
32718 _ACEOF
32719
32720 else
32721 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
32722 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
32723 fi
32724 fi
32725
32726 fi
32727
32728 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
32729 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
32730 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
32731 echo $ECHO_N "(cached) $ECHO_C" >&6
32732 else
32733 ac_check_lib_save_LIBS=$LIBS
32734 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
32735 cat >conftest.$ac_ext <<_ACEOF
32736 /* confdefs.h. */
32737 _ACEOF
32738 cat confdefs.h >>conftest.$ac_ext
32739 cat >>conftest.$ac_ext <<_ACEOF
32740 /* end confdefs.h. */
32741
32742 /* Override any GCC internal prototype to avoid an error.
32743 Use char because int might match the return type of a GCC
32744 builtin and then its argument prototype would still apply. */
32745 #ifdef __cplusplus
32746 extern "C"
32747 #endif
32748 char XShapeQueryExtension ();
32749 int
32750 main ()
32751 {
32752 return XShapeQueryExtension ();
32753 ;
32754 return 0;
32755 }
32756 _ACEOF
32757 rm -f conftest.$ac_objext conftest$ac_exeext
32758 if { (ac_try="$ac_link"
32759 case "(($ac_try" in
32760 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32761 *) ac_try_echo=$ac_try;;
32762 esac
32763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32764 (eval "$ac_link") 2>conftest.er1
32765 ac_status=$?
32766 grep -v '^ *+' conftest.er1 >conftest.err
32767 rm -f conftest.er1
32768 cat conftest.err >&5
32769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32770 (exit $ac_status); } && {
32771 test -z "$ac_c_werror_flag" ||
32772 test ! -s conftest.err
32773 } && test -s conftest$ac_exeext &&
32774 $as_test_x conftest$ac_exeext; then
32775 ac_cv_lib_Xext_XShapeQueryExtension=yes
32776 else
32777 echo "$as_me: failed program was:" >&5
32778 sed 's/^/| /' conftest.$ac_ext >&5
32779
32780 ac_cv_lib_Xext_XShapeQueryExtension=no
32781 fi
32782
32783 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32784 conftest$ac_exeext conftest.$ac_ext
32785 LIBS=$ac_check_lib_save_LIBS
32786 fi
32787 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
32788 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
32789 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
32790
32791 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
32792 wxHAVE_XEXT_LIB=1
32793
32794 fi
32795
32796
32797 if test "$wxHAVE_XEXT_LIB" = 1; then
32798 save_CFLAGS="$CFLAGS"
32799 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32800
32801 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
32802 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
32803 cat >conftest.$ac_ext <<_ACEOF
32804 /* confdefs.h. */
32805 _ACEOF
32806 cat confdefs.h >>conftest.$ac_ext
32807 cat >>conftest.$ac_ext <<_ACEOF
32808 /* end confdefs.h. */
32809
32810 #include <X11/Xlib.h>
32811 #include <X11/extensions/shape.h>
32812
32813 int
32814 main ()
32815 {
32816
32817 int dummy1, dummy2;
32818 XShapeQueryExtension((Display*)NULL,
32819 (int*)NULL, (int*)NULL);
32820
32821 ;
32822 return 0;
32823 }
32824 _ACEOF
32825 rm -f conftest.$ac_objext
32826 if { (ac_try="$ac_compile"
32827 case "(($ac_try" in
32828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32829 *) ac_try_echo=$ac_try;;
32830 esac
32831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32832 (eval "$ac_compile") 2>conftest.er1
32833 ac_status=$?
32834 grep -v '^ *+' conftest.er1 >conftest.err
32835 rm -f conftest.er1
32836 cat conftest.err >&5
32837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32838 (exit $ac_status); } && {
32839 test -z "$ac_c_werror_flag" ||
32840 test ! -s conftest.err
32841 } && test -s conftest.$ac_objext; then
32842
32843 cat >>confdefs.h <<\_ACEOF
32844 #define HAVE_XSHAPE 1
32845 _ACEOF
32846
32847 { echo "$as_me:$LINENO: result: found" >&5
32848 echo "${ECHO_T}found" >&6; }
32849
32850 else
32851 echo "$as_me: failed program was:" >&5
32852 sed 's/^/| /' conftest.$ac_ext >&5
32853
32854
32855 { echo "$as_me:$LINENO: result: not found" >&5
32856 echo "${ECHO_T}not found" >&6; }
32857
32858 fi
32859
32860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32861 CFLAGS="$save_CFLAGS"
32862
32863 fi
32864 fi
32865
32866 if test "$wxUSE_OSX_CARBON" = 1; then
32867 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
32868 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
32869 if test "$GCC" = yes; then
32870 { echo "$as_me:$LINENO: result: gcc" >&5
32871 echo "${ECHO_T}gcc" >&6; }
32872 CPPFLAGS_PASCAL="-fpascal-strings"
32873 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
32874 { echo "$as_me:$LINENO: result: xlc" >&5
32875 echo "${ECHO_T}xlc" >&6; }
32876 CPPFLAGS_PASCAL="-qmacpstr"
32877 else
32878 { echo "$as_me:$LINENO: result: none" >&5
32879 echo "${ECHO_T}none" >&6; }
32880 fi
32881
32882 if test "x$wxUSE_UNIX" = "xyes"; then
32883 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
32884 else
32885 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
32886 fi
32887
32888 TOOLKIT=OSX_CARBON
32889 GUIDIST=OSX_CARBON_DIST
32890 WXBASEPORT="_carbon"
32891
32892 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
32893 fi
32894
32895 if test "$wxUSE_OSX_COCOA" = 1; then
32896 TOOLKIT=OSX_COCOA
32897 GUIDIST=OSX_COCOA_DIST
32898
32899 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
32900 fi
32901
32902 if test "$wxUSE_COCOA" = 1; then
32903 TOOLKIT=COCOA
32904 GUIDIST=COCOA_DIST
32905 fi
32906
32907 if test "$wxUSE_PM" = 1; then
32908 TOOLKIT=PM
32909 GUIDIST=PM_DIST
32910 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
32911 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
32912 if test "${wx_cv_spbcdata+set}" = set; then
32913 echo $ECHO_N "(cached) $ECHO_C" >&6
32914 else
32915
32916 cat >conftest.$ac_ext <<_ACEOF
32917 /* confdefs.h. */
32918 _ACEOF
32919 cat confdefs.h >>conftest.$ac_ext
32920 cat >>conftest.$ac_ext <<_ACEOF
32921 /* end confdefs.h. */
32922
32923 #define INCL_PM
32924 #include <os2.h>
32925
32926 int
32927 main ()
32928 {
32929
32930 SPBCDATA test;
32931
32932 ;
32933 return 0;
32934 }
32935 _ACEOF
32936 rm -f conftest.$ac_objext
32937 if { (ac_try="$ac_compile"
32938 case "(($ac_try" in
32939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32940 *) ac_try_echo=$ac_try;;
32941 esac
32942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32943 (eval "$ac_compile") 2>conftest.er1
32944 ac_status=$?
32945 grep -v '^ *+' conftest.er1 >conftest.err
32946 rm -f conftest.er1
32947 cat conftest.err >&5
32948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32949 (exit $ac_status); } && {
32950 test -z "$ac_c_werror_flag" ||
32951 test ! -s conftest.err
32952 } && test -s conftest.$ac_objext; then
32953 wx_cv_spbcdata=yes
32954 else
32955 echo "$as_me: failed program was:" >&5
32956 sed 's/^/| /' conftest.$ac_ext >&5
32957
32958 wx_cv_spbcdata=no
32959
32960 fi
32961
32962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32963
32964
32965 fi
32966 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
32967 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
32968
32969 if test $wx_cv_spbcdata = "yes"; then
32970 cat >>confdefs.h <<\_ACEOF
32971 #define HAVE_SPBCDATA 1
32972 _ACEOF
32973
32974 fi
32975 fi
32976
32977 if test "$TOOLKIT" = "PM" ; then
32978 TOOLKIT_DIR="os2"
32979 else
32980 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
32981 fi
32982
32983 if test "$wxUSE_UNIVERSAL" = "yes"; then
32984 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
32985 WIDGET_SET=univ
32986 fi
32987
32988 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
32989 DISTDIR="wx\$(TOOLKIT)"
32990 else
32991 USE_GUI=0
32992
32993 TOOLKIT_DIR="base"
32994
32995 if test "$USE_WIN32" = 1 ; then
32996 TOOLKIT="MSW"
32997 fi
32998
32999 GUIDIST="BASE_DIST"
33000 DISTDIR="wxBase"
33001 fi
33002
33003
33004
33005 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
33006 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
33007 wxUSE_UNICODE_UTF8=yes
33008 elif test "$USE_OS2" = 1 ; then
33009 wxUSE_UNICODE_UTF8=yes
33010 else
33011 wxUSE_UNICODE_UTF8=no
33012 fi
33013 fi
33014
33015
33016 if test "$wxUSE_GUI" = "yes"; then
33017 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
33018
33019 for ac_header in X11/Xlib.h
33020 do
33021 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33022 { echo "$as_me:$LINENO: checking for $ac_header" >&5
33023 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
33024 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
33025 echo $ECHO_N "(cached) $ECHO_C" >&6
33026 else
33027 cat >conftest.$ac_ext <<_ACEOF
33028 /* confdefs.h. */
33029 _ACEOF
33030 cat confdefs.h >>conftest.$ac_ext
33031 cat >>conftest.$ac_ext <<_ACEOF
33032 /* end confdefs.h. */
33033
33034
33035 #include <$ac_header>
33036 _ACEOF
33037 rm -f conftest.$ac_objext
33038 if { (ac_try="$ac_compile"
33039 case "(($ac_try" in
33040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33041 *) ac_try_echo=$ac_try;;
33042 esac
33043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33044 (eval "$ac_compile") 2>conftest.er1
33045 ac_status=$?
33046 grep -v '^ *+' conftest.er1 >conftest.err
33047 rm -f conftest.er1
33048 cat conftest.err >&5
33049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33050 (exit $ac_status); } && {
33051 test -z "$ac_c_werror_flag" ||
33052 test ! -s conftest.err
33053 } && test -s conftest.$ac_objext; then
33054 eval "$as_ac_Header=yes"
33055 else
33056 echo "$as_me: failed program was:" >&5
33057 sed 's/^/| /' conftest.$ac_ext >&5
33058
33059 eval "$as_ac_Header=no"
33060 fi
33061
33062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33063 fi
33064 ac_res=`eval echo '${'$as_ac_Header'}'`
33065 { echo "$as_me:$LINENO: result: $ac_res" >&5
33066 echo "${ECHO_T}$ac_res" >&6; }
33067 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33068 cat >>confdefs.h <<_ACEOF
33069 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33070 _ACEOF
33071
33072 fi
33073
33074 done
33075
33076
33077 for ac_header in X11/XKBlib.h
33078 do
33079 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33080 { echo "$as_me:$LINENO: checking for $ac_header" >&5
33081 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
33082 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
33083 echo $ECHO_N "(cached) $ECHO_C" >&6
33084 else
33085 cat >conftest.$ac_ext <<_ACEOF
33086 /* confdefs.h. */
33087 _ACEOF
33088 cat confdefs.h >>conftest.$ac_ext
33089 cat >>conftest.$ac_ext <<_ACEOF
33090 /* end confdefs.h. */
33091
33092 #if HAVE_X11_XLIB_H
33093 #include <X11/Xlib.h>
33094 #endif
33095
33096
33097 #include <$ac_header>
33098 _ACEOF
33099 rm -f conftest.$ac_objext
33100 if { (ac_try="$ac_compile"
33101 case "(($ac_try" in
33102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33103 *) ac_try_echo=$ac_try;;
33104 esac
33105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33106 (eval "$ac_compile") 2>conftest.er1
33107 ac_status=$?
33108 grep -v '^ *+' conftest.er1 >conftest.err
33109 rm -f conftest.er1
33110 cat conftest.err >&5
33111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33112 (exit $ac_status); } && {
33113 test -z "$ac_c_werror_flag" ||
33114 test ! -s conftest.err
33115 } && test -s conftest.$ac_objext; then
33116 eval "$as_ac_Header=yes"
33117 else
33118 echo "$as_me: failed program was:" >&5
33119 sed 's/^/| /' conftest.$ac_ext >&5
33120
33121 eval "$as_ac_Header=no"
33122 fi
33123
33124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33125 fi
33126 ac_res=`eval echo '${'$as_ac_Header'}'`
33127 { echo "$as_me:$LINENO: result: $ac_res" >&5
33128 echo "${ECHO_T}$ac_res" >&6; }
33129 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33130 cat >>confdefs.h <<_ACEOF
33131 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33132 _ACEOF
33133
33134 fi
33135
33136 done
33137
33138 fi
33139 fi
33140
33141
33142
33143 if test "$wxUSE_DISPLAY" = "yes"; then
33144 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
33145 { echo "$as_me:$LINENO: checking for Xinerama" >&5
33146 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
33147
33148 ac_find_libraries=
33149 for ac_dir in $SEARCH_LIB;
33150 do
33151 for ac_extension in a so sl dylib dll.a; do
33152 if test -f "$ac_dir/libXinerama.$ac_extension"; then
33153 ac_find_libraries=$ac_dir
33154 break 2
33155 fi
33156 done
33157 done
33158
33159 if test "$ac_find_libraries" != "" ; then
33160
33161 if test "$ac_find_libraries" = "default location"; then
33162 ac_path_to_link=""
33163 else
33164 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33165 result=$?
33166 if test $result = 0; then
33167 ac_path_to_link=""
33168 else
33169 ac_path_to_link=" -L$ac_find_libraries"
33170 fi
33171 fi
33172
33173 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33174 LDFLAGS="$LDFLAGS $ac_path_to_link"
33175 fi
33176 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
33177 { echo "$as_me:$LINENO: result: yes" >&5
33178 echo "${ECHO_T}yes" >&6; }
33179
33180 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
33181 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
33182
33183 ac_find_libraries=
33184 for ac_dir in $SEARCH_LIB;
33185 do
33186 for ac_extension in a so sl dylib dll.a; do
33187 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
33188 ac_find_libraries=$ac_dir
33189 break 2
33190 fi
33191 done
33192 done
33193
33194 if test "$ac_find_libraries" != "" ; then
33195 { echo "$as_me:$LINENO: result: yes" >&5
33196 echo "${ECHO_T}yes" >&6; }
33197
33198 for ac_header in X11/extensions/xf86vmode.h
33199 do
33200 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33201 { echo "$as_me:$LINENO: checking for $ac_header" >&5
33202 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
33203 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
33204 echo $ECHO_N "(cached) $ECHO_C" >&6
33205 else
33206 cat >conftest.$ac_ext <<_ACEOF
33207 /* confdefs.h. */
33208 _ACEOF
33209 cat confdefs.h >>conftest.$ac_ext
33210 cat >>conftest.$ac_ext <<_ACEOF
33211 /* end confdefs.h. */
33212
33213 #if HAVE_X11_XLIB_H
33214 #include <X11/Xlib.h>
33215 #endif
33216
33217
33218 #include <$ac_header>
33219 _ACEOF
33220 rm -f conftest.$ac_objext
33221 if { (ac_try="$ac_compile"
33222 case "(($ac_try" in
33223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33224 *) ac_try_echo=$ac_try;;
33225 esac
33226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33227 (eval "$ac_compile") 2>conftest.er1
33228 ac_status=$?
33229 grep -v '^ *+' conftest.er1 >conftest.err
33230 rm -f conftest.er1
33231 cat conftest.err >&5
33232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33233 (exit $ac_status); } && {
33234 test -z "$ac_c_werror_flag" ||
33235 test ! -s conftest.err
33236 } && test -s conftest.$ac_objext; then
33237 eval "$as_ac_Header=yes"
33238 else
33239 echo "$as_me: failed program was:" >&5
33240 sed 's/^/| /' conftest.$ac_ext >&5
33241
33242 eval "$as_ac_Header=no"
33243 fi
33244
33245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33246 fi
33247 ac_res=`eval echo '${'$as_ac_Header'}'`
33248 { echo "$as_me:$LINENO: result: $ac_res" >&5
33249 echo "${ECHO_T}$ac_res" >&6; }
33250 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33251 cat >>confdefs.h <<_ACEOF
33252 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33253 _ACEOF
33254
33255 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
33256
33257 fi
33258
33259 done
33260
33261 else
33262 { echo "$as_me:$LINENO: result: no" >&5
33263 echo "${ECHO_T}no" >&6; }
33264 fi
33265
33266 else
33267 { echo "$as_me:$LINENO: result: no" >&5
33268 echo "${ECHO_T}no" >&6; }
33269 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
33270 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
33271 wxUSE_DISPLAY="no"
33272 fi
33273 elif test "$wxUSE_MSW" = 1; then
33274 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
33275 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
33276 if test "${ac_cv_header_ddraw_h+set}" = set; then
33277 echo $ECHO_N "(cached) $ECHO_C" >&6
33278 else
33279 cat >conftest.$ac_ext <<_ACEOF
33280 /* confdefs.h. */
33281 _ACEOF
33282 cat confdefs.h >>conftest.$ac_ext
33283 cat >>conftest.$ac_ext <<_ACEOF
33284 /* end confdefs.h. */
33285 #include <windows.h>
33286
33287 #include <ddraw.h>
33288 _ACEOF
33289 rm -f conftest.$ac_objext
33290 if { (ac_try="$ac_compile"
33291 case "(($ac_try" in
33292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33293 *) ac_try_echo=$ac_try;;
33294 esac
33295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33296 (eval "$ac_compile") 2>conftest.er1
33297 ac_status=$?
33298 grep -v '^ *+' conftest.er1 >conftest.err
33299 rm -f conftest.er1
33300 cat conftest.err >&5
33301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33302 (exit $ac_status); } && {
33303 test -z "$ac_c_werror_flag" ||
33304 test ! -s conftest.err
33305 } && test -s conftest.$ac_objext; then
33306 ac_cv_header_ddraw_h=yes
33307 else
33308 echo "$as_me: failed program was:" >&5
33309 sed 's/^/| /' conftest.$ac_ext >&5
33310
33311 ac_cv_header_ddraw_h=no
33312 fi
33313
33314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33315 fi
33316 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
33317 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
33318
33319
33320 fi
33321 fi
33322
33323 if test "$wxUSE_DETECT_SM" = "yes"; then
33324 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
33325 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
33326 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
33327
33328 ac_find_libraries=
33329 for ac_dir in $SEARCH_LIB;
33330 do
33331 for ac_extension in a so sl dylib dll.a; do
33332 if test -f "$ac_dir/libSM.$ac_extension"; then
33333 ac_find_libraries=$ac_dir
33334 break 2
33335 fi
33336 done
33337 done
33338
33339 if test "$ac_find_libraries" != "" ; then
33340
33341 if test "$ac_find_libraries" = "default location"; then
33342 ac_path_to_link=""
33343 else
33344 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33345 result=$?
33346 if test $result = 0; then
33347 ac_path_to_link=""
33348 else
33349 ac_path_to_link=" -L$ac_find_libraries"
33350 fi
33351 fi
33352
33353 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33354 LDFLAGS="$LDFLAGS $ac_path_to_link"
33355 fi
33356 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
33357 { echo "$as_me:$LINENO: result: yes" >&5
33358 echo "${ECHO_T}yes" >&6; }
33359 else
33360 { echo "$as_me:$LINENO: result: no" >&5
33361 echo "${ECHO_T}no" >&6; }
33362 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
33363 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
33364 wxUSE_DETECT_SM="no"
33365 fi
33366 else
33367 wxUSE_DETECT_SM="no"
33368 fi
33369 fi
33370
33371
33372
33373 USE_OPENGL=0
33374 if test "$wxUSE_OPENGL" = "yes" -o "$wxUSE_OPENGL" = "auto"; then
33375
33376
33377 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_COCOA" = 1; then
33378 OPENGL_LIBS="-framework OpenGL -framework AGL"
33379 elif test "$wxUSE_MSW" = 1; then
33380 OPENGL_LIBS="-lopengl32 -lglu32"
33381 elif test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK2" = 1 -o "$wxUSE_GTK" = 1; then
33382
33383 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
33384 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
33385
33386 ac_find_includes=
33387 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
33388 do
33389 if test -f "$ac_dir/GL/gl.h"; then
33390 ac_find_includes=$ac_dir
33391 break
33392 fi
33393 done
33394
33395 if test "$ac_find_includes" != "" ; then
33396 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33397 echo "${ECHO_T}found in $ac_find_includes" >&6; }
33398
33399 if test "x$ac_find_includes" = "x/usr/include"; then
33400 ac_path_to_include=""
33401 else
33402 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
33403 result=$?
33404 if test $result = 0; then
33405 ac_path_to_include=""
33406 else
33407 ac_path_to_include=" -I$ac_find_includes"
33408 fi
33409 fi
33410
33411 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
33412 else
33413 { echo "$as_me:$LINENO: result: not found" >&5
33414 echo "${ECHO_T}not found" >&6; }
33415 fi
33416
33417 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
33418 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
33419 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33420 echo $ECHO_N "(cached) $ECHO_C" >&6
33421 else
33422 cat >conftest.$ac_ext <<_ACEOF
33423 /* confdefs.h. */
33424 _ACEOF
33425 cat confdefs.h >>conftest.$ac_ext
33426 cat >>conftest.$ac_ext <<_ACEOF
33427 /* end confdefs.h. */
33428
33429
33430 #include <GL/gl.h>
33431 _ACEOF
33432 rm -f conftest.$ac_objext
33433 if { (ac_try="$ac_compile"
33434 case "(($ac_try" in
33435 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33436 *) ac_try_echo=$ac_try;;
33437 esac
33438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33439 (eval "$ac_compile") 2>conftest.er1
33440 ac_status=$?
33441 grep -v '^ *+' conftest.er1 >conftest.err
33442 rm -f conftest.er1
33443 cat conftest.err >&5
33444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33445 (exit $ac_status); } && {
33446 test -z "$ac_c_werror_flag" ||
33447 test ! -s conftest.err
33448 } && test -s conftest.$ac_objext; then
33449 ac_cv_header_GL_gl_h=yes
33450 else
33451 echo "$as_me: failed program was:" >&5
33452 sed 's/^/| /' conftest.$ac_ext >&5
33453
33454 ac_cv_header_GL_gl_h=no
33455 fi
33456
33457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33458 fi
33459 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
33460 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
33461 if test $ac_cv_header_GL_gl_h = yes; then
33462
33463 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
33464 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
33465 if test "${ac_cv_header_GL_glu_h+set}" = set; then
33466 echo $ECHO_N "(cached) $ECHO_C" >&6
33467 else
33468 cat >conftest.$ac_ext <<_ACEOF
33469 /* confdefs.h. */
33470 _ACEOF
33471 cat confdefs.h >>conftest.$ac_ext
33472 cat >>conftest.$ac_ext <<_ACEOF
33473 /* end confdefs.h. */
33474
33475
33476 #include <GL/glu.h>
33477 _ACEOF
33478 rm -f conftest.$ac_objext
33479 if { (ac_try="$ac_compile"
33480 case "(($ac_try" in
33481 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33482 *) ac_try_echo=$ac_try;;
33483 esac
33484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33485 (eval "$ac_compile") 2>conftest.er1
33486 ac_status=$?
33487 grep -v '^ *+' conftest.er1 >conftest.err
33488 rm -f conftest.er1
33489 cat conftest.err >&5
33490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33491 (exit $ac_status); } && {
33492 test -z "$ac_c_werror_flag" ||
33493 test ! -s conftest.err
33494 } && test -s conftest.$ac_objext; then
33495 ac_cv_header_GL_glu_h=yes
33496 else
33497 echo "$as_me: failed program was:" >&5
33498 sed 's/^/| /' conftest.$ac_ext >&5
33499
33500 ac_cv_header_GL_glu_h=no
33501 fi
33502
33503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33504 fi
33505 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
33506 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
33507 if test $ac_cv_header_GL_glu_h = yes; then
33508
33509 found_gl=0
33510
33511 { echo "$as_me:$LINENO: checking for -lGL" >&5
33512 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
33513
33514 ac_find_libraries=
33515 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
33516 do
33517 for ac_extension in a so sl dylib dll.a; do
33518 if test -f "$ac_dir/libGL.$ac_extension"; then
33519 ac_find_libraries=$ac_dir
33520 break 2
33521 fi
33522 done
33523 done
33524
33525 if test "$ac_find_libraries" != "" ; then
33526 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33527 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33528
33529
33530 if test "$ac_find_libraries" = "default location"; then
33531 ac_path_to_link=""
33532 else
33533 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33534 result=$?
33535 if test $result = 0; then
33536 ac_path_to_link=""
33537 else
33538 ac_path_to_link=" -L$ac_find_libraries"
33539 fi
33540 fi
33541
33542 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33543 LDFLAGS_GL="$ac_path_to_link"
33544 fi
33545
33546 { echo "$as_me:$LINENO: checking for -lGLU" >&5
33547 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
33548
33549 ac_find_libraries=
33550 for ac_dir in $SEARCH_LIB;
33551 do
33552 for ac_extension in a so sl dylib dll.a; do
33553 if test -f "$ac_dir/libGLU.$ac_extension"; then
33554 ac_find_libraries=$ac_dir
33555 break 2
33556 fi
33557 done
33558 done
33559
33560 if test "$ac_find_libraries" != "" ; then
33561
33562 if test "$ac_find_libraries" = "default location"; then
33563 ac_path_to_link=""
33564 else
33565 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33566 result=$?
33567 if test $result = 0; then
33568 ac_path_to_link=""
33569 else
33570 ac_path_to_link=" -L$ac_find_libraries"
33571 fi
33572 fi
33573
33574 if test "$ac_path_to_link" != " -L/usr/lib" -a \
33575 "$ac_path_to_link" != "$LDFLAGS_GL"; then
33576 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
33577 fi
33578
33579 found_gl=1
33580 OPENGL_LIBS="-lGL -lGLU"
33581 { echo "$as_me:$LINENO: result: yes" >&5
33582 echo "${ECHO_T}yes" >&6; }
33583 else
33584 { echo "$as_me:$LINENO: result: no" >&5
33585 echo "${ECHO_T}no" >&6; }
33586 fi
33587 else
33588 { echo "$as_me:$LINENO: result: no" >&5
33589 echo "${ECHO_T}no" >&6; }
33590 fi
33591
33592 if test "$found_gl" != 1; then
33593 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
33594 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
33595
33596 ac_find_libraries=
33597 for ac_dir in $SEARCH_LIB;
33598 do
33599 for ac_extension in a so sl dylib dll.a; do
33600 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
33601 ac_find_libraries=$ac_dir
33602 break 2
33603 fi
33604 done
33605 done
33606
33607 if test "$ac_find_libraries" != "" ; then
33608
33609 if test "$ac_find_libraries" = "default location"; then
33610 ac_path_to_link=""
33611 else
33612 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33613 result=$?
33614 if test $result = 0; then
33615 ac_path_to_link=""
33616 else
33617 ac_path_to_link=" -L$ac_find_libraries"
33618 fi
33619 fi
33620
33621 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
33622 OPENGL_LIBS="-lMesaGL -lMesaGLU"
33623 { echo "$as_me:$LINENO: result: yes" >&5
33624 echo "${ECHO_T}yes" >&6; }
33625 else
33626 { echo "$as_me:$LINENO: result: no" >&5
33627 echo "${ECHO_T}no" >&6; }
33628 fi
33629 fi
33630
33631 fi
33632
33633
33634
33635 fi
33636
33637
33638
33639 if test "x$OPENGL_LIBS" = "x"; then
33640 if test "$wxUSE_OPENGL" = "yes"; then
33641 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
33642 echo "$as_me: error: OpenGL libraries not available" >&2;}
33643 { (exit 1); exit 1; }; }
33644 else
33645 { echo "$as_me:$LINENO: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&5
33646 echo "$as_me: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&2;}
33647 wxUSE_OPENGL=no
33648 USE_OPENGL=0
33649 fi
33650 fi
33651 else
33652 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
33653 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
33654 wxUSE_OPENGL="no"
33655 fi
33656
33657 if test "$wxUSE_OPENGL" = "auto"; then
33658 wxUSE_OPENGL=yes
33659 fi
33660
33661 if test "$wxUSE_OPENGL" = "yes"; then
33662 USE_OPENGL=1
33663 cat >>confdefs.h <<\_ACEOF
33664 #define wxUSE_OPENGL 1
33665 _ACEOF
33666
33667 cat >>confdefs.h <<\_ACEOF
33668 #define wxUSE_GLCANVAS 1
33669 _ACEOF
33670
33671 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
33672 fi
33673 fi
33674
33675
33676 if test -n "$TOOLKIT" ; then
33677 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
33678 fi
33679
33680
33681
33682 if test "$wxUSE_SHARED" = "yes"; then
33683 case "${host}" in
33684 *-pc-msdosdjgpp )
33685 wxUSE_SHARED=no
33686 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
33687 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
33688 ;;
33689 esac
33690 fi
33691
33692 if test "$wxUSE_SHARED" = "yes"; then
33693
33694
33695 case "${host}" in
33696 *-*-cygwin* | *-*-mingw* )
33697 wx_cv_version_script=no
33698 ;;
33699
33700 *)
33701 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
33702 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
33703 if test "${wx_cv_version_script+set}" = set; then
33704 echo $ECHO_N "(cached) $ECHO_C" >&6
33705 else
33706
33707 echo "VER_1 { *; };" >conftest.sym
33708 echo "int main() { return 0; }" >conftest.cpp
33709
33710 if { ac_try='
33711 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33712 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
33713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33714 (eval $ac_try) 2>&5
33715 ac_status=$?
33716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33717 (exit $ac_status); }; } ; then
33718 if test -s conftest.stderr ; then
33719 wx_cv_version_script=no
33720 else
33721 wx_cv_version_script=yes
33722 fi
33723 else
33724 wx_cv_version_script=no
33725 fi
33726
33727 if test $wx_cv_version_script = yes
33728 then
33729 echo "struct B { virtual ~B() { } }; \
33730 struct D : public B { }; \
33731 void F() { D d; }" > conftest.cpp
33732
33733 if { ac_try='
33734 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33735 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
33736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33737 (eval $ac_try) 2>&5
33738 ac_status=$?
33739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33740 (exit $ac_status); }; } &&
33741 { ac_try='
33742 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33743 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
33744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33745 (eval $ac_try) 2>&5
33746 ac_status=$?
33747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33748 (exit $ac_status); }; }
33749 then
33750 if { ac_try='
33751 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33752 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
33753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33754 (eval $ac_try) 2>&5
33755 ac_status=$?
33756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33757 (exit $ac_status); }; }
33758 then
33759 wx_cv_version_script=yes
33760 else
33761 wx_cv_version_script=no
33762 fi
33763 fi
33764 fi
33765
33766 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
33767 rm -f conftest1.output conftest2.output conftest3.output
33768
33769 fi
33770 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
33771 echo "${ECHO_T}$wx_cv_version_script" >&6; }
33772
33773 if test $wx_cv_version_script = yes ; then
33774 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
33775 fi
33776 ;;
33777 esac
33778
33779
33780 if test "$wxUSE_VISIBILITY" != "no"; then
33781
33782
33783 if test -n "$GCC"; then
33784 CFLAGS_VISIBILITY="-fvisibility=hidden"
33785 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
33786 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
33787 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
33788 if test "${wx_cv_cc_visibility+set}" = set; then
33789 echo $ECHO_N "(cached) $ECHO_C" >&6
33790 else
33791
33792 wx_save_CXXFLAGS="$CXXFLAGS"
33793 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33794 ac_ext=cpp
33795 ac_cpp='$CXXCPP $CPPFLAGS'
33796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33799
33800 cat >conftest.$ac_ext <<_ACEOF
33801 /* confdefs.h. */
33802 _ACEOF
33803 cat confdefs.h >>conftest.$ac_ext
33804 cat >>conftest.$ac_ext <<_ACEOF
33805 /* end confdefs.h. */
33806
33807 /* we need gcc >= 4.0, older versions with visibility support
33808 didn't have class visibility: */
33809 #if defined(__GNUC__) && __GNUC__ < 4
33810 error this gcc is too old;
33811 #endif
33812
33813 /* visibility only makes sense for ELF shared libs: */
33814 #if !defined(__ELF__) && !defined(__APPLE__)
33815 error this platform has no visibility;
33816 #endif
33817
33818 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
33819 extern __attribute__((__visibility__("default"))) int exportedvar;
33820 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
33821 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
33822 class __attribute__((__visibility__("default"))) Foo {
33823 Foo() {}
33824 };
33825
33826 int
33827 main ()
33828 {
33829
33830 ;
33831 return 0;
33832 }
33833 _ACEOF
33834 rm -f conftest.$ac_objext
33835 if { (ac_try="$ac_compile"
33836 case "(($ac_try" in
33837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33838 *) ac_try_echo=$ac_try;;
33839 esac
33840 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33841 (eval "$ac_compile") 2>conftest.er1
33842 ac_status=$?
33843 grep -v '^ *+' conftest.er1 >conftest.err
33844 rm -f conftest.er1
33845 cat conftest.err >&5
33846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33847 (exit $ac_status); } && {
33848 test -z "$ac_cxx_werror_flag" ||
33849 test ! -s conftest.err
33850 } && test -s conftest.$ac_objext; then
33851 wx_cv_cc_visibility=yes
33852 else
33853 echo "$as_me: failed program was:" >&5
33854 sed 's/^/| /' conftest.$ac_ext >&5
33855
33856 wx_cv_cc_visibility=no
33857 fi
33858
33859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33860 ac_ext=c
33861 ac_cpp='$CPP $CPPFLAGS'
33862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33865
33866 CXXFLAGS="$wx_save_CXXFLAGS"
33867 fi
33868
33869 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
33870 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
33871 if test $wx_cv_cc_visibility = yes; then
33872 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
33873 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
33874 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
33875 echo $ECHO_N "(cached) $ECHO_C" >&6
33876 else
33877
33878 wx_save_CXXFLAGS="$CXXFLAGS"
33879 wx_save_LDFLAGS="$LDFLAGS"
33880 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33881 LDFLAGS="$LDFLAGS -shared -fPIC"
33882 ac_ext=cpp
33883 ac_cpp='$CXXCPP $CPPFLAGS'
33884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33887
33888 cat >conftest.$ac_ext <<_ACEOF
33889 /* confdefs.h. */
33890 _ACEOF
33891 cat confdefs.h >>conftest.$ac_ext
33892 cat >>conftest.$ac_ext <<_ACEOF
33893 /* end confdefs.h. */
33894
33895 #include <string>
33896
33897 int
33898 main ()
33899 {
33900
33901 std::string s("hello");
33902 return s.length();
33903
33904 ;
33905 return 0;
33906 }
33907 _ACEOF
33908 rm -f conftest.$ac_objext conftest$ac_exeext
33909 if { (ac_try="$ac_link"
33910 case "(($ac_try" in
33911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33912 *) ac_try_echo=$ac_try;;
33913 esac
33914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33915 (eval "$ac_link") 2>conftest.er1
33916 ac_status=$?
33917 grep -v '^ *+' conftest.er1 >conftest.err
33918 rm -f conftest.er1
33919 cat conftest.err >&5
33920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33921 (exit $ac_status); } && {
33922 test -z "$ac_cxx_werror_flag" ||
33923 test ! -s conftest.err
33924 } && test -s conftest$ac_exeext &&
33925 $as_test_x conftest$ac_exeext; then
33926 wx_cv_cc_broken_libstdcxx_visibility=no
33927 else
33928 echo "$as_me: failed program was:" >&5
33929 sed 's/^/| /' conftest.$ac_ext >&5
33930
33931 wx_cv_cc_broken_libstdcxx_visibility=yes
33932 fi
33933
33934 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33935 conftest$ac_exeext conftest.$ac_ext
33936 ac_ext=c
33937 ac_cpp='$CPP $CPPFLAGS'
33938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33941
33942 CXXFLAGS="$wx_save_CXXFLAGS"
33943 LDFLAGS="$wx_save_LDFLAGS"
33944 fi
33945
33946 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
33947 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
33948
33949 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33950 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
33951 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
33952 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
33953 echo $ECHO_N "(cached) $ECHO_C" >&6
33954 else
33955
33956 ac_ext=cpp
33957 ac_cpp='$CXXCPP $CPPFLAGS'
33958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33961
33962 cat >conftest.$ac_ext <<_ACEOF
33963 /* confdefs.h. */
33964 _ACEOF
33965 cat confdefs.h >>conftest.$ac_ext
33966 cat >>conftest.$ac_ext <<_ACEOF
33967 /* end confdefs.h. */
33968
33969 #pragma GCC visibility push(default)
33970 #include <string>
33971 #pragma GCC visibility pop
33972
33973 int
33974 main ()
33975 {
33976
33977 std::string s("hello");
33978 return s.length();
33979
33980 ;
33981 return 0;
33982 }
33983 _ACEOF
33984 rm -f conftest.$ac_objext conftest$ac_exeext
33985 if { (ac_try="$ac_link"
33986 case "(($ac_try" in
33987 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33988 *) ac_try_echo=$ac_try;;
33989 esac
33990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33991 (eval "$ac_link") 2>conftest.er1
33992 ac_status=$?
33993 grep -v '^ *+' conftest.er1 >conftest.err
33994 rm -f conftest.er1
33995 cat conftest.err >&5
33996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33997 (exit $ac_status); } && {
33998 test -z "$ac_cxx_werror_flag" ||
33999 test ! -s conftest.err
34000 } && test -s conftest$ac_exeext &&
34001 $as_test_x conftest$ac_exeext; then
34002 wx_cv_cc_visibility_workaround=no
34003 else
34004 echo "$as_me: failed program was:" >&5
34005 sed 's/^/| /' conftest.$ac_ext >&5
34006
34007 wx_cv_cc_visibility_workaround=yes
34008 fi
34009
34010 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34011 conftest$ac_exeext conftest.$ac_ext
34012 ac_ext=c
34013 ac_cpp='$CPP $CPPFLAGS'
34014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34017
34018
34019 fi
34020
34021 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
34022 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
34023
34024 if test $wx_cv_cc_visibility_workaround = no; then
34025 wx_cv_cc_visibility=no
34026 fi
34027 fi
34028 fi
34029
34030 if test $wx_cv_cc_visibility = yes; then
34031 cat >>confdefs.h <<\_ACEOF
34032 #define HAVE_VISIBILITY 1
34033 _ACEOF
34034
34035 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
34036 cat >>confdefs.h <<\_ACEOF
34037 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
34038 _ACEOF
34039
34040 fi
34041 else
34042 CFLAGS_VISIBILITY=""
34043 CXXFLAGS_VISIBILITY=""
34044 fi
34045
34046
34047 fi
34048
34049 fi
34050
34051 if test "x$SUNCXX" = xyes; then
34052 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
34053 WXCONFIG_RPATH="-R\$libdir"
34054 else
34055 case "${host}" in
34056 *-*-linux* | *-*-gnu* )
34057 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
34058 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
34059 ;;
34060
34061 *-*-solaris2* )
34062
34063 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
34064
34065 saveLdflags="$LDFLAGS"
34066 LDFLAGS="$saveLdflags -Wl,-rpath,/"
34067 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
34068 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
34069 cat >conftest.$ac_ext <<_ACEOF
34070 /* confdefs.h. */
34071 _ACEOF
34072 cat confdefs.h >>conftest.$ac_ext
34073 cat >>conftest.$ac_ext <<_ACEOF
34074 /* end confdefs.h. */
34075
34076 int
34077 main ()
34078 {
34079
34080 ;
34081 return 0;
34082 }
34083 _ACEOF
34084 rm -f conftest.$ac_objext conftest$ac_exeext
34085 if { (ac_try="$ac_link"
34086 case "(($ac_try" in
34087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34088 *) ac_try_echo=$ac_try;;
34089 esac
34090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34091 (eval "$ac_link") 2>conftest.er1
34092 ac_status=$?
34093 grep -v '^ *+' conftest.er1 >conftest.err
34094 rm -f conftest.er1
34095 cat conftest.err >&5
34096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34097 (exit $ac_status); } && {
34098 test -z "$ac_c_werror_flag" ||
34099 test ! -s conftest.err
34100 } && test -s conftest$ac_exeext &&
34101 $as_test_x conftest$ac_exeext; then
34102
34103 { echo "$as_me:$LINENO: result: yes" >&5
34104 echo "${ECHO_T}yes" >&6; }
34105 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
34106 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
34107
34108 else
34109 echo "$as_me: failed program was:" >&5
34110 sed 's/^/| /' conftest.$ac_ext >&5
34111
34112
34113 { echo "$as_me:$LINENO: result: no" >&5
34114 echo "${ECHO_T}no" >&6; }
34115 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
34116 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
34117 LDFLAGS="$saveLdflags -Wl,-R,/"
34118 cat >conftest.$ac_ext <<_ACEOF
34119 /* confdefs.h. */
34120 _ACEOF
34121 cat confdefs.h >>conftest.$ac_ext
34122 cat >>conftest.$ac_ext <<_ACEOF
34123 /* end confdefs.h. */
34124
34125 int
34126 main ()
34127 {
34128
34129 ;
34130 return 0;
34131 }
34132 _ACEOF
34133 rm -f conftest.$ac_objext conftest$ac_exeext
34134 if { (ac_try="$ac_link"
34135 case "(($ac_try" in
34136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34137 *) ac_try_echo=$ac_try;;
34138 esac
34139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34140 (eval "$ac_link") 2>conftest.er1
34141 ac_status=$?
34142 grep -v '^ *+' conftest.er1 >conftest.err
34143 rm -f conftest.er1
34144 cat conftest.err >&5
34145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34146 (exit $ac_status); } && {
34147 test -z "$ac_c_werror_flag" ||
34148 test ! -s conftest.err
34149 } && test -s conftest$ac_exeext &&
34150 $as_test_x conftest$ac_exeext; then
34151
34152 { echo "$as_me:$LINENO: result: yes" >&5
34153 echo "${ECHO_T}yes" >&6; }
34154 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
34155 WXCONFIG_RPATH="-Wl,-R,\$libdir"
34156
34157 else
34158 echo "$as_me: failed program was:" >&5
34159 sed 's/^/| /' conftest.$ac_ext >&5
34160
34161
34162 { echo "$as_me:$LINENO: result: no" >&5
34163 echo "${ECHO_T}no" >&6; }
34164
34165 fi
34166
34167 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34168 conftest$ac_exeext conftest.$ac_ext
34169
34170 fi
34171
34172 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34173 conftest$ac_exeext conftest.$ac_ext
34174 LDFLAGS="$saveLdflags"
34175 ;;
34176
34177 *-*-darwin* )
34178 install_name_tool=`which ${HOST_PREFIX}install_name_tool`
34179 if test "$install_name_tool" -a -x "$install_name_tool"; then
34180 DYLIB_RPATH_POSTLINK="${HOST_PREFIX}install_name_tool -id \$@ \$@"
34181 cat <<EOF >change-install-names
34182 #!/bin/sh
34183 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
34184 for i in \${libnames} ; do
34185 ${HOST_PREFIX}install_name_tool -id \${1}/\${i} \${1}/\${i}
34186 for dep in \${libnames} ; do
34187 ${HOST_PREFIX}install_name_tool -change \${2}/\${dep} \${1}/\${dep} \${1}/\${i}
34188 done
34189 done
34190 EOF
34191 chmod +x change-install-names
34192 DYLIB_RPATH_INSTALL="\$(wx_top_builddir)/change-install-names \${libdir} \$(wx_top_builddir)/lib"
34193 fi
34194
34195 HEADER_PAD_OPTION="-headerpad_max_install_names"
34196 ;;
34197
34198 *-*-cygwin* | *-*-mingw32* )
34199 ;;
34200
34201 *-*-hpux* )
34202 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
34203 WXCONFIG_RPATH="-Wl,+b,\$libdir"
34204 ;;
34205
34206 esac
34207 fi
34208
34209 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
34210
34211 if test $wxUSE_RPATH = "no"; then
34212 SAMPLES_RPATH_FLAG=''
34213 DYLIB_PATH_POSTLINK=''
34214 WXCONFIG_RPATH=''
34215 fi
34216
34217 SHARED=1
34218
34219 else
34220
34221 config_linkage_component="-static"
34222 SHARED=0
34223
34224 fi
34225
34226
34227 UNICODE=0
34228 lib_unicode_suffix=
34229 WX_CHARTYPE="ansi"
34230 if test "$wxUSE_UNICODE" = "yes"; then
34231 lib_unicode_suffix=u
34232 WX_CHARTYPE="unicode"
34233 UNICODE=1
34234 fi
34235
34236 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
34237 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
34238
34239 DEBUG_INFO=0
34240 if test "$wxUSE_DEBUG_INFO" = "yes"; then
34241 DEBUG_INFO=1
34242 fi
34243
34244 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
34245
34246 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
34247
34248 TOOLCHAIN_FULLNAME="${HOST_PREFIX}${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
34249
34250
34251 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_COCOA" = 1; then
34252 WX_LIBRARY_BASENAME_NOGUI="wx_base${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
34253 else
34254 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
34255 fi
34256 if test "${TOOLKIT_DIR}" = "os2"; then
34257 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
34258 else
34259 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
34260 fi
34261
34262
34263
34264 if test "$wxUSE_COCOA" = 1; then
34265
34266 ac_ext=c
34267 ac_cpp='$CPP $CPPFLAGS'
34268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34271
34272 ac_ext=m
34273
34274 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
34275 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
34276 cat >conftest.$ac_ext <<_ACEOF
34277 /* confdefs.h. */
34278 _ACEOF
34279 cat confdefs.h >>conftest.$ac_ext
34280 cat >>conftest.$ac_ext <<_ACEOF
34281 /* end confdefs.h. */
34282 #include <AppKit/NSEvent.h>
34283 #include <CoreFoundation/CoreFoundation.h>
34284
34285 int
34286 main ()
34287 {
34288
34289 ;
34290 return 0;
34291 }
34292 _ACEOF
34293 rm -f conftest.$ac_objext
34294 if { (ac_try="$ac_compile"
34295 case "(($ac_try" in
34296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34297 *) ac_try_echo=$ac_try;;
34298 esac
34299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34300 (eval "$ac_compile") 2>conftest.er1
34301 ac_status=$?
34302 grep -v '^ *+' conftest.er1 >conftest.err
34303 rm -f conftest.er1
34304 cat conftest.err >&5
34305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34306 (exit $ac_status); } && {
34307 test -z "$ac_c_werror_flag" ||
34308 test ! -s conftest.err
34309 } && test -s conftest.$ac_objext; then
34310 { echo "$as_me:$LINENO: result: no" >&5
34311 echo "${ECHO_T}no" >&6; }
34312 else
34313 echo "$as_me: failed program was:" >&5
34314 sed 's/^/| /' conftest.$ac_ext >&5
34315
34316 { echo "$as_me:$LINENO: result: yes" >&5
34317 echo "${ECHO_T}yes" >&6; }
34318 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
34319 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
34320 cat >conftest.$ac_ext <<_ACEOF
34321 /* confdefs.h. */
34322 _ACEOF
34323 cat confdefs.h >>conftest.$ac_ext
34324 cat >>conftest.$ac_ext <<_ACEOF
34325 /* end confdefs.h. */
34326 #define __Point__ 1
34327 #include <AppKit/NSEvent.h>
34328 #include <CoreFoundation/CoreFoundation.h>
34329
34330 int
34331 main ()
34332 {
34333
34334 ;
34335 return 0;
34336 }
34337 _ACEOF
34338 rm -f conftest.$ac_objext
34339 if { (ac_try="$ac_compile"
34340 case "(($ac_try" in
34341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34342 *) ac_try_echo=$ac_try;;
34343 esac
34344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34345 (eval "$ac_compile") 2>conftest.er1
34346 ac_status=$?
34347 grep -v '^ *+' conftest.er1 >conftest.err
34348 rm -f conftest.er1
34349 cat conftest.err >&5
34350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34351 (exit $ac_status); } && {
34352 test -z "$ac_c_werror_flag" ||
34353 test ! -s conftest.err
34354 } && test -s conftest.$ac_objext; then
34355 { echo "$as_me:$LINENO: result: yes" >&5
34356 echo "${ECHO_T}yes" >&6; }
34357 cat >>confdefs.h <<\_ACEOF
34358 #define __Point__ 1
34359 _ACEOF
34360
34361
34362 else
34363 echo "$as_me: failed program was:" >&5
34364 sed 's/^/| /' conftest.$ac_ext >&5
34365
34366 { { echo "$as_me:$LINENO: error: no
34367 See \`config.log' for more details." >&5
34368 echo "$as_me: error: no
34369 See \`config.log' for more details." >&2;}
34370 { (exit 1); exit 1; }; }
34371
34372 fi
34373
34374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34375
34376 fi
34377
34378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34379 ac_ext=c
34380 ac_cpp='$CPP $CPPFLAGS'
34381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34384
34385 fi
34386
34387
34388 { echo "$as_me:$LINENO: checking for mode_t" >&5
34389 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
34390 if test "${ac_cv_type_mode_t+set}" = set; then
34391 echo $ECHO_N "(cached) $ECHO_C" >&6
34392 else
34393 cat >conftest.$ac_ext <<_ACEOF
34394 /* confdefs.h. */
34395 _ACEOF
34396 cat confdefs.h >>conftest.$ac_ext
34397 cat >>conftest.$ac_ext <<_ACEOF
34398 /* end confdefs.h. */
34399 $ac_includes_default
34400 typedef mode_t ac__type_new_;
34401 int
34402 main ()
34403 {
34404 if ((ac__type_new_ *) 0)
34405 return 0;
34406 if (sizeof (ac__type_new_))
34407 return 0;
34408 ;
34409 return 0;
34410 }
34411 _ACEOF
34412 rm -f conftest.$ac_objext
34413 if { (ac_try="$ac_compile"
34414 case "(($ac_try" in
34415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34416 *) ac_try_echo=$ac_try;;
34417 esac
34418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34419 (eval "$ac_compile") 2>conftest.er1
34420 ac_status=$?
34421 grep -v '^ *+' conftest.er1 >conftest.err
34422 rm -f conftest.er1
34423 cat conftest.err >&5
34424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34425 (exit $ac_status); } && {
34426 test -z "$ac_c_werror_flag" ||
34427 test ! -s conftest.err
34428 } && test -s conftest.$ac_objext; then
34429 ac_cv_type_mode_t=yes
34430 else
34431 echo "$as_me: failed program was:" >&5
34432 sed 's/^/| /' conftest.$ac_ext >&5
34433
34434 ac_cv_type_mode_t=no
34435 fi
34436
34437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34438 fi
34439 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
34440 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
34441 if test $ac_cv_type_mode_t = yes; then
34442 :
34443 else
34444
34445 cat >>confdefs.h <<_ACEOF
34446 #define mode_t int
34447 _ACEOF
34448
34449 fi
34450
34451 { echo "$as_me:$LINENO: checking for off_t" >&5
34452 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
34453 if test "${ac_cv_type_off_t+set}" = set; then
34454 echo $ECHO_N "(cached) $ECHO_C" >&6
34455 else
34456 cat >conftest.$ac_ext <<_ACEOF
34457 /* confdefs.h. */
34458 _ACEOF
34459 cat confdefs.h >>conftest.$ac_ext
34460 cat >>conftest.$ac_ext <<_ACEOF
34461 /* end confdefs.h. */
34462 $ac_includes_default
34463 typedef off_t ac__type_new_;
34464 int
34465 main ()
34466 {
34467 if ((ac__type_new_ *) 0)
34468 return 0;
34469 if (sizeof (ac__type_new_))
34470 return 0;
34471 ;
34472 return 0;
34473 }
34474 _ACEOF
34475 rm -f conftest.$ac_objext
34476 if { (ac_try="$ac_compile"
34477 case "(($ac_try" in
34478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34479 *) ac_try_echo=$ac_try;;
34480 esac
34481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34482 (eval "$ac_compile") 2>conftest.er1
34483 ac_status=$?
34484 grep -v '^ *+' conftest.er1 >conftest.err
34485 rm -f conftest.er1
34486 cat conftest.err >&5
34487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34488 (exit $ac_status); } && {
34489 test -z "$ac_c_werror_flag" ||
34490 test ! -s conftest.err
34491 } && test -s conftest.$ac_objext; then
34492 ac_cv_type_off_t=yes
34493 else
34494 echo "$as_me: failed program was:" >&5
34495 sed 's/^/| /' conftest.$ac_ext >&5
34496
34497 ac_cv_type_off_t=no
34498 fi
34499
34500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34501 fi
34502 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
34503 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
34504 if test $ac_cv_type_off_t = yes; then
34505 :
34506 else
34507
34508 cat >>confdefs.h <<_ACEOF
34509 #define off_t long int
34510 _ACEOF
34511
34512 fi
34513
34514 { echo "$as_me:$LINENO: checking for pid_t" >&5
34515 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
34516 if test "${ac_cv_type_pid_t+set}" = set; then
34517 echo $ECHO_N "(cached) $ECHO_C" >&6
34518 else
34519 cat >conftest.$ac_ext <<_ACEOF
34520 /* confdefs.h. */
34521 _ACEOF
34522 cat confdefs.h >>conftest.$ac_ext
34523 cat >>conftest.$ac_ext <<_ACEOF
34524 /* end confdefs.h. */
34525 $ac_includes_default
34526 typedef pid_t ac__type_new_;
34527 int
34528 main ()
34529 {
34530 if ((ac__type_new_ *) 0)
34531 return 0;
34532 if (sizeof (ac__type_new_))
34533 return 0;
34534 ;
34535 return 0;
34536 }
34537 _ACEOF
34538 rm -f conftest.$ac_objext
34539 if { (ac_try="$ac_compile"
34540 case "(($ac_try" in
34541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34542 *) ac_try_echo=$ac_try;;
34543 esac
34544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34545 (eval "$ac_compile") 2>conftest.er1
34546 ac_status=$?
34547 grep -v '^ *+' conftest.er1 >conftest.err
34548 rm -f conftest.er1
34549 cat conftest.err >&5
34550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34551 (exit $ac_status); } && {
34552 test -z "$ac_c_werror_flag" ||
34553 test ! -s conftest.err
34554 } && test -s conftest.$ac_objext; then
34555 ac_cv_type_pid_t=yes
34556 else
34557 echo "$as_me: failed program was:" >&5
34558 sed 's/^/| /' conftest.$ac_ext >&5
34559
34560 ac_cv_type_pid_t=no
34561 fi
34562
34563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34564 fi
34565 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
34566 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
34567 if test $ac_cv_type_pid_t = yes; then
34568 :
34569 else
34570
34571 cat >>confdefs.h <<_ACEOF
34572 #define pid_t int
34573 _ACEOF
34574
34575 fi
34576
34577 { echo "$as_me:$LINENO: checking for size_t" >&5
34578 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
34579 if test "${ac_cv_type_size_t+set}" = set; then
34580 echo $ECHO_N "(cached) $ECHO_C" >&6
34581 else
34582 cat >conftest.$ac_ext <<_ACEOF
34583 /* confdefs.h. */
34584 _ACEOF
34585 cat confdefs.h >>conftest.$ac_ext
34586 cat >>conftest.$ac_ext <<_ACEOF
34587 /* end confdefs.h. */
34588 $ac_includes_default
34589 typedef size_t ac__type_new_;
34590 int
34591 main ()
34592 {
34593 if ((ac__type_new_ *) 0)
34594 return 0;
34595 if (sizeof (ac__type_new_))
34596 return 0;
34597 ;
34598 return 0;
34599 }
34600 _ACEOF
34601 rm -f conftest.$ac_objext
34602 if { (ac_try="$ac_compile"
34603 case "(($ac_try" in
34604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34605 *) ac_try_echo=$ac_try;;
34606 esac
34607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34608 (eval "$ac_compile") 2>conftest.er1
34609 ac_status=$?
34610 grep -v '^ *+' conftest.er1 >conftest.err
34611 rm -f conftest.er1
34612 cat conftest.err >&5
34613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34614 (exit $ac_status); } && {
34615 test -z "$ac_c_werror_flag" ||
34616 test ! -s conftest.err
34617 } && test -s conftest.$ac_objext; then
34618 ac_cv_type_size_t=yes
34619 else
34620 echo "$as_me: failed program was:" >&5
34621 sed 's/^/| /' conftest.$ac_ext >&5
34622
34623 ac_cv_type_size_t=no
34624 fi
34625
34626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34627 fi
34628 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
34629 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
34630 if test $ac_cv_type_size_t = yes; then
34631 :
34632 else
34633
34634 cat >>confdefs.h <<_ACEOF
34635 #define size_t unsigned int
34636 _ACEOF
34637
34638 fi
34639
34640
34641 { echo "$as_me:$LINENO: checking for ssize_t" >&5
34642 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
34643 if test "${ac_cv_type_ssize_t+set}" = set; then
34644 echo $ECHO_N "(cached) $ECHO_C" >&6
34645 else
34646 cat >conftest.$ac_ext <<_ACEOF
34647 /* confdefs.h. */
34648 _ACEOF
34649 cat confdefs.h >>conftest.$ac_ext
34650 cat >>conftest.$ac_ext <<_ACEOF
34651 /* end confdefs.h. */
34652 $ac_includes_default
34653 typedef ssize_t ac__type_new_;
34654 int
34655 main ()
34656 {
34657 if ((ac__type_new_ *) 0)
34658 return 0;
34659 if (sizeof (ac__type_new_))
34660 return 0;
34661 ;
34662 return 0;
34663 }
34664 _ACEOF
34665 rm -f conftest.$ac_objext
34666 if { (ac_try="$ac_compile"
34667 case "(($ac_try" in
34668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34669 *) ac_try_echo=$ac_try;;
34670 esac
34671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34672 (eval "$ac_compile") 2>conftest.er1
34673 ac_status=$?
34674 grep -v '^ *+' conftest.er1 >conftest.err
34675 rm -f conftest.er1
34676 cat conftest.err >&5
34677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34678 (exit $ac_status); } && {
34679 test -z "$ac_c_werror_flag" ||
34680 test ! -s conftest.err
34681 } && test -s conftest.$ac_objext; then
34682 ac_cv_type_ssize_t=yes
34683 else
34684 echo "$as_me: failed program was:" >&5
34685 sed 's/^/| /' conftest.$ac_ext >&5
34686
34687 ac_cv_type_ssize_t=no
34688 fi
34689
34690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34691 fi
34692 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
34693 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
34694 if test $ac_cv_type_ssize_t = yes; then
34695
34696 cat >>confdefs.h <<_ACEOF
34697 #define HAVE_SSIZE_T 1
34698 _ACEOF
34699
34700
34701 fi
34702
34703
34704 ac_ext=cpp
34705 ac_cpp='$CXXCPP $CPPFLAGS'
34706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34709 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
34710 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
34711 if test "${wx_cv_size_t_is_uint+set}" = set; then
34712 echo $ECHO_N "(cached) $ECHO_C" >&6
34713 else
34714
34715 cat >conftest.$ac_ext <<_ACEOF
34716 /* confdefs.h. */
34717 _ACEOF
34718 cat confdefs.h >>conftest.$ac_ext
34719 cat >>conftest.$ac_ext <<_ACEOF
34720 /* end confdefs.h. */
34721 #include <stddef.h>
34722 int
34723 main ()
34724 {
34725
34726 return 0; }
34727
34728 struct Foo { void foo(size_t); void foo(unsigned int); };
34729
34730 int bar() {
34731
34732 ;
34733 return 0;
34734 }
34735 _ACEOF
34736 rm -f conftest.$ac_objext
34737 if { (ac_try="$ac_compile"
34738 case "(($ac_try" in
34739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34740 *) ac_try_echo=$ac_try;;
34741 esac
34742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34743 (eval "$ac_compile") 2>conftest.er1
34744 ac_status=$?
34745 grep -v '^ *+' conftest.er1 >conftest.err
34746 rm -f conftest.er1
34747 cat conftest.err >&5
34748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34749 (exit $ac_status); } && {
34750 test -z "$ac_cxx_werror_flag" ||
34751 test ! -s conftest.err
34752 } && test -s conftest.$ac_objext; then
34753 wx_cv_size_t_is_uint=no
34754 else
34755 echo "$as_me: failed program was:" >&5
34756 sed 's/^/| /' conftest.$ac_ext >&5
34757
34758 wx_cv_size_t_is_uint=yes
34759
34760 fi
34761
34762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34763
34764
34765 fi
34766 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
34767 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
34768
34769 if test "$wx_cv_size_t_is_uint" = "yes"; then
34770 cat >>confdefs.h <<\_ACEOF
34771 #define wxSIZE_T_IS_UINT 1
34772 _ACEOF
34773
34774 else
34775 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
34776 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
34777 if test "${wx_cv_size_t_is_ulong+set}" = set; then
34778 echo $ECHO_N "(cached) $ECHO_C" >&6
34779 else
34780 cat >conftest.$ac_ext <<_ACEOF
34781 /* confdefs.h. */
34782 _ACEOF
34783 cat confdefs.h >>conftest.$ac_ext
34784 cat >>conftest.$ac_ext <<_ACEOF
34785 /* end confdefs.h. */
34786 #include <stddef.h>
34787 int
34788 main ()
34789 {
34790
34791 return 0; }
34792
34793 struct Foo { void foo(size_t); void foo(unsigned long); };
34794
34795 int bar() {
34796
34797 ;
34798 return 0;
34799 }
34800 _ACEOF
34801 rm -f conftest.$ac_objext
34802 if { (ac_try="$ac_compile"
34803 case "(($ac_try" in
34804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34805 *) ac_try_echo=$ac_try;;
34806 esac
34807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34808 (eval "$ac_compile") 2>conftest.er1
34809 ac_status=$?
34810 grep -v '^ *+' conftest.er1 >conftest.err
34811 rm -f conftest.er1
34812 cat conftest.err >&5
34813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34814 (exit $ac_status); } && {
34815 test -z "$ac_cxx_werror_flag" ||
34816 test ! -s conftest.err
34817 } && test -s conftest.$ac_objext; then
34818 wx_cv_size_t_is_ulong=no
34819 else
34820 echo "$as_me: failed program was:" >&5
34821 sed 's/^/| /' conftest.$ac_ext >&5
34822
34823 wx_cv_size_t_is_ulong=yes
34824
34825 fi
34826
34827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34828
34829 fi
34830 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
34831 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
34832
34833 if test "$wx_cv_size_t_is_ulong" = "yes"; then
34834 cat >>confdefs.h <<\_ACEOF
34835 #define wxSIZE_T_IS_ULONG 1
34836 _ACEOF
34837
34838 fi
34839 fi
34840
34841 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
34842 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
34843 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
34844 echo $ECHO_N "(cached) $ECHO_C" >&6
34845 else
34846 cat >conftest.$ac_ext <<_ACEOF
34847 /* confdefs.h. */
34848 _ACEOF
34849 cat confdefs.h >>conftest.$ac_ext
34850 cat >>conftest.$ac_ext <<_ACEOF
34851 /* end confdefs.h. */
34852 #include <wchar.h>
34853 int
34854 main ()
34855 {
34856
34857 return 0; }
34858
34859 struct Foo { void foo(wchar_t);
34860 void foo(unsigned short);
34861 void foo(unsigned int);
34862 void foo(unsigned long); };
34863
34864 int bar() {
34865
34866 ;
34867 return 0;
34868 }
34869 _ACEOF
34870 rm -f conftest.$ac_objext
34871 if { (ac_try="$ac_compile"
34872 case "(($ac_try" in
34873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34874 *) ac_try_echo=$ac_try;;
34875 esac
34876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34877 (eval "$ac_compile") 2>conftest.er1
34878 ac_status=$?
34879 grep -v '^ *+' conftest.er1 >conftest.err
34880 rm -f conftest.er1
34881 cat conftest.err >&5
34882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34883 (exit $ac_status); } && {
34884 test -z "$ac_cxx_werror_flag" ||
34885 test ! -s conftest.err
34886 } && test -s conftest.$ac_objext; then
34887 wx_cv_wchar_t_is_separate_type=yes
34888 else
34889 echo "$as_me: failed program was:" >&5
34890 sed 's/^/| /' conftest.$ac_ext >&5
34891
34892 wx_cv_wchar_t_is_separate_type=no
34893
34894 fi
34895
34896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34897
34898 fi
34899 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
34900 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
34901
34902 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
34903 cat >>confdefs.h <<\_ACEOF
34904 #define wxWCHAR_T_IS_REAL_TYPE 1
34905 _ACEOF
34906
34907 else
34908 cat >>confdefs.h <<\_ACEOF
34909 #define wxWCHAR_T_IS_REAL_TYPE 0
34910 _ACEOF
34911
34912 fi
34913
34914 ac_ext=c
34915 ac_cpp='$CPP $CPPFLAGS'
34916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34919
34920
34921 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
34922 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
34923 if test "${wx_cv_struct_pw_gecos+set}" = set; then
34924 echo $ECHO_N "(cached) $ECHO_C" >&6
34925 else
34926
34927 cat >conftest.$ac_ext <<_ACEOF
34928 /* confdefs.h. */
34929 _ACEOF
34930 cat confdefs.h >>conftest.$ac_ext
34931 cat >>conftest.$ac_ext <<_ACEOF
34932 /* end confdefs.h. */
34933 #include <pwd.h>
34934 int
34935 main ()
34936 {
34937
34938 char *p;
34939 struct passwd *pw;
34940 p = pw->pw_gecos;
34941
34942 ;
34943 return 0;
34944 }
34945 _ACEOF
34946 rm -f conftest.$ac_objext
34947 if { (ac_try="$ac_compile"
34948 case "(($ac_try" in
34949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34950 *) ac_try_echo=$ac_try;;
34951 esac
34952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34953 (eval "$ac_compile") 2>conftest.er1
34954 ac_status=$?
34955 grep -v '^ *+' conftest.er1 >conftest.err
34956 rm -f conftest.er1
34957 cat conftest.err >&5
34958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34959 (exit $ac_status); } && {
34960 test -z "$ac_c_werror_flag" ||
34961 test ! -s conftest.err
34962 } && test -s conftest.$ac_objext; then
34963
34964 wx_cv_struct_pw_gecos=yes
34965
34966 else
34967 echo "$as_me: failed program was:" >&5
34968 sed 's/^/| /' conftest.$ac_ext >&5
34969
34970
34971 wx_cv_struct_pw_gecos=no
34972
34973
34974 fi
34975
34976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34977
34978
34979 fi
34980 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
34981 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
34982
34983 if test "$wx_cv_struct_pw_gecos" = "yes"; then
34984 cat >>confdefs.h <<\_ACEOF
34985 #define HAVE_PW_GECOS 1
34986 _ACEOF
34987
34988 fi
34989
34990
34991 if test "$wxUSE_WCHAR_T" = "yes"; then
34992 cat >>confdefs.h <<\_ACEOF
34993 #define wxUSE_WCHAR_T 1
34994 _ACEOF
34995
34996
34997 WCSLEN_FOUND=0
34998 WCHAR_LINK=
34999
35000 for ac_func in wcslen
35001 do
35002 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35003 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35004 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35005 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35006 echo $ECHO_N "(cached) $ECHO_C" >&6
35007 else
35008 cat >conftest.$ac_ext <<_ACEOF
35009 /* confdefs.h. */
35010 _ACEOF
35011 cat confdefs.h >>conftest.$ac_ext
35012 cat >>conftest.$ac_ext <<_ACEOF
35013 /* end confdefs.h. */
35014 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35015 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35016 #define $ac_func innocuous_$ac_func
35017
35018 /* System header to define __stub macros and hopefully few prototypes,
35019 which can conflict with char $ac_func (); below.
35020 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35021 <limits.h> exists even on freestanding compilers. */
35022
35023 #ifdef __STDC__
35024 # include <limits.h>
35025 #else
35026 # include <assert.h>
35027 #endif
35028
35029 #undef $ac_func
35030
35031 /* Override any GCC internal prototype to avoid an error.
35032 Use char because int might match the return type of a GCC
35033 builtin and then its argument prototype would still apply. */
35034 #ifdef __cplusplus
35035 extern "C"
35036 #endif
35037 char $ac_func ();
35038 /* The GNU C library defines this for functions which it implements
35039 to always fail with ENOSYS. Some functions are actually named
35040 something starting with __ and the normal name is an alias. */
35041 #if defined __stub_$ac_func || defined __stub___$ac_func
35042 choke me
35043 #endif
35044
35045 int
35046 main ()
35047 {
35048 return $ac_func ();
35049 ;
35050 return 0;
35051 }
35052 _ACEOF
35053 rm -f conftest.$ac_objext conftest$ac_exeext
35054 if { (ac_try="$ac_link"
35055 case "(($ac_try" in
35056 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35057 *) ac_try_echo=$ac_try;;
35058 esac
35059 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35060 (eval "$ac_link") 2>conftest.er1
35061 ac_status=$?
35062 grep -v '^ *+' conftest.er1 >conftest.err
35063 rm -f conftest.er1
35064 cat conftest.err >&5
35065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35066 (exit $ac_status); } && {
35067 test -z "$ac_c_werror_flag" ||
35068 test ! -s conftest.err
35069 } && test -s conftest$ac_exeext &&
35070 $as_test_x conftest$ac_exeext; then
35071 eval "$as_ac_var=yes"
35072 else
35073 echo "$as_me: failed program was:" >&5
35074 sed 's/^/| /' conftest.$ac_ext >&5
35075
35076 eval "$as_ac_var=no"
35077 fi
35078
35079 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35080 conftest$ac_exeext conftest.$ac_ext
35081 fi
35082 ac_res=`eval echo '${'$as_ac_var'}'`
35083 { echo "$as_me:$LINENO: result: $ac_res" >&5
35084 echo "${ECHO_T}$ac_res" >&6; }
35085 if test `eval echo '${'$as_ac_var'}'` = yes; then
35086 cat >>confdefs.h <<_ACEOF
35087 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35088 _ACEOF
35089 WCSLEN_FOUND=1
35090 fi
35091 done
35092
35093
35094 if test "$WCSLEN_FOUND" = 0; then
35095 if test "$TOOLKIT" = "MSW"; then
35096 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
35097 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
35098 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
35099 echo $ECHO_N "(cached) $ECHO_C" >&6
35100 else
35101 ac_check_lib_save_LIBS=$LIBS
35102 LIBS="-lmsvcrt $LIBS"
35103 cat >conftest.$ac_ext <<_ACEOF
35104 /* confdefs.h. */
35105 _ACEOF
35106 cat confdefs.h >>conftest.$ac_ext
35107 cat >>conftest.$ac_ext <<_ACEOF
35108 /* end confdefs.h. */
35109
35110 /* Override any GCC internal prototype to avoid an error.
35111 Use char because int might match the return type of a GCC
35112 builtin and then its argument prototype would still apply. */
35113 #ifdef __cplusplus
35114 extern "C"
35115 #endif
35116 char wcslen ();
35117 int
35118 main ()
35119 {
35120 return wcslen ();
35121 ;
35122 return 0;
35123 }
35124 _ACEOF
35125 rm -f conftest.$ac_objext conftest$ac_exeext
35126 if { (ac_try="$ac_link"
35127 case "(($ac_try" in
35128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35129 *) ac_try_echo=$ac_try;;
35130 esac
35131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35132 (eval "$ac_link") 2>conftest.er1
35133 ac_status=$?
35134 grep -v '^ *+' conftest.er1 >conftest.err
35135 rm -f conftest.er1
35136 cat conftest.err >&5
35137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35138 (exit $ac_status); } && {
35139 test -z "$ac_c_werror_flag" ||
35140 test ! -s conftest.err
35141 } && test -s conftest$ac_exeext &&
35142 $as_test_x conftest$ac_exeext; then
35143 ac_cv_lib_msvcrt_wcslen=yes
35144 else
35145 echo "$as_me: failed program was:" >&5
35146 sed 's/^/| /' conftest.$ac_ext >&5
35147
35148 ac_cv_lib_msvcrt_wcslen=no
35149 fi
35150
35151 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35152 conftest$ac_exeext conftest.$ac_ext
35153 LIBS=$ac_check_lib_save_LIBS
35154 fi
35155 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
35156 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
35157 if test $ac_cv_lib_msvcrt_wcslen = yes; then
35158 WCHAR_OK=1
35159 fi
35160
35161 else
35162 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
35163 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
35164 if test "${ac_cv_lib_w_wcslen+set}" = set; then
35165 echo $ECHO_N "(cached) $ECHO_C" >&6
35166 else
35167 ac_check_lib_save_LIBS=$LIBS
35168 LIBS="-lw $LIBS"
35169 cat >conftest.$ac_ext <<_ACEOF
35170 /* confdefs.h. */
35171 _ACEOF
35172 cat confdefs.h >>conftest.$ac_ext
35173 cat >>conftest.$ac_ext <<_ACEOF
35174 /* end confdefs.h. */
35175
35176 /* Override any GCC internal prototype to avoid an error.
35177 Use char because int might match the return type of a GCC
35178 builtin and then its argument prototype would still apply. */
35179 #ifdef __cplusplus
35180 extern "C"
35181 #endif
35182 char wcslen ();
35183 int
35184 main ()
35185 {
35186 return wcslen ();
35187 ;
35188 return 0;
35189 }
35190 _ACEOF
35191 rm -f conftest.$ac_objext conftest$ac_exeext
35192 if { (ac_try="$ac_link"
35193 case "(($ac_try" in
35194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35195 *) ac_try_echo=$ac_try;;
35196 esac
35197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35198 (eval "$ac_link") 2>conftest.er1
35199 ac_status=$?
35200 grep -v '^ *+' conftest.er1 >conftest.err
35201 rm -f conftest.er1
35202 cat conftest.err >&5
35203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35204 (exit $ac_status); } && {
35205 test -z "$ac_c_werror_flag" ||
35206 test ! -s conftest.err
35207 } && test -s conftest$ac_exeext &&
35208 $as_test_x conftest$ac_exeext; then
35209 ac_cv_lib_w_wcslen=yes
35210 else
35211 echo "$as_me: failed program was:" >&5
35212 sed 's/^/| /' conftest.$ac_ext >&5
35213
35214 ac_cv_lib_w_wcslen=no
35215 fi
35216
35217 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35218 conftest$ac_exeext conftest.$ac_ext
35219 LIBS=$ac_check_lib_save_LIBS
35220 fi
35221 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
35222 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
35223 if test $ac_cv_lib_w_wcslen = yes; then
35224
35225 WCHAR_LINK=" -lw"
35226 WCSLEN_FOUND=1
35227
35228 fi
35229
35230 fi
35231 fi
35232
35233 if test "$WCSLEN_FOUND" = 1; then
35234 cat >>confdefs.h <<\_ACEOF
35235 #define HAVE_WCSLEN 1
35236 _ACEOF
35237
35238 fi
35239
35240
35241
35242
35243
35244
35245 for ac_func in wcsdup strnlen wcsnlen wcscasecmp wcsncasecmp
35246 do
35247 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35248 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35249 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35250 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35251 echo $ECHO_N "(cached) $ECHO_C" >&6
35252 else
35253 cat >conftest.$ac_ext <<_ACEOF
35254 /* confdefs.h. */
35255 _ACEOF
35256 cat confdefs.h >>conftest.$ac_ext
35257 cat >>conftest.$ac_ext <<_ACEOF
35258 /* end confdefs.h. */
35259 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35260 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35261 #define $ac_func innocuous_$ac_func
35262
35263 /* System header to define __stub macros and hopefully few prototypes,
35264 which can conflict with char $ac_func (); below.
35265 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35266 <limits.h> exists even on freestanding compilers. */
35267
35268 #ifdef __STDC__
35269 # include <limits.h>
35270 #else
35271 # include <assert.h>
35272 #endif
35273
35274 #undef $ac_func
35275
35276 /* Override any GCC internal prototype to avoid an error.
35277 Use char because int might match the return type of a GCC
35278 builtin and then its argument prototype would still apply. */
35279 #ifdef __cplusplus
35280 extern "C"
35281 #endif
35282 char $ac_func ();
35283 /* The GNU C library defines this for functions which it implements
35284 to always fail with ENOSYS. Some functions are actually named
35285 something starting with __ and the normal name is an alias. */
35286 #if defined __stub_$ac_func || defined __stub___$ac_func
35287 choke me
35288 #endif
35289
35290 int
35291 main ()
35292 {
35293 return $ac_func ();
35294 ;
35295 return 0;
35296 }
35297 _ACEOF
35298 rm -f conftest.$ac_objext conftest$ac_exeext
35299 if { (ac_try="$ac_link"
35300 case "(($ac_try" in
35301 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35302 *) ac_try_echo=$ac_try;;
35303 esac
35304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35305 (eval "$ac_link") 2>conftest.er1
35306 ac_status=$?
35307 grep -v '^ *+' conftest.er1 >conftest.err
35308 rm -f conftest.er1
35309 cat conftest.err >&5
35310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35311 (exit $ac_status); } && {
35312 test -z "$ac_c_werror_flag" ||
35313 test ! -s conftest.err
35314 } && test -s conftest$ac_exeext &&
35315 $as_test_x conftest$ac_exeext; then
35316 eval "$as_ac_var=yes"
35317 else
35318 echo "$as_me: failed program was:" >&5
35319 sed 's/^/| /' conftest.$ac_ext >&5
35320
35321 eval "$as_ac_var=no"
35322 fi
35323
35324 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35325 conftest$ac_exeext conftest.$ac_ext
35326 fi
35327 ac_res=`eval echo '${'$as_ac_var'}'`
35328 { echo "$as_me:$LINENO: result: $ac_res" >&5
35329 echo "${ECHO_T}$ac_res" >&6; }
35330 if test `eval echo '${'$as_ac_var'}'` = yes; then
35331 cat >>confdefs.h <<_ACEOF
35332 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35333 _ACEOF
35334
35335 fi
35336 done
35337
35338
35339 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
35340 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
35341 fi
35342
35343 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
35344 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
35345 if test "${ac_cv_type_mbstate_t+set}" = set; then
35346 echo $ECHO_N "(cached) $ECHO_C" >&6
35347 else
35348 cat >conftest.$ac_ext <<_ACEOF
35349 /* confdefs.h. */
35350 _ACEOF
35351 cat confdefs.h >>conftest.$ac_ext
35352 cat >>conftest.$ac_ext <<_ACEOF
35353 /* end confdefs.h. */
35354 #include <wchar.h>
35355
35356 typedef mbstate_t ac__type_new_;
35357 int
35358 main ()
35359 {
35360 if ((ac__type_new_ *) 0)
35361 return 0;
35362 if (sizeof (ac__type_new_))
35363 return 0;
35364 ;
35365 return 0;
35366 }
35367 _ACEOF
35368 rm -f conftest.$ac_objext
35369 if { (ac_try="$ac_compile"
35370 case "(($ac_try" in
35371 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35372 *) ac_try_echo=$ac_try;;
35373 esac
35374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35375 (eval "$ac_compile") 2>conftest.er1
35376 ac_status=$?
35377 grep -v '^ *+' conftest.er1 >conftest.err
35378 rm -f conftest.er1
35379 cat conftest.err >&5
35380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35381 (exit $ac_status); } && {
35382 test -z "$ac_c_werror_flag" ||
35383 test ! -s conftest.err
35384 } && test -s conftest.$ac_objext; then
35385 ac_cv_type_mbstate_t=yes
35386 else
35387 echo "$as_me: failed program was:" >&5
35388 sed 's/^/| /' conftest.$ac_ext >&5
35389
35390 ac_cv_type_mbstate_t=no
35391 fi
35392
35393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35394 fi
35395 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
35396 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
35397 if test $ac_cv_type_mbstate_t = yes; then
35398
35399 cat >>confdefs.h <<_ACEOF
35400 #define HAVE_MBSTATE_T 1
35401 _ACEOF
35402
35403
35404 for ac_func in wcsrtombs
35405 do
35406 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35407 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35408 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35409 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35410 echo $ECHO_N "(cached) $ECHO_C" >&6
35411 else
35412 cat >conftest.$ac_ext <<_ACEOF
35413 /* confdefs.h. */
35414 _ACEOF
35415 cat confdefs.h >>conftest.$ac_ext
35416 cat >>conftest.$ac_ext <<_ACEOF
35417 /* end confdefs.h. */
35418 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35419 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35420 #define $ac_func innocuous_$ac_func
35421
35422 /* System header to define __stub macros and hopefully few prototypes,
35423 which can conflict with char $ac_func (); below.
35424 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35425 <limits.h> exists even on freestanding compilers. */
35426
35427 #ifdef __STDC__
35428 # include <limits.h>
35429 #else
35430 # include <assert.h>
35431 #endif
35432
35433 #undef $ac_func
35434
35435 /* Override any GCC internal prototype to avoid an error.
35436 Use char because int might match the return type of a GCC
35437 builtin and then its argument prototype would still apply. */
35438 #ifdef __cplusplus
35439 extern "C"
35440 #endif
35441 char $ac_func ();
35442 /* The GNU C library defines this for functions which it implements
35443 to always fail with ENOSYS. Some functions are actually named
35444 something starting with __ and the normal name is an alias. */
35445 #if defined __stub_$ac_func || defined __stub___$ac_func
35446 choke me
35447 #endif
35448
35449 int
35450 main ()
35451 {
35452 return $ac_func ();
35453 ;
35454 return 0;
35455 }
35456 _ACEOF
35457 rm -f conftest.$ac_objext conftest$ac_exeext
35458 if { (ac_try="$ac_link"
35459 case "(($ac_try" in
35460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35461 *) ac_try_echo=$ac_try;;
35462 esac
35463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35464 (eval "$ac_link") 2>conftest.er1
35465 ac_status=$?
35466 grep -v '^ *+' conftest.er1 >conftest.err
35467 rm -f conftest.er1
35468 cat conftest.err >&5
35469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35470 (exit $ac_status); } && {
35471 test -z "$ac_c_werror_flag" ||
35472 test ! -s conftest.err
35473 } && test -s conftest$ac_exeext &&
35474 $as_test_x conftest$ac_exeext; then
35475 eval "$as_ac_var=yes"
35476 else
35477 echo "$as_me: failed program was:" >&5
35478 sed 's/^/| /' conftest.$ac_ext >&5
35479
35480 eval "$as_ac_var=no"
35481 fi
35482
35483 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35484 conftest$ac_exeext conftest.$ac_ext
35485 fi
35486 ac_res=`eval echo '${'$as_ac_var'}'`
35487 { echo "$as_me:$LINENO: result: $ac_res" >&5
35488 echo "${ECHO_T}$ac_res" >&6; }
35489 if test `eval echo '${'$as_ac_var'}'` = yes; then
35490 cat >>confdefs.h <<_ACEOF
35491 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35492 _ACEOF
35493
35494 fi
35495 done
35496
35497 fi
35498
35499 else
35500 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
35501 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
35502 fi
35503
35504
35505
35506
35507 for ac_func in snprintf vsnprintf vsscanf
35508 do
35509 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35510 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35511 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35512 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35513 echo $ECHO_N "(cached) $ECHO_C" >&6
35514 else
35515 cat >conftest.$ac_ext <<_ACEOF
35516 /* confdefs.h. */
35517 _ACEOF
35518 cat confdefs.h >>conftest.$ac_ext
35519 cat >>conftest.$ac_ext <<_ACEOF
35520 /* end confdefs.h. */
35521 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35522 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35523 #define $ac_func innocuous_$ac_func
35524
35525 /* System header to define __stub macros and hopefully few prototypes,
35526 which can conflict with char $ac_func (); below.
35527 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35528 <limits.h> exists even on freestanding compilers. */
35529
35530 #ifdef __STDC__
35531 # include <limits.h>
35532 #else
35533 # include <assert.h>
35534 #endif
35535
35536 #undef $ac_func
35537
35538 /* Override any GCC internal prototype to avoid an error.
35539 Use char because int might match the return type of a GCC
35540 builtin and then its argument prototype would still apply. */
35541 #ifdef __cplusplus
35542 extern "C"
35543 #endif
35544 char $ac_func ();
35545 /* The GNU C library defines this for functions which it implements
35546 to always fail with ENOSYS. Some functions are actually named
35547 something starting with __ and the normal name is an alias. */
35548 #if defined __stub_$ac_func || defined __stub___$ac_func
35549 choke me
35550 #endif
35551
35552 int
35553 main ()
35554 {
35555 return $ac_func ();
35556 ;
35557 return 0;
35558 }
35559 _ACEOF
35560 rm -f conftest.$ac_objext conftest$ac_exeext
35561 if { (ac_try="$ac_link"
35562 case "(($ac_try" in
35563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35564 *) ac_try_echo=$ac_try;;
35565 esac
35566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35567 (eval "$ac_link") 2>conftest.er1
35568 ac_status=$?
35569 grep -v '^ *+' conftest.er1 >conftest.err
35570 rm -f conftest.er1
35571 cat conftest.err >&5
35572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35573 (exit $ac_status); } && {
35574 test -z "$ac_c_werror_flag" ||
35575 test ! -s conftest.err
35576 } && test -s conftest$ac_exeext &&
35577 $as_test_x conftest$ac_exeext; then
35578 eval "$as_ac_var=yes"
35579 else
35580 echo "$as_me: failed program was:" >&5
35581 sed 's/^/| /' conftest.$ac_ext >&5
35582
35583 eval "$as_ac_var=no"
35584 fi
35585
35586 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35587 conftest$ac_exeext conftest.$ac_ext
35588 fi
35589 ac_res=`eval echo '${'$as_ac_var'}'`
35590 { echo "$as_me:$LINENO: result: $ac_res" >&5
35591 echo "${ECHO_T}$ac_res" >&6; }
35592 if test `eval echo '${'$as_ac_var'}'` = yes; then
35593 cat >>confdefs.h <<_ACEOF
35594 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35595 _ACEOF
35596
35597 fi
35598 done
35599
35600
35601 ac_ext=cpp
35602 ac_cpp='$CXXCPP $CPPFLAGS'
35603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35606
35607 if test "$ac_cv_func_vsnprintf" = "yes"; then
35608 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
35609 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
35610 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
35611 echo $ECHO_N "(cached) $ECHO_C" >&6
35612 else
35613
35614 cat >conftest.$ac_ext <<_ACEOF
35615 /* confdefs.h. */
35616 _ACEOF
35617 cat confdefs.h >>conftest.$ac_ext
35618 cat >>conftest.$ac_ext <<_ACEOF
35619 /* end confdefs.h. */
35620
35621 #include <stdio.h>
35622 #include <stdarg.h>
35623 #ifdef __MSL__
35624 #if __MSL__ >= 0x6000
35625 namespace std {}
35626 using namespace std;
35627 #endif
35628 #endif
35629
35630 int
35631 main ()
35632 {
35633
35634 char *buf;
35635 va_list ap;
35636 vsnprintf(buf, 10u, "%s", ap);
35637
35638 ;
35639 return 0;
35640 }
35641 _ACEOF
35642 rm -f conftest.$ac_objext
35643 if { (ac_try="$ac_compile"
35644 case "(($ac_try" in
35645 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35646 *) ac_try_echo=$ac_try;;
35647 esac
35648 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35649 (eval "$ac_compile") 2>conftest.er1
35650 ac_status=$?
35651 grep -v '^ *+' conftest.er1 >conftest.err
35652 rm -f conftest.er1
35653 cat conftest.err >&5
35654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35655 (exit $ac_status); } && {
35656 test -z "$ac_cxx_werror_flag" ||
35657 test ! -s conftest.err
35658 } && test -s conftest.$ac_objext; then
35659 wx_cv_func_vsnprintf_decl=yes
35660 else
35661 echo "$as_me: failed program was:" >&5
35662 sed 's/^/| /' conftest.$ac_ext >&5
35663
35664 wx_cv_func_vsnprintf_decl=no
35665
35666 fi
35667
35668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35669
35670
35671 fi
35672 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
35673 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
35674
35675 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
35676 cat >>confdefs.h <<\_ACEOF
35677 #define HAVE_VSNPRINTF_DECL 1
35678 _ACEOF
35679
35680
35681 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
35682 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
35683 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
35684 echo $ECHO_N "(cached) $ECHO_C" >&6
35685 else
35686
35687 cat >conftest.$ac_ext <<_ACEOF
35688 /* confdefs.h. */
35689 _ACEOF
35690 cat confdefs.h >>conftest.$ac_ext
35691 cat >>conftest.$ac_ext <<_ACEOF
35692 /* end confdefs.h. */
35693
35694 #include <stdio.h>
35695 #include <stdarg.h>
35696 #ifdef __MSL__
35697 #if __MSL__ >= 0x6000
35698 namespace std {}
35699 using namespace std;
35700 #endif
35701 #endif
35702
35703 int
35704 main ()
35705 {
35706
35707 char *buf;
35708 va_list ap;
35709 const char *fmt = "%s";
35710 vsnprintf(buf, 10u, fmt, ap);
35711
35712 ;
35713 return 0;
35714 }
35715 _ACEOF
35716 rm -f conftest.$ac_objext
35717 if { (ac_try="$ac_compile"
35718 case "(($ac_try" in
35719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35720 *) ac_try_echo=$ac_try;;
35721 esac
35722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35723 (eval "$ac_compile") 2>conftest.er1
35724 ac_status=$?
35725 grep -v '^ *+' conftest.er1 >conftest.err
35726 rm -f conftest.er1
35727 cat conftest.err >&5
35728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35729 (exit $ac_status); } && {
35730 test -z "$ac_cxx_werror_flag" ||
35731 test ! -s conftest.err
35732 } && test -s conftest.$ac_objext; then
35733 wx_cv_func_broken_vsnprintf_decl=no
35734 else
35735 echo "$as_me: failed program was:" >&5
35736 sed 's/^/| /' conftest.$ac_ext >&5
35737
35738 wx_cv_func_broken_vsnprintf_decl=yes
35739
35740 fi
35741
35742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35743
35744
35745 fi
35746 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
35747 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
35748
35749 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
35750 cat >>confdefs.h <<\_ACEOF
35751 #define HAVE_BROKEN_VSNPRINTF_DECL 1
35752 _ACEOF
35753
35754 fi
35755 fi
35756 fi
35757
35758 if test "$ac_cv_func_snprintf" = "yes"; then
35759 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
35760 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
35761 if test "${wx_cv_func_snprintf_decl+set}" = set; then
35762 echo $ECHO_N "(cached) $ECHO_C" >&6
35763 else
35764
35765 cat >conftest.$ac_ext <<_ACEOF
35766 /* confdefs.h. */
35767 _ACEOF
35768 cat confdefs.h >>conftest.$ac_ext
35769 cat >>conftest.$ac_ext <<_ACEOF
35770 /* end confdefs.h. */
35771
35772 #include <stdio.h>
35773 #include <stdarg.h>
35774 #ifdef __MSL__
35775 #if __MSL__ >= 0x6000
35776 namespace std {}
35777 using namespace std;
35778 #endif
35779 #endif
35780
35781 int
35782 main ()
35783 {
35784
35785 char *buf;
35786 snprintf(buf, 10u, "%s", "wx");
35787
35788 ;
35789 return 0;
35790 }
35791 _ACEOF
35792 rm -f conftest.$ac_objext
35793 if { (ac_try="$ac_compile"
35794 case "(($ac_try" in
35795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35796 *) ac_try_echo=$ac_try;;
35797 esac
35798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35799 (eval "$ac_compile") 2>conftest.er1
35800 ac_status=$?
35801 grep -v '^ *+' conftest.er1 >conftest.err
35802 rm -f conftest.er1
35803 cat conftest.err >&5
35804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35805 (exit $ac_status); } && {
35806 test -z "$ac_cxx_werror_flag" ||
35807 test ! -s conftest.err
35808 } && test -s conftest.$ac_objext; then
35809 wx_cv_func_snprintf_decl=yes
35810 else
35811 echo "$as_me: failed program was:" >&5
35812 sed 's/^/| /' conftest.$ac_ext >&5
35813
35814 wx_cv_func_snprintf_decl=no
35815
35816 fi
35817
35818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35819
35820
35821 fi
35822 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
35823 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
35824
35825 if test "$wx_cv_func_snprintf_decl" = "yes"; then
35826 cat >>confdefs.h <<\_ACEOF
35827 #define HAVE_SNPRINTF_DECL 1
35828 _ACEOF
35829
35830 fi
35831
35832 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
35833
35834 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
35835 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
35836 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
35837 echo $ECHO_N "(cached) $ECHO_C" >&6
35838 else
35839
35840 if test "$cross_compiling" = yes; then
35841
35842 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
35843 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
35844 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
35845 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
35846 wx_cv_func_snprintf_pos_params=no
35847
35848
35849 else
35850 cat >conftest.$ac_ext <<_ACEOF
35851 /* confdefs.h. */
35852 _ACEOF
35853 cat confdefs.h >>conftest.$ac_ext
35854 cat >>conftest.$ac_ext <<_ACEOF
35855 /* end confdefs.h. */
35856
35857 #include <stdio.h>
35858
35859 int main (void)
35860 {
35861 char buffer[128];
35862 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
35863 if (strcmp ("2 3 1", buffer) == 0)
35864 exit (0);
35865 exit (1);
35866 }
35867
35868 _ACEOF
35869 rm -f conftest$ac_exeext
35870 if { (ac_try="$ac_link"
35871 case "(($ac_try" in
35872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35873 *) ac_try_echo=$ac_try;;
35874 esac
35875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35876 (eval "$ac_link") 2>&5
35877 ac_status=$?
35878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35879 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
35880 { (case "(($ac_try" in
35881 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35882 *) ac_try_echo=$ac_try;;
35883 esac
35884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35885 (eval "$ac_try") 2>&5
35886 ac_status=$?
35887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35888 (exit $ac_status); }; }; then
35889 wx_cv_func_snprintf_pos_params=no
35890 else
35891 echo "$as_me: program exited with status $ac_status" >&5
35892 echo "$as_me: failed program was:" >&5
35893 sed 's/^/| /' conftest.$ac_ext >&5
35894
35895 ( exit $ac_status )
35896 wx_cv_func_snprintf_pos_params=yes
35897 fi
35898 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
35899 fi
35900
35901
35902
35903
35904 fi
35905 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
35906 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
35907
35908 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
35909 cat >>confdefs.h <<\_ACEOF
35910 #define HAVE_UNIX98_PRINTF 1
35911 _ACEOF
35912
35913 fi
35914 fi
35915 fi
35916
35917 if test "$ac_cv_func_vsscanf" = "yes"; then
35918 { echo "$as_me:$LINENO: checking for vsscanf declaration" >&5
35919 echo $ECHO_N "checking for vsscanf declaration... $ECHO_C" >&6; }
35920 if test "${wx_cv_func_vsscanf_decl+set}" = set; then
35921 echo $ECHO_N "(cached) $ECHO_C" >&6
35922 else
35923
35924 cat >conftest.$ac_ext <<_ACEOF
35925 /* confdefs.h. */
35926 _ACEOF
35927 cat confdefs.h >>conftest.$ac_ext
35928 cat >>conftest.$ac_ext <<_ACEOF
35929 /* end confdefs.h. */
35930
35931 #include <stdio.h>
35932 #include <stdarg.h>
35933 #ifdef __MSL__
35934 #if __MSL__ >= 0x6000
35935 namespace std {}
35936 using namespace std;
35937 #endif
35938 #endif
35939
35940 int
35941 main ()
35942 {
35943
35944 char *buf;
35945 va_list args;
35946 vsscanf(buf, "%s", args);
35947
35948 ;
35949 return 0;
35950 }
35951 _ACEOF
35952 rm -f conftest.$ac_objext
35953 if { (ac_try="$ac_compile"
35954 case "(($ac_try" in
35955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35956 *) ac_try_echo=$ac_try;;
35957 esac
35958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35959 (eval "$ac_compile") 2>conftest.er1
35960 ac_status=$?
35961 grep -v '^ *+' conftest.er1 >conftest.err
35962 rm -f conftest.er1
35963 cat conftest.err >&5
35964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35965 (exit $ac_status); } && {
35966 test -z "$ac_cxx_werror_flag" ||
35967 test ! -s conftest.err
35968 } && test -s conftest.$ac_objext; then
35969 wx_cv_func_vsscanf_decl=yes
35970 else
35971 echo "$as_me: failed program was:" >&5
35972 sed 's/^/| /' conftest.$ac_ext >&5
35973
35974 wx_cv_func_vsscanf_decl=no
35975
35976 fi
35977
35978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35979
35980
35981 fi
35982 { echo "$as_me:$LINENO: result: $wx_cv_func_vsscanf_decl" >&5
35983 echo "${ECHO_T}$wx_cv_func_vsscanf_decl" >&6; }
35984
35985 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
35986 cat >>confdefs.h <<\_ACEOF
35987 #define HAVE_VSSCANF_DECL 1
35988 _ACEOF
35989
35990 fi
35991 fi
35992 ac_ext=c
35993 ac_cpp='$CPP $CPPFLAGS'
35994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35997
35998
35999 if test "$wxUSE_UNICODE" = yes; then
36000
36001 wchar_headers="#include <stdio.h>
36002 #include <wchar.h>"
36003 case "${host}" in
36004 *-*-solaris2* )
36005
36006 for ac_header in widec.h
36007 do
36008 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36009 { echo "$as_me:$LINENO: checking for $ac_header" >&5
36010 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
36011 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
36012 echo $ECHO_N "(cached) $ECHO_C" >&6
36013 else
36014 cat >conftest.$ac_ext <<_ACEOF
36015 /* confdefs.h. */
36016 _ACEOF
36017 cat confdefs.h >>conftest.$ac_ext
36018 cat >>conftest.$ac_ext <<_ACEOF
36019 /* end confdefs.h. */
36020 $ac_includes_default
36021
36022 #include <$ac_header>
36023 _ACEOF
36024 rm -f conftest.$ac_objext
36025 if { (ac_try="$ac_compile"
36026 case "(($ac_try" in
36027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36028 *) ac_try_echo=$ac_try;;
36029 esac
36030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36031 (eval "$ac_compile") 2>conftest.er1
36032 ac_status=$?
36033 grep -v '^ *+' conftest.er1 >conftest.err
36034 rm -f conftest.er1
36035 cat conftest.err >&5
36036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36037 (exit $ac_status); } && {
36038 test -z "$ac_c_werror_flag" ||
36039 test ! -s conftest.err
36040 } && test -s conftest.$ac_objext; then
36041 eval "$as_ac_Header=yes"
36042 else
36043 echo "$as_me: failed program was:" >&5
36044 sed 's/^/| /' conftest.$ac_ext >&5
36045
36046 eval "$as_ac_Header=no"
36047 fi
36048
36049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36050 fi
36051 ac_res=`eval echo '${'$as_ac_Header'}'`
36052 { echo "$as_me:$LINENO: result: $ac_res" >&5
36053 echo "${ECHO_T}$ac_res" >&6; }
36054 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36055 cat >>confdefs.h <<_ACEOF
36056 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36057 _ACEOF
36058
36059 fi
36060
36061 done
36062
36063 if test "$ac_cv_header_widec_h" = "yes"; then
36064 wchar_headers="$wchar_headers
36065 #include <widec.h>"
36066 fi
36067 esac
36068
36069
36070 for wx_func in putws fputws wprintf vswprintf vswscanf
36071 do
36072 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36073 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36074 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36075 echo $ECHO_N "(cached) $ECHO_C" >&6
36076 else
36077
36078 cat >conftest.$ac_ext <<_ACEOF
36079
36080 /* confdefs.h. */
36081 _ACEOF
36082 cat confdefs.h >>conftest.$ac_ext
36083 cat >>conftest.$ac_ext <<_ACEOF
36084 /* end confdefs.h. */
36085
36086 $wchar_headers
36087 $ac_includes_default
36088
36089 int
36090 main ()
36091 {
36092
36093 #ifndef $wx_func
36094 &$wx_func;
36095 #endif
36096
36097
36098 ;
36099 return 0;
36100 }
36101
36102 _ACEOF
36103 rm -f conftest.$ac_objext conftest$ac_exeext
36104 if { (ac_try="$ac_link"
36105 case "(($ac_try" in
36106 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36107 *) ac_try_echo=$ac_try;;
36108 esac
36109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36110 (eval "$ac_link") 2>conftest.er1
36111 ac_status=$?
36112 grep -v '^ *+' conftest.er1 >conftest.err
36113 rm -f conftest.er1
36114 cat conftest.err >&5
36115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36116 (exit $ac_status); } && {
36117 test -z "$ac_c_werror_flag" ||
36118 test ! -s conftest.err
36119 } && test -s conftest$ac_exeext &&
36120 $as_test_x conftest$ac_exeext; then
36121 eval wx_cv_func_$wx_func=yes
36122 else
36123 echo "$as_me: failed program was:" >&5
36124 sed 's/^/| /' conftest.$ac_ext >&5
36125
36126 eval wx_cv_func_$wx_func=no
36127 fi
36128
36129 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36130 conftest$ac_exeext conftest.$ac_ext
36131
36132 fi
36133 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36134 { echo "$as_me:$LINENO: result: $ac_res" >&5
36135 echo "${ECHO_T}$ac_res" >&6; }
36136
36137 if eval test \$wx_cv_func_$wx_func = yes
36138 then
36139 cat >>confdefs.h <<_ACEOF
36140 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
36141 _ACEOF
36142
36143
36144 else
36145 :
36146
36147 fi
36148 done
36149
36150
36151 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
36152 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
36153 cat >conftest.$ac_ext <<_ACEOF
36154 /* confdefs.h. */
36155 _ACEOF
36156 cat confdefs.h >>conftest.$ac_ext
36157 cat >>conftest.$ac_ext <<_ACEOF
36158 /* end confdefs.h. */
36159 #include <wchar.h>
36160 int
36161 main ()
36162 {
36163 &_vsnwprintf;
36164 ;
36165 return 0;
36166 }
36167 _ACEOF
36168 rm -f conftest.$ac_objext
36169 if { (ac_try="$ac_compile"
36170 case "(($ac_try" in
36171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36172 *) ac_try_echo=$ac_try;;
36173 esac
36174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36175 (eval "$ac_compile") 2>conftest.er1
36176 ac_status=$?
36177 grep -v '^ *+' conftest.er1 >conftest.err
36178 rm -f conftest.er1
36179 cat conftest.err >&5
36180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36181 (exit $ac_status); } && {
36182 test -z "$ac_c_werror_flag" ||
36183 test ! -s conftest.err
36184 } && test -s conftest.$ac_objext; then
36185 { echo "$as_me:$LINENO: result: yes" >&5
36186 echo "${ECHO_T}yes" >&6; }
36187 cat >>confdefs.h <<\_ACEOF
36188 #define HAVE__VSNWPRINTF 1
36189 _ACEOF
36190
36191 else
36192 echo "$as_me: failed program was:" >&5
36193 sed 's/^/| /' conftest.$ac_ext >&5
36194
36195 { echo "$as_me:$LINENO: result: no" >&5
36196 echo "${ECHO_T}no" >&6; }
36197 fi
36198
36199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
36200 fi
36201
36202 if test "$wxUSE_FILE" = "yes"; then
36203
36204 for wx_func in fsync
36205 do
36206 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36207 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36208 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36209 echo $ECHO_N "(cached) $ECHO_C" >&6
36210 else
36211
36212 cat >conftest.$ac_ext <<_ACEOF
36213
36214 /* confdefs.h. */
36215 _ACEOF
36216 cat confdefs.h >>conftest.$ac_ext
36217 cat >>conftest.$ac_ext <<_ACEOF
36218 /* end confdefs.h. */
36219
36220
36221 $ac_includes_default
36222
36223 int
36224 main ()
36225 {
36226
36227 #ifndef $wx_func
36228 &$wx_func;
36229 #endif
36230
36231
36232 ;
36233 return 0;
36234 }
36235
36236 _ACEOF
36237 rm -f conftest.$ac_objext conftest$ac_exeext
36238 if { (ac_try="$ac_link"
36239 case "(($ac_try" in
36240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36241 *) ac_try_echo=$ac_try;;
36242 esac
36243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36244 (eval "$ac_link") 2>conftest.er1
36245 ac_status=$?
36246 grep -v '^ *+' conftest.er1 >conftest.err
36247 rm -f conftest.er1
36248 cat conftest.err >&5
36249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36250 (exit $ac_status); } && {
36251 test -z "$ac_c_werror_flag" ||
36252 test ! -s conftest.err
36253 } && test -s conftest$ac_exeext &&
36254 $as_test_x conftest$ac_exeext; then
36255 eval wx_cv_func_$wx_func=yes
36256 else
36257 echo "$as_me: failed program was:" >&5
36258 sed 's/^/| /' conftest.$ac_ext >&5
36259
36260 eval wx_cv_func_$wx_func=no
36261 fi
36262
36263 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36264 conftest$ac_exeext conftest.$ac_ext
36265
36266 fi
36267 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36268 { echo "$as_me:$LINENO: result: $ac_res" >&5
36269 echo "${ECHO_T}$ac_res" >&6; }
36270
36271 if eval test \$wx_cv_func_$wx_func = yes
36272 then
36273 cat >>confdefs.h <<_ACEOF
36274 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
36275 _ACEOF
36276
36277
36278 else
36279 :
36280
36281 fi
36282 done
36283
36284 fi
36285
36286 ac_ext=cpp
36287 ac_cpp='$CXXCPP $CPPFLAGS'
36288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36291
36292
36293 for wx_func in round
36294 do
36295 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36296 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36297 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36298 echo $ECHO_N "(cached) $ECHO_C" >&6
36299 else
36300
36301 cat >conftest.$ac_ext <<_ACEOF
36302
36303 /* confdefs.h. */
36304 _ACEOF
36305 cat confdefs.h >>conftest.$ac_ext
36306 cat >>conftest.$ac_ext <<_ACEOF
36307 /* end confdefs.h. */
36308
36309 #include <math.h>
36310 $ac_includes_default
36311
36312 int
36313 main ()
36314 {
36315
36316 #ifndef $wx_func
36317 &$wx_func;
36318 #endif
36319
36320
36321 ;
36322 return 0;
36323 }
36324
36325 _ACEOF
36326 rm -f conftest.$ac_objext conftest$ac_exeext
36327 if { (ac_try="$ac_link"
36328 case "(($ac_try" in
36329 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36330 *) ac_try_echo=$ac_try;;
36331 esac
36332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36333 (eval "$ac_link") 2>conftest.er1
36334 ac_status=$?
36335 grep -v '^ *+' conftest.er1 >conftest.err
36336 rm -f conftest.er1
36337 cat conftest.err >&5
36338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36339 (exit $ac_status); } && {
36340 test -z "$ac_cxx_werror_flag" ||
36341 test ! -s conftest.err
36342 } && test -s conftest$ac_exeext &&
36343 $as_test_x conftest$ac_exeext; then
36344 eval wx_cv_func_$wx_func=yes
36345 else
36346 echo "$as_me: failed program was:" >&5
36347 sed 's/^/| /' conftest.$ac_ext >&5
36348
36349 eval wx_cv_func_$wx_func=no
36350 fi
36351
36352 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36353 conftest$ac_exeext conftest.$ac_ext
36354
36355 fi
36356 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36357 { echo "$as_me:$LINENO: result: $ac_res" >&5
36358 echo "${ECHO_T}$ac_res" >&6; }
36359
36360 if eval test \$wx_cv_func_$wx_func = yes
36361 then
36362 cat >>confdefs.h <<_ACEOF
36363 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
36364 _ACEOF
36365
36366
36367 else
36368 :
36369
36370 fi
36371 done
36372
36373 ac_ext=c
36374 ac_cpp='$CPP $CPPFLAGS'
36375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36378
36379
36380 if test "$TOOLKIT" != "MSW"; then
36381
36382 if test "$wxUSE_LIBICONV" != "no" ; then
36383
36384
36385
36386 # Check whether --with-libiconv-prefix was given.
36387 if test "${with_libiconv_prefix+set}" = set; then
36388 withval=$with_libiconv_prefix;
36389 for dir in `echo "$withval" | tr : ' '`; do
36390 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
36391 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
36392 done
36393
36394 fi
36395
36396
36397 { echo "$as_me:$LINENO: checking for iconv" >&5
36398 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
36399 if test "${am_cv_func_iconv+set}" = set; then
36400 echo $ECHO_N "(cached) $ECHO_C" >&6
36401 else
36402
36403 am_cv_func_iconv="no, consider installing GNU libiconv"
36404 am_cv_lib_iconv=no
36405 cat >conftest.$ac_ext <<_ACEOF
36406 /* confdefs.h. */
36407 _ACEOF
36408 cat confdefs.h >>conftest.$ac_ext
36409 cat >>conftest.$ac_ext <<_ACEOF
36410 /* end confdefs.h. */
36411 #include <stdlib.h>
36412 #include <iconv.h>
36413 int
36414 main ()
36415 {
36416 iconv_t cd = iconv_open("","");
36417 iconv(cd,NULL,NULL,NULL,NULL);
36418 iconv_close(cd);
36419 ;
36420 return 0;
36421 }
36422 _ACEOF
36423 rm -f conftest.$ac_objext conftest$ac_exeext
36424 if { (ac_try="$ac_link"
36425 case "(($ac_try" in
36426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36427 *) ac_try_echo=$ac_try;;
36428 esac
36429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36430 (eval "$ac_link") 2>conftest.er1
36431 ac_status=$?
36432 grep -v '^ *+' conftest.er1 >conftest.err
36433 rm -f conftest.er1
36434 cat conftest.err >&5
36435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36436 (exit $ac_status); } && {
36437 test -z "$ac_c_werror_flag" ||
36438 test ! -s conftest.err
36439 } && test -s conftest$ac_exeext &&
36440 $as_test_x conftest$ac_exeext; then
36441 am_cv_func_iconv=yes
36442 else
36443 echo "$as_me: failed program was:" >&5
36444 sed 's/^/| /' conftest.$ac_ext >&5
36445
36446
36447 fi
36448
36449 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36450 conftest$ac_exeext conftest.$ac_ext
36451 if test "$am_cv_func_iconv" != yes; then
36452 am_save_LIBS="$LIBS"
36453 LIBS="$LIBS -liconv"
36454 cat >conftest.$ac_ext <<_ACEOF
36455 /* confdefs.h. */
36456 _ACEOF
36457 cat confdefs.h >>conftest.$ac_ext
36458 cat >>conftest.$ac_ext <<_ACEOF
36459 /* end confdefs.h. */
36460 #include <stdlib.h>
36461 #include <iconv.h>
36462 int
36463 main ()
36464 {
36465 iconv_t cd = iconv_open("","");
36466 iconv(cd,NULL,NULL,NULL,NULL);
36467 iconv_close(cd);
36468 ;
36469 return 0;
36470 }
36471 _ACEOF
36472 rm -f conftest.$ac_objext conftest$ac_exeext
36473 if { (ac_try="$ac_link"
36474 case "(($ac_try" in
36475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36476 *) ac_try_echo=$ac_try;;
36477 esac
36478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36479 (eval "$ac_link") 2>conftest.er1
36480 ac_status=$?
36481 grep -v '^ *+' conftest.er1 >conftest.err
36482 rm -f conftest.er1
36483 cat conftest.err >&5
36484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36485 (exit $ac_status); } && {
36486 test -z "$ac_c_werror_flag" ||
36487 test ! -s conftest.err
36488 } && test -s conftest$ac_exeext &&
36489 $as_test_x conftest$ac_exeext; then
36490 am_cv_lib_iconv=yes
36491 am_cv_func_iconv=yes
36492 else
36493 echo "$as_me: failed program was:" >&5
36494 sed 's/^/| /' conftest.$ac_ext >&5
36495
36496
36497 fi
36498
36499 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36500 conftest$ac_exeext conftest.$ac_ext
36501 LIBS="$am_save_LIBS"
36502 fi
36503
36504 fi
36505 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
36506 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
36507 if test "$am_cv_func_iconv" = yes; then
36508
36509 cat >>confdefs.h <<\_ACEOF
36510 #define HAVE_ICONV 1
36511 _ACEOF
36512
36513 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
36514 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
36515 if test "${wx_cv_func_iconv_const+set}" = set; then
36516 echo $ECHO_N "(cached) $ECHO_C" >&6
36517 else
36518 cat >conftest.$ac_ext <<_ACEOF
36519 /* confdefs.h. */
36520 _ACEOF
36521 cat confdefs.h >>conftest.$ac_ext
36522 cat >>conftest.$ac_ext <<_ACEOF
36523 /* end confdefs.h. */
36524
36525 #include <stdlib.h>
36526 #include <iconv.h>
36527 extern
36528 #ifdef __cplusplus
36529 "C"
36530 #endif
36531 #if defined(__STDC__) || defined(__cplusplus)
36532 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
36533 #else
36534 size_t iconv();
36535 #endif
36536
36537 int
36538 main ()
36539 {
36540
36541 ;
36542 return 0;
36543 }
36544 _ACEOF
36545 rm -f conftest.$ac_objext
36546 if { (ac_try="$ac_compile"
36547 case "(($ac_try" in
36548 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36549 *) ac_try_echo=$ac_try;;
36550 esac
36551 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36552 (eval "$ac_compile") 2>conftest.er1
36553 ac_status=$?
36554 grep -v '^ *+' conftest.er1 >conftest.err
36555 rm -f conftest.er1
36556 cat conftest.err >&5
36557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36558 (exit $ac_status); } && {
36559 test -z "$ac_c_werror_flag" ||
36560 test ! -s conftest.err
36561 } && test -s conftest.$ac_objext; then
36562 wx_cv_func_iconv_const="no"
36563 else
36564 echo "$as_me: failed program was:" >&5
36565 sed 's/^/| /' conftest.$ac_ext >&5
36566
36567 wx_cv_func_iconv_const="yes"
36568
36569 fi
36570
36571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36572
36573 fi
36574 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
36575 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
36576
36577 iconv_const=
36578 if test "x$wx_cv_func_iconv_const" = "xyes"; then
36579 iconv_const="const"
36580 fi
36581
36582
36583 cat >>confdefs.h <<_ACEOF
36584 #define ICONV_CONST $iconv_const
36585 _ACEOF
36586
36587 fi
36588 LIBICONV=
36589 if test "$am_cv_lib_iconv" = yes; then
36590 LIBICONV="-liconv"
36591 fi
36592
36593
36594 LIBS="$LIBICONV $LIBS"
36595 fi
36596
36597 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36598
36599 for ac_func in sigaction
36600 do
36601 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36602 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36603 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36604 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36605 echo $ECHO_N "(cached) $ECHO_C" >&6
36606 else
36607 cat >conftest.$ac_ext <<_ACEOF
36608 /* confdefs.h. */
36609 _ACEOF
36610 cat confdefs.h >>conftest.$ac_ext
36611 cat >>conftest.$ac_ext <<_ACEOF
36612 /* end confdefs.h. */
36613 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36614 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36615 #define $ac_func innocuous_$ac_func
36616
36617 /* System header to define __stub macros and hopefully few prototypes,
36618 which can conflict with char $ac_func (); below.
36619 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36620 <limits.h> exists even on freestanding compilers. */
36621
36622 #ifdef __STDC__
36623 # include <limits.h>
36624 #else
36625 # include <assert.h>
36626 #endif
36627
36628 #undef $ac_func
36629
36630 /* Override any GCC internal prototype to avoid an error.
36631 Use char because int might match the return type of a GCC
36632 builtin and then its argument prototype would still apply. */
36633 #ifdef __cplusplus
36634 extern "C"
36635 #endif
36636 char $ac_func ();
36637 /* The GNU C library defines this for functions which it implements
36638 to always fail with ENOSYS. Some functions are actually named
36639 something starting with __ and the normal name is an alias. */
36640 #if defined __stub_$ac_func || defined __stub___$ac_func
36641 choke me
36642 #endif
36643
36644 int
36645 main ()
36646 {
36647 return $ac_func ();
36648 ;
36649 return 0;
36650 }
36651 _ACEOF
36652 rm -f conftest.$ac_objext conftest$ac_exeext
36653 if { (ac_try="$ac_link"
36654 case "(($ac_try" in
36655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36656 *) ac_try_echo=$ac_try;;
36657 esac
36658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36659 (eval "$ac_link") 2>conftest.er1
36660 ac_status=$?
36661 grep -v '^ *+' conftest.er1 >conftest.err
36662 rm -f conftest.er1
36663 cat conftest.err >&5
36664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36665 (exit $ac_status); } && {
36666 test -z "$ac_c_werror_flag" ||
36667 test ! -s conftest.err
36668 } && test -s conftest$ac_exeext &&
36669 $as_test_x conftest$ac_exeext; then
36670 eval "$as_ac_var=yes"
36671 else
36672 echo "$as_me: failed program was:" >&5
36673 sed 's/^/| /' conftest.$ac_ext >&5
36674
36675 eval "$as_ac_var=no"
36676 fi
36677
36678 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36679 conftest$ac_exeext conftest.$ac_ext
36680 fi
36681 ac_res=`eval echo '${'$as_ac_var'}'`
36682 { echo "$as_me:$LINENO: result: $ac_res" >&5
36683 echo "${ECHO_T}$ac_res" >&6; }
36684 if test `eval echo '${'$as_ac_var'}'` = yes; then
36685 cat >>confdefs.h <<_ACEOF
36686 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36687 _ACEOF
36688
36689 fi
36690 done
36691
36692
36693 if test "$ac_cv_func_sigaction" = "no"; then
36694 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
36695 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
36696 wxUSE_ON_FATAL_EXCEPTION=no
36697 fi
36698
36699 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
36700 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
36701 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
36702 if test "${wx_cv_type_sa_handler+set}" = set; then
36703 echo $ECHO_N "(cached) $ECHO_C" >&6
36704 else
36705
36706 ac_ext=cpp
36707 ac_cpp='$CXXCPP $CPPFLAGS'
36708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36711
36712 cat >conftest.$ac_ext <<_ACEOF
36713 /* confdefs.h. */
36714 _ACEOF
36715 cat confdefs.h >>conftest.$ac_ext
36716 cat >>conftest.$ac_ext <<_ACEOF
36717 /* end confdefs.h. */
36718 #include <signal.h>
36719 int
36720 main ()
36721 {
36722
36723 extern void testSigHandler(int);
36724
36725 struct sigaction sa;
36726 sa.sa_handler = testSigHandler;
36727
36728 ;
36729 return 0;
36730 }
36731 _ACEOF
36732 rm -f conftest.$ac_objext
36733 if { (ac_try="$ac_compile"
36734 case "(($ac_try" in
36735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36736 *) ac_try_echo=$ac_try;;
36737 esac
36738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36739 (eval "$ac_compile") 2>conftest.er1
36740 ac_status=$?
36741 grep -v '^ *+' conftest.er1 >conftest.err
36742 rm -f conftest.er1
36743 cat conftest.err >&5
36744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36745 (exit $ac_status); } && {
36746 test -z "$ac_cxx_werror_flag" ||
36747 test ! -s conftest.err
36748 } && test -s conftest.$ac_objext; then
36749
36750 wx_cv_type_sa_handler=int
36751
36752 else
36753 echo "$as_me: failed program was:" >&5
36754 sed 's/^/| /' conftest.$ac_ext >&5
36755
36756
36757 wx_cv_type_sa_handler=void
36758
36759 fi
36760
36761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36762 ac_ext=c
36763 ac_cpp='$CPP $CPPFLAGS'
36764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36767
36768
36769 fi
36770 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
36771 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
36772
36773 cat >>confdefs.h <<_ACEOF
36774 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
36775 _ACEOF
36776
36777 fi
36778 fi
36779
36780 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36781 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
36782 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
36783 if test "${wx_cv_func_backtrace+set}" = set; then
36784 echo $ECHO_N "(cached) $ECHO_C" >&6
36785 else
36786
36787 ac_ext=cpp
36788 ac_cpp='$CXXCPP $CPPFLAGS'
36789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36792
36793 cat >conftest.$ac_ext <<_ACEOF
36794 /* confdefs.h. */
36795 _ACEOF
36796 cat confdefs.h >>conftest.$ac_ext
36797 cat >>conftest.$ac_ext <<_ACEOF
36798 /* end confdefs.h. */
36799 #include <execinfo.h>
36800 int
36801 main ()
36802 {
36803
36804 void *trace[1];
36805 char **messages;
36806
36807 backtrace(trace, 1);
36808 messages = backtrace_symbols(trace, 1);
36809
36810 ;
36811 return 0;
36812 }
36813 _ACEOF
36814 rm -f conftest.$ac_objext
36815 if { (ac_try="$ac_compile"
36816 case "(($ac_try" in
36817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36818 *) ac_try_echo=$ac_try;;
36819 esac
36820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36821 (eval "$ac_compile") 2>conftest.er1
36822 ac_status=$?
36823 grep -v '^ *+' conftest.er1 >conftest.err
36824 rm -f conftest.er1
36825 cat conftest.err >&5
36826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36827 (exit $ac_status); } && {
36828 test -z "$ac_cxx_werror_flag" ||
36829 test ! -s conftest.err
36830 } && test -s conftest.$ac_objext; then
36831 wx_cv_func_backtrace=yes
36832 else
36833 echo "$as_me: failed program was:" >&5
36834 sed 's/^/| /' conftest.$ac_ext >&5
36835
36836 wx_cv_func_backtrace=no
36837
36838 fi
36839
36840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36841 ac_ext=c
36842 ac_cpp='$CPP $CPPFLAGS'
36843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36846
36847
36848
36849 fi
36850 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
36851 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
36852
36853
36854 if test "$wx_cv_func_backtrace" = "no"; then
36855 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
36856 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
36857 wxUSE_STACKWALKER=no
36858 else
36859 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
36860 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
36861 if test "${wx_cv_func_cxa_demangle+set}" = set; then
36862 echo $ECHO_N "(cached) $ECHO_C" >&6
36863 else
36864
36865 ac_ext=cpp
36866 ac_cpp='$CXXCPP $CPPFLAGS'
36867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36870
36871 cat >conftest.$ac_ext <<_ACEOF
36872 /* confdefs.h. */
36873 _ACEOF
36874 cat confdefs.h >>conftest.$ac_ext
36875 cat >>conftest.$ac_ext <<_ACEOF
36876 /* end confdefs.h. */
36877 #include <cxxabi.h>
36878 int
36879 main ()
36880 {
36881
36882 int rc;
36883 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
36884
36885 ;
36886 return 0;
36887 }
36888 _ACEOF
36889 rm -f conftest.$ac_objext conftest$ac_exeext
36890 if { (ac_try="$ac_link"
36891 case "(($ac_try" in
36892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36893 *) ac_try_echo=$ac_try;;
36894 esac
36895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36896 (eval "$ac_link") 2>conftest.er1
36897 ac_status=$?
36898 grep -v '^ *+' conftest.er1 >conftest.err
36899 rm -f conftest.er1
36900 cat conftest.err >&5
36901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36902 (exit $ac_status); } && {
36903 test -z "$ac_cxx_werror_flag" ||
36904 test ! -s conftest.err
36905 } && test -s conftest$ac_exeext &&
36906 $as_test_x conftest$ac_exeext; then
36907 wx_cv_func_cxa_demangle=yes
36908 else
36909 echo "$as_me: failed program was:" >&5
36910 sed 's/^/| /' conftest.$ac_ext >&5
36911
36912 wx_cv_func_cxa_demangle=no
36913
36914 fi
36915
36916 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36917 conftest$ac_exeext conftest.$ac_ext
36918 ac_ext=c
36919 ac_cpp='$CPP $CPPFLAGS'
36920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36923
36924
36925
36926 fi
36927 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
36928 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
36929
36930 if test "$wx_cv_func_cxa_demangle" = "yes"; then
36931 cat >>confdefs.h <<\_ACEOF
36932 #define HAVE_CXA_DEMANGLE 1
36933 _ACEOF
36934
36935 fi
36936 fi
36937 fi
36938
36939 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
36940 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
36941 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
36942 wxUSE_STACKWALKER=no
36943 fi
36944
36945
36946
36947
36948 for ac_func in mkstemp mktemp
36949 do
36950 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36951 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36952 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36953 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36954 echo $ECHO_N "(cached) $ECHO_C" >&6
36955 else
36956 cat >conftest.$ac_ext <<_ACEOF
36957 /* confdefs.h. */
36958 _ACEOF
36959 cat confdefs.h >>conftest.$ac_ext
36960 cat >>conftest.$ac_ext <<_ACEOF
36961 /* end confdefs.h. */
36962 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36963 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36964 #define $ac_func innocuous_$ac_func
36965
36966 /* System header to define __stub macros and hopefully few prototypes,
36967 which can conflict with char $ac_func (); below.
36968 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36969 <limits.h> exists even on freestanding compilers. */
36970
36971 #ifdef __STDC__
36972 # include <limits.h>
36973 #else
36974 # include <assert.h>
36975 #endif
36976
36977 #undef $ac_func
36978
36979 /* Override any GCC internal prototype to avoid an error.
36980 Use char because int might match the return type of a GCC
36981 builtin and then its argument prototype would still apply. */
36982 #ifdef __cplusplus
36983 extern "C"
36984 #endif
36985 char $ac_func ();
36986 /* The GNU C library defines this for functions which it implements
36987 to always fail with ENOSYS. Some functions are actually named
36988 something starting with __ and the normal name is an alias. */
36989 #if defined __stub_$ac_func || defined __stub___$ac_func
36990 choke me
36991 #endif
36992
36993 int
36994 main ()
36995 {
36996 return $ac_func ();
36997 ;
36998 return 0;
36999 }
37000 _ACEOF
37001 rm -f conftest.$ac_objext conftest$ac_exeext
37002 if { (ac_try="$ac_link"
37003 case "(($ac_try" in
37004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37005 *) ac_try_echo=$ac_try;;
37006 esac
37007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37008 (eval "$ac_link") 2>conftest.er1
37009 ac_status=$?
37010 grep -v '^ *+' conftest.er1 >conftest.err
37011 rm -f conftest.er1
37012 cat conftest.err >&5
37013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37014 (exit $ac_status); } && {
37015 test -z "$ac_c_werror_flag" ||
37016 test ! -s conftest.err
37017 } && test -s conftest$ac_exeext &&
37018 $as_test_x conftest$ac_exeext; then
37019 eval "$as_ac_var=yes"
37020 else
37021 echo "$as_me: failed program was:" >&5
37022 sed 's/^/| /' conftest.$ac_ext >&5
37023
37024 eval "$as_ac_var=no"
37025 fi
37026
37027 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37028 conftest$ac_exeext conftest.$ac_ext
37029 fi
37030 ac_res=`eval echo '${'$as_ac_var'}'`
37031 { echo "$as_me:$LINENO: result: $ac_res" >&5
37032 echo "${ECHO_T}$ac_res" >&6; }
37033 if test `eval echo '${'$as_ac_var'}'` = yes; then
37034 cat >>confdefs.h <<_ACEOF
37035 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37036 _ACEOF
37037 break
37038 fi
37039 done
37040
37041
37042 { echo "$as_me:$LINENO: checking for statfs" >&5
37043 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
37044 if test "${wx_cv_func_statfs+set}" = set; then
37045 echo $ECHO_N "(cached) $ECHO_C" >&6
37046 else
37047 cat >conftest.$ac_ext <<_ACEOF
37048 /* confdefs.h. */
37049 _ACEOF
37050 cat confdefs.h >>conftest.$ac_ext
37051 cat >>conftest.$ac_ext <<_ACEOF
37052 /* end confdefs.h. */
37053
37054 #if defined(__BSD__)
37055 #include <sys/param.h>
37056 #include <sys/mount.h>
37057 #else
37058 #include <sys/vfs.h>
37059 #endif
37060
37061 int
37062 main ()
37063 {
37064
37065 long l;
37066 struct statfs fs;
37067 statfs("/", &fs);
37068 l = fs.f_bsize;
37069 l += fs.f_blocks;
37070 l += fs.f_bavail;
37071
37072 ;
37073 return 0;
37074 }
37075 _ACEOF
37076 rm -f conftest.$ac_objext
37077 if { (ac_try="$ac_compile"
37078 case "(($ac_try" in
37079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37080 *) ac_try_echo=$ac_try;;
37081 esac
37082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37083 (eval "$ac_compile") 2>conftest.er1
37084 ac_status=$?
37085 grep -v '^ *+' conftest.er1 >conftest.err
37086 rm -f conftest.er1
37087 cat conftest.err >&5
37088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37089 (exit $ac_status); } && {
37090 test -z "$ac_c_werror_flag" ||
37091 test ! -s conftest.err
37092 } && test -s conftest.$ac_objext; then
37093 wx_cv_func_statfs=yes
37094 else
37095 echo "$as_me: failed program was:" >&5
37096 sed 's/^/| /' conftest.$ac_ext >&5
37097
37098 wx_cv_func_statfs=no
37099
37100 fi
37101
37102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37103
37104 fi
37105 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
37106 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
37107
37108 if test "$wx_cv_func_statfs" = "yes"; then
37109 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
37110 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
37111 if test "${wx_cv_func_statfs_decl+set}" = set; then
37112 echo $ECHO_N "(cached) $ECHO_C" >&6
37113 else
37114 ac_ext=cpp
37115 ac_cpp='$CXXCPP $CPPFLAGS'
37116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37119
37120 cat >conftest.$ac_ext <<_ACEOF
37121 /* confdefs.h. */
37122 _ACEOF
37123 cat confdefs.h >>conftest.$ac_ext
37124 cat >>conftest.$ac_ext <<_ACEOF
37125 /* end confdefs.h. */
37126
37127 #if defined(__BSD__)
37128 #include <sys/param.h>
37129 #include <sys/mount.h>
37130 #else
37131 #include <sys/vfs.h>
37132 #endif
37133
37134 int
37135 main ()
37136 {
37137
37138 struct statfs fs;
37139 statfs("", &fs);
37140
37141 ;
37142 return 0;
37143 }
37144 _ACEOF
37145 rm -f conftest.$ac_objext
37146 if { (ac_try="$ac_compile"
37147 case "(($ac_try" in
37148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37149 *) ac_try_echo=$ac_try;;
37150 esac
37151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37152 (eval "$ac_compile") 2>conftest.er1
37153 ac_status=$?
37154 grep -v '^ *+' conftest.er1 >conftest.err
37155 rm -f conftest.er1
37156 cat conftest.err >&5
37157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37158 (exit $ac_status); } && {
37159 test -z "$ac_cxx_werror_flag" ||
37160 test ! -s conftest.err
37161 } && test -s conftest.$ac_objext; then
37162 wx_cv_func_statfs_decl=yes
37163 else
37164 echo "$as_me: failed program was:" >&5
37165 sed 's/^/| /' conftest.$ac_ext >&5
37166
37167 wx_cv_func_statfs_decl=no
37168
37169 fi
37170
37171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37172 ac_ext=c
37173 ac_cpp='$CPP $CPPFLAGS'
37174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37177
37178
37179 fi
37180 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
37181 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
37182
37183 if test "$wx_cv_func_statfs_decl" = "yes"; then
37184 cat >>confdefs.h <<\_ACEOF
37185 #define HAVE_STATFS_DECL 1
37186 _ACEOF
37187
37188 fi
37189
37190 wx_cv_type_statvfs_t="struct statfs"
37191 cat >>confdefs.h <<\_ACEOF
37192 #define HAVE_STATFS 1
37193 _ACEOF
37194
37195 else
37196 { echo "$as_me:$LINENO: checking for statvfs" >&5
37197 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
37198 if test "${wx_cv_func_statvfs+set}" = set; then
37199 echo $ECHO_N "(cached) $ECHO_C" >&6
37200 else
37201 cat >conftest.$ac_ext <<_ACEOF
37202 /* confdefs.h. */
37203 _ACEOF
37204 cat confdefs.h >>conftest.$ac_ext
37205 cat >>conftest.$ac_ext <<_ACEOF
37206 /* end confdefs.h. */
37207
37208 #include <stddef.h>
37209 #include <sys/statvfs.h>
37210
37211 int
37212 main ()
37213 {
37214
37215 statvfs("/", NULL);
37216
37217 ;
37218 return 0;
37219 }
37220 _ACEOF
37221 rm -f conftest.$ac_objext
37222 if { (ac_try="$ac_compile"
37223 case "(($ac_try" in
37224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37225 *) ac_try_echo=$ac_try;;
37226 esac
37227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37228 (eval "$ac_compile") 2>conftest.er1
37229 ac_status=$?
37230 grep -v '^ *+' conftest.er1 >conftest.err
37231 rm -f conftest.er1
37232 cat conftest.err >&5
37233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37234 (exit $ac_status); } && {
37235 test -z "$ac_c_werror_flag" ||
37236 test ! -s conftest.err
37237 } && test -s conftest.$ac_objext; then
37238 wx_cv_func_statvfs=yes
37239 else
37240 echo "$as_me: failed program was:" >&5
37241 sed 's/^/| /' conftest.$ac_ext >&5
37242
37243 wx_cv_func_statvfs=no
37244
37245 fi
37246
37247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37248
37249 fi
37250 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
37251 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
37252
37253 if test "$wx_cv_func_statvfs" = "yes"; then
37254 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
37255 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
37256 if test "${wx_cv_type_statvfs_t+set}" = set; then
37257 echo $ECHO_N "(cached) $ECHO_C" >&6
37258 else
37259 ac_ext=cpp
37260 ac_cpp='$CXXCPP $CPPFLAGS'
37261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37264
37265 cat >conftest.$ac_ext <<_ACEOF
37266 /* confdefs.h. */
37267 _ACEOF
37268 cat confdefs.h >>conftest.$ac_ext
37269 cat >>conftest.$ac_ext <<_ACEOF
37270 /* end confdefs.h. */
37271
37272 #include <sys/statvfs.h>
37273
37274 int
37275 main ()
37276 {
37277
37278 long l;
37279 statvfs_t fs;
37280 statvfs("/", &fs);
37281 l = fs.f_bsize;
37282 l += fs.f_blocks;
37283 l += fs.f_bavail;
37284
37285 ;
37286 return 0;
37287 }
37288 _ACEOF
37289 rm -f conftest.$ac_objext
37290 if { (ac_try="$ac_compile"
37291 case "(($ac_try" in
37292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37293 *) ac_try_echo=$ac_try;;
37294 esac
37295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37296 (eval "$ac_compile") 2>conftest.er1
37297 ac_status=$?
37298 grep -v '^ *+' conftest.er1 >conftest.err
37299 rm -f conftest.er1
37300 cat conftest.err >&5
37301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37302 (exit $ac_status); } && {
37303 test -z "$ac_cxx_werror_flag" ||
37304 test ! -s conftest.err
37305 } && test -s conftest.$ac_objext; then
37306 wx_cv_type_statvfs_t=statvfs_t
37307 else
37308 echo "$as_me: failed program was:" >&5
37309 sed 's/^/| /' conftest.$ac_ext >&5
37310
37311
37312 cat >conftest.$ac_ext <<_ACEOF
37313 /* confdefs.h. */
37314 _ACEOF
37315 cat confdefs.h >>conftest.$ac_ext
37316 cat >>conftest.$ac_ext <<_ACEOF
37317 /* end confdefs.h. */
37318
37319 #include <sys/statvfs.h>
37320
37321 int
37322 main ()
37323 {
37324
37325 long l;
37326 struct statvfs fs;
37327 statvfs("/", &fs);
37328 l = fs.f_bsize;
37329 l += fs.f_blocks;
37330 l += fs.f_bavail;
37331
37332 ;
37333 return 0;
37334 }
37335 _ACEOF
37336 rm -f conftest.$ac_objext
37337 if { (ac_try="$ac_compile"
37338 case "(($ac_try" in
37339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37340 *) ac_try_echo=$ac_try;;
37341 esac
37342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37343 (eval "$ac_compile") 2>conftest.er1
37344 ac_status=$?
37345 grep -v '^ *+' conftest.er1 >conftest.err
37346 rm -f conftest.er1
37347 cat conftest.err >&5
37348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37349 (exit $ac_status); } && {
37350 test -z "$ac_cxx_werror_flag" ||
37351 test ! -s conftest.err
37352 } && test -s conftest.$ac_objext; then
37353 wx_cv_type_statvfs_t="struct statvfs"
37354 else
37355 echo "$as_me: failed program was:" >&5
37356 sed 's/^/| /' conftest.$ac_ext >&5
37357
37358 wx_cv_type_statvfs_t="unknown"
37359
37360 fi
37361
37362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37363
37364
37365 fi
37366
37367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37368 ac_ext=c
37369 ac_cpp='$CPP $CPPFLAGS'
37370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37373
37374
37375 fi
37376 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
37377 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
37378
37379 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37380 cat >>confdefs.h <<\_ACEOF
37381 #define HAVE_STATVFS 1
37382 _ACEOF
37383
37384 fi
37385 else
37386 wx_cv_type_statvfs_t="unknown"
37387 fi
37388 fi
37389
37390 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37391 cat >>confdefs.h <<_ACEOF
37392 #define WX_STATFS_T $wx_cv_type_statvfs_t
37393 _ACEOF
37394
37395 else
37396 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
37397 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
37398 fi
37399
37400 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
37401
37402
37403 for ac_func in fcntl flock
37404 do
37405 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37406 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37407 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37408 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37409 echo $ECHO_N "(cached) $ECHO_C" >&6
37410 else
37411 cat >conftest.$ac_ext <<_ACEOF
37412 /* confdefs.h. */
37413 _ACEOF
37414 cat confdefs.h >>conftest.$ac_ext
37415 cat >>conftest.$ac_ext <<_ACEOF
37416 /* end confdefs.h. */
37417 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37418 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37419 #define $ac_func innocuous_$ac_func
37420
37421 /* System header to define __stub macros and hopefully few prototypes,
37422 which can conflict with char $ac_func (); below.
37423 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37424 <limits.h> exists even on freestanding compilers. */
37425
37426 #ifdef __STDC__
37427 # include <limits.h>
37428 #else
37429 # include <assert.h>
37430 #endif
37431
37432 #undef $ac_func
37433
37434 /* Override any GCC internal prototype to avoid an error.
37435 Use char because int might match the return type of a GCC
37436 builtin and then its argument prototype would still apply. */
37437 #ifdef __cplusplus
37438 extern "C"
37439 #endif
37440 char $ac_func ();
37441 /* The GNU C library defines this for functions which it implements
37442 to always fail with ENOSYS. Some functions are actually named
37443 something starting with __ and the normal name is an alias. */
37444 #if defined __stub_$ac_func || defined __stub___$ac_func
37445 choke me
37446 #endif
37447
37448 int
37449 main ()
37450 {
37451 return $ac_func ();
37452 ;
37453 return 0;
37454 }
37455 _ACEOF
37456 rm -f conftest.$ac_objext conftest$ac_exeext
37457 if { (ac_try="$ac_link"
37458 case "(($ac_try" in
37459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37460 *) ac_try_echo=$ac_try;;
37461 esac
37462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37463 (eval "$ac_link") 2>conftest.er1
37464 ac_status=$?
37465 grep -v '^ *+' conftest.er1 >conftest.err
37466 rm -f conftest.er1
37467 cat conftest.err >&5
37468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37469 (exit $ac_status); } && {
37470 test -z "$ac_c_werror_flag" ||
37471 test ! -s conftest.err
37472 } && test -s conftest$ac_exeext &&
37473 $as_test_x conftest$ac_exeext; then
37474 eval "$as_ac_var=yes"
37475 else
37476 echo "$as_me: failed program was:" >&5
37477 sed 's/^/| /' conftest.$ac_ext >&5
37478
37479 eval "$as_ac_var=no"
37480 fi
37481
37482 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37483 conftest$ac_exeext conftest.$ac_ext
37484 fi
37485 ac_res=`eval echo '${'$as_ac_var'}'`
37486 { echo "$as_me:$LINENO: result: $ac_res" >&5
37487 echo "${ECHO_T}$ac_res" >&6; }
37488 if test `eval echo '${'$as_ac_var'}'` = yes; then
37489 cat >>confdefs.h <<_ACEOF
37490 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37491 _ACEOF
37492 break
37493 fi
37494 done
37495
37496
37497 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
37498 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
37499 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
37500 wxUSE_SNGLINST_CHECKER=no
37501 fi
37502 fi
37503
37504
37505
37506 for ac_func in setenv putenv
37507 do
37508 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37509 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37510 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37511 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37512 echo $ECHO_N "(cached) $ECHO_C" >&6
37513 else
37514 cat >conftest.$ac_ext <<_ACEOF
37515 /* confdefs.h. */
37516 _ACEOF
37517 cat confdefs.h >>conftest.$ac_ext
37518 cat >>conftest.$ac_ext <<_ACEOF
37519 /* end confdefs.h. */
37520 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37521 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37522 #define $ac_func innocuous_$ac_func
37523
37524 /* System header to define __stub macros and hopefully few prototypes,
37525 which can conflict with char $ac_func (); below.
37526 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37527 <limits.h> exists even on freestanding compilers. */
37528
37529 #ifdef __STDC__
37530 # include <limits.h>
37531 #else
37532 # include <assert.h>
37533 #endif
37534
37535 #undef $ac_func
37536
37537 /* Override any GCC internal prototype to avoid an error.
37538 Use char because int might match the return type of a GCC
37539 builtin and then its argument prototype would still apply. */
37540 #ifdef __cplusplus
37541 extern "C"
37542 #endif
37543 char $ac_func ();
37544 /* The GNU C library defines this for functions which it implements
37545 to always fail with ENOSYS. Some functions are actually named
37546 something starting with __ and the normal name is an alias. */
37547 #if defined __stub_$ac_func || defined __stub___$ac_func
37548 choke me
37549 #endif
37550
37551 int
37552 main ()
37553 {
37554 return $ac_func ();
37555 ;
37556 return 0;
37557 }
37558 _ACEOF
37559 rm -f conftest.$ac_objext conftest$ac_exeext
37560 if { (ac_try="$ac_link"
37561 case "(($ac_try" in
37562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37563 *) ac_try_echo=$ac_try;;
37564 esac
37565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37566 (eval "$ac_link") 2>conftest.er1
37567 ac_status=$?
37568 grep -v '^ *+' conftest.er1 >conftest.err
37569 rm -f conftest.er1
37570 cat conftest.err >&5
37571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37572 (exit $ac_status); } && {
37573 test -z "$ac_c_werror_flag" ||
37574 test ! -s conftest.err
37575 } && test -s conftest$ac_exeext &&
37576 $as_test_x conftest$ac_exeext; then
37577 eval "$as_ac_var=yes"
37578 else
37579 echo "$as_me: failed program was:" >&5
37580 sed 's/^/| /' conftest.$ac_ext >&5
37581
37582 eval "$as_ac_var=no"
37583 fi
37584
37585 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37586 conftest$ac_exeext conftest.$ac_ext
37587 fi
37588 ac_res=`eval echo '${'$as_ac_var'}'`
37589 { echo "$as_me:$LINENO: result: $ac_res" >&5
37590 echo "${ECHO_T}$ac_res" >&6; }
37591 if test `eval echo '${'$as_ac_var'}'` = yes; then
37592 cat >>confdefs.h <<_ACEOF
37593 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37594 _ACEOF
37595 break
37596 fi
37597 done
37598
37599 if test "$ac_cv_func_setenv" = "yes"; then
37600
37601 for ac_func in unsetenv
37602 do
37603 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37604 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37605 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37606 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37607 echo $ECHO_N "(cached) $ECHO_C" >&6
37608 else
37609 cat >conftest.$ac_ext <<_ACEOF
37610 /* confdefs.h. */
37611 _ACEOF
37612 cat confdefs.h >>conftest.$ac_ext
37613 cat >>conftest.$ac_ext <<_ACEOF
37614 /* end confdefs.h. */
37615 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37616 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37617 #define $ac_func innocuous_$ac_func
37618
37619 /* System header to define __stub macros and hopefully few prototypes,
37620 which can conflict with char $ac_func (); below.
37621 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37622 <limits.h> exists even on freestanding compilers. */
37623
37624 #ifdef __STDC__
37625 # include <limits.h>
37626 #else
37627 # include <assert.h>
37628 #endif
37629
37630 #undef $ac_func
37631
37632 /* Override any GCC internal prototype to avoid an error.
37633 Use char because int might match the return type of a GCC
37634 builtin and then its argument prototype would still apply. */
37635 #ifdef __cplusplus
37636 extern "C"
37637 #endif
37638 char $ac_func ();
37639 /* The GNU C library defines this for functions which it implements
37640 to always fail with ENOSYS. Some functions are actually named
37641 something starting with __ and the normal name is an alias. */
37642 #if defined __stub_$ac_func || defined __stub___$ac_func
37643 choke me
37644 #endif
37645
37646 int
37647 main ()
37648 {
37649 return $ac_func ();
37650 ;
37651 return 0;
37652 }
37653 _ACEOF
37654 rm -f conftest.$ac_objext conftest$ac_exeext
37655 if { (ac_try="$ac_link"
37656 case "(($ac_try" in
37657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37658 *) ac_try_echo=$ac_try;;
37659 esac
37660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37661 (eval "$ac_link") 2>conftest.er1
37662 ac_status=$?
37663 grep -v '^ *+' conftest.er1 >conftest.err
37664 rm -f conftest.er1
37665 cat conftest.err >&5
37666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37667 (exit $ac_status); } && {
37668 test -z "$ac_c_werror_flag" ||
37669 test ! -s conftest.err
37670 } && test -s conftest$ac_exeext &&
37671 $as_test_x conftest$ac_exeext; then
37672 eval "$as_ac_var=yes"
37673 else
37674 echo "$as_me: failed program was:" >&5
37675 sed 's/^/| /' conftest.$ac_ext >&5
37676
37677 eval "$as_ac_var=no"
37678 fi
37679
37680 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37681 conftest$ac_exeext conftest.$ac_ext
37682 fi
37683 ac_res=`eval echo '${'$as_ac_var'}'`
37684 { echo "$as_me:$LINENO: result: $ac_res" >&5
37685 echo "${ECHO_T}$ac_res" >&6; }
37686 if test `eval echo '${'$as_ac_var'}'` = yes; then
37687 cat >>confdefs.h <<_ACEOF
37688 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37689 _ACEOF
37690
37691 fi
37692 done
37693
37694 fi
37695
37696 HAVE_SOME_SLEEP_FUNC=0
37697 if test "$USE_BEOS" = 1; then
37698 cat >>confdefs.h <<\_ACEOF
37699 #define HAVE_SLEEP 1
37700 _ACEOF
37701
37702 HAVE_SOME_SLEEP_FUNC=1
37703 fi
37704
37705 if test "$USE_DARWIN" = 1; then
37706 cat >>confdefs.h <<\_ACEOF
37707 #define HAVE_USLEEP 1
37708 _ACEOF
37709
37710 HAVE_SOME_SLEEP_FUNC=1
37711 fi
37712
37713 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
37714 POSIX4_LINK=
37715
37716 for ac_func in nanosleep
37717 do
37718 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37719 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37720 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37721 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37722 echo $ECHO_N "(cached) $ECHO_C" >&6
37723 else
37724 cat >conftest.$ac_ext <<_ACEOF
37725 /* confdefs.h. */
37726 _ACEOF
37727 cat confdefs.h >>conftest.$ac_ext
37728 cat >>conftest.$ac_ext <<_ACEOF
37729 /* end confdefs.h. */
37730 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37731 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37732 #define $ac_func innocuous_$ac_func
37733
37734 /* System header to define __stub macros and hopefully few prototypes,
37735 which can conflict with char $ac_func (); below.
37736 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37737 <limits.h> exists even on freestanding compilers. */
37738
37739 #ifdef __STDC__
37740 # include <limits.h>
37741 #else
37742 # include <assert.h>
37743 #endif
37744
37745 #undef $ac_func
37746
37747 /* Override any GCC internal prototype to avoid an error.
37748 Use char because int might match the return type of a GCC
37749 builtin and then its argument prototype would still apply. */
37750 #ifdef __cplusplus
37751 extern "C"
37752 #endif
37753 char $ac_func ();
37754 /* The GNU C library defines this for functions which it implements
37755 to always fail with ENOSYS. Some functions are actually named
37756 something starting with __ and the normal name is an alias. */
37757 #if defined __stub_$ac_func || defined __stub___$ac_func
37758 choke me
37759 #endif
37760
37761 int
37762 main ()
37763 {
37764 return $ac_func ();
37765 ;
37766 return 0;
37767 }
37768 _ACEOF
37769 rm -f conftest.$ac_objext conftest$ac_exeext
37770 if { (ac_try="$ac_link"
37771 case "(($ac_try" in
37772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37773 *) ac_try_echo=$ac_try;;
37774 esac
37775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37776 (eval "$ac_link") 2>conftest.er1
37777 ac_status=$?
37778 grep -v '^ *+' conftest.er1 >conftest.err
37779 rm -f conftest.er1
37780 cat conftest.err >&5
37781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37782 (exit $ac_status); } && {
37783 test -z "$ac_c_werror_flag" ||
37784 test ! -s conftest.err
37785 } && test -s conftest$ac_exeext &&
37786 $as_test_x conftest$ac_exeext; then
37787 eval "$as_ac_var=yes"
37788 else
37789 echo "$as_me: failed program was:" >&5
37790 sed 's/^/| /' conftest.$ac_ext >&5
37791
37792 eval "$as_ac_var=no"
37793 fi
37794
37795 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37796 conftest$ac_exeext conftest.$ac_ext
37797 fi
37798 ac_res=`eval echo '${'$as_ac_var'}'`
37799 { echo "$as_me:$LINENO: result: $ac_res" >&5
37800 echo "${ECHO_T}$ac_res" >&6; }
37801 if test `eval echo '${'$as_ac_var'}'` = yes; then
37802 cat >>confdefs.h <<_ACEOF
37803 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37804 _ACEOF
37805 cat >>confdefs.h <<\_ACEOF
37806 #define HAVE_NANOSLEEP 1
37807 _ACEOF
37808
37809 else
37810
37811 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
37812 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
37813 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
37814 echo $ECHO_N "(cached) $ECHO_C" >&6
37815 else
37816 ac_check_lib_save_LIBS=$LIBS
37817 LIBS="-lposix4 $LIBS"
37818 cat >conftest.$ac_ext <<_ACEOF
37819 /* confdefs.h. */
37820 _ACEOF
37821 cat confdefs.h >>conftest.$ac_ext
37822 cat >>conftest.$ac_ext <<_ACEOF
37823 /* end confdefs.h. */
37824
37825 /* Override any GCC internal prototype to avoid an error.
37826 Use char because int might match the return type of a GCC
37827 builtin and then its argument prototype would still apply. */
37828 #ifdef __cplusplus
37829 extern "C"
37830 #endif
37831 char nanosleep ();
37832 int
37833 main ()
37834 {
37835 return nanosleep ();
37836 ;
37837 return 0;
37838 }
37839 _ACEOF
37840 rm -f conftest.$ac_objext conftest$ac_exeext
37841 if { (ac_try="$ac_link"
37842 case "(($ac_try" in
37843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37844 *) ac_try_echo=$ac_try;;
37845 esac
37846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37847 (eval "$ac_link") 2>conftest.er1
37848 ac_status=$?
37849 grep -v '^ *+' conftest.er1 >conftest.err
37850 rm -f conftest.er1
37851 cat conftest.err >&5
37852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37853 (exit $ac_status); } && {
37854 test -z "$ac_c_werror_flag" ||
37855 test ! -s conftest.err
37856 } && test -s conftest$ac_exeext &&
37857 $as_test_x conftest$ac_exeext; then
37858 ac_cv_lib_posix4_nanosleep=yes
37859 else
37860 echo "$as_me: failed program was:" >&5
37861 sed 's/^/| /' conftest.$ac_ext >&5
37862
37863 ac_cv_lib_posix4_nanosleep=no
37864 fi
37865
37866 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37867 conftest$ac_exeext conftest.$ac_ext
37868 LIBS=$ac_check_lib_save_LIBS
37869 fi
37870 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
37871 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
37872 if test $ac_cv_lib_posix4_nanosleep = yes; then
37873
37874 cat >>confdefs.h <<\_ACEOF
37875 #define HAVE_NANOSLEEP 1
37876 _ACEOF
37877
37878 POSIX4_LINK=" -lposix4"
37879
37880 else
37881
37882
37883 for wx_func in usleep
37884 do
37885 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37886 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37887 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37888 echo $ECHO_N "(cached) $ECHO_C" >&6
37889 else
37890
37891 cat >conftest.$ac_ext <<_ACEOF
37892
37893 /* confdefs.h. */
37894 _ACEOF
37895 cat confdefs.h >>conftest.$ac_ext
37896 cat >>conftest.$ac_ext <<_ACEOF
37897 /* end confdefs.h. */
37898
37899
37900 $ac_includes_default
37901
37902 int
37903 main ()
37904 {
37905
37906 #ifndef $wx_func
37907 &$wx_func;
37908 #endif
37909
37910
37911 ;
37912 return 0;
37913 }
37914
37915 _ACEOF
37916 rm -f conftest.$ac_objext conftest$ac_exeext
37917 if { (ac_try="$ac_link"
37918 case "(($ac_try" in
37919 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37920 *) ac_try_echo=$ac_try;;
37921 esac
37922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37923 (eval "$ac_link") 2>conftest.er1
37924 ac_status=$?
37925 grep -v '^ *+' conftest.er1 >conftest.err
37926 rm -f conftest.er1
37927 cat conftest.err >&5
37928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37929 (exit $ac_status); } && {
37930 test -z "$ac_c_werror_flag" ||
37931 test ! -s conftest.err
37932 } && test -s conftest$ac_exeext &&
37933 $as_test_x conftest$ac_exeext; then
37934 eval wx_cv_func_$wx_func=yes
37935 else
37936 echo "$as_me: failed program was:" >&5
37937 sed 's/^/| /' conftest.$ac_ext >&5
37938
37939 eval wx_cv_func_$wx_func=no
37940 fi
37941
37942 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37943 conftest$ac_exeext conftest.$ac_ext
37944
37945 fi
37946 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37947 { echo "$as_me:$LINENO: result: $ac_res" >&5
37948 echo "${ECHO_T}$ac_res" >&6; }
37949
37950 if eval test \$wx_cv_func_$wx_func = yes
37951 then
37952 cat >>confdefs.h <<_ACEOF
37953 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37954 _ACEOF
37955
37956
37957 else
37958 :
37959 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
37960 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
37961
37962 fi
37963 done
37964
37965
37966
37967 fi
37968
37969
37970
37971 fi
37972 done
37973
37974 fi
37975
37976
37977 for wx_func in uname
37978 do
37979 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37980 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37981 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37982 echo $ECHO_N "(cached) $ECHO_C" >&6
37983 else
37984
37985 cat >conftest.$ac_ext <<_ACEOF
37986
37987 /* confdefs.h. */
37988 _ACEOF
37989 cat confdefs.h >>conftest.$ac_ext
37990 cat >>conftest.$ac_ext <<_ACEOF
37991 /* end confdefs.h. */
37992
37993 #include <sys/utsname.h>
37994 $ac_includes_default
37995
37996 int
37997 main ()
37998 {
37999
38000 #ifndef $wx_func
38001 &$wx_func;
38002 #endif
38003
38004
38005 ;
38006 return 0;
38007 }
38008
38009 _ACEOF
38010 rm -f conftest.$ac_objext conftest$ac_exeext
38011 if { (ac_try="$ac_link"
38012 case "(($ac_try" in
38013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38014 *) ac_try_echo=$ac_try;;
38015 esac
38016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38017 (eval "$ac_link") 2>conftest.er1
38018 ac_status=$?
38019 grep -v '^ *+' conftest.er1 >conftest.err
38020 rm -f conftest.er1
38021 cat conftest.err >&5
38022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38023 (exit $ac_status); } && {
38024 test -z "$ac_c_werror_flag" ||
38025 test ! -s conftest.err
38026 } && test -s conftest$ac_exeext &&
38027 $as_test_x conftest$ac_exeext; then
38028 eval wx_cv_func_$wx_func=yes
38029 else
38030 echo "$as_me: failed program was:" >&5
38031 sed 's/^/| /' conftest.$ac_ext >&5
38032
38033 eval wx_cv_func_$wx_func=no
38034 fi
38035
38036 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38037 conftest$ac_exeext conftest.$ac_ext
38038
38039 fi
38040 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38041 { echo "$as_me:$LINENO: result: $ac_res" >&5
38042 echo "${ECHO_T}$ac_res" >&6; }
38043
38044 if eval test \$wx_cv_func_$wx_func = yes
38045 then
38046 cat >>confdefs.h <<_ACEOF
38047 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38048 _ACEOF
38049
38050
38051 else
38052 :
38053
38054 fi
38055 done
38056
38057 if test "$wx_cv_func_uname" != yes; then
38058
38059 for wx_func in gethostname
38060 do
38061 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38062 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38063 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38064 echo $ECHO_N "(cached) $ECHO_C" >&6
38065 else
38066
38067 cat >conftest.$ac_ext <<_ACEOF
38068
38069 /* confdefs.h. */
38070 _ACEOF
38071 cat confdefs.h >>conftest.$ac_ext
38072 cat >>conftest.$ac_ext <<_ACEOF
38073 /* end confdefs.h. */
38074
38075
38076 $ac_includes_default
38077
38078 int
38079 main ()
38080 {
38081
38082 #ifndef $wx_func
38083 &$wx_func;
38084 #endif
38085
38086
38087 ;
38088 return 0;
38089 }
38090
38091 _ACEOF
38092 rm -f conftest.$ac_objext conftest$ac_exeext
38093 if { (ac_try="$ac_link"
38094 case "(($ac_try" in
38095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38096 *) ac_try_echo=$ac_try;;
38097 esac
38098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38099 (eval "$ac_link") 2>conftest.er1
38100 ac_status=$?
38101 grep -v '^ *+' conftest.er1 >conftest.err
38102 rm -f conftest.er1
38103 cat conftest.err >&5
38104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38105 (exit $ac_status); } && {
38106 test -z "$ac_c_werror_flag" ||
38107 test ! -s conftest.err
38108 } && test -s conftest$ac_exeext &&
38109 $as_test_x conftest$ac_exeext; then
38110 eval wx_cv_func_$wx_func=yes
38111 else
38112 echo "$as_me: failed program was:" >&5
38113 sed 's/^/| /' conftest.$ac_ext >&5
38114
38115 eval wx_cv_func_$wx_func=no
38116 fi
38117
38118 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38119 conftest$ac_exeext conftest.$ac_ext
38120
38121 fi
38122 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38123 { echo "$as_me:$LINENO: result: $ac_res" >&5
38124 echo "${ECHO_T}$ac_res" >&6; }
38125
38126 if eval test \$wx_cv_func_$wx_func = yes
38127 then
38128 cat >>confdefs.h <<_ACEOF
38129 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38130 _ACEOF
38131
38132
38133 else
38134 :
38135
38136 fi
38137 done
38138
38139 fi
38140
38141
38142 for wx_func in strtok_r
38143 do
38144 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38145 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38146 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38147 echo $ECHO_N "(cached) $ECHO_C" >&6
38148 else
38149
38150 cat >conftest.$ac_ext <<_ACEOF
38151
38152 /* confdefs.h. */
38153 _ACEOF
38154 cat confdefs.h >>conftest.$ac_ext
38155 cat >>conftest.$ac_ext <<_ACEOF
38156 /* end confdefs.h. */
38157
38158 #define _REENTRANT
38159 $ac_includes_default
38160
38161 int
38162 main ()
38163 {
38164
38165 #ifndef $wx_func
38166 &$wx_func;
38167 #endif
38168
38169
38170 ;
38171 return 0;
38172 }
38173
38174 _ACEOF
38175 rm -f conftest.$ac_objext conftest$ac_exeext
38176 if { (ac_try="$ac_link"
38177 case "(($ac_try" in
38178 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38179 *) ac_try_echo=$ac_try;;
38180 esac
38181 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38182 (eval "$ac_link") 2>conftest.er1
38183 ac_status=$?
38184 grep -v '^ *+' conftest.er1 >conftest.err
38185 rm -f conftest.er1
38186 cat conftest.err >&5
38187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38188 (exit $ac_status); } && {
38189 test -z "$ac_c_werror_flag" ||
38190 test ! -s conftest.err
38191 } && test -s conftest$ac_exeext &&
38192 $as_test_x conftest$ac_exeext; then
38193 eval wx_cv_func_$wx_func=yes
38194 else
38195 echo "$as_me: failed program was:" >&5
38196 sed 's/^/| /' conftest.$ac_ext >&5
38197
38198 eval wx_cv_func_$wx_func=no
38199 fi
38200
38201 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38202 conftest$ac_exeext conftest.$ac_ext
38203
38204 fi
38205 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38206 { echo "$as_me:$LINENO: result: $ac_res" >&5
38207 echo "${ECHO_T}$ac_res" >&6; }
38208
38209 if eval test \$wx_cv_func_$wx_func = yes
38210 then
38211 cat >>confdefs.h <<_ACEOF
38212 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38213 _ACEOF
38214
38215
38216 else
38217 :
38218
38219 fi
38220 done
38221
38222
38223 INET_LINK=
38224
38225 for ac_func in inet_addr
38226 do
38227 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38228 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38229 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38230 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38231 echo $ECHO_N "(cached) $ECHO_C" >&6
38232 else
38233 cat >conftest.$ac_ext <<_ACEOF
38234 /* confdefs.h. */
38235 _ACEOF
38236 cat confdefs.h >>conftest.$ac_ext
38237 cat >>conftest.$ac_ext <<_ACEOF
38238 /* end confdefs.h. */
38239 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38240 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38241 #define $ac_func innocuous_$ac_func
38242
38243 /* System header to define __stub macros and hopefully few prototypes,
38244 which can conflict with char $ac_func (); below.
38245 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38246 <limits.h> exists even on freestanding compilers. */
38247
38248 #ifdef __STDC__
38249 # include <limits.h>
38250 #else
38251 # include <assert.h>
38252 #endif
38253
38254 #undef $ac_func
38255
38256 /* Override any GCC internal prototype to avoid an error.
38257 Use char because int might match the return type of a GCC
38258 builtin and then its argument prototype would still apply. */
38259 #ifdef __cplusplus
38260 extern "C"
38261 #endif
38262 char $ac_func ();
38263 /* The GNU C library defines this for functions which it implements
38264 to always fail with ENOSYS. Some functions are actually named
38265 something starting with __ and the normal name is an alias. */
38266 #if defined __stub_$ac_func || defined __stub___$ac_func
38267 choke me
38268 #endif
38269
38270 int
38271 main ()
38272 {
38273 return $ac_func ();
38274 ;
38275 return 0;
38276 }
38277 _ACEOF
38278 rm -f conftest.$ac_objext conftest$ac_exeext
38279 if { (ac_try="$ac_link"
38280 case "(($ac_try" in
38281 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38282 *) ac_try_echo=$ac_try;;
38283 esac
38284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38285 (eval "$ac_link") 2>conftest.er1
38286 ac_status=$?
38287 grep -v '^ *+' conftest.er1 >conftest.err
38288 rm -f conftest.er1
38289 cat conftest.err >&5
38290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38291 (exit $ac_status); } && {
38292 test -z "$ac_c_werror_flag" ||
38293 test ! -s conftest.err
38294 } && test -s conftest$ac_exeext &&
38295 $as_test_x conftest$ac_exeext; then
38296 eval "$as_ac_var=yes"
38297 else
38298 echo "$as_me: failed program was:" >&5
38299 sed 's/^/| /' conftest.$ac_ext >&5
38300
38301 eval "$as_ac_var=no"
38302 fi
38303
38304 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38305 conftest$ac_exeext conftest.$ac_ext
38306 fi
38307 ac_res=`eval echo '${'$as_ac_var'}'`
38308 { echo "$as_me:$LINENO: result: $ac_res" >&5
38309 echo "${ECHO_T}$ac_res" >&6; }
38310 if test `eval echo '${'$as_ac_var'}'` = yes; then
38311 cat >>confdefs.h <<_ACEOF
38312 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38313 _ACEOF
38314 cat >>confdefs.h <<\_ACEOF
38315 #define HAVE_INET_ADDR 1
38316 _ACEOF
38317
38318 else
38319
38320 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
38321 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
38322 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
38323 echo $ECHO_N "(cached) $ECHO_C" >&6
38324 else
38325 ac_check_lib_save_LIBS=$LIBS
38326 LIBS="-lnsl $LIBS"
38327 cat >conftest.$ac_ext <<_ACEOF
38328 /* confdefs.h. */
38329 _ACEOF
38330 cat confdefs.h >>conftest.$ac_ext
38331 cat >>conftest.$ac_ext <<_ACEOF
38332 /* end confdefs.h. */
38333
38334 /* Override any GCC internal prototype to avoid an error.
38335 Use char because int might match the return type of a GCC
38336 builtin and then its argument prototype would still apply. */
38337 #ifdef __cplusplus
38338 extern "C"
38339 #endif
38340 char inet_addr ();
38341 int
38342 main ()
38343 {
38344 return inet_addr ();
38345 ;
38346 return 0;
38347 }
38348 _ACEOF
38349 rm -f conftest.$ac_objext conftest$ac_exeext
38350 if { (ac_try="$ac_link"
38351 case "(($ac_try" in
38352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38353 *) ac_try_echo=$ac_try;;
38354 esac
38355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38356 (eval "$ac_link") 2>conftest.er1
38357 ac_status=$?
38358 grep -v '^ *+' conftest.er1 >conftest.err
38359 rm -f conftest.er1
38360 cat conftest.err >&5
38361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38362 (exit $ac_status); } && {
38363 test -z "$ac_c_werror_flag" ||
38364 test ! -s conftest.err
38365 } && test -s conftest$ac_exeext &&
38366 $as_test_x conftest$ac_exeext; then
38367 ac_cv_lib_nsl_inet_addr=yes
38368 else
38369 echo "$as_me: failed program was:" >&5
38370 sed 's/^/| /' conftest.$ac_ext >&5
38371
38372 ac_cv_lib_nsl_inet_addr=no
38373 fi
38374
38375 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38376 conftest$ac_exeext conftest.$ac_ext
38377 LIBS=$ac_check_lib_save_LIBS
38378 fi
38379 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
38380 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
38381 if test $ac_cv_lib_nsl_inet_addr = yes; then
38382 INET_LINK="nsl"
38383 else
38384
38385 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
38386 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
38387 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
38388 echo $ECHO_N "(cached) $ECHO_C" >&6
38389 else
38390 ac_check_lib_save_LIBS=$LIBS
38391 LIBS="-lresolv $LIBS"
38392 cat >conftest.$ac_ext <<_ACEOF
38393 /* confdefs.h. */
38394 _ACEOF
38395 cat confdefs.h >>conftest.$ac_ext
38396 cat >>conftest.$ac_ext <<_ACEOF
38397 /* end confdefs.h. */
38398
38399 /* Override any GCC internal prototype to avoid an error.
38400 Use char because int might match the return type of a GCC
38401 builtin and then its argument prototype would still apply. */
38402 #ifdef __cplusplus
38403 extern "C"
38404 #endif
38405 char inet_addr ();
38406 int
38407 main ()
38408 {
38409 return inet_addr ();
38410 ;
38411 return 0;
38412 }
38413 _ACEOF
38414 rm -f conftest.$ac_objext conftest$ac_exeext
38415 if { (ac_try="$ac_link"
38416 case "(($ac_try" in
38417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38418 *) ac_try_echo=$ac_try;;
38419 esac
38420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38421 (eval "$ac_link") 2>conftest.er1
38422 ac_status=$?
38423 grep -v '^ *+' conftest.er1 >conftest.err
38424 rm -f conftest.er1
38425 cat conftest.err >&5
38426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38427 (exit $ac_status); } && {
38428 test -z "$ac_c_werror_flag" ||
38429 test ! -s conftest.err
38430 } && test -s conftest$ac_exeext &&
38431 $as_test_x conftest$ac_exeext; then
38432 ac_cv_lib_resolv_inet_addr=yes
38433 else
38434 echo "$as_me: failed program was:" >&5
38435 sed 's/^/| /' conftest.$ac_ext >&5
38436
38437 ac_cv_lib_resolv_inet_addr=no
38438 fi
38439
38440 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38441 conftest$ac_exeext conftest.$ac_ext
38442 LIBS=$ac_check_lib_save_LIBS
38443 fi
38444 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
38445 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
38446 if test $ac_cv_lib_resolv_inet_addr = yes; then
38447 INET_LINK="resolv"
38448 else
38449
38450 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
38451 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
38452 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
38453 echo $ECHO_N "(cached) $ECHO_C" >&6
38454 else
38455 ac_check_lib_save_LIBS=$LIBS
38456 LIBS="-lsocket $LIBS"
38457 cat >conftest.$ac_ext <<_ACEOF
38458 /* confdefs.h. */
38459 _ACEOF
38460 cat confdefs.h >>conftest.$ac_ext
38461 cat >>conftest.$ac_ext <<_ACEOF
38462 /* end confdefs.h. */
38463
38464 /* Override any GCC internal prototype to avoid an error.
38465 Use char because int might match the return type of a GCC
38466 builtin and then its argument prototype would still apply. */
38467 #ifdef __cplusplus
38468 extern "C"
38469 #endif
38470 char inet_addr ();
38471 int
38472 main ()
38473 {
38474 return inet_addr ();
38475 ;
38476 return 0;
38477 }
38478 _ACEOF
38479 rm -f conftest.$ac_objext conftest$ac_exeext
38480 if { (ac_try="$ac_link"
38481 case "(($ac_try" in
38482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38483 *) ac_try_echo=$ac_try;;
38484 esac
38485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38486 (eval "$ac_link") 2>conftest.er1
38487 ac_status=$?
38488 grep -v '^ *+' conftest.er1 >conftest.err
38489 rm -f conftest.er1
38490 cat conftest.err >&5
38491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38492 (exit $ac_status); } && {
38493 test -z "$ac_c_werror_flag" ||
38494 test ! -s conftest.err
38495 } && test -s conftest$ac_exeext &&
38496 $as_test_x conftest$ac_exeext; then
38497 ac_cv_lib_socket_inet_addr=yes
38498 else
38499 echo "$as_me: failed program was:" >&5
38500 sed 's/^/| /' conftest.$ac_ext >&5
38501
38502 ac_cv_lib_socket_inet_addr=no
38503 fi
38504
38505 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38506 conftest$ac_exeext conftest.$ac_ext
38507 LIBS=$ac_check_lib_save_LIBS
38508 fi
38509 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
38510 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
38511 if test $ac_cv_lib_socket_inet_addr = yes; then
38512 INET_LINK="socket"
38513
38514 fi
38515
38516
38517
38518 fi
38519
38520
38521
38522 fi
38523
38524
38525
38526 fi
38527 done
38528
38529
38530
38531 for ac_func in inet_aton
38532 do
38533 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38534 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38535 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38536 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38537 echo $ECHO_N "(cached) $ECHO_C" >&6
38538 else
38539 cat >conftest.$ac_ext <<_ACEOF
38540 /* confdefs.h. */
38541 _ACEOF
38542 cat confdefs.h >>conftest.$ac_ext
38543 cat >>conftest.$ac_ext <<_ACEOF
38544 /* end confdefs.h. */
38545 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38546 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38547 #define $ac_func innocuous_$ac_func
38548
38549 /* System header to define __stub macros and hopefully few prototypes,
38550 which can conflict with char $ac_func (); below.
38551 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38552 <limits.h> exists even on freestanding compilers. */
38553
38554 #ifdef __STDC__
38555 # include <limits.h>
38556 #else
38557 # include <assert.h>
38558 #endif
38559
38560 #undef $ac_func
38561
38562 /* Override any GCC internal prototype to avoid an error.
38563 Use char because int might match the return type of a GCC
38564 builtin and then its argument prototype would still apply. */
38565 #ifdef __cplusplus
38566 extern "C"
38567 #endif
38568 char $ac_func ();
38569 /* The GNU C library defines this for functions which it implements
38570 to always fail with ENOSYS. Some functions are actually named
38571 something starting with __ and the normal name is an alias. */
38572 #if defined __stub_$ac_func || defined __stub___$ac_func
38573 choke me
38574 #endif
38575
38576 int
38577 main ()
38578 {
38579 return $ac_func ();
38580 ;
38581 return 0;
38582 }
38583 _ACEOF
38584 rm -f conftest.$ac_objext conftest$ac_exeext
38585 if { (ac_try="$ac_link"
38586 case "(($ac_try" in
38587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38588 *) ac_try_echo=$ac_try;;
38589 esac
38590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38591 (eval "$ac_link") 2>conftest.er1
38592 ac_status=$?
38593 grep -v '^ *+' conftest.er1 >conftest.err
38594 rm -f conftest.er1
38595 cat conftest.err >&5
38596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38597 (exit $ac_status); } && {
38598 test -z "$ac_c_werror_flag" ||
38599 test ! -s conftest.err
38600 } && test -s conftest$ac_exeext &&
38601 $as_test_x conftest$ac_exeext; then
38602 eval "$as_ac_var=yes"
38603 else
38604 echo "$as_me: failed program was:" >&5
38605 sed 's/^/| /' conftest.$ac_ext >&5
38606
38607 eval "$as_ac_var=no"
38608 fi
38609
38610 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38611 conftest$ac_exeext conftest.$ac_ext
38612 fi
38613 ac_res=`eval echo '${'$as_ac_var'}'`
38614 { echo "$as_me:$LINENO: result: $ac_res" >&5
38615 echo "${ECHO_T}$ac_res" >&6; }
38616 if test `eval echo '${'$as_ac_var'}'` = yes; then
38617 cat >>confdefs.h <<_ACEOF
38618 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38619 _ACEOF
38620 cat >>confdefs.h <<\_ACEOF
38621 #define HAVE_INET_ATON 1
38622 _ACEOF
38623
38624 else
38625
38626 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
38627 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
38628 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
38629 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
38630 echo $ECHO_N "(cached) $ECHO_C" >&6
38631 else
38632 ac_check_lib_save_LIBS=$LIBS
38633 LIBS="-l$INET_LINK $LIBS"
38634 cat >conftest.$ac_ext <<_ACEOF
38635 /* confdefs.h. */
38636 _ACEOF
38637 cat confdefs.h >>conftest.$ac_ext
38638 cat >>conftest.$ac_ext <<_ACEOF
38639 /* end confdefs.h. */
38640
38641 /* Override any GCC internal prototype to avoid an error.
38642 Use char because int might match the return type of a GCC
38643 builtin and then its argument prototype would still apply. */
38644 #ifdef __cplusplus
38645 extern "C"
38646 #endif
38647 char inet_aton ();
38648 int
38649 main ()
38650 {
38651 return inet_aton ();
38652 ;
38653 return 0;
38654 }
38655 _ACEOF
38656 rm -f conftest.$ac_objext conftest$ac_exeext
38657 if { (ac_try="$ac_link"
38658 case "(($ac_try" in
38659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38660 *) ac_try_echo=$ac_try;;
38661 esac
38662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38663 (eval "$ac_link") 2>conftest.er1
38664 ac_status=$?
38665 grep -v '^ *+' conftest.er1 >conftest.err
38666 rm -f conftest.er1
38667 cat conftest.err >&5
38668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38669 (exit $ac_status); } && {
38670 test -z "$ac_c_werror_flag" ||
38671 test ! -s conftest.err
38672 } && test -s conftest$ac_exeext &&
38673 $as_test_x conftest$ac_exeext; then
38674 eval "$as_ac_Lib=yes"
38675 else
38676 echo "$as_me: failed program was:" >&5
38677 sed 's/^/| /' conftest.$ac_ext >&5
38678
38679 eval "$as_ac_Lib=no"
38680 fi
38681
38682 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38683 conftest$ac_exeext conftest.$ac_ext
38684 LIBS=$ac_check_lib_save_LIBS
38685 fi
38686 ac_res=`eval echo '${'$as_ac_Lib'}'`
38687 { echo "$as_me:$LINENO: result: $ac_res" >&5
38688 echo "${ECHO_T}$ac_res" >&6; }
38689 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
38690 cat >>confdefs.h <<\_ACEOF
38691 #define HAVE_INET_ATON 1
38692 _ACEOF
38693
38694 fi
38695
38696
38697 fi
38698 done
38699
38700
38701 if test "x$INET_LINK" != "x"; then
38702 cat >>confdefs.h <<\_ACEOF
38703 #define HAVE_INET_ADDR 1
38704 _ACEOF
38705
38706 INET_LINK=" -l$INET_LINK"
38707 fi
38708
38709
38710 for wx_func in fdopen
38711 do
38712 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38713 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38714 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38715 echo $ECHO_N "(cached) $ECHO_C" >&6
38716 else
38717
38718 cat >conftest.$ac_ext <<_ACEOF
38719
38720 /* confdefs.h. */
38721 _ACEOF
38722 cat confdefs.h >>conftest.$ac_ext
38723 cat >>conftest.$ac_ext <<_ACEOF
38724 /* end confdefs.h. */
38725
38726
38727 $ac_includes_default
38728
38729 int
38730 main ()
38731 {
38732
38733 #ifndef $wx_func
38734 &$wx_func;
38735 #endif
38736
38737
38738 ;
38739 return 0;
38740 }
38741
38742 _ACEOF
38743 rm -f conftest.$ac_objext conftest$ac_exeext
38744 if { (ac_try="$ac_link"
38745 case "(($ac_try" in
38746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38747 *) ac_try_echo=$ac_try;;
38748 esac
38749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38750 (eval "$ac_link") 2>conftest.er1
38751 ac_status=$?
38752 grep -v '^ *+' conftest.er1 >conftest.err
38753 rm -f conftest.er1
38754 cat conftest.err >&5
38755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38756 (exit $ac_status); } && {
38757 test -z "$ac_c_werror_flag" ||
38758 test ! -s conftest.err
38759 } && test -s conftest$ac_exeext &&
38760 $as_test_x conftest$ac_exeext; then
38761 eval wx_cv_func_$wx_func=yes
38762 else
38763 echo "$as_me: failed program was:" >&5
38764 sed 's/^/| /' conftest.$ac_ext >&5
38765
38766 eval wx_cv_func_$wx_func=no
38767 fi
38768
38769 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38770 conftest$ac_exeext conftest.$ac_ext
38771
38772 fi
38773 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38774 { echo "$as_me:$LINENO: result: $ac_res" >&5
38775 echo "${ECHO_T}$ac_res" >&6; }
38776
38777 if eval test \$wx_cv_func_$wx_func = yes
38778 then
38779 cat >>confdefs.h <<_ACEOF
38780 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38781 _ACEOF
38782
38783
38784 else
38785 :
38786
38787 fi
38788 done
38789
38790
38791 if test "$wxUSE_TARSTREAM" = "yes"; then
38792
38793 for wx_func in sysconf
38794 do
38795 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38796 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38797 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38798 echo $ECHO_N "(cached) $ECHO_C" >&6
38799 else
38800
38801 cat >conftest.$ac_ext <<_ACEOF
38802
38803 /* confdefs.h. */
38804 _ACEOF
38805 cat confdefs.h >>conftest.$ac_ext
38806 cat >>conftest.$ac_ext <<_ACEOF
38807 /* end confdefs.h. */
38808
38809
38810 $ac_includes_default
38811
38812 int
38813 main ()
38814 {
38815
38816 #ifndef $wx_func
38817 &$wx_func;
38818 #endif
38819
38820
38821 ;
38822 return 0;
38823 }
38824
38825 _ACEOF
38826 rm -f conftest.$ac_objext conftest$ac_exeext
38827 if { (ac_try="$ac_link"
38828 case "(($ac_try" in
38829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38830 *) ac_try_echo=$ac_try;;
38831 esac
38832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38833 (eval "$ac_link") 2>conftest.er1
38834 ac_status=$?
38835 grep -v '^ *+' conftest.er1 >conftest.err
38836 rm -f conftest.er1
38837 cat conftest.err >&5
38838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38839 (exit $ac_status); } && {
38840 test -z "$ac_c_werror_flag" ||
38841 test ! -s conftest.err
38842 } && test -s conftest$ac_exeext &&
38843 $as_test_x conftest$ac_exeext; then
38844 eval wx_cv_func_$wx_func=yes
38845 else
38846 echo "$as_me: failed program was:" >&5
38847 sed 's/^/| /' conftest.$ac_ext >&5
38848
38849 eval wx_cv_func_$wx_func=no
38850 fi
38851
38852 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38853 conftest$ac_exeext conftest.$ac_ext
38854
38855 fi
38856 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38857 { echo "$as_me:$LINENO: result: $ac_res" >&5
38858 echo "${ECHO_T}$ac_res" >&6; }
38859
38860 if eval test \$wx_cv_func_$wx_func = yes
38861 then
38862 cat >>confdefs.h <<_ACEOF
38863 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38864 _ACEOF
38865
38866
38867 else
38868 :
38869
38870 fi
38871 done
38872
38873
38874
38875 for wx_func in getpwuid_r
38876 do
38877 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38878 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38879 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38880 echo $ECHO_N "(cached) $ECHO_C" >&6
38881 else
38882
38883 cat >conftest.$ac_ext <<_ACEOF
38884
38885 /* confdefs.h. */
38886 _ACEOF
38887 cat confdefs.h >>conftest.$ac_ext
38888 cat >>conftest.$ac_ext <<_ACEOF
38889 /* end confdefs.h. */
38890
38891
38892 #define _REENTRANT
38893 #include <pwd.h>
38894
38895 $ac_includes_default
38896
38897 int
38898 main ()
38899 {
38900
38901 #ifndef $wx_func
38902 &$wx_func;
38903 #endif
38904
38905 struct passwd pw, *ppw;
38906 char buf[1024];
38907 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
38908
38909
38910 ;
38911 return 0;
38912 }
38913
38914 _ACEOF
38915 rm -f conftest.$ac_objext conftest$ac_exeext
38916 if { (ac_try="$ac_link"
38917 case "(($ac_try" in
38918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38919 *) ac_try_echo=$ac_try;;
38920 esac
38921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38922 (eval "$ac_link") 2>conftest.er1
38923 ac_status=$?
38924 grep -v '^ *+' conftest.er1 >conftest.err
38925 rm -f conftest.er1
38926 cat conftest.err >&5
38927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38928 (exit $ac_status); } && {
38929 test -z "$ac_c_werror_flag" ||
38930 test ! -s conftest.err
38931 } && test -s conftest$ac_exeext &&
38932 $as_test_x conftest$ac_exeext; then
38933 eval wx_cv_func_$wx_func=yes
38934 else
38935 echo "$as_me: failed program was:" >&5
38936 sed 's/^/| /' conftest.$ac_ext >&5
38937
38938 eval wx_cv_func_$wx_func=no
38939 fi
38940
38941 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38942 conftest$ac_exeext conftest.$ac_ext
38943
38944 fi
38945 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38946 { echo "$as_me:$LINENO: result: $ac_res" >&5
38947 echo "${ECHO_T}$ac_res" >&6; }
38948
38949 if eval test \$wx_cv_func_$wx_func = yes
38950 then
38951 cat >>confdefs.h <<_ACEOF
38952 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38953 _ACEOF
38954
38955
38956 else
38957 :
38958
38959 fi
38960 done
38961
38962
38963
38964 for wx_func in getgrgid_r
38965 do
38966 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38967 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38968 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38969 echo $ECHO_N "(cached) $ECHO_C" >&6
38970 else
38971
38972 cat >conftest.$ac_ext <<_ACEOF
38973
38974 /* confdefs.h. */
38975 _ACEOF
38976 cat confdefs.h >>conftest.$ac_ext
38977 cat >>conftest.$ac_ext <<_ACEOF
38978 /* end confdefs.h. */
38979
38980
38981 #define _REENTRANT
38982 #include <grp.h>
38983
38984 $ac_includes_default
38985
38986 int
38987 main ()
38988 {
38989
38990 #ifndef $wx_func
38991 &$wx_func;
38992 #endif
38993
38994 struct group grp, *pgrp;
38995 char buf[1024];
38996 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
38997
38998
38999 ;
39000 return 0;
39001 }
39002
39003 _ACEOF
39004 rm -f conftest.$ac_objext conftest$ac_exeext
39005 if { (ac_try="$ac_link"
39006 case "(($ac_try" in
39007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39008 *) ac_try_echo=$ac_try;;
39009 esac
39010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39011 (eval "$ac_link") 2>conftest.er1
39012 ac_status=$?
39013 grep -v '^ *+' conftest.er1 >conftest.err
39014 rm -f conftest.er1
39015 cat conftest.err >&5
39016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39017 (exit $ac_status); } && {
39018 test -z "$ac_c_werror_flag" ||
39019 test ! -s conftest.err
39020 } && test -s conftest$ac_exeext &&
39021 $as_test_x conftest$ac_exeext; then
39022 eval wx_cv_func_$wx_func=yes
39023 else
39024 echo "$as_me: failed program was:" >&5
39025 sed 's/^/| /' conftest.$ac_ext >&5
39026
39027 eval wx_cv_func_$wx_func=no
39028 fi
39029
39030 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39031 conftest$ac_exeext conftest.$ac_ext
39032
39033 fi
39034 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39035 { echo "$as_me:$LINENO: result: $ac_res" >&5
39036 echo "${ECHO_T}$ac_res" >&6; }
39037
39038 if eval test \$wx_cv_func_$wx_func = yes
39039 then
39040 cat >>confdefs.h <<_ACEOF
39041 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39042 _ACEOF
39043
39044
39045 else
39046 :
39047
39048 fi
39049 done
39050
39051 fi
39052
39053 fi
39054
39055
39056
39057 cat >confcache <<\_ACEOF
39058 # This file is a shell script that caches the results of configure
39059 # tests run on this system so they can be shared between configure
39060 # scripts and configure runs, see configure's option --config-cache.
39061 # It is not useful on other systems. If it contains results you don't
39062 # want to keep, you may remove or edit it.
39063 #
39064 # config.status only pays attention to the cache file if you give it
39065 # the --recheck option to rerun configure.
39066 #
39067 # `ac_cv_env_foo' variables (set or unset) will be overridden when
39068 # loading this file, other *unset* `ac_cv_foo' will be assigned the
39069 # following values.
39070
39071 _ACEOF
39072
39073 # The following way of writing the cache mishandles newlines in values,
39074 # but we know of no workaround that is simple, portable, and efficient.
39075 # So, we kill variables containing newlines.
39076 # Ultrix sh set writes to stderr and can't be redirected directly,
39077 # and sets the high bit in the cache file unless we assign to the vars.
39078 (
39079 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
39080 eval ac_val=\$$ac_var
39081 case $ac_val in #(
39082 *${as_nl}*)
39083 case $ac_var in #(
39084 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
39085 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
39086 esac
39087 case $ac_var in #(
39088 _ | IFS | as_nl) ;; #(
39089 *) $as_unset $ac_var ;;
39090 esac ;;
39091 esac
39092 done
39093
39094 (set) 2>&1 |
39095 case $as_nl`(ac_space=' '; set) 2>&1` in #(
39096 *${as_nl}ac_space=\ *)
39097 # `set' does not quote correctly, so add quotes (double-quote
39098 # substitution turns \\\\ into \\, and sed turns \\ into \).
39099 sed -n \
39100 "s/'/'\\\\''/g;
39101 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
39102 ;; #(
39103 *)
39104 # `set' quotes correctly as required by POSIX, so do not add quotes.
39105 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
39106 ;;
39107 esac |
39108 sort
39109 ) |
39110 sed '
39111 /^ac_cv_env_/b end
39112 t clear
39113 :clear
39114 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
39115 t end
39116 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
39117 :end' >>confcache
39118 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
39119 if test -w "$cache_file"; then
39120 test "x$cache_file" != "x/dev/null" &&
39121 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
39122 echo "$as_me: updating cache $cache_file" >&6;}
39123 cat confcache >$cache_file
39124 else
39125 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
39126 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
39127 fi
39128 fi
39129 rm -f confcache
39130
39131
39132 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
39133
39134
39135 THREADS_LINK=
39136 THREADS_CFLAGS=
39137
39138 if test "$wxUSE_THREADS" = "yes" ; then
39139 if test "$USE_BEOS" = 1; then
39140 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
39141 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
39142 wxUSE_THREADS="no"
39143 fi
39144 fi
39145
39146 if test "$wxUSE_THREADS" = "yes" ; then
39147
39148
39149 THREAD_OPTS="-pthread"
39150 if test "x$SUNCXX" = xyes; then
39151 THREAD_OPTS="-mt lthread $THREAD_OPTS"
39152 fi
39153
39154 case "${host}" in
39155 *-*-solaris2* | *-*-sunos4* )
39156 if test "x$GCC" = "xyes"; then
39157 THREAD_OPTS="-pthreads $THREAD_OPTS"
39158 fi
39159 ;;
39160 *-*-freebsd*)
39161 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
39162 ;;
39163 *-*-darwin* | *-*-cygwin* )
39164 THREAD_OPTS=""
39165 ;;
39166 *-*-aix*)
39167 THREAD_OPTS="pthreads"
39168 ;;
39169 *-hp-hpux* )
39170 if test "x$GCC" = "xyes"; then
39171 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
39172 THREAD_OPTS=""
39173 else
39174 THREAD_OPTS="-mt"
39175 fi
39176 ;;
39177
39178 *-*-irix* )
39179 if test "x$GCC" = "xyes"; then
39180 THREAD_OPTS=""
39181 fi
39182 ;;
39183
39184 *-*-*UnixWare*)
39185 if test "x$GCC" != "xyes"; then
39186 THREAD_OPTS="-Ethread"
39187 fi
39188 ;;
39189 esac
39190
39191 THREAD_OPTS="$THREAD_OPTS pthread none"
39192
39193 THREADS_OK=no
39194 for flag in $THREAD_OPTS; do
39195 case $flag in
39196 none)
39197 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
39198 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
39199 ;;
39200
39201 -*)
39202 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
39203 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
39204 THREADS_CFLAGS="$flag"
39205 ;;
39206
39207 *)
39208 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
39209 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
39210 THREADS_LINK="-l$flag"
39211 ;;
39212 esac
39213
39214 save_LIBS="$LIBS"
39215 save_CFLAGS="$CFLAGS"
39216 LIBS="$THREADS_LINK $LIBS"
39217 CFLAGS="$THREADS_CFLAGS $CFLAGS"
39218
39219 cat >conftest.$ac_ext <<_ACEOF
39220 /* confdefs.h. */
39221 _ACEOF
39222 cat confdefs.h >>conftest.$ac_ext
39223 cat >>conftest.$ac_ext <<_ACEOF
39224 /* end confdefs.h. */
39225 #include <pthread.h>
39226 int
39227 main ()
39228 {
39229 pthread_create(0,0,0,0);
39230 ;
39231 return 0;
39232 }
39233 _ACEOF
39234 rm -f conftest.$ac_objext conftest$ac_exeext
39235 if { (ac_try="$ac_link"
39236 case "(($ac_try" in
39237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39238 *) ac_try_echo=$ac_try;;
39239 esac
39240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39241 (eval "$ac_link") 2>conftest.er1
39242 ac_status=$?
39243 grep -v '^ *+' conftest.er1 >conftest.err
39244 rm -f conftest.er1
39245 cat conftest.err >&5
39246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39247 (exit $ac_status); } && {
39248 test -z "$ac_c_werror_flag" ||
39249 test ! -s conftest.err
39250 } && test -s conftest$ac_exeext &&
39251 $as_test_x conftest$ac_exeext; then
39252 THREADS_OK=yes
39253 else
39254 echo "$as_me: failed program was:" >&5
39255 sed 's/^/| /' conftest.$ac_ext >&5
39256
39257
39258 fi
39259
39260 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39261 conftest$ac_exeext conftest.$ac_ext
39262
39263 LIBS="$save_LIBS"
39264 CFLAGS="$save_CFLAGS"
39265
39266 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
39267 echo "${ECHO_T}$THREADS_OK" >&6; }
39268 if test "x$THREADS_OK" = "xyes"; then
39269 break;
39270 fi
39271
39272 THREADS_LINK=""
39273 THREADS_CFLAGS=""
39274 done
39275
39276 if test "x$THREADS_OK" != "xyes"; then
39277 wxUSE_THREADS=no
39278 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
39279 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
39280 else
39281 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
39282 WXCONFIG_LDFLAGS="$THREADS_CFLAGS $WXCONFIG_LDFLAGS"
39283 LIBS="$THREADS_LINK $LIBS"
39284
39285 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
39286 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
39287 flag=no
39288 case "${host}" in
39289 *-aix*)
39290 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
39291 WXCONFIG_LDFLAGS="-L/usr/lib/threads $WXCONFIG_LDFLAGS"
39292 flag="-D_THREAD_SAFE"
39293 ;;
39294 *-freebsd*)
39295 flag="-D_THREAD_SAFE"
39296 ;;
39297 *-hp-hpux* )
39298 flag="-D_REENTRANT"
39299 if test "x$GCC" != "xyes"; then
39300 flag="$flag -D_RWSTD_MULTI_THREAD"
39301 fi
39302 ;;
39303 *solaris* | alpha*-osf*)
39304 flag="-D_REENTRANT"
39305 ;;
39306 esac
39307 { echo "$as_me:$LINENO: result: ${flag}" >&5
39308 echo "${ECHO_T}${flag}" >&6; }
39309 if test "x$flag" != xno; then
39310 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
39311 fi
39312
39313 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
39314 fi
39315 fi
39316
39317 if test "$wxUSE_THREADS" = "yes" ; then
39318
39319 for ac_func in thr_setconcurrency
39320 do
39321 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39322 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39323 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39324 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39325 echo $ECHO_N "(cached) $ECHO_C" >&6
39326 else
39327 cat >conftest.$ac_ext <<_ACEOF
39328 /* confdefs.h. */
39329 _ACEOF
39330 cat confdefs.h >>conftest.$ac_ext
39331 cat >>conftest.$ac_ext <<_ACEOF
39332 /* end confdefs.h. */
39333 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39334 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39335 #define $ac_func innocuous_$ac_func
39336
39337 /* System header to define __stub macros and hopefully few prototypes,
39338 which can conflict with char $ac_func (); below.
39339 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39340 <limits.h> exists even on freestanding compilers. */
39341
39342 #ifdef __STDC__
39343 # include <limits.h>
39344 #else
39345 # include <assert.h>
39346 #endif
39347
39348 #undef $ac_func
39349
39350 /* Override any GCC internal prototype to avoid an error.
39351 Use char because int might match the return type of a GCC
39352 builtin and then its argument prototype would still apply. */
39353 #ifdef __cplusplus
39354 extern "C"
39355 #endif
39356 char $ac_func ();
39357 /* The GNU C library defines this for functions which it implements
39358 to always fail with ENOSYS. Some functions are actually named
39359 something starting with __ and the normal name is an alias. */
39360 #if defined __stub_$ac_func || defined __stub___$ac_func
39361 choke me
39362 #endif
39363
39364 int
39365 main ()
39366 {
39367 return $ac_func ();
39368 ;
39369 return 0;
39370 }
39371 _ACEOF
39372 rm -f conftest.$ac_objext conftest$ac_exeext
39373 if { (ac_try="$ac_link"
39374 case "(($ac_try" in
39375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39376 *) ac_try_echo=$ac_try;;
39377 esac
39378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39379 (eval "$ac_link") 2>conftest.er1
39380 ac_status=$?
39381 grep -v '^ *+' conftest.er1 >conftest.err
39382 rm -f conftest.er1
39383 cat conftest.err >&5
39384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39385 (exit $ac_status); } && {
39386 test -z "$ac_c_werror_flag" ||
39387 test ! -s conftest.err
39388 } && test -s conftest$ac_exeext &&
39389 $as_test_x conftest$ac_exeext; then
39390 eval "$as_ac_var=yes"
39391 else
39392 echo "$as_me: failed program was:" >&5
39393 sed 's/^/| /' conftest.$ac_ext >&5
39394
39395 eval "$as_ac_var=no"
39396 fi
39397
39398 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39399 conftest$ac_exeext conftest.$ac_ext
39400 fi
39401 ac_res=`eval echo '${'$as_ac_var'}'`
39402 { echo "$as_me:$LINENO: result: $ac_res" >&5
39403 echo "${ECHO_T}$ac_res" >&6; }
39404 if test `eval echo '${'$as_ac_var'}'` = yes; then
39405 cat >>confdefs.h <<_ACEOF
39406 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39407 _ACEOF
39408
39409 fi
39410 done
39411
39412
39413 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
39414 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
39415 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
39416 echo $ECHO_N "(cached) $ECHO_C" >&6
39417 else
39418
39419 ac_ext=cpp
39420 ac_cpp='$CXXCPP $CPPFLAGS'
39421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39424
39425 cat >conftest.$ac_ext <<_ACEOF
39426 /* confdefs.h. */
39427 _ACEOF
39428 cat confdefs.h >>conftest.$ac_ext
39429 cat >>conftest.$ac_ext <<_ACEOF
39430 /* end confdefs.h. */
39431 #include <pthread.h>
39432 void ThreadCleanupFunc(void *p);
39433
39434 int
39435 main ()
39436 {
39437
39438 void *p;
39439 pthread_cleanup_push(ThreadCleanupFunc, p);
39440 pthread_cleanup_pop(0);
39441
39442 ;
39443 return 0;
39444 }
39445 _ACEOF
39446 rm -f conftest.$ac_objext
39447 if { (ac_try="$ac_compile"
39448 case "(($ac_try" in
39449 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39450 *) ac_try_echo=$ac_try;;
39451 esac
39452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39453 (eval "$ac_compile") 2>conftest.er1
39454 ac_status=$?
39455 grep -v '^ *+' conftest.er1 >conftest.err
39456 rm -f conftest.er1
39457 cat conftest.err >&5
39458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39459 (exit $ac_status); } && {
39460 test -z "$ac_cxx_werror_flag" ||
39461 test ! -s conftest.err
39462 } && test -s conftest.$ac_objext; then
39463
39464 wx_cv_func_pthread_cleanup=yes
39465
39466 else
39467 echo "$as_me: failed program was:" >&5
39468 sed 's/^/| /' conftest.$ac_ext >&5
39469
39470
39471 wx_cv_func_pthread_cleanup=no
39472
39473
39474 fi
39475
39476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39477 ac_ext=c
39478 ac_cpp='$CPP $CPPFLAGS'
39479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39482
39483
39484 fi
39485 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
39486 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
39487 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
39488 cat >>confdefs.h <<\_ACEOF
39489 #define wxHAVE_PTHREAD_CLEANUP 1
39490 _ACEOF
39491
39492 fi
39493
39494
39495 for ac_header in sched.h
39496 do
39497 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39498 { echo "$as_me:$LINENO: checking for $ac_header" >&5
39499 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
39500 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
39501 echo $ECHO_N "(cached) $ECHO_C" >&6
39502 else
39503 cat >conftest.$ac_ext <<_ACEOF
39504 /* confdefs.h. */
39505 _ACEOF
39506 cat confdefs.h >>conftest.$ac_ext
39507 cat >>conftest.$ac_ext <<_ACEOF
39508 /* end confdefs.h. */
39509 $ac_includes_default
39510
39511 #include <$ac_header>
39512 _ACEOF
39513 rm -f conftest.$ac_objext
39514 if { (ac_try="$ac_compile"
39515 case "(($ac_try" in
39516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39517 *) ac_try_echo=$ac_try;;
39518 esac
39519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39520 (eval "$ac_compile") 2>conftest.er1
39521 ac_status=$?
39522 grep -v '^ *+' conftest.er1 >conftest.err
39523 rm -f conftest.er1
39524 cat conftest.err >&5
39525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39526 (exit $ac_status); } && {
39527 test -z "$ac_c_werror_flag" ||
39528 test ! -s conftest.err
39529 } && test -s conftest.$ac_objext; then
39530 eval "$as_ac_Header=yes"
39531 else
39532 echo "$as_me: failed program was:" >&5
39533 sed 's/^/| /' conftest.$ac_ext >&5
39534
39535 eval "$as_ac_Header=no"
39536 fi
39537
39538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39539 fi
39540 ac_res=`eval echo '${'$as_ac_Header'}'`
39541 { echo "$as_me:$LINENO: result: $ac_res" >&5
39542 echo "${ECHO_T}$ac_res" >&6; }
39543 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39544 cat >>confdefs.h <<_ACEOF
39545 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39546 _ACEOF
39547
39548 fi
39549
39550 done
39551
39552 if test "$ac_cv_header_sched_h" = "yes"; then
39553 { echo "$as_me:$LINENO: checking for sched_yield" >&5
39554 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
39555 if test "${ac_cv_func_sched_yield+set}" = set; then
39556 echo $ECHO_N "(cached) $ECHO_C" >&6
39557 else
39558 cat >conftest.$ac_ext <<_ACEOF
39559 /* confdefs.h. */
39560 _ACEOF
39561 cat confdefs.h >>conftest.$ac_ext
39562 cat >>conftest.$ac_ext <<_ACEOF
39563 /* end confdefs.h. */
39564 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
39565 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39566 #define sched_yield innocuous_sched_yield
39567
39568 /* System header to define __stub macros and hopefully few prototypes,
39569 which can conflict with char sched_yield (); below.
39570 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39571 <limits.h> exists even on freestanding compilers. */
39572
39573 #ifdef __STDC__
39574 # include <limits.h>
39575 #else
39576 # include <assert.h>
39577 #endif
39578
39579 #undef sched_yield
39580
39581 /* Override any GCC internal prototype to avoid an error.
39582 Use char because int might match the return type of a GCC
39583 builtin and then its argument prototype would still apply. */
39584 #ifdef __cplusplus
39585 extern "C"
39586 #endif
39587 char sched_yield ();
39588 /* The GNU C library defines this for functions which it implements
39589 to always fail with ENOSYS. Some functions are actually named
39590 something starting with __ and the normal name is an alias. */
39591 #if defined __stub_sched_yield || defined __stub___sched_yield
39592 choke me
39593 #endif
39594
39595 int
39596 main ()
39597 {
39598 return sched_yield ();
39599 ;
39600 return 0;
39601 }
39602 _ACEOF
39603 rm -f conftest.$ac_objext conftest$ac_exeext
39604 if { (ac_try="$ac_link"
39605 case "(($ac_try" in
39606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39607 *) ac_try_echo=$ac_try;;
39608 esac
39609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39610 (eval "$ac_link") 2>conftest.er1
39611 ac_status=$?
39612 grep -v '^ *+' conftest.er1 >conftest.err
39613 rm -f conftest.er1
39614 cat conftest.err >&5
39615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39616 (exit $ac_status); } && {
39617 test -z "$ac_c_werror_flag" ||
39618 test ! -s conftest.err
39619 } && test -s conftest$ac_exeext &&
39620 $as_test_x conftest$ac_exeext; then
39621 ac_cv_func_sched_yield=yes
39622 else
39623 echo "$as_me: failed program was:" >&5
39624 sed 's/^/| /' conftest.$ac_ext >&5
39625
39626 ac_cv_func_sched_yield=no
39627 fi
39628
39629 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39630 conftest$ac_exeext conftest.$ac_ext
39631 fi
39632 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
39633 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
39634 if test $ac_cv_func_sched_yield = yes; then
39635 cat >>confdefs.h <<\_ACEOF
39636 #define HAVE_SCHED_YIELD 1
39637 _ACEOF
39638
39639 else
39640
39641 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
39642 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
39643 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
39644 echo $ECHO_N "(cached) $ECHO_C" >&6
39645 else
39646 ac_check_lib_save_LIBS=$LIBS
39647 LIBS="-lposix4 $LIBS"
39648 cat >conftest.$ac_ext <<_ACEOF
39649 /* confdefs.h. */
39650 _ACEOF
39651 cat confdefs.h >>conftest.$ac_ext
39652 cat >>conftest.$ac_ext <<_ACEOF
39653 /* end confdefs.h. */
39654
39655 /* Override any GCC internal prototype to avoid an error.
39656 Use char because int might match the return type of a GCC
39657 builtin and then its argument prototype would still apply. */
39658 #ifdef __cplusplus
39659 extern "C"
39660 #endif
39661 char sched_yield ();
39662 int
39663 main ()
39664 {
39665 return sched_yield ();
39666 ;
39667 return 0;
39668 }
39669 _ACEOF
39670 rm -f conftest.$ac_objext conftest$ac_exeext
39671 if { (ac_try="$ac_link"
39672 case "(($ac_try" in
39673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39674 *) ac_try_echo=$ac_try;;
39675 esac
39676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39677 (eval "$ac_link") 2>conftest.er1
39678 ac_status=$?
39679 grep -v '^ *+' conftest.er1 >conftest.err
39680 rm -f conftest.er1
39681 cat conftest.err >&5
39682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39683 (exit $ac_status); } && {
39684 test -z "$ac_c_werror_flag" ||
39685 test ! -s conftest.err
39686 } && test -s conftest$ac_exeext &&
39687 $as_test_x conftest$ac_exeext; then
39688 ac_cv_lib_posix4_sched_yield=yes
39689 else
39690 echo "$as_me: failed program was:" >&5
39691 sed 's/^/| /' conftest.$ac_ext >&5
39692
39693 ac_cv_lib_posix4_sched_yield=no
39694 fi
39695
39696 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39697 conftest$ac_exeext conftest.$ac_ext
39698 LIBS=$ac_check_lib_save_LIBS
39699 fi
39700 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
39701 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
39702 if test $ac_cv_lib_posix4_sched_yield = yes; then
39703 cat >>confdefs.h <<\_ACEOF
39704 #define HAVE_SCHED_YIELD 1
39705 _ACEOF
39706 POSIX4_LINK=" -lposix4"
39707 else
39708 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
39709 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
39710
39711 fi
39712
39713
39714
39715 fi
39716
39717 fi
39718
39719 HAVE_PRIOR_FUNCS=0
39720 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
39721 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
39722 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
39723 echo $ECHO_N "(cached) $ECHO_C" >&6
39724 else
39725 cat >conftest.$ac_ext <<_ACEOF
39726 /* confdefs.h. */
39727 _ACEOF
39728 cat confdefs.h >>conftest.$ac_ext
39729 cat >>conftest.$ac_ext <<_ACEOF
39730 /* end confdefs.h. */
39731 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
39732 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39733 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
39734
39735 /* System header to define __stub macros and hopefully few prototypes,
39736 which can conflict with char pthread_attr_getschedpolicy (); below.
39737 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39738 <limits.h> exists even on freestanding compilers. */
39739
39740 #ifdef __STDC__
39741 # include <limits.h>
39742 #else
39743 # include <assert.h>
39744 #endif
39745
39746 #undef pthread_attr_getschedpolicy
39747
39748 /* Override any GCC internal prototype to avoid an error.
39749 Use char because int might match the return type of a GCC
39750 builtin and then its argument prototype would still apply. */
39751 #ifdef __cplusplus
39752 extern "C"
39753 #endif
39754 char pthread_attr_getschedpolicy ();
39755 /* The GNU C library defines this for functions which it implements
39756 to always fail with ENOSYS. Some functions are actually named
39757 something starting with __ and the normal name is an alias. */
39758 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
39759 choke me
39760 #endif
39761
39762 int
39763 main ()
39764 {
39765 return pthread_attr_getschedpolicy ();
39766 ;
39767 return 0;
39768 }
39769 _ACEOF
39770 rm -f conftest.$ac_objext conftest$ac_exeext
39771 if { (ac_try="$ac_link"
39772 case "(($ac_try" in
39773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39774 *) ac_try_echo=$ac_try;;
39775 esac
39776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39777 (eval "$ac_link") 2>conftest.er1
39778 ac_status=$?
39779 grep -v '^ *+' conftest.er1 >conftest.err
39780 rm -f conftest.er1
39781 cat conftest.err >&5
39782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39783 (exit $ac_status); } && {
39784 test -z "$ac_c_werror_flag" ||
39785 test ! -s conftest.err
39786 } && test -s conftest$ac_exeext &&
39787 $as_test_x conftest$ac_exeext; then
39788 ac_cv_func_pthread_attr_getschedpolicy=yes
39789 else
39790 echo "$as_me: failed program was:" >&5
39791 sed 's/^/| /' conftest.$ac_ext >&5
39792
39793 ac_cv_func_pthread_attr_getschedpolicy=no
39794 fi
39795
39796 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39797 conftest$ac_exeext conftest.$ac_ext
39798 fi
39799 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
39800 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
39801 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
39802 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
39803 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
39804 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
39805 echo $ECHO_N "(cached) $ECHO_C" >&6
39806 else
39807 cat >conftest.$ac_ext <<_ACEOF
39808 /* confdefs.h. */
39809 _ACEOF
39810 cat confdefs.h >>conftest.$ac_ext
39811 cat >>conftest.$ac_ext <<_ACEOF
39812 /* end confdefs.h. */
39813 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
39814 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39815 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
39816
39817 /* System header to define __stub macros and hopefully few prototypes,
39818 which can conflict with char pthread_attr_setschedparam (); below.
39819 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39820 <limits.h> exists even on freestanding compilers. */
39821
39822 #ifdef __STDC__
39823 # include <limits.h>
39824 #else
39825 # include <assert.h>
39826 #endif
39827
39828 #undef pthread_attr_setschedparam
39829
39830 /* Override any GCC internal prototype to avoid an error.
39831 Use char because int might match the return type of a GCC
39832 builtin and then its argument prototype would still apply. */
39833 #ifdef __cplusplus
39834 extern "C"
39835 #endif
39836 char pthread_attr_setschedparam ();
39837 /* The GNU C library defines this for functions which it implements
39838 to always fail with ENOSYS. Some functions are actually named
39839 something starting with __ and the normal name is an alias. */
39840 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
39841 choke me
39842 #endif
39843
39844 int
39845 main ()
39846 {
39847 return pthread_attr_setschedparam ();
39848 ;
39849 return 0;
39850 }
39851 _ACEOF
39852 rm -f conftest.$ac_objext conftest$ac_exeext
39853 if { (ac_try="$ac_link"
39854 case "(($ac_try" in
39855 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39856 *) ac_try_echo=$ac_try;;
39857 esac
39858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39859 (eval "$ac_link") 2>conftest.er1
39860 ac_status=$?
39861 grep -v '^ *+' conftest.er1 >conftest.err
39862 rm -f conftest.er1
39863 cat conftest.err >&5
39864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39865 (exit $ac_status); } && {
39866 test -z "$ac_c_werror_flag" ||
39867 test ! -s conftest.err
39868 } && test -s conftest$ac_exeext &&
39869 $as_test_x conftest$ac_exeext; then
39870 ac_cv_func_pthread_attr_setschedparam=yes
39871 else
39872 echo "$as_me: failed program was:" >&5
39873 sed 's/^/| /' conftest.$ac_ext >&5
39874
39875 ac_cv_func_pthread_attr_setschedparam=no
39876 fi
39877
39878 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39879 conftest$ac_exeext conftest.$ac_ext
39880 fi
39881 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
39882 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
39883 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
39884 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
39885 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
39886 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
39887 echo $ECHO_N "(cached) $ECHO_C" >&6
39888 else
39889 cat >conftest.$ac_ext <<_ACEOF
39890 /* confdefs.h. */
39891 _ACEOF
39892 cat confdefs.h >>conftest.$ac_ext
39893 cat >>conftest.$ac_ext <<_ACEOF
39894 /* end confdefs.h. */
39895 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
39896 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39897 #define sched_get_priority_max innocuous_sched_get_priority_max
39898
39899 /* System header to define __stub macros and hopefully few prototypes,
39900 which can conflict with char sched_get_priority_max (); below.
39901 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39902 <limits.h> exists even on freestanding compilers. */
39903
39904 #ifdef __STDC__
39905 # include <limits.h>
39906 #else
39907 # include <assert.h>
39908 #endif
39909
39910 #undef sched_get_priority_max
39911
39912 /* Override any GCC internal prototype to avoid an error.
39913 Use char because int might match the return type of a GCC
39914 builtin and then its argument prototype would still apply. */
39915 #ifdef __cplusplus
39916 extern "C"
39917 #endif
39918 char sched_get_priority_max ();
39919 /* The GNU C library defines this for functions which it implements
39920 to always fail with ENOSYS. Some functions are actually named
39921 something starting with __ and the normal name is an alias. */
39922 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
39923 choke me
39924 #endif
39925
39926 int
39927 main ()
39928 {
39929 return sched_get_priority_max ();
39930 ;
39931 return 0;
39932 }
39933 _ACEOF
39934 rm -f conftest.$ac_objext conftest$ac_exeext
39935 if { (ac_try="$ac_link"
39936 case "(($ac_try" in
39937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39938 *) ac_try_echo=$ac_try;;
39939 esac
39940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39941 (eval "$ac_link") 2>conftest.er1
39942 ac_status=$?
39943 grep -v '^ *+' conftest.er1 >conftest.err
39944 rm -f conftest.er1
39945 cat conftest.err >&5
39946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39947 (exit $ac_status); } && {
39948 test -z "$ac_c_werror_flag" ||
39949 test ! -s conftest.err
39950 } && test -s conftest$ac_exeext &&
39951 $as_test_x conftest$ac_exeext; then
39952 ac_cv_func_sched_get_priority_max=yes
39953 else
39954 echo "$as_me: failed program was:" >&5
39955 sed 's/^/| /' conftest.$ac_ext >&5
39956
39957 ac_cv_func_sched_get_priority_max=no
39958 fi
39959
39960 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39961 conftest$ac_exeext conftest.$ac_ext
39962 fi
39963 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
39964 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
39965 if test $ac_cv_func_sched_get_priority_max = yes; then
39966 HAVE_PRIOR_FUNCS=1
39967 else
39968 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
39969 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
39970 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
39971 echo $ECHO_N "(cached) $ECHO_C" >&6
39972 else
39973 ac_check_lib_save_LIBS=$LIBS
39974 LIBS="-lposix4 $LIBS"
39975 cat >conftest.$ac_ext <<_ACEOF
39976 /* confdefs.h. */
39977 _ACEOF
39978 cat confdefs.h >>conftest.$ac_ext
39979 cat >>conftest.$ac_ext <<_ACEOF
39980 /* end confdefs.h. */
39981
39982 /* Override any GCC internal prototype to avoid an error.
39983 Use char because int might match the return type of a GCC
39984 builtin and then its argument prototype would still apply. */
39985 #ifdef __cplusplus
39986 extern "C"
39987 #endif
39988 char sched_get_priority_max ();
39989 int
39990 main ()
39991 {
39992 return sched_get_priority_max ();
39993 ;
39994 return 0;
39995 }
39996 _ACEOF
39997 rm -f conftest.$ac_objext conftest$ac_exeext
39998 if { (ac_try="$ac_link"
39999 case "(($ac_try" in
40000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40001 *) ac_try_echo=$ac_try;;
40002 esac
40003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40004 (eval "$ac_link") 2>conftest.er1
40005 ac_status=$?
40006 grep -v '^ *+' conftest.er1 >conftest.err
40007 rm -f conftest.er1
40008 cat conftest.err >&5
40009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40010 (exit $ac_status); } && {
40011 test -z "$ac_c_werror_flag" ||
40012 test ! -s conftest.err
40013 } && test -s conftest$ac_exeext &&
40014 $as_test_x conftest$ac_exeext; then
40015 ac_cv_lib_posix4_sched_get_priority_max=yes
40016 else
40017 echo "$as_me: failed program was:" >&5
40018 sed 's/^/| /' conftest.$ac_ext >&5
40019
40020 ac_cv_lib_posix4_sched_get_priority_max=no
40021 fi
40022
40023 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40024 conftest$ac_exeext conftest.$ac_ext
40025 LIBS=$ac_check_lib_save_LIBS
40026 fi
40027 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
40028 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
40029 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
40030
40031 HAVE_PRIOR_FUNCS=1
40032 POSIX4_LINK=" -lposix4"
40033
40034 fi
40035
40036
40037 fi
40038
40039
40040 fi
40041
40042
40043 fi
40044
40045
40046 if test "$HAVE_PRIOR_FUNCS" = 1; then
40047 cat >>confdefs.h <<\_ACEOF
40048 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
40049 _ACEOF
40050
40051 else
40052 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
40053 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
40054 fi
40055
40056 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
40057 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
40058 if test "${ac_cv_func_pthread_cancel+set}" = set; then
40059 echo $ECHO_N "(cached) $ECHO_C" >&6
40060 else
40061 cat >conftest.$ac_ext <<_ACEOF
40062 /* confdefs.h. */
40063 _ACEOF
40064 cat confdefs.h >>conftest.$ac_ext
40065 cat >>conftest.$ac_ext <<_ACEOF
40066 /* end confdefs.h. */
40067 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
40068 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40069 #define pthread_cancel innocuous_pthread_cancel
40070
40071 /* System header to define __stub macros and hopefully few prototypes,
40072 which can conflict with char pthread_cancel (); below.
40073 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40074 <limits.h> exists even on freestanding compilers. */
40075
40076 #ifdef __STDC__
40077 # include <limits.h>
40078 #else
40079 # include <assert.h>
40080 #endif
40081
40082 #undef pthread_cancel
40083
40084 /* Override any GCC internal prototype to avoid an error.
40085 Use char because int might match the return type of a GCC
40086 builtin and then its argument prototype would still apply. */
40087 #ifdef __cplusplus
40088 extern "C"
40089 #endif
40090 char pthread_cancel ();
40091 /* The GNU C library defines this for functions which it implements
40092 to always fail with ENOSYS. Some functions are actually named
40093 something starting with __ and the normal name is an alias. */
40094 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
40095 choke me
40096 #endif
40097
40098 int
40099 main ()
40100 {
40101 return pthread_cancel ();
40102 ;
40103 return 0;
40104 }
40105 _ACEOF
40106 rm -f conftest.$ac_objext conftest$ac_exeext
40107 if { (ac_try="$ac_link"
40108 case "(($ac_try" in
40109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40110 *) ac_try_echo=$ac_try;;
40111 esac
40112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40113 (eval "$ac_link") 2>conftest.er1
40114 ac_status=$?
40115 grep -v '^ *+' conftest.er1 >conftest.err
40116 rm -f conftest.er1
40117 cat conftest.err >&5
40118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40119 (exit $ac_status); } && {
40120 test -z "$ac_c_werror_flag" ||
40121 test ! -s conftest.err
40122 } && test -s conftest$ac_exeext &&
40123 $as_test_x conftest$ac_exeext; then
40124 ac_cv_func_pthread_cancel=yes
40125 else
40126 echo "$as_me: failed program was:" >&5
40127 sed 's/^/| /' conftest.$ac_ext >&5
40128
40129 ac_cv_func_pthread_cancel=no
40130 fi
40131
40132 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40133 conftest$ac_exeext conftest.$ac_ext
40134 fi
40135 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
40136 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
40137 if test $ac_cv_func_pthread_cancel = yes; then
40138 cat >>confdefs.h <<\_ACEOF
40139 #define HAVE_PTHREAD_CANCEL 1
40140 _ACEOF
40141
40142 else
40143 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
40144 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
40145 fi
40146
40147
40148 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
40149 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
40150 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
40151 echo $ECHO_N "(cached) $ECHO_C" >&6
40152 else
40153 cat >conftest.$ac_ext <<_ACEOF
40154 /* confdefs.h. */
40155 _ACEOF
40156 cat confdefs.h >>conftest.$ac_ext
40157 cat >>conftest.$ac_ext <<_ACEOF
40158 /* end confdefs.h. */
40159 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
40160 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40161 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
40162
40163 /* System header to define __stub macros and hopefully few prototypes,
40164 which can conflict with char pthread_mutex_timedlock (); below.
40165 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40166 <limits.h> exists even on freestanding compilers. */
40167
40168 #ifdef __STDC__
40169 # include <limits.h>
40170 #else
40171 # include <assert.h>
40172 #endif
40173
40174 #undef pthread_mutex_timedlock
40175
40176 /* Override any GCC internal prototype to avoid an error.
40177 Use char because int might match the return type of a GCC
40178 builtin and then its argument prototype would still apply. */
40179 #ifdef __cplusplus
40180 extern "C"
40181 #endif
40182 char pthread_mutex_timedlock ();
40183 /* The GNU C library defines this for functions which it implements
40184 to always fail with ENOSYS. Some functions are actually named
40185 something starting with __ and the normal name is an alias. */
40186 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
40187 choke me
40188 #endif
40189
40190 int
40191 main ()
40192 {
40193 return pthread_mutex_timedlock ();
40194 ;
40195 return 0;
40196 }
40197 _ACEOF
40198 rm -f conftest.$ac_objext conftest$ac_exeext
40199 if { (ac_try="$ac_link"
40200 case "(($ac_try" in
40201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40202 *) ac_try_echo=$ac_try;;
40203 esac
40204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40205 (eval "$ac_link") 2>conftest.er1
40206 ac_status=$?
40207 grep -v '^ *+' conftest.er1 >conftest.err
40208 rm -f conftest.er1
40209 cat conftest.err >&5
40210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40211 (exit $ac_status); } && {
40212 test -z "$ac_c_werror_flag" ||
40213 test ! -s conftest.err
40214 } && test -s conftest$ac_exeext &&
40215 $as_test_x conftest$ac_exeext; then
40216 ac_cv_func_pthread_mutex_timedlock=yes
40217 else
40218 echo "$as_me: failed program was:" >&5
40219 sed 's/^/| /' conftest.$ac_ext >&5
40220
40221 ac_cv_func_pthread_mutex_timedlock=no
40222 fi
40223
40224 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40225 conftest$ac_exeext conftest.$ac_ext
40226 fi
40227 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
40228 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
40229 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
40230 cat >>confdefs.h <<\_ACEOF
40231 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
40232 _ACEOF
40233
40234 else
40235 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
40236 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
40237 fi
40238
40239
40240 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
40241 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
40242 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
40243 echo $ECHO_N "(cached) $ECHO_C" >&6
40244 else
40245 cat >conftest.$ac_ext <<_ACEOF
40246 /* confdefs.h. */
40247 _ACEOF
40248 cat confdefs.h >>conftest.$ac_ext
40249 cat >>conftest.$ac_ext <<_ACEOF
40250 /* end confdefs.h. */
40251 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
40252 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40253 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
40254
40255 /* System header to define __stub macros and hopefully few prototypes,
40256 which can conflict with char pthread_attr_setstacksize (); below.
40257 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40258 <limits.h> exists even on freestanding compilers. */
40259
40260 #ifdef __STDC__
40261 # include <limits.h>
40262 #else
40263 # include <assert.h>
40264 #endif
40265
40266 #undef pthread_attr_setstacksize
40267
40268 /* Override any GCC internal prototype to avoid an error.
40269 Use char because int might match the return type of a GCC
40270 builtin and then its argument prototype would still apply. */
40271 #ifdef __cplusplus
40272 extern "C"
40273 #endif
40274 char pthread_attr_setstacksize ();
40275 /* The GNU C library defines this for functions which it implements
40276 to always fail with ENOSYS. Some functions are actually named
40277 something starting with __ and the normal name is an alias. */
40278 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
40279 choke me
40280 #endif
40281
40282 int
40283 main ()
40284 {
40285 return pthread_attr_setstacksize ();
40286 ;
40287 return 0;
40288 }
40289 _ACEOF
40290 rm -f conftest.$ac_objext conftest$ac_exeext
40291 if { (ac_try="$ac_link"
40292 case "(($ac_try" in
40293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40294 *) ac_try_echo=$ac_try;;
40295 esac
40296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40297 (eval "$ac_link") 2>conftest.er1
40298 ac_status=$?
40299 grep -v '^ *+' conftest.er1 >conftest.err
40300 rm -f conftest.er1
40301 cat conftest.err >&5
40302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40303 (exit $ac_status); } && {
40304 test -z "$ac_c_werror_flag" ||
40305 test ! -s conftest.err
40306 } && test -s conftest$ac_exeext &&
40307 $as_test_x conftest$ac_exeext; then
40308 ac_cv_func_pthread_attr_setstacksize=yes
40309 else
40310 echo "$as_me: failed program was:" >&5
40311 sed 's/^/| /' conftest.$ac_ext >&5
40312
40313 ac_cv_func_pthread_attr_setstacksize=no
40314 fi
40315
40316 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40317 conftest$ac_exeext conftest.$ac_ext
40318 fi
40319 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
40320 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
40321 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
40322 cat >>confdefs.h <<\_ACEOF
40323 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
40324 _ACEOF
40325
40326 fi
40327
40328
40329
40330 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
40331 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
40332 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
40333 echo $ECHO_N "(cached) $ECHO_C" >&6
40334 else
40335
40336 cat >conftest.$ac_ext <<_ACEOF
40337 /* confdefs.h. */
40338 _ACEOF
40339 cat confdefs.h >>conftest.$ac_ext
40340 cat >>conftest.$ac_ext <<_ACEOF
40341 /* end confdefs.h. */
40342 #include <pthread.h>
40343 int
40344 main ()
40345 {
40346
40347 pthread_mutexattr_t attr;
40348 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40349
40350 ;
40351 return 0;
40352 }
40353 _ACEOF
40354 rm -f conftest.$ac_objext
40355 if { (ac_try="$ac_compile"
40356 case "(($ac_try" in
40357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40358 *) ac_try_echo=$ac_try;;
40359 esac
40360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40361 (eval "$ac_compile") 2>conftest.er1
40362 ac_status=$?
40363 grep -v '^ *+' conftest.er1 >conftest.err
40364 rm -f conftest.er1
40365 cat conftest.err >&5
40366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40367 (exit $ac_status); } && {
40368 test -z "$ac_c_werror_flag" ||
40369 test ! -s conftest.err
40370 } && test -s conftest.$ac_objext; then
40371 wx_cv_type_pthread_mutexattr_t=yes
40372 else
40373 echo "$as_me: failed program was:" >&5
40374 sed 's/^/| /' conftest.$ac_ext >&5
40375
40376 wx_cv_type_pthread_mutexattr_t=no
40377
40378 fi
40379
40380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40381
40382 fi
40383 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
40384 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
40385
40386 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
40387 cat >>confdefs.h <<\_ACEOF
40388 #define HAVE_PTHREAD_MUTEXATTR_T 1
40389 _ACEOF
40390
40391
40392 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
40393 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
40394 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
40395 echo $ECHO_N "(cached) $ECHO_C" >&6
40396 else
40397
40398 cat >conftest.$ac_ext <<_ACEOF
40399 /* confdefs.h. */
40400 _ACEOF
40401 cat confdefs.h >>conftest.$ac_ext
40402 cat >>conftest.$ac_ext <<_ACEOF
40403 /* end confdefs.h. */
40404 #include <pthread.h>
40405 int
40406 main ()
40407 {
40408
40409 pthread_mutexattr_t attr;
40410 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40411
40412 ;
40413 return 0;
40414 }
40415 _ACEOF
40416 rm -f conftest.$ac_objext
40417 if { (ac_try="$ac_compile"
40418 case "(($ac_try" in
40419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40420 *) ac_try_echo=$ac_try;;
40421 esac
40422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40423 (eval "$ac_compile") 2>conftest.er1
40424 ac_status=$?
40425 grep -v '^ *+' conftest.er1 >conftest.err
40426 rm -f conftest.er1
40427 cat conftest.err >&5
40428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40429 (exit $ac_status); } && {
40430 test -z "$ac_c_werror_flag" ||
40431 test ! -s conftest.err
40432 } && test -s conftest.$ac_objext; then
40433 wx_cv_func_pthread_mutexattr_settype_decl=yes
40434 else
40435 echo "$as_me: failed program was:" >&5
40436 sed 's/^/| /' conftest.$ac_ext >&5
40437
40438 wx_cv_func_pthread_mutexattr_settype_decl=no
40439
40440 fi
40441
40442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40443
40444 fi
40445 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
40446 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
40447 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
40448 cat >>confdefs.h <<\_ACEOF
40449 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
40450 _ACEOF
40451
40452 fi
40453 else
40454 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
40455 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
40456 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
40457 echo $ECHO_N "(cached) $ECHO_C" >&6
40458 else
40459
40460 cat >conftest.$ac_ext <<_ACEOF
40461 /* confdefs.h. */
40462 _ACEOF
40463 cat confdefs.h >>conftest.$ac_ext
40464 cat >>conftest.$ac_ext <<_ACEOF
40465 /* end confdefs.h. */
40466 #include <pthread.h>
40467 int
40468 main ()
40469 {
40470
40471 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
40472
40473 ;
40474 return 0;
40475 }
40476 _ACEOF
40477 rm -f conftest.$ac_objext
40478 if { (ac_try="$ac_compile"
40479 case "(($ac_try" in
40480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40481 *) ac_try_echo=$ac_try;;
40482 esac
40483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40484 (eval "$ac_compile") 2>conftest.er1
40485 ac_status=$?
40486 grep -v '^ *+' conftest.er1 >conftest.err
40487 rm -f conftest.er1
40488 cat conftest.err >&5
40489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40490 (exit $ac_status); } && {
40491 test -z "$ac_c_werror_flag" ||
40492 test ! -s conftest.err
40493 } && test -s conftest.$ac_objext; then
40494
40495 wx_cv_type_pthread_rec_mutex_init=yes
40496
40497 else
40498 echo "$as_me: failed program was:" >&5
40499 sed 's/^/| /' conftest.$ac_ext >&5
40500
40501
40502 wx_cv_type_pthread_rec_mutex_init=no
40503
40504
40505 fi
40506
40507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40508
40509 fi
40510 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
40511 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
40512 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
40513 cat >>confdefs.h <<\_ACEOF
40514 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
40515 _ACEOF
40516
40517 else
40518 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
40519 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
40520 fi
40521 fi
40522
40523 if test "$wxUSE_COMPILER_TLS" = "auto"; then
40524 if test "$USE_NETBSD" = 1; then
40525 { echo "$as_me:$LINENO: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&5
40526 echo "$as_me: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&2;}
40527 wxUSE_COMPILER_TLS=no
40528 else
40529 wxUSE_COMPILER_TLS=yes
40530 fi
40531 fi
40532
40533 if test "$wxUSE_COMPILER_TLS" = "yes"; then
40534 { echo "$as_me:$LINENO: checking for __thread keyword" >&5
40535 echo $ECHO_N "checking for __thread keyword... $ECHO_C" >&6; }
40536 if test "${wx_cv_cc___thread+set}" = set; then
40537 echo $ECHO_N "(cached) $ECHO_C" >&6
40538 else
40539
40540 cat >conftest.$ac_ext <<_ACEOF
40541 /* confdefs.h. */
40542 _ACEOF
40543 cat confdefs.h >>conftest.$ac_ext
40544 cat >>conftest.$ac_ext <<_ACEOF
40545 /* end confdefs.h. */
40546 #include <pthread.h>
40547 int
40548 main ()
40549 {
40550
40551 static __thread int n = 0;
40552 static __thread int *p = 0;
40553
40554 ;
40555 return 0;
40556 }
40557 _ACEOF
40558 rm -f conftest.$ac_objext
40559 if { (ac_try="$ac_compile"
40560 case "(($ac_try" in
40561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40562 *) ac_try_echo=$ac_try;;
40563 esac
40564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40565 (eval "$ac_compile") 2>conftest.er1
40566 ac_status=$?
40567 grep -v '^ *+' conftest.er1 >conftest.err
40568 rm -f conftest.er1
40569 cat conftest.err >&5
40570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40571 (exit $ac_status); } && {
40572 test -z "$ac_c_werror_flag" ||
40573 test ! -s conftest.err
40574 } && test -s conftest.$ac_objext; then
40575 wx_cv_cc___thread=yes
40576 else
40577 echo "$as_me: failed program was:" >&5
40578 sed 's/^/| /' conftest.$ac_ext >&5
40579
40580 wx_cv_cc___thread=no
40581
40582 fi
40583
40584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40585
40586
40587 fi
40588 { echo "$as_me:$LINENO: result: $wx_cv_cc___thread" >&5
40589 echo "${ECHO_T}$wx_cv_cc___thread" >&6; }
40590
40591 if test "$wx_cv_cc___thread" = "yes"; then
40592
40593 GXX_VERSION=""
40594
40595
40596
40597 { echo "$as_me:$LINENO: checking if gcc accepts -dumpversion option" >&5
40598 echo $ECHO_N "checking if gcc accepts -dumpversion option... $ECHO_C" >&6; }
40599
40600 if test "x$GCC" = "xyes" ; then
40601
40602 if test -z "" ; then
40603
40604 ax_gcc_option_test="int main()
40605 {
40606 return 0;
40607 }"
40608
40609 else
40610
40611 ax_gcc_option_test=""
40612
40613 fi
40614
40615
40616 # Dump the test program to file
40617 cat <<EOF > conftest.c
40618 $ax_gcc_option_test
40619 EOF
40620
40621 # Dump back the file to the log, useful for debugging purposes
40622 { ac_try='cat conftest.c 1>&5'
40623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40624 (eval $ac_try) 2>&5
40625 ac_status=$?
40626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40627 (exit $ac_status); }; }
40628
40629 if { ac_try='$CC -dumpversion -c conftest.c 1>&5'
40630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40631 (eval $ac_try) 2>&5
40632 ac_status=$?
40633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40634 (exit $ac_status); }; } ; then
40635
40636 { echo "$as_me:$LINENO: result: yes" >&5
40637 echo "${ECHO_T}yes" >&6; }
40638
40639 ax_gcc_version_option=yes
40640
40641
40642 else
40643
40644 { echo "$as_me:$LINENO: result: no" >&5
40645 echo "${ECHO_T}no" >&6; }
40646
40647 ax_gcc_version_option=no
40648
40649
40650 fi
40651
40652
40653 else
40654
40655 { echo "$as_me:$LINENO: result: no gcc available" >&5
40656 echo "${ECHO_T}no gcc available" >&6; }
40657
40658 fi
40659
40660
40661 if test "x$GXX" = "xyes"; then
40662
40663 if test "x$ax_gxx_version_option" != "no"; then
40664
40665 { echo "$as_me:$LINENO: checking gxx version" >&5
40666 echo $ECHO_N "checking gxx version... $ECHO_C" >&6; }
40667 if test "${ax_cv_gxx_version+set}" = set; then
40668 echo $ECHO_N "(cached) $ECHO_C" >&6
40669 else
40670
40671 ax_cv_gxx_version="`$CXX -dumpversion`"
40672 if test "x$ax_cv_gxx_version" = "x"; then
40673
40674 ax_cv_gxx_version=""
40675
40676 fi
40677
40678
40679 fi
40680 { echo "$as_me:$LINENO: result: $ax_cv_gxx_version" >&5
40681 echo "${ECHO_T}$ax_cv_gxx_version" >&6; }
40682 GXX_VERSION=$ax_cv_gxx_version
40683
40684 fi
40685
40686
40687 fi
40688
40689
40690
40691 if test -n "$ax_cv_gxx_version"; then
40692 { echo "$as_me:$LINENO: checking whether __thread support in g++ is usable" >&5
40693 echo $ECHO_N "checking whether __thread support in g++ is usable... $ECHO_C" >&6; }
40694 case "$ax_cv_gxx_version" in
40695 1.* | 2.* | 3.* )
40696 { echo "$as_me:$LINENO: result: no, it's broken" >&5
40697 echo "${ECHO_T}no, it's broken" >&6; }
40698 wx_cv_cc___thread=no
40699 ;;
40700 *)
40701 { echo "$as_me:$LINENO: result: yes, it works" >&5
40702 echo "${ECHO_T}yes, it works" >&6; }
40703 ;;
40704 esac
40705 fi
40706 fi
40707
40708 if test "$wx_cv_cc___thread" = "yes"; then
40709 cat >>confdefs.h <<\_ACEOF
40710 #define HAVE___THREAD_KEYWORD 1
40711 _ACEOF
40712
40713 fi
40714 fi
40715 fi
40716
40717 else
40718 if test "$wxUSE_THREADS" = "yes" ; then
40719 case "${host}" in
40720 x86_64-*-mingw32* )
40721 ;;
40722 *-*-mingw32* )
40723 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
40724 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
40725 if test "${wx_cv_cflags_mthread+set}" = set; then
40726 echo $ECHO_N "(cached) $ECHO_C" >&6
40727 else
40728
40729 CFLAGS_OLD="$CFLAGS"
40730 CFLAGS="-mthreads $CFLAGS"
40731 cat >conftest.$ac_ext <<_ACEOF
40732 /* confdefs.h. */
40733 _ACEOF
40734 cat confdefs.h >>conftest.$ac_ext
40735 cat >>conftest.$ac_ext <<_ACEOF
40736 /* end confdefs.h. */
40737
40738 int
40739 main ()
40740 {
40741
40742 ;
40743 return 0;
40744 }
40745 _ACEOF
40746 rm -f conftest.$ac_objext
40747 if { (ac_try="$ac_compile"
40748 case "(($ac_try" in
40749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40750 *) ac_try_echo=$ac_try;;
40751 esac
40752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40753 (eval "$ac_compile") 2>conftest.er1
40754 ac_status=$?
40755 grep -v '^ *+' conftest.er1 >conftest.err
40756 rm -f conftest.er1
40757 cat conftest.err >&5
40758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40759 (exit $ac_status); } && {
40760 test -z "$ac_c_werror_flag" ||
40761 test ! -s conftest.err
40762 } && test -s conftest.$ac_objext; then
40763 wx_cv_cflags_mthread=yes
40764 else
40765 echo "$as_me: failed program was:" >&5
40766 sed 's/^/| /' conftest.$ac_ext >&5
40767
40768 wx_cv_cflags_mthread=no
40769
40770 fi
40771
40772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40773
40774
40775 fi
40776 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
40777 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
40778
40779 if test "$wx_cv_cflags_mthread" = "yes"; then
40780 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
40781 LDFLAGS="$LDFLAGS -mthreads"
40782 else
40783 CFLAGS="$CFLAGS_OLD"
40784 fi
40785 ;;
40786 *-pc-os2*emx )
40787 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
40788 LDFLAGS="$LDFLAGS -Zmt"
40789 ;;
40790 esac
40791 fi
40792 fi
40793
40794 { echo "$as_me:$LINENO: checking for localtime_r" >&5
40795 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
40796 if test "${ac_cv_func_localtime_r+set}" = set; then
40797 echo $ECHO_N "(cached) $ECHO_C" >&6
40798 else
40799 cat >conftest.$ac_ext <<_ACEOF
40800 /* confdefs.h. */
40801 _ACEOF
40802 cat confdefs.h >>conftest.$ac_ext
40803 cat >>conftest.$ac_ext <<_ACEOF
40804 /* end confdefs.h. */
40805 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
40806 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40807 #define localtime_r innocuous_localtime_r
40808
40809 /* System header to define __stub macros and hopefully few prototypes,
40810 which can conflict with char localtime_r (); below.
40811 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40812 <limits.h> exists even on freestanding compilers. */
40813
40814 #ifdef __STDC__
40815 # include <limits.h>
40816 #else
40817 # include <assert.h>
40818 #endif
40819
40820 #undef localtime_r
40821
40822 /* Override any GCC internal prototype to avoid an error.
40823 Use char because int might match the return type of a GCC
40824 builtin and then its argument prototype would still apply. */
40825 #ifdef __cplusplus
40826 extern "C"
40827 #endif
40828 char localtime_r ();
40829 /* The GNU C library defines this for functions which it implements
40830 to always fail with ENOSYS. Some functions are actually named
40831 something starting with __ and the normal name is an alias. */
40832 #if defined __stub_localtime_r || defined __stub___localtime_r
40833 choke me
40834 #endif
40835
40836 int
40837 main ()
40838 {
40839 return localtime_r ();
40840 ;
40841 return 0;
40842 }
40843 _ACEOF
40844 rm -f conftest.$ac_objext conftest$ac_exeext
40845 if { (ac_try="$ac_link"
40846 case "(($ac_try" in
40847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40848 *) ac_try_echo=$ac_try;;
40849 esac
40850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40851 (eval "$ac_link") 2>conftest.er1
40852 ac_status=$?
40853 grep -v '^ *+' conftest.er1 >conftest.err
40854 rm -f conftest.er1
40855 cat conftest.err >&5
40856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40857 (exit $ac_status); } && {
40858 test -z "$ac_c_werror_flag" ||
40859 test ! -s conftest.err
40860 } && test -s conftest$ac_exeext &&
40861 $as_test_x conftest$ac_exeext; then
40862 ac_cv_func_localtime_r=yes
40863 else
40864 echo "$as_me: failed program was:" >&5
40865 sed 's/^/| /' conftest.$ac_ext >&5
40866
40867 ac_cv_func_localtime_r=no
40868 fi
40869
40870 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40871 conftest$ac_exeext conftest.$ac_ext
40872 fi
40873 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
40874 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
40875 if test $ac_cv_func_localtime_r = yes; then
40876 cat >>confdefs.h <<\_ACEOF
40877 #define HAVE_LOCALTIME_R 1
40878 _ACEOF
40879
40880 fi
40881
40882 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
40883 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
40884 if test "${ac_cv_func_gmtime_r+set}" = set; then
40885 echo $ECHO_N "(cached) $ECHO_C" >&6
40886 else
40887 cat >conftest.$ac_ext <<_ACEOF
40888 /* confdefs.h. */
40889 _ACEOF
40890 cat confdefs.h >>conftest.$ac_ext
40891 cat >>conftest.$ac_ext <<_ACEOF
40892 /* end confdefs.h. */
40893 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
40894 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40895 #define gmtime_r innocuous_gmtime_r
40896
40897 /* System header to define __stub macros and hopefully few prototypes,
40898 which can conflict with char gmtime_r (); below.
40899 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40900 <limits.h> exists even on freestanding compilers. */
40901
40902 #ifdef __STDC__
40903 # include <limits.h>
40904 #else
40905 # include <assert.h>
40906 #endif
40907
40908 #undef gmtime_r
40909
40910 /* Override any GCC internal prototype to avoid an error.
40911 Use char because int might match the return type of a GCC
40912 builtin and then its argument prototype would still apply. */
40913 #ifdef __cplusplus
40914 extern "C"
40915 #endif
40916 char gmtime_r ();
40917 /* The GNU C library defines this for functions which it implements
40918 to always fail with ENOSYS. Some functions are actually named
40919 something starting with __ and the normal name is an alias. */
40920 #if defined __stub_gmtime_r || defined __stub___gmtime_r
40921 choke me
40922 #endif
40923
40924 int
40925 main ()
40926 {
40927 return gmtime_r ();
40928 ;
40929 return 0;
40930 }
40931 _ACEOF
40932 rm -f conftest.$ac_objext conftest$ac_exeext
40933 if { (ac_try="$ac_link"
40934 case "(($ac_try" in
40935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40936 *) ac_try_echo=$ac_try;;
40937 esac
40938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40939 (eval "$ac_link") 2>conftest.er1
40940 ac_status=$?
40941 grep -v '^ *+' conftest.er1 >conftest.err
40942 rm -f conftest.er1
40943 cat conftest.err >&5
40944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40945 (exit $ac_status); } && {
40946 test -z "$ac_c_werror_flag" ||
40947 test ! -s conftest.err
40948 } && test -s conftest$ac_exeext &&
40949 $as_test_x conftest$ac_exeext; then
40950 ac_cv_func_gmtime_r=yes
40951 else
40952 echo "$as_me: failed program was:" >&5
40953 sed 's/^/| /' conftest.$ac_ext >&5
40954
40955 ac_cv_func_gmtime_r=no
40956 fi
40957
40958 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40959 conftest$ac_exeext conftest.$ac_ext
40960 fi
40961 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
40962 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
40963 if test $ac_cv_func_gmtime_r = yes; then
40964 cat >>confdefs.h <<\_ACEOF
40965 #define HAVE_GMTIME_R 1
40966 _ACEOF
40967
40968 fi
40969
40970
40971
40972
40973 ac_ext=c
40974 ac_cpp='$CPP $CPPFLAGS'
40975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40978
40979 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
40980 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
40981
40982 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
40983 echo $ECHO_N "(cached) $ECHO_C" >&6
40984 else
40985
40986
40987 ################################################################
40988
40989 ac_cv_func_which_gethostbyname_r=unknown
40990
40991 #
40992 # ONE ARGUMENT (sanity check)
40993 #
40994
40995 # This should fail, as there is no variant of gethostbyname_r() that takes
40996 # a single argument. If it actually compiles, then we can assume that
40997 # netdb.h is not declaring the function, and the compiler is thereby
40998 # assuming an implicit prototype. In which case, we're out of luck.
40999 #
41000 cat >conftest.$ac_ext <<_ACEOF
41001 /* confdefs.h. */
41002 _ACEOF
41003 cat confdefs.h >>conftest.$ac_ext
41004 cat >>conftest.$ac_ext <<_ACEOF
41005 /* end confdefs.h. */
41006 #include <netdb.h>
41007 int
41008 main ()
41009 {
41010
41011 char *name = "www.gnu.org";
41012 (void)gethostbyname_r(name) /* ; */
41013
41014 ;
41015 return 0;
41016 }
41017 _ACEOF
41018 rm -f conftest.$ac_objext
41019 if { (ac_try="$ac_compile"
41020 case "(($ac_try" in
41021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41022 *) ac_try_echo=$ac_try;;
41023 esac
41024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41025 (eval "$ac_compile") 2>conftest.er1
41026 ac_status=$?
41027 grep -v '^ *+' conftest.er1 >conftest.err
41028 rm -f conftest.er1
41029 cat conftest.err >&5
41030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41031 (exit $ac_status); } && {
41032 test -z "$ac_c_werror_flag" ||
41033 test ! -s conftest.err
41034 } && test -s conftest.$ac_objext; then
41035 ac_cv_func_which_gethostbyname_r=no
41036 else
41037 echo "$as_me: failed program was:" >&5
41038 sed 's/^/| /' conftest.$ac_ext >&5
41039
41040
41041 fi
41042
41043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41044
41045 #
41046 # SIX ARGUMENTS
41047 # (e.g. Linux)
41048 #
41049
41050 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41051
41052 cat >conftest.$ac_ext <<_ACEOF
41053 /* confdefs.h. */
41054 _ACEOF
41055 cat confdefs.h >>conftest.$ac_ext
41056 cat >>conftest.$ac_ext <<_ACEOF
41057 /* end confdefs.h. */
41058 #include <netdb.h>
41059 int
41060 main ()
41061 {
41062
41063 char *name = "www.gnu.org";
41064 struct hostent ret, *retp;
41065 char buf[1024];
41066 int buflen = 1024;
41067 int my_h_errno;
41068 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
41069
41070 ;
41071 return 0;
41072 }
41073 _ACEOF
41074 rm -f conftest.$ac_objext
41075 if { (ac_try="$ac_compile"
41076 case "(($ac_try" in
41077 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41078 *) ac_try_echo=$ac_try;;
41079 esac
41080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41081 (eval "$ac_compile") 2>conftest.er1
41082 ac_status=$?
41083 grep -v '^ *+' conftest.er1 >conftest.err
41084 rm -f conftest.er1
41085 cat conftest.err >&5
41086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41087 (exit $ac_status); } && {
41088 test -z "$ac_c_werror_flag" ||
41089 test ! -s conftest.err
41090 } && test -s conftest.$ac_objext; then
41091 ac_cv_func_which_gethostbyname_r=six
41092 else
41093 echo "$as_me: failed program was:" >&5
41094 sed 's/^/| /' conftest.$ac_ext >&5
41095
41096
41097 fi
41098
41099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41100
41101 fi
41102
41103 #
41104 # FIVE ARGUMENTS
41105 # (e.g. Solaris)
41106 #
41107
41108 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41109
41110 cat >conftest.$ac_ext <<_ACEOF
41111 /* confdefs.h. */
41112 _ACEOF
41113 cat confdefs.h >>conftest.$ac_ext
41114 cat >>conftest.$ac_ext <<_ACEOF
41115 /* end confdefs.h. */
41116 #include <netdb.h>
41117 int
41118 main ()
41119 {
41120
41121 char *name = "www.gnu.org";
41122 struct hostent ret;
41123 char buf[1024];
41124 int buflen = 1024;
41125 int my_h_errno;
41126 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
41127
41128 ;
41129 return 0;
41130 }
41131 _ACEOF
41132 rm -f conftest.$ac_objext
41133 if { (ac_try="$ac_compile"
41134 case "(($ac_try" in
41135 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41136 *) ac_try_echo=$ac_try;;
41137 esac
41138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41139 (eval "$ac_compile") 2>conftest.er1
41140 ac_status=$?
41141 grep -v '^ *+' conftest.er1 >conftest.err
41142 rm -f conftest.er1
41143 cat conftest.err >&5
41144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41145 (exit $ac_status); } && {
41146 test -z "$ac_c_werror_flag" ||
41147 test ! -s conftest.err
41148 } && test -s conftest.$ac_objext; then
41149 ac_cv_func_which_gethostbyname_r=five
41150 else
41151 echo "$as_me: failed program was:" >&5
41152 sed 's/^/| /' conftest.$ac_ext >&5
41153
41154
41155 fi
41156
41157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41158
41159 fi
41160
41161 #
41162 # THREE ARGUMENTS
41163 # (e.g. AIX, HP-UX, Tru64)
41164 #
41165
41166 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41167
41168 cat >conftest.$ac_ext <<_ACEOF
41169 /* confdefs.h. */
41170 _ACEOF
41171 cat confdefs.h >>conftest.$ac_ext
41172 cat >>conftest.$ac_ext <<_ACEOF
41173 /* end confdefs.h. */
41174 #include <netdb.h>
41175 int
41176 main ()
41177 {
41178
41179 char *name = "www.gnu.org";
41180 struct hostent ret;
41181 struct hostent_data data;
41182 (void)gethostbyname_r(name, &ret, &data) /* ; */
41183
41184 ;
41185 return 0;
41186 }
41187 _ACEOF
41188 rm -f conftest.$ac_objext
41189 if { (ac_try="$ac_compile"
41190 case "(($ac_try" in
41191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41192 *) ac_try_echo=$ac_try;;
41193 esac
41194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41195 (eval "$ac_compile") 2>conftest.er1
41196 ac_status=$?
41197 grep -v '^ *+' conftest.er1 >conftest.err
41198 rm -f conftest.er1
41199 cat conftest.err >&5
41200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41201 (exit $ac_status); } && {
41202 test -z "$ac_c_werror_flag" ||
41203 test ! -s conftest.err
41204 } && test -s conftest.$ac_objext; then
41205 ac_cv_func_which_gethostbyname_r=three
41206 else
41207 echo "$as_me: failed program was:" >&5
41208 sed 's/^/| /' conftest.$ac_ext >&5
41209
41210
41211 fi
41212
41213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41214
41215 fi
41216
41217 ################################################################
41218
41219
41220 fi
41221
41222 case "$ac_cv_func_which_gethostbyname_r" in
41223 three)
41224 { echo "$as_me:$LINENO: result: three" >&5
41225 echo "${ECHO_T}three" >&6; }
41226 cat >>confdefs.h <<\_ACEOF
41227 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
41228 _ACEOF
41229
41230 ;;
41231
41232 five)
41233 { echo "$as_me:$LINENO: result: five" >&5
41234 echo "${ECHO_T}five" >&6; }
41235 cat >>confdefs.h <<\_ACEOF
41236 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
41237 _ACEOF
41238
41239 ;;
41240
41241 six)
41242 { echo "$as_me:$LINENO: result: six" >&5
41243 echo "${ECHO_T}six" >&6; }
41244 cat >>confdefs.h <<\_ACEOF
41245 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
41246 _ACEOF
41247
41248 ;;
41249
41250 no)
41251 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
41252 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
41253 ;;
41254
41255 unknown)
41256 { echo "$as_me:$LINENO: result: can't tell" >&5
41257 echo "${ECHO_T}can't tell" >&6; }
41258 ;;
41259
41260 *)
41261 { { echo "$as_me:$LINENO: error: internal error" >&5
41262 echo "$as_me: error: internal error" >&2;}
41263 { (exit 1); exit 1; }; }
41264 ;;
41265 esac
41266
41267 ac_ext=c
41268 ac_cpp='$CPP $CPPFLAGS'
41269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41272
41273
41274
41275 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
41276 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
41277 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
41278 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
41279 if test "${ac_cv_func_gethostbyname+set}" = set; then
41280 echo $ECHO_N "(cached) $ECHO_C" >&6
41281 else
41282 cat >conftest.$ac_ext <<_ACEOF
41283 /* confdefs.h. */
41284 _ACEOF
41285 cat confdefs.h >>conftest.$ac_ext
41286 cat >>conftest.$ac_ext <<_ACEOF
41287 /* end confdefs.h. */
41288 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
41289 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41290 #define gethostbyname innocuous_gethostbyname
41291
41292 /* System header to define __stub macros and hopefully few prototypes,
41293 which can conflict with char gethostbyname (); below.
41294 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41295 <limits.h> exists even on freestanding compilers. */
41296
41297 #ifdef __STDC__
41298 # include <limits.h>
41299 #else
41300 # include <assert.h>
41301 #endif
41302
41303 #undef gethostbyname
41304
41305 /* Override any GCC internal prototype to avoid an error.
41306 Use char because int might match the return type of a GCC
41307 builtin and then its argument prototype would still apply. */
41308 #ifdef __cplusplus
41309 extern "C"
41310 #endif
41311 char gethostbyname ();
41312 /* The GNU C library defines this for functions which it implements
41313 to always fail with ENOSYS. Some functions are actually named
41314 something starting with __ and the normal name is an alias. */
41315 #if defined __stub_gethostbyname || defined __stub___gethostbyname
41316 choke me
41317 #endif
41318
41319 int
41320 main ()
41321 {
41322 return gethostbyname ();
41323 ;
41324 return 0;
41325 }
41326 _ACEOF
41327 rm -f conftest.$ac_objext conftest$ac_exeext
41328 if { (ac_try="$ac_link"
41329 case "(($ac_try" in
41330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41331 *) ac_try_echo=$ac_try;;
41332 esac
41333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41334 (eval "$ac_link") 2>conftest.er1
41335 ac_status=$?
41336 grep -v '^ *+' conftest.er1 >conftest.err
41337 rm -f conftest.er1
41338 cat conftest.err >&5
41339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41340 (exit $ac_status); } && {
41341 test -z "$ac_c_werror_flag" ||
41342 test ! -s conftest.err
41343 } && test -s conftest$ac_exeext &&
41344 $as_test_x conftest$ac_exeext; then
41345 ac_cv_func_gethostbyname=yes
41346 else
41347 echo "$as_me: failed program was:" >&5
41348 sed 's/^/| /' conftest.$ac_ext >&5
41349
41350 ac_cv_func_gethostbyname=no
41351 fi
41352
41353 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41354 conftest$ac_exeext conftest.$ac_ext
41355 fi
41356 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
41357 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
41358 if test $ac_cv_func_gethostbyname = yes; then
41359 cat >>confdefs.h <<\_ACEOF
41360 #define HAVE_GETHOSTBYNAME 1
41361 _ACEOF
41362
41363 fi
41364
41365 fi
41366
41367 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
41368 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
41369 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
41370 echo $ECHO_N "(cached) $ECHO_C" >&6
41371 else
41372
41373 ac_ext=cpp
41374 ac_cpp='$CXXCPP $CPPFLAGS'
41375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41378
41379
41380 cat >conftest.$ac_ext <<_ACEOF
41381 /* confdefs.h. */
41382 _ACEOF
41383 cat confdefs.h >>conftest.$ac_ext
41384 cat >>conftest.$ac_ext <<_ACEOF
41385 /* end confdefs.h. */
41386 #include <netdb.h>
41387 int
41388 main ()
41389 {
41390
41391 char *name;
41392 char *proto;
41393 struct servent *se, *res;
41394 char buffer[2048];
41395 int buflen = 2048;
41396 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
41397
41398 ;
41399 return 0;
41400 }
41401 _ACEOF
41402 rm -f conftest.$ac_objext
41403 if { (ac_try="$ac_compile"
41404 case "(($ac_try" in
41405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41406 *) ac_try_echo=$ac_try;;
41407 esac
41408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41409 (eval "$ac_compile") 2>conftest.er1
41410 ac_status=$?
41411 grep -v '^ *+' conftest.er1 >conftest.err
41412 rm -f conftest.er1
41413 cat conftest.err >&5
41414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41415 (exit $ac_status); } && {
41416 test -z "$ac_cxx_werror_flag" ||
41417 test ! -s conftest.err
41418 } && test -s conftest.$ac_objext; then
41419 ac_cv_func_which_getservbyname_r=six
41420 else
41421 echo "$as_me: failed program was:" >&5
41422 sed 's/^/| /' conftest.$ac_ext >&5
41423
41424
41425 cat >conftest.$ac_ext <<_ACEOF
41426 /* confdefs.h. */
41427 _ACEOF
41428 cat confdefs.h >>conftest.$ac_ext
41429 cat >>conftest.$ac_ext <<_ACEOF
41430 /* end confdefs.h. */
41431 #include <netdb.h>
41432 int
41433 main ()
41434 {
41435
41436 char *name;
41437 char *proto;
41438 struct servent *se;
41439 char buffer[2048];
41440 int buflen = 2048;
41441 (void) getservbyname_r(name, proto, se, buffer, buflen)
41442
41443 ;
41444 return 0;
41445 }
41446 _ACEOF
41447 rm -f conftest.$ac_objext
41448 if { (ac_try="$ac_compile"
41449 case "(($ac_try" in
41450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41451 *) ac_try_echo=$ac_try;;
41452 esac
41453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41454 (eval "$ac_compile") 2>conftest.er1
41455 ac_status=$?
41456 grep -v '^ *+' conftest.er1 >conftest.err
41457 rm -f conftest.er1
41458 cat conftest.err >&5
41459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41460 (exit $ac_status); } && {
41461 test -z "$ac_cxx_werror_flag" ||
41462 test ! -s conftest.err
41463 } && test -s conftest.$ac_objext; then
41464 ac_cv_func_which_getservbyname_r=five
41465 else
41466 echo "$as_me: failed program was:" >&5
41467 sed 's/^/| /' conftest.$ac_ext >&5
41468
41469
41470 cat >conftest.$ac_ext <<_ACEOF
41471 /* confdefs.h. */
41472 _ACEOF
41473 cat confdefs.h >>conftest.$ac_ext
41474 cat >>conftest.$ac_ext <<_ACEOF
41475 /* end confdefs.h. */
41476 #include <netdb.h>
41477 int
41478 main ()
41479 {
41480
41481 char *name;
41482 char *proto;
41483 struct servent *se;
41484 struct servent_data data;
41485 (void) getservbyname_r(name, proto, se, &data);
41486
41487 ;
41488 return 0;
41489 }
41490 _ACEOF
41491 rm -f conftest.$ac_objext
41492 if { (ac_try="$ac_compile"
41493 case "(($ac_try" in
41494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41495 *) ac_try_echo=$ac_try;;
41496 esac
41497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41498 (eval "$ac_compile") 2>conftest.er1
41499 ac_status=$?
41500 grep -v '^ *+' conftest.er1 >conftest.err
41501 rm -f conftest.er1
41502 cat conftest.err >&5
41503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41504 (exit $ac_status); } && {
41505 test -z "$ac_cxx_werror_flag" ||
41506 test ! -s conftest.err
41507 } && test -s conftest.$ac_objext; then
41508 ac_cv_func_which_getservbyname_r=four
41509 else
41510 echo "$as_me: failed program was:" >&5
41511 sed 's/^/| /' conftest.$ac_ext >&5
41512
41513 ac_cv_func_which_getservbyname_r=no
41514
41515 fi
41516
41517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41518
41519
41520 fi
41521
41522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41523
41524
41525 fi
41526
41527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41528 ac_ext=c
41529 ac_cpp='$CPP $CPPFLAGS'
41530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41533
41534
41535
41536 fi
41537 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
41538 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
41539
41540 if test $ac_cv_func_which_getservbyname_r = six; then
41541 cat >>confdefs.h <<\_ACEOF
41542 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
41543 _ACEOF
41544
41545 elif test $ac_cv_func_which_getservbyname_r = five; then
41546 cat >>confdefs.h <<\_ACEOF
41547 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
41548 _ACEOF
41549
41550 elif test $ac_cv_func_which_getservbyname_r = four; then
41551 cat >>confdefs.h <<\_ACEOF
41552 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
41553 _ACEOF
41554
41555 fi
41556
41557
41558 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
41559 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
41560
41561 for ac_func in getservbyname
41562 do
41563 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41564 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41565 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41566 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41567 echo $ECHO_N "(cached) $ECHO_C" >&6
41568 else
41569 cat >conftest.$ac_ext <<_ACEOF
41570 /* confdefs.h. */
41571 _ACEOF
41572 cat confdefs.h >>conftest.$ac_ext
41573 cat >>conftest.$ac_ext <<_ACEOF
41574 /* end confdefs.h. */
41575 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41576 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41577 #define $ac_func innocuous_$ac_func
41578
41579 /* System header to define __stub macros and hopefully few prototypes,
41580 which can conflict with char $ac_func (); below.
41581 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41582 <limits.h> exists even on freestanding compilers. */
41583
41584 #ifdef __STDC__
41585 # include <limits.h>
41586 #else
41587 # include <assert.h>
41588 #endif
41589
41590 #undef $ac_func
41591
41592 /* Override any GCC internal prototype to avoid an error.
41593 Use char because int might match the return type of a GCC
41594 builtin and then its argument prototype would still apply. */
41595 #ifdef __cplusplus
41596 extern "C"
41597 #endif
41598 char $ac_func ();
41599 /* The GNU C library defines this for functions which it implements
41600 to always fail with ENOSYS. Some functions are actually named
41601 something starting with __ and the normal name is an alias. */
41602 #if defined __stub_$ac_func || defined __stub___$ac_func
41603 choke me
41604 #endif
41605
41606 int
41607 main ()
41608 {
41609 return $ac_func ();
41610 ;
41611 return 0;
41612 }
41613 _ACEOF
41614 rm -f conftest.$ac_objext conftest$ac_exeext
41615 if { (ac_try="$ac_link"
41616 case "(($ac_try" in
41617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41618 *) ac_try_echo=$ac_try;;
41619 esac
41620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41621 (eval "$ac_link") 2>conftest.er1
41622 ac_status=$?
41623 grep -v '^ *+' conftest.er1 >conftest.err
41624 rm -f conftest.er1
41625 cat conftest.err >&5
41626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41627 (exit $ac_status); } && {
41628 test -z "$ac_c_werror_flag" ||
41629 test ! -s conftest.err
41630 } && test -s conftest$ac_exeext &&
41631 $as_test_x conftest$ac_exeext; then
41632 eval "$as_ac_var=yes"
41633 else
41634 echo "$as_me: failed program was:" >&5
41635 sed 's/^/| /' conftest.$ac_ext >&5
41636
41637 eval "$as_ac_var=no"
41638 fi
41639
41640 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41641 conftest$ac_exeext conftest.$ac_ext
41642 fi
41643 ac_res=`eval echo '${'$as_ac_var'}'`
41644 { echo "$as_me:$LINENO: result: $ac_res" >&5
41645 echo "${ECHO_T}$ac_res" >&6; }
41646 if test `eval echo '${'$as_ac_var'}'` = yes; then
41647 cat >>confdefs.h <<_ACEOF
41648 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41649 _ACEOF
41650 cat >>confdefs.h <<\_ACEOF
41651 #define HAVE_GETSERVBYNAME 1
41652 _ACEOF
41653
41654 fi
41655 done
41656
41657 fi
41658
41659 if test "$wxUSE_THREADS" = "yes"; then
41660 cat >>confdefs.h <<\_ACEOF
41661 #define wxUSE_THREADS 1
41662 _ACEOF
41663
41664
41665 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
41666 else
41667 if test "$wx_cv_func_strtok_r" = "yes"; then
41668 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
41669 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
41670 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
41671 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
41672 { echo "$as_me:$LINENO: result: yes" >&5
41673 echo "${ECHO_T}yes" >&6; }
41674 else
41675 { echo "$as_me:$LINENO: result: no" >&5
41676 echo "${ECHO_T}no" >&6; }
41677 fi
41678 fi
41679 fi
41680
41681 if test "$WXGTK2" = 1 ; then
41682 cat >>confdefs.h <<_ACEOF
41683 #define __WXGTK20__ $WXGTK2
41684 _ACEOF
41685
41686 WXGTK12=1
41687 fi
41688
41689 if test "$WXGTK12" = 1 ; then
41690 cat >>confdefs.h <<_ACEOF
41691 #define __WXGTK12__ $WXGTK12
41692 _ACEOF
41693
41694 fi
41695
41696 if test "$WXGTK127" = 1 ; then
41697 cat >>confdefs.h <<_ACEOF
41698 #define __WXGTK127__ $WXGTK127
41699 _ACEOF
41700
41701 fi
41702
41703 if test "$WXGPE" = 1 ; then
41704 cat >>confdefs.h <<_ACEOF
41705 #define __WXGPE__ $WXGPE
41706 _ACEOF
41707
41708 fi
41709
41710 DEBUG_CFLAGS=
41711 if `echo $CXXFLAGS $CFLAGS | grep " -g" >/dev/null`; then
41712 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&5
41713 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&2;}
41714 elif test "$wxUSE_DEBUG_INFO" = "yes" ; then
41715 DEBUG_CFLAGS="-g"
41716 fi
41717
41718 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
41719 wxUSE_DEBUG_INFO=yes
41720 if test "$GCC" = yes; then
41721 DEBUG_CFLAGS="-ggdb"
41722 fi
41723 fi
41724
41725 if test "$wxUSE_DEBUG_FLAG" = "no" ; then
41726 if test "$wxUSE_GTK" = 1 ; then
41727 if test "x$wxGTK_VERSION" = "x1" ; then
41728 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
41729 fi
41730 fi
41731 fi
41732
41733 if test "$wxUSE_MEM_TRACING" = "yes" ; then
41734 cat >>confdefs.h <<\_ACEOF
41735 #define wxUSE_MEMORY_TRACING 1
41736 _ACEOF
41737
41738 cat >>confdefs.h <<\_ACEOF
41739 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
41740 _ACEOF
41741
41742 cat >>confdefs.h <<\_ACEOF
41743 #define wxUSE_DEBUG_NEW_ALWAYS 1
41744 _ACEOF
41745
41746 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
41747 fi
41748
41749 if test "$wxUSE_DMALLOC" = "yes" ; then
41750 DMALLOC_LIBS="-ldmallocthcxx"
41751 fi
41752
41753 PROFILE_FLAGS=
41754 if test "$wxUSE_PROFILE" = "yes" ; then
41755 PROFILE_FLAGS=" -pg"
41756 fi
41757
41758 if test "$GCC" = "yes" ; then
41759 if test "$wxUSE_NO_RTTI" = "yes" ; then
41760 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
41761 fi
41762 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
41763 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
41764 fi
41765 if test "$wxUSE_PERMISSIVE" = "yes" ; then
41766 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
41767 fi
41768
41769 case "${host}" in
41770 powerpc*-*-aix* )
41771 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
41772 ;;
41773 *-hppa* )
41774 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
41775 ;;
41776 esac
41777 fi
41778
41779 OPTIMISE_CFLAGS=
41780 if `echo $CXXFLAGS $CFLAGS | grep " -O" >/dev/null`; then
41781 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&5
41782 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&2;}
41783 else
41784 if test "$wxUSE_OPTIMISE" = "no" ; then
41785 if test "$GCC" = yes ; then
41786 OPTIMISE_CFLAGS="-O0"
41787 fi
41788 else
41789 if test "$GCC" = yes ; then
41790 case "${host}" in
41791 *-pc-os2_emx | *-pc-os2-emx )
41792 OPTIMISE_CFLAGS="-O2"
41793 ;;
41794 *)
41795 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
41796 ;;
41797 esac
41798 else
41799 OPTIMISE_CFLAGS="-O"
41800 fi
41801 fi
41802 fi
41803
41804
41805 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
41806 cat >>confdefs.h <<\_ACEOF
41807 #define WXWIN_COMPATIBILITY_2_6 1
41808 _ACEOF
41809
41810
41811 WXWIN_COMPATIBILITY_2_8="yes"
41812 fi
41813
41814 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
41815 cat >>confdefs.h <<\_ACEOF
41816 #define WXWIN_COMPATIBILITY_2_8 1
41817 _ACEOF
41818
41819 fi
41820
41821
41822 if test "$wxUSE_GUI" = "yes"; then
41823 cat >>confdefs.h <<\_ACEOF
41824 #define wxUSE_GUI 1
41825 _ACEOF
41826
41827
41828 fi
41829
41830
41831 if test "$wxUSE_UNIX" = "yes"; then
41832 cat >>confdefs.h <<\_ACEOF
41833 #define wxUSE_UNIX 1
41834 _ACEOF
41835
41836 fi
41837
41838
41839 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
41840
41841 HAVE_DL_FUNCS=0
41842 HAVE_SHL_FUNCS=0
41843 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41844 if test "$USE_DOS" = 1; then
41845 HAVE_DL_FUNCS=0
41846 else
41847
41848 for ac_func in dlopen
41849 do
41850 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41851 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41852 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41853 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41854 echo $ECHO_N "(cached) $ECHO_C" >&6
41855 else
41856 cat >conftest.$ac_ext <<_ACEOF
41857 /* confdefs.h. */
41858 _ACEOF
41859 cat confdefs.h >>conftest.$ac_ext
41860 cat >>conftest.$ac_ext <<_ACEOF
41861 /* end confdefs.h. */
41862 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41863 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41864 #define $ac_func innocuous_$ac_func
41865
41866 /* System header to define __stub macros and hopefully few prototypes,
41867 which can conflict with char $ac_func (); below.
41868 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41869 <limits.h> exists even on freestanding compilers. */
41870
41871 #ifdef __STDC__
41872 # include <limits.h>
41873 #else
41874 # include <assert.h>
41875 #endif
41876
41877 #undef $ac_func
41878
41879 /* Override any GCC internal prototype to avoid an error.
41880 Use char because int might match the return type of a GCC
41881 builtin and then its argument prototype would still apply. */
41882 #ifdef __cplusplus
41883 extern "C"
41884 #endif
41885 char $ac_func ();
41886 /* The GNU C library defines this for functions which it implements
41887 to always fail with ENOSYS. Some functions are actually named
41888 something starting with __ and the normal name is an alias. */
41889 #if defined __stub_$ac_func || defined __stub___$ac_func
41890 choke me
41891 #endif
41892
41893 int
41894 main ()
41895 {
41896 return $ac_func ();
41897 ;
41898 return 0;
41899 }
41900 _ACEOF
41901 rm -f conftest.$ac_objext conftest$ac_exeext
41902 if { (ac_try="$ac_link"
41903 case "(($ac_try" in
41904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41905 *) ac_try_echo=$ac_try;;
41906 esac
41907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41908 (eval "$ac_link") 2>conftest.er1
41909 ac_status=$?
41910 grep -v '^ *+' conftest.er1 >conftest.err
41911 rm -f conftest.er1
41912 cat conftest.err >&5
41913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41914 (exit $ac_status); } && {
41915 test -z "$ac_c_werror_flag" ||
41916 test ! -s conftest.err
41917 } && test -s conftest$ac_exeext &&
41918 $as_test_x conftest$ac_exeext; then
41919 eval "$as_ac_var=yes"
41920 else
41921 echo "$as_me: failed program was:" >&5
41922 sed 's/^/| /' conftest.$ac_ext >&5
41923
41924 eval "$as_ac_var=no"
41925 fi
41926
41927 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41928 conftest$ac_exeext conftest.$ac_ext
41929 fi
41930 ac_res=`eval echo '${'$as_ac_var'}'`
41931 { echo "$as_me:$LINENO: result: $ac_res" >&5
41932 echo "${ECHO_T}$ac_res" >&6; }
41933 if test `eval echo '${'$as_ac_var'}'` = yes; then
41934 cat >>confdefs.h <<_ACEOF
41935 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41936 _ACEOF
41937
41938 cat >>confdefs.h <<\_ACEOF
41939 #define HAVE_DLOPEN 1
41940 _ACEOF
41941
41942 HAVE_DL_FUNCS=1
41943
41944 else
41945
41946 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
41947 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
41948 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
41949 echo $ECHO_N "(cached) $ECHO_C" >&6
41950 else
41951 ac_check_lib_save_LIBS=$LIBS
41952 LIBS="-ldl $LIBS"
41953 cat >conftest.$ac_ext <<_ACEOF
41954 /* confdefs.h. */
41955 _ACEOF
41956 cat confdefs.h >>conftest.$ac_ext
41957 cat >>conftest.$ac_ext <<_ACEOF
41958 /* end confdefs.h. */
41959
41960 /* Override any GCC internal prototype to avoid an error.
41961 Use char because int might match the return type of a GCC
41962 builtin and then its argument prototype would still apply. */
41963 #ifdef __cplusplus
41964 extern "C"
41965 #endif
41966 char dlopen ();
41967 int
41968 main ()
41969 {
41970 return dlopen ();
41971 ;
41972 return 0;
41973 }
41974 _ACEOF
41975 rm -f conftest.$ac_objext conftest$ac_exeext
41976 if { (ac_try="$ac_link"
41977 case "(($ac_try" in
41978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41979 *) ac_try_echo=$ac_try;;
41980 esac
41981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41982 (eval "$ac_link") 2>conftest.er1
41983 ac_status=$?
41984 grep -v '^ *+' conftest.er1 >conftest.err
41985 rm -f conftest.er1
41986 cat conftest.err >&5
41987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41988 (exit $ac_status); } && {
41989 test -z "$ac_c_werror_flag" ||
41990 test ! -s conftest.err
41991 } && test -s conftest$ac_exeext &&
41992 $as_test_x conftest$ac_exeext; then
41993 ac_cv_lib_dl_dlopen=yes
41994 else
41995 echo "$as_me: failed program was:" >&5
41996 sed 's/^/| /' conftest.$ac_ext >&5
41997
41998 ac_cv_lib_dl_dlopen=no
41999 fi
42000
42001 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42002 conftest$ac_exeext conftest.$ac_ext
42003 LIBS=$ac_check_lib_save_LIBS
42004 fi
42005 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
42006 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
42007 if test $ac_cv_lib_dl_dlopen = yes; then
42008
42009 cat >>confdefs.h <<\_ACEOF
42010 #define HAVE_DLOPEN 1
42011 _ACEOF
42012
42013 HAVE_DL_FUNCS=1
42014 DL_LINK=" -ldl$DL_LINK"
42015
42016 else
42017
42018
42019 for ac_func in shl_load
42020 do
42021 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42022 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42023 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42024 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42025 echo $ECHO_N "(cached) $ECHO_C" >&6
42026 else
42027 cat >conftest.$ac_ext <<_ACEOF
42028 /* confdefs.h. */
42029 _ACEOF
42030 cat confdefs.h >>conftest.$ac_ext
42031 cat >>conftest.$ac_ext <<_ACEOF
42032 /* end confdefs.h. */
42033 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42034 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42035 #define $ac_func innocuous_$ac_func
42036
42037 /* System header to define __stub macros and hopefully few prototypes,
42038 which can conflict with char $ac_func (); below.
42039 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42040 <limits.h> exists even on freestanding compilers. */
42041
42042 #ifdef __STDC__
42043 # include <limits.h>
42044 #else
42045 # include <assert.h>
42046 #endif
42047
42048 #undef $ac_func
42049
42050 /* Override any GCC internal prototype to avoid an error.
42051 Use char because int might match the return type of a GCC
42052 builtin and then its argument prototype would still apply. */
42053 #ifdef __cplusplus
42054 extern "C"
42055 #endif
42056 char $ac_func ();
42057 /* The GNU C library defines this for functions which it implements
42058 to always fail with ENOSYS. Some functions are actually named
42059 something starting with __ and the normal name is an alias. */
42060 #if defined __stub_$ac_func || defined __stub___$ac_func
42061 choke me
42062 #endif
42063
42064 int
42065 main ()
42066 {
42067 return $ac_func ();
42068 ;
42069 return 0;
42070 }
42071 _ACEOF
42072 rm -f conftest.$ac_objext conftest$ac_exeext
42073 if { (ac_try="$ac_link"
42074 case "(($ac_try" in
42075 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42076 *) ac_try_echo=$ac_try;;
42077 esac
42078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42079 (eval "$ac_link") 2>conftest.er1
42080 ac_status=$?
42081 grep -v '^ *+' conftest.er1 >conftest.err
42082 rm -f conftest.er1
42083 cat conftest.err >&5
42084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42085 (exit $ac_status); } && {
42086 test -z "$ac_c_werror_flag" ||
42087 test ! -s conftest.err
42088 } && test -s conftest$ac_exeext &&
42089 $as_test_x conftest$ac_exeext; then
42090 eval "$as_ac_var=yes"
42091 else
42092 echo "$as_me: failed program was:" >&5
42093 sed 's/^/| /' conftest.$ac_ext >&5
42094
42095 eval "$as_ac_var=no"
42096 fi
42097
42098 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42099 conftest$ac_exeext conftest.$ac_ext
42100 fi
42101 ac_res=`eval echo '${'$as_ac_var'}'`
42102 { echo "$as_me:$LINENO: result: $ac_res" >&5
42103 echo "${ECHO_T}$ac_res" >&6; }
42104 if test `eval echo '${'$as_ac_var'}'` = yes; then
42105 cat >>confdefs.h <<_ACEOF
42106 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42107 _ACEOF
42108
42109 cat >>confdefs.h <<\_ACEOF
42110 #define HAVE_SHL_LOAD 1
42111 _ACEOF
42112
42113 HAVE_SHL_FUNCS=1
42114
42115 else
42116
42117 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
42118 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
42119 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
42120 echo $ECHO_N "(cached) $ECHO_C" >&6
42121 else
42122 ac_check_lib_save_LIBS=$LIBS
42123 LIBS="-lshl_load $LIBS"
42124 cat >conftest.$ac_ext <<_ACEOF
42125 /* confdefs.h. */
42126 _ACEOF
42127 cat confdefs.h >>conftest.$ac_ext
42128 cat >>conftest.$ac_ext <<_ACEOF
42129 /* end confdefs.h. */
42130
42131 /* Override any GCC internal prototype to avoid an error.
42132 Use char because int might match the return type of a GCC
42133 builtin and then its argument prototype would still apply. */
42134 #ifdef __cplusplus
42135 extern "C"
42136 #endif
42137 char dld ();
42138 int
42139 main ()
42140 {
42141 return dld ();
42142 ;
42143 return 0;
42144 }
42145 _ACEOF
42146 rm -f conftest.$ac_objext conftest$ac_exeext
42147 if { (ac_try="$ac_link"
42148 case "(($ac_try" in
42149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42150 *) ac_try_echo=$ac_try;;
42151 esac
42152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42153 (eval "$ac_link") 2>conftest.er1
42154 ac_status=$?
42155 grep -v '^ *+' conftest.er1 >conftest.err
42156 rm -f conftest.er1
42157 cat conftest.err >&5
42158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42159 (exit $ac_status); } && {
42160 test -z "$ac_c_werror_flag" ||
42161 test ! -s conftest.err
42162 } && test -s conftest$ac_exeext &&
42163 $as_test_x conftest$ac_exeext; then
42164 ac_cv_lib_shl_load_dld=yes
42165 else
42166 echo "$as_me: failed program was:" >&5
42167 sed 's/^/| /' conftest.$ac_ext >&5
42168
42169 ac_cv_lib_shl_load_dld=no
42170 fi
42171
42172 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42173 conftest$ac_exeext conftest.$ac_ext
42174 LIBS=$ac_check_lib_save_LIBS
42175 fi
42176 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
42177 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
42178 if test $ac_cv_lib_shl_load_dld = yes; then
42179
42180 HAVE_SHL_FUNCS=1
42181 DL_LINK=" -ldld$DL_LINK"
42182
42183 fi
42184
42185
42186 fi
42187 done
42188
42189
42190 fi
42191
42192
42193 fi
42194 done
42195
42196
42197 if test "$HAVE_DL_FUNCS" = 1; then
42198
42199 for ac_func in dlerror
42200 do
42201 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42202 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42203 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42204 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42205 echo $ECHO_N "(cached) $ECHO_C" >&6
42206 else
42207 cat >conftest.$ac_ext <<_ACEOF
42208 /* confdefs.h. */
42209 _ACEOF
42210 cat confdefs.h >>conftest.$ac_ext
42211 cat >>conftest.$ac_ext <<_ACEOF
42212 /* end confdefs.h. */
42213 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42214 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42215 #define $ac_func innocuous_$ac_func
42216
42217 /* System header to define __stub macros and hopefully few prototypes,
42218 which can conflict with char $ac_func (); below.
42219 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42220 <limits.h> exists even on freestanding compilers. */
42221
42222 #ifdef __STDC__
42223 # include <limits.h>
42224 #else
42225 # include <assert.h>
42226 #endif
42227
42228 #undef $ac_func
42229
42230 /* Override any GCC internal prototype to avoid an error.
42231 Use char because int might match the return type of a GCC
42232 builtin and then its argument prototype would still apply. */
42233 #ifdef __cplusplus
42234 extern "C"
42235 #endif
42236 char $ac_func ();
42237 /* The GNU C library defines this for functions which it implements
42238 to always fail with ENOSYS. Some functions are actually named
42239 something starting with __ and the normal name is an alias. */
42240 #if defined __stub_$ac_func || defined __stub___$ac_func
42241 choke me
42242 #endif
42243
42244 int
42245 main ()
42246 {
42247 return $ac_func ();
42248 ;
42249 return 0;
42250 }
42251 _ACEOF
42252 rm -f conftest.$ac_objext conftest$ac_exeext
42253 if { (ac_try="$ac_link"
42254 case "(($ac_try" in
42255 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42256 *) ac_try_echo=$ac_try;;
42257 esac
42258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42259 (eval "$ac_link") 2>conftest.er1
42260 ac_status=$?
42261 grep -v '^ *+' conftest.er1 >conftest.err
42262 rm -f conftest.er1
42263 cat conftest.err >&5
42264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42265 (exit $ac_status); } && {
42266 test -z "$ac_c_werror_flag" ||
42267 test ! -s conftest.err
42268 } && test -s conftest$ac_exeext &&
42269 $as_test_x conftest$ac_exeext; then
42270 eval "$as_ac_var=yes"
42271 else
42272 echo "$as_me: failed program was:" >&5
42273 sed 's/^/| /' conftest.$ac_ext >&5
42274
42275 eval "$as_ac_var=no"
42276 fi
42277
42278 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42279 conftest$ac_exeext conftest.$ac_ext
42280 fi
42281 ac_res=`eval echo '${'$as_ac_var'}'`
42282 { echo "$as_me:$LINENO: result: $ac_res" >&5
42283 echo "${ECHO_T}$ac_res" >&6; }
42284 if test `eval echo '${'$as_ac_var'}'` = yes; then
42285 cat >>confdefs.h <<_ACEOF
42286 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42287 _ACEOF
42288 cat >>confdefs.h <<\_ACEOF
42289 #define HAVE_DLERROR 1
42290 _ACEOF
42291
42292 else
42293
42294 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
42295 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
42296 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
42297 echo $ECHO_N "(cached) $ECHO_C" >&6
42298 else
42299 ac_check_lib_save_LIBS=$LIBS
42300 LIBS="-ldl $LIBS"
42301 cat >conftest.$ac_ext <<_ACEOF
42302 /* confdefs.h. */
42303 _ACEOF
42304 cat confdefs.h >>conftest.$ac_ext
42305 cat >>conftest.$ac_ext <<_ACEOF
42306 /* end confdefs.h. */
42307
42308 /* Override any GCC internal prototype to avoid an error.
42309 Use char because int might match the return type of a GCC
42310 builtin and then its argument prototype would still apply. */
42311 #ifdef __cplusplus
42312 extern "C"
42313 #endif
42314 char dlerror ();
42315 int
42316 main ()
42317 {
42318 return dlerror ();
42319 ;
42320 return 0;
42321 }
42322 _ACEOF
42323 rm -f conftest.$ac_objext conftest$ac_exeext
42324 if { (ac_try="$ac_link"
42325 case "(($ac_try" in
42326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42327 *) ac_try_echo=$ac_try;;
42328 esac
42329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42330 (eval "$ac_link") 2>conftest.er1
42331 ac_status=$?
42332 grep -v '^ *+' conftest.er1 >conftest.err
42333 rm -f conftest.er1
42334 cat conftest.err >&5
42335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42336 (exit $ac_status); } && {
42337 test -z "$ac_c_werror_flag" ||
42338 test ! -s conftest.err
42339 } && test -s conftest$ac_exeext &&
42340 $as_test_x conftest$ac_exeext; then
42341 ac_cv_lib_dl_dlerror=yes
42342 else
42343 echo "$as_me: failed program was:" >&5
42344 sed 's/^/| /' conftest.$ac_ext >&5
42345
42346 ac_cv_lib_dl_dlerror=no
42347 fi
42348
42349 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42350 conftest$ac_exeext conftest.$ac_ext
42351 LIBS=$ac_check_lib_save_LIBS
42352 fi
42353 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
42354 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
42355 if test $ac_cv_lib_dl_dlerror = yes; then
42356 cat >>confdefs.h <<\_ACEOF
42357 #define HAVE_DLERROR 1
42358 _ACEOF
42359
42360 fi
42361
42362
42363
42364 fi
42365 done
42366
42367 fi
42368 fi
42369
42370 if test "$USE_DARWIN" = 1; then
42371 HAVE_DL_FUNCS=1
42372 fi
42373
42374 if test "$HAVE_DL_FUNCS" = 0; then
42375 if test "$HAVE_SHL_FUNCS" = 0; then
42376 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
42377 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
42378 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
42379 wxUSE_DYNAMIC_LOADER=no
42380 wxUSE_DYNLIB_CLASS=no
42381 else
42382 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
42383 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
42384 fi
42385 fi
42386 fi
42387 fi
42388 fi
42389
42390 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
42391 cat >>confdefs.h <<\_ACEOF
42392 #define wxUSE_DYNAMIC_LOADER 1
42393 _ACEOF
42394
42395 fi
42396 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42397 cat >>confdefs.h <<\_ACEOF
42398 #define wxUSE_DYNLIB_CLASS 1
42399 _ACEOF
42400
42401 fi
42402
42403
42404
42405 if test "$wxUSE_PLUGINS" = "yes" ; then
42406 if test "$wxUSE_SHARED" = "no" ; then
42407 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
42408 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
42409 wxUSE_PLUGINS=no
42410 fi
42411 if test "$wxUSE_MONOLITHIC" = "yes" ; then
42412 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
42413 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
42414 wxUSE_PLUGINS=no
42415 fi
42416 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
42417 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
42418 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
42419 wxUSE_PLUGINS=no
42420 fi
42421 if test "$wxUSE_PLUGINS" = "yes" ; then
42422 cat >>confdefs.h <<\_ACEOF
42423 #define wxUSE_PLUGINS 1
42424 _ACEOF
42425
42426 fi
42427 fi
42428
42429
42430 if test "$wxUSE_STL" = "yes"; then
42431 cat >>confdefs.h <<\_ACEOF
42432 #define wxUSE_STL 1
42433 _ACEOF
42434
42435 fi
42436
42437 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
42438 cat >>confdefs.h <<\_ACEOF
42439 #define wxUSE_EXTENDED_RTTI 1
42440 _ACEOF
42441
42442 fi
42443
42444 if test "$wxUSE_ANY" = "yes"; then
42445 cat >>confdefs.h <<\_ACEOF
42446 #define wxUSE_ANY 1
42447 _ACEOF
42448
42449 fi
42450
42451 if test "$wxUSE_APPLE_IEEE" = "yes"; then
42452 cat >>confdefs.h <<\_ACEOF
42453 #define wxUSE_APPLE_IEEE 1
42454 _ACEOF
42455
42456 fi
42457
42458 if test "$wxUSE_TIMER" = "yes"; then
42459 cat >>confdefs.h <<\_ACEOF
42460 #define wxUSE_TIMER 1
42461 _ACEOF
42462
42463 fi
42464
42465 if test "$USE_UNIX" = 1 ; then
42466 if test "$wxUSE_MGL" != 1; then
42467 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
42468 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
42469 if test "${ac_cv_header_sys_soundcard+set}" = set; then
42470 echo $ECHO_N "(cached) $ECHO_C" >&6
42471 else
42472
42473 cat >conftest.$ac_ext <<_ACEOF
42474 /* confdefs.h. */
42475 _ACEOF
42476 cat confdefs.h >>conftest.$ac_ext
42477 cat >>conftest.$ac_ext <<_ACEOF
42478 /* end confdefs.h. */
42479
42480 #include <sys/ioctl.h>
42481 #include <sys/soundcard.h>
42482
42483 int
42484 main ()
42485 {
42486
42487 ioctl(0, SNDCTL_DSP_SPEED, 0);
42488
42489 ;
42490 return 0;
42491 }
42492 _ACEOF
42493 rm -f conftest.$ac_objext conftest$ac_exeext
42494 if { (ac_try="$ac_link"
42495 case "(($ac_try" in
42496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42497 *) ac_try_echo=$ac_try;;
42498 esac
42499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42500 (eval "$ac_link") 2>conftest.er1
42501 ac_status=$?
42502 grep -v '^ *+' conftest.er1 >conftest.err
42503 rm -f conftest.er1
42504 cat conftest.err >&5
42505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42506 (exit $ac_status); } && {
42507 test -z "$ac_c_werror_flag" ||
42508 test ! -s conftest.err
42509 } && test -s conftest$ac_exeext &&
42510 $as_test_x conftest$ac_exeext; then
42511 ac_cv_header_sys_soundcard=yes
42512 else
42513 echo "$as_me: failed program was:" >&5
42514 sed 's/^/| /' conftest.$ac_ext >&5
42515
42516
42517 saveLibs="$LIBS"
42518 LIBS="$saveLibs -lossaudio"
42519 cat >conftest.$ac_ext <<_ACEOF
42520 /* confdefs.h. */
42521 _ACEOF
42522 cat confdefs.h >>conftest.$ac_ext
42523 cat >>conftest.$ac_ext <<_ACEOF
42524 /* end confdefs.h. */
42525
42526 #include <sys/ioctl.h>
42527 #include <sys/soundcard.h>
42528
42529 int
42530 main ()
42531 {
42532
42533 ioctl(0, SNDCTL_DSP_SPEED, 0);
42534
42535 ;
42536 return 0;
42537 }
42538 _ACEOF
42539 rm -f conftest.$ac_objext conftest$ac_exeext
42540 if { (ac_try="$ac_link"
42541 case "(($ac_try" in
42542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42543 *) ac_try_echo=$ac_try;;
42544 esac
42545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42546 (eval "$ac_link") 2>conftest.er1
42547 ac_status=$?
42548 grep -v '^ *+' conftest.er1 >conftest.err
42549 rm -f conftest.er1
42550 cat conftest.err >&5
42551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42552 (exit $ac_status); } && {
42553 test -z "$ac_c_werror_flag" ||
42554 test ! -s conftest.err
42555 } && test -s conftest$ac_exeext &&
42556 $as_test_x conftest$ac_exeext; then
42557 ac_cv_header_sys_soundcard=yes
42558 else
42559 echo "$as_me: failed program was:" >&5
42560 sed 's/^/| /' conftest.$ac_ext >&5
42561
42562
42563 LIBS="$saveLibs"
42564 ac_cv_header_sys_soundcard=no
42565
42566
42567 fi
42568
42569 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42570 conftest$ac_exeext conftest.$ac_ext
42571
42572
42573 fi
42574
42575 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42576 conftest$ac_exeext conftest.$ac_ext
42577
42578 fi
42579 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
42580 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
42581 fi
42582
42583 if test "$ac_cv_header_sys_soundcard" = "yes"; then
42584 cat >>confdefs.h <<\_ACEOF
42585 #define HAVE_SYS_SOUNDCARD_H 1
42586 _ACEOF
42587
42588 fi
42589 fi
42590
42591 WITH_PLUGIN_SDL=0
42592 if test "$wxUSE_SOUND" = "yes"; then
42593 if test "$USE_UNIX" = 1 ; then
42594 if test "$wxUSE_LIBSDL" != "no"; then
42595
42596 # Check whether --with-sdl-prefix was given.
42597 if test "${with_sdl_prefix+set}" = set; then
42598 withval=$with_sdl_prefix; sdl_prefix="$withval"
42599 else
42600 sdl_prefix=""
42601 fi
42602
42603
42604 # Check whether --with-sdl-exec-prefix was given.
42605 if test "${with_sdl_exec_prefix+set}" = set; then
42606 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
42607 else
42608 sdl_exec_prefix=""
42609 fi
42610
42611 # Check whether --enable-sdltest was given.
42612 if test "${enable_sdltest+set}" = set; then
42613 enableval=$enable_sdltest;
42614 else
42615 enable_sdltest=yes
42616 fi
42617
42618
42619 if test x$sdl_exec_prefix != x ; then
42620 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
42621 if test x${SDL_CONFIG+set} != xset ; then
42622 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
42623 fi
42624 fi
42625 if test x$sdl_prefix != x ; then
42626 sdl_args="$sdl_args --prefix=$sdl_prefix"
42627 if test x${SDL_CONFIG+set} != xset ; then
42628 SDL_CONFIG=$sdl_prefix/bin/sdl-config
42629 fi
42630 fi
42631
42632 if test "x$prefix" != xNONE; then
42633 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
42634 fi
42635 # Extract the first word of "sdl-config", so it can be a program name with args.
42636 set dummy sdl-config; ac_word=$2
42637 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42638 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42639 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
42640 echo $ECHO_N "(cached) $ECHO_C" >&6
42641 else
42642 case $SDL_CONFIG in
42643 [\\/]* | ?:[\\/]*)
42644 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
42645 ;;
42646 *)
42647 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42648 for as_dir in $PATH
42649 do
42650 IFS=$as_save_IFS
42651 test -z "$as_dir" && as_dir=.
42652 for ac_exec_ext in '' $ac_executable_extensions; do
42653 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42654 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42655 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42656 break 2
42657 fi
42658 done
42659 done
42660 IFS=$as_save_IFS
42661
42662 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
42663 ;;
42664 esac
42665 fi
42666 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
42667 if test -n "$SDL_CONFIG"; then
42668 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
42669 echo "${ECHO_T}$SDL_CONFIG" >&6; }
42670 else
42671 { echo "$as_me:$LINENO: result: no" >&5
42672 echo "${ECHO_T}no" >&6; }
42673 fi
42674
42675
42676 min_sdl_version=1.2.0
42677 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
42678 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
42679 no_sdl=""
42680 if test "$SDL_CONFIG" = "no" ; then
42681 no_sdl=yes
42682 else
42683 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
42684 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
42685
42686 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
42687 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
42688 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
42689 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
42690 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
42691 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
42692 if test "x$enable_sdltest" = "xyes" ; then
42693 ac_save_CFLAGS="$CFLAGS"
42694 ac_save_CXXFLAGS="$CXXFLAGS"
42695 ac_save_LIBS="$LIBS"
42696 CFLAGS="$CFLAGS $SDL_CFLAGS"
42697 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42698 LIBS="$LIBS $SDL_LIBS"
42699 rm -f conf.sdltest
42700 if test "$cross_compiling" = yes; then
42701 echo $ac_n "cross compiling; assumed OK... $ac_c"
42702 else
42703 cat >conftest.$ac_ext <<_ACEOF
42704 /* confdefs.h. */
42705 _ACEOF
42706 cat confdefs.h >>conftest.$ac_ext
42707 cat >>conftest.$ac_ext <<_ACEOF
42708 /* end confdefs.h. */
42709
42710 #include <stdio.h>
42711 #include <stdlib.h>
42712 #include <string.h>
42713 #include "SDL.h"
42714
42715 char*
42716 my_strdup (char *str)
42717 {
42718 char *new_str;
42719
42720 if (str)
42721 {
42722 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
42723 strcpy (new_str, str);
42724 }
42725 else
42726 new_str = NULL;
42727
42728 return new_str;
42729 }
42730
42731 int main (int argc, char *argv[])
42732 {
42733 int major, minor, micro;
42734 char *tmp_version;
42735
42736 /* This hangs on some systems (?)
42737 system ("touch conf.sdltest");
42738 */
42739 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
42740
42741 /* HP/UX 9 (%@#!) writes to sscanf strings */
42742 tmp_version = my_strdup("$min_sdl_version");
42743 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
42744 printf("%s, bad version string\n", "$min_sdl_version");
42745 exit(1);
42746 }
42747
42748 if (($sdl_major_version > major) ||
42749 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
42750 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
42751 {
42752 return 0;
42753 }
42754 else
42755 {
42756 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
42757 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
42758 printf("*** best to upgrade to the required version.\n");
42759 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
42760 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
42761 printf("*** config.cache before re-running configure\n");
42762 return 1;
42763 }
42764 }
42765
42766
42767 _ACEOF
42768 rm -f conftest$ac_exeext
42769 if { (ac_try="$ac_link"
42770 case "(($ac_try" in
42771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42772 *) ac_try_echo=$ac_try;;
42773 esac
42774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42775 (eval "$ac_link") 2>&5
42776 ac_status=$?
42777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42778 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
42779 { (case "(($ac_try" in
42780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42781 *) ac_try_echo=$ac_try;;
42782 esac
42783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42784 (eval "$ac_try") 2>&5
42785 ac_status=$?
42786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42787 (exit $ac_status); }; }; then
42788 :
42789 else
42790 echo "$as_me: program exited with status $ac_status" >&5
42791 echo "$as_me: failed program was:" >&5
42792 sed 's/^/| /' conftest.$ac_ext >&5
42793
42794 ( exit $ac_status )
42795 no_sdl=yes
42796 fi
42797 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
42798 fi
42799
42800
42801 CFLAGS="$ac_save_CFLAGS"
42802 CXXFLAGS="$ac_save_CXXFLAGS"
42803 LIBS="$ac_save_LIBS"
42804 fi
42805 fi
42806 if test "x$no_sdl" = x ; then
42807 { echo "$as_me:$LINENO: result: yes" >&5
42808 echo "${ECHO_T}yes" >&6; }
42809
42810 EXTRALIBS_SDL="$SDL_LIBS"
42811 CFLAGS="$SDL_CFLAGS $CFLAGS"
42812 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
42813 cat >>confdefs.h <<\_ACEOF
42814 #define wxUSE_LIBSDL 1
42815 _ACEOF
42816
42817
42818 else
42819 { echo "$as_me:$LINENO: result: no" >&5
42820 echo "${ECHO_T}no" >&6; }
42821 if test "$SDL_CONFIG" = "no" ; then
42822 echo "*** The sdl-config script installed by SDL could not be found"
42823 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
42824 echo "*** your path, or set the SDL_CONFIG environment variable to the"
42825 echo "*** full path to sdl-config."
42826 else
42827 if test -f conf.sdltest ; then
42828 :
42829 else
42830 echo "*** Could not run SDL test program, checking why..."
42831 CFLAGS="$CFLAGS $SDL_CFLAGS"
42832 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42833 LIBS="$LIBS $SDL_LIBS"
42834 cat >conftest.$ac_ext <<_ACEOF
42835 /* confdefs.h. */
42836 _ACEOF
42837 cat confdefs.h >>conftest.$ac_ext
42838 cat >>conftest.$ac_ext <<_ACEOF
42839 /* end confdefs.h. */
42840
42841 #include <stdio.h>
42842 #include "SDL.h"
42843
42844 int main(int argc, char *argv[])
42845 { return 0; }
42846 #undef main
42847 #define main K_and_R_C_main
42848
42849 int
42850 main ()
42851 {
42852 return 0;
42853 ;
42854 return 0;
42855 }
42856 _ACEOF
42857 rm -f conftest.$ac_objext conftest$ac_exeext
42858 if { (ac_try="$ac_link"
42859 case "(($ac_try" in
42860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42861 *) ac_try_echo=$ac_try;;
42862 esac
42863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42864 (eval "$ac_link") 2>conftest.er1
42865 ac_status=$?
42866 grep -v '^ *+' conftest.er1 >conftest.err
42867 rm -f conftest.er1
42868 cat conftest.err >&5
42869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42870 (exit $ac_status); } && {
42871 test -z "$ac_c_werror_flag" ||
42872 test ! -s conftest.err
42873 } && test -s conftest$ac_exeext &&
42874 $as_test_x conftest$ac_exeext; then
42875 echo "*** The test program compiled, but did not run. This usually means"
42876 echo "*** that the run-time linker is not finding SDL or finding the wrong"
42877 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
42878 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
42879 echo "*** to the installed location Also, make sure you have run ldconfig if that"
42880 echo "*** is required on your system"
42881 echo "***"
42882 echo "*** If you have an old version installed, it is best to remove it, although"
42883 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
42884 else
42885 echo "$as_me: failed program was:" >&5
42886 sed 's/^/| /' conftest.$ac_ext >&5
42887
42888 echo "*** The test program failed to compile or link. See the file config.log for the"
42889 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
42890 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
42891 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
42892 fi
42893
42894 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42895 conftest$ac_exeext conftest.$ac_ext
42896 CFLAGS="$ac_save_CFLAGS"
42897 CXXFLAGS="$ac_save_CXXFLAGS"
42898 LIBS="$ac_save_LIBS"
42899 fi
42900 fi
42901 SDL_CFLAGS=""
42902 SDL_LIBS=""
42903 wxUSE_LIBSDL="no"
42904 fi
42905
42906
42907 rm -f conf.sdltest
42908
42909 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
42910 WITH_PLUGIN_SDL=1
42911 fi
42912 fi
42913 else
42914 if test "$wxUSE_MGL" = 1; then
42915 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
42916 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
42917 wxUSE_SOUND="no"
42918 fi
42919 fi
42920 fi
42921
42922 if test "$wxUSE_SOUND" = "yes"; then
42923 cat >>confdefs.h <<\_ACEOF
42924 #define wxUSE_SOUND 1
42925 _ACEOF
42926
42927 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
42928 fi
42929
42930 if test "$WXGTK2" = 1; then
42931
42932
42933 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
42934 if test -n "$ac_tool_prefix"; then
42935 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
42936 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
42937 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42938 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42939 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
42940 echo $ECHO_N "(cached) $ECHO_C" >&6
42941 else
42942 case $PKG_CONFIG in
42943 [\\/]* | ?:[\\/]*)
42944 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
42945 ;;
42946 *)
42947 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42948 for as_dir in $PATH
42949 do
42950 IFS=$as_save_IFS
42951 test -z "$as_dir" && as_dir=.
42952 for ac_exec_ext in '' $ac_executable_extensions; do
42953 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42954 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42955 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42956 break 2
42957 fi
42958 done
42959 done
42960 IFS=$as_save_IFS
42961
42962 ;;
42963 esac
42964 fi
42965 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
42966 if test -n "$PKG_CONFIG"; then
42967 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
42968 echo "${ECHO_T}$PKG_CONFIG" >&6; }
42969 else
42970 { echo "$as_me:$LINENO: result: no" >&5
42971 echo "${ECHO_T}no" >&6; }
42972 fi
42973
42974
42975 fi
42976 if test -z "$ac_cv_path_PKG_CONFIG"; then
42977 ac_pt_PKG_CONFIG=$PKG_CONFIG
42978 # Extract the first word of "pkg-config", so it can be a program name with args.
42979 set dummy pkg-config; ac_word=$2
42980 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42981 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42982 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
42983 echo $ECHO_N "(cached) $ECHO_C" >&6
42984 else
42985 case $ac_pt_PKG_CONFIG in
42986 [\\/]* | ?:[\\/]*)
42987 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
42988 ;;
42989 *)
42990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42991 for as_dir in $PATH
42992 do
42993 IFS=$as_save_IFS
42994 test -z "$as_dir" && as_dir=.
42995 for ac_exec_ext in '' $ac_executable_extensions; do
42996 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42997 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42998 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42999 break 2
43000 fi
43001 done
43002 done
43003 IFS=$as_save_IFS
43004
43005 ;;
43006 esac
43007 fi
43008 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
43009 if test -n "$ac_pt_PKG_CONFIG"; then
43010 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
43011 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
43012 else
43013 { echo "$as_me:$LINENO: result: no" >&5
43014 echo "${ECHO_T}no" >&6; }
43015 fi
43016
43017 if test "x$ac_pt_PKG_CONFIG" = x; then
43018 PKG_CONFIG=""
43019 else
43020 case $cross_compiling:$ac_tool_warned in
43021 yes:)
43022 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
43023 whose name does not start with the host triplet. If you think this
43024 configuration is useful to you, please write to autoconf@gnu.org." >&5
43025 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
43026 whose name does not start with the host triplet. If you think this
43027 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
43028 ac_tool_warned=yes ;;
43029 esac
43030 PKG_CONFIG=$ac_pt_PKG_CONFIG
43031 fi
43032 else
43033 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
43034 fi
43035
43036 fi
43037 if test -n "$PKG_CONFIG"; then
43038 _pkg_min_version=0.9.0
43039 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
43040 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
43041 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
43042 { echo "$as_me:$LINENO: result: yes" >&5
43043 echo "${ECHO_T}yes" >&6; }
43044 else
43045 { echo "$as_me:$LINENO: result: no" >&5
43046 echo "${ECHO_T}no" >&6; }
43047 PKG_CONFIG=""
43048 fi
43049
43050 fi
43051
43052 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
43053
43054 if test "$wxUSE_GTKPRINT" = "yes" ; then
43055
43056
43057 pkg_failed=no
43058 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
43059 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
43060
43061 if test -n "$PKG_CONFIG"; then
43062 if test -n "$GTKPRINT_CFLAGS"; then
43063 pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
43064 else
43065 if test -n "$PKG_CONFIG" && \
43066 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
43067 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
43068 ac_status=$?
43069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43070 (exit $ac_status); }; then
43071 pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
43072 else
43073 pkg_failed=yes
43074 fi
43075 fi
43076 else
43077 pkg_failed=untried
43078 fi
43079 if test -n "$PKG_CONFIG"; then
43080 if test -n "$GTKPRINT_LIBS"; then
43081 pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
43082 else
43083 if test -n "$PKG_CONFIG" && \
43084 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
43085 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
43086 ac_status=$?
43087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43088 (exit $ac_status); }; then
43089 pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
43090 else
43091 pkg_failed=yes
43092 fi
43093 fi
43094 else
43095 pkg_failed=untried
43096 fi
43097
43098
43099
43100 if test $pkg_failed = yes; then
43101
43102 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43103 _pkg_short_errors_supported=yes
43104 else
43105 _pkg_short_errors_supported=no
43106 fi
43107 if test $_pkg_short_errors_supported = yes; then
43108 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
43109 else
43110 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
43111 fi
43112 # Put the nasty error message in config.log where it belongs
43113 echo "$GTKPRINT_PKG_ERRORS" >&5
43114
43115
43116 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
43117 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
43118 wxUSE_GTKPRINT="no"
43119
43120
43121 elif test $pkg_failed = untried; then
43122
43123 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
43124 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
43125 wxUSE_GTKPRINT="no"
43126
43127
43128 else
43129 GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
43130 GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
43131 { echo "$as_me:$LINENO: result: yes" >&5
43132 echo "${ECHO_T}yes" >&6; }
43133
43134 CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
43135 CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
43136 cat >>confdefs.h <<\_ACEOF
43137 #define wxUSE_GTKPRINT 1
43138 _ACEOF
43139
43140
43141 fi
43142 fi
43143
43144 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
43145
43146
43147 pkg_failed=no
43148 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
43149 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
43150
43151 if test -n "$PKG_CONFIG"; then
43152 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
43153 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
43154 else
43155 if test -n "$PKG_CONFIG" && \
43156 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
43157 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
43158 ac_status=$?
43159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43160 (exit $ac_status); }; then
43161 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
43162 else
43163 pkg_failed=yes
43164 fi
43165 fi
43166 else
43167 pkg_failed=untried
43168 fi
43169 if test -n "$PKG_CONFIG"; then
43170 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
43171 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
43172 else
43173 if test -n "$PKG_CONFIG" && \
43174 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
43175 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
43176 ac_status=$?
43177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43178 (exit $ac_status); }; then
43179 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
43180 else
43181 pkg_failed=yes
43182 fi
43183 fi
43184 else
43185 pkg_failed=untried
43186 fi
43187
43188
43189
43190 if test $pkg_failed = yes; then
43191
43192 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43193 _pkg_short_errors_supported=yes
43194 else
43195 _pkg_short_errors_supported=no
43196 fi
43197 if test $_pkg_short_errors_supported = yes; then
43198 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
43199 else
43200 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
43201 fi
43202 # Put the nasty error message in config.log where it belongs
43203 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
43204
43205
43206 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
43207 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
43208 wxUSE_LIBGNOMEPRINT="no"
43209
43210
43211 elif test $pkg_failed = untried; then
43212
43213 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
43214 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
43215 wxUSE_LIBGNOMEPRINT="no"
43216
43217
43218 else
43219 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
43220 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
43221 { echo "$as_me:$LINENO: result: yes" >&5
43222 echo "${ECHO_T}yes" >&6; }
43223
43224 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
43225 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
43226 cat >>confdefs.h <<\_ACEOF
43227 #define wxUSE_LIBGNOMEPRINT 1
43228 _ACEOF
43229
43230
43231 fi
43232 fi
43233 fi
43234
43235 if test "$wxUSE_MIMETYPE" = "yes" ; then
43236 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
43237
43238
43239 pkg_failed=no
43240 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
43241 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
43242
43243 if test -n "$PKG_CONFIG"; then
43244 if test -n "$GNOMEVFS_CFLAGS"; then
43245 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
43246 else
43247 if test -n "$PKG_CONFIG" && \
43248 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
43249 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
43250 ac_status=$?
43251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43252 (exit $ac_status); }; then
43253 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
43254 else
43255 pkg_failed=yes
43256 fi
43257 fi
43258 else
43259 pkg_failed=untried
43260 fi
43261 if test -n "$PKG_CONFIG"; then
43262 if test -n "$GNOMEVFS_LIBS"; then
43263 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
43264 else
43265 if test -n "$PKG_CONFIG" && \
43266 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
43267 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
43268 ac_status=$?
43269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43270 (exit $ac_status); }; then
43271 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
43272 else
43273 pkg_failed=yes
43274 fi
43275 fi
43276 else
43277 pkg_failed=untried
43278 fi
43279
43280
43281
43282 if test $pkg_failed = yes; then
43283
43284 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43285 _pkg_short_errors_supported=yes
43286 else
43287 _pkg_short_errors_supported=no
43288 fi
43289 if test $_pkg_short_errors_supported = yes; then
43290 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
43291 else
43292 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
43293 fi
43294 # Put the nasty error message in config.log where it belongs
43295 echo "$GNOMEVFS_PKG_ERRORS" >&5
43296
43297
43298 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
43299 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
43300 wxUSE_LIBGNOMEVFS="no"
43301
43302
43303 elif test $pkg_failed = untried; then
43304
43305 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
43306 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
43307 wxUSE_LIBGNOMEVFS="no"
43308
43309
43310 else
43311 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
43312 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
43313 { echo "$as_me:$LINENO: result: yes" >&5
43314 echo "${ECHO_T}yes" >&6; }
43315
43316 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
43317 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
43318 cat >>confdefs.h <<\_ACEOF
43319 #define wxUSE_LIBGNOMEVFS 1
43320 _ACEOF
43321
43322
43323 fi
43324 fi
43325 fi
43326
43327 if test "$wxUSE_LIBHILDON" = "yes" ; then
43328
43329 pkg_failed=no
43330 { echo "$as_me:$LINENO: checking for HILDON" >&5
43331 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
43332
43333 if test -n "$PKG_CONFIG"; then
43334 if test -n "$HILDON_CFLAGS"; then
43335 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
43336 else
43337 if test -n "$PKG_CONFIG" && \
43338 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43339 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43340 ac_status=$?
43341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43342 (exit $ac_status); }; then
43343 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
43344 else
43345 pkg_failed=yes
43346 fi
43347 fi
43348 else
43349 pkg_failed=untried
43350 fi
43351 if test -n "$PKG_CONFIG"; then
43352 if test -n "$HILDON_LIBS"; then
43353 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
43354 else
43355 if test -n "$PKG_CONFIG" && \
43356 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43357 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43358 ac_status=$?
43359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43360 (exit $ac_status); }; then
43361 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
43362 else
43363 pkg_failed=yes
43364 fi
43365 fi
43366 else
43367 pkg_failed=untried
43368 fi
43369
43370
43371
43372 if test $pkg_failed = yes; then
43373
43374 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43375 _pkg_short_errors_supported=yes
43376 else
43377 _pkg_short_errors_supported=no
43378 fi
43379 if test $_pkg_short_errors_supported = yes; then
43380 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43381 else
43382 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43383 fi
43384 # Put the nasty error message in config.log where it belongs
43385 echo "$HILDON_PKG_ERRORS" >&5
43386
43387
43388 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43389 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43390 wxUSE_LIBHILDON="no"
43391 ac_hildon_lgpl=0
43392
43393
43394 elif test $pkg_failed = untried; then
43395
43396 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43397 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43398 wxUSE_LIBHILDON="no"
43399 ac_hildon_lgpl=0
43400
43401
43402 else
43403 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
43404 HILDON_LIBS=$pkg_cv_HILDON_LIBS
43405 { echo "$as_me:$LINENO: result: yes" >&5
43406 echo "${ECHO_T}yes" >&6; }
43407
43408 EXTRALIBS_HILDON="$HILDON_LIBS"
43409 CFLAGS="$CFLAGS $HILDON_CFLAGS"
43410 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
43411 cat >>confdefs.h <<\_ACEOF
43412 #define wxUSE_LIBHILDON 1
43413 _ACEOF
43414
43415 ac_hildon_lgpl=1
43416
43417 fi
43418
43419 if test "$ac_hildon_lgpl" = 0 ; then
43420
43421 pkg_failed=no
43422 { echo "$as_me:$LINENO: checking for HILDON2" >&5
43423 echo $ECHO_N "checking for HILDON2... $ECHO_C" >&6; }
43424
43425 if test -n "$PKG_CONFIG"; then
43426 if test -n "$HILDON2_CFLAGS"; then
43427 pkg_cv_HILDON2_CFLAGS="$HILDON2_CFLAGS"
43428 else
43429 if test -n "$PKG_CONFIG" && \
43430 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\"") >&5
43431 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
43432 ac_status=$?
43433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43434 (exit $ac_status); }; then
43435 pkg_cv_HILDON2_CFLAGS=`$PKG_CONFIG --cflags "hildon-1 >= 1.99" 2>/dev/null`
43436 else
43437 pkg_failed=yes
43438 fi
43439 fi
43440 else
43441 pkg_failed=untried
43442 fi
43443 if test -n "$PKG_CONFIG"; then
43444 if test -n "$HILDON2_LIBS"; then
43445 pkg_cv_HILDON2_LIBS="$HILDON2_LIBS"
43446 else
43447 if test -n "$PKG_CONFIG" && \
43448 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\"") >&5
43449 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
43450 ac_status=$?
43451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43452 (exit $ac_status); }; then
43453 pkg_cv_HILDON2_LIBS=`$PKG_CONFIG --libs "hildon-1 >= 1.99" 2>/dev/null`
43454 else
43455 pkg_failed=yes
43456 fi
43457 fi
43458 else
43459 pkg_failed=untried
43460 fi
43461
43462
43463
43464 if test $pkg_failed = yes; then
43465
43466 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43467 _pkg_short_errors_supported=yes
43468 else
43469 _pkg_short_errors_supported=no
43470 fi
43471 if test $_pkg_short_errors_supported = yes; then
43472 HILDON2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
43473 else
43474 HILDON2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
43475 fi
43476 # Put the nasty error message in config.log where it belongs
43477 echo "$HILDON2_PKG_ERRORS" >&5
43478
43479
43480 { echo "$as_me:$LINENO: WARNING: libhildon_1 not found" >&5
43481 echo "$as_me: WARNING: libhildon_1 not found" >&2;}
43482 wxUSE_LIBHILDON2="no"
43483
43484
43485 elif test $pkg_failed = untried; then
43486
43487 { echo "$as_me:$LINENO: WARNING: libhildon_1 not found" >&5
43488 echo "$as_me: WARNING: libhildon_1 not found" >&2;}
43489 wxUSE_LIBHILDON2="no"
43490
43491
43492 else
43493 HILDON2_CFLAGS=$pkg_cv_HILDON2_CFLAGS
43494 HILDON2_LIBS=$pkg_cv_HILDON2_LIBS
43495 { echo "$as_me:$LINENO: result: yes" >&5
43496 echo "${ECHO_T}yes" >&6; }
43497
43498 EXTRALIBS_HILDON="$HILDON2_LIBS"
43499 CFLAGS="$CFLAGS $HILDON2_CFLAGS"
43500 CXXFLAGS="$CXXFLAGS $HILDON2_CFLAGS"
43501 cat >>confdefs.h <<\_ACEOF
43502 #define wxUSE_LIBHILDON2 1
43503 _ACEOF
43504
43505
43506 fi
43507 fi
43508 fi
43509 fi
43510
43511 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
43512 cat >>confdefs.h <<\_ACEOF
43513 #define wxUSE_CMDLINE_PARSER 1
43514 _ACEOF
43515
43516 fi
43517
43518 if test "$wxUSE_STOPWATCH" = "yes"; then
43519 cat >>confdefs.h <<\_ACEOF
43520 #define wxUSE_STOPWATCH 1
43521 _ACEOF
43522
43523 fi
43524
43525 if test "$wxUSE_DATETIME" = "yes"; then
43526 cat >>confdefs.h <<\_ACEOF
43527 #define wxUSE_DATETIME 1
43528 _ACEOF
43529
43530 fi
43531
43532 if test "$wxUSE_FILE" = "yes"; then
43533 cat >>confdefs.h <<\_ACEOF
43534 #define wxUSE_FILE 1
43535 _ACEOF
43536
43537 fi
43538
43539 if test "$wxUSE_FFILE" = "yes"; then
43540 cat >>confdefs.h <<\_ACEOF
43541 #define wxUSE_FFILE 1
43542 _ACEOF
43543
43544 fi
43545
43546 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
43547 if test "$wxUSE_STREAMS" != yes; then
43548 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
43549 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
43550 wxUSE_ARCHIVE_STREAMS=no
43551 else
43552 cat >>confdefs.h <<\_ACEOF
43553 #define wxUSE_ARCHIVE_STREAMS 1
43554 _ACEOF
43555
43556 fi
43557 fi
43558
43559 if test "$wxUSE_ZIPSTREAM" = "yes"; then
43560 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43561 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
43562 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
43563 elif test "$wxUSE_ZLIB" = "no"; then
43564 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
43565 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
43566 else
43567 cat >>confdefs.h <<\_ACEOF
43568 #define wxUSE_ZIPSTREAM 1
43569 _ACEOF
43570
43571 fi
43572 fi
43573
43574 if test "$wxUSE_TARSTREAM" = "yes"; then
43575 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43576 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
43577 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
43578 else
43579 cat >>confdefs.h <<\_ACEOF
43580 #define wxUSE_TARSTREAM 1
43581 _ACEOF
43582
43583 fi
43584 fi
43585
43586 if test "$wxUSE_FILESYSTEM" = "yes"; then
43587 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
43588 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
43589 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
43590 wxUSE_FILESYSTEM=no
43591 else
43592 cat >>confdefs.h <<\_ACEOF
43593 #define wxUSE_FILESYSTEM 1
43594 _ACEOF
43595
43596 fi
43597 fi
43598
43599 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
43600 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
43601 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
43602 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
43603 else
43604 cat >>confdefs.h <<\_ACEOF
43605 #define wxUSE_FS_ARCHIVE 1
43606 _ACEOF
43607
43608 fi
43609 fi
43610
43611 if test "$wxUSE_FS_ZIP" = "yes"; then
43612 if test "$wxUSE_FS_ARCHIVE" != yes; then
43613 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
43614 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
43615 else
43616 cat >>confdefs.h <<\_ACEOF
43617 #define wxUSE_FS_ZIP 1
43618 _ACEOF
43619
43620 fi
43621 fi
43622
43623 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43624 if test "$USE_UNIX" != 1; then
43625 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
43626 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
43627 wxUSE_ON_FATAL_EXCEPTION=no
43628 else
43629 cat >>confdefs.h <<\_ACEOF
43630 #define wxUSE_ON_FATAL_EXCEPTION 1
43631 _ACEOF
43632
43633 fi
43634 fi
43635
43636 if test "$wxUSE_STACKWALKER" = "yes"; then
43637 cat >>confdefs.h <<\_ACEOF
43638 #define wxUSE_STACKWALKER 1
43639 _ACEOF
43640
43641 fi
43642
43643 if test "$wxUSE_DEBUGREPORT" = "yes"; then
43644 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
43645 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
43646 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
43647 wxUSE_DEBUGREPORT=no
43648 else
43649 cat >>confdefs.h <<\_ACEOF
43650 #define wxUSE_DEBUGREPORT 1
43651 _ACEOF
43652
43653 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43654 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
43655 fi
43656 fi
43657 fi
43658
43659 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
43660 cat >>confdefs.h <<\_ACEOF
43661 #define wxUSE_SNGLINST_CHECKER 1
43662 _ACEOF
43663
43664 fi
43665
43666 if test "$wxUSE_BUSYINFO" = "yes"; then
43667 cat >>confdefs.h <<\_ACEOF
43668 #define wxUSE_BUSYINFO 1
43669 _ACEOF
43670
43671 fi
43672
43673 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
43674 cat >>confdefs.h <<\_ACEOF
43675 #define wxUSE_STD_IOSTREAM 1
43676 _ACEOF
43677
43678 fi
43679
43680 if test "$wxUSE_STD_STRING" = "yes"; then
43681 cat >>confdefs.h <<\_ACEOF
43682 #define wxUSE_STD_STRING 1
43683 _ACEOF
43684
43685 fi
43686
43687 if test "$wxUSE_STDPATHS" = "yes"; then
43688 cat >>confdefs.h <<\_ACEOF
43689 #define wxUSE_STDPATHS 1
43690 _ACEOF
43691
43692 fi
43693
43694 if test "$wxUSE_TEXTBUFFER" = "yes"; then
43695 cat >>confdefs.h <<\_ACEOF
43696 #define wxUSE_TEXTBUFFER 1
43697 _ACEOF
43698
43699 fi
43700
43701 if test "$wxUSE_TEXTFILE" = "yes"; then
43702 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
43703 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
43704 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
43705 else
43706 cat >>confdefs.h <<\_ACEOF
43707 #define wxUSE_TEXTFILE 1
43708 _ACEOF
43709
43710 fi
43711 fi
43712
43713 if test "$wxUSE_CONFIG" = "yes" ; then
43714 if test "$wxUSE_TEXTFILE" != "yes"; then
43715 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
43716 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
43717 else
43718 cat >>confdefs.h <<\_ACEOF
43719 #define wxUSE_CONFIG 1
43720 _ACEOF
43721
43722 cat >>confdefs.h <<\_ACEOF
43723 #define wxUSE_CONFIG_NATIVE 1
43724 _ACEOF
43725
43726 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
43727 fi
43728 fi
43729
43730 if test "$wxUSE_INTL" = "yes" ; then
43731 if test "$wxUSE_FILE" != "yes"; then
43732 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
43733 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
43734 else
43735 cat >>confdefs.h <<\_ACEOF
43736 #define wxUSE_INTL 1
43737 _ACEOF
43738
43739 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
43740 GUIDIST="$GUIDIST INTL_DIST"
43741 fi
43742 fi
43743
43744 if test "$wxUSE_XLOCALE" = "yes" ; then
43745 cat >>confdefs.h <<\_ACEOF
43746 #define wxUSE_XLOCALE 1
43747 _ACEOF
43748
43749 { echo "$as_me:$LINENO: checking for locale_t" >&5
43750 echo $ECHO_N "checking for locale_t... $ECHO_C" >&6; }
43751 if test "${ac_cv_type_locale_t+set}" = set; then
43752 echo $ECHO_N "(cached) $ECHO_C" >&6
43753 else
43754 cat >conftest.$ac_ext <<_ACEOF
43755 /* confdefs.h. */
43756 _ACEOF
43757 cat confdefs.h >>conftest.$ac_ext
43758 cat >>conftest.$ac_ext <<_ACEOF
43759 /* end confdefs.h. */
43760 #include <xlocale.h>
43761 #include <locale.h>
43762
43763 typedef locale_t ac__type_new_;
43764 int
43765 main ()
43766 {
43767 if ((ac__type_new_ *) 0)
43768 return 0;
43769 if (sizeof (ac__type_new_))
43770 return 0;
43771 ;
43772 return 0;
43773 }
43774 _ACEOF
43775 rm -f conftest.$ac_objext
43776 if { (ac_try="$ac_compile"
43777 case "(($ac_try" in
43778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43779 *) ac_try_echo=$ac_try;;
43780 esac
43781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43782 (eval "$ac_compile") 2>conftest.er1
43783 ac_status=$?
43784 grep -v '^ *+' conftest.er1 >conftest.err
43785 rm -f conftest.er1
43786 cat conftest.err >&5
43787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43788 (exit $ac_status); } && {
43789 test -z "$ac_c_werror_flag" ||
43790 test ! -s conftest.err
43791 } && test -s conftest.$ac_objext; then
43792 ac_cv_type_locale_t=yes
43793 else
43794 echo "$as_me: failed program was:" >&5
43795 sed 's/^/| /' conftest.$ac_ext >&5
43796
43797 ac_cv_type_locale_t=no
43798 fi
43799
43800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43801 fi
43802 { echo "$as_me:$LINENO: result: $ac_cv_type_locale_t" >&5
43803 echo "${ECHO_T}$ac_cv_type_locale_t" >&6; }
43804 if test $ac_cv_type_locale_t = yes; then
43805
43806 cat >>confdefs.h <<_ACEOF
43807 #define HAVE_LOCALE_T 1
43808 _ACEOF
43809
43810
43811 fi
43812
43813 fi
43814
43815 if test "$wxUSE_LOG" = "yes"; then
43816 cat >>confdefs.h <<\_ACEOF
43817 #define wxUSE_LOG 1
43818 _ACEOF
43819
43820
43821 if test "$wxUSE_LOGGUI" = "yes"; then
43822 cat >>confdefs.h <<\_ACEOF
43823 #define wxUSE_LOGGUI 1
43824 _ACEOF
43825
43826 fi
43827
43828 if test "$wxUSE_LOGWINDOW" = "yes"; then
43829 cat >>confdefs.h <<\_ACEOF
43830 #define wxUSE_LOGWINDOW 1
43831 _ACEOF
43832
43833 fi
43834
43835 if test "$wxUSE_LOGDIALOG" = "yes"; then
43836 cat >>confdefs.h <<\_ACEOF
43837 #define wxUSE_LOG_DIALOG 1
43838 _ACEOF
43839
43840 fi
43841
43842 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
43843 fi
43844
43845 if test "$wxUSE_LONGLONG" = "yes"; then
43846 cat >>confdefs.h <<\_ACEOF
43847 #define wxUSE_LONGLONG 1
43848 _ACEOF
43849
43850 fi
43851
43852 if test "$wxUSE_GEOMETRY" = "yes"; then
43853 cat >>confdefs.h <<\_ACEOF
43854 #define wxUSE_GEOMETRY 1
43855 _ACEOF
43856
43857 fi
43858
43859 if test "$wxUSE_BASE64" = "yes"; then
43860 cat >>confdefs.h <<\_ACEOF
43861 #define wxUSE_BASE64 1
43862 _ACEOF
43863
43864 fi
43865
43866 if test "$wxUSE_STREAMS" = "yes" ; then
43867 cat >>confdefs.h <<\_ACEOF
43868 #define wxUSE_STREAMS 1
43869 _ACEOF
43870
43871 fi
43872
43873 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
43874 cat >>confdefs.h <<\_ACEOF
43875 #define wxUSE_PRINTF_POS_PARAMS 1
43876 _ACEOF
43877
43878 fi
43879
43880 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
43881 cat >>confdefs.h <<\_ACEOF
43882 #define wxUSE_OBJC_UNIQUIFYING 1
43883 _ACEOF
43884
43885 fi
43886
43887
43888 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
43889 cat >>confdefs.h <<\_ACEOF
43890 #define wxUSE_CONSOLE_EVENTLOOP 1
43891 _ACEOF
43892
43893
43894 if test "$wxUSE_UNIX" = "yes"; then
43895 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
43896 cat >>confdefs.h <<\_ACEOF
43897 #define wxUSE_SELECT_DISPATCHER 1
43898 _ACEOF
43899
43900 fi
43901
43902 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
43903
43904 for ac_header in sys/epoll.h
43905 do
43906 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43907 { echo "$as_me:$LINENO: checking for $ac_header" >&5
43908 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
43909 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
43910 echo $ECHO_N "(cached) $ECHO_C" >&6
43911 else
43912 cat >conftest.$ac_ext <<_ACEOF
43913 /* confdefs.h. */
43914 _ACEOF
43915 cat confdefs.h >>conftest.$ac_ext
43916 cat >>conftest.$ac_ext <<_ACEOF
43917 /* end confdefs.h. */
43918 $ac_includes_default
43919
43920 #include <$ac_header>
43921 _ACEOF
43922 rm -f conftest.$ac_objext
43923 if { (ac_try="$ac_compile"
43924 case "(($ac_try" in
43925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43926 *) ac_try_echo=$ac_try;;
43927 esac
43928 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43929 (eval "$ac_compile") 2>conftest.er1
43930 ac_status=$?
43931 grep -v '^ *+' conftest.er1 >conftest.err
43932 rm -f conftest.er1
43933 cat conftest.err >&5
43934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43935 (exit $ac_status); } && {
43936 test -z "$ac_c_werror_flag" ||
43937 test ! -s conftest.err
43938 } && test -s conftest.$ac_objext; then
43939 eval "$as_ac_Header=yes"
43940 else
43941 echo "$as_me: failed program was:" >&5
43942 sed 's/^/| /' conftest.$ac_ext >&5
43943
43944 eval "$as_ac_Header=no"
43945 fi
43946
43947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43948 fi
43949 ac_res=`eval echo '${'$as_ac_Header'}'`
43950 { echo "$as_me:$LINENO: result: $ac_res" >&5
43951 echo "${ECHO_T}$ac_res" >&6; }
43952 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43953 cat >>confdefs.h <<_ACEOF
43954 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43955 _ACEOF
43956
43957 fi
43958
43959 done
43960
43961 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
43962 cat >>confdefs.h <<\_ACEOF
43963 #define wxUSE_EPOLL_DISPATCHER 1
43964 _ACEOF
43965
43966 else
43967 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
43968 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
43969 fi
43970 fi
43971 fi
43972 fi
43973
43974
43975
43976
43977 for ac_func in gettimeofday ftime
43978 do
43979 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43980 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43981 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43982 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43983 echo $ECHO_N "(cached) $ECHO_C" >&6
43984 else
43985 cat >conftest.$ac_ext <<_ACEOF
43986 /* confdefs.h. */
43987 _ACEOF
43988 cat confdefs.h >>conftest.$ac_ext
43989 cat >>conftest.$ac_ext <<_ACEOF
43990 /* end confdefs.h. */
43991 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43992 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43993 #define $ac_func innocuous_$ac_func
43994
43995 /* System header to define __stub macros and hopefully few prototypes,
43996 which can conflict with char $ac_func (); below.
43997 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43998 <limits.h> exists even on freestanding compilers. */
43999
44000 #ifdef __STDC__
44001 # include <limits.h>
44002 #else
44003 # include <assert.h>
44004 #endif
44005
44006 #undef $ac_func
44007
44008 /* Override any GCC internal prototype to avoid an error.
44009 Use char because int might match the return type of a GCC
44010 builtin and then its argument prototype would still apply. */
44011 #ifdef __cplusplus
44012 extern "C"
44013 #endif
44014 char $ac_func ();
44015 /* The GNU C library defines this for functions which it implements
44016 to always fail with ENOSYS. Some functions are actually named
44017 something starting with __ and the normal name is an alias. */
44018 #if defined __stub_$ac_func || defined __stub___$ac_func
44019 choke me
44020 #endif
44021
44022 int
44023 main ()
44024 {
44025 return $ac_func ();
44026 ;
44027 return 0;
44028 }
44029 _ACEOF
44030 rm -f conftest.$ac_objext conftest$ac_exeext
44031 if { (ac_try="$ac_link"
44032 case "(($ac_try" in
44033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44034 *) ac_try_echo=$ac_try;;
44035 esac
44036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44037 (eval "$ac_link") 2>conftest.er1
44038 ac_status=$?
44039 grep -v '^ *+' conftest.er1 >conftest.err
44040 rm -f conftest.er1
44041 cat conftest.err >&5
44042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44043 (exit $ac_status); } && {
44044 test -z "$ac_c_werror_flag" ||
44045 test ! -s conftest.err
44046 } && test -s conftest$ac_exeext &&
44047 $as_test_x conftest$ac_exeext; then
44048 eval "$as_ac_var=yes"
44049 else
44050 echo "$as_me: failed program was:" >&5
44051 sed 's/^/| /' conftest.$ac_ext >&5
44052
44053 eval "$as_ac_var=no"
44054 fi
44055
44056 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44057 conftest$ac_exeext conftest.$ac_ext
44058 fi
44059 ac_res=`eval echo '${'$as_ac_var'}'`
44060 { echo "$as_me:$LINENO: result: $ac_res" >&5
44061 echo "${ECHO_T}$ac_res" >&6; }
44062 if test `eval echo '${'$as_ac_var'}'` = yes; then
44063 cat >>confdefs.h <<_ACEOF
44064 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44065 _ACEOF
44066 break
44067 fi
44068 done
44069
44070
44071 if test "$ac_cv_func_gettimeofday" = "yes"; then
44072 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
44073 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
44074 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
44075 echo $ECHO_N "(cached) $ECHO_C" >&6
44076 else
44077
44078 cat >conftest.$ac_ext <<_ACEOF
44079 /* confdefs.h. */
44080 _ACEOF
44081 cat confdefs.h >>conftest.$ac_ext
44082 cat >>conftest.$ac_ext <<_ACEOF
44083 /* end confdefs.h. */
44084
44085 #include <sys/time.h>
44086 #include <unistd.h>
44087
44088 int
44089 main ()
44090 {
44091
44092 struct timeval tv;
44093 gettimeofday(&tv, NULL);
44094
44095 ;
44096 return 0;
44097 }
44098 _ACEOF
44099 rm -f conftest.$ac_objext
44100 if { (ac_try="$ac_compile"
44101 case "(($ac_try" in
44102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44103 *) ac_try_echo=$ac_try;;
44104 esac
44105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44106 (eval "$ac_compile") 2>conftest.er1
44107 ac_status=$?
44108 grep -v '^ *+' conftest.er1 >conftest.err
44109 rm -f conftest.er1
44110 cat conftest.err >&5
44111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44112 (exit $ac_status); } && {
44113 test -z "$ac_c_werror_flag" ||
44114 test ! -s conftest.err
44115 } && test -s conftest.$ac_objext; then
44116 wx_cv_func_gettimeofday_has_2_args=yes
44117 else
44118 echo "$as_me: failed program was:" >&5
44119 sed 's/^/| /' conftest.$ac_ext >&5
44120
44121 cat >conftest.$ac_ext <<_ACEOF
44122 /* confdefs.h. */
44123 _ACEOF
44124 cat confdefs.h >>conftest.$ac_ext
44125 cat >>conftest.$ac_ext <<_ACEOF
44126 /* end confdefs.h. */
44127
44128 #include <sys/time.h>
44129 #include <unistd.h>
44130
44131 int
44132 main ()
44133 {
44134
44135 struct timeval tv;
44136 gettimeofday(&tv);
44137
44138 ;
44139 return 0;
44140 }
44141 _ACEOF
44142 rm -f conftest.$ac_objext
44143 if { (ac_try="$ac_compile"
44144 case "(($ac_try" in
44145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44146 *) ac_try_echo=$ac_try;;
44147 esac
44148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44149 (eval "$ac_compile") 2>conftest.er1
44150 ac_status=$?
44151 grep -v '^ *+' conftest.er1 >conftest.err
44152 rm -f conftest.er1
44153 cat conftest.err >&5
44154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44155 (exit $ac_status); } && {
44156 test -z "$ac_c_werror_flag" ||
44157 test ! -s conftest.err
44158 } && test -s conftest.$ac_objext; then
44159 wx_cv_func_gettimeofday_has_2_args=no
44160 else
44161 echo "$as_me: failed program was:" >&5
44162 sed 's/^/| /' conftest.$ac_ext >&5
44163
44164
44165 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
44166 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
44167 wx_cv_func_gettimeofday_has_2_args=unknown
44168
44169
44170 fi
44171
44172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44173
44174 fi
44175
44176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44177
44178 fi
44179 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
44180 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
44181
44182 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
44183 cat >>confdefs.h <<\_ACEOF
44184 #define WX_GETTIMEOFDAY_NO_TZ 1
44185 _ACEOF
44186
44187 fi
44188 fi
44189
44190 if test "$wxUSE_DATETIME" = "yes"; then
44191 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
44192 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
44193 if test "${wx_cv_var_timezone+set}" = set; then
44194 echo $ECHO_N "(cached) $ECHO_C" >&6
44195 else
44196
44197 ac_ext=cpp
44198 ac_cpp='$CXXCPP $CPPFLAGS'
44199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44202
44203 cat >conftest.$ac_ext <<_ACEOF
44204 /* confdefs.h. */
44205 _ACEOF
44206 cat confdefs.h >>conftest.$ac_ext
44207 cat >>conftest.$ac_ext <<_ACEOF
44208 /* end confdefs.h. */
44209
44210 #include <time.h>
44211
44212 int
44213 main ()
44214 {
44215
44216 int tz;
44217 tz = timezone;
44218
44219 ;
44220 return 0;
44221 }
44222 _ACEOF
44223 rm -f conftest.$ac_objext
44224 if { (ac_try="$ac_compile"
44225 case "(($ac_try" in
44226 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44227 *) ac_try_echo=$ac_try;;
44228 esac
44229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44230 (eval "$ac_compile") 2>conftest.er1
44231 ac_status=$?
44232 grep -v '^ *+' conftest.er1 >conftest.err
44233 rm -f conftest.er1
44234 cat conftest.err >&5
44235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44236 (exit $ac_status); } && {
44237 test -z "$ac_cxx_werror_flag" ||
44238 test ! -s conftest.err
44239 } && test -s conftest.$ac_objext; then
44240
44241 wx_cv_var_timezone=timezone
44242
44243 else
44244 echo "$as_me: failed program was:" >&5
44245 sed 's/^/| /' conftest.$ac_ext >&5
44246
44247
44248 cat >conftest.$ac_ext <<_ACEOF
44249 /* confdefs.h. */
44250 _ACEOF
44251 cat confdefs.h >>conftest.$ac_ext
44252 cat >>conftest.$ac_ext <<_ACEOF
44253 /* end confdefs.h. */
44254
44255 #include <time.h>
44256
44257 int
44258 main ()
44259 {
44260
44261 int tz;
44262 tz = _timezone;
44263
44264 ;
44265 return 0;
44266 }
44267 _ACEOF
44268 rm -f conftest.$ac_objext
44269 if { (ac_try="$ac_compile"
44270 case "(($ac_try" in
44271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44272 *) ac_try_echo=$ac_try;;
44273 esac
44274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44275 (eval "$ac_compile") 2>conftest.er1
44276 ac_status=$?
44277 grep -v '^ *+' conftest.er1 >conftest.err
44278 rm -f conftest.er1
44279 cat conftest.err >&5
44280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44281 (exit $ac_status); } && {
44282 test -z "$ac_cxx_werror_flag" ||
44283 test ! -s conftest.err
44284 } && test -s conftest.$ac_objext; then
44285
44286 wx_cv_var_timezone=_timezone
44287
44288 else
44289 echo "$as_me: failed program was:" >&5
44290 sed 's/^/| /' conftest.$ac_ext >&5
44291
44292
44293 cat >conftest.$ac_ext <<_ACEOF
44294 /* confdefs.h. */
44295 _ACEOF
44296 cat confdefs.h >>conftest.$ac_ext
44297 cat >>conftest.$ac_ext <<_ACEOF
44298 /* end confdefs.h. */
44299
44300 #include <time.h>
44301
44302 int
44303 main ()
44304 {
44305
44306 int tz;
44307 tz = __timezone;
44308
44309 ;
44310 return 0;
44311 }
44312 _ACEOF
44313 rm -f conftest.$ac_objext
44314 if { (ac_try="$ac_compile"
44315 case "(($ac_try" in
44316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44317 *) ac_try_echo=$ac_try;;
44318 esac
44319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44320 (eval "$ac_compile") 2>conftest.er1
44321 ac_status=$?
44322 grep -v '^ *+' conftest.er1 >conftest.err
44323 rm -f conftest.er1
44324 cat conftest.err >&5
44325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44326 (exit $ac_status); } && {
44327 test -z "$ac_cxx_werror_flag" ||
44328 test ! -s conftest.err
44329 } && test -s conftest.$ac_objext; then
44330
44331 wx_cv_var_timezone=__timezone
44332
44333 else
44334 echo "$as_me: failed program was:" >&5
44335 sed 's/^/| /' conftest.$ac_ext >&5
44336
44337
44338 if test "$USE_DOS" = 0 ; then
44339 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
44340 echo "$as_me: WARNING: no timezone variable" >&2;}
44341 fi
44342
44343
44344 fi
44345
44346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44347
44348
44349 fi
44350
44351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44352
44353
44354 fi
44355
44356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44357 ac_ext=c
44358 ac_cpp='$CPP $CPPFLAGS'
44359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44362
44363
44364
44365 fi
44366 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
44367 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
44368
44369 if test "x$wx_cv_var_timezone" != x ; then
44370 cat >>confdefs.h <<_ACEOF
44371 #define WX_TIMEZONE $wx_cv_var_timezone
44372 _ACEOF
44373
44374 fi
44375
44376
44377 for ac_func in localtime
44378 do
44379 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44380 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44381 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44382 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44383 echo $ECHO_N "(cached) $ECHO_C" >&6
44384 else
44385 cat >conftest.$ac_ext <<_ACEOF
44386 /* confdefs.h. */
44387 _ACEOF
44388 cat confdefs.h >>conftest.$ac_ext
44389 cat >>conftest.$ac_ext <<_ACEOF
44390 /* end confdefs.h. */
44391 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44392 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44393 #define $ac_func innocuous_$ac_func
44394
44395 /* System header to define __stub macros and hopefully few prototypes,
44396 which can conflict with char $ac_func (); below.
44397 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44398 <limits.h> exists even on freestanding compilers. */
44399
44400 #ifdef __STDC__
44401 # include <limits.h>
44402 #else
44403 # include <assert.h>
44404 #endif
44405
44406 #undef $ac_func
44407
44408 /* Override any GCC internal prototype to avoid an error.
44409 Use char because int might match the return type of a GCC
44410 builtin and then its argument prototype would still apply. */
44411 #ifdef __cplusplus
44412 extern "C"
44413 #endif
44414 char $ac_func ();
44415 /* The GNU C library defines this for functions which it implements
44416 to always fail with ENOSYS. Some functions are actually named
44417 something starting with __ and the normal name is an alias. */
44418 #if defined __stub_$ac_func || defined __stub___$ac_func
44419 choke me
44420 #endif
44421
44422 int
44423 main ()
44424 {
44425 return $ac_func ();
44426 ;
44427 return 0;
44428 }
44429 _ACEOF
44430 rm -f conftest.$ac_objext conftest$ac_exeext
44431 if { (ac_try="$ac_link"
44432 case "(($ac_try" in
44433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44434 *) ac_try_echo=$ac_try;;
44435 esac
44436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44437 (eval "$ac_link") 2>conftest.er1
44438 ac_status=$?
44439 grep -v '^ *+' conftest.er1 >conftest.err
44440 rm -f conftest.er1
44441 cat conftest.err >&5
44442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44443 (exit $ac_status); } && {
44444 test -z "$ac_c_werror_flag" ||
44445 test ! -s conftest.err
44446 } && test -s conftest$ac_exeext &&
44447 $as_test_x conftest$ac_exeext; then
44448 eval "$as_ac_var=yes"
44449 else
44450 echo "$as_me: failed program was:" >&5
44451 sed 's/^/| /' conftest.$ac_ext >&5
44452
44453 eval "$as_ac_var=no"
44454 fi
44455
44456 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44457 conftest$ac_exeext conftest.$ac_ext
44458 fi
44459 ac_res=`eval echo '${'$as_ac_var'}'`
44460 { echo "$as_me:$LINENO: result: $ac_res" >&5
44461 echo "${ECHO_T}$ac_res" >&6; }
44462 if test `eval echo '${'$as_ac_var'}'` = yes; then
44463 cat >>confdefs.h <<_ACEOF
44464 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44465 _ACEOF
44466
44467 fi
44468 done
44469
44470
44471 if test "$ac_cv_func_localtime" = "yes"; then
44472 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
44473 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
44474 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
44475 echo $ECHO_N "(cached) $ECHO_C" >&6
44476 else
44477
44478 cat >conftest.$ac_ext <<_ACEOF
44479 /* confdefs.h. */
44480 _ACEOF
44481 cat confdefs.h >>conftest.$ac_ext
44482 cat >>conftest.$ac_ext <<_ACEOF
44483 /* end confdefs.h. */
44484
44485 #include <time.h>
44486
44487 int
44488 main ()
44489 {
44490
44491 struct tm tm;
44492 tm.tm_gmtoff++;
44493
44494 ;
44495 return 0;
44496 }
44497 _ACEOF
44498 rm -f conftest.$ac_objext
44499 if { (ac_try="$ac_compile"
44500 case "(($ac_try" in
44501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44502 *) ac_try_echo=$ac_try;;
44503 esac
44504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44505 (eval "$ac_compile") 2>conftest.er1
44506 ac_status=$?
44507 grep -v '^ *+' conftest.er1 >conftest.err
44508 rm -f conftest.er1
44509 cat conftest.err >&5
44510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44511 (exit $ac_status); } && {
44512 test -z "$ac_c_werror_flag" ||
44513 test ! -s conftest.err
44514 } && test -s conftest.$ac_objext; then
44515
44516 wx_cv_struct_tm_has_gmtoff=yes
44517
44518 else
44519 echo "$as_me: failed program was:" >&5
44520 sed 's/^/| /' conftest.$ac_ext >&5
44521
44522 wx_cv_struct_tm_has_gmtoff=no
44523
44524 fi
44525
44526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44527
44528 fi
44529 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
44530 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
44531 fi
44532
44533 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
44534 cat >>confdefs.h <<\_ACEOF
44535 #define WX_GMTOFF_IN_TM 1
44536 _ACEOF
44537
44538 fi
44539
44540 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
44541 fi
44542
44543
44544 if test "$wxUSE_SOCKETS" = "yes"; then
44545 if test "$wxUSE_MGL" = 1; then
44546 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
44547 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
44548 wxUSE_SOCKETS="no"
44549 fi
44550 fi
44551
44552 if test "$wxUSE_SOCKETS" = "yes"; then
44553 if test "$TOOLKIT" != "MSW"; then
44554 { echo "$as_me:$LINENO: checking for socket" >&5
44555 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
44556 if test "${ac_cv_func_socket+set}" = set; then
44557 echo $ECHO_N "(cached) $ECHO_C" >&6
44558 else
44559 cat >conftest.$ac_ext <<_ACEOF
44560 /* confdefs.h. */
44561 _ACEOF
44562 cat confdefs.h >>conftest.$ac_ext
44563 cat >>conftest.$ac_ext <<_ACEOF
44564 /* end confdefs.h. */
44565 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
44566 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44567 #define socket innocuous_socket
44568
44569 /* System header to define __stub macros and hopefully few prototypes,
44570 which can conflict with char socket (); below.
44571 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44572 <limits.h> exists even on freestanding compilers. */
44573
44574 #ifdef __STDC__
44575 # include <limits.h>
44576 #else
44577 # include <assert.h>
44578 #endif
44579
44580 #undef socket
44581
44582 /* Override any GCC internal prototype to avoid an error.
44583 Use char because int might match the return type of a GCC
44584 builtin and then its argument prototype would still apply. */
44585 #ifdef __cplusplus
44586 extern "C"
44587 #endif
44588 char socket ();
44589 /* The GNU C library defines this for functions which it implements
44590 to always fail with ENOSYS. Some functions are actually named
44591 something starting with __ and the normal name is an alias. */
44592 #if defined __stub_socket || defined __stub___socket
44593 choke me
44594 #endif
44595
44596 int
44597 main ()
44598 {
44599 return socket ();
44600 ;
44601 return 0;
44602 }
44603 _ACEOF
44604 rm -f conftest.$ac_objext conftest$ac_exeext
44605 if { (ac_try="$ac_link"
44606 case "(($ac_try" in
44607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44608 *) ac_try_echo=$ac_try;;
44609 esac
44610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44611 (eval "$ac_link") 2>conftest.er1
44612 ac_status=$?
44613 grep -v '^ *+' conftest.er1 >conftest.err
44614 rm -f conftest.er1
44615 cat conftest.err >&5
44616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44617 (exit $ac_status); } && {
44618 test -z "$ac_c_werror_flag" ||
44619 test ! -s conftest.err
44620 } && test -s conftest$ac_exeext &&
44621 $as_test_x conftest$ac_exeext; then
44622 ac_cv_func_socket=yes
44623 else
44624 echo "$as_me: failed program was:" >&5
44625 sed 's/^/| /' conftest.$ac_ext >&5
44626
44627 ac_cv_func_socket=no
44628 fi
44629
44630 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44631 conftest$ac_exeext conftest.$ac_ext
44632 fi
44633 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
44634 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
44635 if test $ac_cv_func_socket = yes; then
44636 :
44637 else
44638
44639 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
44640 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
44641 if test "${ac_cv_lib_socket_socket+set}" = set; then
44642 echo $ECHO_N "(cached) $ECHO_C" >&6
44643 else
44644 ac_check_lib_save_LIBS=$LIBS
44645 LIBS="-lsocket $LIBS"
44646 cat >conftest.$ac_ext <<_ACEOF
44647 /* confdefs.h. */
44648 _ACEOF
44649 cat confdefs.h >>conftest.$ac_ext
44650 cat >>conftest.$ac_ext <<_ACEOF
44651 /* end confdefs.h. */
44652
44653 /* Override any GCC internal prototype to avoid an error.
44654 Use char because int might match the return type of a GCC
44655 builtin and then its argument prototype would still apply. */
44656 #ifdef __cplusplus
44657 extern "C"
44658 #endif
44659 char socket ();
44660 int
44661 main ()
44662 {
44663 return socket ();
44664 ;
44665 return 0;
44666 }
44667 _ACEOF
44668 rm -f conftest.$ac_objext conftest$ac_exeext
44669 if { (ac_try="$ac_link"
44670 case "(($ac_try" in
44671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44672 *) ac_try_echo=$ac_try;;
44673 esac
44674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44675 (eval "$ac_link") 2>conftest.er1
44676 ac_status=$?
44677 grep -v '^ *+' conftest.er1 >conftest.err
44678 rm -f conftest.er1
44679 cat conftest.err >&5
44680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44681 (exit $ac_status); } && {
44682 test -z "$ac_c_werror_flag" ||
44683 test ! -s conftest.err
44684 } && test -s conftest$ac_exeext &&
44685 $as_test_x conftest$ac_exeext; then
44686 ac_cv_lib_socket_socket=yes
44687 else
44688 echo "$as_me: failed program was:" >&5
44689 sed 's/^/| /' conftest.$ac_ext >&5
44690
44691 ac_cv_lib_socket_socket=no
44692 fi
44693
44694 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44695 conftest$ac_exeext conftest.$ac_ext
44696 LIBS=$ac_check_lib_save_LIBS
44697 fi
44698 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
44699 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
44700 if test $ac_cv_lib_socket_socket = yes; then
44701 if test "$INET_LINK" != " -lsocket"; then
44702 INET_LINK="$INET_LINK -lsocket"
44703 fi
44704 else
44705
44706 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
44707 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
44708 wxUSE_SOCKETS=no
44709
44710
44711 fi
44712
44713
44714
44715 fi
44716
44717 fi
44718 fi
44719
44720 if test "$wxUSE_SOCKETS" = "yes" ; then
44721 if test "$TOOLKIT" != "MSW"; then
44722 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
44723 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
44724 if test "${wx_cv_type_getsockname3+set}" = set; then
44725 echo $ECHO_N "(cached) $ECHO_C" >&6
44726 else
44727
44728 ac_ext=cpp
44729 ac_cpp='$CXXCPP $CPPFLAGS'
44730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44733
44734 cat >conftest.$ac_ext <<_ACEOF
44735 /* confdefs.h. */
44736 _ACEOF
44737 cat confdefs.h >>conftest.$ac_ext
44738 cat >>conftest.$ac_ext <<_ACEOF
44739 /* end confdefs.h. */
44740
44741 #include <sys/types.h>
44742 #include <sys/socket.h>
44743
44744 int
44745 main ()
44746 {
44747
44748 socklen_t len;
44749 getsockname(0, 0, &len);
44750
44751 ;
44752 return 0;
44753 }
44754 _ACEOF
44755 rm -f conftest.$ac_objext
44756 if { (ac_try="$ac_compile"
44757 case "(($ac_try" in
44758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44759 *) ac_try_echo=$ac_try;;
44760 esac
44761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44762 (eval "$ac_compile") 2>conftest.er1
44763 ac_status=$?
44764 grep -v '^ *+' conftest.er1 >conftest.err
44765 rm -f conftest.er1
44766 cat conftest.err >&5
44767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44768 (exit $ac_status); } && {
44769 test -z "$ac_cxx_werror_flag" ||
44770 test ! -s conftest.err
44771 } && test -s conftest.$ac_objext; then
44772 wx_cv_type_getsockname3=socklen_t
44773 else
44774 echo "$as_me: failed program was:" >&5
44775 sed 's/^/| /' conftest.$ac_ext >&5
44776
44777
44778 CFLAGS_OLD="$CFLAGS"
44779 if test "$GCC" = yes ; then
44780 CFLAGS="-Werror $CFLAGS"
44781 fi
44782
44783 cat >conftest.$ac_ext <<_ACEOF
44784 /* confdefs.h. */
44785 _ACEOF
44786 cat confdefs.h >>conftest.$ac_ext
44787 cat >>conftest.$ac_ext <<_ACEOF
44788 /* end confdefs.h. */
44789
44790 #include <sys/types.h>
44791 #include <sys/socket.h>
44792
44793 int
44794 main ()
44795 {
44796
44797 size_t len;
44798 getsockname(0, 0, &len);
44799
44800 ;
44801 return 0;
44802 }
44803 _ACEOF
44804 rm -f conftest.$ac_objext
44805 if { (ac_try="$ac_compile"
44806 case "(($ac_try" in
44807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44808 *) ac_try_echo=$ac_try;;
44809 esac
44810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44811 (eval "$ac_compile") 2>conftest.er1
44812 ac_status=$?
44813 grep -v '^ *+' conftest.er1 >conftest.err
44814 rm -f conftest.er1
44815 cat conftest.err >&5
44816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44817 (exit $ac_status); } && {
44818 test -z "$ac_cxx_werror_flag" ||
44819 test ! -s conftest.err
44820 } && test -s conftest.$ac_objext; then
44821 wx_cv_type_getsockname3=size_t
44822 else
44823 echo "$as_me: failed program was:" >&5
44824 sed 's/^/| /' conftest.$ac_ext >&5
44825
44826 cat >conftest.$ac_ext <<_ACEOF
44827 /* confdefs.h. */
44828 _ACEOF
44829 cat confdefs.h >>conftest.$ac_ext
44830 cat >>conftest.$ac_ext <<_ACEOF
44831 /* end confdefs.h. */
44832
44833 #include <sys/types.h>
44834 #include <sys/socket.h>
44835
44836 int
44837 main ()
44838 {
44839
44840 int len;
44841 getsockname(0, 0, &len);
44842
44843 ;
44844 return 0;
44845 }
44846 _ACEOF
44847 rm -f conftest.$ac_objext
44848 if { (ac_try="$ac_compile"
44849 case "(($ac_try" in
44850 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44851 *) ac_try_echo=$ac_try;;
44852 esac
44853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44854 (eval "$ac_compile") 2>conftest.er1
44855 ac_status=$?
44856 grep -v '^ *+' conftest.er1 >conftest.err
44857 rm -f conftest.er1
44858 cat conftest.err >&5
44859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44860 (exit $ac_status); } && {
44861 test -z "$ac_cxx_werror_flag" ||
44862 test ! -s conftest.err
44863 } && test -s conftest.$ac_objext; then
44864 wx_cv_type_getsockname3=int
44865 else
44866 echo "$as_me: failed program was:" >&5
44867 sed 's/^/| /' conftest.$ac_ext >&5
44868
44869 wx_cv_type_getsockname3=unknown
44870
44871 fi
44872
44873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44874
44875 fi
44876
44877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44878
44879 CFLAGS="$CFLAGS_OLD"
44880
44881
44882 fi
44883
44884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44885 ac_ext=c
44886 ac_cpp='$CPP $CPPFLAGS'
44887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44890
44891
44892 fi
44893 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
44894 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
44895
44896 if test "$wx_cv_type_getsockname3" = "unknown"; then
44897 wxUSE_SOCKETS=no
44898 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44899 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44900 else
44901 cat >>confdefs.h <<_ACEOF
44902 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
44903 _ACEOF
44904
44905 fi
44906 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
44907 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
44908 if test "${wx_cv_type_getsockopt5+set}" = set; then
44909 echo $ECHO_N "(cached) $ECHO_C" >&6
44910 else
44911
44912 ac_ext=cpp
44913 ac_cpp='$CXXCPP $CPPFLAGS'
44914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44917
44918 cat >conftest.$ac_ext <<_ACEOF
44919 /* confdefs.h. */
44920 _ACEOF
44921 cat confdefs.h >>conftest.$ac_ext
44922 cat >>conftest.$ac_ext <<_ACEOF
44923 /* end confdefs.h. */
44924
44925 #include <sys/types.h>
44926 #include <sys/socket.h>
44927
44928 int
44929 main ()
44930 {
44931
44932 socklen_t len;
44933 getsockopt(0, 0, 0, 0, &len);
44934
44935 ;
44936 return 0;
44937 }
44938 _ACEOF
44939 rm -f conftest.$ac_objext
44940 if { (ac_try="$ac_compile"
44941 case "(($ac_try" in
44942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44943 *) ac_try_echo=$ac_try;;
44944 esac
44945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44946 (eval "$ac_compile") 2>conftest.er1
44947 ac_status=$?
44948 grep -v '^ *+' conftest.er1 >conftest.err
44949 rm -f conftest.er1
44950 cat conftest.err >&5
44951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44952 (exit $ac_status); } && {
44953 test -z "$ac_cxx_werror_flag" ||
44954 test ! -s conftest.err
44955 } && test -s conftest.$ac_objext; then
44956 wx_cv_type_getsockopt5=socklen_t
44957 else
44958 echo "$as_me: failed program was:" >&5
44959 sed 's/^/| /' conftest.$ac_ext >&5
44960
44961
44962 cat >conftest.$ac_ext <<_ACEOF
44963 /* confdefs.h. */
44964 _ACEOF
44965 cat confdefs.h >>conftest.$ac_ext
44966 cat >>conftest.$ac_ext <<_ACEOF
44967 /* end confdefs.h. */
44968
44969 #include <sys/types.h>
44970 #include <sys/socket.h>
44971
44972 int
44973 main ()
44974 {
44975
44976 size_t len;
44977 getsockopt(0, 0, 0, 0, &len);
44978
44979 ;
44980 return 0;
44981 }
44982 _ACEOF
44983 rm -f conftest.$ac_objext
44984 if { (ac_try="$ac_compile"
44985 case "(($ac_try" in
44986 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44987 *) ac_try_echo=$ac_try;;
44988 esac
44989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44990 (eval "$ac_compile") 2>conftest.er1
44991 ac_status=$?
44992 grep -v '^ *+' conftest.er1 >conftest.err
44993 rm -f conftest.er1
44994 cat conftest.err >&5
44995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44996 (exit $ac_status); } && {
44997 test -z "$ac_cxx_werror_flag" ||
44998 test ! -s conftest.err
44999 } && test -s conftest.$ac_objext; then
45000 wx_cv_type_getsockopt5=size_t
45001 else
45002 echo "$as_me: failed program was:" >&5
45003 sed 's/^/| /' conftest.$ac_ext >&5
45004
45005 cat >conftest.$ac_ext <<_ACEOF
45006 /* confdefs.h. */
45007 _ACEOF
45008 cat confdefs.h >>conftest.$ac_ext
45009 cat >>conftest.$ac_ext <<_ACEOF
45010 /* end confdefs.h. */
45011
45012 #include <sys/types.h>
45013 #include <sys/socket.h>
45014
45015 int
45016 main ()
45017 {
45018
45019 int len;
45020 getsockopt(0, 0, 0, 0, &len);
45021
45022 ;
45023 return 0;
45024 }
45025 _ACEOF
45026 rm -f conftest.$ac_objext
45027 if { (ac_try="$ac_compile"
45028 case "(($ac_try" in
45029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45030 *) ac_try_echo=$ac_try;;
45031 esac
45032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45033 (eval "$ac_compile") 2>conftest.er1
45034 ac_status=$?
45035 grep -v '^ *+' conftest.er1 >conftest.err
45036 rm -f conftest.er1
45037 cat conftest.err >&5
45038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45039 (exit $ac_status); } && {
45040 test -z "$ac_cxx_werror_flag" ||
45041 test ! -s conftest.err
45042 } && test -s conftest.$ac_objext; then
45043 wx_cv_type_getsockopt5=int
45044 else
45045 echo "$as_me: failed program was:" >&5
45046 sed 's/^/| /' conftest.$ac_ext >&5
45047
45048 wx_cv_type_getsockopt5=unknown
45049
45050 fi
45051
45052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45053
45054 fi
45055
45056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45057
45058
45059 fi
45060
45061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45062 ac_ext=c
45063 ac_cpp='$CPP $CPPFLAGS'
45064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45067
45068
45069 fi
45070 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
45071 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
45072
45073 if test "$wx_cv_type_getsockopt5" = "unknown"; then
45074 wxUSE_SOCKETS=no
45075 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
45076 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
45077 else
45078 cat >>confdefs.h <<_ACEOF
45079 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
45080 _ACEOF
45081
45082 fi
45083 fi
45084 fi
45085
45086 if test "$wxUSE_SOCKETS" = "yes" ; then
45087 if test "$wxUSE_IPV6" = "yes"; then
45088 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
45089 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
45090 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
45091 echo $ECHO_N "(cached) $ECHO_C" >&6
45092 else
45093
45094 cat >conftest.$ac_ext <<_ACEOF
45095 /* confdefs.h. */
45096 _ACEOF
45097 cat confdefs.h >>conftest.$ac_ext
45098 cat >>conftest.$ac_ext <<_ACEOF
45099 /* end confdefs.h. */
45100
45101 #include <sys/types.h>
45102 #include <sys/socket.h>
45103 #include <netinet/in.h>
45104
45105 int
45106 main ()
45107 {
45108
45109 struct sockaddr_in6 sa6;
45110
45111 ;
45112 return 0;
45113 }
45114 _ACEOF
45115 rm -f conftest.$ac_objext
45116 if { (ac_try="$ac_compile"
45117 case "(($ac_try" in
45118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45119 *) ac_try_echo=$ac_try;;
45120 esac
45121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45122 (eval "$ac_compile") 2>conftest.er1
45123 ac_status=$?
45124 grep -v '^ *+' conftest.er1 >conftest.err
45125 rm -f conftest.er1
45126 cat conftest.err >&5
45127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45128 (exit $ac_status); } && {
45129 test -z "$ac_c_werror_flag" ||
45130 test ! -s conftest.err
45131 } && test -s conftest.$ac_objext; then
45132 wx_cv_type_sockaddr_in6=yes
45133 else
45134 echo "$as_me: failed program was:" >&5
45135 sed 's/^/| /' conftest.$ac_ext >&5
45136
45137 wx_cv_type_sockaddr_in6=no
45138
45139 fi
45140
45141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45142
45143
45144 fi
45145 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
45146 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
45147
45148 if test "$wx_cv_type_sockaddr_in6"="yes"; then
45149 cat >>confdefs.h <<\_ACEOF
45150 #define wxUSE_IPV6 1
45151 _ACEOF
45152
45153 else
45154 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
45155 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
45156 fi
45157 fi
45158
45159 cat >>confdefs.h <<\_ACEOF
45160 #define wxUSE_SOCKETS 1
45161 _ACEOF
45162
45163 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
45164 fi
45165
45166 if test "$wxUSE_PROTOCOL" = "yes"; then
45167 if test "$wxUSE_SOCKETS" != "yes"; then
45168 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
45169 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
45170 wxUSE_PROTOCOL=no
45171 fi
45172 fi
45173
45174 if test "$wxUSE_PROTOCOL" = "yes"; then
45175 cat >>confdefs.h <<\_ACEOF
45176 #define wxUSE_PROTOCOL 1
45177 _ACEOF
45178
45179
45180 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
45181 cat >>confdefs.h <<\_ACEOF
45182 #define wxUSE_PROTOCOL_HTTP 1
45183 _ACEOF
45184
45185 fi
45186 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
45187 cat >>confdefs.h <<\_ACEOF
45188 #define wxUSE_PROTOCOL_FTP 1
45189 _ACEOF
45190
45191 fi
45192 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
45193 cat >>confdefs.h <<\_ACEOF
45194 #define wxUSE_PROTOCOL_FILE 1
45195 _ACEOF
45196
45197 fi
45198 else
45199 if test "$wxUSE_FS_INET" = "yes"; then
45200 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
45201 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
45202 wxUSE_FS_INET="no"
45203 fi
45204 fi
45205
45206 if test "$wxUSE_URL" = "yes"; then
45207 if test "$wxUSE_PROTOCOL" != "yes"; then
45208 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
45209 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
45210 wxUSE_URL=no
45211 fi
45212 if test "$wxUSE_URL" = "yes"; then
45213 cat >>confdefs.h <<\_ACEOF
45214 #define wxUSE_URL 1
45215 _ACEOF
45216
45217 fi
45218 fi
45219
45220 if test "$wxUSE_VARIANT" = "yes"; then
45221 cat >>confdefs.h <<\_ACEOF
45222 #define wxUSE_VARIANT 1
45223 _ACEOF
45224
45225 fi
45226
45227 if test "$wxUSE_FS_INET" = "yes"; then
45228 cat >>confdefs.h <<\_ACEOF
45229 #define wxUSE_FS_INET 1
45230 _ACEOF
45231
45232 fi
45233
45234
45235 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
45236 wxUSE_JOYSTICK=no
45237
45238 if test "$TOOLKIT" = "MSW"; then
45239 wxUSE_JOYSTICK=yes
45240
45241 elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
45242 if test "$USE_DARWIN" = 1; then
45243 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
45244 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
45245 ac_ext=cpp
45246 ac_cpp='$CXXCPP $CPPFLAGS'
45247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45250
45251 cat >conftest.$ac_ext <<_ACEOF
45252 /* confdefs.h. */
45253 _ACEOF
45254 cat confdefs.h >>conftest.$ac_ext
45255 cat >>conftest.$ac_ext <<_ACEOF
45256 /* end confdefs.h. */
45257 #include <IOKit/hid/IOHIDLib.h>
45258 int
45259 main ()
45260 {
45261 IOHIDQueueInterface *qi = NULL;
45262 IOHIDCallbackFunction cb = NULL;
45263 qi->setEventCallout(NULL, cb, NULL, NULL);
45264 ;
45265 return 0;
45266 }
45267 _ACEOF
45268 rm -f conftest.$ac_objext
45269 if { (ac_try="$ac_compile"
45270 case "(($ac_try" in
45271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45272 *) ac_try_echo=$ac_try;;
45273 esac
45274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45275 (eval "$ac_compile") 2>conftest.er1
45276 ac_status=$?
45277 grep -v '^ *+' conftest.er1 >conftest.err
45278 rm -f conftest.er1
45279 cat conftest.err >&5
45280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45281 (exit $ac_status); } && {
45282 test -z "$ac_cxx_werror_flag" ||
45283 test ! -s conftest.err
45284 } && test -s conftest.$ac_objext; then
45285 wxUSE_JOYSTICK=yes
45286
45287 else
45288 echo "$as_me: failed program was:" >&5
45289 sed 's/^/| /' conftest.$ac_ext >&5
45290
45291
45292 fi
45293
45294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45295 ac_ext=c
45296 ac_cpp='$CPP $CPPFLAGS'
45297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45300
45301 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
45302 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
45303 fi
45304
45305 else
45306 if test "$wxUSE_MGL" != 1; then
45307
45308 for ac_header in linux/joystick.h
45309 do
45310 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45311 { echo "$as_me:$LINENO: checking for $ac_header" >&5
45312 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
45313 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45314 echo $ECHO_N "(cached) $ECHO_C" >&6
45315 else
45316 cat >conftest.$ac_ext <<_ACEOF
45317 /* confdefs.h. */
45318 _ACEOF
45319 cat confdefs.h >>conftest.$ac_ext
45320 cat >>conftest.$ac_ext <<_ACEOF
45321 /* end confdefs.h. */
45322 $ac_includes_default
45323
45324 #include <$ac_header>
45325 _ACEOF
45326 rm -f conftest.$ac_objext
45327 if { (ac_try="$ac_compile"
45328 case "(($ac_try" in
45329 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45330 *) ac_try_echo=$ac_try;;
45331 esac
45332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45333 (eval "$ac_compile") 2>conftest.er1
45334 ac_status=$?
45335 grep -v '^ *+' conftest.er1 >conftest.err
45336 rm -f conftest.er1
45337 cat conftest.err >&5
45338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45339 (exit $ac_status); } && {
45340 test -z "$ac_c_werror_flag" ||
45341 test ! -s conftest.err
45342 } && test -s conftest.$ac_objext; then
45343 eval "$as_ac_Header=yes"
45344 else
45345 echo "$as_me: failed program was:" >&5
45346 sed 's/^/| /' conftest.$ac_ext >&5
45347
45348 eval "$as_ac_Header=no"
45349 fi
45350
45351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45352 fi
45353 ac_res=`eval echo '${'$as_ac_Header'}'`
45354 { echo "$as_me:$LINENO: result: $ac_res" >&5
45355 echo "${ECHO_T}$ac_res" >&6; }
45356 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45357 cat >>confdefs.h <<_ACEOF
45358 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45359 _ACEOF
45360 wxUSE_JOYSTICK=yes
45361 fi
45362
45363 done
45364
45365 fi
45366 fi
45367
45368 if test "$wxUSE_JOYSTICK" = "yes"; then
45369 cat >>confdefs.h <<\_ACEOF
45370 #define wxUSE_JOYSTICK 1
45371 _ACEOF
45372
45373 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
45374 else
45375 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
45376 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
45377 fi
45378 fi
45379
45380
45381
45382 if test "$wxUSE_FONTENUM" = "yes" ; then
45383 cat >>confdefs.h <<\_ACEOF
45384 #define wxUSE_FONTENUM 1
45385 _ACEOF
45386
45387 fi
45388
45389 if test "$wxUSE_FONTMAP" = "yes" ; then
45390 cat >>confdefs.h <<\_ACEOF
45391 #define wxUSE_FONTMAP 1
45392 _ACEOF
45393
45394 fi
45395
45396 if test "$wxUSE_UNICODE" = "yes" ; then
45397 cat >>confdefs.h <<\_ACEOF
45398 #define wxUSE_UNICODE 1
45399 _ACEOF
45400
45401
45402 if test "$USE_WIN32" != 1; then
45403 wxUSE_UNICODE_MSLU=no
45404 fi
45405
45406 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
45407 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
45408 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
45409 if test "${ac_cv_lib_unicows_main+set}" = set; then
45410 echo $ECHO_N "(cached) $ECHO_C" >&6
45411 else
45412 ac_check_lib_save_LIBS=$LIBS
45413 LIBS="-lunicows $LIBS"
45414 cat >conftest.$ac_ext <<_ACEOF
45415 /* confdefs.h. */
45416 _ACEOF
45417 cat confdefs.h >>conftest.$ac_ext
45418 cat >>conftest.$ac_ext <<_ACEOF
45419 /* end confdefs.h. */
45420
45421
45422 int
45423 main ()
45424 {
45425 return main ();
45426 ;
45427 return 0;
45428 }
45429 _ACEOF
45430 rm -f conftest.$ac_objext conftest$ac_exeext
45431 if { (ac_try="$ac_link"
45432 case "(($ac_try" in
45433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45434 *) ac_try_echo=$ac_try;;
45435 esac
45436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45437 (eval "$ac_link") 2>conftest.er1
45438 ac_status=$?
45439 grep -v '^ *+' conftest.er1 >conftest.err
45440 rm -f conftest.er1
45441 cat conftest.err >&5
45442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45443 (exit $ac_status); } && {
45444 test -z "$ac_c_werror_flag" ||
45445 test ! -s conftest.err
45446 } && test -s conftest$ac_exeext &&
45447 $as_test_x conftest$ac_exeext; then
45448 ac_cv_lib_unicows_main=yes
45449 else
45450 echo "$as_me: failed program was:" >&5
45451 sed 's/^/| /' conftest.$ac_ext >&5
45452
45453 ac_cv_lib_unicows_main=no
45454 fi
45455
45456 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45457 conftest$ac_exeext conftest.$ac_ext
45458 LIBS=$ac_check_lib_save_LIBS
45459 fi
45460 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
45461 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
45462 if test $ac_cv_lib_unicows_main = yes; then
45463
45464 cat >>confdefs.h <<\_ACEOF
45465 #define wxUSE_UNICODE_MSLU 1
45466 _ACEOF
45467
45468
45469 else
45470
45471 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45472 Applications will only run on Windows NT/2000/XP!" >&5
45473 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45474 Applications will only run on Windows NT/2000/XP!" >&2;}
45475 wxUSE_UNICODE_MSLU=no
45476
45477 fi
45478
45479 fi
45480 fi
45481
45482 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
45483 cat >>confdefs.h <<\_ACEOF
45484 #define wxUSE_UNICODE_UTF8 1
45485 _ACEOF
45486
45487
45488 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
45489 cat >>confdefs.h <<\_ACEOF
45490 #define wxUSE_UTF8_LOCALE_ONLY 1
45491 _ACEOF
45492
45493 fi
45494 fi
45495
45496
45497 if test "$wxUSE_CONSTRAINTS" = "yes"; then
45498 cat >>confdefs.h <<\_ACEOF
45499 #define wxUSE_CONSTRAINTS 1
45500 _ACEOF
45501
45502 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
45503 fi
45504
45505 if test "$wxUSE_MDI" = "yes"; then
45506 cat >>confdefs.h <<\_ACEOF
45507 #define wxUSE_MDI 1
45508 _ACEOF
45509
45510
45511 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
45512 cat >>confdefs.h <<\_ACEOF
45513 #define wxUSE_MDI_ARCHITECTURE 1
45514 _ACEOF
45515
45516 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
45517 fi
45518 fi
45519
45520 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
45521 cat >>confdefs.h <<\_ACEOF
45522 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
45523 _ACEOF
45524
45525 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
45526 fi
45527
45528 if test "$wxUSE_HELP" = "yes"; then
45529 cat >>confdefs.h <<\_ACEOF
45530 #define wxUSE_HELP 1
45531 _ACEOF
45532
45533 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
45534
45535 if test "$wxUSE_MSW" = 1; then
45536 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
45537 cat >>confdefs.h <<\_ACEOF
45538 #define wxUSE_MS_HTML_HELP 1
45539 _ACEOF
45540
45541 fi
45542 fi
45543
45544 if test "$wxUSE_WXHTML_HELP" = "yes"; then
45545 if test "$wxUSE_HTML" = "yes"; then
45546 cat >>confdefs.h <<\_ACEOF
45547 #define wxUSE_WXHTML_HELP 1
45548 _ACEOF
45549
45550 else
45551 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
45552 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
45553 wxUSE_WXHTML_HELP=no
45554 fi
45555 fi
45556 fi
45557
45558 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
45559 cat >>confdefs.h <<\_ACEOF
45560 #define wxUSE_PRINTING_ARCHITECTURE 1
45561 _ACEOF
45562
45563 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
45564 fi
45565
45566 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
45567 cat >>confdefs.h <<\_ACEOF
45568 #define wxUSE_POSTSCRIPT 1
45569 _ACEOF
45570
45571 fi
45572
45573 cat >>confdefs.h <<\_ACEOF
45574 #define wxUSE_AFM_FOR_POSTSCRIPT 1
45575 _ACEOF
45576
45577
45578 if test "$wxUSE_SVG" = "yes"; then
45579 cat >>confdefs.h <<\_ACEOF
45580 #define wxUSE_SVG 1
45581 _ACEOF
45582
45583 fi
45584
45585
45586 if test "$wxUSE_METAFILE" = "yes"; then
45587 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
45588 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
45589 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
45590 wxUSE_METAFILE=no
45591 fi
45592 fi
45593
45594
45595 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
45596 -o "$wxUSE_CLIPBOARD" = "yes" \
45597 -o "$wxUSE_OLE" = "yes" \
45598 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
45599 { echo "$as_me:$LINENO: checking for ole2.h" >&5
45600 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
45601 if test "${ac_cv_header_ole2_h+set}" = set; then
45602 echo $ECHO_N "(cached) $ECHO_C" >&6
45603 else
45604 cat >conftest.$ac_ext <<_ACEOF
45605 /* confdefs.h. */
45606 _ACEOF
45607 cat confdefs.h >>conftest.$ac_ext
45608 cat >>conftest.$ac_ext <<_ACEOF
45609 /* end confdefs.h. */
45610
45611
45612 #include <ole2.h>
45613 _ACEOF
45614 rm -f conftest.$ac_objext
45615 if { (ac_try="$ac_compile"
45616 case "(($ac_try" in
45617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45618 *) ac_try_echo=$ac_try;;
45619 esac
45620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45621 (eval "$ac_compile") 2>conftest.er1
45622 ac_status=$?
45623 grep -v '^ *+' conftest.er1 >conftest.err
45624 rm -f conftest.er1
45625 cat conftest.err >&5
45626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45627 (exit $ac_status); } && {
45628 test -z "$ac_c_werror_flag" ||
45629 test ! -s conftest.err
45630 } && test -s conftest.$ac_objext; then
45631 ac_cv_header_ole2_h=yes
45632 else
45633 echo "$as_me: failed program was:" >&5
45634 sed 's/^/| /' conftest.$ac_ext >&5
45635
45636 ac_cv_header_ole2_h=no
45637 fi
45638
45639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45640 fi
45641 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
45642 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
45643
45644
45645
45646 if test "$ac_cv_header_ole2_h" = "yes" ; then
45647 if test "$GCC" = yes ; then
45648 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
45649 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
45650 cat >conftest.$ac_ext <<_ACEOF
45651 /* confdefs.h. */
45652 _ACEOF
45653 cat confdefs.h >>conftest.$ac_ext
45654 cat >>conftest.$ac_ext <<_ACEOF
45655 /* end confdefs.h. */
45656 #include <windows.h>
45657 #include <ole2.h>
45658 int
45659 main ()
45660 {
45661
45662 ;
45663 return 0;
45664 }
45665 _ACEOF
45666 rm -f conftest.$ac_objext
45667 if { (ac_try="$ac_compile"
45668 case "(($ac_try" in
45669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45670 *) ac_try_echo=$ac_try;;
45671 esac
45672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45673 (eval "$ac_compile") 2>conftest.er1
45674 ac_status=$?
45675 grep -v '^ *+' conftest.er1 >conftest.err
45676 rm -f conftest.er1
45677 cat conftest.err >&5
45678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45679 (exit $ac_status); } && {
45680 test -z "$ac_c_werror_flag" ||
45681 test ! -s conftest.err
45682 } && test -s conftest.$ac_objext; then
45683 { echo "$as_me:$LINENO: result: no" >&5
45684 echo "${ECHO_T}no" >&6; }
45685 else
45686 echo "$as_me: failed program was:" >&5
45687 sed 's/^/| /' conftest.$ac_ext >&5
45688
45689 { echo "$as_me:$LINENO: result: yes" >&5
45690 echo "${ECHO_T}yes" >&6; }
45691 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
45692 fi
45693
45694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45695 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
45696 if test "$wxUSE_OLE" = "yes" ; then
45697 cat >>confdefs.h <<\_ACEOF
45698 #define wxUSE_OLE 1
45699 _ACEOF
45700
45701 cat >>confdefs.h <<\_ACEOF
45702 #define wxUSE_OLE_AUTOMATION 1
45703 _ACEOF
45704
45705 cat >>confdefs.h <<\_ACEOF
45706 #define wxUSE_ACTIVEX 1
45707 _ACEOF
45708
45709 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
45710 fi
45711 fi
45712
45713 if test "$wxUSE_DATAOBJ" = "yes" ; then
45714 cat >>confdefs.h <<\_ACEOF
45715 #define wxUSE_DATAOBJ 1
45716 _ACEOF
45717
45718 fi
45719 else
45720 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
45721 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
45722
45723 wxUSE_CLIPBOARD=no
45724 wxUSE_DRAG_AND_DROP=no
45725 wxUSE_DATAOBJ=no
45726 wxUSE_OLE=no
45727 fi
45728
45729 if test "$wxUSE_METAFILE" = "yes"; then
45730 cat >>confdefs.h <<\_ACEOF
45731 #define wxUSE_METAFILE 1
45732 _ACEOF
45733
45734
45735 cat >>confdefs.h <<\_ACEOF
45736 #define wxUSE_ENH_METAFILE 1
45737 _ACEOF
45738
45739 fi
45740 fi
45741
45742 if test "$wxUSE_IPC" = "yes"; then
45743 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
45744 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
45745 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
45746 wxUSE_IPC=no
45747 fi
45748
45749 if test "$wxUSE_IPC" = "yes"; then
45750 cat >>confdefs.h <<\_ACEOF
45751 #define wxUSE_IPC 1
45752 _ACEOF
45753
45754 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
45755 fi
45756 fi
45757
45758 if test "$wxUSE_DATAOBJ" = "yes"; then
45759 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
45760 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
45761 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
45762 wxUSE_DATAOBJ=no
45763 else
45764 cat >>confdefs.h <<\_ACEOF
45765 #define wxUSE_DATAOBJ 1
45766 _ACEOF
45767
45768 fi
45769 else
45770 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
45771 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
45772 wxUSE_CLIPBOARD=no
45773 wxUSE_DRAG_AND_DROP=no
45774 fi
45775
45776 if test "$wxUSE_CLIPBOARD" = "yes"; then
45777 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
45778 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
45779 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
45780 wxUSE_CLIPBOARD=no
45781 fi
45782
45783 if test "$wxUSE_CLIPBOARD" = "yes"; then
45784 cat >>confdefs.h <<\_ACEOF
45785 #define wxUSE_CLIPBOARD 1
45786 _ACEOF
45787
45788 fi
45789 fi
45790
45791 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
45792 if test "$wxUSE_GTK" = 1; then
45793 if test "$WXGTK12" != 1; then
45794 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
45795 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
45796 wxUSE_DRAG_AND_DROP=no
45797 fi
45798 fi
45799
45800 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
45801 "$wxUSE_DFB" = 1; then
45802 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
45803 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
45804 wxUSE_DRAG_AND_DROP=no
45805 fi
45806
45807 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
45808 cat >>confdefs.h <<\_ACEOF
45809 #define wxUSE_DRAG_AND_DROP 1
45810 _ACEOF
45811
45812 fi
45813
45814 fi
45815
45816 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
45817 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
45818 fi
45819
45820 if test "$wxUSE_CLIPBOARD" = "yes"; then
45821 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS clipboard"
45822 fi
45823
45824 if test "$wxUSE_SPLINES" = "yes" ; then
45825 cat >>confdefs.h <<\_ACEOF
45826 #define wxUSE_SPLINES 1
45827 _ACEOF
45828
45829 fi
45830
45831 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
45832 cat >>confdefs.h <<\_ACEOF
45833 #define wxUSE_MOUSEWHEEL 1
45834 _ACEOF
45835
45836 fi
45837
45838
45839 USES_CONTROLS=0
45840 if test "$wxUSE_CONTROLS" = "yes"; then
45841 USES_CONTROLS=1
45842 fi
45843
45844 if test "$wxUSE_ACCEL" = "yes"; then
45845 cat >>confdefs.h <<\_ACEOF
45846 #define wxUSE_ACCEL 1
45847 _ACEOF
45848
45849 USES_CONTROLS=1
45850 fi
45851
45852 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
45853 cat >>confdefs.h <<\_ACEOF
45854 #define wxUSE_ANIMATIONCTRL 1
45855 _ACEOF
45856
45857 USES_CONTROLS=1
45858 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
45859 fi
45860
45861 if test "$wxUSE_BUTTON" = "yes"; then
45862 cat >>confdefs.h <<\_ACEOF
45863 #define wxUSE_BUTTON 1
45864 _ACEOF
45865
45866 USES_CONTROLS=1
45867 fi
45868
45869 if test "$wxUSE_BMPBUTTON" = "yes"; then
45870 cat >>confdefs.h <<\_ACEOF
45871 #define wxUSE_BMPBUTTON 1
45872 _ACEOF
45873
45874 USES_CONTROLS=1
45875 fi
45876
45877 if test "$wxUSE_CALCTRL" = "yes"; then
45878 cat >>confdefs.h <<\_ACEOF
45879 #define wxUSE_CALENDARCTRL 1
45880 _ACEOF
45881
45882 USES_CONTROLS=1
45883 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
45884 fi
45885
45886 if test "$wxUSE_CARET" = "yes"; then
45887 cat >>confdefs.h <<\_ACEOF
45888 #define wxUSE_CARET 1
45889 _ACEOF
45890
45891 USES_CONTROLS=1
45892 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
45893 fi
45894
45895 if test "$wxUSE_COLLPANE" = "yes"; then
45896 cat >>confdefs.h <<\_ACEOF
45897 #define wxUSE_COLLPANE 1
45898 _ACEOF
45899
45900 USES_CONTROLS=1
45901 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
45902 fi
45903
45904 if test "$wxUSE_COMBOBOX" = "yes"; then
45905 cat >>confdefs.h <<\_ACEOF
45906 #define wxUSE_COMBOBOX 1
45907 _ACEOF
45908
45909 USES_CONTROLS=1
45910 fi
45911
45912 if test "$wxUSE_COMBOCTRL" = "yes"; then
45913 cat >>confdefs.h <<\_ACEOF
45914 #define wxUSE_COMBOCTRL 1
45915 _ACEOF
45916
45917 USES_CONTROLS=1
45918 fi
45919
45920 if test "$wxUSE_CHOICE" = "yes"; then
45921 cat >>confdefs.h <<\_ACEOF
45922 #define wxUSE_CHOICE 1
45923 _ACEOF
45924
45925 USES_CONTROLS=1
45926 fi
45927
45928 if test "$wxUSE_CHOICEBOOK" = "yes"; then
45929 cat >>confdefs.h <<\_ACEOF
45930 #define wxUSE_CHOICEBOOK 1
45931 _ACEOF
45932
45933 USES_CONTROLS=1
45934 fi
45935
45936 if test "$wxUSE_CHECKBOX" = "yes"; then
45937 cat >>confdefs.h <<\_ACEOF
45938 #define wxUSE_CHECKBOX 1
45939 _ACEOF
45940
45941 USES_CONTROLS=1
45942 fi
45943
45944 if test "$wxUSE_CHECKLST" = "yes"; then
45945 cat >>confdefs.h <<\_ACEOF
45946 #define wxUSE_CHECKLISTBOX 1
45947 _ACEOF
45948
45949 USES_CONTROLS=1
45950 fi
45951
45952 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
45953 cat >>confdefs.h <<\_ACEOF
45954 #define wxUSE_COLOURPICKERCTRL 1
45955 _ACEOF
45956
45957 USES_CONTROLS=1
45958 fi
45959
45960 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
45961 cat >>confdefs.h <<\_ACEOF
45962 #define wxUSE_DATEPICKCTRL 1
45963 _ACEOF
45964
45965 USES_CONTROLS=1
45966 fi
45967
45968 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
45969 cat >>confdefs.h <<\_ACEOF
45970 #define wxUSE_DIRPICKERCTRL 1
45971 _ACEOF
45972
45973 USES_CONTROLS=1
45974 fi
45975
45976 if test "$wxUSE_FILECTRL" = "yes"; then
45977 cat >>confdefs.h <<\_ACEOF
45978 #define wxUSE_FILECTRL 1
45979 _ACEOF
45980
45981 USES_CONTROLS=1
45982 fi
45983
45984 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
45985 cat >>confdefs.h <<\_ACEOF
45986 #define wxUSE_FILEPICKERCTRL 1
45987 _ACEOF
45988
45989 USES_CONTROLS=1
45990 fi
45991
45992 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
45993 cat >>confdefs.h <<\_ACEOF
45994 #define wxUSE_FONTPICKERCTRL 1
45995 _ACEOF
45996
45997 USES_CONTROLS=1
45998 fi
45999
46000 if test "$wxUSE_DISPLAY" = "yes"; then
46001 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
46002 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
46003 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
46004 wxUSE_DISPLAY=no
46005 else
46006 cat >>confdefs.h <<\_ACEOF
46007 #define wxUSE_DISPLAY 1
46008 _ACEOF
46009
46010 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
46011 fi
46012 fi
46013
46014 if test "$wxUSE_DETECT_SM" = "yes"; then
46015 cat >>confdefs.h <<\_ACEOF
46016 #define wxUSE_DETECT_SM 1
46017 _ACEOF
46018
46019 fi
46020
46021 if test "$wxUSE_GAUGE" = "yes"; then
46022 cat >>confdefs.h <<\_ACEOF
46023 #define wxUSE_GAUGE 1
46024 _ACEOF
46025
46026 USES_CONTROLS=1
46027 fi
46028
46029 if test "$wxUSE_GRID" = "yes"; then
46030 cat >>confdefs.h <<\_ACEOF
46031 #define wxUSE_GRID 1
46032 _ACEOF
46033
46034 USES_CONTROLS=1
46035 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
46036 fi
46037
46038 if test "$wxUSE_HEADERCTRL" = "yes"; then
46039 cat >>confdefs.h <<\_ACEOF
46040 #define wxUSE_HEADERCTRL 1
46041 _ACEOF
46042
46043 USES_CONTROLS=1
46044 fi
46045
46046 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
46047 cat >>confdefs.h <<\_ACEOF
46048 #define wxUSE_HYPERLINKCTRL 1
46049 _ACEOF
46050
46051 USES_CONTROLS=1
46052 fi
46053
46054 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
46055 cat >>confdefs.h <<\_ACEOF
46056 #define wxUSE_BITMAPCOMBOBOX 1
46057 _ACEOF
46058
46059 USES_CONTROLS=1
46060 fi
46061
46062 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
46063 cat >>confdefs.h <<\_ACEOF
46064 #define wxUSE_DATAVIEWCTRL 1
46065 _ACEOF
46066
46067 USES_CONTROLS=1
46068 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
46069 fi
46070
46071 if test "$wxUSE_IMAGLIST" = "yes"; then
46072 cat >>confdefs.h <<\_ACEOF
46073 #define wxUSE_IMAGLIST 1
46074 _ACEOF
46075
46076 fi
46077
46078 if test "$wxUSE_INFOBAR" = "yes"; then
46079 cat >>confdefs.h <<\_ACEOF
46080 #define wxUSE_INFOBAR 1
46081 _ACEOF
46082
46083 fi
46084
46085 if test "$wxUSE_LISTBOOK" = "yes"; then
46086 cat >>confdefs.h <<\_ACEOF
46087 #define wxUSE_LISTBOOK 1
46088 _ACEOF
46089
46090 USES_CONTROLS=1
46091 fi
46092
46093 if test "$wxUSE_LISTBOX" = "yes"; then
46094 cat >>confdefs.h <<\_ACEOF
46095 #define wxUSE_LISTBOX 1
46096 _ACEOF
46097
46098 USES_CONTROLS=1
46099 fi
46100
46101 if test "$wxUSE_LISTCTRL" = "yes"; then
46102 if test "$wxUSE_IMAGLIST" = "yes"; then
46103 cat >>confdefs.h <<\_ACEOF
46104 #define wxUSE_LISTCTRL 1
46105 _ACEOF
46106
46107 USES_CONTROLS=1
46108 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
46109 else
46110 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
46111 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
46112 fi
46113 fi
46114
46115 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
46116 cat >>confdefs.h <<\_ACEOF
46117 #define wxUSE_EDITABLELISTBOX 1
46118 _ACEOF
46119
46120 USES_CONTROLS=1
46121 fi
46122
46123 if test "$wxUSE_NOTEBOOK" = "yes"; then
46124 cat >>confdefs.h <<\_ACEOF
46125 #define wxUSE_NOTEBOOK 1
46126 _ACEOF
46127
46128 USES_CONTROLS=1
46129 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
46130 fi
46131
46132 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
46133 cat >>confdefs.h <<\_ACEOF
46134 #define wxUSE_NOTIFICATION_MESSAGE 1
46135 _ACEOF
46136
46137 fi
46138
46139 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
46140 cat >>confdefs.h <<\_ACEOF
46141 #define wxUSE_ODCOMBOBOX 1
46142 _ACEOF
46143
46144 USES_CONTROLS=1
46145 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
46146 fi
46147
46148 if test "$wxUSE_RADIOBOX" = "yes"; then
46149 cat >>confdefs.h <<\_ACEOF
46150 #define wxUSE_RADIOBOX 1
46151 _ACEOF
46152
46153 USES_CONTROLS=1
46154 fi
46155
46156 if test "$wxUSE_RADIOBTN" = "yes"; then
46157 cat >>confdefs.h <<\_ACEOF
46158 #define wxUSE_RADIOBTN 1
46159 _ACEOF
46160
46161 USES_CONTROLS=1
46162 fi
46163
46164 if test "$wxUSE_REARRANGECTRL" = "yes"; then
46165 cat >>confdefs.h <<\_ACEOF
46166 #define wxUSE_REARRANGECTRL 1
46167 _ACEOF
46168
46169 fi
46170
46171 if test "$wxUSE_SASH" = "yes"; then
46172 cat >>confdefs.h <<\_ACEOF
46173 #define wxUSE_SASH 1
46174 _ACEOF
46175
46176 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
46177 fi
46178
46179 if test "$wxUSE_SCROLLBAR" = "yes"; then
46180 cat >>confdefs.h <<\_ACEOF
46181 #define wxUSE_SCROLLBAR 1
46182 _ACEOF
46183
46184 USES_CONTROLS=1
46185 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll"
46186 fi
46187
46188 if test "$wxUSE_SEARCHCTRL" = "yes"; then
46189 cat >>confdefs.h <<\_ACEOF
46190 #define wxUSE_SEARCHCTRL 1
46191 _ACEOF
46192
46193 USES_CONTROLS=1
46194 fi
46195
46196 if test "$wxUSE_SLIDER" = "yes"; then
46197 cat >>confdefs.h <<\_ACEOF
46198 #define wxUSE_SLIDER 1
46199 _ACEOF
46200
46201 USES_CONTROLS=1
46202 fi
46203
46204 if test "$wxUSE_SPINBTN" = "yes"; then
46205 cat >>confdefs.h <<\_ACEOF
46206 #define wxUSE_SPINBTN 1
46207 _ACEOF
46208
46209 USES_CONTROLS=1
46210 fi
46211
46212 if test "$wxUSE_SPINCTRL" = "yes"; then
46213 cat >>confdefs.h <<\_ACEOF
46214 #define wxUSE_SPINCTRL 1
46215 _ACEOF
46216
46217 USES_CONTROLS=1
46218 fi
46219
46220 if test "$wxUSE_SPLITTER" = "yes"; then
46221 cat >>confdefs.h <<\_ACEOF
46222 #define wxUSE_SPLITTER 1
46223 _ACEOF
46224
46225 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
46226 fi
46227
46228 if test "$wxUSE_STATBMP" = "yes"; then
46229 cat >>confdefs.h <<\_ACEOF
46230 #define wxUSE_STATBMP 1
46231 _ACEOF
46232
46233 USES_CONTROLS=1
46234 fi
46235
46236 if test "$wxUSE_STATBOX" = "yes"; then
46237 cat >>confdefs.h <<\_ACEOF
46238 #define wxUSE_STATBOX 1
46239 _ACEOF
46240
46241 USES_CONTROLS=1
46242 fi
46243
46244 if test "$wxUSE_STATTEXT" = "yes"; then
46245 cat >>confdefs.h <<\_ACEOF
46246 #define wxUSE_STATTEXT 1
46247 _ACEOF
46248
46249 USES_CONTROLS=1
46250 fi
46251
46252 if test "$wxUSE_STATLINE" = "yes"; then
46253 cat >>confdefs.h <<\_ACEOF
46254 #define wxUSE_STATLINE 1
46255 _ACEOF
46256
46257 USES_CONTROLS=1
46258 fi
46259
46260 if test "$wxUSE_STATUSBAR" = "yes"; then
46261 cat >>confdefs.h <<\_ACEOF
46262 #define wxUSE_NATIVE_STATUSBAR 1
46263 _ACEOF
46264
46265 cat >>confdefs.h <<\_ACEOF
46266 #define wxUSE_STATUSBAR 1
46267 _ACEOF
46268
46269 USES_CONTROLS=1
46270
46271 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
46272 fi
46273
46274 if test "$wxUSE_TEXTCTRL" = "yes"; then
46275 cat >>confdefs.h <<\_ACEOF
46276 #define wxUSE_TEXTCTRL 1
46277 _ACEOF
46278
46279 USES_CONTROLS=1
46280 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
46281
46282 cat >>confdefs.h <<\_ACEOF
46283 #define wxUSE_RICHEDIT 1
46284 _ACEOF
46285
46286 cat >>confdefs.h <<\_ACEOF
46287 #define wxUSE_RICHEDIT2 1
46288 _ACEOF
46289
46290 fi
46291
46292 if test "$wxUSE_TOGGLEBTN" = "yes"; then
46293 if test "$wxUSE_COCOA" = 1 ; then
46294 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
46295 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
46296 wxUSE_TOGGLEBTN=no
46297 fi
46298
46299 if test "$wxUSE_TOGGLEBTN" = "yes"; then
46300 cat >>confdefs.h <<\_ACEOF
46301 #define wxUSE_TOGGLEBTN 1
46302 _ACEOF
46303
46304 USES_CONTROLS=1
46305 fi
46306 fi
46307
46308 if test "$wxUSE_TOOLBAR" = "yes"; then
46309 cat >>confdefs.h <<\_ACEOF
46310 #define wxUSE_TOOLBAR 1
46311 _ACEOF
46312
46313 USES_CONTROLS=1
46314
46315 if test "$wxUSE_UNIVERSAL" = "yes"; then
46316 wxUSE_TOOLBAR_NATIVE="no"
46317 else
46318 wxUSE_TOOLBAR_NATIVE="yes"
46319 cat >>confdefs.h <<\_ACEOF
46320 #define wxUSE_TOOLBAR_NATIVE 1
46321 _ACEOF
46322
46323 fi
46324
46325 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
46326 fi
46327
46328 if test "$wxUSE_TOOLTIPS" = "yes"; then
46329 if test "$wxUSE_MOTIF" = 1; then
46330 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
46331 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
46332 else
46333 if test "$wxUSE_UNIVERSAL" = "yes"; then
46334 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
46335 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
46336 else
46337 cat >>confdefs.h <<\_ACEOF
46338 #define wxUSE_TOOLTIPS 1
46339 _ACEOF
46340
46341 fi
46342 fi
46343 fi
46344
46345 if test "$wxUSE_TREEBOOK" = "yes"; then
46346 cat >>confdefs.h <<\_ACEOF
46347 #define wxUSE_TREEBOOK 1
46348 _ACEOF
46349
46350 USES_CONTROLS=1
46351 fi
46352
46353 if test "$wxUSE_TOOLBOOK" = "yes"; then
46354 cat >>confdefs.h <<\_ACEOF
46355 #define wxUSE_TOOLBOOK 1
46356 _ACEOF
46357
46358 USES_CONTROLS=1
46359 fi
46360
46361 if test "$wxUSE_TREECTRL" = "yes"; then
46362 if test "$wxUSE_IMAGLIST" = "yes"; then
46363 cat >>confdefs.h <<\_ACEOF
46364 #define wxUSE_TREECTRL 1
46365 _ACEOF
46366
46367 USES_CONTROLS=1
46368 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
46369 else
46370 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
46371 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
46372 fi
46373 fi
46374
46375 if test "$wxUSE_POPUPWIN" = "yes"; then
46376 if test "$wxUSE_COCOA" = 1 ; then
46377 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
46378 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
46379 else
46380 if test "$wxUSE_PM" = 1; then
46381 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
46382 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
46383 else
46384 cat >>confdefs.h <<\_ACEOF
46385 #define wxUSE_POPUPWIN 1
46386 _ACEOF
46387
46388 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
46389
46390 USES_CONTROLS=1
46391 fi
46392 fi
46393 fi
46394
46395 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
46396 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
46397 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
46398 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
46399 else
46400 cat >>confdefs.h <<\_ACEOF
46401 #define wxUSE_DIALUP_MANAGER 1
46402 _ACEOF
46403
46404 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
46405 fi
46406 fi
46407
46408 if test "$wxUSE_TIPWINDOW" = "yes"; then
46409 if test "$wxUSE_PM" = 1; then
46410 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
46411 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
46412 else
46413 cat >>confdefs.h <<\_ACEOF
46414 #define wxUSE_TIPWINDOW 1
46415 _ACEOF
46416
46417 fi
46418 fi
46419
46420 if test "$USES_CONTROLS" = 1; then
46421 cat >>confdefs.h <<\_ACEOF
46422 #define wxUSE_CONTROLS 1
46423 _ACEOF
46424
46425 fi
46426
46427
46428 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
46429 cat >>confdefs.h <<\_ACEOF
46430 #define wxUSE_ACCESSIBILITY 1
46431 _ACEOF
46432
46433 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
46434 fi
46435
46436 if test "$wxUSE_DRAGIMAGE" = "yes"; then
46437 cat >>confdefs.h <<\_ACEOF
46438 #define wxUSE_DRAGIMAGE 1
46439 _ACEOF
46440
46441 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
46442 fi
46443
46444 if test "$wxUSE_EXCEPTIONS" = "yes"; then
46445 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
46446 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
46447 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
46448 else
46449 cat >>confdefs.h <<\_ACEOF
46450 #define wxUSE_EXCEPTIONS 1
46451 _ACEOF
46452
46453 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
46454 fi
46455 fi
46456
46457 USE_HTML=0
46458 if test "$wxUSE_HTML" = "yes"; then
46459 cat >>confdefs.h <<\_ACEOF
46460 #define wxUSE_HTML 1
46461 _ACEOF
46462
46463 USE_HTML=1
46464 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
46465 fi
46466 if test "$wxUSE_WEBKIT" = "yes"; then
46467 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
46468 old_CPPFLAGS="$CPPFLAGS"
46469 CPPFLAGS="-x objective-c++ $CPPFLAGS"
46470 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
46471 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
46472 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
46473 echo $ECHO_N "(cached) $ECHO_C" >&6
46474 else
46475 cat >conftest.$ac_ext <<_ACEOF
46476 /* confdefs.h. */
46477 _ACEOF
46478 cat confdefs.h >>conftest.$ac_ext
46479 cat >>conftest.$ac_ext <<_ACEOF
46480 /* end confdefs.h. */
46481
46482 #include <Carbon/Carbon.h>
46483 #include <WebKit/WebKit.h>
46484
46485
46486 #include <WebKit/HIWebView.h>
46487 _ACEOF
46488 rm -f conftest.$ac_objext
46489 if { (ac_try="$ac_compile"
46490 case "(($ac_try" in
46491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46492 *) ac_try_echo=$ac_try;;
46493 esac
46494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46495 (eval "$ac_compile") 2>conftest.er1
46496 ac_status=$?
46497 grep -v '^ *+' conftest.er1 >conftest.err
46498 rm -f conftest.er1
46499 cat conftest.err >&5
46500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46501 (exit $ac_status); } && {
46502 test -z "$ac_c_werror_flag" ||
46503 test ! -s conftest.err
46504 } && test -s conftest.$ac_objext; then
46505 ac_cv_header_WebKit_HIWebView_h=yes
46506 else
46507 echo "$as_me: failed program was:" >&5
46508 sed 's/^/| /' conftest.$ac_ext >&5
46509
46510 ac_cv_header_WebKit_HIWebView_h=no
46511 fi
46512
46513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46514 fi
46515 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
46516 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
46517 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
46518
46519 cat >>confdefs.h <<\_ACEOF
46520 #define wxUSE_WEBKIT 1
46521 _ACEOF
46522
46523 WEBKIT_LINK="-framework WebKit"
46524
46525 else
46526
46527 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
46528 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
46529 wxUSE_WEBKIT=no
46530
46531 fi
46532
46533
46534 CPPFLAGS="$old_CPPFLAGS"
46535 elif test "$wxUSE_COCOA" = 1; then
46536 cat >>confdefs.h <<\_ACEOF
46537 #define wxUSE_WEBKIT 1
46538 _ACEOF
46539
46540 else
46541 wxUSE_WEBKIT=no
46542 fi
46543 if test "$wxUSE_WEBKIT" = "yes"; then
46544 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
46545 fi
46546 fi
46547
46548 USE_XRC=0
46549 if test "$wxUSE_XRC" = "yes"; then
46550 if test "$wxUSE_XML" != "yes"; then
46551 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
46552 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
46553 wxUSE_XRC=no
46554 else
46555 cat >>confdefs.h <<\_ACEOF
46556 #define wxUSE_XRC 1
46557 _ACEOF
46558
46559 USE_XRC=1
46560 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
46561 fi
46562 fi
46563
46564 USE_AUI=0
46565 if test "$wxUSE_AUI" = "yes"; then
46566 cat >>confdefs.h <<\_ACEOF
46567 #define wxUSE_AUI 1
46568 _ACEOF
46569
46570 USE_AUI=1
46571 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
46572 fi
46573
46574 USE_PROPGRID=0
46575 if test "$wxUSE_PROPGRID" = "yes"; then
46576 cat >>confdefs.h <<\_ACEOF
46577 #define wxUSE_PROPGRID 1
46578 _ACEOF
46579
46580 USE_PROPGRID=1
46581 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS propgrid"
46582 fi
46583
46584 USE_RIBBON=0
46585 if test "$wxUSE_RIBBON" = "yes"; then
46586 cat >>confdefs.h <<\_ACEOF
46587 #define wxUSE_RIBBON 1
46588 _ACEOF
46589
46590 USE_RIBBON=1
46591 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ribbon"
46592 fi
46593
46594 USE_STC=0
46595 if test "$wxUSE_STC" = "yes"; then
46596 cat >>confdefs.h <<\_ACEOF
46597 #define wxUSE_STC 1
46598 _ACEOF
46599
46600 USE_STC=1
46601 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
46602
46603 # Extract the first word of "python", so it can be a program name with args.
46604 set dummy python; ac_word=$2
46605 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46606 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46607 if test "${ac_cv_path_PYTHON+set}" = set; then
46608 echo $ECHO_N "(cached) $ECHO_C" >&6
46609 else
46610 case $PYTHON in
46611 [\\/]* | ?:[\\/]*)
46612 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
46613 ;;
46614 *)
46615 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46616 for as_dir in $PATH
46617 do
46618 IFS=$as_save_IFS
46619 test -z "$as_dir" && as_dir=.
46620 for ac_exec_ext in '' $ac_executable_extensions; do
46621 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46622 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
46623 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46624 break 2
46625 fi
46626 done
46627 done
46628 IFS=$as_save_IFS
46629
46630 ;;
46631 esac
46632 fi
46633 PYTHON=$ac_cv_path_PYTHON
46634 if test -n "$PYTHON"; then
46635 { echo "$as_me:$LINENO: result: $PYTHON" >&5
46636 echo "${ECHO_T}$PYTHON" >&6; }
46637 else
46638 { echo "$as_me:$LINENO: result: no" >&5
46639 echo "${ECHO_T}no" >&6; }
46640 fi
46641
46642
46643 if test "x$PYTHON" = "x"; then
46644 COND_PYTHON="#"
46645 fi
46646
46647 fi
46648
46649 if test "$wxUSE_MENUS" = "yes"; then
46650 cat >>confdefs.h <<\_ACEOF
46651 #define wxUSE_MENUS 1
46652 _ACEOF
46653
46654 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
46655 fi
46656
46657 if test "$wxUSE_METAFILE" = "yes"; then
46658 cat >>confdefs.h <<\_ACEOF
46659 #define wxUSE_METAFILE 1
46660 _ACEOF
46661
46662 fi
46663
46664 if test "$wxUSE_MIMETYPE" = "yes"; then
46665 cat >>confdefs.h <<\_ACEOF
46666 #define wxUSE_MIMETYPE 1
46667 _ACEOF
46668
46669 fi
46670
46671 if test "$wxUSE_MINIFRAME" = "yes"; then
46672 cat >>confdefs.h <<\_ACEOF
46673 #define wxUSE_MINIFRAME 1
46674 _ACEOF
46675
46676 fi
46677
46678 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
46679 cat >>confdefs.h <<\_ACEOF
46680 #define wxUSE_SYSTEM_OPTIONS 1
46681 _ACEOF
46682
46683 fi
46684
46685 if test "$wxUSE_TASKBARICON" = "yes"; then
46686 cat >>confdefs.h <<\_ACEOF
46687 #define wxUSE_TASKBARICON 1
46688 _ACEOF
46689
46690 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
46691 fi
46692
46693
46694 if test "$wxUSE_VALIDATORS" = "yes"; then
46695 cat >>confdefs.h <<\_ACEOF
46696 #define wxUSE_VALIDATORS 1
46697 _ACEOF
46698
46699 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
46700 fi
46701
46702 if test "$wxUSE_PALETTE" = "yes" ; then
46703 if test "$wxUSE_DFB" = 1; then
46704 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
46705 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
46706 wxUSE_PALETTE=no
46707 else
46708 cat >>confdefs.h <<\_ACEOF
46709 #define wxUSE_PALETTE 1
46710 _ACEOF
46711
46712 fi
46713 fi
46714
46715 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
46716 LIBS=" -lunicows $LIBS"
46717 fi
46718
46719 USE_RICHTEXT=0
46720 if test "$wxUSE_RICHTEXT" = "yes"; then
46721 cat >>confdefs.h <<\_ACEOF
46722 #define wxUSE_RICHTEXT 1
46723 _ACEOF
46724
46725 USE_RICHTEXT=1
46726 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
46727 fi
46728
46729
46730 if test "$wxUSE_IMAGE" = "yes" ; then
46731 cat >>confdefs.h <<\_ACEOF
46732 #define wxUSE_IMAGE 1
46733 _ACEOF
46734
46735
46736 if test "$wxUSE_GIF" = "yes" ; then
46737 cat >>confdefs.h <<\_ACEOF
46738 #define wxUSE_GIF 1
46739 _ACEOF
46740
46741 fi
46742
46743 if test "$wxUSE_PCX" = "yes" ; then
46744 cat >>confdefs.h <<\_ACEOF
46745 #define wxUSE_PCX 1
46746 _ACEOF
46747
46748 fi
46749
46750 if test "$wxUSE_TGA" = "yes" ; then
46751 cat >>confdefs.h <<\_ACEOF
46752 #define wxUSE_TGA 1
46753 _ACEOF
46754
46755 fi
46756
46757 if test "$wxUSE_IFF" = "yes" ; then
46758 cat >>confdefs.h <<\_ACEOF
46759 #define wxUSE_IFF 1
46760 _ACEOF
46761
46762 fi
46763
46764 if test "$wxUSE_PNM" = "yes" ; then
46765 cat >>confdefs.h <<\_ACEOF
46766 #define wxUSE_PNM 1
46767 _ACEOF
46768
46769 fi
46770
46771 if test "$wxUSE_XPM" = "yes" ; then
46772 cat >>confdefs.h <<\_ACEOF
46773 #define wxUSE_XPM 1
46774 _ACEOF
46775
46776 fi
46777
46778 if test "$wxUSE_ICO_CUR" = "yes" ; then
46779 cat >>confdefs.h <<\_ACEOF
46780 #define wxUSE_ICO_CUR 1
46781 _ACEOF
46782
46783 fi
46784 fi
46785
46786
46787 if test "$wxUSE_ABOUTDLG" = "yes"; then
46788 cat >>confdefs.h <<\_ACEOF
46789 #define wxUSE_ABOUTDLG 1
46790 _ACEOF
46791
46792 fi
46793
46794 if test "$wxUSE_CHOICEDLG" = "yes"; then
46795 cat >>confdefs.h <<\_ACEOF
46796 #define wxUSE_CHOICEDLG 1
46797 _ACEOF
46798
46799 fi
46800
46801 if test "$wxUSE_COLOURDLG" = "yes"; then
46802 cat >>confdefs.h <<\_ACEOF
46803 #define wxUSE_COLOURDLG 1
46804 _ACEOF
46805
46806 fi
46807
46808 if test "$wxUSE_FILEDLG" = "yes"; then
46809 cat >>confdefs.h <<\_ACEOF
46810 #define wxUSE_FILEDLG 1
46811 _ACEOF
46812
46813 fi
46814
46815 if test "$wxUSE_FINDREPLDLG" = "yes"; then
46816 cat >>confdefs.h <<\_ACEOF
46817 #define wxUSE_FINDREPLDLG 1
46818 _ACEOF
46819
46820 fi
46821
46822 if test "$wxUSE_FONTDLG" = "yes"; then
46823 cat >>confdefs.h <<\_ACEOF
46824 #define wxUSE_FONTDLG 1
46825 _ACEOF
46826
46827 fi
46828
46829 if test "$wxUSE_DIRDLG" = "yes"; then
46830 if test "$wxUSE_TREECTRL" != "yes"; then
46831 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
46832 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
46833 else
46834 cat >>confdefs.h <<\_ACEOF
46835 #define wxUSE_DIRDLG 1
46836 _ACEOF
46837
46838 fi
46839 fi
46840
46841 if test "$wxUSE_MSGDLG" = "yes"; then
46842 cat >>confdefs.h <<\_ACEOF
46843 #define wxUSE_MSGDLG 1
46844 _ACEOF
46845
46846 fi
46847
46848 if test "$wxUSE_NUMBERDLG" = "yes"; then
46849 cat >>confdefs.h <<\_ACEOF
46850 #define wxUSE_NUMBERDLG 1
46851 _ACEOF
46852
46853 fi
46854
46855 if test "$wxUSE_PROGRESSDLG" = "yes"; then
46856 cat >>confdefs.h <<\_ACEOF
46857 #define wxUSE_PROGRESSDLG 1
46858 _ACEOF
46859
46860 fi
46861
46862 if test "$wxUSE_SPLASH" = "yes"; then
46863 cat >>confdefs.h <<\_ACEOF
46864 #define wxUSE_SPLASH 1
46865 _ACEOF
46866
46867 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
46868 fi
46869
46870 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
46871 cat >>confdefs.h <<\_ACEOF
46872 #define wxUSE_STARTUP_TIPS 1
46873 _ACEOF
46874
46875 fi
46876
46877 if test "$wxUSE_TEXTDLG" = "yes"; then
46878 cat >>confdefs.h <<\_ACEOF
46879 #define wxUSE_TEXTDLG 1
46880 _ACEOF
46881
46882 fi
46883
46884 if test "$wxUSE_WIZARDDLG" = "yes"; then
46885 cat >>confdefs.h <<\_ACEOF
46886 #define wxUSE_WIZARDDLG 1
46887 _ACEOF
46888
46889 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
46890 fi
46891
46892
46893 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
46894 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
46895 cat >>confdefs.h <<\_ACEOF
46896 #define wxUSE_OWNER_DRAWN 1
46897 _ACEOF
46898
46899 fi
46900 fi
46901
46902
46903 if test "$wxUSE_MSW" = 1 ; then
46904
46905 if test "$wxUSE_DC_CACHEING" = "yes"; then
46906 cat >>confdefs.h <<\_ACEOF
46907 #define wxUSE_DC_CACHEING 1
46908 _ACEOF
46909
46910 fi
46911
46912 if test "$wxUSE_DIB" = "yes"; then
46913 cat >>confdefs.h <<\_ACEOF
46914 #define wxUSE_WXDIB 1
46915 _ACEOF
46916
46917 fi
46918
46919 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
46920 cat >>confdefs.h <<\_ACEOF
46921 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
46922 _ACEOF
46923
46924 fi
46925
46926 if test "$wxUSE_UXTHEME" = "yes"; then
46927 cat >>confdefs.h <<\_ACEOF
46928 #define wxUSE_UXTHEME 1
46929 _ACEOF
46930
46931 fi
46932
46933 fi
46934
46935 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
46936 cat >>confdefs.h <<\_ACEOF
46937 #define wxUSE_AUTOID_MANAGEMENT 1
46938 _ACEOF
46939
46940 fi
46941
46942 if test "$USE_WIN32" = 1 ; then
46943 if test "$wxUSE_INICONF" = "yes"; then
46944 cat >>confdefs.h <<\_ACEOF
46945 #define wxUSE_INICONF 1
46946 _ACEOF
46947
46948 fi
46949
46950 if test "$wxUSE_REGKEY" = "yes"; then
46951 cat >>confdefs.h <<\_ACEOF
46952 #define wxUSE_REGKEY 1
46953 _ACEOF
46954
46955 fi
46956 fi
46957
46958
46959 if test "$wxUSE_MAC" = 1; then
46960 wxUSE_GRAPHICS_CONTEXT="yes"
46961 fi
46962
46963 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
46964 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
46965 cat >>confdefs.h <<\_ACEOF
46966 #define wxUSE_GRAPHICS_CONTEXT 1
46967 _ACEOF
46968
46969 elif test "$wxUSE_GTK" != 1; then
46970 cat >>confdefs.h <<\_ACEOF
46971 #define wxUSE_GRAPHICS_CONTEXT 1
46972 _ACEOF
46973
46974 else
46975
46976 pkg_failed=no
46977 { echo "$as_me:$LINENO: checking for CAIRO" >&5
46978 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
46979
46980 if test -n "$PKG_CONFIG"; then
46981 if test -n "$CAIRO_CFLAGS"; then
46982 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
46983 else
46984 if test -n "$PKG_CONFIG" && \
46985 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46986 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46987 ac_status=$?
46988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46989 (exit $ac_status); }; then
46990 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
46991 else
46992 pkg_failed=yes
46993 fi
46994 fi
46995 else
46996 pkg_failed=untried
46997 fi
46998 if test -n "$PKG_CONFIG"; then
46999 if test -n "$CAIRO_LIBS"; then
47000 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
47001 else
47002 if test -n "$PKG_CONFIG" && \
47003 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
47004 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
47005 ac_status=$?
47006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47007 (exit $ac_status); }; then
47008 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
47009 else
47010 pkg_failed=yes
47011 fi
47012 fi
47013 else
47014 pkg_failed=untried
47015 fi
47016
47017
47018
47019 if test $pkg_failed = yes; then
47020
47021 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47022 _pkg_short_errors_supported=yes
47023 else
47024 _pkg_short_errors_supported=no
47025 fi
47026 if test $_pkg_short_errors_supported = yes; then
47027 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
47028 else
47029 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
47030 fi
47031 # Put the nasty error message in config.log where it belongs
47032 echo "$CAIRO_PKG_ERRORS" >&5
47033
47034 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
47035 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
47036
47037 elif test $pkg_failed = untried; then
47038 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
47039 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
47040
47041 else
47042 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
47043 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
47044 { echo "$as_me:$LINENO: result: yes" >&5
47045 echo "${ECHO_T}yes" >&6; }
47046 cat >>confdefs.h <<\_ACEOF
47047 #define wxUSE_GRAPHICS_CONTEXT 1
47048 _ACEOF
47049
47050 fi
47051 fi
47052 fi
47053
47054
47055 USE_MEDIA=0
47056
47057 if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then
47058 USE_MEDIA=1
47059
47060 if test "$wxUSE_GTK" = 1; then
47061 wxUSE_GSTREAMER="no"
47062
47063 GST_VERSION_MAJOR=0
47064 GST_VERSION_MINOR=10
47065 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
47066
47067 if test "$wxUSE_GSTREAMER8" = "no"; then
47068
47069 pkg_failed=no
47070 { echo "$as_me:$LINENO: checking for GST" >&5
47071 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
47072
47073 if test -n "$PKG_CONFIG"; then
47074 if test -n "$GST_CFLAGS"; then
47075 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
47076 else
47077 if test -n "$PKG_CONFIG" && \
47078 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
47079 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
47080 ac_status=$?
47081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47082 (exit $ac_status); }; then
47083 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
47084 else
47085 pkg_failed=yes
47086 fi
47087 fi
47088 else
47089 pkg_failed=untried
47090 fi
47091 if test -n "$PKG_CONFIG"; then
47092 if test -n "$GST_LIBS"; then
47093 pkg_cv_GST_LIBS="$GST_LIBS"
47094 else
47095 if test -n "$PKG_CONFIG" && \
47096 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
47097 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
47098 ac_status=$?
47099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47100 (exit $ac_status); }; then
47101 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
47102 else
47103 pkg_failed=yes
47104 fi
47105 fi
47106 else
47107 pkg_failed=untried
47108 fi
47109
47110
47111
47112 if test $pkg_failed = yes; then
47113
47114 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47115 _pkg_short_errors_supported=yes
47116 else
47117 _pkg_short_errors_supported=no
47118 fi
47119 if test $_pkg_short_errors_supported = yes; then
47120 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
47121 else
47122 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
47123 fi
47124 # Put the nasty error message in config.log where it belongs
47125 echo "$GST_PKG_ERRORS" >&5
47126
47127
47128 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
47129 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
47130 GST_VERSION_MINOR=8
47131
47132
47133 elif test $pkg_failed = untried; then
47134
47135 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
47136 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
47137 GST_VERSION_MINOR=8
47138
47139
47140 else
47141 GST_CFLAGS=$pkg_cv_GST_CFLAGS
47142 GST_LIBS=$pkg_cv_GST_LIBS
47143 { echo "$as_me:$LINENO: result: yes" >&5
47144 echo "${ECHO_T}yes" >&6; }
47145
47146 wxUSE_GSTREAMER="yes"
47147 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
47148
47149 fi
47150 else
47151 GST_VERSION_MINOR=8
47152 fi
47153
47154 if test $GST_VERSION_MINOR = "8"; then
47155 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
47156
47157 pkg_failed=no
47158 { echo "$as_me:$LINENO: checking for GST" >&5
47159 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
47160
47161 if test -n "$PKG_CONFIG"; then
47162 if test -n "$GST_CFLAGS"; then
47163 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
47164 else
47165 if test -n "$PKG_CONFIG" && \
47166 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
47167 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
47168 ac_status=$?
47169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47170 (exit $ac_status); }; then
47171 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
47172 else
47173 pkg_failed=yes
47174 fi
47175 fi
47176 else
47177 pkg_failed=untried
47178 fi
47179 if test -n "$PKG_CONFIG"; then
47180 if test -n "$GST_LIBS"; then
47181 pkg_cv_GST_LIBS="$GST_LIBS"
47182 else
47183 if test -n "$PKG_CONFIG" && \
47184 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
47185 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
47186 ac_status=$?
47187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47188 (exit $ac_status); }; then
47189 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
47190 else
47191 pkg_failed=yes
47192 fi
47193 fi
47194 else
47195 pkg_failed=untried
47196 fi
47197
47198
47199
47200 if test $pkg_failed = yes; then
47201
47202 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47203 _pkg_short_errors_supported=yes
47204 else
47205 _pkg_short_errors_supported=no
47206 fi
47207 if test $_pkg_short_errors_supported = yes; then
47208 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
47209 else
47210 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
47211 fi
47212 # Put the nasty error message in config.log where it belongs
47213 echo "$GST_PKG_ERRORS" >&5
47214
47215
47216 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
47217 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
47218
47219 elif test $pkg_failed = untried; then
47220
47221 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
47222 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
47223
47224 else
47225 GST_CFLAGS=$pkg_cv_GST_CFLAGS
47226 GST_LIBS=$pkg_cv_GST_LIBS
47227 { echo "$as_me:$LINENO: result: yes" >&5
47228 echo "${ECHO_T}yes" >&6; }
47229 wxUSE_GSTREAMER="yes"
47230 fi
47231 fi
47232
47233
47234 if test "$wxUSE_GSTREAMER" = "yes"; then
47235 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
47236 EXTRALIBS_MEDIA="$GST_LIBS"
47237
47238 cat >>confdefs.h <<\_ACEOF
47239 #define wxUSE_GSTREAMER 1
47240 _ACEOF
47241
47242 else
47243 USE_MEDIA=0
47244 fi
47245 fi
47246
47247 if test $USE_MEDIA = 1; then
47248 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
47249 cat >>confdefs.h <<\_ACEOF
47250 #define wxUSE_MEDIACTRL 1
47251 _ACEOF
47252
47253 else
47254 if test "$wxUSE_MEDIACTRL" = "yes"; then
47255 { { echo "$as_me:$LINENO: error: GStreamer not available" >&5
47256 echo "$as_me: error: GStreamer not available" >&2;}
47257 { (exit 1); exit 1; }; }
47258 else
47259 { echo "$as_me:$LINENO: WARNING: GStreamer not available... disabling wxMediaCtrl" >&5
47260 echo "$as_me: WARNING: GStreamer not available... disabling wxMediaCtrl" >&2;}
47261 fi
47262 fi
47263 fi
47264
47265
47266 if test "$cross_compiling" != "no"; then
47267 OSINFO="\"$host\""
47268 else
47269 OSINFO=`uname -s -r -m`
47270 OSINFO="\"$OSINFO\""
47271 fi
47272
47273 cat >>confdefs.h <<_ACEOF
47274 #define WXWIN_OS_DESCRIPTION $OSINFO
47275 _ACEOF
47276
47277
47278
47279 if test "x$prefix" != "xNONE"; then
47280 wxPREFIX=$prefix
47281 else
47282 wxPREFIX=$ac_default_prefix
47283 fi
47284
47285 cat >>confdefs.h <<_ACEOF
47286 #define wxINSTALL_PREFIX "$wxPREFIX"
47287 _ACEOF
47288
47289
47290
47291
47292 STD_BASE_LIBS="base"
47293 STD_GUI_LIBS=""
47294 BUILT_WX_LIBS="base"
47295 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
47296
47297 if test "$wxUSE_SOCKETS" = "yes" ; then
47298 STD_BASE_LIBS="net $STD_BASE_LIBS"
47299 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
47300 fi
47301 if test "$wxUSE_XML" = "yes" ; then
47302 STD_BASE_LIBS="xml $STD_BASE_LIBS"
47303 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
47304 fi
47305
47306 if test "$wxUSE_GUI" = "yes"; then
47307 STD_GUI_LIBS="adv core"
47308 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
47309
47310 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47311 STD_GUI_LIBS="qa $STD_GUI_LIBS"
47312 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
47313 fi
47314 if test "$wxUSE_HTML" = "yes" ; then
47315 STD_GUI_LIBS="html $STD_GUI_LIBS"
47316 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
47317 fi
47318 if test "$wxUSE_MEDIACTRL" = "yes" ; then
47319 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
47320 fi
47321 if test "$wxUSE_OPENGL" = "yes" ; then
47322 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
47323 fi
47324 if test "$wxUSE_AUI" = "yes" ; then
47325 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
47326 fi
47327 if test "$wxUSE_PROPGRID" = "yes" ; then
47328 BUILT_WX_LIBS="propgrid $BUILT_WX_LIBS"
47329 fi
47330 if test "$wxUSE_RIBBON" = "yes" ; then
47331 BUILT_WX_LIBS="ribbon $BUILT_WX_LIBS"
47332 fi
47333 if test "$wxUSE_RICHTEXT" = "yes" ; then
47334 BUILT_WX_LIBS="richtext $BUILT_WX_LIBS"
47335 fi
47336 if test "$wxUSE_STC" = "yes" ; then
47337 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
47338 fi
47339 if test "$wxUSE_XRC" = "yes" ; then
47340 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
47341 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
47342 fi
47343 fi
47344
47345
47346
47347
47348
47349
47350
47351 EXTRA_FRAMEWORKS=
47352 if test "$wxUSE_MAC" = 1 ; then
47353 if test "$USE_DARWIN" = 1; then
47354 EXTRA_FRAMEWORKS="-framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL -framework QuickTime"
47355 fi
47356 fi
47357 if test "$wxUSE_COCOA" = 1 ; then
47358 EXTRA_FRAMEWORKS="-framework IOKit -framework Cocoa"
47359 if test "$wxUSE_MEDIACTRL" = "yes"; then
47360 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework QuickTime"
47361 fi
47362 fi
47363 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
47364 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
47365 fi
47366
47367 LDFLAGS="$LDFLAGS $EXTRA_FRAMEWORKS"
47368 WXCONFIG_LDFLAGS="$WXCONFIG_LDFLAGS $EXTRA_FRAMEWORKS"
47369
47370 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
47371
47372 if test "$wxUSE_GUI" = "yes"; then
47373
47374
47375 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
47376 erase event exec font image minimal render \
47377 shaped svg taborder vscroll widgets wrapsizer"
47378
47379 if test "$wxUSE_MONOLITHIC" != "yes"; then
47380 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
47381 fi
47382 if test "$TOOLKIT" = "MSW"; then
47383 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
47384 if test "$wxUSE_UNIVERSAL" != "yes"; then
47385 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
47386 fi
47387 fi
47388 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
47389 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
47390 fi
47391 else
47392 SAMPLES_SUBDIRS="console"
47393 if test "$wxUSE_SOCKETS" = "yes" ; then
47394 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
47395 fi
47396 if test "$wxUSE_IPC" = "yes" ; then
47397 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
47398 fi
47399 fi
47400
47401
47402 if test "x$INTELCC" = "xyes" ; then
47403 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684,2259"
47404 elif test "$GCC" = yes ; then
47405 CWARNINGS="-Wall -Wundef"
47406 fi
47407
47408 if test "x$INTELCXX" = "xyes" ; then
47409 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419,1881,2259"
47410 elif test "$GXX" = yes ; then
47411 CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
47412 { echo "$as_me:$LINENO: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5
47413 echo $ECHO_N "checking CXXWARNINGS for gcc -Woverloaded-virtual... $ECHO_C" >&6; }
47414 if test "${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+set}" = set; then
47415 echo $ECHO_N "(cached) $ECHO_C" >&6
47416 else
47417 ac_cv_cxxflags_gcc_option__Woverloaded_virtual="no, unknown"
47418
47419 ac_ext=cpp
47420 ac_cpp='$CXXCPP $CPPFLAGS'
47421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47424
47425 ac_save_CXXFLAGS="$CXXFLAGS"
47426 for ac_arg in "-pedantic -Werror % -Woverloaded-virtual" "-pedantic % -Woverloaded-virtual %% no, obsolete" #
47427 do CXXFLAGS="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
47428 cat >conftest.$ac_ext <<_ACEOF
47429 /* confdefs.h. */
47430 _ACEOF
47431 cat confdefs.h >>conftest.$ac_ext
47432 cat >>conftest.$ac_ext <<_ACEOF
47433 /* end confdefs.h. */
47434
47435 int
47436 main ()
47437 {
47438 return 0;
47439 ;
47440 return 0;
47441 }
47442 _ACEOF
47443 rm -f conftest.$ac_objext
47444 if { (ac_try="$ac_compile"
47445 case "(($ac_try" in
47446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47447 *) ac_try_echo=$ac_try;;
47448 esac
47449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47450 (eval "$ac_compile") 2>conftest.er1
47451 ac_status=$?
47452 grep -v '^ *+' conftest.er1 >conftest.err
47453 rm -f conftest.er1
47454 cat conftest.err >&5
47455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47456 (exit $ac_status); } && {
47457 test -z "$ac_cxx_werror_flag" ||
47458 test ! -s conftest.err
47459 } && test -s conftest.$ac_objext; then
47460 ac_cv_cxxflags_gcc_option__Woverloaded_virtual=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
47461 else
47462 echo "$as_me: failed program was:" >&5
47463 sed 's/^/| /' conftest.$ac_ext >&5
47464
47465
47466 fi
47467
47468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47469 done
47470 CXXFLAGS="$ac_save_CXXFLAGS"
47471 ac_ext=c
47472 ac_cpp='$CPP $CPPFLAGS'
47473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47476
47477
47478 fi
47479 { echo "$as_me:$LINENO: result: $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&5
47480 echo "${ECHO_T}$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&6; }
47481 case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in
47482 .ok|.ok,*) ;;
47483 .|.no|.no,*) ;;
47484 *)
47485 if echo " $CXXWARNINGS " | grep " $ac_cv_cxxflags_gcc_option__Woverloaded_virtual " 2>&1 >/dev/null
47486 then { (echo "$as_me:$LINENO: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual") >&5
47487 (: CXXWARNINGS does contain $ac_cv_cxxflags_gcc_option__Woverloaded_virtual) 2>&5
47488 ac_status=$?
47489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47490 (exit $ac_status); }
47491 else { (echo "$as_me:$LINENO: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\"") >&5
47492 (: CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual") 2>&5
47493 ac_status=$?
47494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47495 (exit $ac_status); }
47496 CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual"
47497 fi
47498 ;;
47499 esac
47500
47501
47502 if test "$wxUSE_MAC" = 1 ; then
47503 CXXWARNINGS="$CXXWARNINGS -Wno-deprecated-declarations"
47504 fi
47505 fi
47506
47507
47508 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
47509 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
47510
47511
47512 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
47513 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
47514 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
47515 $CPPFLAGS `
47516
47517 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
47518 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
47519 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
47520 OBJCFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
47521 OBJCXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
47522
47523 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
47524
47525
47526 if test "x$MWCC" = "xyes"; then
47527
47528 CC="$CC -cwd source -I-"
47529 CXX="$CXX -cwd source -I-"
47530 fi
47531
47532
47533 LIBS=`echo $LIBS`
47534 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
47535 EXTRALIBS_XML="$EXPAT_LINK"
47536 EXTRALIBS_HTML="$MSPACK_LINK"
47537 EXTRALIBS_MEDIA="$GST_LIBS"
47538 EXTRALIBS_STC="-lwxscintilla${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
47539 if test "$wxUSE_GUI" = "yes"; then
47540 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
47541 fi
47542 if test "$wxUSE_OPENGL" = "yes"; then
47543 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
47544 fi
47545
47546 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
47547
47548 WXCONFIG_LIBS="$LIBS"
47549
47550 if test "$wxUSE_REGEX" = "builtin" ; then
47551 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
47552 fi
47553 if test "$wxUSE_EXPAT" = "builtin" ; then
47554 wxconfig_3rdparty="expat $wxconfig_3rdparty"
47555 fi
47556 if test "$wxUSE_LIBTIFF" = "builtin" ; then
47557 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
47558 fi
47559 if test "$wxUSE_LIBJPEG" = "builtin" ; then
47560 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
47561 fi
47562 if test "$wxUSE_LIBPNG" = "builtin" ; then
47563 wxconfig_3rdparty="png $wxconfig_3rdparty"
47564 fi
47565 if test "$wxUSE_ZLIB" = "builtin" ; then
47566 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
47567 fi
47568
47569 for i in $wxconfig_3rdparty ; do
47570 WXCONFIG_LIBS="-lwx${i}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
47571 done
47572
47573
47574 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
47575 WXUNIV=1
47576
47577 case "$wxUNIV_THEMES" in
47578 ''|all)
47579 cat >>confdefs.h <<\_ACEOF
47580 #define wxUSE_ALL_THEMES 1
47581 _ACEOF
47582
47583 ;;
47584
47585 *)
47586 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
47587 cat >>confdefs.h <<_ACEOF
47588 #define wxUSE_THEME_$t 1
47589 _ACEOF
47590
47591 done
47592 esac
47593 else
47594 WXUNIV=0
47595 fi
47596
47597
47598
47599
47600
47601
47602
47603
47604 if test $wxUSE_MONOLITHIC = "yes" ; then
47605 MONOLITHIC=1
47606 else
47607 MONOLITHIC=0
47608 fi
47609
47610 if test $wxUSE_PLUGINS = "yes" ; then
47611 USE_PLUGINS=1
47612 else
47613 USE_PLUGINS=0
47614 fi
47615
47616 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47617 USE_QA=1
47618 else
47619 USE_QA=0
47620 fi
47621
47622 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
47623 OFFICIAL_BUILD=1
47624 else
47625 OFFICIAL_BUILD=0
47626 fi
47627
47628
47629
47630
47631
47632
47633
47634
47635
47636
47637
47638
47639
47640
47641
47642
47643
47644
47645
47646
47647
47648
47649
47650
47651
47652
47653
47654 TOOLKIT_LOWERCASE=xxx
47655 if test "$TOOLKIT" = "MAC"; then
47656 TOOLKIT_LOWERCASE=osx_carbon
47657 fi
47658 if test "$TOOLKIT" = "OSX_CARBON"; then
47659 TOOLKIT_LOWERCASE=osx_carbon
47660 fi
47661 if test "$TOOLKIT" = "OSX_COCOA"; then
47662 TOOLKIT_LOWERCASE=osx_cocoa
47663 fi
47664 if test "$TOOLKIT_LOWERCASE" = "xxx"; then
47665 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
47666 fi
47667
47668
47669
47670
47671
47672
47673
47674
47675
47676
47677 case "$TOOLKIT" in
47678 GTK)
47679 TOOLKIT_DESC="GTK+"
47680 if test "$WXGTK2" = 1; then
47681 TOOLKIT_DESC="$TOOLKIT_DESC 2"
47682 if test "$wxUSE_GTKPRINT" = "yes" ; then
47683 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
47684 fi
47685 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
47686 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
47687 fi
47688 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
47689 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
47690 fi
47691 if test "$wxUSE_LIBHILDON" = "yes"; then
47692 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
47693 fi
47694 if test "$wxUSE_LIBHILDON2" = "yes"; then
47695 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
47696 fi
47697
47698 if test "$TOOLKIT_EXTRA" != ""; then
47699 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
47700 fi
47701 fi
47702 ;;
47703
47704 ?*)
47705 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
47706 ;;
47707
47708 *)
47709 TOOLKIT_DESC="base only"
47710 ;;
47711 esac
47712
47713 if test "$wxUSE_WINE" = "yes"; then
47714 BAKEFILE_FORCE_PLATFORM=win32
47715 fi
47716
47717 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
47718 then
47719 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
47720 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
47721 if test "${wx_cv_gcc_pch_bug+set}" = set; then
47722 echo $ECHO_N "(cached) $ECHO_C" >&6
47723 else
47724
47725 echo '#include <stdio.h>
47726 const wchar_t test_var[] = L"awidetest";' > conftest.h
47727
47728 echo '#include "conftest.h"
47729 int main()
47730 {
47731 printf("%ls", test_var);
47732 return 0;
47733 }' > conftest.cpp
47734
47735 wx_cv_gcc_pch_bug="pch not supported"
47736
47737 if $CXX conftest.h >/dev/null 2>&1
47738 then
47739 wx_cv_gcc_pch_bug=
47740
47741 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
47742 then
47743 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
47744 grep awidetest >/dev/null
47745 then
47746 wx_cv_gcc_pch_bug=no
47747 else
47748 wx_cv_gcc_pch_bug=yes
47749 fi
47750 fi
47751 fi
47752
47753 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
47754
47755 fi
47756 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
47757 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
47758
47759 if test "$wx_cv_gcc_pch_bug" = yes; then
47760 bk_use_pch=no
47761 fi
47762 fi
47763
47764
47765
47766
47767
47768
47769
47770 if test "x$BAKEFILE_HOST" = "x"; then
47771 if test "x${host}" = "x" ; then
47772 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
47773 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
47774 { (exit 1); exit 1; }; }
47775 fi
47776
47777 BAKEFILE_HOST="${host}"
47778 fi
47779
47780 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
47781
47782 if test -n "$ac_tool_prefix"; then
47783 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
47784 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
47785 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47786 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47787 if test "${ac_cv_prog_RANLIB+set}" = set; then
47788 echo $ECHO_N "(cached) $ECHO_C" >&6
47789 else
47790 if test -n "$RANLIB"; then
47791 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
47792 else
47793 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47794 for as_dir in $PATH
47795 do
47796 IFS=$as_save_IFS
47797 test -z "$as_dir" && as_dir=.
47798 for ac_exec_ext in '' $ac_executable_extensions; do
47799 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47800 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
47801 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47802 break 2
47803 fi
47804 done
47805 done
47806 IFS=$as_save_IFS
47807
47808 fi
47809 fi
47810 RANLIB=$ac_cv_prog_RANLIB
47811 if test -n "$RANLIB"; then
47812 { echo "$as_me:$LINENO: result: $RANLIB" >&5
47813 echo "${ECHO_T}$RANLIB" >&6; }
47814 else
47815 { echo "$as_me:$LINENO: result: no" >&5
47816 echo "${ECHO_T}no" >&6; }
47817 fi
47818
47819
47820 fi
47821 if test -z "$ac_cv_prog_RANLIB"; then
47822 ac_ct_RANLIB=$RANLIB
47823 # Extract the first word of "ranlib", so it can be a program name with args.
47824 set dummy ranlib; ac_word=$2
47825 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47826 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47827 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
47828 echo $ECHO_N "(cached) $ECHO_C" >&6
47829 else
47830 if test -n "$ac_ct_RANLIB"; then
47831 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
47832 else
47833 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47834 for as_dir in $PATH
47835 do
47836 IFS=$as_save_IFS
47837 test -z "$as_dir" && as_dir=.
47838 for ac_exec_ext in '' $ac_executable_extensions; do
47839 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47840 ac_cv_prog_ac_ct_RANLIB="ranlib"
47841 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47842 break 2
47843 fi
47844 done
47845 done
47846 IFS=$as_save_IFS
47847
47848 fi
47849 fi
47850 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
47851 if test -n "$ac_ct_RANLIB"; then
47852 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
47853 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
47854 else
47855 { echo "$as_me:$LINENO: result: no" >&5
47856 echo "${ECHO_T}no" >&6; }
47857 fi
47858
47859 if test "x$ac_ct_RANLIB" = x; then
47860 RANLIB=":"
47861 else
47862 case $cross_compiling:$ac_tool_warned in
47863 yes:)
47864 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47865 whose name does not start with the host triplet. If you think this
47866 configuration is useful to you, please write to autoconf@gnu.org." >&5
47867 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47868 whose name does not start with the host triplet. If you think this
47869 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47870 ac_tool_warned=yes ;;
47871 esac
47872 RANLIB=$ac_ct_RANLIB
47873 fi
47874 else
47875 RANLIB="$ac_cv_prog_RANLIB"
47876 fi
47877
47878 # Find a good install program. We prefer a C program (faster),
47879 # so one script is as good as another. But avoid the broken or
47880 # incompatible versions:
47881 # SysV /etc/install, /usr/sbin/install
47882 # SunOS /usr/etc/install
47883 # IRIX /sbin/install
47884 # AIX /bin/install
47885 # AmigaOS /C/install, which installs bootblocks on floppy discs
47886 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
47887 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
47888 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
47889 # OS/2's system install, which has a completely different semantic
47890 # ./install, which can be erroneously created by make from ./install.sh.
47891 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
47892 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
47893 if test -z "$INSTALL"; then
47894 if test "${ac_cv_path_install+set}" = set; then
47895 echo $ECHO_N "(cached) $ECHO_C" >&6
47896 else
47897 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47898 for as_dir in $PATH
47899 do
47900 IFS=$as_save_IFS
47901 test -z "$as_dir" && as_dir=.
47902 # Account for people who put trailing slashes in PATH elements.
47903 case $as_dir/ in
47904 ./ | .// | /cC/* | \
47905 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
47906 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
47907 /usr/ucb/* ) ;;
47908 *)
47909 # OSF1 and SCO ODT 3.0 have their own names for install.
47910 # Don't use installbsd from OSF since it installs stuff as root
47911 # by default.
47912 for ac_prog in ginstall scoinst install; do
47913 for ac_exec_ext in '' $ac_executable_extensions; do
47914 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
47915 if test $ac_prog = install &&
47916 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
47917 # AIX install. It has an incompatible calling convention.
47918 :
47919 elif test $ac_prog = install &&
47920 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
47921 # program-specific install script used by HP pwplus--don't use.
47922 :
47923 else
47924 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
47925 break 3
47926 fi
47927 fi
47928 done
47929 done
47930 ;;
47931 esac
47932 done
47933 IFS=$as_save_IFS
47934
47935
47936 fi
47937 if test "${ac_cv_path_install+set}" = set; then
47938 INSTALL=$ac_cv_path_install
47939 else
47940 # As a last resort, use the slow shell script. Don't cache a
47941 # value for INSTALL within a source directory, because that will
47942 # break other packages using the cache if that directory is
47943 # removed, or if the value is a relative name.
47944 INSTALL=$ac_install_sh
47945 fi
47946 fi
47947 { echo "$as_me:$LINENO: result: $INSTALL" >&5
47948 echo "${ECHO_T}$INSTALL" >&6; }
47949
47950 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
47951 # It thinks the first close brace ends the variable substitution.
47952 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
47953
47954 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
47955
47956 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
47957
47958 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
47959 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
47960 LN_S=$as_ln_s
47961 if test "$LN_S" = "ln -s"; then
47962 { echo "$as_me:$LINENO: result: yes" >&5
47963 echo "${ECHO_T}yes" >&6; }
47964 else
47965 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
47966 echo "${ECHO_T}no, using $LN_S" >&6; }
47967 fi
47968
47969
47970 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
47971 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
47972 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
47973 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
47974 echo $ECHO_N "(cached) $ECHO_C" >&6
47975 else
47976 cat >conftest.make <<\_ACEOF
47977 SHELL = /bin/sh
47978 all:
47979 @echo '@@@%%%=$(MAKE)=@@@%%%'
47980 _ACEOF
47981 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
47982 case `${MAKE-make} -f conftest.make 2>/dev/null` in
47983 *@@@%%%=?*=@@@%%%*)
47984 eval ac_cv_prog_make_${ac_make}_set=yes;;
47985 *)
47986 eval ac_cv_prog_make_${ac_make}_set=no;;
47987 esac
47988 rm -f conftest.make
47989 fi
47990 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
47991 { echo "$as_me:$LINENO: result: yes" >&5
47992 echo "${ECHO_T}yes" >&6; }
47993 SET_MAKE=
47994 else
47995 { echo "$as_me:$LINENO: result: no" >&5
47996 echo "${ECHO_T}no" >&6; }
47997 SET_MAKE="MAKE=${MAKE-make}"
47998 fi
47999
48000
48001
48002 if test "x$SUNCXX" = "xyes"; then
48003 AR=$CXX
48004 AROPTIONS="-xar -o"
48005
48006 elif test "x$SGICC" = "xyes"; then
48007 AR=$CXX
48008 AROPTIONS="-ar -o"
48009
48010 else
48011 if test -n "$ac_tool_prefix"; then
48012 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
48013 set dummy ${ac_tool_prefix}ar; ac_word=$2
48014 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48015 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48016 if test "${ac_cv_prog_AR+set}" = set; then
48017 echo $ECHO_N "(cached) $ECHO_C" >&6
48018 else
48019 if test -n "$AR"; then
48020 ac_cv_prog_AR="$AR" # Let the user override the test.
48021 else
48022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48023 for as_dir in $PATH
48024 do
48025 IFS=$as_save_IFS
48026 test -z "$as_dir" && as_dir=.
48027 for ac_exec_ext in '' $ac_executable_extensions; do
48028 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48029 ac_cv_prog_AR="${ac_tool_prefix}ar"
48030 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48031 break 2
48032 fi
48033 done
48034 done
48035 IFS=$as_save_IFS
48036
48037 fi
48038 fi
48039 AR=$ac_cv_prog_AR
48040 if test -n "$AR"; then
48041 { echo "$as_me:$LINENO: result: $AR" >&5
48042 echo "${ECHO_T}$AR" >&6; }
48043 else
48044 { echo "$as_me:$LINENO: result: no" >&5
48045 echo "${ECHO_T}no" >&6; }
48046 fi
48047
48048
48049 fi
48050 if test -z "$ac_cv_prog_AR"; then
48051 ac_ct_AR=$AR
48052 # Extract the first word of "ar", so it can be a program name with args.
48053 set dummy ar; ac_word=$2
48054 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48055 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48056 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
48057 echo $ECHO_N "(cached) $ECHO_C" >&6
48058 else
48059 if test -n "$ac_ct_AR"; then
48060 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
48061 else
48062 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48063 for as_dir in $PATH
48064 do
48065 IFS=$as_save_IFS
48066 test -z "$as_dir" && as_dir=.
48067 for ac_exec_ext in '' $ac_executable_extensions; do
48068 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48069 ac_cv_prog_ac_ct_AR="ar"
48070 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48071 break 2
48072 fi
48073 done
48074 done
48075 IFS=$as_save_IFS
48076
48077 fi
48078 fi
48079 ac_ct_AR=$ac_cv_prog_ac_ct_AR
48080 if test -n "$ac_ct_AR"; then
48081 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
48082 echo "${ECHO_T}$ac_ct_AR" >&6; }
48083 else
48084 { echo "$as_me:$LINENO: result: no" >&5
48085 echo "${ECHO_T}no" >&6; }
48086 fi
48087
48088 if test "x$ac_ct_AR" = x; then
48089 AR="ar"
48090 else
48091 case $cross_compiling:$ac_tool_warned in
48092 yes:)
48093 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48094 whose name does not start with the host triplet. If you think this
48095 configuration is useful to you, please write to autoconf@gnu.org." >&5
48096 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48097 whose name does not start with the host triplet. If you think this
48098 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48099 ac_tool_warned=yes ;;
48100 esac
48101 AR=$ac_ct_AR
48102 fi
48103 else
48104 AR="$ac_cv_prog_AR"
48105 fi
48106
48107 AROPTIONS=rcu
48108 fi
48109
48110
48111 if test -n "$ac_tool_prefix"; then
48112 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
48113 set dummy ${ac_tool_prefix}strip; ac_word=$2
48114 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48115 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48116 if test "${ac_cv_prog_STRIP+set}" = set; then
48117 echo $ECHO_N "(cached) $ECHO_C" >&6
48118 else
48119 if test -n "$STRIP"; then
48120 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
48121 else
48122 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48123 for as_dir in $PATH
48124 do
48125 IFS=$as_save_IFS
48126 test -z "$as_dir" && as_dir=.
48127 for ac_exec_ext in '' $ac_executable_extensions; do
48128 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48129 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
48130 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48131 break 2
48132 fi
48133 done
48134 done
48135 IFS=$as_save_IFS
48136
48137 fi
48138 fi
48139 STRIP=$ac_cv_prog_STRIP
48140 if test -n "$STRIP"; then
48141 { echo "$as_me:$LINENO: result: $STRIP" >&5
48142 echo "${ECHO_T}$STRIP" >&6; }
48143 else
48144 { echo "$as_me:$LINENO: result: no" >&5
48145 echo "${ECHO_T}no" >&6; }
48146 fi
48147
48148
48149 fi
48150 if test -z "$ac_cv_prog_STRIP"; then
48151 ac_ct_STRIP=$STRIP
48152 # Extract the first word of "strip", so it can be a program name with args.
48153 set dummy strip; ac_word=$2
48154 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48155 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48156 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
48157 echo $ECHO_N "(cached) $ECHO_C" >&6
48158 else
48159 if test -n "$ac_ct_STRIP"; then
48160 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
48161 else
48162 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48163 for as_dir in $PATH
48164 do
48165 IFS=$as_save_IFS
48166 test -z "$as_dir" && as_dir=.
48167 for ac_exec_ext in '' $ac_executable_extensions; do
48168 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48169 ac_cv_prog_ac_ct_STRIP="strip"
48170 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48171 break 2
48172 fi
48173 done
48174 done
48175 IFS=$as_save_IFS
48176
48177 fi
48178 fi
48179 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
48180 if test -n "$ac_ct_STRIP"; then
48181 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
48182 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
48183 else
48184 { echo "$as_me:$LINENO: result: no" >&5
48185 echo "${ECHO_T}no" >&6; }
48186 fi
48187
48188 if test "x$ac_ct_STRIP" = x; then
48189 STRIP=":"
48190 else
48191 case $cross_compiling:$ac_tool_warned in
48192 yes:)
48193 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48194 whose name does not start with the host triplet. If you think this
48195 configuration is useful to you, please write to autoconf@gnu.org." >&5
48196 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48197 whose name does not start with the host triplet. If you think this
48198 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48199 ac_tool_warned=yes ;;
48200 esac
48201 STRIP=$ac_ct_STRIP
48202 fi
48203 else
48204 STRIP="$ac_cv_prog_STRIP"
48205 fi
48206
48207 if test -n "$ac_tool_prefix"; then
48208 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
48209 set dummy ${ac_tool_prefix}nm; ac_word=$2
48210 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48211 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48212 if test "${ac_cv_prog_NM+set}" = set; then
48213 echo $ECHO_N "(cached) $ECHO_C" >&6
48214 else
48215 if test -n "$NM"; then
48216 ac_cv_prog_NM="$NM" # Let the user override the test.
48217 else
48218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48219 for as_dir in $PATH
48220 do
48221 IFS=$as_save_IFS
48222 test -z "$as_dir" && as_dir=.
48223 for ac_exec_ext in '' $ac_executable_extensions; do
48224 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48225 ac_cv_prog_NM="${ac_tool_prefix}nm"
48226 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48227 break 2
48228 fi
48229 done
48230 done
48231 IFS=$as_save_IFS
48232
48233 fi
48234 fi
48235 NM=$ac_cv_prog_NM
48236 if test -n "$NM"; then
48237 { echo "$as_me:$LINENO: result: $NM" >&5
48238 echo "${ECHO_T}$NM" >&6; }
48239 else
48240 { echo "$as_me:$LINENO: result: no" >&5
48241 echo "${ECHO_T}no" >&6; }
48242 fi
48243
48244
48245 fi
48246 if test -z "$ac_cv_prog_NM"; then
48247 ac_ct_NM=$NM
48248 # Extract the first word of "nm", so it can be a program name with args.
48249 set dummy nm; ac_word=$2
48250 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48251 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48252 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
48253 echo $ECHO_N "(cached) $ECHO_C" >&6
48254 else
48255 if test -n "$ac_ct_NM"; then
48256 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
48257 else
48258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48259 for as_dir in $PATH
48260 do
48261 IFS=$as_save_IFS
48262 test -z "$as_dir" && as_dir=.
48263 for ac_exec_ext in '' $ac_executable_extensions; do
48264 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48265 ac_cv_prog_ac_ct_NM="nm"
48266 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48267 break 2
48268 fi
48269 done
48270 done
48271 IFS=$as_save_IFS
48272
48273 fi
48274 fi
48275 ac_ct_NM=$ac_cv_prog_ac_ct_NM
48276 if test -n "$ac_ct_NM"; then
48277 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
48278 echo "${ECHO_T}$ac_ct_NM" >&6; }
48279 else
48280 { echo "$as_me:$LINENO: result: no" >&5
48281 echo "${ECHO_T}no" >&6; }
48282 fi
48283
48284 if test "x$ac_ct_NM" = x; then
48285 NM=":"
48286 else
48287 case $cross_compiling:$ac_tool_warned in
48288 yes:)
48289 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48290 whose name does not start with the host triplet. If you think this
48291 configuration is useful to you, please write to autoconf@gnu.org." >&5
48292 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48293 whose name does not start with the host triplet. If you think this
48294 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48295 ac_tool_warned=yes ;;
48296 esac
48297 NM=$ac_ct_NM
48298 fi
48299 else
48300 NM="$ac_cv_prog_NM"
48301 fi
48302
48303
48304 { echo "$as_me:$LINENO: checking for command to install directories" >&5
48305 echo $ECHO_N "checking for command to install directories... $ECHO_C" >&6; }
48306 INSTALL_TEST_DIR=acbftest$$
48307 $INSTALL -d $INSTALL_TEST_DIR > /dev/null 2>&1
48308 if test $? = 0 -a -d $INSTALL_TEST_DIR; then
48309 rmdir $INSTALL_TEST_DIR
48310 INSTALL_DIR='$(INSTALL) -d'
48311 { echo "$as_me:$LINENO: result: $INSTALL -d" >&5
48312 echo "${ECHO_T}$INSTALL -d" >&6; }
48313 else
48314 INSTALL_DIR="mkdir -p"
48315 { echo "$as_me:$LINENO: result: mkdir -p" >&5
48316 echo "${ECHO_T}mkdir -p" >&6; }
48317 fi
48318
48319
48320 LDFLAGS_GUI=
48321 case ${BAKEFILE_HOST} in
48322 *-*-cygwin* | *-*-mingw32* )
48323 LDFLAGS_GUI="-mwindows"
48324 esac
48325
48326
48327 fi
48328
48329 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
48330 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
48331 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
48332 echo $ECHO_N "(cached) $ECHO_C" >&6
48333 else
48334
48335 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
48336 egrep -s GNU > /dev/null); then
48337 bakefile_cv_prog_makeisgnu="yes"
48338 else
48339 bakefile_cv_prog_makeisgnu="no"
48340 fi
48341
48342 fi
48343 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
48344 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
48345
48346 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
48347 IF_GNU_MAKE=""
48348 else
48349 IF_GNU_MAKE="#"
48350 fi
48351
48352
48353
48354 PLATFORM_UNIX=0
48355 PLATFORM_WIN32=0
48356 PLATFORM_MSDOS=0
48357 PLATFORM_MAC=0
48358 PLATFORM_MACOS=0
48359 PLATFORM_MACOSX=0
48360 PLATFORM_OS2=0
48361 PLATFORM_BEOS=0
48362
48363 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
48364 case "${BAKEFILE_HOST}" in
48365 *-*-mingw32* )
48366 PLATFORM_WIN32=1
48367 ;;
48368 *-pc-msdosdjgpp )
48369 PLATFORM_MSDOS=1
48370 ;;
48371 *-pc-os2_emx | *-pc-os2-emx )
48372 PLATFORM_OS2=1
48373 ;;
48374 *-*-darwin* )
48375 PLATFORM_MAC=1
48376 PLATFORM_MACOSX=1
48377 ;;
48378 *-*-beos* )
48379 PLATFORM_BEOS=1
48380 ;;
48381 powerpc-apple-macos* )
48382 PLATFORM_MAC=1
48383 PLATFORM_MACOS=1
48384 ;;
48385 * )
48386 PLATFORM_UNIX=1
48387 ;;
48388 esac
48389 else
48390 case "$BAKEFILE_FORCE_PLATFORM" in
48391 win32 )
48392 PLATFORM_WIN32=1
48393 ;;
48394 msdos )
48395 PLATFORM_MSDOS=1
48396 ;;
48397 os2 )
48398 PLATFORM_OS2=1
48399 ;;
48400 darwin )
48401 PLATFORM_MAC=1
48402 PLATFORM_MACOSX=1
48403 ;;
48404 unix )
48405 PLATFORM_UNIX=1
48406 ;;
48407 beos )
48408 PLATFORM_BEOS=1
48409 ;;
48410 * )
48411 ;;
48412 esac
48413 fi
48414
48415
48416
48417
48418
48419
48420
48421
48422
48423
48424
48425 # Check whether --enable-omf was given.
48426 if test "${enable_omf+set}" = set; then
48427 enableval=$enable_omf; bk_os2_use_omf="$enableval"
48428 fi
48429
48430
48431 case "${BAKEFILE_HOST}" in
48432 *-*-darwin* )
48433 if test "x$GCC" = "xyes"; then
48434 CFLAGS="$CFLAGS -fno-common"
48435 CXXFLAGS="$CXXFLAGS -fno-common"
48436 fi
48437 if test "x$XLCC" = "xyes"; then
48438 CFLAGS="$CFLAGS -qnocommon"
48439 CXXFLAGS="$CXXFLAGS -qnocommon"
48440 fi
48441 ;;
48442
48443 *-pc-os2_emx | *-pc-os2-emx )
48444 if test "x$bk_os2_use_omf" = "xyes" ; then
48445 AR=emxomfar
48446 RANLIB=:
48447 LDFLAGS="-Zomf $LDFLAGS"
48448 CFLAGS="-Zomf $CFLAGS"
48449 CXXFLAGS="-Zomf $CXXFLAGS"
48450 OS2_LIBEXT="lib"
48451 else
48452 OS2_LIBEXT="a"
48453 fi
48454 ;;
48455
48456 i*86-*-beos* )
48457 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
48458 ;;
48459 esac
48460
48461
48462 SO_SUFFIX="so"
48463 SO_SUFFIX_MODULE="so"
48464 EXEEXT=""
48465 LIBPREFIX="lib"
48466 LIBEXT=".a"
48467 DLLPREFIX="lib"
48468 DLLPREFIX_MODULE=""
48469 DLLIMP_SUFFIX=""
48470 dlldir="$libdir"
48471
48472 case "${BAKEFILE_HOST}" in
48473 ia64-hp-hpux* )
48474 ;;
48475 *-hp-hpux* )
48476 SO_SUFFIX="sl"
48477 SO_SUFFIX_MODULE="sl"
48478 ;;
48479 *-*-aix* )
48480 SO_SUFFIX="a"
48481 SO_SUFFIX_MODULE="a"
48482 ;;
48483 *-*-cygwin* )
48484 SO_SUFFIX="dll"
48485 SO_SUFFIX_MODULE="dll"
48486 DLLIMP_SUFFIX="dll.a"
48487 EXEEXT=".exe"
48488 DLLPREFIX="cyg"
48489 dlldir="$bindir"
48490 ;;
48491 *-*-mingw32* )
48492 SO_SUFFIX="dll"
48493 SO_SUFFIX_MODULE="dll"
48494 DLLIMP_SUFFIX="dll.a"
48495 EXEEXT=".exe"
48496 DLLPREFIX=""
48497 dlldir="$bindir"
48498 ;;
48499 *-pc-msdosdjgpp )
48500 EXEEXT=".exe"
48501 DLLPREFIX=""
48502 dlldir="$bindir"
48503 ;;
48504 *-pc-os2_emx | *-pc-os2-emx )
48505 SO_SUFFIX="dll"
48506 SO_SUFFIX_MODULE="dll"
48507 DLLIMP_SUFFIX=$OS2_LIBEXT
48508 EXEEXT=".exe"
48509 DLLPREFIX=""
48510 LIBPREFIX=""
48511 LIBEXT=".$OS2_LIBEXT"
48512 dlldir="$bindir"
48513 ;;
48514 *-*-darwin* )
48515 SO_SUFFIX="dylib"
48516 SO_SUFFIX_MODULE="bundle"
48517 ;;
48518 esac
48519
48520 if test "x$DLLIMP_SUFFIX" = "x" ; then
48521 DLLIMP_SUFFIX="$SO_SUFFIX"
48522 fi
48523
48524
48525
48526
48527
48528
48529
48530
48531
48532
48533
48534
48535 PIC_FLAG=""
48536 if test "x$GCC" = "xyes"; then
48537 PIC_FLAG="-fPIC"
48538 fi
48539
48540 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
48541 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
48542 WINDOWS_IMPLIB=0
48543
48544 case "${BAKEFILE_HOST}" in
48545 *-hp-hpux* )
48546 if test "x$GCC" != "xyes"; then
48547 LDFLAGS="$LDFLAGS -L/usr/lib"
48548
48549 SHARED_LD_CC="${CC} -b -o"
48550 SHARED_LD_CXX="${CXX} -b -o"
48551 PIC_FLAG="+Z"
48552 fi
48553 ;;
48554
48555 *-*-linux* )
48556 if test "$INTELCC" = "yes" -a "$INTELCC8" != "yes"; then
48557 PIC_FLAG="-KPIC"
48558 elif test "x$SUNCXX" = "xyes"; then
48559 SHARED_LD_CC="${CC} -G -o"
48560 SHARED_LD_CXX="${CXX} -G -o"
48561 PIC_FLAG="-KPIC"
48562 fi
48563 ;;
48564
48565 *-*-solaris2* )
48566 if test "x$SUNCXX" = xyes ; then
48567 SHARED_LD_CC="${CC} -G -o"
48568 SHARED_LD_CXX="${CXX} -G -o"
48569 PIC_FLAG="-KPIC"
48570 fi
48571 ;;
48572
48573 *-*-darwin* )
48574
48575 D='$'
48576 cat <<EOF >shared-ld-sh
48577 #!/bin/sh
48578 #-----------------------------------------------------------------------------
48579 #-- Name: distrib/mac/shared-ld-sh
48580 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
48581 #-- Author: Gilles Depeyrot
48582 #-- Copyright: (c) 2002 Gilles Depeyrot
48583 #-- Licence: any use permitted
48584 #-----------------------------------------------------------------------------
48585
48586 verbose=0
48587 args=""
48588 objects=""
48589 linking_flag="-dynamiclib"
48590 ldargs="-r -keep_private_externs -nostdlib"
48591
48592 if test "x${D}CXX" = "x"; then
48593 CXX="c++"
48594 fi
48595
48596 while test ${D}# -gt 0; do
48597 case ${D}1 in
48598
48599 -v)
48600 verbose=1
48601 ;;
48602
48603 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
48604 # collect these options and values
48605 args="${D}{args} ${D}1 ${D}2"
48606 shift
48607 ;;
48608
48609 -arch|-isysroot)
48610 # collect these options and values
48611 ldargs="${D}{ldargs} ${D}1 ${D}2"
48612 shift
48613 ;;
48614
48615 -s|-Wl,*)
48616 # collect these load args
48617 ldargs="${D}{ldargs} ${D}1"
48618 ;;
48619
48620 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
48621 # collect these options
48622 args="${D}{args} ${D}1"
48623 ;;
48624
48625 -dynamiclib|-bundle)
48626 linking_flag="${D}1"
48627 ;;
48628
48629 -*)
48630 echo "shared-ld: unhandled option '${D}1'"
48631 exit 1
48632 ;;
48633
48634 *.o | *.a | *.dylib)
48635 # collect object files
48636 objects="${D}{objects} ${D}1"
48637 ;;
48638
48639 *)
48640 echo "shared-ld: unhandled argument '${D}1'"
48641 exit 1
48642 ;;
48643
48644 esac
48645 shift
48646 done
48647
48648 status=0
48649
48650 #
48651 # Link one module containing all the others
48652 #
48653 if test ${D}{verbose} = 1; then
48654 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
48655 fi
48656 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
48657 status=${D}?
48658
48659 #
48660 # Link the shared library from the single module created, but only if the
48661 # previous command didn't fail:
48662 #
48663 if test ${D}{status} = 0; then
48664 if test ${D}{verbose} = 1; then
48665 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
48666 fi
48667 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
48668 status=${D}?
48669 fi
48670
48671 #
48672 # Remove intermediate module
48673 #
48674 rm -f master.${D}${D}.o
48675
48676 exit ${D}status
48677 EOF
48678
48679 chmod +x shared-ld-sh
48680
48681 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
48682 SHARED_LD_MODULE_CXX="CXX=\$(CXX) $SHARED_LD_MODULE_CC"
48683
48684
48685 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
48686 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
48687 if test "${bakefile_cv_gcc31+set}" = set; then
48688 echo $ECHO_N "(cached) $ECHO_C" >&6
48689 else
48690
48691 cat >conftest.$ac_ext <<_ACEOF
48692 /* confdefs.h. */
48693 _ACEOF
48694 cat confdefs.h >>conftest.$ac_ext
48695 cat >>conftest.$ac_ext <<_ACEOF
48696 /* end confdefs.h. */
48697
48698 int
48699 main ()
48700 {
48701
48702 #if (__GNUC__ < 3) || \
48703 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
48704 This is old gcc
48705 #endif
48706
48707 ;
48708 return 0;
48709 }
48710 _ACEOF
48711 rm -f conftest.$ac_objext
48712 if { (ac_try="$ac_compile"
48713 case "(($ac_try" in
48714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48715 *) ac_try_echo=$ac_try;;
48716 esac
48717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48718 (eval "$ac_compile") 2>conftest.er1
48719 ac_status=$?
48720 grep -v '^ *+' conftest.er1 >conftest.err
48721 rm -f conftest.er1
48722 cat conftest.err >&5
48723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48724 (exit $ac_status); } && {
48725 test -z "$ac_c_werror_flag" ||
48726 test ! -s conftest.err
48727 } && test -s conftest.$ac_objext; then
48728
48729 bakefile_cv_gcc31=yes
48730
48731 else
48732 echo "$as_me: failed program was:" >&5
48733 sed 's/^/| /' conftest.$ac_ext >&5
48734
48735
48736 bakefile_cv_gcc31=no
48737
48738
48739 fi
48740
48741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48742
48743 fi
48744 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
48745 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
48746 if test "$bakefile_cv_gcc31" = "no"; then
48747 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
48748 SHARED_LD_CXX="$SHARED_LD_CC"
48749 else
48750 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
48751 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
48752 fi
48753
48754 if test "x$GCC" == "xyes"; then
48755 PIC_FLAG="-dynamic -fPIC"
48756 fi
48757 if test "x$XLCC" = "xyes"; then
48758 PIC_FLAG="-dynamic -DPIC"
48759 fi
48760 ;;
48761
48762 *-*-aix* )
48763 if test "x$GCC" = "xyes"; then
48764 PIC_FLAG=""
48765
48766 case "${BAKEFILE_HOST}" in
48767 *-*-aix5* )
48768 LD_EXPFULL="-Wl,-bexpfull"
48769 ;;
48770 esac
48771
48772 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
48773 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
48774 else
48775 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
48776 set dummy makeC++SharedLib; ac_word=$2
48777 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48778 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48779 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
48780 echo $ECHO_N "(cached) $ECHO_C" >&6
48781 else
48782 if test -n "$AIX_CXX_LD"; then
48783 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
48784 else
48785 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48786 for as_dir in $PATH
48787 do
48788 IFS=$as_save_IFS
48789 test -z "$as_dir" && as_dir=.
48790 for ac_exec_ext in '' $ac_executable_extensions; do
48791 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48792 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
48793 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48794 break 2
48795 fi
48796 done
48797 done
48798 IFS=$as_save_IFS
48799
48800 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
48801 fi
48802 fi
48803 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
48804 if test -n "$AIX_CXX_LD"; then
48805 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
48806 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
48807 else
48808 { echo "$as_me:$LINENO: result: no" >&5
48809 echo "${ECHO_T}no" >&6; }
48810 fi
48811
48812
48813 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
48814 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
48815 fi
48816 ;;
48817
48818 *-*-beos* )
48819 SHARED_LD_CC="${LD} -nostart -o"
48820 SHARED_LD_CXX="${LD} -nostart -o"
48821 ;;
48822
48823 *-*-irix* )
48824 if test "x$GCC" != "xyes"; then
48825 PIC_FLAG="-KPIC"
48826 fi
48827 ;;
48828
48829 *-*-cygwin* | *-*-mingw32* )
48830 PIC_FLAG=""
48831 SHARED_LD_CC="\$(CC) -shared -o"
48832 SHARED_LD_CXX="\$(CXX) -shared -o"
48833 WINDOWS_IMPLIB=1
48834 ;;
48835
48836 *-pc-os2_emx | *-pc-os2-emx )
48837 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48838 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48839 PIC_FLAG=""
48840
48841 D='$'
48842 cat <<EOF >dllar.sh
48843 #!/bin/sh
48844 #
48845 # dllar - a tool to build both a .dll and an .a file
48846 # from a set of object (.o) files for EMX/OS2.
48847 #
48848 # Written by Andrew Zabolotny, bit@freya.etu.ru
48849 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
48850 #
48851 # This script will accept a set of files on the command line.
48852 # All the public symbols from the .o files will be exported into
48853 # a .DEF file, then linker will be run (through gcc) against them to
48854 # build a shared library consisting of all given .o files. All libraries
48855 # (.a) will be first decompressed into component .o files then act as
48856 # described above. You can optionally give a description (-d "description")
48857 # which will be put into .DLL. To see the list of accepted options (as well
48858 # as command-line format) simply run this program without options. The .DLL
48859 # is built to be imported by name (there is no guarantee that new versions
48860 # of the library you build will have same ordinals for same symbols).
48861 #
48862 # dllar is free software; you can redistribute it and/or modify
48863 # it under the terms of the GNU General Public License as published by
48864 # the Free Software Foundation; either version 2, or (at your option)
48865 # any later version.
48866 #
48867 # dllar is distributed in the hope that it will be useful,
48868 # but WITHOUT ANY WARRANTY; without even the implied warranty of
48869 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
48870 # GNU General Public License for more details.
48871 #
48872 # You should have received a copy of the GNU General Public License
48873 # along with dllar; see the file COPYING. If not, write to the Free
48874 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
48875 # 02111-1307, USA.
48876
48877 # To successfuly run this program you will need:
48878 # - Current drive should have LFN support (HPFS, ext2, network, etc)
48879 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
48880 # - gcc
48881 # (used to build the .dll)
48882 # - emxexp
48883 # (used to create .def file from .o files)
48884 # - emximp
48885 # (used to create .a file from .def file)
48886 # - GNU text utilites (cat, sort, uniq)
48887 # used to process emxexp output
48888 # - GNU file utilities (mv, rm)
48889 # - GNU sed
48890 # - lxlite (optional, see flag below)
48891 # (used for general .dll cleanup)
48892 #
48893
48894 flag_USE_LXLITE=1;
48895
48896 #
48897 # helper functions
48898 # basnam, variant of basename, which does _not_ remove the path, _iff_
48899 # second argument (suffix to remove) is given
48900 basnam(){
48901 case ${D}# in
48902 1)
48903 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
48904 ;;
48905 2)
48906 echo ${D}1 | sed 's/'${D}2'${D}//'
48907 ;;
48908 *)
48909 echo "error in basnam ${D}*"
48910 exit 8
48911 ;;
48912 esac
48913 }
48914
48915 # Cleanup temporary files and output
48916 CleanUp() {
48917 cd ${D}curDir
48918 for i in ${D}inputFiles ; do
48919 case ${D}i in
48920 *!)
48921 rm -rf \`basnam ${D}i !\`
48922 ;;
48923 *)
48924 ;;
48925 esac
48926 done
48927
48928 # Kill result in case of failure as there is just to many stupid make/nmake
48929 # things out there which doesn't do this.
48930 if [ ${D}# -eq 0 ]; then
48931 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
48932 fi
48933 }
48934
48935 # Print usage and exit script with rc=1.
48936 PrintHelp() {
48937 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
48938 echo ' [-name-mangler-script script.sh]'
48939 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
48940 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
48941 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
48942 echo ' [*.o] [*.a]'
48943 echo '*> "output_file" should have no extension.'
48944 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
48945 echo ' The import library name is derived from this and is set to "name".a,'
48946 echo ' unless overridden by -import'
48947 echo '*> "importlib_name" should have no extension.'
48948 echo ' If it has the .o, or .a extension, it is automatically removed.'
48949 echo ' This name is used as the import library name and may be longer and'
48950 echo ' more descriptive than the DLL name which has to follow the old '
48951 echo ' 8.3 convention of FAT.'
48952 echo '*> "script.sh may be given to override the output_file name by a'
48953 echo ' different name. It is mainly useful if the regular make process'
48954 echo ' of some package does not take into account OS/2 restriction of'
48955 echo ' DLL name lengths. It takes the importlib name as input and is'
48956 echo ' supposed to procude a shorter name as output. The script should'
48957 echo ' expect to get importlib_name without extension and should produce'
48958 echo ' a (max.) 8 letter name without extension.'
48959 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
48960 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
48961 echo ' These flags will be put at the start of GCC command line.'
48962 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
48963 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
48964 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
48965 echo ' If the last character of a symbol is "*", all symbols beginning'
48966 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
48967 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
48968 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
48969 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
48970 echo ' C runtime DLLs.'
48971 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
48972 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
48973 echo ' unchanged to GCC at the end of command line.'
48974 echo '*> If you create a DLL from a library and you do not specify -o,'
48975 echo ' the basename for DLL and import library will be set to library name,'
48976 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
48977 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
48978 echo ' library will be renamed into gcc_s.a.'
48979 echo '--------'
48980 echo 'Example:'
48981 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
48982 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
48983 CleanUp
48984 exit 1
48985 }
48986
48987 # Execute a command.
48988 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
48989 # @Uses Whatever CleanUp() uses.
48990 doCommand() {
48991 echo "${D}*"
48992 eval ${D}*
48993 rcCmd=${D}?
48994
48995 if [ ${D}rcCmd -ne 0 ]; then
48996 echo "command failed, exit code="${D}rcCmd
48997 CleanUp
48998 exit ${D}rcCmd
48999 fi
49000 }
49001
49002 # main routine
49003 # setup globals
49004 cmdLine=${D}*
49005 outFile=""
49006 outimpFile=""
49007 inputFiles=""
49008 renameScript=""
49009 description=""
49010 CC=gcc.exe
49011 CFLAGS="-s -Zcrtdll"
49012 EXTRA_CFLAGS=""
49013 EXPORT_BY_ORDINALS=0
49014 exclude_symbols=""
49015 library_flags=""
49016 curDir=\`pwd\`
49017 curDirS=curDir
49018 case ${D}curDirS in
49019 */)
49020 ;;
49021 *)
49022 curDirS=${D}{curDirS}"/"
49023 ;;
49024 esac
49025 # Parse commandline
49026 libsToLink=0
49027 omfLinking=0
49028 while [ ${D}1 ]; do
49029 case ${D}1 in
49030 -ord*)
49031 EXPORT_BY_ORDINALS=1;
49032 ;;
49033 -o*)
49034 shift
49035 outFile=${D}1
49036 ;;
49037 -i*)
49038 shift
49039 outimpFile=${D}1
49040 ;;
49041 -name-mangler-script)
49042 shift
49043 renameScript=${D}1
49044 ;;
49045 -d*)
49046 shift
49047 description=${D}1
49048 ;;
49049 -f*)
49050 shift
49051 CFLAGS=${D}1
49052 ;;
49053 -c*)
49054 shift
49055 CC=${D}1
49056 ;;
49057 -h*)
49058 PrintHelp
49059 ;;
49060 -ex*)
49061 shift
49062 exclude_symbols=${D}{exclude_symbols}${D}1" "
49063 ;;
49064 -libf*)
49065 shift
49066 library_flags=${D}{library_flags}${D}1" "
49067 ;;
49068 -nocrt*)
49069 CFLAGS="-s"
49070 ;;
49071 -nolxl*)
49072 flag_USE_LXLITE=0
49073 ;;
49074 -* | /*)
49075 case ${D}1 in
49076 -L* | -l*)
49077 libsToLink=1
49078 ;;
49079 -Zomf)
49080 omfLinking=1
49081 ;;
49082 *)
49083 ;;
49084 esac
49085 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
49086 ;;
49087 *.dll)
49088 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
49089 if [ ${D}omfLinking -eq 1 ]; then
49090 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
49091 else
49092 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
49093 fi
49094 ;;
49095 *)
49096 found=0;
49097 if [ ${D}libsToLink -ne 0 ]; then
49098 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
49099 else
49100 for file in ${D}1 ; do
49101 if [ -f ${D}file ]; then
49102 inputFiles="${D}{inputFiles} ${D}file"
49103 found=1
49104 fi
49105 done
49106 if [ ${D}found -eq 0 ]; then
49107 echo "ERROR: No file(s) found: "${D}1
49108 exit 8
49109 fi
49110 fi
49111 ;;
49112 esac
49113 shift
49114 done # iterate cmdline words
49115
49116 #
49117 if [ -z "${D}inputFiles" ]; then
49118 echo "dllar: no input files"
49119 PrintHelp
49120 fi
49121
49122 # Now extract all .o files from .a files
49123 newInputFiles=""
49124 for file in ${D}inputFiles ; do
49125 case ${D}file in
49126 *.a | *.lib)
49127 case ${D}file in
49128 *.a)
49129 suffix=".a"
49130 AR="ar"
49131 ;;
49132 *.lib)
49133 suffix=".lib"
49134 AR="emxomfar"
49135 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
49136 ;;
49137 *)
49138 ;;
49139 esac
49140 dirname=\`basnam ${D}file ${D}suffix\`"_%"
49141 mkdir ${D}dirname
49142 if [ ${D}? -ne 0 ]; then
49143 echo "Failed to create subdirectory ./${D}dirname"
49144 CleanUp
49145 exit 8;
49146 fi
49147 # Append '!' to indicate archive
49148 newInputFiles="${D}newInputFiles ${D}{dirname}!"
49149 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
49150 cd ${D}curDir
49151 found=0;
49152 for subfile in ${D}dirname/*.o* ; do
49153 if [ -f ${D}subfile ]; then
49154 found=1
49155 if [ -s ${D}subfile ]; then
49156 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
49157 newInputFiles="${D}newInputFiles ${D}subfile"
49158 fi
49159 fi
49160 done
49161 if [ ${D}found -eq 0 ]; then
49162 echo "WARNING: there are no files in archive \\'${D}file\\'"
49163 fi
49164 ;;
49165 *)
49166 newInputFiles="${D}{newInputFiles} ${D}file"
49167 ;;
49168 esac
49169 done
49170 inputFiles="${D}newInputFiles"
49171
49172 # Output filename(s).
49173 do_backup=0;
49174 if [ -z ${D}outFile ]; then
49175 do_backup=1;
49176 set outFile ${D}inputFiles; outFile=${D}2
49177 fi
49178
49179 # If it is an archive, remove the '!' and the '_%' suffixes
49180 case ${D}outFile in
49181 *_%!)
49182 outFile=\`basnam ${D}outFile _%!\`
49183 ;;
49184 *)
49185 ;;
49186 esac
49187 case ${D}outFile in
49188 *.dll)
49189 outFile=\`basnam ${D}outFile .dll\`
49190 ;;
49191 *.DLL)
49192 outFile=\`basnam ${D}outFile .DLL\`
49193 ;;
49194 *.o)
49195 outFile=\`basnam ${D}outFile .o\`
49196 ;;
49197 *.obj)
49198 outFile=\`basnam ${D}outFile .obj\`
49199 ;;
49200 *.a)
49201 outFile=\`basnam ${D}outFile .a\`
49202 ;;
49203 *.lib)
49204 outFile=\`basnam ${D}outFile .lib\`
49205 ;;
49206 *)
49207 ;;
49208 esac
49209 case ${D}outimpFile in
49210 *.a)
49211 outimpFile=\`basnam ${D}outimpFile .a\`
49212 ;;
49213 *.lib)
49214 outimpFile=\`basnam ${D}outimpFile .lib\`
49215 ;;
49216 *)
49217 ;;
49218 esac
49219 if [ -z ${D}outimpFile ]; then
49220 outimpFile=${D}outFile
49221 fi
49222 defFile="${D}{outFile}.def"
49223 arcFile="${D}{outimpFile}.a"
49224 arcFile2="${D}{outimpFile}.lib"
49225
49226 #create ${D}dllFile as something matching 8.3 restrictions,
49227 if [ -z ${D}renameScript ] ; then
49228 dllFile="${D}outFile"
49229 else
49230 dllFile=\`${D}renameScript ${D}outimpFile\`
49231 fi
49232
49233 if [ ${D}do_backup -ne 0 ] ; then
49234 if [ -f ${D}arcFile ] ; then
49235 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
49236 fi
49237 if [ -f ${D}arcFile2 ] ; then
49238 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
49239 fi
49240 fi
49241
49242 # Extract public symbols from all the object files.
49243 tmpdefFile=${D}{defFile}_%
49244 rm -f ${D}tmpdefFile
49245 for file in ${D}inputFiles ; do
49246 case ${D}file in
49247 *!)
49248 ;;
49249 *)
49250 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
49251 ;;
49252 esac
49253 done
49254
49255 # Create the def file.
49256 rm -f ${D}defFile
49257 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
49258 dllFile="${D}{dllFile}.dll"
49259 if [ ! -z ${D}description ]; then
49260 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
49261 fi
49262 echo "EXPORTS" >> ${D}defFile
49263
49264 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
49265 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
49266
49267 # Checks if the export is ok or not.
49268 for word in ${D}exclude_symbols; do
49269 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
49270 mv ${D}{tmpdefFile}% ${D}tmpdefFile
49271 done
49272
49273
49274 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
49275 sed "=" < ${D}tmpdefFile | \\
49276 sed '
49277 N
49278 : loop
49279 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
49280 t loop
49281 ' > ${D}{tmpdefFile}%
49282 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
49283 else
49284 rm -f ${D}{tmpdefFile}%
49285 fi
49286 cat ${D}tmpdefFile >> ${D}defFile
49287 rm -f ${D}tmpdefFile
49288
49289 # Do linking, create implib, and apply lxlite.
49290 gccCmdl="";
49291 for file in ${D}inputFiles ; do
49292 case ${D}file in
49293 *!)
49294 ;;
49295 *)
49296 gccCmdl="${D}gccCmdl ${D}file"
49297 ;;
49298 esac
49299 done
49300 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
49301 touch "${D}{outFile}.dll"
49302
49303 doCommand "emximp -o ${D}arcFile ${D}defFile"
49304 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
49305 add_flags="";
49306 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
49307 add_flags="-ynd"
49308 fi
49309 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
49310 fi
49311 doCommand "emxomf -s -l ${D}arcFile"
49312
49313 # Successful exit.
49314 CleanUp 1
49315 exit 0
49316 EOF
49317
49318 chmod +x dllar.sh
49319 ;;
49320
49321 powerpc-apple-macos* | \
49322 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
49323 *-*-mirbsd* | \
49324 *-*-sunos4* | \
49325 *-*-osf* | \
49326 *-*-dgux5* | \
49327 *-*-sysv5* | \
49328 *-pc-msdosdjgpp )
49329 ;;
49330
49331 *)
49332 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
49333 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
49334 { (exit 1); exit 1; }; }
49335 esac
49336
49337 if test "x$PIC_FLAG" != "x" ; then
49338 PIC_FLAG="$PIC_FLAG -DPIC"
49339 fi
49340
49341 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
49342 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
49343 fi
49344 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
49345 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
49346 fi
49347
49348
49349
49350
49351
49352
49353
49354
49355
49356 USE_SOVERSION=0
49357 USE_SOVERLINUX=0
49358 USE_SOVERSOLARIS=0
49359 USE_SOVERCYGWIN=0
49360 USE_SOTWOSYMLINKS=0
49361 USE_MACVERSION=0
49362 SONAME_FLAG=
49363
49364 case "${BAKEFILE_HOST}" in
49365 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
49366 *-*-k*bsd*-gnu | *-*-mirbsd* )
49367 if test "x$SUNCXX" = "xyes"; then
49368 SONAME_FLAG="-h "
49369 else
49370 SONAME_FLAG="-Wl,-soname,"
49371 fi
49372 USE_SOVERSION=1
49373 USE_SOVERLINUX=1
49374 USE_SOTWOSYMLINKS=1
49375 ;;
49376
49377 *-*-solaris2* )
49378 SONAME_FLAG="-h "
49379 USE_SOVERSION=1
49380 USE_SOVERSOLARIS=1
49381 ;;
49382
49383 *-*-darwin* )
49384 USE_MACVERSION=1
49385 USE_SOVERSION=1
49386 USE_SOTWOSYMLINKS=1
49387 ;;
49388
49389 *-*-cygwin* )
49390 USE_SOVERSION=1
49391 USE_SOVERCYGWIN=1
49392 ;;
49393 esac
49394
49395
49396
49397
49398
49399
49400
49401
49402
49403
49404 # Check whether --enable-dependency-tracking was given.
49405 if test "${enable_dependency_tracking+set}" = set; then
49406 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
49407 fi
49408
49409
49410 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
49411 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
49412
49413 BK_DEPS=""
49414 if test "x$bk_use_trackdeps" = "xno" ; then
49415 DEPS_TRACKING=0
49416 { echo "$as_me:$LINENO: result: disabled" >&5
49417 echo "${ECHO_T}disabled" >&6; }
49418 else
49419 DEPS_TRACKING=1
49420
49421 if test "x$GCC" = "xyes"; then
49422 DEPSMODE=gcc
49423 case "${BAKEFILE_HOST}" in
49424 *-*-darwin* )
49425 DEPSFLAG="-no-cpp-precomp -MMD"
49426 ;;
49427 * )
49428 DEPSFLAG="-MMD"
49429 ;;
49430 esac
49431 { echo "$as_me:$LINENO: result: gcc" >&5
49432 echo "${ECHO_T}gcc" >&6; }
49433 elif test "x$MWCC" = "xyes"; then
49434 DEPSMODE=mwcc
49435 DEPSFLAG="-MM"
49436 { echo "$as_me:$LINENO: result: mwcc" >&5
49437 echo "${ECHO_T}mwcc" >&6; }
49438 elif test "x$SUNCC" = "xyes"; then
49439 DEPSMODE=unixcc
49440 DEPSFLAG="-xM1"
49441 { echo "$as_me:$LINENO: result: Sun cc" >&5
49442 echo "${ECHO_T}Sun cc" >&6; }
49443 elif test "x$SGICC" = "xyes"; then
49444 DEPSMODE=unixcc
49445 DEPSFLAG="-M"
49446 { echo "$as_me:$LINENO: result: SGI cc" >&5
49447 echo "${ECHO_T}SGI cc" >&6; }
49448 elif test "x$HPCC" = "xyes"; then
49449 DEPSMODE=unixcc
49450 DEPSFLAG="+make"
49451 { echo "$as_me:$LINENO: result: HP cc" >&5
49452 echo "${ECHO_T}HP cc" >&6; }
49453 elif test "x$COMPAQCC" = "xyes"; then
49454 DEPSMODE=gcc
49455 DEPSFLAG="-MD"
49456 { echo "$as_me:$LINENO: result: Compaq cc" >&5
49457 echo "${ECHO_T}Compaq cc" >&6; }
49458 else
49459 DEPS_TRACKING=0
49460 { echo "$as_me:$LINENO: result: none" >&5
49461 echo "${ECHO_T}none" >&6; }
49462 fi
49463
49464 if test $DEPS_TRACKING = 1 ; then
49465
49466 D='$'
49467 cat <<EOF >bk-deps
49468 #!/bin/sh
49469
49470 # This script is part of Bakefile (http://www.bakefile.org) autoconf
49471 # script. It is used to track C/C++ files dependencies in portable way.
49472 #
49473 # Permission is given to use this file in any way.
49474
49475 DEPSMODE=${DEPSMODE}
49476 DEPSFLAG="${DEPSFLAG}"
49477 DEPSDIRBASE=.deps
49478
49479 if test ${D}DEPSMODE = gcc ; then
49480 ${D}* ${D}{DEPSFLAG}
49481 status=${D}?
49482
49483 # determine location of created files:
49484 while test ${D}# -gt 0; do
49485 case "${D}1" in
49486 -o )
49487 shift
49488 objfile=${D}1
49489 ;;
49490 -* )
49491 ;;
49492 * )
49493 srcfile=${D}1
49494 ;;
49495 esac
49496 shift
49497 done
49498 objfilebase=\`basename ${D}objfile\`
49499 builddir=\`dirname ${D}objfile\`
49500 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
49501 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
49502 depsdir=${D}builddir/${D}DEPSDIRBASE
49503 mkdir -p ${D}depsdir
49504
49505 # if the compiler failed, we're done:
49506 if test ${D}{status} != 0 ; then
49507 rm -f ${D}depfile
49508 exit ${D}{status}
49509 fi
49510
49511 # move created file to the location we want it in:
49512 if test -f ${D}depfile ; then
49513 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
49514 rm -f ${D}depfile
49515 else
49516 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
49517 depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\`
49518 if test ! -f ${D}depfile ; then
49519 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
49520 depfile="${D}objfile.d"
49521 fi
49522 if test -f ${D}depfile ; then
49523 sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
49524 rm -f ${D}depfile
49525 fi
49526 fi
49527 exit 0
49528
49529 elif test ${D}DEPSMODE = mwcc ; then
49530 ${D}* || exit ${D}?
49531 # Run mwcc again with -MM and redirect into the dep file we want
49532 # NOTE: We can't use shift here because we need ${D}* to be valid
49533 prevarg=
49534 for arg in ${D}* ; do
49535 if test "${D}prevarg" = "-o"; then
49536 objfile=${D}arg
49537 else
49538 case "${D}arg" in
49539 -* )
49540 ;;
49541 * )
49542 srcfile=${D}arg
49543 ;;
49544 esac
49545 fi
49546 prevarg="${D}arg"
49547 done
49548
49549 objfilebase=\`basename ${D}objfile\`
49550 builddir=\`dirname ${D}objfile\`
49551 depsdir=${D}builddir/${D}DEPSDIRBASE
49552 mkdir -p ${D}depsdir
49553
49554 ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
49555 exit 0
49556
49557 elif test ${D}DEPSMODE = unixcc; then
49558 ${D}* || exit ${D}?
49559 # Run compiler again with deps flag and redirect into the dep file.
49560 # It doesn't work if the '-o FILE' option is used, but without it the
49561 # dependency file will contain the wrong name for the object. So it is
49562 # removed from the command line, and the dep file is fixed with sed.
49563 cmd=""
49564 while test ${D}# -gt 0; do
49565 case "${D}1" in
49566 -o )
49567 shift
49568 objfile=${D}1
49569 ;;
49570 * )
49571 eval arg${D}#=\\${D}1
49572 cmd="${D}cmd \\${D}arg${D}#"
49573 ;;
49574 esac
49575 shift
49576 done
49577
49578 objfilebase=\`basename ${D}objfile\`
49579 builddir=\`dirname ${D}objfile\`
49580 depsdir=${D}builddir/${D}DEPSDIRBASE
49581 mkdir -p ${D}depsdir
49582
49583 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d
49584 exit 0
49585
49586 else
49587 ${D}*
49588 exit ${D}?
49589 fi
49590 EOF
49591
49592 chmod +x bk-deps
49593 BK_DEPS="`pwd`/bk-deps"
49594 fi
49595 fi
49596
49597
49598
49599
49600
49601 case ${BAKEFILE_HOST} in
49602 *-*-cygwin* | *-*-mingw32* )
49603 if test -n "$ac_tool_prefix"; then
49604 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
49605 set dummy ${ac_tool_prefix}windres; ac_word=$2
49606 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49607 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49608 if test "${ac_cv_prog_WINDRES+set}" = set; then
49609 echo $ECHO_N "(cached) $ECHO_C" >&6
49610 else
49611 if test -n "$WINDRES"; then
49612 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
49613 else
49614 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49615 for as_dir in $PATH
49616 do
49617 IFS=$as_save_IFS
49618 test -z "$as_dir" && as_dir=.
49619 for ac_exec_ext in '' $ac_executable_extensions; do
49620 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49621 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
49622 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49623 break 2
49624 fi
49625 done
49626 done
49627 IFS=$as_save_IFS
49628
49629 fi
49630 fi
49631 WINDRES=$ac_cv_prog_WINDRES
49632 if test -n "$WINDRES"; then
49633 { echo "$as_me:$LINENO: result: $WINDRES" >&5
49634 echo "${ECHO_T}$WINDRES" >&6; }
49635 else
49636 { echo "$as_me:$LINENO: result: no" >&5
49637 echo "${ECHO_T}no" >&6; }
49638 fi
49639
49640
49641 fi
49642 if test -z "$ac_cv_prog_WINDRES"; then
49643 ac_ct_WINDRES=$WINDRES
49644 # Extract the first word of "windres", so it can be a program name with args.
49645 set dummy windres; ac_word=$2
49646 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49647 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49648 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
49649 echo $ECHO_N "(cached) $ECHO_C" >&6
49650 else
49651 if test -n "$ac_ct_WINDRES"; then
49652 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
49653 else
49654 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49655 for as_dir in $PATH
49656 do
49657 IFS=$as_save_IFS
49658 test -z "$as_dir" && as_dir=.
49659 for ac_exec_ext in '' $ac_executable_extensions; do
49660 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49661 ac_cv_prog_ac_ct_WINDRES="windres"
49662 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49663 break 2
49664 fi
49665 done
49666 done
49667 IFS=$as_save_IFS
49668
49669 fi
49670 fi
49671 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
49672 if test -n "$ac_ct_WINDRES"; then
49673 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
49674 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
49675 else
49676 { echo "$as_me:$LINENO: result: no" >&5
49677 echo "${ECHO_T}no" >&6; }
49678 fi
49679
49680 if test "x$ac_ct_WINDRES" = x; then
49681 WINDRES=""
49682 else
49683 case $cross_compiling:$ac_tool_warned in
49684 yes:)
49685 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49686 whose name does not start with the host triplet. If you think this
49687 configuration is useful to you, please write to autoconf@gnu.org." >&5
49688 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49689 whose name does not start with the host triplet. If you think this
49690 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49691 ac_tool_warned=yes ;;
49692 esac
49693 WINDRES=$ac_ct_WINDRES
49694 fi
49695 else
49696 WINDRES="$ac_cv_prog_WINDRES"
49697 fi
49698
49699 ;;
49700
49701 *-*-darwin* | powerpc-apple-macos* )
49702 # Extract the first word of "Rez", so it can be a program name with args.
49703 set dummy Rez; ac_word=$2
49704 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49705 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49706 if test "${ac_cv_prog_REZ+set}" = set; then
49707 echo $ECHO_N "(cached) $ECHO_C" >&6
49708 else
49709 if test -n "$REZ"; then
49710 ac_cv_prog_REZ="$REZ" # Let the user override the test.
49711 else
49712 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49713 for as_dir in $PATH
49714 do
49715 IFS=$as_save_IFS
49716 test -z "$as_dir" && as_dir=.
49717 for ac_exec_ext in '' $ac_executable_extensions; do
49718 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49719 ac_cv_prog_REZ="Rez"
49720 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49721 break 2
49722 fi
49723 done
49724 done
49725 IFS=$as_save_IFS
49726
49727 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
49728 fi
49729 fi
49730 REZ=$ac_cv_prog_REZ
49731 if test -n "$REZ"; then
49732 { echo "$as_me:$LINENO: result: $REZ" >&5
49733 echo "${ECHO_T}$REZ" >&6; }
49734 else
49735 { echo "$as_me:$LINENO: result: no" >&5
49736 echo "${ECHO_T}no" >&6; }
49737 fi
49738
49739
49740 # Extract the first word of "SetFile", so it can be a program name with args.
49741 set dummy SetFile; ac_word=$2
49742 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49743 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49744 if test "${ac_cv_prog_SETFILE+set}" = set; then
49745 echo $ECHO_N "(cached) $ECHO_C" >&6
49746 else
49747 if test -n "$SETFILE"; then
49748 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
49749 else
49750 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49751 for as_dir in $PATH
49752 do
49753 IFS=$as_save_IFS
49754 test -z "$as_dir" && as_dir=.
49755 for ac_exec_ext in '' $ac_executable_extensions; do
49756 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49757 ac_cv_prog_SETFILE="SetFile"
49758 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49759 break 2
49760 fi
49761 done
49762 done
49763 IFS=$as_save_IFS
49764
49765 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
49766 fi
49767 fi
49768 SETFILE=$ac_cv_prog_SETFILE
49769 if test -n "$SETFILE"; then
49770 { echo "$as_me:$LINENO: result: $SETFILE" >&5
49771 echo "${ECHO_T}$SETFILE" >&6; }
49772 else
49773 { echo "$as_me:$LINENO: result: no" >&5
49774 echo "${ECHO_T}no" >&6; }
49775 fi
49776
49777
49778 ;;
49779 esac
49780
49781
49782
49783
49784
49785
49786
49787
49788
49789 BAKEFILE_BAKEFILE_M4_VERSION="0.2.6"
49790
49791
49792 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.6"
49793
49794
49795
49796 # Check whether --enable-precomp-headers was given.
49797 if test "${enable_precomp_headers+set}" = set; then
49798 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
49799 fi
49800
49801
49802 GCC_PCH=0
49803 ICC_PCH=0
49804 USE_PCH=0
49805 BK_MAKE_PCH=""
49806
49807 case ${BAKEFILE_HOST} in
49808 *-*-cygwin* )
49809 bk_use_pch="no"
49810 ;;
49811 esac
49812
49813 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
49814 if test "x$GCC" = "xyes"; then
49815 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
49816 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
49817 cat >conftest.$ac_ext <<_ACEOF
49818 /* confdefs.h. */
49819 _ACEOF
49820 cat confdefs.h >>conftest.$ac_ext
49821 cat >>conftest.$ac_ext <<_ACEOF
49822 /* end confdefs.h. */
49823
49824 int
49825 main ()
49826 {
49827
49828 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
49829 There is no PCH support
49830 #endif
49831 #if (__GNUC__ < 3)
49832 There is no PCH support
49833 #endif
49834 #if (__GNUC__ == 3) && \
49835 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
49836 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
49837 ( defined(__INTEL_COMPILER) )
49838 There is no PCH support
49839 #endif
49840
49841 ;
49842 return 0;
49843 }
49844 _ACEOF
49845 rm -f conftest.$ac_objext
49846 if { (ac_try="$ac_compile"
49847 case "(($ac_try" in
49848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49849 *) ac_try_echo=$ac_try;;
49850 esac
49851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49852 (eval "$ac_compile") 2>conftest.er1
49853 ac_status=$?
49854 grep -v '^ *+' conftest.er1 >conftest.err
49855 rm -f conftest.er1
49856 cat conftest.err >&5
49857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49858 (exit $ac_status); } && {
49859 test -z "$ac_c_werror_flag" ||
49860 test ! -s conftest.err
49861 } && test -s conftest.$ac_objext; then
49862
49863 { echo "$as_me:$LINENO: result: yes" >&5
49864 echo "${ECHO_T}yes" >&6; }
49865 GCC_PCH=1
49866
49867 else
49868 echo "$as_me: failed program was:" >&5
49869 sed 's/^/| /' conftest.$ac_ext >&5
49870
49871
49872 if test "$INTELCXX8" = "yes"; then
49873 { echo "$as_me:$LINENO: result: yes" >&5
49874 echo "${ECHO_T}yes" >&6; }
49875 ICC_PCH=1
49876 if test "$INTELCXX10" = "yes"; then
49877 ICC_PCH_CREATE_SWITCH="-pch-create"
49878 ICC_PCH_USE_SWITCH="-pch-use"
49879 else
49880 ICC_PCH_CREATE_SWITCH="-create-pch"
49881 ICC_PCH_USE_SWITCH="-use-pch"
49882 fi
49883 else
49884 { echo "$as_me:$LINENO: result: no" >&5
49885 echo "${ECHO_T}no" >&6; }
49886 fi
49887
49888 fi
49889
49890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49891 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
49892 USE_PCH=1
49893
49894 D='$'
49895 cat <<EOF >bk-make-pch
49896 #!/bin/sh
49897
49898 # This script is part of Bakefile (http://www.bakefile.org) autoconf
49899 # script. It is used to generated precompiled headers.
49900 #
49901 # Permission is given to use this file in any way.
49902
49903 outfile="${D}{1}"
49904 header="${D}{2}"
49905 shift
49906 shift
49907
49908 builddir=\`echo ${D}outfile | sed -e 's,/\\.pch/.*${D},,g'\`
49909
49910 compiler=""
49911 headerfile=""
49912
49913 while test ${D}{#} -gt 0; do
49914 add_to_cmdline=1
49915 case "${D}{1}" in
49916 -I* )
49917 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
49918 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
49919 headerfile="${D}{incdir}/${D}{header}"
49920 fi
49921 ;;
49922 -use-pch|-use_pch|-pch-use )
49923 shift
49924 add_to_cmdline=0
49925 ;;
49926 esac
49927 if test ${D}add_to_cmdline = 1 ; then
49928 compiler="${D}{compiler} ${D}{1}"
49929 fi
49930 shift
49931 done
49932
49933 if test "x${D}{headerfile}" = "x" ; then
49934 echo "error: can't find header ${D}{header} in include paths" >&2
49935 else
49936 if test -f ${D}{outfile} ; then
49937 rm -f ${D}{outfile}
49938 else
49939 mkdir -p \`dirname ${D}{outfile}\`
49940 fi
49941 depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
49942 mkdir -p ${D}{builddir}/.deps
49943 if test "x${GCC_PCH}" = "x1" ; then
49944 # can do this because gcc is >= 3.4:
49945 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
49946 elif test "x${ICC_PCH}" = "x1" ; then
49947 filename=pch_gen-${D}${D}
49948 file=${D}{filename}.c
49949 dfile=${D}{filename}.d
49950 cat > ${D}file <<EOT
49951 #include "${D}header"
49952 EOT
49953 # using -MF icc complains about differing command lines in creation/use
49954 ${D}compiler -c ${ICC_PCH_CREATE_SWITCH} ${D}outfile -MMD ${D}file && \\
49955 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
49956 rm -f ${D}file ${D}dfile ${D}{filename}.o
49957 fi
49958 exit ${D}{?}
49959 fi
49960 EOF
49961
49962 chmod +x bk-make-pch
49963 BK_MAKE_PCH="`pwd`/bk-make-pch"
49964 fi
49965 fi
49966 fi
49967
49968
49969
49970
49971
49972
49973
49974 COND_BUILD_DEBUG="#"
49975 if test "x$BUILD" = "xdebug" ; then
49976 COND_BUILD_DEBUG=""
49977 fi
49978
49979 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
49980 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
49981 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
49982 fi
49983
49984 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
49985 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
49986 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
49987 fi
49988
49989 COND_BUILD_DEBUG_UNICODE_0="#"
49990 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
49991 COND_BUILD_DEBUG_UNICODE_0=""
49992 fi
49993
49994 COND_BUILD_DEBUG_UNICODE_1="#"
49995 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
49996 COND_BUILD_DEBUG_UNICODE_1=""
49997 fi
49998
49999 COND_BUILD_RELEASE="#"
50000 if test "x$BUILD" = "xrelease" ; then
50001 COND_BUILD_RELEASE=""
50002 fi
50003
50004 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
50005 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
50006 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
50007 fi
50008
50009 COND_BUILD_RELEASE_UNICODE_0="#"
50010 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
50011 COND_BUILD_RELEASE_UNICODE_0=""
50012 fi
50013
50014 COND_BUILD_RELEASE_UNICODE_1="#"
50015 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
50016 COND_BUILD_RELEASE_UNICODE_1=""
50017 fi
50018
50019 COND_BUILD_debug="#"
50020 if test "x$BUILD" = "xdebug" ; then
50021 COND_BUILD_debug=""
50022 fi
50023
50024 COND_BUILD_debug_DEBUG_FLAG_default="#"
50025 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
50026 COND_BUILD_debug_DEBUG_FLAG_default=""
50027 fi
50028
50029 COND_BUILD_debug_DEBUG_INFO_default="#"
50030 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
50031 COND_BUILD_debug_DEBUG_INFO_default=""
50032 fi
50033
50034 COND_BUILD_debug_UNICODE_0="#"
50035 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
50036 COND_BUILD_debug_UNICODE_0=""
50037 fi
50038
50039 COND_BUILD_debug_UNICODE_1="#"
50040 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
50041 COND_BUILD_debug_UNICODE_1=""
50042 fi
50043
50044 COND_BUILD_release="#"
50045 if test "x$BUILD" = "xrelease" ; then
50046 COND_BUILD_release=""
50047 fi
50048
50049 COND_BUILD_release_DEBUG_INFO_default="#"
50050 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
50051 COND_BUILD_release_DEBUG_INFO_default=""
50052 fi
50053
50054 COND_BUILD_release_UNICODE_0="#"
50055 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
50056 COND_BUILD_release_UNICODE_0=""
50057 fi
50058
50059 COND_BUILD_release_UNICODE_1="#"
50060 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
50061 COND_BUILD_release_UNICODE_1=""
50062 fi
50063
50064 COND_DEBUG_FLAG_0="#"
50065 if test "x$DEBUG_FLAG" = "x0" ; then
50066 COND_DEBUG_FLAG_0=""
50067 fi
50068
50069 COND_DEBUG_FLAG_1="#"
50070 if test "x$DEBUG_FLAG" = "x1" ; then
50071 COND_DEBUG_FLAG_1=""
50072 fi
50073
50074 COND_DEBUG_INFO_0="#"
50075 if test "x$DEBUG_INFO" = "x0" ; then
50076 COND_DEBUG_INFO_0=""
50077 fi
50078
50079 COND_DEBUG_INFO_1="#"
50080 if test "x$DEBUG_INFO" = "x1" ; then
50081 COND_DEBUG_INFO_1=""
50082 fi
50083
50084 COND_DEPS_TRACKING_0="#"
50085 if test "x$DEPS_TRACKING" = "x0" ; then
50086 COND_DEPS_TRACKING_0=""
50087 fi
50088
50089 COND_DEPS_TRACKING_1="#"
50090 if test "x$DEPS_TRACKING" = "x1" ; then
50091 COND_DEPS_TRACKING_1=""
50092 fi
50093
50094 COND_GCC_PCH_1="#"
50095 if test "x$GCC_PCH" = "x1" ; then
50096 COND_GCC_PCH_1=""
50097 fi
50098
50099 COND_ICC_PCH_1="#"
50100 if test "x$ICC_PCH" = "x1" ; then
50101 COND_ICC_PCH_1=""
50102 fi
50103
50104 COND_MONOLITHIC_0="#"
50105 if test "x$MONOLITHIC" = "x0" ; then
50106 COND_MONOLITHIC_0=""
50107 fi
50108
50109 COND_MONOLITHIC_0_SHARED_0="#"
50110 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
50111 COND_MONOLITHIC_0_SHARED_0=""
50112 fi
50113
50114 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
50115 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
50116 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
50117 fi
50118
50119 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
50120 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
50121 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
50122 fi
50123
50124 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
50125 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
50126 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
50127 fi
50128
50129 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
50130 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
50131 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
50132 fi
50133
50134 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
50135 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
50136 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
50137 fi
50138
50139 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1="#"
50140 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
50141 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1=""
50142 fi
50143
50144 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1="#"
50145 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RIBBON" = "x1" ; then
50146 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1=""
50147 fi
50148
50149 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
50150 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
50151 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
50152 fi
50153
50154 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
50155 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
50156 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
50157 fi
50158
50159 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
50160 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
50161 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
50162 fi
50163
50164 COND_MONOLITHIC_0_SHARED_1="#"
50165 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
50166 COND_MONOLITHIC_0_SHARED_1=""
50167 fi
50168
50169 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
50170 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
50171 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
50172 fi
50173
50174 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
50175 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
50176 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
50177 fi
50178
50179 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
50180 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
50181 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
50182 fi
50183
50184 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
50185 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
50186 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
50187 fi
50188
50189 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
50190 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
50191 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
50192 fi
50193
50194 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1="#"
50195 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
50196 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1=""
50197 fi
50198
50199 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1="#"
50200 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RIBBON" = "x1" ; then
50201 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1=""
50202 fi
50203
50204 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
50205 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
50206 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
50207 fi
50208
50209 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
50210 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
50211 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
50212 fi
50213
50214 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
50215 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
50216 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
50217 fi
50218
50219 COND_MONOLITHIC_0_USE_AUI_1="#"
50220 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
50221 COND_MONOLITHIC_0_USE_AUI_1=""
50222 fi
50223
50224 COND_MONOLITHIC_0_USE_GUI_1="#"
50225 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
50226 COND_MONOLITHIC_0_USE_GUI_1=""
50227 fi
50228
50229 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
50230 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
50231 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
50232 fi
50233
50234 COND_MONOLITHIC_0_USE_HTML_1="#"
50235 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
50236 COND_MONOLITHIC_0_USE_HTML_1=""
50237 fi
50238
50239 COND_MONOLITHIC_0_USE_MEDIA_1="#"
50240 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
50241 COND_MONOLITHIC_0_USE_MEDIA_1=""
50242 fi
50243
50244 COND_MONOLITHIC_0_USE_PROPGRID_1="#"
50245 if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
50246 COND_MONOLITHIC_0_USE_PROPGRID_1=""
50247 fi
50248
50249 COND_MONOLITHIC_0_USE_QA_1="#"
50250 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
50251 COND_MONOLITHIC_0_USE_QA_1=""
50252 fi
50253
50254 COND_MONOLITHIC_0_USE_RIBBON_1="#"
50255 if test "x$MONOLITHIC" = "x0" -a "x$USE_RIBBON" = "x1" ; then
50256 COND_MONOLITHIC_0_USE_RIBBON_1=""
50257 fi
50258
50259 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
50260 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
50261 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
50262 fi
50263
50264 COND_MONOLITHIC_0_USE_STC_1="#"
50265 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
50266 COND_MONOLITHIC_0_USE_STC_1=""
50267 fi
50268
50269 COND_MONOLITHIC_0_USE_XRC_1="#"
50270 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
50271 COND_MONOLITHIC_0_USE_XRC_1=""
50272 fi
50273
50274 COND_MONOLITHIC_1="#"
50275 if test "x$MONOLITHIC" = "x1" ; then
50276 COND_MONOLITHIC_1=""
50277 fi
50278
50279 COND_MONOLITHIC_1_SHARED_0="#"
50280 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
50281 COND_MONOLITHIC_1_SHARED_0=""
50282 fi
50283
50284 COND_MONOLITHIC_1_SHARED_1="#"
50285 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
50286 COND_MONOLITHIC_1_SHARED_1=""
50287 fi
50288
50289 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
50290 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
50291 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
50292 fi
50293
50294 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
50295 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
50296 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
50297 fi
50298
50299 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
50300 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
50301 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
50302 fi
50303
50304 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
50305 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
50306 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
50307 fi
50308
50309 COND_PLATFORM_MACOSX_1="#"
50310 if test "x$PLATFORM_MACOSX" = "x1" ; then
50311 COND_PLATFORM_MACOSX_1=""
50312 fi
50313
50314 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0="#"
50315 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
50316 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0=""
50317 fi
50318
50319 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
50320 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
50321 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1=""
50322 fi
50323
50324 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0="#"
50325 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50326 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0=""
50327 fi
50328
50329 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
50330 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
50331 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1=""
50332 fi
50333
50334 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0="#"
50335 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50336 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0=""
50337 fi
50338
50339 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
50340 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
50341 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
50342 fi
50343
50344 COND_PLATFORM_MACOSX_1_USE_OPENGL_1="#"
50345 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50346 COND_PLATFORM_MACOSX_1_USE_OPENGL_1=""
50347 fi
50348
50349 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
50350 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
50351 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
50352 fi
50353
50354 COND_PLATFORM_MACOS_1="#"
50355 if test "x$PLATFORM_MACOS" = "x1" ; then
50356 COND_PLATFORM_MACOS_1=""
50357 fi
50358
50359 COND_PLATFORM_MAC_0="#"
50360 if test "x$PLATFORM_MAC" = "x0" ; then
50361 COND_PLATFORM_MAC_0=""
50362 fi
50363
50364 COND_PLATFORM_MAC_1="#"
50365 if test "x$PLATFORM_MAC" = "x1" ; then
50366 COND_PLATFORM_MAC_1=""
50367 fi
50368
50369 COND_PLATFORM_MSDOS_0="#"
50370 if test "x$PLATFORM_MSDOS" = "x0" ; then
50371 COND_PLATFORM_MSDOS_0=""
50372 fi
50373
50374 COND_PLATFORM_MSDOS_1="#"
50375 if test "x$PLATFORM_MSDOS" = "x1" ; then
50376 COND_PLATFORM_MSDOS_1=""
50377 fi
50378
50379 COND_PLATFORM_OS2_1="#"
50380 if test "x$PLATFORM_OS2" = "x1" ; then
50381 COND_PLATFORM_OS2_1=""
50382 fi
50383
50384 COND_PLATFORM_UNIX_0="#"
50385 if test "x$PLATFORM_UNIX" = "x0" ; then
50386 COND_PLATFORM_UNIX_0=""
50387 fi
50388
50389 COND_PLATFORM_UNIX_1="#"
50390 if test "x$PLATFORM_UNIX" = "x1" ; then
50391 COND_PLATFORM_UNIX_1=""
50392 fi
50393
50394 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
50395 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
50396 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
50397 fi
50398
50399 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
50400 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
50401 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
50402 fi
50403
50404 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
50405 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
50406 COND_PLATFORM_UNIX_1_USE_GUI_1=""
50407 fi
50408
50409 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
50410 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
50411 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
50412 fi
50413
50414 COND_PLATFORM_WIN32_0="#"
50415 if test "x$PLATFORM_WIN32" = "x0" ; then
50416 COND_PLATFORM_WIN32_0=""
50417 fi
50418
50419 COND_PLATFORM_WIN32_1="#"
50420 if test "x$PLATFORM_WIN32" = "x1" ; then
50421 COND_PLATFORM_WIN32_1=""
50422 fi
50423
50424 COND_SHARED_0="#"
50425 if test "x$SHARED" = "x0" ; then
50426 COND_SHARED_0=""
50427 fi
50428
50429 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
50430 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
50431 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
50432 fi
50433
50434 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
50435 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
50436 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
50437 fi
50438
50439 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
50440 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
50441 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
50442 fi
50443
50444 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
50445 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50446 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
50447 fi
50448
50449 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
50450 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50451 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
50452 fi
50453
50454 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
50455 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50456 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin=""
50457 fi
50458
50459 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
50460 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50461 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
50462 fi
50463
50464 COND_SHARED_0_USE_STC_1="#"
50465 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
50466 COND_SHARED_0_USE_STC_1=""
50467 fi
50468
50469 COND_SHARED_0_wxUSE_EXPAT_builtin="#"
50470 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
50471 COND_SHARED_0_wxUSE_EXPAT_builtin=""
50472 fi
50473
50474 COND_SHARED_0_wxUSE_REGEX_builtin="#"
50475 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
50476 COND_SHARED_0_wxUSE_REGEX_builtin=""
50477 fi
50478
50479 COND_SHARED_0_wxUSE_ZLIB_builtin="#"
50480 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
50481 COND_SHARED_0_wxUSE_ZLIB_builtin=""
50482 fi
50483
50484 COND_SHARED_1="#"
50485 if test "x$SHARED" = "x1" ; then
50486 COND_SHARED_1=""
50487 fi
50488
50489 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
50490 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50491 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
50492 fi
50493
50494 COND_TOOLKIT_="#"
50495 if test "x$TOOLKIT" = "x" ; then
50496 COND_TOOLKIT_=""
50497 fi
50498
50499 COND_TOOLKIT_COCOA="#"
50500 if test "x$TOOLKIT" = "xCOCOA" ; then
50501 COND_TOOLKIT_COCOA=""
50502 fi
50503
50504 COND_TOOLKIT_COCOA_USE_GUI_1="#"
50505 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
50506 COND_TOOLKIT_COCOA_USE_GUI_1=""
50507 fi
50508
50509 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
50510 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50511 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
50512 fi
50513
50514 COND_TOOLKIT_DFB="#"
50515 if test "x$TOOLKIT" = "xDFB" ; then
50516 COND_TOOLKIT_DFB=""
50517 fi
50518
50519 COND_TOOLKIT_DFB_USE_GUI_1="#"
50520 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
50521 COND_TOOLKIT_DFB_USE_GUI_1=""
50522 fi
50523
50524 COND_TOOLKIT_GTK="#"
50525 if test "x$TOOLKIT" = "xGTK" ; then
50526 COND_TOOLKIT_GTK=""
50527 fi
50528
50529 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
50530 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
50531 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
50532 fi
50533
50534 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
50535 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
50536 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
50537 fi
50538
50539 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
50540 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
50541 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
50542 fi
50543
50544 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
50545 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50546 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
50547 fi
50548
50549 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
50550 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
50551 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
50552 fi
50553
50554 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
50555 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50556 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
50557 fi
50558
50559 COND_TOOLKIT_GTK_USE_GUI_1="#"
50560 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
50561 COND_TOOLKIT_GTK_USE_GUI_1=""
50562 fi
50563
50564 COND_TOOLKIT_MAC="#"
50565 if test "x$TOOLKIT" = "xMAC" ; then
50566 COND_TOOLKIT_MAC=""
50567 fi
50568
50569 COND_TOOLKIT_MGL="#"
50570 if test "x$TOOLKIT" = "xMGL" ; then
50571 COND_TOOLKIT_MGL=""
50572 fi
50573
50574 COND_TOOLKIT_MGL_USE_GUI_1="#"
50575 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
50576 COND_TOOLKIT_MGL_USE_GUI_1=""
50577 fi
50578
50579 COND_TOOLKIT_MOTIF="#"
50580 if test "x$TOOLKIT" = "xMOTIF" ; then
50581 COND_TOOLKIT_MOTIF=""
50582 fi
50583
50584 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
50585 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
50586 COND_TOOLKIT_MOTIF_USE_GUI_1=""
50587 fi
50588
50589 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
50590 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50591 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
50592 fi
50593
50594 COND_TOOLKIT_MSW="#"
50595 if test "x$TOOLKIT" = "xMSW" ; then
50596 COND_TOOLKIT_MSW=""
50597 fi
50598
50599 COND_TOOLKIT_MSW_USE_GUI_1="#"
50600 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
50601 COND_TOOLKIT_MSW_USE_GUI_1=""
50602 fi
50603
50604 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
50605 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50606 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
50607 fi
50608
50609 COND_TOOLKIT_MSW_WXUNIV_0="#"
50610 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
50611 COND_TOOLKIT_MSW_WXUNIV_0=""
50612 fi
50613
50614 COND_TOOLKIT_OSX_CARBON="#"
50615 if test "x$TOOLKIT" = "xOSX_CARBON" ; then
50616 COND_TOOLKIT_OSX_CARBON=""
50617 fi
50618
50619 COND_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
50620 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
50621 COND_TOOLKIT_OSX_CARBON_USE_GUI_1=""
50622 fi
50623
50624 COND_TOOLKIT_OSX_COCOA="#"
50625 if test "x$TOOLKIT" = "xOSX_COCOA" ; then
50626 COND_TOOLKIT_OSX_COCOA=""
50627 fi
50628
50629 COND_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
50630 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
50631 COND_TOOLKIT_OSX_COCOA_USE_GUI_1=""
50632 fi
50633
50634 COND_TOOLKIT_OSX_IPHONE="#"
50635 if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
50636 COND_TOOLKIT_OSX_IPHONE=""
50637 fi
50638
50639 COND_TOOLKIT_PM="#"
50640 if test "x$TOOLKIT" = "xPM" ; then
50641 COND_TOOLKIT_PM=""
50642 fi
50643
50644 COND_TOOLKIT_PM_USE_GUI_1="#"
50645 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
50646 COND_TOOLKIT_PM_USE_GUI_1=""
50647 fi
50648
50649 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
50650 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50651 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
50652 fi
50653
50654 COND_TOOLKIT_WINCE="#"
50655 if test "x$TOOLKIT" = "xWINCE" ; then
50656 COND_TOOLKIT_WINCE=""
50657 fi
50658
50659 COND_TOOLKIT_WINCE_USE_GUI_1="#"
50660 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
50661 COND_TOOLKIT_WINCE_USE_GUI_1=""
50662 fi
50663
50664 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
50665 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50666 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
50667 fi
50668
50669 COND_TOOLKIT_WINCE_WXUNIV_0="#"
50670 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
50671 COND_TOOLKIT_WINCE_WXUNIV_0=""
50672 fi
50673
50674 COND_TOOLKIT_X11="#"
50675 if test "x$TOOLKIT" = "xX11" ; then
50676 COND_TOOLKIT_X11=""
50677 fi
50678
50679 COND_TOOLKIT_X11_USE_GUI_1="#"
50680 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
50681 COND_TOOLKIT_X11_USE_GUI_1=""
50682 fi
50683
50684 COND_UNICODE_1="#"
50685 if test "x$UNICODE" = "x1" ; then
50686 COND_UNICODE_1=""
50687 fi
50688
50689 COND_USE_EXCEPTIONS_0="#"
50690 if test "x$USE_EXCEPTIONS" = "x0" ; then
50691 COND_USE_EXCEPTIONS_0=""
50692 fi
50693
50694 COND_USE_EXCEPTIONS_1="#"
50695 if test "x$USE_EXCEPTIONS" = "x1" ; then
50696 COND_USE_EXCEPTIONS_1=""
50697 fi
50698
50699 COND_USE_GUI_0="#"
50700 if test "x$USE_GUI" = "x0" ; then
50701 COND_USE_GUI_0=""
50702 fi
50703
50704 COND_USE_GUI_1="#"
50705 if test "x$USE_GUI" = "x1" ; then
50706 COND_USE_GUI_1=""
50707 fi
50708
50709 COND_USE_GUI_1_USE_OPENGL_1="#"
50710 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50711 COND_USE_GUI_1_USE_OPENGL_1=""
50712 fi
50713
50714 COND_USE_GUI_1_WXUNIV_0="#"
50715 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50716 COND_USE_GUI_1_WXUNIV_0=""
50717 fi
50718
50719 COND_USE_GUI_1_WXUNIV_1="#"
50720 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
50721 COND_USE_GUI_1_WXUNIV_1=""
50722 fi
50723
50724 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
50725 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50726 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
50727 fi
50728
50729 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
50730 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50731 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
50732 fi
50733
50734 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
50735 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50736 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
50737 fi
50738
50739 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
50740 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50741 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
50742 fi
50743
50744 COND_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
50745 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50746 COND_USE_GUI_1_wxUSE_LIBPNG_builtin=""
50747 fi
50748
50749 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
50750 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50751 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
50752 fi
50753
50754 COND_USE_OPENGL_1="#"
50755 if test "x$USE_OPENGL" = "x1" ; then
50756 COND_USE_OPENGL_1=""
50757 fi
50758
50759 COND_USE_PCH_1="#"
50760 if test "x$USE_PCH" = "x1" ; then
50761 COND_USE_PCH_1=""
50762 fi
50763
50764 COND_USE_PLUGINS_0="#"
50765 if test "x$USE_PLUGINS" = "x0" ; then
50766 COND_USE_PLUGINS_0=""
50767 fi
50768
50769 COND_USE_RTTI_0="#"
50770 if test "x$USE_RTTI" = "x0" ; then
50771 COND_USE_RTTI_0=""
50772 fi
50773
50774 COND_USE_RTTI_1="#"
50775 if test "x$USE_RTTI" = "x1" ; then
50776 COND_USE_RTTI_1=""
50777 fi
50778
50779 COND_USE_SOTWOSYMLINKS_1="#"
50780 if test "x$USE_SOTWOSYMLINKS" = "x1" ; then
50781 COND_USE_SOTWOSYMLINKS_1=""
50782 fi
50783
50784 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
50785 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
50786 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
50787 fi
50788
50789 COND_USE_SOVERLINUX_1="#"
50790 if test "x$USE_SOVERLINUX" = "x1" ; then
50791 COND_USE_SOVERLINUX_1=""
50792 fi
50793
50794 COND_USE_SOVERSION_0="#"
50795 if test "x$USE_SOVERSION" = "x0" ; then
50796 COND_USE_SOVERSION_0=""
50797 fi
50798
50799 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1="#"
50800 if test "x$USE_SOVERSION" = "x1" -a "x$USE_SOVERSOLARIS" = "x1" ; then
50801 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1=""
50802 fi
50803
50804 COND_USE_SOVERSOLARIS_1="#"
50805 if test "x$USE_SOVERSOLARIS" = "x1" ; then
50806 COND_USE_SOVERSOLARIS_1=""
50807 fi
50808
50809 COND_USE_STC_1="#"
50810 if test "x$USE_STC" = "x1" ; then
50811 COND_USE_STC_1=""
50812 fi
50813
50814 COND_USE_THREADS_0="#"
50815 if test "x$USE_THREADS" = "x0" ; then
50816 COND_USE_THREADS_0=""
50817 fi
50818
50819 COND_USE_THREADS_1="#"
50820 if test "x$USE_THREADS" = "x1" ; then
50821 COND_USE_THREADS_1=""
50822 fi
50823
50824 COND_USE_XRC_1="#"
50825 if test "x$USE_XRC" = "x1" ; then
50826 COND_USE_XRC_1=""
50827 fi
50828
50829 COND_WINDOWS_IMPLIB_1="#"
50830 if test "x$WINDOWS_IMPLIB" = "x1" ; then
50831 COND_WINDOWS_IMPLIB_1=""
50832 fi
50833
50834 COND_WITH_PLUGIN_SDL_1="#"
50835 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
50836 COND_WITH_PLUGIN_SDL_1=""
50837 fi
50838
50839 COND_WXUNIV_0="#"
50840 if test "x$WXUNIV" = "x0" ; then
50841 COND_WXUNIV_0=""
50842 fi
50843
50844 COND_WXUNIV_1="#"
50845 if test "x$WXUNIV" = "x1" ; then
50846 COND_WXUNIV_1=""
50847 fi
50848
50849 COND_WXUSE_EXPAT_BUILTIN="#"
50850 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
50851 COND_WXUSE_EXPAT_BUILTIN=""
50852 fi
50853
50854 COND_WXUSE_LIBJPEG_BUILTIN="#"
50855 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50856 COND_WXUSE_LIBJPEG_BUILTIN=""
50857 fi
50858
50859 COND_WXUSE_LIBPNG_BUILTIN="#"
50860 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50861 COND_WXUSE_LIBPNG_BUILTIN=""
50862 fi
50863
50864 COND_WXUSE_LIBTIFF_BUILTIN="#"
50865 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50866 COND_WXUSE_LIBTIFF_BUILTIN=""
50867 fi
50868
50869 COND_WXUSE_REGEX_BUILTIN="#"
50870 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
50871 COND_WXUSE_REGEX_BUILTIN=""
50872 fi
50873
50874 COND_WXUSE_ZLIB_BUILTIN="#"
50875 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
50876 COND_WXUSE_ZLIB_BUILTIN=""
50877 fi
50878
50879 COND_wxUSE_EXPAT_builtin="#"
50880 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
50881 COND_wxUSE_EXPAT_builtin=""
50882 fi
50883
50884 COND_wxUSE_LIBJPEG_builtin="#"
50885 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50886 COND_wxUSE_LIBJPEG_builtin=""
50887 fi
50888
50889 COND_wxUSE_LIBPNG_builtin="#"
50890 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50891 COND_wxUSE_LIBPNG_builtin=""
50892 fi
50893
50894 COND_wxUSE_LIBTIFF_builtin="#"
50895 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50896 COND_wxUSE_LIBTIFF_builtin=""
50897 fi
50898
50899 COND_wxUSE_REGEX_builtin="#"
50900 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
50901 COND_wxUSE_REGEX_builtin=""
50902 fi
50903
50904 COND_wxUSE_ZLIB_builtin="#"
50905 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
50906 COND_wxUSE_ZLIB_builtin=""
50907 fi
50908
50909
50910
50911 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
50912 { { 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
50913 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;}
50914 { (exit 1); exit 1; }; }
50915 fi
50916
50917 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
50918 { { 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
50919 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;}
50920 { (exit 1); exit 1; }; }
50921 fi
50922
50923
50924 case ${INSTALL} in
50925 /* ) # Absolute
50926 ;;
50927 ?:* ) # Drive letter, considered as absolute.
50928 ;;
50929 *)
50930 INSTALL=`pwd`/${INSTALL} ;;
50931 esac
50932
50933 if test "$wxUSE_GUI" = "yes"; then
50934
50935 if test "$wxUSE_MSW" = 1 ; then
50936 if test "x$WINDRES" = "x"; then
50937 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
50938 echo "$as_me: error: Required windres program not found" >&2;}
50939 { (exit 1); exit 1; }; }
50940 fi
50941
50942 RESCOMP="$WINDRES $WINDRES_CPU_DEFINE"
50943 fi
50944
50945 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
50946 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
50947 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
50948
50949 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
50950
50951 # Extract the first word of "DeRez", so it can be a program name with args.
50952 set dummy DeRez; ac_word=$2
50953 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50954 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50955 if test "${ac_cv_prog_DEREZ+set}" = set; then
50956 echo $ECHO_N "(cached) $ECHO_C" >&6
50957 else
50958 if test -n "$DEREZ"; then
50959 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
50960 else
50961 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50962 for as_dir in $PATH
50963 do
50964 IFS=$as_save_IFS
50965 test -z "$as_dir" && as_dir=.
50966 for ac_exec_ext in '' $ac_executable_extensions; do
50967 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50968 ac_cv_prog_DEREZ="DeRez"
50969 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50970 break 2
50971 fi
50972 done
50973 done
50974 IFS=$as_save_IFS
50975
50976 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
50977 fi
50978 fi
50979 DEREZ=$ac_cv_prog_DEREZ
50980 if test -n "$DEREZ"; then
50981 { echo "$as_me:$LINENO: result: $DEREZ" >&5
50982 echo "${ECHO_T}$DEREZ" >&6; }
50983 else
50984 { echo "$as_me:$LINENO: result: no" >&5
50985 echo "${ECHO_T}no" >&6; }
50986 fi
50987
50988
50989
50990 MACSETFILE="\$(SETFILE)"
50991
50992 if test "$wxUSE_OSX_CARBON" = 1; then
50993 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
50994 RESCOMP="$REZ"
50995 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
50996 else
50997 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
50998 RESCOMP="cat /dev/null \| $REZ"
50999 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
51000 fi
51001
51002 else
51003 MACSETFILE="@true"
51004
51005 if test "$wxUSE_PM" = 1; then
51006 RESCOMP="emxbind"
51007 WXCONFIG_RESFLAGS="-ep"
51008
51009 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
51010 else
51011 POSTLINK_COMMAND="@true"
51012 fi
51013 fi
51014
51015 fi
51016
51017
51018 if test $GCC_PCH = 1
51019 then
51020 if test "$wx_cv_gcc_pch_bug" = yes; then
51021 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
51022 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
51023 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
51024 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
51025 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
51026 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
51027 fi
51028
51029 # Our WX_PRECOMP flag does not make sense for any language except C++ because
51030 # the headers that benefit from precompilation are mostly C++ headers.
51031 CXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
51032 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
51033 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
51034 fi
51035
51036
51037 if test "$wxUSE_MAC" = 1 ; then
51038 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
51039 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
51040 mv temp bk-deps
51041 chmod +x bk-deps
51042 fi
51043 fi
51044
51045 if test "$wxUSE_SHARED" = "yes"; then
51046 case "${host}" in
51047 *-pc-os2_emx | *-pc-os2-emx )
51048 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
51049 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
51050 cp -p ${srcdir}/src/os2/dllnames.sh .
51051 cp -p ${srcdir}/src/os2/dllar.sh .
51052 ;;
51053 esac
51054 fi
51055 if test "$wxUSE_OMF" = "yes"; then
51056 case "${host}" in
51057 *-pc-os2_emx | *-pc-os2-emx )
51058 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
51059 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
51060 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
51061 ;;
51062 esac
51063 fi
51064
51065 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
51066
51067
51068 case "${host}" in
51069 *-*-solaris2* )
51070 if test "$GCC" = yes; then
51071 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
51072 LIBS=`echo $LIBS | sed 's/-mt//'`
51073 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
51074 fi
51075 ;;
51076
51077 *-*-linux* )
51078 if test "x$SUNCXX" = xyes; then
51079 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
51080 LIBS=`echo $LIBS | sed 's/-pthread//'`
51081 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
51082 fi
51083 ;;
51084 esac
51085
51086 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
51087 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
51088 OBJCFLAGS="$OBJCFLAGS $CFLAGS_VISIBILITY"
51089 OBJCXXFLAGS="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
51090
51091 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
51092
51093
51094
51095
51096
51097
51098
51099
51100
51101
51102
51103
51104
51105
51106
51107
51108
51109
51110
51111
51112
51113
51114
51115
51116
51117
51118
51119
51120
51121
51122
51123
51124
51125
51126
51127
51128
51129
51130
51131
51132
51133
51134
51135
51136
51137
51138
51139
51140
51141
51142
51143
51144
51145
51146
51147
51148
51149
51150
51151
51152 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
51153 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
51154 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
51155 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
51156 echo $ECHO_N "(cached) $ECHO_C" >&6
51157 else
51158 cat >conftest.make <<\_ACEOF
51159 SHELL = /bin/sh
51160 all:
51161 @echo '@@@%%%=$(MAKE)=@@@%%%'
51162 _ACEOF
51163 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
51164 case `${MAKE-make} -f conftest.make 2>/dev/null` in
51165 *@@@%%%=?*=@@@%%%*)
51166 eval ac_cv_prog_make_${ac_make}_set=yes;;
51167 *)
51168 eval ac_cv_prog_make_${ac_make}_set=no;;
51169 esac
51170 rm -f conftest.make
51171 fi
51172 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
51173 { echo "$as_me:$LINENO: result: yes" >&5
51174 echo "${ECHO_T}yes" >&6; }
51175 SET_MAKE=
51176 else
51177 { echo "$as_me:$LINENO: result: no" >&5
51178 echo "${ECHO_T}no" >&6; }
51179 SET_MAKE="MAKE=${MAKE-make}"
51180 fi
51181
51182
51183
51184 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
51185
51186
51187 if test "$USE_WIN32" = 1; then
51188 ac_config_commands="$ac_config_commands rcdefs.h"
51189
51190 fi
51191
51192 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
51193
51194
51195 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
51196
51197
51198 ac_config_files="$ac_config_files utils/ifacecheck/rungccxml.sh"
51199
51200
51201 if test "$wx_cv_version_script" = "yes"; then
51202 ac_config_files="$ac_config_files version-script"
51203
51204 fi
51205 ac_config_files="$ac_config_files Makefile"
51206
51207
51208 ac_config_commands="$ac_config_commands wx-config"
51209
51210
51211
51212 if test "$wxWITH_SUBDIRS" != "no"; then
51213 if test "$wxUSE_GUI" = "yes"; then
51214 SUBDIRS="samples demos utils"
51215 else
51216 SUBDIRS="samples utils"
51217 fi
51218
51219
51220
51221 # Check whether --with-cppunit-prefix was given.
51222 if test "${with_cppunit_prefix+set}" = set; then
51223 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
51224 else
51225 cppunit_config_prefix=""
51226 fi
51227
51228
51229 # Check whether --with-cppunit-exec-prefix was given.
51230 if test "${with_cppunit_exec_prefix+set}" = set; then
51231 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
51232 else
51233 cppunit_config_exec_prefix=""
51234 fi
51235
51236
51237 if test x$cppunit_config_exec_prefix != x ; then
51238 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
51239 if test x${CPPUNIT_CONFIG+set} != xset ; then
51240 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
51241 fi
51242 fi
51243 if test x$cppunit_config_prefix != x ; then
51244 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
51245 if test x${CPPUNIT_CONFIG+set} != xset ; then
51246 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
51247 fi
51248 fi
51249
51250 # Extract the first word of "cppunit-config", so it can be a program name with args.
51251 set dummy cppunit-config; ac_word=$2
51252 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51253 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51254 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
51255 echo $ECHO_N "(cached) $ECHO_C" >&6
51256 else
51257 case $CPPUNIT_CONFIG in
51258 [\\/]* | ?:[\\/]*)
51259 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
51260 ;;
51261 *)
51262 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51263 for as_dir in $PATH
51264 do
51265 IFS=$as_save_IFS
51266 test -z "$as_dir" && as_dir=.
51267 for ac_exec_ext in '' $ac_executable_extensions; do
51268 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51269 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
51270 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51271 break 2
51272 fi
51273 done
51274 done
51275 IFS=$as_save_IFS
51276
51277 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
51278 ;;
51279 esac
51280 fi
51281 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
51282 if test -n "$CPPUNIT_CONFIG"; then
51283 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
51284 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
51285 else
51286 { echo "$as_me:$LINENO: result: no" >&5
51287 echo "${ECHO_T}no" >&6; }
51288 fi
51289
51290
51291 cppunit_version_min=1.8.0
51292
51293 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
51294 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
51295 no_cppunit=""
51296 if test "$CPPUNIT_CONFIG" = "no" ; then
51297 { echo "$as_me:$LINENO: result: no" >&5
51298 echo "${ECHO_T}no" >&6; }
51299 no_cppunit=yes
51300 else
51301 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
51302 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
51303 cppunit_version=`$CPPUNIT_CONFIG --version`
51304
51305 cppunit_major_version=`echo $cppunit_version | \
51306 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
51307 cppunit_minor_version=`echo $cppunit_version | \
51308 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
51309 cppunit_micro_version=`echo $cppunit_version | \
51310 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
51311
51312 cppunit_major_min=`echo $cppunit_version_min | \
51313 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
51314 cppunit_minor_min=`echo $cppunit_version_min | \
51315 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
51316 cppunit_micro_min=`echo $cppunit_version_min | \
51317 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
51318
51319 cppunit_version_proper=`expr \
51320 $cppunit_major_version \> $cppunit_major_min \| \
51321 $cppunit_major_version \= $cppunit_major_min \& \
51322 $cppunit_minor_version \> $cppunit_minor_min \| \
51323 $cppunit_major_version \= $cppunit_major_min \& \
51324 $cppunit_minor_version \= $cppunit_minor_min \& \
51325 $cppunit_micro_version \>= $cppunit_micro_min `
51326
51327 if test "$cppunit_version_proper" = "1" ; then
51328 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
51329 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
51330 else
51331 { echo "$as_me:$LINENO: result: no" >&5
51332 echo "${ECHO_T}no" >&6; }
51333 no_cppunit=yes
51334 fi
51335 fi
51336
51337 if test "x$no_cppunit" = x ; then
51338 SUBDIRS="$SUBDIRS tests"
51339 else
51340 CPPUNIT_CFLAGS=""
51341 CPPUNIT_LIBS=""
51342 :
51343 fi
51344
51345
51346
51347
51348
51349 for subdir in $SUBDIRS; do
51350 if test -d ${srcdir}/${subdir} ; then
51351 if test "$wxUSE_GUI" = "yes"; then
51352 if test ${subdir} = "samples"; then
51353 makefiles="samples/Makefile.in $makefiles"
51354 for sample in $SAMPLES_SUBDIRS; do
51355 if test -d $srcdir/samples/$sample; then
51356 makefiles="samples/$sample/Makefile.in $makefiles"
51357 fi
51358 done
51359 else
51360 disabled_var=DISABLED_`echo $subdir | tr '[a-z]' '[A-Z]'`
51361 eval "disabled=\$$disabled_var"
51362 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
51363 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
51364 fi
51365 else
51366 if test ${subdir} = "samples"; then
51367 makefiles="samples/Makefile.in $makefiles"
51368 for sample in `echo $SAMPLES_SUBDIRS`; do
51369 if test -d $srcdir/samples/$sample; then
51370 makefiles="samples/$sample/Makefile.in $makefiles"
51371 fi
51372 done
51373 elif test ${subdir} = "utils"; then
51374 makefiles=""
51375 for util in ifacecheck ; do
51376 if test -d $srcdir/utils/$util ; then
51377 makefiles="utils/$util/src/Makefile.in \
51378 $makefiles"
51379 fi
51380 done
51381 else
51382 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
51383 fi
51384 fi
51385
51386 for mkin in $makefiles ; do
51387 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
51388 ac_config_files="$ac_config_files $mk"
51389
51390 done
51391 fi
51392 done
51393 fi
51394 cat >confcache <<\_ACEOF
51395 # This file is a shell script that caches the results of configure
51396 # tests run on this system so they can be shared between configure
51397 # scripts and configure runs, see configure's option --config-cache.
51398 # It is not useful on other systems. If it contains results you don't
51399 # want to keep, you may remove or edit it.
51400 #
51401 # config.status only pays attention to the cache file if you give it
51402 # the --recheck option to rerun configure.
51403 #
51404 # `ac_cv_env_foo' variables (set or unset) will be overridden when
51405 # loading this file, other *unset* `ac_cv_foo' will be assigned the
51406 # following values.
51407
51408 _ACEOF
51409
51410 # The following way of writing the cache mishandles newlines in values,
51411 # but we know of no workaround that is simple, portable, and efficient.
51412 # So, we kill variables containing newlines.
51413 # Ultrix sh set writes to stderr and can't be redirected directly,
51414 # and sets the high bit in the cache file unless we assign to the vars.
51415 (
51416 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
51417 eval ac_val=\$$ac_var
51418 case $ac_val in #(
51419 *${as_nl}*)
51420 case $ac_var in #(
51421 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
51422 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
51423 esac
51424 case $ac_var in #(
51425 _ | IFS | as_nl) ;; #(
51426 *) $as_unset $ac_var ;;
51427 esac ;;
51428 esac
51429 done
51430
51431 (set) 2>&1 |
51432 case $as_nl`(ac_space=' '; set) 2>&1` in #(
51433 *${as_nl}ac_space=\ *)
51434 # `set' does not quote correctly, so add quotes (double-quote
51435 # substitution turns \\\\ into \\, and sed turns \\ into \).
51436 sed -n \
51437 "s/'/'\\\\''/g;
51438 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
51439 ;; #(
51440 *)
51441 # `set' quotes correctly as required by POSIX, so do not add quotes.
51442 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
51443 ;;
51444 esac |
51445 sort
51446 ) |
51447 sed '
51448 /^ac_cv_env_/b end
51449 t clear
51450 :clear
51451 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
51452 t end
51453 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
51454 :end' >>confcache
51455 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
51456 if test -w "$cache_file"; then
51457 test "x$cache_file" != "x/dev/null" &&
51458 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
51459 echo "$as_me: updating cache $cache_file" >&6;}
51460 cat confcache >$cache_file
51461 else
51462 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
51463 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
51464 fi
51465 fi
51466 rm -f confcache
51467
51468 test "x$prefix" = xNONE && prefix=$ac_default_prefix
51469 # Let make expand exec_prefix.
51470 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
51471
51472 DEFS=-DHAVE_CONFIG_H
51473
51474 ac_libobjs=
51475 ac_ltlibobjs=
51476 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
51477 # 1. Remove the extension, and $U if already installed.
51478 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
51479 ac_i=`echo "$ac_i" | sed "$ac_script"`
51480 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
51481 # will be set to the directory where LIBOBJS objects are built.
51482 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
51483 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
51484 done
51485 LIBOBJS=$ac_libobjs
51486
51487 LTLIBOBJS=$ac_ltlibobjs
51488
51489
51490
51491 : ${CONFIG_STATUS=./config.status}
51492 ac_clean_files_save=$ac_clean_files
51493 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
51494 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
51495 echo "$as_me: creating $CONFIG_STATUS" >&6;}
51496 cat >$CONFIG_STATUS <<_ACEOF
51497 #! $SHELL
51498 # Generated by $as_me.
51499 # Run this file to recreate the current configuration.
51500 # Compiler output produced by configure, useful for debugging
51501 # configure, is in config.log if it exists.
51502
51503 debug=false
51504 ac_cs_recheck=false
51505 ac_cs_silent=false
51506 SHELL=\${CONFIG_SHELL-$SHELL}
51507 _ACEOF
51508
51509 cat >>$CONFIG_STATUS <<\_ACEOF
51510 ## --------------------- ##
51511 ## M4sh Initialization. ##
51512 ## --------------------- ##
51513
51514 # Be more Bourne compatible
51515 DUALCASE=1; export DUALCASE # for MKS sh
51516 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
51517 emulate sh
51518 NULLCMD=:
51519 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
51520 # is contrary to our usage. Disable this feature.
51521 alias -g '${1+"$@"}'='"$@"'
51522 setopt NO_GLOB_SUBST
51523 else
51524 case `(set -o) 2>/dev/null` in
51525 *posix*) set -o posix ;;
51526 esac
51527
51528 fi
51529
51530
51531
51532
51533 # PATH needs CR
51534 # Avoid depending upon Character Ranges.
51535 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
51536 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
51537 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
51538 as_cr_digits='0123456789'
51539 as_cr_alnum=$as_cr_Letters$as_cr_digits
51540
51541 # The user is always right.
51542 if test "${PATH_SEPARATOR+set}" != set; then
51543 echo "#! /bin/sh" >conf$$.sh
51544 echo "exit 0" >>conf$$.sh
51545 chmod +x conf$$.sh
51546 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
51547 PATH_SEPARATOR=';'
51548 else
51549 PATH_SEPARATOR=:
51550 fi
51551 rm -f conf$$.sh
51552 fi
51553
51554 # Support unset when possible.
51555 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
51556 as_unset=unset
51557 else
51558 as_unset=false
51559 fi
51560
51561
51562 # IFS
51563 # We need space, tab and new line, in precisely that order. Quoting is
51564 # there to prevent editors from complaining about space-tab.
51565 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
51566 # splitting by setting IFS to empty value.)
51567 as_nl='
51568 '
51569 IFS=" "" $as_nl"
51570
51571 # Find who we are. Look in the path if we contain no directory separator.
51572 case $0 in
51573 *[\\/]* ) as_myself=$0 ;;
51574 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51575 for as_dir in $PATH
51576 do
51577 IFS=$as_save_IFS
51578 test -z "$as_dir" && as_dir=.
51579 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
51580 done
51581 IFS=$as_save_IFS
51582
51583 ;;
51584 esac
51585 # We did not find ourselves, most probably we were run as `sh COMMAND'
51586 # in which case we are not to be found in the path.
51587 if test "x$as_myself" = x; then
51588 as_myself=$0
51589 fi
51590 if test ! -f "$as_myself"; then
51591 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
51592 { (exit 1); exit 1; }
51593 fi
51594
51595 # Work around bugs in pre-3.0 UWIN ksh.
51596 for as_var in ENV MAIL MAILPATH
51597 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
51598 done
51599 PS1='$ '
51600 PS2='> '
51601 PS4='+ '
51602
51603 # NLS nuisances.
51604 for as_var in \
51605 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
51606 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
51607 LC_TELEPHONE LC_TIME
51608 do
51609 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
51610 eval $as_var=C; export $as_var
51611 else
51612 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
51613 fi
51614 done
51615
51616 # Required to use basename.
51617 if expr a : '\(a\)' >/dev/null 2>&1 &&
51618 test "X`expr 00001 : '.*\(...\)'`" = X001; then
51619 as_expr=expr
51620 else
51621 as_expr=false
51622 fi
51623
51624 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
51625 as_basename=basename
51626 else
51627 as_basename=false
51628 fi
51629
51630
51631 # Name of the executable.
51632 as_me=`$as_basename -- "$0" ||
51633 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
51634 X"$0" : 'X\(//\)$' \| \
51635 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
51636 echo X/"$0" |
51637 sed '/^.*\/\([^/][^/]*\)\/*$/{
51638 s//\1/
51639 q
51640 }
51641 /^X\/\(\/\/\)$/{
51642 s//\1/
51643 q
51644 }
51645 /^X\/\(\/\).*/{
51646 s//\1/
51647 q
51648 }
51649 s/.*/./; q'`
51650
51651 # CDPATH.
51652 $as_unset CDPATH
51653
51654
51655
51656 as_lineno_1=$LINENO
51657 as_lineno_2=$LINENO
51658 test "x$as_lineno_1" != "x$as_lineno_2" &&
51659 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
51660
51661 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
51662 # uniformly replaced by the line number. The first 'sed' inserts a
51663 # line-number line after each line using $LINENO; the second 'sed'
51664 # does the real work. The second script uses 'N' to pair each
51665 # line-number line with the line containing $LINENO, and appends
51666 # trailing '-' during substitution so that $LINENO is not a special
51667 # case at line end.
51668 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
51669 # scripts with optimization help from Paolo Bonzini. Blame Lee
51670 # E. McMahon (1931-1989) for sed's syntax. :-)
51671 sed -n '
51672 p
51673 /[$]LINENO/=
51674 ' <$as_myself |
51675 sed '
51676 s/[$]LINENO.*/&-/
51677 t lineno
51678 b
51679 :lineno
51680 N
51681 :loop
51682 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
51683 t loop
51684 s/-\n.*//
51685 ' >$as_me.lineno &&
51686 chmod +x "$as_me.lineno" ||
51687 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
51688 { (exit 1); exit 1; }; }
51689
51690 # Don't try to exec as it changes $[0], causing all sort of problems
51691 # (the dirname of $[0] is not the place where we might find the
51692 # original and so on. Autoconf is especially sensitive to this).
51693 . "./$as_me.lineno"
51694 # Exit status is that of the last command.
51695 exit
51696 }
51697
51698
51699 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
51700 as_dirname=dirname
51701 else
51702 as_dirname=false
51703 fi
51704
51705 ECHO_C= ECHO_N= ECHO_T=
51706 case `echo -n x` in
51707 -n*)
51708 case `echo 'x\c'` in
51709 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
51710 *) ECHO_C='\c';;
51711 esac;;
51712 *)
51713 ECHO_N='-n';;
51714 esac
51715
51716 if expr a : '\(a\)' >/dev/null 2>&1 &&
51717 test "X`expr 00001 : '.*\(...\)'`" = X001; then
51718 as_expr=expr
51719 else
51720 as_expr=false
51721 fi
51722
51723 rm -f conf$$ conf$$.exe conf$$.file
51724 if test -d conf$$.dir; then
51725 rm -f conf$$.dir/conf$$.file
51726 else
51727 rm -f conf$$.dir
51728 mkdir conf$$.dir
51729 fi
51730 echo >conf$$.file
51731 if ln -s conf$$.file conf$$ 2>/dev/null; then
51732 as_ln_s='ln -s'
51733 # ... but there are two gotchas:
51734 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
51735 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
51736 # In both cases, we have to default to `cp -p'.
51737 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
51738 as_ln_s='cp -p'
51739 elif ln conf$$.file conf$$ 2>/dev/null; then
51740 as_ln_s=ln
51741 else
51742 as_ln_s='cp -p'
51743 fi
51744 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
51745 rmdir conf$$.dir 2>/dev/null
51746
51747 if mkdir -p . 2>/dev/null; then
51748 as_mkdir_p=:
51749 else
51750 test -d ./-p && rmdir ./-p
51751 as_mkdir_p=false
51752 fi
51753
51754 if test -x / >/dev/null 2>&1; then
51755 as_test_x='test -x'
51756 else
51757 if ls -dL / >/dev/null 2>&1; then
51758 as_ls_L_option=L
51759 else
51760 as_ls_L_option=
51761 fi
51762 as_test_x='
51763 eval sh -c '\''
51764 if test -d "$1"; then
51765 test -d "$1/.";
51766 else
51767 case $1 in
51768 -*)set "./$1";;
51769 esac;
51770 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
51771 ???[sx]*):;;*)false;;esac;fi
51772 '\'' sh
51773 '
51774 fi
51775 as_executable_p=$as_test_x
51776
51777 # Sed expression to map a string onto a valid CPP name.
51778 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
51779
51780 # Sed expression to map a string onto a valid variable name.
51781 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
51782
51783
51784 exec 6>&1
51785
51786 # Save the log message, to keep $[0] and so on meaningful, and to
51787 # report actual input values of CONFIG_FILES etc. instead of their
51788 # values after options handling.
51789 ac_log="
51790 This file was extended by wxWidgets $as_me 2.9.1, which was
51791 generated by GNU Autoconf 2.61. Invocation command line was
51792
51793 CONFIG_FILES = $CONFIG_FILES
51794 CONFIG_HEADERS = $CONFIG_HEADERS
51795 CONFIG_LINKS = $CONFIG_LINKS
51796 CONFIG_COMMANDS = $CONFIG_COMMANDS
51797 $ $0 $@
51798
51799 on `(hostname || uname -n) 2>/dev/null | sed 1q`
51800 "
51801
51802 _ACEOF
51803
51804 cat >>$CONFIG_STATUS <<_ACEOF
51805 # Files that config.status was made for.
51806 config_files="$ac_config_files"
51807 config_headers="$ac_config_headers"
51808 config_commands="$ac_config_commands"
51809
51810 _ACEOF
51811
51812 cat >>$CONFIG_STATUS <<\_ACEOF
51813 ac_cs_usage="\
51814 \`$as_me' instantiates files from templates according to the
51815 current configuration.
51816
51817 Usage: $0 [OPTIONS] [FILE]...
51818
51819 -h, --help print this help, then exit
51820 -V, --version print version number and configuration settings, then exit
51821 -q, --quiet do not print progress messages
51822 -d, --debug don't remove temporary files
51823 --recheck update $as_me by reconfiguring in the same conditions
51824 --file=FILE[:TEMPLATE]
51825 instantiate the configuration file FILE
51826 --header=FILE[:TEMPLATE]
51827 instantiate the configuration header FILE
51828
51829 Configuration files:
51830 $config_files
51831
51832 Configuration headers:
51833 $config_headers
51834
51835 Configuration commands:
51836 $config_commands
51837
51838 Report bugs to <bug-autoconf@gnu.org>."
51839
51840 _ACEOF
51841 cat >>$CONFIG_STATUS <<_ACEOF
51842 ac_cs_version="\\
51843 wxWidgets config.status 2.9.1
51844 configured by $0, generated by GNU Autoconf 2.61,
51845 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
51846
51847 Copyright (C) 2006 Free Software Foundation, Inc.
51848 This config.status script is free software; the Free Software Foundation
51849 gives unlimited permission to copy, distribute and modify it."
51850
51851 ac_pwd='$ac_pwd'
51852 srcdir='$srcdir'
51853 INSTALL='$INSTALL'
51854 _ACEOF
51855
51856 cat >>$CONFIG_STATUS <<\_ACEOF
51857 # If no file are specified by the user, then we need to provide default
51858 # value. By we need to know if files were specified by the user.
51859 ac_need_defaults=:
51860 while test $# != 0
51861 do
51862 case $1 in
51863 --*=*)
51864 ac_option=`expr "X$1" : 'X\([^=]*\)='`
51865 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
51866 ac_shift=:
51867 ;;
51868 *)
51869 ac_option=$1
51870 ac_optarg=$2
51871 ac_shift=shift
51872 ;;
51873 esac
51874
51875 case $ac_option in
51876 # Handling of the options.
51877 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
51878 ac_cs_recheck=: ;;
51879 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
51880 echo "$ac_cs_version"; exit ;;
51881 --debug | --debu | --deb | --de | --d | -d )
51882 debug=: ;;
51883 --file | --fil | --fi | --f )
51884 $ac_shift
51885 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
51886 ac_need_defaults=false;;
51887 --header | --heade | --head | --hea )
51888 $ac_shift
51889 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
51890 ac_need_defaults=false;;
51891 --he | --h)
51892 # Conflict between --help and --header
51893 { echo "$as_me: error: ambiguous option: $1
51894 Try \`$0 --help' for more information." >&2
51895 { (exit 1); exit 1; }; };;
51896 --help | --hel | -h )
51897 echo "$ac_cs_usage"; exit ;;
51898 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
51899 | -silent | --silent | --silen | --sile | --sil | --si | --s)
51900 ac_cs_silent=: ;;
51901
51902 # This is an error.
51903 -*) { echo "$as_me: error: unrecognized option: $1
51904 Try \`$0 --help' for more information." >&2
51905 { (exit 1); exit 1; }; } ;;
51906
51907 *) ac_config_targets="$ac_config_targets $1"
51908 ac_need_defaults=false ;;
51909
51910 esac
51911 shift
51912 done
51913
51914 ac_configure_extra_args=
51915
51916 if $ac_cs_silent; then
51917 exec 6>/dev/null
51918 ac_configure_extra_args="$ac_configure_extra_args --silent"
51919 fi
51920
51921 _ACEOF
51922 cat >>$CONFIG_STATUS <<_ACEOF
51923 if \$ac_cs_recheck; then
51924 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
51925 CONFIG_SHELL=$SHELL
51926 export CONFIG_SHELL
51927 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
51928 fi
51929
51930 _ACEOF
51931 cat >>$CONFIG_STATUS <<\_ACEOF
51932 exec 5>>config.log
51933 {
51934 echo
51935 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
51936 ## Running $as_me. ##
51937 _ASBOX
51938 echo "$ac_log"
51939 } >&5
51940
51941 _ACEOF
51942 cat >>$CONFIG_STATUS <<_ACEOF
51943 #
51944 # INIT-COMMANDS
51945 #
51946
51947 CPP="$CPP"
51948 infile="$srcdir/include/wx/msw/genrcdefs.h"
51949 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
51950
51951
51952 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51953 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51954 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51955 LN_S="${LN_S}"
51956
51957
51958 _ACEOF
51959
51960 cat >>$CONFIG_STATUS <<\_ACEOF
51961
51962 # Handling of arguments.
51963 for ac_config_target in $ac_config_targets
51964 do
51965 case $ac_config_target in
51966 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
51967 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
51968 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
51969 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
51970 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
51971 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
51972 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
51973 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
51974 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
51975
51976 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
51977 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
51978 { (exit 1); exit 1; }; };;
51979 esac
51980 done
51981
51982
51983 # If the user did not use the arguments to specify the items to instantiate,
51984 # then the envvar interface is used. Set only those that are not.
51985 # We use the long form for the default assignment because of an extremely
51986 # bizarre bug on SunOS 4.1.3.
51987 if $ac_need_defaults; then
51988 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
51989 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
51990 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
51991 fi
51992
51993 # Have a temporary directory for convenience. Make it in the build tree
51994 # simply because there is no reason against having it here, and in addition,
51995 # creating and moving files from /tmp can sometimes cause problems.
51996 # Hook for its removal unless debugging.
51997 # Note that there is a small window in which the directory will not be cleaned:
51998 # after its creation but before its name has been assigned to `$tmp'.
51999 $debug ||
52000 {
52001 tmp=
52002 trap 'exit_status=$?
52003 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
52004 ' 0
52005 trap '{ (exit 1); exit 1; }' 1 2 13 15
52006 }
52007 # Create a (secure) tmp directory for tmp files.
52008
52009 {
52010 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
52011 test -n "$tmp" && test -d "$tmp"
52012 } ||
52013 {
52014 tmp=./conf$$-$RANDOM
52015 (umask 077 && mkdir "$tmp")
52016 } ||
52017 {
52018 echo "$me: cannot create a temporary directory in ." >&2
52019 { (exit 1); exit 1; }
52020 }
52021
52022 #
52023 # Set up the sed scripts for CONFIG_FILES section.
52024 #
52025
52026 # No need to generate the scripts if there are no CONFIG_FILES.
52027 # This happens for instance when ./config.status config.h
52028 if test -n "$CONFIG_FILES"; then
52029
52030 _ACEOF
52031
52032
52033
52034 ac_delim='%!_!# '
52035 for ac_last_try in false false false false false :; do
52036 cat >conf$$subs.sed <<_ACEOF
52037 SHELL!$SHELL$ac_delim
52038 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
52039 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
52040 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
52041 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
52042 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
52043 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
52044 exec_prefix!$exec_prefix$ac_delim
52045 prefix!$prefix$ac_delim
52046 program_transform_name!$program_transform_name$ac_delim
52047 bindir!$bindir$ac_delim
52048 sbindir!$sbindir$ac_delim
52049 libexecdir!$libexecdir$ac_delim
52050 datarootdir!$datarootdir$ac_delim
52051 datadir!$datadir$ac_delim
52052 sysconfdir!$sysconfdir$ac_delim
52053 sharedstatedir!$sharedstatedir$ac_delim
52054 localstatedir!$localstatedir$ac_delim
52055 includedir!$includedir$ac_delim
52056 oldincludedir!$oldincludedir$ac_delim
52057 docdir!$docdir$ac_delim
52058 infodir!$infodir$ac_delim
52059 htmldir!$htmldir$ac_delim
52060 dvidir!$dvidir$ac_delim
52061 pdfdir!$pdfdir$ac_delim
52062 psdir!$psdir$ac_delim
52063 libdir!$libdir$ac_delim
52064 localedir!$localedir$ac_delim
52065 mandir!$mandir$ac_delim
52066 DEFS!$DEFS$ac_delim
52067 ECHO_C!$ECHO_C$ac_delim
52068 ECHO_N!$ECHO_N$ac_delim
52069 ECHO_T!$ECHO_T$ac_delim
52070 LIBS!$LIBS$ac_delim
52071 build_alias!$build_alias$ac_delim
52072 host_alias!$host_alias$ac_delim
52073 target_alias!$target_alias$ac_delim
52074 build!$build$ac_delim
52075 build_cpu!$build_cpu$ac_delim
52076 build_vendor!$build_vendor$ac_delim
52077 build_os!$build_os$ac_delim
52078 host!$host$ac_delim
52079 host_cpu!$host_cpu$ac_delim
52080 host_vendor!$host_vendor$ac_delim
52081 host_os!$host_os$ac_delim
52082 wx_top_builddir!$wx_top_builddir$ac_delim
52083 CC!$CC$ac_delim
52084 CFLAGS!$CFLAGS$ac_delim
52085 LDFLAGS!$LDFLAGS$ac_delim
52086 CPPFLAGS!$CPPFLAGS$ac_delim
52087 ac_ct_CC!$ac_ct_CC$ac_delim
52088 EXEEXT!$EXEEXT$ac_delim
52089 OBJEXT!$OBJEXT$ac_delim
52090 CPP!$CPP$ac_delim
52091 GREP!$GREP$ac_delim
52092 EGREP!$EGREP$ac_delim
52093 CXX!$CXX$ac_delim
52094 CXXFLAGS!$CXXFLAGS$ac_delim
52095 ac_ct_CXX!$ac_ct_CXX$ac_delim
52096 AR!$AR$ac_delim
52097 subdirs!$subdirs$ac_delim
52098 PKG_CONFIG!$PKG_CONFIG$ac_delim
52099 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
52100 GTK_LIBS!$GTK_LIBS$ac_delim
52101 GTK_CONFIG!$GTK_CONFIG$ac_delim
52102 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
52103 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
52104 XMKMF!$XMKMF$ac_delim
52105 X_CFLAGS!$X_CFLAGS$ac_delim
52106 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
52107 X_LIBS!$X_LIBS$ac_delim
52108 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
52109 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
52110 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
52111 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
52112 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
52113 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
52114 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
52115 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
52116 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
52117 LIBICONV!$LIBICONV$ac_delim
52118 GXX_VERSION!$GXX_VERSION$ac_delim
52119 SDL_CONFIG!$SDL_CONFIG$ac_delim
52120 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
52121 SDL_LIBS!$SDL_LIBS$ac_delim
52122 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
52123 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
52124 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
52125 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
52126 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
52127 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
52128 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
52129 HILDON_LIBS!$HILDON_LIBS$ac_delim
52130 HILDON2_CFLAGS!$HILDON2_CFLAGS$ac_delim
52131 HILDON2_LIBS!$HILDON2_LIBS$ac_delim
52132 PYTHON!$PYTHON$ac_delim
52133 COND_PYTHON!$COND_PYTHON$ac_delim
52134 _ACEOF
52135
52136 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52137 break
52138 elif $ac_last_try; then
52139 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52140 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52141 { (exit 1); exit 1; }; }
52142 else
52143 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
52144 fi
52145 done
52146
52147 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52148 if test -n "$ac_eof"; then
52149 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
52150 ac_eof=`expr $ac_eof + 1`
52151 fi
52152
52153 cat >>$CONFIG_STATUS <<_ACEOF
52154 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
52155 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52156 _ACEOF
52157 sed '
52158 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52159 s/^/s,@/; s/!/@,|#_!!_#|/
52160 :n
52161 t n
52162 s/'"$ac_delim"'$/,g/; t
52163 s/$/\\/; p
52164 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52165 ' >>$CONFIG_STATUS <conf$$subs.sed
52166 rm -f conf$$subs.sed
52167 cat >>$CONFIG_STATUS <<_ACEOF
52168 CEOF$ac_eof
52169 _ACEOF
52170
52171
52172 ac_delim='%!_!# '
52173 for ac_last_try in false false false false false :; do
52174 cat >conf$$subs.sed <<_ACEOF
52175 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
52176 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
52177 GST_CFLAGS!$GST_CFLAGS$ac_delim
52178 GST_LIBS!$GST_LIBS$ac_delim
52179 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
52180 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
52181 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
52182 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
52183 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
52184 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
52185 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
52186 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
52187 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
52188 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
52189 VENDOR!$VENDOR$ac_delim
52190 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
52191 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
52192 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
52193 WXUNIV!$WXUNIV$ac_delim
52194 MONOLITHIC!$MONOLITHIC$ac_delim
52195 USE_PLUGINS!$USE_PLUGINS$ac_delim
52196 CXXWARNINGS!$CXXWARNINGS$ac_delim
52197 EXTRALIBS!$EXTRALIBS$ac_delim
52198 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
52199 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
52200 EXTRALIBS_MEDIA!$EXTRALIBS_MEDIA$ac_delim
52201 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
52202 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
52203 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
52204 EXTRALIBS_STC!$EXTRALIBS_STC$ac_delim
52205 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
52206 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
52207 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
52208 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
52209 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
52210 UNICODE!$UNICODE$ac_delim
52211 DEBUG_INFO!$DEBUG_INFO$ac_delim
52212 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
52213 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
52214 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
52215 DYLIB_RPATH_INSTALL!$DYLIB_RPATH_INSTALL$ac_delim
52216 DYLIB_RPATH_POSTLINK!$DYLIB_RPATH_POSTLINK$ac_delim
52217 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
52218 HEADER_PAD_OPTION!$HEADER_PAD_OPTION$ac_delim
52219 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
52220 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
52221 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
52222 RANLIB!$RANLIB$ac_delim
52223 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
52224 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
52225 INSTALL_DATA!$INSTALL_DATA$ac_delim
52226 LN_S!$LN_S$ac_delim
52227 SET_MAKE!$SET_MAKE$ac_delim
52228 MAKE_SET!$MAKE_SET$ac_delim
52229 AROPTIONS!$AROPTIONS$ac_delim
52230 STRIP!$STRIP$ac_delim
52231 NM!$NM$ac_delim
52232 INSTALL_DIR!$INSTALL_DIR$ac_delim
52233 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
52234 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
52235 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
52236 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
52237 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
52238 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
52239 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
52240 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
52241 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
52242 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
52243 SO_SUFFIX!$SO_SUFFIX$ac_delim
52244 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
52245 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
52246 LIBPREFIX!$LIBPREFIX$ac_delim
52247 LIBEXT!$LIBEXT$ac_delim
52248 DLLPREFIX!$DLLPREFIX$ac_delim
52249 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
52250 dlldir!$dlldir$ac_delim
52251 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
52252 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
52253 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
52254 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
52255 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
52256 PIC_FLAG!$PIC_FLAG$ac_delim
52257 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
52258 USE_SOVERSION!$USE_SOVERSION$ac_delim
52259 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
52260 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
52261 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
52262 USE_MACVERSION!$USE_MACVERSION$ac_delim
52263 USE_SOTWOSYMLINKS!$USE_SOTWOSYMLINKS$ac_delim
52264 SONAME_FLAG!$SONAME_FLAG$ac_delim
52265 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
52266 BK_DEPS!$BK_DEPS$ac_delim
52267 WINDRES!$WINDRES$ac_delim
52268 REZ!$REZ$ac_delim
52269 SETFILE!$SETFILE$ac_delim
52270 OBJCXXFLAGS!$OBJCXXFLAGS$ac_delim
52271 GCC_PCH!$GCC_PCH$ac_delim
52272 _ACEOF
52273
52274 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52275 break
52276 elif $ac_last_try; then
52277 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52278 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52279 { (exit 1); exit 1; }; }
52280 else
52281 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
52282 fi
52283 done
52284
52285 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52286 if test -n "$ac_eof"; then
52287 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
52288 ac_eof=`expr $ac_eof + 1`
52289 fi
52290
52291 cat >>$CONFIG_STATUS <<_ACEOF
52292 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
52293 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52294 _ACEOF
52295 sed '
52296 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52297 s/^/s,@/; s/!/@,|#_!!_#|/
52298 :n
52299 t n
52300 s/'"$ac_delim"'$/,g/; t
52301 s/$/\\/; p
52302 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52303 ' >>$CONFIG_STATUS <conf$$subs.sed
52304 rm -f conf$$subs.sed
52305 cat >>$CONFIG_STATUS <<_ACEOF
52306 CEOF$ac_eof
52307 _ACEOF
52308
52309
52310 ac_delim='%!_!# '
52311 for ac_last_try in false false false false false :; do
52312 cat >conf$$subs.sed <<_ACEOF
52313 ICC_PCH!$ICC_PCH$ac_delim
52314 ICC_PCH_CREATE_SWITCH!$ICC_PCH_CREATE_SWITCH$ac_delim
52315 ICC_PCH_USE_SWITCH!$ICC_PCH_USE_SWITCH$ac_delim
52316 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
52317 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
52318 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
52319 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
52320 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
52321 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
52322 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
52323 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
52324 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
52325 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
52326 COND_BUILD_debug!$COND_BUILD_debug$ac_delim
52327 COND_BUILD_debug_DEBUG_FLAG_default!$COND_BUILD_debug_DEBUG_FLAG_default$ac_delim
52328 COND_BUILD_debug_DEBUG_INFO_default!$COND_BUILD_debug_DEBUG_INFO_default$ac_delim
52329 COND_BUILD_debug_UNICODE_0!$COND_BUILD_debug_UNICODE_0$ac_delim
52330 COND_BUILD_debug_UNICODE_1!$COND_BUILD_debug_UNICODE_1$ac_delim
52331 COND_BUILD_release!$COND_BUILD_release$ac_delim
52332 COND_BUILD_release_DEBUG_INFO_default!$COND_BUILD_release_DEBUG_INFO_default$ac_delim
52333 COND_BUILD_release_UNICODE_0!$COND_BUILD_release_UNICODE_0$ac_delim
52334 COND_BUILD_release_UNICODE_1!$COND_BUILD_release_UNICODE_1$ac_delim
52335 COND_DEBUG_FLAG_0!$COND_DEBUG_FLAG_0$ac_delim
52336 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
52337 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
52338 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
52339 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
52340 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
52341 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
52342 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
52343 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
52344 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
52345 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
52346 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
52347 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
52348 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
52349 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
52350 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1$ac_delim
52351 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1$ac_delim
52352 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
52353 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
52354 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
52355 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
52356 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
52357 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
52358 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
52359 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
52360 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
52361 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1$ac_delim
52362 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1$ac_delim
52363 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
52364 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
52365 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
52366 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
52367 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
52368 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
52369 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
52370 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
52371 COND_MONOLITHIC_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_USE_PROPGRID_1$ac_delim
52372 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
52373 COND_MONOLITHIC_0_USE_RIBBON_1!$COND_MONOLITHIC_0_USE_RIBBON_1$ac_delim
52374 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
52375 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
52376 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
52377 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
52378 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
52379 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
52380 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
52381 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
52382 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
52383 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
52384 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
52385 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0!$COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0$ac_delim
52386 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
52387 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
52388 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
52389 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
52390 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
52391 COND_PLATFORM_MACOSX_1_USE_OPENGL_1!$COND_PLATFORM_MACOSX_1_USE_OPENGL_1$ac_delim
52392 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
52393 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
52394 COND_PLATFORM_MAC_0!$COND_PLATFORM_MAC_0$ac_delim
52395 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
52396 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
52397 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
52398 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
52399 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
52400 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
52401 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
52402 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
52403 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
52404 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
52405 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
52406 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
52407 COND_SHARED_0!$COND_SHARED_0$ac_delim
52408 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
52409 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
52410 _ACEOF
52411
52412 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52413 break
52414 elif $ac_last_try; then
52415 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52416 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52417 { (exit 1); exit 1; }; }
52418 else
52419 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
52420 fi
52421 done
52422
52423 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52424 if test -n "$ac_eof"; then
52425 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
52426 ac_eof=`expr $ac_eof + 1`
52427 fi
52428
52429 cat >>$CONFIG_STATUS <<_ACEOF
52430 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
52431 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52432 _ACEOF
52433 sed '
52434 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52435 s/^/s,@/; s/!/@,|#_!!_#|/
52436 :n
52437 t n
52438 s/'"$ac_delim"'$/,g/; t
52439 s/$/\\/; p
52440 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52441 ' >>$CONFIG_STATUS <conf$$subs.sed
52442 rm -f conf$$subs.sed
52443 cat >>$CONFIG_STATUS <<_ACEOF
52444 CEOF$ac_eof
52445 _ACEOF
52446
52447
52448 ac_delim='%!_!# '
52449 for ac_last_try in false false false false false :; do
52450 cat >conf$$subs.sed <<_ACEOF
52451 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
52452 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
52453 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
52454 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
52455 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
52456 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
52457 COND_SHARED_0_wxUSE_EXPAT_builtin!$COND_SHARED_0_wxUSE_EXPAT_builtin$ac_delim
52458 COND_SHARED_0_wxUSE_REGEX_builtin!$COND_SHARED_0_wxUSE_REGEX_builtin$ac_delim
52459 COND_SHARED_0_wxUSE_ZLIB_builtin!$COND_SHARED_0_wxUSE_ZLIB_builtin$ac_delim
52460 COND_SHARED_1!$COND_SHARED_1$ac_delim
52461 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
52462 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
52463 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
52464 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
52465 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
52466 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
52467 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
52468 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
52469 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
52470 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
52471 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
52472 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
52473 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
52474 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
52475 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
52476 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
52477 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
52478 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
52479 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
52480 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
52481 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
52482 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
52483 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
52484 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
52485 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
52486 COND_TOOLKIT_OSX_CARBON!$COND_TOOLKIT_OSX_CARBON$ac_delim
52487 COND_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
52488 COND_TOOLKIT_OSX_COCOA!$COND_TOOLKIT_OSX_COCOA$ac_delim
52489 COND_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
52490 COND_TOOLKIT_OSX_IPHONE!$COND_TOOLKIT_OSX_IPHONE$ac_delim
52491 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
52492 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
52493 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
52494 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
52495 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
52496 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
52497 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
52498 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
52499 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
52500 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
52501 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
52502 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
52503 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
52504 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
52505 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
52506 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
52507 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
52508 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
52509 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
52510 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
52511 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
52512 COND_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
52513 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
52514 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
52515 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
52516 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
52517 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
52518 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
52519 COND_USE_SOTWOSYMLINKS_1!$COND_USE_SOTWOSYMLINKS_1$ac_delim
52520 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
52521 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
52522 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
52523 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1!$COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1$ac_delim
52524 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
52525 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
52526 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
52527 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
52528 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
52529 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
52530 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
52531 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
52532 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
52533 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
52534 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
52535 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
52536 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
52537 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
52538 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
52539 COND_wxUSE_EXPAT_builtin!$COND_wxUSE_EXPAT_builtin$ac_delim
52540 COND_wxUSE_LIBJPEG_builtin!$COND_wxUSE_LIBJPEG_builtin$ac_delim
52541 COND_wxUSE_LIBPNG_builtin!$COND_wxUSE_LIBPNG_builtin$ac_delim
52542 COND_wxUSE_LIBTIFF_builtin!$COND_wxUSE_LIBTIFF_builtin$ac_delim
52543 COND_wxUSE_REGEX_builtin!$COND_wxUSE_REGEX_builtin$ac_delim
52544 COND_wxUSE_ZLIB_builtin!$COND_wxUSE_ZLIB_builtin$ac_delim
52545 DEREZ!$DEREZ$ac_delim
52546 SHARED!$SHARED$ac_delim
52547 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
52548 _ACEOF
52549
52550 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52551 break
52552 elif $ac_last_try; then
52553 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52554 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52555 { (exit 1); exit 1; }; }
52556 else
52557 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
52558 fi
52559 done
52560
52561 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52562 if test -n "$ac_eof"; then
52563 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
52564 ac_eof=`expr $ac_eof + 1`
52565 fi
52566
52567 cat >>$CONFIG_STATUS <<_ACEOF
52568 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
52569 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52570 _ACEOF
52571 sed '
52572 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52573 s/^/s,@/; s/!/@,|#_!!_#|/
52574 :n
52575 t n
52576 s/'"$ac_delim"'$/,g/; t
52577 s/$/\\/; p
52578 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52579 ' >>$CONFIG_STATUS <conf$$subs.sed
52580 rm -f conf$$subs.sed
52581 cat >>$CONFIG_STATUS <<_ACEOF
52582 CEOF$ac_eof
52583 _ACEOF
52584
52585
52586 ac_delim='%!_!# '
52587 for ac_last_try in false false false false false :; do
52588 cat >conf$$subs.sed <<_ACEOF
52589 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
52590 USE_GUI!$USE_GUI$ac_delim
52591 AFMINSTALL!$AFMINSTALL$ac_delim
52592 WIN32INSTALL!$WIN32INSTALL$ac_delim
52593 TOOLKIT!$TOOLKIT$ac_delim
52594 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
52595 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
52596 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
52597 cross_compiling!$cross_compiling$ac_delim
52598 WIDGET_SET!$WIDGET_SET$ac_delim
52599 WX_RELEASE!$WX_RELEASE$ac_delim
52600 WX_VERSION!$WX_VERSION$ac_delim
52601 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
52602 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
52603 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
52604 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
52605 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
52606 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
52607 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
52608 WXCONFIG_LDFLAGS!$WXCONFIG_LDFLAGS$ac_delim
52609 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
52610 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
52611 GUIDIST!$GUIDIST$ac_delim
52612 DISTDIR!$DISTDIR$ac_delim
52613 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
52614 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
52615 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
52616 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
52617 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
52618 RESCOMP!$RESCOMP$ac_delim
52619 RESFLAGS!$RESFLAGS$ac_delim
52620 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
52621 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
52622 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
52623 LIBWXMACRES!$LIBWXMACRES$ac_delim
52624 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
52625 MACSETFILE!$MACSETFILE$ac_delim
52626 GCC!$GCC$ac_delim
52627 DLLTOOL!$DLLTOOL$ac_delim
52628 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
52629 LIBOBJS!$LIBOBJS$ac_delim
52630 LTLIBOBJS!$LTLIBOBJS$ac_delim
52631 _ACEOF
52632
52633 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 42; then
52634 break
52635 elif $ac_last_try; then
52636 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52637 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52638 { (exit 1); exit 1; }; }
52639 else
52640 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
52641 fi
52642 done
52643
52644 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52645 if test -n "$ac_eof"; then
52646 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
52647 ac_eof=`expr $ac_eof + 1`
52648 fi
52649
52650 cat >>$CONFIG_STATUS <<_ACEOF
52651 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
52652 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
52653 _ACEOF
52654 sed '
52655 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52656 s/^/s,@/; s/!/@,|#_!!_#|/
52657 :n
52658 t n
52659 s/'"$ac_delim"'$/,g/; t
52660 s/$/\\/; p
52661 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52662 ' >>$CONFIG_STATUS <conf$$subs.sed
52663 rm -f conf$$subs.sed
52664 cat >>$CONFIG_STATUS <<_ACEOF
52665 :end
52666 s/|#_!!_#|//g
52667 CEOF$ac_eof
52668 _ACEOF
52669
52670
52671 # VPATH may cause trouble with some makes, so we remove $(srcdir),
52672 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
52673 # trailing colons and then remove the whole line if VPATH becomes empty
52674 # (actually we leave an empty line to preserve line numbers).
52675 if test "x$srcdir" = x.; then
52676 ac_vpsub='/^[ ]*VPATH[ ]*=/{
52677 s/:*\$(srcdir):*/:/
52678 s/:*\${srcdir}:*/:/
52679 s/:*@srcdir@:*/:/
52680 s/^\([^=]*=[ ]*\):*/\1/
52681 s/:*$//
52682 s/^[^=]*=[ ]*$//
52683 }'
52684 fi
52685
52686 cat >>$CONFIG_STATUS <<\_ACEOF
52687 fi # test -n "$CONFIG_FILES"
52688
52689
52690 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
52691 do
52692 case $ac_tag in
52693 :[FHLC]) ac_mode=$ac_tag; continue;;
52694 esac
52695 case $ac_mode$ac_tag in
52696 :[FHL]*:*);;
52697 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
52698 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
52699 { (exit 1); exit 1; }; };;
52700 :[FH]-) ac_tag=-:-;;
52701 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
52702 esac
52703 ac_save_IFS=$IFS
52704 IFS=:
52705 set x $ac_tag
52706 IFS=$ac_save_IFS
52707 shift
52708 ac_file=$1
52709 shift
52710
52711 case $ac_mode in
52712 :L) ac_source=$1;;
52713 :[FH])
52714 ac_file_inputs=
52715 for ac_f
52716 do
52717 case $ac_f in
52718 -) ac_f="$tmp/stdin";;
52719 *) # Look for the file first in the build tree, then in the source tree
52720 # (if the path is not absolute). The absolute path cannot be DOS-style,
52721 # because $ac_f cannot contain `:'.
52722 test -f "$ac_f" ||
52723 case $ac_f in
52724 [\\/$]*) false;;
52725 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
52726 esac ||
52727 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
52728 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
52729 { (exit 1); exit 1; }; };;
52730 esac
52731 ac_file_inputs="$ac_file_inputs $ac_f"
52732 done
52733
52734 # Let's still pretend it is `configure' which instantiates (i.e., don't
52735 # use $as_me), people would be surprised to read:
52736 # /* config.h. Generated by config.status. */
52737 configure_input="Generated from "`IFS=:
52738 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
52739 if test x"$ac_file" != x-; then
52740 configure_input="$ac_file. $configure_input"
52741 { echo "$as_me:$LINENO: creating $ac_file" >&5
52742 echo "$as_me: creating $ac_file" >&6;}
52743 fi
52744
52745 case $ac_tag in
52746 *:-:* | *:-) cat >"$tmp/stdin";;
52747 esac
52748 ;;
52749 esac
52750
52751 ac_dir=`$as_dirname -- "$ac_file" ||
52752 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52753 X"$ac_file" : 'X\(//\)[^/]' \| \
52754 X"$ac_file" : 'X\(//\)$' \| \
52755 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
52756 echo X"$ac_file" |
52757 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52758 s//\1/
52759 q
52760 }
52761 /^X\(\/\/\)[^/].*/{
52762 s//\1/
52763 q
52764 }
52765 /^X\(\/\/\)$/{
52766 s//\1/
52767 q
52768 }
52769 /^X\(\/\).*/{
52770 s//\1/
52771 q
52772 }
52773 s/.*/./; q'`
52774 { as_dir="$ac_dir"
52775 case $as_dir in #(
52776 -*) as_dir=./$as_dir;;
52777 esac
52778 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
52779 as_dirs=
52780 while :; do
52781 case $as_dir in #(
52782 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
52783 *) as_qdir=$as_dir;;
52784 esac
52785 as_dirs="'$as_qdir' $as_dirs"
52786 as_dir=`$as_dirname -- "$as_dir" ||
52787 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52788 X"$as_dir" : 'X\(//\)[^/]' \| \
52789 X"$as_dir" : 'X\(//\)$' \| \
52790 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
52791 echo X"$as_dir" |
52792 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52793 s//\1/
52794 q
52795 }
52796 /^X\(\/\/\)[^/].*/{
52797 s//\1/
52798 q
52799 }
52800 /^X\(\/\/\)$/{
52801 s//\1/
52802 q
52803 }
52804 /^X\(\/\).*/{
52805 s//\1/
52806 q
52807 }
52808 s/.*/./; q'`
52809 test -d "$as_dir" && break
52810 done
52811 test -z "$as_dirs" || eval "mkdir $as_dirs"
52812 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
52813 echo "$as_me: error: cannot create directory $as_dir" >&2;}
52814 { (exit 1); exit 1; }; }; }
52815 ac_builddir=.
52816
52817 case "$ac_dir" in
52818 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
52819 *)
52820 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52821 # A ".." for each directory in $ac_dir_suffix.
52822 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
52823 case $ac_top_builddir_sub in
52824 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
52825 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
52826 esac ;;
52827 esac
52828 ac_abs_top_builddir=$ac_pwd
52829 ac_abs_builddir=$ac_pwd$ac_dir_suffix
52830 # for backward compatibility:
52831 ac_top_builddir=$ac_top_build_prefix
52832
52833 case $srcdir in
52834 .) # We are building in place.
52835 ac_srcdir=.
52836 ac_top_srcdir=$ac_top_builddir_sub
52837 ac_abs_top_srcdir=$ac_pwd ;;
52838 [\\/]* | ?:[\\/]* ) # Absolute name.
52839 ac_srcdir=$srcdir$ac_dir_suffix;
52840 ac_top_srcdir=$srcdir
52841 ac_abs_top_srcdir=$srcdir ;;
52842 *) # Relative name.
52843 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
52844 ac_top_srcdir=$ac_top_build_prefix$srcdir
52845 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
52846 esac
52847 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
52848
52849
52850 case $ac_mode in
52851 :F)
52852 #
52853 # CONFIG_FILE
52854 #
52855
52856 case $INSTALL in
52857 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
52858 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
52859 esac
52860 _ACEOF
52861
52862 cat >>$CONFIG_STATUS <<\_ACEOF
52863 # If the template does not know about datarootdir, expand it.
52864 # FIXME: This hack should be removed a few years after 2.60.
52865 ac_datarootdir_hack=; ac_datarootdir_seen=
52866
52867 case `sed -n '/datarootdir/ {
52868 p
52869 q
52870 }
52871 /@datadir@/p
52872 /@docdir@/p
52873 /@infodir@/p
52874 /@localedir@/p
52875 /@mandir@/p
52876 ' $ac_file_inputs` in
52877 *datarootdir*) ac_datarootdir_seen=yes;;
52878 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
52879 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
52880 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
52881 _ACEOF
52882 cat >>$CONFIG_STATUS <<_ACEOF
52883 ac_datarootdir_hack='
52884 s&@datadir@&$datadir&g
52885 s&@docdir@&$docdir&g
52886 s&@infodir@&$infodir&g
52887 s&@localedir@&$localedir&g
52888 s&@mandir@&$mandir&g
52889 s&\\\${datarootdir}&$datarootdir&g' ;;
52890 esac
52891 _ACEOF
52892
52893 # Neutralize VPATH when `$srcdir' = `.'.
52894 # Shell code in configure.ac might set extrasub.
52895 # FIXME: do we really want to maintain this feature?
52896 cat >>$CONFIG_STATUS <<_ACEOF
52897 sed "$ac_vpsub
52898 $extrasub
52899 _ACEOF
52900 cat >>$CONFIG_STATUS <<\_ACEOF
52901 :t
52902 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52903 s&@configure_input@&$configure_input&;t t
52904 s&@top_builddir@&$ac_top_builddir_sub&;t t
52905 s&@srcdir@&$ac_srcdir&;t t
52906 s&@abs_srcdir@&$ac_abs_srcdir&;t t
52907 s&@top_srcdir@&$ac_top_srcdir&;t t
52908 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
52909 s&@builddir@&$ac_builddir&;t t
52910 s&@abs_builddir@&$ac_abs_builddir&;t t
52911 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
52912 s&@INSTALL@&$ac_INSTALL&;t t
52913 $ac_datarootdir_hack
52914 " $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
52915
52916 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
52917 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
52918 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
52919 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
52920 which seems to be undefined. Please make sure it is defined." >&5
52921 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
52922 which seems to be undefined. Please make sure it is defined." >&2;}
52923
52924 rm -f "$tmp/stdin"
52925 case $ac_file in
52926 -) cat "$tmp/out"; rm -f "$tmp/out";;
52927 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
52928 esac
52929 ;;
52930 :H)
52931 #
52932 # CONFIG_HEADER
52933 #
52934 _ACEOF
52935
52936 # Transform confdefs.h into a sed script `conftest.defines', that
52937 # substitutes the proper values into config.h.in to produce config.h.
52938 rm -f conftest.defines conftest.tail
52939 # First, append a space to every undef/define line, to ease matching.
52940 echo 's/$/ /' >conftest.defines
52941 # Then, protect against being on the right side of a sed subst, or in
52942 # an unquoted here document, in config.status. If some macros were
52943 # called several times there might be several #defines for the same
52944 # symbol, which is useless. But do not sort them, since the last
52945 # AC_DEFINE must be honored.
52946 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
52947 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
52948 # NAME is the cpp macro being defined, VALUE is the value it is being given.
52949 # PARAMS is the parameter list in the macro definition--in most cases, it's
52950 # just an empty string.
52951 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
52952 ac_dB='\\)[ (].*,\\1define\\2'
52953 ac_dC=' '
52954 ac_dD=' ,'
52955
52956 uniq confdefs.h |
52957 sed -n '
52958 t rset
52959 :rset
52960 s/^[ ]*#[ ]*define[ ][ ]*//
52961 t ok
52962 d
52963 :ok
52964 s/[\\&,]/\\&/g
52965 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
52966 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
52967 ' >>conftest.defines
52968
52969 # Remove the space that was appended to ease matching.
52970 # Then replace #undef with comments. This is necessary, for
52971 # example, in the case of _POSIX_SOURCE, which is predefined and required
52972 # on some systems where configure will not decide to define it.
52973 # (The regexp can be short, since the line contains either #define or #undef.)
52974 echo 's/ $//
52975 s,^[ #]*u.*,/* & */,' >>conftest.defines
52976
52977 # Break up conftest.defines:
52978 ac_max_sed_lines=50
52979
52980 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
52981 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
52982 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
52983 # et cetera.
52984 ac_in='$ac_file_inputs'
52985 ac_out='"$tmp/out1"'
52986 ac_nxt='"$tmp/out2"'
52987
52988 while :
52989 do
52990 # Write a here document:
52991 cat >>$CONFIG_STATUS <<_ACEOF
52992 # First, check the format of the line:
52993 cat >"\$tmp/defines.sed" <<\\CEOF
52994 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
52995 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
52996 b
52997 :def
52998 _ACEOF
52999 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
53000 echo 'CEOF
53001 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
53002 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
53003 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
53004 grep . conftest.tail >/dev/null || break
53005 rm -f conftest.defines
53006 mv conftest.tail conftest.defines
53007 done
53008 rm -f conftest.defines conftest.tail
53009
53010 echo "ac_result=$ac_in" >>$CONFIG_STATUS
53011 cat >>$CONFIG_STATUS <<\_ACEOF
53012 if test x"$ac_file" != x-; then
53013 echo "/* $configure_input */" >"$tmp/config.h"
53014 cat "$ac_result" >>"$tmp/config.h"
53015 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
53016 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
53017 echo "$as_me: $ac_file is unchanged" >&6;}
53018 else
53019 rm -f $ac_file
53020 mv "$tmp/config.h" $ac_file
53021 fi
53022 else
53023 echo "/* $configure_input */"
53024 cat "$ac_result"
53025 fi
53026 rm -f "$tmp/out12"
53027 ;;
53028
53029 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
53030 echo "$as_me: executing $ac_file commands" >&6;}
53031 ;;
53032 esac
53033
53034
53035 case $ac_file$ac_mode in
53036 "rcdefs.h":C)
53037 mkdir -p $outdir &&
53038 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
53039 ;;
53040 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
53041 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
53042 "utils/ifacecheck/rungccxml.sh":F) chmod +x utils/ifacecheck/rungccxml.sh ;;
53043 "wx-config":C) rm -f wx-config
53044 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
53045 ;;
53046
53047 esac
53048 done # for ac_tag
53049
53050
53051 { (exit 0); exit 0; }
53052 _ACEOF
53053 chmod +x $CONFIG_STATUS
53054 ac_clean_files=$ac_clean_files_save
53055
53056
53057 # configure is writing to config.log, and then calls config.status.
53058 # config.status does its own redirection, appending to config.log.
53059 # Unfortunately, on DOS this fails, as config.log is still kept open
53060 # by configure, so config.status won't be able to write to it; its
53061 # output is simply discarded. So we exec the FD to /dev/null,
53062 # effectively closing config.log, so it can be properly (re)opened and
53063 # appended to by config.status. When coming back to configure, we
53064 # need to make the FD available again.
53065 if test "$no_create" != yes; then
53066 ac_cs_success=:
53067 ac_config_status_args=
53068 test "$silent" = yes &&
53069 ac_config_status_args="$ac_config_status_args --quiet"
53070 exec 5>/dev/null
53071 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
53072 exec 5>>config.log
53073 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
53074 # would make configure fail if this is the last instruction.
53075 $ac_cs_success || { (exit 1); exit 1; }
53076 fi
53077
53078 #
53079 # CONFIG_SUBDIRS section.
53080 #
53081 if test "$no_recursion" != yes; then
53082
53083 # Remove --cache-file and --srcdir arguments so they do not pile up.
53084 ac_sub_configure_args=
53085 ac_prev=
53086 eval "set x $ac_configure_args"
53087 shift
53088 for ac_arg
53089 do
53090 if test -n "$ac_prev"; then
53091 ac_prev=
53092 continue
53093 fi
53094 case $ac_arg in
53095 -cache-file | --cache-file | --cache-fil | --cache-fi \
53096 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
53097 ac_prev=cache_file ;;
53098 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
53099 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
53100 | --c=*)
53101 ;;
53102 --config-cache | -C)
53103 ;;
53104 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
53105 ac_prev=srcdir ;;
53106 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
53107 ;;
53108 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
53109 ac_prev=prefix ;;
53110 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
53111 ;;
53112 *)
53113 case $ac_arg in
53114 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
53115 esac
53116 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
53117 esac
53118 done
53119
53120 # Always prepend --prefix to ensure using the same prefix
53121 # in subdir configurations.
53122 ac_arg="--prefix=$prefix"
53123 case $ac_arg in
53124 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
53125 esac
53126 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
53127
53128 # Pass --silent
53129 if test "$silent" = yes; then
53130 ac_sub_configure_args="--silent $ac_sub_configure_args"
53131 fi
53132
53133 ac_popdir=`pwd`
53134 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
53135
53136 # Do not complain, so a configure script can configure whichever
53137 # parts of a large source tree are present.
53138 test -d "$srcdir/$ac_dir" || continue
53139
53140 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
53141 echo "$as_me:$LINENO: $ac_msg" >&5
53142 echo "$ac_msg" >&6
53143 { as_dir="$ac_dir"
53144 case $as_dir in #(
53145 -*) as_dir=./$as_dir;;
53146 esac
53147 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
53148 as_dirs=
53149 while :; do
53150 case $as_dir in #(
53151 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
53152 *) as_qdir=$as_dir;;
53153 esac
53154 as_dirs="'$as_qdir' $as_dirs"
53155 as_dir=`$as_dirname -- "$as_dir" ||
53156 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
53157 X"$as_dir" : 'X\(//\)[^/]' \| \
53158 X"$as_dir" : 'X\(//\)$' \| \
53159 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
53160 echo X"$as_dir" |
53161 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
53162 s//\1/
53163 q
53164 }
53165 /^X\(\/\/\)[^/].*/{
53166 s//\1/
53167 q
53168 }
53169 /^X\(\/\/\)$/{
53170 s//\1/
53171 q
53172 }
53173 /^X\(\/\).*/{
53174 s//\1/
53175 q
53176 }
53177 s/.*/./; q'`
53178 test -d "$as_dir" && break
53179 done
53180 test -z "$as_dirs" || eval "mkdir $as_dirs"
53181 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
53182 echo "$as_me: error: cannot create directory $as_dir" >&2;}
53183 { (exit 1); exit 1; }; }; }
53184 ac_builddir=.
53185
53186 case "$ac_dir" in
53187 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
53188 *)
53189 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
53190 # A ".." for each directory in $ac_dir_suffix.
53191 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
53192 case $ac_top_builddir_sub in
53193 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
53194 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
53195 esac ;;
53196 esac
53197 ac_abs_top_builddir=$ac_pwd
53198 ac_abs_builddir=$ac_pwd$ac_dir_suffix
53199 # for backward compatibility:
53200 ac_top_builddir=$ac_top_build_prefix
53201
53202 case $srcdir in
53203 .) # We are building in place.
53204 ac_srcdir=.
53205 ac_top_srcdir=$ac_top_builddir_sub
53206 ac_abs_top_srcdir=$ac_pwd ;;
53207 [\\/]* | ?:[\\/]* ) # Absolute name.
53208 ac_srcdir=$srcdir$ac_dir_suffix;
53209 ac_top_srcdir=$srcdir
53210 ac_abs_top_srcdir=$srcdir ;;
53211 *) # Relative name.
53212 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
53213 ac_top_srcdir=$ac_top_build_prefix$srcdir
53214 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
53215 esac
53216 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
53217
53218
53219 cd "$ac_dir"
53220
53221 # Check for guested configure; otherwise get Cygnus style configure.
53222 if test -f "$ac_srcdir/configure.gnu"; then
53223 ac_sub_configure=$ac_srcdir/configure.gnu
53224 elif test -f "$ac_srcdir/configure"; then
53225 ac_sub_configure=$ac_srcdir/configure
53226 elif test -f "$ac_srcdir/configure.in"; then
53227 # This should be Cygnus configure.
53228 ac_sub_configure=$ac_aux_dir/configure
53229 else
53230 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
53231 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
53232 ac_sub_configure=
53233 fi
53234
53235 # The recursion is here.
53236 if test -n "$ac_sub_configure"; then
53237 # Make the cache file name correct relative to the subdirectory.
53238 case $cache_file in
53239 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
53240 *) # Relative name.
53241 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
53242 esac
53243
53244 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
53245 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
53246 # The eval makes quoting arguments work.
53247 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
53248 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
53249 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
53250 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
53251 { (exit 1); exit 1; }; }
53252 fi
53253
53254 cd "$ac_popdir"
53255 done
53256 fi
53257
53258
53259 echo
53260 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
53261 echo ""
53262 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
53263 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
53264 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
53265 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
53266 if test "$wxUSE_UNICODE" = "yes"; then
53267 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
53268 echo " (using UTF-8)"
53269 else
53270 echo " (using wchar_t)"
53271 fi
53272 else
53273 echo
53274 fi
53275
53276 echo " What level of wxWidgets compatibility should be enabled?"
53277 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
53278 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
53279
53280 echo " Which libraries should wxWidgets use?"
53281 echo " STL ${wxUSE_STL}"
53282 echo " jpeg ${wxUSE_LIBJPEG-none}"
53283 echo " png ${wxUSE_LIBPNG-none}"
53284 echo " regex ${wxUSE_REGEX}"
53285 echo " tiff ${wxUSE_LIBTIFF-none}"
53286 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
53287 echo " xpm ${wxUSE_LIBXPM-none}"
53288 fi
53289 echo " zlib ${wxUSE_ZLIB}"
53290 echo " expat ${wxUSE_EXPAT}"
53291 echo " libmspack ${wxUSE_LIBMSPACK}"
53292 echo " sdl ${wxUSE_LIBSDL}"
53293
53294 echo ""
53295