]> git.saurik.com Git - wxWidgets.git/blob - configure
gcc 4.3 issues warning if type attributes are given again - even if they are identica...
[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.4.
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.4'
579 PACKAGE_STRING='wxWidgets 2.9.4'
580 PACKAGE_BUGREPORT='wx-dev@lists.wxwidgets.org'
581
582 ac_unique_file="wx-config.in"
583 # Factoring default headers for most tests.
584 ac_includes_default="\
585 #include <stdio.h>
586 #ifdef HAVE_SYS_TYPES_H
587 # include <sys/types.h>
588 #endif
589 #ifdef HAVE_SYS_STAT_H
590 # include <sys/stat.h>
591 #endif
592 #ifdef STDC_HEADERS
593 # include <stdlib.h>
594 # include <stddef.h>
595 #else
596 # ifdef HAVE_STDLIB_H
597 # include <stdlib.h>
598 # endif
599 #endif
600 #ifdef HAVE_STRING_H
601 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
602 # include <memory.h>
603 # endif
604 # include <string.h>
605 #endif
606 #ifdef HAVE_STRINGS_H
607 # include <strings.h>
608 #endif
609 #ifdef HAVE_INTTYPES_H
610 # include <inttypes.h>
611 #endif
612 #ifdef HAVE_STDINT_H
613 # include <stdint.h>
614 #endif
615 #ifdef HAVE_UNISTD_H
616 # include <unistd.h>
617 #endif"
618
619 ac_subst_vars='SHELL
620 PATH_SEPARATOR
621 PACKAGE_NAME
622 PACKAGE_TARNAME
623 PACKAGE_VERSION
624 PACKAGE_STRING
625 PACKAGE_BUGREPORT
626 exec_prefix
627 prefix
628 program_transform_name
629 bindir
630 sbindir
631 libexecdir
632 datarootdir
633 datadir
634 sysconfdir
635 sharedstatedir
636 localstatedir
637 includedir
638 oldincludedir
639 docdir
640 infodir
641 htmldir
642 dvidir
643 pdfdir
644 psdir
645 libdir
646 localedir
647 mandir
648 DEFS
649 ECHO_C
650 ECHO_N
651 ECHO_T
652 LIBS
653 build_alias
654 host_alias
655 target_alias
656 build
657 build_cpu
658 build_vendor
659 build_os
660 host
661 host_cpu
662 host_vendor
663 host_os
664 wx_top_builddir
665 CC
666 CFLAGS
667 LDFLAGS
668 CPPFLAGS
669 ac_ct_CC
670 EXEEXT
671 OBJEXT
672 CPP
673 GREP
674 EGREP
675 CXX
676 CXXFLAGS
677 ac_ct_CXX
678 AR
679 OSX_SW_VERS
680 CXXCPP
681 subdirs
682 PKG_CONFIG
683 GTK_CFLAGS
684 GTK_LIBS
685 GTK_CONFIG
686 DIRECTFB_CFLAGS
687 DIRECTFB_LIBS
688 XMKMF
689 X_CFLAGS
690 X_PRE_LIBS
691 X_LIBS
692 X_EXTRA_LIBS
693 PANGOX_CFLAGS
694 PANGOX_LIBS
695 PANGOFT2_CFLAGS
696 PANGOFT2_LIBS
697 PANGOXFT_CFLAGS
698 PANGOXFT_LIBS
699 Xinerama_CFLAGS
700 Xinerama_LIBS
701 Xxf86vm_CFLAGS
702 Xxf86vm_LIBS
703 SM_CFLAGS
704 SM_LIBS
705 GL_CFLAGS
706 GL_LIBS
707 GLU_CFLAGS
708 GLU_LIBS
709 MesaGL_CFLAGS
710 MesaGL_LIBS
711 CFLAGS_VISIBILITY
712 CXXFLAGS_VISIBILITY
713 LIBICONV
714 GXX_VERSION
715 SDL_CONFIG
716 SDL_CFLAGS
717 SDL_LIBS
718 GTKPRINT_CFLAGS
719 GTKPRINT_LIBS
720 LIBGNOMEPRINTUI_CFLAGS
721 LIBGNOMEPRINTUI_LIBS
722 GNOMEVFS_CFLAGS
723 GNOMEVFS_LIBS
724 HILDON_CFLAGS
725 HILDON_LIBS
726 HILDON2_CFLAGS
727 HILDON2_LIBS
728 PYTHON
729 COND_PYTHON
730 CAIRO_CFLAGS
731 CAIRO_LIBS
732 GST_CFLAGS
733 GST_LIBS
734 ALL_WX_LIBS
735 BUILT_WX_LIBS
736 STD_BASE_LIBS
737 STD_GUI_LIBS
738 wxUSE_ZLIB
739 wxUSE_REGEX
740 wxUSE_EXPAT
741 wxUSE_LIBJPEG
742 wxUSE_LIBPNG
743 wxUSE_LIBTIFF
744 VENDOR
745 OFFICIAL_BUILD
746 WX_FLAVOUR
747 WX_LIB_FLAVOUR
748 WXUNIV
749 MONOLITHIC
750 USE_PLUGINS
751 CXXWARNINGS
752 EXTRALIBS
753 EXTRALIBS_XML
754 EXTRALIBS_HTML
755 EXTRALIBS_MEDIA
756 EXTRALIBS_GUI
757 EXTRALIBS_OPENGL
758 EXTRALIBS_SDL
759 EXTRALIBS_STC
760 WITH_PLUGIN_SDL
761 EXTRALIBS_GTKPRINT
762 EXTRALIBS_GNOMEPRINT
763 EXTRALIBS_GNOMEVFS
764 EXTRALIBS_HILDON
765 UNICODE
766 DEBUG_INFO
767 DEBUG_FLAG
768 TOOLKIT_LOWERCASE
769 TOOLKIT_VERSION
770 DYLIB_RPATH_INSTALL
771 DYLIB_RPATH_POSTLINK
772 SAMPLES_RPATH_FLAG
773 HEADER_PAD_OPTION
774 HOST_SUFFIX
775 CPPUNIT_CFLAGS
776 CPPUNIT_LIBS
777 RANLIB
778 INSTALL_PROGRAM
779 INSTALL_SCRIPT
780 INSTALL_DATA
781 LN_S
782 SET_MAKE
783 MAKE_SET
784 AROPTIONS
785 STRIP
786 NM
787 INSTALL_DIR
788 LDFLAGS_GUI
789 IF_GNU_MAKE
790 PLATFORM_UNIX
791 PLATFORM_WIN32
792 PLATFORM_MSDOS
793 PLATFORM_MAC
794 PLATFORM_MACOS
795 PLATFORM_MACOSX
796 PLATFORM_OS2
797 PLATFORM_BEOS
798 SO_SUFFIX
799 SO_SUFFIX_MODULE
800 DLLIMP_SUFFIX
801 LIBPREFIX
802 LIBEXT
803 DLLPREFIX
804 DLLPREFIX_MODULE
805 dlldir
806 AIX_CXX_LD
807 SHARED_LD_CC
808 SHARED_LD_CXX
809 SHARED_LD_MODULE_CC
810 SHARED_LD_MODULE_CXX
811 PIC_FLAG
812 WINDOWS_IMPLIB
813 USE_SOVERSION
814 USE_SOVERLINUX
815 USE_SOVERSOLARIS
816 USE_SOVERCYGWIN
817 USE_MACVERSION
818 USE_SOTWOSYMLINKS
819 SONAME_FLAG
820 DEPS_TRACKING
821 BK_DEPS
822 WINDRES
823 REZ
824 SETFILE
825 OBJCXXFLAGS
826 GCC_PCH
827 ICC_PCH
828 ICC_PCH_CREATE_SWITCH
829 ICC_PCH_USE_SWITCH
830 BK_MAKE_PCH
831 COND_BUILD_DEBUG
832 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
833 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
834 COND_BUILD_DEBUG_UNICODE_0
835 COND_BUILD_DEBUG_UNICODE_1
836 COND_BUILD_RELEASE
837 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
838 COND_BUILD_RELEASE_UNICODE_0
839 COND_BUILD_RELEASE_UNICODE_1
840 COND_BUILD_debug
841 COND_BUILD_debug_DEBUG_FLAG_default
842 COND_BUILD_debug_DEBUG_INFO_default
843 COND_BUILD_debug_UNICODE_0
844 COND_BUILD_debug_UNICODE_1
845 COND_BUILD_release
846 COND_BUILD_release_DEBUG_INFO_default
847 COND_BUILD_release_UNICODE_0
848 COND_BUILD_release_UNICODE_1
849 COND_DEBUG_FLAG_0
850 COND_DEBUG_FLAG_1
851 COND_DEBUG_INFO_0
852 COND_DEBUG_INFO_1
853 COND_DEPS_TRACKING_0
854 COND_DEPS_TRACKING_1
855 COND_GCC_PCH_1
856 COND_ICC_PCH_1
857 COND_MONOLITHIC_0
858 COND_MONOLITHIC_0_SHARED_0
859 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
860 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
861 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
862 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
863 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
864 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1
865 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
866 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1
867 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
868 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
869 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
870 COND_MONOLITHIC_0_SHARED_1
871 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
872 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
873 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
874 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
875 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
876 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1
877 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
878 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1
879 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
880 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
881 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
882 COND_MONOLITHIC_0_USE_AUI_1
883 COND_MONOLITHIC_0_USE_GUI_1
884 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
885 COND_MONOLITHIC_0_USE_HTML_1
886 COND_MONOLITHIC_0_USE_MEDIA_1
887 COND_MONOLITHIC_0_USE_PROPGRID_1
888 COND_MONOLITHIC_0_USE_QA_1
889 COND_MONOLITHIC_0_USE_RIBBON_1
890 COND_MONOLITHIC_0_USE_RICHTEXT_1
891 COND_MONOLITHIC_0_USE_STC_1
892 COND_MONOLITHIC_0_USE_WEBVIEW_1
893 COND_MONOLITHIC_0_USE_XRC_1
894 COND_MONOLITHIC_1
895 COND_MONOLITHIC_1_SHARED_0
896 COND_MONOLITHIC_1_SHARED_1
897 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
898 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
899 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
900 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
901 COND_PLATFORM_MACOSX_1
902 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
903 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0
904 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
905 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
906 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
907 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
908 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1
909 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
910 COND_PLATFORM_MACOSX_1_USE_GUI_1
911 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
912 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
913 COND_PLATFORM_MACOS_1
914 COND_PLATFORM_MAC_0
915 COND_PLATFORM_MAC_1
916 COND_PLATFORM_MSDOS_0
917 COND_PLATFORM_MSDOS_1
918 COND_PLATFORM_OS2_1
919 COND_PLATFORM_UNIX_0
920 COND_PLATFORM_UNIX_1
921 COND_PLATFORM_UNIX_1_USE_GUI_1
922 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
923 COND_PLATFORM_WIN32_0
924 COND_PLATFORM_WIN32_1
925 COND_PLATFORM_WIN32_1_SHARED_0
926 COND_SHARED_0
927 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
928 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
929 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
930 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
931 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
932 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
933 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
934 COND_SHARED_0_USE_STC_1
935 COND_SHARED_0_wxUSE_EXPAT_builtin
936 COND_SHARED_0_wxUSE_REGEX_builtin
937 COND_SHARED_0_wxUSE_ZLIB_builtin
938 COND_SHARED_1
939 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
940 COND_TOOLKIT_
941 COND_TOOLKIT_COCOA
942 COND_TOOLKIT_COCOA_USE_GUI_1
943 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
944 COND_TOOLKIT_DFB
945 COND_TOOLKIT_DFB_USE_GUI_1
946 COND_TOOLKIT_GTK
947 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
948 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
949 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
950 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
951 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
952 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
953 COND_TOOLKIT_GTK_USE_GUI_1
954 COND_TOOLKIT_MAC
955 COND_TOOLKIT_MOTIF
956 COND_TOOLKIT_MOTIF_USE_GUI_1
957 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
958 COND_TOOLKIT_MSW
959 COND_TOOLKIT_MSW_USE_GUI_1
960 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
961 COND_TOOLKIT_MSW_WXUNIV_0
962 COND_TOOLKIT_OSX_CARBON
963 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
964 COND_TOOLKIT_OSX_COCOA
965 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
966 COND_TOOLKIT_OSX_IPHONE
967 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1
968 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
969 COND_TOOLKIT_PM
970 COND_TOOLKIT_PM_USE_GUI_1
971 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
972 COND_TOOLKIT_WINCE
973 COND_TOOLKIT_WINCE_USE_GUI_1
974 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
975 COND_TOOLKIT_WINCE_WXUNIV_0
976 COND_TOOLKIT_X11
977 COND_TOOLKIT_X11_USE_GUI_1
978 COND_UNICODE_1
979 COND_USE_CAIRO_1
980 COND_USE_EXCEPTIONS_0
981 COND_USE_EXCEPTIONS_1
982 COND_USE_GUI_0
983 COND_USE_GUI_1
984 COND_USE_GUI_1_USE_OPENGL_1
985 COND_USE_GUI_1_WXUNIV_0
986 COND_USE_GUI_1_WXUNIV_1
987 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
988 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
989 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
990 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
991 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
992 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
993 COND_USE_OPENGL_1
994 COND_USE_PCH_1
995 COND_USE_PLUGINS_0
996 COND_USE_RTTI_0
997 COND_USE_RTTI_1
998 COND_USE_SOTWOSYMLINKS_1
999 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
1000 COND_USE_SOVERLINUX_1
1001 COND_USE_SOVERSION_0
1002 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1
1003 COND_USE_SOVERSOLARIS_1
1004 COND_USE_STC_1
1005 COND_USE_THREADS_0
1006 COND_USE_THREADS_1
1007 COND_USE_XRC_1
1008 COND_WINDOWS_IMPLIB_1
1009 COND_WITH_PLUGIN_SDL_1
1010 COND_WXUNIV_0
1011 COND_WXUNIV_1
1012 COND_WXUSE_EXPAT_BUILTIN
1013 COND_WXUSE_LIBJPEG_BUILTIN
1014 COND_WXUSE_LIBPNG_BUILTIN
1015 COND_WXUSE_LIBTIFF_BUILTIN
1016 COND_WXUSE_REGEX_BUILTIN
1017 COND_WXUSE_ZLIB_BUILTIN
1018 COND_wxUSE_EXPAT_builtin
1019 COND_wxUSE_LIBJPEG_builtin
1020 COND_wxUSE_LIBPNG_builtin
1021 COND_wxUSE_LIBTIFF_builtin
1022 COND_wxUSE_REGEX_builtin
1023 COND_wxUSE_ZLIB_builtin
1024 DEREZ
1025 SHARED
1026 WX_LIBRARY_BASENAME_NOGUI
1027 WX_LIBRARY_BASENAME_GUI
1028 USE_GUI
1029 AFMINSTALL
1030 WIN32INSTALL
1031 TOOLKIT
1032 TOOLKIT_DIR
1033 TOOLCHAIN_NAME
1034 TOOLCHAIN_FULLNAME
1035 cross_compiling
1036 WIDGET_SET
1037 WX_RELEASE
1038 WX_VERSION
1039 WX_SUBVERSION
1040 WX_CHARTYPE
1041 WXCONFIG_CPPFLAGS
1042 WXCONFIG_CFLAGS
1043 WXCONFIG_CXXFLAGS
1044 WXCONFIG_LIBS
1045 WXCONFIG_RPATH
1046 WXCONFIG_LDFLAGS
1047 WXCONFIG_LDFLAGS_GUI
1048 WXCONFIG_RESFLAGS
1049 GUIDIST
1050 DISTDIR
1051 SAMPLES_SUBDIRS
1052 LDFLAGS_GL
1053 OPENGL_LIBS
1054 DMALLOC_LIBS
1055 WX_VERSION_TAG
1056 RESCOMP
1057 RESFLAGS
1058 RESPROGRAMOBJ
1059 WX_RESOURCES_MACOSX_ASCII
1060 WX_RESOURCES_MACOSX_DATA
1061 LIBWXMACRES
1062 POSTLINK_COMMAND
1063 MACSETFILE
1064 GCC
1065 DLLTOOL
1066 CPPUNIT_CONFIG
1067 LIBOBJS
1068 LTLIBOBJS'
1069 ac_subst_files=''
1070 ac_precious_vars='build_alias
1071 host_alias
1072 target_alias
1073 CC
1074 CFLAGS
1075 LDFLAGS
1076 LIBS
1077 CPPFLAGS
1078 CPP
1079 CXX
1080 CXXFLAGS
1081 CCC
1082 CXXCPP
1083 PKG_CONFIG
1084 DIRECTFB_CFLAGS
1085 DIRECTFB_LIBS
1086 XMKMF
1087 PANGOX_CFLAGS
1088 PANGOX_LIBS
1089 PANGOFT2_CFLAGS
1090 PANGOFT2_LIBS
1091 PANGOXFT_CFLAGS
1092 PANGOXFT_LIBS
1093 Xinerama_CFLAGS
1094 Xinerama_LIBS
1095 Xxf86vm_CFLAGS
1096 Xxf86vm_LIBS
1097 SM_CFLAGS
1098 SM_LIBS
1099 GL_CFLAGS
1100 GL_LIBS
1101 GLU_CFLAGS
1102 GLU_LIBS
1103 MesaGL_CFLAGS
1104 MesaGL_LIBS
1105 GTKPRINT_CFLAGS
1106 GTKPRINT_LIBS
1107 LIBGNOMEPRINTUI_CFLAGS
1108 LIBGNOMEPRINTUI_LIBS
1109 GNOMEVFS_CFLAGS
1110 GNOMEVFS_LIBS
1111 HILDON_CFLAGS
1112 HILDON_LIBS
1113 HILDON2_CFLAGS
1114 HILDON2_LIBS
1115 CAIRO_CFLAGS
1116 CAIRO_LIBS
1117 GST_CFLAGS
1118 GST_LIBS'
1119 ac_subdirs_all='src/tiff
1120 src/expat'
1121
1122 # Initialize some variables set by options.
1123 ac_init_help=
1124 ac_init_version=false
1125 # The variables have the same names as the options, with
1126 # dashes changed to underlines.
1127 cache_file=/dev/null
1128 exec_prefix=NONE
1129 no_create=
1130 no_recursion=
1131 prefix=NONE
1132 program_prefix=NONE
1133 program_suffix=NONE
1134 program_transform_name=s,x,x,
1135 silent=
1136 site=
1137 srcdir=
1138 verbose=
1139 x_includes=NONE
1140 x_libraries=NONE
1141
1142 # Installation directory options.
1143 # These are left unexpanded so users can "make install exec_prefix=/foo"
1144 # and all the variables that are supposed to be based on exec_prefix
1145 # by default will actually change.
1146 # Use braces instead of parens because sh, perl, etc. also accept them.
1147 # (The list follows the same order as the GNU Coding Standards.)
1148 bindir='${exec_prefix}/bin'
1149 sbindir='${exec_prefix}/sbin'
1150 libexecdir='${exec_prefix}/libexec'
1151 datarootdir='${prefix}/share'
1152 datadir='${datarootdir}'
1153 sysconfdir='${prefix}/etc'
1154 sharedstatedir='${prefix}/com'
1155 localstatedir='${prefix}/var'
1156 includedir='${prefix}/include'
1157 oldincludedir='/usr/include'
1158 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1159 infodir='${datarootdir}/info'
1160 htmldir='${docdir}'
1161 dvidir='${docdir}'
1162 pdfdir='${docdir}'
1163 psdir='${docdir}'
1164 libdir='${exec_prefix}/lib'
1165 localedir='${datarootdir}/locale'
1166 mandir='${datarootdir}/man'
1167
1168 ac_prev=
1169 ac_dashdash=
1170 for ac_option
1171 do
1172 # If the previous option needs an argument, assign it.
1173 if test -n "$ac_prev"; then
1174 eval $ac_prev=\$ac_option
1175 ac_prev=
1176 continue
1177 fi
1178
1179 case $ac_option in
1180 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1181 *) ac_optarg=yes ;;
1182 esac
1183
1184 # Accept the important Cygnus configure options, so we can diagnose typos.
1185
1186 case $ac_dashdash$ac_option in
1187 --)
1188 ac_dashdash=yes ;;
1189
1190 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1191 ac_prev=bindir ;;
1192 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1193 bindir=$ac_optarg ;;
1194
1195 -build | --build | --buil | --bui | --bu)
1196 ac_prev=build_alias ;;
1197 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1198 build_alias=$ac_optarg ;;
1199
1200 -cache-file | --cache-file | --cache-fil | --cache-fi \
1201 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1202 ac_prev=cache_file ;;
1203 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1204 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1205 cache_file=$ac_optarg ;;
1206
1207 --config-cache | -C)
1208 cache_file=config.cache ;;
1209
1210 -datadir | --datadir | --datadi | --datad)
1211 ac_prev=datadir ;;
1212 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1213 datadir=$ac_optarg ;;
1214
1215 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1216 | --dataroo | --dataro | --datar)
1217 ac_prev=datarootdir ;;
1218 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1219 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1220 datarootdir=$ac_optarg ;;
1221
1222 -disable-* | --disable-*)
1223 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1224 # Reject names that are not valid shell variable names.
1225 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1226 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1227 { (exit 1); exit 1; }; }
1228 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1229 eval enable_$ac_feature=no ;;
1230
1231 -docdir | --docdir | --docdi | --doc | --do)
1232 ac_prev=docdir ;;
1233 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1234 docdir=$ac_optarg ;;
1235
1236 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1237 ac_prev=dvidir ;;
1238 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1239 dvidir=$ac_optarg ;;
1240
1241 -enable-* | --enable-*)
1242 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1243 # Reject names that are not valid shell variable names.
1244 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1245 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1246 { (exit 1); exit 1; }; }
1247 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1248 eval enable_$ac_feature=\$ac_optarg ;;
1249
1250 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1251 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1252 | --exec | --exe | --ex)
1253 ac_prev=exec_prefix ;;
1254 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1255 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1256 | --exec=* | --exe=* | --ex=*)
1257 exec_prefix=$ac_optarg ;;
1258
1259 -gas | --gas | --ga | --g)
1260 # Obsolete; use --with-gas.
1261 with_gas=yes ;;
1262
1263 -help | --help | --hel | --he | -h)
1264 ac_init_help=long ;;
1265 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1266 ac_init_help=recursive ;;
1267 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1268 ac_init_help=short ;;
1269
1270 -host | --host | --hos | --ho)
1271 ac_prev=host_alias ;;
1272 -host=* | --host=* | --hos=* | --ho=*)
1273 host_alias=$ac_optarg ;;
1274
1275 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1276 ac_prev=htmldir ;;
1277 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1278 | --ht=*)
1279 htmldir=$ac_optarg ;;
1280
1281 -includedir | --includedir | --includedi | --included | --include \
1282 | --includ | --inclu | --incl | --inc)
1283 ac_prev=includedir ;;
1284 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1285 | --includ=* | --inclu=* | --incl=* | --inc=*)
1286 includedir=$ac_optarg ;;
1287
1288 -infodir | --infodir | --infodi | --infod | --info | --inf)
1289 ac_prev=infodir ;;
1290 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1291 infodir=$ac_optarg ;;
1292
1293 -libdir | --libdir | --libdi | --libd)
1294 ac_prev=libdir ;;
1295 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1296 libdir=$ac_optarg ;;
1297
1298 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1299 | --libexe | --libex | --libe)
1300 ac_prev=libexecdir ;;
1301 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1302 | --libexe=* | --libex=* | --libe=*)
1303 libexecdir=$ac_optarg ;;
1304
1305 -localedir | --localedir | --localedi | --localed | --locale)
1306 ac_prev=localedir ;;
1307 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1308 localedir=$ac_optarg ;;
1309
1310 -localstatedir | --localstatedir | --localstatedi | --localstated \
1311 | --localstate | --localstat | --localsta | --localst | --locals)
1312 ac_prev=localstatedir ;;
1313 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1314 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1315 localstatedir=$ac_optarg ;;
1316
1317 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1318 ac_prev=mandir ;;
1319 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1320 mandir=$ac_optarg ;;
1321
1322 -nfp | --nfp | --nf)
1323 # Obsolete; use --without-fp.
1324 with_fp=no ;;
1325
1326 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1327 | --no-cr | --no-c | -n)
1328 no_create=yes ;;
1329
1330 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1331 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1332 no_recursion=yes ;;
1333
1334 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1335 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1336 | --oldin | --oldi | --old | --ol | --o)
1337 ac_prev=oldincludedir ;;
1338 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1339 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1340 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1341 oldincludedir=$ac_optarg ;;
1342
1343 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1344 ac_prev=prefix ;;
1345 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1346 prefix=$ac_optarg ;;
1347
1348 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1349 | --program-pre | --program-pr | --program-p)
1350 ac_prev=program_prefix ;;
1351 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1352 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1353 program_prefix=$ac_optarg ;;
1354
1355 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1356 | --program-suf | --program-su | --program-s)
1357 ac_prev=program_suffix ;;
1358 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1359 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1360 program_suffix=$ac_optarg ;;
1361
1362 -program-transform-name | --program-transform-name \
1363 | --program-transform-nam | --program-transform-na \
1364 | --program-transform-n | --program-transform- \
1365 | --program-transform | --program-transfor \
1366 | --program-transfo | --program-transf \
1367 | --program-trans | --program-tran \
1368 | --progr-tra | --program-tr | --program-t)
1369 ac_prev=program_transform_name ;;
1370 -program-transform-name=* | --program-transform-name=* \
1371 | --program-transform-nam=* | --program-transform-na=* \
1372 | --program-transform-n=* | --program-transform-=* \
1373 | --program-transform=* | --program-transfor=* \
1374 | --program-transfo=* | --program-transf=* \
1375 | --program-trans=* | --program-tran=* \
1376 | --progr-tra=* | --program-tr=* | --program-t=*)
1377 program_transform_name=$ac_optarg ;;
1378
1379 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1380 ac_prev=pdfdir ;;
1381 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1382 pdfdir=$ac_optarg ;;
1383
1384 -psdir | --psdir | --psdi | --psd | --ps)
1385 ac_prev=psdir ;;
1386 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1387 psdir=$ac_optarg ;;
1388
1389 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1390 | -silent | --silent | --silen | --sile | --sil)
1391 silent=yes ;;
1392
1393 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1394 ac_prev=sbindir ;;
1395 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1396 | --sbi=* | --sb=*)
1397 sbindir=$ac_optarg ;;
1398
1399 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1400 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1401 | --sharedst | --shareds | --shared | --share | --shar \
1402 | --sha | --sh)
1403 ac_prev=sharedstatedir ;;
1404 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1405 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1406 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1407 | --sha=* | --sh=*)
1408 sharedstatedir=$ac_optarg ;;
1409
1410 -site | --site | --sit)
1411 ac_prev=site ;;
1412 -site=* | --site=* | --sit=*)
1413 site=$ac_optarg ;;
1414
1415 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1416 ac_prev=srcdir ;;
1417 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1418 srcdir=$ac_optarg ;;
1419
1420 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1421 | --syscon | --sysco | --sysc | --sys | --sy)
1422 ac_prev=sysconfdir ;;
1423 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1424 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1425 sysconfdir=$ac_optarg ;;
1426
1427 -target | --target | --targe | --targ | --tar | --ta | --t)
1428 ac_prev=target_alias ;;
1429 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1430 target_alias=$ac_optarg ;;
1431
1432 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1433 verbose=yes ;;
1434
1435 -version | --version | --versio | --versi | --vers | -V)
1436 ac_init_version=: ;;
1437
1438 -with-* | --with-*)
1439 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1440 # Reject names that are not valid shell variable names.
1441 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1442 { echo "$as_me: error: invalid package name: $ac_package" >&2
1443 { (exit 1); exit 1; }; }
1444 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1445 eval with_$ac_package=\$ac_optarg ;;
1446
1447 -without-* | --without-*)
1448 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1449 # Reject names that are not valid shell variable names.
1450 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1451 { echo "$as_me: error: invalid package name: $ac_package" >&2
1452 { (exit 1); exit 1; }; }
1453 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1454 eval with_$ac_package=no ;;
1455
1456 --x)
1457 # Obsolete; use --with-x.
1458 with_x=yes ;;
1459
1460 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1461 | --x-incl | --x-inc | --x-in | --x-i)
1462 ac_prev=x_includes ;;
1463 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1464 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1465 x_includes=$ac_optarg ;;
1466
1467 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1468 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1469 ac_prev=x_libraries ;;
1470 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1471 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1472 x_libraries=$ac_optarg ;;
1473
1474 -*) { echo "$as_me: error: unrecognized option: $ac_option
1475 Try \`$0 --help' for more information." >&2
1476 { (exit 1); exit 1; }; }
1477 ;;
1478
1479 *=*)
1480 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1481 # Reject names that are not valid shell variable names.
1482 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1483 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1484 { (exit 1); exit 1; }; }
1485 eval $ac_envvar=\$ac_optarg
1486 export $ac_envvar ;;
1487
1488 *)
1489 # FIXME: should be removed in autoconf 3.0.
1490 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1491 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1492 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1493 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1494 ;;
1495
1496 esac
1497 done
1498
1499 if test -n "$ac_prev"; then
1500 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1501 { echo "$as_me: error: missing argument to $ac_option" >&2
1502 { (exit 1); exit 1; }; }
1503 fi
1504
1505 # Be sure to have absolute directory names.
1506 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1507 datadir sysconfdir sharedstatedir localstatedir includedir \
1508 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1509 libdir localedir mandir
1510 do
1511 eval ac_val=\$$ac_var
1512 case $ac_val in
1513 [\\/$]* | ?:[\\/]* ) continue;;
1514 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1515 esac
1516 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1517 { (exit 1); exit 1; }; }
1518 done
1519
1520 # There might be people who depend on the old broken behavior: `$host'
1521 # used to hold the argument of --host etc.
1522 # FIXME: To remove some day.
1523 build=$build_alias
1524 host=$host_alias
1525 target=$target_alias
1526
1527 # FIXME: To remove some day.
1528 if test "x$host_alias" != x; then
1529 if test "x$build_alias" = x; then
1530 cross_compiling=maybe
1531 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1532 If a cross compiler is detected then cross compile mode will be used." >&2
1533 elif test "x$build_alias" != "x$host_alias"; then
1534 cross_compiling=yes
1535 fi
1536 fi
1537
1538 ac_tool_prefix=
1539 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1540
1541 test "$silent" = yes && exec 6>/dev/null
1542
1543
1544 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1545 ac_ls_di=`ls -di .` &&
1546 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1547 { echo "$as_me: error: Working directory cannot be determined" >&2
1548 { (exit 1); exit 1; }; }
1549 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1550 { echo "$as_me: error: pwd does not report name of working directory" >&2
1551 { (exit 1); exit 1; }; }
1552
1553
1554 # Find the source files, if location was not specified.
1555 if test -z "$srcdir"; then
1556 ac_srcdir_defaulted=yes
1557 # Try the directory containing this script, then the parent directory.
1558 ac_confdir=`$as_dirname -- "$0" ||
1559 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1560 X"$0" : 'X\(//\)[^/]' \| \
1561 X"$0" : 'X\(//\)$' \| \
1562 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1563 echo X"$0" |
1564 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1565 s//\1/
1566 q
1567 }
1568 /^X\(\/\/\)[^/].*/{
1569 s//\1/
1570 q
1571 }
1572 /^X\(\/\/\)$/{
1573 s//\1/
1574 q
1575 }
1576 /^X\(\/\).*/{
1577 s//\1/
1578 q
1579 }
1580 s/.*/./; q'`
1581 srcdir=$ac_confdir
1582 if test ! -r "$srcdir/$ac_unique_file"; then
1583 srcdir=..
1584 fi
1585 else
1586 ac_srcdir_defaulted=no
1587 fi
1588 if test ! -r "$srcdir/$ac_unique_file"; then
1589 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1590 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1591 { (exit 1); exit 1; }; }
1592 fi
1593 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1594 ac_abs_confdir=`(
1595 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1596 { (exit 1); exit 1; }; }
1597 pwd)`
1598 # When building in place, set srcdir=.
1599 if test "$ac_abs_confdir" = "$ac_pwd"; then
1600 srcdir=.
1601 fi
1602 # Remove unnecessary trailing slashes from srcdir.
1603 # Double slashes in file names in object file debugging info
1604 # mess up M-x gdb in Emacs.
1605 case $srcdir in
1606 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1607 esac
1608 for ac_var in $ac_precious_vars; do
1609 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1610 eval ac_env_${ac_var}_value=\$${ac_var}
1611 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1612 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1613 done
1614
1615 #
1616 # Report the --help message.
1617 #
1618 if test "$ac_init_help" = "long"; then
1619 # Omit some internal or obsolete options to make the list less imposing.
1620 # This message is too long to be a string in the A/UX 3.1 sh.
1621 cat <<_ACEOF
1622 \`configure' configures wxWidgets 2.9.4 to adapt to many kinds of systems.
1623
1624 Usage: $0 [OPTION]... [VAR=VALUE]...
1625
1626 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1627 VAR=VALUE. See below for descriptions of some of the useful variables.
1628
1629 Defaults for the options are specified in brackets.
1630
1631 Configuration:
1632 -h, --help display this help and exit
1633 --help=short display options specific to this package
1634 --help=recursive display the short help of all the included packages
1635 -V, --version display version information and exit
1636 -q, --quiet, --silent do not print \`checking...' messages
1637 --cache-file=FILE cache test results in FILE [disabled]
1638 -C, --config-cache alias for \`--cache-file=config.cache'
1639 -n, --no-create do not create output files
1640 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1641
1642 Installation directories:
1643 --prefix=PREFIX install architecture-independent files in PREFIX
1644 [$ac_default_prefix]
1645 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1646 [PREFIX]
1647
1648 By default, \`make install' will install all the files in
1649 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1650 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1651 for instance \`--prefix=\$HOME'.
1652
1653 For better control, use the options below.
1654
1655 Fine tuning of the installation directories:
1656 --bindir=DIR user executables [EPREFIX/bin]
1657 --sbindir=DIR system admin executables [EPREFIX/sbin]
1658 --libexecdir=DIR program executables [EPREFIX/libexec]
1659 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1660 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1661 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1662 --libdir=DIR object code libraries [EPREFIX/lib]
1663 --includedir=DIR C header files [PREFIX/include]
1664 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1665 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1666 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1667 --infodir=DIR info documentation [DATAROOTDIR/info]
1668 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1669 --mandir=DIR man documentation [DATAROOTDIR/man]
1670 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1671 --htmldir=DIR html documentation [DOCDIR]
1672 --dvidir=DIR dvi documentation [DOCDIR]
1673 --pdfdir=DIR pdf documentation [DOCDIR]
1674 --psdir=DIR ps documentation [DOCDIR]
1675 _ACEOF
1676
1677 cat <<\_ACEOF
1678
1679 X features:
1680 --x-includes=DIR X include files are in DIR
1681 --x-libraries=DIR X library files are in DIR
1682
1683 System types:
1684 --build=BUILD configure for building on BUILD [guessed]
1685 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1686 _ACEOF
1687 fi
1688
1689 if test -n "$ac_init_help"; then
1690 case $ac_init_help in
1691 short | recursive ) echo "Configuration of wxWidgets 2.9.4:";;
1692 esac
1693 cat <<\_ACEOF
1694
1695 Optional Features:
1696 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1697 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1698 --disable-gui don't build GUI parts of the library
1699 --enable-monolithic build wxWidgets as single library
1700 --enable-plugins build parts of wxWidgets as loadable components
1701 --enable-official_build official build of wxWidgets (win32 DLL only)
1702 --enable-vendor=VENDOR vendor name (win32 DLL only)
1703 --disable-all-features disable all optional features to build minimal library
1704 --enable-universal use wxWidgets GUI controls instead of native ones
1705 --enable-nanox use NanoX
1706 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1707 --enable-gpe use GNOME PDA Environment features if possible
1708 --enable-debug build library for debugging
1709 --disable-debug_flag disable all debugging support
1710 --enable-debug_info generate debug information
1711 --enable-debug_gdb create code with extra GDB debugging information
1712 --enable-debug_cntxt obsolete, don't use: use wxDebugContext
1713 --enable-mem_tracing obsolete, don't use: create code with memory tracing
1714 --disable-shared create static library instead of shared
1715 --enable-stl use standard C++ classes for everything
1716 --enable-std_containers use standard C++ container classes
1717 --enable-std_iostreams use standard C++ stream classes
1718 --enable-std_string use standard C++ string classes
1719 --enable-std_string_conv_in_wxstring provide implicit conversion to std::string in wxString
1720 --disable-unicode compile without Unicode support
1721 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1722 --enable-utf8 use UTF-8 representation for strings (Unix only)
1723 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1724 --enable-extended_rtti use extended RTTI (XTI)
1725 --enable-omf use OMF object format
1726 --disable-optimise compile without optimisations
1727 --enable-profile create code with profiling information
1728 --enable-no_rtti create code without RTTI information
1729 --enable-no_exceptions create code without C++ exceptions handling
1730 --enable-permissive compile code disregarding strict ANSI
1731 --enable-no_deps create code without dependency information
1732 --disable-vararg_macros don't use vararg macros, even if they are supported
1733 --enable-universal_binary create universal binary with Mac PPC and i386 (and x86_64 if using Cocoa) architectures
1734 --enable-macosx_arch=ARCH build for just the specified architecture
1735 --enable-compat26 enable wxWidgets 2.6 compatibility
1736 --disable-compat28 disable wxWidgets 2.8 compatibility
1737 --disable-rpath disable use of rpath for uninstalled builds
1738 --enable-objc_uniquifying enable Objective-C class name uniquifying
1739 --disable-visibility disable use of ELF symbols visibility even if supported
1740 --disable-tls disable use of compiler TLS support
1741 --enable-intl use internationalization system
1742 --enable-xlocale use x-locale support (requires wxLocale)
1743 --enable-config use wxConfig (and derived) classes
1744 --enable-protocols use wxProtocol and derived classes
1745 --enable-ftp use wxFTP (requires wxProtocol
1746 --enable-http use wxHTTP (requires wxProtocol
1747 --enable-fileproto use wxFileProto class (requires wxProtocol
1748 --enable-sockets use socket/network classes
1749 --enable-ipv6 enable IPv6 support in wxSocket
1750 --enable-ole use OLE classes (Win32 only)
1751 --enable-dataobj use data object classes
1752 --enable-ipc use interprocess communication (wxSocket etc.)
1753 --enable-baseevtloop use event loop in console programs too
1754 --enable-epollloop use wxEpollDispatcher class (Linux only)
1755 --enable-selectloop use wxSelectDispatcher class
1756 --enable-any use wxAny class
1757 --enable-apple_ieee use the Apple IEEE codec
1758 --enable-arcstream use wxArchive streams
1759 --enable-base64 use base64 encoding/decoding functions
1760 --enable-backtrace use wxStackWalker class for getting backtraces
1761 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
1762 --enable-cmdline use wxCmdLineParser class
1763 --enable-datetime use wxDateTime class
1764 --enable-debugreport use wxDebugReport class
1765 --enable-dialupman use dialup network classes
1766 --enable-dynlib use wxLibrary class for DLL loading
1767 --enable-dynamicloader use (new) wxDynamicLibrary class
1768 --enable-exceptions build exception-safe library
1769 --enable-ffile use wxFFile class
1770 --enable-file use wxFile class
1771 --enable-filehistory use wxFileHistory class
1772 --enable-filesystem use virtual file systems classes
1773 --enable-fontenum use wxFontEnumerator class
1774 --enable-fontmap use font encodings conversion classes
1775 --enable-fs_archive use virtual archive filesystems
1776 --enable-fs_inet use virtual HTTP/FTP filesystems
1777 --enable-fs_zip now replaced by fs_archive
1778 --enable-fswatcher use wxFileSystemWatcher class
1779 --enable-geometry use geometry class
1780 --enable-log use logging system
1781 --enable-longlong use wxLongLong class
1782 --enable-mimetype use wxMimeTypesManager
1783 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1784 --enable-snglinst use wxSingleInstanceChecker class
1785 --enable-sound use wxSound class
1786 --enable-stdpaths use wxStandardPaths class
1787 --enable-stopwatch use wxStopWatch class
1788 --enable-streams use wxStream etc classes
1789 --enable-sysoptions use wxSystemOptions
1790 --enable-tarstream use wxTar streams
1791 --enable-textbuf use wxTextBuffer class
1792 --enable-textfile use wxTextFile class
1793 --enable-timer use wxTimer class
1794 --enable-variant use wxVariant class
1795 --enable-zipstream use wxZip streams
1796 --enable-url use wxURL class
1797 --enable-protocol use wxProtocol class
1798 --enable-protocol-http HTTP support in wxProtocol
1799 --enable-protocol-ftp FTP support in wxProtocol
1800 --enable-protocol-file FILE support in wxProtocol
1801 --enable-threads use threads
1802 --enable-iniconf use wxIniConfig (Win32 only)
1803 --enable-regkey use wxRegKey class (Win32 only)
1804 --enable-docview use document view architecture
1805 --enable-help use help subsystem
1806 --enable-mshtmlhelp use MS HTML Help (win32)
1807 --enable-html use wxHTML sub-library
1808 --enable-htmlhelp use wxHTML-based help
1809 --enable-xrc use XRC resources sub-library
1810 --enable-aui use AUI docking library
1811 --enable-propgrid use wxPropertyGrid library
1812 --enable-ribbon use wxRibbon library
1813 --enable-stc use wxStyledTextCtrl library
1814 --enable-constraints use layout-constraints system
1815 --enable-loggui use standard GUI logger
1816 --enable-logwin use wxLogWindow
1817 --enable-logdialog use wxLogDialog
1818 --enable-mdi use multiple document interface architecture
1819 --enable-mdidoc use docview architecture with MDI
1820 --enable-mediactrl use wxMediaCtrl class
1821 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1822 --enable-richtext use wxRichTextCtrl
1823 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1824 --enable-printarch use printing architecture
1825 --enable-svg use wxSVGFileDC device context
1826 --enable-webkit use wxWebKitCtrl (Mac-only, use wxWebView instead)
1827 --enable-webview use wxWebView library
1828 --enable-graphics_ctx use graphics context 2D drawing API
1829 --enable-clipboard use wxClipboard class
1830 --enable-dnd use Drag'n'Drop classes
1831 --disable-controls disable compilation of all standard controls
1832 --enable-markup support wxControl::SetLabelMarkup
1833 --enable-accel use accelerators
1834 --enable-animatectrl use wxAnimationCtrl class
1835 --enable-bannerwindow use wxBannerWindow class
1836 --enable-artstd use standard XPM icons in wxArtProvider
1837 --enable-arttango use Tango icons in wxArtProvider
1838 --enable-bmpbutton use wxBitmapButton class
1839 --enable-bmpcombobox use wxBitmapComboBox class
1840 --enable-button use wxButton class
1841 --enable-calendar use wxCalendarCtrl class
1842 --enable-caret use wxCaret class
1843 --enable-checkbox use wxCheckBox class
1844 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1845 --enable-choice use wxChoice class
1846 --enable-choicebook use wxChoicebook class
1847 --enable-collpane use wxCollapsiblePane class
1848 --enable-colourpicker use wxColourPickerCtrl class
1849 --enable-combobox use wxComboBox class
1850 --enable-comboctrl use wxComboCtrl class
1851 --enable-commandlinkbutton use wxCommmandLinkButton class
1852 --enable-dataviewctrl use wxDataViewCtrl class
1853 --enable-datepick use wxDatePickerCtrl class
1854 --enable-detect_sm use code to detect X11 session manager
1855 --enable-dirpicker use wxDirPickerCtrl class
1856 --enable-display use wxDisplay class
1857 --enable-editablebox use wxEditableListBox class
1858 --enable-filectrl use wxFileCtrl class
1859 --enable-filepicker use wxFilePickerCtrl class
1860 --enable-fontpicker use wxFontPickerCtrl class
1861 --enable-gauge use wxGauge class
1862 --enable-grid use wxGrid class
1863 --enable-headerctrl use wxHeaderCtrl class
1864 --enable-hyperlink use wxHyperlinkCtrl class
1865 --enable-imaglist use wxImageList class
1866 --enable-infobar use wxInfoBar class
1867 --enable-listbook use wxListbook class
1868 --enable-listbox use wxListBox class
1869 --enable-listctrl use wxListCtrl class
1870 --enable-notebook use wxNotebook class
1871 --enable-notifmsg use wxNotificationMessage class
1872 --enable-odcombobox use wxOwnerDrawnComboBox class
1873 --enable-popupwin use wxPopUpWindow class
1874 --enable-radiobox use wxRadioBox class
1875 --enable-radiobtn use wxRadioButton class
1876 --enable-richmsgdlg use wxRichMessageDialog class
1877 --enable-richtooltip use wxRichToolTip class
1878 --enable-rearrangectrl use wxRearrangeList/Ctrl/Dialog
1879 --enable-sash use wxSashWindow class
1880 --enable-scrollbar use wxScrollBar class and scrollable windows
1881 --enable-searchctrl use wxSearchCtrl class
1882 --enable-slider use wxSlider class
1883 --enable-spinbtn use wxSpinButton class
1884 --enable-spinctrl use wxSpinCtrl class
1885 --enable-splitter use wxSplitterWindow class
1886 --enable-statbmp use wxStaticBitmap class
1887 --enable-statbox use wxStaticBox class
1888 --enable-statline use wxStaticLine class
1889 --enable-stattext use wxStaticText class
1890 --enable-statusbar use wxStatusBar class
1891 --enable-taskbaricon use wxTaskBarIcon class
1892 --enable-tbarnative use native wxToolBar class
1893 --enable-textctrl use wxTextCtrl class
1894 --enable-timepick use wxTimePickerCtrl class
1895 --enable-tipwindow use wxTipWindow class
1896 --enable-togglebtn use wxToggleButton class
1897 --enable-toolbar use wxToolBar class
1898 --enable-toolbook use wxToolbook class
1899 --enable-treebook use wxTreebook class
1900 --enable-treectrl use wxTreeCtrl class
1901 --enable-treelist use wxTreeListCtrl class
1902 --enable-commondlg use all common dialogs
1903 --enable-aboutdlg use wxAboutBox
1904 --enable-choicedlg use wxChoiceDialog
1905 --enable-coldlg use wxColourDialog
1906 --enable-filedlg use wxFileDialog
1907 --enable-finddlg use wxFindReplaceDialog
1908 --enable-fontdlg use wxFontDialog
1909 --enable-dirdlg use wxDirDialog
1910 --enable-msgdlg use wxMessageDialog
1911 --enable-numberdlg use wxNumberEntryDialog
1912 --enable-splash use wxSplashScreen
1913 --enable-textdlg use wxTextDialog
1914 --enable-tipdlg use startup tips
1915 --enable-progressdlg use wxProgressDialog
1916 --enable-wizarddlg use wxWizard
1917 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1918 --enable-miniframe use wxMiniFrame class
1919 --enable-tooltips use wxToolTip class
1920 --enable-splines use spline drawing code
1921 --enable-mousewheel use mousewheel
1922 --enable-validators use wxValidator and derived classes
1923 --enable-busyinfo use wxBusyInfo
1924 --enable-hotkey use wxWindow::RegisterHotKey()
1925 --enable-joystick use wxJoystick
1926 --enable-metafiles use wxMetaFile
1927 --enable-dragimage use wxDragImage
1928 --enable-accessibility enable accessibility support
1929 --enable-uiactionsim use wxUIActionSimulator (experimental)
1930 --enable-dctransform use wxDC::SetTransformMatrix and related
1931 --enable-webview-webkit use wxWebView WebKit backend
1932 --enable-palette use wxPalette class
1933 --enable-image use wxImage class
1934 --enable-gif use gif images (GIF file format)
1935 --enable-pcx use pcx images (PCX file format)
1936 --enable-tga use tga images (TGA file format)
1937 --enable-iff use iff images (IFF file format)
1938 --enable-pnm use pnm images (PNM file format)
1939 --enable-xpm use xpm images (XPM file format)
1940 --enable-ico_cur use Windows ICO and CUR formats
1941 --enable-dccache cache temporary wxDC objects (Win32 only)
1942 --enable-ps-in-msw use PS printing in wxMSW (Win32 only)
1943 --enable-ownerdrawn use owner drawn controls (Win32 and OS/2 only)
1944 --enable-uxtheme enable support for Windows XP themed look (Win32 only)
1945 --enable-wxdib use wxDIB class (Win32 only)
1946 --enable-webview-ie use wxWebView IE backend (Win32 only)
1947 --enable-autoidman use automatic ids management
1948 --disable-largefile omit support for large files
1949 --disable-gtktest do not try to compile and run a test GTK+ program
1950 --disable-gtktest Do not try to compile and run a test GTK program
1951 --disable-sdltest Do not try to compile and run a test SDL program
1952 --enable-omf use OMF object format (OS/2)
1953 --disable-dependency-tracking
1954 don't use dependency tracking even if the compiler
1955 can
1956 --disable-precomp-headers
1957 don't use precompiled headers even if compiler can
1958
1959 Optional Packages:
1960 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1961 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1962 --without-subdirs don't generate makefiles for samples/demos/...
1963 --with-flavour=NAME specify a name to identify this build
1964 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1965 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1966 --with-motif use Motif/Lesstif
1967 --with-osx_carbon use Mac OS X (Carbon)
1968 --with-osx_cocoa use Mac OS X (Cocoa)
1969 --with-osx_iphone use iPhone OS X port
1970 --with-osx use Mac OS X (default port, currently Carbon)
1971 --with-carbon same as --with-osx_carbon
1972 --with-cocoa same as --with-osx_cocoa
1973 --with-iphone same as --with-osx_iphone
1974 --with-mac same as --with-osx
1975 --with-old_cocoa use old, deprecated, Cocoa port
1976 --with-wine use Wine
1977 --with-msw use MS-Windows
1978 --with-pm use OS/2 Presentation Manager
1979 --with-directfb use DirectFB
1980 --with-microwin use MicroWindows
1981 --with-x11 use X11
1982 --with-libpng use libpng (PNG image format)
1983 --with-libjpeg use libjpeg (JPEG file format)
1984 --with-libtiff use libtiff (TIFF file format)
1985 --with-libxpm use libxpm (XPM file format)
1986 --with-libiconv use libiconv (character conversion)
1987 --with-libmspack use libmspack (CHM help files loading)
1988 --without-gtkprint don't use GTK printing support
1989 --without-gnomeprint don't use GNOME printing libraries
1990 --with-gnomevfs use GNOME VFS for associating MIME types
1991 --with-hildon use Hildon framework for Nokia 770/800/810
1992 --with-opengl use OpenGL (or Mesa)
1993 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1994 --with-sdl use SDL for audio on Unix
1995 --with-regex enable support for wxRegEx class
1996 --with-zlib use zlib for LZW compression
1997 --with-expat enable XML support using expat parser
1998 --with-macosx-sdk=PATH use an OS X SDK at PATH
1999 --with-macosx-version-min=VER build binaries which require at least this OS X version
2000 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
2001 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
2002 --with-x use the X Window System
2003 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
2004 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
2005 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
2006 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
2007 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
2008
2009 Some influential environment variables:
2010 CC C compiler command
2011 CFLAGS C compiler flags
2012 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2013 nonstandard directory <lib dir>
2014 LIBS libraries to pass to the linker, e.g. -l<library>
2015 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
2016 you have headers in a nonstandard directory <include dir>
2017 CPP C preprocessor
2018 CXX C++ compiler command
2019 CXXFLAGS C++ compiler flags
2020 CXXCPP C++ preprocessor
2021 PKG_CONFIG path to pkg-config utility
2022 DIRECTFB_CFLAGS
2023 C compiler flags for DIRECTFB, overriding pkg-config
2024 DIRECTFB_LIBS
2025 linker flags for DIRECTFB, overriding pkg-config
2026 XMKMF Path to xmkmf, Makefile generator for X Window System
2027 PANGOX_CFLAGS
2028 C compiler flags for PANGOX, overriding pkg-config
2029 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
2030 PANGOFT2_CFLAGS
2031 C compiler flags for PANGOFT2, overriding pkg-config
2032 PANGOFT2_LIBS
2033 linker flags for PANGOFT2, overriding pkg-config
2034 PANGOXFT_CFLAGS
2035 C compiler flags for PANGOXFT, overriding pkg-config
2036 PANGOXFT_LIBS
2037 linker flags for PANGOXFT, overriding pkg-config
2038 Xinerama_CFLAGS
2039 C compiler flags for Xinerama, overriding pkg-config
2040 Xinerama_LIBS
2041 linker flags for Xinerama, overriding pkg-config
2042 Xxf86vm_CFLAGS
2043 C compiler flags for Xxf86vm, overriding pkg-config
2044 Xxf86vm_LIBS
2045 linker flags for Xxf86vm, overriding pkg-config
2046 SM_CFLAGS C compiler flags for SM, overriding pkg-config
2047 SM_LIBS linker flags for SM, overriding pkg-config
2048 GL_CFLAGS C compiler flags for GL, overriding pkg-config
2049 GL_LIBS linker flags for GL, overriding pkg-config
2050 GLU_CFLAGS C compiler flags for GLU, overriding pkg-config
2051 GLU_LIBS linker flags for GLU, overriding pkg-config
2052 MesaGL_CFLAGS
2053 C compiler flags for MesaGL, overriding pkg-config
2054 MesaGL_LIBS linker flags for MesaGL, overriding pkg-config
2055 GTKPRINT_CFLAGS
2056 C compiler flags for GTKPRINT, overriding pkg-config
2057 GTKPRINT_LIBS
2058 linker flags for GTKPRINT, overriding pkg-config
2059 LIBGNOMEPRINTUI_CFLAGS
2060 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
2061 LIBGNOMEPRINTUI_LIBS
2062 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
2063 GNOMEVFS_CFLAGS
2064 C compiler flags for GNOMEVFS, overriding pkg-config
2065 GNOMEVFS_LIBS
2066 linker flags for GNOMEVFS, overriding pkg-config
2067 HILDON_CFLAGS
2068 C compiler flags for HILDON, overriding pkg-config
2069 HILDON_LIBS linker flags for HILDON, overriding pkg-config
2070 HILDON2_CFLAGS
2071 C compiler flags for HILDON2, overriding pkg-config
2072 HILDON2_LIBS
2073 linker flags for HILDON2, overriding pkg-config
2074 CAIRO_CFLAGS
2075 C compiler flags for CAIRO, overriding pkg-config
2076 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
2077 GST_CFLAGS C compiler flags for GST, overriding pkg-config
2078 GST_LIBS linker flags for GST, overriding pkg-config
2079
2080 Use these variables to override the choices made by `configure' or to help
2081 it to find libraries and programs with nonstandard names/locations.
2082
2083 Report bugs to <wx-dev@lists.wxwidgets.org>.
2084 _ACEOF
2085 ac_status=$?
2086 fi
2087
2088 if test "$ac_init_help" = "recursive"; then
2089 # If there are subdirs, report their specific --help.
2090 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2091 test -d "$ac_dir" || continue
2092 ac_builddir=.
2093
2094 case "$ac_dir" in
2095 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2096 *)
2097 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2098 # A ".." for each directory in $ac_dir_suffix.
2099 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
2100 case $ac_top_builddir_sub in
2101 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2102 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2103 esac ;;
2104 esac
2105 ac_abs_top_builddir=$ac_pwd
2106 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2107 # for backward compatibility:
2108 ac_top_builddir=$ac_top_build_prefix
2109
2110 case $srcdir in
2111 .) # We are building in place.
2112 ac_srcdir=.
2113 ac_top_srcdir=$ac_top_builddir_sub
2114 ac_abs_top_srcdir=$ac_pwd ;;
2115 [\\/]* | ?:[\\/]* ) # Absolute name.
2116 ac_srcdir=$srcdir$ac_dir_suffix;
2117 ac_top_srcdir=$srcdir
2118 ac_abs_top_srcdir=$srcdir ;;
2119 *) # Relative name.
2120 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2121 ac_top_srcdir=$ac_top_build_prefix$srcdir
2122 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2123 esac
2124 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2125
2126 cd "$ac_dir" || { ac_status=$?; continue; }
2127 # Check for guested configure.
2128 if test -f "$ac_srcdir/configure.gnu"; then
2129 echo &&
2130 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2131 elif test -f "$ac_srcdir/configure"; then
2132 echo &&
2133 $SHELL "$ac_srcdir/configure" --help=recursive
2134 else
2135 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2136 fi || ac_status=$?
2137 cd "$ac_pwd" || { ac_status=$?; break; }
2138 done
2139 fi
2140
2141 test -n "$ac_init_help" && exit $ac_status
2142 if $ac_init_version; then
2143 cat <<\_ACEOF
2144 wxWidgets configure 2.9.4
2145 generated by GNU Autoconf 2.61
2146
2147 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2148 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
2149 This configure script is free software; the Free Software Foundation
2150 gives unlimited permission to copy, distribute and modify it.
2151 _ACEOF
2152 exit
2153 fi
2154 cat >config.log <<_ACEOF
2155 This file contains any messages produced by compilers while
2156 running configure, to aid debugging if configure makes a mistake.
2157
2158 It was created by wxWidgets $as_me 2.9.4, which was
2159 generated by GNU Autoconf 2.61. Invocation command line was
2160
2161 $ $0 $@
2162
2163 _ACEOF
2164 exec 5>>config.log
2165 {
2166 cat <<_ASUNAME
2167 ## --------- ##
2168 ## Platform. ##
2169 ## --------- ##
2170
2171 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2172 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2173 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2174 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2175 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2176
2177 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2178 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2179
2180 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2181 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2182 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2183 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2184 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2185 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2186 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2187
2188 _ASUNAME
2189
2190 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2191 for as_dir in $PATH
2192 do
2193 IFS=$as_save_IFS
2194 test -z "$as_dir" && as_dir=.
2195 echo "PATH: $as_dir"
2196 done
2197 IFS=$as_save_IFS
2198
2199 } >&5
2200
2201 cat >&5 <<_ACEOF
2202
2203
2204 ## ----------- ##
2205 ## Core tests. ##
2206 ## ----------- ##
2207
2208 _ACEOF
2209
2210
2211 # Keep a trace of the command line.
2212 # Strip out --no-create and --no-recursion so they do not pile up.
2213 # Strip out --silent because we don't want to record it for future runs.
2214 # Also quote any args containing shell meta-characters.
2215 # Make two passes to allow for proper duplicate-argument suppression.
2216 ac_configure_args=
2217 ac_configure_args0=
2218 ac_configure_args1=
2219 ac_must_keep_next=false
2220 for ac_pass in 1 2
2221 do
2222 for ac_arg
2223 do
2224 case $ac_arg in
2225 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2226 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2227 | -silent | --silent | --silen | --sile | --sil)
2228 continue ;;
2229 *\'*)
2230 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2231 esac
2232 case $ac_pass in
2233 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2234 2)
2235 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2236 if test $ac_must_keep_next = true; then
2237 ac_must_keep_next=false # Got value, back to normal.
2238 else
2239 case $ac_arg in
2240 *=* | --config-cache | -C | -disable-* | --disable-* \
2241 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2242 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2243 | -with-* | --with-* | -without-* | --without-* | --x)
2244 case "$ac_configure_args0 " in
2245 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2246 esac
2247 ;;
2248 -* ) ac_must_keep_next=true ;;
2249 esac
2250 fi
2251 ac_configure_args="$ac_configure_args '$ac_arg'"
2252 ;;
2253 esac
2254 done
2255 done
2256 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2257 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2258
2259 # When interrupted or exit'd, cleanup temporary files, and complete
2260 # config.log. We remove comments because anyway the quotes in there
2261 # would cause problems or look ugly.
2262 # WARNING: Use '\'' to represent an apostrophe within the trap.
2263 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2264 trap 'exit_status=$?
2265 # Save into config.log some information that might help in debugging.
2266 {
2267 echo
2268
2269 cat <<\_ASBOX
2270 ## ---------------- ##
2271 ## Cache variables. ##
2272 ## ---------------- ##
2273 _ASBOX
2274 echo
2275 # The following way of writing the cache mishandles newlines in values,
2276 (
2277 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2278 eval ac_val=\$$ac_var
2279 case $ac_val in #(
2280 *${as_nl}*)
2281 case $ac_var in #(
2282 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2283 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2284 esac
2285 case $ac_var in #(
2286 _ | IFS | as_nl) ;; #(
2287 *) $as_unset $ac_var ;;
2288 esac ;;
2289 esac
2290 done
2291 (set) 2>&1 |
2292 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2293 *${as_nl}ac_space=\ *)
2294 sed -n \
2295 "s/'\''/'\''\\\\'\'''\''/g;
2296 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2297 ;; #(
2298 *)
2299 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2300 ;;
2301 esac |
2302 sort
2303 )
2304 echo
2305
2306 cat <<\_ASBOX
2307 ## ----------------- ##
2308 ## Output variables. ##
2309 ## ----------------- ##
2310 _ASBOX
2311 echo
2312 for ac_var in $ac_subst_vars
2313 do
2314 eval ac_val=\$$ac_var
2315 case $ac_val in
2316 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2317 esac
2318 echo "$ac_var='\''$ac_val'\''"
2319 done | sort
2320 echo
2321
2322 if test -n "$ac_subst_files"; then
2323 cat <<\_ASBOX
2324 ## ------------------- ##
2325 ## File substitutions. ##
2326 ## ------------------- ##
2327 _ASBOX
2328 echo
2329 for ac_var in $ac_subst_files
2330 do
2331 eval ac_val=\$$ac_var
2332 case $ac_val in
2333 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2334 esac
2335 echo "$ac_var='\''$ac_val'\''"
2336 done | sort
2337 echo
2338 fi
2339
2340 if test -s confdefs.h; then
2341 cat <<\_ASBOX
2342 ## ----------- ##
2343 ## confdefs.h. ##
2344 ## ----------- ##
2345 _ASBOX
2346 echo
2347 cat confdefs.h
2348 echo
2349 fi
2350 test "$ac_signal" != 0 &&
2351 echo "$as_me: caught signal $ac_signal"
2352 echo "$as_me: exit $exit_status"
2353 } >&5
2354 rm -f core *.core core.conftest.* &&
2355 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2356 exit $exit_status
2357 ' 0
2358 for ac_signal in 1 2 13 15; do
2359 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2360 done
2361 ac_signal=0
2362
2363 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2364 rm -f -r conftest* confdefs.h
2365
2366 # Predefined preprocessor variables.
2367
2368 cat >>confdefs.h <<_ACEOF
2369 #define PACKAGE_NAME "$PACKAGE_NAME"
2370 _ACEOF
2371
2372
2373 cat >>confdefs.h <<_ACEOF
2374 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2375 _ACEOF
2376
2377
2378 cat >>confdefs.h <<_ACEOF
2379 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2380 _ACEOF
2381
2382
2383 cat >>confdefs.h <<_ACEOF
2384 #define PACKAGE_STRING "$PACKAGE_STRING"
2385 _ACEOF
2386
2387
2388 cat >>confdefs.h <<_ACEOF
2389 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2390 _ACEOF
2391
2392
2393 # Let the site file select an alternate cache file if it wants to.
2394 # Prefer explicitly selected file to automatically selected ones.
2395 if test -n "$CONFIG_SITE"; then
2396 set x "$CONFIG_SITE"
2397 elif test "x$prefix" != xNONE; then
2398 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2399 else
2400 set x "$ac_default_prefix/share/config.site" \
2401 "$ac_default_prefix/etc/config.site"
2402 fi
2403 shift
2404 for ac_site_file
2405 do
2406 if test -r "$ac_site_file"; then
2407 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2408 echo "$as_me: loading site script $ac_site_file" >&6;}
2409 sed 's/^/| /' "$ac_site_file" >&5
2410 . "$ac_site_file"
2411 fi
2412 done
2413
2414 if test -r "$cache_file"; then
2415 # Some versions of bash will fail to source /dev/null (special
2416 # files actually), so we avoid doing that.
2417 if test -f "$cache_file"; then
2418 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2419 echo "$as_me: loading cache $cache_file" >&6;}
2420 case $cache_file in
2421 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2422 *) . "./$cache_file";;
2423 esac
2424 fi
2425 else
2426 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2427 echo "$as_me: creating cache $cache_file" >&6;}
2428 >$cache_file
2429 fi
2430
2431 # Check that the precious variables saved in the cache have kept the same
2432 # value.
2433 ac_cache_corrupted=false
2434 for ac_var in $ac_precious_vars; do
2435 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2436 eval ac_new_set=\$ac_env_${ac_var}_set
2437 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2438 eval ac_new_val=\$ac_env_${ac_var}_value
2439 case $ac_old_set,$ac_new_set in
2440 set,)
2441 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2442 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2443 ac_cache_corrupted=: ;;
2444 ,set)
2445 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2446 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2447 ac_cache_corrupted=: ;;
2448 ,);;
2449 *)
2450 if test "x$ac_old_val" != "x$ac_new_val"; then
2451 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2452 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2453 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2454 echo "$as_me: former value: $ac_old_val" >&2;}
2455 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2456 echo "$as_me: current value: $ac_new_val" >&2;}
2457 ac_cache_corrupted=:
2458 fi;;
2459 esac
2460 # Pass precious variables to config.status.
2461 if test "$ac_new_set" = set; then
2462 case $ac_new_val in
2463 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2464 *) ac_arg=$ac_var=$ac_new_val ;;
2465 esac
2466 case " $ac_configure_args " in
2467 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2468 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2469 esac
2470 fi
2471 done
2472 if $ac_cache_corrupted; then
2473 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2474 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2475 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2476 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2477 { (exit 1); exit 1; }; }
2478 fi
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504 ac_ext=c
2505 ac_cpp='$CPP $CPPFLAGS'
2506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2509
2510
2511
2512
2513
2514 ac_aux_dir=
2515 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2516 if test -f "$ac_dir/install-sh"; then
2517 ac_aux_dir=$ac_dir
2518 ac_install_sh="$ac_aux_dir/install-sh -c"
2519 break
2520 elif test -f "$ac_dir/install.sh"; then
2521 ac_aux_dir=$ac_dir
2522 ac_install_sh="$ac_aux_dir/install.sh -c"
2523 break
2524 elif test -f "$ac_dir/shtool"; then
2525 ac_aux_dir=$ac_dir
2526 ac_install_sh="$ac_aux_dir/shtool install -c"
2527 break
2528 fi
2529 done
2530 if test -z "$ac_aux_dir"; then
2531 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2532 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2533 { (exit 1); exit 1; }; }
2534 fi
2535
2536 # These three variables are undocumented and unsupported,
2537 # and are intended to be withdrawn in a future Autoconf release.
2538 # They can cause serious problems if a builder's source tree is in a directory
2539 # whose full name contains unusual characters.
2540 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2541 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2542 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2543
2544
2545 # Make sure we can run config.sub.
2546 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2547 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2548 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2549 { (exit 1); exit 1; }; }
2550
2551 { echo "$as_me:$LINENO: checking build system type" >&5
2552 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2553 if test "${ac_cv_build+set}" = set; then
2554 echo $ECHO_N "(cached) $ECHO_C" >&6
2555 else
2556 ac_build_alias=$build_alias
2557 test "x$ac_build_alias" = x &&
2558 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2559 test "x$ac_build_alias" = x &&
2560 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2561 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2562 { (exit 1); exit 1; }; }
2563 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2564 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2565 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2566 { (exit 1); exit 1; }; }
2567
2568 fi
2569 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2570 echo "${ECHO_T}$ac_cv_build" >&6; }
2571 case $ac_cv_build in
2572 *-*-*) ;;
2573 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2574 echo "$as_me: error: invalid value of canonical build" >&2;}
2575 { (exit 1); exit 1; }; };;
2576 esac
2577 build=$ac_cv_build
2578 ac_save_IFS=$IFS; IFS='-'
2579 set x $ac_cv_build
2580 shift
2581 build_cpu=$1
2582 build_vendor=$2
2583 shift; shift
2584 # Remember, the first character of IFS is used to create $*,
2585 # except with old shells:
2586 build_os=$*
2587 IFS=$ac_save_IFS
2588 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2589
2590
2591 { echo "$as_me:$LINENO: checking host system type" >&5
2592 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2593 if test "${ac_cv_host+set}" = set; then
2594 echo $ECHO_N "(cached) $ECHO_C" >&6
2595 else
2596 if test "x$host_alias" = x; then
2597 ac_cv_host=$ac_cv_build
2598 else
2599 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2600 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2601 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2602 { (exit 1); exit 1; }; }
2603 fi
2604
2605 fi
2606 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2607 echo "${ECHO_T}$ac_cv_host" >&6; }
2608 case $ac_cv_host in
2609 *-*-*) ;;
2610 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2611 echo "$as_me: error: invalid value of canonical host" >&2;}
2612 { (exit 1); exit 1; }; };;
2613 esac
2614 host=$ac_cv_host
2615 ac_save_IFS=$IFS; IFS='-'
2616 set x $ac_cv_host
2617 shift
2618 host_cpu=$1
2619 host_vendor=$2
2620 shift; shift
2621 # Remember, the first character of IFS is used to create $*,
2622 # except with old shells:
2623 host_os=$*
2624 IFS=$ac_save_IFS
2625 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2626
2627
2628
2629 if test "$cross_compiling" != "no"; then
2630 HOST_PREFIX="${host_alias}-"
2631 HOST_SUFFIX="-$host_alias"
2632 else
2633 HOST_PREFIX=
2634 HOST_SUFFIX=
2635 fi
2636
2637
2638 wx_major_version_number=2
2639 wx_minor_version_number=9
2640 wx_release_number=4
2641 wx_subrelease_number=0
2642
2643 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2644 WX_VERSION=$WX_RELEASE.$wx_release_number
2645 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2646
2647 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2648
2649
2650 wx_top_builddir="`pwd`"
2651
2652
2653
2654
2655 USE_UNIX=1
2656 USE_OS2=0
2657 USE_WIN32=0
2658 USE_DOS=0
2659 USE_BEOS=0
2660 USE_MAC=0
2661
2662 USE_AIX=
2663 USE_BSD= USE_DARWIN= USE_FREEBSD=
2664 USE_GNU= USE_HPUX=
2665 USE_LINUX=
2666 USE_NETBSD=
2667 USE_OPENBSD=
2668 USE_OSF= USE_SGI=
2669 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2670 USE_ULTRIX=
2671 USE_UNIXWARE=
2672
2673 USE_ALPHA=
2674
2675 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2676
2677 ALL_TOOLKITS="COCOA GTK OSX_CARBON OSX_COCOA OSX_IPHONE MICROWIN MOTIF MSW PM X11 DFB"
2678
2679 DEFAULT_wxUSE_OLD_COCOA=0
2680 DEFAULT_wxUSE_GTK=0
2681 DEFAULT_wxUSE_OSX_CARBON=0
2682 DEFAULT_wxUSE_OSX_COCOA=0
2683 DEFAULT_wxUSE_OSX_IPHONE=0
2684 DEFAULT_wxUSE_MICROWIN=0
2685 DEFAULT_wxUSE_MOTIF=0
2686 DEFAULT_wxUSE_MSW=0
2687 DEFAULT_wxUSE_PM=0
2688 DEFAULT_wxUSE_X11=0
2689 DEFAULT_wxUSE_DFB=0
2690
2691 DEFAULT_DEFAULT_wxUSE_OLD_COCOA=0
2692 DEFAULT_DEFAULT_wxUSE_GTK=0
2693 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=0
2694 DEFAULT_DEFAULT_wxUSE_OSX_COCOA=0
2695 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE=0
2696 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2697 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2698 DEFAULT_DEFAULT_wxUSE_MSW=0
2699 DEFAULT_DEFAULT_wxUSE_PM=0
2700 DEFAULT_DEFAULT_wxUSE_X11=0
2701 DEFAULT_DEFAULT_wxUSE_DFB=0
2702
2703 PROGRAM_EXT=
2704 SAMPLES_RPATH_FLAG=
2705 DYLIB_RPATH_INSTALL=
2706 DYLIB_RPATH_POSTLINK=
2707
2708 DEFAULT_STD_FLAG=yes
2709
2710 case "${host}" in
2711 *-hp-hpux* )
2712 USE_HPUX=1
2713 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2714 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2715 cat >>confdefs.h <<\_ACEOF
2716 #define __HPUX__ 1
2717 _ACEOF
2718
2719
2720 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2721 ;;
2722 *-*-linux* )
2723 USE_LINUX=1
2724 cat >>confdefs.h <<\_ACEOF
2725 #define __LINUX__ 1
2726 _ACEOF
2727
2728 TMP=`uname -m`
2729 if test "x$TMP" = "xalpha"; then
2730 USE_ALPHA=1
2731 cat >>confdefs.h <<\_ACEOF
2732 #define __ALPHA__ 1
2733 _ACEOF
2734
2735 fi
2736 DEFAULT_DEFAULT_wxUSE_GTK=1
2737 ;;
2738 *-*-gnu* | *-*-k*bsd*-gnu )
2739 USE_GNU=1
2740 TMP=`uname -m`
2741 if test "x$TMP" = "xalpha"; then
2742 USE_ALPHA=1
2743 cat >>confdefs.h <<\_ACEOF
2744 #define __ALPHA__ 1
2745 _ACEOF
2746
2747 fi
2748 DEFAULT_DEFAULT_wxUSE_GTK=1
2749 ;;
2750 *-*-irix5* | *-*-irix6* )
2751 USE_SGI=1
2752 USE_SVR4=1
2753 cat >>confdefs.h <<\_ACEOF
2754 #define __SGI__ 1
2755 _ACEOF
2756
2757 cat >>confdefs.h <<\_ACEOF
2758 #define __SVR4__ 1
2759 _ACEOF
2760
2761 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2762 ;;
2763 *-*-qnx*)
2764 USE_QNX=1
2765 cat >>confdefs.h <<\_ACEOF
2766 #define __QNX__ 1
2767 _ACEOF
2768
2769 DEFAULT_DEFAULT_wxUSE_X11=1
2770 ;;
2771 *-*-solaris2* )
2772 USE_SUN=1
2773 USE_SOLARIS=1
2774 USE_SVR4=1
2775 cat >>confdefs.h <<\_ACEOF
2776 #define __SUN__ 1
2777 _ACEOF
2778
2779 cat >>confdefs.h <<\_ACEOF
2780 #define __SOLARIS__ 1
2781 _ACEOF
2782
2783 cat >>confdefs.h <<\_ACEOF
2784 #define __SVR4__ 1
2785 _ACEOF
2786
2787 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2788 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2789 ;;
2790 *-*-sunos4* )
2791 USE_SUN=1
2792 USE_SUNOS=1
2793 USE_BSD=1
2794 cat >>confdefs.h <<\_ACEOF
2795 #define __SUN__ 1
2796 _ACEOF
2797
2798 cat >>confdefs.h <<\_ACEOF
2799 #define __SUNOS__ 1
2800 _ACEOF
2801
2802 cat >>confdefs.h <<\_ACEOF
2803 #define __BSD__ 1
2804 _ACEOF
2805
2806 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2807 ;;
2808 *-*-freebsd*)
2809 USE_BSD=1
2810 USE_FREEBSD=1
2811 cat >>confdefs.h <<\_ACEOF
2812 #define __FREEBSD__ 1
2813 _ACEOF
2814
2815 cat >>confdefs.h <<\_ACEOF
2816 #define __BSD__ 1
2817 _ACEOF
2818
2819 DEFAULT_DEFAULT_wxUSE_GTK=1
2820 ;;
2821 *-*-openbsd*|*-*-mirbsd*)
2822 USE_BSD=1
2823 USE_OPENBSD=1
2824 cat >>confdefs.h <<\_ACEOF
2825 #define __OPENBSD__ 1
2826 _ACEOF
2827
2828 cat >>confdefs.h <<\_ACEOF
2829 #define __BSD__ 1
2830 _ACEOF
2831
2832 DEFAULT_DEFAULT_wxUSE_GTK=1
2833 ;;
2834 *-*-netbsd*)
2835 USE_BSD=1
2836 USE_NETBSD=1
2837 cat >>confdefs.h <<\_ACEOF
2838 #define __NETBSD__ 1
2839 _ACEOF
2840
2841 cat >>confdefs.h <<\_ACEOF
2842 #define __BSD__ 1
2843 _ACEOF
2844
2845 DEFAULT_DEFAULT_wxUSE_GTK=1
2846 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2847
2848 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2849 ;;
2850 *-*-osf* )
2851 USE_ALPHA=1
2852 USE_OSF=1
2853 cat >>confdefs.h <<\_ACEOF
2854 #define __ALPHA__ 1
2855 _ACEOF
2856
2857 cat >>confdefs.h <<\_ACEOF
2858 #define __OSF__ 1
2859 _ACEOF
2860
2861 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2862 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2863 ;;
2864 *-*-dgux5* )
2865 USE_ALPHA=1
2866 USE_SVR4=1
2867 cat >>confdefs.h <<\_ACEOF
2868 #define __ALPHA__ 1
2869 _ACEOF
2870
2871 cat >>confdefs.h <<\_ACEOF
2872 #define __SVR4__ 1
2873 _ACEOF
2874
2875 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2876 ;;
2877 *-*-sysv5* )
2878 USE_SYSV=1
2879 USE_SVR4=1
2880 cat >>confdefs.h <<\_ACEOF
2881 #define __SYSV__ 1
2882 _ACEOF
2883
2884 cat >>confdefs.h <<\_ACEOF
2885 #define __SVR4__ 1
2886 _ACEOF
2887
2888 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2889 ;;
2890 *-*-aix* )
2891 USE_AIX=1
2892 USE_SYSV=1
2893 USE_SVR4=1
2894 cat >>confdefs.h <<\_ACEOF
2895 #define __AIX__ 1
2896 _ACEOF
2897
2898 cat >>confdefs.h <<\_ACEOF
2899 #define __SYSV__ 1
2900 _ACEOF
2901
2902 cat >>confdefs.h <<\_ACEOF
2903 #define __SVR4__ 1
2904 _ACEOF
2905
2906 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2907 ;;
2908
2909 *-*-*UnixWare*)
2910 USE_SYSV=1
2911 USE_SVR4=1
2912 USE_UNIXWARE=1
2913 cat >>confdefs.h <<\_ACEOF
2914 #define __UNIXWARE__ 1
2915 _ACEOF
2916
2917 ;;
2918
2919 *-*-cygwin* | *-*-mingw32* )
2920 PROGRAM_EXT=".exe"
2921 DEFAULT_DEFAULT_wxUSE_MSW=1
2922 ;;
2923
2924 *-pc-msdosdjgpp )
2925 USE_UNIX=0
2926 USE_DOS=1
2927 cat >>confdefs.h <<\_ACEOF
2928 #define __DOS__ 1
2929 _ACEOF
2930
2931 PROGRAM_EXT=".exe"
2932 ;;
2933
2934 *-pc-os2_emx | *-pc-os2-emx )
2935 cat >>confdefs.h <<\_ACEOF
2936 #define __EMX__ 1
2937 _ACEOF
2938
2939 USE_OS2=1
2940 cat >>confdefs.h <<\_ACEOF
2941 #define __OS2__ 1
2942 _ACEOF
2943
2944 PROGRAM_EXT=".exe"
2945 DEFAULT_DEFAULT_wxUSE_PM=1
2946 CXX=gcc
2947 LDFLAGS="$LDFLAGS -Zcrtdll"
2948 ac_executable_extensions=".exe"
2949 export ac_executable_extensions
2950 ac_save_IFS="$IFS"
2951 IFS='\\'
2952 ac_TEMP_PATH=
2953 for ac_dir in $PATH; do
2954 IFS=$ac_save_IFS
2955 if test -z "$ac_TEMP_PATH"; then
2956 ac_TEMP_PATH="$ac_dir"
2957 else
2958 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2959 fi
2960 done
2961 export PATH="$ac_TEMP_PATH"
2962 unset ac_TEMP_PATH
2963 DEFAULT_STD_FLAG=no
2964 ;;
2965
2966 arm-apple-darwin*)
2967 USE_BSD=1
2968 USE_DARWIN=1
2969 cat >>confdefs.h <<\_ACEOF
2970 #define __BSD__ 1
2971 _ACEOF
2972
2973 cat >>confdefs.h <<\_ACEOF
2974 #define __DARWIN__ 1
2975 _ACEOF
2976
2977 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE=1
2978 ;;
2979
2980 *-*-darwin* )
2981 USE_BSD=1
2982 USE_DARWIN=1
2983 cat >>confdefs.h <<\_ACEOF
2984 #define __BSD__ 1
2985 _ACEOF
2986
2987 cat >>confdefs.h <<\_ACEOF
2988 #define __DARWIN__ 1
2989 _ACEOF
2990
2991 cat >>confdefs.h <<\_ACEOF
2992 #define TARGET_CARBON 1
2993 _ACEOF
2994
2995 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=1
2996 ;;
2997
2998 *-*-beos* )
2999 USE_BEOS=1
3000 cat >>confdefs.h <<\_ACEOF
3001 #define __BEOS__ 1
3002 _ACEOF
3003
3004 ;;
3005
3006 *)
3007 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
3008 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
3009 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
3010 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
3011
3012 DEFAULT_DEFAULT_wxUSE_X11=1
3013 DEFAULT_wxUSE_SHARED=no
3014 esac
3015
3016
3017
3018 DEFAULT_wxUSE_ALL_FEATURES=yes
3019
3020 DEFAULT_wxUSE_STD_CONTAINERS=no
3021 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
3022 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
3023
3024 DEFAULT_wxUSE_DMALLOC=no
3025 DEFAULT_wxUSE_LIBGNOMEVFS=no
3026 DEFAULT_wxUSE_LIBHILDON=no
3027 DEFAULT_wxUSE_LIBHILDON2=no
3028 DEFAULT_wxUSE_LIBMSPACK=no
3029 DEFAULT_wxUSE_LIBSDL=no
3030
3031 DEFAULT_wxUSE_ACCESSIBILITY=no
3032 DEFAULT_wxUSE_IPV6=no
3033 DEFAULT_wxUSE_GSTREAMER8=no
3034
3035 DEFAULT_wxUSE_ARTPROVIDER_TANGO=auto
3036 DEFAULT_wxUSE_UNICODE_UTF8=auto
3037 DEFAULT_wxUSE_OPENGL=auto
3038 DEFAULT_wxUSE_MEDIACTRL=auto
3039 DEFAULT_wxUSE_COMPILER_TLS=auto
3040 DEFAULT_wxUSE_HOTKEY=auto
3041 DEFAULT_wxUSE_METAFILE=auto
3042
3043 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
3044
3045 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
3046 DEFAULT_wxUSE_MAC_ARCH=no
3047
3048 DEFAULT_wxUSE_OFFICIAL_BUILD=no
3049
3050 DEFAULT_wxUSE_GTK2=yes
3051
3052 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
3053
3054
3055
3056
3057
3058 enablestring=disable
3059 defaultval=
3060 if test -z "$defaultval"; then
3061 if test x"$enablestring" = xdisable; then
3062 defaultval=yes
3063 else
3064 defaultval=no
3065 fi
3066 fi
3067
3068 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
3069 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
3070 # Check whether --enable-gui was given.
3071 if test "${enable_gui+set}" = set; then
3072 enableval=$enable_gui;
3073 if test "$enableval" = yes; then
3074 wx_cv_use_gui='wxUSE_GUI=yes'
3075 else
3076 wx_cv_use_gui='wxUSE_GUI=no'
3077 fi
3078
3079 else
3080
3081 wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
3082
3083 fi
3084
3085
3086 eval "$wx_cv_use_gui"
3087
3088 if test x"$enablestring" = xdisable; then
3089 if test $wxUSE_GUI = no; then
3090 result=yes
3091 else
3092 result=no
3093 fi
3094 else
3095 result=$wxUSE_GUI
3096 fi
3097
3098 { echo "$as_me:$LINENO: result: $result" >&5
3099 echo "${ECHO_T}$result" >&6; }
3100
3101
3102 enablestring=
3103 defaultval=
3104 if test -z "$defaultval"; then
3105 if test x"$enablestring" = xdisable; then
3106 defaultval=yes
3107 else
3108 defaultval=no
3109 fi
3110 fi
3111
3112 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3113 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3114 # Check whether --enable-monolithic was given.
3115 if test "${enable_monolithic+set}" = set; then
3116 enableval=$enable_monolithic;
3117 if test "$enableval" = yes; then
3118 wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3119 else
3120 wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3121 fi
3122
3123 else
3124
3125 wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3126
3127 fi
3128
3129
3130 eval "$wx_cv_use_monolithic"
3131
3132 if test x"$enablestring" = xdisable; then
3133 if test $wxUSE_MONOLITHIC = no; then
3134 result=yes
3135 else
3136 result=no
3137 fi
3138 else
3139 result=$wxUSE_MONOLITHIC
3140 fi
3141
3142 { echo "$as_me:$LINENO: result: $result" >&5
3143 echo "${ECHO_T}$result" >&6; }
3144
3145
3146 enablestring=
3147 defaultval=
3148 if test -z "$defaultval"; then
3149 if test x"$enablestring" = xdisable; then
3150 defaultval=yes
3151 else
3152 defaultval=no
3153 fi
3154 fi
3155
3156 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3157 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3158 # Check whether --enable-plugins was given.
3159 if test "${enable_plugins+set}" = set; then
3160 enableval=$enable_plugins;
3161 if test "$enableval" = yes; then
3162 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3163 else
3164 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3165 fi
3166
3167 else
3168
3169 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3170
3171 fi
3172
3173
3174 eval "$wx_cv_use_plugins"
3175
3176 if test x"$enablestring" = xdisable; then
3177 if test $wxUSE_PLUGINS = no; then
3178 result=yes
3179 else
3180 result=no
3181 fi
3182 else
3183 result=$wxUSE_PLUGINS
3184 fi
3185
3186 { echo "$as_me:$LINENO: result: $result" >&5
3187 echo "${ECHO_T}$result" >&6; }
3188
3189
3190 withstring=without
3191 defaultval=$wxUSE_ALL_FEATURES
3192 if test -z "$defaultval"; then
3193 if test x"$withstring" = xwithout; then
3194 defaultval=yes
3195 else
3196 defaultval=no
3197 fi
3198 fi
3199 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3200 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3201
3202 # Check whether --with-subdirs was given.
3203 if test "${with_subdirs+set}" = set; then
3204 withval=$with_subdirs;
3205 if test "$withval" = yes; then
3206 wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3207 else
3208 wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
3209 fi
3210
3211 else
3212
3213 wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3214
3215 fi
3216
3217
3218 eval "$wx_cv_use_subdirs"
3219
3220 if test x"$withstring" = xwithout; then
3221 if test $wxWITH_SUBDIRS = yes; then
3222 result=no
3223 else
3224 result=yes
3225 fi
3226 else
3227 result=$wxWITH_SUBDIRS
3228 fi
3229
3230 { echo "$as_me:$LINENO: result: $result" >&5
3231 echo "${ECHO_T}$result" >&6; }
3232
3233
3234 # Check whether --with-flavour was given.
3235 if test "${with_flavour+set}" = set; then
3236 withval=$with_flavour; WX_FLAVOUR="$withval"
3237 fi
3238
3239
3240 enablestring=
3241 defaultval=
3242 if test -z "$defaultval"; then
3243 if test x"$enablestring" = xdisable; then
3244 defaultval=yes
3245 else
3246 defaultval=no
3247 fi
3248 fi
3249
3250 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3251 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3252 # Check whether --enable-official_build was given.
3253 if test "${enable_official_build+set}" = set; then
3254 enableval=$enable_official_build;
3255 if test "$enableval" = yes; then
3256 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
3257 else
3258 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
3259 fi
3260
3261 else
3262
3263 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3264
3265 fi
3266
3267
3268 eval "$wx_cv_use_official_build"
3269
3270 if test x"$enablestring" = xdisable; then
3271 if test $wxUSE_OFFICIAL_BUILD = no; then
3272 result=yes
3273 else
3274 result=no
3275 fi
3276 else
3277 result=$wxUSE_OFFICIAL_BUILD
3278 fi
3279
3280 { echo "$as_me:$LINENO: result: $result" >&5
3281 echo "${ECHO_T}$result" >&6; }
3282
3283 # Check whether --enable-vendor was given.
3284 if test "${enable_vendor+set}" = set; then
3285 enableval=$enable_vendor; VENDOR="$enableval"
3286 fi
3287
3288 if test "x$VENDOR" = "x"; then
3289 VENDOR="custom"
3290 fi
3291
3292
3293 enablestring=disable
3294 defaultval=
3295 if test -z "$defaultval"; then
3296 if test x"$enablestring" = xdisable; then
3297 defaultval=yes
3298 else
3299 defaultval=no
3300 fi
3301 fi
3302
3303 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-all-features" >&5
3304 echo $ECHO_N "checking for --${enablestring:-enable}-all-features... $ECHO_C" >&6; }
3305 # Check whether --enable-all-features was given.
3306 if test "${enable_all_features+set}" = set; then
3307 enableval=$enable_all_features;
3308 if test "$enableval" = yes; then
3309 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3310 else
3311 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3312 fi
3313
3314 else
3315
3316 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3317
3318 fi
3319
3320
3321 eval "$wx_cv_use_all_features"
3322
3323 if test x"$enablestring" = xdisable; then
3324 if test $wxUSE_ALL_FEATURES = no; then
3325 result=yes
3326 else
3327 result=no
3328 fi
3329 else
3330 result=$wxUSE_ALL_FEATURES
3331 fi
3332
3333 { echo "$as_me:$LINENO: result: $result" >&5
3334 echo "${ECHO_T}$result" >&6; }
3335
3336
3337 if test "$wxUSE_ALL_FEATURES" = "no"; then
3338 DEFAULT_wxUSE_ARTPROVIDER_TANGO=no
3339 DEFAULT_wxUSE_MEDIACTRL=no
3340 fi
3341
3342
3343 if test "$wxUSE_GUI" = "yes"; then
3344
3345
3346 enablestring=
3347 defaultval=
3348 if test -z "$defaultval"; then
3349 if test x"$enablestring" = xdisable; then
3350 defaultval=yes
3351 else
3352 defaultval=no
3353 fi
3354 fi
3355
3356 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3357 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3358 # Check whether --enable-universal was given.
3359 if test "${enable_universal+set}" = set; then
3360 enableval=$enable_universal;
3361 if test "$enableval" = yes; then
3362 wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
3363 else
3364 wx_cv_use_universal='wxUSE_UNIVERSAL=no'
3365 fi
3366
3367 else
3368
3369 wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3370
3371 fi
3372
3373
3374 eval "$wx_cv_use_universal"
3375
3376 if test x"$enablestring" = xdisable; then
3377 if test $wxUSE_UNIVERSAL = no; then
3378 result=yes
3379 else
3380 result=no
3381 fi
3382 else
3383 result=$wxUSE_UNIVERSAL
3384 fi
3385
3386 { echo "$as_me:$LINENO: result: $result" >&5
3387 echo "${ECHO_T}$result" >&6; }
3388
3389 if test "$wxUSE_UNIVERSAL" = "yes"; then
3390
3391 # Check whether --with-themes was given.
3392 if test "${with_themes+set}" = set; then
3393 withval=$with_themes; wxUNIV_THEMES="$withval"
3394 fi
3395
3396 fi
3397
3398
3399 # Check whether --with-gtk was given.
3400 if test "${with_gtk+set}" = set; then
3401 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3402 fi
3403
3404
3405 # Check whether --with-motif was given.
3406 if test "${with_motif+set}" = set; then
3407 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3408 fi
3409
3410
3411 # Check whether --with-osx_carbon was given.
3412 if test "${with_osx_carbon+set}" = set; then
3413 withval=$with_osx_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3414 fi
3415
3416
3417 # Check whether --with-osx_cocoa was given.
3418 if test "${with_osx_cocoa+set}" = set; then
3419 withval=$with_osx_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3420 fi
3421
3422
3423 # Check whether --with-osx_iphone was given.
3424 if test "${with_osx_iphone+set}" = set; then
3425 withval=$with_osx_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
3426 fi
3427
3428
3429 # Check whether --with-osx was given.
3430 if test "${with_osx+set}" = set; then
3431 withval=$with_osx; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3432 fi
3433
3434
3435 # Check whether --with-carbon was given.
3436 if test "${with_carbon+set}" = set; then
3437 withval=$with_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3438 fi
3439
3440
3441 # Check whether --with-cocoa was given.
3442 if test "${with_cocoa+set}" = set; then
3443 withval=$with_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3444 fi
3445
3446
3447 # Check whether --with-iphone was given.
3448 if test "${with_iphone+set}" = set; then
3449 withval=$with_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
3450 fi
3451
3452
3453 # Check whether --with-mac was given.
3454 if test "${with_mac+set}" = set; then
3455 withval=$with_mac; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3456 fi
3457
3458
3459 # Check whether --with-old_cocoa was given.
3460 if test "${with_old_cocoa+set}" = set; then
3461 withval=$with_old_cocoa; wxUSE_OLD_COCOA="$withval" CACHE_OLD_COCOA=1 TOOLKIT_GIVEN=1
3462 fi
3463
3464
3465 # Check whether --with-wine was given.
3466 if test "${with_wine+set}" = set; then
3467 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3468 fi
3469
3470
3471 # Check whether --with-msw was given.
3472 if test "${with_msw+set}" = set; then
3473 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3474 fi
3475
3476
3477 # Check whether --with-pm was given.
3478 if test "${with_pm+set}" = set; then
3479 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3480 fi
3481
3482
3483 # Check whether --with-directfb was given.
3484 if test "${with_directfb+set}" = set; then
3485 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3486 fi
3487
3488
3489 # Check whether --with-microwin was given.
3490 if test "${with_microwin+set}" = set; then
3491 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3492 fi
3493
3494
3495 # Check whether --with-x11 was given.
3496 if test "${with_x11+set}" = set; then
3497 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3498 fi
3499
3500
3501 enablestring=
3502 defaultval=
3503 if test -z "$defaultval"; then
3504 if test x"$enablestring" = xdisable; then
3505 defaultval=yes
3506 else
3507 defaultval=no
3508 fi
3509 fi
3510
3511 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3512 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3513 # Check whether --enable-nanox was given.
3514 if test "${enable_nanox+set}" = set; then
3515 enableval=$enable_nanox;
3516 if test "$enableval" = yes; then
3517 wx_cv_use_nanox='wxUSE_NANOX=yes'
3518 else
3519 wx_cv_use_nanox='wxUSE_NANOX=no'
3520 fi
3521
3522 else
3523
3524 wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3525
3526 fi
3527
3528
3529 eval "$wx_cv_use_nanox"
3530
3531 if test x"$enablestring" = xdisable; then
3532 if test $wxUSE_NANOX = no; then
3533 result=yes
3534 else
3535 result=no
3536 fi
3537 else
3538 result=$wxUSE_NANOX
3539 fi
3540
3541 { echo "$as_me:$LINENO: result: $result" >&5
3542 echo "${ECHO_T}$result" >&6; }
3543
3544
3545 # Check whether --enable-gtk2 was given.
3546 if test "${enable_gtk2+set}" = set; then
3547 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3548 fi
3549
3550
3551 enablestring=
3552 defaultval=
3553 if test -z "$defaultval"; then
3554 if test x"$enablestring" = xdisable; then
3555 defaultval=yes
3556 else
3557 defaultval=no
3558 fi
3559 fi
3560
3561 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3562 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3563 # Check whether --enable-gpe was given.
3564 if test "${enable_gpe+set}" = set; then
3565 enableval=$enable_gpe;
3566 if test "$enableval" = yes; then
3567 wx_cv_use_gpe='wxUSE_GPE=yes'
3568 else
3569 wx_cv_use_gpe='wxUSE_GPE=no'
3570 fi
3571
3572 else
3573
3574 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3575
3576 fi
3577
3578
3579 eval "$wx_cv_use_gpe"
3580
3581 if test x"$enablestring" = xdisable; then
3582 if test $wxUSE_GPE = no; then
3583 result=yes
3584 else
3585 result=no
3586 fi
3587 else
3588 result=$wxUSE_GPE
3589 fi
3590
3591 { echo "$as_me:$LINENO: result: $result" >&5
3592 echo "${ECHO_T}$result" >&6; }
3593
3594
3595
3596 { echo "$as_me:$LINENO: checking for toolkit" >&5
3597 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
3598
3599
3600
3601 # In Wine, we need to default to MSW, not GTK or MOTIF
3602 if test "$wxUSE_WINE" = "yes"; then
3603 DEFAULT_DEFAULT_wxUSE_GTK=0
3604 DEFAULT_DEFAULT_wxUSE_MOTIF=0
3605 DEFAULT_DEFAULT_wxUSE_MSW=1
3606 wxUSE_SHARED=no
3607 CC=${CC:-winegcc}
3608 CXX=${CXX:-wineg++}
3609 fi
3610
3611
3612 if test "$wxUSE_GUI" = "yes"; then
3613
3614 if test "$USE_BEOS" = 1; then
3615 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
3616 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
3617 { (exit 1); exit 1; }; }
3618 fi
3619
3620 if test "$TOOLKIT_GIVEN" = 1; then
3621 for toolkit in $ALL_TOOLKITS; do
3622 var=wxUSE_$toolkit
3623 eval "value=\$${var}"
3624 if test "x$value" = "xno"; then
3625 eval "$var=0"
3626 elif test "x$value" != "x"; then
3627 eval "$var=1"
3628 fi
3629
3630 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
3631 eval "wx${toolkit}_VERSION=$value"
3632 fi
3633 done
3634 else
3635 for toolkit in $ALL_TOOLKITS; do
3636 var=DEFAULT_DEFAULT_wxUSE_$toolkit
3637 eval "wxUSE_$toolkit=\$${var}"
3638 done
3639 fi
3640
3641 NUM_TOOLKITS=`expr ${wxUSE_OLD_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_OSX_CARBON:-0} \
3642 + ${wxUSE_OSX_COCOA:-0} + ${wxUSE_OSX_IPHONE:-0} + ${wxUSE_DFB:-0} \
3643 + ${wxUSE_MICROWIN:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
3644
3645 case "${host}" in
3646 *-pc-os2_emx | *-pc-os2-emx )
3647 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
3648 esac
3649
3650 case "$NUM_TOOLKITS" in
3651 1)
3652 ;;
3653 0)
3654 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
3655 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
3656 { (exit 1); exit 1; }; }
3657 ;;
3658 *)
3659 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit" >&5
3660 echo "$as_me: error: Please specify at most one toolkit" >&2;}
3661 { (exit 1); exit 1; }; }
3662 esac
3663
3664 # to be removed when --disable-gtk2 isn't needed
3665 if test "x$wxUSE_GTK2" = "xyes"; then
3666 wxGTK_VERSION=2
3667 wxUSE_GTK1=0
3668 elif test "x$wxUSE_GTK2" = "xno"; then
3669 wxGTK_VERSION=1
3670 wxUSE_GTK1=1
3671 fi
3672
3673 for toolkit in $ALL_TOOLKITS; do
3674 var=wxUSE_$toolkit
3675 eval "value=\$${var}"
3676 if test "$value" = 1; then
3677 toolkit_echo=`echo $toolkit | tr '[A-Z]' '[a-z]'`
3678 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
3679 echo "${ECHO_T}$toolkit_echo" >&6; }
3680 fi
3681 done
3682 else
3683 if test "x$host_alias" != "x"; then
3684 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
3685 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
3686 else
3687 { echo "$as_me:$LINENO: result: base only" >&5
3688 echo "${ECHO_T}base only" >&6; }
3689 fi
3690 fi
3691
3692 wxUSE_MAC=0
3693 if test "$wxUSE_OSX_CARBON" = 1 \
3694 -o "$wxUSE_OSX_COCOA" = 1 \
3695 -o "$wxUSE_OSX_IPHONE" = 1; then
3696 wxUSE_MAC=1
3697 fi
3698
3699
3700
3701 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3702 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3703
3704 # Check whether --with-libpng was given.
3705 if test "${with_libpng+set}" = set; then
3706 withval=$with_libpng;
3707 if test "$withval" = yes; then
3708 wx_cv_use_libpng='wxUSE_LIBPNG=yes'
3709 elif test "$withval" = no; then
3710 wx_cv_use_libpng='wxUSE_LIBPNG=no'
3711 elif test "$withval" = sys; then
3712 wx_cv_use_libpng='wxUSE_LIBPNG=sys'
3713 elif test "$withval" = builtin; then
3714 wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
3715 else
3716 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3717 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3718 { (exit 1); exit 1; }; }
3719 fi
3720
3721 else
3722
3723 wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3724
3725 fi
3726
3727
3728 eval "$wx_cv_use_libpng"
3729
3730 if test "$wxUSE_LIBPNG" = yes; then
3731 { echo "$as_me:$LINENO: result: yes" >&5
3732 echo "${ECHO_T}yes" >&6; }
3733 elif test "$wxUSE_LIBPNG" = no; then
3734 { echo "$as_me:$LINENO: result: no" >&5
3735 echo "${ECHO_T}no" >&6; }
3736 elif test "$wxUSE_LIBPNG" = sys; then
3737 { echo "$as_me:$LINENO: result: system version" >&5
3738 echo "${ECHO_T}system version" >&6; }
3739 elif test "$wxUSE_LIBPNG" = builtin; then
3740 { echo "$as_me:$LINENO: result: builtin version" >&5
3741 echo "${ECHO_T}builtin version" >&6; }
3742 else
3743 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3744 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3745 { (exit 1); exit 1; }; }
3746 fi
3747
3748
3749 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3750 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3751
3752 # Check whether --with-libjpeg was given.
3753 if test "${with_libjpeg+set}" = set; then
3754 withval=$with_libjpeg;
3755 if test "$withval" = yes; then
3756 wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3757 elif test "$withval" = no; then
3758 wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3759 elif test "$withval" = sys; then
3760 wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3761 elif test "$withval" = builtin; then
3762 wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3763 else
3764 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3765 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3766 { (exit 1); exit 1; }; }
3767 fi
3768
3769 else
3770
3771 wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3772
3773 fi
3774
3775
3776 eval "$wx_cv_use_libjpeg"
3777
3778 if test "$wxUSE_LIBJPEG" = yes; then
3779 { echo "$as_me:$LINENO: result: yes" >&5
3780 echo "${ECHO_T}yes" >&6; }
3781 elif test "$wxUSE_LIBJPEG" = no; then
3782 { echo "$as_me:$LINENO: result: no" >&5
3783 echo "${ECHO_T}no" >&6; }
3784 elif test "$wxUSE_LIBJPEG" = sys; then
3785 { echo "$as_me:$LINENO: result: system version" >&5
3786 echo "${ECHO_T}system version" >&6; }
3787 elif test "$wxUSE_LIBJPEG" = builtin; then
3788 { echo "$as_me:$LINENO: result: builtin version" >&5
3789 echo "${ECHO_T}builtin version" >&6; }
3790 else
3791 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3792 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3793 { (exit 1); exit 1; }; }
3794 fi
3795
3796
3797 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3798 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3799
3800 # Check whether --with-libtiff was given.
3801 if test "${with_libtiff+set}" = set; then
3802 withval=$with_libtiff;
3803 if test "$withval" = yes; then
3804 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3805 elif test "$withval" = no; then
3806 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3807 elif test "$withval" = sys; then
3808 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3809 elif test "$withval" = builtin; then
3810 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3811 else
3812 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3813 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3814 { (exit 1); exit 1; }; }
3815 fi
3816
3817 else
3818
3819 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3820
3821 fi
3822
3823
3824 eval "$wx_cv_use_libtiff"
3825
3826 if test "$wxUSE_LIBTIFF" = yes; then
3827 { echo "$as_me:$LINENO: result: yes" >&5
3828 echo "${ECHO_T}yes" >&6; }
3829 elif test "$wxUSE_LIBTIFF" = no; then
3830 { echo "$as_me:$LINENO: result: no" >&5
3831 echo "${ECHO_T}no" >&6; }
3832 elif test "$wxUSE_LIBTIFF" = sys; then
3833 { echo "$as_me:$LINENO: result: system version" >&5
3834 echo "${ECHO_T}system version" >&6; }
3835 elif test "$wxUSE_LIBTIFF" = builtin; then
3836 { echo "$as_me:$LINENO: result: builtin version" >&5
3837 echo "${ECHO_T}builtin version" >&6; }
3838 else
3839 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3840 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3841 { (exit 1); exit 1; }; }
3842 fi
3843
3844
3845 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3846 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3847
3848 # Check whether --with-libxpm was given.
3849 if test "${with_libxpm+set}" = set; then
3850 withval=$with_libxpm;
3851 if test "$withval" = yes; then
3852 wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
3853 elif test "$withval" = no; then
3854 wx_cv_use_libxpm='wxUSE_LIBXPM=no'
3855 elif test "$withval" = sys; then
3856 wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
3857 elif test "$withval" = builtin; then
3858 wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3859 else
3860 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3861 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3862 { (exit 1); exit 1; }; }
3863 fi
3864
3865 else
3866
3867 wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3868
3869 fi
3870
3871
3872 eval "$wx_cv_use_libxpm"
3873
3874 if test "$wxUSE_LIBXPM" = yes; then
3875 { echo "$as_me:$LINENO: result: yes" >&5
3876 echo "${ECHO_T}yes" >&6; }
3877 elif test "$wxUSE_LIBXPM" = no; then
3878 { echo "$as_me:$LINENO: result: no" >&5
3879 echo "${ECHO_T}no" >&6; }
3880 elif test "$wxUSE_LIBXPM" = sys; then
3881 { echo "$as_me:$LINENO: result: system version" >&5
3882 echo "${ECHO_T}system version" >&6; }
3883 elif test "$wxUSE_LIBXPM" = builtin; then
3884 { echo "$as_me:$LINENO: result: builtin version" >&5
3885 echo "${ECHO_T}builtin version" >&6; }
3886 else
3887 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3888 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3889 { (exit 1); exit 1; }; }
3890 fi
3891
3892
3893 withstring=
3894 defaultval=$wxUSE_ALL_FEATURES
3895 if test -z "$defaultval"; then
3896 if test x"$withstring" = xwithout; then
3897 defaultval=yes
3898 else
3899 defaultval=no
3900 fi
3901 fi
3902 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libiconv" >&5
3903 echo $ECHO_N "checking for --${withstring:-with}-libiconv... $ECHO_C" >&6; }
3904
3905 # Check whether --with-libiconv was given.
3906 if test "${with_libiconv+set}" = set; then
3907 withval=$with_libiconv;
3908 if test "$withval" = yes; then
3909 wx_cv_use_libiconv='wxUSE_LIBICONV=yes'
3910 else
3911 wx_cv_use_libiconv='wxUSE_LIBICONV=no'
3912 fi
3913
3914 else
3915
3916 wx_cv_use_libiconv='wxUSE_LIBICONV=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
3917
3918 fi
3919
3920
3921 eval "$wx_cv_use_libiconv"
3922
3923 if test x"$withstring" = xwithout; then
3924 if test $wxUSE_LIBICONV = yes; then
3925 result=no
3926 else
3927 result=yes
3928 fi
3929 else
3930 result=$wxUSE_LIBICONV
3931 fi
3932
3933 { echo "$as_me:$LINENO: result: $result" >&5
3934 echo "${ECHO_T}$result" >&6; }
3935
3936
3937 withstring=
3938 defaultval=$wxUSE_ALL_FEATURES
3939 if test -z "$defaultval"; then
3940 if test x"$withstring" = xwithout; then
3941 defaultval=yes
3942 else
3943 defaultval=no
3944 fi
3945 fi
3946 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3947 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3948
3949 # Check whether --with-libmspack was given.
3950 if test "${with_libmspack+set}" = set; then
3951 withval=$with_libmspack;
3952 if test "$withval" = yes; then
3953 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3954 else
3955 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3956 fi
3957
3958 else
3959
3960 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3961
3962 fi
3963
3964
3965 eval "$wx_cv_use_libmspack"
3966
3967 if test x"$withstring" = xwithout; then
3968 if test $wxUSE_LIBMSPACK = yes; then
3969 result=no
3970 else
3971 result=yes
3972 fi
3973 else
3974 result=$wxUSE_LIBMSPACK
3975 fi
3976
3977 { echo "$as_me:$LINENO: result: $result" >&5
3978 echo "${ECHO_T}$result" >&6; }
3979
3980
3981 withstring=without
3982 defaultval=$wxUSE_ALL_FEATURES
3983 if test -z "$defaultval"; then
3984 if test x"$withstring" = xwithout; then
3985 defaultval=yes
3986 else
3987 defaultval=no
3988 fi
3989 fi
3990 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gtkprint" >&5
3991 echo $ECHO_N "checking for --${withstring:-with}-gtkprint... $ECHO_C" >&6; }
3992
3993 # Check whether --with-gtkprint was given.
3994 if test "${with_gtkprint+set}" = set; then
3995 withval=$with_gtkprint;
3996 if test "$withval" = yes; then
3997 wx_cv_use_gtkprint='wxUSE_GTKPRINT=yes'
3998 else
3999 wx_cv_use_gtkprint='wxUSE_GTKPRINT=no'
4000 fi
4001
4002 else
4003
4004 wx_cv_use_gtkprint='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
4005
4006 fi
4007
4008
4009 eval "$wx_cv_use_gtkprint"
4010
4011 if test x"$withstring" = xwithout; then
4012 if test $wxUSE_GTKPRINT = yes; then
4013 result=no
4014 else
4015 result=yes
4016 fi
4017 else
4018 result=$wxUSE_GTKPRINT
4019 fi
4020
4021 { echo "$as_me:$LINENO: result: $result" >&5
4022 echo "${ECHO_T}$result" >&6; }
4023
4024
4025 withstring=without
4026 defaultval=$wxUSE_ALL_FEATURES
4027 if test -z "$defaultval"; then
4028 if test x"$withstring" = xwithout; then
4029 defaultval=yes
4030 else
4031 defaultval=no
4032 fi
4033 fi
4034 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
4035 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
4036
4037 # Check whether --with-gnomeprint was given.
4038 if test "${with_gnomeprint+set}" = set; then
4039 withval=$with_gnomeprint;
4040 if test "$withval" = yes; then
4041 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
4042 else
4043 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
4044 fi
4045
4046 else
4047
4048 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
4049
4050 fi
4051
4052
4053 eval "$wx_cv_use_gnomeprint"
4054
4055 if test x"$withstring" = xwithout; then
4056 if test $wxUSE_LIBGNOMEPRINT = yes; then
4057 result=no
4058 else
4059 result=yes
4060 fi
4061 else
4062 result=$wxUSE_LIBGNOMEPRINT
4063 fi
4064
4065 { echo "$as_me:$LINENO: result: $result" >&5
4066 echo "${ECHO_T}$result" >&6; }
4067
4068
4069 withstring=
4070 defaultval=$wxUSE_ALL_FEATURES
4071 if test -z "$defaultval"; then
4072 if test x"$withstring" = xwithout; then
4073 defaultval=yes
4074 else
4075 defaultval=no
4076 fi
4077 fi
4078 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
4079 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
4080
4081 # Check whether --with-gnomevfs was given.
4082 if test "${with_gnomevfs+set}" = set; then
4083 withval=$with_gnomevfs;
4084 if test "$withval" = yes; then
4085 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
4086 else
4087 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
4088 fi
4089
4090 else
4091
4092 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
4093
4094 fi
4095
4096
4097 eval "$wx_cv_use_gnomevfs"
4098
4099 if test x"$withstring" = xwithout; then
4100 if test $wxUSE_LIBGNOMEVFS = yes; then
4101 result=no
4102 else
4103 result=yes
4104 fi
4105 else
4106 result=$wxUSE_LIBGNOMEVFS
4107 fi
4108
4109 { echo "$as_me:$LINENO: result: $result" >&5
4110 echo "${ECHO_T}$result" >&6; }
4111
4112
4113 withstring=
4114 defaultval=$wxUSE_ALL_FEATURES
4115 if test -z "$defaultval"; then
4116 if test x"$withstring" = xwithout; then
4117 defaultval=yes
4118 else
4119 defaultval=no
4120 fi
4121 fi
4122 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
4123 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
4124
4125 # Check whether --with-hildon was given.
4126 if test "${with_hildon+set}" = set; then
4127 withval=$with_hildon;
4128 if test "$withval" = yes; then
4129 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
4130 else
4131 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
4132 fi
4133
4134 else
4135
4136 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
4137
4138 fi
4139
4140
4141 eval "$wx_cv_use_hildon"
4142
4143 if test x"$withstring" = xwithout; then
4144 if test $wxUSE_LIBHILDON = yes; then
4145 result=no
4146 else
4147 result=yes
4148 fi
4149 else
4150 result=$wxUSE_LIBHILDON
4151 fi
4152
4153 { echo "$as_me:$LINENO: result: $result" >&5
4154 echo "${ECHO_T}$result" >&6; }
4155
4156
4157 withstring=
4158 defaultval=$wxUSE_ALL_FEATURES
4159 if test -z "$defaultval"; then
4160 if test x"$withstring" = xwithout; then
4161 defaultval=yes
4162 else
4163 defaultval=no
4164 fi
4165 fi
4166 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4167 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4168
4169 # Check whether --with-opengl was given.
4170 if test "${with_opengl+set}" = set; then
4171 withval=$with_opengl;
4172 if test "$withval" = yes; then
4173 wx_cv_use_opengl='wxUSE_OPENGL=yes'
4174 else
4175 wx_cv_use_opengl='wxUSE_OPENGL=no'
4176 fi
4177
4178 else
4179
4180 wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4181
4182 fi
4183
4184
4185 eval "$wx_cv_use_opengl"
4186
4187 if test x"$withstring" = xwithout; then
4188 if test $wxUSE_OPENGL = yes; then
4189 result=no
4190 else
4191 result=yes
4192 fi
4193 else
4194 result=$wxUSE_OPENGL
4195 fi
4196
4197 { echo "$as_me:$LINENO: result: $result" >&5
4198 echo "${ECHO_T}$result" >&6; }
4199
4200
4201 fi
4202
4203
4204 withstring=
4205 defaultval=$wxUSE_ALL_FEATURES
4206 if test -z "$defaultval"; then
4207 if test x"$withstring" = xwithout; then
4208 defaultval=yes
4209 else
4210 defaultval=no
4211 fi
4212 fi
4213 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4214 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4215
4216 # Check whether --with-dmalloc was given.
4217 if test "${with_dmalloc+set}" = set; then
4218 withval=$with_dmalloc;
4219 if test "$withval" = yes; then
4220 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4221 else
4222 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4223 fi
4224
4225 else
4226
4227 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4228
4229 fi
4230
4231
4232 eval "$wx_cv_use_dmalloc"
4233
4234 if test x"$withstring" = xwithout; then
4235 if test $wxUSE_DMALLOC = yes; then
4236 result=no
4237 else
4238 result=yes
4239 fi
4240 else
4241 result=$wxUSE_DMALLOC
4242 fi
4243
4244 { echo "$as_me:$LINENO: result: $result" >&5
4245 echo "${ECHO_T}$result" >&6; }
4246
4247
4248 withstring=
4249 defaultval=$wxUSE_ALL_FEATURES
4250 if test -z "$defaultval"; then
4251 if test x"$withstring" = xwithout; then
4252 defaultval=yes
4253 else
4254 defaultval=no
4255 fi
4256 fi
4257 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4258 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4259
4260 # Check whether --with-sdl was given.
4261 if test "${with_sdl+set}" = set; then
4262 withval=$with_sdl;
4263 if test "$withval" = yes; then
4264 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
4265 else
4266 wx_cv_use_sdl='wxUSE_LIBSDL=no'
4267 fi
4268
4269 else
4270
4271 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4272
4273 fi
4274
4275
4276 eval "$wx_cv_use_sdl"
4277
4278 if test x"$withstring" = xwithout; then
4279 if test $wxUSE_LIBSDL = yes; then
4280 result=no
4281 else
4282 result=yes
4283 fi
4284 else
4285 result=$wxUSE_LIBSDL
4286 fi
4287
4288 { echo "$as_me:$LINENO: result: $result" >&5
4289 echo "${ECHO_T}$result" >&6; }
4290
4291
4292 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4293 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4294
4295 # Check whether --with-regex was given.
4296 if test "${with_regex+set}" = set; then
4297 withval=$with_regex;
4298 if test "$withval" = yes; then
4299 wx_cv_use_regex='wxUSE_REGEX=yes'
4300 elif test "$withval" = no; then
4301 wx_cv_use_regex='wxUSE_REGEX=no'
4302 elif test "$withval" = sys; then
4303 wx_cv_use_regex='wxUSE_REGEX=sys'
4304 elif test "$withval" = builtin; then
4305 wx_cv_use_regex='wxUSE_REGEX=builtin'
4306 else
4307 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4308 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4309 { (exit 1); exit 1; }; }
4310 fi
4311
4312 else
4313
4314 wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4315
4316 fi
4317
4318
4319 eval "$wx_cv_use_regex"
4320
4321 if test "$wxUSE_REGEX" = yes; then
4322 { echo "$as_me:$LINENO: result: yes" >&5
4323 echo "${ECHO_T}yes" >&6; }
4324 elif test "$wxUSE_REGEX" = no; then
4325 { echo "$as_me:$LINENO: result: no" >&5
4326 echo "${ECHO_T}no" >&6; }
4327 elif test "$wxUSE_REGEX" = sys; then
4328 { echo "$as_me:$LINENO: result: system version" >&5
4329 echo "${ECHO_T}system version" >&6; }
4330 elif test "$wxUSE_REGEX" = builtin; then
4331 { echo "$as_me:$LINENO: result: builtin version" >&5
4332 echo "${ECHO_T}builtin version" >&6; }
4333 else
4334 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4335 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4336 { (exit 1); exit 1; }; }
4337 fi
4338
4339
4340 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4341 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4342
4343 # Check whether --with-zlib was given.
4344 if test "${with_zlib+set}" = set; then
4345 withval=$with_zlib;
4346 if test "$withval" = yes; then
4347 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4348 elif test "$withval" = no; then
4349 wx_cv_use_zlib='wxUSE_ZLIB=no'
4350 elif test "$withval" = sys; then
4351 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4352 elif test "$withval" = builtin; then
4353 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4354 else
4355 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4356 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4357 { (exit 1); exit 1; }; }
4358 fi
4359
4360 else
4361
4362 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4363
4364 fi
4365
4366
4367 eval "$wx_cv_use_zlib"
4368
4369 if test "$wxUSE_ZLIB" = yes; then
4370 { echo "$as_me:$LINENO: result: yes" >&5
4371 echo "${ECHO_T}yes" >&6; }
4372 elif test "$wxUSE_ZLIB" = no; then
4373 { echo "$as_me:$LINENO: result: no" >&5
4374 echo "${ECHO_T}no" >&6; }
4375 elif test "$wxUSE_ZLIB" = sys; then
4376 { echo "$as_me:$LINENO: result: system version" >&5
4377 echo "${ECHO_T}system version" >&6; }
4378 elif test "$wxUSE_ZLIB" = builtin; then
4379 { echo "$as_me:$LINENO: result: builtin version" >&5
4380 echo "${ECHO_T}builtin version" >&6; }
4381 else
4382 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4383 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4384 { (exit 1); exit 1; }; }
4385 fi
4386
4387
4388 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4389 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4390
4391 # Check whether --with-expat was given.
4392 if test "${with_expat+set}" = set; then
4393 withval=$with_expat;
4394 if test "$withval" = yes; then
4395 wx_cv_use_expat='wxUSE_EXPAT=yes'
4396 elif test "$withval" = no; then
4397 wx_cv_use_expat='wxUSE_EXPAT=no'
4398 elif test "$withval" = sys; then
4399 wx_cv_use_expat='wxUSE_EXPAT=sys'
4400 elif test "$withval" = builtin; then
4401 wx_cv_use_expat='wxUSE_EXPAT=builtin'
4402 else
4403 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4404 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4405 { (exit 1); exit 1; }; }
4406 fi
4407
4408 else
4409
4410 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4411
4412 fi
4413
4414
4415 eval "$wx_cv_use_expat"
4416
4417 if test "$wxUSE_EXPAT" = yes; then
4418 { echo "$as_me:$LINENO: result: yes" >&5
4419 echo "${ECHO_T}yes" >&6; }
4420 elif test "$wxUSE_EXPAT" = no; then
4421 { echo "$as_me:$LINENO: result: no" >&5
4422 echo "${ECHO_T}no" >&6; }
4423 elif test "$wxUSE_EXPAT" = sys; then
4424 { echo "$as_me:$LINENO: result: system version" >&5
4425 echo "${ECHO_T}system version" >&6; }
4426 elif test "$wxUSE_EXPAT" = builtin; then
4427 { echo "$as_me:$LINENO: result: builtin version" >&5
4428 echo "${ECHO_T}builtin version" >&6; }
4429 else
4430 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4431 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4432 { (exit 1); exit 1; }; }
4433 fi
4434
4435
4436 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4437 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4438
4439 # Check whether --with-macosx-sdk was given.
4440 if test "${with_macosx_sdk+set}" = set; then
4441 withval=$with_macosx_sdk;
4442 wxUSE_MACOSX_SDK=$withval
4443 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4444
4445 fi
4446
4447 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4448 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4449
4450 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4451 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4452
4453 # Check whether --with-macosx-version-min was given.
4454 if test "${with_macosx_version_min+set}" = set; then
4455 withval=$with_macosx_version_min;
4456 wxUSE_MACOSX_VERSION_MIN=$withval
4457 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4458
4459 fi
4460
4461 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4462 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4463
4464
4465 { echo "$as_me:$LINENO: checking for --enable-debug" >&5
4466 echo $ECHO_N "checking for --enable-debug... $ECHO_C" >&6; }
4467 # Check whether --enable-debug was given.
4468 if test "${enable_debug+set}" = set; then
4469 enableval=$enable_debug;
4470 if test "$enableval" = yes; then
4471 wxUSE_DEBUG=yes
4472 elif test "$enableval" = no; then
4473 wxUSE_DEBUG=no
4474 elif test "$enableval" = max; then
4475 wxUSE_DEBUG=yes
4476 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=2"
4477 else
4478 { { echo "$as_me:$LINENO: error: Invalid --enable-debug value, must be yes, no or max" >&5
4479 echo "$as_me: error: Invalid --enable-debug value, must be yes, no or max" >&2;}
4480 { (exit 1); exit 1; }; }
4481 fi
4482
4483 else
4484 wxUSE_DEBUG=default
4485
4486 fi
4487
4488 { echo "$as_me:$LINENO: result: ${enable_debug-default}" >&5
4489 echo "${ECHO_T}${enable_debug-default}" >&6; }
4490
4491 case "$wxUSE_DEBUG" in
4492 yes)
4493 DEFAULT_wxUSE_DEBUG_FLAG=yes
4494 DEFAULT_wxUSE_DEBUG_INFO=yes
4495
4496 DEFAULT_wxUSE_OPTIMISE=no
4497 ;;
4498
4499 no)
4500 DEFAULT_wxUSE_DEBUG_FLAG=no
4501 DEFAULT_wxUSE_DEBUG_INFO=no
4502 ;;
4503
4504 default)
4505 DEFAULT_wxUSE_DEBUG_FLAG=yes
4506 DEFAULT_wxUSE_DEBUG_INFO=no
4507 ;;
4508 esac
4509
4510
4511 enablestring=disable
4512 defaultval=
4513 if test -z "$defaultval"; then
4514 if test x"$enablestring" = xdisable; then
4515 defaultval=yes
4516 else
4517 defaultval=no
4518 fi
4519 fi
4520
4521 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4522 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4523 # Check whether --enable-debug_flag was given.
4524 if test "${enable_debug_flag+set}" = set; then
4525 enableval=$enable_debug_flag;
4526 if test "$enableval" = yes; then
4527 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4528 else
4529 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4530 fi
4531
4532 else
4533
4534 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
4535
4536 fi
4537
4538
4539 eval "$wx_cv_use_debug_flag"
4540
4541 if test x"$enablestring" = xdisable; then
4542 if test $wxUSE_DEBUG_FLAG = no; then
4543 result=yes
4544 else
4545 result=no
4546 fi
4547 else
4548 result=$wxUSE_DEBUG_FLAG
4549 fi
4550
4551 { echo "$as_me:$LINENO: result: $result" >&5
4552 echo "${ECHO_T}$result" >&6; }
4553
4554
4555 enablestring=
4556 defaultval=
4557 if test -z "$defaultval"; then
4558 if test x"$enablestring" = xdisable; then
4559 defaultval=yes
4560 else
4561 defaultval=no
4562 fi
4563 fi
4564
4565 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4566 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
4567 # Check whether --enable-debug_info was given.
4568 if test "${enable_debug_info+set}" = set; then
4569 enableval=$enable_debug_info;
4570 if test "$enableval" = yes; then
4571 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4572 else
4573 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4574 fi
4575
4576 else
4577
4578 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
4579
4580 fi
4581
4582
4583 eval "$wx_cv_use_debug_info"
4584
4585 if test x"$enablestring" = xdisable; then
4586 if test $wxUSE_DEBUG_INFO = no; then
4587 result=yes
4588 else
4589 result=no
4590 fi
4591 else
4592 result=$wxUSE_DEBUG_INFO
4593 fi
4594
4595 { echo "$as_me:$LINENO: result: $result" >&5
4596 echo "${ECHO_T}$result" >&6; }
4597
4598
4599
4600
4601 enablestring=
4602 defaultval=
4603 if test -z "$defaultval"; then
4604 if test x"$enablestring" = xdisable; then
4605 defaultval=yes
4606 else
4607 defaultval=no
4608 fi
4609 fi
4610
4611 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4612 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4613 # Check whether --enable-debug_gdb was given.
4614 if test "${enable_debug_gdb+set}" = set; then
4615 enableval=$enable_debug_gdb;
4616 if test "$enableval" = yes; then
4617 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4618 else
4619 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4620 fi
4621
4622 else
4623
4624 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
4625
4626 fi
4627
4628
4629 eval "$wx_cv_use_debug_gdb"
4630
4631 if test x"$enablestring" = xdisable; then
4632 if test $wxUSE_DEBUG_GDB = no; then
4633 result=yes
4634 else
4635 result=no
4636 fi
4637 else
4638 result=$wxUSE_DEBUG_GDB
4639 fi
4640
4641 { echo "$as_me:$LINENO: result: $result" >&5
4642 echo "${ECHO_T}$result" >&6; }
4643
4644
4645 enablestring=
4646 defaultval=
4647 if test -z "$defaultval"; then
4648 if test x"$enablestring" = xdisable; then
4649 defaultval=yes
4650 else
4651 defaultval=no
4652 fi
4653 fi
4654
4655 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4656 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
4657 # Check whether --enable-debug_cntxt was given.
4658 if test "${enable_debug_cntxt+set}" = set; then
4659 enableval=$enable_debug_cntxt;
4660 if test "$enableval" = yes; then
4661 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4662 else
4663 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4664 fi
4665
4666 else
4667
4668 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
4669
4670 fi
4671
4672
4673 eval "$wx_cv_use_debug_cntxt"
4674
4675 if test x"$enablestring" = xdisable; then
4676 if test $wxUSE_DEBUG_CONTEXT = no; then
4677 result=yes
4678 else
4679 result=no
4680 fi
4681 else
4682 result=$wxUSE_DEBUG_CONTEXT
4683 fi
4684
4685 { echo "$as_me:$LINENO: result: $result" >&5
4686 echo "${ECHO_T}$result" >&6; }
4687
4688
4689 enablestring=
4690 defaultval=
4691 if test -z "$defaultval"; then
4692 if test x"$enablestring" = xdisable; then
4693 defaultval=yes
4694 else
4695 defaultval=no
4696 fi
4697 fi
4698
4699 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4700 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
4701 # Check whether --enable-mem_tracing was given.
4702 if test "${enable_mem_tracing+set}" = set; then
4703 enableval=$enable_mem_tracing;
4704 if test "$enableval" = yes; then
4705 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4706 else
4707 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4708 fi
4709
4710 else
4711
4712 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
4713
4714 fi
4715
4716
4717 eval "$wx_cv_use_mem_tracing"
4718
4719 if test x"$enablestring" = xdisable; then
4720 if test $wxUSE_MEM_TRACING = no; then
4721 result=yes
4722 else
4723 result=no
4724 fi
4725 else
4726 result=$wxUSE_MEM_TRACING
4727 fi
4728
4729 { echo "$as_me:$LINENO: result: $result" >&5
4730 echo "${ECHO_T}$result" >&6; }
4731
4732
4733
4734
4735 enablestring=disable
4736 defaultval=
4737 if test -z "$defaultval"; then
4738 if test x"$enablestring" = xdisable; then
4739 defaultval=yes
4740 else
4741 defaultval=no
4742 fi
4743 fi
4744
4745 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4746 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4747 # Check whether --enable-shared was given.
4748 if test "${enable_shared+set}" = set; then
4749 enableval=$enable_shared;
4750 if test "$enableval" = yes; then
4751 wx_cv_use_shared='wxUSE_SHARED=yes'
4752 else
4753 wx_cv_use_shared='wxUSE_SHARED=no'
4754 fi
4755
4756 else
4757
4758 wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4759
4760 fi
4761
4762
4763 eval "$wx_cv_use_shared"
4764
4765 if test x"$enablestring" = xdisable; then
4766 if test $wxUSE_SHARED = no; then
4767 result=yes
4768 else
4769 result=no
4770 fi
4771 else
4772 result=$wxUSE_SHARED
4773 fi
4774
4775 { echo "$as_me:$LINENO: result: $result" >&5
4776 echo "${ECHO_T}$result" >&6; }
4777
4778
4779 enablestring=
4780 defaultval=
4781 if test -z "$defaultval"; then
4782 if test x"$enablestring" = xdisable; then
4783 defaultval=yes
4784 else
4785 defaultval=no
4786 fi
4787 fi
4788
4789 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4790 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4791 # Check whether --enable-stl was given.
4792 if test "${enable_stl+set}" = set; then
4793 enableval=$enable_stl;
4794 if test "$enableval" = yes; then
4795 wx_cv_use_stl='wxUSE_STL=yes'
4796 else
4797 wx_cv_use_stl='wxUSE_STL=no'
4798 fi
4799
4800 else
4801
4802 wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4803
4804 fi
4805
4806
4807 eval "$wx_cv_use_stl"
4808
4809 if test x"$enablestring" = xdisable; then
4810 if test $wxUSE_STL = no; then
4811 result=yes
4812 else
4813 result=no
4814 fi
4815 else
4816 result=$wxUSE_STL
4817 fi
4818
4819 { echo "$as_me:$LINENO: result: $result" >&5
4820 echo "${ECHO_T}$result" >&6; }
4821
4822 if test "$wxUSE_STL" = "yes"; then
4823 DEFAULT_wxUSE_STD_CONTAINERS=yes
4824 DEFAULT_wxUSE_STD_IOSTREAM=yes
4825 DEFAULT_wxUSE_STD_STRING=yes
4826 fi
4827
4828 enablestring=
4829 defaultval=
4830 if test -z "$defaultval"; then
4831 if test x"$enablestring" = xdisable; then
4832 defaultval=yes
4833 else
4834 defaultval=no
4835 fi
4836 fi
4837
4838 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_containers" >&5
4839 echo $ECHO_N "checking for --${enablestring:-enable}-std_containers... $ECHO_C" >&6; }
4840 # Check whether --enable-std_containers was given.
4841 if test "${enable_std_containers+set}" = set; then
4842 enableval=$enable_std_containers;
4843 if test "$enableval" = yes; then
4844 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=yes'
4845 else
4846 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=no'
4847 fi
4848
4849 else
4850
4851 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=${'DEFAULT_wxUSE_STD_CONTAINERS":-$defaultval}"
4852
4853 fi
4854
4855
4856 eval "$wx_cv_use_std_containers"
4857
4858 if test x"$enablestring" = xdisable; then
4859 if test $wxUSE_STD_CONTAINERS = no; then
4860 result=yes
4861 else
4862 result=no
4863 fi
4864 else
4865 result=$wxUSE_STD_CONTAINERS
4866 fi
4867
4868 { echo "$as_me:$LINENO: result: $result" >&5
4869 echo "${ECHO_T}$result" >&6; }
4870
4871
4872 enablestring=
4873 defaultval=
4874 if test -z "$defaultval"; then
4875 if test x"$enablestring" = xdisable; then
4876 defaultval=yes
4877 else
4878 defaultval=no
4879 fi
4880 fi
4881
4882 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4883 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4884 # Check whether --enable-std_iostreams was given.
4885 if test "${enable_std_iostreams+set}" = set; then
4886 enableval=$enable_std_iostreams;
4887 if test "$enableval" = yes; then
4888 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4889 else
4890 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4891 fi
4892
4893 else
4894
4895 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4896
4897 fi
4898
4899
4900 eval "$wx_cv_use_std_iostreams"
4901
4902 if test x"$enablestring" = xdisable; then
4903 if test $wxUSE_STD_IOSTREAM = no; then
4904 result=yes
4905 else
4906 result=no
4907 fi
4908 else
4909 result=$wxUSE_STD_IOSTREAM
4910 fi
4911
4912 { echo "$as_me:$LINENO: result: $result" >&5
4913 echo "${ECHO_T}$result" >&6; }
4914
4915
4916 enablestring=
4917 defaultval=
4918 if test -z "$defaultval"; then
4919 if test x"$enablestring" = xdisable; then
4920 defaultval=yes
4921 else
4922 defaultval=no
4923 fi
4924 fi
4925
4926 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4927 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4928 # Check whether --enable-std_string was given.
4929 if test "${enable_std_string+set}" = set; then
4930 enableval=$enable_std_string;
4931 if test "$enableval" = yes; then
4932 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4933 else
4934 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4935 fi
4936
4937 else
4938
4939 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4940
4941 fi
4942
4943
4944 eval "$wx_cv_use_std_string"
4945
4946 if test x"$enablestring" = xdisable; then
4947 if test $wxUSE_STD_STRING = no; then
4948 result=yes
4949 else
4950 result=no
4951 fi
4952 else
4953 result=$wxUSE_STD_STRING
4954 fi
4955
4956 { echo "$as_me:$LINENO: result: $result" >&5
4957 echo "${ECHO_T}$result" >&6; }
4958
4959
4960 enablestring=
4961 defaultval=
4962 if test -z "$defaultval"; then
4963 if test x"$enablestring" = xdisable; then
4964 defaultval=yes
4965 else
4966 defaultval=no
4967 fi
4968 fi
4969
4970 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string_conv_in_wxstring" >&5
4971 echo $ECHO_N "checking for --${enablestring:-enable}-std_string_conv_in_wxstring... $ECHO_C" >&6; }
4972 # Check whether --enable-std_string_conv_in_wxstring was given.
4973 if test "${enable_std_string_conv_in_wxstring+set}" = set; then
4974 enableval=$enable_std_string_conv_in_wxstring;
4975 if test "$enableval" = yes; then
4976 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=yes'
4977 else
4978 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=no'
4979 fi
4980
4981 else
4982
4983 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=${'DEFAULT_wxUSE_STD_STRING_CONV_IN_WXSTRING":-$defaultval}"
4984
4985 fi
4986
4987
4988 eval "$wx_cv_use_std_string_conv_in_wxstring"
4989
4990 if test x"$enablestring" = xdisable; then
4991 if test $wxUSE_STD_STRING_CONV_IN_WXSTRING = no; then
4992 result=yes
4993 else
4994 result=no
4995 fi
4996 else
4997 result=$wxUSE_STD_STRING_CONV_IN_WXSTRING
4998 fi
4999
5000 { echo "$as_me:$LINENO: result: $result" >&5
5001 echo "${ECHO_T}$result" >&6; }
5002
5003
5004 enablestring=disable
5005 defaultval=
5006 if test -z "$defaultval"; then
5007 if test x"$enablestring" = xdisable; then
5008 defaultval=yes
5009 else
5010 defaultval=no
5011 fi
5012 fi
5013
5014 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
5015 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
5016 # Check whether --enable-unicode was given.
5017 if test "${enable_unicode+set}" = set; then
5018 enableval=$enable_unicode;
5019 if test "$enableval" = yes; then
5020 wx_cv_use_unicode='wxUSE_UNICODE=yes'
5021 else
5022 wx_cv_use_unicode='wxUSE_UNICODE=no'
5023 fi
5024
5025 else
5026
5027 wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
5028
5029 fi
5030
5031
5032 eval "$wx_cv_use_unicode"
5033
5034 if test x"$enablestring" = xdisable; then
5035 if test $wxUSE_UNICODE = no; then
5036 result=yes
5037 else
5038 result=no
5039 fi
5040 else
5041 result=$wxUSE_UNICODE
5042 fi
5043
5044 { echo "$as_me:$LINENO: result: $result" >&5
5045 echo "${ECHO_T}$result" >&6; }
5046
5047
5048 enablestring=
5049 defaultval=
5050 if test -z "$defaultval"; then
5051 if test x"$enablestring" = xdisable; then
5052 defaultval=yes
5053 else
5054 defaultval=no
5055 fi
5056 fi
5057
5058 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5059 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
5060 # Check whether --enable-mslu was given.
5061 if test "${enable_mslu+set}" = set; then
5062 enableval=$enable_mslu;
5063 if test "$enableval" = yes; then
5064 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
5065 else
5066 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
5067 fi
5068
5069 else
5070
5071 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
5072
5073 fi
5074
5075
5076 eval "$wx_cv_use_mslu"
5077
5078 if test x"$enablestring" = xdisable; then
5079 if test $wxUSE_UNICODE_MSLU = no; then
5080 result=yes
5081 else
5082 result=no
5083 fi
5084 else
5085 result=$wxUSE_UNICODE_MSLU
5086 fi
5087
5088 { echo "$as_me:$LINENO: result: $result" >&5
5089 echo "${ECHO_T}$result" >&6; }
5090
5091
5092 enablestring=
5093 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
5094 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
5095 # Check whether --enable-utf8 was given.
5096 if test "${enable_utf8+set}" = set; then
5097 enableval=$enable_utf8;
5098 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
5099
5100 else
5101
5102 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
5103
5104 fi
5105
5106
5107 eval "$wx_cv_use_utf8"
5108
5109 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
5110 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
5111
5112
5113 enablestring=
5114 defaultval=
5115 if test -z "$defaultval"; then
5116 if test x"$enablestring" = xdisable; then
5117 defaultval=yes
5118 else
5119 defaultval=no
5120 fi
5121 fi
5122
5123 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
5124 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
5125 # Check whether --enable-utf8only was given.
5126 if test "${enable_utf8only+set}" = set; then
5127 enableval=$enable_utf8only;
5128 if test "$enableval" = yes; then
5129 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
5130 else
5131 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
5132 fi
5133
5134 else
5135
5136 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
5137
5138 fi
5139
5140
5141 eval "$wx_cv_use_utf8only"
5142
5143 if test x"$enablestring" = xdisable; then
5144 if test $wxUSE_UNICODE_UTF8_LOCALE = no; then
5145 result=yes
5146 else
5147 result=no
5148 fi
5149 else
5150 result=$wxUSE_UNICODE_UTF8_LOCALE
5151 fi
5152
5153 { echo "$as_me:$LINENO: result: $result" >&5
5154 echo "${ECHO_T}$result" >&6; }
5155
5156
5157 enablestring=
5158 defaultval=
5159 if test -z "$defaultval"; then
5160 if test x"$enablestring" = xdisable; then
5161 defaultval=yes
5162 else
5163 defaultval=no
5164 fi
5165 fi
5166
5167 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
5168 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
5169 # Check whether --enable-extended_rtti was given.
5170 if test "${enable_extended_rtti+set}" = set; then
5171 enableval=$enable_extended_rtti;
5172 if test "$enableval" = yes; then
5173 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
5174 else
5175 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
5176 fi
5177
5178 else
5179
5180 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
5181
5182 fi
5183
5184
5185 eval "$wx_cv_use_extended_rtti"
5186
5187 if test x"$enablestring" = xdisable; then
5188 if test $wxUSE_EXTENDED_RTTI = no; then
5189 result=yes
5190 else
5191 result=no
5192 fi
5193 else
5194 result=$wxUSE_EXTENDED_RTTI
5195 fi
5196
5197 { echo "$as_me:$LINENO: result: $result" >&5
5198 echo "${ECHO_T}$result" >&6; }
5199
5200 if test "$USE_OS2" = 1; then
5201 DEFAULT_wxUSE_OMF=no
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}-omf" >&5
5214 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
5215 # Check whether --enable-omf was given.
5216 if test "${enable_omf+set}" = set; then
5217 enableval=$enable_omf;
5218 if test "$enableval" = yes; then
5219 wx_cv_use_omf='wxUSE_OMF=yes'
5220 else
5221 wx_cv_use_omf='wxUSE_OMF=no'
5222 fi
5223
5224 else
5225
5226 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
5227
5228 fi
5229
5230
5231 eval "$wx_cv_use_omf"
5232
5233 if test x"$enablestring" = xdisable; then
5234 if test $wxUSE_OMF = no; then
5235 result=yes
5236 else
5237 result=no
5238 fi
5239 else
5240 result=$wxUSE_OMF
5241 fi
5242
5243 { echo "$as_me:$LINENO: result: $result" >&5
5244 echo "${ECHO_T}$result" >&6; }
5245
5246 fi
5247
5248
5249 enablestring=disable
5250 defaultval=
5251 if test -z "$defaultval"; then
5252 if test x"$enablestring" = xdisable; then
5253 defaultval=yes
5254 else
5255 defaultval=no
5256 fi
5257 fi
5258
5259 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
5260 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
5261 # Check whether --enable-optimise was given.
5262 if test "${enable_optimise+set}" = set; then
5263 enableval=$enable_optimise;
5264 if test "$enableval" = yes; then
5265 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
5266 else
5267 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
5268 fi
5269
5270 else
5271
5272 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
5273
5274 fi
5275
5276
5277 eval "$wx_cv_use_optimise"
5278
5279 if test x"$enablestring" = xdisable; then
5280 if test $wxUSE_OPTIMISE = no; then
5281 result=yes
5282 else
5283 result=no
5284 fi
5285 else
5286 result=$wxUSE_OPTIMISE
5287 fi
5288
5289 { echo "$as_me:$LINENO: result: $result" >&5
5290 echo "${ECHO_T}$result" >&6; }
5291
5292
5293
5294 enablestring=
5295 defaultval=
5296 if test -z "$defaultval"; then
5297 if test x"$enablestring" = xdisable; then
5298 defaultval=yes
5299 else
5300 defaultval=no
5301 fi
5302 fi
5303
5304 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5305 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5306 # Check whether --enable-profile was given.
5307 if test "${enable_profile+set}" = set; then
5308 enableval=$enable_profile;
5309 if test "$enableval" = yes; then
5310 wx_cv_use_profile='wxUSE_PROFILE=yes'
5311 else
5312 wx_cv_use_profile='wxUSE_PROFILE=no'
5313 fi
5314
5315 else
5316
5317 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5318
5319 fi
5320
5321
5322 eval "$wx_cv_use_profile"
5323
5324 if test x"$enablestring" = xdisable; then
5325 if test $wxUSE_PROFILE = no; then
5326 result=yes
5327 else
5328 result=no
5329 fi
5330 else
5331 result=$wxUSE_PROFILE
5332 fi
5333
5334 { echo "$as_me:$LINENO: result: $result" >&5
5335 echo "${ECHO_T}$result" >&6; }
5336
5337
5338 enablestring=
5339 defaultval=
5340 if test -z "$defaultval"; then
5341 if test x"$enablestring" = xdisable; then
5342 defaultval=yes
5343 else
5344 defaultval=no
5345 fi
5346 fi
5347
5348 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5349 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5350 # Check whether --enable-no_rtti was given.
5351 if test "${enable_no_rtti+set}" = set; then
5352 enableval=$enable_no_rtti;
5353 if test "$enableval" = yes; then
5354 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5355 else
5356 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5357 fi
5358
5359 else
5360
5361 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5362
5363 fi
5364
5365
5366 eval "$wx_cv_use_no_rtti"
5367
5368 if test x"$enablestring" = xdisable; then
5369 if test $wxUSE_NO_RTTI = no; then
5370 result=yes
5371 else
5372 result=no
5373 fi
5374 else
5375 result=$wxUSE_NO_RTTI
5376 fi
5377
5378 { echo "$as_me:$LINENO: result: $result" >&5
5379 echo "${ECHO_T}$result" >&6; }
5380
5381
5382 enablestring=
5383 defaultval=
5384 if test -z "$defaultval"; then
5385 if test x"$enablestring" = xdisable; then
5386 defaultval=yes
5387 else
5388 defaultval=no
5389 fi
5390 fi
5391
5392 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5393 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5394 # Check whether --enable-no_exceptions was given.
5395 if test "${enable_no_exceptions+set}" = set; then
5396 enableval=$enable_no_exceptions;
5397 if test "$enableval" = yes; then
5398 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5399 else
5400 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5401 fi
5402
5403 else
5404
5405 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5406
5407 fi
5408
5409
5410 eval "$wx_cv_use_no_exceptions"
5411
5412 if test x"$enablestring" = xdisable; then
5413 if test $wxUSE_NO_EXCEPTIONS = no; then
5414 result=yes
5415 else
5416 result=no
5417 fi
5418 else
5419 result=$wxUSE_NO_EXCEPTIONS
5420 fi
5421
5422 { echo "$as_me:$LINENO: result: $result" >&5
5423 echo "${ECHO_T}$result" >&6; }
5424
5425
5426 enablestring=
5427 defaultval=
5428 if test -z "$defaultval"; then
5429 if test x"$enablestring" = xdisable; then
5430 defaultval=yes
5431 else
5432 defaultval=no
5433 fi
5434 fi
5435
5436 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5437 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5438 # Check whether --enable-permissive was given.
5439 if test "${enable_permissive+set}" = set; then
5440 enableval=$enable_permissive;
5441 if test "$enableval" = yes; then
5442 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5443 else
5444 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
5445 fi
5446
5447 else
5448
5449 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5450
5451 fi
5452
5453
5454 eval "$wx_cv_use_permissive"
5455
5456 if test x"$enablestring" = xdisable; then
5457 if test $wxUSE_PERMISSIVE = no; then
5458 result=yes
5459 else
5460 result=no
5461 fi
5462 else
5463 result=$wxUSE_PERMISSIVE
5464 fi
5465
5466 { echo "$as_me:$LINENO: result: $result" >&5
5467 echo "${ECHO_T}$result" >&6; }
5468
5469
5470 enablestring=
5471 defaultval=
5472 if test -z "$defaultval"; then
5473 if test x"$enablestring" = xdisable; then
5474 defaultval=yes
5475 else
5476 defaultval=no
5477 fi
5478 fi
5479
5480 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5481 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5482 # Check whether --enable-no_deps was given.
5483 if test "${enable_no_deps+set}" = set; then
5484 enableval=$enable_no_deps;
5485 if test "$enableval" = yes; then
5486 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5487 else
5488 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5489 fi
5490
5491 else
5492
5493 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5494
5495 fi
5496
5497
5498 eval "$wx_cv_use_no_deps"
5499
5500 if test x"$enablestring" = xdisable; then
5501 if test $wxUSE_NO_DEPS = no; then
5502 result=yes
5503 else
5504 result=no
5505 fi
5506 else
5507 result=$wxUSE_NO_DEPS
5508 fi
5509
5510 { echo "$as_me:$LINENO: result: $result" >&5
5511 echo "${ECHO_T}$result" >&6; }
5512
5513
5514 enablestring=disable
5515 defaultval=
5516 if test -z "$defaultval"; then
5517 if test x"$enablestring" = xdisable; then
5518 defaultval=yes
5519 else
5520 defaultval=no
5521 fi
5522 fi
5523
5524 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5525 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5526 # Check whether --enable-vararg_macros was given.
5527 if test "${enable_vararg_macros+set}" = set; then
5528 enableval=$enable_vararg_macros;
5529 if test "$enableval" = yes; then
5530 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5531 else
5532 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5533 fi
5534
5535 else
5536
5537 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5538
5539 fi
5540
5541
5542 eval "$wx_cv_use_vararg_macros"
5543
5544 if test x"$enablestring" = xdisable; then
5545 if test $wxUSE_VARARG_MACROS = no; then
5546 result=yes
5547 else
5548 result=no
5549 fi
5550 else
5551 result=$wxUSE_VARARG_MACROS
5552 fi
5553
5554 { echo "$as_me:$LINENO: result: $result" >&5
5555 echo "${ECHO_T}$result" >&6; }
5556
5557
5558
5559 enablestring=
5560 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5561 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5562 # Check whether --enable-universal_binary was given.
5563 if test "${enable_universal_binary+set}" = set; then
5564 enableval=$enable_universal_binary;
5565 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5566
5567 else
5568
5569 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5570
5571 fi
5572
5573
5574 eval "$wx_cv_use_universal_binary"
5575
5576 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5577 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5578
5579
5580 enablestring=
5581 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-macosx_arch" >&5
5582 echo $ECHO_N "checking for --${enablestring:-enable}-macosx_arch... $ECHO_C" >&6; }
5583 # Check whether --enable-macosx_arch was given.
5584 if test "${enable_macosx_arch+set}" = set; then
5585 enableval=$enable_macosx_arch;
5586 wx_cv_use_macosx_arch="wxUSE_MAC_ARCH='$enableval'"
5587
5588 else
5589
5590 wx_cv_use_macosx_arch='wxUSE_MAC_ARCH='$DEFAULT_wxUSE_MAC_ARCH
5591
5592 fi
5593
5594
5595 eval "$wx_cv_use_macosx_arch"
5596
5597 { echo "$as_me:$LINENO: result: $wxUSE_MAC_ARCH" >&5
5598 echo "${ECHO_T}$wxUSE_MAC_ARCH" >&6; }
5599
5600
5601
5602 enablestring=
5603 defaultval=
5604 if test -z "$defaultval"; then
5605 if test x"$enablestring" = xdisable; then
5606 defaultval=yes
5607 else
5608 defaultval=no
5609 fi
5610 fi
5611
5612 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5613 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5614 # Check whether --enable-compat26 was given.
5615 if test "${enable_compat26+set}" = set; then
5616 enableval=$enable_compat26;
5617 if test "$enableval" = yes; then
5618 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5619 else
5620 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5621 fi
5622
5623 else
5624
5625 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5626
5627 fi
5628
5629
5630 eval "$wx_cv_use_compat26"
5631
5632 if test x"$enablestring" = xdisable; then
5633 if test $WXWIN_COMPATIBILITY_2_6 = no; then
5634 result=yes
5635 else
5636 result=no
5637 fi
5638 else
5639 result=$WXWIN_COMPATIBILITY_2_6
5640 fi
5641
5642 { echo "$as_me:$LINENO: result: $result" >&5
5643 echo "${ECHO_T}$result" >&6; }
5644
5645
5646 enablestring=disable
5647 defaultval=
5648 if test -z "$defaultval"; then
5649 if test x"$enablestring" = xdisable; then
5650 defaultval=yes
5651 else
5652 defaultval=no
5653 fi
5654 fi
5655
5656 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5657 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5658 # Check whether --enable-compat28 was given.
5659 if test "${enable_compat28+set}" = set; then
5660 enableval=$enable_compat28;
5661 if test "$enableval" = yes; then
5662 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5663 else
5664 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5665 fi
5666
5667 else
5668
5669 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5670
5671 fi
5672
5673
5674 eval "$wx_cv_use_compat28"
5675
5676 if test x"$enablestring" = xdisable; then
5677 if test $WXWIN_COMPATIBILITY_2_8 = no; then
5678 result=yes
5679 else
5680 result=no
5681 fi
5682 else
5683 result=$WXWIN_COMPATIBILITY_2_8
5684 fi
5685
5686 { echo "$as_me:$LINENO: result: $result" >&5
5687 echo "${ECHO_T}$result" >&6; }
5688
5689
5690
5691 enablestring=disable
5692 defaultval=
5693 if test -z "$defaultval"; then
5694 if test x"$enablestring" = xdisable; then
5695 defaultval=yes
5696 else
5697 defaultval=no
5698 fi
5699 fi
5700
5701 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5702 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5703 # Check whether --enable-rpath was given.
5704 if test "${enable_rpath+set}" = set; then
5705 enableval=$enable_rpath;
5706 if test "$enableval" = yes; then
5707 wx_cv_use_rpath='wxUSE_RPATH=yes'
5708 else
5709 wx_cv_use_rpath='wxUSE_RPATH=no'
5710 fi
5711
5712 else
5713
5714 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5715
5716 fi
5717
5718
5719 eval "$wx_cv_use_rpath"
5720
5721 if test x"$enablestring" = xdisable; then
5722 if test $wxUSE_RPATH = no; then
5723 result=yes
5724 else
5725 result=no
5726 fi
5727 else
5728 result=$wxUSE_RPATH
5729 fi
5730
5731 { echo "$as_me:$LINENO: result: $result" >&5
5732 echo "${ECHO_T}$result" >&6; }
5733
5734
5735
5736 enablestring=
5737 defaultval=
5738 if test -z "$defaultval"; then
5739 if test x"$enablestring" = xdisable; then
5740 defaultval=yes
5741 else
5742 defaultval=no
5743 fi
5744 fi
5745
5746 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5747 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5748 # Check whether --enable-objc_uniquifying was given.
5749 if test "${enable_objc_uniquifying+set}" = set; then
5750 enableval=$enable_objc_uniquifying;
5751 if test "$enableval" = yes; then
5752 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
5753 else
5754 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
5755 fi
5756
5757 else
5758
5759 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5760
5761 fi
5762
5763
5764 eval "$wx_cv_use_objc_uniquifying"
5765
5766 if test x"$enablestring" = xdisable; then
5767 if test $wxUSE_OBJC_UNIQUIFYING = no; then
5768 result=yes
5769 else
5770 result=no
5771 fi
5772 else
5773 result=$wxUSE_OBJC_UNIQUIFYING
5774 fi
5775
5776 { echo "$as_me:$LINENO: result: $result" >&5
5777 echo "${ECHO_T}$result" >&6; }
5778
5779
5780
5781 enablestring=disable
5782 defaultval=
5783 if test -z "$defaultval"; then
5784 if test x"$enablestring" = xdisable; then
5785 defaultval=yes
5786 else
5787 defaultval=no
5788 fi
5789 fi
5790
5791 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
5792 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
5793 # Check whether --enable-visibility was given.
5794 if test "${enable_visibility+set}" = set; then
5795 enableval=$enable_visibility;
5796 if test "$enableval" = yes; then
5797 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
5798 else
5799 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
5800 fi
5801
5802 else
5803
5804 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5805
5806 fi
5807
5808
5809 eval "$wx_cv_use_visibility"
5810
5811 if test x"$enablestring" = xdisable; then
5812 if test $wxUSE_VISIBILITY = no; then
5813 result=yes
5814 else
5815 result=no
5816 fi
5817 else
5818 result=$wxUSE_VISIBILITY
5819 fi
5820
5821 { echo "$as_me:$LINENO: result: $result" >&5
5822 echo "${ECHO_T}$result" >&6; }
5823
5824
5825 enablestring=disable
5826 defaultval=
5827 if test -z "$defaultval"; then
5828 if test x"$enablestring" = xdisable; then
5829 defaultval=yes
5830 else
5831 defaultval=no
5832 fi
5833 fi
5834
5835 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tls" >&5
5836 echo $ECHO_N "checking for --${enablestring:-enable}-tls... $ECHO_C" >&6; }
5837 # Check whether --enable-tls was given.
5838 if test "${enable_tls+set}" = set; then
5839 enableval=$enable_tls;
5840 if test "$enableval" = yes; then
5841 wx_cv_use_tls='wxUSE_COMPILER_TLS=yes'
5842 else
5843 wx_cv_use_tls='wxUSE_COMPILER_TLS=no'
5844 fi
5845
5846 else
5847
5848 wx_cv_use_tls='wxUSE_COMPILER_TLS=${'DEFAULT_wxUSE_COMPILER_TLS":-$defaultval}"
5849
5850 fi
5851
5852
5853 eval "$wx_cv_use_tls"
5854
5855 if test x"$enablestring" = xdisable; then
5856 if test $wxUSE_COMPILER_TLS = no; then
5857 result=yes
5858 else
5859 result=no
5860 fi
5861 else
5862 result=$wxUSE_COMPILER_TLS
5863 fi
5864
5865 { echo "$as_me:$LINENO: result: $result" >&5
5866 echo "${ECHO_T}$result" >&6; }
5867
5868
5869
5870
5871 enablestring=
5872 defaultval=$wxUSE_ALL_FEATURES
5873 if test -z "$defaultval"; then
5874 if test x"$enablestring" = xdisable; then
5875 defaultval=yes
5876 else
5877 defaultval=no
5878 fi
5879 fi
5880
5881 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5882 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5883 # Check whether --enable-intl was given.
5884 if test "${enable_intl+set}" = set; then
5885 enableval=$enable_intl;
5886 if test "$enableval" = yes; then
5887 wx_cv_use_intl='wxUSE_INTL=yes'
5888 else
5889 wx_cv_use_intl='wxUSE_INTL=no'
5890 fi
5891
5892 else
5893
5894 wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5895
5896 fi
5897
5898
5899 eval "$wx_cv_use_intl"
5900
5901 if test x"$enablestring" = xdisable; then
5902 if test $wxUSE_INTL = no; then
5903 result=yes
5904 else
5905 result=no
5906 fi
5907 else
5908 result=$wxUSE_INTL
5909 fi
5910
5911 { echo "$as_me:$LINENO: result: $result" >&5
5912 echo "${ECHO_T}$result" >&6; }
5913
5914
5915 enablestring=
5916 defaultval=$wxUSE_ALL_FEATURES
5917 if test -z "$defaultval"; then
5918 if test x"$enablestring" = xdisable; then
5919 defaultval=yes
5920 else
5921 defaultval=no
5922 fi
5923 fi
5924
5925 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xlocale" >&5
5926 echo $ECHO_N "checking for --${enablestring:-enable}-xlocale... $ECHO_C" >&6; }
5927 # Check whether --enable-xlocale was given.
5928 if test "${enable_xlocale+set}" = set; then
5929 enableval=$enable_xlocale;
5930 if test "$enableval" = yes; then
5931 wx_cv_use_xlocale='wxUSE_XLOCALE=yes'
5932 else
5933 wx_cv_use_xlocale='wxUSE_XLOCALE=no'
5934 fi
5935
5936 else
5937
5938 wx_cv_use_xlocale='wxUSE_XLOCALE=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
5939
5940 fi
5941
5942
5943 eval "$wx_cv_use_xlocale"
5944
5945 if test x"$enablestring" = xdisable; then
5946 if test $wxUSE_XLOCALE = no; then
5947 result=yes
5948 else
5949 result=no
5950 fi
5951 else
5952 result=$wxUSE_XLOCALE
5953 fi
5954
5955 { echo "$as_me:$LINENO: result: $result" >&5
5956 echo "${ECHO_T}$result" >&6; }
5957
5958
5959 enablestring=
5960 defaultval=$wxUSE_ALL_FEATURES
5961 if test -z "$defaultval"; then
5962 if test x"$enablestring" = xdisable; then
5963 defaultval=yes
5964 else
5965 defaultval=no
5966 fi
5967 fi
5968
5969 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5970 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5971 # Check whether --enable-config was given.
5972 if test "${enable_config+set}" = set; then
5973 enableval=$enable_config;
5974 if test "$enableval" = yes; then
5975 wx_cv_use_config='wxUSE_CONFIG=yes'
5976 else
5977 wx_cv_use_config='wxUSE_CONFIG=no'
5978 fi
5979
5980 else
5981
5982 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5983
5984 fi
5985
5986
5987 eval "$wx_cv_use_config"
5988
5989 if test x"$enablestring" = xdisable; then
5990 if test $wxUSE_CONFIG = no; then
5991 result=yes
5992 else
5993 result=no
5994 fi
5995 else
5996 result=$wxUSE_CONFIG
5997 fi
5998
5999 { echo "$as_me:$LINENO: result: $result" >&5
6000 echo "${ECHO_T}$result" >&6; }
6001
6002
6003
6004 enablestring=
6005 defaultval=$wxUSE_ALL_FEATURES
6006 if test -z "$defaultval"; then
6007 if test x"$enablestring" = xdisable; then
6008 defaultval=yes
6009 else
6010 defaultval=no
6011 fi
6012 fi
6013
6014 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
6015 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
6016 # Check whether --enable-protocols was given.
6017 if test "${enable_protocols+set}" = set; then
6018 enableval=$enable_protocols;
6019 if test "$enableval" = yes; then
6020 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
6021 else
6022 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
6023 fi
6024
6025 else
6026
6027 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
6028
6029 fi
6030
6031
6032 eval "$wx_cv_use_protocols"
6033
6034 if test x"$enablestring" = xdisable; then
6035 if test $wxUSE_PROTOCOL = no; then
6036 result=yes
6037 else
6038 result=no
6039 fi
6040 else
6041 result=$wxUSE_PROTOCOL
6042 fi
6043
6044 { echo "$as_me:$LINENO: result: $result" >&5
6045 echo "${ECHO_T}$result" >&6; }
6046
6047
6048 enablestring=
6049 defaultval=$wxUSE_ALL_FEATURES
6050 if test -z "$defaultval"; then
6051 if test x"$enablestring" = xdisable; then
6052 defaultval=yes
6053 else
6054 defaultval=no
6055 fi
6056 fi
6057
6058 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
6059 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
6060 # Check whether --enable-ftp was given.
6061 if test "${enable_ftp+set}" = set; then
6062 enableval=$enable_ftp;
6063 if test "$enableval" = yes; then
6064 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
6065 else
6066 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
6067 fi
6068
6069 else
6070
6071 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
6072
6073 fi
6074
6075
6076 eval "$wx_cv_use_ftp"
6077
6078 if test x"$enablestring" = xdisable; then
6079 if test $wxUSE_PROTOCOL_FTP = no; then
6080 result=yes
6081 else
6082 result=no
6083 fi
6084 else
6085 result=$wxUSE_PROTOCOL_FTP
6086 fi
6087
6088 { echo "$as_me:$LINENO: result: $result" >&5
6089 echo "${ECHO_T}$result" >&6; }
6090
6091
6092 enablestring=
6093 defaultval=$wxUSE_ALL_FEATURES
6094 if test -z "$defaultval"; then
6095 if test x"$enablestring" = xdisable; then
6096 defaultval=yes
6097 else
6098 defaultval=no
6099 fi
6100 fi
6101
6102 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
6103 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
6104 # Check whether --enable-http was given.
6105 if test "${enable_http+set}" = set; then
6106 enableval=$enable_http;
6107 if test "$enableval" = yes; then
6108 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
6109 else
6110 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
6111 fi
6112
6113 else
6114
6115 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
6116
6117 fi
6118
6119
6120 eval "$wx_cv_use_http"
6121
6122 if test x"$enablestring" = xdisable; then
6123 if test $wxUSE_PROTOCOL_HTTP = no; then
6124 result=yes
6125 else
6126 result=no
6127 fi
6128 else
6129 result=$wxUSE_PROTOCOL_HTTP
6130 fi
6131
6132 { echo "$as_me:$LINENO: result: $result" >&5
6133 echo "${ECHO_T}$result" >&6; }
6134
6135
6136 enablestring=
6137 defaultval=$wxUSE_ALL_FEATURES
6138 if test -z "$defaultval"; then
6139 if test x"$enablestring" = xdisable; then
6140 defaultval=yes
6141 else
6142 defaultval=no
6143 fi
6144 fi
6145
6146 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
6147 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
6148 # Check whether --enable-fileproto was given.
6149 if test "${enable_fileproto+set}" = set; then
6150 enableval=$enable_fileproto;
6151 if test "$enableval" = yes; then
6152 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
6153 else
6154 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
6155 fi
6156
6157 else
6158
6159 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
6160
6161 fi
6162
6163
6164 eval "$wx_cv_use_fileproto"
6165
6166 if test x"$enablestring" = xdisable; then
6167 if test $wxUSE_PROTOCOL_FILE = no; then
6168 result=yes
6169 else
6170 result=no
6171 fi
6172 else
6173 result=$wxUSE_PROTOCOL_FILE
6174 fi
6175
6176 { echo "$as_me:$LINENO: result: $result" >&5
6177 echo "${ECHO_T}$result" >&6; }
6178
6179
6180 enablestring=
6181 defaultval=$wxUSE_ALL_FEATURES
6182 if test -z "$defaultval"; then
6183 if test x"$enablestring" = xdisable; then
6184 defaultval=yes
6185 else
6186 defaultval=no
6187 fi
6188 fi
6189
6190 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
6191 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
6192 # Check whether --enable-sockets was given.
6193 if test "${enable_sockets+set}" = set; then
6194 enableval=$enable_sockets;
6195 if test "$enableval" = yes; then
6196 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
6197 else
6198 wx_cv_use_sockets='wxUSE_SOCKETS=no'
6199 fi
6200
6201 else
6202
6203 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
6204
6205 fi
6206
6207
6208 eval "$wx_cv_use_sockets"
6209
6210 if test x"$enablestring" = xdisable; then
6211 if test $wxUSE_SOCKETS = no; then
6212 result=yes
6213 else
6214 result=no
6215 fi
6216 else
6217 result=$wxUSE_SOCKETS
6218 fi
6219
6220 { echo "$as_me:$LINENO: result: $result" >&5
6221 echo "${ECHO_T}$result" >&6; }
6222
6223
6224 enablestring=
6225 defaultval=$wxUSE_ALL_FEATURES
6226 if test -z "$defaultval"; then
6227 if test x"$enablestring" = xdisable; then
6228 defaultval=yes
6229 else
6230 defaultval=no
6231 fi
6232 fi
6233
6234 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipv6" >&5
6235 echo $ECHO_N "checking for --${enablestring:-enable}-ipv6... $ECHO_C" >&6; }
6236 # Check whether --enable-ipv6 was given.
6237 if test "${enable_ipv6+set}" = set; then
6238 enableval=$enable_ipv6;
6239 if test "$enableval" = yes; then
6240 wx_cv_use_ipv6='wxUSE_IPV6=yes'
6241 else
6242 wx_cv_use_ipv6='wxUSE_IPV6=no'
6243 fi
6244
6245 else
6246
6247 wx_cv_use_ipv6='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
6248
6249 fi
6250
6251
6252 eval "$wx_cv_use_ipv6"
6253
6254 if test x"$enablestring" = xdisable; then
6255 if test $wxUSE_IPV6 = no; then
6256 result=yes
6257 else
6258 result=no
6259 fi
6260 else
6261 result=$wxUSE_IPV6
6262 fi
6263
6264 { echo "$as_me:$LINENO: result: $result" >&5
6265 echo "${ECHO_T}$result" >&6; }
6266
6267
6268 enablestring=
6269 defaultval=$wxUSE_ALL_FEATURES
6270 if test -z "$defaultval"; then
6271 if test x"$enablestring" = xdisable; then
6272 defaultval=yes
6273 else
6274 defaultval=no
6275 fi
6276 fi
6277
6278 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
6279 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
6280 # Check whether --enable-ole was given.
6281 if test "${enable_ole+set}" = set; then
6282 enableval=$enable_ole;
6283 if test "$enableval" = yes; then
6284 wx_cv_use_ole='wxUSE_OLE=yes'
6285 else
6286 wx_cv_use_ole='wxUSE_OLE=no'
6287 fi
6288
6289 else
6290
6291 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6292
6293 fi
6294
6295
6296 eval "$wx_cv_use_ole"
6297
6298 if test x"$enablestring" = xdisable; then
6299 if test $wxUSE_OLE = no; then
6300 result=yes
6301 else
6302 result=no
6303 fi
6304 else
6305 result=$wxUSE_OLE
6306 fi
6307
6308 { echo "$as_me:$LINENO: result: $result" >&5
6309 echo "${ECHO_T}$result" >&6; }
6310
6311
6312 enablestring=
6313 defaultval=$wxUSE_ALL_FEATURES
6314 if test -z "$defaultval"; then
6315 if test x"$enablestring" = xdisable; then
6316 defaultval=yes
6317 else
6318 defaultval=no
6319 fi
6320 fi
6321
6322 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
6323 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
6324 # Check whether --enable-dataobj was given.
6325 if test "${enable_dataobj+set}" = set; then
6326 enableval=$enable_dataobj;
6327 if test "$enableval" = yes; then
6328 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6329 else
6330 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6331 fi
6332
6333 else
6334
6335 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6336
6337 fi
6338
6339
6340 eval "$wx_cv_use_dataobj"
6341
6342 if test x"$enablestring" = xdisable; then
6343 if test $wxUSE_DATAOBJ = no; then
6344 result=yes
6345 else
6346 result=no
6347 fi
6348 else
6349 result=$wxUSE_DATAOBJ
6350 fi
6351
6352 { echo "$as_me:$LINENO: result: $result" >&5
6353 echo "${ECHO_T}$result" >&6; }
6354
6355
6356
6357 enablestring=
6358 defaultval=$wxUSE_ALL_FEATURES
6359 if test -z "$defaultval"; then
6360 if test x"$enablestring" = xdisable; then
6361 defaultval=yes
6362 else
6363 defaultval=no
6364 fi
6365 fi
6366
6367 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6368 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6369 # Check whether --enable-ipc was given.
6370 if test "${enable_ipc+set}" = set; then
6371 enableval=$enable_ipc;
6372 if test "$enableval" = yes; then
6373 wx_cv_use_ipc='wxUSE_IPC=yes'
6374 else
6375 wx_cv_use_ipc='wxUSE_IPC=no'
6376 fi
6377
6378 else
6379
6380 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6381
6382 fi
6383
6384
6385 eval "$wx_cv_use_ipc"
6386
6387 if test x"$enablestring" = xdisable; then
6388 if test $wxUSE_IPC = no; then
6389 result=yes
6390 else
6391 result=no
6392 fi
6393 else
6394 result=$wxUSE_IPC
6395 fi
6396
6397 { echo "$as_me:$LINENO: result: $result" >&5
6398 echo "${ECHO_T}$result" >&6; }
6399
6400
6401
6402 enablestring=
6403 defaultval=$wxUSE_ALL_FEATURES
6404 if test -z "$defaultval"; then
6405 if test x"$enablestring" = xdisable; then
6406 defaultval=yes
6407 else
6408 defaultval=no
6409 fi
6410 fi
6411
6412 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6413 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6414 # Check whether --enable-baseevtloop was given.
6415 if test "${enable_baseevtloop+set}" = set; then
6416 enableval=$enable_baseevtloop;
6417 if test "$enableval" = yes; then
6418 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
6419 else
6420 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
6421 fi
6422
6423 else
6424
6425 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6426
6427 fi
6428
6429
6430 eval "$wx_cv_use_baseevtloop"
6431
6432 if test x"$enablestring" = xdisable; then
6433 if test $wxUSE_CONSOLE_EVENTLOOP = no; then
6434 result=yes
6435 else
6436 result=no
6437 fi
6438 else
6439 result=$wxUSE_CONSOLE_EVENTLOOP
6440 fi
6441
6442 { echo "$as_me:$LINENO: result: $result" >&5
6443 echo "${ECHO_T}$result" >&6; }
6444
6445
6446 enablestring=
6447 defaultval=$wxUSE_ALL_FEATURES
6448 if test -z "$defaultval"; then
6449 if test x"$enablestring" = xdisable; then
6450 defaultval=yes
6451 else
6452 defaultval=no
6453 fi
6454 fi
6455
6456 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-epollloop" >&5
6457 echo $ECHO_N "checking for --${enablestring:-enable}-epollloop... $ECHO_C" >&6; }
6458 # Check whether --enable-epollloop was given.
6459 if test "${enable_epollloop+set}" = set; then
6460 enableval=$enable_epollloop;
6461 if test "$enableval" = yes; then
6462 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
6463 else
6464 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
6465 fi
6466
6467 else
6468
6469 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6470
6471 fi
6472
6473
6474 eval "$wx_cv_use_epollloop"
6475
6476 if test x"$enablestring" = xdisable; then
6477 if test $wxUSE_EPOLL_DISPATCHER = no; then
6478 result=yes
6479 else
6480 result=no
6481 fi
6482 else
6483 result=$wxUSE_EPOLL_DISPATCHER
6484 fi
6485
6486 { echo "$as_me:$LINENO: result: $result" >&5
6487 echo "${ECHO_T}$result" >&6; }
6488
6489
6490 enablestring=
6491 defaultval=$wxUSE_ALL_FEATURES
6492 if test -z "$defaultval"; then
6493 if test x"$enablestring" = xdisable; then
6494 defaultval=yes
6495 else
6496 defaultval=no
6497 fi
6498 fi
6499
6500 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6501 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6502 # Check whether --enable-selectloop was given.
6503 if test "${enable_selectloop+set}" = set; then
6504 enableval=$enable_selectloop;
6505 if test "$enableval" = yes; then
6506 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
6507 else
6508 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
6509 fi
6510
6511 else
6512
6513 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6514
6515 fi
6516
6517
6518 eval "$wx_cv_use_selectloop"
6519
6520 if test x"$enablestring" = xdisable; then
6521 if test $wxUSE_SELECT_DISPATCHER = no; then
6522 result=yes
6523 else
6524 result=no
6525 fi
6526 else
6527 result=$wxUSE_SELECT_DISPATCHER
6528 fi
6529
6530 { echo "$as_me:$LINENO: result: $result" >&5
6531 echo "${ECHO_T}$result" >&6; }
6532
6533
6534
6535 enablestring=
6536 defaultval=$wxUSE_ALL_FEATURES
6537 if test -z "$defaultval"; then
6538 if test x"$enablestring" = xdisable; then
6539 defaultval=yes
6540 else
6541 defaultval=no
6542 fi
6543 fi
6544
6545 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-any" >&5
6546 echo $ECHO_N "checking for --${enablestring:-enable}-any... $ECHO_C" >&6; }
6547 # Check whether --enable-any was given.
6548 if test "${enable_any+set}" = set; then
6549 enableval=$enable_any;
6550 if test "$enableval" = yes; then
6551 wx_cv_use_any='wxUSE_ANY=yes'
6552 else
6553 wx_cv_use_any='wxUSE_ANY=no'
6554 fi
6555
6556 else
6557
6558 wx_cv_use_any='wxUSE_ANY=${'DEFAULT_wxUSE_ANY":-$defaultval}"
6559
6560 fi
6561
6562
6563 eval "$wx_cv_use_any"
6564
6565 if test x"$enablestring" = xdisable; then
6566 if test $wxUSE_ANY = no; then
6567 result=yes
6568 else
6569 result=no
6570 fi
6571 else
6572 result=$wxUSE_ANY
6573 fi
6574
6575 { echo "$as_me:$LINENO: result: $result" >&5
6576 echo "${ECHO_T}$result" >&6; }
6577
6578
6579 enablestring=
6580 defaultval=$wxUSE_ALL_FEATURES
6581 if test -z "$defaultval"; then
6582 if test x"$enablestring" = xdisable; then
6583 defaultval=yes
6584 else
6585 defaultval=no
6586 fi
6587 fi
6588
6589 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6590 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6591 # Check whether --enable-apple_ieee was given.
6592 if test "${enable_apple_ieee+set}" = set; then
6593 enableval=$enable_apple_ieee;
6594 if test "$enableval" = yes; then
6595 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6596 else
6597 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6598 fi
6599
6600 else
6601
6602 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6603
6604 fi
6605
6606
6607 eval "$wx_cv_use_apple_ieee"
6608
6609 if test x"$enablestring" = xdisable; then
6610 if test $wxUSE_APPLE_IEEE = no; then
6611 result=yes
6612 else
6613 result=no
6614 fi
6615 else
6616 result=$wxUSE_APPLE_IEEE
6617 fi
6618
6619 { echo "$as_me:$LINENO: result: $result" >&5
6620 echo "${ECHO_T}$result" >&6; }
6621
6622
6623 enablestring=
6624 defaultval=$wxUSE_ALL_FEATURES
6625 if test -z "$defaultval"; then
6626 if test x"$enablestring" = xdisable; then
6627 defaultval=yes
6628 else
6629 defaultval=no
6630 fi
6631 fi
6632
6633 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6634 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6635 # Check whether --enable-arcstream was given.
6636 if test "${enable_arcstream+set}" = set; then
6637 enableval=$enable_arcstream;
6638 if test "$enableval" = yes; then
6639 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6640 else
6641 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6642 fi
6643
6644 else
6645
6646 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6647
6648 fi
6649
6650
6651 eval "$wx_cv_use_arcstream"
6652
6653 if test x"$enablestring" = xdisable; then
6654 if test $wxUSE_ARCHIVE_STREAMS = no; then
6655 result=yes
6656 else
6657 result=no
6658 fi
6659 else
6660 result=$wxUSE_ARCHIVE_STREAMS
6661 fi
6662
6663 { echo "$as_me:$LINENO: result: $result" >&5
6664 echo "${ECHO_T}$result" >&6; }
6665
6666
6667 enablestring=
6668 defaultval=$wxUSE_ALL_FEATURES
6669 if test -z "$defaultval"; then
6670 if test x"$enablestring" = xdisable; then
6671 defaultval=yes
6672 else
6673 defaultval=no
6674 fi
6675 fi
6676
6677 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6678 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6679 # Check whether --enable-base64 was given.
6680 if test "${enable_base64+set}" = set; then
6681 enableval=$enable_base64;
6682 if test "$enableval" = yes; then
6683 wx_cv_use_base64='wxUSE_BASE64=yes'
6684 else
6685 wx_cv_use_base64='wxUSE_BASE64=no'
6686 fi
6687
6688 else
6689
6690 wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6691
6692 fi
6693
6694
6695 eval "$wx_cv_use_base64"
6696
6697 if test x"$enablestring" = xdisable; then
6698 if test $wxUSE_BASE64 = no; then
6699 result=yes
6700 else
6701 result=no
6702 fi
6703 else
6704 result=$wxUSE_BASE64
6705 fi
6706
6707 { echo "$as_me:$LINENO: result: $result" >&5
6708 echo "${ECHO_T}$result" >&6; }
6709
6710
6711 enablestring=
6712 defaultval=$wxUSE_ALL_FEATURES
6713 if test -z "$defaultval"; then
6714 if test x"$enablestring" = xdisable; then
6715 defaultval=yes
6716 else
6717 defaultval=no
6718 fi
6719 fi
6720
6721 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
6722 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
6723 # Check whether --enable-backtrace was given.
6724 if test "${enable_backtrace+set}" = set; then
6725 enableval=$enable_backtrace;
6726 if test "$enableval" = yes; then
6727 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
6728 else
6729 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
6730 fi
6731
6732 else
6733
6734 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6735
6736 fi
6737
6738
6739 eval "$wx_cv_use_backtrace"
6740
6741 if test x"$enablestring" = xdisable; then
6742 if test $wxUSE_STACKWALKER = no; then
6743 result=yes
6744 else
6745 result=no
6746 fi
6747 else
6748 result=$wxUSE_STACKWALKER
6749 fi
6750
6751 { echo "$as_me:$LINENO: result: $result" >&5
6752 echo "${ECHO_T}$result" >&6; }
6753
6754
6755 enablestring=
6756 defaultval=$wxUSE_ALL_FEATURES
6757 if test -z "$defaultval"; then
6758 if test x"$enablestring" = xdisable; then
6759 defaultval=yes
6760 else
6761 defaultval=no
6762 fi
6763 fi
6764
6765 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
6766 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
6767 # Check whether --enable-catch_segvs was given.
6768 if test "${enable_catch_segvs+set}" = set; then
6769 enableval=$enable_catch_segvs;
6770 if test "$enableval" = yes; then
6771 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
6772 else
6773 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
6774 fi
6775
6776 else
6777
6778 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6779
6780 fi
6781
6782
6783 eval "$wx_cv_use_catch_segvs"
6784
6785 if test x"$enablestring" = xdisable; then
6786 if test $wxUSE_ON_FATAL_EXCEPTION = no; then
6787 result=yes
6788 else
6789 result=no
6790 fi
6791 else
6792 result=$wxUSE_ON_FATAL_EXCEPTION
6793 fi
6794
6795 { echo "$as_me:$LINENO: result: $result" >&5
6796 echo "${ECHO_T}$result" >&6; }
6797
6798
6799 enablestring=
6800 defaultval=$wxUSE_ALL_FEATURES
6801 if test -z "$defaultval"; then
6802 if test x"$enablestring" = xdisable; then
6803 defaultval=yes
6804 else
6805 defaultval=no
6806 fi
6807 fi
6808
6809 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6810 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6811 # Check whether --enable-cmdline was given.
6812 if test "${enable_cmdline+set}" = set; then
6813 enableval=$enable_cmdline;
6814 if test "$enableval" = yes; then
6815 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
6816 else
6817 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
6818 fi
6819
6820 else
6821
6822 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6823
6824 fi
6825
6826
6827 eval "$wx_cv_use_cmdline"
6828
6829 if test x"$enablestring" = xdisable; then
6830 if test $wxUSE_CMDLINE_PARSER = no; then
6831 result=yes
6832 else
6833 result=no
6834 fi
6835 else
6836 result=$wxUSE_CMDLINE_PARSER
6837 fi
6838
6839 { echo "$as_me:$LINENO: result: $result" >&5
6840 echo "${ECHO_T}$result" >&6; }
6841
6842
6843 enablestring=
6844 defaultval=$wxUSE_ALL_FEATURES
6845 if test -z "$defaultval"; then
6846 if test x"$enablestring" = xdisable; then
6847 defaultval=yes
6848 else
6849 defaultval=no
6850 fi
6851 fi
6852
6853 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6854 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
6855 # Check whether --enable-datetime was given.
6856 if test "${enable_datetime+set}" = set; then
6857 enableval=$enable_datetime;
6858 if test "$enableval" = yes; then
6859 wx_cv_use_datetime='wxUSE_DATETIME=yes'
6860 else
6861 wx_cv_use_datetime='wxUSE_DATETIME=no'
6862 fi
6863
6864 else
6865
6866 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6867
6868 fi
6869
6870
6871 eval "$wx_cv_use_datetime"
6872
6873 if test x"$enablestring" = xdisable; then
6874 if test $wxUSE_DATETIME = no; then
6875 result=yes
6876 else
6877 result=no
6878 fi
6879 else
6880 result=$wxUSE_DATETIME
6881 fi
6882
6883 { echo "$as_me:$LINENO: result: $result" >&5
6884 echo "${ECHO_T}$result" >&6; }
6885
6886
6887 enablestring=
6888 defaultval=$wxUSE_ALL_FEATURES
6889 if test -z "$defaultval"; then
6890 if test x"$enablestring" = xdisable; then
6891 defaultval=yes
6892 else
6893 defaultval=no
6894 fi
6895 fi
6896
6897 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6898 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
6899 # Check whether --enable-debugreport was given.
6900 if test "${enable_debugreport+set}" = set; then
6901 enableval=$enable_debugreport;
6902 if test "$enableval" = yes; then
6903 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6904 else
6905 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6906 fi
6907
6908 else
6909
6910 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6911
6912 fi
6913
6914
6915 eval "$wx_cv_use_debugreport"
6916
6917 if test x"$enablestring" = xdisable; then
6918 if test $wxUSE_DEBUGREPORT = no; then
6919 result=yes
6920 else
6921 result=no
6922 fi
6923 else
6924 result=$wxUSE_DEBUGREPORT
6925 fi
6926
6927 { echo "$as_me:$LINENO: result: $result" >&5
6928 echo "${ECHO_T}$result" >&6; }
6929
6930
6931 enablestring=
6932 defaultval=$wxUSE_ALL_FEATURES
6933 if test -z "$defaultval"; then
6934 if test x"$enablestring" = xdisable; then
6935 defaultval=yes
6936 else
6937 defaultval=no
6938 fi
6939 fi
6940
6941 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6942 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6943 # Check whether --enable-dialupman was given.
6944 if test "${enable_dialupman+set}" = set; then
6945 enableval=$enable_dialupman;
6946 if test "$enableval" = yes; then
6947 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
6948 else
6949 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
6950 fi
6951
6952 else
6953
6954 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
6955
6956 fi
6957
6958
6959 eval "$wx_cv_use_dialupman"
6960
6961 if test x"$enablestring" = xdisable; then
6962 if test $wxUSE_DIALUP_MANAGER = no; then
6963 result=yes
6964 else
6965 result=no
6966 fi
6967 else
6968 result=$wxUSE_DIALUP_MANAGER
6969 fi
6970
6971 { echo "$as_me:$LINENO: result: $result" >&5
6972 echo "${ECHO_T}$result" >&6; }
6973
6974
6975 enablestring=
6976 defaultval=$wxUSE_ALL_FEATURES
6977 if test -z "$defaultval"; then
6978 if test x"$enablestring" = xdisable; then
6979 defaultval=yes
6980 else
6981 defaultval=no
6982 fi
6983 fi
6984
6985 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6986 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6987 # Check whether --enable-dynlib was given.
6988 if test "${enable_dynlib+set}" = set; then
6989 enableval=$enable_dynlib;
6990 if test "$enableval" = yes; then
6991 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6992 else
6993 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6994 fi
6995
6996 else
6997
6998 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
6999
7000 fi
7001
7002
7003 eval "$wx_cv_use_dynlib"
7004
7005 if test x"$enablestring" = xdisable; then
7006 if test $wxUSE_DYNLIB_CLASS = no; then
7007 result=yes
7008 else
7009 result=no
7010 fi
7011 else
7012 result=$wxUSE_DYNLIB_CLASS
7013 fi
7014
7015 { echo "$as_me:$LINENO: result: $result" >&5
7016 echo "${ECHO_T}$result" >&6; }
7017
7018
7019 enablestring=
7020 defaultval=$wxUSE_ALL_FEATURES
7021 if test -z "$defaultval"; then
7022 if test x"$enablestring" = xdisable; then
7023 defaultval=yes
7024 else
7025 defaultval=no
7026 fi
7027 fi
7028
7029 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
7030 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
7031 # Check whether --enable-dynamicloader was given.
7032 if test "${enable_dynamicloader+set}" = set; then
7033 enableval=$enable_dynamicloader;
7034 if test "$enableval" = yes; then
7035 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
7036 else
7037 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
7038 fi
7039
7040 else
7041
7042 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
7043
7044 fi
7045
7046
7047 eval "$wx_cv_use_dynamicloader"
7048
7049 if test x"$enablestring" = xdisable; then
7050 if test $wxUSE_DYNAMIC_LOADER = no; then
7051 result=yes
7052 else
7053 result=no
7054 fi
7055 else
7056 result=$wxUSE_DYNAMIC_LOADER
7057 fi
7058
7059 { echo "$as_me:$LINENO: result: $result" >&5
7060 echo "${ECHO_T}$result" >&6; }
7061
7062
7063 enablestring=
7064 defaultval=$wxUSE_ALL_FEATURES
7065 if test -z "$defaultval"; then
7066 if test x"$enablestring" = xdisable; then
7067 defaultval=yes
7068 else
7069 defaultval=no
7070 fi
7071 fi
7072
7073 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
7074 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
7075 # Check whether --enable-exceptions was given.
7076 if test "${enable_exceptions+set}" = set; then
7077 enableval=$enable_exceptions;
7078 if test "$enableval" = yes; then
7079 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
7080 else
7081 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
7082 fi
7083
7084 else
7085
7086 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
7087
7088 fi
7089
7090
7091 eval "$wx_cv_use_exceptions"
7092
7093 if test x"$enablestring" = xdisable; then
7094 if test $wxUSE_EXCEPTIONS = no; then
7095 result=yes
7096 else
7097 result=no
7098 fi
7099 else
7100 result=$wxUSE_EXCEPTIONS
7101 fi
7102
7103 { echo "$as_me:$LINENO: result: $result" >&5
7104 echo "${ECHO_T}$result" >&6; }
7105
7106
7107 enablestring=
7108 defaultval=$wxUSE_ALL_FEATURES
7109 if test -z "$defaultval"; then
7110 if test x"$enablestring" = xdisable; then
7111 defaultval=yes
7112 else
7113 defaultval=no
7114 fi
7115 fi
7116
7117 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
7118 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
7119 # Check whether --enable-ffile was given.
7120 if test "${enable_ffile+set}" = set; then
7121 enableval=$enable_ffile;
7122 if test "$enableval" = yes; then
7123 wx_cv_use_ffile='wxUSE_FFILE=yes'
7124 else
7125 wx_cv_use_ffile='wxUSE_FFILE=no'
7126 fi
7127
7128 else
7129
7130 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
7131
7132 fi
7133
7134
7135 eval "$wx_cv_use_ffile"
7136
7137 if test x"$enablestring" = xdisable; then
7138 if test $wxUSE_FFILE = no; then
7139 result=yes
7140 else
7141 result=no
7142 fi
7143 else
7144 result=$wxUSE_FFILE
7145 fi
7146
7147 { echo "$as_me:$LINENO: result: $result" >&5
7148 echo "${ECHO_T}$result" >&6; }
7149
7150
7151 enablestring=
7152 defaultval=$wxUSE_ALL_FEATURES
7153 if test -z "$defaultval"; then
7154 if test x"$enablestring" = xdisable; then
7155 defaultval=yes
7156 else
7157 defaultval=no
7158 fi
7159 fi
7160
7161 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
7162 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
7163 # Check whether --enable-file was given.
7164 if test "${enable_file+set}" = set; then
7165 enableval=$enable_file;
7166 if test "$enableval" = yes; then
7167 wx_cv_use_file='wxUSE_FILE=yes'
7168 else
7169 wx_cv_use_file='wxUSE_FILE=no'
7170 fi
7171
7172 else
7173
7174 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
7175
7176 fi
7177
7178
7179 eval "$wx_cv_use_file"
7180
7181 if test x"$enablestring" = xdisable; then
7182 if test $wxUSE_FILE = no; then
7183 result=yes
7184 else
7185 result=no
7186 fi
7187 else
7188 result=$wxUSE_FILE
7189 fi
7190
7191 { echo "$as_me:$LINENO: result: $result" >&5
7192 echo "${ECHO_T}$result" >&6; }
7193
7194
7195 enablestring=
7196 defaultval=$wxUSE_ALL_FEATURES
7197 if test -z "$defaultval"; then
7198 if test x"$enablestring" = xdisable; then
7199 defaultval=yes
7200 else
7201 defaultval=no
7202 fi
7203 fi
7204
7205 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filehistory" >&5
7206 echo $ECHO_N "checking for --${enablestring:-enable}-filehistory... $ECHO_C" >&6; }
7207 # Check whether --enable-filehistory was given.
7208 if test "${enable_filehistory+set}" = set; then
7209 enableval=$enable_filehistory;
7210 if test "$enableval" = yes; then
7211 wx_cv_use_filehistory='wxUSE_FILE_HISTORY=yes'
7212 else
7213 wx_cv_use_filehistory='wxUSE_FILE_HISTORY=no'
7214 fi
7215
7216 else
7217
7218 wx_cv_use_filehistory='wxUSE_FILE_HISTORY=${'DEFAULT_wxUSE_FILE_HISTORY":-$defaultval}"
7219
7220 fi
7221
7222
7223 eval "$wx_cv_use_filehistory"
7224
7225 if test x"$enablestring" = xdisable; then
7226 if test $wxUSE_FILE_HISTORY = no; then
7227 result=yes
7228 else
7229 result=no
7230 fi
7231 else
7232 result=$wxUSE_FILE_HISTORY
7233 fi
7234
7235 { echo "$as_me:$LINENO: result: $result" >&5
7236 echo "${ECHO_T}$result" >&6; }
7237
7238
7239 enablestring=
7240 defaultval=$wxUSE_ALL_FEATURES
7241 if test -z "$defaultval"; then
7242 if test x"$enablestring" = xdisable; then
7243 defaultval=yes
7244 else
7245 defaultval=no
7246 fi
7247 fi
7248
7249 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
7250 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
7251 # Check whether --enable-filesystem was given.
7252 if test "${enable_filesystem+set}" = set; then
7253 enableval=$enable_filesystem;
7254 if test "$enableval" = yes; then
7255 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
7256 else
7257 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
7258 fi
7259
7260 else
7261
7262 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
7263
7264 fi
7265
7266
7267 eval "$wx_cv_use_filesystem"
7268
7269 if test x"$enablestring" = xdisable; then
7270 if test $wxUSE_FILESYSTEM = no; then
7271 result=yes
7272 else
7273 result=no
7274 fi
7275 else
7276 result=$wxUSE_FILESYSTEM
7277 fi
7278
7279 { echo "$as_me:$LINENO: result: $result" >&5
7280 echo "${ECHO_T}$result" >&6; }
7281
7282
7283 enablestring=
7284 defaultval=$wxUSE_ALL_FEATURES
7285 if test -z "$defaultval"; then
7286 if test x"$enablestring" = xdisable; then
7287 defaultval=yes
7288 else
7289 defaultval=no
7290 fi
7291 fi
7292
7293 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
7294 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
7295 # Check whether --enable-fontenum was given.
7296 if test "${enable_fontenum+set}" = set; then
7297 enableval=$enable_fontenum;
7298 if test "$enableval" = yes; then
7299 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
7300 else
7301 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
7302 fi
7303
7304 else
7305
7306 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
7307
7308 fi
7309
7310
7311 eval "$wx_cv_use_fontenum"
7312
7313 if test x"$enablestring" = xdisable; then
7314 if test $wxUSE_FONTENUM = no; then
7315 result=yes
7316 else
7317 result=no
7318 fi
7319 else
7320 result=$wxUSE_FONTENUM
7321 fi
7322
7323 { echo "$as_me:$LINENO: result: $result" >&5
7324 echo "${ECHO_T}$result" >&6; }
7325
7326
7327 enablestring=
7328 defaultval=$wxUSE_ALL_FEATURES
7329 if test -z "$defaultval"; then
7330 if test x"$enablestring" = xdisable; then
7331 defaultval=yes
7332 else
7333 defaultval=no
7334 fi
7335 fi
7336
7337 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
7338 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
7339 # Check whether --enable-fontmap was given.
7340 if test "${enable_fontmap+set}" = set; then
7341 enableval=$enable_fontmap;
7342 if test "$enableval" = yes; then
7343 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
7344 else
7345 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
7346 fi
7347
7348 else
7349
7350 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
7351
7352 fi
7353
7354
7355 eval "$wx_cv_use_fontmap"
7356
7357 if test x"$enablestring" = xdisable; then
7358 if test $wxUSE_FONTMAP = no; then
7359 result=yes
7360 else
7361 result=no
7362 fi
7363 else
7364 result=$wxUSE_FONTMAP
7365 fi
7366
7367 { echo "$as_me:$LINENO: result: $result" >&5
7368 echo "${ECHO_T}$result" >&6; }
7369
7370
7371 enablestring=
7372 defaultval=$wxUSE_ALL_FEATURES
7373 if test -z "$defaultval"; then
7374 if test x"$enablestring" = xdisable; then
7375 defaultval=yes
7376 else
7377 defaultval=no
7378 fi
7379 fi
7380
7381 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7382 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7383 # Check whether --enable-fs_archive was given.
7384 if test "${enable_fs_archive+set}" = set; then
7385 enableval=$enable_fs_archive;
7386 if test "$enableval" = yes; then
7387 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
7388 else
7389 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
7390 fi
7391
7392 else
7393
7394 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7395
7396 fi
7397
7398
7399 eval "$wx_cv_use_fs_archive"
7400
7401 if test x"$enablestring" = xdisable; then
7402 if test $wxUSE_FS_ARCHIVE = no; then
7403 result=yes
7404 else
7405 result=no
7406 fi
7407 else
7408 result=$wxUSE_FS_ARCHIVE
7409 fi
7410
7411 { echo "$as_me:$LINENO: result: $result" >&5
7412 echo "${ECHO_T}$result" >&6; }
7413
7414
7415 enablestring=
7416 defaultval=$wxUSE_ALL_FEATURES
7417 if test -z "$defaultval"; then
7418 if test x"$enablestring" = xdisable; then
7419 defaultval=yes
7420 else
7421 defaultval=no
7422 fi
7423 fi
7424
7425 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
7426 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
7427 # Check whether --enable-fs_inet was given.
7428 if test "${enable_fs_inet+set}" = set; then
7429 enableval=$enable_fs_inet;
7430 if test "$enableval" = yes; then
7431 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
7432 else
7433 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
7434 fi
7435
7436 else
7437
7438 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7439
7440 fi
7441
7442
7443 eval "$wx_cv_use_fs_inet"
7444
7445 if test x"$enablestring" = xdisable; then
7446 if test $wxUSE_FS_INET = no; then
7447 result=yes
7448 else
7449 result=no
7450 fi
7451 else
7452 result=$wxUSE_FS_INET
7453 fi
7454
7455 { echo "$as_me:$LINENO: result: $result" >&5
7456 echo "${ECHO_T}$result" >&6; }
7457
7458
7459 enablestring=
7460 defaultval=$wxUSE_ALL_FEATURES
7461 if test -z "$defaultval"; then
7462 if test x"$enablestring" = xdisable; then
7463 defaultval=yes
7464 else
7465 defaultval=no
7466 fi
7467 fi
7468
7469 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
7470 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
7471 # Check whether --enable-fs_zip was given.
7472 if test "${enable_fs_zip+set}" = set; then
7473 enableval=$enable_fs_zip;
7474 if test "$enableval" = yes; then
7475 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
7476 else
7477 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
7478 fi
7479
7480 else
7481
7482 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7483
7484 fi
7485
7486
7487 eval "$wx_cv_use_fs_zip"
7488
7489 if test x"$enablestring" = xdisable; then
7490 if test $wxUSE_FS_ZIP = no; then
7491 result=yes
7492 else
7493 result=no
7494 fi
7495 else
7496 result=$wxUSE_FS_ZIP
7497 fi
7498
7499 { echo "$as_me:$LINENO: result: $result" >&5
7500 echo "${ECHO_T}$result" >&6; }
7501
7502
7503 enablestring=
7504 defaultval=$wxUSE_ALL_FEATURES
7505 if test -z "$defaultval"; then
7506 if test x"$enablestring" = xdisable; then
7507 defaultval=yes
7508 else
7509 defaultval=no
7510 fi
7511 fi
7512
7513 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fswatcher" >&5
7514 echo $ECHO_N "checking for --${enablestring:-enable}-fswatcher... $ECHO_C" >&6; }
7515 # Check whether --enable-fswatcher was given.
7516 if test "${enable_fswatcher+set}" = set; then
7517 enableval=$enable_fswatcher;
7518 if test "$enableval" = yes; then
7519 wx_cv_use_fswatcher='wxUSE_FSWATCHER=yes'
7520 else
7521 wx_cv_use_fswatcher='wxUSE_FSWATCHER=no'
7522 fi
7523
7524 else
7525
7526 wx_cv_use_fswatcher='wxUSE_FSWATCHER=${'DEFAULT_wxUSE_FSWATCHER":-$defaultval}"
7527
7528 fi
7529
7530
7531 eval "$wx_cv_use_fswatcher"
7532
7533 if test x"$enablestring" = xdisable; then
7534 if test $wxUSE_FSWATCHER = no; then
7535 result=yes
7536 else
7537 result=no
7538 fi
7539 else
7540 result=$wxUSE_FSWATCHER
7541 fi
7542
7543 { echo "$as_me:$LINENO: result: $result" >&5
7544 echo "${ECHO_T}$result" >&6; }
7545
7546
7547 enablestring=
7548 defaultval=$wxUSE_ALL_FEATURES
7549 if test -z "$defaultval"; then
7550 if test x"$enablestring" = xdisable; then
7551 defaultval=yes
7552 else
7553 defaultval=no
7554 fi
7555 fi
7556
7557 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
7558 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
7559 # Check whether --enable-geometry was given.
7560 if test "${enable_geometry+set}" = set; then
7561 enableval=$enable_geometry;
7562 if test "$enableval" = yes; then
7563 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
7564 else
7565 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
7566 fi
7567
7568 else
7569
7570 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7571
7572 fi
7573
7574
7575 eval "$wx_cv_use_geometry"
7576
7577 if test x"$enablestring" = xdisable; then
7578 if test $wxUSE_GEOMETRY = no; then
7579 result=yes
7580 else
7581 result=no
7582 fi
7583 else
7584 result=$wxUSE_GEOMETRY
7585 fi
7586
7587 { echo "$as_me:$LINENO: result: $result" >&5
7588 echo "${ECHO_T}$result" >&6; }
7589
7590
7591 enablestring=
7592 defaultval=$wxUSE_ALL_FEATURES
7593 if test -z "$defaultval"; then
7594 if test x"$enablestring" = xdisable; then
7595 defaultval=yes
7596 else
7597 defaultval=no
7598 fi
7599 fi
7600
7601 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
7602 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
7603 # Check whether --enable-log was given.
7604 if test "${enable_log+set}" = set; then
7605 enableval=$enable_log;
7606 if test "$enableval" = yes; then
7607 wx_cv_use_log='wxUSE_LOG=yes'
7608 else
7609 wx_cv_use_log='wxUSE_LOG=no'
7610 fi
7611
7612 else
7613
7614 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7615
7616 fi
7617
7618
7619 eval "$wx_cv_use_log"
7620
7621 if test x"$enablestring" = xdisable; then
7622 if test $wxUSE_LOG = no; then
7623 result=yes
7624 else
7625 result=no
7626 fi
7627 else
7628 result=$wxUSE_LOG
7629 fi
7630
7631 { echo "$as_me:$LINENO: result: $result" >&5
7632 echo "${ECHO_T}$result" >&6; }
7633
7634
7635 enablestring=
7636 defaultval=$wxUSE_ALL_FEATURES
7637 if test -z "$defaultval"; then
7638 if test x"$enablestring" = xdisable; then
7639 defaultval=yes
7640 else
7641 defaultval=no
7642 fi
7643 fi
7644
7645 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
7646 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
7647 # Check whether --enable-longlong was given.
7648 if test "${enable_longlong+set}" = set; then
7649 enableval=$enable_longlong;
7650 if test "$enableval" = yes; then
7651 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
7652 else
7653 wx_cv_use_longlong='wxUSE_LONGLONG=no'
7654 fi
7655
7656 else
7657
7658 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7659
7660 fi
7661
7662
7663 eval "$wx_cv_use_longlong"
7664
7665 if test x"$enablestring" = xdisable; then
7666 if test $wxUSE_LONGLONG = no; then
7667 result=yes
7668 else
7669 result=no
7670 fi
7671 else
7672 result=$wxUSE_LONGLONG
7673 fi
7674
7675 { echo "$as_me:$LINENO: result: $result" >&5
7676 echo "${ECHO_T}$result" >&6; }
7677
7678
7679 enablestring=
7680 defaultval=$wxUSE_ALL_FEATURES
7681 if test -z "$defaultval"; then
7682 if test x"$enablestring" = xdisable; then
7683 defaultval=yes
7684 else
7685 defaultval=no
7686 fi
7687 fi
7688
7689 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
7690 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
7691 # Check whether --enable-mimetype was given.
7692 if test "${enable_mimetype+set}" = set; then
7693 enableval=$enable_mimetype;
7694 if test "$enableval" = yes; then
7695 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
7696 else
7697 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
7698 fi
7699
7700 else
7701
7702 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7703
7704 fi
7705
7706
7707 eval "$wx_cv_use_mimetype"
7708
7709 if test x"$enablestring" = xdisable; then
7710 if test $wxUSE_MIMETYPE = no; then
7711 result=yes
7712 else
7713 result=no
7714 fi
7715 else
7716 result=$wxUSE_MIMETYPE
7717 fi
7718
7719 { echo "$as_me:$LINENO: result: $result" >&5
7720 echo "${ECHO_T}$result" >&6; }
7721
7722
7723 enablestring=
7724 defaultval=$wxUSE_ALL_FEATURES
7725 if test -z "$defaultval"; then
7726 if test x"$enablestring" = xdisable; then
7727 defaultval=yes
7728 else
7729 defaultval=no
7730 fi
7731 fi
7732
7733 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7734 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7735 # Check whether --enable-printfposparam was given.
7736 if test "${enable_printfposparam+set}" = set; then
7737 enableval=$enable_printfposparam;
7738 if test "$enableval" = yes; then
7739 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
7740 else
7741 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
7742 fi
7743
7744 else
7745
7746 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
7747
7748 fi
7749
7750
7751 eval "$wx_cv_use_printfposparam"
7752
7753 if test x"$enablestring" = xdisable; then
7754 if test $wxUSE_PRINTF_POS_PARAMS = no; then
7755 result=yes
7756 else
7757 result=no
7758 fi
7759 else
7760 result=$wxUSE_PRINTF_POS_PARAMS
7761 fi
7762
7763 { echo "$as_me:$LINENO: result: $result" >&5
7764 echo "${ECHO_T}$result" >&6; }
7765
7766
7767 enablestring=
7768 defaultval=$wxUSE_ALL_FEATURES
7769 if test -z "$defaultval"; then
7770 if test x"$enablestring" = xdisable; then
7771 defaultval=yes
7772 else
7773 defaultval=no
7774 fi
7775 fi
7776
7777 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
7778 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
7779 # Check whether --enable-snglinst was given.
7780 if test "${enable_snglinst+set}" = set; then
7781 enableval=$enable_snglinst;
7782 if test "$enableval" = yes; then
7783 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
7784 else
7785 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
7786 fi
7787
7788 else
7789
7790 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7791
7792 fi
7793
7794
7795 eval "$wx_cv_use_snglinst"
7796
7797 if test x"$enablestring" = xdisable; then
7798 if test $wxUSE_SNGLINST_CHECKER = no; then
7799 result=yes
7800 else
7801 result=no
7802 fi
7803 else
7804 result=$wxUSE_SNGLINST_CHECKER
7805 fi
7806
7807 { echo "$as_me:$LINENO: result: $result" >&5
7808 echo "${ECHO_T}$result" >&6; }
7809
7810
7811 enablestring=
7812 defaultval=$wxUSE_ALL_FEATURES
7813 if test -z "$defaultval"; then
7814 if test x"$enablestring" = xdisable; then
7815 defaultval=yes
7816 else
7817 defaultval=no
7818 fi
7819 fi
7820
7821 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7822 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7823 # Check whether --enable-sound was given.
7824 if test "${enable_sound+set}" = set; then
7825 enableval=$enable_sound;
7826 if test "$enableval" = yes; then
7827 wx_cv_use_sound='wxUSE_SOUND=yes'
7828 else
7829 wx_cv_use_sound='wxUSE_SOUND=no'
7830 fi
7831
7832 else
7833
7834 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
7835
7836 fi
7837
7838
7839 eval "$wx_cv_use_sound"
7840
7841 if test x"$enablestring" = xdisable; then
7842 if test $wxUSE_SOUND = no; then
7843 result=yes
7844 else
7845 result=no
7846 fi
7847 else
7848 result=$wxUSE_SOUND
7849 fi
7850
7851 { echo "$as_me:$LINENO: result: $result" >&5
7852 echo "${ECHO_T}$result" >&6; }
7853
7854
7855 enablestring=
7856 defaultval=$wxUSE_ALL_FEATURES
7857 if test -z "$defaultval"; then
7858 if test x"$enablestring" = xdisable; then
7859 defaultval=yes
7860 else
7861 defaultval=no
7862 fi
7863 fi
7864
7865 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7866 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
7867 # Check whether --enable-stdpaths was given.
7868 if test "${enable_stdpaths+set}" = set; then
7869 enableval=$enable_stdpaths;
7870 if test "$enableval" = yes; then
7871 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
7872 else
7873 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
7874 fi
7875
7876 else
7877
7878 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7879
7880 fi
7881
7882
7883 eval "$wx_cv_use_stdpaths"
7884
7885 if test x"$enablestring" = xdisable; then
7886 if test $wxUSE_STDPATHS = no; then
7887 result=yes
7888 else
7889 result=no
7890 fi
7891 else
7892 result=$wxUSE_STDPATHS
7893 fi
7894
7895 { echo "$as_me:$LINENO: result: $result" >&5
7896 echo "${ECHO_T}$result" >&6; }
7897
7898
7899 enablestring=
7900 defaultval=$wxUSE_ALL_FEATURES
7901 if test -z "$defaultval"; then
7902 if test x"$enablestring" = xdisable; then
7903 defaultval=yes
7904 else
7905 defaultval=no
7906 fi
7907 fi
7908
7909 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
7910 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
7911 # Check whether --enable-stopwatch was given.
7912 if test "${enable_stopwatch+set}" = set; then
7913 enableval=$enable_stopwatch;
7914 if test "$enableval" = yes; then
7915 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
7916 else
7917 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
7918 fi
7919
7920 else
7921
7922 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7923
7924 fi
7925
7926
7927 eval "$wx_cv_use_stopwatch"
7928
7929 if test x"$enablestring" = xdisable; then
7930 if test $wxUSE_STOPWATCH = no; then
7931 result=yes
7932 else
7933 result=no
7934 fi
7935 else
7936 result=$wxUSE_STOPWATCH
7937 fi
7938
7939 { echo "$as_me:$LINENO: result: $result" >&5
7940 echo "${ECHO_T}$result" >&6; }
7941
7942
7943 enablestring=
7944 defaultval=$wxUSE_ALL_FEATURES
7945 if test -z "$defaultval"; then
7946 if test x"$enablestring" = xdisable; then
7947 defaultval=yes
7948 else
7949 defaultval=no
7950 fi
7951 fi
7952
7953 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
7954 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
7955 # Check whether --enable-streams was given.
7956 if test "${enable_streams+set}" = set; then
7957 enableval=$enable_streams;
7958 if test "$enableval" = yes; then
7959 wx_cv_use_streams='wxUSE_STREAMS=yes'
7960 else
7961 wx_cv_use_streams='wxUSE_STREAMS=no'
7962 fi
7963
7964 else
7965
7966 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7967
7968 fi
7969
7970
7971 eval "$wx_cv_use_streams"
7972
7973 if test x"$enablestring" = xdisable; then
7974 if test $wxUSE_STREAMS = no; then
7975 result=yes
7976 else
7977 result=no
7978 fi
7979 else
7980 result=$wxUSE_STREAMS
7981 fi
7982
7983 { echo "$as_me:$LINENO: result: $result" >&5
7984 echo "${ECHO_T}$result" >&6; }
7985
7986
7987 enablestring=
7988 defaultval=$wxUSE_ALL_FEATURES
7989 if test -z "$defaultval"; then
7990 if test x"$enablestring" = xdisable; then
7991 defaultval=yes
7992 else
7993 defaultval=no
7994 fi
7995 fi
7996
7997 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sysoptions" >&5
7998 echo $ECHO_N "checking for --${enablestring:-enable}-sysoptions... $ECHO_C" >&6; }
7999 # Check whether --enable-sysoptions was given.
8000 if test "${enable_sysoptions+set}" = set; then
8001 enableval=$enable_sysoptions;
8002 if test "$enableval" = yes; then
8003 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=yes'
8004 else
8005 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=no'
8006 fi
8007
8008 else
8009
8010 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
8011
8012 fi
8013
8014
8015 eval "$wx_cv_use_sysoptions"
8016
8017 if test x"$enablestring" = xdisable; then
8018 if test $wxUSE_SYSTEM_OPTIONS = no; then
8019 result=yes
8020 else
8021 result=no
8022 fi
8023 else
8024 result=$wxUSE_SYSTEM_OPTIONS
8025 fi
8026
8027 { echo "$as_me:$LINENO: result: $result" >&5
8028 echo "${ECHO_T}$result" >&6; }
8029
8030
8031 enablestring=
8032 defaultval=$wxUSE_ALL_FEATURES
8033 if test -z "$defaultval"; then
8034 if test x"$enablestring" = xdisable; then
8035 defaultval=yes
8036 else
8037 defaultval=no
8038 fi
8039 fi
8040
8041 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
8042 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
8043 # Check whether --enable-tarstream was given.
8044 if test "${enable_tarstream+set}" = set; then
8045 enableval=$enable_tarstream;
8046 if test "$enableval" = yes; then
8047 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
8048 else
8049 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
8050 fi
8051
8052 else
8053
8054 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
8055
8056 fi
8057
8058
8059 eval "$wx_cv_use_tarstream"
8060
8061 if test x"$enablestring" = xdisable; then
8062 if test $wxUSE_TARSTREAM = no; then
8063 result=yes
8064 else
8065 result=no
8066 fi
8067 else
8068 result=$wxUSE_TARSTREAM
8069 fi
8070
8071 { echo "$as_me:$LINENO: result: $result" >&5
8072 echo "${ECHO_T}$result" >&6; }
8073
8074
8075 enablestring=
8076 defaultval=$wxUSE_ALL_FEATURES
8077 if test -z "$defaultval"; then
8078 if test x"$enablestring" = xdisable; then
8079 defaultval=yes
8080 else
8081 defaultval=no
8082 fi
8083 fi
8084
8085 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
8086 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
8087 # Check whether --enable-textbuf was given.
8088 if test "${enable_textbuf+set}" = set; then
8089 enableval=$enable_textbuf;
8090 if test "$enableval" = yes; then
8091 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
8092 else
8093 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
8094 fi
8095
8096 else
8097
8098 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
8099
8100 fi
8101
8102
8103 eval "$wx_cv_use_textbuf"
8104
8105 if test x"$enablestring" = xdisable; then
8106 if test $wxUSE_TEXTBUFFER = no; then
8107 result=yes
8108 else
8109 result=no
8110 fi
8111 else
8112 result=$wxUSE_TEXTBUFFER
8113 fi
8114
8115 { echo "$as_me:$LINENO: result: $result" >&5
8116 echo "${ECHO_T}$result" >&6; }
8117
8118
8119 enablestring=
8120 defaultval=$wxUSE_ALL_FEATURES
8121 if test -z "$defaultval"; then
8122 if test x"$enablestring" = xdisable; then
8123 defaultval=yes
8124 else
8125 defaultval=no
8126 fi
8127 fi
8128
8129 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
8130 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
8131 # Check whether --enable-textfile was given.
8132 if test "${enable_textfile+set}" = set; then
8133 enableval=$enable_textfile;
8134 if test "$enableval" = yes; then
8135 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
8136 else
8137 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
8138 fi
8139
8140 else
8141
8142 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
8143
8144 fi
8145
8146
8147 eval "$wx_cv_use_textfile"
8148
8149 if test x"$enablestring" = xdisable; then
8150 if test $wxUSE_TEXTFILE = no; then
8151 result=yes
8152 else
8153 result=no
8154 fi
8155 else
8156 result=$wxUSE_TEXTFILE
8157 fi
8158
8159 { echo "$as_me:$LINENO: result: $result" >&5
8160 echo "${ECHO_T}$result" >&6; }
8161
8162
8163 enablestring=
8164 defaultval=$wxUSE_ALL_FEATURES
8165 if test -z "$defaultval"; then
8166 if test x"$enablestring" = xdisable; then
8167 defaultval=yes
8168 else
8169 defaultval=no
8170 fi
8171 fi
8172
8173 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
8174 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
8175 # Check whether --enable-timer was given.
8176 if test "${enable_timer+set}" = set; then
8177 enableval=$enable_timer;
8178 if test "$enableval" = yes; then
8179 wx_cv_use_timer='wxUSE_TIMER=yes'
8180 else
8181 wx_cv_use_timer='wxUSE_TIMER=no'
8182 fi
8183
8184 else
8185
8186 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
8187
8188 fi
8189
8190
8191 eval "$wx_cv_use_timer"
8192
8193 if test x"$enablestring" = xdisable; then
8194 if test $wxUSE_TIMER = no; then
8195 result=yes
8196 else
8197 result=no
8198 fi
8199 else
8200 result=$wxUSE_TIMER
8201 fi
8202
8203 { echo "$as_me:$LINENO: result: $result" >&5
8204 echo "${ECHO_T}$result" >&6; }
8205
8206
8207 enablestring=
8208 defaultval=$wxUSE_ALL_FEATURES
8209 if test -z "$defaultval"; then
8210 if test x"$enablestring" = xdisable; then
8211 defaultval=yes
8212 else
8213 defaultval=no
8214 fi
8215 fi
8216
8217 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
8218 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
8219 # Check whether --enable-variant was given.
8220 if test "${enable_variant+set}" = set; then
8221 enableval=$enable_variant;
8222 if test "$enableval" = yes; then
8223 wx_cv_use_variant='wxUSE_VARIANT=yes'
8224 else
8225 wx_cv_use_variant='wxUSE_VARIANT=no'
8226 fi
8227
8228 else
8229
8230 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
8231
8232 fi
8233
8234
8235 eval "$wx_cv_use_variant"
8236
8237 if test x"$enablestring" = xdisable; then
8238 if test $wxUSE_VARIANT = no; then
8239 result=yes
8240 else
8241 result=no
8242 fi
8243 else
8244 result=$wxUSE_VARIANT
8245 fi
8246
8247 { echo "$as_me:$LINENO: result: $result" >&5
8248 echo "${ECHO_T}$result" >&6; }
8249
8250
8251 enablestring=
8252 defaultval=$wxUSE_ALL_FEATURES
8253 if test -z "$defaultval"; then
8254 if test x"$enablestring" = xdisable; then
8255 defaultval=yes
8256 else
8257 defaultval=no
8258 fi
8259 fi
8260
8261 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
8262 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
8263 # Check whether --enable-zipstream was given.
8264 if test "${enable_zipstream+set}" = set; then
8265 enableval=$enable_zipstream;
8266 if test "$enableval" = yes; then
8267 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
8268 else
8269 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
8270 fi
8271
8272 else
8273
8274 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
8275
8276 fi
8277
8278
8279 eval "$wx_cv_use_zipstream"
8280
8281 if test x"$enablestring" = xdisable; then
8282 if test $wxUSE_ZIPSTREAM = no; then
8283 result=yes
8284 else
8285 result=no
8286 fi
8287 else
8288 result=$wxUSE_ZIPSTREAM
8289 fi
8290
8291 { echo "$as_me:$LINENO: result: $result" >&5
8292 echo "${ECHO_T}$result" >&6; }
8293
8294
8295
8296 enablestring=
8297 defaultval=$wxUSE_ALL_FEATURES
8298 if test -z "$defaultval"; then
8299 if test x"$enablestring" = xdisable; then
8300 defaultval=yes
8301 else
8302 defaultval=no
8303 fi
8304 fi
8305
8306 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
8307 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
8308 # Check whether --enable-url was given.
8309 if test "${enable_url+set}" = set; then
8310 enableval=$enable_url;
8311 if test "$enableval" = yes; then
8312 wx_cv_use_url='wxUSE_URL=yes'
8313 else
8314 wx_cv_use_url='wxUSE_URL=no'
8315 fi
8316
8317 else
8318
8319 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
8320
8321 fi
8322
8323
8324 eval "$wx_cv_use_url"
8325
8326 if test x"$enablestring" = xdisable; then
8327 if test $wxUSE_URL = no; then
8328 result=yes
8329 else
8330 result=no
8331 fi
8332 else
8333 result=$wxUSE_URL
8334 fi
8335
8336 { echo "$as_me:$LINENO: result: $result" >&5
8337 echo "${ECHO_T}$result" >&6; }
8338
8339
8340 enablestring=
8341 defaultval=$wxUSE_ALL_FEATURES
8342 if test -z "$defaultval"; then
8343 if test x"$enablestring" = xdisable; then
8344 defaultval=yes
8345 else
8346 defaultval=no
8347 fi
8348 fi
8349
8350 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
8351 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
8352 # Check whether --enable-protocol was given.
8353 if test "${enable_protocol+set}" = set; then
8354 enableval=$enable_protocol;
8355 if test "$enableval" = yes; then
8356 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
8357 else
8358 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
8359 fi
8360
8361 else
8362
8363 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
8364
8365 fi
8366
8367
8368 eval "$wx_cv_use_protocol"
8369
8370 if test x"$enablestring" = xdisable; then
8371 if test $wxUSE_PROTOCOL = no; then
8372 result=yes
8373 else
8374 result=no
8375 fi
8376 else
8377 result=$wxUSE_PROTOCOL
8378 fi
8379
8380 { echo "$as_me:$LINENO: result: $result" >&5
8381 echo "${ECHO_T}$result" >&6; }
8382
8383
8384 enablestring=
8385 defaultval=$wxUSE_ALL_FEATURES
8386 if test -z "$defaultval"; then
8387 if test x"$enablestring" = xdisable; then
8388 defaultval=yes
8389 else
8390 defaultval=no
8391 fi
8392 fi
8393
8394 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
8395 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
8396 # Check whether --enable-protocol_http was given.
8397 if test "${enable_protocol_http+set}" = set; then
8398 enableval=$enable_protocol_http;
8399 if test "$enableval" = yes; then
8400 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
8401 else
8402 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
8403 fi
8404
8405 else
8406
8407 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
8408
8409 fi
8410
8411
8412 eval "$wx_cv_use_protocol_http"
8413
8414 if test x"$enablestring" = xdisable; then
8415 if test $wxUSE_PROTOCOL_HTTP = no; then
8416 result=yes
8417 else
8418 result=no
8419 fi
8420 else
8421 result=$wxUSE_PROTOCOL_HTTP
8422 fi
8423
8424 { echo "$as_me:$LINENO: result: $result" >&5
8425 echo "${ECHO_T}$result" >&6; }
8426
8427
8428 enablestring=
8429 defaultval=$wxUSE_ALL_FEATURES
8430 if test -z "$defaultval"; then
8431 if test x"$enablestring" = xdisable; then
8432 defaultval=yes
8433 else
8434 defaultval=no
8435 fi
8436 fi
8437
8438 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
8439 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
8440 # Check whether --enable-protocol_ftp was given.
8441 if test "${enable_protocol_ftp+set}" = set; then
8442 enableval=$enable_protocol_ftp;
8443 if test "$enableval" = yes; then
8444 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
8445 else
8446 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
8447 fi
8448
8449 else
8450
8451 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
8452
8453 fi
8454
8455
8456 eval "$wx_cv_use_protocol_ftp"
8457
8458 if test x"$enablestring" = xdisable; then
8459 if test $wxUSE_PROTOCOL_FTP = no; then
8460 result=yes
8461 else
8462 result=no
8463 fi
8464 else
8465 result=$wxUSE_PROTOCOL_FTP
8466 fi
8467
8468 { echo "$as_me:$LINENO: result: $result" >&5
8469 echo "${ECHO_T}$result" >&6; }
8470
8471
8472 enablestring=
8473 defaultval=$wxUSE_ALL_FEATURES
8474 if test -z "$defaultval"; then
8475 if test x"$enablestring" = xdisable; then
8476 defaultval=yes
8477 else
8478 defaultval=no
8479 fi
8480 fi
8481
8482 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
8483 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
8484 # Check whether --enable-protocol_file was given.
8485 if test "${enable_protocol_file+set}" = set; then
8486 enableval=$enable_protocol_file;
8487 if test "$enableval" = yes; then
8488 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
8489 else
8490 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
8491 fi
8492
8493 else
8494
8495 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
8496
8497 fi
8498
8499
8500 eval "$wx_cv_use_protocol_file"
8501
8502 if test x"$enablestring" = xdisable; then
8503 if test $wxUSE_PROTOCOL_FILE = no; then
8504 result=yes
8505 else
8506 result=no
8507 fi
8508 else
8509 result=$wxUSE_PROTOCOL_FILE
8510 fi
8511
8512 { echo "$as_me:$LINENO: result: $result" >&5
8513 echo "${ECHO_T}$result" >&6; }
8514
8515
8516
8517 enablestring=
8518 defaultval=$wxUSE_ALL_FEATURES
8519 if test -z "$defaultval"; then
8520 if test x"$enablestring" = xdisable; then
8521 defaultval=yes
8522 else
8523 defaultval=no
8524 fi
8525 fi
8526
8527 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
8528 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
8529 # Check whether --enable-threads was given.
8530 if test "${enable_threads+set}" = set; then
8531 enableval=$enable_threads;
8532 if test "$enableval" = yes; then
8533 wx_cv_use_threads='wxUSE_THREADS=yes'
8534 else
8535 wx_cv_use_threads='wxUSE_THREADS=no'
8536 fi
8537
8538 else
8539
8540 wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8541
8542 fi
8543
8544
8545 eval "$wx_cv_use_threads"
8546
8547 if test x"$enablestring" = xdisable; then
8548 if test $wxUSE_THREADS = no; then
8549 result=yes
8550 else
8551 result=no
8552 fi
8553 else
8554 result=$wxUSE_THREADS
8555 fi
8556
8557 { echo "$as_me:$LINENO: result: $result" >&5
8558 echo "${ECHO_T}$result" >&6; }
8559
8560
8561
8562 enablestring=
8563 defaultval=
8564 if test -z "$defaultval"; then
8565 if test x"$enablestring" = xdisable; then
8566 defaultval=yes
8567 else
8568 defaultval=no
8569 fi
8570 fi
8571
8572 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iniconf" >&5
8573 echo $ECHO_N "checking for --${enablestring:-enable}-iniconf... $ECHO_C" >&6; }
8574 # Check whether --enable-iniconf was given.
8575 if test "${enable_iniconf+set}" = set; then
8576 enableval=$enable_iniconf;
8577 if test "$enableval" = yes; then
8578 wx_cv_use_iniconf='wxUSE_INICONF=yes'
8579 else
8580 wx_cv_use_iniconf='wxUSE_INICONF=no'
8581 fi
8582
8583 else
8584
8585 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
8586
8587 fi
8588
8589
8590 eval "$wx_cv_use_iniconf"
8591
8592 if test x"$enablestring" = xdisable; then
8593 if test $wxUSE_INICONF = no; then
8594 result=yes
8595 else
8596 result=no
8597 fi
8598 else
8599 result=$wxUSE_INICONF
8600 fi
8601
8602 { echo "$as_me:$LINENO: result: $result" >&5
8603 echo "${ECHO_T}$result" >&6; }
8604
8605
8606 enablestring=
8607 defaultval=$wxUSE_ALL_FEATURES
8608 if test -z "$defaultval"; then
8609 if test x"$enablestring" = xdisable; then
8610 defaultval=yes
8611 else
8612 defaultval=no
8613 fi
8614 fi
8615
8616 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
8617 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
8618 # Check whether --enable-regkey was given.
8619 if test "${enable_regkey+set}" = set; then
8620 enableval=$enable_regkey;
8621 if test "$enableval" = yes; then
8622 wx_cv_use_regkey='wxUSE_REGKEY=yes'
8623 else
8624 wx_cv_use_regkey='wxUSE_REGKEY=no'
8625 fi
8626
8627 else
8628
8629 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
8630
8631 fi
8632
8633
8634 eval "$wx_cv_use_regkey"
8635
8636 if test x"$enablestring" = xdisable; then
8637 if test $wxUSE_REGKEY = no; then
8638 result=yes
8639 else
8640 result=no
8641 fi
8642 else
8643 result=$wxUSE_REGKEY
8644 fi
8645
8646 { echo "$as_me:$LINENO: result: $result" >&5
8647 echo "${ECHO_T}$result" >&6; }
8648
8649
8650 if test "$wxUSE_GUI" = "yes"; then
8651
8652
8653
8654 enablestring=
8655 defaultval=$wxUSE_ALL_FEATURES
8656 if test -z "$defaultval"; then
8657 if test x"$enablestring" = xdisable; then
8658 defaultval=yes
8659 else
8660 defaultval=no
8661 fi
8662 fi
8663
8664 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
8665 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
8666 # Check whether --enable-docview was given.
8667 if test "${enable_docview+set}" = set; then
8668 enableval=$enable_docview;
8669 if test "$enableval" = yes; then
8670 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
8671 else
8672 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
8673 fi
8674
8675 else
8676
8677 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8678
8679 fi
8680
8681
8682 eval "$wx_cv_use_docview"
8683
8684 if test x"$enablestring" = xdisable; then
8685 if test $wxUSE_DOC_VIEW_ARCHITECTURE = no; then
8686 result=yes
8687 else
8688 result=no
8689 fi
8690 else
8691 result=$wxUSE_DOC_VIEW_ARCHITECTURE
8692 fi
8693
8694 { echo "$as_me:$LINENO: result: $result" >&5
8695 echo "${ECHO_T}$result" >&6; }
8696
8697
8698 enablestring=
8699 defaultval=$wxUSE_ALL_FEATURES
8700 if test -z "$defaultval"; then
8701 if test x"$enablestring" = xdisable; then
8702 defaultval=yes
8703 else
8704 defaultval=no
8705 fi
8706 fi
8707
8708 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
8709 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
8710 # Check whether --enable-help was given.
8711 if test "${enable_help+set}" = set; then
8712 enableval=$enable_help;
8713 if test "$enableval" = yes; then
8714 wx_cv_use_help='wxUSE_HELP=yes'
8715 else
8716 wx_cv_use_help='wxUSE_HELP=no'
8717 fi
8718
8719 else
8720
8721 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8722
8723 fi
8724
8725
8726 eval "$wx_cv_use_help"
8727
8728 if test x"$enablestring" = xdisable; then
8729 if test $wxUSE_HELP = no; then
8730 result=yes
8731 else
8732 result=no
8733 fi
8734 else
8735 result=$wxUSE_HELP
8736 fi
8737
8738 { echo "$as_me:$LINENO: result: $result" >&5
8739 echo "${ECHO_T}$result" >&6; }
8740
8741
8742 enablestring=
8743 defaultval=$wxUSE_ALL_FEATURES
8744 if test -z "$defaultval"; then
8745 if test x"$enablestring" = xdisable; then
8746 defaultval=yes
8747 else
8748 defaultval=no
8749 fi
8750 fi
8751
8752 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
8753 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
8754 # Check whether --enable-mshtmlhelp was given.
8755 if test "${enable_mshtmlhelp+set}" = set; then
8756 enableval=$enable_mshtmlhelp;
8757 if test "$enableval" = yes; then
8758 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
8759 else
8760 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
8761 fi
8762
8763 else
8764
8765 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
8766
8767 fi
8768
8769
8770 eval "$wx_cv_use_mshtmlhelp"
8771
8772 if test x"$enablestring" = xdisable; then
8773 if test $wxUSE_MS_HTML_HELP = no; then
8774 result=yes
8775 else
8776 result=no
8777 fi
8778 else
8779 result=$wxUSE_MS_HTML_HELP
8780 fi
8781
8782 { echo "$as_me:$LINENO: result: $result" >&5
8783 echo "${ECHO_T}$result" >&6; }
8784
8785
8786 enablestring=
8787 defaultval=$wxUSE_ALL_FEATURES
8788 if test -z "$defaultval"; then
8789 if test x"$enablestring" = xdisable; then
8790 defaultval=yes
8791 else
8792 defaultval=no
8793 fi
8794 fi
8795
8796 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
8797 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
8798 # Check whether --enable-html was given.
8799 if test "${enable_html+set}" = set; then
8800 enableval=$enable_html;
8801 if test "$enableval" = yes; then
8802 wx_cv_use_html='wxUSE_HTML=yes'
8803 else
8804 wx_cv_use_html='wxUSE_HTML=no'
8805 fi
8806
8807 else
8808
8809 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
8810
8811 fi
8812
8813
8814 eval "$wx_cv_use_html"
8815
8816 if test x"$enablestring" = xdisable; then
8817 if test $wxUSE_HTML = no; then
8818 result=yes
8819 else
8820 result=no
8821 fi
8822 else
8823 result=$wxUSE_HTML
8824 fi
8825
8826 { echo "$as_me:$LINENO: result: $result" >&5
8827 echo "${ECHO_T}$result" >&6; }
8828
8829
8830 enablestring=
8831 defaultval=$wxUSE_ALL_FEATURES
8832 if test -z "$defaultval"; then
8833 if test x"$enablestring" = xdisable; then
8834 defaultval=yes
8835 else
8836 defaultval=no
8837 fi
8838 fi
8839
8840 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
8841 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
8842 # Check whether --enable-htmlhelp was given.
8843 if test "${enable_htmlhelp+set}" = set; then
8844 enableval=$enable_htmlhelp;
8845 if test "$enableval" = yes; then
8846 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
8847 else
8848 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
8849 fi
8850
8851 else
8852
8853 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
8854
8855 fi
8856
8857
8858 eval "$wx_cv_use_htmlhelp"
8859
8860 if test x"$enablestring" = xdisable; then
8861 if test $wxUSE_WXHTML_HELP = no; then
8862 result=yes
8863 else
8864 result=no
8865 fi
8866 else
8867 result=$wxUSE_WXHTML_HELP
8868 fi
8869
8870 { echo "$as_me:$LINENO: result: $result" >&5
8871 echo "${ECHO_T}$result" >&6; }
8872
8873
8874 enablestring=
8875 defaultval=$wxUSE_ALL_FEATURES
8876 if test -z "$defaultval"; then
8877 if test x"$enablestring" = xdisable; then
8878 defaultval=yes
8879 else
8880 defaultval=no
8881 fi
8882 fi
8883
8884 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
8885 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
8886 # Check whether --enable-xrc was given.
8887 if test "${enable_xrc+set}" = set; then
8888 enableval=$enable_xrc;
8889 if test "$enableval" = yes; then
8890 wx_cv_use_xrc='wxUSE_XRC=yes'
8891 else
8892 wx_cv_use_xrc='wxUSE_XRC=no'
8893 fi
8894
8895 else
8896
8897 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
8898
8899 fi
8900
8901
8902 eval "$wx_cv_use_xrc"
8903
8904 if test x"$enablestring" = xdisable; then
8905 if test $wxUSE_XRC = no; then
8906 result=yes
8907 else
8908 result=no
8909 fi
8910 else
8911 result=$wxUSE_XRC
8912 fi
8913
8914 { echo "$as_me:$LINENO: result: $result" >&5
8915 echo "${ECHO_T}$result" >&6; }
8916
8917
8918 enablestring=
8919 defaultval=$wxUSE_ALL_FEATURES
8920 if test -z "$defaultval"; then
8921 if test x"$enablestring" = xdisable; then
8922 defaultval=yes
8923 else
8924 defaultval=no
8925 fi
8926 fi
8927
8928 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8929 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
8930 # Check whether --enable-aui was given.
8931 if test "${enable_aui+set}" = set; then
8932 enableval=$enable_aui;
8933 if test "$enableval" = yes; then
8934 wx_cv_use_aui='wxUSE_AUI=yes'
8935 else
8936 wx_cv_use_aui='wxUSE_AUI=no'
8937 fi
8938
8939 else
8940
8941 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
8942
8943 fi
8944
8945
8946 eval "$wx_cv_use_aui"
8947
8948 if test x"$enablestring" = xdisable; then
8949 if test $wxUSE_AUI = no; then
8950 result=yes
8951 else
8952 result=no
8953 fi
8954 else
8955 result=$wxUSE_AUI
8956 fi
8957
8958 { echo "$as_me:$LINENO: result: $result" >&5
8959 echo "${ECHO_T}$result" >&6; }
8960
8961
8962 enablestring=
8963 defaultval=$wxUSE_ALL_FEATURES
8964 if test -z "$defaultval"; then
8965 if test x"$enablestring" = xdisable; then
8966 defaultval=yes
8967 else
8968 defaultval=no
8969 fi
8970 fi
8971
8972 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-propgrid" >&5
8973 echo $ECHO_N "checking for --${enablestring:-enable}-propgrid... $ECHO_C" >&6; }
8974 # Check whether --enable-propgrid was given.
8975 if test "${enable_propgrid+set}" = set; then
8976 enableval=$enable_propgrid;
8977 if test "$enableval" = yes; then
8978 wx_cv_use_propgrid='wxUSE_PROPGRID=yes'
8979 else
8980 wx_cv_use_propgrid='wxUSE_PROPGRID=no'
8981 fi
8982
8983 else
8984
8985 wx_cv_use_propgrid='wxUSE_PROPGRID=${'DEFAULT_wxUSE_PROPGRID":-$defaultval}"
8986
8987 fi
8988
8989
8990 eval "$wx_cv_use_propgrid"
8991
8992 if test x"$enablestring" = xdisable; then
8993 if test $wxUSE_PROPGRID = no; then
8994 result=yes
8995 else
8996 result=no
8997 fi
8998 else
8999 result=$wxUSE_PROPGRID
9000 fi
9001
9002 { echo "$as_me:$LINENO: result: $result" >&5
9003 echo "${ECHO_T}$result" >&6; }
9004
9005
9006 enablestring=
9007 defaultval=$wxUSE_ALL_FEATURES
9008 if test -z "$defaultval"; then
9009 if test x"$enablestring" = xdisable; then
9010 defaultval=yes
9011 else
9012 defaultval=no
9013 fi
9014 fi
9015
9016 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ribbon" >&5
9017 echo $ECHO_N "checking for --${enablestring:-enable}-ribbon... $ECHO_C" >&6; }
9018 # Check whether --enable-ribbon was given.
9019 if test "${enable_ribbon+set}" = set; then
9020 enableval=$enable_ribbon;
9021 if test "$enableval" = yes; then
9022 wx_cv_use_ribbon='wxUSE_RIBBON=yes'
9023 else
9024 wx_cv_use_ribbon='wxUSE_RIBBON=no'
9025 fi
9026
9027 else
9028
9029 wx_cv_use_ribbon='wxUSE_RIBBON=${'DEFAULT_wxUSE_RIBBON":-$defaultval}"
9030
9031 fi
9032
9033
9034 eval "$wx_cv_use_ribbon"
9035
9036 if test x"$enablestring" = xdisable; then
9037 if test $wxUSE_RIBBON = no; then
9038 result=yes
9039 else
9040 result=no
9041 fi
9042 else
9043 result=$wxUSE_RIBBON
9044 fi
9045
9046 { echo "$as_me:$LINENO: result: $result" >&5
9047 echo "${ECHO_T}$result" >&6; }
9048
9049
9050 enablestring=
9051 defaultval=$wxUSE_ALL_FEATURES
9052 if test -z "$defaultval"; then
9053 if test x"$enablestring" = xdisable; then
9054 defaultval=yes
9055 else
9056 defaultval=no
9057 fi
9058 fi
9059
9060 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
9061 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
9062 # Check whether --enable-stc was given.
9063 if test "${enable_stc+set}" = set; then
9064 enableval=$enable_stc;
9065 if test "$enableval" = yes; then
9066 wx_cv_use_stc='wxUSE_STC=yes'
9067 else
9068 wx_cv_use_stc='wxUSE_STC=no'
9069 fi
9070
9071 else
9072
9073 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
9074
9075 fi
9076
9077
9078 eval "$wx_cv_use_stc"
9079
9080 if test x"$enablestring" = xdisable; then
9081 if test $wxUSE_STC = no; then
9082 result=yes
9083 else
9084 result=no
9085 fi
9086 else
9087 result=$wxUSE_STC
9088 fi
9089
9090 { echo "$as_me:$LINENO: result: $result" >&5
9091 echo "${ECHO_T}$result" >&6; }
9092
9093
9094 enablestring=
9095 defaultval=$wxUSE_ALL_FEATURES
9096 if test -z "$defaultval"; then
9097 if test x"$enablestring" = xdisable; then
9098 defaultval=yes
9099 else
9100 defaultval=no
9101 fi
9102 fi
9103
9104 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
9105 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
9106 # Check whether --enable-constraints was given.
9107 if test "${enable_constraints+set}" = set; then
9108 enableval=$enable_constraints;
9109 if test "$enableval" = yes; then
9110 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
9111 else
9112 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
9113 fi
9114
9115 else
9116
9117 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
9118
9119 fi
9120
9121
9122 eval "$wx_cv_use_constraints"
9123
9124 if test x"$enablestring" = xdisable; then
9125 if test $wxUSE_CONSTRAINTS = no; then
9126 result=yes
9127 else
9128 result=no
9129 fi
9130 else
9131 result=$wxUSE_CONSTRAINTS
9132 fi
9133
9134 { echo "$as_me:$LINENO: result: $result" >&5
9135 echo "${ECHO_T}$result" >&6; }
9136
9137
9138 enablestring=
9139 defaultval=$wxUSE_ALL_FEATURES
9140 if test -z "$defaultval"; then
9141 if test x"$enablestring" = xdisable; then
9142 defaultval=yes
9143 else
9144 defaultval=no
9145 fi
9146 fi
9147
9148 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
9149 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
9150 # Check whether --enable-loggui was given.
9151 if test "${enable_loggui+set}" = set; then
9152 enableval=$enable_loggui;
9153 if test "$enableval" = yes; then
9154 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
9155 else
9156 wx_cv_use_loggui='wxUSE_LOGGUI=no'
9157 fi
9158
9159 else
9160
9161 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
9162
9163 fi
9164
9165
9166 eval "$wx_cv_use_loggui"
9167
9168 if test x"$enablestring" = xdisable; then
9169 if test $wxUSE_LOGGUI = no; then
9170 result=yes
9171 else
9172 result=no
9173 fi
9174 else
9175 result=$wxUSE_LOGGUI
9176 fi
9177
9178 { echo "$as_me:$LINENO: result: $result" >&5
9179 echo "${ECHO_T}$result" >&6; }
9180
9181
9182 enablestring=
9183 defaultval=$wxUSE_ALL_FEATURES
9184 if test -z "$defaultval"; then
9185 if test x"$enablestring" = xdisable; then
9186 defaultval=yes
9187 else
9188 defaultval=no
9189 fi
9190 fi
9191
9192 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
9193 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
9194 # Check whether --enable-logwin was given.
9195 if test "${enable_logwin+set}" = set; then
9196 enableval=$enable_logwin;
9197 if test "$enableval" = yes; then
9198 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
9199 else
9200 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
9201 fi
9202
9203 else
9204
9205 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
9206
9207 fi
9208
9209
9210 eval "$wx_cv_use_logwin"
9211
9212 if test x"$enablestring" = xdisable; then
9213 if test $wxUSE_LOGWINDOW = no; then
9214 result=yes
9215 else
9216 result=no
9217 fi
9218 else
9219 result=$wxUSE_LOGWINDOW
9220 fi
9221
9222 { echo "$as_me:$LINENO: result: $result" >&5
9223 echo "${ECHO_T}$result" >&6; }
9224
9225
9226 enablestring=
9227 defaultval=$wxUSE_ALL_FEATURES
9228 if test -z "$defaultval"; then
9229 if test x"$enablestring" = xdisable; then
9230 defaultval=yes
9231 else
9232 defaultval=no
9233 fi
9234 fi
9235
9236 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
9237 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
9238 # Check whether --enable-logdialog was given.
9239 if test "${enable_logdialog+set}" = set; then
9240 enableval=$enable_logdialog;
9241 if test "$enableval" = yes; then
9242 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
9243 else
9244 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
9245 fi
9246
9247 else
9248
9249 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
9250
9251 fi
9252
9253
9254 eval "$wx_cv_use_logdialog"
9255
9256 if test x"$enablestring" = xdisable; then
9257 if test $wxUSE_LOGDIALOG = no; then
9258 result=yes
9259 else
9260 result=no
9261 fi
9262 else
9263 result=$wxUSE_LOGDIALOG
9264 fi
9265
9266 { echo "$as_me:$LINENO: result: $result" >&5
9267 echo "${ECHO_T}$result" >&6; }
9268
9269
9270 enablestring=
9271 defaultval=$wxUSE_ALL_FEATURES
9272 if test -z "$defaultval"; then
9273 if test x"$enablestring" = xdisable; then
9274 defaultval=yes
9275 else
9276 defaultval=no
9277 fi
9278 fi
9279
9280 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
9281 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
9282 # Check whether --enable-mdi was given.
9283 if test "${enable_mdi+set}" = set; then
9284 enableval=$enable_mdi;
9285 if test "$enableval" = yes; then
9286 wx_cv_use_mdi='wxUSE_MDI=yes'
9287 else
9288 wx_cv_use_mdi='wxUSE_MDI=no'
9289 fi
9290
9291 else
9292
9293 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
9294
9295 fi
9296
9297
9298 eval "$wx_cv_use_mdi"
9299
9300 if test x"$enablestring" = xdisable; then
9301 if test $wxUSE_MDI = no; then
9302 result=yes
9303 else
9304 result=no
9305 fi
9306 else
9307 result=$wxUSE_MDI
9308 fi
9309
9310 { echo "$as_me:$LINENO: result: $result" >&5
9311 echo "${ECHO_T}$result" >&6; }
9312
9313
9314 enablestring=
9315 defaultval=$wxUSE_ALL_FEATURES
9316 if test -z "$defaultval"; then
9317 if test x"$enablestring" = xdisable; then
9318 defaultval=yes
9319 else
9320 defaultval=no
9321 fi
9322 fi
9323
9324 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
9325 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
9326 # Check whether --enable-mdidoc was given.
9327 if test "${enable_mdidoc+set}" = set; then
9328 enableval=$enable_mdidoc;
9329 if test "$enableval" = yes; then
9330 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
9331 else
9332 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
9333 fi
9334
9335 else
9336
9337 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
9338
9339 fi
9340
9341
9342 eval "$wx_cv_use_mdidoc"
9343
9344 if test x"$enablestring" = xdisable; then
9345 if test $wxUSE_MDI_ARCHITECTURE = no; then
9346 result=yes
9347 else
9348 result=no
9349 fi
9350 else
9351 result=$wxUSE_MDI_ARCHITECTURE
9352 fi
9353
9354 { echo "$as_me:$LINENO: result: $result" >&5
9355 echo "${ECHO_T}$result" >&6; }
9356
9357
9358 enablestring=
9359 defaultval=$wxUSE_ALL_FEATURES
9360 if test -z "$defaultval"; then
9361 if test x"$enablestring" = xdisable; then
9362 defaultval=yes
9363 else
9364 defaultval=no
9365 fi
9366 fi
9367
9368 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
9369 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
9370 # Check whether --enable-mediactrl was given.
9371 if test "${enable_mediactrl+set}" = set; then
9372 enableval=$enable_mediactrl;
9373 if test "$enableval" = yes; then
9374 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
9375 else
9376 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
9377 fi
9378
9379 else
9380
9381 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
9382
9383 fi
9384
9385
9386 eval "$wx_cv_use_mediactrl"
9387
9388 if test x"$enablestring" = xdisable; then
9389 if test $wxUSE_MEDIACTRL = no; then
9390 result=yes
9391 else
9392 result=no
9393 fi
9394 else
9395 result=$wxUSE_MEDIACTRL
9396 fi
9397
9398 { echo "$as_me:$LINENO: result: $result" >&5
9399 echo "${ECHO_T}$result" >&6; }
9400
9401
9402 enablestring=
9403 defaultval=$wxUSE_ALL_FEATURES
9404 if test -z "$defaultval"; then
9405 if test x"$enablestring" = xdisable; then
9406 defaultval=yes
9407 else
9408 defaultval=no
9409 fi
9410 fi
9411
9412 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
9413 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
9414 # Check whether --enable-gstreamer8 was given.
9415 if test "${enable_gstreamer8+set}" = set; then
9416 enableval=$enable_gstreamer8;
9417 if test "$enableval" = yes; then
9418 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
9419 else
9420 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
9421 fi
9422
9423 else
9424
9425 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
9426
9427 fi
9428
9429
9430 eval "$wx_cv_use_gstreamer8"
9431
9432 if test x"$enablestring" = xdisable; then
9433 if test $wxUSE_GSTREAMER8 = no; then
9434 result=yes
9435 else
9436 result=no
9437 fi
9438 else
9439 result=$wxUSE_GSTREAMER8
9440 fi
9441
9442 { echo "$as_me:$LINENO: result: $result" >&5
9443 echo "${ECHO_T}$result" >&6; }
9444
9445
9446 enablestring=
9447 defaultval=$wxUSE_ALL_FEATURES
9448 if test -z "$defaultval"; then
9449 if test x"$enablestring" = xdisable; then
9450 defaultval=yes
9451 else
9452 defaultval=no
9453 fi
9454 fi
9455
9456 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
9457 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
9458 # Check whether --enable-richtext was given.
9459 if test "${enable_richtext+set}" = set; then
9460 enableval=$enable_richtext;
9461 if test "$enableval" = yes; then
9462 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
9463 else
9464 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
9465 fi
9466
9467 else
9468
9469 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
9470
9471 fi
9472
9473
9474 eval "$wx_cv_use_richtext"
9475
9476 if test x"$enablestring" = xdisable; then
9477 if test $wxUSE_RICHTEXT = no; then
9478 result=yes
9479 else
9480 result=no
9481 fi
9482 else
9483 result=$wxUSE_RICHTEXT
9484 fi
9485
9486 { echo "$as_me:$LINENO: result: $result" >&5
9487 echo "${ECHO_T}$result" >&6; }
9488
9489
9490 enablestring=
9491 defaultval=$wxUSE_ALL_FEATURES
9492 if test -z "$defaultval"; then
9493 if test x"$enablestring" = xdisable; then
9494 defaultval=yes
9495 else
9496 defaultval=no
9497 fi
9498 fi
9499
9500 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
9501 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
9502 # Check whether --enable-postscript was given.
9503 if test "${enable_postscript+set}" = set; then
9504 enableval=$enable_postscript;
9505 if test "$enableval" = yes; then
9506 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
9507 else
9508 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
9509 fi
9510
9511 else
9512
9513 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
9514
9515 fi
9516
9517
9518 eval "$wx_cv_use_postscript"
9519
9520 if test x"$enablestring" = xdisable; then
9521 if test $wxUSE_POSTSCRIPT = no; then
9522 result=yes
9523 else
9524 result=no
9525 fi
9526 else
9527 result=$wxUSE_POSTSCRIPT
9528 fi
9529
9530 { echo "$as_me:$LINENO: result: $result" >&5
9531 echo "${ECHO_T}$result" >&6; }
9532
9533
9534 enablestring=
9535 defaultval=$wxUSE_ALL_FEATURES
9536 if test -z "$defaultval"; then
9537 if test x"$enablestring" = xdisable; then
9538 defaultval=yes
9539 else
9540 defaultval=no
9541 fi
9542 fi
9543
9544 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
9545 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
9546 # Check whether --enable-printarch was given.
9547 if test "${enable_printarch+set}" = set; then
9548 enableval=$enable_printarch;
9549 if test "$enableval" = yes; then
9550 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
9551 else
9552 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
9553 fi
9554
9555 else
9556
9557 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
9558
9559 fi
9560
9561
9562 eval "$wx_cv_use_printarch"
9563
9564 if test x"$enablestring" = xdisable; then
9565 if test $wxUSE_PRINTING_ARCHITECTURE = no; then
9566 result=yes
9567 else
9568 result=no
9569 fi
9570 else
9571 result=$wxUSE_PRINTING_ARCHITECTURE
9572 fi
9573
9574 { echo "$as_me:$LINENO: result: $result" >&5
9575 echo "${ECHO_T}$result" >&6; }
9576
9577
9578 enablestring=
9579 defaultval=$wxUSE_ALL_FEATURES
9580 if test -z "$defaultval"; then
9581 if test x"$enablestring" = xdisable; then
9582 defaultval=yes
9583 else
9584 defaultval=no
9585 fi
9586 fi
9587
9588 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
9589 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
9590 # Check whether --enable-svg was given.
9591 if test "${enable_svg+set}" = set; then
9592 enableval=$enable_svg;
9593 if test "$enableval" = yes; then
9594 wx_cv_use_svg='wxUSE_SVG=yes'
9595 else
9596 wx_cv_use_svg='wxUSE_SVG=no'
9597 fi
9598
9599 else
9600
9601 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
9602
9603 fi
9604
9605
9606 eval "$wx_cv_use_svg"
9607
9608 if test x"$enablestring" = xdisable; then
9609 if test $wxUSE_SVG = no; then
9610 result=yes
9611 else
9612 result=no
9613 fi
9614 else
9615 result=$wxUSE_SVG
9616 fi
9617
9618 { echo "$as_me:$LINENO: result: $result" >&5
9619 echo "${ECHO_T}$result" >&6; }
9620
9621
9622 enablestring=
9623 defaultval=$wxUSE_ALL_FEATURES
9624 if test -z "$defaultval"; then
9625 if test x"$enablestring" = xdisable; then
9626 defaultval=yes
9627 else
9628 defaultval=no
9629 fi
9630 fi
9631
9632 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
9633 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
9634 # Check whether --enable-webkit was given.
9635 if test "${enable_webkit+set}" = set; then
9636 enableval=$enable_webkit;
9637 if test "$enableval" = yes; then
9638 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
9639 else
9640 wx_cv_use_webkit='wxUSE_WEBKIT=no'
9641 fi
9642
9643 else
9644
9645 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
9646
9647 fi
9648
9649
9650 eval "$wx_cv_use_webkit"
9651
9652 if test x"$enablestring" = xdisable; then
9653 if test $wxUSE_WEBKIT = no; then
9654 result=yes
9655 else
9656 result=no
9657 fi
9658 else
9659 result=$wxUSE_WEBKIT
9660 fi
9661
9662 { echo "$as_me:$LINENO: result: $result" >&5
9663 echo "${ECHO_T}$result" >&6; }
9664
9665
9666 enablestring=
9667 defaultval=$wxUSE_ALL_FEATURES
9668 if test -z "$defaultval"; then
9669 if test x"$enablestring" = xdisable; then
9670 defaultval=yes
9671 else
9672 defaultval=no
9673 fi
9674 fi
9675
9676 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webview" >&5
9677 echo $ECHO_N "checking for --${enablestring:-enable}-webview... $ECHO_C" >&6; }
9678 # Check whether --enable-webview was given.
9679 if test "${enable_webview+set}" = set; then
9680 enableval=$enable_webview;
9681 if test "$enableval" = yes; then
9682 wx_cv_use_webview='wxUSE_WEBVIEW=yes'
9683 else
9684 wx_cv_use_webview='wxUSE_WEBVIEW=no'
9685 fi
9686
9687 else
9688
9689 wx_cv_use_webview='wxUSE_WEBVIEW=${'DEFAULT_wxUSE_WEBVIEW":-$defaultval}"
9690
9691 fi
9692
9693
9694 eval "$wx_cv_use_webview"
9695
9696 if test x"$enablestring" = xdisable; then
9697 if test $wxUSE_WEBVIEW = no; then
9698 result=yes
9699 else
9700 result=no
9701 fi
9702 else
9703 result=$wxUSE_WEBVIEW
9704 fi
9705
9706 { echo "$as_me:$LINENO: result: $result" >&5
9707 echo "${ECHO_T}$result" >&6; }
9708
9709
9710 if test "$wxUSE_MAC" != 1; then
9711
9712 enablestring=
9713 defaultval=$wxUSE_ALL_FEATURES
9714 if test -z "$defaultval"; then
9715 if test x"$enablestring" = xdisable; then
9716 defaultval=yes
9717 else
9718 defaultval=no
9719 fi
9720 fi
9721
9722 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
9723 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
9724 # Check whether --enable-graphics_ctx was given.
9725 if test "${enable_graphics_ctx+set}" = set; then
9726 enableval=$enable_graphics_ctx;
9727 if test "$enableval" = yes; then
9728 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
9729 else
9730 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
9731 fi
9732
9733 else
9734
9735 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
9736
9737 fi
9738
9739
9740 eval "$wx_cv_use_graphics_ctx"
9741
9742 if test x"$enablestring" = xdisable; then
9743 if test $wxUSE_GRAPHICS_CONTEXT = no; then
9744 result=yes
9745 else
9746 result=no
9747 fi
9748 else
9749 result=$wxUSE_GRAPHICS_CONTEXT
9750 fi
9751
9752 { echo "$as_me:$LINENO: result: $result" >&5
9753 echo "${ECHO_T}$result" >&6; }
9754
9755 fi
9756
9757
9758
9759 enablestring=
9760 defaultval=$wxUSE_ALL_FEATURES
9761 if test -z "$defaultval"; then
9762 if test x"$enablestring" = xdisable; then
9763 defaultval=yes
9764 else
9765 defaultval=no
9766 fi
9767 fi
9768
9769 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
9770 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
9771 # Check whether --enable-clipboard was given.
9772 if test "${enable_clipboard+set}" = set; then
9773 enableval=$enable_clipboard;
9774 if test "$enableval" = yes; then
9775 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
9776 else
9777 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
9778 fi
9779
9780 else
9781
9782 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
9783
9784 fi
9785
9786
9787 eval "$wx_cv_use_clipboard"
9788
9789 if test x"$enablestring" = xdisable; then
9790 if test $wxUSE_CLIPBOARD = no; then
9791 result=yes
9792 else
9793 result=no
9794 fi
9795 else
9796 result=$wxUSE_CLIPBOARD
9797 fi
9798
9799 { echo "$as_me:$LINENO: result: $result" >&5
9800 echo "${ECHO_T}$result" >&6; }
9801
9802
9803 enablestring=
9804 defaultval=$wxUSE_ALL_FEATURES
9805 if test -z "$defaultval"; then
9806 if test x"$enablestring" = xdisable; then
9807 defaultval=yes
9808 else
9809 defaultval=no
9810 fi
9811 fi
9812
9813 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
9814 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
9815 # Check whether --enable-dnd was given.
9816 if test "${enable_dnd+set}" = set; then
9817 enableval=$enable_dnd;
9818 if test "$enableval" = yes; then
9819 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
9820 else
9821 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
9822 fi
9823
9824 else
9825
9826 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
9827
9828 fi
9829
9830
9831 eval "$wx_cv_use_dnd"
9832
9833 if test x"$enablestring" = xdisable; then
9834 if test $wxUSE_DRAG_AND_DROP = no; then
9835 result=yes
9836 else
9837 result=no
9838 fi
9839 else
9840 result=$wxUSE_DRAG_AND_DROP
9841 fi
9842
9843 { echo "$as_me:$LINENO: result: $result" >&5
9844 echo "${ECHO_T}$result" >&6; }
9845
9846
9847
9848 DEFAULT_wxUSE_CONTROLS=none
9849
9850 enablestring=disable
9851 defaultval=
9852 if test -z "$defaultval"; then
9853 if test x"$enablestring" = xdisable; then
9854 defaultval=yes
9855 else
9856 defaultval=no
9857 fi
9858 fi
9859
9860 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
9861 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
9862 # Check whether --enable-controls was given.
9863 if test "${enable_controls+set}" = set; then
9864 enableval=$enable_controls;
9865 if test "$enableval" = yes; then
9866 wx_cv_use_controls='wxUSE_CONTROLS=yes'
9867 else
9868 wx_cv_use_controls='wxUSE_CONTROLS=no'
9869 fi
9870
9871 else
9872
9873 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
9874
9875 fi
9876
9877
9878 eval "$wx_cv_use_controls"
9879
9880 if test x"$enablestring" = xdisable; then
9881 if test $wxUSE_CONTROLS = no; then
9882 result=yes
9883 else
9884 result=no
9885 fi
9886 else
9887 result=$wxUSE_CONTROLS
9888 fi
9889
9890 { echo "$as_me:$LINENO: result: $result" >&5
9891 echo "${ECHO_T}$result" >&6; }
9892
9893
9894 if test "$wxUSE_CONTROLS" = "no"; then
9895 DEFAULT_wxUSE_ACCEL=no
9896 DEFAULT_wxUSE_ANIMATIONCTRL=no
9897 DEFAULT_wxUSE_BANNERWINDOW=no
9898 DEFAULT_wxUSE_BMPBUTTON=no
9899 DEFAULT_wxUSE_BUTTON=no
9900 DEFAULT_wxUSE_CALCTRL=no
9901 DEFAULT_wxUSE_CARET=no
9902 DEFAULT_wxUSE_CHECKBOX=no
9903 DEFAULT_wxUSE_CHECKLISTBOX=no
9904 DEFAULT_wxUSE_CHOICE=no
9905 DEFAULT_wxUSE_CHOICEBOOK=no
9906 DEFAULT_wxUSE_COLLPANE=no
9907 DEFAULT_wxUSE_COLOURPICKERCTRL=no
9908 DEFAULT_wxUSE_COMBOBOX=no
9909 DEFAULT_wxUSE_COMBOBOX=no
9910 DEFAULT_wxUSE_COMMANDLINKBUTTON=no
9911 DEFAULT_wxUSE_DATAVIEWCTRL=no
9912 DEFAULT_wxUSE_DATEPICKCTRL=no
9913 DEFAULT_wxUSE_DETECT_SM=no
9914 DEFAULT_wxUSE_DIRPICKERCTRL=no
9915 DEFAULT_wxUSE_DISPLAY=no
9916 DEFAULT_wxUSE_FILECTRL=no
9917 DEFAULT_wxUSE_FILEPICKERCTRL=no
9918 DEFAULT_wxUSE_FONTPICKERCTRL=no
9919 DEFAULT_wxUSE_GAUGE=no
9920 DEFAULT_wxUSE_GRID=no
9921 DEFAULT_wxUSE_HEADERCTRL=no
9922 DEFAULT_wxUSE_HYPERLINKCTRL=no
9923 DEFAULT_wxUSE_IMAGLIST=no
9924 DEFAULT_wxUSE_LISTBOOK=no
9925 DEFAULT_wxUSE_LISTBOX=no
9926 DEFAULT_wxUSE_LISTCTRL=no
9927 DEFAULT_wxUSE_MARKUP=no
9928 DEFAULT_wxUSE_NOTEBOOK=no
9929 DEFAULT_wxUSE_POPUPWIN=no
9930 DEFAULT_wxUSE_RADIOBOX=no
9931 DEFAULT_wxUSE_RADIOBTN=no
9932 DEFAULT_wxUSE_RICHMSGDLG=no
9933 DEFAULT_wxUSE_RICHTOOLTIP=no
9934 DEFAULT_wxUSE_REARRANGECTRL=no
9935 DEFAULT_wxUSE_SASH=no
9936 DEFAULT_wxUSE_SCROLLBAR=no
9937 DEFAULT_wxUSE_SEARCHCTRL=no
9938 DEFAULT_wxUSE_SLIDER=no
9939 DEFAULT_wxUSE_SPINBTN=no
9940 DEFAULT_wxUSE_SPINCTRL=no
9941 DEFAULT_wxUSE_SPLITTER=no
9942 DEFAULT_wxUSE_STATBMP=no
9943 DEFAULT_wxUSE_STATBOX=no
9944 DEFAULT_wxUSE_STATLINE=no
9945 DEFAULT_wxUSE_STATUSBAR=no
9946 DEFAULT_wxUSE_TIMEPICKCTRL=no
9947 DEFAULT_wxUSE_TIPWINDOW=no
9948 DEFAULT_wxUSE_TOGGLEBTN=no
9949 DEFAULT_wxUSE_TOOLBAR=no
9950 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
9951 DEFAULT_wxUSE_TOOLBOOK=no
9952 DEFAULT_wxUSE_TOOLTIPS=no
9953 DEFAULT_wxUSE_TREEBOOK=no
9954 DEFAULT_wxUSE_TREECTRL=no
9955 DEFAULT_wxUSE_TREELISTCTRL=no
9956 fi
9957
9958
9959 enablestring=
9960 defaultval=$wxUSE_ALL_FEATURES
9961 if test -z "$defaultval"; then
9962 if test x"$enablestring" = xdisable; then
9963 defaultval=yes
9964 else
9965 defaultval=no
9966 fi
9967 fi
9968
9969 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-markup" >&5
9970 echo $ECHO_N "checking for --${enablestring:-enable}-markup... $ECHO_C" >&6; }
9971 # Check whether --enable-markup was given.
9972 if test "${enable_markup+set}" = set; then
9973 enableval=$enable_markup;
9974 if test "$enableval" = yes; then
9975 wx_cv_use_markup='wxUSE_MARKUP=yes'
9976 else
9977 wx_cv_use_markup='wxUSE_MARKUP=no'
9978 fi
9979
9980 else
9981
9982 wx_cv_use_markup='wxUSE_MARKUP=${'DEFAULT_wxUSE_MARKUP":-$defaultval}"
9983
9984 fi
9985
9986
9987 eval "$wx_cv_use_markup"
9988
9989 if test x"$enablestring" = xdisable; then
9990 if test $wxUSE_MARKUP = no; then
9991 result=yes
9992 else
9993 result=no
9994 fi
9995 else
9996 result=$wxUSE_MARKUP
9997 fi
9998
9999 { echo "$as_me:$LINENO: result: $result" >&5
10000 echo "${ECHO_T}$result" >&6; }
10001
10002
10003
10004 enablestring=
10005 defaultval=$wxUSE_ALL_FEATURES
10006 if test -z "$defaultval"; then
10007 if test x"$enablestring" = xdisable; then
10008 defaultval=yes
10009 else
10010 defaultval=no
10011 fi
10012 fi
10013
10014 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
10015 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
10016 # Check whether --enable-accel was given.
10017 if test "${enable_accel+set}" = set; then
10018 enableval=$enable_accel;
10019 if test "$enableval" = yes; then
10020 wx_cv_use_accel='wxUSE_ACCEL=yes'
10021 else
10022 wx_cv_use_accel='wxUSE_ACCEL=no'
10023 fi
10024
10025 else
10026
10027 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
10028
10029 fi
10030
10031
10032 eval "$wx_cv_use_accel"
10033
10034 if test x"$enablestring" = xdisable; then
10035 if test $wxUSE_ACCEL = no; then
10036 result=yes
10037 else
10038 result=no
10039 fi
10040 else
10041 result=$wxUSE_ACCEL
10042 fi
10043
10044 { echo "$as_me:$LINENO: result: $result" >&5
10045 echo "${ECHO_T}$result" >&6; }
10046
10047
10048 enablestring=
10049 defaultval=$wxUSE_ALL_FEATURES
10050 if test -z "$defaultval"; then
10051 if test x"$enablestring" = xdisable; then
10052 defaultval=yes
10053 else
10054 defaultval=no
10055 fi
10056 fi
10057
10058 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
10059 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
10060 # Check whether --enable-animatectrl was given.
10061 if test "${enable_animatectrl+set}" = set; then
10062 enableval=$enable_animatectrl;
10063 if test "$enableval" = yes; then
10064 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
10065 else
10066 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
10067 fi
10068
10069 else
10070
10071 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
10072
10073 fi
10074
10075
10076 eval "$wx_cv_use_animatectrl"
10077
10078 if test x"$enablestring" = xdisable; then
10079 if test $wxUSE_ANIMATIONCTRL = no; then
10080 result=yes
10081 else
10082 result=no
10083 fi
10084 else
10085 result=$wxUSE_ANIMATIONCTRL
10086 fi
10087
10088 { echo "$as_me:$LINENO: result: $result" >&5
10089 echo "${ECHO_T}$result" >&6; }
10090
10091
10092 enablestring=
10093 defaultval=$wxUSE_ALL_FEATURES
10094 if test -z "$defaultval"; then
10095 if test x"$enablestring" = xdisable; then
10096 defaultval=yes
10097 else
10098 defaultval=no
10099 fi
10100 fi
10101
10102 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bannerwindow" >&5
10103 echo $ECHO_N "checking for --${enablestring:-enable}-bannerwindow... $ECHO_C" >&6; }
10104 # Check whether --enable-bannerwindow was given.
10105 if test "${enable_bannerwindow+set}" = set; then
10106 enableval=$enable_bannerwindow;
10107 if test "$enableval" = yes; then
10108 wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW=yes'
10109 else
10110 wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW=no'
10111 fi
10112
10113 else
10114
10115 wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW=${'DEFAULT_wxUSE_BANNERWINDOW":-$defaultval}"
10116
10117 fi
10118
10119
10120 eval "$wx_cv_use_bannerwindow"
10121
10122 if test x"$enablestring" = xdisable; then
10123 if test $wxUSE_BANNERWINDOW = no; then
10124 result=yes
10125 else
10126 result=no
10127 fi
10128 else
10129 result=$wxUSE_BANNERWINDOW
10130 fi
10131
10132 { echo "$as_me:$LINENO: result: $result" >&5
10133 echo "${ECHO_T}$result" >&6; }
10134
10135
10136 enablestring=
10137 defaultval=$wxUSE_ALL_FEATURES
10138 if test -z "$defaultval"; then
10139 if test x"$enablestring" = xdisable; then
10140 defaultval=yes
10141 else
10142 defaultval=no
10143 fi
10144 fi
10145
10146 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-artstd" >&5
10147 echo $ECHO_N "checking for --${enablestring:-enable}-artstd... $ECHO_C" >&6; }
10148 # Check whether --enable-artstd was given.
10149 if test "${enable_artstd+set}" = set; then
10150 enableval=$enable_artstd;
10151 if test "$enableval" = yes; then
10152 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=yes'
10153 else
10154 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=no'
10155 fi
10156
10157 else
10158
10159 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=${'DEFAULT_wxUSE_ARTPROVIDER_STD":-$defaultval}"
10160
10161 fi
10162
10163
10164 eval "$wx_cv_use_artstd"
10165
10166 if test x"$enablestring" = xdisable; then
10167 if test $wxUSE_ARTPROVIDER_STD = no; then
10168 result=yes
10169 else
10170 result=no
10171 fi
10172 else
10173 result=$wxUSE_ARTPROVIDER_STD
10174 fi
10175
10176 { echo "$as_me:$LINENO: result: $result" >&5
10177 echo "${ECHO_T}$result" >&6; }
10178
10179
10180 enablestring=
10181 defaultval=$wxUSE_ALL_FEATURES
10182 if test -z "$defaultval"; then
10183 if test x"$enablestring" = xdisable; then
10184 defaultval=yes
10185 else
10186 defaultval=no
10187 fi
10188 fi
10189
10190 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arttango" >&5
10191 echo $ECHO_N "checking for --${enablestring:-enable}-arttango... $ECHO_C" >&6; }
10192 # Check whether --enable-arttango was given.
10193 if test "${enable_arttango+set}" = set; then
10194 enableval=$enable_arttango;
10195 if test "$enableval" = yes; then
10196 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=yes'
10197 else
10198 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=no'
10199 fi
10200
10201 else
10202
10203 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=${'DEFAULT_wxUSE_ARTPROVIDER_TANGO":-$defaultval}"
10204
10205 fi
10206
10207
10208 eval "$wx_cv_use_arttango"
10209
10210 if test x"$enablestring" = xdisable; then
10211 if test $wxUSE_ARTPROVIDER_TANGO = no; then
10212 result=yes
10213 else
10214 result=no
10215 fi
10216 else
10217 result=$wxUSE_ARTPROVIDER_TANGO
10218 fi
10219
10220 { echo "$as_me:$LINENO: result: $result" >&5
10221 echo "${ECHO_T}$result" >&6; }
10222
10223
10224 enablestring=
10225 defaultval=$wxUSE_ALL_FEATURES
10226 if test -z "$defaultval"; then
10227 if test x"$enablestring" = xdisable; then
10228 defaultval=yes
10229 else
10230 defaultval=no
10231 fi
10232 fi
10233
10234 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
10235 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
10236 # Check whether --enable-bmpbutton was given.
10237 if test "${enable_bmpbutton+set}" = set; then
10238 enableval=$enable_bmpbutton;
10239 if test "$enableval" = yes; then
10240 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
10241 else
10242 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
10243 fi
10244
10245 else
10246
10247 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
10248
10249 fi
10250
10251
10252 eval "$wx_cv_use_bmpbutton"
10253
10254 if test x"$enablestring" = xdisable; then
10255 if test $wxUSE_BMPBUTTON = no; then
10256 result=yes
10257 else
10258 result=no
10259 fi
10260 else
10261 result=$wxUSE_BMPBUTTON
10262 fi
10263
10264 { echo "$as_me:$LINENO: result: $result" >&5
10265 echo "${ECHO_T}$result" >&6; }
10266
10267
10268 enablestring=
10269 defaultval=$wxUSE_ALL_FEATURES
10270 if test -z "$defaultval"; then
10271 if test x"$enablestring" = xdisable; then
10272 defaultval=yes
10273 else
10274 defaultval=no
10275 fi
10276 fi
10277
10278 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
10279 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
10280 # Check whether --enable-bmpcombobox was given.
10281 if test "${enable_bmpcombobox+set}" = set; then
10282 enableval=$enable_bmpcombobox;
10283 if test "$enableval" = yes; then
10284 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
10285 else
10286 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
10287 fi
10288
10289 else
10290
10291 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
10292
10293 fi
10294
10295
10296 eval "$wx_cv_use_bmpcombobox"
10297
10298 if test x"$enablestring" = xdisable; then
10299 if test $wxUSE_BITMAPCOMBOBOX = no; then
10300 result=yes
10301 else
10302 result=no
10303 fi
10304 else
10305 result=$wxUSE_BITMAPCOMBOBOX
10306 fi
10307
10308 { echo "$as_me:$LINENO: result: $result" >&5
10309 echo "${ECHO_T}$result" >&6; }
10310
10311
10312 enablestring=
10313 defaultval=$wxUSE_ALL_FEATURES
10314 if test -z "$defaultval"; then
10315 if test x"$enablestring" = xdisable; then
10316 defaultval=yes
10317 else
10318 defaultval=no
10319 fi
10320 fi
10321
10322 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
10323 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
10324 # Check whether --enable-button was given.
10325 if test "${enable_button+set}" = set; then
10326 enableval=$enable_button;
10327 if test "$enableval" = yes; then
10328 wx_cv_use_button='wxUSE_BUTTON=yes'
10329 else
10330 wx_cv_use_button='wxUSE_BUTTON=no'
10331 fi
10332
10333 else
10334
10335 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
10336
10337 fi
10338
10339
10340 eval "$wx_cv_use_button"
10341
10342 if test x"$enablestring" = xdisable; then
10343 if test $wxUSE_BUTTON = no; then
10344 result=yes
10345 else
10346 result=no
10347 fi
10348 else
10349 result=$wxUSE_BUTTON
10350 fi
10351
10352 { echo "$as_me:$LINENO: result: $result" >&5
10353 echo "${ECHO_T}$result" >&6; }
10354
10355
10356 enablestring=
10357 defaultval=$wxUSE_ALL_FEATURES
10358 if test -z "$defaultval"; then
10359 if test x"$enablestring" = xdisable; then
10360 defaultval=yes
10361 else
10362 defaultval=no
10363 fi
10364 fi
10365
10366 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
10367 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
10368 # Check whether --enable-calendar was given.
10369 if test "${enable_calendar+set}" = set; then
10370 enableval=$enable_calendar;
10371 if test "$enableval" = yes; then
10372 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
10373 else
10374 wx_cv_use_calendar='wxUSE_CALCTRL=no'
10375 fi
10376
10377 else
10378
10379 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
10380
10381 fi
10382
10383
10384 eval "$wx_cv_use_calendar"
10385
10386 if test x"$enablestring" = xdisable; then
10387 if test $wxUSE_CALCTRL = no; then
10388 result=yes
10389 else
10390 result=no
10391 fi
10392 else
10393 result=$wxUSE_CALCTRL
10394 fi
10395
10396 { echo "$as_me:$LINENO: result: $result" >&5
10397 echo "${ECHO_T}$result" >&6; }
10398
10399
10400 enablestring=
10401 defaultval=$wxUSE_ALL_FEATURES
10402 if test -z "$defaultval"; then
10403 if test x"$enablestring" = xdisable; then
10404 defaultval=yes
10405 else
10406 defaultval=no
10407 fi
10408 fi
10409
10410 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
10411 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
10412 # Check whether --enable-caret was given.
10413 if test "${enable_caret+set}" = set; then
10414 enableval=$enable_caret;
10415 if test "$enableval" = yes; then
10416 wx_cv_use_caret='wxUSE_CARET=yes'
10417 else
10418 wx_cv_use_caret='wxUSE_CARET=no'
10419 fi
10420
10421 else
10422
10423 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
10424
10425 fi
10426
10427
10428 eval "$wx_cv_use_caret"
10429
10430 if test x"$enablestring" = xdisable; then
10431 if test $wxUSE_CARET = no; then
10432 result=yes
10433 else
10434 result=no
10435 fi
10436 else
10437 result=$wxUSE_CARET
10438 fi
10439
10440 { echo "$as_me:$LINENO: result: $result" >&5
10441 echo "${ECHO_T}$result" >&6; }
10442
10443
10444 enablestring=
10445 defaultval=$wxUSE_ALL_FEATURES
10446 if test -z "$defaultval"; then
10447 if test x"$enablestring" = xdisable; then
10448 defaultval=yes
10449 else
10450 defaultval=no
10451 fi
10452 fi
10453
10454 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
10455 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
10456 # Check whether --enable-checkbox was given.
10457 if test "${enable_checkbox+set}" = set; then
10458 enableval=$enable_checkbox;
10459 if test "$enableval" = yes; then
10460 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
10461 else
10462 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
10463 fi
10464
10465 else
10466
10467 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
10468
10469 fi
10470
10471
10472 eval "$wx_cv_use_checkbox"
10473
10474 if test x"$enablestring" = xdisable; then
10475 if test $wxUSE_CHECKBOX = no; then
10476 result=yes
10477 else
10478 result=no
10479 fi
10480 else
10481 result=$wxUSE_CHECKBOX
10482 fi
10483
10484 { echo "$as_me:$LINENO: result: $result" >&5
10485 echo "${ECHO_T}$result" >&6; }
10486
10487
10488 enablestring=
10489 defaultval=$wxUSE_ALL_FEATURES
10490 if test -z "$defaultval"; then
10491 if test x"$enablestring" = xdisable; then
10492 defaultval=yes
10493 else
10494 defaultval=no
10495 fi
10496 fi
10497
10498 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
10499 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
10500 # Check whether --enable-checklst was given.
10501 if test "${enable_checklst+set}" = set; then
10502 enableval=$enable_checklst;
10503 if test "$enableval" = yes; then
10504 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
10505 else
10506 wx_cv_use_checklst='wxUSE_CHECKLST=no'
10507 fi
10508
10509 else
10510
10511 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
10512
10513 fi
10514
10515
10516 eval "$wx_cv_use_checklst"
10517
10518 if test x"$enablestring" = xdisable; then
10519 if test $wxUSE_CHECKLST = no; then
10520 result=yes
10521 else
10522 result=no
10523 fi
10524 else
10525 result=$wxUSE_CHECKLST
10526 fi
10527
10528 { echo "$as_me:$LINENO: result: $result" >&5
10529 echo "${ECHO_T}$result" >&6; }
10530
10531
10532 enablestring=
10533 defaultval=$wxUSE_ALL_FEATURES
10534 if test -z "$defaultval"; then
10535 if test x"$enablestring" = xdisable; then
10536 defaultval=yes
10537 else
10538 defaultval=no
10539 fi
10540 fi
10541
10542 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
10543 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
10544 # Check whether --enable-choice was given.
10545 if test "${enable_choice+set}" = set; then
10546 enableval=$enable_choice;
10547 if test "$enableval" = yes; then
10548 wx_cv_use_choice='wxUSE_CHOICE=yes'
10549 else
10550 wx_cv_use_choice='wxUSE_CHOICE=no'
10551 fi
10552
10553 else
10554
10555 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
10556
10557 fi
10558
10559
10560 eval "$wx_cv_use_choice"
10561
10562 if test x"$enablestring" = xdisable; then
10563 if test $wxUSE_CHOICE = no; then
10564 result=yes
10565 else
10566 result=no
10567 fi
10568 else
10569 result=$wxUSE_CHOICE
10570 fi
10571
10572 { echo "$as_me:$LINENO: result: $result" >&5
10573 echo "${ECHO_T}$result" >&6; }
10574
10575
10576 enablestring=
10577 defaultval=$wxUSE_ALL_FEATURES
10578 if test -z "$defaultval"; then
10579 if test x"$enablestring" = xdisable; then
10580 defaultval=yes
10581 else
10582 defaultval=no
10583 fi
10584 fi
10585
10586 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
10587 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
10588 # Check whether --enable-choicebook was given.
10589 if test "${enable_choicebook+set}" = set; then
10590 enableval=$enable_choicebook;
10591 if test "$enableval" = yes; then
10592 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
10593 else
10594 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
10595 fi
10596
10597 else
10598
10599 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
10600
10601 fi
10602
10603
10604 eval "$wx_cv_use_choicebook"
10605
10606 if test x"$enablestring" = xdisable; then
10607 if test $wxUSE_CHOICEBOOK = no; then
10608 result=yes
10609 else
10610 result=no
10611 fi
10612 else
10613 result=$wxUSE_CHOICEBOOK
10614 fi
10615
10616 { echo "$as_me:$LINENO: result: $result" >&5
10617 echo "${ECHO_T}$result" >&6; }
10618
10619
10620 enablestring=
10621 defaultval=$wxUSE_ALL_FEATURES
10622 if test -z "$defaultval"; then
10623 if test x"$enablestring" = xdisable; then
10624 defaultval=yes
10625 else
10626 defaultval=no
10627 fi
10628 fi
10629
10630 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
10631 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
10632 # Check whether --enable-collpane was given.
10633 if test "${enable_collpane+set}" = set; then
10634 enableval=$enable_collpane;
10635 if test "$enableval" = yes; then
10636 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
10637 else
10638 wx_cv_use_collpane='wxUSE_COLLPANE=no'
10639 fi
10640
10641 else
10642
10643 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
10644
10645 fi
10646
10647
10648 eval "$wx_cv_use_collpane"
10649
10650 if test x"$enablestring" = xdisable; then
10651 if test $wxUSE_COLLPANE = no; then
10652 result=yes
10653 else
10654 result=no
10655 fi
10656 else
10657 result=$wxUSE_COLLPANE
10658 fi
10659
10660 { echo "$as_me:$LINENO: result: $result" >&5
10661 echo "${ECHO_T}$result" >&6; }
10662
10663
10664 enablestring=
10665 defaultval=$wxUSE_ALL_FEATURES
10666 if test -z "$defaultval"; then
10667 if test x"$enablestring" = xdisable; then
10668 defaultval=yes
10669 else
10670 defaultval=no
10671 fi
10672 fi
10673
10674 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
10675 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
10676 # Check whether --enable-colourpicker was given.
10677 if test "${enable_colourpicker+set}" = set; then
10678 enableval=$enable_colourpicker;
10679 if test "$enableval" = yes; then
10680 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
10681 else
10682 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
10683 fi
10684
10685 else
10686
10687 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
10688
10689 fi
10690
10691
10692 eval "$wx_cv_use_colourpicker"
10693
10694 if test x"$enablestring" = xdisable; then
10695 if test $wxUSE_COLOURPICKERCTRL = no; then
10696 result=yes
10697 else
10698 result=no
10699 fi
10700 else
10701 result=$wxUSE_COLOURPICKERCTRL
10702 fi
10703
10704 { echo "$as_me:$LINENO: result: $result" >&5
10705 echo "${ECHO_T}$result" >&6; }
10706
10707
10708 enablestring=
10709 defaultval=$wxUSE_ALL_FEATURES
10710 if test -z "$defaultval"; then
10711 if test x"$enablestring" = xdisable; then
10712 defaultval=yes
10713 else
10714 defaultval=no
10715 fi
10716 fi
10717
10718 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
10719 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
10720 # Check whether --enable-combobox was given.
10721 if test "${enable_combobox+set}" = set; then
10722 enableval=$enable_combobox;
10723 if test "$enableval" = yes; then
10724 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
10725 else
10726 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
10727 fi
10728
10729 else
10730
10731 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
10732
10733 fi
10734
10735
10736 eval "$wx_cv_use_combobox"
10737
10738 if test x"$enablestring" = xdisable; then
10739 if test $wxUSE_COMBOBOX = no; then
10740 result=yes
10741 else
10742 result=no
10743 fi
10744 else
10745 result=$wxUSE_COMBOBOX
10746 fi
10747
10748 { echo "$as_me:$LINENO: result: $result" >&5
10749 echo "${ECHO_T}$result" >&6; }
10750
10751
10752 enablestring=
10753 defaultval=$wxUSE_ALL_FEATURES
10754 if test -z "$defaultval"; then
10755 if test x"$enablestring" = xdisable; then
10756 defaultval=yes
10757 else
10758 defaultval=no
10759 fi
10760 fi
10761
10762 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
10763 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
10764 # Check whether --enable-comboctrl was given.
10765 if test "${enable_comboctrl+set}" = set; then
10766 enableval=$enable_comboctrl;
10767 if test "$enableval" = yes; then
10768 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
10769 else
10770 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
10771 fi
10772
10773 else
10774
10775 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
10776
10777 fi
10778
10779
10780 eval "$wx_cv_use_comboctrl"
10781
10782 if test x"$enablestring" = xdisable; then
10783 if test $wxUSE_COMBOCTRL = no; then
10784 result=yes
10785 else
10786 result=no
10787 fi
10788 else
10789 result=$wxUSE_COMBOCTRL
10790 fi
10791
10792 { echo "$as_me:$LINENO: result: $result" >&5
10793 echo "${ECHO_T}$result" >&6; }
10794
10795
10796 enablestring=
10797 defaultval=$wxUSE_ALL_FEATURES
10798 if test -z "$defaultval"; then
10799 if test x"$enablestring" = xdisable; then
10800 defaultval=yes
10801 else
10802 defaultval=no
10803 fi
10804 fi
10805
10806 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commandlinkbutton" >&5
10807 echo $ECHO_N "checking for --${enablestring:-enable}-commandlinkbutton... $ECHO_C" >&6; }
10808 # Check whether --enable-commandlinkbutton was given.
10809 if test "${enable_commandlinkbutton+set}" = set; then
10810 enableval=$enable_commandlinkbutton;
10811 if test "$enableval" = yes; then
10812 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=yes'
10813 else
10814 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=no'
10815 fi
10816
10817 else
10818
10819 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=${'DEFAULT_wxUSE_COMMANDLINKBUTTON":-$defaultval}"
10820
10821 fi
10822
10823
10824 eval "$wx_cv_use_commandlinkbutton"
10825
10826 if test x"$enablestring" = xdisable; then
10827 if test $wxUSE_COMMANDLINKBUTTON = no; then
10828 result=yes
10829 else
10830 result=no
10831 fi
10832 else
10833 result=$wxUSE_COMMANDLINKBUTTON
10834 fi
10835
10836 { echo "$as_me:$LINENO: result: $result" >&5
10837 echo "${ECHO_T}$result" >&6; }
10838
10839
10840 enablestring=
10841 defaultval=$wxUSE_ALL_FEATURES
10842 if test -z "$defaultval"; then
10843 if test x"$enablestring" = xdisable; then
10844 defaultval=yes
10845 else
10846 defaultval=no
10847 fi
10848 fi
10849
10850 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
10851 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
10852 # Check whether --enable-dataviewctrl was given.
10853 if test "${enable_dataviewctrl+set}" = set; then
10854 enableval=$enable_dataviewctrl;
10855 if test "$enableval" = yes; then
10856 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
10857 else
10858 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
10859 fi
10860
10861 else
10862
10863 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
10864
10865 fi
10866
10867
10868 eval "$wx_cv_use_dataviewctrl"
10869
10870 if test x"$enablestring" = xdisable; then
10871 if test $wxUSE_DATAVIEWCTRL = no; then
10872 result=yes
10873 else
10874 result=no
10875 fi
10876 else
10877 result=$wxUSE_DATAVIEWCTRL
10878 fi
10879
10880 { echo "$as_me:$LINENO: result: $result" >&5
10881 echo "${ECHO_T}$result" >&6; }
10882
10883
10884 enablestring=
10885 defaultval=$wxUSE_ALL_FEATURES
10886 if test -z "$defaultval"; then
10887 if test x"$enablestring" = xdisable; then
10888 defaultval=yes
10889 else
10890 defaultval=no
10891 fi
10892 fi
10893
10894 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
10895 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
10896 # Check whether --enable-datepick was given.
10897 if test "${enable_datepick+set}" = set; then
10898 enableval=$enable_datepick;
10899 if test "$enableval" = yes; then
10900 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
10901 else
10902 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
10903 fi
10904
10905 else
10906
10907 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
10908
10909 fi
10910
10911
10912 eval "$wx_cv_use_datepick"
10913
10914 if test x"$enablestring" = xdisable; then
10915 if test $wxUSE_DATEPICKCTRL = no; then
10916 result=yes
10917 else
10918 result=no
10919 fi
10920 else
10921 result=$wxUSE_DATEPICKCTRL
10922 fi
10923
10924 { echo "$as_me:$LINENO: result: $result" >&5
10925 echo "${ECHO_T}$result" >&6; }
10926
10927
10928 enablestring=
10929 defaultval=$wxUSE_ALL_FEATURES
10930 if test -z "$defaultval"; then
10931 if test x"$enablestring" = xdisable; then
10932 defaultval=yes
10933 else
10934 defaultval=no
10935 fi
10936 fi
10937
10938 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
10939 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
10940 # Check whether --enable-detect_sm was given.
10941 if test "${enable_detect_sm+set}" = set; then
10942 enableval=$enable_detect_sm;
10943 if test "$enableval" = yes; then
10944 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
10945 else
10946 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
10947 fi
10948
10949 else
10950
10951 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
10952
10953 fi
10954
10955
10956 eval "$wx_cv_use_detect_sm"
10957
10958 if test x"$enablestring" = xdisable; then
10959 if test $wxUSE_DETECT_SM = no; then
10960 result=yes
10961 else
10962 result=no
10963 fi
10964 else
10965 result=$wxUSE_DETECT_SM
10966 fi
10967
10968 { echo "$as_me:$LINENO: result: $result" >&5
10969 echo "${ECHO_T}$result" >&6; }
10970
10971
10972 enablestring=
10973 defaultval=$wxUSE_ALL_FEATURES
10974 if test -z "$defaultval"; then
10975 if test x"$enablestring" = xdisable; then
10976 defaultval=yes
10977 else
10978 defaultval=no
10979 fi
10980 fi
10981
10982 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
10983 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
10984 # Check whether --enable-dirpicker was given.
10985 if test "${enable_dirpicker+set}" = set; then
10986 enableval=$enable_dirpicker;
10987 if test "$enableval" = yes; then
10988 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
10989 else
10990 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
10991 fi
10992
10993 else
10994
10995 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
10996
10997 fi
10998
10999
11000 eval "$wx_cv_use_dirpicker"
11001
11002 if test x"$enablestring" = xdisable; then
11003 if test $wxUSE_DIRPICKERCTRL = no; then
11004 result=yes
11005 else
11006 result=no
11007 fi
11008 else
11009 result=$wxUSE_DIRPICKERCTRL
11010 fi
11011
11012 { echo "$as_me:$LINENO: result: $result" >&5
11013 echo "${ECHO_T}$result" >&6; }
11014
11015
11016 enablestring=
11017 defaultval=$wxUSE_ALL_FEATURES
11018 if test -z "$defaultval"; then
11019 if test x"$enablestring" = xdisable; then
11020 defaultval=yes
11021 else
11022 defaultval=no
11023 fi
11024 fi
11025
11026 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
11027 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
11028 # Check whether --enable-display was given.
11029 if test "${enable_display+set}" = set; then
11030 enableval=$enable_display;
11031 if test "$enableval" = yes; then
11032 wx_cv_use_display='wxUSE_DISPLAY=yes'
11033 else
11034 wx_cv_use_display='wxUSE_DISPLAY=no'
11035 fi
11036
11037 else
11038
11039 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
11040
11041 fi
11042
11043
11044 eval "$wx_cv_use_display"
11045
11046 if test x"$enablestring" = xdisable; then
11047 if test $wxUSE_DISPLAY = no; then
11048 result=yes
11049 else
11050 result=no
11051 fi
11052 else
11053 result=$wxUSE_DISPLAY
11054 fi
11055
11056 { echo "$as_me:$LINENO: result: $result" >&5
11057 echo "${ECHO_T}$result" >&6; }
11058
11059
11060 enablestring=
11061 defaultval=$wxUSE_ALL_FEATURES
11062 if test -z "$defaultval"; then
11063 if test x"$enablestring" = xdisable; then
11064 defaultval=yes
11065 else
11066 defaultval=no
11067 fi
11068 fi
11069
11070 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
11071 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
11072 # Check whether --enable-editablebox was given.
11073 if test "${enable_editablebox+set}" = set; then
11074 enableval=$enable_editablebox;
11075 if test "$enableval" = yes; then
11076 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
11077 else
11078 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
11079 fi
11080
11081 else
11082
11083 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
11084
11085 fi
11086
11087
11088 eval "$wx_cv_use_editablebox"
11089
11090 if test x"$enablestring" = xdisable; then
11091 if test $wxUSE_EDITABLELISTBOX = no; then
11092 result=yes
11093 else
11094 result=no
11095 fi
11096 else
11097 result=$wxUSE_EDITABLELISTBOX
11098 fi
11099
11100 { echo "$as_me:$LINENO: result: $result" >&5
11101 echo "${ECHO_T}$result" >&6; }
11102
11103
11104 enablestring=
11105 defaultval=$wxUSE_ALL_FEATURES
11106 if test -z "$defaultval"; then
11107 if test x"$enablestring" = xdisable; then
11108 defaultval=yes
11109 else
11110 defaultval=no
11111 fi
11112 fi
11113
11114 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filectrl" >&5
11115 echo $ECHO_N "checking for --${enablestring:-enable}-filectrl... $ECHO_C" >&6; }
11116 # Check whether --enable-filectrl was given.
11117 if test "${enable_filectrl+set}" = set; then
11118 enableval=$enable_filectrl;
11119 if test "$enableval" = yes; then
11120 wx_cv_use_filectrl='wxUSE_FILECTRL=yes'
11121 else
11122 wx_cv_use_filectrl='wxUSE_FILECTRL=no'
11123 fi
11124
11125 else
11126
11127 wx_cv_use_filectrl='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
11128
11129 fi
11130
11131
11132 eval "$wx_cv_use_filectrl"
11133
11134 if test x"$enablestring" = xdisable; then
11135 if test $wxUSE_FILECTRL = no; then
11136 result=yes
11137 else
11138 result=no
11139 fi
11140 else
11141 result=$wxUSE_FILECTRL
11142 fi
11143
11144 { echo "$as_me:$LINENO: result: $result" >&5
11145 echo "${ECHO_T}$result" >&6; }
11146
11147
11148 enablestring=
11149 defaultval=$wxUSE_ALL_FEATURES
11150 if test -z "$defaultval"; then
11151 if test x"$enablestring" = xdisable; then
11152 defaultval=yes
11153 else
11154 defaultval=no
11155 fi
11156 fi
11157
11158 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
11159 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
11160 # Check whether --enable-filepicker was given.
11161 if test "${enable_filepicker+set}" = set; then
11162 enableval=$enable_filepicker;
11163 if test "$enableval" = yes; then
11164 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
11165 else
11166 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
11167 fi
11168
11169 else
11170
11171 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
11172
11173 fi
11174
11175
11176 eval "$wx_cv_use_filepicker"
11177
11178 if test x"$enablestring" = xdisable; then
11179 if test $wxUSE_FILEPICKERCTRL = no; then
11180 result=yes
11181 else
11182 result=no
11183 fi
11184 else
11185 result=$wxUSE_FILEPICKERCTRL
11186 fi
11187
11188 { echo "$as_me:$LINENO: result: $result" >&5
11189 echo "${ECHO_T}$result" >&6; }
11190
11191
11192 enablestring=
11193 defaultval=$wxUSE_ALL_FEATURES
11194 if test -z "$defaultval"; then
11195 if test x"$enablestring" = xdisable; then
11196 defaultval=yes
11197 else
11198 defaultval=no
11199 fi
11200 fi
11201
11202 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
11203 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
11204 # Check whether --enable-fontpicker was given.
11205 if test "${enable_fontpicker+set}" = set; then
11206 enableval=$enable_fontpicker;
11207 if test "$enableval" = yes; then
11208 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
11209 else
11210 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
11211 fi
11212
11213 else
11214
11215 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
11216
11217 fi
11218
11219
11220 eval "$wx_cv_use_fontpicker"
11221
11222 if test x"$enablestring" = xdisable; then
11223 if test $wxUSE_FONTPICKERCTRL = no; then
11224 result=yes
11225 else
11226 result=no
11227 fi
11228 else
11229 result=$wxUSE_FONTPICKERCTRL
11230 fi
11231
11232 { echo "$as_me:$LINENO: result: $result" >&5
11233 echo "${ECHO_T}$result" >&6; }
11234
11235
11236 enablestring=
11237 defaultval=$wxUSE_ALL_FEATURES
11238 if test -z "$defaultval"; then
11239 if test x"$enablestring" = xdisable; then
11240 defaultval=yes
11241 else
11242 defaultval=no
11243 fi
11244 fi
11245
11246 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
11247 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
11248 # Check whether --enable-gauge was given.
11249 if test "${enable_gauge+set}" = set; then
11250 enableval=$enable_gauge;
11251 if test "$enableval" = yes; then
11252 wx_cv_use_gauge='wxUSE_GAUGE=yes'
11253 else
11254 wx_cv_use_gauge='wxUSE_GAUGE=no'
11255 fi
11256
11257 else
11258
11259 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
11260
11261 fi
11262
11263
11264 eval "$wx_cv_use_gauge"
11265
11266 if test x"$enablestring" = xdisable; then
11267 if test $wxUSE_GAUGE = no; then
11268 result=yes
11269 else
11270 result=no
11271 fi
11272 else
11273 result=$wxUSE_GAUGE
11274 fi
11275
11276 { echo "$as_me:$LINENO: result: $result" >&5
11277 echo "${ECHO_T}$result" >&6; }
11278
11279
11280 enablestring=
11281 defaultval=$wxUSE_ALL_FEATURES
11282 if test -z "$defaultval"; then
11283 if test x"$enablestring" = xdisable; then
11284 defaultval=yes
11285 else
11286 defaultval=no
11287 fi
11288 fi
11289
11290 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
11291 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
11292 # Check whether --enable-grid was given.
11293 if test "${enable_grid+set}" = set; then
11294 enableval=$enable_grid;
11295 if test "$enableval" = yes; then
11296 wx_cv_use_grid='wxUSE_GRID=yes'
11297 else
11298 wx_cv_use_grid='wxUSE_GRID=no'
11299 fi
11300
11301 else
11302
11303 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
11304
11305 fi
11306
11307
11308 eval "$wx_cv_use_grid"
11309
11310 if test x"$enablestring" = xdisable; then
11311 if test $wxUSE_GRID = no; then
11312 result=yes
11313 else
11314 result=no
11315 fi
11316 else
11317 result=$wxUSE_GRID
11318 fi
11319
11320 { echo "$as_me:$LINENO: result: $result" >&5
11321 echo "${ECHO_T}$result" >&6; }
11322
11323
11324 enablestring=
11325 defaultval=$wxUSE_ALL_FEATURES
11326 if test -z "$defaultval"; then
11327 if test x"$enablestring" = xdisable; then
11328 defaultval=yes
11329 else
11330 defaultval=no
11331 fi
11332 fi
11333
11334 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-headerctrl" >&5
11335 echo $ECHO_N "checking for --${enablestring:-enable}-headerctrl... $ECHO_C" >&6; }
11336 # Check whether --enable-headerctrl was given.
11337 if test "${enable_headerctrl+set}" = set; then
11338 enableval=$enable_headerctrl;
11339 if test "$enableval" = yes; then
11340 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=yes'
11341 else
11342 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=no'
11343 fi
11344
11345 else
11346
11347 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=${'DEFAULT_wxUSE_HEADERCTRL":-$defaultval}"
11348
11349 fi
11350
11351
11352 eval "$wx_cv_use_headerctrl"
11353
11354 if test x"$enablestring" = xdisable; then
11355 if test $wxUSE_HEADERCTRL = no; then
11356 result=yes
11357 else
11358 result=no
11359 fi
11360 else
11361 result=$wxUSE_HEADERCTRL
11362 fi
11363
11364 { echo "$as_me:$LINENO: result: $result" >&5
11365 echo "${ECHO_T}$result" >&6; }
11366
11367
11368 enablestring=
11369 defaultval=$wxUSE_ALL_FEATURES
11370 if test -z "$defaultval"; then
11371 if test x"$enablestring" = xdisable; then
11372 defaultval=yes
11373 else
11374 defaultval=no
11375 fi
11376 fi
11377
11378 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
11379 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
11380 # Check whether --enable-hyperlink was given.
11381 if test "${enable_hyperlink+set}" = set; then
11382 enableval=$enable_hyperlink;
11383 if test "$enableval" = yes; then
11384 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
11385 else
11386 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
11387 fi
11388
11389 else
11390
11391 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
11392
11393 fi
11394
11395
11396 eval "$wx_cv_use_hyperlink"
11397
11398 if test x"$enablestring" = xdisable; then
11399 if test $wxUSE_HYPERLINKCTRL = no; then
11400 result=yes
11401 else
11402 result=no
11403 fi
11404 else
11405 result=$wxUSE_HYPERLINKCTRL
11406 fi
11407
11408 { echo "$as_me:$LINENO: result: $result" >&5
11409 echo "${ECHO_T}$result" >&6; }
11410
11411
11412 enablestring=
11413 defaultval=$wxUSE_ALL_FEATURES
11414 if test -z "$defaultval"; then
11415 if test x"$enablestring" = xdisable; then
11416 defaultval=yes
11417 else
11418 defaultval=no
11419 fi
11420 fi
11421
11422 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
11423 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
11424 # Check whether --enable-imaglist was given.
11425 if test "${enable_imaglist+set}" = set; then
11426 enableval=$enable_imaglist;
11427 if test "$enableval" = yes; then
11428 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
11429 else
11430 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
11431 fi
11432
11433 else
11434
11435 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
11436
11437 fi
11438
11439
11440 eval "$wx_cv_use_imaglist"
11441
11442 if test x"$enablestring" = xdisable; then
11443 if test $wxUSE_IMAGLIST = no; then
11444 result=yes
11445 else
11446 result=no
11447 fi
11448 else
11449 result=$wxUSE_IMAGLIST
11450 fi
11451
11452 { echo "$as_me:$LINENO: result: $result" >&5
11453 echo "${ECHO_T}$result" >&6; }
11454
11455
11456 enablestring=
11457 defaultval=$wxUSE_ALL_FEATURES
11458 if test -z "$defaultval"; then
11459 if test x"$enablestring" = xdisable; then
11460 defaultval=yes
11461 else
11462 defaultval=no
11463 fi
11464 fi
11465
11466 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-infobar" >&5
11467 echo $ECHO_N "checking for --${enablestring:-enable}-infobar... $ECHO_C" >&6; }
11468 # Check whether --enable-infobar was given.
11469 if test "${enable_infobar+set}" = set; then
11470 enableval=$enable_infobar;
11471 if test "$enableval" = yes; then
11472 wx_cv_use_infobar='wxUSE_INFOBAR=yes'
11473 else
11474 wx_cv_use_infobar='wxUSE_INFOBAR=no'
11475 fi
11476
11477 else
11478
11479 wx_cv_use_infobar='wxUSE_INFOBAR=${'DEFAULT_wxUSE_INFOBAR":-$defaultval}"
11480
11481 fi
11482
11483
11484 eval "$wx_cv_use_infobar"
11485
11486 if test x"$enablestring" = xdisable; then
11487 if test $wxUSE_INFOBAR = no; then
11488 result=yes
11489 else
11490 result=no
11491 fi
11492 else
11493 result=$wxUSE_INFOBAR
11494 fi
11495
11496 { echo "$as_me:$LINENO: result: $result" >&5
11497 echo "${ECHO_T}$result" >&6; }
11498
11499
11500 enablestring=
11501 defaultval=$wxUSE_ALL_FEATURES
11502 if test -z "$defaultval"; then
11503 if test x"$enablestring" = xdisable; then
11504 defaultval=yes
11505 else
11506 defaultval=no
11507 fi
11508 fi
11509
11510 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
11511 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
11512 # Check whether --enable-listbook was given.
11513 if test "${enable_listbook+set}" = set; then
11514 enableval=$enable_listbook;
11515 if test "$enableval" = yes; then
11516 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
11517 else
11518 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
11519 fi
11520
11521 else
11522
11523 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
11524
11525 fi
11526
11527
11528 eval "$wx_cv_use_listbook"
11529
11530 if test x"$enablestring" = xdisable; then
11531 if test $wxUSE_LISTBOOK = no; then
11532 result=yes
11533 else
11534 result=no
11535 fi
11536 else
11537 result=$wxUSE_LISTBOOK
11538 fi
11539
11540 { echo "$as_me:$LINENO: result: $result" >&5
11541 echo "${ECHO_T}$result" >&6; }
11542
11543
11544 enablestring=
11545 defaultval=$wxUSE_ALL_FEATURES
11546 if test -z "$defaultval"; then
11547 if test x"$enablestring" = xdisable; then
11548 defaultval=yes
11549 else
11550 defaultval=no
11551 fi
11552 fi
11553
11554 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
11555 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
11556 # Check whether --enable-listbox was given.
11557 if test "${enable_listbox+set}" = set; then
11558 enableval=$enable_listbox;
11559 if test "$enableval" = yes; then
11560 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
11561 else
11562 wx_cv_use_listbox='wxUSE_LISTBOX=no'
11563 fi
11564
11565 else
11566
11567 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
11568
11569 fi
11570
11571
11572 eval "$wx_cv_use_listbox"
11573
11574 if test x"$enablestring" = xdisable; then
11575 if test $wxUSE_LISTBOX = no; then
11576 result=yes
11577 else
11578 result=no
11579 fi
11580 else
11581 result=$wxUSE_LISTBOX
11582 fi
11583
11584 { echo "$as_me:$LINENO: result: $result" >&5
11585 echo "${ECHO_T}$result" >&6; }
11586
11587
11588 enablestring=
11589 defaultval=$wxUSE_ALL_FEATURES
11590 if test -z "$defaultval"; then
11591 if test x"$enablestring" = xdisable; then
11592 defaultval=yes
11593 else
11594 defaultval=no
11595 fi
11596 fi
11597
11598 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
11599 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
11600 # Check whether --enable-listctrl was given.
11601 if test "${enable_listctrl+set}" = set; then
11602 enableval=$enable_listctrl;
11603 if test "$enableval" = yes; then
11604 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
11605 else
11606 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
11607 fi
11608
11609 else
11610
11611 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
11612
11613 fi
11614
11615
11616 eval "$wx_cv_use_listctrl"
11617
11618 if test x"$enablestring" = xdisable; then
11619 if test $wxUSE_LISTCTRL = no; then
11620 result=yes
11621 else
11622 result=no
11623 fi
11624 else
11625 result=$wxUSE_LISTCTRL
11626 fi
11627
11628 { echo "$as_me:$LINENO: result: $result" >&5
11629 echo "${ECHO_T}$result" >&6; }
11630
11631
11632 enablestring=
11633 defaultval=$wxUSE_ALL_FEATURES
11634 if test -z "$defaultval"; then
11635 if test x"$enablestring" = xdisable; then
11636 defaultval=yes
11637 else
11638 defaultval=no
11639 fi
11640 fi
11641
11642 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
11643 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
11644 # Check whether --enable-notebook was given.
11645 if test "${enable_notebook+set}" = set; then
11646 enableval=$enable_notebook;
11647 if test "$enableval" = yes; then
11648 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
11649 else
11650 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
11651 fi
11652
11653 else
11654
11655 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
11656
11657 fi
11658
11659
11660 eval "$wx_cv_use_notebook"
11661
11662 if test x"$enablestring" = xdisable; then
11663 if test $wxUSE_NOTEBOOK = no; then
11664 result=yes
11665 else
11666 result=no
11667 fi
11668 else
11669 result=$wxUSE_NOTEBOOK
11670 fi
11671
11672 { echo "$as_me:$LINENO: result: $result" >&5
11673 echo "${ECHO_T}$result" >&6; }
11674
11675
11676 enablestring=
11677 defaultval=$wxUSE_ALL_FEATURES
11678 if test -z "$defaultval"; then
11679 if test x"$enablestring" = xdisable; then
11680 defaultval=yes
11681 else
11682 defaultval=no
11683 fi
11684 fi
11685
11686 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notifmsg" >&5
11687 echo $ECHO_N "checking for --${enablestring:-enable}-notifmsg... $ECHO_C" >&6; }
11688 # Check whether --enable-notifmsg was given.
11689 if test "${enable_notifmsg+set}" = set; then
11690 enableval=$enable_notifmsg;
11691 if test "$enableval" = yes; then
11692 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=yes'
11693 else
11694 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=no'
11695 fi
11696
11697 else
11698
11699 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
11700
11701 fi
11702
11703
11704 eval "$wx_cv_use_notifmsg"
11705
11706 if test x"$enablestring" = xdisable; then
11707 if test $wxUSE_NOTIFICATION_MESSAGE = no; then
11708 result=yes
11709 else
11710 result=no
11711 fi
11712 else
11713 result=$wxUSE_NOTIFICATION_MESSAGE
11714 fi
11715
11716 { echo "$as_me:$LINENO: result: $result" >&5
11717 echo "${ECHO_T}$result" >&6; }
11718
11719
11720 enablestring=
11721 defaultval=$wxUSE_ALL_FEATURES
11722 if test -z "$defaultval"; then
11723 if test x"$enablestring" = xdisable; then
11724 defaultval=yes
11725 else
11726 defaultval=no
11727 fi
11728 fi
11729
11730 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
11731 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
11732 # Check whether --enable-odcombobox was given.
11733 if test "${enable_odcombobox+set}" = set; then
11734 enableval=$enable_odcombobox;
11735 if test "$enableval" = yes; then
11736 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
11737 else
11738 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
11739 fi
11740
11741 else
11742
11743 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
11744
11745 fi
11746
11747
11748 eval "$wx_cv_use_odcombobox"
11749
11750 if test x"$enablestring" = xdisable; then
11751 if test $wxUSE_ODCOMBOBOX = no; then
11752 result=yes
11753 else
11754 result=no
11755 fi
11756 else
11757 result=$wxUSE_ODCOMBOBOX
11758 fi
11759
11760 { echo "$as_me:$LINENO: result: $result" >&5
11761 echo "${ECHO_T}$result" >&6; }
11762
11763
11764 enablestring=
11765 defaultval=$wxUSE_ALL_FEATURES
11766 if test -z "$defaultval"; then
11767 if test x"$enablestring" = xdisable; then
11768 defaultval=yes
11769 else
11770 defaultval=no
11771 fi
11772 fi
11773
11774 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
11775 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
11776 # Check whether --enable-popupwin was given.
11777 if test "${enable_popupwin+set}" = set; then
11778 enableval=$enable_popupwin;
11779 if test "$enableval" = yes; then
11780 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
11781 else
11782 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
11783 fi
11784
11785 else
11786
11787 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
11788
11789 fi
11790
11791
11792 eval "$wx_cv_use_popupwin"
11793
11794 if test x"$enablestring" = xdisable; then
11795 if test $wxUSE_POPUPWIN = no; then
11796 result=yes
11797 else
11798 result=no
11799 fi
11800 else
11801 result=$wxUSE_POPUPWIN
11802 fi
11803
11804 { echo "$as_me:$LINENO: result: $result" >&5
11805 echo "${ECHO_T}$result" >&6; }
11806
11807
11808 enablestring=
11809 defaultval=$wxUSE_ALL_FEATURES
11810 if test -z "$defaultval"; then
11811 if test x"$enablestring" = xdisable; then
11812 defaultval=yes
11813 else
11814 defaultval=no
11815 fi
11816 fi
11817
11818 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
11819 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
11820 # Check whether --enable-radiobox was given.
11821 if test "${enable_radiobox+set}" = set; then
11822 enableval=$enable_radiobox;
11823 if test "$enableval" = yes; then
11824 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
11825 else
11826 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
11827 fi
11828
11829 else
11830
11831 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
11832
11833 fi
11834
11835
11836 eval "$wx_cv_use_radiobox"
11837
11838 if test x"$enablestring" = xdisable; then
11839 if test $wxUSE_RADIOBOX = no; then
11840 result=yes
11841 else
11842 result=no
11843 fi
11844 else
11845 result=$wxUSE_RADIOBOX
11846 fi
11847
11848 { echo "$as_me:$LINENO: result: $result" >&5
11849 echo "${ECHO_T}$result" >&6; }
11850
11851
11852 enablestring=
11853 defaultval=$wxUSE_ALL_FEATURES
11854 if test -z "$defaultval"; then
11855 if test x"$enablestring" = xdisable; then
11856 defaultval=yes
11857 else
11858 defaultval=no
11859 fi
11860 fi
11861
11862 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
11863 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
11864 # Check whether --enable-radiobtn was given.
11865 if test "${enable_radiobtn+set}" = set; then
11866 enableval=$enable_radiobtn;
11867 if test "$enableval" = yes; then
11868 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
11869 else
11870 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
11871 fi
11872
11873 else
11874
11875 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
11876
11877 fi
11878
11879
11880 eval "$wx_cv_use_radiobtn"
11881
11882 if test x"$enablestring" = xdisable; then
11883 if test $wxUSE_RADIOBTN = no; then
11884 result=yes
11885 else
11886 result=no
11887 fi
11888 else
11889 result=$wxUSE_RADIOBTN
11890 fi
11891
11892 { echo "$as_me:$LINENO: result: $result" >&5
11893 echo "${ECHO_T}$result" >&6; }
11894
11895
11896 enablestring=
11897 defaultval=$wxUSE_ALL_FEATURES
11898 if test -z "$defaultval"; then
11899 if test x"$enablestring" = xdisable; then
11900 defaultval=yes
11901 else
11902 defaultval=no
11903 fi
11904 fi
11905
11906 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richmsgdlg" >&5
11907 echo $ECHO_N "checking for --${enablestring:-enable}-richmsgdlg... $ECHO_C" >&6; }
11908 # Check whether --enable-richmsgdlg was given.
11909 if test "${enable_richmsgdlg+set}" = set; then
11910 enableval=$enable_richmsgdlg;
11911 if test "$enableval" = yes; then
11912 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=yes'
11913 else
11914 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=no'
11915 fi
11916
11917 else
11918
11919 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=${'DEFAULT_wxUSE_RICHMSGDLG":-$defaultval}"
11920
11921 fi
11922
11923
11924 eval "$wx_cv_use_richmsgdlg"
11925
11926 if test x"$enablestring" = xdisable; then
11927 if test $wxUSE_RICHMSGDLG = no; then
11928 result=yes
11929 else
11930 result=no
11931 fi
11932 else
11933 result=$wxUSE_RICHMSGDLG
11934 fi
11935
11936 { echo "$as_me:$LINENO: result: $result" >&5
11937 echo "${ECHO_T}$result" >&6; }
11938
11939
11940 enablestring=
11941 defaultval=$wxUSE_ALL_FEATURES
11942 if test -z "$defaultval"; then
11943 if test x"$enablestring" = xdisable; then
11944 defaultval=yes
11945 else
11946 defaultval=no
11947 fi
11948 fi
11949
11950 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtooltip" >&5
11951 echo $ECHO_N "checking for --${enablestring:-enable}-richtooltip... $ECHO_C" >&6; }
11952 # Check whether --enable-richtooltip was given.
11953 if test "${enable_richtooltip+set}" = set; then
11954 enableval=$enable_richtooltip;
11955 if test "$enableval" = yes; then
11956 wx_cv_use_richtooltip='wxUSE_RICHTOOLTIP=yes'
11957 else
11958 wx_cv_use_richtooltip='wxUSE_RICHTOOLTIP=no'
11959 fi
11960
11961 else
11962
11963 wx_cv_use_richtooltip='wxUSE_RICHTOOLTIP=${'DEFAULT_wxUSE_RICHTOOLTIP":-$defaultval}"
11964
11965 fi
11966
11967
11968 eval "$wx_cv_use_richtooltip"
11969
11970 if test x"$enablestring" = xdisable; then
11971 if test $wxUSE_RICHTOOLTIP = no; then
11972 result=yes
11973 else
11974 result=no
11975 fi
11976 else
11977 result=$wxUSE_RICHTOOLTIP
11978 fi
11979
11980 { echo "$as_me:$LINENO: result: $result" >&5
11981 echo "${ECHO_T}$result" >&6; }
11982
11983
11984 enablestring=
11985 defaultval=$wxUSE_ALL_FEATURES
11986 if test -z "$defaultval"; then
11987 if test x"$enablestring" = xdisable; then
11988 defaultval=yes
11989 else
11990 defaultval=no
11991 fi
11992 fi
11993
11994 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rearrangectrl" >&5
11995 echo $ECHO_N "checking for --${enablestring:-enable}-rearrangectrl... $ECHO_C" >&6; }
11996 # Check whether --enable-rearrangectrl was given.
11997 if test "${enable_rearrangectrl+set}" = set; then
11998 enableval=$enable_rearrangectrl;
11999 if test "$enableval" = yes; then
12000 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=yes'
12001 else
12002 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=no'
12003 fi
12004
12005 else
12006
12007 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=${'DEFAULT_wxUSE_REARRANGECTRL":-$defaultval}"
12008
12009 fi
12010
12011
12012 eval "$wx_cv_use_rearrangectrl"
12013
12014 if test x"$enablestring" = xdisable; then
12015 if test $wxUSE_REARRANGECTRL = no; then
12016 result=yes
12017 else
12018 result=no
12019 fi
12020 else
12021 result=$wxUSE_REARRANGECTRL
12022 fi
12023
12024 { echo "$as_me:$LINENO: result: $result" >&5
12025 echo "${ECHO_T}$result" >&6; }
12026
12027
12028 enablestring=
12029 defaultval=$wxUSE_ALL_FEATURES
12030 if test -z "$defaultval"; then
12031 if test x"$enablestring" = xdisable; then
12032 defaultval=yes
12033 else
12034 defaultval=no
12035 fi
12036 fi
12037
12038 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
12039 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
12040 # Check whether --enable-sash was given.
12041 if test "${enable_sash+set}" = set; then
12042 enableval=$enable_sash;
12043 if test "$enableval" = yes; then
12044 wx_cv_use_sash='wxUSE_SASH=yes'
12045 else
12046 wx_cv_use_sash='wxUSE_SASH=no'
12047 fi
12048
12049 else
12050
12051 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
12052
12053 fi
12054
12055
12056 eval "$wx_cv_use_sash"
12057
12058 if test x"$enablestring" = xdisable; then
12059 if test $wxUSE_SASH = no; then
12060 result=yes
12061 else
12062 result=no
12063 fi
12064 else
12065 result=$wxUSE_SASH
12066 fi
12067
12068 { echo "$as_me:$LINENO: result: $result" >&5
12069 echo "${ECHO_T}$result" >&6; }
12070
12071
12072 enablestring=
12073 defaultval=$wxUSE_ALL_FEATURES
12074 if test -z "$defaultval"; then
12075 if test x"$enablestring" = xdisable; then
12076 defaultval=yes
12077 else
12078 defaultval=no
12079 fi
12080 fi
12081
12082 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
12083 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
12084 # Check whether --enable-scrollbar was given.
12085 if test "${enable_scrollbar+set}" = set; then
12086 enableval=$enable_scrollbar;
12087 if test "$enableval" = yes; then
12088 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
12089 else
12090 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
12091 fi
12092
12093 else
12094
12095 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
12096
12097 fi
12098
12099
12100 eval "$wx_cv_use_scrollbar"
12101
12102 if test x"$enablestring" = xdisable; then
12103 if test $wxUSE_SCROLLBAR = no; then
12104 result=yes
12105 else
12106 result=no
12107 fi
12108 else
12109 result=$wxUSE_SCROLLBAR
12110 fi
12111
12112 { echo "$as_me:$LINENO: result: $result" >&5
12113 echo "${ECHO_T}$result" >&6; }
12114
12115
12116 enablestring=
12117 defaultval=$wxUSE_ALL_FEATURES
12118 if test -z "$defaultval"; then
12119 if test x"$enablestring" = xdisable; then
12120 defaultval=yes
12121 else
12122 defaultval=no
12123 fi
12124 fi
12125
12126 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
12127 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
12128 # Check whether --enable-searchctrl was given.
12129 if test "${enable_searchctrl+set}" = set; then
12130 enableval=$enable_searchctrl;
12131 if test "$enableval" = yes; then
12132 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
12133 else
12134 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
12135 fi
12136
12137 else
12138
12139 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
12140
12141 fi
12142
12143
12144 eval "$wx_cv_use_searchctrl"
12145
12146 if test x"$enablestring" = xdisable; then
12147 if test $wxUSE_SEARCHCTRL = no; then
12148 result=yes
12149 else
12150 result=no
12151 fi
12152 else
12153 result=$wxUSE_SEARCHCTRL
12154 fi
12155
12156 { echo "$as_me:$LINENO: result: $result" >&5
12157 echo "${ECHO_T}$result" >&6; }
12158
12159
12160 enablestring=
12161 defaultval=$wxUSE_ALL_FEATURES
12162 if test -z "$defaultval"; then
12163 if test x"$enablestring" = xdisable; then
12164 defaultval=yes
12165 else
12166 defaultval=no
12167 fi
12168 fi
12169
12170 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
12171 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
12172 # Check whether --enable-slider was given.
12173 if test "${enable_slider+set}" = set; then
12174 enableval=$enable_slider;
12175 if test "$enableval" = yes; then
12176 wx_cv_use_slider='wxUSE_SLIDER=yes'
12177 else
12178 wx_cv_use_slider='wxUSE_SLIDER=no'
12179 fi
12180
12181 else
12182
12183 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
12184
12185 fi
12186
12187
12188 eval "$wx_cv_use_slider"
12189
12190 if test x"$enablestring" = xdisable; then
12191 if test $wxUSE_SLIDER = no; then
12192 result=yes
12193 else
12194 result=no
12195 fi
12196 else
12197 result=$wxUSE_SLIDER
12198 fi
12199
12200 { echo "$as_me:$LINENO: result: $result" >&5
12201 echo "${ECHO_T}$result" >&6; }
12202
12203
12204 enablestring=
12205 defaultval=$wxUSE_ALL_FEATURES
12206 if test -z "$defaultval"; then
12207 if test x"$enablestring" = xdisable; then
12208 defaultval=yes
12209 else
12210 defaultval=no
12211 fi
12212 fi
12213
12214 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
12215 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
12216 # Check whether --enable-spinbtn was given.
12217 if test "${enable_spinbtn+set}" = set; then
12218 enableval=$enable_spinbtn;
12219 if test "$enableval" = yes; then
12220 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
12221 else
12222 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
12223 fi
12224
12225 else
12226
12227 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
12228
12229 fi
12230
12231
12232 eval "$wx_cv_use_spinbtn"
12233
12234 if test x"$enablestring" = xdisable; then
12235 if test $wxUSE_SPINBTN = no; then
12236 result=yes
12237 else
12238 result=no
12239 fi
12240 else
12241 result=$wxUSE_SPINBTN
12242 fi
12243
12244 { echo "$as_me:$LINENO: result: $result" >&5
12245 echo "${ECHO_T}$result" >&6; }
12246
12247
12248 enablestring=
12249 defaultval=$wxUSE_ALL_FEATURES
12250 if test -z "$defaultval"; then
12251 if test x"$enablestring" = xdisable; then
12252 defaultval=yes
12253 else
12254 defaultval=no
12255 fi
12256 fi
12257
12258 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
12259 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
12260 # Check whether --enable-spinctrl was given.
12261 if test "${enable_spinctrl+set}" = set; then
12262 enableval=$enable_spinctrl;
12263 if test "$enableval" = yes; then
12264 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
12265 else
12266 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
12267 fi
12268
12269 else
12270
12271 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
12272
12273 fi
12274
12275
12276 eval "$wx_cv_use_spinctrl"
12277
12278 if test x"$enablestring" = xdisable; then
12279 if test $wxUSE_SPINCTRL = no; then
12280 result=yes
12281 else
12282 result=no
12283 fi
12284 else
12285 result=$wxUSE_SPINCTRL
12286 fi
12287
12288 { echo "$as_me:$LINENO: result: $result" >&5
12289 echo "${ECHO_T}$result" >&6; }
12290
12291
12292 enablestring=
12293 defaultval=$wxUSE_ALL_FEATURES
12294 if test -z "$defaultval"; then
12295 if test x"$enablestring" = xdisable; then
12296 defaultval=yes
12297 else
12298 defaultval=no
12299 fi
12300 fi
12301
12302 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
12303 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
12304 # Check whether --enable-splitter was given.
12305 if test "${enable_splitter+set}" = set; then
12306 enableval=$enable_splitter;
12307 if test "$enableval" = yes; then
12308 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
12309 else
12310 wx_cv_use_splitter='wxUSE_SPLITTER=no'
12311 fi
12312
12313 else
12314
12315 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
12316
12317 fi
12318
12319
12320 eval "$wx_cv_use_splitter"
12321
12322 if test x"$enablestring" = xdisable; then
12323 if test $wxUSE_SPLITTER = no; then
12324 result=yes
12325 else
12326 result=no
12327 fi
12328 else
12329 result=$wxUSE_SPLITTER
12330 fi
12331
12332 { echo "$as_me:$LINENO: result: $result" >&5
12333 echo "${ECHO_T}$result" >&6; }
12334
12335
12336 enablestring=
12337 defaultval=$wxUSE_ALL_FEATURES
12338 if test -z "$defaultval"; then
12339 if test x"$enablestring" = xdisable; then
12340 defaultval=yes
12341 else
12342 defaultval=no
12343 fi
12344 fi
12345
12346 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
12347 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
12348 # Check whether --enable-statbmp was given.
12349 if test "${enable_statbmp+set}" = set; then
12350 enableval=$enable_statbmp;
12351 if test "$enableval" = yes; then
12352 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
12353 else
12354 wx_cv_use_statbmp='wxUSE_STATBMP=no'
12355 fi
12356
12357 else
12358
12359 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
12360
12361 fi
12362
12363
12364 eval "$wx_cv_use_statbmp"
12365
12366 if test x"$enablestring" = xdisable; then
12367 if test $wxUSE_STATBMP = no; then
12368 result=yes
12369 else
12370 result=no
12371 fi
12372 else
12373 result=$wxUSE_STATBMP
12374 fi
12375
12376 { echo "$as_me:$LINENO: result: $result" >&5
12377 echo "${ECHO_T}$result" >&6; }
12378
12379
12380 enablestring=
12381 defaultval=$wxUSE_ALL_FEATURES
12382 if test -z "$defaultval"; then
12383 if test x"$enablestring" = xdisable; then
12384 defaultval=yes
12385 else
12386 defaultval=no
12387 fi
12388 fi
12389
12390 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
12391 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
12392 # Check whether --enable-statbox was given.
12393 if test "${enable_statbox+set}" = set; then
12394 enableval=$enable_statbox;
12395 if test "$enableval" = yes; then
12396 wx_cv_use_statbox='wxUSE_STATBOX=yes'
12397 else
12398 wx_cv_use_statbox='wxUSE_STATBOX=no'
12399 fi
12400
12401 else
12402
12403 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
12404
12405 fi
12406
12407
12408 eval "$wx_cv_use_statbox"
12409
12410 if test x"$enablestring" = xdisable; then
12411 if test $wxUSE_STATBOX = no; then
12412 result=yes
12413 else
12414 result=no
12415 fi
12416 else
12417 result=$wxUSE_STATBOX
12418 fi
12419
12420 { echo "$as_me:$LINENO: result: $result" >&5
12421 echo "${ECHO_T}$result" >&6; }
12422
12423
12424 enablestring=
12425 defaultval=$wxUSE_ALL_FEATURES
12426 if test -z "$defaultval"; then
12427 if test x"$enablestring" = xdisable; then
12428 defaultval=yes
12429 else
12430 defaultval=no
12431 fi
12432 fi
12433
12434 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
12435 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
12436 # Check whether --enable-statline was given.
12437 if test "${enable_statline+set}" = set; then
12438 enableval=$enable_statline;
12439 if test "$enableval" = yes; then
12440 wx_cv_use_statline='wxUSE_STATLINE=yes'
12441 else
12442 wx_cv_use_statline='wxUSE_STATLINE=no'
12443 fi
12444
12445 else
12446
12447 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
12448
12449 fi
12450
12451
12452 eval "$wx_cv_use_statline"
12453
12454 if test x"$enablestring" = xdisable; then
12455 if test $wxUSE_STATLINE = no; then
12456 result=yes
12457 else
12458 result=no
12459 fi
12460 else
12461 result=$wxUSE_STATLINE
12462 fi
12463
12464 { echo "$as_me:$LINENO: result: $result" >&5
12465 echo "${ECHO_T}$result" >&6; }
12466
12467
12468 enablestring=
12469 defaultval=$wxUSE_ALL_FEATURES
12470 if test -z "$defaultval"; then
12471 if test x"$enablestring" = xdisable; then
12472 defaultval=yes
12473 else
12474 defaultval=no
12475 fi
12476 fi
12477
12478 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
12479 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
12480 # Check whether --enable-stattext was given.
12481 if test "${enable_stattext+set}" = set; then
12482 enableval=$enable_stattext;
12483 if test "$enableval" = yes; then
12484 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
12485 else
12486 wx_cv_use_stattext='wxUSE_STATTEXT=no'
12487 fi
12488
12489 else
12490
12491 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
12492
12493 fi
12494
12495
12496 eval "$wx_cv_use_stattext"
12497
12498 if test x"$enablestring" = xdisable; then
12499 if test $wxUSE_STATTEXT = no; then
12500 result=yes
12501 else
12502 result=no
12503 fi
12504 else
12505 result=$wxUSE_STATTEXT
12506 fi
12507
12508 { echo "$as_me:$LINENO: result: $result" >&5
12509 echo "${ECHO_T}$result" >&6; }
12510
12511
12512 enablestring=
12513 defaultval=$wxUSE_ALL_FEATURES
12514 if test -z "$defaultval"; then
12515 if test x"$enablestring" = xdisable; then
12516 defaultval=yes
12517 else
12518 defaultval=no
12519 fi
12520 fi
12521
12522 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
12523 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
12524 # Check whether --enable-statusbar was given.
12525 if test "${enable_statusbar+set}" = set; then
12526 enableval=$enable_statusbar;
12527 if test "$enableval" = yes; then
12528 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
12529 else
12530 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
12531 fi
12532
12533 else
12534
12535 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
12536
12537 fi
12538
12539
12540 eval "$wx_cv_use_statusbar"
12541
12542 if test x"$enablestring" = xdisable; then
12543 if test $wxUSE_STATUSBAR = no; then
12544 result=yes
12545 else
12546 result=no
12547 fi
12548 else
12549 result=$wxUSE_STATUSBAR
12550 fi
12551
12552 { echo "$as_me:$LINENO: result: $result" >&5
12553 echo "${ECHO_T}$result" >&6; }
12554
12555
12556 enablestring=
12557 defaultval=$wxUSE_ALL_FEATURES
12558 if test -z "$defaultval"; then
12559 if test x"$enablestring" = xdisable; then
12560 defaultval=yes
12561 else
12562 defaultval=no
12563 fi
12564 fi
12565
12566 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
12567 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
12568 # Check whether --enable-taskbaricon was given.
12569 if test "${enable_taskbaricon+set}" = set; then
12570 enableval=$enable_taskbaricon;
12571 if test "$enableval" = yes; then
12572 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
12573 else
12574 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
12575 fi
12576
12577 else
12578
12579 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
12580
12581 fi
12582
12583
12584 eval "$wx_cv_use_taskbaricon"
12585
12586 if test x"$enablestring" = xdisable; then
12587 if test $wxUSE_TASKBARICON = no; then
12588 result=yes
12589 else
12590 result=no
12591 fi
12592 else
12593 result=$wxUSE_TASKBARICON
12594 fi
12595
12596 { echo "$as_me:$LINENO: result: $result" >&5
12597 echo "${ECHO_T}$result" >&6; }
12598
12599
12600 enablestring=
12601 defaultval=$wxUSE_ALL_FEATURES
12602 if test -z "$defaultval"; then
12603 if test x"$enablestring" = xdisable; then
12604 defaultval=yes
12605 else
12606 defaultval=no
12607 fi
12608 fi
12609
12610 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
12611 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
12612 # Check whether --enable-tbarnative was given.
12613 if test "${enable_tbarnative+set}" = set; then
12614 enableval=$enable_tbarnative;
12615 if test "$enableval" = yes; then
12616 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
12617 else
12618 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
12619 fi
12620
12621 else
12622
12623 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
12624
12625 fi
12626
12627
12628 eval "$wx_cv_use_tbarnative"
12629
12630 if test x"$enablestring" = xdisable; then
12631 if test $wxUSE_TOOLBAR_NATIVE = no; then
12632 result=yes
12633 else
12634 result=no
12635 fi
12636 else
12637 result=$wxUSE_TOOLBAR_NATIVE
12638 fi
12639
12640 { echo "$as_me:$LINENO: result: $result" >&5
12641 echo "${ECHO_T}$result" >&6; }
12642
12643
12644 enablestring=
12645 defaultval=$wxUSE_ALL_FEATURES
12646 if test -z "$defaultval"; then
12647 if test x"$enablestring" = xdisable; then
12648 defaultval=yes
12649 else
12650 defaultval=no
12651 fi
12652 fi
12653
12654 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
12655 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
12656 # Check whether --enable-textctrl was given.
12657 if test "${enable_textctrl+set}" = set; then
12658 enableval=$enable_textctrl;
12659 if test "$enableval" = yes; then
12660 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
12661 else
12662 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
12663 fi
12664
12665 else
12666
12667 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
12668
12669 fi
12670
12671
12672 eval "$wx_cv_use_textctrl"
12673
12674 if test x"$enablestring" = xdisable; then
12675 if test $wxUSE_TEXTCTRL = no; then
12676 result=yes
12677 else
12678 result=no
12679 fi
12680 else
12681 result=$wxUSE_TEXTCTRL
12682 fi
12683
12684 { echo "$as_me:$LINENO: result: $result" >&5
12685 echo "${ECHO_T}$result" >&6; }
12686
12687
12688 enablestring=
12689 defaultval=$wxUSE_ALL_FEATURES
12690 if test -z "$defaultval"; then
12691 if test x"$enablestring" = xdisable; then
12692 defaultval=yes
12693 else
12694 defaultval=no
12695 fi
12696 fi
12697
12698 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
12699 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
12700 # Check whether --enable-datepick was given.
12701 if test "${enable_datepick+set}" = set; then
12702 enableval=$enable_datepick;
12703 if test "$enableval" = yes; then
12704 wx_cv_use_datepick='wxUSE_TIMEPICKCTRL=yes'
12705 else
12706 wx_cv_use_datepick='wxUSE_TIMEPICKCTRL=no'
12707 fi
12708
12709 else
12710
12711 wx_cv_use_datepick='wxUSE_TIMEPICKCTRL=${'DEFAULT_wxUSE_TIMEPICKCTRL":-$defaultval}"
12712
12713 fi
12714
12715
12716 eval "$wx_cv_use_datepick"
12717
12718 if test x"$enablestring" = xdisable; then
12719 if test $wxUSE_TIMEPICKCTRL = no; then
12720 result=yes
12721 else
12722 result=no
12723 fi
12724 else
12725 result=$wxUSE_TIMEPICKCTRL
12726 fi
12727
12728 { echo "$as_me:$LINENO: result: $result" >&5
12729 echo "${ECHO_T}$result" >&6; }
12730
12731
12732 enablestring=
12733 defaultval=$wxUSE_ALL_FEATURES
12734 if test -z "$defaultval"; then
12735 if test x"$enablestring" = xdisable; then
12736 defaultval=yes
12737 else
12738 defaultval=no
12739 fi
12740 fi
12741
12742 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
12743 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
12744 # Check whether --enable-tipwindow was given.
12745 if test "${enable_tipwindow+set}" = set; then
12746 enableval=$enable_tipwindow;
12747 if test "$enableval" = yes; then
12748 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
12749 else
12750 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
12751 fi
12752
12753 else
12754
12755 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
12756
12757 fi
12758
12759
12760 eval "$wx_cv_use_tipwindow"
12761
12762 if test x"$enablestring" = xdisable; then
12763 if test $wxUSE_TIPWINDOW = no; then
12764 result=yes
12765 else
12766 result=no
12767 fi
12768 else
12769 result=$wxUSE_TIPWINDOW
12770 fi
12771
12772 { echo "$as_me:$LINENO: result: $result" >&5
12773 echo "${ECHO_T}$result" >&6; }
12774
12775
12776 enablestring=
12777 defaultval=$wxUSE_ALL_FEATURES
12778 if test -z "$defaultval"; then
12779 if test x"$enablestring" = xdisable; then
12780 defaultval=yes
12781 else
12782 defaultval=no
12783 fi
12784 fi
12785
12786 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
12787 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
12788 # Check whether --enable-togglebtn was given.
12789 if test "${enable_togglebtn+set}" = set; then
12790 enableval=$enable_togglebtn;
12791 if test "$enableval" = yes; then
12792 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
12793 else
12794 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
12795 fi
12796
12797 else
12798
12799 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
12800
12801 fi
12802
12803
12804 eval "$wx_cv_use_togglebtn"
12805
12806 if test x"$enablestring" = xdisable; then
12807 if test $wxUSE_TOGGLEBTN = no; then
12808 result=yes
12809 else
12810 result=no
12811 fi
12812 else
12813 result=$wxUSE_TOGGLEBTN
12814 fi
12815
12816 { echo "$as_me:$LINENO: result: $result" >&5
12817 echo "${ECHO_T}$result" >&6; }
12818
12819
12820 enablestring=
12821 defaultval=$wxUSE_ALL_FEATURES
12822 if test -z "$defaultval"; then
12823 if test x"$enablestring" = xdisable; then
12824 defaultval=yes
12825 else
12826 defaultval=no
12827 fi
12828 fi
12829
12830 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
12831 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
12832 # Check whether --enable-toolbar was given.
12833 if test "${enable_toolbar+set}" = set; then
12834 enableval=$enable_toolbar;
12835 if test "$enableval" = yes; then
12836 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
12837 else
12838 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
12839 fi
12840
12841 else
12842
12843 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
12844
12845 fi
12846
12847
12848 eval "$wx_cv_use_toolbar"
12849
12850 if test x"$enablestring" = xdisable; then
12851 if test $wxUSE_TOOLBAR = no; then
12852 result=yes
12853 else
12854 result=no
12855 fi
12856 else
12857 result=$wxUSE_TOOLBAR
12858 fi
12859
12860 { echo "$as_me:$LINENO: result: $result" >&5
12861 echo "${ECHO_T}$result" >&6; }
12862
12863
12864 enablestring=
12865 defaultval=$wxUSE_ALL_FEATURES
12866 if test -z "$defaultval"; then
12867 if test x"$enablestring" = xdisable; then
12868 defaultval=yes
12869 else
12870 defaultval=no
12871 fi
12872 fi
12873
12874 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
12875 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
12876 # Check whether --enable-toolbook was given.
12877 if test "${enable_toolbook+set}" = set; then
12878 enableval=$enable_toolbook;
12879 if test "$enableval" = yes; then
12880 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
12881 else
12882 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
12883 fi
12884
12885 else
12886
12887 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
12888
12889 fi
12890
12891
12892 eval "$wx_cv_use_toolbook"
12893
12894 if test x"$enablestring" = xdisable; then
12895 if test $wxUSE_TOOLBOOK = no; then
12896 result=yes
12897 else
12898 result=no
12899 fi
12900 else
12901 result=$wxUSE_TOOLBOOK
12902 fi
12903
12904 { echo "$as_me:$LINENO: result: $result" >&5
12905 echo "${ECHO_T}$result" >&6; }
12906
12907
12908 enablestring=
12909 defaultval=$wxUSE_ALL_FEATURES
12910 if test -z "$defaultval"; then
12911 if test x"$enablestring" = xdisable; then
12912 defaultval=yes
12913 else
12914 defaultval=no
12915 fi
12916 fi
12917
12918 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
12919 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
12920 # Check whether --enable-treebook was given.
12921 if test "${enable_treebook+set}" = set; then
12922 enableval=$enable_treebook;
12923 if test "$enableval" = yes; then
12924 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
12925 else
12926 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
12927 fi
12928
12929 else
12930
12931 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
12932
12933 fi
12934
12935
12936 eval "$wx_cv_use_treebook"
12937
12938 if test x"$enablestring" = xdisable; then
12939 if test $wxUSE_TREEBOOK = no; then
12940 result=yes
12941 else
12942 result=no
12943 fi
12944 else
12945 result=$wxUSE_TREEBOOK
12946 fi
12947
12948 { echo "$as_me:$LINENO: result: $result" >&5
12949 echo "${ECHO_T}$result" >&6; }
12950
12951
12952 enablestring=
12953 defaultval=$wxUSE_ALL_FEATURES
12954 if test -z "$defaultval"; then
12955 if test x"$enablestring" = xdisable; then
12956 defaultval=yes
12957 else
12958 defaultval=no
12959 fi
12960 fi
12961
12962 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
12963 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
12964 # Check whether --enable-treectrl was given.
12965 if test "${enable_treectrl+set}" = set; then
12966 enableval=$enable_treectrl;
12967 if test "$enableval" = yes; then
12968 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
12969 else
12970 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
12971 fi
12972
12973 else
12974
12975 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
12976
12977 fi
12978
12979
12980 eval "$wx_cv_use_treectrl"
12981
12982 if test x"$enablestring" = xdisable; then
12983 if test $wxUSE_TREECTRL = no; then
12984 result=yes
12985 else
12986 result=no
12987 fi
12988 else
12989 result=$wxUSE_TREECTRL
12990 fi
12991
12992 { echo "$as_me:$LINENO: result: $result" >&5
12993 echo "${ECHO_T}$result" >&6; }
12994
12995
12996 enablestring=
12997 defaultval=$wxUSE_ALL_FEATURES
12998 if test -z "$defaultval"; then
12999 if test x"$enablestring" = xdisable; then
13000 defaultval=yes
13001 else
13002 defaultval=no
13003 fi
13004 fi
13005
13006 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treelist" >&5
13007 echo $ECHO_N "checking for --${enablestring:-enable}-treelist... $ECHO_C" >&6; }
13008 # Check whether --enable-treelist was given.
13009 if test "${enable_treelist+set}" = set; then
13010 enableval=$enable_treelist;
13011 if test "$enableval" = yes; then
13012 wx_cv_use_treelist='wxUSE_TREELISTCTRL=yes'
13013 else
13014 wx_cv_use_treelist='wxUSE_TREELISTCTRL=no'
13015 fi
13016
13017 else
13018
13019 wx_cv_use_treelist='wxUSE_TREELISTCTRL=${'DEFAULT_wxUSE_TREELISTCTRL":-$defaultval}"
13020
13021 fi
13022
13023
13024 eval "$wx_cv_use_treelist"
13025
13026 if test x"$enablestring" = xdisable; then
13027 if test $wxUSE_TREELISTCTRL = no; then
13028 result=yes
13029 else
13030 result=no
13031 fi
13032 else
13033 result=$wxUSE_TREELISTCTRL
13034 fi
13035
13036 { echo "$as_me:$LINENO: result: $result" >&5
13037 echo "${ECHO_T}$result" >&6; }
13038
13039
13040
13041
13042 enablestring=
13043 defaultval=$wxUSE_ALL_FEATURES
13044 if test -z "$defaultval"; then
13045 if test x"$enablestring" = xdisable; then
13046 defaultval=yes
13047 else
13048 defaultval=no
13049 fi
13050 fi
13051
13052 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
13053 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
13054 # Check whether --enable-commondlg was given.
13055 if test "${enable_commondlg+set}" = set; then
13056 enableval=$enable_commondlg;
13057 if test "$enableval" = yes; then
13058 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
13059 else
13060 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
13061 fi
13062
13063 else
13064
13065 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
13066
13067 fi
13068
13069
13070 eval "$wx_cv_use_commondlg"
13071
13072 if test x"$enablestring" = xdisable; then
13073 if test $wxUSE_COMMONDLGS = no; then
13074 result=yes
13075 else
13076 result=no
13077 fi
13078 else
13079 result=$wxUSE_COMMONDLGS
13080 fi
13081
13082 { echo "$as_me:$LINENO: result: $result" >&5
13083 echo "${ECHO_T}$result" >&6; }
13084
13085
13086 enablestring=
13087 defaultval=$wxUSE_ALL_FEATURES
13088 if test -z "$defaultval"; then
13089 if test x"$enablestring" = xdisable; then
13090 defaultval=yes
13091 else
13092 defaultval=no
13093 fi
13094 fi
13095
13096 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
13097 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
13098 # Check whether --enable-aboutdlg was given.
13099 if test "${enable_aboutdlg+set}" = set; then
13100 enableval=$enable_aboutdlg;
13101 if test "$enableval" = yes; then
13102 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
13103 else
13104 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
13105 fi
13106
13107 else
13108
13109 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
13110
13111 fi
13112
13113
13114 eval "$wx_cv_use_aboutdlg"
13115
13116 if test x"$enablestring" = xdisable; then
13117 if test $wxUSE_ABOUTDLG = no; then
13118 result=yes
13119 else
13120 result=no
13121 fi
13122 else
13123 result=$wxUSE_ABOUTDLG
13124 fi
13125
13126 { echo "$as_me:$LINENO: result: $result" >&5
13127 echo "${ECHO_T}$result" >&6; }
13128
13129
13130 enablestring=
13131 defaultval=$wxUSE_ALL_FEATURES
13132 if test -z "$defaultval"; then
13133 if test x"$enablestring" = xdisable; then
13134 defaultval=yes
13135 else
13136 defaultval=no
13137 fi
13138 fi
13139
13140 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
13141 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
13142 # Check whether --enable-choicedlg was given.
13143 if test "${enable_choicedlg+set}" = set; then
13144 enableval=$enable_choicedlg;
13145 if test "$enableval" = yes; then
13146 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
13147 else
13148 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
13149 fi
13150
13151 else
13152
13153 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
13154
13155 fi
13156
13157
13158 eval "$wx_cv_use_choicedlg"
13159
13160 if test x"$enablestring" = xdisable; then
13161 if test $wxUSE_CHOICEDLG = no; then
13162 result=yes
13163 else
13164 result=no
13165 fi
13166 else
13167 result=$wxUSE_CHOICEDLG
13168 fi
13169
13170 { echo "$as_me:$LINENO: result: $result" >&5
13171 echo "${ECHO_T}$result" >&6; }
13172
13173
13174 enablestring=
13175 defaultval=$wxUSE_ALL_FEATURES
13176 if test -z "$defaultval"; then
13177 if test x"$enablestring" = xdisable; then
13178 defaultval=yes
13179 else
13180 defaultval=no
13181 fi
13182 fi
13183
13184 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
13185 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
13186 # Check whether --enable-coldlg was given.
13187 if test "${enable_coldlg+set}" = set; then
13188 enableval=$enable_coldlg;
13189 if test "$enableval" = yes; then
13190 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
13191 else
13192 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
13193 fi
13194
13195 else
13196
13197 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
13198
13199 fi
13200
13201
13202 eval "$wx_cv_use_coldlg"
13203
13204 if test x"$enablestring" = xdisable; then
13205 if test $wxUSE_COLOURDLG = no; then
13206 result=yes
13207 else
13208 result=no
13209 fi
13210 else
13211 result=$wxUSE_COLOURDLG
13212 fi
13213
13214 { echo "$as_me:$LINENO: result: $result" >&5
13215 echo "${ECHO_T}$result" >&6; }
13216
13217
13218 enablestring=
13219 defaultval=$wxUSE_ALL_FEATURES
13220 if test -z "$defaultval"; then
13221 if test x"$enablestring" = xdisable; then
13222 defaultval=yes
13223 else
13224 defaultval=no
13225 fi
13226 fi
13227
13228 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
13229 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
13230 # Check whether --enable-filedlg was given.
13231 if test "${enable_filedlg+set}" = set; then
13232 enableval=$enable_filedlg;
13233 if test "$enableval" = yes; then
13234 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
13235 else
13236 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
13237 fi
13238
13239 else
13240
13241 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
13242
13243 fi
13244
13245
13246 eval "$wx_cv_use_filedlg"
13247
13248 if test x"$enablestring" = xdisable; then
13249 if test $wxUSE_FILEDLG = no; then
13250 result=yes
13251 else
13252 result=no
13253 fi
13254 else
13255 result=$wxUSE_FILEDLG
13256 fi
13257
13258 { echo "$as_me:$LINENO: result: $result" >&5
13259 echo "${ECHO_T}$result" >&6; }
13260
13261
13262 enablestring=
13263 defaultval=$wxUSE_ALL_FEATURES
13264 if test -z "$defaultval"; then
13265 if test x"$enablestring" = xdisable; then
13266 defaultval=yes
13267 else
13268 defaultval=no
13269 fi
13270 fi
13271
13272 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
13273 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
13274 # Check whether --enable-finddlg was given.
13275 if test "${enable_finddlg+set}" = set; then
13276 enableval=$enable_finddlg;
13277 if test "$enableval" = yes; then
13278 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
13279 else
13280 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
13281 fi
13282
13283 else
13284
13285 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
13286
13287 fi
13288
13289
13290 eval "$wx_cv_use_finddlg"
13291
13292 if test x"$enablestring" = xdisable; then
13293 if test $wxUSE_FINDREPLDLG = no; then
13294 result=yes
13295 else
13296 result=no
13297 fi
13298 else
13299 result=$wxUSE_FINDREPLDLG
13300 fi
13301
13302 { echo "$as_me:$LINENO: result: $result" >&5
13303 echo "${ECHO_T}$result" >&6; }
13304
13305
13306 enablestring=
13307 defaultval=$wxUSE_ALL_FEATURES
13308 if test -z "$defaultval"; then
13309 if test x"$enablestring" = xdisable; then
13310 defaultval=yes
13311 else
13312 defaultval=no
13313 fi
13314 fi
13315
13316 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
13317 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
13318 # Check whether --enable-fontdlg was given.
13319 if test "${enable_fontdlg+set}" = set; then
13320 enableval=$enable_fontdlg;
13321 if test "$enableval" = yes; then
13322 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
13323 else
13324 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
13325 fi
13326
13327 else
13328
13329 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
13330
13331 fi
13332
13333
13334 eval "$wx_cv_use_fontdlg"
13335
13336 if test x"$enablestring" = xdisable; then
13337 if test $wxUSE_FONTDLG = no; then
13338 result=yes
13339 else
13340 result=no
13341 fi
13342 else
13343 result=$wxUSE_FONTDLG
13344 fi
13345
13346 { echo "$as_me:$LINENO: result: $result" >&5
13347 echo "${ECHO_T}$result" >&6; }
13348
13349
13350 enablestring=
13351 defaultval=$wxUSE_ALL_FEATURES
13352 if test -z "$defaultval"; then
13353 if test x"$enablestring" = xdisable; then
13354 defaultval=yes
13355 else
13356 defaultval=no
13357 fi
13358 fi
13359
13360 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
13361 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
13362 # Check whether --enable-dirdlg was given.
13363 if test "${enable_dirdlg+set}" = set; then
13364 enableval=$enable_dirdlg;
13365 if test "$enableval" = yes; then
13366 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
13367 else
13368 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
13369 fi
13370
13371 else
13372
13373 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
13374
13375 fi
13376
13377
13378 eval "$wx_cv_use_dirdlg"
13379
13380 if test x"$enablestring" = xdisable; then
13381 if test $wxUSE_DIRDLG = no; then
13382 result=yes
13383 else
13384 result=no
13385 fi
13386 else
13387 result=$wxUSE_DIRDLG
13388 fi
13389
13390 { echo "$as_me:$LINENO: result: $result" >&5
13391 echo "${ECHO_T}$result" >&6; }
13392
13393
13394 enablestring=
13395 defaultval=$wxUSE_ALL_FEATURES
13396 if test -z "$defaultval"; then
13397 if test x"$enablestring" = xdisable; then
13398 defaultval=yes
13399 else
13400 defaultval=no
13401 fi
13402 fi
13403
13404 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
13405 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
13406 # Check whether --enable-msgdlg was given.
13407 if test "${enable_msgdlg+set}" = set; then
13408 enableval=$enable_msgdlg;
13409 if test "$enableval" = yes; then
13410 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
13411 else
13412 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
13413 fi
13414
13415 else
13416
13417 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
13418
13419 fi
13420
13421
13422 eval "$wx_cv_use_msgdlg"
13423
13424 if test x"$enablestring" = xdisable; then
13425 if test $wxUSE_MSGDLG = no; then
13426 result=yes
13427 else
13428 result=no
13429 fi
13430 else
13431 result=$wxUSE_MSGDLG
13432 fi
13433
13434 { echo "$as_me:$LINENO: result: $result" >&5
13435 echo "${ECHO_T}$result" >&6; }
13436
13437
13438 enablestring=
13439 defaultval=$wxUSE_ALL_FEATURES
13440 if test -z "$defaultval"; then
13441 if test x"$enablestring" = xdisable; then
13442 defaultval=yes
13443 else
13444 defaultval=no
13445 fi
13446 fi
13447
13448 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
13449 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
13450 # Check whether --enable-numberdlg was given.
13451 if test "${enable_numberdlg+set}" = set; then
13452 enableval=$enable_numberdlg;
13453 if test "$enableval" = yes; then
13454 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
13455 else
13456 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
13457 fi
13458
13459 else
13460
13461 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
13462
13463 fi
13464
13465
13466 eval "$wx_cv_use_numberdlg"
13467
13468 if test x"$enablestring" = xdisable; then
13469 if test $wxUSE_NUMBERDLG = no; then
13470 result=yes
13471 else
13472 result=no
13473 fi
13474 else
13475 result=$wxUSE_NUMBERDLG
13476 fi
13477
13478 { echo "$as_me:$LINENO: result: $result" >&5
13479 echo "${ECHO_T}$result" >&6; }
13480
13481
13482 enablestring=
13483 defaultval=$wxUSE_ALL_FEATURES
13484 if test -z "$defaultval"; then
13485 if test x"$enablestring" = xdisable; then
13486 defaultval=yes
13487 else
13488 defaultval=no
13489 fi
13490 fi
13491
13492 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
13493 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
13494 # Check whether --enable-splash was given.
13495 if test "${enable_splash+set}" = set; then
13496 enableval=$enable_splash;
13497 if test "$enableval" = yes; then
13498 wx_cv_use_splash='wxUSE_SPLASH=yes'
13499 else
13500 wx_cv_use_splash='wxUSE_SPLASH=no'
13501 fi
13502
13503 else
13504
13505 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
13506
13507 fi
13508
13509
13510 eval "$wx_cv_use_splash"
13511
13512 if test x"$enablestring" = xdisable; then
13513 if test $wxUSE_SPLASH = no; then
13514 result=yes
13515 else
13516 result=no
13517 fi
13518 else
13519 result=$wxUSE_SPLASH
13520 fi
13521
13522 { echo "$as_me:$LINENO: result: $result" >&5
13523 echo "${ECHO_T}$result" >&6; }
13524
13525
13526 enablestring=
13527 defaultval=$wxUSE_ALL_FEATURES
13528 if test -z "$defaultval"; then
13529 if test x"$enablestring" = xdisable; then
13530 defaultval=yes
13531 else
13532 defaultval=no
13533 fi
13534 fi
13535
13536 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
13537 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
13538 # Check whether --enable-textdlg was given.
13539 if test "${enable_textdlg+set}" = set; then
13540 enableval=$enable_textdlg;
13541 if test "$enableval" = yes; then
13542 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
13543 else
13544 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
13545 fi
13546
13547 else
13548
13549 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
13550
13551 fi
13552
13553
13554 eval "$wx_cv_use_textdlg"
13555
13556 if test x"$enablestring" = xdisable; then
13557 if test $wxUSE_TEXTDLG = no; then
13558 result=yes
13559 else
13560 result=no
13561 fi
13562 else
13563 result=$wxUSE_TEXTDLG
13564 fi
13565
13566 { echo "$as_me:$LINENO: result: $result" >&5
13567 echo "${ECHO_T}$result" >&6; }
13568
13569
13570 enablestring=
13571 defaultval=$wxUSE_ALL_FEATURES
13572 if test -z "$defaultval"; then
13573 if test x"$enablestring" = xdisable; then
13574 defaultval=yes
13575 else
13576 defaultval=no
13577 fi
13578 fi
13579
13580 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
13581 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
13582 # Check whether --enable-tipdlg was given.
13583 if test "${enable_tipdlg+set}" = set; then
13584 enableval=$enable_tipdlg;
13585 if test "$enableval" = yes; then
13586 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
13587 else
13588 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
13589 fi
13590
13591 else
13592
13593 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
13594
13595 fi
13596
13597
13598 eval "$wx_cv_use_tipdlg"
13599
13600 if test x"$enablestring" = xdisable; then
13601 if test $wxUSE_STARTUP_TIPS = no; then
13602 result=yes
13603 else
13604 result=no
13605 fi
13606 else
13607 result=$wxUSE_STARTUP_TIPS
13608 fi
13609
13610 { echo "$as_me:$LINENO: result: $result" >&5
13611 echo "${ECHO_T}$result" >&6; }
13612
13613
13614 enablestring=
13615 defaultval=$wxUSE_ALL_FEATURES
13616 if test -z "$defaultval"; then
13617 if test x"$enablestring" = xdisable; then
13618 defaultval=yes
13619 else
13620 defaultval=no
13621 fi
13622 fi
13623
13624 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
13625 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
13626 # Check whether --enable-progressdlg was given.
13627 if test "${enable_progressdlg+set}" = set; then
13628 enableval=$enable_progressdlg;
13629 if test "$enableval" = yes; then
13630 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
13631 else
13632 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
13633 fi
13634
13635 else
13636
13637 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
13638
13639 fi
13640
13641
13642 eval "$wx_cv_use_progressdlg"
13643
13644 if test x"$enablestring" = xdisable; then
13645 if test $wxUSE_PROGRESSDLG = no; then
13646 result=yes
13647 else
13648 result=no
13649 fi
13650 else
13651 result=$wxUSE_PROGRESSDLG
13652 fi
13653
13654 { echo "$as_me:$LINENO: result: $result" >&5
13655 echo "${ECHO_T}$result" >&6; }
13656
13657
13658 enablestring=
13659 defaultval=$wxUSE_ALL_FEATURES
13660 if test -z "$defaultval"; then
13661 if test x"$enablestring" = xdisable; then
13662 defaultval=yes
13663 else
13664 defaultval=no
13665 fi
13666 fi
13667
13668 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
13669 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
13670 # Check whether --enable-wizarddlg was given.
13671 if test "${enable_wizarddlg+set}" = set; then
13672 enableval=$enable_wizarddlg;
13673 if test "$enableval" = yes; then
13674 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
13675 else
13676 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
13677 fi
13678
13679 else
13680
13681 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
13682
13683 fi
13684
13685
13686 eval "$wx_cv_use_wizarddlg"
13687
13688 if test x"$enablestring" = xdisable; then
13689 if test $wxUSE_WIZARDDLG = no; then
13690 result=yes
13691 else
13692 result=no
13693 fi
13694 else
13695 result=$wxUSE_WIZARDDLG
13696 fi
13697
13698 { echo "$as_me:$LINENO: result: $result" >&5
13699 echo "${ECHO_T}$result" >&6; }
13700
13701
13702
13703
13704 enablestring=
13705 defaultval=$wxUSE_ALL_FEATURES
13706 if test -z "$defaultval"; then
13707 if test x"$enablestring" = xdisable; then
13708 defaultval=yes
13709 else
13710 defaultval=no
13711 fi
13712 fi
13713
13714 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
13715 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
13716 # Check whether --enable-menus was given.
13717 if test "${enable_menus+set}" = set; then
13718 enableval=$enable_menus;
13719 if test "$enableval" = yes; then
13720 wx_cv_use_menus='wxUSE_MENUS=yes'
13721 else
13722 wx_cv_use_menus='wxUSE_MENUS=no'
13723 fi
13724
13725 else
13726
13727 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
13728
13729 fi
13730
13731
13732 eval "$wx_cv_use_menus"
13733
13734 if test x"$enablestring" = xdisable; then
13735 if test $wxUSE_MENUS = no; then
13736 result=yes
13737 else
13738 result=no
13739 fi
13740 else
13741 result=$wxUSE_MENUS
13742 fi
13743
13744 { echo "$as_me:$LINENO: result: $result" >&5
13745 echo "${ECHO_T}$result" >&6; }
13746
13747
13748 enablestring=
13749 defaultval=$wxUSE_ALL_FEATURES
13750 if test -z "$defaultval"; then
13751 if test x"$enablestring" = xdisable; then
13752 defaultval=yes
13753 else
13754 defaultval=no
13755 fi
13756 fi
13757
13758 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
13759 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
13760 # Check whether --enable-miniframe was given.
13761 if test "${enable_miniframe+set}" = set; then
13762 enableval=$enable_miniframe;
13763 if test "$enableval" = yes; then
13764 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
13765 else
13766 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
13767 fi
13768
13769 else
13770
13771 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
13772
13773 fi
13774
13775
13776 eval "$wx_cv_use_miniframe"
13777
13778 if test x"$enablestring" = xdisable; then
13779 if test $wxUSE_MINIFRAME = no; then
13780 result=yes
13781 else
13782 result=no
13783 fi
13784 else
13785 result=$wxUSE_MINIFRAME
13786 fi
13787
13788 { echo "$as_me:$LINENO: result: $result" >&5
13789 echo "${ECHO_T}$result" >&6; }
13790
13791
13792 enablestring=
13793 defaultval=$wxUSE_ALL_FEATURES
13794 if test -z "$defaultval"; then
13795 if test x"$enablestring" = xdisable; then
13796 defaultval=yes
13797 else
13798 defaultval=no
13799 fi
13800 fi
13801
13802 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
13803 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
13804 # Check whether --enable-tooltips was given.
13805 if test "${enable_tooltips+set}" = set; then
13806 enableval=$enable_tooltips;
13807 if test "$enableval" = yes; then
13808 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
13809 else
13810 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
13811 fi
13812
13813 else
13814
13815 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
13816
13817 fi
13818
13819
13820 eval "$wx_cv_use_tooltips"
13821
13822 if test x"$enablestring" = xdisable; then
13823 if test $wxUSE_TOOLTIPS = no; then
13824 result=yes
13825 else
13826 result=no
13827 fi
13828 else
13829 result=$wxUSE_TOOLTIPS
13830 fi
13831
13832 { echo "$as_me:$LINENO: result: $result" >&5
13833 echo "${ECHO_T}$result" >&6; }
13834
13835
13836 enablestring=
13837 defaultval=$wxUSE_ALL_FEATURES
13838 if test -z "$defaultval"; then
13839 if test x"$enablestring" = xdisable; then
13840 defaultval=yes
13841 else
13842 defaultval=no
13843 fi
13844 fi
13845
13846 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
13847 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
13848 # Check whether --enable-splines was given.
13849 if test "${enable_splines+set}" = set; then
13850 enableval=$enable_splines;
13851 if test "$enableval" = yes; then
13852 wx_cv_use_splines='wxUSE_SPLINES=yes'
13853 else
13854 wx_cv_use_splines='wxUSE_SPLINES=no'
13855 fi
13856
13857 else
13858
13859 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
13860
13861 fi
13862
13863
13864 eval "$wx_cv_use_splines"
13865
13866 if test x"$enablestring" = xdisable; then
13867 if test $wxUSE_SPLINES = no; then
13868 result=yes
13869 else
13870 result=no
13871 fi
13872 else
13873 result=$wxUSE_SPLINES
13874 fi
13875
13876 { echo "$as_me:$LINENO: result: $result" >&5
13877 echo "${ECHO_T}$result" >&6; }
13878
13879
13880 enablestring=
13881 defaultval=$wxUSE_ALL_FEATURES
13882 if test -z "$defaultval"; then
13883 if test x"$enablestring" = xdisable; then
13884 defaultval=yes
13885 else
13886 defaultval=no
13887 fi
13888 fi
13889
13890 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
13891 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
13892 # Check whether --enable-mousewheel was given.
13893 if test "${enable_mousewheel+set}" = set; then
13894 enableval=$enable_mousewheel;
13895 if test "$enableval" = yes; then
13896 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
13897 else
13898 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
13899 fi
13900
13901 else
13902
13903 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
13904
13905 fi
13906
13907
13908 eval "$wx_cv_use_mousewheel"
13909
13910 if test x"$enablestring" = xdisable; then
13911 if test $wxUSE_MOUSEWHEEL = no; then
13912 result=yes
13913 else
13914 result=no
13915 fi
13916 else
13917 result=$wxUSE_MOUSEWHEEL
13918 fi
13919
13920 { echo "$as_me:$LINENO: result: $result" >&5
13921 echo "${ECHO_T}$result" >&6; }
13922
13923
13924 enablestring=
13925 defaultval=$wxUSE_ALL_FEATURES
13926 if test -z "$defaultval"; then
13927 if test x"$enablestring" = xdisable; then
13928 defaultval=yes
13929 else
13930 defaultval=no
13931 fi
13932 fi
13933
13934 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
13935 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
13936 # Check whether --enable-validators was given.
13937 if test "${enable_validators+set}" = set; then
13938 enableval=$enable_validators;
13939 if test "$enableval" = yes; then
13940 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
13941 else
13942 wx_cv_use_validators='wxUSE_VALIDATORS=no'
13943 fi
13944
13945 else
13946
13947 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
13948
13949 fi
13950
13951
13952 eval "$wx_cv_use_validators"
13953
13954 if test x"$enablestring" = xdisable; then
13955 if test $wxUSE_VALIDATORS = no; then
13956 result=yes
13957 else
13958 result=no
13959 fi
13960 else
13961 result=$wxUSE_VALIDATORS
13962 fi
13963
13964 { echo "$as_me:$LINENO: result: $result" >&5
13965 echo "${ECHO_T}$result" >&6; }
13966
13967
13968 enablestring=
13969 defaultval=$wxUSE_ALL_FEATURES
13970 if test -z "$defaultval"; then
13971 if test x"$enablestring" = xdisable; then
13972 defaultval=yes
13973 else
13974 defaultval=no
13975 fi
13976 fi
13977
13978 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
13979 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
13980 # Check whether --enable-busyinfo was given.
13981 if test "${enable_busyinfo+set}" = set; then
13982 enableval=$enable_busyinfo;
13983 if test "$enableval" = yes; then
13984 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
13985 else
13986 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
13987 fi
13988
13989 else
13990
13991 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
13992
13993 fi
13994
13995
13996 eval "$wx_cv_use_busyinfo"
13997
13998 if test x"$enablestring" = xdisable; then
13999 if test $wxUSE_BUSYINFO = no; then
14000 result=yes
14001 else
14002 result=no
14003 fi
14004 else
14005 result=$wxUSE_BUSYINFO
14006 fi
14007
14008 { echo "$as_me:$LINENO: result: $result" >&5
14009 echo "${ECHO_T}$result" >&6; }
14010
14011
14012 enablestring=
14013 defaultval=$wxUSE_ALL_FEATURES
14014 if test -z "$defaultval"; then
14015 if test x"$enablestring" = xdisable; then
14016 defaultval=yes
14017 else
14018 defaultval=no
14019 fi
14020 fi
14021
14022 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hotkey" >&5
14023 echo $ECHO_N "checking for --${enablestring:-enable}-hotkey... $ECHO_C" >&6; }
14024 # Check whether --enable-hotkey was given.
14025 if test "${enable_hotkey+set}" = set; then
14026 enableval=$enable_hotkey;
14027 if test "$enableval" = yes; then
14028 wx_cv_use_hotkey='wxUSE_HOTKEY=yes'
14029 else
14030 wx_cv_use_hotkey='wxUSE_HOTKEY=no'
14031 fi
14032
14033 else
14034
14035 wx_cv_use_hotkey='wxUSE_HOTKEY=${'DEFAULT_wxUSE_HOTKEY":-$defaultval}"
14036
14037 fi
14038
14039
14040 eval "$wx_cv_use_hotkey"
14041
14042 if test x"$enablestring" = xdisable; then
14043 if test $wxUSE_HOTKEY = no; then
14044 result=yes
14045 else
14046 result=no
14047 fi
14048 else
14049 result=$wxUSE_HOTKEY
14050 fi
14051
14052 { echo "$as_me:$LINENO: result: $result" >&5
14053 echo "${ECHO_T}$result" >&6; }
14054
14055
14056 enablestring=
14057 defaultval=$wxUSE_ALL_FEATURES
14058 if test -z "$defaultval"; then
14059 if test x"$enablestring" = xdisable; then
14060 defaultval=yes
14061 else
14062 defaultval=no
14063 fi
14064 fi
14065
14066 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
14067 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
14068 # Check whether --enable-joystick was given.
14069 if test "${enable_joystick+set}" = set; then
14070 enableval=$enable_joystick;
14071 if test "$enableval" = yes; then
14072 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
14073 else
14074 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
14075 fi
14076
14077 else
14078
14079 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
14080
14081 fi
14082
14083
14084 eval "$wx_cv_use_joystick"
14085
14086 if test x"$enablestring" = xdisable; then
14087 if test $wxUSE_JOYSTICK = no; then
14088 result=yes
14089 else
14090 result=no
14091 fi
14092 else
14093 result=$wxUSE_JOYSTICK
14094 fi
14095
14096 { echo "$as_me:$LINENO: result: $result" >&5
14097 echo "${ECHO_T}$result" >&6; }
14098
14099
14100 enablestring=
14101 defaultval=$wxUSE_ALL_FEATURES
14102 if test -z "$defaultval"; then
14103 if test x"$enablestring" = xdisable; then
14104 defaultval=yes
14105 else
14106 defaultval=no
14107 fi
14108 fi
14109
14110 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
14111 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
14112 # Check whether --enable-metafile was given.
14113 if test "${enable_metafile+set}" = set; then
14114 enableval=$enable_metafile;
14115 if test "$enableval" = yes; then
14116 wx_cv_use_metafile='wxUSE_METAFILE=yes'
14117 else
14118 wx_cv_use_metafile='wxUSE_METAFILE=no'
14119 fi
14120
14121 else
14122
14123 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
14124
14125 fi
14126
14127
14128 eval "$wx_cv_use_metafile"
14129
14130 if test x"$enablestring" = xdisable; then
14131 if test $wxUSE_METAFILE = no; then
14132 result=yes
14133 else
14134 result=no
14135 fi
14136 else
14137 result=$wxUSE_METAFILE
14138 fi
14139
14140 { echo "$as_me:$LINENO: result: $result" >&5
14141 echo "${ECHO_T}$result" >&6; }
14142
14143
14144 enablestring=
14145 defaultval=$wxUSE_ALL_FEATURES
14146 if test -z "$defaultval"; then
14147 if test x"$enablestring" = xdisable; then
14148 defaultval=yes
14149 else
14150 defaultval=no
14151 fi
14152 fi
14153
14154 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
14155 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
14156 # Check whether --enable-dragimage was given.
14157 if test "${enable_dragimage+set}" = set; then
14158 enableval=$enable_dragimage;
14159 if test "$enableval" = yes; then
14160 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
14161 else
14162 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
14163 fi
14164
14165 else
14166
14167 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
14168
14169 fi
14170
14171
14172 eval "$wx_cv_use_dragimage"
14173
14174 if test x"$enablestring" = xdisable; then
14175 if test $wxUSE_DRAGIMAGE = no; then
14176 result=yes
14177 else
14178 result=no
14179 fi
14180 else
14181 result=$wxUSE_DRAGIMAGE
14182 fi
14183
14184 { echo "$as_me:$LINENO: result: $result" >&5
14185 echo "${ECHO_T}$result" >&6; }
14186
14187
14188 enablestring=
14189 defaultval=$wxUSE_ALL_FEATURES
14190 if test -z "$defaultval"; then
14191 if test x"$enablestring" = xdisable; then
14192 defaultval=yes
14193 else
14194 defaultval=no
14195 fi
14196 fi
14197
14198 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
14199 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
14200 # Check whether --enable-accessibility was given.
14201 if test "${enable_accessibility+set}" = set; then
14202 enableval=$enable_accessibility;
14203 if test "$enableval" = yes; then
14204 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
14205 else
14206 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
14207 fi
14208
14209 else
14210
14211 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
14212
14213 fi
14214
14215
14216 eval "$wx_cv_use_accessibility"
14217
14218 if test x"$enablestring" = xdisable; then
14219 if test $wxUSE_ACCESSIBILITY = no; then
14220 result=yes
14221 else
14222 result=no
14223 fi
14224 else
14225 result=$wxUSE_ACCESSIBILITY
14226 fi
14227
14228 { echo "$as_me:$LINENO: result: $result" >&5
14229 echo "${ECHO_T}$result" >&6; }
14230
14231
14232 enablestring=
14233 defaultval=$wxUSE_ALL_FEATURES
14234 if test -z "$defaultval"; then
14235 if test x"$enablestring" = xdisable; then
14236 defaultval=yes
14237 else
14238 defaultval=no
14239 fi
14240 fi
14241
14242 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uiactionsim" >&5
14243 echo $ECHO_N "checking for --${enablestring:-enable}-uiactionsim... $ECHO_C" >&6; }
14244 # Check whether --enable-uiactionsim was given.
14245 if test "${enable_uiactionsim+set}" = set; then
14246 enableval=$enable_uiactionsim;
14247 if test "$enableval" = yes; then
14248 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=yes'
14249 else
14250 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=no'
14251 fi
14252
14253 else
14254
14255 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=${'DEFAULT_wxUSE_UIACTIONSIMULATOR":-$defaultval}"
14256
14257 fi
14258
14259
14260 eval "$wx_cv_use_uiactionsim"
14261
14262 if test x"$enablestring" = xdisable; then
14263 if test $wxUSE_UIACTIONSIMULATOR = no; then
14264 result=yes
14265 else
14266 result=no
14267 fi
14268 else
14269 result=$wxUSE_UIACTIONSIMULATOR
14270 fi
14271
14272 { echo "$as_me:$LINENO: result: $result" >&5
14273 echo "${ECHO_T}$result" >&6; }
14274
14275
14276 enablestring=
14277 defaultval=$wxUSE_ALL_FEATURES
14278 if test -z "$defaultval"; then
14279 if test x"$enablestring" = xdisable; then
14280 defaultval=yes
14281 else
14282 defaultval=no
14283 fi
14284 fi
14285
14286 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dctransform" >&5
14287 echo $ECHO_N "checking for --${enablestring:-enable}-dctransform... $ECHO_C" >&6; }
14288 # Check whether --enable-dctransform was given.
14289 if test "${enable_dctransform+set}" = set; then
14290 enableval=$enable_dctransform;
14291 if test "$enableval" = yes; then
14292 wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX=yes'
14293 else
14294 wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX=no'
14295 fi
14296
14297 else
14298
14299 wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX=${'DEFAULT_wxUSE_DC_TRANSFORM_MATRIX":-$defaultval}"
14300
14301 fi
14302
14303
14304 eval "$wx_cv_use_dctransform"
14305
14306 if test x"$enablestring" = xdisable; then
14307 if test $wxUSE_DC_TRANSFORM_MATRIX = no; then
14308 result=yes
14309 else
14310 result=no
14311 fi
14312 else
14313 result=$wxUSE_DC_TRANSFORM_MATRIX
14314 fi
14315
14316 { echo "$as_me:$LINENO: result: $result" >&5
14317 echo "${ECHO_T}$result" >&6; }
14318
14319
14320 enablestring=
14321 defaultval=$wxUSE_ALL_FEATURES
14322 if test -z "$defaultval"; then
14323 if test x"$enablestring" = xdisable; then
14324 defaultval=yes
14325 else
14326 defaultval=no
14327 fi
14328 fi
14329
14330 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webviewwebkit" >&5
14331 echo $ECHO_N "checking for --${enablestring:-enable}-webviewwebkit... $ECHO_C" >&6; }
14332 # Check whether --enable-webviewwebkit was given.
14333 if test "${enable_webviewwebkit+set}" = set; then
14334 enableval=$enable_webviewwebkit;
14335 if test "$enableval" = yes; then
14336 wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT=yes'
14337 else
14338 wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT=no'
14339 fi
14340
14341 else
14342
14343 wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT=${'DEFAULT_wxUSE_WEBVIEW_WEBKIT":-$defaultval}"
14344
14345 fi
14346
14347
14348 eval "$wx_cv_use_webviewwebkit"
14349
14350 if test x"$enablestring" = xdisable; then
14351 if test $wxUSE_WEBVIEW_WEBKIT = no; then
14352 result=yes
14353 else
14354 result=no
14355 fi
14356 else
14357 result=$wxUSE_WEBVIEW_WEBKIT
14358 fi
14359
14360 { echo "$as_me:$LINENO: result: $result" >&5
14361 echo "${ECHO_T}$result" >&6; }
14362
14363
14364
14365
14366 enablestring=
14367 defaultval=$wxUSE_ALL_FEATURES
14368 if test -z "$defaultval"; then
14369 if test x"$enablestring" = xdisable; then
14370 defaultval=yes
14371 else
14372 defaultval=no
14373 fi
14374 fi
14375
14376 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
14377 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
14378 # Check whether --enable-palette was given.
14379 if test "${enable_palette+set}" = set; then
14380 enableval=$enable_palette;
14381 if test "$enableval" = yes; then
14382 wx_cv_use_palette='wxUSE_PALETTE=yes'
14383 else
14384 wx_cv_use_palette='wxUSE_PALETTE=no'
14385 fi
14386
14387 else
14388
14389 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
14390
14391 fi
14392
14393
14394 eval "$wx_cv_use_palette"
14395
14396 if test x"$enablestring" = xdisable; then
14397 if test $wxUSE_PALETTE = no; then
14398 result=yes
14399 else
14400 result=no
14401 fi
14402 else
14403 result=$wxUSE_PALETTE
14404 fi
14405
14406 { echo "$as_me:$LINENO: result: $result" >&5
14407 echo "${ECHO_T}$result" >&6; }
14408
14409
14410 enablestring=
14411 defaultval=$wxUSE_ALL_FEATURES
14412 if test -z "$defaultval"; then
14413 if test x"$enablestring" = xdisable; then
14414 defaultval=yes
14415 else
14416 defaultval=no
14417 fi
14418 fi
14419
14420 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
14421 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
14422 # Check whether --enable-image was given.
14423 if test "${enable_image+set}" = set; then
14424 enableval=$enable_image;
14425 if test "$enableval" = yes; then
14426 wx_cv_use_image='wxUSE_IMAGE=yes'
14427 else
14428 wx_cv_use_image='wxUSE_IMAGE=no'
14429 fi
14430
14431 else
14432
14433 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
14434
14435 fi
14436
14437
14438 eval "$wx_cv_use_image"
14439
14440 if test x"$enablestring" = xdisable; then
14441 if test $wxUSE_IMAGE = no; then
14442 result=yes
14443 else
14444 result=no
14445 fi
14446 else
14447 result=$wxUSE_IMAGE
14448 fi
14449
14450 { echo "$as_me:$LINENO: result: $result" >&5
14451 echo "${ECHO_T}$result" >&6; }
14452
14453
14454 enablestring=
14455 defaultval=$wxUSE_ALL_FEATURES
14456 if test -z "$defaultval"; then
14457 if test x"$enablestring" = xdisable; then
14458 defaultval=yes
14459 else
14460 defaultval=no
14461 fi
14462 fi
14463
14464 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
14465 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
14466 # Check whether --enable-gif was given.
14467 if test "${enable_gif+set}" = set; then
14468 enableval=$enable_gif;
14469 if test "$enableval" = yes; then
14470 wx_cv_use_gif='wxUSE_GIF=yes'
14471 else
14472 wx_cv_use_gif='wxUSE_GIF=no'
14473 fi
14474
14475 else
14476
14477 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
14478
14479 fi
14480
14481
14482 eval "$wx_cv_use_gif"
14483
14484 if test x"$enablestring" = xdisable; then
14485 if test $wxUSE_GIF = no; then
14486 result=yes
14487 else
14488 result=no
14489 fi
14490 else
14491 result=$wxUSE_GIF
14492 fi
14493
14494 { echo "$as_me:$LINENO: result: $result" >&5
14495 echo "${ECHO_T}$result" >&6; }
14496
14497
14498 enablestring=
14499 defaultval=$wxUSE_ALL_FEATURES
14500 if test -z "$defaultval"; then
14501 if test x"$enablestring" = xdisable; then
14502 defaultval=yes
14503 else
14504 defaultval=no
14505 fi
14506 fi
14507
14508 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
14509 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
14510 # Check whether --enable-pcx was given.
14511 if test "${enable_pcx+set}" = set; then
14512 enableval=$enable_pcx;
14513 if test "$enableval" = yes; then
14514 wx_cv_use_pcx='wxUSE_PCX=yes'
14515 else
14516 wx_cv_use_pcx='wxUSE_PCX=no'
14517 fi
14518
14519 else
14520
14521 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
14522
14523 fi
14524
14525
14526 eval "$wx_cv_use_pcx"
14527
14528 if test x"$enablestring" = xdisable; then
14529 if test $wxUSE_PCX = no; then
14530 result=yes
14531 else
14532 result=no
14533 fi
14534 else
14535 result=$wxUSE_PCX
14536 fi
14537
14538 { echo "$as_me:$LINENO: result: $result" >&5
14539 echo "${ECHO_T}$result" >&6; }
14540
14541
14542 enablestring=
14543 defaultval=$wxUSE_ALL_FEATURES
14544 if test -z "$defaultval"; then
14545 if test x"$enablestring" = xdisable; then
14546 defaultval=yes
14547 else
14548 defaultval=no
14549 fi
14550 fi
14551
14552 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
14553 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
14554 # Check whether --enable-tga was given.
14555 if test "${enable_tga+set}" = set; then
14556 enableval=$enable_tga;
14557 if test "$enableval" = yes; then
14558 wx_cv_use_tga='wxUSE_TGA=yes'
14559 else
14560 wx_cv_use_tga='wxUSE_TGA=no'
14561 fi
14562
14563 else
14564
14565 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
14566
14567 fi
14568
14569
14570 eval "$wx_cv_use_tga"
14571
14572 if test x"$enablestring" = xdisable; then
14573 if test $wxUSE_TGA = no; then
14574 result=yes
14575 else
14576 result=no
14577 fi
14578 else
14579 result=$wxUSE_TGA
14580 fi
14581
14582 { echo "$as_me:$LINENO: result: $result" >&5
14583 echo "${ECHO_T}$result" >&6; }
14584
14585
14586 enablestring=
14587 defaultval=$wxUSE_ALL_FEATURES
14588 if test -z "$defaultval"; then
14589 if test x"$enablestring" = xdisable; then
14590 defaultval=yes
14591 else
14592 defaultval=no
14593 fi
14594 fi
14595
14596 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
14597 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
14598 # Check whether --enable-iff was given.
14599 if test "${enable_iff+set}" = set; then
14600 enableval=$enable_iff;
14601 if test "$enableval" = yes; then
14602 wx_cv_use_iff='wxUSE_IFF=yes'
14603 else
14604 wx_cv_use_iff='wxUSE_IFF=no'
14605 fi
14606
14607 else
14608
14609 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
14610
14611 fi
14612
14613
14614 eval "$wx_cv_use_iff"
14615
14616 if test x"$enablestring" = xdisable; then
14617 if test $wxUSE_IFF = no; then
14618 result=yes
14619 else
14620 result=no
14621 fi
14622 else
14623 result=$wxUSE_IFF
14624 fi
14625
14626 { echo "$as_me:$LINENO: result: $result" >&5
14627 echo "${ECHO_T}$result" >&6; }
14628
14629
14630 enablestring=
14631 defaultval=$wxUSE_ALL_FEATURES
14632 if test -z "$defaultval"; then
14633 if test x"$enablestring" = xdisable; then
14634 defaultval=yes
14635 else
14636 defaultval=no
14637 fi
14638 fi
14639
14640 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
14641 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
14642 # Check whether --enable-pnm was given.
14643 if test "${enable_pnm+set}" = set; then
14644 enableval=$enable_pnm;
14645 if test "$enableval" = yes; then
14646 wx_cv_use_pnm='wxUSE_PNM=yes'
14647 else
14648 wx_cv_use_pnm='wxUSE_PNM=no'
14649 fi
14650
14651 else
14652
14653 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
14654
14655 fi
14656
14657
14658 eval "$wx_cv_use_pnm"
14659
14660 if test x"$enablestring" = xdisable; then
14661 if test $wxUSE_PNM = no; then
14662 result=yes
14663 else
14664 result=no
14665 fi
14666 else
14667 result=$wxUSE_PNM
14668 fi
14669
14670 { echo "$as_me:$LINENO: result: $result" >&5
14671 echo "${ECHO_T}$result" >&6; }
14672
14673
14674 enablestring=
14675 defaultval=$wxUSE_ALL_FEATURES
14676 if test -z "$defaultval"; then
14677 if test x"$enablestring" = xdisable; then
14678 defaultval=yes
14679 else
14680 defaultval=no
14681 fi
14682 fi
14683
14684 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
14685 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
14686 # Check whether --enable-xpm was given.
14687 if test "${enable_xpm+set}" = set; then
14688 enableval=$enable_xpm;
14689 if test "$enableval" = yes; then
14690 wx_cv_use_xpm='wxUSE_XPM=yes'
14691 else
14692 wx_cv_use_xpm='wxUSE_XPM=no'
14693 fi
14694
14695 else
14696
14697 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
14698
14699 fi
14700
14701
14702 eval "$wx_cv_use_xpm"
14703
14704 if test x"$enablestring" = xdisable; then
14705 if test $wxUSE_XPM = no; then
14706 result=yes
14707 else
14708 result=no
14709 fi
14710 else
14711 result=$wxUSE_XPM
14712 fi
14713
14714 { echo "$as_me:$LINENO: result: $result" >&5
14715 echo "${ECHO_T}$result" >&6; }
14716
14717
14718 enablestring=
14719 defaultval=$wxUSE_ALL_FEATURES
14720 if test -z "$defaultval"; then
14721 if test x"$enablestring" = xdisable; then
14722 defaultval=yes
14723 else
14724 defaultval=no
14725 fi
14726 fi
14727
14728 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
14729 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
14730 # Check whether --enable-ico_cur was given.
14731 if test "${enable_ico_cur+set}" = set; then
14732 enableval=$enable_ico_cur;
14733 if test "$enableval" = yes; then
14734 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
14735 else
14736 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
14737 fi
14738
14739 else
14740
14741 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
14742
14743 fi
14744
14745
14746 eval "$wx_cv_use_ico_cur"
14747
14748 if test x"$enablestring" = xdisable; then
14749 if test $wxUSE_ICO_CUR = no; then
14750 result=yes
14751 else
14752 result=no
14753 fi
14754 else
14755 result=$wxUSE_ICO_CUR
14756 fi
14757
14758 { echo "$as_me:$LINENO: result: $result" >&5
14759 echo "${ECHO_T}$result" >&6; }
14760
14761
14762
14763
14764 enablestring=
14765 defaultval=$wxUSE_ALL_FEATURES
14766 if test -z "$defaultval"; then
14767 if test x"$enablestring" = xdisable; then
14768 defaultval=yes
14769 else
14770 defaultval=no
14771 fi
14772 fi
14773
14774 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
14775 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
14776 # Check whether --enable-dccache was given.
14777 if test "${enable_dccache+set}" = set; then
14778 enableval=$enable_dccache;
14779 if test "$enableval" = yes; then
14780 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
14781 else
14782 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
14783 fi
14784
14785 else
14786
14787 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
14788
14789 fi
14790
14791
14792 eval "$wx_cv_use_dccache"
14793
14794 if test x"$enablestring" = xdisable; then
14795 if test $wxUSE_DC_CACHEING = no; then
14796 result=yes
14797 else
14798 result=no
14799 fi
14800 else
14801 result=$wxUSE_DC_CACHEING
14802 fi
14803
14804 { echo "$as_me:$LINENO: result: $result" >&5
14805 echo "${ECHO_T}$result" >&6; }
14806
14807
14808 enablestring=
14809 defaultval=$wxUSE_ALL_FEATURES
14810 if test -z "$defaultval"; then
14811 if test x"$enablestring" = xdisable; then
14812 defaultval=yes
14813 else
14814 defaultval=no
14815 fi
14816 fi
14817
14818 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
14819 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
14820 # Check whether --enable-ps-in-msw was given.
14821 if test "${enable_ps_in_msw+set}" = set; then
14822 enableval=$enable_ps_in_msw;
14823 if test "$enableval" = yes; then
14824 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
14825 else
14826 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
14827 fi
14828
14829 else
14830
14831 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
14832
14833 fi
14834
14835
14836 eval "$wx_cv_use_ps_in_msw"
14837
14838 if test x"$enablestring" = xdisable; then
14839 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = no; then
14840 result=yes
14841 else
14842 result=no
14843 fi
14844 else
14845 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
14846 fi
14847
14848 { echo "$as_me:$LINENO: result: $result" >&5
14849 echo "${ECHO_T}$result" >&6; }
14850
14851
14852 enablestring=
14853 defaultval=$wxUSE_ALL_FEATURES
14854 if test -z "$defaultval"; then
14855 if test x"$enablestring" = xdisable; then
14856 defaultval=yes
14857 else
14858 defaultval=no
14859 fi
14860 fi
14861
14862 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
14863 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
14864 # Check whether --enable-ownerdrawn was given.
14865 if test "${enable_ownerdrawn+set}" = set; then
14866 enableval=$enable_ownerdrawn;
14867 if test "$enableval" = yes; then
14868 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
14869 else
14870 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
14871 fi
14872
14873 else
14874
14875 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
14876
14877 fi
14878
14879
14880 eval "$wx_cv_use_ownerdrawn"
14881
14882 if test x"$enablestring" = xdisable; then
14883 if test $wxUSE_OWNER_DRAWN = no; then
14884 result=yes
14885 else
14886 result=no
14887 fi
14888 else
14889 result=$wxUSE_OWNER_DRAWN
14890 fi
14891
14892 { echo "$as_me:$LINENO: result: $result" >&5
14893 echo "${ECHO_T}$result" >&6; }
14894
14895
14896 enablestring=
14897 defaultval=$wxUSE_ALL_FEATURES
14898 if test -z "$defaultval"; then
14899 if test x"$enablestring" = xdisable; then
14900 defaultval=yes
14901 else
14902 defaultval=no
14903 fi
14904 fi
14905
14906 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
14907 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
14908 # Check whether --enable-uxtheme was given.
14909 if test "${enable_uxtheme+set}" = set; then
14910 enableval=$enable_uxtheme;
14911 if test "$enableval" = yes; then
14912 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
14913 else
14914 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
14915 fi
14916
14917 else
14918
14919 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
14920
14921 fi
14922
14923
14924 eval "$wx_cv_use_uxtheme"
14925
14926 if test x"$enablestring" = xdisable; then
14927 if test $wxUSE_UXTHEME = no; then
14928 result=yes
14929 else
14930 result=no
14931 fi
14932 else
14933 result=$wxUSE_UXTHEME
14934 fi
14935
14936 { echo "$as_me:$LINENO: result: $result" >&5
14937 echo "${ECHO_T}$result" >&6; }
14938
14939
14940 enablestring=
14941 defaultval=$wxUSE_ALL_FEATURES
14942 if test -z "$defaultval"; then
14943 if test x"$enablestring" = xdisable; then
14944 defaultval=yes
14945 else
14946 defaultval=no
14947 fi
14948 fi
14949
14950 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
14951 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
14952 # Check whether --enable-wxdib was given.
14953 if test "${enable_wxdib+set}" = set; then
14954 enableval=$enable_wxdib;
14955 if test "$enableval" = yes; then
14956 wx_cv_use_wxdib='wxUSE_DIB=yes'
14957 else
14958 wx_cv_use_wxdib='wxUSE_DIB=no'
14959 fi
14960
14961 else
14962
14963 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
14964
14965 fi
14966
14967
14968 eval "$wx_cv_use_wxdib"
14969
14970 if test x"$enablestring" = xdisable; then
14971 if test $wxUSE_DIB = no; then
14972 result=yes
14973 else
14974 result=no
14975 fi
14976 else
14977 result=$wxUSE_DIB
14978 fi
14979
14980 { echo "$as_me:$LINENO: result: $result" >&5
14981 echo "${ECHO_T}$result" >&6; }
14982
14983
14984 enablestring=
14985 defaultval=$wxUSE_ALL_FEATURES
14986 if test -z "$defaultval"; then
14987 if test x"$enablestring" = xdisable; then
14988 defaultval=yes
14989 else
14990 defaultval=no
14991 fi
14992 fi
14993
14994 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webviewie" >&5
14995 echo $ECHO_N "checking for --${enablestring:-enable}-webviewie... $ECHO_C" >&6; }
14996 # Check whether --enable-webviewie was given.
14997 if test "${enable_webviewie+set}" = set; then
14998 enableval=$enable_webviewie;
14999 if test "$enableval" = yes; then
15000 wx_cv_use_webviewie='wxUSE_WEBVIEW_IE=yes'
15001 else
15002 wx_cv_use_webviewie='wxUSE_WEBVIEW_IE=no'
15003 fi
15004
15005 else
15006
15007 wx_cv_use_webviewie='wxUSE_WEBVIEW_IE=${'DEFAULT_wxUSE_WEBVIEW_IE":-$defaultval}"
15008
15009 fi
15010
15011
15012 eval "$wx_cv_use_webviewie"
15013
15014 if test x"$enablestring" = xdisable; then
15015 if test $wxUSE_WEBVIEW_IE = no; then
15016 result=yes
15017 else
15018 result=no
15019 fi
15020 else
15021 result=$wxUSE_WEBVIEW_IE
15022 fi
15023
15024 { echo "$as_me:$LINENO: result: $result" >&5
15025 echo "${ECHO_T}$result" >&6; }
15026
15027
15028 if test "$wxUSE_MSW" != 1; then
15029 DEFAULT_wxUSE_AUTOID_MANAGEMENT=no
15030 fi
15031
15032
15033 enablestring=
15034 defaultval=$wxUSE_ALL_FEATURES
15035 if test -z "$defaultval"; then
15036 if test x"$enablestring" = xdisable; then
15037 defaultval=yes
15038 else
15039 defaultval=no
15040 fi
15041 fi
15042
15043 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-autoidman" >&5
15044 echo $ECHO_N "checking for --${enablestring:-enable}-autoidman... $ECHO_C" >&6; }
15045 # Check whether --enable-autoidman was given.
15046 if test "${enable_autoidman+set}" = set; then
15047 enableval=$enable_autoidman;
15048 if test "$enableval" = yes; then
15049 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=yes'
15050 else
15051 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=no'
15052 fi
15053
15054 else
15055
15056 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
15057
15058 fi
15059
15060
15061 eval "$wx_cv_use_autoidman"
15062
15063 if test x"$enablestring" = xdisable; then
15064 if test $wxUSE_AUTOID_MANAGEMENT = no; then
15065 result=yes
15066 else
15067 result=no
15068 fi
15069 else
15070 result=$wxUSE_AUTOID_MANAGEMENT
15071 fi
15072
15073 { echo "$as_me:$LINENO: result: $result" >&5
15074 echo "${ECHO_T}$result" >&6; }
15075
15076
15077 fi
15078
15079
15080 cat >confcache <<\_ACEOF
15081 # This file is a shell script that caches the results of configure
15082 # tests run on this system so they can be shared between configure
15083 # scripts and configure runs, see configure's option --config-cache.
15084 # It is not useful on other systems. If it contains results you don't
15085 # want to keep, you may remove or edit it.
15086 #
15087 # config.status only pays attention to the cache file if you give it
15088 # the --recheck option to rerun configure.
15089 #
15090 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15091 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15092 # following values.
15093
15094 _ACEOF
15095
15096 # The following way of writing the cache mishandles newlines in values,
15097 # but we know of no workaround that is simple, portable, and efficient.
15098 # So, we kill variables containing newlines.
15099 # Ultrix sh set writes to stderr and can't be redirected directly,
15100 # and sets the high bit in the cache file unless we assign to the vars.
15101 (
15102 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15103 eval ac_val=\$$ac_var
15104 case $ac_val in #(
15105 *${as_nl}*)
15106 case $ac_var in #(
15107 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
15108 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
15109 esac
15110 case $ac_var in #(
15111 _ | IFS | as_nl) ;; #(
15112 *) $as_unset $ac_var ;;
15113 esac ;;
15114 esac
15115 done
15116
15117 (set) 2>&1 |
15118 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15119 *${as_nl}ac_space=\ *)
15120 # `set' does not quote correctly, so add quotes (double-quote
15121 # substitution turns \\\\ into \\, and sed turns \\ into \).
15122 sed -n \
15123 "s/'/'\\\\''/g;
15124 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15125 ;; #(
15126 *)
15127 # `set' quotes correctly as required by POSIX, so do not add quotes.
15128 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15129 ;;
15130 esac |
15131 sort
15132 ) |
15133 sed '
15134 /^ac_cv_env_/b end
15135 t clear
15136 :clear
15137 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15138 t end
15139 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15140 :end' >>confcache
15141 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15142 if test -w "$cache_file"; then
15143 test "x$cache_file" != "x/dev/null" &&
15144 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
15145 echo "$as_me: updating cache $cache_file" >&6;}
15146 cat confcache >$cache_file
15147 else
15148 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
15149 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15150 fi
15151 fi
15152 rm -f confcache
15153
15154 CFLAGS=${CFLAGS:=}
15155 ac_ext=c
15156 ac_cpp='$CPP $CPPFLAGS'
15157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15160 if test -n "$ac_tool_prefix"; then
15161 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
15162 set dummy ${ac_tool_prefix}gcc; ac_word=$2
15163 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15164 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15165 if test "${ac_cv_prog_CC+set}" = set; then
15166 echo $ECHO_N "(cached) $ECHO_C" >&6
15167 else
15168 if test -n "$CC"; then
15169 ac_cv_prog_CC="$CC" # Let the user override the test.
15170 else
15171 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15172 for as_dir in $PATH
15173 do
15174 IFS=$as_save_IFS
15175 test -z "$as_dir" && as_dir=.
15176 for ac_exec_ext in '' $ac_executable_extensions; do
15177 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15178 ac_cv_prog_CC="${ac_tool_prefix}gcc"
15179 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15180 break 2
15181 fi
15182 done
15183 done
15184 IFS=$as_save_IFS
15185
15186 fi
15187 fi
15188 CC=$ac_cv_prog_CC
15189 if test -n "$CC"; then
15190 { echo "$as_me:$LINENO: result: $CC" >&5
15191 echo "${ECHO_T}$CC" >&6; }
15192 else
15193 { echo "$as_me:$LINENO: result: no" >&5
15194 echo "${ECHO_T}no" >&6; }
15195 fi
15196
15197
15198 fi
15199 if test -z "$ac_cv_prog_CC"; then
15200 ac_ct_CC=$CC
15201 # Extract the first word of "gcc", so it can be a program name with args.
15202 set dummy gcc; ac_word=$2
15203 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15204 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15205 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
15206 echo $ECHO_N "(cached) $ECHO_C" >&6
15207 else
15208 if test -n "$ac_ct_CC"; then
15209 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
15210 else
15211 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15212 for as_dir in $PATH
15213 do
15214 IFS=$as_save_IFS
15215 test -z "$as_dir" && as_dir=.
15216 for ac_exec_ext in '' $ac_executable_extensions; do
15217 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15218 ac_cv_prog_ac_ct_CC="gcc"
15219 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15220 break 2
15221 fi
15222 done
15223 done
15224 IFS=$as_save_IFS
15225
15226 fi
15227 fi
15228 ac_ct_CC=$ac_cv_prog_ac_ct_CC
15229 if test -n "$ac_ct_CC"; then
15230 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
15231 echo "${ECHO_T}$ac_ct_CC" >&6; }
15232 else
15233 { echo "$as_me:$LINENO: result: no" >&5
15234 echo "${ECHO_T}no" >&6; }
15235 fi
15236
15237 if test "x$ac_ct_CC" = x; then
15238 CC=""
15239 else
15240 case $cross_compiling:$ac_tool_warned in
15241 yes:)
15242 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15243 whose name does not start with the host triplet. If you think this
15244 configuration is useful to you, please write to autoconf@gnu.org." >&5
15245 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15246 whose name does not start with the host triplet. If you think this
15247 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15248 ac_tool_warned=yes ;;
15249 esac
15250 CC=$ac_ct_CC
15251 fi
15252 else
15253 CC="$ac_cv_prog_CC"
15254 fi
15255
15256 if test -z "$CC"; then
15257 if test -n "$ac_tool_prefix"; then
15258 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
15259 set dummy ${ac_tool_prefix}cc; ac_word=$2
15260 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15261 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15262 if test "${ac_cv_prog_CC+set}" = set; then
15263 echo $ECHO_N "(cached) $ECHO_C" >&6
15264 else
15265 if test -n "$CC"; then
15266 ac_cv_prog_CC="$CC" # Let the user override the test.
15267 else
15268 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15269 for as_dir in $PATH
15270 do
15271 IFS=$as_save_IFS
15272 test -z "$as_dir" && as_dir=.
15273 for ac_exec_ext in '' $ac_executable_extensions; do
15274 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15275 ac_cv_prog_CC="${ac_tool_prefix}cc"
15276 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15277 break 2
15278 fi
15279 done
15280 done
15281 IFS=$as_save_IFS
15282
15283 fi
15284 fi
15285 CC=$ac_cv_prog_CC
15286 if test -n "$CC"; then
15287 { echo "$as_me:$LINENO: result: $CC" >&5
15288 echo "${ECHO_T}$CC" >&6; }
15289 else
15290 { echo "$as_me:$LINENO: result: no" >&5
15291 echo "${ECHO_T}no" >&6; }
15292 fi
15293
15294
15295 fi
15296 fi
15297 if test -z "$CC"; then
15298 # Extract the first word of "cc", so it can be a program name with args.
15299 set dummy cc; ac_word=$2
15300 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15301 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15302 if test "${ac_cv_prog_CC+set}" = set; then
15303 echo $ECHO_N "(cached) $ECHO_C" >&6
15304 else
15305 if test -n "$CC"; then
15306 ac_cv_prog_CC="$CC" # Let the user override the test.
15307 else
15308 ac_prog_rejected=no
15309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15310 for as_dir in $PATH
15311 do
15312 IFS=$as_save_IFS
15313 test -z "$as_dir" && as_dir=.
15314 for ac_exec_ext in '' $ac_executable_extensions; do
15315 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15316 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
15317 ac_prog_rejected=yes
15318 continue
15319 fi
15320 ac_cv_prog_CC="cc"
15321 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15322 break 2
15323 fi
15324 done
15325 done
15326 IFS=$as_save_IFS
15327
15328 if test $ac_prog_rejected = yes; then
15329 # We found a bogon in the path, so make sure we never use it.
15330 set dummy $ac_cv_prog_CC
15331 shift
15332 if test $# != 0; then
15333 # We chose a different compiler from the bogus one.
15334 # However, it has the same basename, so the bogon will be chosen
15335 # first if we set CC to just the basename; use the full file name.
15336 shift
15337 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
15338 fi
15339 fi
15340 fi
15341 fi
15342 CC=$ac_cv_prog_CC
15343 if test -n "$CC"; then
15344 { echo "$as_me:$LINENO: result: $CC" >&5
15345 echo "${ECHO_T}$CC" >&6; }
15346 else
15347 { echo "$as_me:$LINENO: result: no" >&5
15348 echo "${ECHO_T}no" >&6; }
15349 fi
15350
15351
15352 fi
15353 if test -z "$CC"; then
15354 if test -n "$ac_tool_prefix"; then
15355 for ac_prog in cl.exe
15356 do
15357 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
15358 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
15359 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15360 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15361 if test "${ac_cv_prog_CC+set}" = set; then
15362 echo $ECHO_N "(cached) $ECHO_C" >&6
15363 else
15364 if test -n "$CC"; then
15365 ac_cv_prog_CC="$CC" # Let the user override the test.
15366 else
15367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15368 for as_dir in $PATH
15369 do
15370 IFS=$as_save_IFS
15371 test -z "$as_dir" && as_dir=.
15372 for ac_exec_ext in '' $ac_executable_extensions; do
15373 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15374 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
15375 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15376 break 2
15377 fi
15378 done
15379 done
15380 IFS=$as_save_IFS
15381
15382 fi
15383 fi
15384 CC=$ac_cv_prog_CC
15385 if test -n "$CC"; then
15386 { echo "$as_me:$LINENO: result: $CC" >&5
15387 echo "${ECHO_T}$CC" >&6; }
15388 else
15389 { echo "$as_me:$LINENO: result: no" >&5
15390 echo "${ECHO_T}no" >&6; }
15391 fi
15392
15393
15394 test -n "$CC" && break
15395 done
15396 fi
15397 if test -z "$CC"; then
15398 ac_ct_CC=$CC
15399 for ac_prog in cl.exe
15400 do
15401 # Extract the first word of "$ac_prog", so it can be a program name with args.
15402 set dummy $ac_prog; ac_word=$2
15403 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15404 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15405 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
15406 echo $ECHO_N "(cached) $ECHO_C" >&6
15407 else
15408 if test -n "$ac_ct_CC"; then
15409 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
15410 else
15411 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15412 for as_dir in $PATH
15413 do
15414 IFS=$as_save_IFS
15415 test -z "$as_dir" && as_dir=.
15416 for ac_exec_ext in '' $ac_executable_extensions; do
15417 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15418 ac_cv_prog_ac_ct_CC="$ac_prog"
15419 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15420 break 2
15421 fi
15422 done
15423 done
15424 IFS=$as_save_IFS
15425
15426 fi
15427 fi
15428 ac_ct_CC=$ac_cv_prog_ac_ct_CC
15429 if test -n "$ac_ct_CC"; then
15430 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
15431 echo "${ECHO_T}$ac_ct_CC" >&6; }
15432 else
15433 { echo "$as_me:$LINENO: result: no" >&5
15434 echo "${ECHO_T}no" >&6; }
15435 fi
15436
15437
15438 test -n "$ac_ct_CC" && break
15439 done
15440
15441 if test "x$ac_ct_CC" = x; then
15442 CC=""
15443 else
15444 case $cross_compiling:$ac_tool_warned in
15445 yes:)
15446 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15447 whose name does not start with the host triplet. If you think this
15448 configuration is useful to you, please write to autoconf@gnu.org." >&5
15449 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15450 whose name does not start with the host triplet. If you think this
15451 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15452 ac_tool_warned=yes ;;
15453 esac
15454 CC=$ac_ct_CC
15455 fi
15456 fi
15457
15458 fi
15459
15460
15461 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
15462 See \`config.log' for more details." >&5
15463 echo "$as_me: error: no acceptable C compiler found in \$PATH
15464 See \`config.log' for more details." >&2;}
15465 { (exit 1); exit 1; }; }
15466
15467 # Provide some information about the compiler.
15468 echo "$as_me:$LINENO: checking for C compiler version" >&5
15469 ac_compiler=`set X $ac_compile; echo $2`
15470 { (ac_try="$ac_compiler --version >&5"
15471 case "(($ac_try" in
15472 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15473 *) ac_try_echo=$ac_try;;
15474 esac
15475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15476 (eval "$ac_compiler --version >&5") 2>&5
15477 ac_status=$?
15478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15479 (exit $ac_status); }
15480 { (ac_try="$ac_compiler -v >&5"
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_compiler -v >&5") 2>&5
15487 ac_status=$?
15488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15489 (exit $ac_status); }
15490 { (ac_try="$ac_compiler -V >&5"
15491 case "(($ac_try" in
15492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15493 *) ac_try_echo=$ac_try;;
15494 esac
15495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15496 (eval "$ac_compiler -V >&5") 2>&5
15497 ac_status=$?
15498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15499 (exit $ac_status); }
15500
15501 cat >conftest.$ac_ext <<_ACEOF
15502 /* confdefs.h. */
15503 _ACEOF
15504 cat confdefs.h >>conftest.$ac_ext
15505 cat >>conftest.$ac_ext <<_ACEOF
15506 /* end confdefs.h. */
15507
15508 int
15509 main ()
15510 {
15511
15512 ;
15513 return 0;
15514 }
15515 _ACEOF
15516 ac_clean_files_save=$ac_clean_files
15517 ac_clean_files="$ac_clean_files a.out a.exe b.out"
15518 # Try to create an executable without -o first, disregard a.out.
15519 # It will help us diagnose broken compilers, and finding out an intuition
15520 # of exeext.
15521 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
15522 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
15523 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
15524 #
15525 # List of possible output files, starting from the most likely.
15526 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
15527 # only as a last resort. b.out is created by i960 compilers.
15528 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
15529 #
15530 # The IRIX 6 linker writes into existing files which may not be
15531 # executable, retaining their permissions. Remove them first so a
15532 # subsequent execution test works.
15533 ac_rmfiles=
15534 for ac_file in $ac_files
15535 do
15536 case $ac_file in
15537 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
15538 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
15539 esac
15540 done
15541 rm -f $ac_rmfiles
15542
15543 if { (ac_try="$ac_link_default"
15544 case "(($ac_try" in
15545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15546 *) ac_try_echo=$ac_try;;
15547 esac
15548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15549 (eval "$ac_link_default") 2>&5
15550 ac_status=$?
15551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15552 (exit $ac_status); }; then
15553 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
15554 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
15555 # in a Makefile. We should not override ac_cv_exeext if it was cached,
15556 # so that the user can short-circuit this test for compilers unknown to
15557 # Autoconf.
15558 for ac_file in $ac_files ''
15559 do
15560 test -f "$ac_file" || continue
15561 case $ac_file in
15562 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
15563 ;;
15564 [ab].out )
15565 # We found the default executable, but exeext='' is most
15566 # certainly right.
15567 break;;
15568 *.* )
15569 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
15570 then :; else
15571 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
15572 fi
15573 # We set ac_cv_exeext here because the later test for it is not
15574 # safe: cross compilers may not add the suffix if given an `-o'
15575 # argument, so we may need to know it at that point already.
15576 # Even if this section looks crufty: it has the advantage of
15577 # actually working.
15578 break;;
15579 * )
15580 break;;
15581 esac
15582 done
15583 test "$ac_cv_exeext" = no && ac_cv_exeext=
15584
15585 else
15586 ac_file=''
15587 fi
15588
15589 { echo "$as_me:$LINENO: result: $ac_file" >&5
15590 echo "${ECHO_T}$ac_file" >&6; }
15591 if test -z "$ac_file"; then
15592 echo "$as_me: failed program was:" >&5
15593 sed 's/^/| /' conftest.$ac_ext >&5
15594
15595 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
15596 See \`config.log' for more details." >&5
15597 echo "$as_me: error: C compiler cannot create executables
15598 See \`config.log' for more details." >&2;}
15599 { (exit 77); exit 77; }; }
15600 fi
15601
15602 ac_exeext=$ac_cv_exeext
15603
15604 # Check that the compiler produces executables we can run. If not, either
15605 # the compiler is broken, or we cross compile.
15606 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
15607 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
15608 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
15609 # If not cross compiling, check that we can run a simple program.
15610 if test "$cross_compiling" != yes; then
15611 if { ac_try='./$ac_file'
15612 { (case "(($ac_try" in
15613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15614 *) ac_try_echo=$ac_try;;
15615 esac
15616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15617 (eval "$ac_try") 2>&5
15618 ac_status=$?
15619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15620 (exit $ac_status); }; }; then
15621 cross_compiling=no
15622 else
15623 if test "$cross_compiling" = maybe; then
15624 cross_compiling=yes
15625 else
15626 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
15627 If you meant to cross compile, use \`--host'.
15628 See \`config.log' for more details." >&5
15629 echo "$as_me: error: cannot run C compiled programs.
15630 If you meant to cross compile, use \`--host'.
15631 See \`config.log' for more details." >&2;}
15632 { (exit 1); exit 1; }; }
15633 fi
15634 fi
15635 fi
15636 { echo "$as_me:$LINENO: result: yes" >&5
15637 echo "${ECHO_T}yes" >&6; }
15638
15639 rm -f a.out a.exe conftest$ac_cv_exeext b.out
15640 ac_clean_files=$ac_clean_files_save
15641 # Check that the compiler produces executables we can run. If not, either
15642 # the compiler is broken, or we cross compile.
15643 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
15644 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
15645 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
15646 echo "${ECHO_T}$cross_compiling" >&6; }
15647
15648 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
15649 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
15650 if { (ac_try="$ac_link"
15651 case "(($ac_try" in
15652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15653 *) ac_try_echo=$ac_try;;
15654 esac
15655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15656 (eval "$ac_link") 2>&5
15657 ac_status=$?
15658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15659 (exit $ac_status); }; then
15660 # If both `conftest.exe' and `conftest' are `present' (well, observable)
15661 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
15662 # work properly (i.e., refer to `conftest.exe'), while it won't with
15663 # `rm'.
15664 for ac_file in conftest.exe conftest conftest.*; do
15665 test -f "$ac_file" || continue
15666 case $ac_file in
15667 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
15668 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
15669 break;;
15670 * ) break;;
15671 esac
15672 done
15673 else
15674 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
15675 See \`config.log' for more details." >&5
15676 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
15677 See \`config.log' for more details." >&2;}
15678 { (exit 1); exit 1; }; }
15679 fi
15680
15681 rm -f conftest$ac_cv_exeext
15682 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
15683 echo "${ECHO_T}$ac_cv_exeext" >&6; }
15684
15685 rm -f conftest.$ac_ext
15686 EXEEXT=$ac_cv_exeext
15687 ac_exeext=$EXEEXT
15688 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
15689 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
15690 if test "${ac_cv_objext+set}" = set; then
15691 echo $ECHO_N "(cached) $ECHO_C" >&6
15692 else
15693 cat >conftest.$ac_ext <<_ACEOF
15694 /* confdefs.h. */
15695 _ACEOF
15696 cat confdefs.h >>conftest.$ac_ext
15697 cat >>conftest.$ac_ext <<_ACEOF
15698 /* end confdefs.h. */
15699
15700 int
15701 main ()
15702 {
15703
15704 ;
15705 return 0;
15706 }
15707 _ACEOF
15708 rm -f conftest.o conftest.obj
15709 if { (ac_try="$ac_compile"
15710 case "(($ac_try" in
15711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15712 *) ac_try_echo=$ac_try;;
15713 esac
15714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15715 (eval "$ac_compile") 2>&5
15716 ac_status=$?
15717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15718 (exit $ac_status); }; then
15719 for ac_file in conftest.o conftest.obj conftest.*; do
15720 test -f "$ac_file" || continue;
15721 case $ac_file in
15722 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
15723 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
15724 break;;
15725 esac
15726 done
15727 else
15728 echo "$as_me: failed program was:" >&5
15729 sed 's/^/| /' conftest.$ac_ext >&5
15730
15731 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
15732 See \`config.log' for more details." >&5
15733 echo "$as_me: error: cannot compute suffix of object files: cannot compile
15734 See \`config.log' for more details." >&2;}
15735 { (exit 1); exit 1; }; }
15736 fi
15737
15738 rm -f conftest.$ac_cv_objext conftest.$ac_ext
15739 fi
15740 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
15741 echo "${ECHO_T}$ac_cv_objext" >&6; }
15742 OBJEXT=$ac_cv_objext
15743 ac_objext=$OBJEXT
15744 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
15745 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
15746 if test "${ac_cv_c_compiler_gnu+set}" = set; then
15747 echo $ECHO_N "(cached) $ECHO_C" >&6
15748 else
15749 cat >conftest.$ac_ext <<_ACEOF
15750 /* confdefs.h. */
15751 _ACEOF
15752 cat confdefs.h >>conftest.$ac_ext
15753 cat >>conftest.$ac_ext <<_ACEOF
15754 /* end confdefs.h. */
15755
15756 int
15757 main ()
15758 {
15759 #ifndef __GNUC__
15760 choke me
15761 #endif
15762
15763 ;
15764 return 0;
15765 }
15766 _ACEOF
15767 rm -f conftest.$ac_objext
15768 if { (ac_try="$ac_compile"
15769 case "(($ac_try" in
15770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15771 *) ac_try_echo=$ac_try;;
15772 esac
15773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15774 (eval "$ac_compile") 2>conftest.er1
15775 ac_status=$?
15776 grep -v '^ *+' conftest.er1 >conftest.err
15777 rm -f conftest.er1
15778 cat conftest.err >&5
15779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15780 (exit $ac_status); } && {
15781 test -z "$ac_c_werror_flag" ||
15782 test ! -s conftest.err
15783 } && test -s conftest.$ac_objext; then
15784 ac_compiler_gnu=yes
15785 else
15786 echo "$as_me: failed program was:" >&5
15787 sed 's/^/| /' conftest.$ac_ext >&5
15788
15789 ac_compiler_gnu=no
15790 fi
15791
15792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15793 ac_cv_c_compiler_gnu=$ac_compiler_gnu
15794
15795 fi
15796 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
15797 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
15798 GCC=`test $ac_compiler_gnu = yes && echo yes`
15799 ac_test_CFLAGS=${CFLAGS+set}
15800 ac_save_CFLAGS=$CFLAGS
15801 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15802 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15803 if test "${ac_cv_prog_cc_g+set}" = set; then
15804 echo $ECHO_N "(cached) $ECHO_C" >&6
15805 else
15806 ac_save_c_werror_flag=$ac_c_werror_flag
15807 ac_c_werror_flag=yes
15808 ac_cv_prog_cc_g=no
15809 CFLAGS="-g"
15810 cat >conftest.$ac_ext <<_ACEOF
15811 /* confdefs.h. */
15812 _ACEOF
15813 cat confdefs.h >>conftest.$ac_ext
15814 cat >>conftest.$ac_ext <<_ACEOF
15815 /* end confdefs.h. */
15816
15817 int
15818 main ()
15819 {
15820
15821 ;
15822 return 0;
15823 }
15824 _ACEOF
15825 rm -f conftest.$ac_objext
15826 if { (ac_try="$ac_compile"
15827 case "(($ac_try" in
15828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15829 *) ac_try_echo=$ac_try;;
15830 esac
15831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15832 (eval "$ac_compile") 2>conftest.er1
15833 ac_status=$?
15834 grep -v '^ *+' conftest.er1 >conftest.err
15835 rm -f conftest.er1
15836 cat conftest.err >&5
15837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15838 (exit $ac_status); } && {
15839 test -z "$ac_c_werror_flag" ||
15840 test ! -s conftest.err
15841 } && test -s conftest.$ac_objext; then
15842 ac_cv_prog_cc_g=yes
15843 else
15844 echo "$as_me: failed program was:" >&5
15845 sed 's/^/| /' conftest.$ac_ext >&5
15846
15847 CFLAGS=""
15848 cat >conftest.$ac_ext <<_ACEOF
15849 /* confdefs.h. */
15850 _ACEOF
15851 cat confdefs.h >>conftest.$ac_ext
15852 cat >>conftest.$ac_ext <<_ACEOF
15853 /* end confdefs.h. */
15854
15855 int
15856 main ()
15857 {
15858
15859 ;
15860 return 0;
15861 }
15862 _ACEOF
15863 rm -f conftest.$ac_objext
15864 if { (ac_try="$ac_compile"
15865 case "(($ac_try" in
15866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15867 *) ac_try_echo=$ac_try;;
15868 esac
15869 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15870 (eval "$ac_compile") 2>conftest.er1
15871 ac_status=$?
15872 grep -v '^ *+' conftest.er1 >conftest.err
15873 rm -f conftest.er1
15874 cat conftest.err >&5
15875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15876 (exit $ac_status); } && {
15877 test -z "$ac_c_werror_flag" ||
15878 test ! -s conftest.err
15879 } && test -s conftest.$ac_objext; then
15880 :
15881 else
15882 echo "$as_me: failed program was:" >&5
15883 sed 's/^/| /' conftest.$ac_ext >&5
15884
15885 ac_c_werror_flag=$ac_save_c_werror_flag
15886 CFLAGS="-g"
15887 cat >conftest.$ac_ext <<_ACEOF
15888 /* confdefs.h. */
15889 _ACEOF
15890 cat confdefs.h >>conftest.$ac_ext
15891 cat >>conftest.$ac_ext <<_ACEOF
15892 /* end confdefs.h. */
15893
15894 int
15895 main ()
15896 {
15897
15898 ;
15899 return 0;
15900 }
15901 _ACEOF
15902 rm -f conftest.$ac_objext
15903 if { (ac_try="$ac_compile"
15904 case "(($ac_try" in
15905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15906 *) ac_try_echo=$ac_try;;
15907 esac
15908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15909 (eval "$ac_compile") 2>conftest.er1
15910 ac_status=$?
15911 grep -v '^ *+' conftest.er1 >conftest.err
15912 rm -f conftest.er1
15913 cat conftest.err >&5
15914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15915 (exit $ac_status); } && {
15916 test -z "$ac_c_werror_flag" ||
15917 test ! -s conftest.err
15918 } && test -s conftest.$ac_objext; then
15919 ac_cv_prog_cc_g=yes
15920 else
15921 echo "$as_me: failed program was:" >&5
15922 sed 's/^/| /' conftest.$ac_ext >&5
15923
15924
15925 fi
15926
15927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15928 fi
15929
15930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15931 fi
15932
15933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15934 ac_c_werror_flag=$ac_save_c_werror_flag
15935 fi
15936 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15937 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15938 if test "$ac_test_CFLAGS" = set; then
15939 CFLAGS=$ac_save_CFLAGS
15940 elif test $ac_cv_prog_cc_g = yes; then
15941 if test "$GCC" = yes; then
15942 CFLAGS="-g -O2"
15943 else
15944 CFLAGS="-g"
15945 fi
15946 else
15947 if test "$GCC" = yes; then
15948 CFLAGS="-O2"
15949 else
15950 CFLAGS=
15951 fi
15952 fi
15953 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
15954 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
15955 if test "${ac_cv_prog_cc_c89+set}" = set; then
15956 echo $ECHO_N "(cached) $ECHO_C" >&6
15957 else
15958 ac_cv_prog_cc_c89=no
15959 ac_save_CC=$CC
15960 cat >conftest.$ac_ext <<_ACEOF
15961 /* confdefs.h. */
15962 _ACEOF
15963 cat confdefs.h >>conftest.$ac_ext
15964 cat >>conftest.$ac_ext <<_ACEOF
15965 /* end confdefs.h. */
15966 #include <stdarg.h>
15967 #include <stdio.h>
15968 #include <sys/types.h>
15969 #include <sys/stat.h>
15970 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
15971 struct buf { int x; };
15972 FILE * (*rcsopen) (struct buf *, struct stat *, int);
15973 static char *e (p, i)
15974 char **p;
15975 int i;
15976 {
15977 return p[i];
15978 }
15979 static char *f (char * (*g) (char **, int), char **p, ...)
15980 {
15981 char *s;
15982 va_list v;
15983 va_start (v,p);
15984 s = g (p, va_arg (v,int));
15985 va_end (v);
15986 return s;
15987 }
15988
15989 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
15990 function prototypes and stuff, but not '\xHH' hex character constants.
15991 These don't provoke an error unfortunately, instead are silently treated
15992 as 'x'. The following induces an error, until -std is added to get
15993 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
15994 array size at least. It's necessary to write '\x00'==0 to get something
15995 that's true only with -std. */
15996 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
15997
15998 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
15999 inside strings and character constants. */
16000 #define FOO(x) 'x'
16001 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
16002
16003 int test (int i, double x);
16004 struct s1 {int (*f) (int a);};
16005 struct s2 {int (*f) (double a);};
16006 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
16007 int argc;
16008 char **argv;
16009 int
16010 main ()
16011 {
16012 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
16013 ;
16014 return 0;
16015 }
16016 _ACEOF
16017 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
16018 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
16019 do
16020 CC="$ac_save_CC $ac_arg"
16021 rm -f conftest.$ac_objext
16022 if { (ac_try="$ac_compile"
16023 case "(($ac_try" in
16024 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16025 *) ac_try_echo=$ac_try;;
16026 esac
16027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16028 (eval "$ac_compile") 2>conftest.er1
16029 ac_status=$?
16030 grep -v '^ *+' conftest.er1 >conftest.err
16031 rm -f conftest.er1
16032 cat conftest.err >&5
16033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16034 (exit $ac_status); } && {
16035 test -z "$ac_c_werror_flag" ||
16036 test ! -s conftest.err
16037 } && test -s conftest.$ac_objext; then
16038 ac_cv_prog_cc_c89=$ac_arg
16039 else
16040 echo "$as_me: failed program was:" >&5
16041 sed 's/^/| /' conftest.$ac_ext >&5
16042
16043
16044 fi
16045
16046 rm -f core conftest.err conftest.$ac_objext
16047 test "x$ac_cv_prog_cc_c89" != "xno" && break
16048 done
16049 rm -f conftest.$ac_ext
16050 CC=$ac_save_CC
16051
16052 fi
16053 # AC_CACHE_VAL
16054 case "x$ac_cv_prog_cc_c89" in
16055 x)
16056 { echo "$as_me:$LINENO: result: none needed" >&5
16057 echo "${ECHO_T}none needed" >&6; } ;;
16058 xno)
16059 { echo "$as_me:$LINENO: result: unsupported" >&5
16060 echo "${ECHO_T}unsupported" >&6; } ;;
16061 *)
16062 CC="$CC $ac_cv_prog_cc_c89"
16063 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
16064 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
16065 esac
16066
16067
16068 ac_ext=c
16069 ac_cpp='$CPP $CPPFLAGS'
16070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16073
16074
16075
16076
16077
16078
16079
16080
16081 ac_ext=c
16082 ac_cpp='$CPP $CPPFLAGS'
16083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16086
16087 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
16088 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6; }
16089 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
16090 echo $ECHO_N "(cached) $ECHO_C" >&6
16091 else
16092 cat >conftest.$ac_ext <<_ACEOF
16093 /* confdefs.h. */
16094 _ACEOF
16095 cat confdefs.h >>conftest.$ac_ext
16096 cat >>conftest.$ac_ext <<_ACEOF
16097 /* end confdefs.h. */
16098
16099 int
16100 main ()
16101 {
16102
16103 #ifndef __INTEL_COMPILER
16104 choke me
16105 #endif
16106
16107 ;
16108 return 0;
16109 }
16110 _ACEOF
16111 rm -f conftest.$ac_objext
16112 if { (ac_try="$ac_compile"
16113 case "(($ac_try" in
16114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16115 *) ac_try_echo=$ac_try;;
16116 esac
16117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16118 (eval "$ac_compile") 2>conftest.er1
16119 ac_status=$?
16120 grep -v '^ *+' conftest.er1 >conftest.err
16121 rm -f conftest.er1
16122 cat conftest.err >&5
16123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16124 (exit $ac_status); } && {
16125 test -z "$ac_c_werror_flag" ||
16126 test ! -s conftest.err
16127 } && test -s conftest.$ac_objext; then
16128 bakefile_cv_c_compiler___INTEL_COMPILER=yes
16129 else
16130 echo "$as_me: failed program was:" >&5
16131 sed 's/^/| /' conftest.$ac_ext >&5
16132
16133 bakefile_cv_c_compiler___INTEL_COMPILER=no
16134
16135 fi
16136
16137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16138
16139
16140 fi
16141 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
16142 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
16143 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
16144 :; INTELCC=yes
16145 else
16146 :;
16147 fi
16148 ac_ext=c
16149 ac_cpp='$CPP $CPPFLAGS'
16150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16153
16154
16155
16156
16157 if test "$INTELCC" = "yes"; then
16158
16159
16160 ac_ext=c
16161 ac_cpp='$CPP $CPPFLAGS'
16162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16165
16166 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v8 or later" >&5
16167 echo $ECHO_N "checking whether we are using Intel C compiler v8 or later... $ECHO_C" >&6; }
16168 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_800+set}" = set; then
16169 echo $ECHO_N "(cached) $ECHO_C" >&6
16170 else
16171 cat >conftest.$ac_ext <<_ACEOF
16172 /* confdefs.h. */
16173 _ACEOF
16174 cat confdefs.h >>conftest.$ac_ext
16175 cat >>conftest.$ac_ext <<_ACEOF
16176 /* end confdefs.h. */
16177
16178 int
16179 main ()
16180 {
16181
16182 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
16183 choke me
16184 #endif
16185
16186 ;
16187 return 0;
16188 }
16189 _ACEOF
16190 rm -f conftest.$ac_objext
16191 if { (ac_try="$ac_compile"
16192 case "(($ac_try" in
16193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16194 *) ac_try_echo=$ac_try;;
16195 esac
16196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16197 (eval "$ac_compile") 2>conftest.er1
16198 ac_status=$?
16199 grep -v '^ *+' conftest.er1 >conftest.err
16200 rm -f conftest.er1
16201 cat conftest.err >&5
16202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16203 (exit $ac_status); } && {
16204 test -z "$ac_c_werror_flag" ||
16205 test ! -s conftest.err
16206 } && test -s conftest.$ac_objext; then
16207 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=yes
16208 else
16209 echo "$as_me: failed program was:" >&5
16210 sed 's/^/| /' conftest.$ac_ext >&5
16211
16212 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=no
16213
16214 fi
16215
16216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16217
16218
16219 fi
16220 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&5
16221 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&6; }
16222 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
16223 :; INTELCC8=yes
16224 else
16225 :;
16226 fi
16227 ac_ext=c
16228 ac_cpp='$CPP $CPPFLAGS'
16229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16232
16233
16234
16235
16236
16237 ac_ext=c
16238 ac_cpp='$CPP $CPPFLAGS'
16239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16242
16243 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v10 or later" >&5
16244 echo $ECHO_N "checking whether we are using Intel C compiler v10 or later... $ECHO_C" >&6; }
16245 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
16246 echo $ECHO_N "(cached) $ECHO_C" >&6
16247 else
16248 cat >conftest.$ac_ext <<_ACEOF
16249 /* confdefs.h. */
16250 _ACEOF
16251 cat confdefs.h >>conftest.$ac_ext
16252 cat >>conftest.$ac_ext <<_ACEOF
16253 /* end confdefs.h. */
16254
16255 int
16256 main ()
16257 {
16258
16259 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
16260 choke me
16261 #endif
16262
16263 ;
16264 return 0;
16265 }
16266 _ACEOF
16267 rm -f conftest.$ac_objext
16268 if { (ac_try="$ac_compile"
16269 case "(($ac_try" in
16270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16271 *) ac_try_echo=$ac_try;;
16272 esac
16273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16274 (eval "$ac_compile") 2>conftest.er1
16275 ac_status=$?
16276 grep -v '^ *+' conftest.er1 >conftest.err
16277 rm -f conftest.er1
16278 cat conftest.err >&5
16279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16280 (exit $ac_status); } && {
16281 test -z "$ac_c_werror_flag" ||
16282 test ! -s conftest.err
16283 } && test -s conftest.$ac_objext; then
16284 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=yes
16285 else
16286 echo "$as_me: failed program was:" >&5
16287 sed 's/^/| /' conftest.$ac_ext >&5
16288
16289 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=no
16290
16291 fi
16292
16293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16294
16295
16296 fi
16297 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&5
16298 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&6; }
16299 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
16300 :; INTELCC10=yes
16301 else
16302 :;
16303 fi
16304 ac_ext=c
16305 ac_cpp='$CPP $CPPFLAGS'
16306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16309
16310
16311
16312 fi
16313
16314 if test "x$GCC" != "xyes"; then
16315 if test "xCC" = "xC"; then
16316 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
16317 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
16318 if test "${bakefile_cv_c_exto+set}" = set; then
16319 echo $ECHO_N "(cached) $ECHO_C" >&6
16320 else
16321 cat >conftest.$ac_ext <<_ACEOF
16322 /* confdefs.h. */
16323 _ACEOF
16324 cat confdefs.h >>conftest.$ac_ext
16325 cat >>conftest.$ac_ext <<_ACEOF
16326 /* end confdefs.h. */
16327
16328 int
16329 main ()
16330 {
16331
16332 ;
16333 return 0;
16334 }
16335 _ACEOF
16336 rm -f conftest.$ac_objext conftest.$ac_ext.o
16337 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16338 (eval $ac_compile) 2>&5
16339 ac_status=$?
16340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16341 (exit $ac_status); }; then
16342 for ac_file in `(ls conftest.* 2>/dev/null)`; do
16343 case $ac_file in
16344 conftest.$ac_ext.o)
16345 bakefile_cv_c_exto="-ext o"
16346 ;;
16347 *)
16348 ;;
16349 esac
16350 done
16351 else
16352 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
16353 See \`config.log' for more details." >&5
16354 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
16355 See \`config.log' for more details." >&2;}
16356 { (exit 1); exit 1; }; }
16357
16358 fi
16359
16360 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
16361
16362 fi
16363 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
16364 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
16365 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16366 if test "c" = "c"; then
16367 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
16368 fi
16369 if test "c" = "cxx"; then
16370 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
16371 fi
16372 fi
16373
16374 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16375 unset ac_cv_prog_cc_g
16376 ac_test_CFLAGS=${CFLAGS+set}
16377 ac_save_CFLAGS=$CFLAGS
16378 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
16379 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
16380 if test "${ac_cv_prog_cc_g+set}" = set; then
16381 echo $ECHO_N "(cached) $ECHO_C" >&6
16382 else
16383 ac_save_c_werror_flag=$ac_c_werror_flag
16384 ac_c_werror_flag=yes
16385 ac_cv_prog_cc_g=no
16386 CFLAGS="-g"
16387 cat >conftest.$ac_ext <<_ACEOF
16388 /* confdefs.h. */
16389 _ACEOF
16390 cat confdefs.h >>conftest.$ac_ext
16391 cat >>conftest.$ac_ext <<_ACEOF
16392 /* end confdefs.h. */
16393
16394 int
16395 main ()
16396 {
16397
16398 ;
16399 return 0;
16400 }
16401 _ACEOF
16402 rm -f conftest.$ac_objext
16403 if { (ac_try="$ac_compile"
16404 case "(($ac_try" in
16405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16406 *) ac_try_echo=$ac_try;;
16407 esac
16408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16409 (eval "$ac_compile") 2>conftest.er1
16410 ac_status=$?
16411 grep -v '^ *+' conftest.er1 >conftest.err
16412 rm -f conftest.er1
16413 cat conftest.err >&5
16414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16415 (exit $ac_status); } && {
16416 test -z "$ac_c_werror_flag" ||
16417 test ! -s conftest.err
16418 } && test -s conftest.$ac_objext; then
16419 ac_cv_prog_cc_g=yes
16420 else
16421 echo "$as_me: failed program was:" >&5
16422 sed 's/^/| /' conftest.$ac_ext >&5
16423
16424 CFLAGS=""
16425 cat >conftest.$ac_ext <<_ACEOF
16426 /* confdefs.h. */
16427 _ACEOF
16428 cat confdefs.h >>conftest.$ac_ext
16429 cat >>conftest.$ac_ext <<_ACEOF
16430 /* end confdefs.h. */
16431
16432 int
16433 main ()
16434 {
16435
16436 ;
16437 return 0;
16438 }
16439 _ACEOF
16440 rm -f conftest.$ac_objext
16441 if { (ac_try="$ac_compile"
16442 case "(($ac_try" in
16443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16444 *) ac_try_echo=$ac_try;;
16445 esac
16446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16447 (eval "$ac_compile") 2>conftest.er1
16448 ac_status=$?
16449 grep -v '^ *+' conftest.er1 >conftest.err
16450 rm -f conftest.er1
16451 cat conftest.err >&5
16452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16453 (exit $ac_status); } && {
16454 test -z "$ac_c_werror_flag" ||
16455 test ! -s conftest.err
16456 } && test -s conftest.$ac_objext; then
16457 :
16458 else
16459 echo "$as_me: failed program was:" >&5
16460 sed 's/^/| /' conftest.$ac_ext >&5
16461
16462 ac_c_werror_flag=$ac_save_c_werror_flag
16463 CFLAGS="-g"
16464 cat >conftest.$ac_ext <<_ACEOF
16465 /* confdefs.h. */
16466 _ACEOF
16467 cat confdefs.h >>conftest.$ac_ext
16468 cat >>conftest.$ac_ext <<_ACEOF
16469 /* end confdefs.h. */
16470
16471 int
16472 main ()
16473 {
16474
16475 ;
16476 return 0;
16477 }
16478 _ACEOF
16479 rm -f conftest.$ac_objext
16480 if { (ac_try="$ac_compile"
16481 case "(($ac_try" in
16482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16483 *) ac_try_echo=$ac_try;;
16484 esac
16485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16486 (eval "$ac_compile") 2>conftest.er1
16487 ac_status=$?
16488 grep -v '^ *+' conftest.er1 >conftest.err
16489 rm -f conftest.er1
16490 cat conftest.err >&5
16491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16492 (exit $ac_status); } && {
16493 test -z "$ac_c_werror_flag" ||
16494 test ! -s conftest.err
16495 } && test -s conftest.$ac_objext; then
16496 ac_cv_prog_cc_g=yes
16497 else
16498 echo "$as_me: failed program was:" >&5
16499 sed 's/^/| /' conftest.$ac_ext >&5
16500
16501
16502 fi
16503
16504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16505 fi
16506
16507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16508 fi
16509
16510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16511 ac_c_werror_flag=$ac_save_c_werror_flag
16512 fi
16513 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
16514 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
16515 if test "$ac_test_CFLAGS" = set; then
16516 CFLAGS=$ac_save_CFLAGS
16517 elif test $ac_cv_prog_cc_g = yes; then
16518 if test "$GCC" = yes; then
16519 CFLAGS="-g -O2"
16520 else
16521 CFLAGS="-g"
16522 fi
16523 else
16524 if test "$GCC" = yes; then
16525 CFLAGS="-O2"
16526 else
16527 CFLAGS=
16528 fi
16529 fi
16530 fi
16531 fi
16532
16533 case `uname -s` in
16534 AIX*)
16535
16536
16537 ac_ext=c
16538 ac_cpp='$CPP $CPPFLAGS'
16539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16542
16543 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
16544 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
16545 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
16546 echo $ECHO_N "(cached) $ECHO_C" >&6
16547 else
16548 cat >conftest.$ac_ext <<_ACEOF
16549 /* confdefs.h. */
16550 _ACEOF
16551 cat confdefs.h >>conftest.$ac_ext
16552 cat >>conftest.$ac_ext <<_ACEOF
16553 /* end confdefs.h. */
16554
16555 int
16556 main ()
16557 {
16558
16559 #ifndef __xlC__
16560 choke me
16561 #endif
16562
16563 ;
16564 return 0;
16565 }
16566 _ACEOF
16567 rm -f conftest.$ac_objext
16568 if { (ac_try="$ac_compile"
16569 case "(($ac_try" in
16570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16571 *) ac_try_echo=$ac_try;;
16572 esac
16573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16574 (eval "$ac_compile") 2>conftest.er1
16575 ac_status=$?
16576 grep -v '^ *+' conftest.er1 >conftest.err
16577 rm -f conftest.er1
16578 cat conftest.err >&5
16579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16580 (exit $ac_status); } && {
16581 test -z "$ac_c_werror_flag" ||
16582 test ! -s conftest.err
16583 } && test -s conftest.$ac_objext; then
16584 bakefile_cv_c_compiler___xlC__=yes
16585 else
16586 echo "$as_me: failed program was:" >&5
16587 sed 's/^/| /' conftest.$ac_ext >&5
16588
16589 bakefile_cv_c_compiler___xlC__=no
16590
16591 fi
16592
16593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16594
16595
16596 fi
16597 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
16598 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
16599 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
16600 :; XLCC=yes
16601 else
16602 :;
16603 fi
16604 ac_ext=c
16605 ac_cpp='$CPP $CPPFLAGS'
16606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16609
16610
16611
16612 ;;
16613
16614 Darwin)
16615
16616
16617 ac_ext=c
16618 ac_cpp='$CPP $CPPFLAGS'
16619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16622
16623 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
16624 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
16625 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
16626 echo $ECHO_N "(cached) $ECHO_C" >&6
16627 else
16628 cat >conftest.$ac_ext <<_ACEOF
16629 /* confdefs.h. */
16630 _ACEOF
16631 cat confdefs.h >>conftest.$ac_ext
16632 cat >>conftest.$ac_ext <<_ACEOF
16633 /* end confdefs.h. */
16634
16635 int
16636 main ()
16637 {
16638
16639 #ifndef __MWERKS__
16640 choke me
16641 #endif
16642
16643 ;
16644 return 0;
16645 }
16646 _ACEOF
16647 rm -f conftest.$ac_objext
16648 if { (ac_try="$ac_compile"
16649 case "(($ac_try" in
16650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16651 *) ac_try_echo=$ac_try;;
16652 esac
16653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16654 (eval "$ac_compile") 2>conftest.er1
16655 ac_status=$?
16656 grep -v '^ *+' conftest.er1 >conftest.err
16657 rm -f conftest.er1
16658 cat conftest.err >&5
16659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16660 (exit $ac_status); } && {
16661 test -z "$ac_c_werror_flag" ||
16662 test ! -s conftest.err
16663 } && test -s conftest.$ac_objext; then
16664 bakefile_cv_c_compiler___MWERKS__=yes
16665 else
16666 echo "$as_me: failed program was:" >&5
16667 sed 's/^/| /' conftest.$ac_ext >&5
16668
16669 bakefile_cv_c_compiler___MWERKS__=no
16670
16671 fi
16672
16673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16674
16675
16676 fi
16677 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
16678 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
16679 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
16680 :; MWCC=yes
16681 else
16682 :;
16683 fi
16684 ac_ext=c
16685 ac_cpp='$CPP $CPPFLAGS'
16686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16689
16690
16691
16692 if test "$MWCC" != "yes"; then
16693
16694
16695 ac_ext=c
16696 ac_cpp='$CPP $CPPFLAGS'
16697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16700
16701 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
16702 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
16703 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
16704 echo $ECHO_N "(cached) $ECHO_C" >&6
16705 else
16706 cat >conftest.$ac_ext <<_ACEOF
16707 /* confdefs.h. */
16708 _ACEOF
16709 cat confdefs.h >>conftest.$ac_ext
16710 cat >>conftest.$ac_ext <<_ACEOF
16711 /* end confdefs.h. */
16712
16713 int
16714 main ()
16715 {
16716
16717 #ifndef __xlC__
16718 choke me
16719 #endif
16720
16721 ;
16722 return 0;
16723 }
16724 _ACEOF
16725 rm -f conftest.$ac_objext
16726 if { (ac_try="$ac_compile"
16727 case "(($ac_try" in
16728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16729 *) ac_try_echo=$ac_try;;
16730 esac
16731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16732 (eval "$ac_compile") 2>conftest.er1
16733 ac_status=$?
16734 grep -v '^ *+' conftest.er1 >conftest.err
16735 rm -f conftest.er1
16736 cat conftest.err >&5
16737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16738 (exit $ac_status); } && {
16739 test -z "$ac_c_werror_flag" ||
16740 test ! -s conftest.err
16741 } && test -s conftest.$ac_objext; then
16742 bakefile_cv_c_compiler___xlC__=yes
16743 else
16744 echo "$as_me: failed program was:" >&5
16745 sed 's/^/| /' conftest.$ac_ext >&5
16746
16747 bakefile_cv_c_compiler___xlC__=no
16748
16749 fi
16750
16751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16752
16753
16754 fi
16755 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
16756 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
16757 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
16758 :; XLCC=yes
16759 else
16760 :;
16761 fi
16762 ac_ext=c
16763 ac_cpp='$CPP $CPPFLAGS'
16764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16767
16768
16769
16770 fi
16771 ;;
16772
16773 IRIX*)
16774
16775
16776 ac_ext=c
16777 ac_cpp='$CPP $CPPFLAGS'
16778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16781
16782 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
16783 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
16784 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
16785 echo $ECHO_N "(cached) $ECHO_C" >&6
16786 else
16787 cat >conftest.$ac_ext <<_ACEOF
16788 /* confdefs.h. */
16789 _ACEOF
16790 cat confdefs.h >>conftest.$ac_ext
16791 cat >>conftest.$ac_ext <<_ACEOF
16792 /* end confdefs.h. */
16793
16794 int
16795 main ()
16796 {
16797
16798 #ifndef _SGI_COMPILER_VERSION
16799 choke me
16800 #endif
16801
16802 ;
16803 return 0;
16804 }
16805 _ACEOF
16806 rm -f conftest.$ac_objext
16807 if { (ac_try="$ac_compile"
16808 case "(($ac_try" in
16809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16810 *) ac_try_echo=$ac_try;;
16811 esac
16812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16813 (eval "$ac_compile") 2>conftest.er1
16814 ac_status=$?
16815 grep -v '^ *+' conftest.er1 >conftest.err
16816 rm -f conftest.er1
16817 cat conftest.err >&5
16818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16819 (exit $ac_status); } && {
16820 test -z "$ac_c_werror_flag" ||
16821 test ! -s conftest.err
16822 } && test -s conftest.$ac_objext; then
16823 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
16824 else
16825 echo "$as_me: failed program was:" >&5
16826 sed 's/^/| /' conftest.$ac_ext >&5
16827
16828 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
16829
16830 fi
16831
16832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16833
16834
16835 fi
16836 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
16837 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
16838 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
16839 :; SGICC=yes
16840 else
16841 :;
16842 fi
16843 ac_ext=c
16844 ac_cpp='$CPP $CPPFLAGS'
16845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16848
16849
16850
16851 ;;
16852
16853 Linux*)
16854 if test "$INTELCC" != "yes"; then
16855
16856
16857 ac_ext=c
16858 ac_cpp='$CPP $CPPFLAGS'
16859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16862
16863 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
16864 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
16865 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
16866 echo $ECHO_N "(cached) $ECHO_C" >&6
16867 else
16868 cat >conftest.$ac_ext <<_ACEOF
16869 /* confdefs.h. */
16870 _ACEOF
16871 cat confdefs.h >>conftest.$ac_ext
16872 cat >>conftest.$ac_ext <<_ACEOF
16873 /* end confdefs.h. */
16874
16875 int
16876 main ()
16877 {
16878
16879 #ifndef __SUNPRO_C
16880 choke me
16881 #endif
16882
16883 ;
16884 return 0;
16885 }
16886 _ACEOF
16887 rm -f conftest.$ac_objext
16888 if { (ac_try="$ac_compile"
16889 case "(($ac_try" in
16890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16891 *) ac_try_echo=$ac_try;;
16892 esac
16893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16894 (eval "$ac_compile") 2>conftest.er1
16895 ac_status=$?
16896 grep -v '^ *+' conftest.er1 >conftest.err
16897 rm -f conftest.er1
16898 cat conftest.err >&5
16899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16900 (exit $ac_status); } && {
16901 test -z "$ac_c_werror_flag" ||
16902 test ! -s conftest.err
16903 } && test -s conftest.$ac_objext; then
16904 bakefile_cv_c_compiler___SUNPRO_C=yes
16905 else
16906 echo "$as_me: failed program was:" >&5
16907 sed 's/^/| /' conftest.$ac_ext >&5
16908
16909 bakefile_cv_c_compiler___SUNPRO_C=no
16910
16911 fi
16912
16913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16914
16915
16916 fi
16917 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16918 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16919 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16920 :; SUNCC=yes
16921 else
16922 :;
16923 fi
16924 ac_ext=c
16925 ac_cpp='$CPP $CPPFLAGS'
16926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16929
16930
16931
16932 fi
16933 ;;
16934
16935 HP-UX*)
16936
16937
16938 ac_ext=c
16939 ac_cpp='$CPP $CPPFLAGS'
16940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16943
16944 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
16945 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
16946 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
16947 echo $ECHO_N "(cached) $ECHO_C" >&6
16948 else
16949 cat >conftest.$ac_ext <<_ACEOF
16950 /* confdefs.h. */
16951 _ACEOF
16952 cat confdefs.h >>conftest.$ac_ext
16953 cat >>conftest.$ac_ext <<_ACEOF
16954 /* end confdefs.h. */
16955
16956 int
16957 main ()
16958 {
16959
16960 #ifndef __HP_cc
16961 choke me
16962 #endif
16963
16964 ;
16965 return 0;
16966 }
16967 _ACEOF
16968 rm -f conftest.$ac_objext
16969 if { (ac_try="$ac_compile"
16970 case "(($ac_try" in
16971 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16972 *) ac_try_echo=$ac_try;;
16973 esac
16974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16975 (eval "$ac_compile") 2>conftest.er1
16976 ac_status=$?
16977 grep -v '^ *+' conftest.er1 >conftest.err
16978 rm -f conftest.er1
16979 cat conftest.err >&5
16980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16981 (exit $ac_status); } && {
16982 test -z "$ac_c_werror_flag" ||
16983 test ! -s conftest.err
16984 } && test -s conftest.$ac_objext; then
16985 bakefile_cv_c_compiler___HP_cc=yes
16986 else
16987 echo "$as_me: failed program was:" >&5
16988 sed 's/^/| /' conftest.$ac_ext >&5
16989
16990 bakefile_cv_c_compiler___HP_cc=no
16991
16992 fi
16993
16994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16995
16996
16997 fi
16998 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
16999 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
17000 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
17001 :; HPCC=yes
17002 else
17003 :;
17004 fi
17005 ac_ext=c
17006 ac_cpp='$CPP $CPPFLAGS'
17007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17010
17011
17012
17013 ;;
17014
17015 OSF1)
17016
17017
17018 ac_ext=c
17019 ac_cpp='$CPP $CPPFLAGS'
17020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17023
17024 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
17025 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
17026 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
17027 echo $ECHO_N "(cached) $ECHO_C" >&6
17028 else
17029 cat >conftest.$ac_ext <<_ACEOF
17030 /* confdefs.h. */
17031 _ACEOF
17032 cat confdefs.h >>conftest.$ac_ext
17033 cat >>conftest.$ac_ext <<_ACEOF
17034 /* end confdefs.h. */
17035
17036 int
17037 main ()
17038 {
17039
17040 #ifndef __DECC
17041 choke me
17042 #endif
17043
17044 ;
17045 return 0;
17046 }
17047 _ACEOF
17048 rm -f conftest.$ac_objext
17049 if { (ac_try="$ac_compile"
17050 case "(($ac_try" in
17051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17052 *) ac_try_echo=$ac_try;;
17053 esac
17054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17055 (eval "$ac_compile") 2>conftest.er1
17056 ac_status=$?
17057 grep -v '^ *+' conftest.er1 >conftest.err
17058 rm -f conftest.er1
17059 cat conftest.err >&5
17060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17061 (exit $ac_status); } && {
17062 test -z "$ac_c_werror_flag" ||
17063 test ! -s conftest.err
17064 } && test -s conftest.$ac_objext; then
17065 bakefile_cv_c_compiler___DECC=yes
17066 else
17067 echo "$as_me: failed program was:" >&5
17068 sed 's/^/| /' conftest.$ac_ext >&5
17069
17070 bakefile_cv_c_compiler___DECC=no
17071
17072 fi
17073
17074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17075
17076
17077 fi
17078 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
17079 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
17080 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
17081 :; COMPAQCC=yes
17082 else
17083 :;
17084 fi
17085 ac_ext=c
17086 ac_cpp='$CPP $CPPFLAGS'
17087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17090
17091
17092
17093 ;;
17094
17095 SunOS)
17096
17097
17098 ac_ext=c
17099 ac_cpp='$CPP $CPPFLAGS'
17100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17103
17104 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
17105 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
17106 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
17107 echo $ECHO_N "(cached) $ECHO_C" >&6
17108 else
17109 cat >conftest.$ac_ext <<_ACEOF
17110 /* confdefs.h. */
17111 _ACEOF
17112 cat confdefs.h >>conftest.$ac_ext
17113 cat >>conftest.$ac_ext <<_ACEOF
17114 /* end confdefs.h. */
17115
17116 int
17117 main ()
17118 {
17119
17120 #ifndef __SUNPRO_C
17121 choke me
17122 #endif
17123
17124 ;
17125 return 0;
17126 }
17127 _ACEOF
17128 rm -f conftest.$ac_objext
17129 if { (ac_try="$ac_compile"
17130 case "(($ac_try" in
17131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17132 *) ac_try_echo=$ac_try;;
17133 esac
17134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17135 (eval "$ac_compile") 2>conftest.er1
17136 ac_status=$?
17137 grep -v '^ *+' conftest.er1 >conftest.err
17138 rm -f conftest.er1
17139 cat conftest.err >&5
17140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17141 (exit $ac_status); } && {
17142 test -z "$ac_c_werror_flag" ||
17143 test ! -s conftest.err
17144 } && test -s conftest.$ac_objext; then
17145 bakefile_cv_c_compiler___SUNPRO_C=yes
17146 else
17147 echo "$as_me: failed program was:" >&5
17148 sed 's/^/| /' conftest.$ac_ext >&5
17149
17150 bakefile_cv_c_compiler___SUNPRO_C=no
17151
17152 fi
17153
17154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17155
17156
17157 fi
17158 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
17159 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
17160 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
17161 :; SUNCC=yes
17162 else
17163 :;
17164 fi
17165 ac_ext=c
17166 ac_cpp='$CPP $CPPFLAGS'
17167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17170
17171
17172
17173 ;;
17174 esac
17175 fi
17176
17177
17178
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 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
17185 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
17186 # On Suns, sometimes $CPP names a directory.
17187 if test -n "$CPP" && test -d "$CPP"; then
17188 CPP=
17189 fi
17190 if test -z "$CPP"; then
17191 if test "${ac_cv_prog_CPP+set}" = set; then
17192 echo $ECHO_N "(cached) $ECHO_C" >&6
17193 else
17194 # Double quotes because CPP needs to be expanded
17195 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
17196 do
17197 ac_preproc_ok=false
17198 for ac_c_preproc_warn_flag in '' yes
17199 do
17200 # Use a header file that comes with gcc, so configuring glibc
17201 # with a fresh cross-compiler works.
17202 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17203 # <limits.h> exists even on freestanding compilers.
17204 # On the NeXT, cc -E runs the code through the compiler's parser,
17205 # not just through cpp. "Syntax error" is here to catch this case.
17206 cat >conftest.$ac_ext <<_ACEOF
17207 /* confdefs.h. */
17208 _ACEOF
17209 cat confdefs.h >>conftest.$ac_ext
17210 cat >>conftest.$ac_ext <<_ACEOF
17211 /* end confdefs.h. */
17212 #ifdef __STDC__
17213 # include <limits.h>
17214 #else
17215 # include <assert.h>
17216 #endif
17217 Syntax error
17218 _ACEOF
17219 if { (ac_try="$ac_cpp conftest.$ac_ext"
17220 case "(($ac_try" in
17221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17222 *) ac_try_echo=$ac_try;;
17223 esac
17224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17225 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17226 ac_status=$?
17227 grep -v '^ *+' conftest.er1 >conftest.err
17228 rm -f conftest.er1
17229 cat conftest.err >&5
17230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17231 (exit $ac_status); } >/dev/null && {
17232 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17233 test ! -s conftest.err
17234 }; then
17235 :
17236 else
17237 echo "$as_me: failed program was:" >&5
17238 sed 's/^/| /' conftest.$ac_ext >&5
17239
17240 # Broken: fails on valid input.
17241 continue
17242 fi
17243
17244 rm -f conftest.err conftest.$ac_ext
17245
17246 # OK, works on sane cases. Now check whether nonexistent headers
17247 # can be detected and how.
17248 cat >conftest.$ac_ext <<_ACEOF
17249 /* confdefs.h. */
17250 _ACEOF
17251 cat confdefs.h >>conftest.$ac_ext
17252 cat >>conftest.$ac_ext <<_ACEOF
17253 /* end confdefs.h. */
17254 #include <ac_nonexistent.h>
17255 _ACEOF
17256 if { (ac_try="$ac_cpp conftest.$ac_ext"
17257 case "(($ac_try" in
17258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17259 *) ac_try_echo=$ac_try;;
17260 esac
17261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17262 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17263 ac_status=$?
17264 grep -v '^ *+' conftest.er1 >conftest.err
17265 rm -f conftest.er1
17266 cat conftest.err >&5
17267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17268 (exit $ac_status); } >/dev/null && {
17269 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17270 test ! -s conftest.err
17271 }; then
17272 # Broken: success on invalid input.
17273 continue
17274 else
17275 echo "$as_me: failed program was:" >&5
17276 sed 's/^/| /' conftest.$ac_ext >&5
17277
17278 # Passes both tests.
17279 ac_preproc_ok=:
17280 break
17281 fi
17282
17283 rm -f conftest.err conftest.$ac_ext
17284
17285 done
17286 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17287 rm -f conftest.err conftest.$ac_ext
17288 if $ac_preproc_ok; then
17289 break
17290 fi
17291
17292 done
17293 ac_cv_prog_CPP=$CPP
17294
17295 fi
17296 CPP=$ac_cv_prog_CPP
17297 else
17298 ac_cv_prog_CPP=$CPP
17299 fi
17300 { echo "$as_me:$LINENO: result: $CPP" >&5
17301 echo "${ECHO_T}$CPP" >&6; }
17302 ac_preproc_ok=false
17303 for ac_c_preproc_warn_flag in '' yes
17304 do
17305 # Use a header file that comes with gcc, so configuring glibc
17306 # with a fresh cross-compiler works.
17307 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17308 # <limits.h> exists even on freestanding compilers.
17309 # On the NeXT, cc -E runs the code through the compiler's parser,
17310 # not just through cpp. "Syntax error" is here to catch this case.
17311 cat >conftest.$ac_ext <<_ACEOF
17312 /* confdefs.h. */
17313 _ACEOF
17314 cat confdefs.h >>conftest.$ac_ext
17315 cat >>conftest.$ac_ext <<_ACEOF
17316 /* end confdefs.h. */
17317 #ifdef __STDC__
17318 # include <limits.h>
17319 #else
17320 # include <assert.h>
17321 #endif
17322 Syntax error
17323 _ACEOF
17324 if { (ac_try="$ac_cpp conftest.$ac_ext"
17325 case "(($ac_try" in
17326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17327 *) ac_try_echo=$ac_try;;
17328 esac
17329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17330 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17331 ac_status=$?
17332 grep -v '^ *+' conftest.er1 >conftest.err
17333 rm -f conftest.er1
17334 cat conftest.err >&5
17335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17336 (exit $ac_status); } >/dev/null && {
17337 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17338 test ! -s conftest.err
17339 }; then
17340 :
17341 else
17342 echo "$as_me: failed program was:" >&5
17343 sed 's/^/| /' conftest.$ac_ext >&5
17344
17345 # Broken: fails on valid input.
17346 continue
17347 fi
17348
17349 rm -f conftest.err conftest.$ac_ext
17350
17351 # OK, works on sane cases. Now check whether nonexistent headers
17352 # can be detected and how.
17353 cat >conftest.$ac_ext <<_ACEOF
17354 /* confdefs.h. */
17355 _ACEOF
17356 cat confdefs.h >>conftest.$ac_ext
17357 cat >>conftest.$ac_ext <<_ACEOF
17358 /* end confdefs.h. */
17359 #include <ac_nonexistent.h>
17360 _ACEOF
17361 if { (ac_try="$ac_cpp conftest.$ac_ext"
17362 case "(($ac_try" in
17363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17364 *) ac_try_echo=$ac_try;;
17365 esac
17366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17367 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17368 ac_status=$?
17369 grep -v '^ *+' conftest.er1 >conftest.err
17370 rm -f conftest.er1
17371 cat conftest.err >&5
17372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17373 (exit $ac_status); } >/dev/null && {
17374 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17375 test ! -s conftest.err
17376 }; then
17377 # Broken: success on invalid input.
17378 continue
17379 else
17380 echo "$as_me: failed program was:" >&5
17381 sed 's/^/| /' conftest.$ac_ext >&5
17382
17383 # Passes both tests.
17384 ac_preproc_ok=:
17385 break
17386 fi
17387
17388 rm -f conftest.err conftest.$ac_ext
17389
17390 done
17391 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17392 rm -f conftest.err conftest.$ac_ext
17393 if $ac_preproc_ok; then
17394 :
17395 else
17396 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
17397 See \`config.log' for more details." >&5
17398 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
17399 See \`config.log' for more details." >&2;}
17400 { (exit 1); exit 1; }; }
17401 fi
17402
17403 ac_ext=c
17404 ac_cpp='$CPP $CPPFLAGS'
17405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17408
17409
17410 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
17411 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
17412 if test "${ac_cv_path_GREP+set}" = set; then
17413 echo $ECHO_N "(cached) $ECHO_C" >&6
17414 else
17415 # Extract the first word of "grep ggrep" to use in msg output
17416 if test -z "$GREP"; then
17417 set dummy grep ggrep; ac_prog_name=$2
17418 if test "${ac_cv_path_GREP+set}" = set; then
17419 echo $ECHO_N "(cached) $ECHO_C" >&6
17420 else
17421 ac_path_GREP_found=false
17422 # Loop through the user's path and test for each of PROGNAME-LIST
17423 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17424 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
17425 do
17426 IFS=$as_save_IFS
17427 test -z "$as_dir" && as_dir=.
17428 for ac_prog in grep ggrep; do
17429 for ac_exec_ext in '' $ac_executable_extensions; do
17430 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
17431 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
17432 # Check for GNU ac_path_GREP and select it if it is found.
17433 # Check for GNU $ac_path_GREP
17434 case `"$ac_path_GREP" --version 2>&1` in
17435 *GNU*)
17436 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
17437 *)
17438 ac_count=0
17439 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
17440 while :
17441 do
17442 cat "conftest.in" "conftest.in" >"conftest.tmp"
17443 mv "conftest.tmp" "conftest.in"
17444 cp "conftest.in" "conftest.nl"
17445 echo 'GREP' >> "conftest.nl"
17446 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
17447 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
17448 ac_count=`expr $ac_count + 1`
17449 if test $ac_count -gt ${ac_path_GREP_max-0}; then
17450 # Best one so far, save it but keep looking for a better one
17451 ac_cv_path_GREP="$ac_path_GREP"
17452 ac_path_GREP_max=$ac_count
17453 fi
17454 # 10*(2^10) chars as input seems more than enough
17455 test $ac_count -gt 10 && break
17456 done
17457 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
17458 esac
17459
17460
17461 $ac_path_GREP_found && break 3
17462 done
17463 done
17464
17465 done
17466 IFS=$as_save_IFS
17467
17468
17469 fi
17470
17471 GREP="$ac_cv_path_GREP"
17472 if test -z "$GREP"; then
17473 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
17474 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
17475 { (exit 1); exit 1; }; }
17476 fi
17477
17478 else
17479 ac_cv_path_GREP=$GREP
17480 fi
17481
17482
17483 fi
17484 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
17485 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
17486 GREP="$ac_cv_path_GREP"
17487
17488
17489 { echo "$as_me:$LINENO: checking for egrep" >&5
17490 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
17491 if test "${ac_cv_path_EGREP+set}" = set; then
17492 echo $ECHO_N "(cached) $ECHO_C" >&6
17493 else
17494 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
17495 then ac_cv_path_EGREP="$GREP -E"
17496 else
17497 # Extract the first word of "egrep" to use in msg output
17498 if test -z "$EGREP"; then
17499 set dummy egrep; ac_prog_name=$2
17500 if test "${ac_cv_path_EGREP+set}" = set; then
17501 echo $ECHO_N "(cached) $ECHO_C" >&6
17502 else
17503 ac_path_EGREP_found=false
17504 # Loop through the user's path and test for each of PROGNAME-LIST
17505 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17506 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
17507 do
17508 IFS=$as_save_IFS
17509 test -z "$as_dir" && as_dir=.
17510 for ac_prog in egrep; do
17511 for ac_exec_ext in '' $ac_executable_extensions; do
17512 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
17513 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
17514 # Check for GNU ac_path_EGREP and select it if it is found.
17515 # Check for GNU $ac_path_EGREP
17516 case `"$ac_path_EGREP" --version 2>&1` in
17517 *GNU*)
17518 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
17519 *)
17520 ac_count=0
17521 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
17522 while :
17523 do
17524 cat "conftest.in" "conftest.in" >"conftest.tmp"
17525 mv "conftest.tmp" "conftest.in"
17526 cp "conftest.in" "conftest.nl"
17527 echo 'EGREP' >> "conftest.nl"
17528 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
17529 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
17530 ac_count=`expr $ac_count + 1`
17531 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
17532 # Best one so far, save it but keep looking for a better one
17533 ac_cv_path_EGREP="$ac_path_EGREP"
17534 ac_path_EGREP_max=$ac_count
17535 fi
17536 # 10*(2^10) chars as input seems more than enough
17537 test $ac_count -gt 10 && break
17538 done
17539 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
17540 esac
17541
17542
17543 $ac_path_EGREP_found && break 3
17544 done
17545 done
17546
17547 done
17548 IFS=$as_save_IFS
17549
17550
17551 fi
17552
17553 EGREP="$ac_cv_path_EGREP"
17554 if test -z "$EGREP"; then
17555 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
17556 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
17557 { (exit 1); exit 1; }; }
17558 fi
17559
17560 else
17561 ac_cv_path_EGREP=$EGREP
17562 fi
17563
17564
17565 fi
17566 fi
17567 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
17568 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
17569 EGREP="$ac_cv_path_EGREP"
17570
17571
17572 if test $ac_cv_c_compiler_gnu = yes; then
17573 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
17574 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
17575 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
17576 echo $ECHO_N "(cached) $ECHO_C" >&6
17577 else
17578 ac_pattern="Autoconf.*'x'"
17579 cat >conftest.$ac_ext <<_ACEOF
17580 /* confdefs.h. */
17581 _ACEOF
17582 cat confdefs.h >>conftest.$ac_ext
17583 cat >>conftest.$ac_ext <<_ACEOF
17584 /* end confdefs.h. */
17585 #include <sgtty.h>
17586 Autoconf TIOCGETP
17587 _ACEOF
17588 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17589 $EGREP "$ac_pattern" >/dev/null 2>&1; then
17590 ac_cv_prog_gcc_traditional=yes
17591 else
17592 ac_cv_prog_gcc_traditional=no
17593 fi
17594 rm -f conftest*
17595
17596
17597 if test $ac_cv_prog_gcc_traditional = no; then
17598 cat >conftest.$ac_ext <<_ACEOF
17599 /* confdefs.h. */
17600 _ACEOF
17601 cat confdefs.h >>conftest.$ac_ext
17602 cat >>conftest.$ac_ext <<_ACEOF
17603 /* end confdefs.h. */
17604 #include <termio.h>
17605 Autoconf TCGETA
17606 _ACEOF
17607 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17608 $EGREP "$ac_pattern" >/dev/null 2>&1; then
17609 ac_cv_prog_gcc_traditional=yes
17610 fi
17611 rm -f conftest*
17612
17613 fi
17614 fi
17615 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
17616 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
17617 if test $ac_cv_prog_gcc_traditional = yes; then
17618 CC="$CC -traditional"
17619 fi
17620 fi
17621
17622
17623 CXXFLAGS=${CXXFLAGS:=}
17624 ac_ext=cpp
17625 ac_cpp='$CXXCPP $CPPFLAGS'
17626 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17627 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17628 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17629 if test -z "$CXX"; then
17630 if test -n "$CCC"; then
17631 CXX=$CCC
17632 else
17633 if test -n "$ac_tool_prefix"; then
17634 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
17635 do
17636 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
17637 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
17638 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17639 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17640 if test "${ac_cv_prog_CXX+set}" = set; then
17641 echo $ECHO_N "(cached) $ECHO_C" >&6
17642 else
17643 if test -n "$CXX"; then
17644 ac_cv_prog_CXX="$CXX" # Let the user override the test.
17645 else
17646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17647 for as_dir in $PATH
17648 do
17649 IFS=$as_save_IFS
17650 test -z "$as_dir" && as_dir=.
17651 for ac_exec_ext in '' $ac_executable_extensions; do
17652 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17653 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
17654 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17655 break 2
17656 fi
17657 done
17658 done
17659 IFS=$as_save_IFS
17660
17661 fi
17662 fi
17663 CXX=$ac_cv_prog_CXX
17664 if test -n "$CXX"; then
17665 { echo "$as_me:$LINENO: result: $CXX" >&5
17666 echo "${ECHO_T}$CXX" >&6; }
17667 else
17668 { echo "$as_me:$LINENO: result: no" >&5
17669 echo "${ECHO_T}no" >&6; }
17670 fi
17671
17672
17673 test -n "$CXX" && break
17674 done
17675 fi
17676 if test -z "$CXX"; then
17677 ac_ct_CXX=$CXX
17678 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
17679 do
17680 # Extract the first word of "$ac_prog", so it can be a program name with args.
17681 set dummy $ac_prog; ac_word=$2
17682 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17683 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17684 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
17685 echo $ECHO_N "(cached) $ECHO_C" >&6
17686 else
17687 if test -n "$ac_ct_CXX"; then
17688 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
17689 else
17690 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17691 for as_dir in $PATH
17692 do
17693 IFS=$as_save_IFS
17694 test -z "$as_dir" && as_dir=.
17695 for ac_exec_ext in '' $ac_executable_extensions; do
17696 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17697 ac_cv_prog_ac_ct_CXX="$ac_prog"
17698 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17699 break 2
17700 fi
17701 done
17702 done
17703 IFS=$as_save_IFS
17704
17705 fi
17706 fi
17707 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
17708 if test -n "$ac_ct_CXX"; then
17709 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
17710 echo "${ECHO_T}$ac_ct_CXX" >&6; }
17711 else
17712 { echo "$as_me:$LINENO: result: no" >&5
17713 echo "${ECHO_T}no" >&6; }
17714 fi
17715
17716
17717 test -n "$ac_ct_CXX" && break
17718 done
17719
17720 if test "x$ac_ct_CXX" = x; then
17721 CXX="g++"
17722 else
17723 case $cross_compiling:$ac_tool_warned in
17724 yes:)
17725 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
17726 whose name does not start with the host triplet. If you think this
17727 configuration is useful to you, please write to autoconf@gnu.org." >&5
17728 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
17729 whose name does not start with the host triplet. If you think this
17730 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
17731 ac_tool_warned=yes ;;
17732 esac
17733 CXX=$ac_ct_CXX
17734 fi
17735 fi
17736
17737 fi
17738 fi
17739 # Provide some information about the compiler.
17740 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
17741 ac_compiler=`set X $ac_compile; echo $2`
17742 { (ac_try="$ac_compiler --version >&5"
17743 case "(($ac_try" in
17744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17745 *) ac_try_echo=$ac_try;;
17746 esac
17747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17748 (eval "$ac_compiler --version >&5") 2>&5
17749 ac_status=$?
17750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17751 (exit $ac_status); }
17752 { (ac_try="$ac_compiler -v >&5"
17753 case "(($ac_try" in
17754 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17755 *) ac_try_echo=$ac_try;;
17756 esac
17757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17758 (eval "$ac_compiler -v >&5") 2>&5
17759 ac_status=$?
17760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17761 (exit $ac_status); }
17762 { (ac_try="$ac_compiler -V >&5"
17763 case "(($ac_try" in
17764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17765 *) ac_try_echo=$ac_try;;
17766 esac
17767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17768 (eval "$ac_compiler -V >&5") 2>&5
17769 ac_status=$?
17770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17771 (exit $ac_status); }
17772
17773 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
17774 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
17775 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
17776 echo $ECHO_N "(cached) $ECHO_C" >&6
17777 else
17778 cat >conftest.$ac_ext <<_ACEOF
17779 /* confdefs.h. */
17780 _ACEOF
17781 cat confdefs.h >>conftest.$ac_ext
17782 cat >>conftest.$ac_ext <<_ACEOF
17783 /* end confdefs.h. */
17784
17785 int
17786 main ()
17787 {
17788 #ifndef __GNUC__
17789 choke me
17790 #endif
17791
17792 ;
17793 return 0;
17794 }
17795 _ACEOF
17796 rm -f conftest.$ac_objext
17797 if { (ac_try="$ac_compile"
17798 case "(($ac_try" in
17799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17800 *) ac_try_echo=$ac_try;;
17801 esac
17802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17803 (eval "$ac_compile") 2>conftest.er1
17804 ac_status=$?
17805 grep -v '^ *+' conftest.er1 >conftest.err
17806 rm -f conftest.er1
17807 cat conftest.err >&5
17808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17809 (exit $ac_status); } && {
17810 test -z "$ac_cxx_werror_flag" ||
17811 test ! -s conftest.err
17812 } && test -s conftest.$ac_objext; then
17813 ac_compiler_gnu=yes
17814 else
17815 echo "$as_me: failed program was:" >&5
17816 sed 's/^/| /' conftest.$ac_ext >&5
17817
17818 ac_compiler_gnu=no
17819 fi
17820
17821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17822 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
17823
17824 fi
17825 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
17826 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
17827 GXX=`test $ac_compiler_gnu = yes && echo yes`
17828 ac_test_CXXFLAGS=${CXXFLAGS+set}
17829 ac_save_CXXFLAGS=$CXXFLAGS
17830 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
17831 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
17832 if test "${ac_cv_prog_cxx_g+set}" = set; then
17833 echo $ECHO_N "(cached) $ECHO_C" >&6
17834 else
17835 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
17836 ac_cxx_werror_flag=yes
17837 ac_cv_prog_cxx_g=no
17838 CXXFLAGS="-g"
17839 cat >conftest.$ac_ext <<_ACEOF
17840 /* confdefs.h. */
17841 _ACEOF
17842 cat confdefs.h >>conftest.$ac_ext
17843 cat >>conftest.$ac_ext <<_ACEOF
17844 /* end confdefs.h. */
17845
17846 int
17847 main ()
17848 {
17849
17850 ;
17851 return 0;
17852 }
17853 _ACEOF
17854 rm -f conftest.$ac_objext
17855 if { (ac_try="$ac_compile"
17856 case "(($ac_try" in
17857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17858 *) ac_try_echo=$ac_try;;
17859 esac
17860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17861 (eval "$ac_compile") 2>conftest.er1
17862 ac_status=$?
17863 grep -v '^ *+' conftest.er1 >conftest.err
17864 rm -f conftest.er1
17865 cat conftest.err >&5
17866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17867 (exit $ac_status); } && {
17868 test -z "$ac_cxx_werror_flag" ||
17869 test ! -s conftest.err
17870 } && test -s conftest.$ac_objext; then
17871 ac_cv_prog_cxx_g=yes
17872 else
17873 echo "$as_me: failed program was:" >&5
17874 sed 's/^/| /' conftest.$ac_ext >&5
17875
17876 CXXFLAGS=""
17877 cat >conftest.$ac_ext <<_ACEOF
17878 /* confdefs.h. */
17879 _ACEOF
17880 cat confdefs.h >>conftest.$ac_ext
17881 cat >>conftest.$ac_ext <<_ACEOF
17882 /* end confdefs.h. */
17883
17884 int
17885 main ()
17886 {
17887
17888 ;
17889 return 0;
17890 }
17891 _ACEOF
17892 rm -f conftest.$ac_objext
17893 if { (ac_try="$ac_compile"
17894 case "(($ac_try" in
17895 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17896 *) ac_try_echo=$ac_try;;
17897 esac
17898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17899 (eval "$ac_compile") 2>conftest.er1
17900 ac_status=$?
17901 grep -v '^ *+' conftest.er1 >conftest.err
17902 rm -f conftest.er1
17903 cat conftest.err >&5
17904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17905 (exit $ac_status); } && {
17906 test -z "$ac_cxx_werror_flag" ||
17907 test ! -s conftest.err
17908 } && test -s conftest.$ac_objext; then
17909 :
17910 else
17911 echo "$as_me: failed program was:" >&5
17912 sed 's/^/| /' conftest.$ac_ext >&5
17913
17914 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
17915 CXXFLAGS="-g"
17916 cat >conftest.$ac_ext <<_ACEOF
17917 /* confdefs.h. */
17918 _ACEOF
17919 cat confdefs.h >>conftest.$ac_ext
17920 cat >>conftest.$ac_ext <<_ACEOF
17921 /* end confdefs.h. */
17922
17923 int
17924 main ()
17925 {
17926
17927 ;
17928 return 0;
17929 }
17930 _ACEOF
17931 rm -f conftest.$ac_objext
17932 if { (ac_try="$ac_compile"
17933 case "(($ac_try" in
17934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17935 *) ac_try_echo=$ac_try;;
17936 esac
17937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17938 (eval "$ac_compile") 2>conftest.er1
17939 ac_status=$?
17940 grep -v '^ *+' conftest.er1 >conftest.err
17941 rm -f conftest.er1
17942 cat conftest.err >&5
17943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17944 (exit $ac_status); } && {
17945 test -z "$ac_cxx_werror_flag" ||
17946 test ! -s conftest.err
17947 } && test -s conftest.$ac_objext; then
17948 ac_cv_prog_cxx_g=yes
17949 else
17950 echo "$as_me: failed program was:" >&5
17951 sed 's/^/| /' conftest.$ac_ext >&5
17952
17953
17954 fi
17955
17956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17957 fi
17958
17959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17960 fi
17961
17962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17963 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
17964 fi
17965 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
17966 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
17967 if test "$ac_test_CXXFLAGS" = set; then
17968 CXXFLAGS=$ac_save_CXXFLAGS
17969 elif test $ac_cv_prog_cxx_g = yes; then
17970 if test "$GXX" = yes; then
17971 CXXFLAGS="-g -O2"
17972 else
17973 CXXFLAGS="-g"
17974 fi
17975 else
17976 if test "$GXX" = yes; then
17977 CXXFLAGS="-O2"
17978 else
17979 CXXFLAGS=
17980 fi
17981 fi
17982 ac_ext=c
17983 ac_cpp='$CPP $CPPFLAGS'
17984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17987
17988
17989
17990
17991
17992
17993
17994
17995 ac_ext=cpp
17996 ac_cpp='$CXXCPP $CPPFLAGS'
17997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18000
18001 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
18002 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
18003 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
18004 echo $ECHO_N "(cached) $ECHO_C" >&6
18005 else
18006 cat >conftest.$ac_ext <<_ACEOF
18007 /* confdefs.h. */
18008 _ACEOF
18009 cat confdefs.h >>conftest.$ac_ext
18010 cat >>conftest.$ac_ext <<_ACEOF
18011 /* end confdefs.h. */
18012
18013 int
18014 main ()
18015 {
18016
18017 #ifndef __INTEL_COMPILER
18018 choke me
18019 #endif
18020
18021 ;
18022 return 0;
18023 }
18024 _ACEOF
18025 rm -f conftest.$ac_objext
18026 if { (ac_try="$ac_compile"
18027 case "(($ac_try" in
18028 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18029 *) ac_try_echo=$ac_try;;
18030 esac
18031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18032 (eval "$ac_compile") 2>conftest.er1
18033 ac_status=$?
18034 grep -v '^ *+' conftest.er1 >conftest.err
18035 rm -f conftest.er1
18036 cat conftest.err >&5
18037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18038 (exit $ac_status); } && {
18039 test -z "$ac_cxx_werror_flag" ||
18040 test ! -s conftest.err
18041 } && test -s conftest.$ac_objext; then
18042 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
18043 else
18044 echo "$as_me: failed program was:" >&5
18045 sed 's/^/| /' conftest.$ac_ext >&5
18046
18047 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
18048
18049 fi
18050
18051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18052
18053
18054 fi
18055 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
18056 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
18057 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
18058 :; INTELCXX=yes
18059 else
18060 :;
18061 fi
18062 ac_ext=c
18063 ac_cpp='$CPP $CPPFLAGS'
18064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18067
18068
18069
18070
18071 if test "$INTELCXX" = "yes"; then
18072
18073
18074 ac_ext=cpp
18075 ac_cpp='$CXXCPP $CPPFLAGS'
18076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18079
18080 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v8 or later" >&5
18081 echo $ECHO_N "checking whether we are using Intel C++ compiler v8 or later... $ECHO_C" >&6; }
18082 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800+set}" = set; then
18083 echo $ECHO_N "(cached) $ECHO_C" >&6
18084 else
18085 cat >conftest.$ac_ext <<_ACEOF
18086 /* confdefs.h. */
18087 _ACEOF
18088 cat confdefs.h >>conftest.$ac_ext
18089 cat >>conftest.$ac_ext <<_ACEOF
18090 /* end confdefs.h. */
18091
18092 int
18093 main ()
18094 {
18095
18096 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
18097 choke me
18098 #endif
18099
18100 ;
18101 return 0;
18102 }
18103 _ACEOF
18104 rm -f conftest.$ac_objext
18105 if { (ac_try="$ac_compile"
18106 case "(($ac_try" in
18107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18108 *) ac_try_echo=$ac_try;;
18109 esac
18110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18111 (eval "$ac_compile") 2>conftest.er1
18112 ac_status=$?
18113 grep -v '^ *+' conftest.er1 >conftest.err
18114 rm -f conftest.er1
18115 cat conftest.err >&5
18116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18117 (exit $ac_status); } && {
18118 test -z "$ac_cxx_werror_flag" ||
18119 test ! -s conftest.err
18120 } && test -s conftest.$ac_objext; then
18121 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=yes
18122 else
18123 echo "$as_me: failed program was:" >&5
18124 sed 's/^/| /' conftest.$ac_ext >&5
18125
18126 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=no
18127
18128 fi
18129
18130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18131
18132
18133 fi
18134 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&5
18135 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&6; }
18136 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
18137 :; INTELCXX8=yes
18138 else
18139 :;
18140 fi
18141 ac_ext=c
18142 ac_cpp='$CPP $CPPFLAGS'
18143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18146
18147
18148
18149
18150
18151 ac_ext=cpp
18152 ac_cpp='$CXXCPP $CPPFLAGS'
18153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18156
18157 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v10 or later" >&5
18158 echo $ECHO_N "checking whether we are using Intel C++ compiler v10 or later... $ECHO_C" >&6; }
18159 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
18160 echo $ECHO_N "(cached) $ECHO_C" >&6
18161 else
18162 cat >conftest.$ac_ext <<_ACEOF
18163 /* confdefs.h. */
18164 _ACEOF
18165 cat confdefs.h >>conftest.$ac_ext
18166 cat >>conftest.$ac_ext <<_ACEOF
18167 /* end confdefs.h. */
18168
18169 int
18170 main ()
18171 {
18172
18173 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
18174 choke me
18175 #endif
18176
18177 ;
18178 return 0;
18179 }
18180 _ACEOF
18181 rm -f conftest.$ac_objext
18182 if { (ac_try="$ac_compile"
18183 case "(($ac_try" in
18184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18185 *) ac_try_echo=$ac_try;;
18186 esac
18187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18188 (eval "$ac_compile") 2>conftest.er1
18189 ac_status=$?
18190 grep -v '^ *+' conftest.er1 >conftest.err
18191 rm -f conftest.er1
18192 cat conftest.err >&5
18193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18194 (exit $ac_status); } && {
18195 test -z "$ac_cxx_werror_flag" ||
18196 test ! -s conftest.err
18197 } && test -s conftest.$ac_objext; then
18198 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=yes
18199 else
18200 echo "$as_me: failed program was:" >&5
18201 sed 's/^/| /' conftest.$ac_ext >&5
18202
18203 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=no
18204
18205 fi
18206
18207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18208
18209
18210 fi
18211 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&5
18212 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&6; }
18213 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
18214 :; INTELCXX10=yes
18215 else
18216 :;
18217 fi
18218 ac_ext=c
18219 ac_cpp='$CPP $CPPFLAGS'
18220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18223
18224
18225
18226 fi
18227
18228 if test "x$GCXX" != "xyes"; then
18229 if test "xCXX" = "xC"; then
18230 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
18231 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
18232 if test "${bakefile_cv_c_exto+set}" = set; then
18233 echo $ECHO_N "(cached) $ECHO_C" >&6
18234 else
18235 cat >conftest.$ac_ext <<_ACEOF
18236 /* confdefs.h. */
18237 _ACEOF
18238 cat confdefs.h >>conftest.$ac_ext
18239 cat >>conftest.$ac_ext <<_ACEOF
18240 /* end confdefs.h. */
18241
18242 int
18243 main ()
18244 {
18245
18246 ;
18247 return 0;
18248 }
18249 _ACEOF
18250 rm -f conftest.$ac_objext conftest.$ac_ext.o
18251 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18252 (eval $ac_compile) 2>&5
18253 ac_status=$?
18254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18255 (exit $ac_status); }; then
18256 for ac_file in `(ls conftest.* 2>/dev/null)`; do
18257 case $ac_file in
18258 conftest.$ac_ext.o)
18259 bakefile_cv_c_exto="-ext o"
18260 ;;
18261 *)
18262 ;;
18263 esac
18264 done
18265 else
18266 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
18267 See \`config.log' for more details." >&5
18268 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
18269 See \`config.log' for more details." >&2;}
18270 { (exit 1); exit 1; }; }
18271
18272 fi
18273
18274 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
18275
18276 fi
18277 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
18278 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
18279 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18280 if test "c" = "c"; then
18281 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
18282 fi
18283 if test "c" = "cxx"; then
18284 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
18285 fi
18286 fi
18287
18288 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18289 unset ac_cv_prog_cc_g
18290 ac_test_CFLAGS=${CFLAGS+set}
18291 ac_save_CFLAGS=$CFLAGS
18292 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
18293 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
18294 if test "${ac_cv_prog_cc_g+set}" = set; then
18295 echo $ECHO_N "(cached) $ECHO_C" >&6
18296 else
18297 ac_save_c_werror_flag=$ac_c_werror_flag
18298 ac_c_werror_flag=yes
18299 ac_cv_prog_cc_g=no
18300 CFLAGS="-g"
18301 cat >conftest.$ac_ext <<_ACEOF
18302 /* confdefs.h. */
18303 _ACEOF
18304 cat confdefs.h >>conftest.$ac_ext
18305 cat >>conftest.$ac_ext <<_ACEOF
18306 /* end confdefs.h. */
18307
18308 int
18309 main ()
18310 {
18311
18312 ;
18313 return 0;
18314 }
18315 _ACEOF
18316 rm -f conftest.$ac_objext
18317 if { (ac_try="$ac_compile"
18318 case "(($ac_try" in
18319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18320 *) ac_try_echo=$ac_try;;
18321 esac
18322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18323 (eval "$ac_compile") 2>conftest.er1
18324 ac_status=$?
18325 grep -v '^ *+' conftest.er1 >conftest.err
18326 rm -f conftest.er1
18327 cat conftest.err >&5
18328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18329 (exit $ac_status); } && {
18330 test -z "$ac_c_werror_flag" ||
18331 test ! -s conftest.err
18332 } && test -s conftest.$ac_objext; then
18333 ac_cv_prog_cc_g=yes
18334 else
18335 echo "$as_me: failed program was:" >&5
18336 sed 's/^/| /' conftest.$ac_ext >&5
18337
18338 CFLAGS=""
18339 cat >conftest.$ac_ext <<_ACEOF
18340 /* confdefs.h. */
18341 _ACEOF
18342 cat confdefs.h >>conftest.$ac_ext
18343 cat >>conftest.$ac_ext <<_ACEOF
18344 /* end confdefs.h. */
18345
18346 int
18347 main ()
18348 {
18349
18350 ;
18351 return 0;
18352 }
18353 _ACEOF
18354 rm -f conftest.$ac_objext
18355 if { (ac_try="$ac_compile"
18356 case "(($ac_try" in
18357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18358 *) ac_try_echo=$ac_try;;
18359 esac
18360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18361 (eval "$ac_compile") 2>conftest.er1
18362 ac_status=$?
18363 grep -v '^ *+' conftest.er1 >conftest.err
18364 rm -f conftest.er1
18365 cat conftest.err >&5
18366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18367 (exit $ac_status); } && {
18368 test -z "$ac_c_werror_flag" ||
18369 test ! -s conftest.err
18370 } && test -s conftest.$ac_objext; then
18371 :
18372 else
18373 echo "$as_me: failed program was:" >&5
18374 sed 's/^/| /' conftest.$ac_ext >&5
18375
18376 ac_c_werror_flag=$ac_save_c_werror_flag
18377 CFLAGS="-g"
18378 cat >conftest.$ac_ext <<_ACEOF
18379 /* confdefs.h. */
18380 _ACEOF
18381 cat confdefs.h >>conftest.$ac_ext
18382 cat >>conftest.$ac_ext <<_ACEOF
18383 /* end confdefs.h. */
18384
18385 int
18386 main ()
18387 {
18388
18389 ;
18390 return 0;
18391 }
18392 _ACEOF
18393 rm -f conftest.$ac_objext
18394 if { (ac_try="$ac_compile"
18395 case "(($ac_try" in
18396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18397 *) ac_try_echo=$ac_try;;
18398 esac
18399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18400 (eval "$ac_compile") 2>conftest.er1
18401 ac_status=$?
18402 grep -v '^ *+' conftest.er1 >conftest.err
18403 rm -f conftest.er1
18404 cat conftest.err >&5
18405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18406 (exit $ac_status); } && {
18407 test -z "$ac_c_werror_flag" ||
18408 test ! -s conftest.err
18409 } && test -s conftest.$ac_objext; then
18410 ac_cv_prog_cc_g=yes
18411 else
18412 echo "$as_me: failed program was:" >&5
18413 sed 's/^/| /' conftest.$ac_ext >&5
18414
18415
18416 fi
18417
18418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18419 fi
18420
18421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18422 fi
18423
18424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18425 ac_c_werror_flag=$ac_save_c_werror_flag
18426 fi
18427 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
18428 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
18429 if test "$ac_test_CFLAGS" = set; then
18430 CFLAGS=$ac_save_CFLAGS
18431 elif test $ac_cv_prog_cc_g = yes; then
18432 if test "$GCC" = yes; then
18433 CFLAGS="-g -O2"
18434 else
18435 CFLAGS="-g"
18436 fi
18437 else
18438 if test "$GCC" = yes; then
18439 CFLAGS="-O2"
18440 else
18441 CFLAGS=
18442 fi
18443 fi
18444 fi
18445 fi
18446
18447 case `uname -s` in
18448 AIX*)
18449
18450
18451 ac_ext=cpp
18452 ac_cpp='$CXXCPP $CPPFLAGS'
18453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18456
18457 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
18458 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
18459 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
18460 echo $ECHO_N "(cached) $ECHO_C" >&6
18461 else
18462 cat >conftest.$ac_ext <<_ACEOF
18463 /* confdefs.h. */
18464 _ACEOF
18465 cat confdefs.h >>conftest.$ac_ext
18466 cat >>conftest.$ac_ext <<_ACEOF
18467 /* end confdefs.h. */
18468
18469 int
18470 main ()
18471 {
18472
18473 #ifndef __xlC__
18474 choke me
18475 #endif
18476
18477 ;
18478 return 0;
18479 }
18480 _ACEOF
18481 rm -f conftest.$ac_objext
18482 if { (ac_try="$ac_compile"
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_compile") 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_objext; then
18498 bakefile_cv_cxx_compiler___xlC__=yes
18499 else
18500 echo "$as_me: failed program was:" >&5
18501 sed 's/^/| /' conftest.$ac_ext >&5
18502
18503 bakefile_cv_cxx_compiler___xlC__=no
18504
18505 fi
18506
18507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18508
18509
18510 fi
18511 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18512 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
18513 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18514 :; XLCXX=yes
18515 else
18516 :;
18517 fi
18518 ac_ext=c
18519 ac_cpp='$CPP $CPPFLAGS'
18520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18523
18524
18525
18526 ;;
18527
18528 Darwin)
18529
18530
18531 ac_ext=cpp
18532 ac_cpp='$CXXCPP $CPPFLAGS'
18533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18536
18537 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
18538 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
18539 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
18540 echo $ECHO_N "(cached) $ECHO_C" >&6
18541 else
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
18553 #ifndef __MWERKS__
18554 choke me
18555 #endif
18556
18557 ;
18558 return 0;
18559 }
18560 _ACEOF
18561 rm -f conftest.$ac_objext
18562 if { (ac_try="$ac_compile"
18563 case "(($ac_try" in
18564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18565 *) ac_try_echo=$ac_try;;
18566 esac
18567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18568 (eval "$ac_compile") 2>conftest.er1
18569 ac_status=$?
18570 grep -v '^ *+' conftest.er1 >conftest.err
18571 rm -f conftest.er1
18572 cat conftest.err >&5
18573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18574 (exit $ac_status); } && {
18575 test -z "$ac_cxx_werror_flag" ||
18576 test ! -s conftest.err
18577 } && test -s conftest.$ac_objext; then
18578 bakefile_cv_cxx_compiler___MWERKS__=yes
18579 else
18580 echo "$as_me: failed program was:" >&5
18581 sed 's/^/| /' conftest.$ac_ext >&5
18582
18583 bakefile_cv_cxx_compiler___MWERKS__=no
18584
18585 fi
18586
18587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18588
18589
18590 fi
18591 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
18592 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
18593 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
18594 :; MWCXX=yes
18595 else
18596 :;
18597 fi
18598 ac_ext=c
18599 ac_cpp='$CPP $CPPFLAGS'
18600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18603
18604
18605
18606 if test "$MWCXX" != "yes"; then
18607
18608
18609 ac_ext=cpp
18610 ac_cpp='$CXXCPP $CPPFLAGS'
18611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18614
18615 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
18616 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
18617 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
18618 echo $ECHO_N "(cached) $ECHO_C" >&6
18619 else
18620 cat >conftest.$ac_ext <<_ACEOF
18621 /* confdefs.h. */
18622 _ACEOF
18623 cat confdefs.h >>conftest.$ac_ext
18624 cat >>conftest.$ac_ext <<_ACEOF
18625 /* end confdefs.h. */
18626
18627 int
18628 main ()
18629 {
18630
18631 #ifndef __xlC__
18632 choke me
18633 #endif
18634
18635 ;
18636 return 0;
18637 }
18638 _ACEOF
18639 rm -f conftest.$ac_objext
18640 if { (ac_try="$ac_compile"
18641 case "(($ac_try" in
18642 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18643 *) ac_try_echo=$ac_try;;
18644 esac
18645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18646 (eval "$ac_compile") 2>conftest.er1
18647 ac_status=$?
18648 grep -v '^ *+' conftest.er1 >conftest.err
18649 rm -f conftest.er1
18650 cat conftest.err >&5
18651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18652 (exit $ac_status); } && {
18653 test -z "$ac_cxx_werror_flag" ||
18654 test ! -s conftest.err
18655 } && test -s conftest.$ac_objext; then
18656 bakefile_cv_cxx_compiler___xlC__=yes
18657 else
18658 echo "$as_me: failed program was:" >&5
18659 sed 's/^/| /' conftest.$ac_ext >&5
18660
18661 bakefile_cv_cxx_compiler___xlC__=no
18662
18663 fi
18664
18665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18666
18667
18668 fi
18669 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18670 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
18671 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18672 :; XLCXX=yes
18673 else
18674 :;
18675 fi
18676 ac_ext=c
18677 ac_cpp='$CPP $CPPFLAGS'
18678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18681
18682
18683
18684 fi
18685 ;;
18686
18687 IRIX*)
18688
18689
18690 ac_ext=cpp
18691 ac_cpp='$CXXCPP $CPPFLAGS'
18692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18695
18696 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
18697 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
18698 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
18699 echo $ECHO_N "(cached) $ECHO_C" >&6
18700 else
18701 cat >conftest.$ac_ext <<_ACEOF
18702 /* confdefs.h. */
18703 _ACEOF
18704 cat confdefs.h >>conftest.$ac_ext
18705 cat >>conftest.$ac_ext <<_ACEOF
18706 /* end confdefs.h. */
18707
18708 int
18709 main ()
18710 {
18711
18712 #ifndef _SGI_COMPILER_VERSION
18713 choke me
18714 #endif
18715
18716 ;
18717 return 0;
18718 }
18719 _ACEOF
18720 rm -f conftest.$ac_objext
18721 if { (ac_try="$ac_compile"
18722 case "(($ac_try" in
18723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18724 *) ac_try_echo=$ac_try;;
18725 esac
18726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18727 (eval "$ac_compile") 2>conftest.er1
18728 ac_status=$?
18729 grep -v '^ *+' conftest.er1 >conftest.err
18730 rm -f conftest.er1
18731 cat conftest.err >&5
18732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18733 (exit $ac_status); } && {
18734 test -z "$ac_cxx_werror_flag" ||
18735 test ! -s conftest.err
18736 } && test -s conftest.$ac_objext; then
18737 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
18738 else
18739 echo "$as_me: failed program was:" >&5
18740 sed 's/^/| /' conftest.$ac_ext >&5
18741
18742 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
18743
18744 fi
18745
18746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18747
18748
18749 fi
18750 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
18751 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
18752 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
18753 :; SGICXX=yes
18754 else
18755 :;
18756 fi
18757 ac_ext=c
18758 ac_cpp='$CPP $CPPFLAGS'
18759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18762
18763
18764
18765 ;;
18766
18767 Linux*)
18768 if test "$INTELCXX" != "yes"; then
18769
18770
18771 ac_ext=cpp
18772 ac_cpp='$CXXCPP $CPPFLAGS'
18773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18776
18777 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
18778 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
18779 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
18780 echo $ECHO_N "(cached) $ECHO_C" >&6
18781 else
18782 cat >conftest.$ac_ext <<_ACEOF
18783 /* confdefs.h. */
18784 _ACEOF
18785 cat confdefs.h >>conftest.$ac_ext
18786 cat >>conftest.$ac_ext <<_ACEOF
18787 /* end confdefs.h. */
18788
18789 int
18790 main ()
18791 {
18792
18793 #ifndef __SUNPRO_CC
18794 choke me
18795 #endif
18796
18797 ;
18798 return 0;
18799 }
18800 _ACEOF
18801 rm -f conftest.$ac_objext
18802 if { (ac_try="$ac_compile"
18803 case "(($ac_try" in
18804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18805 *) ac_try_echo=$ac_try;;
18806 esac
18807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18808 (eval "$ac_compile") 2>conftest.er1
18809 ac_status=$?
18810 grep -v '^ *+' conftest.er1 >conftest.err
18811 rm -f conftest.er1
18812 cat conftest.err >&5
18813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18814 (exit $ac_status); } && {
18815 test -z "$ac_cxx_werror_flag" ||
18816 test ! -s conftest.err
18817 } && test -s conftest.$ac_objext; then
18818 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
18819 else
18820 echo "$as_me: failed program was:" >&5
18821 sed 's/^/| /' conftest.$ac_ext >&5
18822
18823 bakefile_cv_cxx_compiler___SUNPRO_CC=no
18824
18825 fi
18826
18827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18828
18829
18830 fi
18831 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
18832 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
18833 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
18834 :; SUNCXX=yes
18835 else
18836 :;
18837 fi
18838 ac_ext=c
18839 ac_cpp='$CPP $CPPFLAGS'
18840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18843
18844
18845
18846 fi
18847 ;;
18848
18849 HP-UX*)
18850
18851
18852 ac_ext=cpp
18853 ac_cpp='$CXXCPP $CPPFLAGS'
18854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18857
18858 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
18859 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
18860 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
18861 echo $ECHO_N "(cached) $ECHO_C" >&6
18862 else
18863 cat >conftest.$ac_ext <<_ACEOF
18864 /* confdefs.h. */
18865 _ACEOF
18866 cat confdefs.h >>conftest.$ac_ext
18867 cat >>conftest.$ac_ext <<_ACEOF
18868 /* end confdefs.h. */
18869
18870 int
18871 main ()
18872 {
18873
18874 #ifndef __HP_aCC
18875 choke me
18876 #endif
18877
18878 ;
18879 return 0;
18880 }
18881 _ACEOF
18882 rm -f conftest.$ac_objext
18883 if { (ac_try="$ac_compile"
18884 case "(($ac_try" in
18885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18886 *) ac_try_echo=$ac_try;;
18887 esac
18888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18889 (eval "$ac_compile") 2>conftest.er1
18890 ac_status=$?
18891 grep -v '^ *+' conftest.er1 >conftest.err
18892 rm -f conftest.er1
18893 cat conftest.err >&5
18894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18895 (exit $ac_status); } && {
18896 test -z "$ac_cxx_werror_flag" ||
18897 test ! -s conftest.err
18898 } && test -s conftest.$ac_objext; then
18899 bakefile_cv_cxx_compiler___HP_aCC=yes
18900 else
18901 echo "$as_me: failed program was:" >&5
18902 sed 's/^/| /' conftest.$ac_ext >&5
18903
18904 bakefile_cv_cxx_compiler___HP_aCC=no
18905
18906 fi
18907
18908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18909
18910
18911 fi
18912 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
18913 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
18914 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
18915 :; HPCXX=yes
18916 else
18917 :;
18918 fi
18919 ac_ext=c
18920 ac_cpp='$CPP $CPPFLAGS'
18921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18924
18925
18926
18927 ;;
18928
18929 OSF1)
18930
18931
18932 ac_ext=cpp
18933 ac_cpp='$CXXCPP $CPPFLAGS'
18934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18937
18938 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
18939 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
18940 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
18941 echo $ECHO_N "(cached) $ECHO_C" >&6
18942 else
18943 cat >conftest.$ac_ext <<_ACEOF
18944 /* confdefs.h. */
18945 _ACEOF
18946 cat confdefs.h >>conftest.$ac_ext
18947 cat >>conftest.$ac_ext <<_ACEOF
18948 /* end confdefs.h. */
18949
18950 int
18951 main ()
18952 {
18953
18954 #ifndef __DECCXX
18955 choke me
18956 #endif
18957
18958 ;
18959 return 0;
18960 }
18961 _ACEOF
18962 rm -f conftest.$ac_objext
18963 if { (ac_try="$ac_compile"
18964 case "(($ac_try" in
18965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18966 *) ac_try_echo=$ac_try;;
18967 esac
18968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18969 (eval "$ac_compile") 2>conftest.er1
18970 ac_status=$?
18971 grep -v '^ *+' conftest.er1 >conftest.err
18972 rm -f conftest.er1
18973 cat conftest.err >&5
18974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18975 (exit $ac_status); } && {
18976 test -z "$ac_cxx_werror_flag" ||
18977 test ! -s conftest.err
18978 } && test -s conftest.$ac_objext; then
18979 bakefile_cv_cxx_compiler___DECCXX=yes
18980 else
18981 echo "$as_me: failed program was:" >&5
18982 sed 's/^/| /' conftest.$ac_ext >&5
18983
18984 bakefile_cv_cxx_compiler___DECCXX=no
18985
18986 fi
18987
18988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18989
18990
18991 fi
18992 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
18993 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
18994 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
18995 :; COMPAQCXX=yes
18996 else
18997 :;
18998 fi
18999 ac_ext=c
19000 ac_cpp='$CPP $CPPFLAGS'
19001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19004
19005
19006
19007 ;;
19008
19009 SunOS)
19010
19011
19012 ac_ext=cpp
19013 ac_cpp='$CXXCPP $CPPFLAGS'
19014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19017
19018 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
19019 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
19020 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
19021 echo $ECHO_N "(cached) $ECHO_C" >&6
19022 else
19023 cat >conftest.$ac_ext <<_ACEOF
19024 /* confdefs.h. */
19025 _ACEOF
19026 cat confdefs.h >>conftest.$ac_ext
19027 cat >>conftest.$ac_ext <<_ACEOF
19028 /* end confdefs.h. */
19029
19030 int
19031 main ()
19032 {
19033
19034 #ifndef __SUNPRO_CC
19035 choke me
19036 #endif
19037
19038 ;
19039 return 0;
19040 }
19041 _ACEOF
19042 rm -f conftest.$ac_objext
19043 if { (ac_try="$ac_compile"
19044 case "(($ac_try" in
19045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19046 *) ac_try_echo=$ac_try;;
19047 esac
19048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19049 (eval "$ac_compile") 2>conftest.er1
19050 ac_status=$?
19051 grep -v '^ *+' conftest.er1 >conftest.err
19052 rm -f conftest.er1
19053 cat conftest.err >&5
19054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19055 (exit $ac_status); } && {
19056 test -z "$ac_cxx_werror_flag" ||
19057 test ! -s conftest.err
19058 } && test -s conftest.$ac_objext; then
19059 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
19060 else
19061 echo "$as_me: failed program was:" >&5
19062 sed 's/^/| /' conftest.$ac_ext >&5
19063
19064 bakefile_cv_cxx_compiler___SUNPRO_CC=no
19065
19066 fi
19067
19068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19069
19070
19071 fi
19072 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
19073 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
19074 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
19075 :; SUNCXX=yes
19076 else
19077 :;
19078 fi
19079 ac_ext=c
19080 ac_cpp='$CPP $CPPFLAGS'
19081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19084
19085
19086
19087 ;;
19088 esac
19089 fi
19090
19091
19092
19093 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
19094 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
19095 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
19096 { (exit 1); exit 1; }; }
19097 fi
19098
19099 if test "x$SUNCXX" != xyes; then
19100 if test -n "$ac_tool_prefix"; then
19101 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
19102 set dummy ${ac_tool_prefix}ar; ac_word=$2
19103 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19104 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19105 if test "${ac_cv_prog_AR+set}" = set; then
19106 echo $ECHO_N "(cached) $ECHO_C" >&6
19107 else
19108 if test -n "$AR"; then
19109 ac_cv_prog_AR="$AR" # Let the user override the test.
19110 else
19111 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19112 for as_dir in $PATH
19113 do
19114 IFS=$as_save_IFS
19115 test -z "$as_dir" && as_dir=.
19116 for ac_exec_ext in '' $ac_executable_extensions; do
19117 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19118 ac_cv_prog_AR="${ac_tool_prefix}ar"
19119 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19120 break 2
19121 fi
19122 done
19123 done
19124 IFS=$as_save_IFS
19125
19126 fi
19127 fi
19128 AR=$ac_cv_prog_AR
19129 if test -n "$AR"; then
19130 { echo "$as_me:$LINENO: result: $AR" >&5
19131 echo "${ECHO_T}$AR" >&6; }
19132 else
19133 { echo "$as_me:$LINENO: result: no" >&5
19134 echo "${ECHO_T}no" >&6; }
19135 fi
19136
19137
19138 fi
19139 if test -z "$ac_cv_prog_AR"; then
19140 ac_ct_AR=$AR
19141 # Extract the first word of "ar", so it can be a program name with args.
19142 set dummy ar; ac_word=$2
19143 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19144 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19145 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
19146 echo $ECHO_N "(cached) $ECHO_C" >&6
19147 else
19148 if test -n "$ac_ct_AR"; then
19149 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
19150 else
19151 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19152 for as_dir in $PATH
19153 do
19154 IFS=$as_save_IFS
19155 test -z "$as_dir" && as_dir=.
19156 for ac_exec_ext in '' $ac_executable_extensions; do
19157 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19158 ac_cv_prog_ac_ct_AR="ar"
19159 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19160 break 2
19161 fi
19162 done
19163 done
19164 IFS=$as_save_IFS
19165
19166 fi
19167 fi
19168 ac_ct_AR=$ac_cv_prog_ac_ct_AR
19169 if test -n "$ac_ct_AR"; then
19170 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
19171 echo "${ECHO_T}$ac_ct_AR" >&6; }
19172 else
19173 { echo "$as_me:$LINENO: result: no" >&5
19174 echo "${ECHO_T}no" >&6; }
19175 fi
19176
19177 if test "x$ac_ct_AR" = x; then
19178 AR=""
19179 else
19180 case $cross_compiling:$ac_tool_warned in
19181 yes:)
19182 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19183 whose name does not start with the host triplet. If you think this
19184 configuration is useful to you, please write to autoconf@gnu.org." >&5
19185 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19186 whose name does not start with the host triplet. If you think this
19187 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19188 ac_tool_warned=yes ;;
19189 esac
19190 AR=$ac_ct_AR
19191 fi
19192 else
19193 AR="$ac_cv_prog_AR"
19194 fi
19195
19196 if test "x$AR" = "x" ; then
19197 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
19198 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
19199 { (exit 1); exit 1; }; }
19200 fi
19201 fi
19202
19203
19204 if test "$wxUSE_MAC" = 1; then
19205
19206 retest_macosx_linking=no
19207
19208 OSX_ARCH_OPTS=""
19209 if test "x$wxUSE_MAC_ARCH" != xno; then
19210 OSX_ARCH_OPTS="-arch $wxUSE_MAC_ARCH"
19211 fi
19212
19213 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
19214 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
19215 # Implicitly turn on the new --with-macosx-sdk using the default
19216 # SDK which provides the behaviour this option has always had.
19217 if test "x$wxUSE_MACOSX_SDK" = "x"; then
19218 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
19219 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
19220 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
19221 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
19222 wxUSE_MACOSX_SDK=yes
19223 fi
19224 else
19225 # Complain to user if he specified an argument to --enable-universal_binary
19226 # and also 1) specified --with-macosx-sdk using the default (yes) or
19227 # 2) specified --with-macosx-sdk using a path or 3) specified
19228 # --without-macosx-sdk (no).
19229 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
19230 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
19231 See \`config.log' for more details." >&5
19232 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
19233 See \`config.log' for more details." >&2;}
19234 { (exit 1); exit 1; }; }
19235 else
19236 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
19237 # special-case the empty string because the below test simply
19238 # converts "no" to the empty string anyway.
19239 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
19240 { echo "$as_me:$LINENO: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&5
19241 echo "$as_me: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&2;}
19242 fi
19243 fi
19244 OSX_ARCH_OPTS="-arch ppc -arch i386"
19245 if test "$wxUSE_OSX_COCOA" = 1; then
19246 OSX_ARCH_OPTS="$OSX_ARCH_OPTS -arch x86_64"
19247 fi
19248 { echo "$as_me:$LINENO: checking for universal binary architectures" >&5
19249 echo $ECHO_N "checking for universal binary architectures... $ECHO_C" >&6; }
19250 { echo "$as_me:$LINENO: result: $OSX_ARCH_OPTS" >&5
19251 echo "${ECHO_T}$OSX_ARCH_OPTS" >&6; }
19252
19253 retest_macosx_linking=yes
19254
19255 { echo "$as_me:$LINENO: WARNING: Disabling precompiled headers due to universal binary build." >&5
19256 echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
19257 bk_use_pch=no
19258 fi
19259
19260 CXXFLAGS="$OSX_ARCH_OPTS $CXXFLAGS"
19261 CFLAGS="$OSX_ARCH_OPTS $CFLAGS"
19262 OBJCXXFLAGS="$OSX_ARCH_OPTS $OBJCXXFLAGS"
19263 OBJCFLAGS="$OSX_ARCH_OPTS $OBJCFLAGS"
19264 LDFLAGS="$OSX_ARCH_OPTS $LDFLAGS"
19265
19266 if test "x$wxUSE_MACOSX_SDK" = "xno"; then
19267 wxUSE_MACOSX_SDK=
19268 elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
19269 # TODO: Search for most recent SDK and use it.
19270 wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
19271 fi
19272
19273
19274 if test "x$wxUSE_MACOSX_SDK" != "x"; then
19275 { echo "$as_me:$LINENO: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
19276 echo $ECHO_N "checking for SDK directory $wxUSE_MACOSX_SDK... $ECHO_C" >&6; }
19277 if ! test -d "$wxUSE_MACOSX_SDK"; then
19278 { { echo "$as_me:$LINENO: error: not found
19279 See \`config.log' for more details." >&5
19280 echo "$as_me: error: not found
19281 See \`config.log' for more details." >&2;}
19282 { (exit 1); exit 1; }; }
19283 else
19284 { echo "$as_me:$LINENO: result: exists" >&5
19285 echo "${ECHO_T}exists" >&6; }
19286 fi
19287 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
19288 retest_macosx_linking=yes
19289 fi
19290
19291 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
19292 wxUSE_MACOSX_VERSION_MIN=
19293 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
19294 if test "x$wxUSE_MACOSX_SDK" != "x"; then
19295 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
19296 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
19297
19298 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/'`
19299
19300 # If that failed, try again with the new key
19301 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
19302
19303 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/'`
19304
19305 fi
19306
19307 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
19308 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
19309 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
19310 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
19311 else
19312 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
19313 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
19314 wxUSE_MACOSX_VERSION_MIN=
19315 fi
19316 else
19317 wxUSE_MACOSX_VERSION_MIN=
19318 fi
19319 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
19320 for ac_prog in sw_vers
19321 do
19322 # Extract the first word of "$ac_prog", so it can be a program name with args.
19323 set dummy $ac_prog; ac_word=$2
19324 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19325 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19326 if test "${ac_cv_prog_OSX_SW_VERS+set}" = set; then
19327 echo $ECHO_N "(cached) $ECHO_C" >&6
19328 else
19329 if test -n "$OSX_SW_VERS"; then
19330 ac_cv_prog_OSX_SW_VERS="$OSX_SW_VERS" # Let the user override the test.
19331 else
19332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19333 for as_dir in $PATH
19334 do
19335 IFS=$as_save_IFS
19336 test -z "$as_dir" && as_dir=.
19337 for ac_exec_ext in '' $ac_executable_extensions; do
19338 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19339 ac_cv_prog_OSX_SW_VERS="$ac_prog"
19340 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19341 break 2
19342 fi
19343 done
19344 done
19345 IFS=$as_save_IFS
19346
19347 fi
19348 fi
19349 OSX_SW_VERS=$ac_cv_prog_OSX_SW_VERS
19350 if test -n "$OSX_SW_VERS"; then
19351 { echo "$as_me:$LINENO: result: $OSX_SW_VERS" >&5
19352 echo "${ECHO_T}$OSX_SW_VERS" >&6; }
19353 else
19354 { echo "$as_me:$LINENO: result: no" >&5
19355 echo "${ECHO_T}no" >&6; }
19356 fi
19357
19358
19359 test -n "$OSX_SW_VERS" && break
19360 done
19361
19362 if test "$OSX_SW_VERS" != ""; then
19363 OSX_VERSION=`sw_vers -productVersion | grep 10.[0-9]`
19364 else
19365 { echo "$as_me:$LINENO: WARNING: Assuming OS X 10.4, use --with-macosx-version-min to override." >&5
19366 echo "$as_me: WARNING: Assuming OS X 10.4, use --with-macosx-version-min to override." >&2;}
19367 OSX_VERSION="10.4"
19368 fi
19369
19370 case "$OSX_VERSION" in
19371 10.4* )
19372 wxUSE_MACOSX_VERSION_MIN=10.4
19373 ;;
19374
19375 * )
19376 if test "$wxUSE_OSX_CARBON" = 1; then
19377 # otherwise configure stops on leopard for universal_binary
19378 wxUSE_MACOSX_VERSION_MIN=10.4
19379 else
19380 # for Cocoa, use 10.5 to be able to compile it in 64 bits too
19381 wxUSE_MACOSX_VERSION_MIN=10.5
19382 fi
19383 ;;
19384 esac
19385 fi
19386
19387 NEEDS_GCC40="no"
19388 if test "x$wxUSE_MACOSX_VERSION_MIN" == "x10.4"; then
19389 NEEDS_GCC40="yes"
19390 fi
19391
19392 if test "$wxUSE_OSX_CARBON" = 1; then
19393 NEEDS_GCC40="yes"
19394 fi
19395
19396 if test "x$NEEDS_GCC40" == "xyes"; then
19397 # gcc 4.2 cannot compile 10.4 compatible code, so if the user is using it
19398 # and wants 10.4 compatible code, then 'downgrade' to 4.0
19399 # This is also the simplest way to get 32-bit binaries on Snow Leopard.
19400 if test "x$CC" = "xgcc"; then
19401 CCVERSION=`$CC --version | grep 4.[2-9].`
19402 if test "x$CCVERSION" != "x"; then
19403 echo "$as_me:$LINENO: WARNING: gcc >= 4.2 cannot compile 10.4 compatible code. Using gcc 4.0 instead."
19404 CC="gcc-4.0"
19405 fi
19406 fi
19407
19408 if test "x$CXX" = "xg++"; then
19409 CCVERSION=`$CXX --version | grep 4.[2-9].`
19410 if test "x$CCVERSION" != "x"; then
19411 CXX="g++-4.0"
19412 fi
19413 fi
19414 fi
19415
19416 if test "x$MACOSX_SDK_OPTS" != "x"; then
19417 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
19418 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
19419 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
19420 fi
19421
19422 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
19423 if test "$wxUSE_OSX_IPHONE" = 1; then
19424 MACOSX_VERSION_MIN_OPTS="-miphoneos-version-min=$wxUSE_MACOSX_VERSION_MIN"
19425 else
19426 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
19427 fi
19428 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
19429 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
19430 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
19431 retest_macosx_linking=yes
19432 fi
19433
19434 if test "x$retest_macosx_linking" = "xyes"; then
19435 ac_ext=c
19436 ac_cpp='$CPP $CPPFLAGS'
19437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19440
19441 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
19442 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
19443 cat >conftest.$ac_ext <<_ACEOF
19444 /* confdefs.h. */
19445 _ACEOF
19446 cat confdefs.h >>conftest.$ac_ext
19447 cat >>conftest.$ac_ext <<_ACEOF
19448 /* end confdefs.h. */
19449
19450 int
19451 main ()
19452 {
19453
19454 ;
19455 return 0;
19456 }
19457 _ACEOF
19458 rm -f conftest.$ac_objext conftest$ac_exeext
19459 if { (ac_try="$ac_link"
19460 case "(($ac_try" in
19461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19462 *) ac_try_echo=$ac_try;;
19463 esac
19464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19465 (eval "$ac_link") 2>conftest.er1
19466 ac_status=$?
19467 grep -v '^ *+' conftest.er1 >conftest.err
19468 rm -f conftest.er1
19469 cat conftest.err >&5
19470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19471 (exit $ac_status); } && {
19472 test -z "$ac_c_werror_flag" ||
19473 test ! -s conftest.err
19474 } && test -s conftest$ac_exeext &&
19475 $as_test_x conftest$ac_exeext; then
19476 { echo "$as_me:$LINENO: result: yes" >&5
19477 echo "${ECHO_T}yes" >&6; }
19478 else
19479 echo "$as_me: failed program was:" >&5
19480 sed 's/^/| /' conftest.$ac_ext >&5
19481
19482 { { echo "$as_me:$LINENO: error: no. Try a different SDK
19483 See \`config.log' for more details." >&5
19484 echo "$as_me: error: no. Try a different SDK
19485 See \`config.log' for more details." >&2;}
19486 { (exit 1); exit 1; }; }; exit 1
19487 fi
19488
19489 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19490 conftest$ac_exeext conftest.$ac_ext
19491 ac_ext=c
19492 ac_cpp='$CPP $CPPFLAGS'
19493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19496
19497
19498 ac_ext=cpp
19499 ac_cpp='$CXXCPP $CPPFLAGS'
19500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19503
19504 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
19505 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
19506 cat >conftest.$ac_ext <<_ACEOF
19507 /* confdefs.h. */
19508 _ACEOF
19509 cat confdefs.h >>conftest.$ac_ext
19510 cat >>conftest.$ac_ext <<_ACEOF
19511 /* end confdefs.h. */
19512
19513 int
19514 main ()
19515 {
19516
19517 ;
19518 return 0;
19519 }
19520 _ACEOF
19521 rm -f conftest.$ac_objext conftest$ac_exeext
19522 if { (ac_try="$ac_link"
19523 case "(($ac_try" in
19524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19525 *) ac_try_echo=$ac_try;;
19526 esac
19527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19528 (eval "$ac_link") 2>conftest.er1
19529 ac_status=$?
19530 grep -v '^ *+' conftest.er1 >conftest.err
19531 rm -f conftest.er1
19532 cat conftest.err >&5
19533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19534 (exit $ac_status); } && {
19535 test -z "$ac_cxx_werror_flag" ||
19536 test ! -s conftest.err
19537 } && test -s conftest$ac_exeext &&
19538 $as_test_x conftest$ac_exeext; then
19539 { echo "$as_me:$LINENO: result: yes" >&5
19540 echo "${ECHO_T}yes" >&6; }
19541 else
19542 echo "$as_me: failed program was:" >&5
19543 sed 's/^/| /' conftest.$ac_ext >&5
19544
19545 { { echo "$as_me:$LINENO: error: no. Try a different SDK
19546 See \`config.log' for more details." >&5
19547 echo "$as_me: error: no. Try a different SDK
19548 See \`config.log' for more details." >&2;}
19549 { (exit 1); exit 1; }; }; exit 1
19550 fi
19551
19552 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19553 conftest$ac_exeext conftest.$ac_ext
19554 ac_ext=c
19555 ac_cpp='$CPP $CPPFLAGS'
19556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19559
19560 fi
19561
19562 fi
19563 case "${host}" in
19564
19565 *-*-darwin* )
19566 INSTALL_PROGRAM="cp -fp"
19567 INSTALL_DATA="cp -fp"
19568 ;;
19569 *)
19570 ;;
19571 esac
19572
19573
19574 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
19575 cat >>confdefs.h <<\_ACEOF
19576 #define _GNU_SOURCE 1
19577 _ACEOF
19578
19579
19580 GNU_SOURCE_FLAG="-D_GNU_SOURCE"
19581 CFLAGS="$GNU_SOURCE_FLAG $CFLAGS"
19582 fi
19583
19584 if test "x$USE_AIX" = "x1"; then
19585 if test "x$XLCXX" = "xyes"; then
19586 CXXFLAGS="-qunique $CXXFLAGS"
19587 fi
19588
19589 CPPFLAGS="-D_LINUX_SOURCE_COMPAT $CPPFLAGS"
19590 fi
19591
19592 case "${host}" in
19593 powerpc-*-darwin* )
19594 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
19595 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
19596 cat >conftest.$ac_ext <<_ACEOF
19597 /* confdefs.h. */
19598 _ACEOF
19599 cat confdefs.h >>conftest.$ac_ext
19600 cat >>conftest.$ac_ext <<_ACEOF
19601 /* end confdefs.h. */
19602
19603 int
19604 main ()
19605 {
19606 #ifndef __POWERPC__
19607 choke me for lack of PowerPC
19608 #endif
19609
19610 ;
19611 return 0;
19612 }
19613 _ACEOF
19614 rm -f conftest.$ac_objext
19615 if { (ac_try="$ac_compile"
19616 case "(($ac_try" in
19617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19618 *) ac_try_echo=$ac_try;;
19619 esac
19620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19621 (eval "$ac_compile") 2>conftest.er1
19622 ac_status=$?
19623 grep -v '^ *+' conftest.er1 >conftest.err
19624 rm -f conftest.er1
19625 cat conftest.err >&5
19626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19627 (exit $ac_status); } && {
19628 test -z "$ac_c_werror_flag" ||
19629 test ! -s conftest.err
19630 } && test -s conftest.$ac_objext; then
19631 { echo "$as_me:$LINENO: result: yes" >&5
19632 echo "${ECHO_T}yes" >&6; }
19633 else
19634 echo "$as_me: failed program was:" >&5
19635 sed 's/^/| /' conftest.$ac_ext >&5
19636
19637 { echo "$as_me:$LINENO: result: no" >&5
19638 echo "${ECHO_T}no" >&6; }
19639 cat >>confdefs.h <<\_ACEOF
19640 #define __POWERPC__ 1
19641 _ACEOF
19642
19643
19644 fi
19645
19646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19647 ;;
19648 esac
19649
19650 case "${host}" in
19651 *-*-darwin* )
19652 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
19653 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
19654 cat >conftest.$ac_ext <<_ACEOF
19655 /* confdefs.h. */
19656 _ACEOF
19657 cat confdefs.h >>conftest.$ac_ext
19658 cat >>conftest.$ac_ext <<_ACEOF
19659 /* end confdefs.h. */
19660 #include <CoreFoundation/CFBase.h>
19661
19662 int
19663 main ()
19664 {
19665
19666 ;
19667 return 0;
19668 }
19669 _ACEOF
19670 rm -f conftest.$ac_objext
19671 if { (ac_try="$ac_compile"
19672 case "(($ac_try" in
19673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19674 *) ac_try_echo=$ac_try;;
19675 esac
19676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19677 (eval "$ac_compile") 2>conftest.er1
19678 ac_status=$?
19679 grep -v '^ *+' conftest.er1 >conftest.err
19680 rm -f conftest.er1
19681 cat conftest.err >&5
19682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19683 (exit $ac_status); } && {
19684 test -z "$ac_c_werror_flag" ||
19685 test ! -s conftest.err
19686 } && test -s conftest.$ac_objext; then
19687 { echo "$as_me:$LINENO: result: yes" >&5
19688 echo "${ECHO_T}yes" >&6; }
19689 else
19690 echo "$as_me: failed program was:" >&5
19691 sed 's/^/| /' conftest.$ac_ext >&5
19692
19693 { echo "$as_me:$LINENO: result: no" >&5
19694 echo "${ECHO_T}no" >&6; }
19695 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
19696 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
19697 cat >conftest.$ac_ext <<_ACEOF
19698 /* confdefs.h. */
19699 _ACEOF
19700 cat confdefs.h >>conftest.$ac_ext
19701 cat >>conftest.$ac_ext <<_ACEOF
19702 /* end confdefs.h. */
19703 #define __CF_USE_FRAMEWORK_INCLUDES__
19704 #include <CoreFoundation/CFBase.h>
19705
19706 int
19707 main ()
19708 {
19709
19710 ;
19711 return 0;
19712 }
19713 _ACEOF
19714 rm -f conftest.$ac_objext
19715 if { (ac_try="$ac_compile"
19716 case "(($ac_try" in
19717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19718 *) ac_try_echo=$ac_try;;
19719 esac
19720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19721 (eval "$ac_compile") 2>conftest.er1
19722 ac_status=$?
19723 grep -v '^ *+' conftest.er1 >conftest.err
19724 rm -f conftest.er1
19725 cat conftest.err >&5
19726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19727 (exit $ac_status); } && {
19728 test -z "$ac_c_werror_flag" ||
19729 test ! -s conftest.err
19730 } && test -s conftest.$ac_objext; then
19731 { echo "$as_me:$LINENO: result: yes" >&5
19732 echo "${ECHO_T}yes" >&6; }
19733 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
19734 else
19735 echo "$as_me: failed program was:" >&5
19736 sed 's/^/| /' conftest.$ac_ext >&5
19737
19738 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
19739 See \`config.log' for more details." >&5
19740 echo "$as_me: error: no. CoreFoundation not available.
19741 See \`config.log' for more details." >&2;}
19742 { (exit 1); exit 1; }; }
19743
19744 fi
19745
19746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19747
19748
19749 fi
19750
19751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19752 ;;
19753 esac
19754
19755 wants_win32=0
19756 doesnt_want_win32=0
19757 case "${host}" in
19758 *-*-cygwin*)
19759 if test "$wxUSE_MSW" = 1 ; then
19760 wants_win32=1
19761 else
19762 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
19763 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
19764 if test "${wx_cv_nocygwin+set}" = set; then
19765 echo $ECHO_N "(cached) $ECHO_C" >&6
19766 else
19767
19768 cat >conftest.$ac_ext <<_ACEOF
19769 /* confdefs.h. */
19770 _ACEOF
19771 cat confdefs.h >>conftest.$ac_ext
19772 cat >>conftest.$ac_ext <<_ACEOF
19773 /* end confdefs.h. */
19774
19775 int
19776 main ()
19777 {
19778
19779 #ifdef __MINGW32__
19780 choke me
19781 #endif
19782
19783 ;
19784 return 0;
19785 }
19786 _ACEOF
19787 rm -f conftest.$ac_objext
19788 if { (ac_try="$ac_compile"
19789 case "(($ac_try" in
19790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19791 *) ac_try_echo=$ac_try;;
19792 esac
19793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19794 (eval "$ac_compile") 2>conftest.er1
19795 ac_status=$?
19796 grep -v '^ *+' conftest.er1 >conftest.err
19797 rm -f conftest.er1
19798 cat conftest.err >&5
19799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19800 (exit $ac_status); } && {
19801 test -z "$ac_c_werror_flag" ||
19802 test ! -s conftest.err
19803 } && test -s conftest.$ac_objext; then
19804 wx_cv_nocygwin=no
19805 else
19806 echo "$as_me: failed program was:" >&5
19807 sed 's/^/| /' conftest.$ac_ext >&5
19808
19809 wx_cv_nocygwin=yes
19810
19811 fi
19812
19813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19814
19815
19816 fi
19817 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
19818 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
19819
19820 if test "$wx_cv_nocygwin" = "yes"; then
19821 wants_win32=1
19822 else
19823 doesnt_want_win32=1
19824 fi
19825 fi
19826 if test "$wants_win32" = 1 ; then
19827 BAKEFILE_FORCE_PLATFORM=win32
19828 fi
19829 ;;
19830 *-*-mingw*)
19831 wants_win32=1
19832 ;;
19833 esac
19834
19835 if test "$wxUSE_WINE" = "yes"; then
19836 wants_win32=1
19837 LDFLAGS_GUI="-mwindows"
19838 fi
19839
19840 if test "$wants_win32" = 1 ; then
19841 USE_UNIX=0
19842 USE_WIN32=1
19843 cat >>confdefs.h <<\_ACEOF
19844 #define __WIN32__ 1
19845 _ACEOF
19846
19847 cat >>confdefs.h <<\_ACEOF
19848 #define __WIN95__ 1
19849 _ACEOF
19850
19851 cat >>confdefs.h <<\_ACEOF
19852 #define __WINDOWS__ 1
19853 _ACEOF
19854
19855 cat >>confdefs.h <<\_ACEOF
19856 #define __GNUWIN32__ 1
19857 _ACEOF
19858
19859 cat >>confdefs.h <<\_ACEOF
19860 #define STRICT 1
19861 _ACEOF
19862
19863 fi
19864 if test "$doesnt_want_win32" = 1 ; then
19865 USE_UNIX=1
19866 USE_WIN32=0
19867 fi
19868
19869 if test "$USE_UNIX" = 1 ; then
19870 wxUSE_UNIX=yes
19871 cat >>confdefs.h <<\_ACEOF
19872 #define __UNIX__ 1
19873 _ACEOF
19874
19875 fi
19876
19877 case "${host}" in
19878 *-pc-os2_emx | *-pc-os2-emx )
19879 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
19880 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
19881 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
19882 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
19883 echo $ECHO_N "(cached) $ECHO_C" >&6
19884 else
19885 ac_check_lib_save_LIBS=$LIBS
19886 LIBS="-lcExt $LIBS"
19887 cat >conftest.$ac_ext <<_ACEOF
19888 /* confdefs.h. */
19889 _ACEOF
19890 cat confdefs.h >>conftest.$ac_ext
19891 cat >>conftest.$ac_ext <<_ACEOF
19892 /* end confdefs.h. */
19893
19894 /* Override any GCC internal prototype to avoid an error.
19895 Use char because int might match the return type of a GCC
19896 builtin and then its argument prototype would still apply. */
19897 #ifdef __cplusplus
19898 extern "C"
19899 #endif
19900 char drand48 ();
19901 int
19902 main ()
19903 {
19904 return drand48 ();
19905 ;
19906 return 0;
19907 }
19908 _ACEOF
19909 rm -f conftest.$ac_objext conftest$ac_exeext
19910 if { (ac_try="$ac_link"
19911 case "(($ac_try" in
19912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19913 *) ac_try_echo=$ac_try;;
19914 esac
19915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19916 (eval "$ac_link") 2>conftest.er1
19917 ac_status=$?
19918 grep -v '^ *+' conftest.er1 >conftest.err
19919 rm -f conftest.er1
19920 cat conftest.err >&5
19921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19922 (exit $ac_status); } && {
19923 test -z "$ac_c_werror_flag" ||
19924 test ! -s conftest.err
19925 } && test -s conftest$ac_exeext &&
19926 $as_test_x conftest$ac_exeext; then
19927 ac_cv_lib_cExt_drand48=yes
19928 else
19929 echo "$as_me: failed program was:" >&5
19930 sed 's/^/| /' conftest.$ac_ext >&5
19931
19932 ac_cv_lib_cExt_drand48=no
19933 fi
19934
19935 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19936 conftest$ac_exeext conftest.$ac_ext
19937 LIBS=$ac_check_lib_save_LIBS
19938 fi
19939 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
19940 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
19941 if test $ac_cv_lib_cExt_drand48 = yes; then
19942 LIBS="$LIBS -lcExt"
19943 fi
19944
19945 else
19946 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
19947 fi
19948 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
19949 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
19950 if test "${wx_cv_gccversion+set}" = set; then
19951 echo $ECHO_N "(cached) $ECHO_C" >&6
19952 else
19953
19954 if test "$cross_compiling" = yes; then
19955 wx_cv_gccversion="EMX2"
19956
19957 else
19958 cat >conftest.$ac_ext <<_ACEOF
19959 /* confdefs.h. */
19960 _ACEOF
19961 cat confdefs.h >>conftest.$ac_ext
19962 cat >>conftest.$ac_ext <<_ACEOF
19963 /* end confdefs.h. */
19964
19965 #include <stdio.h>
19966
19967 int main()
19968 {
19969 FILE *f=fopen("conftestval", "w");
19970 if (!f) exit(1);
19971 fprintf(f,
19972 #if (__GNUC__ < 3)
19973 "EMX2"
19974 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
19975 "EMX3"
19976 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
19977 "Innotek5"
19978 #else
19979 "Innotek6"
19980 #endif
19981 );
19982 exit(0);
19983 }
19984
19985 _ACEOF
19986 rm -f conftest$ac_exeext
19987 if { (ac_try="$ac_link"
19988 case "(($ac_try" in
19989 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19990 *) ac_try_echo=$ac_try;;
19991 esac
19992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19993 (eval "$ac_link") 2>&5
19994 ac_status=$?
19995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19996 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19997 { (case "(($ac_try" in
19998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19999 *) ac_try_echo=$ac_try;;
20000 esac
20001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20002 (eval "$ac_try") 2>&5
20003 ac_status=$?
20004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20005 (exit $ac_status); }; }; then
20006 wx_cv_gccversion=`cat conftestval`
20007 else
20008 echo "$as_me: program exited with status $ac_status" >&5
20009 echo "$as_me: failed program was:" >&5
20010 sed 's/^/| /' conftest.$ac_ext >&5
20011
20012 ( exit $ac_status )
20013 wx_cv_gccversion="EMX2"
20014 fi
20015 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20016 fi
20017
20018
20019
20020 fi
20021 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
20022 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
20023 if test "$wx_cv_gccversion" = "EMX2"; then
20024 LIBS="$LIBS -lstdcpp"
20025 LDFLAGS="$LDFLAGS -Zsysv-signals"
20026 else
20027 if test "$wx_cv_gccversion" = "EMX3"; then
20028 LIBS="$LIBS -lstdcxx -lgcc"
20029 LDFLAGS="$LDFLAGS -Zsysv-signals"
20030 else
20031 LIBS="$LIBS -lstdc++"
20032 fi
20033 fi
20034 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
20035 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
20036 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
20037 wxUSE_OMF=yes
20038 enable_omf=yes
20039 fi
20040 ;;
20041 *)
20042
20043 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
20044 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
20045 if test "${ac_cv_string_strcasecmp+set}" = set; then
20046 echo $ECHO_N "(cached) $ECHO_C" >&6
20047 else
20048
20049 cat >conftest.$ac_ext <<_ACEOF
20050 /* confdefs.h. */
20051 _ACEOF
20052 cat confdefs.h >>conftest.$ac_ext
20053 cat >>conftest.$ac_ext <<_ACEOF
20054 /* end confdefs.h. */
20055
20056 #include <string.h>
20057
20058 int
20059 main ()
20060 {
20061
20062 strcasecmp("foo", "bar");
20063
20064 ;
20065 return 0;
20066 }
20067 _ACEOF
20068 rm -f conftest.$ac_objext conftest$ac_exeext
20069 if { (ac_try="$ac_link"
20070 case "(($ac_try" in
20071 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20072 *) ac_try_echo=$ac_try;;
20073 esac
20074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20075 (eval "$ac_link") 2>conftest.er1
20076 ac_status=$?
20077 grep -v '^ *+' conftest.er1 >conftest.err
20078 rm -f conftest.er1
20079 cat conftest.err >&5
20080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20081 (exit $ac_status); } && {
20082 test -z "$ac_c_werror_flag" ||
20083 test ! -s conftest.err
20084 } && test -s conftest$ac_exeext &&
20085 $as_test_x conftest$ac_exeext; then
20086 ac_cv_string_strcasecmp=yes
20087 else
20088 echo "$as_me: failed program was:" >&5
20089 sed 's/^/| /' conftest.$ac_ext >&5
20090
20091 ac_cv_string_strcasecmp=no
20092
20093 fi
20094
20095 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20096 conftest$ac_exeext conftest.$ac_ext
20097
20098 fi
20099 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
20100 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
20101
20102 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
20103 cat >>confdefs.h <<\_ACEOF
20104 #define HAVE_STRCASECMP_IN_STRING_H 1
20105 _ACEOF
20106
20107 else
20108 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
20109 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
20110 if test "${ac_cv_strings_strcasecmp+set}" = set; then
20111 echo $ECHO_N "(cached) $ECHO_C" >&6
20112 else
20113
20114 cat >conftest.$ac_ext <<_ACEOF
20115 /* confdefs.h. */
20116 _ACEOF
20117 cat confdefs.h >>conftest.$ac_ext
20118 cat >>conftest.$ac_ext <<_ACEOF
20119 /* end confdefs.h. */
20120
20121 #include <strings.h>
20122
20123 int
20124 main ()
20125 {
20126
20127 strcasecmp("foo", "bar");
20128
20129 ;
20130 return 0;
20131 }
20132 _ACEOF
20133 rm -f conftest.$ac_objext conftest$ac_exeext
20134 if { (ac_try="$ac_link"
20135 case "(($ac_try" in
20136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20137 *) ac_try_echo=$ac_try;;
20138 esac
20139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20140 (eval "$ac_link") 2>conftest.er1
20141 ac_status=$?
20142 grep -v '^ *+' conftest.er1 >conftest.err
20143 rm -f conftest.er1
20144 cat conftest.err >&5
20145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20146 (exit $ac_status); } && {
20147 test -z "$ac_c_werror_flag" ||
20148 test ! -s conftest.err
20149 } && test -s conftest$ac_exeext &&
20150 $as_test_x conftest$ac_exeext; then
20151 ac_cv_strings_strcasecmp=yes
20152 else
20153 echo "$as_me: failed program was:" >&5
20154 sed 's/^/| /' conftest.$ac_ext >&5
20155
20156 ac_cv_strings_strcasecmp=no
20157
20158 fi
20159
20160 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20161 conftest$ac_exeext conftest.$ac_ext
20162
20163 fi
20164 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
20165 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
20166
20167 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
20168 cat >>confdefs.h <<\_ACEOF
20169 #define HAVE_STRCASECMP_IN_STRINGS_H 1
20170 _ACEOF
20171
20172 else
20173 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
20174 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
20175 { (exit 1); exit 1; }; }
20176 fi
20177 fi
20178
20179 ;;
20180 esac
20181
20182
20183 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
20184 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
20185 if test "${ac_cv_header_stdc+set}" = set; then
20186 echo $ECHO_N "(cached) $ECHO_C" >&6
20187 else
20188 cat >conftest.$ac_ext <<_ACEOF
20189 /* confdefs.h. */
20190 _ACEOF
20191 cat confdefs.h >>conftest.$ac_ext
20192 cat >>conftest.$ac_ext <<_ACEOF
20193 /* end confdefs.h. */
20194 #include <stdlib.h>
20195 #include <stdarg.h>
20196 #include <string.h>
20197 #include <float.h>
20198
20199 int
20200 main ()
20201 {
20202
20203 ;
20204 return 0;
20205 }
20206 _ACEOF
20207 rm -f conftest.$ac_objext
20208 if { (ac_try="$ac_compile"
20209 case "(($ac_try" in
20210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20211 *) ac_try_echo=$ac_try;;
20212 esac
20213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20214 (eval "$ac_compile") 2>conftest.er1
20215 ac_status=$?
20216 grep -v '^ *+' conftest.er1 >conftest.err
20217 rm -f conftest.er1
20218 cat conftest.err >&5
20219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20220 (exit $ac_status); } && {
20221 test -z "$ac_c_werror_flag" ||
20222 test ! -s conftest.err
20223 } && test -s conftest.$ac_objext; then
20224 ac_cv_header_stdc=yes
20225 else
20226 echo "$as_me: failed program was:" >&5
20227 sed 's/^/| /' conftest.$ac_ext >&5
20228
20229 ac_cv_header_stdc=no
20230 fi
20231
20232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20233
20234 if test $ac_cv_header_stdc = yes; then
20235 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
20236 cat >conftest.$ac_ext <<_ACEOF
20237 /* confdefs.h. */
20238 _ACEOF
20239 cat confdefs.h >>conftest.$ac_ext
20240 cat >>conftest.$ac_ext <<_ACEOF
20241 /* end confdefs.h. */
20242 #include <string.h>
20243
20244 _ACEOF
20245 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20246 $EGREP "memchr" >/dev/null 2>&1; then
20247 :
20248 else
20249 ac_cv_header_stdc=no
20250 fi
20251 rm -f conftest*
20252
20253 fi
20254
20255 if test $ac_cv_header_stdc = yes; then
20256 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
20257 cat >conftest.$ac_ext <<_ACEOF
20258 /* confdefs.h. */
20259 _ACEOF
20260 cat confdefs.h >>conftest.$ac_ext
20261 cat >>conftest.$ac_ext <<_ACEOF
20262 /* end confdefs.h. */
20263 #include <stdlib.h>
20264
20265 _ACEOF
20266 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20267 $EGREP "free" >/dev/null 2>&1; then
20268 :
20269 else
20270 ac_cv_header_stdc=no
20271 fi
20272 rm -f conftest*
20273
20274 fi
20275
20276 if test $ac_cv_header_stdc = yes; then
20277 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
20278 if test "$cross_compiling" = yes; then
20279 :
20280 else
20281 cat >conftest.$ac_ext <<_ACEOF
20282 /* confdefs.h. */
20283 _ACEOF
20284 cat confdefs.h >>conftest.$ac_ext
20285 cat >>conftest.$ac_ext <<_ACEOF
20286 /* end confdefs.h. */
20287 #include <ctype.h>
20288 #include <stdlib.h>
20289 #if ((' ' & 0x0FF) == 0x020)
20290 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
20291 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
20292 #else
20293 # define ISLOWER(c) \
20294 (('a' <= (c) && (c) <= 'i') \
20295 || ('j' <= (c) && (c) <= 'r') \
20296 || ('s' <= (c) && (c) <= 'z'))
20297 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
20298 #endif
20299
20300 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
20301 int
20302 main ()
20303 {
20304 int i;
20305 for (i = 0; i < 256; i++)
20306 if (XOR (islower (i), ISLOWER (i))
20307 || toupper (i) != TOUPPER (i))
20308 return 2;
20309 return 0;
20310 }
20311 _ACEOF
20312 rm -f conftest$ac_exeext
20313 if { (ac_try="$ac_link"
20314 case "(($ac_try" in
20315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20316 *) ac_try_echo=$ac_try;;
20317 esac
20318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20319 (eval "$ac_link") 2>&5
20320 ac_status=$?
20321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20322 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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_try") 2>&5
20329 ac_status=$?
20330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20331 (exit $ac_status); }; }; then
20332 :
20333 else
20334 echo "$as_me: program exited with status $ac_status" >&5
20335 echo "$as_me: failed program was:" >&5
20336 sed 's/^/| /' conftest.$ac_ext >&5
20337
20338 ( exit $ac_status )
20339 ac_cv_header_stdc=no
20340 fi
20341 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20342 fi
20343
20344
20345 fi
20346 fi
20347 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
20348 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
20349 if test $ac_cv_header_stdc = yes; then
20350
20351 cat >>confdefs.h <<\_ACEOF
20352 #define STDC_HEADERS 1
20353 _ACEOF
20354
20355 fi
20356
20357 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
20358
20359
20360
20361
20362
20363
20364
20365
20366
20367 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
20368 inttypes.h stdint.h unistd.h
20369 do
20370 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20371 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20372 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20373 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20374 echo $ECHO_N "(cached) $ECHO_C" >&6
20375 else
20376 cat >conftest.$ac_ext <<_ACEOF
20377 /* confdefs.h. */
20378 _ACEOF
20379 cat confdefs.h >>conftest.$ac_ext
20380 cat >>conftest.$ac_ext <<_ACEOF
20381 /* end confdefs.h. */
20382 $ac_includes_default
20383
20384 #include <$ac_header>
20385 _ACEOF
20386 rm -f conftest.$ac_objext
20387 if { (ac_try="$ac_compile"
20388 case "(($ac_try" in
20389 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20390 *) ac_try_echo=$ac_try;;
20391 esac
20392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20393 (eval "$ac_compile") 2>conftest.er1
20394 ac_status=$?
20395 grep -v '^ *+' conftest.er1 >conftest.err
20396 rm -f conftest.er1
20397 cat conftest.err >&5
20398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20399 (exit $ac_status); } && {
20400 test -z "$ac_c_werror_flag" ||
20401 test ! -s conftest.err
20402 } && test -s conftest.$ac_objext; then
20403 eval "$as_ac_Header=yes"
20404 else
20405 echo "$as_me: failed program was:" >&5
20406 sed 's/^/| /' conftest.$ac_ext >&5
20407
20408 eval "$as_ac_Header=no"
20409 fi
20410
20411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20412 fi
20413 ac_res=`eval echo '${'$as_ac_Header'}'`
20414 { echo "$as_me:$LINENO: result: $ac_res" >&5
20415 echo "${ECHO_T}$ac_res" >&6; }
20416 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20417 cat >>confdefs.h <<_ACEOF
20418 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20419 _ACEOF
20420
20421 fi
20422
20423 done
20424
20425
20426
20427
20428 for ac_header in langinfo.h wchar.h
20429 do
20430 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20431 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20432 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20433 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20434 echo $ECHO_N "(cached) $ECHO_C" >&6
20435 else
20436 cat >conftest.$ac_ext <<_ACEOF
20437 /* confdefs.h. */
20438 _ACEOF
20439 cat confdefs.h >>conftest.$ac_ext
20440 cat >>conftest.$ac_ext <<_ACEOF
20441 /* end confdefs.h. */
20442 $ac_includes_default
20443
20444 #include <$ac_header>
20445 _ACEOF
20446 rm -f conftest.$ac_objext
20447 if { (ac_try="$ac_compile"
20448 case "(($ac_try" in
20449 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20450 *) ac_try_echo=$ac_try;;
20451 esac
20452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20453 (eval "$ac_compile") 2>conftest.er1
20454 ac_status=$?
20455 grep -v '^ *+' conftest.er1 >conftest.err
20456 rm -f conftest.er1
20457 cat conftest.err >&5
20458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20459 (exit $ac_status); } && {
20460 test -z "$ac_c_werror_flag" ||
20461 test ! -s conftest.err
20462 } && test -s conftest.$ac_objext; then
20463 eval "$as_ac_Header=yes"
20464 else
20465 echo "$as_me: failed program was:" >&5
20466 sed 's/^/| /' conftest.$ac_ext >&5
20467
20468 eval "$as_ac_Header=no"
20469 fi
20470
20471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20472 fi
20473 ac_res=`eval echo '${'$as_ac_Header'}'`
20474 { echo "$as_me:$LINENO: result: $ac_res" >&5
20475 echo "${ECHO_T}$ac_res" >&6; }
20476 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20477 cat >>confdefs.h <<_ACEOF
20478 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20479 _ACEOF
20480
20481 fi
20482
20483 done
20484
20485
20486 if test "$ac_cv_header_wchar_h" != "yes"; then
20487
20488 for ac_header in wcstr.h
20489 do
20490 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20491 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20492 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20493 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20494 echo $ECHO_N "(cached) $ECHO_C" >&6
20495 else
20496 cat >conftest.$ac_ext <<_ACEOF
20497 /* confdefs.h. */
20498 _ACEOF
20499 cat confdefs.h >>conftest.$ac_ext
20500 cat >>conftest.$ac_ext <<_ACEOF
20501 /* end confdefs.h. */
20502 $ac_includes_default
20503
20504 #include <$ac_header>
20505 _ACEOF
20506 rm -f conftest.$ac_objext
20507 if { (ac_try="$ac_compile"
20508 case "(($ac_try" in
20509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20510 *) ac_try_echo=$ac_try;;
20511 esac
20512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20513 (eval "$ac_compile") 2>conftest.er1
20514 ac_status=$?
20515 grep -v '^ *+' conftest.er1 >conftest.err
20516 rm -f conftest.er1
20517 cat conftest.err >&5
20518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20519 (exit $ac_status); } && {
20520 test -z "$ac_c_werror_flag" ||
20521 test ! -s conftest.err
20522 } && test -s conftest.$ac_objext; then
20523 eval "$as_ac_Header=yes"
20524 else
20525 echo "$as_me: failed program was:" >&5
20526 sed 's/^/| /' conftest.$ac_ext >&5
20527
20528 eval "$as_ac_Header=no"
20529 fi
20530
20531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20532 fi
20533 ac_res=`eval echo '${'$as_ac_Header'}'`
20534 { echo "$as_me:$LINENO: result: $ac_res" >&5
20535 echo "${ECHO_T}$ac_res" >&6; }
20536 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20537 cat >>confdefs.h <<_ACEOF
20538 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20539 _ACEOF
20540
20541 fi
20542
20543 done
20544
20545 fi
20546
20547 case "${host}" in
20548 *-pc-os2_emx | *-pc-os2-emx )
20549 if test $ac_cv_header_langinfo_h = "yes" \
20550 -a \( "$wx_cv_gccversion" = "EMX2" \
20551 -o "$wx_cv_gccversion" = "EMX3" \
20552 -o "$wx_cv_gccversion" = "Innotek5" \); then
20553 LIBS="$LIBS -lintl"
20554 fi
20555 ;;
20556 esac
20557
20558 if test "$USE_UNIX" = 1 ; then
20559
20560 for ac_header in sys/select.h
20561 do
20562 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20563 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20564 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20565 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20566 echo $ECHO_N "(cached) $ECHO_C" >&6
20567 else
20568 cat >conftest.$ac_ext <<_ACEOF
20569 /* confdefs.h. */
20570 _ACEOF
20571 cat confdefs.h >>conftest.$ac_ext
20572 cat >>conftest.$ac_ext <<_ACEOF
20573 /* end confdefs.h. */
20574 $ac_includes_default
20575
20576 #include <$ac_header>
20577 _ACEOF
20578 rm -f conftest.$ac_objext
20579 if { (ac_try="$ac_compile"
20580 case "(($ac_try" in
20581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20582 *) ac_try_echo=$ac_try;;
20583 esac
20584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20585 (eval "$ac_compile") 2>conftest.er1
20586 ac_status=$?
20587 grep -v '^ *+' conftest.er1 >conftest.err
20588 rm -f conftest.er1
20589 cat conftest.err >&5
20590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20591 (exit $ac_status); } && {
20592 test -z "$ac_c_werror_flag" ||
20593 test ! -s conftest.err
20594 } && test -s conftest.$ac_objext; then
20595 eval "$as_ac_Header=yes"
20596 else
20597 echo "$as_me: failed program was:" >&5
20598 sed 's/^/| /' conftest.$ac_ext >&5
20599
20600 eval "$as_ac_Header=no"
20601 fi
20602
20603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20604 fi
20605 ac_res=`eval echo '${'$as_ac_Header'}'`
20606 { echo "$as_me:$LINENO: result: $ac_res" >&5
20607 echo "${ECHO_T}$ac_res" >&6; }
20608 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20609 cat >>confdefs.h <<_ACEOF
20610 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20611 _ACEOF
20612
20613 fi
20614
20615 done
20616
20617 fi
20618
20619
20620 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
20621 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
20622 if test "${ac_cv_c_const+set}" = set; then
20623 echo $ECHO_N "(cached) $ECHO_C" >&6
20624 else
20625 cat >conftest.$ac_ext <<_ACEOF
20626 /* confdefs.h. */
20627 _ACEOF
20628 cat confdefs.h >>conftest.$ac_ext
20629 cat >>conftest.$ac_ext <<_ACEOF
20630 /* end confdefs.h. */
20631
20632 int
20633 main ()
20634 {
20635 /* FIXME: Include the comments suggested by Paul. */
20636 #ifndef __cplusplus
20637 /* Ultrix mips cc rejects this. */
20638 typedef int charset[2];
20639 const charset cs;
20640 /* SunOS 4.1.1 cc rejects this. */
20641 char const *const *pcpcc;
20642 char **ppc;
20643 /* NEC SVR4.0.2 mips cc rejects this. */
20644 struct point {int x, y;};
20645 static struct point const zero = {0,0};
20646 /* AIX XL C 1.02.0.0 rejects this.
20647 It does not let you subtract one const X* pointer from another in
20648 an arm of an if-expression whose if-part is not a constant
20649 expression */
20650 const char *g = "string";
20651 pcpcc = &g + (g ? g-g : 0);
20652 /* HPUX 7.0 cc rejects these. */
20653 ++pcpcc;
20654 ppc = (char**) pcpcc;
20655 pcpcc = (char const *const *) ppc;
20656 { /* SCO 3.2v4 cc rejects this. */
20657 char *t;
20658 char const *s = 0 ? (char *) 0 : (char const *) 0;
20659
20660 *t++ = 0;
20661 if (s) return 0;
20662 }
20663 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
20664 int x[] = {25, 17};
20665 const int *foo = &x[0];
20666 ++foo;
20667 }
20668 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
20669 typedef const int *iptr;
20670 iptr p = 0;
20671 ++p;
20672 }
20673 { /* AIX XL C 1.02.0.0 rejects this saying
20674 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
20675 struct s { int j; const int *ap[3]; };
20676 struct s *b; b->j = 5;
20677 }
20678 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
20679 const int foo = 10;
20680 if (!foo) return 0;
20681 }
20682 return !cs[0] && !zero.x;
20683 #endif
20684
20685 ;
20686 return 0;
20687 }
20688 _ACEOF
20689 rm -f conftest.$ac_objext
20690 if { (ac_try="$ac_compile"
20691 case "(($ac_try" in
20692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20693 *) ac_try_echo=$ac_try;;
20694 esac
20695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20696 (eval "$ac_compile") 2>conftest.er1
20697 ac_status=$?
20698 grep -v '^ *+' conftest.er1 >conftest.err
20699 rm -f conftest.er1
20700 cat conftest.err >&5
20701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20702 (exit $ac_status); } && {
20703 test -z "$ac_c_werror_flag" ||
20704 test ! -s conftest.err
20705 } && test -s conftest.$ac_objext; then
20706 ac_cv_c_const=yes
20707 else
20708 echo "$as_me: failed program was:" >&5
20709 sed 's/^/| /' conftest.$ac_ext >&5
20710
20711 ac_cv_c_const=no
20712 fi
20713
20714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20715 fi
20716 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
20717 echo "${ECHO_T}$ac_cv_c_const" >&6; }
20718 if test $ac_cv_c_const = no; then
20719
20720 cat >>confdefs.h <<\_ACEOF
20721 #define const
20722 _ACEOF
20723
20724 fi
20725
20726 { echo "$as_me:$LINENO: checking for inline" >&5
20727 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
20728 if test "${ac_cv_c_inline+set}" = set; then
20729 echo $ECHO_N "(cached) $ECHO_C" >&6
20730 else
20731 ac_cv_c_inline=no
20732 for ac_kw in inline __inline__ __inline; do
20733 cat >conftest.$ac_ext <<_ACEOF
20734 /* confdefs.h. */
20735 _ACEOF
20736 cat confdefs.h >>conftest.$ac_ext
20737 cat >>conftest.$ac_ext <<_ACEOF
20738 /* end confdefs.h. */
20739 #ifndef __cplusplus
20740 typedef int foo_t;
20741 static $ac_kw foo_t static_foo () {return 0; }
20742 $ac_kw foo_t foo () {return 0; }
20743 #endif
20744
20745 _ACEOF
20746 rm -f conftest.$ac_objext
20747 if { (ac_try="$ac_compile"
20748 case "(($ac_try" in
20749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20750 *) ac_try_echo=$ac_try;;
20751 esac
20752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20753 (eval "$ac_compile") 2>conftest.er1
20754 ac_status=$?
20755 grep -v '^ *+' conftest.er1 >conftest.err
20756 rm -f conftest.er1
20757 cat conftest.err >&5
20758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20759 (exit $ac_status); } && {
20760 test -z "$ac_c_werror_flag" ||
20761 test ! -s conftest.err
20762 } && test -s conftest.$ac_objext; then
20763 ac_cv_c_inline=$ac_kw
20764 else
20765 echo "$as_me: failed program was:" >&5
20766 sed 's/^/| /' conftest.$ac_ext >&5
20767
20768
20769 fi
20770
20771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20772 test "$ac_cv_c_inline" != no && break
20773 done
20774
20775 fi
20776 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
20777 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
20778
20779
20780 case $ac_cv_c_inline in
20781 inline | yes) ;;
20782 *)
20783 case $ac_cv_c_inline in
20784 no) ac_val=;;
20785 *) ac_val=$ac_cv_c_inline;;
20786 esac
20787 cat >>confdefs.h <<_ACEOF
20788 #ifndef __cplusplus
20789 #define inline $ac_val
20790 #endif
20791 _ACEOF
20792 ;;
20793 esac
20794
20795
20796 { echo "$as_me:$LINENO: checking for short" >&5
20797 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
20798 if test "${ac_cv_type_short+set}" = set; then
20799 echo $ECHO_N "(cached) $ECHO_C" >&6
20800 else
20801 cat >conftest.$ac_ext <<_ACEOF
20802 /* confdefs.h. */
20803 _ACEOF
20804 cat confdefs.h >>conftest.$ac_ext
20805 cat >>conftest.$ac_ext <<_ACEOF
20806 /* end confdefs.h. */
20807 $ac_includes_default
20808 typedef short ac__type_new_;
20809 int
20810 main ()
20811 {
20812 if ((ac__type_new_ *) 0)
20813 return 0;
20814 if (sizeof (ac__type_new_))
20815 return 0;
20816 ;
20817 return 0;
20818 }
20819 _ACEOF
20820 rm -f conftest.$ac_objext
20821 if { (ac_try="$ac_compile"
20822 case "(($ac_try" in
20823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20824 *) ac_try_echo=$ac_try;;
20825 esac
20826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20827 (eval "$ac_compile") 2>conftest.er1
20828 ac_status=$?
20829 grep -v '^ *+' conftest.er1 >conftest.err
20830 rm -f conftest.er1
20831 cat conftest.err >&5
20832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20833 (exit $ac_status); } && {
20834 test -z "$ac_c_werror_flag" ||
20835 test ! -s conftest.err
20836 } && test -s conftest.$ac_objext; then
20837 ac_cv_type_short=yes
20838 else
20839 echo "$as_me: failed program was:" >&5
20840 sed 's/^/| /' conftest.$ac_ext >&5
20841
20842 ac_cv_type_short=no
20843 fi
20844
20845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20846 fi
20847 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
20848 echo "${ECHO_T}$ac_cv_type_short" >&6; }
20849
20850 # The cast to long int works around a bug in the HP C Compiler
20851 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20852 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20853 # This bug is HP SR number 8606223364.
20854 { echo "$as_me:$LINENO: checking size of short" >&5
20855 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
20856 if test "${ac_cv_sizeof_short+set}" = set; then
20857 echo $ECHO_N "(cached) $ECHO_C" >&6
20858 else
20859 if test "$cross_compiling" = yes; then
20860 # Depending upon the size, compute the lo and hi bounds.
20861 cat >conftest.$ac_ext <<_ACEOF
20862 /* confdefs.h. */
20863 _ACEOF
20864 cat confdefs.h >>conftest.$ac_ext
20865 cat >>conftest.$ac_ext <<_ACEOF
20866 /* end confdefs.h. */
20867 $ac_includes_default
20868 typedef short ac__type_sizeof_;
20869 int
20870 main ()
20871 {
20872 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20873 test_array [0] = 0
20874
20875 ;
20876 return 0;
20877 }
20878 _ACEOF
20879 rm -f conftest.$ac_objext
20880 if { (ac_try="$ac_compile"
20881 case "(($ac_try" in
20882 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20883 *) ac_try_echo=$ac_try;;
20884 esac
20885 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20886 (eval "$ac_compile") 2>conftest.er1
20887 ac_status=$?
20888 grep -v '^ *+' conftest.er1 >conftest.err
20889 rm -f conftest.er1
20890 cat conftest.err >&5
20891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20892 (exit $ac_status); } && {
20893 test -z "$ac_c_werror_flag" ||
20894 test ! -s conftest.err
20895 } && test -s conftest.$ac_objext; then
20896 ac_lo=0 ac_mid=0
20897 while :; do
20898 cat >conftest.$ac_ext <<_ACEOF
20899 /* confdefs.h. */
20900 _ACEOF
20901 cat confdefs.h >>conftest.$ac_ext
20902 cat >>conftest.$ac_ext <<_ACEOF
20903 /* end confdefs.h. */
20904 $ac_includes_default
20905 typedef short ac__type_sizeof_;
20906 int
20907 main ()
20908 {
20909 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20910 test_array [0] = 0
20911
20912 ;
20913 return 0;
20914 }
20915 _ACEOF
20916 rm -f conftest.$ac_objext
20917 if { (ac_try="$ac_compile"
20918 case "(($ac_try" in
20919 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20920 *) ac_try_echo=$ac_try;;
20921 esac
20922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20923 (eval "$ac_compile") 2>conftest.er1
20924 ac_status=$?
20925 grep -v '^ *+' conftest.er1 >conftest.err
20926 rm -f conftest.er1
20927 cat conftest.err >&5
20928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20929 (exit $ac_status); } && {
20930 test -z "$ac_c_werror_flag" ||
20931 test ! -s conftest.err
20932 } && test -s conftest.$ac_objext; then
20933 ac_hi=$ac_mid; break
20934 else
20935 echo "$as_me: failed program was:" >&5
20936 sed 's/^/| /' conftest.$ac_ext >&5
20937
20938 ac_lo=`expr $ac_mid + 1`
20939 if test $ac_lo -le $ac_mid; then
20940 ac_lo= ac_hi=
20941 break
20942 fi
20943 ac_mid=`expr 2 '*' $ac_mid + 1`
20944 fi
20945
20946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20947 done
20948 else
20949 echo "$as_me: failed program was:" >&5
20950 sed 's/^/| /' conftest.$ac_ext >&5
20951
20952 cat >conftest.$ac_ext <<_ACEOF
20953 /* confdefs.h. */
20954 _ACEOF
20955 cat confdefs.h >>conftest.$ac_ext
20956 cat >>conftest.$ac_ext <<_ACEOF
20957 /* end confdefs.h. */
20958 $ac_includes_default
20959 typedef short ac__type_sizeof_;
20960 int
20961 main ()
20962 {
20963 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20964 test_array [0] = 0
20965
20966 ;
20967 return 0;
20968 }
20969 _ACEOF
20970 rm -f conftest.$ac_objext
20971 if { (ac_try="$ac_compile"
20972 case "(($ac_try" in
20973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20974 *) ac_try_echo=$ac_try;;
20975 esac
20976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20977 (eval "$ac_compile") 2>conftest.er1
20978 ac_status=$?
20979 grep -v '^ *+' conftest.er1 >conftest.err
20980 rm -f conftest.er1
20981 cat conftest.err >&5
20982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20983 (exit $ac_status); } && {
20984 test -z "$ac_c_werror_flag" ||
20985 test ! -s conftest.err
20986 } && test -s conftest.$ac_objext; then
20987 ac_hi=-1 ac_mid=-1
20988 while :; do
20989 cat >conftest.$ac_ext <<_ACEOF
20990 /* confdefs.h. */
20991 _ACEOF
20992 cat confdefs.h >>conftest.$ac_ext
20993 cat >>conftest.$ac_ext <<_ACEOF
20994 /* end confdefs.h. */
20995 $ac_includes_default
20996 typedef short ac__type_sizeof_;
20997 int
20998 main ()
20999 {
21000 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21001 test_array [0] = 0
21002
21003 ;
21004 return 0;
21005 }
21006 _ACEOF
21007 rm -f conftest.$ac_objext
21008 if { (ac_try="$ac_compile"
21009 case "(($ac_try" in
21010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21011 *) ac_try_echo=$ac_try;;
21012 esac
21013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21014 (eval "$ac_compile") 2>conftest.er1
21015 ac_status=$?
21016 grep -v '^ *+' conftest.er1 >conftest.err
21017 rm -f conftest.er1
21018 cat conftest.err >&5
21019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21020 (exit $ac_status); } && {
21021 test -z "$ac_c_werror_flag" ||
21022 test ! -s conftest.err
21023 } && test -s conftest.$ac_objext; then
21024 ac_lo=$ac_mid; break
21025 else
21026 echo "$as_me: failed program was:" >&5
21027 sed 's/^/| /' conftest.$ac_ext >&5
21028
21029 ac_hi=`expr '(' $ac_mid ')' - 1`
21030 if test $ac_mid -le $ac_hi; then
21031 ac_lo= ac_hi=
21032 break
21033 fi
21034 ac_mid=`expr 2 '*' $ac_mid`
21035 fi
21036
21037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21038 done
21039 else
21040 echo "$as_me: failed program was:" >&5
21041 sed 's/^/| /' conftest.$ac_ext >&5
21042
21043 ac_lo= ac_hi=
21044 fi
21045
21046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21047 fi
21048
21049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21050 # Binary search between lo and hi bounds.
21051 while test "x$ac_lo" != "x$ac_hi"; do
21052 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21053 cat >conftest.$ac_ext <<_ACEOF
21054 /* confdefs.h. */
21055 _ACEOF
21056 cat confdefs.h >>conftest.$ac_ext
21057 cat >>conftest.$ac_ext <<_ACEOF
21058 /* end confdefs.h. */
21059 $ac_includes_default
21060 typedef short ac__type_sizeof_;
21061 int
21062 main ()
21063 {
21064 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21065 test_array [0] = 0
21066
21067 ;
21068 return 0;
21069 }
21070 _ACEOF
21071 rm -f conftest.$ac_objext
21072 if { (ac_try="$ac_compile"
21073 case "(($ac_try" in
21074 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21075 *) ac_try_echo=$ac_try;;
21076 esac
21077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21078 (eval "$ac_compile") 2>conftest.er1
21079 ac_status=$?
21080 grep -v '^ *+' conftest.er1 >conftest.err
21081 rm -f conftest.er1
21082 cat conftest.err >&5
21083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21084 (exit $ac_status); } && {
21085 test -z "$ac_c_werror_flag" ||
21086 test ! -s conftest.err
21087 } && test -s conftest.$ac_objext; then
21088 ac_hi=$ac_mid
21089 else
21090 echo "$as_me: failed program was:" >&5
21091 sed 's/^/| /' conftest.$ac_ext >&5
21092
21093 ac_lo=`expr '(' $ac_mid ')' + 1`
21094 fi
21095
21096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21097 done
21098 case $ac_lo in
21099 ?*) ac_cv_sizeof_short=$ac_lo;;
21100 '') if test "$ac_cv_type_short" = yes; then
21101 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
21102 See \`config.log' for more details." >&5
21103 echo "$as_me: error: cannot compute sizeof (short)
21104 See \`config.log' for more details." >&2;}
21105 { (exit 77); exit 77; }; }
21106 else
21107 ac_cv_sizeof_short=0
21108 fi ;;
21109 esac
21110 else
21111 cat >conftest.$ac_ext <<_ACEOF
21112 /* confdefs.h. */
21113 _ACEOF
21114 cat confdefs.h >>conftest.$ac_ext
21115 cat >>conftest.$ac_ext <<_ACEOF
21116 /* end confdefs.h. */
21117 $ac_includes_default
21118 typedef short ac__type_sizeof_;
21119 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21120 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21121 #include <stdio.h>
21122 #include <stdlib.h>
21123 int
21124 main ()
21125 {
21126
21127 FILE *f = fopen ("conftest.val", "w");
21128 if (! f)
21129 return 1;
21130 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21131 {
21132 long int i = longval ();
21133 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21134 return 1;
21135 fprintf (f, "%ld\n", i);
21136 }
21137 else
21138 {
21139 unsigned long int i = ulongval ();
21140 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21141 return 1;
21142 fprintf (f, "%lu\n", i);
21143 }
21144 return ferror (f) || fclose (f) != 0;
21145
21146 ;
21147 return 0;
21148 }
21149 _ACEOF
21150 rm -f conftest$ac_exeext
21151 if { (ac_try="$ac_link"
21152 case "(($ac_try" in
21153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21154 *) ac_try_echo=$ac_try;;
21155 esac
21156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21157 (eval "$ac_link") 2>&5
21158 ac_status=$?
21159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21160 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21161 { (case "(($ac_try" in
21162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21163 *) ac_try_echo=$ac_try;;
21164 esac
21165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21166 (eval "$ac_try") 2>&5
21167 ac_status=$?
21168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21169 (exit $ac_status); }; }; then
21170 ac_cv_sizeof_short=`cat conftest.val`
21171 else
21172 echo "$as_me: program exited with status $ac_status" >&5
21173 echo "$as_me: failed program was:" >&5
21174 sed 's/^/| /' conftest.$ac_ext >&5
21175
21176 ( exit $ac_status )
21177 if test "$ac_cv_type_short" = yes; then
21178 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
21179 See \`config.log' for more details." >&5
21180 echo "$as_me: error: cannot compute sizeof (short)
21181 See \`config.log' for more details." >&2;}
21182 { (exit 77); exit 77; }; }
21183 else
21184 ac_cv_sizeof_short=0
21185 fi
21186 fi
21187 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21188 fi
21189 rm -f conftest.val
21190 fi
21191 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
21192 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
21193
21194
21195
21196 cat >>confdefs.h <<_ACEOF
21197 #define SIZEOF_SHORT $ac_cv_sizeof_short
21198 _ACEOF
21199
21200
21201 { echo "$as_me:$LINENO: checking for void *" >&5
21202 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
21203 if test "${ac_cv_type_void_p+set}" = set; then
21204 echo $ECHO_N "(cached) $ECHO_C" >&6
21205 else
21206 cat >conftest.$ac_ext <<_ACEOF
21207 /* confdefs.h. */
21208 _ACEOF
21209 cat confdefs.h >>conftest.$ac_ext
21210 cat >>conftest.$ac_ext <<_ACEOF
21211 /* end confdefs.h. */
21212 $ac_includes_default
21213 typedef void * ac__type_new_;
21214 int
21215 main ()
21216 {
21217 if ((ac__type_new_ *) 0)
21218 return 0;
21219 if (sizeof (ac__type_new_))
21220 return 0;
21221 ;
21222 return 0;
21223 }
21224 _ACEOF
21225 rm -f conftest.$ac_objext
21226 if { (ac_try="$ac_compile"
21227 case "(($ac_try" in
21228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21229 *) ac_try_echo=$ac_try;;
21230 esac
21231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21232 (eval "$ac_compile") 2>conftest.er1
21233 ac_status=$?
21234 grep -v '^ *+' conftest.er1 >conftest.err
21235 rm -f conftest.er1
21236 cat conftest.err >&5
21237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21238 (exit $ac_status); } && {
21239 test -z "$ac_c_werror_flag" ||
21240 test ! -s conftest.err
21241 } && test -s conftest.$ac_objext; then
21242 ac_cv_type_void_p=yes
21243 else
21244 echo "$as_me: failed program was:" >&5
21245 sed 's/^/| /' conftest.$ac_ext >&5
21246
21247 ac_cv_type_void_p=no
21248 fi
21249
21250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21251 fi
21252 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
21253 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
21254
21255 # The cast to long int works around a bug in the HP C Compiler
21256 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21257 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21258 # This bug is HP SR number 8606223364.
21259 { echo "$as_me:$LINENO: checking size of void *" >&5
21260 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
21261 if test "${ac_cv_sizeof_void_p+set}" = set; then
21262 echo $ECHO_N "(cached) $ECHO_C" >&6
21263 else
21264 if test "$cross_compiling" = yes; then
21265 # Depending upon the size, compute the lo and hi bounds.
21266 cat >conftest.$ac_ext <<_ACEOF
21267 /* confdefs.h. */
21268 _ACEOF
21269 cat confdefs.h >>conftest.$ac_ext
21270 cat >>conftest.$ac_ext <<_ACEOF
21271 /* end confdefs.h. */
21272 $ac_includes_default
21273 typedef void * ac__type_sizeof_;
21274 int
21275 main ()
21276 {
21277 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21278 test_array [0] = 0
21279
21280 ;
21281 return 0;
21282 }
21283 _ACEOF
21284 rm -f conftest.$ac_objext
21285 if { (ac_try="$ac_compile"
21286 case "(($ac_try" in
21287 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21288 *) ac_try_echo=$ac_try;;
21289 esac
21290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21291 (eval "$ac_compile") 2>conftest.er1
21292 ac_status=$?
21293 grep -v '^ *+' conftest.er1 >conftest.err
21294 rm -f conftest.er1
21295 cat conftest.err >&5
21296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21297 (exit $ac_status); } && {
21298 test -z "$ac_c_werror_flag" ||
21299 test ! -s conftest.err
21300 } && test -s conftest.$ac_objext; then
21301 ac_lo=0 ac_mid=0
21302 while :; do
21303 cat >conftest.$ac_ext <<_ACEOF
21304 /* confdefs.h. */
21305 _ACEOF
21306 cat confdefs.h >>conftest.$ac_ext
21307 cat >>conftest.$ac_ext <<_ACEOF
21308 /* end confdefs.h. */
21309 $ac_includes_default
21310 typedef void * ac__type_sizeof_;
21311 int
21312 main ()
21313 {
21314 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21315 test_array [0] = 0
21316
21317 ;
21318 return 0;
21319 }
21320 _ACEOF
21321 rm -f conftest.$ac_objext
21322 if { (ac_try="$ac_compile"
21323 case "(($ac_try" in
21324 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21325 *) ac_try_echo=$ac_try;;
21326 esac
21327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21328 (eval "$ac_compile") 2>conftest.er1
21329 ac_status=$?
21330 grep -v '^ *+' conftest.er1 >conftest.err
21331 rm -f conftest.er1
21332 cat conftest.err >&5
21333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21334 (exit $ac_status); } && {
21335 test -z "$ac_c_werror_flag" ||
21336 test ! -s conftest.err
21337 } && test -s conftest.$ac_objext; then
21338 ac_hi=$ac_mid; break
21339 else
21340 echo "$as_me: failed program was:" >&5
21341 sed 's/^/| /' conftest.$ac_ext >&5
21342
21343 ac_lo=`expr $ac_mid + 1`
21344 if test $ac_lo -le $ac_mid; then
21345 ac_lo= ac_hi=
21346 break
21347 fi
21348 ac_mid=`expr 2 '*' $ac_mid + 1`
21349 fi
21350
21351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21352 done
21353 else
21354 echo "$as_me: failed program was:" >&5
21355 sed 's/^/| /' conftest.$ac_ext >&5
21356
21357 cat >conftest.$ac_ext <<_ACEOF
21358 /* confdefs.h. */
21359 _ACEOF
21360 cat confdefs.h >>conftest.$ac_ext
21361 cat >>conftest.$ac_ext <<_ACEOF
21362 /* end confdefs.h. */
21363 $ac_includes_default
21364 typedef void * ac__type_sizeof_;
21365 int
21366 main ()
21367 {
21368 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21369 test_array [0] = 0
21370
21371 ;
21372 return 0;
21373 }
21374 _ACEOF
21375 rm -f conftest.$ac_objext
21376 if { (ac_try="$ac_compile"
21377 case "(($ac_try" in
21378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21379 *) ac_try_echo=$ac_try;;
21380 esac
21381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21382 (eval "$ac_compile") 2>conftest.er1
21383 ac_status=$?
21384 grep -v '^ *+' conftest.er1 >conftest.err
21385 rm -f conftest.er1
21386 cat conftest.err >&5
21387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21388 (exit $ac_status); } && {
21389 test -z "$ac_c_werror_flag" ||
21390 test ! -s conftest.err
21391 } && test -s conftest.$ac_objext; then
21392 ac_hi=-1 ac_mid=-1
21393 while :; do
21394 cat >conftest.$ac_ext <<_ACEOF
21395 /* confdefs.h. */
21396 _ACEOF
21397 cat confdefs.h >>conftest.$ac_ext
21398 cat >>conftest.$ac_ext <<_ACEOF
21399 /* end confdefs.h. */
21400 $ac_includes_default
21401 typedef void * ac__type_sizeof_;
21402 int
21403 main ()
21404 {
21405 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21406 test_array [0] = 0
21407
21408 ;
21409 return 0;
21410 }
21411 _ACEOF
21412 rm -f conftest.$ac_objext
21413 if { (ac_try="$ac_compile"
21414 case "(($ac_try" in
21415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21416 *) ac_try_echo=$ac_try;;
21417 esac
21418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21419 (eval "$ac_compile") 2>conftest.er1
21420 ac_status=$?
21421 grep -v '^ *+' conftest.er1 >conftest.err
21422 rm -f conftest.er1
21423 cat conftest.err >&5
21424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21425 (exit $ac_status); } && {
21426 test -z "$ac_c_werror_flag" ||
21427 test ! -s conftest.err
21428 } && test -s conftest.$ac_objext; then
21429 ac_lo=$ac_mid; break
21430 else
21431 echo "$as_me: failed program was:" >&5
21432 sed 's/^/| /' conftest.$ac_ext >&5
21433
21434 ac_hi=`expr '(' $ac_mid ')' - 1`
21435 if test $ac_mid -le $ac_hi; then
21436 ac_lo= ac_hi=
21437 break
21438 fi
21439 ac_mid=`expr 2 '*' $ac_mid`
21440 fi
21441
21442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21443 done
21444 else
21445 echo "$as_me: failed program was:" >&5
21446 sed 's/^/| /' conftest.$ac_ext >&5
21447
21448 ac_lo= ac_hi=
21449 fi
21450
21451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21452 fi
21453
21454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21455 # Binary search between lo and hi bounds.
21456 while test "x$ac_lo" != "x$ac_hi"; do
21457 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21458 cat >conftest.$ac_ext <<_ACEOF
21459 /* confdefs.h. */
21460 _ACEOF
21461 cat confdefs.h >>conftest.$ac_ext
21462 cat >>conftest.$ac_ext <<_ACEOF
21463 /* end confdefs.h. */
21464 $ac_includes_default
21465 typedef void * ac__type_sizeof_;
21466 int
21467 main ()
21468 {
21469 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21470 test_array [0] = 0
21471
21472 ;
21473 return 0;
21474 }
21475 _ACEOF
21476 rm -f conftest.$ac_objext
21477 if { (ac_try="$ac_compile"
21478 case "(($ac_try" in
21479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21480 *) ac_try_echo=$ac_try;;
21481 esac
21482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21483 (eval "$ac_compile") 2>conftest.er1
21484 ac_status=$?
21485 grep -v '^ *+' conftest.er1 >conftest.err
21486 rm -f conftest.er1
21487 cat conftest.err >&5
21488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21489 (exit $ac_status); } && {
21490 test -z "$ac_c_werror_flag" ||
21491 test ! -s conftest.err
21492 } && test -s conftest.$ac_objext; then
21493 ac_hi=$ac_mid
21494 else
21495 echo "$as_me: failed program was:" >&5
21496 sed 's/^/| /' conftest.$ac_ext >&5
21497
21498 ac_lo=`expr '(' $ac_mid ')' + 1`
21499 fi
21500
21501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21502 done
21503 case $ac_lo in
21504 ?*) ac_cv_sizeof_void_p=$ac_lo;;
21505 '') if test "$ac_cv_type_void_p" = yes; then
21506 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
21507 See \`config.log' for more details." >&5
21508 echo "$as_me: error: cannot compute sizeof (void *)
21509 See \`config.log' for more details." >&2;}
21510 { (exit 77); exit 77; }; }
21511 else
21512 ac_cv_sizeof_void_p=0
21513 fi ;;
21514 esac
21515 else
21516 cat >conftest.$ac_ext <<_ACEOF
21517 /* confdefs.h. */
21518 _ACEOF
21519 cat confdefs.h >>conftest.$ac_ext
21520 cat >>conftest.$ac_ext <<_ACEOF
21521 /* end confdefs.h. */
21522 $ac_includes_default
21523 typedef void * ac__type_sizeof_;
21524 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21525 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21526 #include <stdio.h>
21527 #include <stdlib.h>
21528 int
21529 main ()
21530 {
21531
21532 FILE *f = fopen ("conftest.val", "w");
21533 if (! f)
21534 return 1;
21535 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21536 {
21537 long int i = longval ();
21538 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21539 return 1;
21540 fprintf (f, "%ld\n", i);
21541 }
21542 else
21543 {
21544 unsigned long int i = ulongval ();
21545 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21546 return 1;
21547 fprintf (f, "%lu\n", i);
21548 }
21549 return ferror (f) || fclose (f) != 0;
21550
21551 ;
21552 return 0;
21553 }
21554 _ACEOF
21555 rm -f conftest$ac_exeext
21556 if { (ac_try="$ac_link"
21557 case "(($ac_try" in
21558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21559 *) ac_try_echo=$ac_try;;
21560 esac
21561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21562 (eval "$ac_link") 2>&5
21563 ac_status=$?
21564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21565 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21566 { (case "(($ac_try" in
21567 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21568 *) ac_try_echo=$ac_try;;
21569 esac
21570 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21571 (eval "$ac_try") 2>&5
21572 ac_status=$?
21573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21574 (exit $ac_status); }; }; then
21575 ac_cv_sizeof_void_p=`cat conftest.val`
21576 else
21577 echo "$as_me: program exited with status $ac_status" >&5
21578 echo "$as_me: failed program was:" >&5
21579 sed 's/^/| /' conftest.$ac_ext >&5
21580
21581 ( exit $ac_status )
21582 if test "$ac_cv_type_void_p" = yes; then
21583 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
21584 See \`config.log' for more details." >&5
21585 echo "$as_me: error: cannot compute sizeof (void *)
21586 See \`config.log' for more details." >&2;}
21587 { (exit 77); exit 77; }; }
21588 else
21589 ac_cv_sizeof_void_p=0
21590 fi
21591 fi
21592 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21593 fi
21594 rm -f conftest.val
21595 fi
21596 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
21597 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
21598
21599
21600
21601 cat >>confdefs.h <<_ACEOF
21602 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
21603 _ACEOF
21604
21605
21606 { echo "$as_me:$LINENO: checking for int" >&5
21607 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
21608 if test "${ac_cv_type_int+set}" = set; then
21609 echo $ECHO_N "(cached) $ECHO_C" >&6
21610 else
21611 cat >conftest.$ac_ext <<_ACEOF
21612 /* confdefs.h. */
21613 _ACEOF
21614 cat confdefs.h >>conftest.$ac_ext
21615 cat >>conftest.$ac_ext <<_ACEOF
21616 /* end confdefs.h. */
21617 $ac_includes_default
21618 typedef int ac__type_new_;
21619 int
21620 main ()
21621 {
21622 if ((ac__type_new_ *) 0)
21623 return 0;
21624 if (sizeof (ac__type_new_))
21625 return 0;
21626 ;
21627 return 0;
21628 }
21629 _ACEOF
21630 rm -f conftest.$ac_objext
21631 if { (ac_try="$ac_compile"
21632 case "(($ac_try" in
21633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21634 *) ac_try_echo=$ac_try;;
21635 esac
21636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21637 (eval "$ac_compile") 2>conftest.er1
21638 ac_status=$?
21639 grep -v '^ *+' conftest.er1 >conftest.err
21640 rm -f conftest.er1
21641 cat conftest.err >&5
21642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21643 (exit $ac_status); } && {
21644 test -z "$ac_c_werror_flag" ||
21645 test ! -s conftest.err
21646 } && test -s conftest.$ac_objext; then
21647 ac_cv_type_int=yes
21648 else
21649 echo "$as_me: failed program was:" >&5
21650 sed 's/^/| /' conftest.$ac_ext >&5
21651
21652 ac_cv_type_int=no
21653 fi
21654
21655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21656 fi
21657 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
21658 echo "${ECHO_T}$ac_cv_type_int" >&6; }
21659
21660 # The cast to long int works around a bug in the HP C Compiler
21661 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21662 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21663 # This bug is HP SR number 8606223364.
21664 { echo "$as_me:$LINENO: checking size of int" >&5
21665 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
21666 if test "${ac_cv_sizeof_int+set}" = set; then
21667 echo $ECHO_N "(cached) $ECHO_C" >&6
21668 else
21669 if test "$cross_compiling" = yes; then
21670 # Depending upon the size, compute the lo and hi bounds.
21671 cat >conftest.$ac_ext <<_ACEOF
21672 /* confdefs.h. */
21673 _ACEOF
21674 cat confdefs.h >>conftest.$ac_ext
21675 cat >>conftest.$ac_ext <<_ACEOF
21676 /* end confdefs.h. */
21677 $ac_includes_default
21678 typedef int ac__type_sizeof_;
21679 int
21680 main ()
21681 {
21682 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21683 test_array [0] = 0
21684
21685 ;
21686 return 0;
21687 }
21688 _ACEOF
21689 rm -f conftest.$ac_objext
21690 if { (ac_try="$ac_compile"
21691 case "(($ac_try" in
21692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21693 *) ac_try_echo=$ac_try;;
21694 esac
21695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21696 (eval "$ac_compile") 2>conftest.er1
21697 ac_status=$?
21698 grep -v '^ *+' conftest.er1 >conftest.err
21699 rm -f conftest.er1
21700 cat conftest.err >&5
21701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21702 (exit $ac_status); } && {
21703 test -z "$ac_c_werror_flag" ||
21704 test ! -s conftest.err
21705 } && test -s conftest.$ac_objext; then
21706 ac_lo=0 ac_mid=0
21707 while :; do
21708 cat >conftest.$ac_ext <<_ACEOF
21709 /* confdefs.h. */
21710 _ACEOF
21711 cat confdefs.h >>conftest.$ac_ext
21712 cat >>conftest.$ac_ext <<_ACEOF
21713 /* end confdefs.h. */
21714 $ac_includes_default
21715 typedef int ac__type_sizeof_;
21716 int
21717 main ()
21718 {
21719 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21720 test_array [0] = 0
21721
21722 ;
21723 return 0;
21724 }
21725 _ACEOF
21726 rm -f conftest.$ac_objext
21727 if { (ac_try="$ac_compile"
21728 case "(($ac_try" in
21729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21730 *) ac_try_echo=$ac_try;;
21731 esac
21732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21733 (eval "$ac_compile") 2>conftest.er1
21734 ac_status=$?
21735 grep -v '^ *+' conftest.er1 >conftest.err
21736 rm -f conftest.er1
21737 cat conftest.err >&5
21738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21739 (exit $ac_status); } && {
21740 test -z "$ac_c_werror_flag" ||
21741 test ! -s conftest.err
21742 } && test -s conftest.$ac_objext; then
21743 ac_hi=$ac_mid; break
21744 else
21745 echo "$as_me: failed program was:" >&5
21746 sed 's/^/| /' conftest.$ac_ext >&5
21747
21748 ac_lo=`expr $ac_mid + 1`
21749 if test $ac_lo -le $ac_mid; then
21750 ac_lo= ac_hi=
21751 break
21752 fi
21753 ac_mid=`expr 2 '*' $ac_mid + 1`
21754 fi
21755
21756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21757 done
21758 else
21759 echo "$as_me: failed program was:" >&5
21760 sed 's/^/| /' conftest.$ac_ext >&5
21761
21762 cat >conftest.$ac_ext <<_ACEOF
21763 /* confdefs.h. */
21764 _ACEOF
21765 cat confdefs.h >>conftest.$ac_ext
21766 cat >>conftest.$ac_ext <<_ACEOF
21767 /* end confdefs.h. */
21768 $ac_includes_default
21769 typedef int ac__type_sizeof_;
21770 int
21771 main ()
21772 {
21773 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21774 test_array [0] = 0
21775
21776 ;
21777 return 0;
21778 }
21779 _ACEOF
21780 rm -f conftest.$ac_objext
21781 if { (ac_try="$ac_compile"
21782 case "(($ac_try" in
21783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21784 *) ac_try_echo=$ac_try;;
21785 esac
21786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21787 (eval "$ac_compile") 2>conftest.er1
21788 ac_status=$?
21789 grep -v '^ *+' conftest.er1 >conftest.err
21790 rm -f conftest.er1
21791 cat conftest.err >&5
21792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21793 (exit $ac_status); } && {
21794 test -z "$ac_c_werror_flag" ||
21795 test ! -s conftest.err
21796 } && test -s conftest.$ac_objext; then
21797 ac_hi=-1 ac_mid=-1
21798 while :; do
21799 cat >conftest.$ac_ext <<_ACEOF
21800 /* confdefs.h. */
21801 _ACEOF
21802 cat confdefs.h >>conftest.$ac_ext
21803 cat >>conftest.$ac_ext <<_ACEOF
21804 /* end confdefs.h. */
21805 $ac_includes_default
21806 typedef int ac__type_sizeof_;
21807 int
21808 main ()
21809 {
21810 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21811 test_array [0] = 0
21812
21813 ;
21814 return 0;
21815 }
21816 _ACEOF
21817 rm -f conftest.$ac_objext
21818 if { (ac_try="$ac_compile"
21819 case "(($ac_try" in
21820 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21821 *) ac_try_echo=$ac_try;;
21822 esac
21823 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21824 (eval "$ac_compile") 2>conftest.er1
21825 ac_status=$?
21826 grep -v '^ *+' conftest.er1 >conftest.err
21827 rm -f conftest.er1
21828 cat conftest.err >&5
21829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21830 (exit $ac_status); } && {
21831 test -z "$ac_c_werror_flag" ||
21832 test ! -s conftest.err
21833 } && test -s conftest.$ac_objext; then
21834 ac_lo=$ac_mid; break
21835 else
21836 echo "$as_me: failed program was:" >&5
21837 sed 's/^/| /' conftest.$ac_ext >&5
21838
21839 ac_hi=`expr '(' $ac_mid ')' - 1`
21840 if test $ac_mid -le $ac_hi; then
21841 ac_lo= ac_hi=
21842 break
21843 fi
21844 ac_mid=`expr 2 '*' $ac_mid`
21845 fi
21846
21847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21848 done
21849 else
21850 echo "$as_me: failed program was:" >&5
21851 sed 's/^/| /' conftest.$ac_ext >&5
21852
21853 ac_lo= ac_hi=
21854 fi
21855
21856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21857 fi
21858
21859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21860 # Binary search between lo and hi bounds.
21861 while test "x$ac_lo" != "x$ac_hi"; do
21862 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21863 cat >conftest.$ac_ext <<_ACEOF
21864 /* confdefs.h. */
21865 _ACEOF
21866 cat confdefs.h >>conftest.$ac_ext
21867 cat >>conftest.$ac_ext <<_ACEOF
21868 /* end confdefs.h. */
21869 $ac_includes_default
21870 typedef int ac__type_sizeof_;
21871 int
21872 main ()
21873 {
21874 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21875 test_array [0] = 0
21876
21877 ;
21878 return 0;
21879 }
21880 _ACEOF
21881 rm -f conftest.$ac_objext
21882 if { (ac_try="$ac_compile"
21883 case "(($ac_try" in
21884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21885 *) ac_try_echo=$ac_try;;
21886 esac
21887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21888 (eval "$ac_compile") 2>conftest.er1
21889 ac_status=$?
21890 grep -v '^ *+' conftest.er1 >conftest.err
21891 rm -f conftest.er1
21892 cat conftest.err >&5
21893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21894 (exit $ac_status); } && {
21895 test -z "$ac_c_werror_flag" ||
21896 test ! -s conftest.err
21897 } && test -s conftest.$ac_objext; then
21898 ac_hi=$ac_mid
21899 else
21900 echo "$as_me: failed program was:" >&5
21901 sed 's/^/| /' conftest.$ac_ext >&5
21902
21903 ac_lo=`expr '(' $ac_mid ')' + 1`
21904 fi
21905
21906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21907 done
21908 case $ac_lo in
21909 ?*) ac_cv_sizeof_int=$ac_lo;;
21910 '') if test "$ac_cv_type_int" = yes; then
21911 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
21912 See \`config.log' for more details." >&5
21913 echo "$as_me: error: cannot compute sizeof (int)
21914 See \`config.log' for more details." >&2;}
21915 { (exit 77); exit 77; }; }
21916 else
21917 ac_cv_sizeof_int=0
21918 fi ;;
21919 esac
21920 else
21921 cat >conftest.$ac_ext <<_ACEOF
21922 /* confdefs.h. */
21923 _ACEOF
21924 cat confdefs.h >>conftest.$ac_ext
21925 cat >>conftest.$ac_ext <<_ACEOF
21926 /* end confdefs.h. */
21927 $ac_includes_default
21928 typedef int ac__type_sizeof_;
21929 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21930 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21931 #include <stdio.h>
21932 #include <stdlib.h>
21933 int
21934 main ()
21935 {
21936
21937 FILE *f = fopen ("conftest.val", "w");
21938 if (! f)
21939 return 1;
21940 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21941 {
21942 long int i = longval ();
21943 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21944 return 1;
21945 fprintf (f, "%ld\n", i);
21946 }
21947 else
21948 {
21949 unsigned long int i = ulongval ();
21950 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21951 return 1;
21952 fprintf (f, "%lu\n", i);
21953 }
21954 return ferror (f) || fclose (f) != 0;
21955
21956 ;
21957 return 0;
21958 }
21959 _ACEOF
21960 rm -f conftest$ac_exeext
21961 if { (ac_try="$ac_link"
21962 case "(($ac_try" in
21963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21964 *) ac_try_echo=$ac_try;;
21965 esac
21966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21967 (eval "$ac_link") 2>&5
21968 ac_status=$?
21969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21970 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21971 { (case "(($ac_try" in
21972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21973 *) ac_try_echo=$ac_try;;
21974 esac
21975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21976 (eval "$ac_try") 2>&5
21977 ac_status=$?
21978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21979 (exit $ac_status); }; }; then
21980 ac_cv_sizeof_int=`cat conftest.val`
21981 else
21982 echo "$as_me: program exited with status $ac_status" >&5
21983 echo "$as_me: failed program was:" >&5
21984 sed 's/^/| /' conftest.$ac_ext >&5
21985
21986 ( exit $ac_status )
21987 if test "$ac_cv_type_int" = yes; then
21988 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
21989 See \`config.log' for more details." >&5
21990 echo "$as_me: error: cannot compute sizeof (int)
21991 See \`config.log' for more details." >&2;}
21992 { (exit 77); exit 77; }; }
21993 else
21994 ac_cv_sizeof_int=0
21995 fi
21996 fi
21997 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21998 fi
21999 rm -f conftest.val
22000 fi
22001 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
22002 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
22003
22004
22005
22006 cat >>confdefs.h <<_ACEOF
22007 #define SIZEOF_INT $ac_cv_sizeof_int
22008 _ACEOF
22009
22010
22011 { echo "$as_me:$LINENO: checking for long" >&5
22012 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
22013 if test "${ac_cv_type_long+set}" = set; then
22014 echo $ECHO_N "(cached) $ECHO_C" >&6
22015 else
22016 cat >conftest.$ac_ext <<_ACEOF
22017 /* confdefs.h. */
22018 _ACEOF
22019 cat confdefs.h >>conftest.$ac_ext
22020 cat >>conftest.$ac_ext <<_ACEOF
22021 /* end confdefs.h. */
22022 $ac_includes_default
22023 typedef long ac__type_new_;
22024 int
22025 main ()
22026 {
22027 if ((ac__type_new_ *) 0)
22028 return 0;
22029 if (sizeof (ac__type_new_))
22030 return 0;
22031 ;
22032 return 0;
22033 }
22034 _ACEOF
22035 rm -f conftest.$ac_objext
22036 if { (ac_try="$ac_compile"
22037 case "(($ac_try" in
22038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22039 *) ac_try_echo=$ac_try;;
22040 esac
22041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22042 (eval "$ac_compile") 2>conftest.er1
22043 ac_status=$?
22044 grep -v '^ *+' conftest.er1 >conftest.err
22045 rm -f conftest.er1
22046 cat conftest.err >&5
22047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22048 (exit $ac_status); } && {
22049 test -z "$ac_c_werror_flag" ||
22050 test ! -s conftest.err
22051 } && test -s conftest.$ac_objext; then
22052 ac_cv_type_long=yes
22053 else
22054 echo "$as_me: failed program was:" >&5
22055 sed 's/^/| /' conftest.$ac_ext >&5
22056
22057 ac_cv_type_long=no
22058 fi
22059
22060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22061 fi
22062 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
22063 echo "${ECHO_T}$ac_cv_type_long" >&6; }
22064
22065 # The cast to long int works around a bug in the HP C Compiler
22066 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22067 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22068 # This bug is HP SR number 8606223364.
22069 { echo "$as_me:$LINENO: checking size of long" >&5
22070 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
22071 if test "${ac_cv_sizeof_long+set}" = set; then
22072 echo $ECHO_N "(cached) $ECHO_C" >&6
22073 else
22074 if test "$cross_compiling" = yes; then
22075 # Depending upon the size, compute the lo and hi bounds.
22076 cat >conftest.$ac_ext <<_ACEOF
22077 /* confdefs.h. */
22078 _ACEOF
22079 cat confdefs.h >>conftest.$ac_ext
22080 cat >>conftest.$ac_ext <<_ACEOF
22081 /* end confdefs.h. */
22082 $ac_includes_default
22083 typedef long ac__type_sizeof_;
22084 int
22085 main ()
22086 {
22087 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22088 test_array [0] = 0
22089
22090 ;
22091 return 0;
22092 }
22093 _ACEOF
22094 rm -f conftest.$ac_objext
22095 if { (ac_try="$ac_compile"
22096 case "(($ac_try" in
22097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22098 *) ac_try_echo=$ac_try;;
22099 esac
22100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22101 (eval "$ac_compile") 2>conftest.er1
22102 ac_status=$?
22103 grep -v '^ *+' conftest.er1 >conftest.err
22104 rm -f conftest.er1
22105 cat conftest.err >&5
22106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22107 (exit $ac_status); } && {
22108 test -z "$ac_c_werror_flag" ||
22109 test ! -s conftest.err
22110 } && test -s conftest.$ac_objext; then
22111 ac_lo=0 ac_mid=0
22112 while :; do
22113 cat >conftest.$ac_ext <<_ACEOF
22114 /* confdefs.h. */
22115 _ACEOF
22116 cat confdefs.h >>conftest.$ac_ext
22117 cat >>conftest.$ac_ext <<_ACEOF
22118 /* end confdefs.h. */
22119 $ac_includes_default
22120 typedef long ac__type_sizeof_;
22121 int
22122 main ()
22123 {
22124 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22125 test_array [0] = 0
22126
22127 ;
22128 return 0;
22129 }
22130 _ACEOF
22131 rm -f conftest.$ac_objext
22132 if { (ac_try="$ac_compile"
22133 case "(($ac_try" in
22134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22135 *) ac_try_echo=$ac_try;;
22136 esac
22137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22138 (eval "$ac_compile") 2>conftest.er1
22139 ac_status=$?
22140 grep -v '^ *+' conftest.er1 >conftest.err
22141 rm -f conftest.er1
22142 cat conftest.err >&5
22143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22144 (exit $ac_status); } && {
22145 test -z "$ac_c_werror_flag" ||
22146 test ! -s conftest.err
22147 } && test -s conftest.$ac_objext; then
22148 ac_hi=$ac_mid; break
22149 else
22150 echo "$as_me: failed program was:" >&5
22151 sed 's/^/| /' conftest.$ac_ext >&5
22152
22153 ac_lo=`expr $ac_mid + 1`
22154 if test $ac_lo -le $ac_mid; then
22155 ac_lo= ac_hi=
22156 break
22157 fi
22158 ac_mid=`expr 2 '*' $ac_mid + 1`
22159 fi
22160
22161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22162 done
22163 else
22164 echo "$as_me: failed program was:" >&5
22165 sed 's/^/| /' conftest.$ac_ext >&5
22166
22167 cat >conftest.$ac_ext <<_ACEOF
22168 /* confdefs.h. */
22169 _ACEOF
22170 cat confdefs.h >>conftest.$ac_ext
22171 cat >>conftest.$ac_ext <<_ACEOF
22172 /* end confdefs.h. */
22173 $ac_includes_default
22174 typedef long ac__type_sizeof_;
22175 int
22176 main ()
22177 {
22178 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22179 test_array [0] = 0
22180
22181 ;
22182 return 0;
22183 }
22184 _ACEOF
22185 rm -f conftest.$ac_objext
22186 if { (ac_try="$ac_compile"
22187 case "(($ac_try" in
22188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22189 *) ac_try_echo=$ac_try;;
22190 esac
22191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22192 (eval "$ac_compile") 2>conftest.er1
22193 ac_status=$?
22194 grep -v '^ *+' conftest.er1 >conftest.err
22195 rm -f conftest.er1
22196 cat conftest.err >&5
22197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22198 (exit $ac_status); } && {
22199 test -z "$ac_c_werror_flag" ||
22200 test ! -s conftest.err
22201 } && test -s conftest.$ac_objext; then
22202 ac_hi=-1 ac_mid=-1
22203 while :; do
22204 cat >conftest.$ac_ext <<_ACEOF
22205 /* confdefs.h. */
22206 _ACEOF
22207 cat confdefs.h >>conftest.$ac_ext
22208 cat >>conftest.$ac_ext <<_ACEOF
22209 /* end confdefs.h. */
22210 $ac_includes_default
22211 typedef long ac__type_sizeof_;
22212 int
22213 main ()
22214 {
22215 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22216 test_array [0] = 0
22217
22218 ;
22219 return 0;
22220 }
22221 _ACEOF
22222 rm -f conftest.$ac_objext
22223 if { (ac_try="$ac_compile"
22224 case "(($ac_try" in
22225 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22226 *) ac_try_echo=$ac_try;;
22227 esac
22228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22229 (eval "$ac_compile") 2>conftest.er1
22230 ac_status=$?
22231 grep -v '^ *+' conftest.er1 >conftest.err
22232 rm -f conftest.er1
22233 cat conftest.err >&5
22234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22235 (exit $ac_status); } && {
22236 test -z "$ac_c_werror_flag" ||
22237 test ! -s conftest.err
22238 } && test -s conftest.$ac_objext; then
22239 ac_lo=$ac_mid; break
22240 else
22241 echo "$as_me: failed program was:" >&5
22242 sed 's/^/| /' conftest.$ac_ext >&5
22243
22244 ac_hi=`expr '(' $ac_mid ')' - 1`
22245 if test $ac_mid -le $ac_hi; then
22246 ac_lo= ac_hi=
22247 break
22248 fi
22249 ac_mid=`expr 2 '*' $ac_mid`
22250 fi
22251
22252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22253 done
22254 else
22255 echo "$as_me: failed program was:" >&5
22256 sed 's/^/| /' conftest.$ac_ext >&5
22257
22258 ac_lo= ac_hi=
22259 fi
22260
22261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22262 fi
22263
22264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22265 # Binary search between lo and hi bounds.
22266 while test "x$ac_lo" != "x$ac_hi"; do
22267 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22268 cat >conftest.$ac_ext <<_ACEOF
22269 /* confdefs.h. */
22270 _ACEOF
22271 cat confdefs.h >>conftest.$ac_ext
22272 cat >>conftest.$ac_ext <<_ACEOF
22273 /* end confdefs.h. */
22274 $ac_includes_default
22275 typedef long ac__type_sizeof_;
22276 int
22277 main ()
22278 {
22279 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22280 test_array [0] = 0
22281
22282 ;
22283 return 0;
22284 }
22285 _ACEOF
22286 rm -f conftest.$ac_objext
22287 if { (ac_try="$ac_compile"
22288 case "(($ac_try" in
22289 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22290 *) ac_try_echo=$ac_try;;
22291 esac
22292 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22293 (eval "$ac_compile") 2>conftest.er1
22294 ac_status=$?
22295 grep -v '^ *+' conftest.er1 >conftest.err
22296 rm -f conftest.er1
22297 cat conftest.err >&5
22298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22299 (exit $ac_status); } && {
22300 test -z "$ac_c_werror_flag" ||
22301 test ! -s conftest.err
22302 } && test -s conftest.$ac_objext; then
22303 ac_hi=$ac_mid
22304 else
22305 echo "$as_me: failed program was:" >&5
22306 sed 's/^/| /' conftest.$ac_ext >&5
22307
22308 ac_lo=`expr '(' $ac_mid ')' + 1`
22309 fi
22310
22311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22312 done
22313 case $ac_lo in
22314 ?*) ac_cv_sizeof_long=$ac_lo;;
22315 '') if test "$ac_cv_type_long" = yes; then
22316 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
22317 See \`config.log' for more details." >&5
22318 echo "$as_me: error: cannot compute sizeof (long)
22319 See \`config.log' for more details." >&2;}
22320 { (exit 77); exit 77; }; }
22321 else
22322 ac_cv_sizeof_long=0
22323 fi ;;
22324 esac
22325 else
22326 cat >conftest.$ac_ext <<_ACEOF
22327 /* confdefs.h. */
22328 _ACEOF
22329 cat confdefs.h >>conftest.$ac_ext
22330 cat >>conftest.$ac_ext <<_ACEOF
22331 /* end confdefs.h. */
22332 $ac_includes_default
22333 typedef long ac__type_sizeof_;
22334 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22335 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22336 #include <stdio.h>
22337 #include <stdlib.h>
22338 int
22339 main ()
22340 {
22341
22342 FILE *f = fopen ("conftest.val", "w");
22343 if (! f)
22344 return 1;
22345 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22346 {
22347 long int i = longval ();
22348 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22349 return 1;
22350 fprintf (f, "%ld\n", i);
22351 }
22352 else
22353 {
22354 unsigned long int i = ulongval ();
22355 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22356 return 1;
22357 fprintf (f, "%lu\n", i);
22358 }
22359 return ferror (f) || fclose (f) != 0;
22360
22361 ;
22362 return 0;
22363 }
22364 _ACEOF
22365 rm -f conftest$ac_exeext
22366 if { (ac_try="$ac_link"
22367 case "(($ac_try" in
22368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22369 *) ac_try_echo=$ac_try;;
22370 esac
22371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22372 (eval "$ac_link") 2>&5
22373 ac_status=$?
22374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22375 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22376 { (case "(($ac_try" in
22377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22378 *) ac_try_echo=$ac_try;;
22379 esac
22380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22381 (eval "$ac_try") 2>&5
22382 ac_status=$?
22383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22384 (exit $ac_status); }; }; then
22385 ac_cv_sizeof_long=`cat conftest.val`
22386 else
22387 echo "$as_me: program exited with status $ac_status" >&5
22388 echo "$as_me: failed program was:" >&5
22389 sed 's/^/| /' conftest.$ac_ext >&5
22390
22391 ( exit $ac_status )
22392 if test "$ac_cv_type_long" = yes; then
22393 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
22394 See \`config.log' for more details." >&5
22395 echo "$as_me: error: cannot compute sizeof (long)
22396 See \`config.log' for more details." >&2;}
22397 { (exit 77); exit 77; }; }
22398 else
22399 ac_cv_sizeof_long=0
22400 fi
22401 fi
22402 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22403 fi
22404 rm -f conftest.val
22405 fi
22406 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
22407 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
22408
22409
22410
22411 cat >>confdefs.h <<_ACEOF
22412 #define SIZEOF_LONG $ac_cv_sizeof_long
22413 _ACEOF
22414
22415
22416 { echo "$as_me:$LINENO: checking for size_t" >&5
22417 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
22418 if test "${ac_cv_type_size_t+set}" = set; then
22419 echo $ECHO_N "(cached) $ECHO_C" >&6
22420 else
22421 cat >conftest.$ac_ext <<_ACEOF
22422 /* confdefs.h. */
22423 _ACEOF
22424 cat confdefs.h >>conftest.$ac_ext
22425 cat >>conftest.$ac_ext <<_ACEOF
22426 /* end confdefs.h. */
22427 $ac_includes_default
22428 typedef size_t ac__type_new_;
22429 int
22430 main ()
22431 {
22432 if ((ac__type_new_ *) 0)
22433 return 0;
22434 if (sizeof (ac__type_new_))
22435 return 0;
22436 ;
22437 return 0;
22438 }
22439 _ACEOF
22440 rm -f conftest.$ac_objext
22441 if { (ac_try="$ac_compile"
22442 case "(($ac_try" in
22443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22444 *) ac_try_echo=$ac_try;;
22445 esac
22446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22447 (eval "$ac_compile") 2>conftest.er1
22448 ac_status=$?
22449 grep -v '^ *+' conftest.er1 >conftest.err
22450 rm -f conftest.er1
22451 cat conftest.err >&5
22452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22453 (exit $ac_status); } && {
22454 test -z "$ac_c_werror_flag" ||
22455 test ! -s conftest.err
22456 } && test -s conftest.$ac_objext; then
22457 ac_cv_type_size_t=yes
22458 else
22459 echo "$as_me: failed program was:" >&5
22460 sed 's/^/| /' conftest.$ac_ext >&5
22461
22462 ac_cv_type_size_t=no
22463 fi
22464
22465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22466 fi
22467 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
22468 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
22469
22470 # The cast to long int works around a bug in the HP C Compiler
22471 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22472 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22473 # This bug is HP SR number 8606223364.
22474 { echo "$as_me:$LINENO: checking size of size_t" >&5
22475 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
22476 if test "${ac_cv_sizeof_size_t+set}" = set; then
22477 echo $ECHO_N "(cached) $ECHO_C" >&6
22478 else
22479 if test "$cross_compiling" = yes; then
22480 # Depending upon the size, compute the lo and hi bounds.
22481 cat >conftest.$ac_ext <<_ACEOF
22482 /* confdefs.h. */
22483 _ACEOF
22484 cat confdefs.h >>conftest.$ac_ext
22485 cat >>conftest.$ac_ext <<_ACEOF
22486 /* end confdefs.h. */
22487 $ac_includes_default
22488 typedef size_t ac__type_sizeof_;
22489 int
22490 main ()
22491 {
22492 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22493 test_array [0] = 0
22494
22495 ;
22496 return 0;
22497 }
22498 _ACEOF
22499 rm -f conftest.$ac_objext
22500 if { (ac_try="$ac_compile"
22501 case "(($ac_try" in
22502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22503 *) ac_try_echo=$ac_try;;
22504 esac
22505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22506 (eval "$ac_compile") 2>conftest.er1
22507 ac_status=$?
22508 grep -v '^ *+' conftest.er1 >conftest.err
22509 rm -f conftest.er1
22510 cat conftest.err >&5
22511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22512 (exit $ac_status); } && {
22513 test -z "$ac_c_werror_flag" ||
22514 test ! -s conftest.err
22515 } && test -s conftest.$ac_objext; then
22516 ac_lo=0 ac_mid=0
22517 while :; do
22518 cat >conftest.$ac_ext <<_ACEOF
22519 /* confdefs.h. */
22520 _ACEOF
22521 cat confdefs.h >>conftest.$ac_ext
22522 cat >>conftest.$ac_ext <<_ACEOF
22523 /* end confdefs.h. */
22524 $ac_includes_default
22525 typedef size_t ac__type_sizeof_;
22526 int
22527 main ()
22528 {
22529 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22530 test_array [0] = 0
22531
22532 ;
22533 return 0;
22534 }
22535 _ACEOF
22536 rm -f conftest.$ac_objext
22537 if { (ac_try="$ac_compile"
22538 case "(($ac_try" in
22539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22540 *) ac_try_echo=$ac_try;;
22541 esac
22542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22543 (eval "$ac_compile") 2>conftest.er1
22544 ac_status=$?
22545 grep -v '^ *+' conftest.er1 >conftest.err
22546 rm -f conftest.er1
22547 cat conftest.err >&5
22548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22549 (exit $ac_status); } && {
22550 test -z "$ac_c_werror_flag" ||
22551 test ! -s conftest.err
22552 } && test -s conftest.$ac_objext; then
22553 ac_hi=$ac_mid; break
22554 else
22555 echo "$as_me: failed program was:" >&5
22556 sed 's/^/| /' conftest.$ac_ext >&5
22557
22558 ac_lo=`expr $ac_mid + 1`
22559 if test $ac_lo -le $ac_mid; then
22560 ac_lo= ac_hi=
22561 break
22562 fi
22563 ac_mid=`expr 2 '*' $ac_mid + 1`
22564 fi
22565
22566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22567 done
22568 else
22569 echo "$as_me: failed program was:" >&5
22570 sed 's/^/| /' conftest.$ac_ext >&5
22571
22572 cat >conftest.$ac_ext <<_ACEOF
22573 /* confdefs.h. */
22574 _ACEOF
22575 cat confdefs.h >>conftest.$ac_ext
22576 cat >>conftest.$ac_ext <<_ACEOF
22577 /* end confdefs.h. */
22578 $ac_includes_default
22579 typedef size_t ac__type_sizeof_;
22580 int
22581 main ()
22582 {
22583 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22584 test_array [0] = 0
22585
22586 ;
22587 return 0;
22588 }
22589 _ACEOF
22590 rm -f conftest.$ac_objext
22591 if { (ac_try="$ac_compile"
22592 case "(($ac_try" in
22593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22594 *) ac_try_echo=$ac_try;;
22595 esac
22596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22597 (eval "$ac_compile") 2>conftest.er1
22598 ac_status=$?
22599 grep -v '^ *+' conftest.er1 >conftest.err
22600 rm -f conftest.er1
22601 cat conftest.err >&5
22602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22603 (exit $ac_status); } && {
22604 test -z "$ac_c_werror_flag" ||
22605 test ! -s conftest.err
22606 } && test -s conftest.$ac_objext; then
22607 ac_hi=-1 ac_mid=-1
22608 while :; do
22609 cat >conftest.$ac_ext <<_ACEOF
22610 /* confdefs.h. */
22611 _ACEOF
22612 cat confdefs.h >>conftest.$ac_ext
22613 cat >>conftest.$ac_ext <<_ACEOF
22614 /* end confdefs.h. */
22615 $ac_includes_default
22616 typedef size_t ac__type_sizeof_;
22617 int
22618 main ()
22619 {
22620 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22621 test_array [0] = 0
22622
22623 ;
22624 return 0;
22625 }
22626 _ACEOF
22627 rm -f conftest.$ac_objext
22628 if { (ac_try="$ac_compile"
22629 case "(($ac_try" in
22630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22631 *) ac_try_echo=$ac_try;;
22632 esac
22633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22634 (eval "$ac_compile") 2>conftest.er1
22635 ac_status=$?
22636 grep -v '^ *+' conftest.er1 >conftest.err
22637 rm -f conftest.er1
22638 cat conftest.err >&5
22639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22640 (exit $ac_status); } && {
22641 test -z "$ac_c_werror_flag" ||
22642 test ! -s conftest.err
22643 } && test -s conftest.$ac_objext; then
22644 ac_lo=$ac_mid; break
22645 else
22646 echo "$as_me: failed program was:" >&5
22647 sed 's/^/| /' conftest.$ac_ext >&5
22648
22649 ac_hi=`expr '(' $ac_mid ')' - 1`
22650 if test $ac_mid -le $ac_hi; then
22651 ac_lo= ac_hi=
22652 break
22653 fi
22654 ac_mid=`expr 2 '*' $ac_mid`
22655 fi
22656
22657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22658 done
22659 else
22660 echo "$as_me: failed program was:" >&5
22661 sed 's/^/| /' conftest.$ac_ext >&5
22662
22663 ac_lo= ac_hi=
22664 fi
22665
22666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22667 fi
22668
22669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22670 # Binary search between lo and hi bounds.
22671 while test "x$ac_lo" != "x$ac_hi"; do
22672 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22673 cat >conftest.$ac_ext <<_ACEOF
22674 /* confdefs.h. */
22675 _ACEOF
22676 cat confdefs.h >>conftest.$ac_ext
22677 cat >>conftest.$ac_ext <<_ACEOF
22678 /* end confdefs.h. */
22679 $ac_includes_default
22680 typedef size_t ac__type_sizeof_;
22681 int
22682 main ()
22683 {
22684 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22685 test_array [0] = 0
22686
22687 ;
22688 return 0;
22689 }
22690 _ACEOF
22691 rm -f conftest.$ac_objext
22692 if { (ac_try="$ac_compile"
22693 case "(($ac_try" in
22694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22695 *) ac_try_echo=$ac_try;;
22696 esac
22697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22698 (eval "$ac_compile") 2>conftest.er1
22699 ac_status=$?
22700 grep -v '^ *+' conftest.er1 >conftest.err
22701 rm -f conftest.er1
22702 cat conftest.err >&5
22703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22704 (exit $ac_status); } && {
22705 test -z "$ac_c_werror_flag" ||
22706 test ! -s conftest.err
22707 } && test -s conftest.$ac_objext; then
22708 ac_hi=$ac_mid
22709 else
22710 echo "$as_me: failed program was:" >&5
22711 sed 's/^/| /' conftest.$ac_ext >&5
22712
22713 ac_lo=`expr '(' $ac_mid ')' + 1`
22714 fi
22715
22716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22717 done
22718 case $ac_lo in
22719 ?*) ac_cv_sizeof_size_t=$ac_lo;;
22720 '') if test "$ac_cv_type_size_t" = yes; then
22721 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
22722 See \`config.log' for more details." >&5
22723 echo "$as_me: error: cannot compute sizeof (size_t)
22724 See \`config.log' for more details." >&2;}
22725 { (exit 77); exit 77; }; }
22726 else
22727 ac_cv_sizeof_size_t=0
22728 fi ;;
22729 esac
22730 else
22731 cat >conftest.$ac_ext <<_ACEOF
22732 /* confdefs.h. */
22733 _ACEOF
22734 cat confdefs.h >>conftest.$ac_ext
22735 cat >>conftest.$ac_ext <<_ACEOF
22736 /* end confdefs.h. */
22737 $ac_includes_default
22738 typedef size_t ac__type_sizeof_;
22739 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22740 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22741 #include <stdio.h>
22742 #include <stdlib.h>
22743 int
22744 main ()
22745 {
22746
22747 FILE *f = fopen ("conftest.val", "w");
22748 if (! f)
22749 return 1;
22750 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22751 {
22752 long int i = longval ();
22753 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22754 return 1;
22755 fprintf (f, "%ld\n", i);
22756 }
22757 else
22758 {
22759 unsigned long int i = ulongval ();
22760 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22761 return 1;
22762 fprintf (f, "%lu\n", i);
22763 }
22764 return ferror (f) || fclose (f) != 0;
22765
22766 ;
22767 return 0;
22768 }
22769 _ACEOF
22770 rm -f conftest$ac_exeext
22771 if { (ac_try="$ac_link"
22772 case "(($ac_try" in
22773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22774 *) ac_try_echo=$ac_try;;
22775 esac
22776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22777 (eval "$ac_link") 2>&5
22778 ac_status=$?
22779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22780 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22781 { (case "(($ac_try" in
22782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22783 *) ac_try_echo=$ac_try;;
22784 esac
22785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22786 (eval "$ac_try") 2>&5
22787 ac_status=$?
22788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22789 (exit $ac_status); }; }; then
22790 ac_cv_sizeof_size_t=`cat conftest.val`
22791 else
22792 echo "$as_me: program exited with status $ac_status" >&5
22793 echo "$as_me: failed program was:" >&5
22794 sed 's/^/| /' conftest.$ac_ext >&5
22795
22796 ( exit $ac_status )
22797 if test "$ac_cv_type_size_t" = yes; then
22798 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
22799 See \`config.log' for more details." >&5
22800 echo "$as_me: error: cannot compute sizeof (size_t)
22801 See \`config.log' for more details." >&2;}
22802 { (exit 77); exit 77; }; }
22803 else
22804 ac_cv_sizeof_size_t=0
22805 fi
22806 fi
22807 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22808 fi
22809 rm -f conftest.val
22810 fi
22811 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
22812 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
22813
22814
22815
22816 cat >>confdefs.h <<_ACEOF
22817 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
22818 _ACEOF
22819
22820
22821
22822 case "${host}" in
22823 arm-*-linux* )
22824 { echo "$as_me:$LINENO: checking for long long" >&5
22825 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22826 if test "${ac_cv_type_long_long+set}" = set; then
22827 echo $ECHO_N "(cached) $ECHO_C" >&6
22828 else
22829 cat >conftest.$ac_ext <<_ACEOF
22830 /* confdefs.h. */
22831 _ACEOF
22832 cat confdefs.h >>conftest.$ac_ext
22833 cat >>conftest.$ac_ext <<_ACEOF
22834 /* end confdefs.h. */
22835 $ac_includes_default
22836 typedef long long ac__type_new_;
22837 int
22838 main ()
22839 {
22840 if ((ac__type_new_ *) 0)
22841 return 0;
22842 if (sizeof (ac__type_new_))
22843 return 0;
22844 ;
22845 return 0;
22846 }
22847 _ACEOF
22848 rm -f conftest.$ac_objext
22849 if { (ac_try="$ac_compile"
22850 case "(($ac_try" in
22851 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22852 *) ac_try_echo=$ac_try;;
22853 esac
22854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22855 (eval "$ac_compile") 2>conftest.er1
22856 ac_status=$?
22857 grep -v '^ *+' conftest.er1 >conftest.err
22858 rm -f conftest.er1
22859 cat conftest.err >&5
22860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22861 (exit $ac_status); } && {
22862 test -z "$ac_c_werror_flag" ||
22863 test ! -s conftest.err
22864 } && test -s conftest.$ac_objext; then
22865 ac_cv_type_long_long=yes
22866 else
22867 echo "$as_me: failed program was:" >&5
22868 sed 's/^/| /' conftest.$ac_ext >&5
22869
22870 ac_cv_type_long_long=no
22871 fi
22872
22873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22874 fi
22875 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22876 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22877
22878 # The cast to long int works around a bug in the HP C Compiler
22879 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22880 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22881 # This bug is HP SR number 8606223364.
22882 { echo "$as_me:$LINENO: checking size of long long" >&5
22883 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22884 if test "${ac_cv_sizeof_long_long+set}" = set; then
22885 echo $ECHO_N "(cached) $ECHO_C" >&6
22886 else
22887 if test "$cross_compiling" = yes; then
22888 # Depending upon the size, compute the lo and hi bounds.
22889 cat >conftest.$ac_ext <<_ACEOF
22890 /* confdefs.h. */
22891 _ACEOF
22892 cat confdefs.h >>conftest.$ac_ext
22893 cat >>conftest.$ac_ext <<_ACEOF
22894 /* end confdefs.h. */
22895 $ac_includes_default
22896 typedef long long ac__type_sizeof_;
22897 int
22898 main ()
22899 {
22900 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22901 test_array [0] = 0
22902
22903 ;
22904 return 0;
22905 }
22906 _ACEOF
22907 rm -f conftest.$ac_objext
22908 if { (ac_try="$ac_compile"
22909 case "(($ac_try" in
22910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22911 *) ac_try_echo=$ac_try;;
22912 esac
22913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22914 (eval "$ac_compile") 2>conftest.er1
22915 ac_status=$?
22916 grep -v '^ *+' conftest.er1 >conftest.err
22917 rm -f conftest.er1
22918 cat conftest.err >&5
22919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22920 (exit $ac_status); } && {
22921 test -z "$ac_c_werror_flag" ||
22922 test ! -s conftest.err
22923 } && test -s conftest.$ac_objext; then
22924 ac_lo=0 ac_mid=0
22925 while :; do
22926 cat >conftest.$ac_ext <<_ACEOF
22927 /* confdefs.h. */
22928 _ACEOF
22929 cat confdefs.h >>conftest.$ac_ext
22930 cat >>conftest.$ac_ext <<_ACEOF
22931 /* end confdefs.h. */
22932 $ac_includes_default
22933 typedef long long ac__type_sizeof_;
22934 int
22935 main ()
22936 {
22937 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22938 test_array [0] = 0
22939
22940 ;
22941 return 0;
22942 }
22943 _ACEOF
22944 rm -f conftest.$ac_objext
22945 if { (ac_try="$ac_compile"
22946 case "(($ac_try" in
22947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22948 *) ac_try_echo=$ac_try;;
22949 esac
22950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22951 (eval "$ac_compile") 2>conftest.er1
22952 ac_status=$?
22953 grep -v '^ *+' conftest.er1 >conftest.err
22954 rm -f conftest.er1
22955 cat conftest.err >&5
22956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22957 (exit $ac_status); } && {
22958 test -z "$ac_c_werror_flag" ||
22959 test ! -s conftest.err
22960 } && test -s conftest.$ac_objext; then
22961 ac_hi=$ac_mid; break
22962 else
22963 echo "$as_me: failed program was:" >&5
22964 sed 's/^/| /' conftest.$ac_ext >&5
22965
22966 ac_lo=`expr $ac_mid + 1`
22967 if test $ac_lo -le $ac_mid; then
22968 ac_lo= ac_hi=
22969 break
22970 fi
22971 ac_mid=`expr 2 '*' $ac_mid + 1`
22972 fi
22973
22974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22975 done
22976 else
22977 echo "$as_me: failed program was:" >&5
22978 sed 's/^/| /' conftest.$ac_ext >&5
22979
22980 cat >conftest.$ac_ext <<_ACEOF
22981 /* confdefs.h. */
22982 _ACEOF
22983 cat confdefs.h >>conftest.$ac_ext
22984 cat >>conftest.$ac_ext <<_ACEOF
22985 /* end confdefs.h. */
22986 $ac_includes_default
22987 typedef long long ac__type_sizeof_;
22988 int
22989 main ()
22990 {
22991 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22992 test_array [0] = 0
22993
22994 ;
22995 return 0;
22996 }
22997 _ACEOF
22998 rm -f conftest.$ac_objext
22999 if { (ac_try="$ac_compile"
23000 case "(($ac_try" in
23001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23002 *) ac_try_echo=$ac_try;;
23003 esac
23004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23005 (eval "$ac_compile") 2>conftest.er1
23006 ac_status=$?
23007 grep -v '^ *+' conftest.er1 >conftest.err
23008 rm -f conftest.er1
23009 cat conftest.err >&5
23010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23011 (exit $ac_status); } && {
23012 test -z "$ac_c_werror_flag" ||
23013 test ! -s conftest.err
23014 } && test -s conftest.$ac_objext; then
23015 ac_hi=-1 ac_mid=-1
23016 while :; do
23017 cat >conftest.$ac_ext <<_ACEOF
23018 /* confdefs.h. */
23019 _ACEOF
23020 cat confdefs.h >>conftest.$ac_ext
23021 cat >>conftest.$ac_ext <<_ACEOF
23022 /* end confdefs.h. */
23023 $ac_includes_default
23024 typedef long long ac__type_sizeof_;
23025 int
23026 main ()
23027 {
23028 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23029 test_array [0] = 0
23030
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_lo=$ac_mid; break
23053 else
23054 echo "$as_me: failed program was:" >&5
23055 sed 's/^/| /' conftest.$ac_ext >&5
23056
23057 ac_hi=`expr '(' $ac_mid ')' - 1`
23058 if test $ac_mid -le $ac_hi; then
23059 ac_lo= ac_hi=
23060 break
23061 fi
23062 ac_mid=`expr 2 '*' $ac_mid`
23063 fi
23064
23065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23066 done
23067 else
23068 echo "$as_me: failed program was:" >&5
23069 sed 's/^/| /' conftest.$ac_ext >&5
23070
23071 ac_lo= ac_hi=
23072 fi
23073
23074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23075 fi
23076
23077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23078 # Binary search between lo and hi bounds.
23079 while test "x$ac_lo" != "x$ac_hi"; do
23080 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23081 cat >conftest.$ac_ext <<_ACEOF
23082 /* confdefs.h. */
23083 _ACEOF
23084 cat confdefs.h >>conftest.$ac_ext
23085 cat >>conftest.$ac_ext <<_ACEOF
23086 /* end confdefs.h. */
23087 $ac_includes_default
23088 typedef long long ac__type_sizeof_;
23089 int
23090 main ()
23091 {
23092 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23093 test_array [0] = 0
23094
23095 ;
23096 return 0;
23097 }
23098 _ACEOF
23099 rm -f conftest.$ac_objext
23100 if { (ac_try="$ac_compile"
23101 case "(($ac_try" in
23102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23103 *) ac_try_echo=$ac_try;;
23104 esac
23105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23106 (eval "$ac_compile") 2>conftest.er1
23107 ac_status=$?
23108 grep -v '^ *+' conftest.er1 >conftest.err
23109 rm -f conftest.er1
23110 cat conftest.err >&5
23111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23112 (exit $ac_status); } && {
23113 test -z "$ac_c_werror_flag" ||
23114 test ! -s conftest.err
23115 } && test -s conftest.$ac_objext; then
23116 ac_hi=$ac_mid
23117 else
23118 echo "$as_me: failed program was:" >&5
23119 sed 's/^/| /' conftest.$ac_ext >&5
23120
23121 ac_lo=`expr '(' $ac_mid ')' + 1`
23122 fi
23123
23124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23125 done
23126 case $ac_lo in
23127 ?*) ac_cv_sizeof_long_long=$ac_lo;;
23128 '') if test "$ac_cv_type_long_long" = yes; then
23129 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23130 See \`config.log' for more details." >&5
23131 echo "$as_me: error: cannot compute sizeof (long long)
23132 See \`config.log' for more details." >&2;}
23133 { (exit 77); exit 77; }; }
23134 else
23135 ac_cv_sizeof_long_long=0
23136 fi ;;
23137 esac
23138 else
23139 cat >conftest.$ac_ext <<_ACEOF
23140 /* confdefs.h. */
23141 _ACEOF
23142 cat confdefs.h >>conftest.$ac_ext
23143 cat >>conftest.$ac_ext <<_ACEOF
23144 /* end confdefs.h. */
23145 $ac_includes_default
23146 typedef long long ac__type_sizeof_;
23147 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23148 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23149 #include <stdio.h>
23150 #include <stdlib.h>
23151 int
23152 main ()
23153 {
23154
23155 FILE *f = fopen ("conftest.val", "w");
23156 if (! f)
23157 return 1;
23158 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23159 {
23160 long int i = longval ();
23161 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23162 return 1;
23163 fprintf (f, "%ld\n", i);
23164 }
23165 else
23166 {
23167 unsigned long int i = ulongval ();
23168 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23169 return 1;
23170 fprintf (f, "%lu\n", i);
23171 }
23172 return ferror (f) || fclose (f) != 0;
23173
23174 ;
23175 return 0;
23176 }
23177 _ACEOF
23178 rm -f conftest$ac_exeext
23179 if { (ac_try="$ac_link"
23180 case "(($ac_try" in
23181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23182 *) ac_try_echo=$ac_try;;
23183 esac
23184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23185 (eval "$ac_link") 2>&5
23186 ac_status=$?
23187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23188 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23189 { (case "(($ac_try" in
23190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23191 *) ac_try_echo=$ac_try;;
23192 esac
23193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23194 (eval "$ac_try") 2>&5
23195 ac_status=$?
23196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23197 (exit $ac_status); }; }; then
23198 ac_cv_sizeof_long_long=`cat conftest.val`
23199 else
23200 echo "$as_me: program exited with status $ac_status" >&5
23201 echo "$as_me: failed program was:" >&5
23202 sed 's/^/| /' conftest.$ac_ext >&5
23203
23204 ( exit $ac_status )
23205 if test "$ac_cv_type_long_long" = yes; then
23206 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23207 See \`config.log' for more details." >&5
23208 echo "$as_me: error: cannot compute sizeof (long long)
23209 See \`config.log' for more details." >&2;}
23210 { (exit 77); exit 77; }; }
23211 else
23212 ac_cv_sizeof_long_long=0
23213 fi
23214 fi
23215 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23216 fi
23217 rm -f conftest.val
23218 fi
23219 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
23220 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
23221
23222
23223
23224 cat >>confdefs.h <<_ACEOF
23225 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
23226 _ACEOF
23227
23228
23229 ;;
23230 *-hp-hpux* )
23231 { echo "$as_me:$LINENO: checking for long long" >&5
23232 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
23233 if test "${ac_cv_type_long_long+set}" = set; then
23234 echo $ECHO_N "(cached) $ECHO_C" >&6
23235 else
23236 cat >conftest.$ac_ext <<_ACEOF
23237 /* confdefs.h. */
23238 _ACEOF
23239 cat confdefs.h >>conftest.$ac_ext
23240 cat >>conftest.$ac_ext <<_ACEOF
23241 /* end confdefs.h. */
23242 $ac_includes_default
23243 typedef long long ac__type_new_;
23244 int
23245 main ()
23246 {
23247 if ((ac__type_new_ *) 0)
23248 return 0;
23249 if (sizeof (ac__type_new_))
23250 return 0;
23251 ;
23252 return 0;
23253 }
23254 _ACEOF
23255 rm -f conftest.$ac_objext
23256 if { (ac_try="$ac_compile"
23257 case "(($ac_try" in
23258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23259 *) ac_try_echo=$ac_try;;
23260 esac
23261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23262 (eval "$ac_compile") 2>conftest.er1
23263 ac_status=$?
23264 grep -v '^ *+' conftest.er1 >conftest.err
23265 rm -f conftest.er1
23266 cat conftest.err >&5
23267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23268 (exit $ac_status); } && {
23269 test -z "$ac_c_werror_flag" ||
23270 test ! -s conftest.err
23271 } && test -s conftest.$ac_objext; then
23272 ac_cv_type_long_long=yes
23273 else
23274 echo "$as_me: failed program was:" >&5
23275 sed 's/^/| /' conftest.$ac_ext >&5
23276
23277 ac_cv_type_long_long=no
23278 fi
23279
23280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23281 fi
23282 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
23283 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
23284
23285 # The cast to long int works around a bug in the HP C Compiler
23286 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23287 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23288 # This bug is HP SR number 8606223364.
23289 { echo "$as_me:$LINENO: checking size of long long" >&5
23290 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
23291 if test "${ac_cv_sizeof_long_long+set}" = set; then
23292 echo $ECHO_N "(cached) $ECHO_C" >&6
23293 else
23294 if test "$cross_compiling" = yes; then
23295 # Depending upon the size, compute the lo and hi bounds.
23296 cat >conftest.$ac_ext <<_ACEOF
23297 /* confdefs.h. */
23298 _ACEOF
23299 cat confdefs.h >>conftest.$ac_ext
23300 cat >>conftest.$ac_ext <<_ACEOF
23301 /* end confdefs.h. */
23302 $ac_includes_default
23303 typedef long long ac__type_sizeof_;
23304 int
23305 main ()
23306 {
23307 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23308 test_array [0] = 0
23309
23310 ;
23311 return 0;
23312 }
23313 _ACEOF
23314 rm -f conftest.$ac_objext
23315 if { (ac_try="$ac_compile"
23316 case "(($ac_try" in
23317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23318 *) ac_try_echo=$ac_try;;
23319 esac
23320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23321 (eval "$ac_compile") 2>conftest.er1
23322 ac_status=$?
23323 grep -v '^ *+' conftest.er1 >conftest.err
23324 rm -f conftest.er1
23325 cat conftest.err >&5
23326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23327 (exit $ac_status); } && {
23328 test -z "$ac_c_werror_flag" ||
23329 test ! -s conftest.err
23330 } && test -s conftest.$ac_objext; then
23331 ac_lo=0 ac_mid=0
23332 while :; do
23333 cat >conftest.$ac_ext <<_ACEOF
23334 /* confdefs.h. */
23335 _ACEOF
23336 cat confdefs.h >>conftest.$ac_ext
23337 cat >>conftest.$ac_ext <<_ACEOF
23338 /* end confdefs.h. */
23339 $ac_includes_default
23340 typedef long long ac__type_sizeof_;
23341 int
23342 main ()
23343 {
23344 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23345 test_array [0] = 0
23346
23347 ;
23348 return 0;
23349 }
23350 _ACEOF
23351 rm -f conftest.$ac_objext
23352 if { (ac_try="$ac_compile"
23353 case "(($ac_try" in
23354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23355 *) ac_try_echo=$ac_try;;
23356 esac
23357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23358 (eval "$ac_compile") 2>conftest.er1
23359 ac_status=$?
23360 grep -v '^ *+' conftest.er1 >conftest.err
23361 rm -f conftest.er1
23362 cat conftest.err >&5
23363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23364 (exit $ac_status); } && {
23365 test -z "$ac_c_werror_flag" ||
23366 test ! -s conftest.err
23367 } && test -s conftest.$ac_objext; then
23368 ac_hi=$ac_mid; break
23369 else
23370 echo "$as_me: failed program was:" >&5
23371 sed 's/^/| /' conftest.$ac_ext >&5
23372
23373 ac_lo=`expr $ac_mid + 1`
23374 if test $ac_lo -le $ac_mid; then
23375 ac_lo= ac_hi=
23376 break
23377 fi
23378 ac_mid=`expr 2 '*' $ac_mid + 1`
23379 fi
23380
23381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23382 done
23383 else
23384 echo "$as_me: failed program was:" >&5
23385 sed 's/^/| /' conftest.$ac_ext >&5
23386
23387 cat >conftest.$ac_ext <<_ACEOF
23388 /* confdefs.h. */
23389 _ACEOF
23390 cat confdefs.h >>conftest.$ac_ext
23391 cat >>conftest.$ac_ext <<_ACEOF
23392 /* end confdefs.h. */
23393 $ac_includes_default
23394 typedef long long ac__type_sizeof_;
23395 int
23396 main ()
23397 {
23398 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23399 test_array [0] = 0
23400
23401 ;
23402 return 0;
23403 }
23404 _ACEOF
23405 rm -f conftest.$ac_objext
23406 if { (ac_try="$ac_compile"
23407 case "(($ac_try" in
23408 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23409 *) ac_try_echo=$ac_try;;
23410 esac
23411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23412 (eval "$ac_compile") 2>conftest.er1
23413 ac_status=$?
23414 grep -v '^ *+' conftest.er1 >conftest.err
23415 rm -f conftest.er1
23416 cat conftest.err >&5
23417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23418 (exit $ac_status); } && {
23419 test -z "$ac_c_werror_flag" ||
23420 test ! -s conftest.err
23421 } && test -s conftest.$ac_objext; then
23422 ac_hi=-1 ac_mid=-1
23423 while :; do
23424 cat >conftest.$ac_ext <<_ACEOF
23425 /* confdefs.h. */
23426 _ACEOF
23427 cat confdefs.h >>conftest.$ac_ext
23428 cat >>conftest.$ac_ext <<_ACEOF
23429 /* end confdefs.h. */
23430 $ac_includes_default
23431 typedef long long ac__type_sizeof_;
23432 int
23433 main ()
23434 {
23435 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23436 test_array [0] = 0
23437
23438 ;
23439 return 0;
23440 }
23441 _ACEOF
23442 rm -f conftest.$ac_objext
23443 if { (ac_try="$ac_compile"
23444 case "(($ac_try" in
23445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23446 *) ac_try_echo=$ac_try;;
23447 esac
23448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23449 (eval "$ac_compile") 2>conftest.er1
23450 ac_status=$?
23451 grep -v '^ *+' conftest.er1 >conftest.err
23452 rm -f conftest.er1
23453 cat conftest.err >&5
23454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23455 (exit $ac_status); } && {
23456 test -z "$ac_c_werror_flag" ||
23457 test ! -s conftest.err
23458 } && test -s conftest.$ac_objext; then
23459 ac_lo=$ac_mid; break
23460 else
23461 echo "$as_me: failed program was:" >&5
23462 sed 's/^/| /' conftest.$ac_ext >&5
23463
23464 ac_hi=`expr '(' $ac_mid ')' - 1`
23465 if test $ac_mid -le $ac_hi; then
23466 ac_lo= ac_hi=
23467 break
23468 fi
23469 ac_mid=`expr 2 '*' $ac_mid`
23470 fi
23471
23472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23473 done
23474 else
23475 echo "$as_me: failed program was:" >&5
23476 sed 's/^/| /' conftest.$ac_ext >&5
23477
23478 ac_lo= ac_hi=
23479 fi
23480
23481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23482 fi
23483
23484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23485 # Binary search between lo and hi bounds.
23486 while test "x$ac_lo" != "x$ac_hi"; do
23487 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23488 cat >conftest.$ac_ext <<_ACEOF
23489 /* confdefs.h. */
23490 _ACEOF
23491 cat confdefs.h >>conftest.$ac_ext
23492 cat >>conftest.$ac_ext <<_ACEOF
23493 /* end confdefs.h. */
23494 $ac_includes_default
23495 typedef long long ac__type_sizeof_;
23496 int
23497 main ()
23498 {
23499 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23500 test_array [0] = 0
23501
23502 ;
23503 return 0;
23504 }
23505 _ACEOF
23506 rm -f conftest.$ac_objext
23507 if { (ac_try="$ac_compile"
23508 case "(($ac_try" in
23509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23510 *) ac_try_echo=$ac_try;;
23511 esac
23512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23513 (eval "$ac_compile") 2>conftest.er1
23514 ac_status=$?
23515 grep -v '^ *+' conftest.er1 >conftest.err
23516 rm -f conftest.er1
23517 cat conftest.err >&5
23518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23519 (exit $ac_status); } && {
23520 test -z "$ac_c_werror_flag" ||
23521 test ! -s conftest.err
23522 } && test -s conftest.$ac_objext; then
23523 ac_hi=$ac_mid
23524 else
23525 echo "$as_me: failed program was:" >&5
23526 sed 's/^/| /' conftest.$ac_ext >&5
23527
23528 ac_lo=`expr '(' $ac_mid ')' + 1`
23529 fi
23530
23531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23532 done
23533 case $ac_lo in
23534 ?*) ac_cv_sizeof_long_long=$ac_lo;;
23535 '') if test "$ac_cv_type_long_long" = yes; then
23536 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23537 See \`config.log' for more details." >&5
23538 echo "$as_me: error: cannot compute sizeof (long long)
23539 See \`config.log' for more details." >&2;}
23540 { (exit 77); exit 77; }; }
23541 else
23542 ac_cv_sizeof_long_long=0
23543 fi ;;
23544 esac
23545 else
23546 cat >conftest.$ac_ext <<_ACEOF
23547 /* confdefs.h. */
23548 _ACEOF
23549 cat confdefs.h >>conftest.$ac_ext
23550 cat >>conftest.$ac_ext <<_ACEOF
23551 /* end confdefs.h. */
23552 $ac_includes_default
23553 typedef long long ac__type_sizeof_;
23554 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23555 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23556 #include <stdio.h>
23557 #include <stdlib.h>
23558 int
23559 main ()
23560 {
23561
23562 FILE *f = fopen ("conftest.val", "w");
23563 if (! f)
23564 return 1;
23565 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23566 {
23567 long int i = longval ();
23568 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23569 return 1;
23570 fprintf (f, "%ld\n", i);
23571 }
23572 else
23573 {
23574 unsigned long int i = ulongval ();
23575 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23576 return 1;
23577 fprintf (f, "%lu\n", i);
23578 }
23579 return ferror (f) || fclose (f) != 0;
23580
23581 ;
23582 return 0;
23583 }
23584 _ACEOF
23585 rm -f conftest$ac_exeext
23586 if { (ac_try="$ac_link"
23587 case "(($ac_try" in
23588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23589 *) ac_try_echo=$ac_try;;
23590 esac
23591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23592 (eval "$ac_link") 2>&5
23593 ac_status=$?
23594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23595 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23596 { (case "(($ac_try" in
23597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23598 *) ac_try_echo=$ac_try;;
23599 esac
23600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23601 (eval "$ac_try") 2>&5
23602 ac_status=$?
23603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23604 (exit $ac_status); }; }; then
23605 ac_cv_sizeof_long_long=`cat conftest.val`
23606 else
23607 echo "$as_me: program exited with status $ac_status" >&5
23608 echo "$as_me: failed program was:" >&5
23609 sed 's/^/| /' conftest.$ac_ext >&5
23610
23611 ( exit $ac_status )
23612 if test "$ac_cv_type_long_long" = yes; then
23613 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23614 See \`config.log' for more details." >&5
23615 echo "$as_me: error: cannot compute sizeof (long long)
23616 See \`config.log' for more details." >&2;}
23617 { (exit 77); exit 77; }; }
23618 else
23619 ac_cv_sizeof_long_long=0
23620 fi
23621 fi
23622 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23623 fi
23624 rm -f conftest.val
23625 fi
23626 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
23627 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
23628
23629
23630
23631 cat >>confdefs.h <<_ACEOF
23632 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
23633 _ACEOF
23634
23635
23636 if test "$ac_cv_sizeof_long_long" != 0; then
23637 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
23638 fi
23639 ;;
23640 * )
23641 { echo "$as_me:$LINENO: checking for long long" >&5
23642 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
23643 if test "${ac_cv_type_long_long+set}" = set; then
23644 echo $ECHO_N "(cached) $ECHO_C" >&6
23645 else
23646 cat >conftest.$ac_ext <<_ACEOF
23647 /* confdefs.h. */
23648 _ACEOF
23649 cat confdefs.h >>conftest.$ac_ext
23650 cat >>conftest.$ac_ext <<_ACEOF
23651 /* end confdefs.h. */
23652 $ac_includes_default
23653 typedef long long ac__type_new_;
23654 int
23655 main ()
23656 {
23657 if ((ac__type_new_ *) 0)
23658 return 0;
23659 if (sizeof (ac__type_new_))
23660 return 0;
23661 ;
23662 return 0;
23663 }
23664 _ACEOF
23665 rm -f conftest.$ac_objext
23666 if { (ac_try="$ac_compile"
23667 case "(($ac_try" in
23668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23669 *) ac_try_echo=$ac_try;;
23670 esac
23671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23672 (eval "$ac_compile") 2>conftest.er1
23673 ac_status=$?
23674 grep -v '^ *+' conftest.er1 >conftest.err
23675 rm -f conftest.er1
23676 cat conftest.err >&5
23677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23678 (exit $ac_status); } && {
23679 test -z "$ac_c_werror_flag" ||
23680 test ! -s conftest.err
23681 } && test -s conftest.$ac_objext; then
23682 ac_cv_type_long_long=yes
23683 else
23684 echo "$as_me: failed program was:" >&5
23685 sed 's/^/| /' conftest.$ac_ext >&5
23686
23687 ac_cv_type_long_long=no
23688 fi
23689
23690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23691 fi
23692 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
23693 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
23694
23695 # The cast to long int works around a bug in the HP C Compiler
23696 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23697 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23698 # This bug is HP SR number 8606223364.
23699 { echo "$as_me:$LINENO: checking size of long long" >&5
23700 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
23701 if test "${ac_cv_sizeof_long_long+set}" = set; then
23702 echo $ECHO_N "(cached) $ECHO_C" >&6
23703 else
23704 if test "$cross_compiling" = yes; then
23705 # Depending upon the size, compute the lo and hi bounds.
23706 cat >conftest.$ac_ext <<_ACEOF
23707 /* confdefs.h. */
23708 _ACEOF
23709 cat confdefs.h >>conftest.$ac_ext
23710 cat >>conftest.$ac_ext <<_ACEOF
23711 /* end confdefs.h. */
23712 $ac_includes_default
23713 typedef long long ac__type_sizeof_;
23714 int
23715 main ()
23716 {
23717 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23718 test_array [0] = 0
23719
23720 ;
23721 return 0;
23722 }
23723 _ACEOF
23724 rm -f conftest.$ac_objext
23725 if { (ac_try="$ac_compile"
23726 case "(($ac_try" in
23727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23728 *) ac_try_echo=$ac_try;;
23729 esac
23730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23731 (eval "$ac_compile") 2>conftest.er1
23732 ac_status=$?
23733 grep -v '^ *+' conftest.er1 >conftest.err
23734 rm -f conftest.er1
23735 cat conftest.err >&5
23736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23737 (exit $ac_status); } && {
23738 test -z "$ac_c_werror_flag" ||
23739 test ! -s conftest.err
23740 } && test -s conftest.$ac_objext; then
23741 ac_lo=0 ac_mid=0
23742 while :; do
23743 cat >conftest.$ac_ext <<_ACEOF
23744 /* confdefs.h. */
23745 _ACEOF
23746 cat confdefs.h >>conftest.$ac_ext
23747 cat >>conftest.$ac_ext <<_ACEOF
23748 /* end confdefs.h. */
23749 $ac_includes_default
23750 typedef long long ac__type_sizeof_;
23751 int
23752 main ()
23753 {
23754 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23755 test_array [0] = 0
23756
23757 ;
23758 return 0;
23759 }
23760 _ACEOF
23761 rm -f conftest.$ac_objext
23762 if { (ac_try="$ac_compile"
23763 case "(($ac_try" in
23764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23765 *) ac_try_echo=$ac_try;;
23766 esac
23767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23768 (eval "$ac_compile") 2>conftest.er1
23769 ac_status=$?
23770 grep -v '^ *+' conftest.er1 >conftest.err
23771 rm -f conftest.er1
23772 cat conftest.err >&5
23773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23774 (exit $ac_status); } && {
23775 test -z "$ac_c_werror_flag" ||
23776 test ! -s conftest.err
23777 } && test -s conftest.$ac_objext; then
23778 ac_hi=$ac_mid; break
23779 else
23780 echo "$as_me: failed program was:" >&5
23781 sed 's/^/| /' conftest.$ac_ext >&5
23782
23783 ac_lo=`expr $ac_mid + 1`
23784 if test $ac_lo -le $ac_mid; then
23785 ac_lo= ac_hi=
23786 break
23787 fi
23788 ac_mid=`expr 2 '*' $ac_mid + 1`
23789 fi
23790
23791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23792 done
23793 else
23794 echo "$as_me: failed program was:" >&5
23795 sed 's/^/| /' conftest.$ac_ext >&5
23796
23797 cat >conftest.$ac_ext <<_ACEOF
23798 /* confdefs.h. */
23799 _ACEOF
23800 cat confdefs.h >>conftest.$ac_ext
23801 cat >>conftest.$ac_ext <<_ACEOF
23802 /* end confdefs.h. */
23803 $ac_includes_default
23804 typedef long long ac__type_sizeof_;
23805 int
23806 main ()
23807 {
23808 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23809 test_array [0] = 0
23810
23811 ;
23812 return 0;
23813 }
23814 _ACEOF
23815 rm -f conftest.$ac_objext
23816 if { (ac_try="$ac_compile"
23817 case "(($ac_try" in
23818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23819 *) ac_try_echo=$ac_try;;
23820 esac
23821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23822 (eval "$ac_compile") 2>conftest.er1
23823 ac_status=$?
23824 grep -v '^ *+' conftest.er1 >conftest.err
23825 rm -f conftest.er1
23826 cat conftest.err >&5
23827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23828 (exit $ac_status); } && {
23829 test -z "$ac_c_werror_flag" ||
23830 test ! -s conftest.err
23831 } && test -s conftest.$ac_objext; then
23832 ac_hi=-1 ac_mid=-1
23833 while :; do
23834 cat >conftest.$ac_ext <<_ACEOF
23835 /* confdefs.h. */
23836 _ACEOF
23837 cat confdefs.h >>conftest.$ac_ext
23838 cat >>conftest.$ac_ext <<_ACEOF
23839 /* end confdefs.h. */
23840 $ac_includes_default
23841 typedef long long ac__type_sizeof_;
23842 int
23843 main ()
23844 {
23845 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23846 test_array [0] = 0
23847
23848 ;
23849 return 0;
23850 }
23851 _ACEOF
23852 rm -f conftest.$ac_objext
23853 if { (ac_try="$ac_compile"
23854 case "(($ac_try" in
23855 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23856 *) ac_try_echo=$ac_try;;
23857 esac
23858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23859 (eval "$ac_compile") 2>conftest.er1
23860 ac_status=$?
23861 grep -v '^ *+' conftest.er1 >conftest.err
23862 rm -f conftest.er1
23863 cat conftest.err >&5
23864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23865 (exit $ac_status); } && {
23866 test -z "$ac_c_werror_flag" ||
23867 test ! -s conftest.err
23868 } && test -s conftest.$ac_objext; then
23869 ac_lo=$ac_mid; break
23870 else
23871 echo "$as_me: failed program was:" >&5
23872 sed 's/^/| /' conftest.$ac_ext >&5
23873
23874 ac_hi=`expr '(' $ac_mid ')' - 1`
23875 if test $ac_mid -le $ac_hi; then
23876 ac_lo= ac_hi=
23877 break
23878 fi
23879 ac_mid=`expr 2 '*' $ac_mid`
23880 fi
23881
23882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23883 done
23884 else
23885 echo "$as_me: failed program was:" >&5
23886 sed 's/^/| /' conftest.$ac_ext >&5
23887
23888 ac_lo= ac_hi=
23889 fi
23890
23891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23892 fi
23893
23894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23895 # Binary search between lo and hi bounds.
23896 while test "x$ac_lo" != "x$ac_hi"; do
23897 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23898 cat >conftest.$ac_ext <<_ACEOF
23899 /* confdefs.h. */
23900 _ACEOF
23901 cat confdefs.h >>conftest.$ac_ext
23902 cat >>conftest.$ac_ext <<_ACEOF
23903 /* end confdefs.h. */
23904 $ac_includes_default
23905 typedef long long ac__type_sizeof_;
23906 int
23907 main ()
23908 {
23909 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23910 test_array [0] = 0
23911
23912 ;
23913 return 0;
23914 }
23915 _ACEOF
23916 rm -f conftest.$ac_objext
23917 if { (ac_try="$ac_compile"
23918 case "(($ac_try" in
23919 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23920 *) ac_try_echo=$ac_try;;
23921 esac
23922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23923 (eval "$ac_compile") 2>conftest.er1
23924 ac_status=$?
23925 grep -v '^ *+' conftest.er1 >conftest.err
23926 rm -f conftest.er1
23927 cat conftest.err >&5
23928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23929 (exit $ac_status); } && {
23930 test -z "$ac_c_werror_flag" ||
23931 test ! -s conftest.err
23932 } && test -s conftest.$ac_objext; then
23933 ac_hi=$ac_mid
23934 else
23935 echo "$as_me: failed program was:" >&5
23936 sed 's/^/| /' conftest.$ac_ext >&5
23937
23938 ac_lo=`expr '(' $ac_mid ')' + 1`
23939 fi
23940
23941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23942 done
23943 case $ac_lo in
23944 ?*) ac_cv_sizeof_long_long=$ac_lo;;
23945 '') if test "$ac_cv_type_long_long" = yes; then
23946 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23947 See \`config.log' for more details." >&5
23948 echo "$as_me: error: cannot compute sizeof (long long)
23949 See \`config.log' for more details." >&2;}
23950 { (exit 77); exit 77; }; }
23951 else
23952 ac_cv_sizeof_long_long=0
23953 fi ;;
23954 esac
23955 else
23956 cat >conftest.$ac_ext <<_ACEOF
23957 /* confdefs.h. */
23958 _ACEOF
23959 cat confdefs.h >>conftest.$ac_ext
23960 cat >>conftest.$ac_ext <<_ACEOF
23961 /* end confdefs.h. */
23962 $ac_includes_default
23963 typedef long long ac__type_sizeof_;
23964 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23965 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23966 #include <stdio.h>
23967 #include <stdlib.h>
23968 int
23969 main ()
23970 {
23971
23972 FILE *f = fopen ("conftest.val", "w");
23973 if (! f)
23974 return 1;
23975 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23976 {
23977 long int i = longval ();
23978 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23979 return 1;
23980 fprintf (f, "%ld\n", i);
23981 }
23982 else
23983 {
23984 unsigned long int i = ulongval ();
23985 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23986 return 1;
23987 fprintf (f, "%lu\n", i);
23988 }
23989 return ferror (f) || fclose (f) != 0;
23990
23991 ;
23992 return 0;
23993 }
23994 _ACEOF
23995 rm -f conftest$ac_exeext
23996 if { (ac_try="$ac_link"
23997 case "(($ac_try" in
23998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23999 *) ac_try_echo=$ac_try;;
24000 esac
24001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24002 (eval "$ac_link") 2>&5
24003 ac_status=$?
24004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24005 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24006 { (case "(($ac_try" in
24007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24008 *) ac_try_echo=$ac_try;;
24009 esac
24010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24011 (eval "$ac_try") 2>&5
24012 ac_status=$?
24013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24014 (exit $ac_status); }; }; then
24015 ac_cv_sizeof_long_long=`cat conftest.val`
24016 else
24017 echo "$as_me: program exited with status $ac_status" >&5
24018 echo "$as_me: failed program was:" >&5
24019 sed 's/^/| /' conftest.$ac_ext >&5
24020
24021 ( exit $ac_status )
24022 if test "$ac_cv_type_long_long" = yes; then
24023 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24024 See \`config.log' for more details." >&5
24025 echo "$as_me: error: cannot compute sizeof (long long)
24026 See \`config.log' for more details." >&2;}
24027 { (exit 77); exit 77; }; }
24028 else
24029 ac_cv_sizeof_long_long=0
24030 fi
24031 fi
24032 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24033 fi
24034 rm -f conftest.val
24035 fi
24036 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
24037 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
24038
24039
24040
24041 cat >>confdefs.h <<_ACEOF
24042 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
24043 _ACEOF
24044
24045
24046 esac
24047
24048 { echo "$as_me:$LINENO: checking for wchar_t" >&5
24049 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
24050 if test "${ac_cv_type_wchar_t+set}" = set; then
24051 echo $ECHO_N "(cached) $ECHO_C" >&6
24052 else
24053 cat >conftest.$ac_ext <<_ACEOF
24054 /* confdefs.h. */
24055 _ACEOF
24056 cat confdefs.h >>conftest.$ac_ext
24057 cat >>conftest.$ac_ext <<_ACEOF
24058 /* end confdefs.h. */
24059
24060 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24061 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24062 # error "fake wchar_t"
24063 #endif
24064 #ifdef HAVE_WCHAR_H
24065 # ifdef __CYGWIN__
24066 # include <stddef.h>
24067 # endif
24068 # include <wchar.h>
24069 #endif
24070 #ifdef HAVE_STDLIB_H
24071 # include <stdlib.h>
24072 #endif
24073 #include <stdio.h>
24074
24075
24076
24077 typedef wchar_t ac__type_new_;
24078 int
24079 main ()
24080 {
24081 if ((ac__type_new_ *) 0)
24082 return 0;
24083 if (sizeof (ac__type_new_))
24084 return 0;
24085 ;
24086 return 0;
24087 }
24088 _ACEOF
24089 rm -f conftest.$ac_objext
24090 if { (ac_try="$ac_compile"
24091 case "(($ac_try" in
24092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24093 *) ac_try_echo=$ac_try;;
24094 esac
24095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24096 (eval "$ac_compile") 2>conftest.er1
24097 ac_status=$?
24098 grep -v '^ *+' conftest.er1 >conftest.err
24099 rm -f conftest.er1
24100 cat conftest.err >&5
24101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24102 (exit $ac_status); } && {
24103 test -z "$ac_c_werror_flag" ||
24104 test ! -s conftest.err
24105 } && test -s conftest.$ac_objext; then
24106 ac_cv_type_wchar_t=yes
24107 else
24108 echo "$as_me: failed program was:" >&5
24109 sed 's/^/| /' conftest.$ac_ext >&5
24110
24111 ac_cv_type_wchar_t=no
24112 fi
24113
24114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24115 fi
24116 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
24117 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
24118
24119 # The cast to long int works around a bug in the HP C Compiler
24120 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24121 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24122 # This bug is HP SR number 8606223364.
24123 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
24124 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
24125 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
24126 echo $ECHO_N "(cached) $ECHO_C" >&6
24127 else
24128 if test "$cross_compiling" = yes; then
24129 # Depending upon the size, compute the lo and hi bounds.
24130 cat >conftest.$ac_ext <<_ACEOF
24131 /* confdefs.h. */
24132 _ACEOF
24133 cat confdefs.h >>conftest.$ac_ext
24134 cat >>conftest.$ac_ext <<_ACEOF
24135 /* end confdefs.h. */
24136
24137 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24138 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24139 # error "fake wchar_t"
24140 #endif
24141 #ifdef HAVE_WCHAR_H
24142 # ifdef __CYGWIN__
24143 # include <stddef.h>
24144 # endif
24145 # include <wchar.h>
24146 #endif
24147 #ifdef HAVE_STDLIB_H
24148 # include <stdlib.h>
24149 #endif
24150 #include <stdio.h>
24151
24152
24153
24154 typedef wchar_t ac__type_sizeof_;
24155 int
24156 main ()
24157 {
24158 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
24159 test_array [0] = 0
24160
24161 ;
24162 return 0;
24163 }
24164 _ACEOF
24165 rm -f conftest.$ac_objext
24166 if { (ac_try="$ac_compile"
24167 case "(($ac_try" in
24168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24169 *) ac_try_echo=$ac_try;;
24170 esac
24171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24172 (eval "$ac_compile") 2>conftest.er1
24173 ac_status=$?
24174 grep -v '^ *+' conftest.er1 >conftest.err
24175 rm -f conftest.er1
24176 cat conftest.err >&5
24177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24178 (exit $ac_status); } && {
24179 test -z "$ac_c_werror_flag" ||
24180 test ! -s conftest.err
24181 } && test -s conftest.$ac_objext; then
24182 ac_lo=0 ac_mid=0
24183 while :; do
24184 cat >conftest.$ac_ext <<_ACEOF
24185 /* confdefs.h. */
24186 _ACEOF
24187 cat confdefs.h >>conftest.$ac_ext
24188 cat >>conftest.$ac_ext <<_ACEOF
24189 /* end confdefs.h. */
24190
24191 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24192 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24193 # error "fake wchar_t"
24194 #endif
24195 #ifdef HAVE_WCHAR_H
24196 # ifdef __CYGWIN__
24197 # include <stddef.h>
24198 # endif
24199 # include <wchar.h>
24200 #endif
24201 #ifdef HAVE_STDLIB_H
24202 # include <stdlib.h>
24203 #endif
24204 #include <stdio.h>
24205
24206
24207
24208 typedef wchar_t ac__type_sizeof_;
24209 int
24210 main ()
24211 {
24212 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24213 test_array [0] = 0
24214
24215 ;
24216 return 0;
24217 }
24218 _ACEOF
24219 rm -f conftest.$ac_objext
24220 if { (ac_try="$ac_compile"
24221 case "(($ac_try" in
24222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24223 *) ac_try_echo=$ac_try;;
24224 esac
24225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24226 (eval "$ac_compile") 2>conftest.er1
24227 ac_status=$?
24228 grep -v '^ *+' conftest.er1 >conftest.err
24229 rm -f conftest.er1
24230 cat conftest.err >&5
24231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24232 (exit $ac_status); } && {
24233 test -z "$ac_c_werror_flag" ||
24234 test ! -s conftest.err
24235 } && test -s conftest.$ac_objext; then
24236 ac_hi=$ac_mid; break
24237 else
24238 echo "$as_me: failed program was:" >&5
24239 sed 's/^/| /' conftest.$ac_ext >&5
24240
24241 ac_lo=`expr $ac_mid + 1`
24242 if test $ac_lo -le $ac_mid; then
24243 ac_lo= ac_hi=
24244 break
24245 fi
24246 ac_mid=`expr 2 '*' $ac_mid + 1`
24247 fi
24248
24249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24250 done
24251 else
24252 echo "$as_me: failed program was:" >&5
24253 sed 's/^/| /' conftest.$ac_ext >&5
24254
24255 cat >conftest.$ac_ext <<_ACEOF
24256 /* confdefs.h. */
24257 _ACEOF
24258 cat confdefs.h >>conftest.$ac_ext
24259 cat >>conftest.$ac_ext <<_ACEOF
24260 /* end confdefs.h. */
24261
24262 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24263 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24264 # error "fake wchar_t"
24265 #endif
24266 #ifdef HAVE_WCHAR_H
24267 # ifdef __CYGWIN__
24268 # include <stddef.h>
24269 # endif
24270 # include <wchar.h>
24271 #endif
24272 #ifdef HAVE_STDLIB_H
24273 # include <stdlib.h>
24274 #endif
24275 #include <stdio.h>
24276
24277
24278
24279 typedef wchar_t ac__type_sizeof_;
24280 int
24281 main ()
24282 {
24283 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24284 test_array [0] = 0
24285
24286 ;
24287 return 0;
24288 }
24289 _ACEOF
24290 rm -f conftest.$ac_objext
24291 if { (ac_try="$ac_compile"
24292 case "(($ac_try" in
24293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24294 *) ac_try_echo=$ac_try;;
24295 esac
24296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24297 (eval "$ac_compile") 2>conftest.er1
24298 ac_status=$?
24299 grep -v '^ *+' conftest.er1 >conftest.err
24300 rm -f conftest.er1
24301 cat conftest.err >&5
24302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24303 (exit $ac_status); } && {
24304 test -z "$ac_c_werror_flag" ||
24305 test ! -s conftest.err
24306 } && test -s conftest.$ac_objext; then
24307 ac_hi=-1 ac_mid=-1
24308 while :; do
24309 cat >conftest.$ac_ext <<_ACEOF
24310 /* confdefs.h. */
24311 _ACEOF
24312 cat confdefs.h >>conftest.$ac_ext
24313 cat >>conftest.$ac_ext <<_ACEOF
24314 /* end confdefs.h. */
24315
24316 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24317 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24318 # error "fake wchar_t"
24319 #endif
24320 #ifdef HAVE_WCHAR_H
24321 # ifdef __CYGWIN__
24322 # include <stddef.h>
24323 # endif
24324 # include <wchar.h>
24325 #endif
24326 #ifdef HAVE_STDLIB_H
24327 # include <stdlib.h>
24328 #endif
24329 #include <stdio.h>
24330
24331
24332
24333 typedef wchar_t ac__type_sizeof_;
24334 int
24335 main ()
24336 {
24337 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24338 test_array [0] = 0
24339
24340 ;
24341 return 0;
24342 }
24343 _ACEOF
24344 rm -f conftest.$ac_objext
24345 if { (ac_try="$ac_compile"
24346 case "(($ac_try" in
24347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24348 *) ac_try_echo=$ac_try;;
24349 esac
24350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24351 (eval "$ac_compile") 2>conftest.er1
24352 ac_status=$?
24353 grep -v '^ *+' conftest.er1 >conftest.err
24354 rm -f conftest.er1
24355 cat conftest.err >&5
24356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24357 (exit $ac_status); } && {
24358 test -z "$ac_c_werror_flag" ||
24359 test ! -s conftest.err
24360 } && test -s conftest.$ac_objext; then
24361 ac_lo=$ac_mid; break
24362 else
24363 echo "$as_me: failed program was:" >&5
24364 sed 's/^/| /' conftest.$ac_ext >&5
24365
24366 ac_hi=`expr '(' $ac_mid ')' - 1`
24367 if test $ac_mid -le $ac_hi; then
24368 ac_lo= ac_hi=
24369 break
24370 fi
24371 ac_mid=`expr 2 '*' $ac_mid`
24372 fi
24373
24374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24375 done
24376 else
24377 echo "$as_me: failed program was:" >&5
24378 sed 's/^/| /' conftest.$ac_ext >&5
24379
24380 ac_lo= ac_hi=
24381 fi
24382
24383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24384 fi
24385
24386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24387 # Binary search between lo and hi bounds.
24388 while test "x$ac_lo" != "x$ac_hi"; do
24389 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24390 cat >conftest.$ac_ext <<_ACEOF
24391 /* confdefs.h. */
24392 _ACEOF
24393 cat confdefs.h >>conftest.$ac_ext
24394 cat >>conftest.$ac_ext <<_ACEOF
24395 /* end confdefs.h. */
24396
24397 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24398 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24399 # error "fake wchar_t"
24400 #endif
24401 #ifdef HAVE_WCHAR_H
24402 # ifdef __CYGWIN__
24403 # include <stddef.h>
24404 # endif
24405 # include <wchar.h>
24406 #endif
24407 #ifdef HAVE_STDLIB_H
24408 # include <stdlib.h>
24409 #endif
24410 #include <stdio.h>
24411
24412
24413
24414 typedef wchar_t ac__type_sizeof_;
24415 int
24416 main ()
24417 {
24418 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24419 test_array [0] = 0
24420
24421 ;
24422 return 0;
24423 }
24424 _ACEOF
24425 rm -f conftest.$ac_objext
24426 if { (ac_try="$ac_compile"
24427 case "(($ac_try" in
24428 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24429 *) ac_try_echo=$ac_try;;
24430 esac
24431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24432 (eval "$ac_compile") 2>conftest.er1
24433 ac_status=$?
24434 grep -v '^ *+' conftest.er1 >conftest.err
24435 rm -f conftest.er1
24436 cat conftest.err >&5
24437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24438 (exit $ac_status); } && {
24439 test -z "$ac_c_werror_flag" ||
24440 test ! -s conftest.err
24441 } && test -s conftest.$ac_objext; then
24442 ac_hi=$ac_mid
24443 else
24444 echo "$as_me: failed program was:" >&5
24445 sed 's/^/| /' conftest.$ac_ext >&5
24446
24447 ac_lo=`expr '(' $ac_mid ')' + 1`
24448 fi
24449
24450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24451 done
24452 case $ac_lo in
24453 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
24454 '') if test "$ac_cv_type_wchar_t" = yes; then
24455 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
24456 See \`config.log' for more details." >&5
24457 echo "$as_me: error: cannot compute sizeof (wchar_t)
24458 See \`config.log' for more details." >&2;}
24459 { (exit 77); exit 77; }; }
24460 else
24461 ac_cv_sizeof_wchar_t=0
24462 fi ;;
24463 esac
24464 else
24465 cat >conftest.$ac_ext <<_ACEOF
24466 /* confdefs.h. */
24467 _ACEOF
24468 cat confdefs.h >>conftest.$ac_ext
24469 cat >>conftest.$ac_ext <<_ACEOF
24470 /* end confdefs.h. */
24471
24472 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24473 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24474 # error "fake wchar_t"
24475 #endif
24476 #ifdef HAVE_WCHAR_H
24477 # ifdef __CYGWIN__
24478 # include <stddef.h>
24479 # endif
24480 # include <wchar.h>
24481 #endif
24482 #ifdef HAVE_STDLIB_H
24483 # include <stdlib.h>
24484 #endif
24485 #include <stdio.h>
24486
24487
24488
24489 typedef wchar_t ac__type_sizeof_;
24490 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24491 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24492 #include <stdio.h>
24493 #include <stdlib.h>
24494 int
24495 main ()
24496 {
24497
24498 FILE *f = fopen ("conftest.val", "w");
24499 if (! f)
24500 return 1;
24501 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24502 {
24503 long int i = longval ();
24504 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24505 return 1;
24506 fprintf (f, "%ld\n", i);
24507 }
24508 else
24509 {
24510 unsigned long int i = ulongval ();
24511 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24512 return 1;
24513 fprintf (f, "%lu\n", i);
24514 }
24515 return ferror (f) || fclose (f) != 0;
24516
24517 ;
24518 return 0;
24519 }
24520 _ACEOF
24521 rm -f conftest$ac_exeext
24522 if { (ac_try="$ac_link"
24523 case "(($ac_try" in
24524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24525 *) ac_try_echo=$ac_try;;
24526 esac
24527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24528 (eval "$ac_link") 2>&5
24529 ac_status=$?
24530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24531 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24532 { (case "(($ac_try" in
24533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24534 *) ac_try_echo=$ac_try;;
24535 esac
24536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24537 (eval "$ac_try") 2>&5
24538 ac_status=$?
24539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24540 (exit $ac_status); }; }; then
24541 ac_cv_sizeof_wchar_t=`cat conftest.val`
24542 else
24543 echo "$as_me: program exited with status $ac_status" >&5
24544 echo "$as_me: failed program was:" >&5
24545 sed 's/^/| /' conftest.$ac_ext >&5
24546
24547 ( exit $ac_status )
24548 if test "$ac_cv_type_wchar_t" = yes; then
24549 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
24550 See \`config.log' for more details." >&5
24551 echo "$as_me: error: cannot compute sizeof (wchar_t)
24552 See \`config.log' for more details." >&2;}
24553 { (exit 77); exit 77; }; }
24554 else
24555 ac_cv_sizeof_wchar_t=0
24556 fi
24557 fi
24558 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24559 fi
24560 rm -f conftest.val
24561 fi
24562 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
24563 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
24564
24565
24566
24567 cat >>confdefs.h <<_ACEOF
24568 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
24569 _ACEOF
24570
24571
24572 if test "$ac_cv_sizeof_wchar_t" = 0; then
24573 { { echo "$as_me:$LINENO: error: wxWidgets requires wchar_t support." >&5
24574 echo "$as_me: error: wxWidgets requires wchar_t support." >&2;}
24575 { (exit 1); exit 1; }; }
24576 fi
24577 cat >>confdefs.h <<\_ACEOF
24578 #define wxUSE_WCHAR_T 1
24579 _ACEOF
24580
24581
24582 { echo "$as_me:$LINENO: checking for va_copy" >&5
24583 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
24584 if test "${wx_cv_func_va_copy+set}" = set; then
24585 echo $ECHO_N "(cached) $ECHO_C" >&6
24586 else
24587
24588 ac_ext=cpp
24589 ac_cpp='$CXXCPP $CPPFLAGS'
24590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24593
24594 cat >conftest.$ac_ext <<_ACEOF
24595
24596 /* confdefs.h. */
24597 _ACEOF
24598 cat confdefs.h >>conftest.$ac_ext
24599 cat >>conftest.$ac_ext <<_ACEOF
24600 /* end confdefs.h. */
24601
24602 #include <stdarg.h>
24603 void foo(char *f, ...)
24604 {
24605 va_list ap1, ap2;
24606 va_start(ap1, f);
24607 va_copy(ap2, ap1);
24608 va_end(ap2);
24609 va_end(ap1);
24610 }
24611 int main()
24612 {
24613 foo("hi", 17);
24614 return 0;
24615 }
24616
24617 _ACEOF
24618 rm -f conftest.$ac_objext conftest$ac_exeext
24619 if { (ac_try="$ac_link"
24620 case "(($ac_try" in
24621 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24622 *) ac_try_echo=$ac_try;;
24623 esac
24624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24625 (eval "$ac_link") 2>conftest.er1
24626 ac_status=$?
24627 grep -v '^ *+' conftest.er1 >conftest.err
24628 rm -f conftest.er1
24629 cat conftest.err >&5
24630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24631 (exit $ac_status); } && {
24632 test -z "$ac_cxx_werror_flag" ||
24633 test ! -s conftest.err
24634 } && test -s conftest$ac_exeext &&
24635 $as_test_x conftest$ac_exeext; then
24636 wx_cv_func_va_copy=yes
24637 else
24638 echo "$as_me: failed program was:" >&5
24639 sed 's/^/| /' conftest.$ac_ext >&5
24640
24641 wx_cv_func_va_copy=no
24642
24643 fi
24644
24645 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24646 conftest$ac_exeext conftest.$ac_ext
24647 ac_ext=c
24648 ac_cpp='$CPP $CPPFLAGS'
24649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24652
24653
24654
24655 fi
24656 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
24657 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
24658
24659 if test $wx_cv_func_va_copy = "yes"; then
24660 cat >>confdefs.h <<\_ACEOF
24661 #define HAVE_VA_COPY 1
24662 _ACEOF
24663
24664 else
24665 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
24666 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
24667 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
24668 echo $ECHO_N "(cached) $ECHO_C" >&6
24669 else
24670
24671 if test "$cross_compiling" = yes; then
24672 wx_cv_type_va_list_lvalue=yes
24673
24674 else
24675 cat >conftest.$ac_ext <<_ACEOF
24676
24677 /* confdefs.h. */
24678 _ACEOF
24679 cat confdefs.h >>conftest.$ac_ext
24680 cat >>conftest.$ac_ext <<_ACEOF
24681 /* end confdefs.h. */
24682
24683 #include <stdarg.h>
24684 int foo(char *f, ...)
24685 {
24686 va_list ap1, ap2;
24687 va_start(ap1, f);
24688 ap2 = ap1;
24689 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
24690 return 1;
24691 va_end(ap2);
24692 va_end(ap1);
24693 return 0;
24694 }
24695 int main()
24696 {
24697 return foo("hi", 17);
24698 }
24699
24700 _ACEOF
24701 rm -f conftest$ac_exeext
24702 if { (ac_try="$ac_link"
24703 case "(($ac_try" in
24704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24705 *) ac_try_echo=$ac_try;;
24706 esac
24707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24708 (eval "$ac_link") 2>&5
24709 ac_status=$?
24710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24711 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24712 { (case "(($ac_try" in
24713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24714 *) ac_try_echo=$ac_try;;
24715 esac
24716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24717 (eval "$ac_try") 2>&5
24718 ac_status=$?
24719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24720 (exit $ac_status); }; }; then
24721 wx_cv_type_va_list_lvalue=yes
24722 else
24723 echo "$as_me: program exited with status $ac_status" >&5
24724 echo "$as_me: failed program was:" >&5
24725 sed 's/^/| /' conftest.$ac_ext >&5
24726
24727 ( exit $ac_status )
24728 wx_cv_type_va_list_lvalue=no
24729 fi
24730 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24731 fi
24732
24733
24734
24735
24736 fi
24737 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
24738 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
24739
24740 if test $wx_cv_type_va_list_lvalue != "yes"; then
24741 cat >>confdefs.h <<\_ACEOF
24742 #define VA_LIST_IS_ARRAY 1
24743 _ACEOF
24744
24745 fi
24746 fi
24747
24748 if test "$wxUSE_VARARG_MACROS" = "yes"; then
24749
24750 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
24751 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
24752 if test "${wx_cv_have_variadic_macros+set}" = set; then
24753 echo $ECHO_N "(cached) $ECHO_C" >&6
24754 else
24755
24756 ac_ext=cpp
24757 ac_cpp='$CXXCPP $CPPFLAGS'
24758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24761
24762 cat >conftest.$ac_ext <<_ACEOF
24763
24764 /* confdefs.h. */
24765 _ACEOF
24766 cat confdefs.h >>conftest.$ac_ext
24767 cat >>conftest.$ac_ext <<_ACEOF
24768 /* end confdefs.h. */
24769
24770 #include <stdio.h>
24771 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
24772
24773 int
24774 main ()
24775 {
24776
24777 test("%s %d %p", "test", 1, 0);
24778
24779
24780 ;
24781 return 0;
24782 }
24783 _ACEOF
24784 rm -f conftest.$ac_objext
24785 if { (ac_try="$ac_compile"
24786 case "(($ac_try" in
24787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24788 *) ac_try_echo=$ac_try;;
24789 esac
24790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24791 (eval "$ac_compile") 2>conftest.er1
24792 ac_status=$?
24793 grep -v '^ *+' conftest.er1 >conftest.err
24794 rm -f conftest.er1
24795 cat conftest.err >&5
24796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24797 (exit $ac_status); } && {
24798 test -z "$ac_cxx_werror_flag" ||
24799 test ! -s conftest.err
24800 } && test -s conftest.$ac_objext; then
24801 wx_cv_have_variadic_macros=yes
24802 else
24803 echo "$as_me: failed program was:" >&5
24804 sed 's/^/| /' conftest.$ac_ext >&5
24805
24806 wx_cv_have_variadic_macros=no
24807
24808 fi
24809
24810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24811 ac_ext=c
24812 ac_cpp='$CPP $CPPFLAGS'
24813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24816
24817
24818
24819 fi
24820 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
24821 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
24822
24823 if test $wx_cv_have_variadic_macros = "yes"; then
24824 cat >>confdefs.h <<\_ACEOF
24825 #define HAVE_VARIADIC_MACROS 1
24826 _ACEOF
24827
24828 fi
24829
24830 fi
24831
24832 LARGEFILE_CPPFLAGS=
24833 # Check whether --enable-largefile was given.
24834 if test "${enable_largefile+set}" = set; then
24835 enableval=$enable_largefile;
24836 fi
24837
24838 if test "$enable_largefile" != no; then
24839 wx_largefile=no
24840
24841 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
24842 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
24843 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
24844 echo $ECHO_N "(cached) $ECHO_C" >&6
24845 else
24846
24847 cat >conftest.$ac_ext <<_ACEOF
24848 /* confdefs.h. */
24849 _ACEOF
24850 cat confdefs.h >>conftest.$ac_ext
24851 cat >>conftest.$ac_ext <<_ACEOF
24852 /* end confdefs.h. */
24853 #define _FILE_OFFSET_BITS 64
24854 #include <sys/types.h>
24855 int
24856 main ()
24857 {
24858 typedef struct {
24859 unsigned int field: sizeof(off_t) == 8;
24860 } wxlf;
24861
24862 ;
24863 return 0;
24864 }
24865 _ACEOF
24866 rm -f conftest.$ac_objext
24867 if { (ac_try="$ac_compile"
24868 case "(($ac_try" in
24869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24870 *) ac_try_echo=$ac_try;;
24871 esac
24872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24873 (eval "$ac_compile") 2>conftest.er1
24874 ac_status=$?
24875 grep -v '^ *+' conftest.er1 >conftest.err
24876 rm -f conftest.er1
24877 cat conftest.err >&5
24878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24879 (exit $ac_status); } && {
24880 test -z "$ac_c_werror_flag" ||
24881 test ! -s conftest.err
24882 } && test -s conftest.$ac_objext; then
24883 ac_cv_sys_file_offset_bits=64
24884 else
24885 echo "$as_me: failed program was:" >&5
24886 sed 's/^/| /' conftest.$ac_ext >&5
24887
24888 ac_cv_sys_file_offset_bits=no
24889 fi
24890
24891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24892
24893
24894 fi
24895 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
24896 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
24897
24898 if test "$ac_cv_sys_file_offset_bits" != no; then
24899 wx_largefile=yes
24900 cat >>confdefs.h <<_ACEOF
24901 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
24902 _ACEOF
24903
24904 fi
24905
24906 if test "x$wx_largefile" != "xyes"; then
24907
24908 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
24909 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
24910 if test "${ac_cv_sys_large_files+set}" = set; then
24911 echo $ECHO_N "(cached) $ECHO_C" >&6
24912 else
24913
24914 cat >conftest.$ac_ext <<_ACEOF
24915 /* confdefs.h. */
24916 _ACEOF
24917 cat confdefs.h >>conftest.$ac_ext
24918 cat >>conftest.$ac_ext <<_ACEOF
24919 /* end confdefs.h. */
24920 #define _LARGE_FILES 1
24921 #include <sys/types.h>
24922 int
24923 main ()
24924 {
24925 typedef struct {
24926 unsigned int field: sizeof(off_t) == 8;
24927 } wxlf;
24928
24929 ;
24930 return 0;
24931 }
24932 _ACEOF
24933 rm -f conftest.$ac_objext
24934 if { (ac_try="$ac_compile"
24935 case "(($ac_try" in
24936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24937 *) ac_try_echo=$ac_try;;
24938 esac
24939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24940 (eval "$ac_compile") 2>conftest.er1
24941 ac_status=$?
24942 grep -v '^ *+' conftest.er1 >conftest.err
24943 rm -f conftest.er1
24944 cat conftest.err >&5
24945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24946 (exit $ac_status); } && {
24947 test -z "$ac_c_werror_flag" ||
24948 test ! -s conftest.err
24949 } && test -s conftest.$ac_objext; then
24950 ac_cv_sys_large_files=1
24951 else
24952 echo "$as_me: failed program was:" >&5
24953 sed 's/^/| /' conftest.$ac_ext >&5
24954
24955 ac_cv_sys_large_files=no
24956 fi
24957
24958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24959
24960
24961 fi
24962 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
24963 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
24964
24965 if test "$ac_cv_sys_large_files" != no; then
24966 wx_largefile=yes
24967 cat >>confdefs.h <<_ACEOF
24968 #define _LARGE_FILES $ac_cv_sys_large_files
24969 _ACEOF
24970
24971 fi
24972
24973 fi
24974
24975 { echo "$as_me:$LINENO: checking if large file support is available" >&5
24976 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
24977 if test "x$wx_largefile" = "xyes"; then
24978 cat >>confdefs.h <<\_ACEOF
24979 #define HAVE_LARGEFILE_SUPPORT 1
24980 _ACEOF
24981
24982 fi
24983 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
24984 echo "${ECHO_T}$wx_largefile" >&6; }
24985 fi
24986
24987 if test "$ac_cv_sys_file_offset_bits" = "64"; then
24988 LARGEFILE_CPPFLAGS="-D_FILE_OFFSET_BITS=64"
24989 elif test "$ac_cv_sys_large_files" = 1; then
24990 LARGEFILE_CPPFLAGS="-D_LARGE_FILES"
24991 fi
24992
24993 if test -n "$LARGEFILE_CPPFLAGS"; then
24994 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $LARGEFILE_CPPFLAGS"
24995
24996 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
24997 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
24998 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
24999 if test "${wx_cv_STDC_EXT_required+set}" = set; then
25000 echo $ECHO_N "(cached) $ECHO_C" >&6
25001 else
25002
25003 ac_ext=cpp
25004 ac_cpp='$CXXCPP $CPPFLAGS'
25005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25008
25009 cat >conftest.$ac_ext <<_ACEOF
25010 /* confdefs.h. */
25011 _ACEOF
25012 cat confdefs.h >>conftest.$ac_ext
25013 cat >>conftest.$ac_ext <<_ACEOF
25014 /* end confdefs.h. */
25015
25016 int
25017 main ()
25018 {
25019
25020 #ifndef __STDC_EXT__
25021 choke me
25022 #endif
25023
25024 ;
25025 return 0;
25026 }
25027 _ACEOF
25028 rm -f conftest.$ac_objext
25029 if { (ac_try="$ac_compile"
25030 case "(($ac_try" in
25031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25032 *) ac_try_echo=$ac_try;;
25033 esac
25034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25035 (eval "$ac_compile") 2>conftest.er1
25036 ac_status=$?
25037 grep -v '^ *+' conftest.er1 >conftest.err
25038 rm -f conftest.er1
25039 cat conftest.err >&5
25040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25041 (exit $ac_status); } && {
25042 test -z "$ac_cxx_werror_flag" ||
25043 test ! -s conftest.err
25044 } && test -s conftest.$ac_objext; then
25045 wx_cv_STDC_EXT_required=no
25046 else
25047 echo "$as_me: failed program was:" >&5
25048 sed 's/^/| /' conftest.$ac_ext >&5
25049
25050 wx_cv_STDC_EXT_required=yes
25051
25052 fi
25053
25054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25055 ac_ext=c
25056 ac_cpp='$CPP $CPPFLAGS'
25057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25060
25061
25062
25063 fi
25064 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
25065 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
25066 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
25067 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
25068 fi
25069 fi
25070 fi
25071
25072 ac_ext=cpp
25073 ac_cpp='$CXXCPP $CPPFLAGS'
25074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25077
25078 old_CPPFLAGS="$CPPFLAGS"
25079 CPPFLAGS="$CPPFLAGS $LARGEFILE_CPPFLAGS"
25080 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
25081 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
25082 if test "${ac_cv_sys_largefile_source+set}" = set; then
25083 echo $ECHO_N "(cached) $ECHO_C" >&6
25084 else
25085 while :; do
25086 cat >conftest.$ac_ext <<_ACEOF
25087 /* confdefs.h. */
25088 _ACEOF
25089 cat confdefs.h >>conftest.$ac_ext
25090 cat >>conftest.$ac_ext <<_ACEOF
25091 /* end confdefs.h. */
25092 #include <sys/types.h> /* for off_t */
25093 #include <stdio.h>
25094 int
25095 main ()
25096 {
25097 int (*fp) (FILE *, off_t, int) = fseeko;
25098 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
25099 ;
25100 return 0;
25101 }
25102 _ACEOF
25103 rm -f conftest.$ac_objext conftest$ac_exeext
25104 if { (ac_try="$ac_link"
25105 case "(($ac_try" in
25106 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25107 *) ac_try_echo=$ac_try;;
25108 esac
25109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25110 (eval "$ac_link") 2>conftest.er1
25111 ac_status=$?
25112 grep -v '^ *+' conftest.er1 >conftest.err
25113 rm -f conftest.er1
25114 cat conftest.err >&5
25115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25116 (exit $ac_status); } && {
25117 test -z "$ac_cxx_werror_flag" ||
25118 test ! -s conftest.err
25119 } && test -s conftest$ac_exeext &&
25120 $as_test_x conftest$ac_exeext; then
25121 ac_cv_sys_largefile_source=no; break
25122 else
25123 echo "$as_me: failed program was:" >&5
25124 sed 's/^/| /' conftest.$ac_ext >&5
25125
25126
25127 fi
25128
25129 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25130 conftest$ac_exeext conftest.$ac_ext
25131 cat >conftest.$ac_ext <<_ACEOF
25132 /* confdefs.h. */
25133 _ACEOF
25134 cat confdefs.h >>conftest.$ac_ext
25135 cat >>conftest.$ac_ext <<_ACEOF
25136 /* end confdefs.h. */
25137 #define _LARGEFILE_SOURCE 1
25138 #include <sys/types.h> /* for off_t */
25139 #include <stdio.h>
25140 int
25141 main ()
25142 {
25143 int (*fp) (FILE *, off_t, int) = fseeko;
25144 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
25145 ;
25146 return 0;
25147 }
25148 _ACEOF
25149 rm -f conftest.$ac_objext conftest$ac_exeext
25150 if { (ac_try="$ac_link"
25151 case "(($ac_try" in
25152 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25153 *) ac_try_echo=$ac_try;;
25154 esac
25155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25156 (eval "$ac_link") 2>conftest.er1
25157 ac_status=$?
25158 grep -v '^ *+' conftest.er1 >conftest.err
25159 rm -f conftest.er1
25160 cat conftest.err >&5
25161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25162 (exit $ac_status); } && {
25163 test -z "$ac_cxx_werror_flag" ||
25164 test ! -s conftest.err
25165 } && test -s conftest$ac_exeext &&
25166 $as_test_x conftest$ac_exeext; then
25167 ac_cv_sys_largefile_source=1; break
25168 else
25169 echo "$as_me: failed program was:" >&5
25170 sed 's/^/| /' conftest.$ac_ext >&5
25171
25172
25173 fi
25174
25175 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25176 conftest$ac_exeext conftest.$ac_ext
25177 ac_cv_sys_largefile_source=unknown
25178 break
25179 done
25180 fi
25181 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
25182 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
25183 case $ac_cv_sys_largefile_source in #(
25184 no | unknown) ;;
25185 *)
25186 cat >>confdefs.h <<_ACEOF
25187 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
25188 _ACEOF
25189 ;;
25190 esac
25191 rm -f conftest*
25192
25193 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
25194 # in glibc 2.1.3, but that breaks too many other things.
25195 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
25196 if test $ac_cv_sys_largefile_source != unknown; then
25197
25198 cat >>confdefs.h <<\_ACEOF
25199 #define HAVE_FSEEKO 1
25200 _ACEOF
25201
25202 fi
25203
25204 CPPFLAGS="$old_CPPFLAGS"
25205 ac_ext=c
25206 ac_cpp='$CPP $CPPFLAGS'
25207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25210
25211 if test "$ac_cv_sys_largefile_source" != no; then
25212 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
25213 fi
25214
25215 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
25216 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
25217 if test "${ac_cv_c_bigendian+set}" = set; then
25218 echo $ECHO_N "(cached) $ECHO_C" >&6
25219 else
25220 ac_cv_c_bigendian=unknown
25221 # See if sys/param.h defines the BYTE_ORDER macro.
25222 cat >conftest.$ac_ext <<_ACEOF
25223 /* confdefs.h. */
25224 _ACEOF
25225 cat confdefs.h >>conftest.$ac_ext
25226 cat >>conftest.$ac_ext <<_ACEOF
25227 /* end confdefs.h. */
25228 #include <sys/types.h>
25229 #include <sys/param.h>
25230 int
25231 main ()
25232 {
25233
25234 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
25235 bogus endian macros
25236 #endif
25237 ;
25238 return 0;
25239 }
25240 _ACEOF
25241 rm -f conftest.$ac_objext
25242 if { (ac_try="$ac_compile"
25243 case "(($ac_try" in
25244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25245 *) ac_try_echo=$ac_try;;
25246 esac
25247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25248 (eval "$ac_compile") 2>conftest.er1
25249 ac_status=$?
25250 grep -v '^ *+' conftest.er1 >conftest.err
25251 rm -f conftest.er1
25252 cat conftest.err >&5
25253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25254 (exit $ac_status); } && {
25255 test -z "$ac_c_werror_flag" ||
25256 test ! -s conftest.err
25257 } && test -s conftest.$ac_objext; then
25258 # It does; now see whether it defined to BIG_ENDIAN or not.
25259 cat >conftest.$ac_ext <<_ACEOF
25260 /* confdefs.h. */
25261 _ACEOF
25262 cat confdefs.h >>conftest.$ac_ext
25263 cat >>conftest.$ac_ext <<_ACEOF
25264 /* end confdefs.h. */
25265 #include <sys/types.h>
25266 #include <sys/param.h>
25267 int
25268 main ()
25269 {
25270
25271 #if BYTE_ORDER != BIG_ENDIAN
25272 not big endian
25273 #endif
25274 ;
25275 return 0;
25276 }
25277 _ACEOF
25278 rm -f conftest.$ac_objext
25279 if { (ac_try="$ac_compile"
25280 case "(($ac_try" in
25281 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25282 *) ac_try_echo=$ac_try;;
25283 esac
25284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25285 (eval "$ac_compile") 2>conftest.er1
25286 ac_status=$?
25287 grep -v '^ *+' conftest.er1 >conftest.err
25288 rm -f conftest.er1
25289 cat conftest.err >&5
25290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25291 (exit $ac_status); } && {
25292 test -z "$ac_c_werror_flag" ||
25293 test ! -s conftest.err
25294 } && test -s conftest.$ac_objext; then
25295 ac_cv_c_bigendian=yes
25296 else
25297 echo "$as_me: failed program was:" >&5
25298 sed 's/^/| /' conftest.$ac_ext >&5
25299
25300 ac_cv_c_bigendian=no
25301 fi
25302
25303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25304 else
25305 echo "$as_me: failed program was:" >&5
25306 sed 's/^/| /' conftest.$ac_ext >&5
25307
25308
25309 fi
25310
25311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25312 if test $ac_cv_c_bigendian = unknown; then
25313 if test "$cross_compiling" = yes; then
25314 ac_cv_c_bigendian=unknown
25315 else
25316 cat >conftest.$ac_ext <<_ACEOF
25317 /* confdefs.h. */
25318 _ACEOF
25319 cat confdefs.h >>conftest.$ac_ext
25320 cat >>conftest.$ac_ext <<_ACEOF
25321 /* end confdefs.h. */
25322 main () {
25323 /* Are we little or big endian? From Harbison&Steele. */
25324 union
25325 {
25326 long l;
25327 char c[sizeof (long)];
25328 } u;
25329 u.l = 1;
25330 exit (u.c[sizeof (long) - 1] == 1);
25331 }
25332 _ACEOF
25333 rm -f conftest$ac_exeext
25334 if { (ac_try="$ac_link"
25335 case "(($ac_try" in
25336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25337 *) ac_try_echo=$ac_try;;
25338 esac
25339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25340 (eval "$ac_link") 2>&5
25341 ac_status=$?
25342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25343 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25344 { (case "(($ac_try" in
25345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25346 *) ac_try_echo=$ac_try;;
25347 esac
25348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25349 (eval "$ac_try") 2>&5
25350 ac_status=$?
25351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25352 (exit $ac_status); }; }; then
25353 ac_cv_c_bigendian=no
25354 else
25355 echo "$as_me: program exited with status $ac_status" >&5
25356 echo "$as_me: failed program was:" >&5
25357 sed 's/^/| /' conftest.$ac_ext >&5
25358
25359 ( exit $ac_status )
25360 ac_cv_c_bigendian=yes
25361 fi
25362 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25363 fi
25364
25365
25366 fi
25367 fi
25368 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
25369 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
25370 if test $ac_cv_c_bigendian = unknown; then
25371 { echo "$as_me:$LINENO: WARNING: Assuming little-endian target machine - this may be overridden by adding the line \"ac_cv_c_bigendian=${ac_cv_c_bigendian='yes'}\" to config.cache file" >&5
25372 echo "$as_me: WARNING: Assuming little-endian target machine - this may be overridden by adding the line \"ac_cv_c_bigendian=${ac_cv_c_bigendian='yes'}\" to config.cache file" >&2;}
25373 fi
25374 if test $ac_cv_c_bigendian = yes; then
25375 cat >>confdefs.h <<\_ACEOF
25376 #define WORDS_BIGENDIAN 1
25377 _ACEOF
25378
25379 fi
25380
25381
25382
25383
25384 ac_ext=cpp
25385 ac_cpp='$CXXCPP $CPPFLAGS'
25386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25389
25390
25391
25392 for ac_header in iostream
25393 do
25394 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
25395 { echo "$as_me:$LINENO: checking for $ac_header" >&5
25396 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
25397 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25398 echo $ECHO_N "(cached) $ECHO_C" >&6
25399 else
25400 cat >conftest.$ac_ext <<_ACEOF
25401 /* confdefs.h. */
25402 _ACEOF
25403 cat confdefs.h >>conftest.$ac_ext
25404 cat >>conftest.$ac_ext <<_ACEOF
25405 /* end confdefs.h. */
25406
25407
25408 #include <$ac_header>
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 eval "$as_ac_Header=yes"
25428 else
25429 echo "$as_me: failed program was:" >&5
25430 sed 's/^/| /' conftest.$ac_ext >&5
25431
25432 eval "$as_ac_Header=no"
25433 fi
25434
25435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25436 fi
25437 ac_res=`eval echo '${'$as_ac_Header'}'`
25438 { echo "$as_me:$LINENO: result: $ac_res" >&5
25439 echo "${ECHO_T}$ac_res" >&6; }
25440 if test `eval echo '${'$as_ac_Header'}'` = yes; then
25441 cat >>confdefs.h <<_ACEOF
25442 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
25443 _ACEOF
25444
25445 fi
25446
25447 done
25448
25449
25450 if test "$ac_cv_header_iostream" = "yes" ; then
25451 :
25452 else
25453 cat >>confdefs.h <<\_ACEOF
25454 #define wxUSE_IOSTREAMH 1
25455 _ACEOF
25456
25457 fi
25458
25459 ac_ext=c
25460 ac_cpp='$CPP $CPPFLAGS'
25461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25464
25465
25466
25467
25468 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
25469 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
25470 if test "${wx_cv_explicit+set}" = set; then
25471 echo $ECHO_N "(cached) $ECHO_C" >&6
25472 else
25473
25474
25475 ac_ext=cpp
25476 ac_cpp='$CXXCPP $CPPFLAGS'
25477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25480
25481
25482 cat >conftest.$ac_ext <<_ACEOF
25483 /* confdefs.h. */
25484 _ACEOF
25485 cat confdefs.h >>conftest.$ac_ext
25486 cat >>conftest.$ac_ext <<_ACEOF
25487 /* end confdefs.h. */
25488
25489 class Foo { public: explicit Foo(int) {} };
25490
25491 int
25492 main ()
25493 {
25494
25495 return 0;
25496
25497 ;
25498 return 0;
25499 }
25500 _ACEOF
25501 rm -f conftest.$ac_objext
25502 if { (ac_try="$ac_compile"
25503 case "(($ac_try" in
25504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25505 *) ac_try_echo=$ac_try;;
25506 esac
25507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25508 (eval "$ac_compile") 2>conftest.er1
25509 ac_status=$?
25510 grep -v '^ *+' conftest.er1 >conftest.err
25511 rm -f conftest.er1
25512 cat conftest.err >&5
25513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25514 (exit $ac_status); } && {
25515 test -z "$ac_cxx_werror_flag" ||
25516 test ! -s conftest.err
25517 } && test -s conftest.$ac_objext; then
25518
25519 cat >conftest.$ac_ext <<_ACEOF
25520 /* confdefs.h. */
25521 _ACEOF
25522 cat confdefs.h >>conftest.$ac_ext
25523 cat >>conftest.$ac_ext <<_ACEOF
25524 /* end confdefs.h. */
25525
25526 class Foo { public: explicit Foo(int) {} };
25527 static void TakeFoo(const Foo& foo) { }
25528
25529 int
25530 main ()
25531 {
25532
25533 TakeFoo(17);
25534 return 0;
25535
25536 ;
25537 return 0;
25538 }
25539 _ACEOF
25540 rm -f conftest.$ac_objext
25541 if { (ac_try="$ac_compile"
25542 case "(($ac_try" in
25543 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25544 *) ac_try_echo=$ac_try;;
25545 esac
25546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25547 (eval "$ac_compile") 2>conftest.er1
25548 ac_status=$?
25549 grep -v '^ *+' conftest.er1 >conftest.err
25550 rm -f conftest.er1
25551 cat conftest.err >&5
25552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25553 (exit $ac_status); } && {
25554 test -z "$ac_cxx_werror_flag" ||
25555 test ! -s conftest.err
25556 } && test -s conftest.$ac_objext; then
25557 wx_cv_explicit=no
25558 else
25559 echo "$as_me: failed program was:" >&5
25560 sed 's/^/| /' conftest.$ac_ext >&5
25561
25562 wx_cv_explicit=yes
25563
25564 fi
25565
25566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25567
25568 else
25569 echo "$as_me: failed program was:" >&5
25570 sed 's/^/| /' conftest.$ac_ext >&5
25571
25572 wx_cv_explicit=no
25573
25574 fi
25575
25576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25577
25578 ac_ext=c
25579 ac_cpp='$CPP $CPPFLAGS'
25580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25583
25584
25585 fi
25586 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
25587 echo "${ECHO_T}$wx_cv_explicit" >&6; }
25588
25589 if test "$wx_cv_explicit" = "yes"; then
25590 cat >>confdefs.h <<\_ACEOF
25591 #define HAVE_EXPLICIT 1
25592 _ACEOF
25593
25594 fi
25595
25596
25597 if test "x$SUNCXX" = xyes; then
25598 CXXFLAGS="-features=tmplife $GNU_SOURCE_FLAG $CXXFLAGS"
25599 fi
25600
25601 if test "x$SUNCC" = xyes; then
25602 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
25603 fi
25604
25605 if test "x$SGICC" = "xyes"; then
25606 { echo "$as_me:$LINENO: checking if cc version is 7.4.4 or greater" >&5
25607 echo $ECHO_N "checking if cc version is 7.4.4 or greater... $ECHO_C" >&6; }
25608 if test "${wx_cv_prog_sgicc744+set}" = set; then
25609 echo $ECHO_N "(cached) $ECHO_C" >&6
25610 else
25611
25612 cat >conftest.$ac_ext <<_ACEOF
25613 /* confdefs.h. */
25614 _ACEOF
25615 cat confdefs.h >>conftest.$ac_ext
25616 cat >>conftest.$ac_ext <<_ACEOF
25617 /* end confdefs.h. */
25618
25619 int
25620 main ()
25621 {
25622
25623 #if _SGI_COMPILER_VERSION >= 744
25624 chock me: mipsPro is 7.4.4 or later
25625 #endif
25626
25627 ;
25628 return 0;
25629 }
25630 _ACEOF
25631 rm -f conftest.$ac_objext
25632 if { (ac_try="$ac_compile"
25633 case "(($ac_try" in
25634 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25635 *) ac_try_echo=$ac_try;;
25636 esac
25637 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25638 (eval "$ac_compile") 2>conftest.er1
25639 ac_status=$?
25640 grep -v '^ *+' conftest.er1 >conftest.err
25641 rm -f conftest.er1
25642 cat conftest.err >&5
25643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25644 (exit $ac_status); } && {
25645 test -z "$ac_c_werror_flag" ||
25646 test ! -s conftest.err
25647 } && test -s conftest.$ac_objext; then
25648 wx_cv_prog_sgicc744=no
25649 else
25650 echo "$as_me: failed program was:" >&5
25651 sed 's/^/| /' conftest.$ac_ext >&5
25652
25653 wx_cv_prog_sgicc744=yes
25654
25655 fi
25656
25657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25658
25659
25660 fi
25661 { echo "$as_me:$LINENO: result: $wx_cv_prog_sgicc744" >&5
25662 echo "${ECHO_T}$wx_cv_prog_sgicc744" >&6; }
25663
25664 if test "x$wx_cv_prog_sgicc744" = "xyes"; then
25665 CFLAGS="-woff 3970 $CFLAGS"
25666 fi
25667 fi
25668 if test "x$SGICXX" = "xyes"; then
25669 { echo "$as_me:$LINENO: checking if CC version is 7.4.4 or greater" >&5
25670 echo $ECHO_N "checking if CC version is 7.4.4 or greater... $ECHO_C" >&6; }
25671 if test "${wx_cv_prog_sgicxx744+set}" = set; then
25672 echo $ECHO_N "(cached) $ECHO_C" >&6
25673 else
25674
25675 ac_ext=cpp
25676 ac_cpp='$CXXCPP $CPPFLAGS'
25677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25680
25681 cat >conftest.$ac_ext <<_ACEOF
25682 /* confdefs.h. */
25683 _ACEOF
25684 cat confdefs.h >>conftest.$ac_ext
25685 cat >>conftest.$ac_ext <<_ACEOF
25686 /* end confdefs.h. */
25687
25688 int
25689 main ()
25690 {
25691
25692 #if _SGI_COMPILER_VERSION >= 744
25693 chock me: mipsPro is 7.4.4 or later
25694 #endif
25695
25696 ;
25697 return 0;
25698 }
25699 _ACEOF
25700 rm -f conftest.$ac_objext
25701 if { (ac_try="$ac_compile"
25702 case "(($ac_try" in
25703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25704 *) ac_try_echo=$ac_try;;
25705 esac
25706 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25707 (eval "$ac_compile") 2>conftest.er1
25708 ac_status=$?
25709 grep -v '^ *+' conftest.er1 >conftest.err
25710 rm -f conftest.er1
25711 cat conftest.err >&5
25712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25713 (exit $ac_status); } && {
25714 test -z "$ac_cxx_werror_flag" ||
25715 test ! -s conftest.err
25716 } && test -s conftest.$ac_objext; then
25717 wx_cv_prog_sgicxx744=no
25718 else
25719 echo "$as_me: failed program was:" >&5
25720 sed 's/^/| /' conftest.$ac_ext >&5
25721
25722 wx_cv_prog_sgicxx744=yes
25723
25724 fi
25725
25726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25727 ac_ext=c
25728 ac_cpp='$CPP $CPPFLAGS'
25729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25732
25733
25734
25735 fi
25736 { echo "$as_me:$LINENO: result: $wx_cv_prog_sgicxx744" >&5
25737 echo "${ECHO_T}$wx_cv_prog_sgicxx744" >&6; }
25738
25739 if test "x$wx_cv_prog_sgicxx744" = "xyes"; then
25740 CXXFLAGS="-woff 3970 $CXXFLAGS"
25741 fi
25742 fi
25743
25744 if test "x$HPCC" = "xyes"; then
25745 CFLAGS="+W 2011,2450 $CFLAGS"
25746 fi
25747 if test "x$HPCXX" = "xyes"; then
25748 CXXFLAGS="+W 2340,4232 $CXXFLAGS"
25749 fi
25750
25751 if test "x$COMPAQCXX" = "xyes"; then
25752 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
25753 fi
25754
25755 ac_ext=cpp
25756 ac_cpp='$CXXCPP $CPPFLAGS'
25757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25760
25761
25762 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
25763 if test "$wxUSE_UNICODE" = "yes"; then
25764 std_string="std::wstring"
25765 char_type="wchar_t"
25766 else
25767 std_string="std::string"
25768 char_type="char"
25769 fi
25770
25771 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
25772 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
25773 if test "${wx_cv_class_stdstring+set}" = set; then
25774 echo $ECHO_N "(cached) $ECHO_C" >&6
25775 else
25776
25777 cat >conftest.$ac_ext <<_ACEOF
25778 /* confdefs.h. */
25779 _ACEOF
25780 cat confdefs.h >>conftest.$ac_ext
25781 cat >>conftest.$ac_ext <<_ACEOF
25782 /* end confdefs.h. */
25783 #include <string>
25784 int
25785 main ()
25786 {
25787 $std_string foo;
25788 ;
25789 return 0;
25790 }
25791 _ACEOF
25792 rm -f conftest.$ac_objext
25793 if { (ac_try="$ac_compile"
25794 case "(($ac_try" in
25795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25796 *) ac_try_echo=$ac_try;;
25797 esac
25798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25799 (eval "$ac_compile") 2>conftest.er1
25800 ac_status=$?
25801 grep -v '^ *+' conftest.er1 >conftest.err
25802 rm -f conftest.er1
25803 cat conftest.err >&5
25804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25805 (exit $ac_status); } && {
25806 test -z "$ac_cxx_werror_flag" ||
25807 test ! -s conftest.err
25808 } && test -s conftest.$ac_objext; then
25809 wx_cv_class_stdstring=yes
25810 else
25811 echo "$as_me: failed program was:" >&5
25812 sed 's/^/| /' conftest.$ac_ext >&5
25813
25814 wx_cv_class_stdstring=no
25815
25816 fi
25817
25818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25819
25820
25821 fi
25822 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
25823 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
25824
25825 if test "$wx_cv_class_stdstring" = yes; then
25826 if test "$wxUSE_UNICODE" = "yes"; then
25827 cat >>confdefs.h <<\_ACEOF
25828 #define HAVE_STD_WSTRING 1
25829 _ACEOF
25830
25831 fi
25832 else
25833 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
25834 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
25835 if test "${wx_cv_class_stdbasicstring+set}" = set; then
25836 echo $ECHO_N "(cached) $ECHO_C" >&6
25837 else
25838
25839 cat >conftest.$ac_ext <<_ACEOF
25840 /* confdefs.h. */
25841 _ACEOF
25842 cat confdefs.h >>conftest.$ac_ext
25843 cat >>conftest.$ac_ext <<_ACEOF
25844 /* end confdefs.h. */
25845
25846 #ifdef HAVE_WCHAR_H
25847 # ifdef __CYGWIN__
25848 # include <stddef.h>
25849 # endif
25850 # include <wchar.h>
25851 #endif
25852 #ifdef HAVE_STDLIB_H
25853 # include <stdlib.h>
25854 #endif
25855 #include <stdio.h>
25856 #include <string>
25857
25858 int
25859 main ()
25860 {
25861 std::basic_string<$char_type> foo;
25862 const $char_type* dummy = foo.c_str();
25863 ;
25864 return 0;
25865 }
25866 _ACEOF
25867 rm -f conftest.$ac_objext
25868 if { (ac_try="$ac_compile"
25869 case "(($ac_try" in
25870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25871 *) ac_try_echo=$ac_try;;
25872 esac
25873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25874 (eval "$ac_compile") 2>conftest.er1
25875 ac_status=$?
25876 grep -v '^ *+' conftest.er1 >conftest.err
25877 rm -f conftest.er1
25878 cat conftest.err >&5
25879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25880 (exit $ac_status); } && {
25881 test -z "$ac_cxx_werror_flag" ||
25882 test ! -s conftest.err
25883 } && test -s conftest.$ac_objext; then
25884 wx_cv_class_stdbasicstring=yes
25885 else
25886 echo "$as_me: failed program was:" >&5
25887 sed 's/^/| /' conftest.$ac_ext >&5
25888
25889 wx_cv_class_stdbasicstring=no
25890
25891 fi
25892
25893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25894
25895
25896 fi
25897 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
25898 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
25899
25900 if test "$wx_cv_class_stdbasicstring" != yes; then
25901 if test "$wxUSE_STL" = "yes"; then
25902 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
25903 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
25904 { (exit 1); exit 1; }; }
25905 elif test "$wxUSE_STD_STRING" = "yes"; then
25906 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
25907 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
25908 { (exit 1); exit 1; }; }
25909 else
25910 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
25911 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
25912 wxUSE_STD_STRING=no
25913 fi
25914 fi
25915 fi
25916 fi
25917
25918 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
25919 { echo "$as_me:$LINENO: checking for std::istream" >&5
25920 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
25921 if test "${ac_cv_type_std__istream+set}" = set; then
25922 echo $ECHO_N "(cached) $ECHO_C" >&6
25923 else
25924 cat >conftest.$ac_ext <<_ACEOF
25925 /* confdefs.h. */
25926 _ACEOF
25927 cat confdefs.h >>conftest.$ac_ext
25928 cat >>conftest.$ac_ext <<_ACEOF
25929 /* end confdefs.h. */
25930 #include <iostream>
25931
25932 typedef std::istream ac__type_new_;
25933 int
25934 main ()
25935 {
25936 if ((ac__type_new_ *) 0)
25937 return 0;
25938 if (sizeof (ac__type_new_))
25939 return 0;
25940 ;
25941 return 0;
25942 }
25943 _ACEOF
25944 rm -f conftest.$ac_objext
25945 if { (ac_try="$ac_compile"
25946 case "(($ac_try" in
25947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25948 *) ac_try_echo=$ac_try;;
25949 esac
25950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25951 (eval "$ac_compile") 2>conftest.er1
25952 ac_status=$?
25953 grep -v '^ *+' conftest.er1 >conftest.err
25954 rm -f conftest.er1
25955 cat conftest.err >&5
25956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25957 (exit $ac_status); } && {
25958 test -z "$ac_cxx_werror_flag" ||
25959 test ! -s conftest.err
25960 } && test -s conftest.$ac_objext; then
25961 ac_cv_type_std__istream=yes
25962 else
25963 echo "$as_me: failed program was:" >&5
25964 sed 's/^/| /' conftest.$ac_ext >&5
25965
25966 ac_cv_type_std__istream=no
25967 fi
25968
25969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25970 fi
25971 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
25972 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
25973 if test $ac_cv_type_std__istream = yes; then
25974
25975 cat >>confdefs.h <<_ACEOF
25976 #define HAVE_STD__ISTREAM 1
25977 _ACEOF
25978
25979
25980 else
25981 wxUSE_STD_IOSTREAM=no
25982 fi
25983 { echo "$as_me:$LINENO: checking for std::ostream" >&5
25984 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
25985 if test "${ac_cv_type_std__ostream+set}" = set; then
25986 echo $ECHO_N "(cached) $ECHO_C" >&6
25987 else
25988 cat >conftest.$ac_ext <<_ACEOF
25989 /* confdefs.h. */
25990 _ACEOF
25991 cat confdefs.h >>conftest.$ac_ext
25992 cat >>conftest.$ac_ext <<_ACEOF
25993 /* end confdefs.h. */
25994 #include <iostream>
25995
25996 typedef std::ostream ac__type_new_;
25997 int
25998 main ()
25999 {
26000 if ((ac__type_new_ *) 0)
26001 return 0;
26002 if (sizeof (ac__type_new_))
26003 return 0;
26004 ;
26005 return 0;
26006 }
26007 _ACEOF
26008 rm -f conftest.$ac_objext
26009 if { (ac_try="$ac_compile"
26010 case "(($ac_try" in
26011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26012 *) ac_try_echo=$ac_try;;
26013 esac
26014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26015 (eval "$ac_compile") 2>conftest.er1
26016 ac_status=$?
26017 grep -v '^ *+' conftest.er1 >conftest.err
26018 rm -f conftest.er1
26019 cat conftest.err >&5
26020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26021 (exit $ac_status); } && {
26022 test -z "$ac_cxx_werror_flag" ||
26023 test ! -s conftest.err
26024 } && test -s conftest.$ac_objext; then
26025 ac_cv_type_std__ostream=yes
26026 else
26027 echo "$as_me: failed program was:" >&5
26028 sed 's/^/| /' conftest.$ac_ext >&5
26029
26030 ac_cv_type_std__ostream=no
26031 fi
26032
26033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26034 fi
26035 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
26036 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
26037 if test $ac_cv_type_std__ostream = yes; then
26038
26039 cat >>confdefs.h <<_ACEOF
26040 #define HAVE_STD__OSTREAM 1
26041 _ACEOF
26042
26043
26044 else
26045 wxUSE_STD_IOSTREAM=no
26046 fi
26047
26048
26049 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
26050 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
26051 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
26052 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
26053 { (exit 1); exit 1; }; }
26054 else
26055 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
26056 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
26057 fi
26058 fi
26059 fi
26060
26061 if test "$wxUSE_STL" = "yes"; then
26062 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
26063 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
26064 if test "${wx_cv_lib_stl+set}" = set; then
26065 echo $ECHO_N "(cached) $ECHO_C" >&6
26066 else
26067 cat >conftest.$ac_ext <<_ACEOF
26068 /* confdefs.h. */
26069 _ACEOF
26070 cat confdefs.h >>conftest.$ac_ext
26071 cat >>conftest.$ac_ext <<_ACEOF
26072 /* end confdefs.h. */
26073 #include <string>
26074 #include <functional>
26075 #include <algorithm>
26076 #include <vector>
26077 #include <list>
26078 int
26079 main ()
26080 {
26081 std::vector<int> moo;
26082 std::list<int> foo;
26083 std::vector<int>::iterator it =
26084 std::find_if(moo.begin(), moo.end(),
26085 std::bind2nd(std::less<int>(), 3));
26086 ;
26087 return 0;
26088 }
26089 _ACEOF
26090 rm -f conftest.$ac_objext
26091 if { (ac_try="$ac_compile"
26092 case "(($ac_try" in
26093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26094 *) ac_try_echo=$ac_try;;
26095 esac
26096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26097 (eval "$ac_compile") 2>conftest.er1
26098 ac_status=$?
26099 grep -v '^ *+' conftest.er1 >conftest.err
26100 rm -f conftest.er1
26101 cat conftest.err >&5
26102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26103 (exit $ac_status); } && {
26104 test -z "$ac_cxx_werror_flag" ||
26105 test ! -s conftest.err
26106 } && test -s conftest.$ac_objext; then
26107 wx_cv_lib_stl=yes
26108 else
26109 echo "$as_me: failed program was:" >&5
26110 sed 's/^/| /' conftest.$ac_ext >&5
26111
26112 wx_cv_lib_stl=no
26113
26114 fi
26115
26116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26117
26118 fi
26119 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
26120 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
26121
26122 if test "$wx_cv_lib_stl" != yes; then
26123 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
26124 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
26125 { (exit 1); exit 1; }; }
26126 fi
26127
26128 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
26129 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
26130 if test "${wx_cv_func_stdstring_compare+set}" = set; then
26131 echo $ECHO_N "(cached) $ECHO_C" >&6
26132 else
26133 cat >conftest.$ac_ext <<_ACEOF
26134 /* confdefs.h. */
26135 _ACEOF
26136 cat confdefs.h >>conftest.$ac_ext
26137 cat >>conftest.$ac_ext <<_ACEOF
26138 /* end confdefs.h. */
26139 #include <string>
26140 int
26141 main ()
26142 {
26143 std::string foo, bar;
26144 foo.compare(bar);
26145 foo.compare(1, 1, bar);
26146 foo.compare(1, 1, bar, 1, 1);
26147 foo.compare("");
26148 foo.compare(1, 1, "");
26149 foo.compare(1, 1, "", 2);
26150 ;
26151 return 0;
26152 }
26153 _ACEOF
26154 rm -f conftest.$ac_objext
26155 if { (ac_try="$ac_compile"
26156 case "(($ac_try" in
26157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26158 *) ac_try_echo=$ac_try;;
26159 esac
26160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26161 (eval "$ac_compile") 2>conftest.er1
26162 ac_status=$?
26163 grep -v '^ *+' conftest.er1 >conftest.err
26164 rm -f conftest.er1
26165 cat conftest.err >&5
26166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26167 (exit $ac_status); } && {
26168 test -z "$ac_cxx_werror_flag" ||
26169 test ! -s conftest.err
26170 } && test -s conftest.$ac_objext; then
26171 wx_cv_func_stdstring_compare=yes
26172 else
26173 echo "$as_me: failed program was:" >&5
26174 sed 's/^/| /' conftest.$ac_ext >&5
26175
26176 wx_cv_func_stdstring_compare=no
26177
26178 fi
26179
26180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26181
26182 fi
26183 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
26184 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
26185
26186 if test "$wx_cv_func_stdstring_compare" = yes; then
26187 cat >>confdefs.h <<\_ACEOF
26188 #define HAVE_STD_STRING_COMPARE 1
26189 _ACEOF
26190
26191 fi
26192
26193 if test "$wx_cv_class_gnuhashmapset" = yes; then
26194 cat >>confdefs.h <<\_ACEOF
26195 #define HAVE_EXT_HASH_MAP 1
26196 _ACEOF
26197
26198 cat >>confdefs.h <<\_ACEOF
26199 #define HAVE_GNU_CXX_HASH_MAP 1
26200 _ACEOF
26201
26202 fi
26203
26204 { echo "$as_me:$LINENO: checking for unordered_map" >&5
26205 echo $ECHO_N "checking for unordered_map... $ECHO_C" >&6; }
26206 if test "${ac_cv_header_unordered_map+set}" = set; then
26207 echo $ECHO_N "(cached) $ECHO_C" >&6
26208 else
26209 cat >conftest.$ac_ext <<_ACEOF
26210 /* confdefs.h. */
26211 _ACEOF
26212 cat confdefs.h >>conftest.$ac_ext
26213 cat >>conftest.$ac_ext <<_ACEOF
26214 /* end confdefs.h. */
26215
26216
26217
26218 #include <unordered_map>
26219 _ACEOF
26220 rm -f conftest.$ac_objext
26221 if { (ac_try="$ac_compile"
26222 case "(($ac_try" in
26223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26224 *) ac_try_echo=$ac_try;;
26225 esac
26226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26227 (eval "$ac_compile") 2>conftest.er1
26228 ac_status=$?
26229 grep -v '^ *+' conftest.er1 >conftest.err
26230 rm -f conftest.er1
26231 cat conftest.err >&5
26232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26233 (exit $ac_status); } && {
26234 test -z "$ac_cxx_werror_flag" ||
26235 test ! -s conftest.err
26236 } && test -s conftest.$ac_objext; then
26237 ac_cv_header_unordered_map=yes
26238 else
26239 echo "$as_me: failed program was:" >&5
26240 sed 's/^/| /' conftest.$ac_ext >&5
26241
26242 ac_cv_header_unordered_map=no
26243 fi
26244
26245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26246 fi
26247 { echo "$as_me:$LINENO: result: $ac_cv_header_unordered_map" >&5
26248 echo "${ECHO_T}$ac_cv_header_unordered_map" >&6; }
26249 if test $ac_cv_header_unordered_map = yes; then
26250 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std" >&5
26251 echo $ECHO_N "checking for unordered_map and unordered_set in std... $ECHO_C" >&6; }
26252 if test "${wx_cv_class_stdunorderedmapset+set}" = set; then
26253 echo $ECHO_N "(cached) $ECHO_C" >&6
26254 else
26255 cat >conftest.$ac_ext <<_ACEOF
26256 /* confdefs.h. */
26257 _ACEOF
26258 cat confdefs.h >>conftest.$ac_ext
26259 cat >>conftest.$ac_ext <<_ACEOF
26260 /* end confdefs.h. */
26261 #include <unordered_map>
26262 #include <unordered_set>
26263 int
26264 main ()
26265 {
26266 std::unordered_map<double*, char*> test1;
26267 std::unordered_set<char*> test2;
26268 ;
26269 return 0;
26270 }
26271 _ACEOF
26272 rm -f conftest.$ac_objext
26273 if { (ac_try="$ac_compile"
26274 case "(($ac_try" in
26275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26276 *) ac_try_echo=$ac_try;;
26277 esac
26278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26279 (eval "$ac_compile") 2>conftest.er1
26280 ac_status=$?
26281 grep -v '^ *+' conftest.er1 >conftest.err
26282 rm -f conftest.er1
26283 cat conftest.err >&5
26284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26285 (exit $ac_status); } && {
26286 test -z "$ac_cxx_werror_flag" ||
26287 test ! -s conftest.err
26288 } && test -s conftest.$ac_objext; then
26289 wx_cv_class_stdunorderedmapset=yes
26290 else
26291 echo "$as_me: failed program was:" >&5
26292 sed 's/^/| /' conftest.$ac_ext >&5
26293
26294 wx_cv_class_stdunorderedmapset=no
26295 fi
26296
26297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26298
26299
26300 fi
26301 { echo "$as_me:$LINENO: result: $wx_cv_class_stdunorderedmapset" >&5
26302 echo "${ECHO_T}$wx_cv_class_stdunorderedmapset" >&6; }
26303 fi
26304
26305
26306
26307 if test "$wx_cv_class_stdunorderedmapset" = yes; then
26308 cat >>confdefs.h <<\_ACEOF
26309 #define HAVE_STD_UNORDERED_MAP 1
26310 _ACEOF
26311
26312 cat >>confdefs.h <<\_ACEOF
26313 #define HAVE_STD_UNORDERED_SET 1
26314 _ACEOF
26315
26316 else
26317 { echo "$as_me:$LINENO: checking for tr1/unordered_map" >&5
26318 echo $ECHO_N "checking for tr1/unordered_map... $ECHO_C" >&6; }
26319 if test "${ac_cv_header_tr1_unordered_map+set}" = set; then
26320 echo $ECHO_N "(cached) $ECHO_C" >&6
26321 else
26322 cat >conftest.$ac_ext <<_ACEOF
26323 /* confdefs.h. */
26324 _ACEOF
26325 cat confdefs.h >>conftest.$ac_ext
26326 cat >>conftest.$ac_ext <<_ACEOF
26327 /* end confdefs.h. */
26328
26329
26330
26331 #include <tr1/unordered_map>
26332 _ACEOF
26333 rm -f conftest.$ac_objext
26334 if { (ac_try="$ac_compile"
26335 case "(($ac_try" in
26336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26337 *) ac_try_echo=$ac_try;;
26338 esac
26339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26340 (eval "$ac_compile") 2>conftest.er1
26341 ac_status=$?
26342 grep -v '^ *+' conftest.er1 >conftest.err
26343 rm -f conftest.er1
26344 cat conftest.err >&5
26345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26346 (exit $ac_status); } && {
26347 test -z "$ac_cxx_werror_flag" ||
26348 test ! -s conftest.err
26349 } && test -s conftest.$ac_objext; then
26350 ac_cv_header_tr1_unordered_map=yes
26351 else
26352 echo "$as_me: failed program was:" >&5
26353 sed 's/^/| /' conftest.$ac_ext >&5
26354
26355 ac_cv_header_tr1_unordered_map=no
26356 fi
26357
26358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26359 fi
26360 { echo "$as_me:$LINENO: result: $ac_cv_header_tr1_unordered_map" >&5
26361 echo "${ECHO_T}$ac_cv_header_tr1_unordered_map" >&6; }
26362 if test $ac_cv_header_tr1_unordered_map = yes; then
26363 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std::tr1" >&5
26364 echo $ECHO_N "checking for unordered_map and unordered_set in std::tr1... $ECHO_C" >&6; }
26365 if test "${wx_cv_class_tr1unorderedmapset+set}" = set; then
26366 echo $ECHO_N "(cached) $ECHO_C" >&6
26367 else
26368 cat >conftest.$ac_ext <<_ACEOF
26369 /* confdefs.h. */
26370 _ACEOF
26371 cat confdefs.h >>conftest.$ac_ext
26372 cat >>conftest.$ac_ext <<_ACEOF
26373 /* end confdefs.h. */
26374 #include <tr1/unordered_map>
26375 #include <tr1/unordered_set>
26376 int
26377 main ()
26378 {
26379 std::tr1::unordered_map<double*, char*> test1;
26380 std::tr1::unordered_set<char*> test2;
26381 #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
26382 #error can't use unordered_{map,set} with gcc-4.[01]: http://gcc.gnu.org/PR24389
26383 #endif
26384 ;
26385 return 0;
26386 }
26387 _ACEOF
26388 rm -f conftest.$ac_objext
26389 if { (ac_try="$ac_compile"
26390 case "(($ac_try" in
26391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26392 *) ac_try_echo=$ac_try;;
26393 esac
26394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26395 (eval "$ac_compile") 2>conftest.er1
26396 ac_status=$?
26397 grep -v '^ *+' conftest.er1 >conftest.err
26398 rm -f conftest.er1
26399 cat conftest.err >&5
26400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26401 (exit $ac_status); } && {
26402 test -z "$ac_cxx_werror_flag" ||
26403 test ! -s conftest.err
26404 } && test -s conftest.$ac_objext; then
26405 wx_cv_class_tr1unorderedmapset=yes
26406 else
26407 echo "$as_me: failed program was:" >&5
26408 sed 's/^/| /' conftest.$ac_ext >&5
26409
26410 wx_cv_class_tr1unorderedmapset=no
26411 fi
26412
26413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26414
26415
26416 fi
26417 { echo "$as_me:$LINENO: result: $wx_cv_class_tr1unorderedmapset" >&5
26418 echo "${ECHO_T}$wx_cv_class_tr1unorderedmapset" >&6; }
26419 fi
26420
26421
26422
26423 if test "$wx_cv_class_tr1unorderedmapset" = yes; then
26424 cat >>confdefs.h <<\_ACEOF
26425 #define HAVE_TR1_UNORDERED_MAP 1
26426 _ACEOF
26427
26428 cat >>confdefs.h <<\_ACEOF
26429 #define HAVE_TR1_UNORDERED_SET 1
26430 _ACEOF
26431
26432 else
26433 { echo "$as_me:$LINENO: checking for hash_map" >&5
26434 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
26435 if test "${ac_cv_header_hash_map+set}" = set; then
26436 echo $ECHO_N "(cached) $ECHO_C" >&6
26437 else
26438 cat >conftest.$ac_ext <<_ACEOF
26439 /* confdefs.h. */
26440 _ACEOF
26441 cat confdefs.h >>conftest.$ac_ext
26442 cat >>conftest.$ac_ext <<_ACEOF
26443 /* end confdefs.h. */
26444
26445
26446
26447 #include <hash_map>
26448 _ACEOF
26449 rm -f conftest.$ac_objext
26450 if { (ac_try="$ac_compile"
26451 case "(($ac_try" in
26452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26453 *) ac_try_echo=$ac_try;;
26454 esac
26455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26456 (eval "$ac_compile") 2>conftest.er1
26457 ac_status=$?
26458 grep -v '^ *+' conftest.er1 >conftest.err
26459 rm -f conftest.er1
26460 cat conftest.err >&5
26461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26462 (exit $ac_status); } && {
26463 test -z "$ac_cxx_werror_flag" ||
26464 test ! -s conftest.err
26465 } && test -s conftest.$ac_objext; then
26466 ac_cv_header_hash_map=yes
26467 else
26468 echo "$as_me: failed program was:" >&5
26469 sed 's/^/| /' conftest.$ac_ext >&5
26470
26471 ac_cv_header_hash_map=no
26472 fi
26473
26474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26475 fi
26476 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
26477 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
26478 if test $ac_cv_header_hash_map = yes; then
26479 { echo "$as_me:$LINENO: checking for std::hash_map and hash_set" >&5
26480 echo $ECHO_N "checking for std::hash_map and hash_set... $ECHO_C" >&6; }
26481 if test "${wx_cv_class_stdhashmapset+set}" = set; then
26482 echo $ECHO_N "(cached) $ECHO_C" >&6
26483 else
26484 cat >conftest.$ac_ext <<_ACEOF
26485 /* confdefs.h. */
26486 _ACEOF
26487 cat confdefs.h >>conftest.$ac_ext
26488 cat >>conftest.$ac_ext <<_ACEOF
26489 /* end confdefs.h. */
26490 #include <hash_map>
26491 #include <hash_set>
26492 int
26493 main ()
26494 {
26495 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
26496 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
26497 ;
26498 return 0;
26499 }
26500 _ACEOF
26501 rm -f conftest.$ac_objext
26502 if { (ac_try="$ac_compile"
26503 case "(($ac_try" in
26504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26505 *) ac_try_echo=$ac_try;;
26506 esac
26507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26508 (eval "$ac_compile") 2>conftest.er1
26509 ac_status=$?
26510 grep -v '^ *+' conftest.er1 >conftest.err
26511 rm -f conftest.er1
26512 cat conftest.err >&5
26513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26514 (exit $ac_status); } && {
26515 test -z "$ac_cxx_werror_flag" ||
26516 test ! -s conftest.err
26517 } && test -s conftest.$ac_objext; then
26518 wx_cv_class_stdhashmapset=yes
26519 else
26520 echo "$as_me: failed program was:" >&5
26521 sed 's/^/| /' conftest.$ac_ext >&5
26522
26523 wx_cv_class_stdhashmapset=no
26524 fi
26525
26526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26527
26528
26529 fi
26530 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
26531 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
26532 fi
26533
26534
26535
26536 if test "$wx_cv_class_stdhashmapset" = yes; then
26537 cat >>confdefs.h <<\_ACEOF
26538 #define HAVE_HASH_MAP 1
26539 _ACEOF
26540
26541 cat >>confdefs.h <<\_ACEOF
26542 #define HAVE_STD_HASH_MAP 1
26543 _ACEOF
26544
26545 fi
26546
26547 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
26548 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
26549 if test "${ac_cv_header_ext_hash_map+set}" = set; then
26550 echo $ECHO_N "(cached) $ECHO_C" >&6
26551 else
26552 cat >conftest.$ac_ext <<_ACEOF
26553 /* confdefs.h. */
26554 _ACEOF
26555 cat confdefs.h >>conftest.$ac_ext
26556 cat >>conftest.$ac_ext <<_ACEOF
26557 /* end confdefs.h. */
26558
26559
26560
26561 #include <ext/hash_map>
26562 _ACEOF
26563 rm -f conftest.$ac_objext
26564 if { (ac_try="$ac_compile"
26565 case "(($ac_try" in
26566 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26567 *) ac_try_echo=$ac_try;;
26568 esac
26569 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26570 (eval "$ac_compile") 2>conftest.er1
26571 ac_status=$?
26572 grep -v '^ *+' conftest.er1 >conftest.err
26573 rm -f conftest.er1
26574 cat conftest.err >&5
26575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26576 (exit $ac_status); } && {
26577 test -z "$ac_cxx_werror_flag" ||
26578 test ! -s conftest.err
26579 } && test -s conftest.$ac_objext; then
26580 ac_cv_header_ext_hash_map=yes
26581 else
26582 echo "$as_me: failed program was:" >&5
26583 sed 's/^/| /' conftest.$ac_ext >&5
26584
26585 ac_cv_header_ext_hash_map=no
26586 fi
26587
26588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26589 fi
26590 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
26591 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
26592 if test $ac_cv_header_ext_hash_map = yes; then
26593 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
26594 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
26595 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
26596 echo $ECHO_N "(cached) $ECHO_C" >&6
26597 else
26598 cat >conftest.$ac_ext <<_ACEOF
26599 /* confdefs.h. */
26600 _ACEOF
26601 cat confdefs.h >>conftest.$ac_ext
26602 cat >>conftest.$ac_ext <<_ACEOF
26603 /* end confdefs.h. */
26604 #include <ext/hash_map>
26605 #include <ext/hash_set>
26606 int
26607 main ()
26608 {
26609 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
26610 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
26611 ;
26612 return 0;
26613 }
26614 _ACEOF
26615 rm -f conftest.$ac_objext
26616 if { (ac_try="$ac_compile"
26617 case "(($ac_try" in
26618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26619 *) ac_try_echo=$ac_try;;
26620 esac
26621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26622 (eval "$ac_compile") 2>conftest.er1
26623 ac_status=$?
26624 grep -v '^ *+' conftest.er1 >conftest.err
26625 rm -f conftest.er1
26626 cat conftest.err >&5
26627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26628 (exit $ac_status); } && {
26629 test -z "$ac_cxx_werror_flag" ||
26630 test ! -s conftest.err
26631 } && test -s conftest.$ac_objext; then
26632 wx_cv_class_gnuhashmapset=yes
26633 else
26634 echo "$as_me: failed program was:" >&5
26635 sed 's/^/| /' conftest.$ac_ext >&5
26636
26637 wx_cv_class_gnuhashmapset=no
26638 fi
26639
26640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26641
26642
26643 fi
26644 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
26645 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
26646 fi
26647
26648
26649
26650 fi
26651 fi
26652 fi
26653
26654 ac_ext=cpp
26655 ac_cpp='$CXXCPP $CPPFLAGS'
26656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26659 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
26660 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
26661 if test -z "$CXXCPP"; then
26662 if test "${ac_cv_prog_CXXCPP+set}" = set; then
26663 echo $ECHO_N "(cached) $ECHO_C" >&6
26664 else
26665 # Double quotes because CXXCPP needs to be expanded
26666 for CXXCPP in "$CXX -E" "/lib/cpp"
26667 do
26668 ac_preproc_ok=false
26669 for ac_cxx_preproc_warn_flag in '' yes
26670 do
26671 # Use a header file that comes with gcc, so configuring glibc
26672 # with a fresh cross-compiler works.
26673 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26674 # <limits.h> exists even on freestanding compilers.
26675 # On the NeXT, cc -E runs the code through the compiler's parser,
26676 # not just through cpp. "Syntax error" is here to catch this case.
26677 cat >conftest.$ac_ext <<_ACEOF
26678 /* confdefs.h. */
26679 _ACEOF
26680 cat confdefs.h >>conftest.$ac_ext
26681 cat >>conftest.$ac_ext <<_ACEOF
26682 /* end confdefs.h. */
26683 #ifdef __STDC__
26684 # include <limits.h>
26685 #else
26686 # include <assert.h>
26687 #endif
26688 Syntax error
26689 _ACEOF
26690 if { (ac_try="$ac_cpp conftest.$ac_ext"
26691 case "(($ac_try" in
26692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26693 *) ac_try_echo=$ac_try;;
26694 esac
26695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26696 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26697 ac_status=$?
26698 grep -v '^ *+' conftest.er1 >conftest.err
26699 rm -f conftest.er1
26700 cat conftest.err >&5
26701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26702 (exit $ac_status); } >/dev/null && {
26703 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26704 test ! -s conftest.err
26705 }; then
26706 :
26707 else
26708 echo "$as_me: failed program was:" >&5
26709 sed 's/^/| /' conftest.$ac_ext >&5
26710
26711 # Broken: fails on valid input.
26712 continue
26713 fi
26714
26715 rm -f conftest.err conftest.$ac_ext
26716
26717 # OK, works on sane cases. Now check whether nonexistent headers
26718 # can be detected and how.
26719 cat >conftest.$ac_ext <<_ACEOF
26720 /* confdefs.h. */
26721 _ACEOF
26722 cat confdefs.h >>conftest.$ac_ext
26723 cat >>conftest.$ac_ext <<_ACEOF
26724 /* end confdefs.h. */
26725 #include <ac_nonexistent.h>
26726 _ACEOF
26727 if { (ac_try="$ac_cpp conftest.$ac_ext"
26728 case "(($ac_try" in
26729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26730 *) ac_try_echo=$ac_try;;
26731 esac
26732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26733 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26734 ac_status=$?
26735 grep -v '^ *+' conftest.er1 >conftest.err
26736 rm -f conftest.er1
26737 cat conftest.err >&5
26738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26739 (exit $ac_status); } >/dev/null && {
26740 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26741 test ! -s conftest.err
26742 }; then
26743 # Broken: success on invalid input.
26744 continue
26745 else
26746 echo "$as_me: failed program was:" >&5
26747 sed 's/^/| /' conftest.$ac_ext >&5
26748
26749 # Passes both tests.
26750 ac_preproc_ok=:
26751 break
26752 fi
26753
26754 rm -f conftest.err conftest.$ac_ext
26755
26756 done
26757 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
26758 rm -f conftest.err conftest.$ac_ext
26759 if $ac_preproc_ok; then
26760 break
26761 fi
26762
26763 done
26764 ac_cv_prog_CXXCPP=$CXXCPP
26765
26766 fi
26767 CXXCPP=$ac_cv_prog_CXXCPP
26768 else
26769 ac_cv_prog_CXXCPP=$CXXCPP
26770 fi
26771 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
26772 echo "${ECHO_T}$CXXCPP" >&6; }
26773 ac_preproc_ok=false
26774 for ac_cxx_preproc_warn_flag in '' yes
26775 do
26776 # Use a header file that comes with gcc, so configuring glibc
26777 # with a fresh cross-compiler works.
26778 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26779 # <limits.h> exists even on freestanding compilers.
26780 # On the NeXT, cc -E runs the code through the compiler's parser,
26781 # not just through cpp. "Syntax error" is here to catch this case.
26782 cat >conftest.$ac_ext <<_ACEOF
26783 /* confdefs.h. */
26784 _ACEOF
26785 cat confdefs.h >>conftest.$ac_ext
26786 cat >>conftest.$ac_ext <<_ACEOF
26787 /* end confdefs.h. */
26788 #ifdef __STDC__
26789 # include <limits.h>
26790 #else
26791 # include <assert.h>
26792 #endif
26793 Syntax error
26794 _ACEOF
26795 if { (ac_try="$ac_cpp conftest.$ac_ext"
26796 case "(($ac_try" in
26797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26798 *) ac_try_echo=$ac_try;;
26799 esac
26800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26801 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26802 ac_status=$?
26803 grep -v '^ *+' conftest.er1 >conftest.err
26804 rm -f conftest.er1
26805 cat conftest.err >&5
26806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26807 (exit $ac_status); } >/dev/null && {
26808 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26809 test ! -s conftest.err
26810 }; then
26811 :
26812 else
26813 echo "$as_me: failed program was:" >&5
26814 sed 's/^/| /' conftest.$ac_ext >&5
26815
26816 # Broken: fails on valid input.
26817 continue
26818 fi
26819
26820 rm -f conftest.err conftest.$ac_ext
26821
26822 # OK, works on sane cases. Now check whether nonexistent headers
26823 # can be detected and how.
26824 cat >conftest.$ac_ext <<_ACEOF
26825 /* confdefs.h. */
26826 _ACEOF
26827 cat confdefs.h >>conftest.$ac_ext
26828 cat >>conftest.$ac_ext <<_ACEOF
26829 /* end confdefs.h. */
26830 #include <ac_nonexistent.h>
26831 _ACEOF
26832 if { (ac_try="$ac_cpp conftest.$ac_ext"
26833 case "(($ac_try" in
26834 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26835 *) ac_try_echo=$ac_try;;
26836 esac
26837 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26838 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26839 ac_status=$?
26840 grep -v '^ *+' conftest.er1 >conftest.err
26841 rm -f conftest.er1
26842 cat conftest.err >&5
26843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26844 (exit $ac_status); } >/dev/null && {
26845 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26846 test ! -s conftest.err
26847 }; then
26848 # Broken: success on invalid input.
26849 continue
26850 else
26851 echo "$as_me: failed program was:" >&5
26852 sed 's/^/| /' conftest.$ac_ext >&5
26853
26854 # Passes both tests.
26855 ac_preproc_ok=:
26856 break
26857 fi
26858
26859 rm -f conftest.err conftest.$ac_ext
26860
26861 done
26862 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
26863 rm -f conftest.err conftest.$ac_ext
26864 if $ac_preproc_ok; then
26865 :
26866 else
26867 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
26868 See \`config.log' for more details." >&5
26869 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
26870 See \`config.log' for more details." >&2;}
26871 { (exit 1); exit 1; }; }
26872 fi
26873
26874 ac_ext=cpp
26875 ac_cpp='$CXXCPP $CPPFLAGS'
26876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26879
26880
26881
26882
26883 for ac_header in type_traits tr1/type_traits
26884 do
26885 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26886 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26887 { echo "$as_me:$LINENO: checking for $ac_header" >&5
26888 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
26889 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26890 echo $ECHO_N "(cached) $ECHO_C" >&6
26891 fi
26892 ac_res=`eval echo '${'$as_ac_Header'}'`
26893 { echo "$as_me:$LINENO: result: $ac_res" >&5
26894 echo "${ECHO_T}$ac_res" >&6; }
26895 else
26896 # Is the header compilable?
26897 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
26898 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
26899 cat >conftest.$ac_ext <<_ACEOF
26900 /* confdefs.h. */
26901 _ACEOF
26902 cat confdefs.h >>conftest.$ac_ext
26903 cat >>conftest.$ac_ext <<_ACEOF
26904 /* end confdefs.h. */
26905 $ac_includes_default
26906 #include <$ac_header>
26907 _ACEOF
26908 rm -f conftest.$ac_objext
26909 if { (ac_try="$ac_compile"
26910 case "(($ac_try" in
26911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26912 *) ac_try_echo=$ac_try;;
26913 esac
26914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26915 (eval "$ac_compile") 2>conftest.er1
26916 ac_status=$?
26917 grep -v '^ *+' conftest.er1 >conftest.err
26918 rm -f conftest.er1
26919 cat conftest.err >&5
26920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26921 (exit $ac_status); } && {
26922 test -z "$ac_cxx_werror_flag" ||
26923 test ! -s conftest.err
26924 } && test -s conftest.$ac_objext; then
26925 ac_header_compiler=yes
26926 else
26927 echo "$as_me: failed program was:" >&5
26928 sed 's/^/| /' conftest.$ac_ext >&5
26929
26930 ac_header_compiler=no
26931 fi
26932
26933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26934 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26935 echo "${ECHO_T}$ac_header_compiler" >&6; }
26936
26937 # Is the header present?
26938 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
26939 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
26940 cat >conftest.$ac_ext <<_ACEOF
26941 /* confdefs.h. */
26942 _ACEOF
26943 cat confdefs.h >>conftest.$ac_ext
26944 cat >>conftest.$ac_ext <<_ACEOF
26945 /* end confdefs.h. */
26946 #include <$ac_header>
26947 _ACEOF
26948 if { (ac_try="$ac_cpp conftest.$ac_ext"
26949 case "(($ac_try" in
26950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26951 *) ac_try_echo=$ac_try;;
26952 esac
26953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26954 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26955 ac_status=$?
26956 grep -v '^ *+' conftest.er1 >conftest.err
26957 rm -f conftest.er1
26958 cat conftest.err >&5
26959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26960 (exit $ac_status); } >/dev/null && {
26961 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26962 test ! -s conftest.err
26963 }; then
26964 ac_header_preproc=yes
26965 else
26966 echo "$as_me: failed program was:" >&5
26967 sed 's/^/| /' conftest.$ac_ext >&5
26968
26969 ac_header_preproc=no
26970 fi
26971
26972 rm -f conftest.err conftest.$ac_ext
26973 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26974 echo "${ECHO_T}$ac_header_preproc" >&6; }
26975
26976 # So? What about this header?
26977 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26978 yes:no: )
26979 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
26980 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
26981 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
26982 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
26983 ac_header_preproc=yes
26984 ;;
26985 no:yes:* )
26986 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
26987 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
26988 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
26989 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
26990 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
26991 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
26992 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
26993 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
26994 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26995 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26996 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
26997 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
26998 ( cat <<\_ASBOX
26999 ## ----------------------------------------- ##
27000 ## Report this to wx-dev@lists.wxwidgets.org ##
27001 ## ----------------------------------------- ##
27002 _ASBOX
27003 ) | sed "s/^/$as_me: WARNING: /" >&2
27004 ;;
27005 esac
27006 { echo "$as_me:$LINENO: checking for $ac_header" >&5
27007 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
27008 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27009 echo $ECHO_N "(cached) $ECHO_C" >&6
27010 else
27011 eval "$as_ac_Header=\$ac_header_preproc"
27012 fi
27013 ac_res=`eval echo '${'$as_ac_Header'}'`
27014 { echo "$as_me:$LINENO: result: $ac_res" >&5
27015 echo "${ECHO_T}$ac_res" >&6; }
27016
27017 fi
27018 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27019 cat >>confdefs.h <<_ACEOF
27020 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27021 _ACEOF
27022
27023 fi
27024
27025 done
27026
27027
27028
27029
27030 if test -n "$GCC"; then
27031 { echo "$as_me:$LINENO: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
27032 echo $ECHO_N "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... $ECHO_C" >&6; }
27033 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
27034 echo $ECHO_N "(cached) $ECHO_C" >&6
27035 else
27036
27037 cat >conftest.$ac_ext <<_ACEOF
27038 /* confdefs.h. */
27039 _ACEOF
27040 cat confdefs.h >>conftest.$ac_ext
27041 cat >>conftest.$ac_ext <<_ACEOF
27042 /* end confdefs.h. */
27043
27044 int
27045 main ()
27046 {
27047
27048 unsigned int value=0;
27049 /* wxAtomicInc doesn't use return value here */
27050 __sync_fetch_and_add(&value, 2);
27051 __sync_sub_and_fetch(&value, 1);
27052 /* but wxAtomicDec does, so mimic that: */
27053 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
27054
27055 ;
27056 return 0;
27057 }
27058 _ACEOF
27059 rm -f conftest.$ac_objext conftest$ac_exeext
27060 if { (ac_try="$ac_link"
27061 case "(($ac_try" in
27062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27063 *) ac_try_echo=$ac_try;;
27064 esac
27065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27066 (eval "$ac_link") 2>conftest.er1
27067 ac_status=$?
27068 grep -v '^ *+' conftest.er1 >conftest.err
27069 rm -f conftest.er1
27070 cat conftest.err >&5
27071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27072 (exit $ac_status); } && {
27073 test -z "$ac_cxx_werror_flag" ||
27074 test ! -s conftest.err
27075 } && test -s conftest$ac_exeext &&
27076 $as_test_x conftest$ac_exeext; then
27077 wx_cv_cc_gcc_atomic_builtins=yes
27078 else
27079 echo "$as_me: failed program was:" >&5
27080 sed 's/^/| /' conftest.$ac_ext >&5
27081
27082 wx_cv_cc_gcc_atomic_builtins=no
27083 fi
27084
27085 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27086 conftest$ac_exeext conftest.$ac_ext
27087
27088 fi
27089
27090 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
27091 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
27092 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
27093 cat >>confdefs.h <<\_ACEOF
27094 #define HAVE_GCC_ATOMIC_BUILTINS 1
27095 _ACEOF
27096
27097 fi
27098 fi
27099
27100
27101 ac_ext=c
27102 ac_cpp='$CPP $CPPFLAGS'
27103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27106
27107
27108
27109 SEARCH_INCLUDE="\
27110 /usr/local/include \
27111 /usr/local/X11/include \
27112 /usr/local/include/X11 \
27113 /usr/local/X11R7/include \
27114 /usr/local/X11R6/include \
27115 /usr/local/include/X11R7 \
27116 /usr/local/include/X11R6 \
27117 \
27118 /usr/Motif-2.1/include \
27119 /usr/Motif-1.2/include \
27120 /usr/include/Motif1.2 \
27121 \
27122 /usr/dt/include \
27123 /usr/openwin/include \
27124 \
27125 /usr/include/Xm \
27126 \
27127 /usr/X11R7/include \
27128 /usr/X11R6/include \
27129 /usr/X11R6.4/include \
27130 \
27131 /usr/include/X11R7 \
27132 /usr/include/X11R6 \
27133 \
27134 /usr/X11/include \
27135 /usr/include/X11 \
27136 \
27137 /usr/XFree86/include/X11 \
27138 /usr/pkg/include \
27139 \
27140 /usr/local/X1R5/include \
27141 /usr/local/include/X11R5 \
27142 /usr/X11R5/include \
27143 /usr/include/X11R5 \
27144 \
27145 /usr/local/X11R4/include \
27146 /usr/local/include/X11R4 \
27147 /usr/X11R4/include \
27148 /usr/include/X11R4 \
27149 \
27150 /usr/openwin/share/include"
27151
27152 { echo "$as_me:$LINENO: checking for libraries directories" >&5
27153 echo $ECHO_N "checking for libraries directories... $ECHO_C" >&6; }
27154
27155 case "${host}" in
27156 *-*-irix6* )
27157 if test "${wx_cv_std_libpath+set}" = set; then
27158 echo $ECHO_N "(cached) $ECHO_C" >&6
27159 else
27160
27161 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
27162 for e in a so sl dylib dll.a; do
27163 libc="$d/libc.$e"
27164 if test -f $libc; then
27165 save_LIBS="$LIBS"
27166 LIBS="$libc"
27167 cat >conftest.$ac_ext <<_ACEOF
27168
27169 /* confdefs.h. */
27170 _ACEOF
27171 cat confdefs.h >>conftest.$ac_ext
27172 cat >>conftest.$ac_ext <<_ACEOF
27173 /* end confdefs.h. */
27174 int main() { return 0; }
27175
27176 _ACEOF
27177 rm -f conftest.$ac_objext conftest$ac_exeext
27178 if { (ac_try="$ac_link"
27179 case "(($ac_try" in
27180 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27181 *) ac_try_echo=$ac_try;;
27182 esac
27183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27184 (eval "$ac_link") 2>conftest.er1
27185 ac_status=$?
27186 grep -v '^ *+' conftest.er1 >conftest.err
27187 rm -f conftest.er1
27188 cat conftest.err >&5
27189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27190 (exit $ac_status); } && {
27191 test -z "$ac_c_werror_flag" ||
27192 test ! -s conftest.err
27193 } && test -s conftest$ac_exeext &&
27194 $as_test_x conftest$ac_exeext; then
27195 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
27196 else
27197 echo "$as_me: failed program was:" >&5
27198 sed 's/^/| /' conftest.$ac_ext >&5
27199
27200
27201 fi
27202
27203 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27204 conftest$ac_exeext conftest.$ac_ext
27205 LIBS="$save_LIBS"
27206 if test "x$wx_cv_std_libpath" != "x"; then
27207 break 2
27208 fi
27209 fi
27210 done
27211 done
27212
27213
27214 fi
27215
27216 ;;
27217
27218 *-*-solaris2* )
27219 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
27220 wx_cv_std_libpath="lib/64"
27221 fi
27222 ;;
27223
27224 *-*-linux* )
27225 if test "$ac_cv_sizeof_void_p" = 8; then
27226 if test -d "/usr/lib/`uname -m`-linux-gnu"; then
27227 wx_cv_std_libfullpath="/usr/lib/`uname -m`-linux-gnu"
27228 elif test -d "/usr/lib64" -a ! -h "/usr/lib64"; then
27229 wx_cv_std_libpath="lib64"
27230 fi
27231 else
27232 case "${host}" in
27233 i*86-*-linux* )
27234 if test -d '/usr/lib/i386-linux-gnu'; then
27235 wx_cv_std_libfullpath='/usr/lib/i386-linux-gnu'
27236 fi
27237 esac
27238 fi
27239
27240 if test -n "$wx_cv_std_libfullpath" -a -d "/usr/lib"; then
27241 wx_cv_std_libfullpath="$wx_cv_std_libfullpath /usr/lib"
27242 fi
27243 ;;
27244 esac
27245
27246 if test -z "$wx_cv_std_libpath"; then
27247 wx_cv_std_libpath="lib"
27248 fi
27249
27250 if test -z "$wx_cv_std_libfullpath"; then
27251 wx_cv_std_libfullpath="/usr/$wx_cv_std_libpath"
27252 fi
27253
27254
27255 { echo "$as_me:$LINENO: result: $wx_cv_std_libfullpath" >&5
27256 echo "${ECHO_T}$wx_cv_std_libfullpath" >&6; }
27257
27258 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` $wx_cv_std_libfullpath"
27259
27260 if test "$build" != "$host" -a "$GCC" = yes; then
27261 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
27262 cross_root=`dirname $cross_root`
27263 cross_root=`dirname $cross_root`
27264
27265 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
27266 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
27267 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
27268
27269 if test -z "$PKG_CONFIG_PATH"; then
27270 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
27271 export PKG_CONFIG_PATH
27272 fi
27273
27274 if test -z "$x_includes" -o "$x_includes" = NONE; then
27275
27276 ac_find_includes=
27277 for ac_dir in $SEARCH_INCLUDE /usr/include
27278 do
27279 if test -f "$ac_dir/X11/Intrinsic.h"; then
27280 ac_find_includes=$ac_dir
27281 break
27282 fi
27283 done
27284
27285 x_includes=$ac_find_includes
27286 fi
27287 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
27288
27289 ac_find_libraries=
27290 for ac_dir in $SEARCH_LIB
27291 do
27292 for ac_extension in a so sl dylib dll.a; do
27293 if test -f "$ac_dir/libXt.$ac_extension"; then
27294 ac_find_libraries=$ac_dir
27295 break 2
27296 fi
27297 done
27298 done
27299
27300 x_libraries=$ac_find_libraries
27301 fi
27302 fi
27303 fi
27304
27305
27306 cat >confcache <<\_ACEOF
27307 # This file is a shell script that caches the results of configure
27308 # tests run on this system so they can be shared between configure
27309 # scripts and configure runs, see configure's option --config-cache.
27310 # It is not useful on other systems. If it contains results you don't
27311 # want to keep, you may remove or edit it.
27312 #
27313 # config.status only pays attention to the cache file if you give it
27314 # the --recheck option to rerun configure.
27315 #
27316 # `ac_cv_env_foo' variables (set or unset) will be overridden when
27317 # loading this file, other *unset* `ac_cv_foo' will be assigned the
27318 # following values.
27319
27320 _ACEOF
27321
27322 # The following way of writing the cache mishandles newlines in values,
27323 # but we know of no workaround that is simple, portable, and efficient.
27324 # So, we kill variables containing newlines.
27325 # Ultrix sh set writes to stderr and can't be redirected directly,
27326 # and sets the high bit in the cache file unless we assign to the vars.
27327 (
27328 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
27329 eval ac_val=\$$ac_var
27330 case $ac_val in #(
27331 *${as_nl}*)
27332 case $ac_var in #(
27333 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
27334 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
27335 esac
27336 case $ac_var in #(
27337 _ | IFS | as_nl) ;; #(
27338 *) $as_unset $ac_var ;;
27339 esac ;;
27340 esac
27341 done
27342
27343 (set) 2>&1 |
27344 case $as_nl`(ac_space=' '; set) 2>&1` in #(
27345 *${as_nl}ac_space=\ *)
27346 # `set' does not quote correctly, so add quotes (double-quote
27347 # substitution turns \\\\ into \\, and sed turns \\ into \).
27348 sed -n \
27349 "s/'/'\\\\''/g;
27350 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
27351 ;; #(
27352 *)
27353 # `set' quotes correctly as required by POSIX, so do not add quotes.
27354 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
27355 ;;
27356 esac |
27357 sort
27358 ) |
27359 sed '
27360 /^ac_cv_env_/b end
27361 t clear
27362 :clear
27363 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
27364 t end
27365 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
27366 :end' >>confcache
27367 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
27368 if test -w "$cache_file"; then
27369 test "x$cache_file" != "x/dev/null" &&
27370 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
27371 echo "$as_me: updating cache $cache_file" >&6;}
27372 cat confcache >$cache_file
27373 else
27374 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
27375 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
27376 fi
27377 fi
27378 rm -f confcache
27379
27380 have_cos=0
27381 have_floor=0
27382
27383 for ac_func in cos
27384 do
27385 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27386 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27387 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27388 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27389 echo $ECHO_N "(cached) $ECHO_C" >&6
27390 else
27391 cat >conftest.$ac_ext <<_ACEOF
27392 /* confdefs.h. */
27393 _ACEOF
27394 cat confdefs.h >>conftest.$ac_ext
27395 cat >>conftest.$ac_ext <<_ACEOF
27396 /* end confdefs.h. */
27397 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27398 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27399 #define $ac_func innocuous_$ac_func
27400
27401 /* System header to define __stub macros and hopefully few prototypes,
27402 which can conflict with char $ac_func (); below.
27403 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27404 <limits.h> exists even on freestanding compilers. */
27405
27406 #ifdef __STDC__
27407 # include <limits.h>
27408 #else
27409 # include <assert.h>
27410 #endif
27411
27412 #undef $ac_func
27413
27414 /* Override any GCC internal prototype to avoid an error.
27415 Use char because int might match the return type of a GCC
27416 builtin and then its argument prototype would still apply. */
27417 #ifdef __cplusplus
27418 extern "C"
27419 #endif
27420 char $ac_func ();
27421 /* The GNU C library defines this for functions which it implements
27422 to always fail with ENOSYS. Some functions are actually named
27423 something starting with __ and the normal name is an alias. */
27424 #if defined __stub_$ac_func || defined __stub___$ac_func
27425 choke me
27426 #endif
27427
27428 int
27429 main ()
27430 {
27431 return $ac_func ();
27432 ;
27433 return 0;
27434 }
27435 _ACEOF
27436 rm -f conftest.$ac_objext conftest$ac_exeext
27437 if { (ac_try="$ac_link"
27438 case "(($ac_try" in
27439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27440 *) ac_try_echo=$ac_try;;
27441 esac
27442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27443 (eval "$ac_link") 2>conftest.er1
27444 ac_status=$?
27445 grep -v '^ *+' conftest.er1 >conftest.err
27446 rm -f conftest.er1
27447 cat conftest.err >&5
27448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27449 (exit $ac_status); } && {
27450 test -z "$ac_c_werror_flag" ||
27451 test ! -s conftest.err
27452 } && test -s conftest$ac_exeext &&
27453 $as_test_x conftest$ac_exeext; then
27454 eval "$as_ac_var=yes"
27455 else
27456 echo "$as_me: failed program was:" >&5
27457 sed 's/^/| /' conftest.$ac_ext >&5
27458
27459 eval "$as_ac_var=no"
27460 fi
27461
27462 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27463 conftest$ac_exeext conftest.$ac_ext
27464 fi
27465 ac_res=`eval echo '${'$as_ac_var'}'`
27466 { echo "$as_me:$LINENO: result: $ac_res" >&5
27467 echo "${ECHO_T}$ac_res" >&6; }
27468 if test `eval echo '${'$as_ac_var'}'` = yes; then
27469 cat >>confdefs.h <<_ACEOF
27470 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27471 _ACEOF
27472 have_cos=1
27473 fi
27474 done
27475
27476
27477 for ac_func in floor
27478 do
27479 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27480 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27481 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27482 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27483 echo $ECHO_N "(cached) $ECHO_C" >&6
27484 else
27485 cat >conftest.$ac_ext <<_ACEOF
27486 /* confdefs.h. */
27487 _ACEOF
27488 cat confdefs.h >>conftest.$ac_ext
27489 cat >>conftest.$ac_ext <<_ACEOF
27490 /* end confdefs.h. */
27491 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27492 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27493 #define $ac_func innocuous_$ac_func
27494
27495 /* System header to define __stub macros and hopefully few prototypes,
27496 which can conflict with char $ac_func (); below.
27497 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27498 <limits.h> exists even on freestanding compilers. */
27499
27500 #ifdef __STDC__
27501 # include <limits.h>
27502 #else
27503 # include <assert.h>
27504 #endif
27505
27506 #undef $ac_func
27507
27508 /* Override any GCC internal prototype to avoid an error.
27509 Use char because int might match the return type of a GCC
27510 builtin and then its argument prototype would still apply. */
27511 #ifdef __cplusplus
27512 extern "C"
27513 #endif
27514 char $ac_func ();
27515 /* The GNU C library defines this for functions which it implements
27516 to always fail with ENOSYS. Some functions are actually named
27517 something starting with __ and the normal name is an alias. */
27518 #if defined __stub_$ac_func || defined __stub___$ac_func
27519 choke me
27520 #endif
27521
27522 int
27523 main ()
27524 {
27525 return $ac_func ();
27526 ;
27527 return 0;
27528 }
27529 _ACEOF
27530 rm -f conftest.$ac_objext conftest$ac_exeext
27531 if { (ac_try="$ac_link"
27532 case "(($ac_try" in
27533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27534 *) ac_try_echo=$ac_try;;
27535 esac
27536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27537 (eval "$ac_link") 2>conftest.er1
27538 ac_status=$?
27539 grep -v '^ *+' conftest.er1 >conftest.err
27540 rm -f conftest.er1
27541 cat conftest.err >&5
27542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27543 (exit $ac_status); } && {
27544 test -z "$ac_c_werror_flag" ||
27545 test ! -s conftest.err
27546 } && test -s conftest$ac_exeext &&
27547 $as_test_x conftest$ac_exeext; then
27548 eval "$as_ac_var=yes"
27549 else
27550 echo "$as_me: failed program was:" >&5
27551 sed 's/^/| /' conftest.$ac_ext >&5
27552
27553 eval "$as_ac_var=no"
27554 fi
27555
27556 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27557 conftest$ac_exeext conftest.$ac_ext
27558 fi
27559 ac_res=`eval echo '${'$as_ac_var'}'`
27560 { echo "$as_me:$LINENO: result: $ac_res" >&5
27561 echo "${ECHO_T}$ac_res" >&6; }
27562 if test `eval echo '${'$as_ac_var'}'` = yes; then
27563 cat >>confdefs.h <<_ACEOF
27564 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27565 _ACEOF
27566 have_floor=1
27567 fi
27568 done
27569
27570 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
27571 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
27572 if test "$have_cos" = 1 -a "$have_floor" = 1; then
27573 { echo "$as_me:$LINENO: result: yes" >&5
27574 echo "${ECHO_T}yes" >&6; }
27575 else
27576 { echo "$as_me:$LINENO: result: no" >&5
27577 echo "${ECHO_T}no" >&6; }
27578 LIBS="$LIBS -lm"
27579 # use different functions to avoid configure caching
27580 have_sin=0
27581 have_ceil=0
27582
27583 for ac_func in sin
27584 do
27585 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27586 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27587 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27588 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27589 echo $ECHO_N "(cached) $ECHO_C" >&6
27590 else
27591 cat >conftest.$ac_ext <<_ACEOF
27592 /* confdefs.h. */
27593 _ACEOF
27594 cat confdefs.h >>conftest.$ac_ext
27595 cat >>conftest.$ac_ext <<_ACEOF
27596 /* end confdefs.h. */
27597 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27598 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27599 #define $ac_func innocuous_$ac_func
27600
27601 /* System header to define __stub macros and hopefully few prototypes,
27602 which can conflict with char $ac_func (); below.
27603 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27604 <limits.h> exists even on freestanding compilers. */
27605
27606 #ifdef __STDC__
27607 # include <limits.h>
27608 #else
27609 # include <assert.h>
27610 #endif
27611
27612 #undef $ac_func
27613
27614 /* Override any GCC internal prototype to avoid an error.
27615 Use char because int might match the return type of a GCC
27616 builtin and then its argument prototype would still apply. */
27617 #ifdef __cplusplus
27618 extern "C"
27619 #endif
27620 char $ac_func ();
27621 /* The GNU C library defines this for functions which it implements
27622 to always fail with ENOSYS. Some functions are actually named
27623 something starting with __ and the normal name is an alias. */
27624 #if defined __stub_$ac_func || defined __stub___$ac_func
27625 choke me
27626 #endif
27627
27628 int
27629 main ()
27630 {
27631 return $ac_func ();
27632 ;
27633 return 0;
27634 }
27635 _ACEOF
27636 rm -f conftest.$ac_objext conftest$ac_exeext
27637 if { (ac_try="$ac_link"
27638 case "(($ac_try" in
27639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27640 *) ac_try_echo=$ac_try;;
27641 esac
27642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27643 (eval "$ac_link") 2>conftest.er1
27644 ac_status=$?
27645 grep -v '^ *+' conftest.er1 >conftest.err
27646 rm -f conftest.er1
27647 cat conftest.err >&5
27648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27649 (exit $ac_status); } && {
27650 test -z "$ac_c_werror_flag" ||
27651 test ! -s conftest.err
27652 } && test -s conftest$ac_exeext &&
27653 $as_test_x conftest$ac_exeext; then
27654 eval "$as_ac_var=yes"
27655 else
27656 echo "$as_me: failed program was:" >&5
27657 sed 's/^/| /' conftest.$ac_ext >&5
27658
27659 eval "$as_ac_var=no"
27660 fi
27661
27662 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27663 conftest$ac_exeext conftest.$ac_ext
27664 fi
27665 ac_res=`eval echo '${'$as_ac_var'}'`
27666 { echo "$as_me:$LINENO: result: $ac_res" >&5
27667 echo "${ECHO_T}$ac_res" >&6; }
27668 if test `eval echo '${'$as_ac_var'}'` = yes; then
27669 cat >>confdefs.h <<_ACEOF
27670 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27671 _ACEOF
27672 have_sin=1
27673 fi
27674 done
27675
27676
27677 for ac_func in ceil
27678 do
27679 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27680 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27681 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27682 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27683 echo $ECHO_N "(cached) $ECHO_C" >&6
27684 else
27685 cat >conftest.$ac_ext <<_ACEOF
27686 /* confdefs.h. */
27687 _ACEOF
27688 cat confdefs.h >>conftest.$ac_ext
27689 cat >>conftest.$ac_ext <<_ACEOF
27690 /* end confdefs.h. */
27691 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27692 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27693 #define $ac_func innocuous_$ac_func
27694
27695 /* System header to define __stub macros and hopefully few prototypes,
27696 which can conflict with char $ac_func (); below.
27697 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27698 <limits.h> exists even on freestanding compilers. */
27699
27700 #ifdef __STDC__
27701 # include <limits.h>
27702 #else
27703 # include <assert.h>
27704 #endif
27705
27706 #undef $ac_func
27707
27708 /* Override any GCC internal prototype to avoid an error.
27709 Use char because int might match the return type of a GCC
27710 builtin and then its argument prototype would still apply. */
27711 #ifdef __cplusplus
27712 extern "C"
27713 #endif
27714 char $ac_func ();
27715 /* The GNU C library defines this for functions which it implements
27716 to always fail with ENOSYS. Some functions are actually named
27717 something starting with __ and the normal name is an alias. */
27718 #if defined __stub_$ac_func || defined __stub___$ac_func
27719 choke me
27720 #endif
27721
27722 int
27723 main ()
27724 {
27725 return $ac_func ();
27726 ;
27727 return 0;
27728 }
27729 _ACEOF
27730 rm -f conftest.$ac_objext conftest$ac_exeext
27731 if { (ac_try="$ac_link"
27732 case "(($ac_try" in
27733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27734 *) ac_try_echo=$ac_try;;
27735 esac
27736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27737 (eval "$ac_link") 2>conftest.er1
27738 ac_status=$?
27739 grep -v '^ *+' conftest.er1 >conftest.err
27740 rm -f conftest.er1
27741 cat conftest.err >&5
27742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27743 (exit $ac_status); } && {
27744 test -z "$ac_c_werror_flag" ||
27745 test ! -s conftest.err
27746 } && test -s conftest$ac_exeext &&
27747 $as_test_x conftest$ac_exeext; then
27748 eval "$as_ac_var=yes"
27749 else
27750 echo "$as_me: failed program was:" >&5
27751 sed 's/^/| /' conftest.$ac_ext >&5
27752
27753 eval "$as_ac_var=no"
27754 fi
27755
27756 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27757 conftest$ac_exeext conftest.$ac_ext
27758 fi
27759 ac_res=`eval echo '${'$as_ac_var'}'`
27760 { echo "$as_me:$LINENO: result: $ac_res" >&5
27761 echo "${ECHO_T}$ac_res" >&6; }
27762 if test `eval echo '${'$as_ac_var'}'` = yes; then
27763 cat >>confdefs.h <<_ACEOF
27764 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27765 _ACEOF
27766 have_ceil=1
27767 fi
27768 done
27769
27770 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
27771 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
27772 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
27773 { echo "$as_me:$LINENO: result: yes" >&5
27774 echo "${ECHO_T}yes" >&6; }
27775 else
27776 { echo "$as_me:$LINENO: result: no" >&5
27777 echo "${ECHO_T}no" >&6; }
27778 # not sure we should warn the user, crash, etc.
27779 fi
27780 fi
27781
27782 ac_ext=cpp
27783 ac_cpp='$CXXCPP $CPPFLAGS'
27784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27787
27788 if test "wxUSE_UNICODE" = "yes"; then
27789
27790 for wx_func in wcstoull
27791 do
27792 { echo "$as_me:$LINENO: checking for $wx_func" >&5
27793 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
27794 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
27795 echo $ECHO_N "(cached) $ECHO_C" >&6
27796 else
27797
27798 cat >conftest.$ac_ext <<_ACEOF
27799
27800 /* confdefs.h. */
27801 _ACEOF
27802 cat confdefs.h >>conftest.$ac_ext
27803 cat >>conftest.$ac_ext <<_ACEOF
27804 /* end confdefs.h. */
27805
27806
27807 $ac_includes_default
27808
27809 int
27810 main ()
27811 {
27812
27813 #ifndef $wx_func
27814 &$wx_func;
27815 #endif
27816
27817
27818 ;
27819 return 0;
27820 }
27821
27822 _ACEOF
27823 rm -f conftest.$ac_objext conftest$ac_exeext
27824 if { (ac_try="$ac_link"
27825 case "(($ac_try" in
27826 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27827 *) ac_try_echo=$ac_try;;
27828 esac
27829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27830 (eval "$ac_link") 2>conftest.er1
27831 ac_status=$?
27832 grep -v '^ *+' conftest.er1 >conftest.err
27833 rm -f conftest.er1
27834 cat conftest.err >&5
27835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27836 (exit $ac_status); } && {
27837 test -z "$ac_cxx_werror_flag" ||
27838 test ! -s conftest.err
27839 } && test -s conftest$ac_exeext &&
27840 $as_test_x conftest$ac_exeext; then
27841 eval wx_cv_func_$wx_func=yes
27842 else
27843 echo "$as_me: failed program was:" >&5
27844 sed 's/^/| /' conftest.$ac_ext >&5
27845
27846 eval wx_cv_func_$wx_func=no
27847 fi
27848
27849 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27850 conftest$ac_exeext conftest.$ac_ext
27851
27852 fi
27853 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
27854 { echo "$as_me:$LINENO: result: $ac_res" >&5
27855 echo "${ECHO_T}$ac_res" >&6; }
27856
27857 if eval test \$wx_cv_func_$wx_func = yes
27858 then
27859 cat >>confdefs.h <<_ACEOF
27860 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
27861 _ACEOF
27862
27863
27864 else
27865 :
27866
27867 fi
27868 done
27869
27870 else
27871
27872 for wx_func in strtoull
27873 do
27874 { echo "$as_me:$LINENO: checking for $wx_func" >&5
27875 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
27876 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
27877 echo $ECHO_N "(cached) $ECHO_C" >&6
27878 else
27879
27880 cat >conftest.$ac_ext <<_ACEOF
27881
27882 /* confdefs.h. */
27883 _ACEOF
27884 cat confdefs.h >>conftest.$ac_ext
27885 cat >>conftest.$ac_ext <<_ACEOF
27886 /* end confdefs.h. */
27887
27888
27889 $ac_includes_default
27890
27891 int
27892 main ()
27893 {
27894
27895 #ifndef $wx_func
27896 &$wx_func;
27897 #endif
27898
27899
27900 ;
27901 return 0;
27902 }
27903
27904 _ACEOF
27905 rm -f conftest.$ac_objext conftest$ac_exeext
27906 if { (ac_try="$ac_link"
27907 case "(($ac_try" in
27908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27909 *) ac_try_echo=$ac_try;;
27910 esac
27911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27912 (eval "$ac_link") 2>conftest.er1
27913 ac_status=$?
27914 grep -v '^ *+' conftest.er1 >conftest.err
27915 rm -f conftest.er1
27916 cat conftest.err >&5
27917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27918 (exit $ac_status); } && {
27919 test -z "$ac_cxx_werror_flag" ||
27920 test ! -s conftest.err
27921 } && test -s conftest$ac_exeext &&
27922 $as_test_x conftest$ac_exeext; then
27923 eval wx_cv_func_$wx_func=yes
27924 else
27925 echo "$as_me: failed program was:" >&5
27926 sed 's/^/| /' conftest.$ac_ext >&5
27927
27928 eval wx_cv_func_$wx_func=no
27929 fi
27930
27931 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27932 conftest$ac_exeext conftest.$ac_ext
27933
27934 fi
27935 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
27936 { echo "$as_me:$LINENO: result: $ac_res" >&5
27937 echo "${ECHO_T}$ac_res" >&6; }
27938
27939 if eval test \$wx_cv_func_$wx_func = yes
27940 then
27941 cat >>confdefs.h <<_ACEOF
27942 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
27943 _ACEOF
27944
27945
27946 else
27947 :
27948
27949 fi
27950 done
27951
27952 fi
27953 ac_ext=c
27954 ac_cpp='$CPP $CPPFLAGS'
27955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27958
27959
27960
27961
27962 if test "$wxUSE_REGEX" != "no"; then
27963 cat >>confdefs.h <<\_ACEOF
27964 #define wxUSE_REGEX 1
27965 _ACEOF
27966
27967
27968 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
27969 { echo "$as_me:$LINENO: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
27970 echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
27971 wxUSE_REGEX=builtin
27972 fi
27973
27974 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
27975 { echo "$as_me:$LINENO: checking for regex.h" >&5
27976 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
27977 if test "${ac_cv_header_regex_h+set}" = set; then
27978 echo $ECHO_N "(cached) $ECHO_C" >&6
27979 else
27980 cat >conftest.$ac_ext <<_ACEOF
27981 /* confdefs.h. */
27982 _ACEOF
27983 cat confdefs.h >>conftest.$ac_ext
27984 cat >>conftest.$ac_ext <<_ACEOF
27985 /* end confdefs.h. */
27986
27987
27988 #include <regex.h>
27989 _ACEOF
27990 rm -f conftest.$ac_objext
27991 if { (ac_try="$ac_compile"
27992 case "(($ac_try" in
27993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27994 *) ac_try_echo=$ac_try;;
27995 esac
27996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27997 (eval "$ac_compile") 2>conftest.er1
27998 ac_status=$?
27999 grep -v '^ *+' conftest.er1 >conftest.err
28000 rm -f conftest.er1
28001 cat conftest.err >&5
28002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28003 (exit $ac_status); } && {
28004 test -z "$ac_c_werror_flag" ||
28005 test ! -s conftest.err
28006 } && test -s conftest.$ac_objext; then
28007 ac_cv_header_regex_h=yes
28008 else
28009 echo "$as_me: failed program was:" >&5
28010 sed 's/^/| /' conftest.$ac_ext >&5
28011
28012 ac_cv_header_regex_h=no
28013 fi
28014
28015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28016 fi
28017 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
28018 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
28019 if test $ac_cv_header_regex_h = yes; then
28020
28021
28022 for ac_func in regcomp re_search
28023 do
28024 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28025 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28026 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28027 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28028 echo $ECHO_N "(cached) $ECHO_C" >&6
28029 else
28030 cat >conftest.$ac_ext <<_ACEOF
28031 /* confdefs.h. */
28032 _ACEOF
28033 cat confdefs.h >>conftest.$ac_ext
28034 cat >>conftest.$ac_ext <<_ACEOF
28035 /* end confdefs.h. */
28036 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28037 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28038 #define $ac_func innocuous_$ac_func
28039
28040 /* System header to define __stub macros and hopefully few prototypes,
28041 which can conflict with char $ac_func (); below.
28042 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28043 <limits.h> exists even on freestanding compilers. */
28044
28045 #ifdef __STDC__
28046 # include <limits.h>
28047 #else
28048 # include <assert.h>
28049 #endif
28050
28051 #undef $ac_func
28052
28053 /* Override any GCC internal prototype to avoid an error.
28054 Use char because int might match the return type of a GCC
28055 builtin and then its argument prototype would still apply. */
28056 #ifdef __cplusplus
28057 extern "C"
28058 #endif
28059 char $ac_func ();
28060 /* The GNU C library defines this for functions which it implements
28061 to always fail with ENOSYS. Some functions are actually named
28062 something starting with __ and the normal name is an alias. */
28063 #if defined __stub_$ac_func || defined __stub___$ac_func
28064 choke me
28065 #endif
28066
28067 int
28068 main ()
28069 {
28070 return $ac_func ();
28071 ;
28072 return 0;
28073 }
28074 _ACEOF
28075 rm -f conftest.$ac_objext conftest$ac_exeext
28076 if { (ac_try="$ac_link"
28077 case "(($ac_try" in
28078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28079 *) ac_try_echo=$ac_try;;
28080 esac
28081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28082 (eval "$ac_link") 2>conftest.er1
28083 ac_status=$?
28084 grep -v '^ *+' conftest.er1 >conftest.err
28085 rm -f conftest.er1
28086 cat conftest.err >&5
28087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28088 (exit $ac_status); } && {
28089 test -z "$ac_c_werror_flag" ||
28090 test ! -s conftest.err
28091 } && test -s conftest$ac_exeext &&
28092 $as_test_x conftest$ac_exeext; then
28093 eval "$as_ac_var=yes"
28094 else
28095 echo "$as_me: failed program was:" >&5
28096 sed 's/^/| /' conftest.$ac_ext >&5
28097
28098 eval "$as_ac_var=no"
28099 fi
28100
28101 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28102 conftest$ac_exeext conftest.$ac_ext
28103 fi
28104 ac_res=`eval echo '${'$as_ac_var'}'`
28105 { echo "$as_me:$LINENO: result: $ac_res" >&5
28106 echo "${ECHO_T}$ac_res" >&6; }
28107 if test `eval echo '${'$as_ac_var'}'` = yes; then
28108 cat >>confdefs.h <<_ACEOF
28109 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28110 _ACEOF
28111
28112 fi
28113 done
28114
28115 fi
28116
28117
28118
28119 if test "x$ac_cv_func_regcomp" != "xyes"; then
28120 if test "$wxUSE_REGEX" = "sys" ; then
28121 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
28122 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
28123 { (exit 1); exit 1; }; }
28124 else
28125 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
28126 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
28127 wxUSE_REGEX=builtin
28128 fi
28129 else
28130 wxUSE_REGEX=sys
28131 cat >>confdefs.h <<\_ACEOF
28132 #define WX_NO_REGEX_ADVANCED 1
28133 _ACEOF
28134
28135 fi
28136 fi
28137 fi
28138
28139
28140 ZLIB_LINK=
28141 if test "$wxUSE_ZLIB" != "no" ; then
28142 cat >>confdefs.h <<\_ACEOF
28143 #define wxUSE_ZLIB 1
28144 _ACEOF
28145
28146
28147 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
28148 if test "$USE_DARWIN" = 1; then
28149 system_zlib_h_ok="yes"
28150 else
28151 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
28152 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
28153 if test "${ac_cv_header_zlib_h+set}" = set; then
28154 echo $ECHO_N "(cached) $ECHO_C" >&6
28155 else
28156 if test "$cross_compiling" = yes; then
28157 unset ac_cv_header_zlib_h
28158
28159 else
28160 cat >conftest.$ac_ext <<_ACEOF
28161 /* confdefs.h. */
28162 _ACEOF
28163 cat confdefs.h >>conftest.$ac_ext
28164 cat >>conftest.$ac_ext <<_ACEOF
28165 /* end confdefs.h. */
28166
28167 #include <zlib.h>
28168 #include <stdio.h>
28169
28170 int main()
28171 {
28172 FILE *f=fopen("conftestval", "w");
28173 if (!f) exit(1);
28174 fprintf(f, "%s",
28175 ZLIB_VERSION[0] == '1' &&
28176 (ZLIB_VERSION[2] > '1' ||
28177 (ZLIB_VERSION[2] == '1' &&
28178 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
28179 exit(0);
28180 }
28181
28182 _ACEOF
28183 rm -f conftest$ac_exeext
28184 if { (ac_try="$ac_link"
28185 case "(($ac_try" in
28186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28187 *) ac_try_echo=$ac_try;;
28188 esac
28189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28190 (eval "$ac_link") 2>&5
28191 ac_status=$?
28192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28193 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28194 { (case "(($ac_try" in
28195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28196 *) ac_try_echo=$ac_try;;
28197 esac
28198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28199 (eval "$ac_try") 2>&5
28200 ac_status=$?
28201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28202 (exit $ac_status); }; }; then
28203 ac_cv_header_zlib_h=`cat conftestval`
28204 else
28205 echo "$as_me: program exited with status $ac_status" >&5
28206 echo "$as_me: failed program was:" >&5
28207 sed 's/^/| /' conftest.$ac_ext >&5
28208
28209 ( exit $ac_status )
28210 ac_cv_header_zlib_h=no
28211 fi
28212 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28213 fi
28214
28215
28216
28217 fi
28218 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28219 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28220 { echo "$as_me:$LINENO: checking for zlib.h" >&5
28221 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
28222 if test "${ac_cv_header_zlib_h+set}" = set; then
28223 echo $ECHO_N "(cached) $ECHO_C" >&6
28224 else
28225 cat >conftest.$ac_ext <<_ACEOF
28226 /* confdefs.h. */
28227 _ACEOF
28228 cat confdefs.h >>conftest.$ac_ext
28229 cat >>conftest.$ac_ext <<_ACEOF
28230 /* end confdefs.h. */
28231
28232
28233 #include <zlib.h>
28234 _ACEOF
28235 rm -f conftest.$ac_objext
28236 if { (ac_try="$ac_compile"
28237 case "(($ac_try" in
28238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28239 *) ac_try_echo=$ac_try;;
28240 esac
28241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28242 (eval "$ac_compile") 2>conftest.er1
28243 ac_status=$?
28244 grep -v '^ *+' conftest.er1 >conftest.err
28245 rm -f conftest.er1
28246 cat conftest.err >&5
28247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28248 (exit $ac_status); } && {
28249 test -z "$ac_c_werror_flag" ||
28250 test ! -s conftest.err
28251 } && test -s conftest.$ac_objext; then
28252 ac_cv_header_zlib_h=yes
28253 else
28254 echo "$as_me: failed program was:" >&5
28255 sed 's/^/| /' conftest.$ac_ext >&5
28256
28257 ac_cv_header_zlib_h=no
28258 fi
28259
28260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28261 fi
28262 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28263 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28264
28265
28266
28267 system_zlib_h_ok=$ac_cv_header_zlib_h
28268 fi
28269
28270 if test "$system_zlib_h_ok" = "yes"; then
28271 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
28272 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
28273 if test "${ac_cv_lib_z_deflate+set}" = set; then
28274 echo $ECHO_N "(cached) $ECHO_C" >&6
28275 else
28276 ac_check_lib_save_LIBS=$LIBS
28277 LIBS="-lz $LIBS"
28278 cat >conftest.$ac_ext <<_ACEOF
28279 /* confdefs.h. */
28280 _ACEOF
28281 cat confdefs.h >>conftest.$ac_ext
28282 cat >>conftest.$ac_ext <<_ACEOF
28283 /* end confdefs.h. */
28284
28285 /* Override any GCC internal prototype to avoid an error.
28286 Use char because int might match the return type of a GCC
28287 builtin and then its argument prototype would still apply. */
28288 #ifdef __cplusplus
28289 extern "C"
28290 #endif
28291 char deflate ();
28292 int
28293 main ()
28294 {
28295 return deflate ();
28296 ;
28297 return 0;
28298 }
28299 _ACEOF
28300 rm -f conftest.$ac_objext conftest$ac_exeext
28301 if { (ac_try="$ac_link"
28302 case "(($ac_try" in
28303 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28304 *) ac_try_echo=$ac_try;;
28305 esac
28306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28307 (eval "$ac_link") 2>conftest.er1
28308 ac_status=$?
28309 grep -v '^ *+' conftest.er1 >conftest.err
28310 rm -f conftest.er1
28311 cat conftest.err >&5
28312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28313 (exit $ac_status); } && {
28314 test -z "$ac_c_werror_flag" ||
28315 test ! -s conftest.err
28316 } && test -s conftest$ac_exeext &&
28317 $as_test_x conftest$ac_exeext; then
28318 ac_cv_lib_z_deflate=yes
28319 else
28320 echo "$as_me: failed program was:" >&5
28321 sed 's/^/| /' conftest.$ac_ext >&5
28322
28323 ac_cv_lib_z_deflate=no
28324 fi
28325
28326 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28327 conftest$ac_exeext conftest.$ac_ext
28328 LIBS=$ac_check_lib_save_LIBS
28329 fi
28330 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
28331 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
28332 if test $ac_cv_lib_z_deflate = yes; then
28333 ZLIB_LINK=" -lz"
28334 fi
28335
28336 fi
28337
28338 if test "x$ZLIB_LINK" = "x" ; then
28339 if test "$wxUSE_ZLIB" = "sys" ; then
28340 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
28341 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
28342 { (exit 1); exit 1; }; }
28343 else
28344 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
28345 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
28346 wxUSE_ZLIB=builtin
28347 fi
28348 else
28349 wxUSE_ZLIB=sys
28350 fi
28351 fi
28352 fi
28353
28354
28355 PNG_LINK=
28356 if test "$wxUSE_LIBPNG" != "no" ; then
28357 cat >>confdefs.h <<\_ACEOF
28358 #define wxUSE_LIBPNG 1
28359 _ACEOF
28360
28361
28362 if test "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
28363 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
28364 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
28365 wxUSE_LIBPNG=builtin
28366 fi
28367
28368 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
28369 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
28370 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
28371 if test "${ac_cv_header_png_h+set}" = set; then
28372 echo $ECHO_N "(cached) $ECHO_C" >&6
28373 else
28374 if test "$cross_compiling" = yes; then
28375 unset ac_cv_header_png_h
28376
28377 else
28378 cat >conftest.$ac_ext <<_ACEOF
28379 /* confdefs.h. */
28380 _ACEOF
28381 cat confdefs.h >>conftest.$ac_ext
28382 cat >>conftest.$ac_ext <<_ACEOF
28383 /* end confdefs.h. */
28384
28385 #include <png.h>
28386 #include <stdio.h>
28387
28388 int main()
28389 {
28390 FILE *f=fopen("conftestval", "w");
28391 if (!f) exit(1);
28392 fprintf(f, "%s",
28393 PNG_LIBPNG_VER > 90 ? "yes" : "no");
28394 exit(0);
28395 }
28396
28397 _ACEOF
28398 rm -f conftest$ac_exeext
28399 if { (ac_try="$ac_link"
28400 case "(($ac_try" in
28401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28402 *) ac_try_echo=$ac_try;;
28403 esac
28404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28405 (eval "$ac_link") 2>&5
28406 ac_status=$?
28407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28408 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28409 { (case "(($ac_try" in
28410 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28411 *) ac_try_echo=$ac_try;;
28412 esac
28413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28414 (eval "$ac_try") 2>&5
28415 ac_status=$?
28416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28417 (exit $ac_status); }; }; then
28418 ac_cv_header_png_h=`cat conftestval`
28419 else
28420 echo "$as_me: program exited with status $ac_status" >&5
28421 echo "$as_me: failed program was:" >&5
28422 sed 's/^/| /' conftest.$ac_ext >&5
28423
28424 ( exit $ac_status )
28425 ac_cv_header_png_h=no
28426 fi
28427 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28428 fi
28429
28430
28431
28432 fi
28433 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
28434 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
28435 { echo "$as_me:$LINENO: checking for png.h" >&5
28436 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
28437 if test "${ac_cv_header_png_h+set}" = set; then
28438 echo $ECHO_N "(cached) $ECHO_C" >&6
28439 else
28440 cat >conftest.$ac_ext <<_ACEOF
28441 /* confdefs.h. */
28442 _ACEOF
28443 cat confdefs.h >>conftest.$ac_ext
28444 cat >>conftest.$ac_ext <<_ACEOF
28445 /* end confdefs.h. */
28446
28447
28448 #include <png.h>
28449 _ACEOF
28450 rm -f conftest.$ac_objext
28451 if { (ac_try="$ac_compile"
28452 case "(($ac_try" in
28453 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28454 *) ac_try_echo=$ac_try;;
28455 esac
28456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28457 (eval "$ac_compile") 2>conftest.er1
28458 ac_status=$?
28459 grep -v '^ *+' conftest.er1 >conftest.err
28460 rm -f conftest.er1
28461 cat conftest.err >&5
28462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28463 (exit $ac_status); } && {
28464 test -z "$ac_c_werror_flag" ||
28465 test ! -s conftest.err
28466 } && test -s conftest.$ac_objext; then
28467 ac_cv_header_png_h=yes
28468 else
28469 echo "$as_me: failed program was:" >&5
28470 sed 's/^/| /' conftest.$ac_ext >&5
28471
28472 ac_cv_header_png_h=no
28473 fi
28474
28475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28476 fi
28477 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
28478 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
28479
28480
28481
28482 if test "$ac_cv_header_png_h" = "yes"; then
28483 { echo "$as_me:$LINENO: checking for png_sig_cmp in -lpng" >&5
28484 echo $ECHO_N "checking for png_sig_cmp in -lpng... $ECHO_C" >&6; }
28485 if test "${ac_cv_lib_png_png_sig_cmp+set}" = set; then
28486 echo $ECHO_N "(cached) $ECHO_C" >&6
28487 else
28488 ac_check_lib_save_LIBS=$LIBS
28489 LIBS="-lpng -lz -lm $LIBS"
28490 cat >conftest.$ac_ext <<_ACEOF
28491 /* confdefs.h. */
28492 _ACEOF
28493 cat confdefs.h >>conftest.$ac_ext
28494 cat >>conftest.$ac_ext <<_ACEOF
28495 /* end confdefs.h. */
28496
28497 /* Override any GCC internal prototype to avoid an error.
28498 Use char because int might match the return type of a GCC
28499 builtin and then its argument prototype would still apply. */
28500 #ifdef __cplusplus
28501 extern "C"
28502 #endif
28503 char png_sig_cmp ();
28504 int
28505 main ()
28506 {
28507 return png_sig_cmp ();
28508 ;
28509 return 0;
28510 }
28511 _ACEOF
28512 rm -f conftest.$ac_objext conftest$ac_exeext
28513 if { (ac_try="$ac_link"
28514 case "(($ac_try" in
28515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28516 *) ac_try_echo=$ac_try;;
28517 esac
28518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28519 (eval "$ac_link") 2>conftest.er1
28520 ac_status=$?
28521 grep -v '^ *+' conftest.er1 >conftest.err
28522 rm -f conftest.er1
28523 cat conftest.err >&5
28524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28525 (exit $ac_status); } && {
28526 test -z "$ac_c_werror_flag" ||
28527 test ! -s conftest.err
28528 } && test -s conftest$ac_exeext &&
28529 $as_test_x conftest$ac_exeext; then
28530 ac_cv_lib_png_png_sig_cmp=yes
28531 else
28532 echo "$as_me: failed program was:" >&5
28533 sed 's/^/| /' conftest.$ac_ext >&5
28534
28535 ac_cv_lib_png_png_sig_cmp=no
28536 fi
28537
28538 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28539 conftest$ac_exeext conftest.$ac_ext
28540 LIBS=$ac_check_lib_save_LIBS
28541 fi
28542 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_sig_cmp" >&5
28543 echo "${ECHO_T}$ac_cv_lib_png_png_sig_cmp" >&6; }
28544 if test $ac_cv_lib_png_png_sig_cmp = yes; then
28545 PNG_LINK=" -lpng -lz"
28546 fi
28547
28548 fi
28549
28550 if test "x$PNG_LINK" = "x" ; then
28551 if test "$wxUSE_LIBPNG" = "sys" ; then
28552 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
28553 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
28554 { (exit 1); exit 1; }; }
28555 else
28556 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
28557 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
28558 wxUSE_LIBPNG=builtin
28559 fi
28560 else
28561 wxUSE_LIBPNG=sys
28562 fi
28563 fi
28564 fi
28565
28566
28567 JPEG_LINK=
28568 if test "$wxUSE_LIBJPEG" != "no" ; then
28569 cat >>confdefs.h <<\_ACEOF
28570 #define wxUSE_LIBJPEG 1
28571 _ACEOF
28572
28573
28574 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
28575 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
28576 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
28577 if test "${ac_cv_header_jpeglib_h+set}" = set; then
28578 echo $ECHO_N "(cached) $ECHO_C" >&6
28579 else
28580 cat >conftest.$ac_ext <<_ACEOF
28581 /* confdefs.h. */
28582 _ACEOF
28583 cat confdefs.h >>conftest.$ac_ext
28584 cat >>conftest.$ac_ext <<_ACEOF
28585 /* end confdefs.h. */
28586
28587 #undef HAVE_STDLIB_H
28588 #include <stdio.h>
28589 #include <jpeglib.h>
28590
28591 int
28592 main ()
28593 {
28594
28595
28596 ;
28597 return 0;
28598 }
28599 _ACEOF
28600 rm -f conftest.$ac_objext
28601 if { (ac_try="$ac_compile"
28602 case "(($ac_try" in
28603 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28604 *) ac_try_echo=$ac_try;;
28605 esac
28606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28607 (eval "$ac_compile") 2>conftest.er1
28608 ac_status=$?
28609 grep -v '^ *+' conftest.er1 >conftest.err
28610 rm -f conftest.er1
28611 cat conftest.err >&5
28612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28613 (exit $ac_status); } && {
28614 test -z "$ac_c_werror_flag" ||
28615 test ! -s conftest.err
28616 } && test -s conftest.$ac_objext; then
28617 ac_cv_header_jpeglib_h=yes
28618 else
28619 echo "$as_me: failed program was:" >&5
28620 sed 's/^/| /' conftest.$ac_ext >&5
28621
28622 ac_cv_header_jpeglib_h=no
28623
28624 fi
28625
28626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28627
28628 fi
28629
28630 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
28631 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
28632
28633 if test "$ac_cv_header_jpeglib_h" = "yes"; then
28634 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
28635 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
28636 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
28637 echo $ECHO_N "(cached) $ECHO_C" >&6
28638 else
28639 ac_check_lib_save_LIBS=$LIBS
28640 LIBS="-ljpeg $LIBS"
28641 cat >conftest.$ac_ext <<_ACEOF
28642 /* confdefs.h. */
28643 _ACEOF
28644 cat confdefs.h >>conftest.$ac_ext
28645 cat >>conftest.$ac_ext <<_ACEOF
28646 /* end confdefs.h. */
28647
28648 /* Override any GCC internal prototype to avoid an error.
28649 Use char because int might match the return type of a GCC
28650 builtin and then its argument prototype would still apply. */
28651 #ifdef __cplusplus
28652 extern "C"
28653 #endif
28654 char jpeg_read_header ();
28655 int
28656 main ()
28657 {
28658 return jpeg_read_header ();
28659 ;
28660 return 0;
28661 }
28662 _ACEOF
28663 rm -f conftest.$ac_objext conftest$ac_exeext
28664 if { (ac_try="$ac_link"
28665 case "(($ac_try" in
28666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28667 *) ac_try_echo=$ac_try;;
28668 esac
28669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28670 (eval "$ac_link") 2>conftest.er1
28671 ac_status=$?
28672 grep -v '^ *+' conftest.er1 >conftest.err
28673 rm -f conftest.er1
28674 cat conftest.err >&5
28675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28676 (exit $ac_status); } && {
28677 test -z "$ac_c_werror_flag" ||
28678 test ! -s conftest.err
28679 } && test -s conftest$ac_exeext &&
28680 $as_test_x conftest$ac_exeext; then
28681 ac_cv_lib_jpeg_jpeg_read_header=yes
28682 else
28683 echo "$as_me: failed program was:" >&5
28684 sed 's/^/| /' conftest.$ac_ext >&5
28685
28686 ac_cv_lib_jpeg_jpeg_read_header=no
28687 fi
28688
28689 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28690 conftest$ac_exeext conftest.$ac_ext
28691 LIBS=$ac_check_lib_save_LIBS
28692 fi
28693 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
28694 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
28695 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
28696 JPEG_LINK=" -ljpeg"
28697 fi
28698
28699 fi
28700
28701 if test "x$JPEG_LINK" = "x" ; then
28702 if test "$wxUSE_LIBJPEG" = "sys" ; then
28703 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
28704 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
28705 { (exit 1); exit 1; }; }
28706 else
28707 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
28708 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
28709 wxUSE_LIBJPEG=builtin
28710 fi
28711 else
28712 wxUSE_LIBJPEG=sys
28713
28714 if test "$wxUSE_MSW" = 1; then
28715 { echo "$as_me:$LINENO: checking for boolean" >&5
28716 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
28717 if test "${ac_cv_type_boolean+set}" = set; then
28718 echo $ECHO_N "(cached) $ECHO_C" >&6
28719 else
28720 cat >conftest.$ac_ext <<_ACEOF
28721 /* confdefs.h. */
28722 _ACEOF
28723 cat confdefs.h >>conftest.$ac_ext
28724 cat >>conftest.$ac_ext <<_ACEOF
28725 /* end confdefs.h. */
28726 #include <windows.h>
28727
28728 typedef boolean ac__type_new_;
28729 int
28730 main ()
28731 {
28732 if ((ac__type_new_ *) 0)
28733 return 0;
28734 if (sizeof (ac__type_new_))
28735 return 0;
28736 ;
28737 return 0;
28738 }
28739 _ACEOF
28740 rm -f conftest.$ac_objext
28741 if { (ac_try="$ac_compile"
28742 case "(($ac_try" in
28743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28744 *) ac_try_echo=$ac_try;;
28745 esac
28746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28747 (eval "$ac_compile") 2>conftest.er1
28748 ac_status=$?
28749 grep -v '^ *+' conftest.er1 >conftest.err
28750 rm -f conftest.er1
28751 cat conftest.err >&5
28752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28753 (exit $ac_status); } && {
28754 test -z "$ac_c_werror_flag" ||
28755 test ! -s conftest.err
28756 } && test -s conftest.$ac_objext; then
28757 ac_cv_type_boolean=yes
28758 else
28759 echo "$as_me: failed program was:" >&5
28760 sed 's/^/| /' conftest.$ac_ext >&5
28761
28762 ac_cv_type_boolean=no
28763 fi
28764
28765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28766 fi
28767 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
28768 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
28769 if test $ac_cv_type_boolean = yes; then
28770
28771 cat >>confdefs.h <<_ACEOF
28772 #define HAVE_BOOLEAN 1
28773 _ACEOF
28774
28775
28776 { echo "$as_me:$LINENO: checking for boolean" >&5
28777 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
28778 if test "${ac_cv_type_boolean+set}" = set; then
28779 echo $ECHO_N "(cached) $ECHO_C" >&6
28780 else
28781 cat >conftest.$ac_ext <<_ACEOF
28782 /* confdefs.h. */
28783 _ACEOF
28784 cat confdefs.h >>conftest.$ac_ext
28785 cat >>conftest.$ac_ext <<_ACEOF
28786 /* end confdefs.h. */
28787
28788 #undef HAVE_BOOLEAN
28789 #include <stdio.h>
28790 #include <jpeglib.h>
28791
28792
28793 typedef boolean ac__type_new_;
28794 int
28795 main ()
28796 {
28797 if ((ac__type_new_ *) 0)
28798 return 0;
28799 if (sizeof (ac__type_new_))
28800 return 0;
28801 ;
28802 return 0;
28803 }
28804 _ACEOF
28805 rm -f conftest.$ac_objext
28806 if { (ac_try="$ac_compile"
28807 case "(($ac_try" in
28808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28809 *) ac_try_echo=$ac_try;;
28810 esac
28811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28812 (eval "$ac_compile") 2>conftest.er1
28813 ac_status=$?
28814 grep -v '^ *+' conftest.er1 >conftest.err
28815 rm -f conftest.er1
28816 cat conftest.err >&5
28817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28818 (exit $ac_status); } && {
28819 test -z "$ac_c_werror_flag" ||
28820 test ! -s conftest.err
28821 } && test -s conftest.$ac_objext; then
28822 ac_cv_type_boolean=yes
28823 else
28824 echo "$as_me: failed program was:" >&5
28825 sed 's/^/| /' conftest.$ac_ext >&5
28826
28827 ac_cv_type_boolean=no
28828 fi
28829
28830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28831 fi
28832 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
28833 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
28834
28835 # The cast to long int works around a bug in the HP C Compiler
28836 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
28837 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
28838 # This bug is HP SR number 8606223364.
28839 { echo "$as_me:$LINENO: checking size of boolean" >&5
28840 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
28841 if test "${ac_cv_sizeof_boolean+set}" = set; then
28842 echo $ECHO_N "(cached) $ECHO_C" >&6
28843 else
28844 if test "$cross_compiling" = yes; then
28845 # Depending upon the size, compute the lo and hi bounds.
28846 cat >conftest.$ac_ext <<_ACEOF
28847 /* confdefs.h. */
28848 _ACEOF
28849 cat confdefs.h >>conftest.$ac_ext
28850 cat >>conftest.$ac_ext <<_ACEOF
28851 /* end confdefs.h. */
28852
28853 #undef HAVE_BOOLEAN
28854 #include <stdio.h>
28855 #include <jpeglib.h>
28856
28857
28858 typedef boolean ac__type_sizeof_;
28859 int
28860 main ()
28861 {
28862 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
28863 test_array [0] = 0
28864
28865 ;
28866 return 0;
28867 }
28868 _ACEOF
28869 rm -f conftest.$ac_objext
28870 if { (ac_try="$ac_compile"
28871 case "(($ac_try" in
28872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28873 *) ac_try_echo=$ac_try;;
28874 esac
28875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28876 (eval "$ac_compile") 2>conftest.er1
28877 ac_status=$?
28878 grep -v '^ *+' conftest.er1 >conftest.err
28879 rm -f conftest.er1
28880 cat conftest.err >&5
28881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28882 (exit $ac_status); } && {
28883 test -z "$ac_c_werror_flag" ||
28884 test ! -s conftest.err
28885 } && test -s conftest.$ac_objext; then
28886 ac_lo=0 ac_mid=0
28887 while :; do
28888 cat >conftest.$ac_ext <<_ACEOF
28889 /* confdefs.h. */
28890 _ACEOF
28891 cat confdefs.h >>conftest.$ac_ext
28892 cat >>conftest.$ac_ext <<_ACEOF
28893 /* end confdefs.h. */
28894
28895 #undef HAVE_BOOLEAN
28896 #include <stdio.h>
28897 #include <jpeglib.h>
28898
28899
28900 typedef boolean ac__type_sizeof_;
28901 int
28902 main ()
28903 {
28904 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
28905 test_array [0] = 0
28906
28907 ;
28908 return 0;
28909 }
28910 _ACEOF
28911 rm -f conftest.$ac_objext
28912 if { (ac_try="$ac_compile"
28913 case "(($ac_try" in
28914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28915 *) ac_try_echo=$ac_try;;
28916 esac
28917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28918 (eval "$ac_compile") 2>conftest.er1
28919 ac_status=$?
28920 grep -v '^ *+' conftest.er1 >conftest.err
28921 rm -f conftest.er1
28922 cat conftest.err >&5
28923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28924 (exit $ac_status); } && {
28925 test -z "$ac_c_werror_flag" ||
28926 test ! -s conftest.err
28927 } && test -s conftest.$ac_objext; then
28928 ac_hi=$ac_mid; break
28929 else
28930 echo "$as_me: failed program was:" >&5
28931 sed 's/^/| /' conftest.$ac_ext >&5
28932
28933 ac_lo=`expr $ac_mid + 1`
28934 if test $ac_lo -le $ac_mid; then
28935 ac_lo= ac_hi=
28936 break
28937 fi
28938 ac_mid=`expr 2 '*' $ac_mid + 1`
28939 fi
28940
28941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28942 done
28943 else
28944 echo "$as_me: failed program was:" >&5
28945 sed 's/^/| /' conftest.$ac_ext >&5
28946
28947 cat >conftest.$ac_ext <<_ACEOF
28948 /* confdefs.h. */
28949 _ACEOF
28950 cat confdefs.h >>conftest.$ac_ext
28951 cat >>conftest.$ac_ext <<_ACEOF
28952 /* end confdefs.h. */
28953
28954 #undef HAVE_BOOLEAN
28955 #include <stdio.h>
28956 #include <jpeglib.h>
28957
28958
28959 typedef boolean ac__type_sizeof_;
28960 int
28961 main ()
28962 {
28963 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
28964 test_array [0] = 0
28965
28966 ;
28967 return 0;
28968 }
28969 _ACEOF
28970 rm -f conftest.$ac_objext
28971 if { (ac_try="$ac_compile"
28972 case "(($ac_try" in
28973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28974 *) ac_try_echo=$ac_try;;
28975 esac
28976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28977 (eval "$ac_compile") 2>conftest.er1
28978 ac_status=$?
28979 grep -v '^ *+' conftest.er1 >conftest.err
28980 rm -f conftest.er1
28981 cat conftest.err >&5
28982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28983 (exit $ac_status); } && {
28984 test -z "$ac_c_werror_flag" ||
28985 test ! -s conftest.err
28986 } && test -s conftest.$ac_objext; then
28987 ac_hi=-1 ac_mid=-1
28988 while :; do
28989 cat >conftest.$ac_ext <<_ACEOF
28990 /* confdefs.h. */
28991 _ACEOF
28992 cat confdefs.h >>conftest.$ac_ext
28993 cat >>conftest.$ac_ext <<_ACEOF
28994 /* end confdefs.h. */
28995
28996 #undef HAVE_BOOLEAN
28997 #include <stdio.h>
28998 #include <jpeglib.h>
28999
29000
29001 typedef boolean ac__type_sizeof_;
29002 int
29003 main ()
29004 {
29005 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
29006 test_array [0] = 0
29007
29008 ;
29009 return 0;
29010 }
29011 _ACEOF
29012 rm -f conftest.$ac_objext
29013 if { (ac_try="$ac_compile"
29014 case "(($ac_try" in
29015 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29016 *) ac_try_echo=$ac_try;;
29017 esac
29018 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29019 (eval "$ac_compile") 2>conftest.er1
29020 ac_status=$?
29021 grep -v '^ *+' conftest.er1 >conftest.err
29022 rm -f conftest.er1
29023 cat conftest.err >&5
29024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29025 (exit $ac_status); } && {
29026 test -z "$ac_c_werror_flag" ||
29027 test ! -s conftest.err
29028 } && test -s conftest.$ac_objext; then
29029 ac_lo=$ac_mid; break
29030 else
29031 echo "$as_me: failed program was:" >&5
29032 sed 's/^/| /' conftest.$ac_ext >&5
29033
29034 ac_hi=`expr '(' $ac_mid ')' - 1`
29035 if test $ac_mid -le $ac_hi; then
29036 ac_lo= ac_hi=
29037 break
29038 fi
29039 ac_mid=`expr 2 '*' $ac_mid`
29040 fi
29041
29042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29043 done
29044 else
29045 echo "$as_me: failed program was:" >&5
29046 sed 's/^/| /' conftest.$ac_ext >&5
29047
29048 ac_lo= ac_hi=
29049 fi
29050
29051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29052 fi
29053
29054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29055 # Binary search between lo and hi bounds.
29056 while test "x$ac_lo" != "x$ac_hi"; do
29057 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
29058 cat >conftest.$ac_ext <<_ACEOF
29059 /* confdefs.h. */
29060 _ACEOF
29061 cat confdefs.h >>conftest.$ac_ext
29062 cat >>conftest.$ac_ext <<_ACEOF
29063 /* end confdefs.h. */
29064
29065 #undef HAVE_BOOLEAN
29066 #include <stdio.h>
29067 #include <jpeglib.h>
29068
29069
29070 typedef boolean ac__type_sizeof_;
29071 int
29072 main ()
29073 {
29074 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
29075 test_array [0] = 0
29076
29077 ;
29078 return 0;
29079 }
29080 _ACEOF
29081 rm -f conftest.$ac_objext
29082 if { (ac_try="$ac_compile"
29083 case "(($ac_try" in
29084 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29085 *) ac_try_echo=$ac_try;;
29086 esac
29087 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29088 (eval "$ac_compile") 2>conftest.er1
29089 ac_status=$?
29090 grep -v '^ *+' conftest.er1 >conftest.err
29091 rm -f conftest.er1
29092 cat conftest.err >&5
29093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29094 (exit $ac_status); } && {
29095 test -z "$ac_c_werror_flag" ||
29096 test ! -s conftest.err
29097 } && test -s conftest.$ac_objext; then
29098 ac_hi=$ac_mid
29099 else
29100 echo "$as_me: failed program was:" >&5
29101 sed 's/^/| /' conftest.$ac_ext >&5
29102
29103 ac_lo=`expr '(' $ac_mid ')' + 1`
29104 fi
29105
29106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29107 done
29108 case $ac_lo in
29109 ?*) ac_cv_sizeof_boolean=$ac_lo;;
29110 '') if test "$ac_cv_type_boolean" = yes; then
29111 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
29112 See \`config.log' for more details." >&5
29113 echo "$as_me: error: cannot compute sizeof (boolean)
29114 See \`config.log' for more details." >&2;}
29115 { (exit 77); exit 77; }; }
29116 else
29117 ac_cv_sizeof_boolean=0
29118 fi ;;
29119 esac
29120 else
29121 cat >conftest.$ac_ext <<_ACEOF
29122 /* confdefs.h. */
29123 _ACEOF
29124 cat confdefs.h >>conftest.$ac_ext
29125 cat >>conftest.$ac_ext <<_ACEOF
29126 /* end confdefs.h. */
29127
29128 #undef HAVE_BOOLEAN
29129 #include <stdio.h>
29130 #include <jpeglib.h>
29131
29132
29133 typedef boolean ac__type_sizeof_;
29134 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
29135 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
29136 #include <stdio.h>
29137 #include <stdlib.h>
29138 int
29139 main ()
29140 {
29141
29142 FILE *f = fopen ("conftest.val", "w");
29143 if (! f)
29144 return 1;
29145 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
29146 {
29147 long int i = longval ();
29148 if (i != ((long int) (sizeof (ac__type_sizeof_))))
29149 return 1;
29150 fprintf (f, "%ld\n", i);
29151 }
29152 else
29153 {
29154 unsigned long int i = ulongval ();
29155 if (i != ((long int) (sizeof (ac__type_sizeof_))))
29156 return 1;
29157 fprintf (f, "%lu\n", i);
29158 }
29159 return ferror (f) || fclose (f) != 0;
29160
29161 ;
29162 return 0;
29163 }
29164 _ACEOF
29165 rm -f conftest$ac_exeext
29166 if { (ac_try="$ac_link"
29167 case "(($ac_try" in
29168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29169 *) ac_try_echo=$ac_try;;
29170 esac
29171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29172 (eval "$ac_link") 2>&5
29173 ac_status=$?
29174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29175 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29176 { (case "(($ac_try" in
29177 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29178 *) ac_try_echo=$ac_try;;
29179 esac
29180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29181 (eval "$ac_try") 2>&5
29182 ac_status=$?
29183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29184 (exit $ac_status); }; }; then
29185 ac_cv_sizeof_boolean=`cat conftest.val`
29186 else
29187 echo "$as_me: program exited with status $ac_status" >&5
29188 echo "$as_me: failed program was:" >&5
29189 sed 's/^/| /' conftest.$ac_ext >&5
29190
29191 ( exit $ac_status )
29192 if test "$ac_cv_type_boolean" = yes; then
29193 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
29194 See \`config.log' for more details." >&5
29195 echo "$as_me: error: cannot compute sizeof (boolean)
29196 See \`config.log' for more details." >&2;}
29197 { (exit 77); exit 77; }; }
29198 else
29199 ac_cv_sizeof_boolean=0
29200 fi
29201 fi
29202 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29203 fi
29204 rm -f conftest.val
29205 fi
29206 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
29207 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
29208
29209
29210
29211 cat >>confdefs.h <<_ACEOF
29212 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
29213 _ACEOF
29214
29215
29216 cat >>confdefs.h <<_ACEOF
29217 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
29218 _ACEOF
29219
29220
29221 fi
29222
29223 fi
29224 fi
29225 fi
29226 fi
29227
29228
29229 TIFF_LINK=
29230 TIFF_PREREQ_LINKS=-lm
29231 if test "$wxUSE_LIBTIFF" != "no" ; then
29232 cat >>confdefs.h <<\_ACEOF
29233 #define wxUSE_LIBTIFF 1
29234 _ACEOF
29235
29236
29237 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
29238 if test "$wxUSE_LIBJPEG" = "sys"; then
29239 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
29240 fi
29241 if test "$wxUSE_ZLIB" = "sys"; then
29242 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
29243 fi
29244 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
29245 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
29246 if test "${ac_cv_header_tiffio_h+set}" = set; then
29247 echo $ECHO_N "(cached) $ECHO_C" >&6
29248 else
29249 cat >conftest.$ac_ext <<_ACEOF
29250 /* confdefs.h. */
29251 _ACEOF
29252 cat confdefs.h >>conftest.$ac_ext
29253 cat >>conftest.$ac_ext <<_ACEOF
29254 /* end confdefs.h. */
29255
29256
29257
29258 #include <tiffio.h>
29259 _ACEOF
29260 rm -f conftest.$ac_objext
29261 if { (ac_try="$ac_compile"
29262 case "(($ac_try" in
29263 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29264 *) ac_try_echo=$ac_try;;
29265 esac
29266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29267 (eval "$ac_compile") 2>conftest.er1
29268 ac_status=$?
29269 grep -v '^ *+' conftest.er1 >conftest.err
29270 rm -f conftest.er1
29271 cat conftest.err >&5
29272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29273 (exit $ac_status); } && {
29274 test -z "$ac_c_werror_flag" ||
29275 test ! -s conftest.err
29276 } && test -s conftest.$ac_objext; then
29277 ac_cv_header_tiffio_h=yes
29278 else
29279 echo "$as_me: failed program was:" >&5
29280 sed 's/^/| /' conftest.$ac_ext >&5
29281
29282 ac_cv_header_tiffio_h=no
29283 fi
29284
29285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29286 fi
29287 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
29288 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
29289 if test $ac_cv_header_tiffio_h = yes; then
29290
29291 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
29292 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
29293 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
29294 echo $ECHO_N "(cached) $ECHO_C" >&6
29295 else
29296 ac_check_lib_save_LIBS=$LIBS
29297 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
29298 cat >conftest.$ac_ext <<_ACEOF
29299 /* confdefs.h. */
29300 _ACEOF
29301 cat confdefs.h >>conftest.$ac_ext
29302 cat >>conftest.$ac_ext <<_ACEOF
29303 /* end confdefs.h. */
29304
29305 /* Override any GCC internal prototype to avoid an error.
29306 Use char because int might match the return type of a GCC
29307 builtin and then its argument prototype would still apply. */
29308 #ifdef __cplusplus
29309 extern "C"
29310 #endif
29311 char TIFFError ();
29312 int
29313 main ()
29314 {
29315 return TIFFError ();
29316 ;
29317 return 0;
29318 }
29319 _ACEOF
29320 rm -f conftest.$ac_objext conftest$ac_exeext
29321 if { (ac_try="$ac_link"
29322 case "(($ac_try" in
29323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29324 *) ac_try_echo=$ac_try;;
29325 esac
29326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29327 (eval "$ac_link") 2>conftest.er1
29328 ac_status=$?
29329 grep -v '^ *+' conftest.er1 >conftest.err
29330 rm -f conftest.er1
29331 cat conftest.err >&5
29332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29333 (exit $ac_status); } && {
29334 test -z "$ac_c_werror_flag" ||
29335 test ! -s conftest.err
29336 } && test -s conftest$ac_exeext &&
29337 $as_test_x conftest$ac_exeext; then
29338 ac_cv_lib_tiff_TIFFError=yes
29339 else
29340 echo "$as_me: failed program was:" >&5
29341 sed 's/^/| /' conftest.$ac_ext >&5
29342
29343 ac_cv_lib_tiff_TIFFError=no
29344 fi
29345
29346 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29347 conftest$ac_exeext conftest.$ac_ext
29348 LIBS=$ac_check_lib_save_LIBS
29349 fi
29350 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
29351 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
29352 if test $ac_cv_lib_tiff_TIFFError = yes; then
29353 TIFF_LINK=" -ltiff"
29354 fi
29355
29356
29357 fi
29358
29359
29360
29361 if test "x$TIFF_LINK" = "x" ; then
29362 if test "$wxUSE_LIBTIFF" = "sys" ; then
29363 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
29364 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
29365 { (exit 1); exit 1; }; }
29366 else
29367 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
29368 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
29369 wxUSE_LIBTIFF=builtin
29370 fi
29371 else
29372 wxUSE_LIBTIFF=sys
29373 fi
29374 fi
29375 if test "$wxUSE_LIBTIFF" = "builtin" ; then
29376 if test "$wxUSE_LIBJPEG" = "no"; then
29377 ac_configure_args="$ac_configure_args --disable-jpeg"
29378 fi
29379 subdirs="$subdirs src/tiff"
29380
29381 fi
29382 fi
29383
29384
29385 if test "$wxUSE_EXPAT" != "no"; then
29386 wxUSE_XML=yes
29387 cat >>confdefs.h <<\_ACEOF
29388 #define wxUSE_EXPAT 1
29389 _ACEOF
29390
29391 cat >>confdefs.h <<\_ACEOF
29392 #define wxUSE_XML 1
29393 _ACEOF
29394
29395
29396 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
29397 { echo "$as_me:$LINENO: checking for expat.h" >&5
29398 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
29399 if test "${ac_cv_header_expat_h+set}" = set; then
29400 echo $ECHO_N "(cached) $ECHO_C" >&6
29401 else
29402 cat >conftest.$ac_ext <<_ACEOF
29403 /* confdefs.h. */
29404 _ACEOF
29405 cat confdefs.h >>conftest.$ac_ext
29406 cat >>conftest.$ac_ext <<_ACEOF
29407 /* end confdefs.h. */
29408
29409
29410 #include <expat.h>
29411 _ACEOF
29412 rm -f conftest.$ac_objext
29413 if { (ac_try="$ac_compile"
29414 case "(($ac_try" in
29415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29416 *) ac_try_echo=$ac_try;;
29417 esac
29418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29419 (eval "$ac_compile") 2>conftest.er1
29420 ac_status=$?
29421 grep -v '^ *+' conftest.er1 >conftest.err
29422 rm -f conftest.er1
29423 cat conftest.err >&5
29424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29425 (exit $ac_status); } && {
29426 test -z "$ac_c_werror_flag" ||
29427 test ! -s conftest.err
29428 } && test -s conftest.$ac_objext; then
29429 ac_cv_header_expat_h=yes
29430 else
29431 echo "$as_me: failed program was:" >&5
29432 sed 's/^/| /' conftest.$ac_ext >&5
29433
29434 ac_cv_header_expat_h=no
29435 fi
29436
29437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29438 fi
29439 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
29440 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
29441 if test $ac_cv_header_expat_h = yes; then
29442 found_expat_h=1
29443 fi
29444
29445
29446 if test "x$found_expat_h" = "x1"; then
29447 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
29448 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
29449 if test "${wx_cv_expat_is_not_broken+set}" = set; then
29450 echo $ECHO_N "(cached) $ECHO_C" >&6
29451 else
29452
29453 ac_ext=cpp
29454 ac_cpp='$CXXCPP $CPPFLAGS'
29455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29458
29459 cat >conftest.$ac_ext <<_ACEOF
29460 /* confdefs.h. */
29461 _ACEOF
29462 cat confdefs.h >>conftest.$ac_ext
29463 cat >>conftest.$ac_ext <<_ACEOF
29464 /* end confdefs.h. */
29465 #include <expat.h>
29466 int
29467 main ()
29468 {
29469
29470 ;
29471 return 0;
29472 }
29473 _ACEOF
29474 rm -f conftest.$ac_objext
29475 if { (ac_try="$ac_compile"
29476 case "(($ac_try" in
29477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29478 *) ac_try_echo=$ac_try;;
29479 esac
29480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29481 (eval "$ac_compile") 2>conftest.er1
29482 ac_status=$?
29483 grep -v '^ *+' conftest.er1 >conftest.err
29484 rm -f conftest.er1
29485 cat conftest.err >&5
29486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29487 (exit $ac_status); } && {
29488 test -z "$ac_cxx_werror_flag" ||
29489 test ! -s conftest.err
29490 } && test -s conftest.$ac_objext; then
29491 wx_cv_expat_is_not_broken=yes
29492 else
29493 echo "$as_me: failed program was:" >&5
29494 sed 's/^/| /' conftest.$ac_ext >&5
29495
29496 wx_cv_expat_is_not_broken=no
29497
29498 fi
29499
29500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29501 ac_ext=c
29502 ac_cpp='$CPP $CPPFLAGS'
29503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29506
29507
29508
29509 fi
29510 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
29511 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
29512 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
29513 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
29514 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
29515 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
29516 echo $ECHO_N "(cached) $ECHO_C" >&6
29517 else
29518 ac_check_lib_save_LIBS=$LIBS
29519 LIBS="-lexpat $LIBS"
29520 cat >conftest.$ac_ext <<_ACEOF
29521 /* confdefs.h. */
29522 _ACEOF
29523 cat confdefs.h >>conftest.$ac_ext
29524 cat >>conftest.$ac_ext <<_ACEOF
29525 /* end confdefs.h. */
29526
29527 /* Override any GCC internal prototype to avoid an error.
29528 Use char because int might match the return type of a GCC
29529 builtin and then its argument prototype would still apply. */
29530 #ifdef __cplusplus
29531 extern "C"
29532 #endif
29533 char XML_ParserCreate ();
29534 int
29535 main ()
29536 {
29537 return XML_ParserCreate ();
29538 ;
29539 return 0;
29540 }
29541 _ACEOF
29542 rm -f conftest.$ac_objext conftest$ac_exeext
29543 if { (ac_try="$ac_link"
29544 case "(($ac_try" in
29545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29546 *) ac_try_echo=$ac_try;;
29547 esac
29548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29549 (eval "$ac_link") 2>conftest.er1
29550 ac_status=$?
29551 grep -v '^ *+' conftest.er1 >conftest.err
29552 rm -f conftest.er1
29553 cat conftest.err >&5
29554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29555 (exit $ac_status); } && {
29556 test -z "$ac_c_werror_flag" ||
29557 test ! -s conftest.err
29558 } && test -s conftest$ac_exeext &&
29559 $as_test_x conftest$ac_exeext; then
29560 ac_cv_lib_expat_XML_ParserCreate=yes
29561 else
29562 echo "$as_me: failed program was:" >&5
29563 sed 's/^/| /' conftest.$ac_ext >&5
29564
29565 ac_cv_lib_expat_XML_ParserCreate=no
29566 fi
29567
29568 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29569 conftest$ac_exeext conftest.$ac_ext
29570 LIBS=$ac_check_lib_save_LIBS
29571 fi
29572 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
29573 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
29574 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
29575 EXPAT_LINK=" -lexpat"
29576 fi
29577
29578 fi
29579 fi
29580 if test "x$EXPAT_LINK" = "x" ; then
29581 if test "$wxUSE_EXPAT" = "sys" ; then
29582 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
29583 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
29584 { (exit 1); exit 1; }; }
29585 else
29586 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
29587 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
29588 wxUSE_EXPAT=builtin
29589 fi
29590 else
29591 wxUSE_EXPAT=sys
29592 fi
29593 fi
29594 if test "$wxUSE_EXPAT" = "builtin" ; then
29595 subdirs="$subdirs src/expat"
29596
29597 fi
29598 fi
29599
29600
29601
29602 if test "$wxUSE_LIBMSPACK" != "no"; then
29603 { echo "$as_me:$LINENO: checking for mspack.h" >&5
29604 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
29605 if test "${ac_cv_header_mspack_h+set}" = set; then
29606 echo $ECHO_N "(cached) $ECHO_C" >&6
29607 else
29608 cat >conftest.$ac_ext <<_ACEOF
29609 /* confdefs.h. */
29610 _ACEOF
29611 cat confdefs.h >>conftest.$ac_ext
29612 cat >>conftest.$ac_ext <<_ACEOF
29613 /* end confdefs.h. */
29614
29615
29616 #include <mspack.h>
29617 _ACEOF
29618 rm -f conftest.$ac_objext
29619 if { (ac_try="$ac_compile"
29620 case "(($ac_try" in
29621 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29622 *) ac_try_echo=$ac_try;;
29623 esac
29624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29625 (eval "$ac_compile") 2>conftest.er1
29626 ac_status=$?
29627 grep -v '^ *+' conftest.er1 >conftest.err
29628 rm -f conftest.er1
29629 cat conftest.err >&5
29630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29631 (exit $ac_status); } && {
29632 test -z "$ac_c_werror_flag" ||
29633 test ! -s conftest.err
29634 } && test -s conftest.$ac_objext; then
29635 ac_cv_header_mspack_h=yes
29636 else
29637 echo "$as_me: failed program was:" >&5
29638 sed 's/^/| /' conftest.$ac_ext >&5
29639
29640 ac_cv_header_mspack_h=no
29641 fi
29642
29643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29644 fi
29645 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
29646 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
29647 if test $ac_cv_header_mspack_h = yes; then
29648 found_mspack_h=1
29649 fi
29650
29651
29652 if test "x$found_mspack_h" = "x1"; then
29653 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
29654 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
29655 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
29656 echo $ECHO_N "(cached) $ECHO_C" >&6
29657 else
29658 ac_check_lib_save_LIBS=$LIBS
29659 LIBS="-lmspack $LIBS"
29660 cat >conftest.$ac_ext <<_ACEOF
29661 /* confdefs.h. */
29662 _ACEOF
29663 cat confdefs.h >>conftest.$ac_ext
29664 cat >>conftest.$ac_ext <<_ACEOF
29665 /* end confdefs.h. */
29666
29667 /* Override any GCC internal prototype to avoid an error.
29668 Use char because int might match the return type of a GCC
29669 builtin and then its argument prototype would still apply. */
29670 #ifdef __cplusplus
29671 extern "C"
29672 #endif
29673 char mspack_create_chm_decompressor ();
29674 int
29675 main ()
29676 {
29677 return mspack_create_chm_decompressor ();
29678 ;
29679 return 0;
29680 }
29681 _ACEOF
29682 rm -f conftest.$ac_objext conftest$ac_exeext
29683 if { (ac_try="$ac_link"
29684 case "(($ac_try" in
29685 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29686 *) ac_try_echo=$ac_try;;
29687 esac
29688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29689 (eval "$ac_link") 2>conftest.er1
29690 ac_status=$?
29691 grep -v '^ *+' conftest.er1 >conftest.err
29692 rm -f conftest.er1
29693 cat conftest.err >&5
29694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29695 (exit $ac_status); } && {
29696 test -z "$ac_c_werror_flag" ||
29697 test ! -s conftest.err
29698 } && test -s conftest$ac_exeext &&
29699 $as_test_x conftest$ac_exeext; then
29700 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
29701 else
29702 echo "$as_me: failed program was:" >&5
29703 sed 's/^/| /' conftest.$ac_ext >&5
29704
29705 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
29706 fi
29707
29708 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29709 conftest$ac_exeext conftest.$ac_ext
29710 LIBS=$ac_check_lib_save_LIBS
29711 fi
29712 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
29713 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
29714 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
29715 MSPACK_LINK=" -lmspack"
29716 fi
29717
29718 fi
29719 if test "x$MSPACK_LINK" = "x" ; then
29720 wxUSE_LIBMSPACK=no
29721 fi
29722 fi
29723
29724 if test "$wxUSE_LIBMSPACK" != "no"; then
29725 cat >>confdefs.h <<\_ACEOF
29726 #define wxUSE_LIBMSPACK 1
29727 _ACEOF
29728
29729 fi
29730
29731
29732
29733 AFMINSTALL=
29734 WIN32INSTALL=
29735
29736 TOOLKIT=
29737 TOOLKIT_INCLUDE=
29738 WIDGET_SET=
29739
29740 if test "$USE_WIN32" = 1 ; then
29741
29742 for ac_header in w32api.h
29743 do
29744 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29745 { echo "$as_me:$LINENO: checking for $ac_header" >&5
29746 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
29747 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29748 echo $ECHO_N "(cached) $ECHO_C" >&6
29749 else
29750 cat >conftest.$ac_ext <<_ACEOF
29751 /* confdefs.h. */
29752 _ACEOF
29753 cat confdefs.h >>conftest.$ac_ext
29754 cat >>conftest.$ac_ext <<_ACEOF
29755 /* end confdefs.h. */
29756
29757
29758 #include <$ac_header>
29759 _ACEOF
29760 rm -f conftest.$ac_objext
29761 if { (ac_try="$ac_compile"
29762 case "(($ac_try" in
29763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29764 *) ac_try_echo=$ac_try;;
29765 esac
29766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29767 (eval "$ac_compile") 2>conftest.er1
29768 ac_status=$?
29769 grep -v '^ *+' conftest.er1 >conftest.err
29770 rm -f conftest.er1
29771 cat conftest.err >&5
29772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29773 (exit $ac_status); } && {
29774 test -z "$ac_c_werror_flag" ||
29775 test ! -s conftest.err
29776 } && test -s conftest.$ac_objext; then
29777 eval "$as_ac_Header=yes"
29778 else
29779 echo "$as_me: failed program was:" >&5
29780 sed 's/^/| /' conftest.$ac_ext >&5
29781
29782 eval "$as_ac_Header=no"
29783 fi
29784
29785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29786 fi
29787 ac_res=`eval echo '${'$as_ac_Header'}'`
29788 { echo "$as_me:$LINENO: result: $ac_res" >&5
29789 echo "${ECHO_T}$ac_res" >&6; }
29790 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29791 cat >>confdefs.h <<_ACEOF
29792 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29793 _ACEOF
29794
29795 fi
29796
29797 done
29798
29799 { echo "$as_me:$LINENO: checking for windows.h" >&5
29800 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
29801 if test "${ac_cv_header_windows_h+set}" = set; then
29802 echo $ECHO_N "(cached) $ECHO_C" >&6
29803 else
29804 cat >conftest.$ac_ext <<_ACEOF
29805 /* confdefs.h. */
29806 _ACEOF
29807 cat confdefs.h >>conftest.$ac_ext
29808 cat >>conftest.$ac_ext <<_ACEOF
29809 /* end confdefs.h. */
29810
29811
29812 #include <windows.h>
29813 _ACEOF
29814 rm -f conftest.$ac_objext
29815 if { (ac_try="$ac_compile"
29816 case "(($ac_try" in
29817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29818 *) ac_try_echo=$ac_try;;
29819 esac
29820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29821 (eval "$ac_compile") 2>conftest.er1
29822 ac_status=$?
29823 grep -v '^ *+' conftest.er1 >conftest.err
29824 rm -f conftest.er1
29825 cat conftest.err >&5
29826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29827 (exit $ac_status); } && {
29828 test -z "$ac_c_werror_flag" ||
29829 test ! -s conftest.err
29830 } && test -s conftest.$ac_objext; then
29831 ac_cv_header_windows_h=yes
29832 else
29833 echo "$as_me: failed program was:" >&5
29834 sed 's/^/| /' conftest.$ac_ext >&5
29835
29836 ac_cv_header_windows_h=no
29837 fi
29838
29839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29840 fi
29841 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
29842 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
29843 if test $ac_cv_header_windows_h = yes; then
29844 :
29845 else
29846
29847 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
29848 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
29849 { (exit 1); exit 1; }; }
29850
29851 fi
29852
29853
29854
29855 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -ladvapi32 -lwsock32 -lgdi32"
29856 case "${host}" in
29857 x86_64-*-mingw32* )
29858 WINDRES_CPU_DEFINE="--define WX_CPU_AMD64"
29859 ;;
29860 esac
29861 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
29862 LIBS="$LIBS -loleacc"
29863 fi
29864
29865 case "${host}" in
29866 *-*-cygwin* )
29867 LIBS="$LIBS -lkernel32 -luser32"
29868 esac
29869
29870 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__ $WINDRES_CPU_DEFINE"
29871 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
29872
29873 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__ $WINDRES_CPU_DEFINE"
29874
29875 WIN32INSTALL=win32install
29876 fi
29877
29878 if test "$wxUSE_GUI" = "yes"; then
29879 USE_GUI=1
29880
29881 GUI_TK_LIBRARY=
29882
29883 WXGTK127=
29884 WXGTK2=
29885 WXGPE=
29886
29887 if test "$wxUSE_OLD_COCOA" = 1 ; then
29888 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
29889 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
29890 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
29891 wxUSE_PRINTING_ARCHITECTURE=no
29892 fi
29893 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
29894 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
29895 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
29896 wxUSE_DRAG_AND_DROP=no
29897 fi
29898 if test "$wxUSE_DRAGIMAGE" = "yes"; then
29899 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
29900 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
29901 wxUSE_DRAGIMAGE=no
29902 fi
29903 fi
29904
29905 if test "$wxUSE_MSW" = 1 ; then
29906 TOOLKIT=MSW
29907 GUIDIST=MSW_DIST
29908
29909 case "${host}" in
29910 *-*-mingw32* )
29911 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
29912 esac
29913 fi
29914
29915 if test "$wxUSE_GTK" = 1; then
29916 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
29917 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
29918
29919 gtk_version_cached=1
29920 if test "${wx_cv_lib_gtk+set}" = set; then
29921 echo $ECHO_N "(cached) $ECHO_C" >&6
29922 else
29923
29924 gtk_version_cached=0
29925 { echo "$as_me:$LINENO: result: " >&5
29926 echo "${ECHO_T}" >&6; }
29927
29928 GTK_MODULES=
29929 if test "$wxUSE_THREADS" = "yes"; then
29930 GTK_MODULES=gthread
29931 fi
29932
29933 wx_cv_lib_gtk=
29934 if test "x$wxGTK_VERSION" != "x1"
29935 then
29936 case "${host}" in
29937 *-*-solaris2* )
29938 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
29939 enable_gtktest=no
29940 fi
29941 esac
29942
29943 # Check whether --enable-gtktest was given.
29944 if test "${enable_gtktest+set}" = set; then
29945 enableval=$enable_gtktest;
29946 else
29947 enable_gtktest=yes
29948 fi
29949
29950
29951 pkg_config_args=gtk+-2.0
29952 for module in . $GTK_MODULES
29953 do
29954 case "$module" in
29955 gthread)
29956 pkg_config_args="$pkg_config_args gthread-2.0"
29957 ;;
29958 esac
29959 done
29960
29961 no_gtk=""
29962
29963 # Extract the first word of "pkg-config", so it can be a program name with args.
29964 set dummy pkg-config; ac_word=$2
29965 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29966 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29967 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29968 echo $ECHO_N "(cached) $ECHO_C" >&6
29969 else
29970 case $PKG_CONFIG in
29971 [\\/]* | ?:[\\/]*)
29972 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29973 ;;
29974 *)
29975 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29976 for as_dir in $PATH
29977 do
29978 IFS=$as_save_IFS
29979 test -z "$as_dir" && as_dir=.
29980 for ac_exec_ext in '' $ac_executable_extensions; do
29981 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29982 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29983 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29984 break 2
29985 fi
29986 done
29987 done
29988 IFS=$as_save_IFS
29989
29990 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
29991 ;;
29992 esac
29993 fi
29994 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29995 if test -n "$PKG_CONFIG"; then
29996 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29997 echo "${ECHO_T}$PKG_CONFIG" >&6; }
29998 else
29999 { echo "$as_me:$LINENO: result: no" >&5
30000 echo "${ECHO_T}no" >&6; }
30001 fi
30002
30003
30004
30005 if test x$PKG_CONFIG != xno ; then
30006 if pkg-config --atleast-pkgconfig-version 0.7 ; then
30007 :
30008 else
30009 echo "*** pkg-config too old; version 0.7 or better required."
30010 no_gtk=yes
30011 PKG_CONFIG=no
30012 fi
30013 else
30014 no_gtk=yes
30015 fi
30016
30017 min_gtk_version=2.4.0
30018 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
30019 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
30020
30021 if test x$PKG_CONFIG != xno ; then
30022 ## don't try to run the test against uninstalled libtool libs
30023 if $PKG_CONFIG --uninstalled $pkg_config_args; then
30024 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
30025 enable_gtktest=no
30026 fi
30027
30028 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
30029 :
30030 else
30031 no_gtk=yes
30032 fi
30033 fi
30034
30035 if test x"$no_gtk" = x ; then
30036 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
30037 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
30038 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30039 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30040 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30041 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30042 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30043 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30044 if test "x$enable_gtktest" = "xyes" ; then
30045 ac_save_CFLAGS="$CFLAGS"
30046 ac_save_LIBS="$LIBS"
30047 CFLAGS="$CFLAGS $GTK_CFLAGS"
30048 LIBS="$GTK_LIBS $LIBS"
30049 rm -f conf.gtktest
30050 if test "$cross_compiling" = yes; then
30051 echo $ac_n "cross compiling; assumed OK... $ac_c"
30052 else
30053 cat >conftest.$ac_ext <<_ACEOF
30054 /* confdefs.h. */
30055 _ACEOF
30056 cat confdefs.h >>conftest.$ac_ext
30057 cat >>conftest.$ac_ext <<_ACEOF
30058 /* end confdefs.h. */
30059
30060 #include <gtk/gtk.h>
30061 #include <stdio.h>
30062 #include <stdlib.h>
30063
30064 int
30065 main ()
30066 {
30067 int major, minor, micro;
30068 char *tmp_version;
30069
30070 system ("touch conf.gtktest");
30071
30072 /* HP/UX 9 (%@#!) writes to sscanf strings */
30073 tmp_version = g_strdup("$min_gtk_version");
30074 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
30075 printf("%s, bad version string\n", "$min_gtk_version");
30076 exit(1);
30077 }
30078
30079 if ((gtk_major_version != $gtk_config_major_version) ||
30080 (gtk_minor_version != $gtk_config_minor_version) ||
30081 (gtk_micro_version != $gtk_config_micro_version))
30082 {
30083 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30084 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30085 gtk_major_version, gtk_minor_version, gtk_micro_version);
30086 printf ("*** was found! If pkg-config was correct, then it is best\n");
30087 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30088 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30089 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30090 printf("*** required on your system.\n");
30091 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
30092 printf("*** to point to the correct configuration files\n");
30093 }
30094 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30095 (gtk_minor_version != GTK_MINOR_VERSION) ||
30096 (gtk_micro_version != GTK_MICRO_VERSION))
30097 {
30098 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30099 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30100 printf("*** library (version %d.%d.%d)\n",
30101 gtk_major_version, gtk_minor_version, gtk_micro_version);
30102 }
30103 else
30104 {
30105 if ((gtk_major_version > major) ||
30106 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30107 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30108 {
30109 return 0;
30110 }
30111 else
30112 {
30113 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30114 gtk_major_version, gtk_minor_version, gtk_micro_version);
30115 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30116 major, minor, micro);
30117 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30118 printf("***\n");
30119 printf("*** If you have already installed a sufficiently new version, this error\n");
30120 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
30121 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30122 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
30123 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
30124 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30125 printf("*** so that the correct libraries are found at run-time))\n");
30126 }
30127 }
30128 return 1;
30129 }
30130
30131 _ACEOF
30132 rm -f conftest$ac_exeext
30133 if { (ac_try="$ac_link"
30134 case "(($ac_try" in
30135 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30136 *) ac_try_echo=$ac_try;;
30137 esac
30138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30139 (eval "$ac_link") 2>&5
30140 ac_status=$?
30141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30142 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30143 { (case "(($ac_try" in
30144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30145 *) ac_try_echo=$ac_try;;
30146 esac
30147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30148 (eval "$ac_try") 2>&5
30149 ac_status=$?
30150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30151 (exit $ac_status); }; }; then
30152 :
30153 else
30154 echo "$as_me: program exited with status $ac_status" >&5
30155 echo "$as_me: failed program was:" >&5
30156 sed 's/^/| /' conftest.$ac_ext >&5
30157
30158 ( exit $ac_status )
30159 no_gtk=yes
30160 fi
30161 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30162 fi
30163
30164
30165 CFLAGS="$ac_save_CFLAGS"
30166 LIBS="$ac_save_LIBS"
30167 fi
30168 fi
30169 if test "x$no_gtk" = x ; then
30170 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
30171 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
30172 wx_cv_lib_gtk=2.0
30173 else
30174 { echo "$as_me:$LINENO: result: no" >&5
30175 echo "${ECHO_T}no" >&6; }
30176 if test "$PKG_CONFIG" = "no" ; then
30177 echo "*** A new enough version of pkg-config was not found."
30178 echo "*** See http://pkgconfig.sourceforge.net"
30179 else
30180 if test -f conf.gtktest ; then
30181 :
30182 else
30183 echo "*** Could not run GTK+ test program, checking why..."
30184 ac_save_CFLAGS="$CFLAGS"
30185 ac_save_LIBS="$LIBS"
30186 CFLAGS="$CFLAGS $GTK_CFLAGS"
30187 LIBS="$LIBS $GTK_LIBS"
30188 cat >conftest.$ac_ext <<_ACEOF
30189 /* confdefs.h. */
30190 _ACEOF
30191 cat confdefs.h >>conftest.$ac_ext
30192 cat >>conftest.$ac_ext <<_ACEOF
30193 /* end confdefs.h. */
30194
30195 #include <gtk/gtk.h>
30196 #include <stdio.h>
30197
30198 int
30199 main ()
30200 {
30201 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30202 ;
30203 return 0;
30204 }
30205 _ACEOF
30206 rm -f conftest.$ac_objext conftest$ac_exeext
30207 if { (ac_try="$ac_link"
30208 case "(($ac_try" in
30209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30210 *) ac_try_echo=$ac_try;;
30211 esac
30212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30213 (eval "$ac_link") 2>conftest.er1
30214 ac_status=$?
30215 grep -v '^ *+' conftest.er1 >conftest.err
30216 rm -f conftest.er1
30217 cat conftest.err >&5
30218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30219 (exit $ac_status); } && {
30220 test -z "$ac_c_werror_flag" ||
30221 test ! -s conftest.err
30222 } && test -s conftest$ac_exeext &&
30223 $as_test_x conftest$ac_exeext; then
30224 echo "*** The test program compiled, but did not run. This usually means"
30225 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
30226 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
30227 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30228 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30229 echo "*** is required on your system"
30230 echo "***"
30231 echo "*** If you have an old version installed, it is best to remove it, although"
30232 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30233 else
30234 echo "$as_me: failed program was:" >&5
30235 sed 's/^/| /' conftest.$ac_ext >&5
30236
30237 echo "*** The test program failed to compile or link. See the file config.log for the"
30238 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
30239 fi
30240
30241 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30242 conftest$ac_exeext conftest.$ac_ext
30243 CFLAGS="$ac_save_CFLAGS"
30244 LIBS="$ac_save_LIBS"
30245 fi
30246 fi
30247 GTK_CFLAGS=""
30248 GTK_LIBS=""
30249 :
30250 fi
30251
30252
30253 rm -f conf.gtktest
30254
30255 fi
30256
30257 if test -z "$wx_cv_lib_gtk"; then
30258 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
30259
30260 # Check whether --with-gtk-prefix was given.
30261 if test "${with_gtk_prefix+set}" = set; then
30262 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
30263 else
30264 gtk_config_prefix=""
30265 fi
30266
30267
30268 # Check whether --with-gtk-exec-prefix was given.
30269 if test "${with_gtk_exec_prefix+set}" = set; then
30270 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
30271 else
30272 gtk_config_exec_prefix=""
30273 fi
30274
30275 # Check whether --enable-gtktest was given.
30276 if test "${enable_gtktest+set}" = set; then
30277 enableval=$enable_gtktest;
30278 else
30279 enable_gtktest=yes
30280 fi
30281
30282
30283 for module in . $GTK_MODULES
30284 do
30285 case "$module" in
30286 gthread)
30287 gtk_config_args="$gtk_config_args gthread"
30288 ;;
30289 esac
30290 done
30291
30292 if test x$gtk_config_exec_prefix != x ; then
30293 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
30294 if test x${GTK_CONFIG+set} != xset ; then
30295 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
30296 fi
30297 fi
30298 if test x$gtk_config_prefix != x ; then
30299 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
30300 if test x${GTK_CONFIG+set} != xset ; then
30301 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
30302 fi
30303 fi
30304
30305 # Extract the first word of "gtk-config", so it can be a program name with args.
30306 set dummy gtk-config; ac_word=$2
30307 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30308 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30309 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
30310 echo $ECHO_N "(cached) $ECHO_C" >&6
30311 else
30312 case $GTK_CONFIG in
30313 [\\/]* | ?:[\\/]*)
30314 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
30315 ;;
30316 *)
30317 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30318 for as_dir in $PATH
30319 do
30320 IFS=$as_save_IFS
30321 test -z "$as_dir" && as_dir=.
30322 for ac_exec_ext in '' $ac_executable_extensions; do
30323 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30324 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30325 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30326 break 2
30327 fi
30328 done
30329 done
30330 IFS=$as_save_IFS
30331
30332 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
30333 ;;
30334 esac
30335 fi
30336 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
30337 if test -n "$GTK_CONFIG"; then
30338 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
30339 echo "${ECHO_T}$GTK_CONFIG" >&6; }
30340 else
30341 { echo "$as_me:$LINENO: result: no" >&5
30342 echo "${ECHO_T}no" >&6; }
30343 fi
30344
30345
30346 min_gtk_version=1.2.7
30347 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
30348 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
30349 no_gtk=""
30350 if test "$GTK_CONFIG" = "no" ; then
30351 no_gtk=yes
30352 else
30353 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
30354 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
30355 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
30356 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30357 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
30358 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30359 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
30360 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30361 if test "x$enable_gtktest" = "xyes" ; then
30362 ac_save_CFLAGS="$CFLAGS"
30363 ac_save_LIBS="$LIBS"
30364 CFLAGS="$CFLAGS $GTK_CFLAGS"
30365 LIBS="$GTK_LIBS $LIBS"
30366 rm -f conf.gtktest
30367 if test "$cross_compiling" = yes; then
30368 echo $ac_n "cross compiling; assumed OK... $ac_c"
30369 else
30370 cat >conftest.$ac_ext <<_ACEOF
30371 /* confdefs.h. */
30372 _ACEOF
30373 cat confdefs.h >>conftest.$ac_ext
30374 cat >>conftest.$ac_ext <<_ACEOF
30375 /* end confdefs.h. */
30376
30377 #include <gtk/gtk.h>
30378 #include <stdio.h>
30379 #include <stdlib.h>
30380
30381 int
30382 main ()
30383 {
30384 int major, minor, micro;
30385 char *tmp_version;
30386
30387 system ("touch conf.gtktest");
30388
30389 /* HP/UX 9 (%@#!) writes to sscanf strings */
30390 tmp_version = g_strdup("$min_gtk_version");
30391 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
30392 printf("%s, bad version string\n", "$min_gtk_version");
30393 exit(1);
30394 }
30395
30396 if ((gtk_major_version != $gtk_config_major_version) ||
30397 (gtk_minor_version != $gtk_config_minor_version) ||
30398 (gtk_micro_version != $gtk_config_micro_version))
30399 {
30400 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30401 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30402 gtk_major_version, gtk_minor_version, gtk_micro_version);
30403 printf ("*** was found! If gtk-config was correct, then it is best\n");
30404 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30405 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30406 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30407 printf("*** required on your system.\n");
30408 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
30409 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
30410 printf("*** before re-running configure\n");
30411 }
30412 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
30413 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30414 (gtk_minor_version != GTK_MINOR_VERSION) ||
30415 (gtk_micro_version != GTK_MICRO_VERSION))
30416 {
30417 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30418 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30419 printf("*** library (version %d.%d.%d)\n",
30420 gtk_major_version, gtk_minor_version, gtk_micro_version);
30421 }
30422 #endif /* defined (GTK_MAJOR_VERSION) ... */
30423 else
30424 {
30425 if ((gtk_major_version > major) ||
30426 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30427 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30428 {
30429 return 0;
30430 }
30431 else
30432 {
30433 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30434 gtk_major_version, gtk_minor_version, gtk_micro_version);
30435 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30436 major, minor, micro);
30437 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30438 printf("***\n");
30439 printf("*** If you have already installed a sufficiently new version, this error\n");
30440 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
30441 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30442 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
30443 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
30444 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30445 printf("*** so that the correct libraries are found at run-time))\n");
30446 }
30447 }
30448 return 1;
30449 }
30450
30451 _ACEOF
30452 rm -f conftest$ac_exeext
30453 if { (ac_try="$ac_link"
30454 case "(($ac_try" in
30455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30456 *) ac_try_echo=$ac_try;;
30457 esac
30458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30459 (eval "$ac_link") 2>&5
30460 ac_status=$?
30461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30462 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30463 { (case "(($ac_try" in
30464 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30465 *) ac_try_echo=$ac_try;;
30466 esac
30467 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30468 (eval "$ac_try") 2>&5
30469 ac_status=$?
30470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30471 (exit $ac_status); }; }; then
30472 :
30473 else
30474 echo "$as_me: program exited with status $ac_status" >&5
30475 echo "$as_me: failed program was:" >&5
30476 sed 's/^/| /' conftest.$ac_ext >&5
30477
30478 ( exit $ac_status )
30479 no_gtk=yes
30480 fi
30481 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30482 fi
30483
30484
30485 CFLAGS="$ac_save_CFLAGS"
30486 LIBS="$ac_save_LIBS"
30487 fi
30488 fi
30489 if test "x$no_gtk" = x ; then
30490 { echo "$as_me:$LINENO: result: yes" >&5
30491 echo "${ECHO_T}yes" >&6; }
30492 wx_cv_lib_gtk=1.2.7
30493 else
30494 { echo "$as_me:$LINENO: result: no" >&5
30495 echo "${ECHO_T}no" >&6; }
30496 if test "$GTK_CONFIG" = "no" ; then
30497 echo "*** The gtk-config script installed by GTK could not be found"
30498 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
30499 echo "*** your path, or set the GTK_CONFIG environment variable to the"
30500 echo "*** full path to gtk-config."
30501 else
30502 if test -f conf.gtktest ; then
30503 :
30504 else
30505 echo "*** Could not run GTK test program, checking why..."
30506 CFLAGS="$CFLAGS $GTK_CFLAGS"
30507 LIBS="$LIBS $GTK_LIBS"
30508 cat >conftest.$ac_ext <<_ACEOF
30509 /* confdefs.h. */
30510 _ACEOF
30511 cat confdefs.h >>conftest.$ac_ext
30512 cat >>conftest.$ac_ext <<_ACEOF
30513 /* end confdefs.h. */
30514
30515 #include <gtk/gtk.h>
30516 #include <stdio.h>
30517
30518 int
30519 main ()
30520 {
30521 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30522 ;
30523 return 0;
30524 }
30525 _ACEOF
30526 rm -f conftest.$ac_objext conftest$ac_exeext
30527 if { (ac_try="$ac_link"
30528 case "(($ac_try" in
30529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30530 *) ac_try_echo=$ac_try;;
30531 esac
30532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30533 (eval "$ac_link") 2>conftest.er1
30534 ac_status=$?
30535 grep -v '^ *+' conftest.er1 >conftest.err
30536 rm -f conftest.er1
30537 cat conftest.err >&5
30538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30539 (exit $ac_status); } && {
30540 test -z "$ac_c_werror_flag" ||
30541 test ! -s conftest.err
30542 } && test -s conftest$ac_exeext &&
30543 $as_test_x conftest$ac_exeext; then
30544 echo "*** The test program compiled, but did not run. This usually means"
30545 echo "*** that the run-time linker is not finding GTK or finding the wrong"
30546 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
30547 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30548 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30549 echo "*** is required on your system"
30550 echo "***"
30551 echo "*** If you have an old version installed, it is best to remove it, although"
30552 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30553 echo "***"
30554 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
30555 echo "*** came with the system with the command"
30556 echo "***"
30557 echo "*** rpm --erase --nodeps gtk gtk-devel"
30558 else
30559 echo "$as_me: failed program was:" >&5
30560 sed 's/^/| /' conftest.$ac_ext >&5
30561
30562 echo "*** The test program failed to compile or link. See the file config.log for the"
30563 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
30564 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
30565 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
30566 fi
30567
30568 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30569 conftest$ac_exeext conftest.$ac_ext
30570 CFLAGS="$ac_save_CFLAGS"
30571 LIBS="$ac_save_LIBS"
30572 fi
30573 fi
30574 GTK_CFLAGS=""
30575 GTK_LIBS=""
30576 :
30577 fi
30578
30579
30580 rm -f conf.gtktest
30581
30582
30583 if test -z "$wx_cv_lib_gtk"; then
30584
30585 # Check whether --with-gtk-prefix was given.
30586 if test "${with_gtk_prefix+set}" = set; then
30587 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
30588 else
30589 gtk_config_prefix=""
30590 fi
30591
30592
30593 # Check whether --with-gtk-exec-prefix was given.
30594 if test "${with_gtk_exec_prefix+set}" = set; then
30595 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
30596 else
30597 gtk_config_exec_prefix=""
30598 fi
30599
30600 # Check whether --enable-gtktest was given.
30601 if test "${enable_gtktest+set}" = set; then
30602 enableval=$enable_gtktest;
30603 else
30604 enable_gtktest=yes
30605 fi
30606
30607
30608 for module in . $GTK_MODULES
30609 do
30610 case "$module" in
30611 gthread)
30612 gtk_config_args="$gtk_config_args gthread"
30613 ;;
30614 esac
30615 done
30616
30617 if test x$gtk_config_exec_prefix != x ; then
30618 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
30619 if test x${GTK_CONFIG+set} != xset ; then
30620 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
30621 fi
30622 fi
30623 if test x$gtk_config_prefix != x ; then
30624 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
30625 if test x${GTK_CONFIG+set} != xset ; then
30626 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
30627 fi
30628 fi
30629
30630 # Extract the first word of "gtk-config", so it can be a program name with args.
30631 set dummy gtk-config; ac_word=$2
30632 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30633 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30634 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
30635 echo $ECHO_N "(cached) $ECHO_C" >&6
30636 else
30637 case $GTK_CONFIG in
30638 [\\/]* | ?:[\\/]*)
30639 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
30640 ;;
30641 *)
30642 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30643 for as_dir in $PATH
30644 do
30645 IFS=$as_save_IFS
30646 test -z "$as_dir" && as_dir=.
30647 for ac_exec_ext in '' $ac_executable_extensions; do
30648 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30649 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30650 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30651 break 2
30652 fi
30653 done
30654 done
30655 IFS=$as_save_IFS
30656
30657 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
30658 ;;
30659 esac
30660 fi
30661 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
30662 if test -n "$GTK_CONFIG"; then
30663 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
30664 echo "${ECHO_T}$GTK_CONFIG" >&6; }
30665 else
30666 { echo "$as_me:$LINENO: result: no" >&5
30667 echo "${ECHO_T}no" >&6; }
30668 fi
30669
30670
30671 min_gtk_version=1.2.3
30672 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
30673 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
30674 no_gtk=""
30675 if test "$GTK_CONFIG" = "no" ; then
30676 no_gtk=yes
30677 else
30678 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
30679 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
30680 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
30681 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30682 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
30683 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30684 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
30685 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30686 if test "x$enable_gtktest" = "xyes" ; then
30687 ac_save_CFLAGS="$CFLAGS"
30688 ac_save_LIBS="$LIBS"
30689 CFLAGS="$CFLAGS $GTK_CFLAGS"
30690 LIBS="$GTK_LIBS $LIBS"
30691 rm -f conf.gtktest
30692 if test "$cross_compiling" = yes; then
30693 echo $ac_n "cross compiling; assumed OK... $ac_c"
30694 else
30695 cat >conftest.$ac_ext <<_ACEOF
30696 /* confdefs.h. */
30697 _ACEOF
30698 cat confdefs.h >>conftest.$ac_ext
30699 cat >>conftest.$ac_ext <<_ACEOF
30700 /* end confdefs.h. */
30701
30702 #include <gtk/gtk.h>
30703 #include <stdio.h>
30704 #include <stdlib.h>
30705
30706 int
30707 main ()
30708 {
30709 int major, minor, micro;
30710 char *tmp_version;
30711
30712 system ("touch conf.gtktest");
30713
30714 /* HP/UX 9 (%@#!) writes to sscanf strings */
30715 tmp_version = g_strdup("$min_gtk_version");
30716 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
30717 printf("%s, bad version string\n", "$min_gtk_version");
30718 exit(1);
30719 }
30720
30721 if ((gtk_major_version != $gtk_config_major_version) ||
30722 (gtk_minor_version != $gtk_config_minor_version) ||
30723 (gtk_micro_version != $gtk_config_micro_version))
30724 {
30725 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30726 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30727 gtk_major_version, gtk_minor_version, gtk_micro_version);
30728 printf ("*** was found! If gtk-config was correct, then it is best\n");
30729 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30730 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30731 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30732 printf("*** required on your system.\n");
30733 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
30734 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
30735 printf("*** before re-running configure\n");
30736 }
30737 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
30738 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30739 (gtk_minor_version != GTK_MINOR_VERSION) ||
30740 (gtk_micro_version != GTK_MICRO_VERSION))
30741 {
30742 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30743 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30744 printf("*** library (version %d.%d.%d)\n",
30745 gtk_major_version, gtk_minor_version, gtk_micro_version);
30746 }
30747 #endif /* defined (GTK_MAJOR_VERSION) ... */
30748 else
30749 {
30750 if ((gtk_major_version > major) ||
30751 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30752 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30753 {
30754 return 0;
30755 }
30756 else
30757 {
30758 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30759 gtk_major_version, gtk_minor_version, gtk_micro_version);
30760 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30761 major, minor, micro);
30762 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30763 printf("***\n");
30764 printf("*** If you have already installed a sufficiently new version, this error\n");
30765 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
30766 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30767 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
30768 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
30769 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30770 printf("*** so that the correct libraries are found at run-time))\n");
30771 }
30772 }
30773 return 1;
30774 }
30775
30776 _ACEOF
30777 rm -f conftest$ac_exeext
30778 if { (ac_try="$ac_link"
30779 case "(($ac_try" in
30780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30781 *) ac_try_echo=$ac_try;;
30782 esac
30783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30784 (eval "$ac_link") 2>&5
30785 ac_status=$?
30786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30787 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30788 { (case "(($ac_try" in
30789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30790 *) ac_try_echo=$ac_try;;
30791 esac
30792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30793 (eval "$ac_try") 2>&5
30794 ac_status=$?
30795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30796 (exit $ac_status); }; }; then
30797 :
30798 else
30799 echo "$as_me: program exited with status $ac_status" >&5
30800 echo "$as_me: failed program was:" >&5
30801 sed 's/^/| /' conftest.$ac_ext >&5
30802
30803 ( exit $ac_status )
30804 no_gtk=yes
30805 fi
30806 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30807 fi
30808
30809
30810 CFLAGS="$ac_save_CFLAGS"
30811 LIBS="$ac_save_LIBS"
30812 fi
30813 fi
30814 if test "x$no_gtk" = x ; then
30815 { echo "$as_me:$LINENO: result: yes" >&5
30816 echo "${ECHO_T}yes" >&6; }
30817 wx_cv_lib_gtk=1.2.3
30818 else
30819 { echo "$as_me:$LINENO: result: no" >&5
30820 echo "${ECHO_T}no" >&6; }
30821 if test "$GTK_CONFIG" = "no" ; then
30822 echo "*** The gtk-config script installed by GTK could not be found"
30823 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
30824 echo "*** your path, or set the GTK_CONFIG environment variable to the"
30825 echo "*** full path to gtk-config."
30826 else
30827 if test -f conf.gtktest ; then
30828 :
30829 else
30830 echo "*** Could not run GTK test program, checking why..."
30831 CFLAGS="$CFLAGS $GTK_CFLAGS"
30832 LIBS="$LIBS $GTK_LIBS"
30833 cat >conftest.$ac_ext <<_ACEOF
30834 /* confdefs.h. */
30835 _ACEOF
30836 cat confdefs.h >>conftest.$ac_ext
30837 cat >>conftest.$ac_ext <<_ACEOF
30838 /* end confdefs.h. */
30839
30840 #include <gtk/gtk.h>
30841 #include <stdio.h>
30842
30843 int
30844 main ()
30845 {
30846 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30847 ;
30848 return 0;
30849 }
30850 _ACEOF
30851 rm -f conftest.$ac_objext conftest$ac_exeext
30852 if { (ac_try="$ac_link"
30853 case "(($ac_try" in
30854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30855 *) ac_try_echo=$ac_try;;
30856 esac
30857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30858 (eval "$ac_link") 2>conftest.er1
30859 ac_status=$?
30860 grep -v '^ *+' conftest.er1 >conftest.err
30861 rm -f conftest.er1
30862 cat conftest.err >&5
30863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30864 (exit $ac_status); } && {
30865 test -z "$ac_c_werror_flag" ||
30866 test ! -s conftest.err
30867 } && test -s conftest$ac_exeext &&
30868 $as_test_x conftest$ac_exeext; then
30869 echo "*** The test program compiled, but did not run. This usually means"
30870 echo "*** that the run-time linker is not finding GTK or finding the wrong"
30871 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
30872 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30873 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30874 echo "*** is required on your system"
30875 echo "***"
30876 echo "*** If you have an old version installed, it is best to remove it, although"
30877 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30878 echo "***"
30879 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
30880 echo "*** came with the system with the command"
30881 echo "***"
30882 echo "*** rpm --erase --nodeps gtk gtk-devel"
30883 else
30884 echo "$as_me: failed program was:" >&5
30885 sed 's/^/| /' conftest.$ac_ext >&5
30886
30887 echo "*** The test program failed to compile or link. See the file config.log for the"
30888 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
30889 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
30890 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
30891 fi
30892
30893 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30894 conftest$ac_exeext conftest.$ac_ext
30895 CFLAGS="$ac_save_CFLAGS"
30896 LIBS="$ac_save_LIBS"
30897 fi
30898 fi
30899 GTK_CFLAGS=""
30900 GTK_LIBS=""
30901 :
30902 fi
30903
30904
30905 rm -f conf.gtktest
30906
30907 fi
30908 fi
30909 fi
30910
30911 if test -z "$wx_cv_lib_gtk"; then
30912 wx_cv_lib_gtk=none
30913 else
30914 GTK_LIBS="$GTK_LIBS -lX11"
30915
30916 wx_cv_cflags_gtk=$GTK_CFLAGS
30917 wx_cv_libs_gtk=$GTK_LIBS
30918 fi
30919
30920
30921 fi
30922
30923
30924 if test "$gtk_version_cached" = 1; then
30925 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
30926 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
30927 fi
30928
30929 case "$wx_cv_lib_gtk" in
30930 2.0) WXGTK2=1
30931 TOOLKIT_VERSION=2
30932 ;;
30933 1.2.7) WXGTK127=1
30934 ;;
30935 1.2*) ;;
30936 *) { { echo "$as_me:$LINENO: error:
30937 The development files for GTK+ were not found. For GTK+ 2, please
30938 ensure that pkg-config is in the path and that gtk+-2.0.pc is
30939 installed. For GTK+ 1.2 please check that gtk-config is in the path,
30940 and that the version is 1.2.3 or above. Also check that the
30941 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
30942 --libs' are in the LD_LIBRARY_PATH or equivalent.
30943 " >&5
30944 echo "$as_me: error:
30945 The development files for GTK+ were not found. For GTK+ 2, please
30946 ensure that pkg-config is in the path and that gtk+-2.0.pc is
30947 installed. For GTK+ 1.2 please check that gtk-config is in the path,
30948 and that the version is 1.2.3 or above. Also check that the
30949 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
30950 --libs' are in the LD_LIBRARY_PATH or equivalent.
30951 " >&2;}
30952 { (exit 1); exit 1; }; }
30953 ;;
30954 esac
30955
30956 if test "$WXGTK2" = 1; then
30957 save_CFLAGS="$CFLAGS"
30958 save_LIBS="$LIBS"
30959 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
30960 LIBS="$LIBS $wx_cv_libs_gtk"
30961
30962 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.18" >&5
30963 echo $ECHO_N "checking if GTK+ is version >= 2.18... $ECHO_C" >&6; }
30964 cat >conftest.$ac_ext <<_ACEOF
30965 /* confdefs.h. */
30966 _ACEOF
30967 cat confdefs.h >>conftest.$ac_ext
30968 cat >>conftest.$ac_ext <<_ACEOF
30969 /* end confdefs.h. */
30970
30971 #include <gtk/gtk.h>
30972
30973 int
30974 main ()
30975 {
30976
30977 #if !GTK_CHECK_VERSION(2,18,0)
30978 Not GTK+ 2.18
30979 #endif
30980
30981 ;
30982 return 0;
30983 }
30984 _ACEOF
30985 rm -f conftest.$ac_objext
30986 if { (ac_try="$ac_compile"
30987 case "(($ac_try" in
30988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30989 *) ac_try_echo=$ac_try;;
30990 esac
30991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30992 (eval "$ac_compile") 2>conftest.er1
30993 ac_status=$?
30994 grep -v '^ *+' conftest.er1 >conftest.err
30995 rm -f conftest.er1
30996 cat conftest.err >&5
30997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30998 (exit $ac_status); } && {
30999 test -z "$ac_c_werror_flag" ||
31000 test ! -s conftest.err
31001 } && test -s conftest.$ac_objext; then
31002
31003 cat >>confdefs.h <<\_ACEOF
31004 #define __WXGTK218__ 1
31005 _ACEOF
31006
31007 cat >>confdefs.h <<\_ACEOF
31008 #define __WXGTK210__ 1
31009 _ACEOF
31010
31011 cat >>confdefs.h <<\_ACEOF
31012 #define __WXGTK26__ 1
31013 _ACEOF
31014
31015 { echo "$as_me:$LINENO: result: yes" >&5
31016 echo "${ECHO_T}yes" >&6; }
31017 ac_wxgtk218=1
31018
31019 else
31020 echo "$as_me: failed program was:" >&5
31021 sed 's/^/| /' conftest.$ac_ext >&5
31022
31023
31024 { echo "$as_me:$LINENO: result: no" >&5
31025 echo "${ECHO_T}no" >&6; }
31026 ac_wxgtk218=0
31027
31028 fi
31029
31030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31031
31032 if test "$ac_wxgtk218" = 0; then
31033 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
31034 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
31035 cat >conftest.$ac_ext <<_ACEOF
31036 /* confdefs.h. */
31037 _ACEOF
31038 cat confdefs.h >>conftest.$ac_ext
31039 cat >>conftest.$ac_ext <<_ACEOF
31040 /* end confdefs.h. */
31041
31042 #include <gtk/gtk.h>
31043
31044 int
31045 main ()
31046 {
31047
31048 #if !GTK_CHECK_VERSION(2,10,0)
31049 Not GTK+ 2.10
31050 #endif
31051
31052 ;
31053 return 0;
31054 }
31055 _ACEOF
31056 rm -f conftest.$ac_objext
31057 if { (ac_try="$ac_compile"
31058 case "(($ac_try" in
31059 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31060 *) ac_try_echo=$ac_try;;
31061 esac
31062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31063 (eval "$ac_compile") 2>conftest.er1
31064 ac_status=$?
31065 grep -v '^ *+' conftest.er1 >conftest.err
31066 rm -f conftest.er1
31067 cat conftest.err >&5
31068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31069 (exit $ac_status); } && {
31070 test -z "$ac_c_werror_flag" ||
31071 test ! -s conftest.err
31072 } && test -s conftest.$ac_objext; then
31073
31074 cat >>confdefs.h <<\_ACEOF
31075 #define __WXGTK210__ 1
31076 _ACEOF
31077
31078 cat >>confdefs.h <<\_ACEOF
31079 #define __WXGTK26__ 1
31080 _ACEOF
31081
31082 { echo "$as_me:$LINENO: result: yes" >&5
31083 echo "${ECHO_T}yes" >&6; }
31084 ac_wxgtk210=1
31085
31086 else
31087 echo "$as_me: failed program was:" >&5
31088 sed 's/^/| /' conftest.$ac_ext >&5
31089
31090
31091 { echo "$as_me:$LINENO: result: no" >&5
31092 echo "${ECHO_T}no" >&6; }
31093 ac_wxgtk210=0
31094
31095 fi
31096
31097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31098
31099 if test "$ac_wxgtk210" = 0; then
31100 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
31101 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
31102 cat >conftest.$ac_ext <<_ACEOF
31103 /* confdefs.h. */
31104 _ACEOF
31105 cat confdefs.h >>conftest.$ac_ext
31106 cat >>conftest.$ac_ext <<_ACEOF
31107 /* end confdefs.h. */
31108
31109 #include <gtk/gtk.h>
31110
31111 int
31112 main ()
31113 {
31114
31115 #if !GTK_CHECK_VERSION(2,6,0)
31116 Not GTK+ 2.6
31117 #endif
31118
31119 ;
31120 return 0;
31121 }
31122 _ACEOF
31123 rm -f conftest.$ac_objext
31124 if { (ac_try="$ac_compile"
31125 case "(($ac_try" in
31126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31127 *) ac_try_echo=$ac_try;;
31128 esac
31129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31130 (eval "$ac_compile") 2>conftest.er1
31131 ac_status=$?
31132 grep -v '^ *+' conftest.er1 >conftest.err
31133 rm -f conftest.er1
31134 cat conftest.err >&5
31135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31136 (exit $ac_status); } && {
31137 test -z "$ac_c_werror_flag" ||
31138 test ! -s conftest.err
31139 } && test -s conftest.$ac_objext; then
31140
31141 cat >>confdefs.h <<\_ACEOF
31142 #define __WXGTK26__ 1
31143 _ACEOF
31144
31145 { echo "$as_me:$LINENO: result: yes" >&5
31146 echo "${ECHO_T}yes" >&6; }
31147 ac_wxgtk26=1
31148
31149 else
31150 echo "$as_me: failed program was:" >&5
31151 sed 's/^/| /' conftest.$ac_ext >&5
31152
31153
31154 { echo "$as_me:$LINENO: result: no" >&5
31155 echo "${ECHO_T}no" >&6; }
31156 ac_wxgtk26=0
31157
31158 fi
31159
31160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31161 fi
31162 fi
31163
31164 CFLAGS="$save_CFLAGS"
31165 LIBS="$save_LIBS"
31166 else
31167 if test "$wxUSE_UNICODE" = "yes"; then
31168 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
31169 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
31170 wxUSE_UNICODE=no
31171 fi
31172
31173 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
31174 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
31175 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
31176 echo $ECHO_N "(cached) $ECHO_C" >&6
31177 else
31178 ac_check_lib_save_LIBS=$LIBS
31179 LIBS="-lgdk $LIBS"
31180 cat >conftest.$ac_ext <<_ACEOF
31181 /* confdefs.h. */
31182 _ACEOF
31183 cat confdefs.h >>conftest.$ac_ext
31184 cat >>conftest.$ac_ext <<_ACEOF
31185 /* end confdefs.h. */
31186
31187 /* Override any GCC internal prototype to avoid an error.
31188 Use char because int might match the return type of a GCC
31189 builtin and then its argument prototype would still apply. */
31190 #ifdef __cplusplus
31191 extern "C"
31192 #endif
31193 char gdk_im_open ();
31194 int
31195 main ()
31196 {
31197 return gdk_im_open ();
31198 ;
31199 return 0;
31200 }
31201 _ACEOF
31202 rm -f conftest.$ac_objext conftest$ac_exeext
31203 if { (ac_try="$ac_link"
31204 case "(($ac_try" in
31205 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31206 *) ac_try_echo=$ac_try;;
31207 esac
31208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31209 (eval "$ac_link") 2>conftest.er1
31210 ac_status=$?
31211 grep -v '^ *+' conftest.er1 >conftest.err
31212 rm -f conftest.er1
31213 cat conftest.err >&5
31214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31215 (exit $ac_status); } && {
31216 test -z "$ac_c_werror_flag" ||
31217 test ! -s conftest.err
31218 } && test -s conftest$ac_exeext &&
31219 $as_test_x conftest$ac_exeext; then
31220 ac_cv_lib_gdk_gdk_im_open=yes
31221 else
31222 echo "$as_me: failed program was:" >&5
31223 sed 's/^/| /' conftest.$ac_ext >&5
31224
31225 ac_cv_lib_gdk_gdk_im_open=no
31226 fi
31227
31228 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31229 conftest$ac_exeext conftest.$ac_ext
31230 LIBS=$ac_check_lib_save_LIBS
31231 fi
31232 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
31233 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
31234 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
31235 cat >>confdefs.h <<\_ACEOF
31236 #define HAVE_XIM 1
31237 _ACEOF
31238
31239 fi
31240
31241
31242 if test "$USE_DARWIN" != 1; then
31243
31244 for ac_func in poll
31245 do
31246 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31247 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31248 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31249 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31250 echo $ECHO_N "(cached) $ECHO_C" >&6
31251 else
31252 cat >conftest.$ac_ext <<_ACEOF
31253 /* confdefs.h. */
31254 _ACEOF
31255 cat confdefs.h >>conftest.$ac_ext
31256 cat >>conftest.$ac_ext <<_ACEOF
31257 /* end confdefs.h. */
31258 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31259 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31260 #define $ac_func innocuous_$ac_func
31261
31262 /* System header to define __stub macros and hopefully few prototypes,
31263 which can conflict with char $ac_func (); below.
31264 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31265 <limits.h> exists even on freestanding compilers. */
31266
31267 #ifdef __STDC__
31268 # include <limits.h>
31269 #else
31270 # include <assert.h>
31271 #endif
31272
31273 #undef $ac_func
31274
31275 /* Override any GCC internal prototype to avoid an error.
31276 Use char because int might match the return type of a GCC
31277 builtin and then its argument prototype would still apply. */
31278 #ifdef __cplusplus
31279 extern "C"
31280 #endif
31281 char $ac_func ();
31282 /* The GNU C library defines this for functions which it implements
31283 to always fail with ENOSYS. Some functions are actually named
31284 something starting with __ and the normal name is an alias. */
31285 #if defined __stub_$ac_func || defined __stub___$ac_func
31286 choke me
31287 #endif
31288
31289 int
31290 main ()
31291 {
31292 return $ac_func ();
31293 ;
31294 return 0;
31295 }
31296 _ACEOF
31297 rm -f conftest.$ac_objext conftest$ac_exeext
31298 if { (ac_try="$ac_link"
31299 case "(($ac_try" in
31300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31301 *) ac_try_echo=$ac_try;;
31302 esac
31303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31304 (eval "$ac_link") 2>conftest.er1
31305 ac_status=$?
31306 grep -v '^ *+' conftest.er1 >conftest.err
31307 rm -f conftest.er1
31308 cat conftest.err >&5
31309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31310 (exit $ac_status); } && {
31311 test -z "$ac_c_werror_flag" ||
31312 test ! -s conftest.err
31313 } && test -s conftest$ac_exeext &&
31314 $as_test_x conftest$ac_exeext; then
31315 eval "$as_ac_var=yes"
31316 else
31317 echo "$as_me: failed program was:" >&5
31318 sed 's/^/| /' conftest.$ac_ext >&5
31319
31320 eval "$as_ac_var=no"
31321 fi
31322
31323 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31324 conftest$ac_exeext conftest.$ac_ext
31325 fi
31326 ac_res=`eval echo '${'$as_ac_var'}'`
31327 { echo "$as_me:$LINENO: result: $ac_res" >&5
31328 echo "${ECHO_T}$ac_res" >&6; }
31329 if test `eval echo '${'$as_ac_var'}'` = yes; then
31330 cat >>confdefs.h <<_ACEOF
31331 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31332 _ACEOF
31333
31334 fi
31335 done
31336
31337 fi
31338 fi
31339
31340 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
31341 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
31342 AFMINSTALL=afminstall
31343 TOOLKIT=GTK
31344 GUIDIST=GTK_DIST
31345
31346 if test "$wxUSE_GPE" = "yes"; then
31347 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
31348 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
31349
31350 ac_find_libraries=
31351 for ac_dir in $SEARCH_LIB
31352 do
31353 for ac_extension in a so sl dylib dll.a; do
31354 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
31355 ac_find_libraries=$ac_dir
31356 break 2
31357 fi
31358 done
31359 done
31360
31361 if test "$ac_find_libraries" != "" ; then
31362
31363 if test "$ac_find_libraries" = "default location"; then
31364 ac_path_to_link=""
31365 else
31366 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31367 result=$?
31368 if test $result = 0; then
31369 ac_path_to_link=""
31370 else
31371 ac_path_to_link=" -L$ac_find_libraries"
31372 fi
31373 fi
31374
31375 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
31376 WXGPE=1
31377 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31378 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31379 else
31380 { echo "$as_me:$LINENO: result: not found" >&5
31381 echo "${ECHO_T}not found" >&6; }
31382 fi
31383
31384 fi
31385 fi
31386
31387 if test "$wxUSE_DFB" = 1; then
31388
31389
31390 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31391 if test -n "$ac_tool_prefix"; then
31392 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31393 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
31394 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31395 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31396 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31397 echo $ECHO_N "(cached) $ECHO_C" >&6
31398 else
31399 case $PKG_CONFIG in
31400 [\\/]* | ?:[\\/]*)
31401 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
31402 ;;
31403 *)
31404 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31405 for as_dir in $PATH
31406 do
31407 IFS=$as_save_IFS
31408 test -z "$as_dir" && as_dir=.
31409 for ac_exec_ext in '' $ac_executable_extensions; do
31410 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31411 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31412 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31413 break 2
31414 fi
31415 done
31416 done
31417 IFS=$as_save_IFS
31418
31419 ;;
31420 esac
31421 fi
31422 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
31423 if test -n "$PKG_CONFIG"; then
31424 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31425 echo "${ECHO_T}$PKG_CONFIG" >&6; }
31426 else
31427 { echo "$as_me:$LINENO: result: no" >&5
31428 echo "${ECHO_T}no" >&6; }
31429 fi
31430
31431
31432 fi
31433 if test -z "$ac_cv_path_PKG_CONFIG"; then
31434 ac_pt_PKG_CONFIG=$PKG_CONFIG
31435 # Extract the first word of "pkg-config", so it can be a program name with args.
31436 set dummy pkg-config; ac_word=$2
31437 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31438 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31439 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31440 echo $ECHO_N "(cached) $ECHO_C" >&6
31441 else
31442 case $ac_pt_PKG_CONFIG in
31443 [\\/]* | ?:[\\/]*)
31444 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31445 ;;
31446 *)
31447 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31448 for as_dir in $PATH
31449 do
31450 IFS=$as_save_IFS
31451 test -z "$as_dir" && as_dir=.
31452 for ac_exec_ext in '' $ac_executable_extensions; do
31453 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31454 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31455 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31456 break 2
31457 fi
31458 done
31459 done
31460 IFS=$as_save_IFS
31461
31462 ;;
31463 esac
31464 fi
31465 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
31466 if test -n "$ac_pt_PKG_CONFIG"; then
31467 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31468 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
31469 else
31470 { echo "$as_me:$LINENO: result: no" >&5
31471 echo "${ECHO_T}no" >&6; }
31472 fi
31473
31474 if test "x$ac_pt_PKG_CONFIG" = x; then
31475 PKG_CONFIG=""
31476 else
31477 case $cross_compiling:$ac_tool_warned in
31478 yes:)
31479 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
31480 whose name does not start with the host triplet. If you think this
31481 configuration is useful to you, please write to autoconf@gnu.org." >&5
31482 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
31483 whose name does not start with the host triplet. If you think this
31484 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
31485 ac_tool_warned=yes ;;
31486 esac
31487 PKG_CONFIG=$ac_pt_PKG_CONFIG
31488 fi
31489 else
31490 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
31491 fi
31492
31493 fi
31494 if test -n "$PKG_CONFIG"; then
31495 _pkg_min_version=0.9.0
31496 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31497 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
31498 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31499 { echo "$as_me:$LINENO: result: yes" >&5
31500 echo "${ECHO_T}yes" >&6; }
31501 else
31502 { echo "$as_me:$LINENO: result: no" >&5
31503 echo "${ECHO_T}no" >&6; }
31504 PKG_CONFIG=""
31505 fi
31506
31507 fi
31508
31509
31510 pkg_failed=no
31511 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
31512 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
31513
31514 if test -n "$PKG_CONFIG"; then
31515 if test -n "$DIRECTFB_CFLAGS"; then
31516 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
31517 else
31518 if test -n "$PKG_CONFIG" && \
31519 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
31520 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
31521 ac_status=$?
31522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31523 (exit $ac_status); }; then
31524 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
31525 else
31526 pkg_failed=yes
31527 fi
31528 fi
31529 else
31530 pkg_failed=untried
31531 fi
31532 if test -n "$PKG_CONFIG"; then
31533 if test -n "$DIRECTFB_LIBS"; then
31534 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
31535 else
31536 if test -n "$PKG_CONFIG" && \
31537 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
31538 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
31539 ac_status=$?
31540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31541 (exit $ac_status); }; then
31542 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
31543 else
31544 pkg_failed=yes
31545 fi
31546 fi
31547 else
31548 pkg_failed=untried
31549 fi
31550
31551
31552
31553 if test $pkg_failed = yes; then
31554
31555 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31556 _pkg_short_errors_supported=yes
31557 else
31558 _pkg_short_errors_supported=no
31559 fi
31560 if test $_pkg_short_errors_supported = yes; then
31561 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
31562 else
31563 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
31564 fi
31565 # Put the nasty error message in config.log where it belongs
31566 echo "$DIRECTFB_PKG_ERRORS" >&5
31567
31568
31569 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
31570 echo "$as_me: error: DirectFB not found." >&2;}
31571 { (exit 1); exit 1; }; }
31572
31573
31574 elif test $pkg_failed = untried; then
31575
31576 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
31577 echo "$as_me: error: DirectFB not found." >&2;}
31578 { (exit 1); exit 1; }; }
31579
31580
31581 else
31582 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
31583 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
31584 { echo "$as_me:$LINENO: result: yes" >&5
31585 echo "${ECHO_T}yes" >&6; }
31586
31587 wxUSE_UNIVERSAL="yes"
31588 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
31589 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
31590 TOOLKIT=DFB
31591 GUIDIST=DFB_DIST
31592
31593 fi
31594 fi
31595
31596 if test "$wxUSE_MICROWIN" = 1; then
31597 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
31598 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
31599 if test "x$MICROWINDOWS" = x ; then
31600 { echo "$as_me:$LINENO: result: not found" >&5
31601 echo "${ECHO_T}not found" >&6; }
31602 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
31603 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
31604 { (exit 1); exit 1; }; }
31605 else
31606 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
31607 echo "${ECHO_T}$MICROWINDOWS" >&6; }
31608 fi
31609
31610 if test -f $MICROWINDOWS/lib/libmwin.a; then
31611 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
31612 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
31613 else
31614 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
31615 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
31616 { (exit 1); exit 1; }; }
31617 fi
31618
31619 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
31620 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
31621
31622 wxUSE_UNIVERSAL="yes"
31623
31624 AFMINSTALL=afminstall
31625 TOOLKIT=MICROWIN
31626 GUIDIST=MICROWIN_DIST
31627
31628 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
31629 fi
31630
31631 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31632 { echo "$as_me:$LINENO: checking for X" >&5
31633 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
31634
31635
31636 # Check whether --with-x was given.
31637 if test "${with_x+set}" = set; then
31638 withval=$with_x;
31639 fi
31640
31641 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
31642 if test "x$with_x" = xno; then
31643 # The user explicitly disabled X.
31644 have_x=disabled
31645 else
31646 case $x_includes,$x_libraries in #(
31647 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
31648 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
31649 { (exit 1); exit 1; }; };; #(
31650 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
31651 echo $ECHO_N "(cached) $ECHO_C" >&6
31652 else
31653 # One or both of the vars are not set, and there is no cached value.
31654 ac_x_includes=no ac_x_libraries=no
31655 rm -f -r conftest.dir
31656 if mkdir conftest.dir; then
31657 cd conftest.dir
31658 cat >Imakefile <<'_ACEOF'
31659 incroot:
31660 @echo incroot='${INCROOT}'
31661 usrlibdir:
31662 @echo usrlibdir='${USRLIBDIR}'
31663 libdir:
31664 @echo libdir='${LIBDIR}'
31665 _ACEOF
31666 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
31667 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
31668 for ac_var in incroot usrlibdir libdir; do
31669 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
31670 done
31671 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
31672 for ac_extension in a so sl; do
31673 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
31674 test -f "$ac_im_libdir/libX11.$ac_extension"; then
31675 ac_im_usrlibdir=$ac_im_libdir; break
31676 fi
31677 done
31678 # Screen out bogus values from the imake configuration. They are
31679 # bogus both because they are the default anyway, and because
31680 # using them would break gcc on systems where it needs fixed includes.
31681 case $ac_im_incroot in
31682 /usr/include) ac_x_includes= ;;
31683 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
31684 esac
31685 case $ac_im_usrlibdir in
31686 /usr/lib | /lib) ;;
31687 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
31688 esac
31689 fi
31690 cd ..
31691 rm -f -r conftest.dir
31692 fi
31693
31694 # Standard set of common directories for X headers.
31695 # Check X11 before X11Rn because it is often a symlink to the current release.
31696 ac_x_header_dirs='
31697 /usr/X11/include
31698 /usr/X11R6/include
31699 /usr/X11R5/include
31700 /usr/X11R4/include
31701
31702 /usr/include/X11
31703 /usr/include/X11R6
31704 /usr/include/X11R5
31705 /usr/include/X11R4
31706
31707 /usr/local/X11/include
31708 /usr/local/X11R6/include
31709 /usr/local/X11R5/include
31710 /usr/local/X11R4/include
31711
31712 /usr/local/include/X11
31713 /usr/local/include/X11R6
31714 /usr/local/include/X11R5
31715 /usr/local/include/X11R4
31716
31717 /usr/X386/include
31718 /usr/x386/include
31719 /usr/XFree86/include/X11
31720
31721 /usr/include
31722 /usr/local/include
31723 /usr/unsupported/include
31724 /usr/athena/include
31725 /usr/local/x11r5/include
31726 /usr/lpp/Xamples/include
31727
31728 /usr/openwin/include
31729 /usr/openwin/share/include'
31730
31731 if test "$ac_x_includes" = no; then
31732 # Guess where to find include files, by looking for Xlib.h.
31733 # First, try using that file with no special directory specified.
31734 cat >conftest.$ac_ext <<_ACEOF
31735 /* confdefs.h. */
31736 _ACEOF
31737 cat confdefs.h >>conftest.$ac_ext
31738 cat >>conftest.$ac_ext <<_ACEOF
31739 /* end confdefs.h. */
31740 #include <X11/Xlib.h>
31741 _ACEOF
31742 if { (ac_try="$ac_cpp conftest.$ac_ext"
31743 case "(($ac_try" in
31744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31745 *) ac_try_echo=$ac_try;;
31746 esac
31747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31748 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
31749 ac_status=$?
31750 grep -v '^ *+' conftest.er1 >conftest.err
31751 rm -f conftest.er1
31752 cat conftest.err >&5
31753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31754 (exit $ac_status); } >/dev/null && {
31755 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
31756 test ! -s conftest.err
31757 }; then
31758 # We can compile using X headers with no special include directory.
31759 ac_x_includes=
31760 else
31761 echo "$as_me: failed program was:" >&5
31762 sed 's/^/| /' conftest.$ac_ext >&5
31763
31764 for ac_dir in $ac_x_header_dirs; do
31765 if test -r "$ac_dir/X11/Xlib.h"; then
31766 ac_x_includes=$ac_dir
31767 break
31768 fi
31769 done
31770 fi
31771
31772 rm -f conftest.err conftest.$ac_ext
31773 fi # $ac_x_includes = no
31774
31775 if test "$ac_x_libraries" = no; then
31776 # Check for the libraries.
31777 # See if we find them without any special options.
31778 # Don't add to $LIBS permanently.
31779 ac_save_LIBS=$LIBS
31780 LIBS="-lX11 $LIBS"
31781 cat >conftest.$ac_ext <<_ACEOF
31782 /* confdefs.h. */
31783 _ACEOF
31784 cat confdefs.h >>conftest.$ac_ext
31785 cat >>conftest.$ac_ext <<_ACEOF
31786 /* end confdefs.h. */
31787 #include <X11/Xlib.h>
31788 int
31789 main ()
31790 {
31791 XrmInitialize ()
31792 ;
31793 return 0;
31794 }
31795 _ACEOF
31796 rm -f conftest.$ac_objext conftest$ac_exeext
31797 if { (ac_try="$ac_link"
31798 case "(($ac_try" in
31799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31800 *) ac_try_echo=$ac_try;;
31801 esac
31802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31803 (eval "$ac_link") 2>conftest.er1
31804 ac_status=$?
31805 grep -v '^ *+' conftest.er1 >conftest.err
31806 rm -f conftest.er1
31807 cat conftest.err >&5
31808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31809 (exit $ac_status); } && {
31810 test -z "$ac_c_werror_flag" ||
31811 test ! -s conftest.err
31812 } && test -s conftest$ac_exeext &&
31813 $as_test_x conftest$ac_exeext; then
31814 LIBS=$ac_save_LIBS
31815 # We can link X programs with no special library path.
31816 ac_x_libraries=
31817 else
31818 echo "$as_me: failed program was:" >&5
31819 sed 's/^/| /' conftest.$ac_ext >&5
31820
31821 LIBS=$ac_save_LIBS
31822 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
31823 do
31824 # Don't even attempt the hair of trying to link an X program!
31825 for ac_extension in a so sl; do
31826 if test -r "$ac_dir/libX11.$ac_extension"; then
31827 ac_x_libraries=$ac_dir
31828 break 2
31829 fi
31830 done
31831 done
31832 fi
31833
31834 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31835 conftest$ac_exeext conftest.$ac_ext
31836 fi # $ac_x_libraries = no
31837
31838 case $ac_x_includes,$ac_x_libraries in #(
31839 no,* | *,no | *\'*)
31840 # Didn't find X, or a directory has "'" in its name.
31841 ac_cv_have_x="have_x=no";; #(
31842 *)
31843 # Record where we found X for the cache.
31844 ac_cv_have_x="have_x=yes\
31845 ac_x_includes='$ac_x_includes'\
31846 ac_x_libraries='$ac_x_libraries'"
31847 esac
31848 fi
31849 ;; #(
31850 *) have_x=yes;;
31851 esac
31852 eval "$ac_cv_have_x"
31853 fi # $with_x != no
31854
31855 if test "$have_x" != yes; then
31856 { echo "$as_me:$LINENO: result: $have_x" >&5
31857 echo "${ECHO_T}$have_x" >&6; }
31858 no_x=yes
31859 else
31860 # If each of the values was on the command line, it overrides each guess.
31861 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
31862 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
31863 # Update the cache value to reflect the command line values.
31864 ac_cv_have_x="have_x=yes\
31865 ac_x_includes='$x_includes'\
31866 ac_x_libraries='$x_libraries'"
31867 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
31868 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
31869 fi
31870
31871 if test "$no_x" = yes; then
31872 # Not all programs may use this symbol, but it does not hurt to define it.
31873
31874 cat >>confdefs.h <<\_ACEOF
31875 #define X_DISPLAY_MISSING 1
31876 _ACEOF
31877
31878 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
31879 else
31880 if test -n "$x_includes"; then
31881 X_CFLAGS="$X_CFLAGS -I$x_includes"
31882 fi
31883
31884 # It would also be nice to do this for all -L options, not just this one.
31885 if test -n "$x_libraries"; then
31886 X_LIBS="$X_LIBS -L$x_libraries"
31887 # For Solaris; some versions of Sun CC require a space after -R and
31888 # others require no space. Words are not sufficient . . . .
31889 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
31890 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
31891 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
31892 ac_xsave_c_werror_flag=$ac_c_werror_flag
31893 ac_c_werror_flag=yes
31894 cat >conftest.$ac_ext <<_ACEOF
31895 /* confdefs.h. */
31896 _ACEOF
31897 cat confdefs.h >>conftest.$ac_ext
31898 cat >>conftest.$ac_ext <<_ACEOF
31899 /* end confdefs.h. */
31900
31901 int
31902 main ()
31903 {
31904
31905 ;
31906 return 0;
31907 }
31908 _ACEOF
31909 rm -f conftest.$ac_objext conftest$ac_exeext
31910 if { (ac_try="$ac_link"
31911 case "(($ac_try" in
31912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31913 *) ac_try_echo=$ac_try;;
31914 esac
31915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31916 (eval "$ac_link") 2>conftest.er1
31917 ac_status=$?
31918 grep -v '^ *+' conftest.er1 >conftest.err
31919 rm -f conftest.er1
31920 cat conftest.err >&5
31921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31922 (exit $ac_status); } && {
31923 test -z "$ac_c_werror_flag" ||
31924 test ! -s conftest.err
31925 } && test -s conftest$ac_exeext &&
31926 $as_test_x conftest$ac_exeext; then
31927 { echo "$as_me:$LINENO: result: no" >&5
31928 echo "${ECHO_T}no" >&6; }
31929 X_LIBS="$X_LIBS -R$x_libraries"
31930 else
31931 echo "$as_me: failed program was:" >&5
31932 sed 's/^/| /' conftest.$ac_ext >&5
31933
31934 LIBS="$ac_xsave_LIBS -R $x_libraries"
31935 cat >conftest.$ac_ext <<_ACEOF
31936 /* confdefs.h. */
31937 _ACEOF
31938 cat confdefs.h >>conftest.$ac_ext
31939 cat >>conftest.$ac_ext <<_ACEOF
31940 /* end confdefs.h. */
31941
31942 int
31943 main ()
31944 {
31945
31946 ;
31947 return 0;
31948 }
31949 _ACEOF
31950 rm -f conftest.$ac_objext conftest$ac_exeext
31951 if { (ac_try="$ac_link"
31952 case "(($ac_try" in
31953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31954 *) ac_try_echo=$ac_try;;
31955 esac
31956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31957 (eval "$ac_link") 2>conftest.er1
31958 ac_status=$?
31959 grep -v '^ *+' conftest.er1 >conftest.err
31960 rm -f conftest.er1
31961 cat conftest.err >&5
31962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31963 (exit $ac_status); } && {
31964 test -z "$ac_c_werror_flag" ||
31965 test ! -s conftest.err
31966 } && test -s conftest$ac_exeext &&
31967 $as_test_x conftest$ac_exeext; then
31968 { echo "$as_me:$LINENO: result: yes" >&5
31969 echo "${ECHO_T}yes" >&6; }
31970 X_LIBS="$X_LIBS -R $x_libraries"
31971 else
31972 echo "$as_me: failed program was:" >&5
31973 sed 's/^/| /' conftest.$ac_ext >&5
31974
31975 { echo "$as_me:$LINENO: result: neither works" >&5
31976 echo "${ECHO_T}neither works" >&6; }
31977 fi
31978
31979 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31980 conftest$ac_exeext conftest.$ac_ext
31981 fi
31982
31983 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31984 conftest$ac_exeext conftest.$ac_ext
31985 ac_c_werror_flag=$ac_xsave_c_werror_flag
31986 LIBS=$ac_xsave_LIBS
31987 fi
31988
31989 # Check for system-dependent libraries X programs must link with.
31990 # Do this before checking for the system-independent R6 libraries
31991 # (-lICE), since we may need -lsocket or whatever for X linking.
31992
31993 if test "$ISC" = yes; then
31994 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
31995 else
31996 # Martyn Johnson says this is needed for Ultrix, if the X
31997 # libraries were built with DECnet support. And Karl Berry says
31998 # the Alpha needs dnet_stub (dnet does not exist).
31999 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
32000 cat >conftest.$ac_ext <<_ACEOF
32001 /* confdefs.h. */
32002 _ACEOF
32003 cat confdefs.h >>conftest.$ac_ext
32004 cat >>conftest.$ac_ext <<_ACEOF
32005 /* end confdefs.h. */
32006
32007 /* Override any GCC internal prototype to avoid an error.
32008 Use char because int might match the return type of a GCC
32009 builtin and then its argument prototype would still apply. */
32010 #ifdef __cplusplus
32011 extern "C"
32012 #endif
32013 char XOpenDisplay ();
32014 int
32015 main ()
32016 {
32017 return XOpenDisplay ();
32018 ;
32019 return 0;
32020 }
32021 _ACEOF
32022 rm -f conftest.$ac_objext conftest$ac_exeext
32023 if { (ac_try="$ac_link"
32024 case "(($ac_try" in
32025 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32026 *) ac_try_echo=$ac_try;;
32027 esac
32028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32029 (eval "$ac_link") 2>conftest.er1
32030 ac_status=$?
32031 grep -v '^ *+' conftest.er1 >conftest.err
32032 rm -f conftest.er1
32033 cat conftest.err >&5
32034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32035 (exit $ac_status); } && {
32036 test -z "$ac_c_werror_flag" ||
32037 test ! -s conftest.err
32038 } && test -s conftest$ac_exeext &&
32039 $as_test_x conftest$ac_exeext; then
32040 :
32041 else
32042 echo "$as_me: failed program was:" >&5
32043 sed 's/^/| /' conftest.$ac_ext >&5
32044
32045 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
32046 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
32047 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
32048 echo $ECHO_N "(cached) $ECHO_C" >&6
32049 else
32050 ac_check_lib_save_LIBS=$LIBS
32051 LIBS="-ldnet $LIBS"
32052 cat >conftest.$ac_ext <<_ACEOF
32053 /* confdefs.h. */
32054 _ACEOF
32055 cat confdefs.h >>conftest.$ac_ext
32056 cat >>conftest.$ac_ext <<_ACEOF
32057 /* end confdefs.h. */
32058
32059 /* Override any GCC internal prototype to avoid an error.
32060 Use char because int might match the return type of a GCC
32061 builtin and then its argument prototype would still apply. */
32062 #ifdef __cplusplus
32063 extern "C"
32064 #endif
32065 char dnet_ntoa ();
32066 int
32067 main ()
32068 {
32069 return dnet_ntoa ();
32070 ;
32071 return 0;
32072 }
32073 _ACEOF
32074 rm -f conftest.$ac_objext conftest$ac_exeext
32075 if { (ac_try="$ac_link"
32076 case "(($ac_try" in
32077 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32078 *) ac_try_echo=$ac_try;;
32079 esac
32080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32081 (eval "$ac_link") 2>conftest.er1
32082 ac_status=$?
32083 grep -v '^ *+' conftest.er1 >conftest.err
32084 rm -f conftest.er1
32085 cat conftest.err >&5
32086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32087 (exit $ac_status); } && {
32088 test -z "$ac_c_werror_flag" ||
32089 test ! -s conftest.err
32090 } && test -s conftest$ac_exeext &&
32091 $as_test_x conftest$ac_exeext; then
32092 ac_cv_lib_dnet_dnet_ntoa=yes
32093 else
32094 echo "$as_me: failed program was:" >&5
32095 sed 's/^/| /' conftest.$ac_ext >&5
32096
32097 ac_cv_lib_dnet_dnet_ntoa=no
32098 fi
32099
32100 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32101 conftest$ac_exeext conftest.$ac_ext
32102 LIBS=$ac_check_lib_save_LIBS
32103 fi
32104 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
32105 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
32106 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
32107 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
32108 fi
32109
32110 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
32111 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
32112 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
32113 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
32114 echo $ECHO_N "(cached) $ECHO_C" >&6
32115 else
32116 ac_check_lib_save_LIBS=$LIBS
32117 LIBS="-ldnet_stub $LIBS"
32118 cat >conftest.$ac_ext <<_ACEOF
32119 /* confdefs.h. */
32120 _ACEOF
32121 cat confdefs.h >>conftest.$ac_ext
32122 cat >>conftest.$ac_ext <<_ACEOF
32123 /* end confdefs.h. */
32124
32125 /* Override any GCC internal prototype to avoid an error.
32126 Use char because int might match the return type of a GCC
32127 builtin and then its argument prototype would still apply. */
32128 #ifdef __cplusplus
32129 extern "C"
32130 #endif
32131 char dnet_ntoa ();
32132 int
32133 main ()
32134 {
32135 return dnet_ntoa ();
32136 ;
32137 return 0;
32138 }
32139 _ACEOF
32140 rm -f conftest.$ac_objext conftest$ac_exeext
32141 if { (ac_try="$ac_link"
32142 case "(($ac_try" in
32143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32144 *) ac_try_echo=$ac_try;;
32145 esac
32146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32147 (eval "$ac_link") 2>conftest.er1
32148 ac_status=$?
32149 grep -v '^ *+' conftest.er1 >conftest.err
32150 rm -f conftest.er1
32151 cat conftest.err >&5
32152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32153 (exit $ac_status); } && {
32154 test -z "$ac_c_werror_flag" ||
32155 test ! -s conftest.err
32156 } && test -s conftest$ac_exeext &&
32157 $as_test_x conftest$ac_exeext; then
32158 ac_cv_lib_dnet_stub_dnet_ntoa=yes
32159 else
32160 echo "$as_me: failed program was:" >&5
32161 sed 's/^/| /' conftest.$ac_ext >&5
32162
32163 ac_cv_lib_dnet_stub_dnet_ntoa=no
32164 fi
32165
32166 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32167 conftest$ac_exeext conftest.$ac_ext
32168 LIBS=$ac_check_lib_save_LIBS
32169 fi
32170 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
32171 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
32172 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
32173 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
32174 fi
32175
32176 fi
32177 fi
32178
32179 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32180 conftest$ac_exeext conftest.$ac_ext
32181 LIBS="$ac_xsave_LIBS"
32182
32183 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
32184 # to get the SysV transport functions.
32185 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
32186 # needs -lnsl.
32187 # The nsl library prevents programs from opening the X display
32188 # on Irix 5.2, according to T.E. Dickey.
32189 # The functions gethostbyname, getservbyname, and inet_addr are
32190 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
32191 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
32192 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
32193 if test "${ac_cv_func_gethostbyname+set}" = set; then
32194 echo $ECHO_N "(cached) $ECHO_C" >&6
32195 else
32196 cat >conftest.$ac_ext <<_ACEOF
32197 /* confdefs.h. */
32198 _ACEOF
32199 cat confdefs.h >>conftest.$ac_ext
32200 cat >>conftest.$ac_ext <<_ACEOF
32201 /* end confdefs.h. */
32202 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
32203 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32204 #define gethostbyname innocuous_gethostbyname
32205
32206 /* System header to define __stub macros and hopefully few prototypes,
32207 which can conflict with char gethostbyname (); below.
32208 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32209 <limits.h> exists even on freestanding compilers. */
32210
32211 #ifdef __STDC__
32212 # include <limits.h>
32213 #else
32214 # include <assert.h>
32215 #endif
32216
32217 #undef gethostbyname
32218
32219 /* Override any GCC internal prototype to avoid an error.
32220 Use char because int might match the return type of a GCC
32221 builtin and then its argument prototype would still apply. */
32222 #ifdef __cplusplus
32223 extern "C"
32224 #endif
32225 char gethostbyname ();
32226 /* The GNU C library defines this for functions which it implements
32227 to always fail with ENOSYS. Some functions are actually named
32228 something starting with __ and the normal name is an alias. */
32229 #if defined __stub_gethostbyname || defined __stub___gethostbyname
32230 choke me
32231 #endif
32232
32233 int
32234 main ()
32235 {
32236 return gethostbyname ();
32237 ;
32238 return 0;
32239 }
32240 _ACEOF
32241 rm -f conftest.$ac_objext conftest$ac_exeext
32242 if { (ac_try="$ac_link"
32243 case "(($ac_try" in
32244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32245 *) ac_try_echo=$ac_try;;
32246 esac
32247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32248 (eval "$ac_link") 2>conftest.er1
32249 ac_status=$?
32250 grep -v '^ *+' conftest.er1 >conftest.err
32251 rm -f conftest.er1
32252 cat conftest.err >&5
32253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32254 (exit $ac_status); } && {
32255 test -z "$ac_c_werror_flag" ||
32256 test ! -s conftest.err
32257 } && test -s conftest$ac_exeext &&
32258 $as_test_x conftest$ac_exeext; then
32259 ac_cv_func_gethostbyname=yes
32260 else
32261 echo "$as_me: failed program was:" >&5
32262 sed 's/^/| /' conftest.$ac_ext >&5
32263
32264 ac_cv_func_gethostbyname=no
32265 fi
32266
32267 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32268 conftest$ac_exeext conftest.$ac_ext
32269 fi
32270 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
32271 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
32272
32273 if test $ac_cv_func_gethostbyname = no; then
32274 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
32275 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
32276 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
32277 echo $ECHO_N "(cached) $ECHO_C" >&6
32278 else
32279 ac_check_lib_save_LIBS=$LIBS
32280 LIBS="-lnsl $LIBS"
32281 cat >conftest.$ac_ext <<_ACEOF
32282 /* confdefs.h. */
32283 _ACEOF
32284 cat confdefs.h >>conftest.$ac_ext
32285 cat >>conftest.$ac_ext <<_ACEOF
32286 /* end confdefs.h. */
32287
32288 /* Override any GCC internal prototype to avoid an error.
32289 Use char because int might match the return type of a GCC
32290 builtin and then its argument prototype would still apply. */
32291 #ifdef __cplusplus
32292 extern "C"
32293 #endif
32294 char gethostbyname ();
32295 int
32296 main ()
32297 {
32298 return gethostbyname ();
32299 ;
32300 return 0;
32301 }
32302 _ACEOF
32303 rm -f conftest.$ac_objext conftest$ac_exeext
32304 if { (ac_try="$ac_link"
32305 case "(($ac_try" in
32306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32307 *) ac_try_echo=$ac_try;;
32308 esac
32309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32310 (eval "$ac_link") 2>conftest.er1
32311 ac_status=$?
32312 grep -v '^ *+' conftest.er1 >conftest.err
32313 rm -f conftest.er1
32314 cat conftest.err >&5
32315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32316 (exit $ac_status); } && {
32317 test -z "$ac_c_werror_flag" ||
32318 test ! -s conftest.err
32319 } && test -s conftest$ac_exeext &&
32320 $as_test_x conftest$ac_exeext; then
32321 ac_cv_lib_nsl_gethostbyname=yes
32322 else
32323 echo "$as_me: failed program was:" >&5
32324 sed 's/^/| /' conftest.$ac_ext >&5
32325
32326 ac_cv_lib_nsl_gethostbyname=no
32327 fi
32328
32329 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32330 conftest$ac_exeext conftest.$ac_ext
32331 LIBS=$ac_check_lib_save_LIBS
32332 fi
32333 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
32334 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
32335 if test $ac_cv_lib_nsl_gethostbyname = yes; then
32336 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
32337 fi
32338
32339 if test $ac_cv_lib_nsl_gethostbyname = no; then
32340 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
32341 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
32342 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
32343 echo $ECHO_N "(cached) $ECHO_C" >&6
32344 else
32345 ac_check_lib_save_LIBS=$LIBS
32346 LIBS="-lbsd $LIBS"
32347 cat >conftest.$ac_ext <<_ACEOF
32348 /* confdefs.h. */
32349 _ACEOF
32350 cat confdefs.h >>conftest.$ac_ext
32351 cat >>conftest.$ac_ext <<_ACEOF
32352 /* end confdefs.h. */
32353
32354 /* Override any GCC internal prototype to avoid an error.
32355 Use char because int might match the return type of a GCC
32356 builtin and then its argument prototype would still apply. */
32357 #ifdef __cplusplus
32358 extern "C"
32359 #endif
32360 char gethostbyname ();
32361 int
32362 main ()
32363 {
32364 return gethostbyname ();
32365 ;
32366 return 0;
32367 }
32368 _ACEOF
32369 rm -f conftest.$ac_objext conftest$ac_exeext
32370 if { (ac_try="$ac_link"
32371 case "(($ac_try" in
32372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32373 *) ac_try_echo=$ac_try;;
32374 esac
32375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32376 (eval "$ac_link") 2>conftest.er1
32377 ac_status=$?
32378 grep -v '^ *+' conftest.er1 >conftest.err
32379 rm -f conftest.er1
32380 cat conftest.err >&5
32381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32382 (exit $ac_status); } && {
32383 test -z "$ac_c_werror_flag" ||
32384 test ! -s conftest.err
32385 } && test -s conftest$ac_exeext &&
32386 $as_test_x conftest$ac_exeext; then
32387 ac_cv_lib_bsd_gethostbyname=yes
32388 else
32389 echo "$as_me: failed program was:" >&5
32390 sed 's/^/| /' conftest.$ac_ext >&5
32391
32392 ac_cv_lib_bsd_gethostbyname=no
32393 fi
32394
32395 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32396 conftest$ac_exeext conftest.$ac_ext
32397 LIBS=$ac_check_lib_save_LIBS
32398 fi
32399 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
32400 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
32401 if test $ac_cv_lib_bsd_gethostbyname = yes; then
32402 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
32403 fi
32404
32405 fi
32406 fi
32407
32408 # lieder@skyler.mavd.honeywell.com says without -lsocket,
32409 # socket/setsockopt and other routines are undefined under SCO ODT
32410 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
32411 # on later versions), says Simon Leinen: it contains gethostby*
32412 # variants that don't use the name server (or something). -lsocket
32413 # must be given before -lnsl if both are needed. We assume that
32414 # if connect needs -lnsl, so does gethostbyname.
32415 { echo "$as_me:$LINENO: checking for connect" >&5
32416 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
32417 if test "${ac_cv_func_connect+set}" = set; then
32418 echo $ECHO_N "(cached) $ECHO_C" >&6
32419 else
32420 cat >conftest.$ac_ext <<_ACEOF
32421 /* confdefs.h. */
32422 _ACEOF
32423 cat confdefs.h >>conftest.$ac_ext
32424 cat >>conftest.$ac_ext <<_ACEOF
32425 /* end confdefs.h. */
32426 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
32427 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32428 #define connect innocuous_connect
32429
32430 /* System header to define __stub macros and hopefully few prototypes,
32431 which can conflict with char connect (); below.
32432 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32433 <limits.h> exists even on freestanding compilers. */
32434
32435 #ifdef __STDC__
32436 # include <limits.h>
32437 #else
32438 # include <assert.h>
32439 #endif
32440
32441 #undef connect
32442
32443 /* Override any GCC internal prototype to avoid an error.
32444 Use char because int might match the return type of a GCC
32445 builtin and then its argument prototype would still apply. */
32446 #ifdef __cplusplus
32447 extern "C"
32448 #endif
32449 char connect ();
32450 /* The GNU C library defines this for functions which it implements
32451 to always fail with ENOSYS. Some functions are actually named
32452 something starting with __ and the normal name is an alias. */
32453 #if defined __stub_connect || defined __stub___connect
32454 choke me
32455 #endif
32456
32457 int
32458 main ()
32459 {
32460 return connect ();
32461 ;
32462 return 0;
32463 }
32464 _ACEOF
32465 rm -f conftest.$ac_objext conftest$ac_exeext
32466 if { (ac_try="$ac_link"
32467 case "(($ac_try" in
32468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32469 *) ac_try_echo=$ac_try;;
32470 esac
32471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32472 (eval "$ac_link") 2>conftest.er1
32473 ac_status=$?
32474 grep -v '^ *+' conftest.er1 >conftest.err
32475 rm -f conftest.er1
32476 cat conftest.err >&5
32477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32478 (exit $ac_status); } && {
32479 test -z "$ac_c_werror_flag" ||
32480 test ! -s conftest.err
32481 } && test -s conftest$ac_exeext &&
32482 $as_test_x conftest$ac_exeext; then
32483 ac_cv_func_connect=yes
32484 else
32485 echo "$as_me: failed program was:" >&5
32486 sed 's/^/| /' conftest.$ac_ext >&5
32487
32488 ac_cv_func_connect=no
32489 fi
32490
32491 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32492 conftest$ac_exeext conftest.$ac_ext
32493 fi
32494 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
32495 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
32496
32497 if test $ac_cv_func_connect = no; then
32498 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
32499 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
32500 if test "${ac_cv_lib_socket_connect+set}" = set; then
32501 echo $ECHO_N "(cached) $ECHO_C" >&6
32502 else
32503 ac_check_lib_save_LIBS=$LIBS
32504 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
32505 cat >conftest.$ac_ext <<_ACEOF
32506 /* confdefs.h. */
32507 _ACEOF
32508 cat confdefs.h >>conftest.$ac_ext
32509 cat >>conftest.$ac_ext <<_ACEOF
32510 /* end confdefs.h. */
32511
32512 /* Override any GCC internal prototype to avoid an error.
32513 Use char because int might match the return type of a GCC
32514 builtin and then its argument prototype would still apply. */
32515 #ifdef __cplusplus
32516 extern "C"
32517 #endif
32518 char connect ();
32519 int
32520 main ()
32521 {
32522 return connect ();
32523 ;
32524 return 0;
32525 }
32526 _ACEOF
32527 rm -f conftest.$ac_objext conftest$ac_exeext
32528 if { (ac_try="$ac_link"
32529 case "(($ac_try" in
32530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32531 *) ac_try_echo=$ac_try;;
32532 esac
32533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32534 (eval "$ac_link") 2>conftest.er1
32535 ac_status=$?
32536 grep -v '^ *+' conftest.er1 >conftest.err
32537 rm -f conftest.er1
32538 cat conftest.err >&5
32539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32540 (exit $ac_status); } && {
32541 test -z "$ac_c_werror_flag" ||
32542 test ! -s conftest.err
32543 } && test -s conftest$ac_exeext &&
32544 $as_test_x conftest$ac_exeext; then
32545 ac_cv_lib_socket_connect=yes
32546 else
32547 echo "$as_me: failed program was:" >&5
32548 sed 's/^/| /' conftest.$ac_ext >&5
32549
32550 ac_cv_lib_socket_connect=no
32551 fi
32552
32553 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32554 conftest$ac_exeext conftest.$ac_ext
32555 LIBS=$ac_check_lib_save_LIBS
32556 fi
32557 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
32558 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
32559 if test $ac_cv_lib_socket_connect = yes; then
32560 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
32561 fi
32562
32563 fi
32564
32565 # Guillermo Gomez says -lposix is necessary on A/UX.
32566 { echo "$as_me:$LINENO: checking for remove" >&5
32567 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
32568 if test "${ac_cv_func_remove+set}" = set; then
32569 echo $ECHO_N "(cached) $ECHO_C" >&6
32570 else
32571 cat >conftest.$ac_ext <<_ACEOF
32572 /* confdefs.h. */
32573 _ACEOF
32574 cat confdefs.h >>conftest.$ac_ext
32575 cat >>conftest.$ac_ext <<_ACEOF
32576 /* end confdefs.h. */
32577 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
32578 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32579 #define remove innocuous_remove
32580
32581 /* System header to define __stub macros and hopefully few prototypes,
32582 which can conflict with char remove (); below.
32583 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32584 <limits.h> exists even on freestanding compilers. */
32585
32586 #ifdef __STDC__
32587 # include <limits.h>
32588 #else
32589 # include <assert.h>
32590 #endif
32591
32592 #undef remove
32593
32594 /* Override any GCC internal prototype to avoid an error.
32595 Use char because int might match the return type of a GCC
32596 builtin and then its argument prototype would still apply. */
32597 #ifdef __cplusplus
32598 extern "C"
32599 #endif
32600 char remove ();
32601 /* The GNU C library defines this for functions which it implements
32602 to always fail with ENOSYS. Some functions are actually named
32603 something starting with __ and the normal name is an alias. */
32604 #if defined __stub_remove || defined __stub___remove
32605 choke me
32606 #endif
32607
32608 int
32609 main ()
32610 {
32611 return remove ();
32612 ;
32613 return 0;
32614 }
32615 _ACEOF
32616 rm -f conftest.$ac_objext conftest$ac_exeext
32617 if { (ac_try="$ac_link"
32618 case "(($ac_try" in
32619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32620 *) ac_try_echo=$ac_try;;
32621 esac
32622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32623 (eval "$ac_link") 2>conftest.er1
32624 ac_status=$?
32625 grep -v '^ *+' conftest.er1 >conftest.err
32626 rm -f conftest.er1
32627 cat conftest.err >&5
32628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32629 (exit $ac_status); } && {
32630 test -z "$ac_c_werror_flag" ||
32631 test ! -s conftest.err
32632 } && test -s conftest$ac_exeext &&
32633 $as_test_x conftest$ac_exeext; then
32634 ac_cv_func_remove=yes
32635 else
32636 echo "$as_me: failed program was:" >&5
32637 sed 's/^/| /' conftest.$ac_ext >&5
32638
32639 ac_cv_func_remove=no
32640 fi
32641
32642 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32643 conftest$ac_exeext conftest.$ac_ext
32644 fi
32645 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
32646 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
32647
32648 if test $ac_cv_func_remove = no; then
32649 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
32650 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
32651 if test "${ac_cv_lib_posix_remove+set}" = set; then
32652 echo $ECHO_N "(cached) $ECHO_C" >&6
32653 else
32654 ac_check_lib_save_LIBS=$LIBS
32655 LIBS="-lposix $LIBS"
32656 cat >conftest.$ac_ext <<_ACEOF
32657 /* confdefs.h. */
32658 _ACEOF
32659 cat confdefs.h >>conftest.$ac_ext
32660 cat >>conftest.$ac_ext <<_ACEOF
32661 /* end confdefs.h. */
32662
32663 /* Override any GCC internal prototype to avoid an error.
32664 Use char because int might match the return type of a GCC
32665 builtin and then its argument prototype would still apply. */
32666 #ifdef __cplusplus
32667 extern "C"
32668 #endif
32669 char remove ();
32670 int
32671 main ()
32672 {
32673 return remove ();
32674 ;
32675 return 0;
32676 }
32677 _ACEOF
32678 rm -f conftest.$ac_objext conftest$ac_exeext
32679 if { (ac_try="$ac_link"
32680 case "(($ac_try" in
32681 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32682 *) ac_try_echo=$ac_try;;
32683 esac
32684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32685 (eval "$ac_link") 2>conftest.er1
32686 ac_status=$?
32687 grep -v '^ *+' conftest.er1 >conftest.err
32688 rm -f conftest.er1
32689 cat conftest.err >&5
32690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32691 (exit $ac_status); } && {
32692 test -z "$ac_c_werror_flag" ||
32693 test ! -s conftest.err
32694 } && test -s conftest$ac_exeext &&
32695 $as_test_x conftest$ac_exeext; then
32696 ac_cv_lib_posix_remove=yes
32697 else
32698 echo "$as_me: failed program was:" >&5
32699 sed 's/^/| /' conftest.$ac_ext >&5
32700
32701 ac_cv_lib_posix_remove=no
32702 fi
32703
32704 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32705 conftest$ac_exeext conftest.$ac_ext
32706 LIBS=$ac_check_lib_save_LIBS
32707 fi
32708 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
32709 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
32710 if test $ac_cv_lib_posix_remove = yes; then
32711 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
32712 fi
32713
32714 fi
32715
32716 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
32717 { echo "$as_me:$LINENO: checking for shmat" >&5
32718 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
32719 if test "${ac_cv_func_shmat+set}" = set; then
32720 echo $ECHO_N "(cached) $ECHO_C" >&6
32721 else
32722 cat >conftest.$ac_ext <<_ACEOF
32723 /* confdefs.h. */
32724 _ACEOF
32725 cat confdefs.h >>conftest.$ac_ext
32726 cat >>conftest.$ac_ext <<_ACEOF
32727 /* end confdefs.h. */
32728 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
32729 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32730 #define shmat innocuous_shmat
32731
32732 /* System header to define __stub macros and hopefully few prototypes,
32733 which can conflict with char shmat (); below.
32734 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32735 <limits.h> exists even on freestanding compilers. */
32736
32737 #ifdef __STDC__
32738 # include <limits.h>
32739 #else
32740 # include <assert.h>
32741 #endif
32742
32743 #undef shmat
32744
32745 /* Override any GCC internal prototype to avoid an error.
32746 Use char because int might match the return type of a GCC
32747 builtin and then its argument prototype would still apply. */
32748 #ifdef __cplusplus
32749 extern "C"
32750 #endif
32751 char shmat ();
32752 /* The GNU C library defines this for functions which it implements
32753 to always fail with ENOSYS. Some functions are actually named
32754 something starting with __ and the normal name is an alias. */
32755 #if defined __stub_shmat || defined __stub___shmat
32756 choke me
32757 #endif
32758
32759 int
32760 main ()
32761 {
32762 return shmat ();
32763 ;
32764 return 0;
32765 }
32766 _ACEOF
32767 rm -f conftest.$ac_objext conftest$ac_exeext
32768 if { (ac_try="$ac_link"
32769 case "(($ac_try" in
32770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32771 *) ac_try_echo=$ac_try;;
32772 esac
32773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32774 (eval "$ac_link") 2>conftest.er1
32775 ac_status=$?
32776 grep -v '^ *+' conftest.er1 >conftest.err
32777 rm -f conftest.er1
32778 cat conftest.err >&5
32779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32780 (exit $ac_status); } && {
32781 test -z "$ac_c_werror_flag" ||
32782 test ! -s conftest.err
32783 } && test -s conftest$ac_exeext &&
32784 $as_test_x conftest$ac_exeext; then
32785 ac_cv_func_shmat=yes
32786 else
32787 echo "$as_me: failed program was:" >&5
32788 sed 's/^/| /' conftest.$ac_ext >&5
32789
32790 ac_cv_func_shmat=no
32791 fi
32792
32793 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32794 conftest$ac_exeext conftest.$ac_ext
32795 fi
32796 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
32797 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
32798
32799 if test $ac_cv_func_shmat = no; then
32800 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
32801 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
32802 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
32803 echo $ECHO_N "(cached) $ECHO_C" >&6
32804 else
32805 ac_check_lib_save_LIBS=$LIBS
32806 LIBS="-lipc $LIBS"
32807 cat >conftest.$ac_ext <<_ACEOF
32808 /* confdefs.h. */
32809 _ACEOF
32810 cat confdefs.h >>conftest.$ac_ext
32811 cat >>conftest.$ac_ext <<_ACEOF
32812 /* end confdefs.h. */
32813
32814 /* Override any GCC internal prototype to avoid an error.
32815 Use char because int might match the return type of a GCC
32816 builtin and then its argument prototype would still apply. */
32817 #ifdef __cplusplus
32818 extern "C"
32819 #endif
32820 char shmat ();
32821 int
32822 main ()
32823 {
32824 return shmat ();
32825 ;
32826 return 0;
32827 }
32828 _ACEOF
32829 rm -f conftest.$ac_objext conftest$ac_exeext
32830 if { (ac_try="$ac_link"
32831 case "(($ac_try" in
32832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32833 *) ac_try_echo=$ac_try;;
32834 esac
32835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32836 (eval "$ac_link") 2>conftest.er1
32837 ac_status=$?
32838 grep -v '^ *+' conftest.er1 >conftest.err
32839 rm -f conftest.er1
32840 cat conftest.err >&5
32841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32842 (exit $ac_status); } && {
32843 test -z "$ac_c_werror_flag" ||
32844 test ! -s conftest.err
32845 } && test -s conftest$ac_exeext &&
32846 $as_test_x conftest$ac_exeext; then
32847 ac_cv_lib_ipc_shmat=yes
32848 else
32849 echo "$as_me: failed program was:" >&5
32850 sed 's/^/| /' conftest.$ac_ext >&5
32851
32852 ac_cv_lib_ipc_shmat=no
32853 fi
32854
32855 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32856 conftest$ac_exeext conftest.$ac_ext
32857 LIBS=$ac_check_lib_save_LIBS
32858 fi
32859 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
32860 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
32861 if test $ac_cv_lib_ipc_shmat = yes; then
32862 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
32863 fi
32864
32865 fi
32866 fi
32867
32868 # Check for libraries that X11R6 Xt/Xaw programs need.
32869 ac_save_LDFLAGS=$LDFLAGS
32870 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
32871 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
32872 # check for ICE first), but we must link in the order -lSM -lICE or
32873 # we get undefined symbols. So assume we have SM if we have ICE.
32874 # These have to be linked with before -lX11, unlike the other
32875 # libraries we check for below, so use a different variable.
32876 # John Interrante, Karl Berry
32877 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
32878 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
32879 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
32880 echo $ECHO_N "(cached) $ECHO_C" >&6
32881 else
32882 ac_check_lib_save_LIBS=$LIBS
32883 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
32884 cat >conftest.$ac_ext <<_ACEOF
32885 /* confdefs.h. */
32886 _ACEOF
32887 cat confdefs.h >>conftest.$ac_ext
32888 cat >>conftest.$ac_ext <<_ACEOF
32889 /* end confdefs.h. */
32890
32891 /* Override any GCC internal prototype to avoid an error.
32892 Use char because int might match the return type of a GCC
32893 builtin and then its argument prototype would still apply. */
32894 #ifdef __cplusplus
32895 extern "C"
32896 #endif
32897 char IceConnectionNumber ();
32898 int
32899 main ()
32900 {
32901 return IceConnectionNumber ();
32902 ;
32903 return 0;
32904 }
32905 _ACEOF
32906 rm -f conftest.$ac_objext conftest$ac_exeext
32907 if { (ac_try="$ac_link"
32908 case "(($ac_try" in
32909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32910 *) ac_try_echo=$ac_try;;
32911 esac
32912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32913 (eval "$ac_link") 2>conftest.er1
32914 ac_status=$?
32915 grep -v '^ *+' conftest.er1 >conftest.err
32916 rm -f conftest.er1
32917 cat conftest.err >&5
32918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32919 (exit $ac_status); } && {
32920 test -z "$ac_c_werror_flag" ||
32921 test ! -s conftest.err
32922 } && test -s conftest$ac_exeext &&
32923 $as_test_x conftest$ac_exeext; then
32924 ac_cv_lib_ICE_IceConnectionNumber=yes
32925 else
32926 echo "$as_me: failed program was:" >&5
32927 sed 's/^/| /' conftest.$ac_ext >&5
32928
32929 ac_cv_lib_ICE_IceConnectionNumber=no
32930 fi
32931
32932 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32933 conftest$ac_exeext conftest.$ac_ext
32934 LIBS=$ac_check_lib_save_LIBS
32935 fi
32936 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
32937 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
32938 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
32939 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
32940 fi
32941
32942 LDFLAGS=$ac_save_LDFLAGS
32943
32944 fi
32945
32946
32947 if test "$no_x" = "yes"; then
32948 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
32949 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
32950 { (exit 1); exit 1; }; }
32951 fi
32952
32953 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
32954 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
32955 AFMINSTALL=afminstall
32956 COMPILED_X_PROGRAM=0
32957
32958 fi
32959
32960 if test "$wxUSE_X11" = 1; then
32961 if test "$wxUSE_NANOX" = "yes"; then
32962 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
32963 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
32964 if test "x$MICROWIN" = x ; then
32965 { echo "$as_me:$LINENO: result: not found" >&5
32966 echo "${ECHO_T}not found" >&6; }
32967 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
32968 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
32969 { (exit 1); exit 1; }; }
32970 else
32971 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
32972 echo "${ECHO_T}$MICROWIN" >&6; }
32973 cat >>confdefs.h <<\_ACEOF
32974 #define wxUSE_NANOX 1
32975 _ACEOF
32976
32977 fi
32978 fi
32979
32980 if test "$wxUSE_UNICODE" = "yes"; then
32981
32982
32983 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
32984 if test -n "$ac_tool_prefix"; then
32985 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
32986 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
32987 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32988 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32989 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
32990 echo $ECHO_N "(cached) $ECHO_C" >&6
32991 else
32992 case $PKG_CONFIG in
32993 [\\/]* | ?:[\\/]*)
32994 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
32995 ;;
32996 *)
32997 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32998 for as_dir in $PATH
32999 do
33000 IFS=$as_save_IFS
33001 test -z "$as_dir" && as_dir=.
33002 for ac_exec_ext in '' $ac_executable_extensions; do
33003 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33004 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33005 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33006 break 2
33007 fi
33008 done
33009 done
33010 IFS=$as_save_IFS
33011
33012 ;;
33013 esac
33014 fi
33015 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
33016 if test -n "$PKG_CONFIG"; then
33017 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
33018 echo "${ECHO_T}$PKG_CONFIG" >&6; }
33019 else
33020 { echo "$as_me:$LINENO: result: no" >&5
33021 echo "${ECHO_T}no" >&6; }
33022 fi
33023
33024
33025 fi
33026 if test -z "$ac_cv_path_PKG_CONFIG"; then
33027 ac_pt_PKG_CONFIG=$PKG_CONFIG
33028 # Extract the first word of "pkg-config", so it can be a program name with args.
33029 set dummy pkg-config; ac_word=$2
33030 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33031 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33032 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
33033 echo $ECHO_N "(cached) $ECHO_C" >&6
33034 else
33035 case $ac_pt_PKG_CONFIG in
33036 [\\/]* | ?:[\\/]*)
33037 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
33038 ;;
33039 *)
33040 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33041 for as_dir in $PATH
33042 do
33043 IFS=$as_save_IFS
33044 test -z "$as_dir" && as_dir=.
33045 for ac_exec_ext in '' $ac_executable_extensions; do
33046 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33047 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33048 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33049 break 2
33050 fi
33051 done
33052 done
33053 IFS=$as_save_IFS
33054
33055 ;;
33056 esac
33057 fi
33058 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
33059 if test -n "$ac_pt_PKG_CONFIG"; then
33060 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
33061 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
33062 else
33063 { echo "$as_me:$LINENO: result: no" >&5
33064 echo "${ECHO_T}no" >&6; }
33065 fi
33066
33067 if test "x$ac_pt_PKG_CONFIG" = x; then
33068 PKG_CONFIG=""
33069 else
33070 case $cross_compiling:$ac_tool_warned in
33071 yes:)
33072 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
33073 whose name does not start with the host triplet. If you think this
33074 configuration is useful to you, please write to autoconf@gnu.org." >&5
33075 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
33076 whose name does not start with the host triplet. If you think this
33077 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
33078 ac_tool_warned=yes ;;
33079 esac
33080 PKG_CONFIG=$ac_pt_PKG_CONFIG
33081 fi
33082 else
33083 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
33084 fi
33085
33086 fi
33087 if test -n "$PKG_CONFIG"; then
33088 _pkg_min_version=0.9.0
33089 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
33090 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
33091 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
33092 { echo "$as_me:$LINENO: result: yes" >&5
33093 echo "${ECHO_T}yes" >&6; }
33094 else
33095 { echo "$as_me:$LINENO: result: no" >&5
33096 echo "${ECHO_T}no" >&6; }
33097 PKG_CONFIG=""
33098 fi
33099
33100 fi
33101
33102
33103 pkg_failed=no
33104 { echo "$as_me:$LINENO: checking for PANGOX" >&5
33105 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
33106
33107 if test -n "$PKG_CONFIG"; then
33108 if test -n "$PANGOX_CFLAGS"; then
33109 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
33110 else
33111 if test -n "$PKG_CONFIG" && \
33112 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
33113 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
33114 ac_status=$?
33115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33116 (exit $ac_status); }; then
33117 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
33118 else
33119 pkg_failed=yes
33120 fi
33121 fi
33122 else
33123 pkg_failed=untried
33124 fi
33125 if test -n "$PKG_CONFIG"; then
33126 if test -n "$PANGOX_LIBS"; then
33127 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
33128 else
33129 if test -n "$PKG_CONFIG" && \
33130 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
33131 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
33132 ac_status=$?
33133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33134 (exit $ac_status); }; then
33135 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
33136 else
33137 pkg_failed=yes
33138 fi
33139 fi
33140 else
33141 pkg_failed=untried
33142 fi
33143
33144
33145
33146 if test $pkg_failed = yes; then
33147
33148 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33149 _pkg_short_errors_supported=yes
33150 else
33151 _pkg_short_errors_supported=no
33152 fi
33153 if test $_pkg_short_errors_supported = yes; then
33154 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
33155 else
33156 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
33157 fi
33158 # Put the nasty error message in config.log where it belongs
33159 echo "$PANGOX_PKG_ERRORS" >&5
33160
33161
33162 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
33163 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
33164 { (exit 1); exit 1; }; }
33165
33166
33167 elif test $pkg_failed = untried; then
33168
33169 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
33170 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
33171 { (exit 1); exit 1; }; }
33172
33173
33174 else
33175 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
33176 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
33177 { echo "$as_me:$LINENO: result: yes" >&5
33178 echo "${ECHO_T}yes" >&6; }
33179
33180 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
33181 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
33182 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
33183
33184 fi
33185
33186 pkg_failed=no
33187 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
33188 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
33189
33190 if test -n "$PKG_CONFIG"; then
33191 if test -n "$PANGOFT2_CFLAGS"; then
33192 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
33193 else
33194 if test -n "$PKG_CONFIG" && \
33195 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
33196 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
33197 ac_status=$?
33198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33199 (exit $ac_status); }; then
33200 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
33201 else
33202 pkg_failed=yes
33203 fi
33204 fi
33205 else
33206 pkg_failed=untried
33207 fi
33208 if test -n "$PKG_CONFIG"; then
33209 if test -n "$PANGOFT2_LIBS"; then
33210 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
33211 else
33212 if test -n "$PKG_CONFIG" && \
33213 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
33214 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
33215 ac_status=$?
33216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33217 (exit $ac_status); }; then
33218 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
33219 else
33220 pkg_failed=yes
33221 fi
33222 fi
33223 else
33224 pkg_failed=untried
33225 fi
33226
33227
33228
33229 if test $pkg_failed = yes; then
33230
33231 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33232 _pkg_short_errors_supported=yes
33233 else
33234 _pkg_short_errors_supported=no
33235 fi
33236 if test $_pkg_short_errors_supported = yes; then
33237 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
33238 else
33239 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
33240 fi
33241 # Put the nasty error message in config.log where it belongs
33242 echo "$PANGOFT2_PKG_ERRORS" >&5
33243
33244
33245 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
33246 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
33247 wxUSE_PRINTING_ARCHITECTURE="no"
33248
33249
33250 elif test $pkg_failed = untried; then
33251
33252 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
33253 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
33254 wxUSE_PRINTING_ARCHITECTURE="no"
33255
33256
33257 else
33258 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
33259 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
33260 { echo "$as_me:$LINENO: result: yes" >&5
33261 echo "${ECHO_T}yes" >&6; }
33262
33263 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
33264 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
33265 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
33266
33267 fi
33268
33269 pkg_failed=no
33270 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
33271 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
33272
33273 if test -n "$PKG_CONFIG"; then
33274 if test -n "$PANGOXFT_CFLAGS"; then
33275 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
33276 else
33277 if test -n "$PKG_CONFIG" && \
33278 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
33279 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
33280 ac_status=$?
33281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33282 (exit $ac_status); }; then
33283 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
33284 else
33285 pkg_failed=yes
33286 fi
33287 fi
33288 else
33289 pkg_failed=untried
33290 fi
33291 if test -n "$PKG_CONFIG"; then
33292 if test -n "$PANGOXFT_LIBS"; then
33293 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
33294 else
33295 if test -n "$PKG_CONFIG" && \
33296 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
33297 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
33298 ac_status=$?
33299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33300 (exit $ac_status); }; then
33301 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
33302 else
33303 pkg_failed=yes
33304 fi
33305 fi
33306 else
33307 pkg_failed=untried
33308 fi
33309
33310
33311
33312 if test $pkg_failed = yes; then
33313
33314 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33315 _pkg_short_errors_supported=yes
33316 else
33317 _pkg_short_errors_supported=no
33318 fi
33319 if test $_pkg_short_errors_supported = yes; then
33320 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
33321 else
33322 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
33323 fi
33324 # Put the nasty error message in config.log where it belongs
33325 echo "$PANGOXFT_PKG_ERRORS" >&5
33326
33327
33328 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
33329 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
33330
33331
33332 elif test $pkg_failed = untried; then
33333
33334 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
33335 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
33336
33337
33338 else
33339 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
33340 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
33341 { echo "$as_me:$LINENO: result: yes" >&5
33342 echo "${ECHO_T}yes" >&6; }
33343
33344 cat >>confdefs.h <<\_ACEOF
33345 #define HAVE_PANGO_XFT 1
33346 _ACEOF
33347
33348 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
33349 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
33350 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
33351
33352 fi
33353 save_LIBS="$LIBS"
33354 LIBS="$LIBS $PANGOX_LIBS"
33355
33356 for ac_func in pango_font_family_is_monospace
33357 do
33358 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33359 { echo "$as_me:$LINENO: checking for $ac_func" >&5
33360 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
33361 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
33362 echo $ECHO_N "(cached) $ECHO_C" >&6
33363 else
33364 cat >conftest.$ac_ext <<_ACEOF
33365 /* confdefs.h. */
33366 _ACEOF
33367 cat confdefs.h >>conftest.$ac_ext
33368 cat >>conftest.$ac_ext <<_ACEOF
33369 /* end confdefs.h. */
33370 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33371 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33372 #define $ac_func innocuous_$ac_func
33373
33374 /* System header to define __stub macros and hopefully few prototypes,
33375 which can conflict with char $ac_func (); below.
33376 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33377 <limits.h> exists even on freestanding compilers. */
33378
33379 #ifdef __STDC__
33380 # include <limits.h>
33381 #else
33382 # include <assert.h>
33383 #endif
33384
33385 #undef $ac_func
33386
33387 /* Override any GCC internal prototype to avoid an error.
33388 Use char because int might match the return type of a GCC
33389 builtin and then its argument prototype would still apply. */
33390 #ifdef __cplusplus
33391 extern "C"
33392 #endif
33393 char $ac_func ();
33394 /* The GNU C library defines this for functions which it implements
33395 to always fail with ENOSYS. Some functions are actually named
33396 something starting with __ and the normal name is an alias. */
33397 #if defined __stub_$ac_func || defined __stub___$ac_func
33398 choke me
33399 #endif
33400
33401 int
33402 main ()
33403 {
33404 return $ac_func ();
33405 ;
33406 return 0;
33407 }
33408 _ACEOF
33409 rm -f conftest.$ac_objext conftest$ac_exeext
33410 if { (ac_try="$ac_link"
33411 case "(($ac_try" in
33412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33413 *) ac_try_echo=$ac_try;;
33414 esac
33415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33416 (eval "$ac_link") 2>conftest.er1
33417 ac_status=$?
33418 grep -v '^ *+' conftest.er1 >conftest.err
33419 rm -f conftest.er1
33420 cat conftest.err >&5
33421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33422 (exit $ac_status); } && {
33423 test -z "$ac_c_werror_flag" ||
33424 test ! -s conftest.err
33425 } && test -s conftest$ac_exeext &&
33426 $as_test_x conftest$ac_exeext; then
33427 eval "$as_ac_var=yes"
33428 else
33429 echo "$as_me: failed program was:" >&5
33430 sed 's/^/| /' conftest.$ac_ext >&5
33431
33432 eval "$as_ac_var=no"
33433 fi
33434
33435 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33436 conftest$ac_exeext conftest.$ac_ext
33437 fi
33438 ac_res=`eval echo '${'$as_ac_var'}'`
33439 { echo "$as_me:$LINENO: result: $ac_res" >&5
33440 echo "${ECHO_T}$ac_res" >&6; }
33441 if test `eval echo '${'$as_ac_var'}'` = yes; then
33442 cat >>confdefs.h <<_ACEOF
33443 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33444 _ACEOF
33445
33446 fi
33447 done
33448
33449 LIBS="$save_LIBS"
33450 fi
33451
33452 wxUSE_UNIVERSAL="yes"
33453
33454 if test "$wxUSE_NANOX" = "yes"; then
33455 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
33456 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"
33457 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
33458 else
33459 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
33460 fi
33461
33462 TOOLKIT=X11
33463 GUIDIST=X11_DIST
33464 fi
33465
33466 if test "$wxUSE_MOTIF" = 1; then
33467 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
33468 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
33469
33470 ac_find_includes=
33471 for ac_dir in $SEARCH_INCLUDE /usr/include
33472 do
33473 if test -f "$ac_dir/Xm/Xm.h"; then
33474 ac_find_includes=$ac_dir
33475 break
33476 fi
33477 done
33478
33479 if test "$ac_find_includes" != "" ; then
33480 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33481 echo "${ECHO_T}found in $ac_find_includes" >&6; }
33482
33483 if test "x$ac_find_includes" = "x/usr/include"; then
33484 ac_path_to_include=""
33485 else
33486 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
33487 result=$?
33488 if test $result = 0; then
33489 ac_path_to_include=""
33490 else
33491 ac_path_to_include=" -I$ac_find_includes"
33492 fi
33493 fi
33494
33495 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
33496 else
33497 save_CFLAGS=$CFLAGS
33498 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33499
33500 cat >conftest.$ac_ext <<_ACEOF
33501 /* confdefs.h. */
33502 _ACEOF
33503 cat confdefs.h >>conftest.$ac_ext
33504 cat >>conftest.$ac_ext <<_ACEOF
33505 /* end confdefs.h. */
33506
33507 #include <Xm/Xm.h>
33508
33509 int
33510 main ()
33511 {
33512
33513 int version;
33514 version = xmUseVersion;
33515
33516 ;
33517 return 0;
33518 }
33519 _ACEOF
33520 rm -f conftest.$ac_objext
33521 if { (ac_try="$ac_compile"
33522 case "(($ac_try" in
33523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33524 *) ac_try_echo=$ac_try;;
33525 esac
33526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33527 (eval "$ac_compile") 2>conftest.er1
33528 ac_status=$?
33529 grep -v '^ *+' conftest.er1 >conftest.err
33530 rm -f conftest.er1
33531 cat conftest.err >&5
33532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33533 (exit $ac_status); } && {
33534 test -z "$ac_c_werror_flag" ||
33535 test ! -s conftest.err
33536 } && test -s conftest.$ac_objext; then
33537
33538 { echo "$as_me:$LINENO: result: found in default search path" >&5
33539 echo "${ECHO_T}found in default search path" >&6; }
33540 COMPILED_X_PROGRAM=1
33541
33542 else
33543 echo "$as_me: failed program was:" >&5
33544 sed 's/^/| /' conftest.$ac_ext >&5
33545
33546
33547 { echo "$as_me:$LINENO: result: no" >&5
33548 echo "${ECHO_T}no" >&6; }
33549 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
33550 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
33551 { (exit 1); exit 1; }; }
33552
33553
33554 fi
33555
33556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33557
33558 CFLAGS=$save_CFLAGS
33559 fi
33560
33561
33562 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
33563 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
33564
33565 ac_find_libraries=
33566 for ac_dir in $SEARCH_LIB
33567 do
33568 for ac_extension in a so sl dylib dll.a; do
33569 if test -f "$ac_dir/libXm.$ac_extension"; then
33570 ac_find_libraries=$ac_dir
33571 break 2
33572 fi
33573 done
33574 done
33575
33576
33577 if test "x$ac_find_libraries" != "x" ; then
33578 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33579 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33580
33581
33582 if test "$ac_find_libraries" = "default location"; then
33583 ac_path_to_link=""
33584 else
33585 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
33586 result=$?
33587 if test $result = 0; then
33588 ac_path_to_link=""
33589 else
33590 ac_path_to_link=" -L$ac_find_libraries"
33591 fi
33592 fi
33593
33594 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
33595 else
33596 save_CFLAGS=$CFLAGS
33597 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33598 save_LIBS="$LIBS"
33599 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
33600
33601 cat >conftest.$ac_ext <<_ACEOF
33602 /* confdefs.h. */
33603 _ACEOF
33604 cat confdefs.h >>conftest.$ac_ext
33605 cat >>conftest.$ac_ext <<_ACEOF
33606 /* end confdefs.h. */
33607
33608 #include <Xm/Xm.h>
33609
33610 int
33611 main ()
33612 {
33613
33614 int version;
33615 version = xmUseVersion;
33616
33617 ;
33618 return 0;
33619 }
33620 _ACEOF
33621 rm -f conftest.$ac_objext conftest$ac_exeext
33622 if { (ac_try="$ac_link"
33623 case "(($ac_try" in
33624 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33625 *) ac_try_echo=$ac_try;;
33626 esac
33627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33628 (eval "$ac_link") 2>conftest.er1
33629 ac_status=$?
33630 grep -v '^ *+' conftest.er1 >conftest.err
33631 rm -f conftest.er1
33632 cat conftest.err >&5
33633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33634 (exit $ac_status); } && {
33635 test -z "$ac_c_werror_flag" ||
33636 test ! -s conftest.err
33637 } && test -s conftest$ac_exeext &&
33638 $as_test_x conftest$ac_exeext; then
33639
33640 { echo "$as_me:$LINENO: result: found in default search path" >&5
33641 echo "${ECHO_T}found in default search path" >&6; }
33642 COMPILED_X_PROGRAM=1
33643
33644 else
33645 echo "$as_me: failed program was:" >&5
33646 sed 's/^/| /' conftest.$ac_ext >&5
33647
33648
33649 { echo "$as_me:$LINENO: result: no" >&5
33650 echo "${ECHO_T}no" >&6; }
33651 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
33652 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
33653 { (exit 1); exit 1; }; }
33654
33655
33656 fi
33657
33658 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33659 conftest$ac_exeext conftest.$ac_ext
33660
33661 CFLAGS=$save_CFLAGS
33662 LIBS="$save_LIBS"
33663 fi
33664
33665 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
33666 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
33667 libp_link=""
33668 libsm_ice_link=""
33669 libs_found=0
33670 for libp in "" " -lXp"; do
33671 if test "$libs_found" = 0; then
33672 for libsm_ice in "" " -lSM -lICE"; do
33673 if test "$libs_found" = 0; then
33674 save_LIBS="$LIBS"
33675 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
33676 save_CFLAGS=$CFLAGS
33677 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33678
33679 cat >conftest.$ac_ext <<_ACEOF
33680 /* confdefs.h. */
33681 _ACEOF
33682 cat confdefs.h >>conftest.$ac_ext
33683 cat >>conftest.$ac_ext <<_ACEOF
33684 /* end confdefs.h. */
33685
33686 #include <Xm/Xm.h>
33687 #include <Xm/List.h>
33688
33689 int
33690 main ()
33691 {
33692
33693 XmString string = NULL;
33694 Widget w = NULL;
33695 int position = 0;
33696 XmListAddItem(w, string, position);
33697
33698 ;
33699 return 0;
33700 }
33701 _ACEOF
33702 rm -f conftest.$ac_objext conftest$ac_exeext
33703 if { (ac_try="$ac_link"
33704 case "(($ac_try" in
33705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33706 *) ac_try_echo=$ac_try;;
33707 esac
33708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33709 (eval "$ac_link") 2>conftest.er1
33710 ac_status=$?
33711 grep -v '^ *+' conftest.er1 >conftest.err
33712 rm -f conftest.er1
33713 cat conftest.err >&5
33714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33715 (exit $ac_status); } && {
33716 test -z "$ac_c_werror_flag" ||
33717 test ! -s conftest.err
33718 } && test -s conftest$ac_exeext &&
33719 $as_test_x conftest$ac_exeext; then
33720
33721 libp_link="$libp"
33722 libsm_ice_link="$libsm_ice"
33723 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
33724 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
33725 libs_found=1
33726
33727 else
33728 echo "$as_me: failed program was:" >&5
33729 sed 's/^/| /' conftest.$ac_ext >&5
33730
33731
33732
33733 fi
33734
33735 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33736 conftest$ac_exeext conftest.$ac_ext
33737
33738 LIBS="$save_LIBS"
33739 CFLAGS=$save_CFLAGS
33740 fi
33741 done
33742 fi
33743 done
33744
33745 if test "$libs_found" = 0; then
33746 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
33747 echo "${ECHO_T}can't find the right libraries" >&6; }
33748 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
33749 echo "$as_me: error: can't link a simple motif program" >&2;}
33750 { (exit 1); exit 1; }; }
33751 fi
33752
33753 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
33754 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
33755 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
33756 echo $ECHO_N "(cached) $ECHO_C" >&6
33757 else
33758 ac_check_lib_save_LIBS=$LIBS
33759 LIBS="-lSgm $LIBS"
33760 cat >conftest.$ac_ext <<_ACEOF
33761 /* confdefs.h. */
33762 _ACEOF
33763 cat confdefs.h >>conftest.$ac_ext
33764 cat >>conftest.$ac_ext <<_ACEOF
33765 /* end confdefs.h. */
33766
33767 /* Override any GCC internal prototype to avoid an error.
33768 Use char because int might match the return type of a GCC
33769 builtin and then its argument prototype would still apply. */
33770 #ifdef __cplusplus
33771 extern "C"
33772 #endif
33773 char SgCreateList ();
33774 int
33775 main ()
33776 {
33777 return SgCreateList ();
33778 ;
33779 return 0;
33780 }
33781 _ACEOF
33782 rm -f conftest.$ac_objext conftest$ac_exeext
33783 if { (ac_try="$ac_link"
33784 case "(($ac_try" in
33785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33786 *) ac_try_echo=$ac_try;;
33787 esac
33788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33789 (eval "$ac_link") 2>conftest.er1
33790 ac_status=$?
33791 grep -v '^ *+' conftest.er1 >conftest.err
33792 rm -f conftest.er1
33793 cat conftest.err >&5
33794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33795 (exit $ac_status); } && {
33796 test -z "$ac_c_werror_flag" ||
33797 test ! -s conftest.err
33798 } && test -s conftest$ac_exeext &&
33799 $as_test_x conftest$ac_exeext; then
33800 ac_cv_lib_Sgm_SgCreateList=yes
33801 else
33802 echo "$as_me: failed program was:" >&5
33803 sed 's/^/| /' conftest.$ac_ext >&5
33804
33805 ac_cv_lib_Sgm_SgCreateList=no
33806 fi
33807
33808 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33809 conftest$ac_exeext conftest.$ac_ext
33810 LIBS=$ac_check_lib_save_LIBS
33811 fi
33812 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
33813 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
33814 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
33815 libsgm_link=" -lSgm"
33816 fi
33817
33818
33819 save_CFLAGS=$CFLAGS
33820 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33821
33822 { echo "$as_me:$LINENO: checking for Motif 2" >&5
33823 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
33824 if test "${wx_cv_lib_motif2+set}" = set; then
33825 echo $ECHO_N "(cached) $ECHO_C" >&6
33826 else
33827 cat >conftest.$ac_ext <<_ACEOF
33828 /* confdefs.h. */
33829 _ACEOF
33830 cat confdefs.h >>conftest.$ac_ext
33831 cat >>conftest.$ac_ext <<_ACEOF
33832 /* end confdefs.h. */
33833
33834 #include <Xm/Xm.h>
33835
33836 int
33837 main ()
33838 {
33839
33840 #if XmVersion < 2000
33841 Not Motif 2
33842 #endif
33843
33844 ;
33845 return 0;
33846 }
33847 _ACEOF
33848 rm -f conftest.$ac_objext
33849 if { (ac_try="$ac_compile"
33850 case "(($ac_try" in
33851 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33852 *) ac_try_echo=$ac_try;;
33853 esac
33854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33855 (eval "$ac_compile") 2>conftest.er1
33856 ac_status=$?
33857 grep -v '^ *+' conftest.er1 >conftest.err
33858 rm -f conftest.er1
33859 cat conftest.err >&5
33860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33861 (exit $ac_status); } && {
33862 test -z "$ac_c_werror_flag" ||
33863 test ! -s conftest.err
33864 } && test -s conftest.$ac_objext; then
33865 wx_cv_lib_motif2="yes"
33866 else
33867 echo "$as_me: failed program was:" >&5
33868 sed 's/^/| /' conftest.$ac_ext >&5
33869
33870 wx_cv_lib_motif2="no"
33871 fi
33872
33873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33874 fi
33875 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
33876 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
33877 if test "$wx_cv_lib_motif2" = "yes"; then
33878 cat >>confdefs.h <<\_ACEOF
33879 #define __WXMOTIF20__ 1
33880 _ACEOF
33881
33882 else
33883 cat >>confdefs.h <<\_ACEOF
33884 #define __WXMOTIF20__ 0
33885 _ACEOF
33886
33887 fi
33888
33889 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
33890 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
33891 if test "${wx_cv_lib_lesstif+set}" = set; then
33892 echo $ECHO_N "(cached) $ECHO_C" >&6
33893 else
33894 cat >conftest.$ac_ext <<_ACEOF
33895 /* confdefs.h. */
33896 _ACEOF
33897 cat confdefs.h >>conftest.$ac_ext
33898 cat >>conftest.$ac_ext <<_ACEOF
33899 /* end confdefs.h. */
33900
33901 #include <Xm/Xm.h>
33902
33903 int
33904 main ()
33905 {
33906
33907 #if !defined(LesstifVersion) || LesstifVersion <= 0
33908 Not Lesstif
33909 #endif
33910
33911 ;
33912 return 0;
33913 }
33914 _ACEOF
33915 rm -f conftest.$ac_objext
33916 if { (ac_try="$ac_compile"
33917 case "(($ac_try" in
33918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33919 *) ac_try_echo=$ac_try;;
33920 esac
33921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33922 (eval "$ac_compile") 2>conftest.er1
33923 ac_status=$?
33924 grep -v '^ *+' conftest.er1 >conftest.err
33925 rm -f conftest.er1
33926 cat conftest.err >&5
33927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33928 (exit $ac_status); } && {
33929 test -z "$ac_c_werror_flag" ||
33930 test ! -s conftest.err
33931 } && test -s conftest.$ac_objext; then
33932 wx_cv_lib_lesstif="yes"
33933 else
33934 echo "$as_me: failed program was:" >&5
33935 sed 's/^/| /' conftest.$ac_ext >&5
33936
33937 wx_cv_lib_lesstif="no"
33938 fi
33939
33940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33941
33942 fi
33943 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
33944 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
33945 if test "$wx_cv_lib_lesstif" = "yes"; then
33946 cat >>confdefs.h <<\_ACEOF
33947 #define __WXLESSTIF__ 1
33948 _ACEOF
33949
33950 else
33951 cat >>confdefs.h <<\_ACEOF
33952 #define __WXLESSTIF__ 0
33953 _ACEOF
33954
33955 fi
33956
33957 CFLAGS=$save_CFLAGS
33958
33959 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
33960 TOOLKIT=MOTIF
33961 GUIDIST=MOTIF_DIST
33962 fi
33963
33964 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
33965 if test "$wxUSE_LIBXPM" = "sys"; then
33966 { echo "$as_me:$LINENO: checking for Xpm library" >&5
33967 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
33968
33969 ac_find_libraries=
33970 for ac_dir in $SEARCH_LIB
33971 do
33972 for ac_extension in a so sl dylib dll.a; do
33973 if test -f "$ac_dir/libXpm.$ac_extension"; then
33974 ac_find_libraries=$ac_dir
33975 break 2
33976 fi
33977 done
33978 done
33979
33980 if test "$ac_find_libraries" != "" ; then
33981
33982 if test "$ac_find_libraries" = "default location"; then
33983 ac_path_to_link=""
33984 else
33985 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
33986 result=$?
33987 if test $result = 0; then
33988 ac_path_to_link=""
33989 else
33990 ac_path_to_link=" -L$ac_find_libraries"
33991 fi
33992 fi
33993
33994 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
33995 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33996 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33997
33998 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
33999 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
34000 if test "${wx_cv_x11_xpm_h+set}" = set; then
34001 echo $ECHO_N "(cached) $ECHO_C" >&6
34002 else
34003
34004 save_CFLAGS=$CFLAGS
34005 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34006
34007 cat >conftest.$ac_ext <<_ACEOF
34008 /* confdefs.h. */
34009 _ACEOF
34010 cat confdefs.h >>conftest.$ac_ext
34011 cat >>conftest.$ac_ext <<_ACEOF
34012 /* end confdefs.h. */
34013
34014 #include <X11/xpm.h>
34015
34016 int
34017 main ()
34018 {
34019
34020 int version;
34021 version = XpmLibraryVersion();
34022
34023 ;
34024 return 0;
34025 }
34026 _ACEOF
34027 rm -f conftest.$ac_objext
34028 if { (ac_try="$ac_compile"
34029 case "(($ac_try" in
34030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34031 *) ac_try_echo=$ac_try;;
34032 esac
34033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34034 (eval "$ac_compile") 2>conftest.er1
34035 ac_status=$?
34036 grep -v '^ *+' conftest.er1 >conftest.err
34037 rm -f conftest.er1
34038 cat conftest.err >&5
34039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34040 (exit $ac_status); } && {
34041 test -z "$ac_c_werror_flag" ||
34042 test ! -s conftest.err
34043 } && test -s conftest.$ac_objext; then
34044 wx_cv_x11_xpm_h=yes
34045 else
34046 echo "$as_me: failed program was:" >&5
34047 sed 's/^/| /' conftest.$ac_ext >&5
34048
34049 wx_cv_x11_xpm_h=no
34050
34051 fi
34052
34053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34054
34055 CFLAGS=$save_CFLAGS
34056
34057
34058 fi
34059 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
34060 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
34061
34062 if test $wx_cv_x11_xpm_h = "yes"; then
34063 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
34064 cat >>confdefs.h <<\_ACEOF
34065 #define wxHAVE_LIB_XPM 1
34066 _ACEOF
34067
34068 else
34069 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
34070 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
34071 fi
34072 fi
34073
34074 fi
34075
34076 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
34077 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
34078 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
34079 echo $ECHO_N "(cached) $ECHO_C" >&6
34080 else
34081 ac_check_lib_save_LIBS=$LIBS
34082 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
34083 cat >conftest.$ac_ext <<_ACEOF
34084 /* confdefs.h. */
34085 _ACEOF
34086 cat confdefs.h >>conftest.$ac_ext
34087 cat >>conftest.$ac_ext <<_ACEOF
34088 /* end confdefs.h. */
34089
34090 /* Override any GCC internal prototype to avoid an error.
34091 Use char because int might match the return type of a GCC
34092 builtin and then its argument prototype would still apply. */
34093 #ifdef __cplusplus
34094 extern "C"
34095 #endif
34096 char XShapeQueryExtension ();
34097 int
34098 main ()
34099 {
34100 return XShapeQueryExtension ();
34101 ;
34102 return 0;
34103 }
34104 _ACEOF
34105 rm -f conftest.$ac_objext conftest$ac_exeext
34106 if { (ac_try="$ac_link"
34107 case "(($ac_try" in
34108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34109 *) ac_try_echo=$ac_try;;
34110 esac
34111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34112 (eval "$ac_link") 2>conftest.er1
34113 ac_status=$?
34114 grep -v '^ *+' conftest.er1 >conftest.err
34115 rm -f conftest.er1
34116 cat conftest.err >&5
34117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34118 (exit $ac_status); } && {
34119 test -z "$ac_c_werror_flag" ||
34120 test ! -s conftest.err
34121 } && test -s conftest$ac_exeext &&
34122 $as_test_x conftest$ac_exeext; then
34123 ac_cv_lib_Xext_XShapeQueryExtension=yes
34124 else
34125 echo "$as_me: failed program was:" >&5
34126 sed 's/^/| /' conftest.$ac_ext >&5
34127
34128 ac_cv_lib_Xext_XShapeQueryExtension=no
34129 fi
34130
34131 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34132 conftest$ac_exeext conftest.$ac_ext
34133 LIBS=$ac_check_lib_save_LIBS
34134 fi
34135 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
34136 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
34137 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
34138
34139 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
34140 wxHAVE_XEXT_LIB=1
34141
34142 fi
34143
34144
34145 if test "$wxHAVE_XEXT_LIB" = 1; then
34146 save_CFLAGS="$CFLAGS"
34147 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34148
34149 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
34150 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
34151 cat >conftest.$ac_ext <<_ACEOF
34152 /* confdefs.h. */
34153 _ACEOF
34154 cat confdefs.h >>conftest.$ac_ext
34155 cat >>conftest.$ac_ext <<_ACEOF
34156 /* end confdefs.h. */
34157
34158 #include <X11/Xlib.h>
34159 #include <X11/extensions/shape.h>
34160
34161 int
34162 main ()
34163 {
34164
34165 int dummy1, dummy2;
34166 XShapeQueryExtension((Display*)NULL,
34167 (int*)NULL, (int*)NULL);
34168
34169 ;
34170 return 0;
34171 }
34172 _ACEOF
34173 rm -f conftest.$ac_objext
34174 if { (ac_try="$ac_compile"
34175 case "(($ac_try" in
34176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34177 *) ac_try_echo=$ac_try;;
34178 esac
34179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34180 (eval "$ac_compile") 2>conftest.er1
34181 ac_status=$?
34182 grep -v '^ *+' conftest.er1 >conftest.err
34183 rm -f conftest.er1
34184 cat conftest.err >&5
34185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34186 (exit $ac_status); } && {
34187 test -z "$ac_c_werror_flag" ||
34188 test ! -s conftest.err
34189 } && test -s conftest.$ac_objext; then
34190
34191 cat >>confdefs.h <<\_ACEOF
34192 #define HAVE_XSHAPE 1
34193 _ACEOF
34194
34195 { echo "$as_me:$LINENO: result: found" >&5
34196 echo "${ECHO_T}found" >&6; }
34197
34198 else
34199 echo "$as_me: failed program was:" >&5
34200 sed 's/^/| /' conftest.$ac_ext >&5
34201
34202
34203 { echo "$as_me:$LINENO: result: not found" >&5
34204 echo "${ECHO_T}not found" >&6; }
34205
34206 fi
34207
34208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34209 CFLAGS="$save_CFLAGS"
34210
34211 fi
34212 fi
34213
34214 if test "$wxUSE_OSX_CARBON" = 1; then
34215 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
34216 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
34217 if test "$GCC" = yes; then
34218 { echo "$as_me:$LINENO: result: gcc" >&5
34219 echo "${ECHO_T}gcc" >&6; }
34220 CPPFLAGS_PASCAL="-fpascal-strings"
34221 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
34222 { echo "$as_me:$LINENO: result: xlc" >&5
34223 echo "${ECHO_T}xlc" >&6; }
34224 CPPFLAGS_PASCAL="-qmacpstr"
34225 else
34226 { echo "$as_me:$LINENO: result: none" >&5
34227 echo "${ECHO_T}none" >&6; }
34228 fi
34229
34230 if test "x$wxUSE_UNIX" = "xyes"; then
34231 CPPFLAGS="$CPPFLAGS_PASCAL -I/Developer/Headers/FlatCarbon $CPPFLAGS"
34232 else
34233 CPPFLAGS="$CPPFLAGS_PASCAL -DTARGET_CARBON $CPPFLAGS"
34234 fi
34235
34236 TOOLKIT=OSX_CARBON
34237 GUIDIST=OSX_CARBON_DIST
34238 WXBASEPORT="_carbon"
34239
34240 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
34241 fi
34242
34243 if test "$wxUSE_OSX_COCOA" = 1; then
34244 TOOLKIT=OSX_COCOA
34245 GUIDIST=OSX_COCOA_DIST
34246
34247 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
34248 fi
34249
34250 if test "$wxUSE_OSX_IPHONE" = 1; then
34251 TOOLKIT=OSX_IPHONE
34252 fi
34253
34254 if test "$wxUSE_OLD_COCOA" = 1; then
34255 TOOLKIT=COCOA
34256 GUIDIST=COCOA_DIST
34257 fi
34258
34259 if test "$wxUSE_PM" = 1; then
34260 TOOLKIT=PM
34261 GUIDIST=PM_DIST
34262 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
34263 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
34264 if test "${wx_cv_spbcdata+set}" = set; then
34265 echo $ECHO_N "(cached) $ECHO_C" >&6
34266 else
34267
34268 cat >conftest.$ac_ext <<_ACEOF
34269 /* confdefs.h. */
34270 _ACEOF
34271 cat confdefs.h >>conftest.$ac_ext
34272 cat >>conftest.$ac_ext <<_ACEOF
34273 /* end confdefs.h. */
34274
34275 #define INCL_PM
34276 #include <os2.h>
34277
34278 int
34279 main ()
34280 {
34281
34282 SPBCDATA test;
34283
34284 ;
34285 return 0;
34286 }
34287 _ACEOF
34288 rm -f conftest.$ac_objext
34289 if { (ac_try="$ac_compile"
34290 case "(($ac_try" in
34291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34292 *) ac_try_echo=$ac_try;;
34293 esac
34294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34295 (eval "$ac_compile") 2>conftest.er1
34296 ac_status=$?
34297 grep -v '^ *+' conftest.er1 >conftest.err
34298 rm -f conftest.er1
34299 cat conftest.err >&5
34300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34301 (exit $ac_status); } && {
34302 test -z "$ac_c_werror_flag" ||
34303 test ! -s conftest.err
34304 } && test -s conftest.$ac_objext; then
34305 wx_cv_spbcdata=yes
34306 else
34307 echo "$as_me: failed program was:" >&5
34308 sed 's/^/| /' conftest.$ac_ext >&5
34309
34310 wx_cv_spbcdata=no
34311
34312 fi
34313
34314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34315
34316
34317 fi
34318 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
34319 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
34320
34321 if test $wx_cv_spbcdata = "yes"; then
34322 cat >>confdefs.h <<\_ACEOF
34323 #define HAVE_SPBCDATA 1
34324 _ACEOF
34325
34326 fi
34327 fi
34328
34329 if test "$TOOLKIT" = "PM" ; then
34330 TOOLKIT_DIR="os2"
34331 else
34332 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
34333 fi
34334
34335 if test "$wxUSE_UNIVERSAL" = "yes"; then
34336 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
34337 WIDGET_SET=univ
34338 fi
34339
34340 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
34341 DISTDIR="wx\$(TOOLKIT)"
34342 else
34343 USE_GUI=0
34344
34345 TOOLKIT_DIR="base"
34346
34347 if test "$USE_WIN32" = 1 ; then
34348 TOOLKIT="MSW"
34349 fi
34350
34351 GUIDIST="BASE_DIST"
34352 DISTDIR="wxBase"
34353 fi
34354
34355
34356
34357 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
34358 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
34359 wxUSE_UNICODE_UTF8=yes
34360 elif test "$USE_OS2" = 1 ; then
34361 wxUSE_UNICODE_UTF8=yes
34362 else
34363 wxUSE_UNICODE_UTF8=no
34364 fi
34365 fi
34366
34367
34368 if test "$wxUSE_GUI" = "yes"; then
34369 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
34370
34371 for ac_header in X11/Xlib.h
34372 do
34373 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34374 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34375 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34376 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34377 echo $ECHO_N "(cached) $ECHO_C" >&6
34378 else
34379 cat >conftest.$ac_ext <<_ACEOF
34380 /* confdefs.h. */
34381 _ACEOF
34382 cat confdefs.h >>conftest.$ac_ext
34383 cat >>conftest.$ac_ext <<_ACEOF
34384 /* end confdefs.h. */
34385
34386
34387 #include <$ac_header>
34388 _ACEOF
34389 rm -f conftest.$ac_objext
34390 if { (ac_try="$ac_compile"
34391 case "(($ac_try" in
34392 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34393 *) ac_try_echo=$ac_try;;
34394 esac
34395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34396 (eval "$ac_compile") 2>conftest.er1
34397 ac_status=$?
34398 grep -v '^ *+' conftest.er1 >conftest.err
34399 rm -f conftest.er1
34400 cat conftest.err >&5
34401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34402 (exit $ac_status); } && {
34403 test -z "$ac_c_werror_flag" ||
34404 test ! -s conftest.err
34405 } && test -s conftest.$ac_objext; then
34406 eval "$as_ac_Header=yes"
34407 else
34408 echo "$as_me: failed program was:" >&5
34409 sed 's/^/| /' conftest.$ac_ext >&5
34410
34411 eval "$as_ac_Header=no"
34412 fi
34413
34414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34415 fi
34416 ac_res=`eval echo '${'$as_ac_Header'}'`
34417 { echo "$as_me:$LINENO: result: $ac_res" >&5
34418 echo "${ECHO_T}$ac_res" >&6; }
34419 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34420 cat >>confdefs.h <<_ACEOF
34421 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34422 _ACEOF
34423
34424 fi
34425
34426 done
34427
34428
34429 for ac_header in X11/XKBlib.h
34430 do
34431 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34432 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34433 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34434 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34435 echo $ECHO_N "(cached) $ECHO_C" >&6
34436 else
34437 cat >conftest.$ac_ext <<_ACEOF
34438 /* confdefs.h. */
34439 _ACEOF
34440 cat confdefs.h >>conftest.$ac_ext
34441 cat >>conftest.$ac_ext <<_ACEOF
34442 /* end confdefs.h. */
34443
34444 #if HAVE_X11_XLIB_H
34445 #include <X11/Xlib.h>
34446 #endif
34447
34448
34449 #include <$ac_header>
34450 _ACEOF
34451 rm -f conftest.$ac_objext
34452 if { (ac_try="$ac_compile"
34453 case "(($ac_try" in
34454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34455 *) ac_try_echo=$ac_try;;
34456 esac
34457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34458 (eval "$ac_compile") 2>conftest.er1
34459 ac_status=$?
34460 grep -v '^ *+' conftest.er1 >conftest.err
34461 rm -f conftest.er1
34462 cat conftest.err >&5
34463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34464 (exit $ac_status); } && {
34465 test -z "$ac_c_werror_flag" ||
34466 test ! -s conftest.err
34467 } && test -s conftest.$ac_objext; then
34468 eval "$as_ac_Header=yes"
34469 else
34470 echo "$as_me: failed program was:" >&5
34471 sed 's/^/| /' conftest.$ac_ext >&5
34472
34473 eval "$as_ac_Header=no"
34474 fi
34475
34476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34477 fi
34478 ac_res=`eval echo '${'$as_ac_Header'}'`
34479 { echo "$as_me:$LINENO: result: $ac_res" >&5
34480 echo "${ECHO_T}$ac_res" >&6; }
34481 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34482 cat >>confdefs.h <<_ACEOF
34483 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34484 _ACEOF
34485
34486 fi
34487
34488 done
34489
34490 fi
34491 fi
34492
34493
34494
34495 USE_XINERAMA=0
34496 if test "$wxUSE_DISPLAY" = "yes"; then
34497 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK1" = 1; then
34498
34499 ac_find_libraries=
34500
34501 fl_pkgname=`echo "Xinerama" | tr [:upper:] [:lower:]`
34502
34503
34504 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
34505 if test -n "$ac_tool_prefix"; then
34506 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
34507 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
34508 { echo "$as_me:$LINENO: checking for $ac_word" >&5
34509 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
34510 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
34511 echo $ECHO_N "(cached) $ECHO_C" >&6
34512 else
34513 case $PKG_CONFIG in
34514 [\\/]* | ?:[\\/]*)
34515 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
34516 ;;
34517 *)
34518 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34519 for as_dir in $PATH
34520 do
34521 IFS=$as_save_IFS
34522 test -z "$as_dir" && as_dir=.
34523 for ac_exec_ext in '' $ac_executable_extensions; do
34524 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
34525 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
34526 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34527 break 2
34528 fi
34529 done
34530 done
34531 IFS=$as_save_IFS
34532
34533 ;;
34534 esac
34535 fi
34536 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
34537 if test -n "$PKG_CONFIG"; then
34538 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
34539 echo "${ECHO_T}$PKG_CONFIG" >&6; }
34540 else
34541 { echo "$as_me:$LINENO: result: no" >&5
34542 echo "${ECHO_T}no" >&6; }
34543 fi
34544
34545
34546 fi
34547 if test -z "$ac_cv_path_PKG_CONFIG"; then
34548 ac_pt_PKG_CONFIG=$PKG_CONFIG
34549 # Extract the first word of "pkg-config", so it can be a program name with args.
34550 set dummy pkg-config; ac_word=$2
34551 { echo "$as_me:$LINENO: checking for $ac_word" >&5
34552 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
34553 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
34554 echo $ECHO_N "(cached) $ECHO_C" >&6
34555 else
34556 case $ac_pt_PKG_CONFIG in
34557 [\\/]* | ?:[\\/]*)
34558 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
34559 ;;
34560 *)
34561 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34562 for as_dir in $PATH
34563 do
34564 IFS=$as_save_IFS
34565 test -z "$as_dir" && as_dir=.
34566 for ac_exec_ext in '' $ac_executable_extensions; do
34567 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
34568 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
34569 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34570 break 2
34571 fi
34572 done
34573 done
34574 IFS=$as_save_IFS
34575
34576 ;;
34577 esac
34578 fi
34579 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
34580 if test -n "$ac_pt_PKG_CONFIG"; then
34581 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
34582 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
34583 else
34584 { echo "$as_me:$LINENO: result: no" >&5
34585 echo "${ECHO_T}no" >&6; }
34586 fi
34587
34588 if test "x$ac_pt_PKG_CONFIG" = x; then
34589 PKG_CONFIG=""
34590 else
34591 case $cross_compiling:$ac_tool_warned in
34592 yes:)
34593 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
34594 whose name does not start with the host triplet. If you think this
34595 configuration is useful to you, please write to autoconf@gnu.org." >&5
34596 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
34597 whose name does not start with the host triplet. If you think this
34598 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
34599 ac_tool_warned=yes ;;
34600 esac
34601 PKG_CONFIG=$ac_pt_PKG_CONFIG
34602 fi
34603 else
34604 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
34605 fi
34606
34607 fi
34608 if test -n "$PKG_CONFIG"; then
34609 _pkg_min_version=0.9.0
34610 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
34611 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
34612 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
34613 { echo "$as_me:$LINENO: result: yes" >&5
34614 echo "${ECHO_T}yes" >&6; }
34615 else
34616 { echo "$as_me:$LINENO: result: no" >&5
34617 echo "${ECHO_T}no" >&6; }
34618 PKG_CONFIG=""
34619 fi
34620
34621 fi 6> /dev/null
34622
34623 pkg_failed=no
34624 { echo "$as_me:$LINENO: checking for Xinerama" >&5
34625 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
34626
34627 if test -n "$PKG_CONFIG"; then
34628 if test -n "$Xinerama_CFLAGS"; then
34629 pkg_cv_Xinerama_CFLAGS="$Xinerama_CFLAGS"
34630 else
34631 if test -n "$PKG_CONFIG" && \
34632 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\"") >&5
34633 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
34634 ac_status=$?
34635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34636 (exit $ac_status); }; then
34637 pkg_cv_Xinerama_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
34638 else
34639 pkg_failed=yes
34640 fi
34641 fi
34642 else
34643 pkg_failed=untried
34644 fi
34645 if test -n "$PKG_CONFIG"; then
34646 if test -n "$Xinerama_LIBS"; then
34647 pkg_cv_Xinerama_LIBS="$Xinerama_LIBS"
34648 else
34649 if test -n "$PKG_CONFIG" && \
34650 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\"") >&5
34651 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
34652 ac_status=$?
34653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34654 (exit $ac_status); }; then
34655 pkg_cv_Xinerama_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
34656 else
34657 pkg_failed=yes
34658 fi
34659 fi
34660 else
34661 pkg_failed=untried
34662 fi
34663
34664
34665
34666 if test $pkg_failed = yes; then
34667
34668 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34669 _pkg_short_errors_supported=yes
34670 else
34671 _pkg_short_errors_supported=no
34672 fi
34673 if test $_pkg_short_errors_supported = yes; then
34674 Xinerama_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
34675 else
34676 Xinerama_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
34677 fi
34678 # Put the nasty error message in config.log where it belongs
34679 echo "$Xinerama_PKG_ERRORS" >&5
34680
34681
34682 if test "x$ac_find_libraries" = "x"; then
34683 if test "xXineramaQueryScreens" != "x"; then
34684 { echo "$as_me:$LINENO: checking for XineramaQueryScreens in -lXinerama" >&5
34685 echo $ECHO_N "checking for XineramaQueryScreens in -lXinerama... $ECHO_C" >&6; }
34686 if test "${ac_cv_lib_Xinerama_XineramaQueryScreens+set}" = set; then
34687 echo $ECHO_N "(cached) $ECHO_C" >&6
34688 else
34689 ac_check_lib_save_LIBS=$LIBS
34690 LIBS="-lXinerama $LIBS"
34691 cat >conftest.$ac_ext <<_ACEOF
34692 /* confdefs.h. */
34693 _ACEOF
34694 cat confdefs.h >>conftest.$ac_ext
34695 cat >>conftest.$ac_ext <<_ACEOF
34696 /* end confdefs.h. */
34697
34698 /* Override any GCC internal prototype to avoid an error.
34699 Use char because int might match the return type of a GCC
34700 builtin and then its argument prototype would still apply. */
34701 #ifdef __cplusplus
34702 extern "C"
34703 #endif
34704 char XineramaQueryScreens ();
34705 int
34706 main ()
34707 {
34708 return XineramaQueryScreens ();
34709 ;
34710 return 0;
34711 }
34712 _ACEOF
34713 rm -f conftest.$ac_objext conftest$ac_exeext
34714 if { (ac_try="$ac_link"
34715 case "(($ac_try" in
34716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34717 *) ac_try_echo=$ac_try;;
34718 esac
34719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34720 (eval "$ac_link") 2>conftest.er1
34721 ac_status=$?
34722 grep -v '^ *+' conftest.er1 >conftest.err
34723 rm -f conftest.er1
34724 cat conftest.err >&5
34725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34726 (exit $ac_status); } && {
34727 test -z "$ac_c_werror_flag" ||
34728 test ! -s conftest.err
34729 } && test -s conftest$ac_exeext &&
34730 $as_test_x conftest$ac_exeext; then
34731 ac_cv_lib_Xinerama_XineramaQueryScreens=yes
34732 else
34733 echo "$as_me: failed program was:" >&5
34734 sed 's/^/| /' conftest.$ac_ext >&5
34735
34736 ac_cv_lib_Xinerama_XineramaQueryScreens=no
34737 fi
34738
34739 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34740 conftest$ac_exeext conftest.$ac_ext
34741 LIBS=$ac_check_lib_save_LIBS
34742 fi
34743 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xinerama_XineramaQueryScreens" >&5
34744 echo "${ECHO_T}$ac_cv_lib_Xinerama_XineramaQueryScreens" >&6; }
34745 if test $ac_cv_lib_Xinerama_XineramaQueryScreens = yes; then
34746 ac_find_libraries="std"
34747 fi
34748
34749 fi
34750 fi
34751
34752 if test "x$ac_find_libraries" = "x"; then
34753 { echo "$as_me:$LINENO: checking elsewhere" >&5
34754 echo $ECHO_N "checking elsewhere... $ECHO_C" >&6; }
34755
34756 ac_find_libraries=
34757 for ac_dir in $SEARCH_LIB
34758 do
34759 for ac_extension in a so sl dylib dll.a; do
34760 if test -f "$ac_dir/libXinerama.$ac_extension"; then
34761 ac_find_libraries=$ac_dir
34762 break 2
34763 fi
34764 done
34765 done
34766
34767 if test "x$ac_find_libraries" != "x"; then
34768 { echo "$as_me:$LINENO: result: yes" >&5
34769 echo "${ECHO_T}yes" >&6; }
34770 else
34771 { echo "$as_me:$LINENO: result: no" >&5
34772 echo "${ECHO_T}no" >&6; }
34773 fi
34774 fi
34775
34776 elif test $pkg_failed = untried; then
34777
34778 if test "x$ac_find_libraries" = "x"; then
34779 if test "xXineramaQueryScreens" != "x"; then
34780 { echo "$as_me:$LINENO: checking for XineramaQueryScreens in -lXinerama" >&5
34781 echo $ECHO_N "checking for XineramaQueryScreens in -lXinerama... $ECHO_C" >&6; }
34782 if test "${ac_cv_lib_Xinerama_XineramaQueryScreens+set}" = set; then
34783 echo $ECHO_N "(cached) $ECHO_C" >&6
34784 else
34785 ac_check_lib_save_LIBS=$LIBS
34786 LIBS="-lXinerama $LIBS"
34787 cat >conftest.$ac_ext <<_ACEOF
34788 /* confdefs.h. */
34789 _ACEOF
34790 cat confdefs.h >>conftest.$ac_ext
34791 cat >>conftest.$ac_ext <<_ACEOF
34792 /* end confdefs.h. */
34793
34794 /* Override any GCC internal prototype to avoid an error.
34795 Use char because int might match the return type of a GCC
34796 builtin and then its argument prototype would still apply. */
34797 #ifdef __cplusplus
34798 extern "C"
34799 #endif
34800 char XineramaQueryScreens ();
34801 int
34802 main ()
34803 {
34804 return XineramaQueryScreens ();
34805 ;
34806 return 0;
34807 }
34808 _ACEOF
34809 rm -f conftest.$ac_objext conftest$ac_exeext
34810 if { (ac_try="$ac_link"
34811 case "(($ac_try" in
34812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34813 *) ac_try_echo=$ac_try;;
34814 esac
34815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34816 (eval "$ac_link") 2>conftest.er1
34817 ac_status=$?
34818 grep -v '^ *+' conftest.er1 >conftest.err
34819 rm -f conftest.er1
34820 cat conftest.err >&5
34821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34822 (exit $ac_status); } && {
34823 test -z "$ac_c_werror_flag" ||
34824 test ! -s conftest.err
34825 } && test -s conftest$ac_exeext &&
34826 $as_test_x conftest$ac_exeext; then
34827 ac_cv_lib_Xinerama_XineramaQueryScreens=yes
34828 else
34829 echo "$as_me: failed program was:" >&5
34830 sed 's/^/| /' conftest.$ac_ext >&5
34831
34832 ac_cv_lib_Xinerama_XineramaQueryScreens=no
34833 fi
34834
34835 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34836 conftest$ac_exeext conftest.$ac_ext
34837 LIBS=$ac_check_lib_save_LIBS
34838 fi
34839 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xinerama_XineramaQueryScreens" >&5
34840 echo "${ECHO_T}$ac_cv_lib_Xinerama_XineramaQueryScreens" >&6; }
34841 if test $ac_cv_lib_Xinerama_XineramaQueryScreens = yes; then
34842 ac_find_libraries="std"
34843 fi
34844
34845 fi
34846 fi
34847
34848 if test "x$ac_find_libraries" = "x"; then
34849 { echo "$as_me:$LINENO: checking elsewhere" >&5
34850 echo $ECHO_N "checking elsewhere... $ECHO_C" >&6; }
34851
34852 ac_find_libraries=
34853 for ac_dir in $SEARCH_LIB
34854 do
34855 for ac_extension in a so sl dylib dll.a; do
34856 if test -f "$ac_dir/libXinerama.$ac_extension"; then
34857 ac_find_libraries=$ac_dir
34858 break 2
34859 fi
34860 done
34861 done
34862
34863 if test "x$ac_find_libraries" != "x"; then
34864 { echo "$as_me:$LINENO: result: yes" >&5
34865 echo "${ECHO_T}yes" >&6; }
34866 else
34867 { echo "$as_me:$LINENO: result: no" >&5
34868 echo "${ECHO_T}no" >&6; }
34869 fi
34870 fi
34871
34872 else
34873 Xinerama_CFLAGS=$pkg_cv_Xinerama_CFLAGS
34874 Xinerama_LIBS=$pkg_cv_Xinerama_LIBS
34875 { echo "$as_me:$LINENO: result: yes" >&5
34876 echo "${ECHO_T}yes" >&6; }
34877
34878 ac_find_libraries="std"
34879
34880 eval ac_find_cflags=\$Xinerama_CFLAGS
34881 eval fl_libs=\$Xinerama_LIBS
34882
34883 for fl_path in $fl_libs
34884 do
34885 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
34886 ac_find_libraries=`echo "$fl_path" | cut -c 3-`
34887 fi
34888 done
34889
34890 fi
34891
34892 if test "$ac_find_libraries" != "" ; then
34893 if test "$ac_find_libraries" != "std" ; then
34894
34895 if test "$ac_find_libraries" = "default location"; then
34896 ac_path_to_link=""
34897 else
34898 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34899 result=$?
34900 if test $result = 0; then
34901 ac_path_to_link=""
34902 else
34903 ac_path_to_link=" -L$ac_find_libraries"
34904 fi
34905 fi
34906
34907 if test "$ac_path_to_link" != " -L/usr/lib" ; then
34908 LDFLAGS="$LDFLAGS $ac_path_to_link"
34909 fi
34910 fi
34911 USE_XINERAMA=1
34912 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
34913 else
34914 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
34915 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
34916 wxUSE_DISPLAY="no"
34917 fi
34918 elif test "$wxUSE_MSW" = 1; then
34919 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
34920 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
34921 if test "${ac_cv_header_ddraw_h+set}" = set; then
34922 echo $ECHO_N "(cached) $ECHO_C" >&6
34923 else
34924 cat >conftest.$ac_ext <<_ACEOF
34925 /* confdefs.h. */
34926 _ACEOF
34927 cat confdefs.h >>conftest.$ac_ext
34928 cat >>conftest.$ac_ext <<_ACEOF
34929 /* end confdefs.h. */
34930 #include <windows.h>
34931
34932 #include <ddraw.h>
34933 _ACEOF
34934 rm -f conftest.$ac_objext
34935 if { (ac_try="$ac_compile"
34936 case "(($ac_try" in
34937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34938 *) ac_try_echo=$ac_try;;
34939 esac
34940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34941 (eval "$ac_compile") 2>conftest.er1
34942 ac_status=$?
34943 grep -v '^ *+' conftest.er1 >conftest.err
34944 rm -f conftest.er1
34945 cat conftest.err >&5
34946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34947 (exit $ac_status); } && {
34948 test -z "$ac_c_werror_flag" ||
34949 test ! -s conftest.err
34950 } && test -s conftest.$ac_objext; then
34951 ac_cv_header_ddraw_h=yes
34952 else
34953 echo "$as_me: failed program was:" >&5
34954 sed 's/^/| /' conftest.$ac_ext >&5
34955
34956 ac_cv_header_ddraw_h=no
34957 fi
34958
34959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34960 fi
34961 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
34962 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
34963
34964
34965 fi
34966 fi
34967
34968 if test "$wxUSE_DISPLAY" = "yes"; then
34969 if test "$USE_XINERAMA" = 1 -o "$wxUSE_GTK" = 1; then
34970
34971 ac_find_libraries=
34972
34973 fl_pkgname=`echo "Xxf86vm" | tr [:upper:] [:lower:]`
34974
34975
34976 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
34977 if test -n "$ac_tool_prefix"; then
34978 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
34979 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
34980 { echo "$as_me:$LINENO: checking for $ac_word" >&5
34981 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
34982 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
34983 echo $ECHO_N "(cached) $ECHO_C" >&6
34984 else
34985 case $PKG_CONFIG in
34986 [\\/]* | ?:[\\/]*)
34987 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
34988 ;;
34989 *)
34990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34991 for as_dir in $PATH
34992 do
34993 IFS=$as_save_IFS
34994 test -z "$as_dir" && as_dir=.
34995 for ac_exec_ext in '' $ac_executable_extensions; do
34996 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
34997 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
34998 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34999 break 2
35000 fi
35001 done
35002 done
35003 IFS=$as_save_IFS
35004
35005 ;;
35006 esac
35007 fi
35008 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
35009 if test -n "$PKG_CONFIG"; then
35010 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
35011 echo "${ECHO_T}$PKG_CONFIG" >&6; }
35012 else
35013 { echo "$as_me:$LINENO: result: no" >&5
35014 echo "${ECHO_T}no" >&6; }
35015 fi
35016
35017
35018 fi
35019 if test -z "$ac_cv_path_PKG_CONFIG"; then
35020 ac_pt_PKG_CONFIG=$PKG_CONFIG
35021 # Extract the first word of "pkg-config", so it can be a program name with args.
35022 set dummy pkg-config; ac_word=$2
35023 { echo "$as_me:$LINENO: checking for $ac_word" >&5
35024 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
35025 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
35026 echo $ECHO_N "(cached) $ECHO_C" >&6
35027 else
35028 case $ac_pt_PKG_CONFIG in
35029 [\\/]* | ?:[\\/]*)
35030 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
35031 ;;
35032 *)
35033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35034 for as_dir in $PATH
35035 do
35036 IFS=$as_save_IFS
35037 test -z "$as_dir" && as_dir=.
35038 for ac_exec_ext in '' $ac_executable_extensions; do
35039 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
35040 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
35041 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35042 break 2
35043 fi
35044 done
35045 done
35046 IFS=$as_save_IFS
35047
35048 ;;
35049 esac
35050 fi
35051 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
35052 if test -n "$ac_pt_PKG_CONFIG"; then
35053 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
35054 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
35055 else
35056 { echo "$as_me:$LINENO: result: no" >&5
35057 echo "${ECHO_T}no" >&6; }
35058 fi
35059
35060 if test "x$ac_pt_PKG_CONFIG" = x; then
35061 PKG_CONFIG=""
35062 else
35063 case $cross_compiling:$ac_tool_warned in
35064 yes:)
35065 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
35066 whose name does not start with the host triplet. If you think this
35067 configuration is useful to you, please write to autoconf@gnu.org." >&5
35068 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
35069 whose name does not start with the host triplet. If you think this
35070 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
35071 ac_tool_warned=yes ;;
35072 esac
35073 PKG_CONFIG=$ac_pt_PKG_CONFIG
35074 fi
35075 else
35076 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
35077 fi
35078
35079 fi
35080 if test -n "$PKG_CONFIG"; then
35081 _pkg_min_version=0.9.0
35082 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
35083 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
35084 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
35085 { echo "$as_me:$LINENO: result: yes" >&5
35086 echo "${ECHO_T}yes" >&6; }
35087 else
35088 { echo "$as_me:$LINENO: result: no" >&5
35089 echo "${ECHO_T}no" >&6; }
35090 PKG_CONFIG=""
35091 fi
35092
35093 fi 6> /dev/null
35094
35095 pkg_failed=no
35096 { echo "$as_me:$LINENO: checking for Xxf86vm" >&5
35097 echo $ECHO_N "checking for Xxf86vm... $ECHO_C" >&6; }
35098
35099 if test -n "$PKG_CONFIG"; then
35100 if test -n "$Xxf86vm_CFLAGS"; then
35101 pkg_cv_Xxf86vm_CFLAGS="$Xxf86vm_CFLAGS"
35102 else
35103 if test -n "$PKG_CONFIG" && \
35104 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\"") >&5
35105 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
35106 ac_status=$?
35107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35108 (exit $ac_status); }; then
35109 pkg_cv_Xxf86vm_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
35110 else
35111 pkg_failed=yes
35112 fi
35113 fi
35114 else
35115 pkg_failed=untried
35116 fi
35117 if test -n "$PKG_CONFIG"; then
35118 if test -n "$Xxf86vm_LIBS"; then
35119 pkg_cv_Xxf86vm_LIBS="$Xxf86vm_LIBS"
35120 else
35121 if test -n "$PKG_CONFIG" && \
35122 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\"") >&5
35123 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
35124 ac_status=$?
35125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35126 (exit $ac_status); }; then
35127 pkg_cv_Xxf86vm_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
35128 else
35129 pkg_failed=yes
35130 fi
35131 fi
35132 else
35133 pkg_failed=untried
35134 fi
35135
35136
35137
35138 if test $pkg_failed = yes; then
35139
35140 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
35141 _pkg_short_errors_supported=yes
35142 else
35143 _pkg_short_errors_supported=no
35144 fi
35145 if test $_pkg_short_errors_supported = yes; then
35146 Xxf86vm_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
35147 else
35148 Xxf86vm_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
35149 fi
35150 # Put the nasty error message in config.log where it belongs
35151 echo "$Xxf86vm_PKG_ERRORS" >&5
35152
35153
35154 if test "x$ac_find_libraries" = "x"; then
35155 if test "xXF86VidModeQueryExtension" != "x"; then
35156 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
35157 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
35158 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
35159 echo $ECHO_N "(cached) $ECHO_C" >&6
35160 else
35161 ac_check_lib_save_LIBS=$LIBS
35162 LIBS="-lXxf86vm $LIBS"
35163 cat >conftest.$ac_ext <<_ACEOF
35164 /* confdefs.h. */
35165 _ACEOF
35166 cat confdefs.h >>conftest.$ac_ext
35167 cat >>conftest.$ac_ext <<_ACEOF
35168 /* end confdefs.h. */
35169
35170 /* Override any GCC internal prototype to avoid an error.
35171 Use char because int might match the return type of a GCC
35172 builtin and then its argument prototype would still apply. */
35173 #ifdef __cplusplus
35174 extern "C"
35175 #endif
35176 char XF86VidModeQueryExtension ();
35177 int
35178 main ()
35179 {
35180 return XF86VidModeQueryExtension ();
35181 ;
35182 return 0;
35183 }
35184 _ACEOF
35185 rm -f conftest.$ac_objext conftest$ac_exeext
35186 if { (ac_try="$ac_link"
35187 case "(($ac_try" in
35188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35189 *) ac_try_echo=$ac_try;;
35190 esac
35191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35192 (eval "$ac_link") 2>conftest.er1
35193 ac_status=$?
35194 grep -v '^ *+' conftest.er1 >conftest.err
35195 rm -f conftest.er1
35196 cat conftest.err >&5
35197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35198 (exit $ac_status); } && {
35199 test -z "$ac_c_werror_flag" ||
35200 test ! -s conftest.err
35201 } && test -s conftest$ac_exeext &&
35202 $as_test_x conftest$ac_exeext; then
35203 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
35204 else
35205 echo "$as_me: failed program was:" >&5
35206 sed 's/^/| /' conftest.$ac_ext >&5
35207
35208 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
35209 fi
35210
35211 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35212 conftest$ac_exeext conftest.$ac_ext
35213 LIBS=$ac_check_lib_save_LIBS
35214 fi
35215 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
35216 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
35217 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
35218 ac_find_libraries="std"
35219 fi
35220
35221 fi
35222 fi
35223
35224 if test "x$ac_find_libraries" = "x"; then
35225 { echo "$as_me:$LINENO: checking elsewhere" >&5
35226 echo $ECHO_N "checking elsewhere... $ECHO_C" >&6; }
35227
35228 ac_find_libraries=
35229 for ac_dir in $SEARCH_LIB
35230 do
35231 for ac_extension in a so sl dylib dll.a; do
35232 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
35233 ac_find_libraries=$ac_dir
35234 break 2
35235 fi
35236 done
35237 done
35238
35239 if test "x$ac_find_libraries" != "x"; then
35240 { echo "$as_me:$LINENO: result: yes" >&5
35241 echo "${ECHO_T}yes" >&6; }
35242 else
35243 { echo "$as_me:$LINENO: result: no" >&5
35244 echo "${ECHO_T}no" >&6; }
35245 fi
35246 fi
35247
35248 elif test $pkg_failed = untried; then
35249
35250 if test "x$ac_find_libraries" = "x"; then
35251 if test "xXF86VidModeQueryExtension" != "x"; then
35252 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
35253 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
35254 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
35255 echo $ECHO_N "(cached) $ECHO_C" >&6
35256 else
35257 ac_check_lib_save_LIBS=$LIBS
35258 LIBS="-lXxf86vm $LIBS"
35259 cat >conftest.$ac_ext <<_ACEOF
35260 /* confdefs.h. */
35261 _ACEOF
35262 cat confdefs.h >>conftest.$ac_ext
35263 cat >>conftest.$ac_ext <<_ACEOF
35264 /* end confdefs.h. */
35265
35266 /* Override any GCC internal prototype to avoid an error.
35267 Use char because int might match the return type of a GCC
35268 builtin and then its argument prototype would still apply. */
35269 #ifdef __cplusplus
35270 extern "C"
35271 #endif
35272 char XF86VidModeQueryExtension ();
35273 int
35274 main ()
35275 {
35276 return XF86VidModeQueryExtension ();
35277 ;
35278 return 0;
35279 }
35280 _ACEOF
35281 rm -f conftest.$ac_objext conftest$ac_exeext
35282 if { (ac_try="$ac_link"
35283 case "(($ac_try" in
35284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35285 *) ac_try_echo=$ac_try;;
35286 esac
35287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35288 (eval "$ac_link") 2>conftest.er1
35289 ac_status=$?
35290 grep -v '^ *+' conftest.er1 >conftest.err
35291 rm -f conftest.er1
35292 cat conftest.err >&5
35293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35294 (exit $ac_status); } && {
35295 test -z "$ac_c_werror_flag" ||
35296 test ! -s conftest.err
35297 } && test -s conftest$ac_exeext &&
35298 $as_test_x conftest$ac_exeext; then
35299 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
35300 else
35301 echo "$as_me: failed program was:" >&5
35302 sed 's/^/| /' conftest.$ac_ext >&5
35303
35304 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
35305 fi
35306
35307 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35308 conftest$ac_exeext conftest.$ac_ext
35309 LIBS=$ac_check_lib_save_LIBS
35310 fi
35311 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
35312 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
35313 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
35314 ac_find_libraries="std"
35315 fi
35316
35317 fi
35318 fi
35319
35320 if test "x$ac_find_libraries" = "x"; then
35321 { echo "$as_me:$LINENO: checking elsewhere" >&5
35322 echo $ECHO_N "checking elsewhere... $ECHO_C" >&6; }
35323
35324 ac_find_libraries=
35325 for ac_dir in $SEARCH_LIB
35326 do
35327 for ac_extension in a so sl dylib dll.a; do
35328 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
35329 ac_find_libraries=$ac_dir
35330 break 2
35331 fi
35332 done
35333 done
35334
35335 if test "x$ac_find_libraries" != "x"; then
35336 { echo "$as_me:$LINENO: result: yes" >&5
35337 echo "${ECHO_T}yes" >&6; }
35338 else
35339 { echo "$as_me:$LINENO: result: no" >&5
35340 echo "${ECHO_T}no" >&6; }
35341 fi
35342 fi
35343
35344 else
35345 Xxf86vm_CFLAGS=$pkg_cv_Xxf86vm_CFLAGS
35346 Xxf86vm_LIBS=$pkg_cv_Xxf86vm_LIBS
35347 { echo "$as_me:$LINENO: result: yes" >&5
35348 echo "${ECHO_T}yes" >&6; }
35349
35350 ac_find_libraries="std"
35351
35352 eval ac_find_cflags=\$Xxf86vm_CFLAGS
35353 eval fl_libs=\$Xxf86vm_LIBS
35354
35355 for fl_path in $fl_libs
35356 do
35357 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
35358 ac_find_libraries=`echo "$fl_path" | cut -c 3-`
35359 fi
35360 done
35361
35362 fi
35363
35364 if test "$ac_find_libraries" != "" ; then
35365
35366 for ac_header in X11/extensions/xf86vmode.h
35367 do
35368 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35369 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35370 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35371 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35372 echo $ECHO_N "(cached) $ECHO_C" >&6
35373 else
35374 cat >conftest.$ac_ext <<_ACEOF
35375 /* confdefs.h. */
35376 _ACEOF
35377 cat confdefs.h >>conftest.$ac_ext
35378 cat >>conftest.$ac_ext <<_ACEOF
35379 /* end confdefs.h. */
35380
35381 #if HAVE_X11_XLIB_H
35382 #include <X11/Xlib.h>
35383 #endif
35384
35385
35386 #include <$ac_header>
35387 _ACEOF
35388 rm -f conftest.$ac_objext
35389 if { (ac_try="$ac_compile"
35390 case "(($ac_try" in
35391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35392 *) ac_try_echo=$ac_try;;
35393 esac
35394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35395 (eval "$ac_compile") 2>conftest.er1
35396 ac_status=$?
35397 grep -v '^ *+' conftest.er1 >conftest.err
35398 rm -f conftest.er1
35399 cat conftest.err >&5
35400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35401 (exit $ac_status); } && {
35402 test -z "$ac_c_werror_flag" ||
35403 test ! -s conftest.err
35404 } && test -s conftest.$ac_objext; then
35405 eval "$as_ac_Header=yes"
35406 else
35407 echo "$as_me: failed program was:" >&5
35408 sed 's/^/| /' conftest.$ac_ext >&5
35409
35410 eval "$as_ac_Header=no"
35411 fi
35412
35413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35414 fi
35415 ac_res=`eval echo '${'$as_ac_Header'}'`
35416 { echo "$as_me:$LINENO: result: $ac_res" >&5
35417 echo "${ECHO_T}$ac_res" >&6; }
35418 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35419 cat >>confdefs.h <<_ACEOF
35420 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35421 _ACEOF
35422
35423 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
35424
35425 fi
35426
35427 done
35428
35429 fi
35430 fi
35431 fi
35432
35433 if test "$wxUSE_DETECT_SM" = "yes"; then
35434 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1; then
35435
35436 ac_find_libraries=
35437
35438 fl_pkgname=`echo "SM" | tr [:upper:] [:lower:]`
35439
35440
35441 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
35442 if test -n "$ac_tool_prefix"; then
35443 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
35444 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
35445 { echo "$as_me:$LINENO: checking for $ac_word" >&5
35446 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
35447 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
35448 echo $ECHO_N "(cached) $ECHO_C" >&6
35449 else
35450 case $PKG_CONFIG in
35451 [\\/]* | ?:[\\/]*)
35452 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
35453 ;;
35454 *)
35455 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35456 for as_dir in $PATH
35457 do
35458 IFS=$as_save_IFS
35459 test -z "$as_dir" && as_dir=.
35460 for ac_exec_ext in '' $ac_executable_extensions; do
35461 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
35462 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
35463 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35464 break 2
35465 fi
35466 done
35467 done
35468 IFS=$as_save_IFS
35469
35470 ;;
35471 esac
35472 fi
35473 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
35474 if test -n "$PKG_CONFIG"; then
35475 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
35476 echo "${ECHO_T}$PKG_CONFIG" >&6; }
35477 else
35478 { echo "$as_me:$LINENO: result: no" >&5
35479 echo "${ECHO_T}no" >&6; }
35480 fi
35481
35482
35483 fi
35484 if test -z "$ac_cv_path_PKG_CONFIG"; then
35485 ac_pt_PKG_CONFIG=$PKG_CONFIG
35486 # Extract the first word of "pkg-config", so it can be a program name with args.
35487 set dummy pkg-config; ac_word=$2
35488 { echo "$as_me:$LINENO: checking for $ac_word" >&5
35489 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
35490 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
35491 echo $ECHO_N "(cached) $ECHO_C" >&6
35492 else
35493 case $ac_pt_PKG_CONFIG in
35494 [\\/]* | ?:[\\/]*)
35495 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
35496 ;;
35497 *)
35498 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35499 for as_dir in $PATH
35500 do
35501 IFS=$as_save_IFS
35502 test -z "$as_dir" && as_dir=.
35503 for ac_exec_ext in '' $ac_executable_extensions; do
35504 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
35505 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
35506 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35507 break 2
35508 fi
35509 done
35510 done
35511 IFS=$as_save_IFS
35512
35513 ;;
35514 esac
35515 fi
35516 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
35517 if test -n "$ac_pt_PKG_CONFIG"; then
35518 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
35519 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
35520 else
35521 { echo "$as_me:$LINENO: result: no" >&5
35522 echo "${ECHO_T}no" >&6; }
35523 fi
35524
35525 if test "x$ac_pt_PKG_CONFIG" = x; then
35526 PKG_CONFIG=""
35527 else
35528 case $cross_compiling:$ac_tool_warned in
35529 yes:)
35530 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
35531 whose name does not start with the host triplet. If you think this
35532 configuration is useful to you, please write to autoconf@gnu.org." >&5
35533 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
35534 whose name does not start with the host triplet. If you think this
35535 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
35536 ac_tool_warned=yes ;;
35537 esac
35538 PKG_CONFIG=$ac_pt_PKG_CONFIG
35539 fi
35540 else
35541 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
35542 fi
35543
35544 fi
35545 if test -n "$PKG_CONFIG"; then
35546 _pkg_min_version=0.9.0
35547 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
35548 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
35549 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
35550 { echo "$as_me:$LINENO: result: yes" >&5
35551 echo "${ECHO_T}yes" >&6; }
35552 else
35553 { echo "$as_me:$LINENO: result: no" >&5
35554 echo "${ECHO_T}no" >&6; }
35555 PKG_CONFIG=""
35556 fi
35557
35558 fi 6> /dev/null
35559
35560 pkg_failed=no
35561 { echo "$as_me:$LINENO: checking for SM" >&5
35562 echo $ECHO_N "checking for SM... $ECHO_C" >&6; }
35563
35564 if test -n "$PKG_CONFIG"; then
35565 if test -n "$SM_CFLAGS"; then
35566 pkg_cv_SM_CFLAGS="$SM_CFLAGS"
35567 else
35568 if test -n "$PKG_CONFIG" && \
35569 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\"") >&5
35570 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
35571 ac_status=$?
35572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35573 (exit $ac_status); }; then
35574 pkg_cv_SM_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
35575 else
35576 pkg_failed=yes
35577 fi
35578 fi
35579 else
35580 pkg_failed=untried
35581 fi
35582 if test -n "$PKG_CONFIG"; then
35583 if test -n "$SM_LIBS"; then
35584 pkg_cv_SM_LIBS="$SM_LIBS"
35585 else
35586 if test -n "$PKG_CONFIG" && \
35587 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\"") >&5
35588 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
35589 ac_status=$?
35590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35591 (exit $ac_status); }; then
35592 pkg_cv_SM_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
35593 else
35594 pkg_failed=yes
35595 fi
35596 fi
35597 else
35598 pkg_failed=untried
35599 fi
35600
35601
35602
35603 if test $pkg_failed = yes; then
35604
35605 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
35606 _pkg_short_errors_supported=yes
35607 else
35608 _pkg_short_errors_supported=no
35609 fi
35610 if test $_pkg_short_errors_supported = yes; then
35611 SM_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
35612 else
35613 SM_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
35614 fi
35615 # Put the nasty error message in config.log where it belongs
35616 echo "$SM_PKG_ERRORS" >&5
35617
35618
35619 if test "x$ac_find_libraries" = "x"; then
35620 if test "xSmcOpenConnection" != "x"; then
35621 { echo "$as_me:$LINENO: checking for SmcOpenConnection in -lSM" >&5
35622 echo $ECHO_N "checking for SmcOpenConnection in -lSM... $ECHO_C" >&6; }
35623 if test "${ac_cv_lib_SM_SmcOpenConnection+set}" = set; then
35624 echo $ECHO_N "(cached) $ECHO_C" >&6
35625 else
35626 ac_check_lib_save_LIBS=$LIBS
35627 LIBS="-lSM $LIBS"
35628 cat >conftest.$ac_ext <<_ACEOF
35629 /* confdefs.h. */
35630 _ACEOF
35631 cat confdefs.h >>conftest.$ac_ext
35632 cat >>conftest.$ac_ext <<_ACEOF
35633 /* end confdefs.h. */
35634
35635 /* Override any GCC internal prototype to avoid an error.
35636 Use char because int might match the return type of a GCC
35637 builtin and then its argument prototype would still apply. */
35638 #ifdef __cplusplus
35639 extern "C"
35640 #endif
35641 char SmcOpenConnection ();
35642 int
35643 main ()
35644 {
35645 return SmcOpenConnection ();
35646 ;
35647 return 0;
35648 }
35649 _ACEOF
35650 rm -f conftest.$ac_objext conftest$ac_exeext
35651 if { (ac_try="$ac_link"
35652 case "(($ac_try" in
35653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35654 *) ac_try_echo=$ac_try;;
35655 esac
35656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35657 (eval "$ac_link") 2>conftest.er1
35658 ac_status=$?
35659 grep -v '^ *+' conftest.er1 >conftest.err
35660 rm -f conftest.er1
35661 cat conftest.err >&5
35662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35663 (exit $ac_status); } && {
35664 test -z "$ac_c_werror_flag" ||
35665 test ! -s conftest.err
35666 } && test -s conftest$ac_exeext &&
35667 $as_test_x conftest$ac_exeext; then
35668 ac_cv_lib_SM_SmcOpenConnection=yes
35669 else
35670 echo "$as_me: failed program was:" >&5
35671 sed 's/^/| /' conftest.$ac_ext >&5
35672
35673 ac_cv_lib_SM_SmcOpenConnection=no
35674 fi
35675
35676 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35677 conftest$ac_exeext conftest.$ac_ext
35678 LIBS=$ac_check_lib_save_LIBS
35679 fi
35680 { echo "$as_me:$LINENO: result: $ac_cv_lib_SM_SmcOpenConnection" >&5
35681 echo "${ECHO_T}$ac_cv_lib_SM_SmcOpenConnection" >&6; }
35682 if test $ac_cv_lib_SM_SmcOpenConnection = yes; then
35683 ac_find_libraries="std"
35684 fi
35685
35686 fi
35687 fi
35688
35689 if test "x$ac_find_libraries" = "x"; then
35690 { echo "$as_me:$LINENO: checking elsewhere" >&5
35691 echo $ECHO_N "checking elsewhere... $ECHO_C" >&6; }
35692
35693 ac_find_libraries=
35694 for ac_dir in $SEARCH_LIB
35695 do
35696 for ac_extension in a so sl dylib dll.a; do
35697 if test -f "$ac_dir/libSM.$ac_extension"; then
35698 ac_find_libraries=$ac_dir
35699 break 2
35700 fi
35701 done
35702 done
35703
35704 if test "x$ac_find_libraries" != "x"; then
35705 { echo "$as_me:$LINENO: result: yes" >&5
35706 echo "${ECHO_T}yes" >&6; }
35707 else
35708 { echo "$as_me:$LINENO: result: no" >&5
35709 echo "${ECHO_T}no" >&6; }
35710 fi
35711 fi
35712
35713 elif test $pkg_failed = untried; then
35714
35715 if test "x$ac_find_libraries" = "x"; then
35716 if test "xSmcOpenConnection" != "x"; then
35717 { echo "$as_me:$LINENO: checking for SmcOpenConnection in -lSM" >&5
35718 echo $ECHO_N "checking for SmcOpenConnection in -lSM... $ECHO_C" >&6; }
35719 if test "${ac_cv_lib_SM_SmcOpenConnection+set}" = set; then
35720 echo $ECHO_N "(cached) $ECHO_C" >&6
35721 else
35722 ac_check_lib_save_LIBS=$LIBS
35723 LIBS="-lSM $LIBS"
35724 cat >conftest.$ac_ext <<_ACEOF
35725 /* confdefs.h. */
35726 _ACEOF
35727 cat confdefs.h >>conftest.$ac_ext
35728 cat >>conftest.$ac_ext <<_ACEOF
35729 /* end confdefs.h. */
35730
35731 /* Override any GCC internal prototype to avoid an error.
35732 Use char because int might match the return type of a GCC
35733 builtin and then its argument prototype would still apply. */
35734 #ifdef __cplusplus
35735 extern "C"
35736 #endif
35737 char SmcOpenConnection ();
35738 int
35739 main ()
35740 {
35741 return SmcOpenConnection ();
35742 ;
35743 return 0;
35744 }
35745 _ACEOF
35746 rm -f conftest.$ac_objext conftest$ac_exeext
35747 if { (ac_try="$ac_link"
35748 case "(($ac_try" in
35749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35750 *) ac_try_echo=$ac_try;;
35751 esac
35752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35753 (eval "$ac_link") 2>conftest.er1
35754 ac_status=$?
35755 grep -v '^ *+' conftest.er1 >conftest.err
35756 rm -f conftest.er1
35757 cat conftest.err >&5
35758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35759 (exit $ac_status); } && {
35760 test -z "$ac_c_werror_flag" ||
35761 test ! -s conftest.err
35762 } && test -s conftest$ac_exeext &&
35763 $as_test_x conftest$ac_exeext; then
35764 ac_cv_lib_SM_SmcOpenConnection=yes
35765 else
35766 echo "$as_me: failed program was:" >&5
35767 sed 's/^/| /' conftest.$ac_ext >&5
35768
35769 ac_cv_lib_SM_SmcOpenConnection=no
35770 fi
35771
35772 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35773 conftest$ac_exeext conftest.$ac_ext
35774 LIBS=$ac_check_lib_save_LIBS
35775 fi
35776 { echo "$as_me:$LINENO: result: $ac_cv_lib_SM_SmcOpenConnection" >&5
35777 echo "${ECHO_T}$ac_cv_lib_SM_SmcOpenConnection" >&6; }
35778 if test $ac_cv_lib_SM_SmcOpenConnection = yes; then
35779 ac_find_libraries="std"
35780 fi
35781
35782 fi
35783 fi
35784
35785 if test "x$ac_find_libraries" = "x"; then
35786 { echo "$as_me:$LINENO: checking elsewhere" >&5
35787 echo $ECHO_N "checking elsewhere... $ECHO_C" >&6; }
35788
35789 ac_find_libraries=
35790 for ac_dir in $SEARCH_LIB
35791 do
35792 for ac_extension in a so sl dylib dll.a; do
35793 if test -f "$ac_dir/libSM.$ac_extension"; then
35794 ac_find_libraries=$ac_dir
35795 break 2
35796 fi
35797 done
35798 done
35799
35800 if test "x$ac_find_libraries" != "x"; then
35801 { echo "$as_me:$LINENO: result: yes" >&5
35802 echo "${ECHO_T}yes" >&6; }
35803 else
35804 { echo "$as_me:$LINENO: result: no" >&5
35805 echo "${ECHO_T}no" >&6; }
35806 fi
35807 fi
35808
35809 else
35810 SM_CFLAGS=$pkg_cv_SM_CFLAGS
35811 SM_LIBS=$pkg_cv_SM_LIBS
35812 { echo "$as_me:$LINENO: result: yes" >&5
35813 echo "${ECHO_T}yes" >&6; }
35814
35815 ac_find_libraries="std"
35816
35817 eval ac_find_cflags=\$SM_CFLAGS
35818 eval fl_libs=\$SM_LIBS
35819
35820 for fl_path in $fl_libs
35821 do
35822 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
35823 ac_find_libraries=`echo "$fl_path" | cut -c 3-`
35824 fi
35825 done
35826
35827 fi
35828
35829 if test "$ac_find_libraries" != "" ; then
35830 if test "$ac_find_libraries" != "std" ; then
35831
35832 if test "$ac_find_libraries" = "default location"; then
35833 ac_path_to_link=""
35834 else
35835 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35836 result=$?
35837 if test $result = 0; then
35838 ac_path_to_link=""
35839 else
35840 ac_path_to_link=" -L$ac_find_libraries"
35841 fi
35842 fi
35843
35844 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35845 LDFLAGS="$LDFLAGS $ac_path_to_link"
35846 fi
35847 fi
35848 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
35849 else
35850 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
35851 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
35852 wxUSE_DETECT_SM="no"
35853 fi
35854 else
35855 wxUSE_DETECT_SM="no"
35856 fi
35857 fi
35858
35859
35860
35861 USE_OPENGL=0
35862 if test "$wxUSE_OPENGL" = "yes" -o "$wxUSE_OPENGL" = "auto"; then
35863
35864
35865 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
35866 OPENGL_LIBS="-framework OpenGL -framework AGL"
35867 elif test "$wxUSE_MSW" = 1; then
35868 OPENGL_LIBS="-lopengl32 -lglu32"
35869 elif test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK2" = 1 -o "$wxUSE_GTK" = 1; then
35870
35871 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
35872 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
35873
35874 ac_find_includes=
35875 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include
35876 do
35877 if test -f "$ac_dir/GL/gl.h"; then
35878 ac_find_includes=$ac_dir
35879 break
35880 fi
35881 done
35882
35883 if test "$ac_find_includes" != "" ; then
35884 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
35885 echo "${ECHO_T}found in $ac_find_includes" >&6; }
35886
35887 if test "x$ac_find_includes" = "x/usr/include"; then
35888 ac_path_to_include=""
35889 else
35890 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
35891 result=$?
35892 if test $result = 0; then
35893 ac_path_to_include=""
35894 else
35895 ac_path_to_include=" -I$ac_find_includes"
35896 fi
35897 fi
35898
35899 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
35900 else
35901 { echo "$as_me:$LINENO: result: not found" >&5
35902 echo "${ECHO_T}not found" >&6; }
35903 fi
35904
35905 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
35906 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
35907 if test "${ac_cv_header_GL_gl_h+set}" = set; then
35908 echo $ECHO_N "(cached) $ECHO_C" >&6
35909 else
35910 cat >conftest.$ac_ext <<_ACEOF
35911 /* confdefs.h. */
35912 _ACEOF
35913 cat confdefs.h >>conftest.$ac_ext
35914 cat >>conftest.$ac_ext <<_ACEOF
35915 /* end confdefs.h. */
35916
35917
35918 #include <GL/gl.h>
35919 _ACEOF
35920 rm -f conftest.$ac_objext
35921 if { (ac_try="$ac_compile"
35922 case "(($ac_try" in
35923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35924 *) ac_try_echo=$ac_try;;
35925 esac
35926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35927 (eval "$ac_compile") 2>conftest.er1
35928 ac_status=$?
35929 grep -v '^ *+' conftest.er1 >conftest.err
35930 rm -f conftest.er1
35931 cat conftest.err >&5
35932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35933 (exit $ac_status); } && {
35934 test -z "$ac_c_werror_flag" ||
35935 test ! -s conftest.err
35936 } && test -s conftest.$ac_objext; then
35937 ac_cv_header_GL_gl_h=yes
35938 else
35939 echo "$as_me: failed program was:" >&5
35940 sed 's/^/| /' conftest.$ac_ext >&5
35941
35942 ac_cv_header_GL_gl_h=no
35943 fi
35944
35945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35946 fi
35947 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
35948 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
35949 if test $ac_cv_header_GL_gl_h = yes; then
35950
35951 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
35952 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
35953 if test "${ac_cv_header_GL_glu_h+set}" = set; then
35954 echo $ECHO_N "(cached) $ECHO_C" >&6
35955 else
35956 cat >conftest.$ac_ext <<_ACEOF
35957 /* confdefs.h. */
35958 _ACEOF
35959 cat confdefs.h >>conftest.$ac_ext
35960 cat >>conftest.$ac_ext <<_ACEOF
35961 /* end confdefs.h. */
35962
35963
35964 #include <GL/glu.h>
35965 _ACEOF
35966 rm -f conftest.$ac_objext
35967 if { (ac_try="$ac_compile"
35968 case "(($ac_try" in
35969 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35970 *) ac_try_echo=$ac_try;;
35971 esac
35972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35973 (eval "$ac_compile") 2>conftest.er1
35974 ac_status=$?
35975 grep -v '^ *+' conftest.er1 >conftest.err
35976 rm -f conftest.er1
35977 cat conftest.err >&5
35978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35979 (exit $ac_status); } && {
35980 test -z "$ac_c_werror_flag" ||
35981 test ! -s conftest.err
35982 } && test -s conftest.$ac_objext; then
35983 ac_cv_header_GL_glu_h=yes
35984 else
35985 echo "$as_me: failed program was:" >&5
35986 sed 's/^/| /' conftest.$ac_ext >&5
35987
35988 ac_cv_header_GL_glu_h=no
35989 fi
35990
35991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35992 fi
35993 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
35994 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
35995 if test $ac_cv_header_GL_glu_h = yes; then
35996
35997 found_gl=0
35998
35999
36000 ac_find_libraries=
36001
36002 fl_pkgname=`echo "GL" | tr [:upper:] [:lower:]`
36003
36004
36005 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
36006 if test -n "$ac_tool_prefix"; then
36007 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
36008 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
36009 { echo "$as_me:$LINENO: checking for $ac_word" >&5
36010 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
36011 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
36012 echo $ECHO_N "(cached) $ECHO_C" >&6
36013 else
36014 case $PKG_CONFIG in
36015 [\\/]* | ?:[\\/]*)
36016 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
36017 ;;
36018 *)
36019 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36020 for as_dir in $PATH
36021 do
36022 IFS=$as_save_IFS
36023 test -z "$as_dir" && as_dir=.
36024 for ac_exec_ext in '' $ac_executable_extensions; do
36025 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36026 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
36027 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36028 break 2
36029 fi
36030 done
36031 done
36032 IFS=$as_save_IFS
36033
36034 ;;
36035 esac
36036 fi
36037 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
36038 if test -n "$PKG_CONFIG"; then
36039 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
36040 echo "${ECHO_T}$PKG_CONFIG" >&6; }
36041 else
36042 { echo "$as_me:$LINENO: result: no" >&5
36043 echo "${ECHO_T}no" >&6; }
36044 fi
36045
36046
36047 fi
36048 if test -z "$ac_cv_path_PKG_CONFIG"; then
36049 ac_pt_PKG_CONFIG=$PKG_CONFIG
36050 # Extract the first word of "pkg-config", so it can be a program name with args.
36051 set dummy pkg-config; ac_word=$2
36052 { echo "$as_me:$LINENO: checking for $ac_word" >&5
36053 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
36054 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
36055 echo $ECHO_N "(cached) $ECHO_C" >&6
36056 else
36057 case $ac_pt_PKG_CONFIG in
36058 [\\/]* | ?:[\\/]*)
36059 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
36060 ;;
36061 *)
36062 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36063 for as_dir in $PATH
36064 do
36065 IFS=$as_save_IFS
36066 test -z "$as_dir" && as_dir=.
36067 for ac_exec_ext in '' $ac_executable_extensions; do
36068 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36069 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
36070 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36071 break 2
36072 fi
36073 done
36074 done
36075 IFS=$as_save_IFS
36076
36077 ;;
36078 esac
36079 fi
36080 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
36081 if test -n "$ac_pt_PKG_CONFIG"; then
36082 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
36083 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
36084 else
36085 { echo "$as_me:$LINENO: result: no" >&5
36086 echo "${ECHO_T}no" >&6; }
36087 fi
36088
36089 if test "x$ac_pt_PKG_CONFIG" = x; then
36090 PKG_CONFIG=""
36091 else
36092 case $cross_compiling:$ac_tool_warned in
36093 yes:)
36094 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
36095 whose name does not start with the host triplet. If you think this
36096 configuration is useful to you, please write to autoconf@gnu.org." >&5
36097 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
36098 whose name does not start with the host triplet. If you think this
36099 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
36100 ac_tool_warned=yes ;;
36101 esac
36102 PKG_CONFIG=$ac_pt_PKG_CONFIG
36103 fi
36104 else
36105 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
36106 fi
36107
36108 fi
36109 if test -n "$PKG_CONFIG"; then
36110 _pkg_min_version=0.9.0
36111 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
36112 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
36113 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
36114 { echo "$as_me:$LINENO: result: yes" >&5
36115 echo "${ECHO_T}yes" >&6; }
36116 else
36117 { echo "$as_me:$LINENO: result: no" >&5
36118 echo "${ECHO_T}no" >&6; }
36119 PKG_CONFIG=""
36120 fi
36121
36122 fi 6> /dev/null
36123
36124 pkg_failed=no
36125 { echo "$as_me:$LINENO: checking for GL" >&5
36126 echo $ECHO_N "checking for GL... $ECHO_C" >&6; }
36127
36128 if test -n "$PKG_CONFIG"; then
36129 if test -n "$GL_CFLAGS"; then
36130 pkg_cv_GL_CFLAGS="$GL_CFLAGS"
36131 else
36132 if test -n "$PKG_CONFIG" && \
36133 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\"") >&5
36134 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
36135 ac_status=$?
36136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36137 (exit $ac_status); }; then
36138 pkg_cv_GL_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
36139 else
36140 pkg_failed=yes
36141 fi
36142 fi
36143 else
36144 pkg_failed=untried
36145 fi
36146 if test -n "$PKG_CONFIG"; then
36147 if test -n "$GL_LIBS"; then
36148 pkg_cv_GL_LIBS="$GL_LIBS"
36149 else
36150 if test -n "$PKG_CONFIG" && \
36151 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\"") >&5
36152 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
36153 ac_status=$?
36154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36155 (exit $ac_status); }; then
36156 pkg_cv_GL_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
36157 else
36158 pkg_failed=yes
36159 fi
36160 fi
36161 else
36162 pkg_failed=untried
36163 fi
36164
36165
36166
36167 if test $pkg_failed = yes; then
36168
36169 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
36170 _pkg_short_errors_supported=yes
36171 else
36172 _pkg_short_errors_supported=no
36173 fi
36174 if test $_pkg_short_errors_supported = yes; then
36175 GL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
36176 else
36177 GL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
36178 fi
36179 # Put the nasty error message in config.log where it belongs
36180 echo "$GL_PKG_ERRORS" >&5
36181
36182
36183 if test "x$ac_find_libraries" = "x"; then
36184 if test "xglBegin" != "x"; then
36185 { echo "$as_me:$LINENO: checking for glBegin in -lGL" >&5
36186 echo $ECHO_N "checking for glBegin in -lGL... $ECHO_C" >&6; }
36187 if test "${ac_cv_lib_GL_glBegin+set}" = set; then
36188 echo $ECHO_N "(cached) $ECHO_C" >&6
36189 else
36190 ac_check_lib_save_LIBS=$LIBS
36191 LIBS="-lGL $LIBS"
36192 cat >conftest.$ac_ext <<_ACEOF
36193 /* confdefs.h. */
36194 _ACEOF
36195 cat confdefs.h >>conftest.$ac_ext
36196 cat >>conftest.$ac_ext <<_ACEOF
36197 /* end confdefs.h. */
36198
36199 /* Override any GCC internal prototype to avoid an error.
36200 Use char because int might match the return type of a GCC
36201 builtin and then its argument prototype would still apply. */
36202 #ifdef __cplusplus
36203 extern "C"
36204 #endif
36205 char glBegin ();
36206 int
36207 main ()
36208 {
36209 return glBegin ();
36210 ;
36211 return 0;
36212 }
36213 _ACEOF
36214 rm -f conftest.$ac_objext conftest$ac_exeext
36215 if { (ac_try="$ac_link"
36216 case "(($ac_try" in
36217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36218 *) ac_try_echo=$ac_try;;
36219 esac
36220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36221 (eval "$ac_link") 2>conftest.er1
36222 ac_status=$?
36223 grep -v '^ *+' conftest.er1 >conftest.err
36224 rm -f conftest.er1
36225 cat conftest.err >&5
36226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36227 (exit $ac_status); } && {
36228 test -z "$ac_c_werror_flag" ||
36229 test ! -s conftest.err
36230 } && test -s conftest$ac_exeext &&
36231 $as_test_x conftest$ac_exeext; then
36232 ac_cv_lib_GL_glBegin=yes
36233 else
36234 echo "$as_me: failed program was:" >&5
36235 sed 's/^/| /' conftest.$ac_ext >&5
36236
36237 ac_cv_lib_GL_glBegin=no
36238 fi
36239
36240 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36241 conftest$ac_exeext conftest.$ac_ext
36242 LIBS=$ac_check_lib_save_LIBS
36243 fi
36244 { echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glBegin" >&5
36245 echo "${ECHO_T}$ac_cv_lib_GL_glBegin" >&6; }
36246 if test $ac_cv_lib_GL_glBegin = yes; then
36247 ac_find_libraries="std"
36248 fi
36249
36250 fi
36251 fi
36252
36253 if test "x$ac_find_libraries" = "x"; then
36254 { echo "$as_me:$LINENO: checking elsewhere" >&5
36255 echo $ECHO_N "checking elsewhere... $ECHO_C" >&6; }
36256
36257 ac_find_libraries=
36258 for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
36259 do
36260 for ac_extension in a so sl dylib dll.a; do
36261 if test -f "$ac_dir/libGL.$ac_extension"; then
36262 ac_find_libraries=$ac_dir
36263 break 2
36264 fi
36265 done
36266 done
36267
36268 if test "x$ac_find_libraries" != "x"; then
36269 { echo "$as_me:$LINENO: result: yes" >&5
36270 echo "${ECHO_T}yes" >&6; }
36271 else
36272 { echo "$as_me:$LINENO: result: no" >&5
36273 echo "${ECHO_T}no" >&6; }
36274 fi
36275 fi
36276
36277 elif test $pkg_failed = untried; then
36278
36279 if test "x$ac_find_libraries" = "x"; then
36280 if test "xglBegin" != "x"; then
36281 { echo "$as_me:$LINENO: checking for glBegin in -lGL" >&5
36282 echo $ECHO_N "checking for glBegin in -lGL... $ECHO_C" >&6; }
36283 if test "${ac_cv_lib_GL_glBegin+set}" = set; then
36284 echo $ECHO_N "(cached) $ECHO_C" >&6
36285 else
36286 ac_check_lib_save_LIBS=$LIBS
36287 LIBS="-lGL $LIBS"
36288 cat >conftest.$ac_ext <<_ACEOF
36289 /* confdefs.h. */
36290 _ACEOF
36291 cat confdefs.h >>conftest.$ac_ext
36292 cat >>conftest.$ac_ext <<_ACEOF
36293 /* end confdefs.h. */
36294
36295 /* Override any GCC internal prototype to avoid an error.
36296 Use char because int might match the return type of a GCC
36297 builtin and then its argument prototype would still apply. */
36298 #ifdef __cplusplus
36299 extern "C"
36300 #endif
36301 char glBegin ();
36302 int
36303 main ()
36304 {
36305 return glBegin ();
36306 ;
36307 return 0;
36308 }
36309 _ACEOF
36310 rm -f conftest.$ac_objext conftest$ac_exeext
36311 if { (ac_try="$ac_link"
36312 case "(($ac_try" in
36313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36314 *) ac_try_echo=$ac_try;;
36315 esac
36316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36317 (eval "$ac_link") 2>conftest.er1
36318 ac_status=$?
36319 grep -v '^ *+' conftest.er1 >conftest.err
36320 rm -f conftest.er1
36321 cat conftest.err >&5
36322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36323 (exit $ac_status); } && {
36324 test -z "$ac_c_werror_flag" ||
36325 test ! -s conftest.err
36326 } && test -s conftest$ac_exeext &&
36327 $as_test_x conftest$ac_exeext; then
36328 ac_cv_lib_GL_glBegin=yes
36329 else
36330 echo "$as_me: failed program was:" >&5
36331 sed 's/^/| /' conftest.$ac_ext >&5
36332
36333 ac_cv_lib_GL_glBegin=no
36334 fi
36335
36336 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36337 conftest$ac_exeext conftest.$ac_ext
36338 LIBS=$ac_check_lib_save_LIBS
36339 fi
36340 { echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glBegin" >&5
36341 echo "${ECHO_T}$ac_cv_lib_GL_glBegin" >&6; }
36342 if test $ac_cv_lib_GL_glBegin = yes; then
36343 ac_find_libraries="std"
36344 fi
36345
36346 fi
36347 fi
36348
36349 if test "x$ac_find_libraries" = "x"; then
36350 { echo "$as_me:$LINENO: checking elsewhere" >&5
36351 echo $ECHO_N "checking elsewhere... $ECHO_C" >&6; }
36352
36353 ac_find_libraries=
36354 for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
36355 do
36356 for ac_extension in a so sl dylib dll.a; do
36357 if test -f "$ac_dir/libGL.$ac_extension"; then
36358 ac_find_libraries=$ac_dir
36359 break 2
36360 fi
36361 done
36362 done
36363
36364 if test "x$ac_find_libraries" != "x"; then
36365 { echo "$as_me:$LINENO: result: yes" >&5
36366 echo "${ECHO_T}yes" >&6; }
36367 else
36368 { echo "$as_me:$LINENO: result: no" >&5
36369 echo "${ECHO_T}no" >&6; }
36370 fi
36371 fi
36372
36373 else
36374 GL_CFLAGS=$pkg_cv_GL_CFLAGS
36375 GL_LIBS=$pkg_cv_GL_LIBS
36376 { echo "$as_me:$LINENO: result: yes" >&5
36377 echo "${ECHO_T}yes" >&6; }
36378
36379 ac_find_libraries="std"
36380
36381 eval ac_find_cflags=\$GL_CFLAGS
36382 eval fl_libs=\$GL_LIBS
36383
36384 for fl_path in $fl_libs
36385 do
36386 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
36387 ac_find_libraries=`echo "$fl_path" | cut -c 3-`
36388 fi
36389 done
36390
36391 fi
36392
36393 if test "$ac_find_libraries" != "" ; then
36394 if test "$ac_find_libraries" != "std" ; then
36395
36396 if test "$ac_find_libraries" = "default location"; then
36397 ac_path_to_link=""
36398 else
36399 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
36400 result=$?
36401 if test $result = 0; then
36402 ac_path_to_link=""
36403 else
36404 ac_path_to_link=" -L$ac_find_libraries"
36405 fi
36406 fi
36407
36408 if test "$ac_path_to_link" != " -L/usr/lib" ; then
36409 LDFLAGS_GL="$ac_path_to_link"
36410 fi
36411 fi
36412
36413
36414 ac_find_libraries=
36415
36416 fl_pkgname=`echo "GLU" | tr [:upper:] [:lower:]`
36417
36418
36419 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
36420 if test -n "$ac_tool_prefix"; then
36421 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
36422 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
36423 { echo "$as_me:$LINENO: checking for $ac_word" >&5
36424 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
36425 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
36426 echo $ECHO_N "(cached) $ECHO_C" >&6
36427 else
36428 case $PKG_CONFIG in
36429 [\\/]* | ?:[\\/]*)
36430 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
36431 ;;
36432 *)
36433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36434 for as_dir in $PATH
36435 do
36436 IFS=$as_save_IFS
36437 test -z "$as_dir" && as_dir=.
36438 for ac_exec_ext in '' $ac_executable_extensions; do
36439 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36440 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
36441 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36442 break 2
36443 fi
36444 done
36445 done
36446 IFS=$as_save_IFS
36447
36448 ;;
36449 esac
36450 fi
36451 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
36452 if test -n "$PKG_CONFIG"; then
36453 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
36454 echo "${ECHO_T}$PKG_CONFIG" >&6; }
36455 else
36456 { echo "$as_me:$LINENO: result: no" >&5
36457 echo "${ECHO_T}no" >&6; }
36458 fi
36459
36460
36461 fi
36462 if test -z "$ac_cv_path_PKG_CONFIG"; then
36463 ac_pt_PKG_CONFIG=$PKG_CONFIG
36464 # Extract the first word of "pkg-config", so it can be a program name with args.
36465 set dummy pkg-config; ac_word=$2
36466 { echo "$as_me:$LINENO: checking for $ac_word" >&5
36467 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
36468 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
36469 echo $ECHO_N "(cached) $ECHO_C" >&6
36470 else
36471 case $ac_pt_PKG_CONFIG in
36472 [\\/]* | ?:[\\/]*)
36473 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
36474 ;;
36475 *)
36476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36477 for as_dir in $PATH
36478 do
36479 IFS=$as_save_IFS
36480 test -z "$as_dir" && as_dir=.
36481 for ac_exec_ext in '' $ac_executable_extensions; do
36482 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36483 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
36484 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36485 break 2
36486 fi
36487 done
36488 done
36489 IFS=$as_save_IFS
36490
36491 ;;
36492 esac
36493 fi
36494 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
36495 if test -n "$ac_pt_PKG_CONFIG"; then
36496 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
36497 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
36498 else
36499 { echo "$as_me:$LINENO: result: no" >&5
36500 echo "${ECHO_T}no" >&6; }
36501 fi
36502
36503 if test "x$ac_pt_PKG_CONFIG" = x; then
36504 PKG_CONFIG=""
36505 else
36506 case $cross_compiling:$ac_tool_warned in
36507 yes:)
36508 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
36509 whose name does not start with the host triplet. If you think this
36510 configuration is useful to you, please write to autoconf@gnu.org." >&5
36511 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
36512 whose name does not start with the host triplet. If you think this
36513 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
36514 ac_tool_warned=yes ;;
36515 esac
36516 PKG_CONFIG=$ac_pt_PKG_CONFIG
36517 fi
36518 else
36519 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
36520 fi
36521
36522 fi
36523 if test -n "$PKG_CONFIG"; then
36524 _pkg_min_version=0.9.0
36525 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
36526 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
36527 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
36528 { echo "$as_me:$LINENO: result: yes" >&5
36529 echo "${ECHO_T}yes" >&6; }
36530 else
36531 { echo "$as_me:$LINENO: result: no" >&5
36532 echo "${ECHO_T}no" >&6; }
36533 PKG_CONFIG=""
36534 fi
36535
36536 fi 6> /dev/null
36537
36538 pkg_failed=no
36539 { echo "$as_me:$LINENO: checking for GLU" >&5
36540 echo $ECHO_N "checking for GLU... $ECHO_C" >&6; }
36541
36542 if test -n "$PKG_CONFIG"; then
36543 if test -n "$GLU_CFLAGS"; then
36544 pkg_cv_GLU_CFLAGS="$GLU_CFLAGS"
36545 else
36546 if test -n "$PKG_CONFIG" && \
36547 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\"") >&5
36548 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
36549 ac_status=$?
36550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36551 (exit $ac_status); }; then
36552 pkg_cv_GLU_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
36553 else
36554 pkg_failed=yes
36555 fi
36556 fi
36557 else
36558 pkg_failed=untried
36559 fi
36560 if test -n "$PKG_CONFIG"; then
36561 if test -n "$GLU_LIBS"; then
36562 pkg_cv_GLU_LIBS="$GLU_LIBS"
36563 else
36564 if test -n "$PKG_CONFIG" && \
36565 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\"") >&5
36566 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
36567 ac_status=$?
36568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36569 (exit $ac_status); }; then
36570 pkg_cv_GLU_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
36571 else
36572 pkg_failed=yes
36573 fi
36574 fi
36575 else
36576 pkg_failed=untried
36577 fi
36578
36579
36580
36581 if test $pkg_failed = yes; then
36582
36583 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
36584 _pkg_short_errors_supported=yes
36585 else
36586 _pkg_short_errors_supported=no
36587 fi
36588 if test $_pkg_short_errors_supported = yes; then
36589 GLU_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
36590 else
36591 GLU_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
36592 fi
36593 # Put the nasty error message in config.log where it belongs
36594 echo "$GLU_PKG_ERRORS" >&5
36595
36596
36597 if test "x$ac_find_libraries" = "x"; then
36598 if test "xgluBeginCurve" != "x"; then
36599 { echo "$as_me:$LINENO: checking for gluBeginCurve in -lGLU" >&5
36600 echo $ECHO_N "checking for gluBeginCurve in -lGLU... $ECHO_C" >&6; }
36601 if test "${ac_cv_lib_GLU_gluBeginCurve+set}" = set; then
36602 echo $ECHO_N "(cached) $ECHO_C" >&6
36603 else
36604 ac_check_lib_save_LIBS=$LIBS
36605 LIBS="-lGLU $LIBS"
36606 cat >conftest.$ac_ext <<_ACEOF
36607 /* confdefs.h. */
36608 _ACEOF
36609 cat confdefs.h >>conftest.$ac_ext
36610 cat >>conftest.$ac_ext <<_ACEOF
36611 /* end confdefs.h. */
36612
36613 /* Override any GCC internal prototype to avoid an error.
36614 Use char because int might match the return type of a GCC
36615 builtin and then its argument prototype would still apply. */
36616 #ifdef __cplusplus
36617 extern "C"
36618 #endif
36619 char gluBeginCurve ();
36620 int
36621 main ()
36622 {
36623 return gluBeginCurve ();
36624 ;
36625 return 0;
36626 }
36627 _ACEOF
36628 rm -f conftest.$ac_objext conftest$ac_exeext
36629 if { (ac_try="$ac_link"
36630 case "(($ac_try" in
36631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36632 *) ac_try_echo=$ac_try;;
36633 esac
36634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36635 (eval "$ac_link") 2>conftest.er1
36636 ac_status=$?
36637 grep -v '^ *+' conftest.er1 >conftest.err
36638 rm -f conftest.er1
36639 cat conftest.err >&5
36640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36641 (exit $ac_status); } && {
36642 test -z "$ac_c_werror_flag" ||
36643 test ! -s conftest.err
36644 } && test -s conftest$ac_exeext &&
36645 $as_test_x conftest$ac_exeext; then
36646 ac_cv_lib_GLU_gluBeginCurve=yes
36647 else
36648 echo "$as_me: failed program was:" >&5
36649 sed 's/^/| /' conftest.$ac_ext >&5
36650
36651 ac_cv_lib_GLU_gluBeginCurve=no
36652 fi
36653
36654 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36655 conftest$ac_exeext conftest.$ac_ext
36656 LIBS=$ac_check_lib_save_LIBS
36657 fi
36658 { echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluBeginCurve" >&5
36659 echo "${ECHO_T}$ac_cv_lib_GLU_gluBeginCurve" >&6; }
36660 if test $ac_cv_lib_GLU_gluBeginCurve = yes; then
36661 ac_find_libraries="std"
36662 fi
36663
36664 fi
36665 fi
36666
36667 if test "x$ac_find_libraries" = "x"; then
36668 { echo "$as_me:$LINENO: checking elsewhere" >&5
36669 echo $ECHO_N "checking elsewhere... $ECHO_C" >&6; }
36670
36671 ac_find_libraries=
36672 for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
36673 do
36674 for ac_extension in a so sl dylib dll.a; do
36675 if test -f "$ac_dir/libGLU.$ac_extension"; then
36676 ac_find_libraries=$ac_dir
36677 break 2
36678 fi
36679 done
36680 done
36681
36682 if test "x$ac_find_libraries" != "x"; then
36683 { echo "$as_me:$LINENO: result: yes" >&5
36684 echo "${ECHO_T}yes" >&6; }
36685 else
36686 { echo "$as_me:$LINENO: result: no" >&5
36687 echo "${ECHO_T}no" >&6; }
36688 fi
36689 fi
36690
36691 elif test $pkg_failed = untried; then
36692
36693 if test "x$ac_find_libraries" = "x"; then
36694 if test "xgluBeginCurve" != "x"; then
36695 { echo "$as_me:$LINENO: checking for gluBeginCurve in -lGLU" >&5
36696 echo $ECHO_N "checking for gluBeginCurve in -lGLU... $ECHO_C" >&6; }
36697 if test "${ac_cv_lib_GLU_gluBeginCurve+set}" = set; then
36698 echo $ECHO_N "(cached) $ECHO_C" >&6
36699 else
36700 ac_check_lib_save_LIBS=$LIBS
36701 LIBS="-lGLU $LIBS"
36702 cat >conftest.$ac_ext <<_ACEOF
36703 /* confdefs.h. */
36704 _ACEOF
36705 cat confdefs.h >>conftest.$ac_ext
36706 cat >>conftest.$ac_ext <<_ACEOF
36707 /* end confdefs.h. */
36708
36709 /* Override any GCC internal prototype to avoid an error.
36710 Use char because int might match the return type of a GCC
36711 builtin and then its argument prototype would still apply. */
36712 #ifdef __cplusplus
36713 extern "C"
36714 #endif
36715 char gluBeginCurve ();
36716 int
36717 main ()
36718 {
36719 return gluBeginCurve ();
36720 ;
36721 return 0;
36722 }
36723 _ACEOF
36724 rm -f conftest.$ac_objext conftest$ac_exeext
36725 if { (ac_try="$ac_link"
36726 case "(($ac_try" in
36727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36728 *) ac_try_echo=$ac_try;;
36729 esac
36730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36731 (eval "$ac_link") 2>conftest.er1
36732 ac_status=$?
36733 grep -v '^ *+' conftest.er1 >conftest.err
36734 rm -f conftest.er1
36735 cat conftest.err >&5
36736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36737 (exit $ac_status); } && {
36738 test -z "$ac_c_werror_flag" ||
36739 test ! -s conftest.err
36740 } && test -s conftest$ac_exeext &&
36741 $as_test_x conftest$ac_exeext; then
36742 ac_cv_lib_GLU_gluBeginCurve=yes
36743 else
36744 echo "$as_me: failed program was:" >&5
36745 sed 's/^/| /' conftest.$ac_ext >&5
36746
36747 ac_cv_lib_GLU_gluBeginCurve=no
36748 fi
36749
36750 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36751 conftest$ac_exeext conftest.$ac_ext
36752 LIBS=$ac_check_lib_save_LIBS
36753 fi
36754 { echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluBeginCurve" >&5
36755 echo "${ECHO_T}$ac_cv_lib_GLU_gluBeginCurve" >&6; }
36756 if test $ac_cv_lib_GLU_gluBeginCurve = yes; then
36757 ac_find_libraries="std"
36758 fi
36759
36760 fi
36761 fi
36762
36763 if test "x$ac_find_libraries" = "x"; then
36764 { echo "$as_me:$LINENO: checking elsewhere" >&5
36765 echo $ECHO_N "checking elsewhere... $ECHO_C" >&6; }
36766
36767 ac_find_libraries=
36768 for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
36769 do
36770 for ac_extension in a so sl dylib dll.a; do
36771 if test -f "$ac_dir/libGLU.$ac_extension"; then
36772 ac_find_libraries=$ac_dir
36773 break 2
36774 fi
36775 done
36776 done
36777
36778 if test "x$ac_find_libraries" != "x"; then
36779 { echo "$as_me:$LINENO: result: yes" >&5
36780 echo "${ECHO_T}yes" >&6; }
36781 else
36782 { echo "$as_me:$LINENO: result: no" >&5
36783 echo "${ECHO_T}no" >&6; }
36784 fi
36785 fi
36786
36787 else
36788 GLU_CFLAGS=$pkg_cv_GLU_CFLAGS
36789 GLU_LIBS=$pkg_cv_GLU_LIBS
36790 { echo "$as_me:$LINENO: result: yes" >&5
36791 echo "${ECHO_T}yes" >&6; }
36792
36793 ac_find_libraries="std"
36794
36795 eval ac_find_cflags=\$GLU_CFLAGS
36796 eval fl_libs=\$GLU_LIBS
36797
36798 for fl_path in $fl_libs
36799 do
36800 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
36801 ac_find_libraries=`echo "$fl_path" | cut -c 3-`
36802 fi
36803 done
36804
36805 fi
36806
36807 if test "$ac_find_libraries" != "" ; then
36808 if test "$ac_find_libraries" != "std" ; then
36809
36810 if test "$ac_find_libraries" = "default location"; then
36811 ac_path_to_link=""
36812 else
36813 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
36814 result=$?
36815 if test $result = 0; then
36816 ac_path_to_link=""
36817 else
36818 ac_path_to_link=" -L$ac_find_libraries"
36819 fi
36820 fi
36821
36822 if test "$ac_path_to_link" != " -L/usr/lib" -a \
36823 "$ac_path_to_link" != "$LDFLAGS_GL" ; then
36824 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
36825 fi
36826 fi
36827
36828 found_gl=1
36829 OPENGL_LIBS="-lGL -lGLU"
36830 fi
36831 fi
36832
36833 if test "$found_gl" != 1; then
36834
36835 ac_find_libraries=
36836
36837 fl_pkgname=`echo "MesaGL" | tr [:upper:] [:lower:]`
36838
36839
36840 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
36841 if test -n "$ac_tool_prefix"; then
36842 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
36843 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
36844 { echo "$as_me:$LINENO: checking for $ac_word" >&5
36845 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
36846 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
36847 echo $ECHO_N "(cached) $ECHO_C" >&6
36848 else
36849 case $PKG_CONFIG in
36850 [\\/]* | ?:[\\/]*)
36851 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
36852 ;;
36853 *)
36854 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36855 for as_dir in $PATH
36856 do
36857 IFS=$as_save_IFS
36858 test -z "$as_dir" && as_dir=.
36859 for ac_exec_ext in '' $ac_executable_extensions; do
36860 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36861 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
36862 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36863 break 2
36864 fi
36865 done
36866 done
36867 IFS=$as_save_IFS
36868
36869 ;;
36870 esac
36871 fi
36872 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
36873 if test -n "$PKG_CONFIG"; then
36874 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
36875 echo "${ECHO_T}$PKG_CONFIG" >&6; }
36876 else
36877 { echo "$as_me:$LINENO: result: no" >&5
36878 echo "${ECHO_T}no" >&6; }
36879 fi
36880
36881
36882 fi
36883 if test -z "$ac_cv_path_PKG_CONFIG"; then
36884 ac_pt_PKG_CONFIG=$PKG_CONFIG
36885 # Extract the first word of "pkg-config", so it can be a program name with args.
36886 set dummy pkg-config; ac_word=$2
36887 { echo "$as_me:$LINENO: checking for $ac_word" >&5
36888 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
36889 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
36890 echo $ECHO_N "(cached) $ECHO_C" >&6
36891 else
36892 case $ac_pt_PKG_CONFIG in
36893 [\\/]* | ?:[\\/]*)
36894 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
36895 ;;
36896 *)
36897 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36898 for as_dir in $PATH
36899 do
36900 IFS=$as_save_IFS
36901 test -z "$as_dir" && as_dir=.
36902 for ac_exec_ext in '' $ac_executable_extensions; do
36903 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36904 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
36905 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36906 break 2
36907 fi
36908 done
36909 done
36910 IFS=$as_save_IFS
36911
36912 ;;
36913 esac
36914 fi
36915 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
36916 if test -n "$ac_pt_PKG_CONFIG"; then
36917 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
36918 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
36919 else
36920 { echo "$as_me:$LINENO: result: no" >&5
36921 echo "${ECHO_T}no" >&6; }
36922 fi
36923
36924 if test "x$ac_pt_PKG_CONFIG" = x; then
36925 PKG_CONFIG=""
36926 else
36927 case $cross_compiling:$ac_tool_warned in
36928 yes:)
36929 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
36930 whose name does not start with the host triplet. If you think this
36931 configuration is useful to you, please write to autoconf@gnu.org." >&5
36932 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
36933 whose name does not start with the host triplet. If you think this
36934 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
36935 ac_tool_warned=yes ;;
36936 esac
36937 PKG_CONFIG=$ac_pt_PKG_CONFIG
36938 fi
36939 else
36940 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
36941 fi
36942
36943 fi
36944 if test -n "$PKG_CONFIG"; then
36945 _pkg_min_version=0.9.0
36946 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
36947 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
36948 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
36949 { echo "$as_me:$LINENO: result: yes" >&5
36950 echo "${ECHO_T}yes" >&6; }
36951 else
36952 { echo "$as_me:$LINENO: result: no" >&5
36953 echo "${ECHO_T}no" >&6; }
36954 PKG_CONFIG=""
36955 fi
36956
36957 fi 6> /dev/null
36958
36959 pkg_failed=no
36960 { echo "$as_me:$LINENO: checking for MesaGL" >&5
36961 echo $ECHO_N "checking for MesaGL... $ECHO_C" >&6; }
36962
36963 if test -n "$PKG_CONFIG"; then
36964 if test -n "$MesaGL_CFLAGS"; then
36965 pkg_cv_MesaGL_CFLAGS="$MesaGL_CFLAGS"
36966 else
36967 if test -n "$PKG_CONFIG" && \
36968 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\"") >&5
36969 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
36970 ac_status=$?
36971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36972 (exit $ac_status); }; then
36973 pkg_cv_MesaGL_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
36974 else
36975 pkg_failed=yes
36976 fi
36977 fi
36978 else
36979 pkg_failed=untried
36980 fi
36981 if test -n "$PKG_CONFIG"; then
36982 if test -n "$MesaGL_LIBS"; then
36983 pkg_cv_MesaGL_LIBS="$MesaGL_LIBS"
36984 else
36985 if test -n "$PKG_CONFIG" && \
36986 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\"") >&5
36987 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
36988 ac_status=$?
36989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36990 (exit $ac_status); }; then
36991 pkg_cv_MesaGL_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
36992 else
36993 pkg_failed=yes
36994 fi
36995 fi
36996 else
36997 pkg_failed=untried
36998 fi
36999
37000
37001
37002 if test $pkg_failed = yes; then
37003
37004 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
37005 _pkg_short_errors_supported=yes
37006 else
37007 _pkg_short_errors_supported=no
37008 fi
37009 if test $_pkg_short_errors_supported = yes; then
37010 MesaGL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
37011 else
37012 MesaGL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
37013 fi
37014 # Put the nasty error message in config.log where it belongs
37015 echo "$MesaGL_PKG_ERRORS" >&5
37016
37017
37018 if test "x$ac_find_libraries" = "x"; then
37019 if test "xglEnable" != "x"; then
37020 { echo "$as_me:$LINENO: checking for glEnable in -lMesaGL" >&5
37021 echo $ECHO_N "checking for glEnable in -lMesaGL... $ECHO_C" >&6; }
37022 if test "${ac_cv_lib_MesaGL_glEnable+set}" = set; then
37023 echo $ECHO_N "(cached) $ECHO_C" >&6
37024 else
37025 ac_check_lib_save_LIBS=$LIBS
37026 LIBS="-lMesaGL $LIBS"
37027 cat >conftest.$ac_ext <<_ACEOF
37028 /* confdefs.h. */
37029 _ACEOF
37030 cat confdefs.h >>conftest.$ac_ext
37031 cat >>conftest.$ac_ext <<_ACEOF
37032 /* end confdefs.h. */
37033
37034 /* Override any GCC internal prototype to avoid an error.
37035 Use char because int might match the return type of a GCC
37036 builtin and then its argument prototype would still apply. */
37037 #ifdef __cplusplus
37038 extern "C"
37039 #endif
37040 char glEnable ();
37041 int
37042 main ()
37043 {
37044 return glEnable ();
37045 ;
37046 return 0;
37047 }
37048 _ACEOF
37049 rm -f conftest.$ac_objext conftest$ac_exeext
37050 if { (ac_try="$ac_link"
37051 case "(($ac_try" in
37052 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37053 *) ac_try_echo=$ac_try;;
37054 esac
37055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37056 (eval "$ac_link") 2>conftest.er1
37057 ac_status=$?
37058 grep -v '^ *+' conftest.er1 >conftest.err
37059 rm -f conftest.er1
37060 cat conftest.err >&5
37061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37062 (exit $ac_status); } && {
37063 test -z "$ac_c_werror_flag" ||
37064 test ! -s conftest.err
37065 } && test -s conftest$ac_exeext &&
37066 $as_test_x conftest$ac_exeext; then
37067 ac_cv_lib_MesaGL_glEnable=yes
37068 else
37069 echo "$as_me: failed program was:" >&5
37070 sed 's/^/| /' conftest.$ac_ext >&5
37071
37072 ac_cv_lib_MesaGL_glEnable=no
37073 fi
37074
37075 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37076 conftest$ac_exeext conftest.$ac_ext
37077 LIBS=$ac_check_lib_save_LIBS
37078 fi
37079 { echo "$as_me:$LINENO: result: $ac_cv_lib_MesaGL_glEnable" >&5
37080 echo "${ECHO_T}$ac_cv_lib_MesaGL_glEnable" >&6; }
37081 if test $ac_cv_lib_MesaGL_glEnable = yes; then
37082 ac_find_libraries="std"
37083 fi
37084
37085 fi
37086 fi
37087
37088 if test "x$ac_find_libraries" = "x"; then
37089 { echo "$as_me:$LINENO: checking elsewhere" >&5
37090 echo $ECHO_N "checking elsewhere... $ECHO_C" >&6; }
37091
37092 ac_find_libraries=
37093 for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
37094 do
37095 for ac_extension in a so sl dylib dll.a; do
37096 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
37097 ac_find_libraries=$ac_dir
37098 break 2
37099 fi
37100 done
37101 done
37102
37103 if test "x$ac_find_libraries" != "x"; then
37104 { echo "$as_me:$LINENO: result: yes" >&5
37105 echo "${ECHO_T}yes" >&6; }
37106 else
37107 { echo "$as_me:$LINENO: result: no" >&5
37108 echo "${ECHO_T}no" >&6; }
37109 fi
37110 fi
37111
37112 elif test $pkg_failed = untried; then
37113
37114 if test "x$ac_find_libraries" = "x"; then
37115 if test "xglEnable" != "x"; then
37116 { echo "$as_me:$LINENO: checking for glEnable in -lMesaGL" >&5
37117 echo $ECHO_N "checking for glEnable in -lMesaGL... $ECHO_C" >&6; }
37118 if test "${ac_cv_lib_MesaGL_glEnable+set}" = set; then
37119 echo $ECHO_N "(cached) $ECHO_C" >&6
37120 else
37121 ac_check_lib_save_LIBS=$LIBS
37122 LIBS="-lMesaGL $LIBS"
37123 cat >conftest.$ac_ext <<_ACEOF
37124 /* confdefs.h. */
37125 _ACEOF
37126 cat confdefs.h >>conftest.$ac_ext
37127 cat >>conftest.$ac_ext <<_ACEOF
37128 /* end confdefs.h. */
37129
37130 /* Override any GCC internal prototype to avoid an error.
37131 Use char because int might match the return type of a GCC
37132 builtin and then its argument prototype would still apply. */
37133 #ifdef __cplusplus
37134 extern "C"
37135 #endif
37136 char glEnable ();
37137 int
37138 main ()
37139 {
37140 return glEnable ();
37141 ;
37142 return 0;
37143 }
37144 _ACEOF
37145 rm -f conftest.$ac_objext conftest$ac_exeext
37146 if { (ac_try="$ac_link"
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_link") 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_c_werror_flag" ||
37160 test ! -s conftest.err
37161 } && test -s conftest$ac_exeext &&
37162 $as_test_x conftest$ac_exeext; then
37163 ac_cv_lib_MesaGL_glEnable=yes
37164 else
37165 echo "$as_me: failed program was:" >&5
37166 sed 's/^/| /' conftest.$ac_ext >&5
37167
37168 ac_cv_lib_MesaGL_glEnable=no
37169 fi
37170
37171 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37172 conftest$ac_exeext conftest.$ac_ext
37173 LIBS=$ac_check_lib_save_LIBS
37174 fi
37175 { echo "$as_me:$LINENO: result: $ac_cv_lib_MesaGL_glEnable" >&5
37176 echo "${ECHO_T}$ac_cv_lib_MesaGL_glEnable" >&6; }
37177 if test $ac_cv_lib_MesaGL_glEnable = yes; then
37178 ac_find_libraries="std"
37179 fi
37180
37181 fi
37182 fi
37183
37184 if test "x$ac_find_libraries" = "x"; then
37185 { echo "$as_me:$LINENO: checking elsewhere" >&5
37186 echo $ECHO_N "checking elsewhere... $ECHO_C" >&6; }
37187
37188 ac_find_libraries=
37189 for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
37190 do
37191 for ac_extension in a so sl dylib dll.a; do
37192 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
37193 ac_find_libraries=$ac_dir
37194 break 2
37195 fi
37196 done
37197 done
37198
37199 if test "x$ac_find_libraries" != "x"; then
37200 { echo "$as_me:$LINENO: result: yes" >&5
37201 echo "${ECHO_T}yes" >&6; }
37202 else
37203 { echo "$as_me:$LINENO: result: no" >&5
37204 echo "${ECHO_T}no" >&6; }
37205 fi
37206 fi
37207
37208 else
37209 MesaGL_CFLAGS=$pkg_cv_MesaGL_CFLAGS
37210 MesaGL_LIBS=$pkg_cv_MesaGL_LIBS
37211 { echo "$as_me:$LINENO: result: yes" >&5
37212 echo "${ECHO_T}yes" >&6; }
37213
37214 ac_find_libraries="std"
37215
37216 eval ac_find_cflags=\$MesaGL_CFLAGS
37217 eval fl_libs=\$MesaGL_LIBS
37218
37219 for fl_path in $fl_libs
37220 do
37221 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
37222 ac_find_libraries=`echo "$fl_path" | cut -c 3-`
37223 fi
37224 done
37225
37226 fi
37227
37228 if test "$ac_find_libraries" != "" ; then
37229 if test "$ac_find_libraries" != "std" ; then
37230
37231 if test "$ac_find_libraries" = "default location"; then
37232 ac_path_to_link=""
37233 else
37234 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
37235 result=$?
37236 if test $result = 0; then
37237 ac_path_to_link=""
37238 else
37239 ac_path_to_link=" -L$ac_find_libraries"
37240 fi
37241 fi
37242
37243 if test "$ac_path_to_link" != " -L/usr/lib" ; then
37244 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
37245 fi
37246 fi
37247 OPENGL_LIBS="-lMesaGL -lMesaGLU"
37248 fi
37249 fi
37250
37251 fi
37252
37253
37254
37255 fi
37256
37257
37258
37259 if test "x$OPENGL_LIBS" = "x"; then
37260 if test "$wxUSE_OPENGL" = "yes"; then
37261 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
37262 echo "$as_me: error: OpenGL libraries not available" >&2;}
37263 { (exit 1); exit 1; }; }
37264 else
37265 { echo "$as_me:$LINENO: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&5
37266 echo "$as_me: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&2;}
37267 wxUSE_OPENGL=no
37268 USE_OPENGL=0
37269 fi
37270 fi
37271 else
37272 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
37273 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
37274 wxUSE_OPENGL="no"
37275 fi
37276
37277 if test "$wxUSE_OPENGL" = "auto"; then
37278 wxUSE_OPENGL=yes
37279 fi
37280
37281 if test "$wxUSE_OPENGL" = "yes"; then
37282 USE_OPENGL=1
37283 cat >>confdefs.h <<\_ACEOF
37284 #define wxUSE_OPENGL 1
37285 _ACEOF
37286
37287 cat >>confdefs.h <<\_ACEOF
37288 #define wxUSE_GLCANVAS 1
37289 _ACEOF
37290
37291 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
37292 fi
37293 fi
37294
37295
37296 if test -n "$TOOLKIT" ; then
37297 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
37298 fi
37299
37300
37301
37302 if test "$wxUSE_SHARED" = "yes"; then
37303 case "${host}" in
37304 *-pc-msdosdjgpp )
37305 wxUSE_SHARED=no
37306 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
37307 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
37308 ;;
37309 esac
37310 fi
37311
37312 if test "$wxUSE_SHARED" = "yes"; then
37313
37314
37315 case "${host}" in
37316 *-*-cygwin* | *-*-mingw* )
37317 wx_cv_version_script=no
37318 ;;
37319
37320 *)
37321 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
37322 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
37323 if test "${wx_cv_version_script+set}" = set; then
37324 echo $ECHO_N "(cached) $ECHO_C" >&6
37325 else
37326
37327 echo "VER_1 { *; };" >conftest.sym
37328 echo "int main() { return 0; }" >conftest.cpp
37329
37330 if { ac_try='
37331 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
37332 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
37333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37334 (eval $ac_try) 2>&5
37335 ac_status=$?
37336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37337 (exit $ac_status); }; } ; then
37338 if test -s conftest.stderr ; then
37339 wx_cv_version_script=no
37340 else
37341 wx_cv_version_script=yes
37342 fi
37343 else
37344 wx_cv_version_script=no
37345 fi
37346
37347 if test $wx_cv_version_script = yes
37348 then
37349 echo "struct B { virtual ~B() { } }; \
37350 struct D : public B { }; \
37351 void F() { D d; }" > conftest.cpp
37352
37353 if { ac_try='
37354 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
37355 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
37356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37357 (eval $ac_try) 2>&5
37358 ac_status=$?
37359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37360 (exit $ac_status); }; } &&
37361 { ac_try='
37362 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
37363 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
37364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37365 (eval $ac_try) 2>&5
37366 ac_status=$?
37367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37368 (exit $ac_status); }; }
37369 then
37370 if { ac_try='
37371 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
37372 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
37373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37374 (eval $ac_try) 2>&5
37375 ac_status=$?
37376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37377 (exit $ac_status); }; }
37378 then
37379 wx_cv_version_script=yes
37380 else
37381 wx_cv_version_script=no
37382 fi
37383 fi
37384 fi
37385
37386 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
37387 rm -f conftest1.output conftest2.output conftest3.output
37388
37389 fi
37390 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
37391 echo "${ECHO_T}$wx_cv_version_script" >&6; }
37392
37393 if test $wx_cv_version_script = yes ; then
37394 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
37395 fi
37396 ;;
37397 esac
37398
37399
37400 if test "$wxUSE_VISIBILITY" != "no"; then
37401
37402
37403 if test -n "$GCC"; then
37404 CFLAGS_VISIBILITY="-fvisibility=hidden"
37405 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
37406 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
37407 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
37408 if test "${wx_cv_cc_visibility+set}" = set; then
37409 echo $ECHO_N "(cached) $ECHO_C" >&6
37410 else
37411
37412 wx_save_CXXFLAGS="$CXXFLAGS"
37413 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
37414 ac_ext=cpp
37415 ac_cpp='$CXXCPP $CPPFLAGS'
37416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37419
37420 cat >conftest.$ac_ext <<_ACEOF
37421 /* confdefs.h. */
37422 _ACEOF
37423 cat confdefs.h >>conftest.$ac_ext
37424 cat >>conftest.$ac_ext <<_ACEOF
37425 /* end confdefs.h. */
37426
37427 /* we need gcc >= 4.0, older versions with visibility support
37428 didn't have class visibility: */
37429 #if defined(__GNUC__) && __GNUC__ < 4
37430 error this gcc is too old;
37431 #endif
37432
37433 /* visibility only makes sense for ELF shared libs: */
37434 #if !defined(__ELF__) && !defined(__APPLE__)
37435 error this platform has no visibility;
37436 #endif
37437
37438 /* at the time of Xcode 4.1 / Clang 3, Clang++ still didn't have the bugs sorted out: */
37439 #if defined(__clang__)
37440 clang compiler is still broken w.r.t. visibility;
37441 #endif
37442
37443 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
37444 extern __attribute__((__visibility__("default"))) int exportedvar;
37445 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
37446 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
37447 class __attribute__((__visibility__("default"))) Foo {
37448 Foo() {}
37449 };
37450
37451 int
37452 main ()
37453 {
37454
37455 ;
37456 return 0;
37457 }
37458 _ACEOF
37459 rm -f conftest.$ac_objext
37460 if { (ac_try="$ac_compile"
37461 case "(($ac_try" in
37462 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37463 *) ac_try_echo=$ac_try;;
37464 esac
37465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37466 (eval "$ac_compile") 2>conftest.er1
37467 ac_status=$?
37468 grep -v '^ *+' conftest.er1 >conftest.err
37469 rm -f conftest.er1
37470 cat conftest.err >&5
37471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37472 (exit $ac_status); } && {
37473 test -z "$ac_cxx_werror_flag" ||
37474 test ! -s conftest.err
37475 } && test -s conftest.$ac_objext; then
37476 wx_cv_cc_visibility=yes
37477 else
37478 echo "$as_me: failed program was:" >&5
37479 sed 's/^/| /' conftest.$ac_ext >&5
37480
37481 wx_cv_cc_visibility=no
37482 fi
37483
37484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37485 ac_ext=c
37486 ac_cpp='$CPP $CPPFLAGS'
37487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37490
37491 CXXFLAGS="$wx_save_CXXFLAGS"
37492 fi
37493
37494 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
37495 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
37496 if test $wx_cv_cc_visibility = yes; then
37497 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
37498 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
37499 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
37500 echo $ECHO_N "(cached) $ECHO_C" >&6
37501 else
37502
37503 wx_save_CXXFLAGS="$CXXFLAGS"
37504 wx_save_LDFLAGS="$LDFLAGS"
37505 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
37506 LDFLAGS="$LDFLAGS -shared -fPIC"
37507 ac_ext=cpp
37508 ac_cpp='$CXXCPP $CPPFLAGS'
37509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37512
37513 cat >conftest.$ac_ext <<_ACEOF
37514 /* confdefs.h. */
37515 _ACEOF
37516 cat confdefs.h >>conftest.$ac_ext
37517 cat >>conftest.$ac_ext <<_ACEOF
37518 /* end confdefs.h. */
37519
37520 #include <string>
37521
37522 int
37523 main ()
37524 {
37525
37526 std::string s("hello");
37527 return s.length();
37528
37529 ;
37530 return 0;
37531 }
37532 _ACEOF
37533 rm -f conftest.$ac_objext conftest$ac_exeext
37534 if { (ac_try="$ac_link"
37535 case "(($ac_try" in
37536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37537 *) ac_try_echo=$ac_try;;
37538 esac
37539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37540 (eval "$ac_link") 2>conftest.er1
37541 ac_status=$?
37542 grep -v '^ *+' conftest.er1 >conftest.err
37543 rm -f conftest.er1
37544 cat conftest.err >&5
37545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37546 (exit $ac_status); } && {
37547 test -z "$ac_cxx_werror_flag" ||
37548 test ! -s conftest.err
37549 } && test -s conftest$ac_exeext &&
37550 $as_test_x conftest$ac_exeext; then
37551 wx_cv_cc_broken_libstdcxx_visibility=no
37552 else
37553 echo "$as_me: failed program was:" >&5
37554 sed 's/^/| /' conftest.$ac_ext >&5
37555
37556 wx_cv_cc_broken_libstdcxx_visibility=yes
37557 fi
37558
37559 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37560 conftest$ac_exeext conftest.$ac_ext
37561 ac_ext=c
37562 ac_cpp='$CPP $CPPFLAGS'
37563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37566
37567 CXXFLAGS="$wx_save_CXXFLAGS"
37568 LDFLAGS="$wx_save_LDFLAGS"
37569 fi
37570
37571 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
37572 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
37573
37574 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
37575 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
37576 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
37577 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
37578 echo $ECHO_N "(cached) $ECHO_C" >&6
37579 else
37580
37581 ac_ext=cpp
37582 ac_cpp='$CXXCPP $CPPFLAGS'
37583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37586
37587 cat >conftest.$ac_ext <<_ACEOF
37588 /* confdefs.h. */
37589 _ACEOF
37590 cat confdefs.h >>conftest.$ac_ext
37591 cat >>conftest.$ac_ext <<_ACEOF
37592 /* end confdefs.h. */
37593
37594 #pragma GCC visibility push(default)
37595 #include <string>
37596 #pragma GCC visibility pop
37597
37598 int
37599 main ()
37600 {
37601
37602 std::string s("hello");
37603 return s.length();
37604
37605 ;
37606 return 0;
37607 }
37608 _ACEOF
37609 rm -f conftest.$ac_objext conftest$ac_exeext
37610 if { (ac_try="$ac_link"
37611 case "(($ac_try" in
37612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37613 *) ac_try_echo=$ac_try;;
37614 esac
37615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37616 (eval "$ac_link") 2>conftest.er1
37617 ac_status=$?
37618 grep -v '^ *+' conftest.er1 >conftest.err
37619 rm -f conftest.er1
37620 cat conftest.err >&5
37621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37622 (exit $ac_status); } && {
37623 test -z "$ac_cxx_werror_flag" ||
37624 test ! -s conftest.err
37625 } && test -s conftest$ac_exeext &&
37626 $as_test_x conftest$ac_exeext; then
37627 wx_cv_cc_visibility_workaround=no
37628 else
37629 echo "$as_me: failed program was:" >&5
37630 sed 's/^/| /' conftest.$ac_ext >&5
37631
37632 wx_cv_cc_visibility_workaround=yes
37633 fi
37634
37635 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37636 conftest$ac_exeext conftest.$ac_ext
37637 ac_ext=c
37638 ac_cpp='$CPP $CPPFLAGS'
37639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37642
37643
37644 fi
37645
37646 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
37647 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
37648
37649 if test $wx_cv_cc_visibility_workaround = no; then
37650 wx_cv_cc_visibility=no
37651 fi
37652 fi
37653 fi
37654
37655 if test $wx_cv_cc_visibility = yes; then
37656 cat >>confdefs.h <<\_ACEOF
37657 #define HAVE_VISIBILITY 1
37658 _ACEOF
37659
37660 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
37661 cat >>confdefs.h <<\_ACEOF
37662 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
37663 _ACEOF
37664
37665 fi
37666 else
37667 CFLAGS_VISIBILITY=""
37668 CXXFLAGS_VISIBILITY=""
37669 fi
37670
37671
37672 fi
37673
37674 fi
37675
37676 if test "x$SUNCXX" = xyes; then
37677 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
37678 WXCONFIG_RPATH="-R\$libdir"
37679 else
37680 case "${host}" in
37681 *-*-linux* | *-*-gnu* )
37682 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
37683 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
37684 ;;
37685
37686 *-*-solaris2* )
37687
37688 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
37689
37690 saveLdflags="$LDFLAGS"
37691 LDFLAGS="$saveLdflags -Wl,-rpath,/"
37692 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
37693 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
37694 cat >conftest.$ac_ext <<_ACEOF
37695 /* confdefs.h. */
37696 _ACEOF
37697 cat confdefs.h >>conftest.$ac_ext
37698 cat >>conftest.$ac_ext <<_ACEOF
37699 /* end confdefs.h. */
37700
37701 int
37702 main ()
37703 {
37704
37705 ;
37706 return 0;
37707 }
37708 _ACEOF
37709 rm -f conftest.$ac_objext conftest$ac_exeext
37710 if { (ac_try="$ac_link"
37711 case "(($ac_try" in
37712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37713 *) ac_try_echo=$ac_try;;
37714 esac
37715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37716 (eval "$ac_link") 2>conftest.er1
37717 ac_status=$?
37718 grep -v '^ *+' conftest.er1 >conftest.err
37719 rm -f conftest.er1
37720 cat conftest.err >&5
37721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37722 (exit $ac_status); } && {
37723 test -z "$ac_c_werror_flag" ||
37724 test ! -s conftest.err
37725 } && test -s conftest$ac_exeext &&
37726 $as_test_x conftest$ac_exeext; then
37727
37728 { echo "$as_me:$LINENO: result: yes" >&5
37729 echo "${ECHO_T}yes" >&6; }
37730 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
37731 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
37732
37733 else
37734 echo "$as_me: failed program was:" >&5
37735 sed 's/^/| /' conftest.$ac_ext >&5
37736
37737
37738 { echo "$as_me:$LINENO: result: no" >&5
37739 echo "${ECHO_T}no" >&6; }
37740 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
37741 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
37742 LDFLAGS="$saveLdflags -Wl,-R,/"
37743 cat >conftest.$ac_ext <<_ACEOF
37744 /* confdefs.h. */
37745 _ACEOF
37746 cat confdefs.h >>conftest.$ac_ext
37747 cat >>conftest.$ac_ext <<_ACEOF
37748 /* end confdefs.h. */
37749
37750 int
37751 main ()
37752 {
37753
37754 ;
37755 return 0;
37756 }
37757 _ACEOF
37758 rm -f conftest.$ac_objext conftest$ac_exeext
37759 if { (ac_try="$ac_link"
37760 case "(($ac_try" in
37761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37762 *) ac_try_echo=$ac_try;;
37763 esac
37764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37765 (eval "$ac_link") 2>conftest.er1
37766 ac_status=$?
37767 grep -v '^ *+' conftest.er1 >conftest.err
37768 rm -f conftest.er1
37769 cat conftest.err >&5
37770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37771 (exit $ac_status); } && {
37772 test -z "$ac_c_werror_flag" ||
37773 test ! -s conftest.err
37774 } && test -s conftest$ac_exeext &&
37775 $as_test_x conftest$ac_exeext; then
37776
37777 { echo "$as_me:$LINENO: result: yes" >&5
37778 echo "${ECHO_T}yes" >&6; }
37779 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
37780 WXCONFIG_RPATH="-Wl,-R,\$libdir"
37781
37782 else
37783 echo "$as_me: failed program was:" >&5
37784 sed 's/^/| /' conftest.$ac_ext >&5
37785
37786
37787 { echo "$as_me:$LINENO: result: no" >&5
37788 echo "${ECHO_T}no" >&6; }
37789
37790 fi
37791
37792 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37793 conftest$ac_exeext conftest.$ac_ext
37794
37795 fi
37796
37797 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37798 conftest$ac_exeext conftest.$ac_ext
37799 LDFLAGS="$saveLdflags"
37800 ;;
37801
37802 *-*-darwin* )
37803 install_name_tool=`which ${HOST_PREFIX}install_name_tool`
37804 if test "$install_name_tool" -a -x "$install_name_tool"; then
37805 DYLIB_RPATH_POSTLINK="${HOST_PREFIX}install_name_tool -id \$@ \$@"
37806 cat <<EOF >change-install-names
37807 #!/bin/sh
37808 libnames=\`cd \${2} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
37809 for i in \${libnames} ; do
37810 ${HOST_PREFIX}install_name_tool -id \${3}/\${i} \${1}/\${i}
37811 for dep in \${libnames} ; do
37812 ${HOST_PREFIX}install_name_tool -change \${2}/\${dep} \${3}/\${dep} \${1}/\${i}
37813 done
37814 done
37815 EOF
37816 chmod +x change-install-names
37817 DYLIB_RPATH_INSTALL="\$(wx_top_builddir)/change-install-names \${DESTDIR}\${libdir} \$(wx_top_builddir)/lib \${libdir}"
37818 fi
37819
37820 HEADER_PAD_OPTION="-headerpad_max_install_names"
37821 ;;
37822
37823 *-*-cygwin* | *-*-mingw32* )
37824 ;;
37825
37826 *-*-hpux* )
37827 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
37828 WXCONFIG_RPATH="-Wl,+b,\$libdir"
37829 ;;
37830
37831 esac
37832 fi
37833
37834 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
37835
37836 if test $wxUSE_RPATH = "no"; then
37837 SAMPLES_RPATH_FLAG=''
37838 DYLIB_PATH_POSTLINK=''
37839 WXCONFIG_RPATH=''
37840 fi
37841
37842 SHARED=1
37843
37844 else
37845
37846 config_linkage_component="-static"
37847 SHARED=0
37848
37849 fi
37850
37851
37852 UNICODE=0
37853 lib_unicode_suffix=
37854 WX_CHARTYPE="ansi"
37855 if test "$wxUSE_UNICODE" = "yes"; then
37856 lib_unicode_suffix=u
37857 WX_CHARTYPE="unicode"
37858 UNICODE=1
37859 fi
37860
37861 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
37862 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
37863
37864 DEBUG_INFO=0
37865 if test "$wxUSE_DEBUG_INFO" = "yes"; then
37866 DEBUG_INFO=1
37867 fi
37868
37869 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
37870
37871 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
37872
37873 TOOLCHAIN_FULLNAME="${HOST_PREFIX}${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
37874
37875
37876 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
37877 WX_LIBRARY_BASENAME_NOGUI="wx_base${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
37878 else
37879 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
37880 fi
37881 if test "${TOOLKIT_DIR}" = "os2"; then
37882 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
37883 else
37884 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
37885 fi
37886
37887
37888
37889 if test "$wxUSE_OLD_COCOA" = 1; then
37890
37891 ac_ext=c
37892 ac_cpp='$CPP $CPPFLAGS'
37893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37896
37897 ac_ext=m
37898
37899 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
37900 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
37901 cat >conftest.$ac_ext <<_ACEOF
37902 /* confdefs.h. */
37903 _ACEOF
37904 cat confdefs.h >>conftest.$ac_ext
37905 cat >>conftest.$ac_ext <<_ACEOF
37906 /* end confdefs.h. */
37907 #include <AppKit/NSEvent.h>
37908 #include <CoreFoundation/CoreFoundation.h>
37909
37910 int
37911 main ()
37912 {
37913
37914 ;
37915 return 0;
37916 }
37917 _ACEOF
37918 rm -f conftest.$ac_objext
37919 if { (ac_try="$ac_compile"
37920 case "(($ac_try" in
37921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37922 *) ac_try_echo=$ac_try;;
37923 esac
37924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37925 (eval "$ac_compile") 2>conftest.er1
37926 ac_status=$?
37927 grep -v '^ *+' conftest.er1 >conftest.err
37928 rm -f conftest.er1
37929 cat conftest.err >&5
37930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37931 (exit $ac_status); } && {
37932 test -z "$ac_c_werror_flag" ||
37933 test ! -s conftest.err
37934 } && test -s conftest.$ac_objext; then
37935 { echo "$as_me:$LINENO: result: no" >&5
37936 echo "${ECHO_T}no" >&6; }
37937 else
37938 echo "$as_me: failed program was:" >&5
37939 sed 's/^/| /' conftest.$ac_ext >&5
37940
37941 { echo "$as_me:$LINENO: result: yes" >&5
37942 echo "${ECHO_T}yes" >&6; }
37943 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
37944 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
37945 cat >conftest.$ac_ext <<_ACEOF
37946 /* confdefs.h. */
37947 _ACEOF
37948 cat confdefs.h >>conftest.$ac_ext
37949 cat >>conftest.$ac_ext <<_ACEOF
37950 /* end confdefs.h. */
37951 #define __Point__ 1
37952 #include <AppKit/NSEvent.h>
37953 #include <CoreFoundation/CoreFoundation.h>
37954
37955 int
37956 main ()
37957 {
37958
37959 ;
37960 return 0;
37961 }
37962 _ACEOF
37963 rm -f conftest.$ac_objext
37964 if { (ac_try="$ac_compile"
37965 case "(($ac_try" in
37966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37967 *) ac_try_echo=$ac_try;;
37968 esac
37969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37970 (eval "$ac_compile") 2>conftest.er1
37971 ac_status=$?
37972 grep -v '^ *+' conftest.er1 >conftest.err
37973 rm -f conftest.er1
37974 cat conftest.err >&5
37975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37976 (exit $ac_status); } && {
37977 test -z "$ac_c_werror_flag" ||
37978 test ! -s conftest.err
37979 } && test -s conftest.$ac_objext; then
37980 { echo "$as_me:$LINENO: result: yes" >&5
37981 echo "${ECHO_T}yes" >&6; }
37982 cat >>confdefs.h <<\_ACEOF
37983 #define __Point__ 1
37984 _ACEOF
37985
37986
37987 else
37988 echo "$as_me: failed program was:" >&5
37989 sed 's/^/| /' conftest.$ac_ext >&5
37990
37991 { { echo "$as_me:$LINENO: error: no
37992 See \`config.log' for more details." >&5
37993 echo "$as_me: error: no
37994 See \`config.log' for more details." >&2;}
37995 { (exit 1); exit 1; }; }
37996
37997 fi
37998
37999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38000
38001 fi
38002
38003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38004 ac_ext=c
38005 ac_cpp='$CPP $CPPFLAGS'
38006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38009
38010 fi
38011
38012
38013 { echo "$as_me:$LINENO: checking for mode_t" >&5
38014 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
38015 if test "${ac_cv_type_mode_t+set}" = set; then
38016 echo $ECHO_N "(cached) $ECHO_C" >&6
38017 else
38018 cat >conftest.$ac_ext <<_ACEOF
38019 /* confdefs.h. */
38020 _ACEOF
38021 cat confdefs.h >>conftest.$ac_ext
38022 cat >>conftest.$ac_ext <<_ACEOF
38023 /* end confdefs.h. */
38024 $ac_includes_default
38025 typedef mode_t ac__type_new_;
38026 int
38027 main ()
38028 {
38029 if ((ac__type_new_ *) 0)
38030 return 0;
38031 if (sizeof (ac__type_new_))
38032 return 0;
38033 ;
38034 return 0;
38035 }
38036 _ACEOF
38037 rm -f conftest.$ac_objext
38038 if { (ac_try="$ac_compile"
38039 case "(($ac_try" in
38040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38041 *) ac_try_echo=$ac_try;;
38042 esac
38043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38044 (eval "$ac_compile") 2>conftest.er1
38045 ac_status=$?
38046 grep -v '^ *+' conftest.er1 >conftest.err
38047 rm -f conftest.er1
38048 cat conftest.err >&5
38049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38050 (exit $ac_status); } && {
38051 test -z "$ac_c_werror_flag" ||
38052 test ! -s conftest.err
38053 } && test -s conftest.$ac_objext; then
38054 ac_cv_type_mode_t=yes
38055 else
38056 echo "$as_me: failed program was:" >&5
38057 sed 's/^/| /' conftest.$ac_ext >&5
38058
38059 ac_cv_type_mode_t=no
38060 fi
38061
38062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38063 fi
38064 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
38065 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
38066 if test $ac_cv_type_mode_t = yes; then
38067 :
38068 else
38069
38070 cat >>confdefs.h <<_ACEOF
38071 #define mode_t int
38072 _ACEOF
38073
38074 fi
38075
38076 { echo "$as_me:$LINENO: checking for off_t" >&5
38077 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
38078 if test "${ac_cv_type_off_t+set}" = set; then
38079 echo $ECHO_N "(cached) $ECHO_C" >&6
38080 else
38081 cat >conftest.$ac_ext <<_ACEOF
38082 /* confdefs.h. */
38083 _ACEOF
38084 cat confdefs.h >>conftest.$ac_ext
38085 cat >>conftest.$ac_ext <<_ACEOF
38086 /* end confdefs.h. */
38087 $ac_includes_default
38088 typedef off_t ac__type_new_;
38089 int
38090 main ()
38091 {
38092 if ((ac__type_new_ *) 0)
38093 return 0;
38094 if (sizeof (ac__type_new_))
38095 return 0;
38096 ;
38097 return 0;
38098 }
38099 _ACEOF
38100 rm -f conftest.$ac_objext
38101 if { (ac_try="$ac_compile"
38102 case "(($ac_try" in
38103 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38104 *) ac_try_echo=$ac_try;;
38105 esac
38106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38107 (eval "$ac_compile") 2>conftest.er1
38108 ac_status=$?
38109 grep -v '^ *+' conftest.er1 >conftest.err
38110 rm -f conftest.er1
38111 cat conftest.err >&5
38112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38113 (exit $ac_status); } && {
38114 test -z "$ac_c_werror_flag" ||
38115 test ! -s conftest.err
38116 } && test -s conftest.$ac_objext; then
38117 ac_cv_type_off_t=yes
38118 else
38119 echo "$as_me: failed program was:" >&5
38120 sed 's/^/| /' conftest.$ac_ext >&5
38121
38122 ac_cv_type_off_t=no
38123 fi
38124
38125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38126 fi
38127 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
38128 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
38129 if test $ac_cv_type_off_t = yes; then
38130 :
38131 else
38132
38133 cat >>confdefs.h <<_ACEOF
38134 #define off_t long int
38135 _ACEOF
38136
38137 fi
38138
38139 { echo "$as_me:$LINENO: checking for pid_t" >&5
38140 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
38141 if test "${ac_cv_type_pid_t+set}" = set; then
38142 echo $ECHO_N "(cached) $ECHO_C" >&6
38143 else
38144 cat >conftest.$ac_ext <<_ACEOF
38145 /* confdefs.h. */
38146 _ACEOF
38147 cat confdefs.h >>conftest.$ac_ext
38148 cat >>conftest.$ac_ext <<_ACEOF
38149 /* end confdefs.h. */
38150 $ac_includes_default
38151 typedef pid_t ac__type_new_;
38152 int
38153 main ()
38154 {
38155 if ((ac__type_new_ *) 0)
38156 return 0;
38157 if (sizeof (ac__type_new_))
38158 return 0;
38159 ;
38160 return 0;
38161 }
38162 _ACEOF
38163 rm -f conftest.$ac_objext
38164 if { (ac_try="$ac_compile"
38165 case "(($ac_try" in
38166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38167 *) ac_try_echo=$ac_try;;
38168 esac
38169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38170 (eval "$ac_compile") 2>conftest.er1
38171 ac_status=$?
38172 grep -v '^ *+' conftest.er1 >conftest.err
38173 rm -f conftest.er1
38174 cat conftest.err >&5
38175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38176 (exit $ac_status); } && {
38177 test -z "$ac_c_werror_flag" ||
38178 test ! -s conftest.err
38179 } && test -s conftest.$ac_objext; then
38180 ac_cv_type_pid_t=yes
38181 else
38182 echo "$as_me: failed program was:" >&5
38183 sed 's/^/| /' conftest.$ac_ext >&5
38184
38185 ac_cv_type_pid_t=no
38186 fi
38187
38188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38189 fi
38190 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
38191 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
38192 if test $ac_cv_type_pid_t = yes; then
38193 :
38194 else
38195
38196 cat >>confdefs.h <<_ACEOF
38197 #define pid_t int
38198 _ACEOF
38199
38200 fi
38201
38202 { echo "$as_me:$LINENO: checking for size_t" >&5
38203 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
38204 if test "${ac_cv_type_size_t+set}" = set; then
38205 echo $ECHO_N "(cached) $ECHO_C" >&6
38206 else
38207 cat >conftest.$ac_ext <<_ACEOF
38208 /* confdefs.h. */
38209 _ACEOF
38210 cat confdefs.h >>conftest.$ac_ext
38211 cat >>conftest.$ac_ext <<_ACEOF
38212 /* end confdefs.h. */
38213 $ac_includes_default
38214 typedef size_t ac__type_new_;
38215 int
38216 main ()
38217 {
38218 if ((ac__type_new_ *) 0)
38219 return 0;
38220 if (sizeof (ac__type_new_))
38221 return 0;
38222 ;
38223 return 0;
38224 }
38225 _ACEOF
38226 rm -f conftest.$ac_objext
38227 if { (ac_try="$ac_compile"
38228 case "(($ac_try" in
38229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38230 *) ac_try_echo=$ac_try;;
38231 esac
38232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38233 (eval "$ac_compile") 2>conftest.er1
38234 ac_status=$?
38235 grep -v '^ *+' conftest.er1 >conftest.err
38236 rm -f conftest.er1
38237 cat conftest.err >&5
38238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38239 (exit $ac_status); } && {
38240 test -z "$ac_c_werror_flag" ||
38241 test ! -s conftest.err
38242 } && test -s conftest.$ac_objext; then
38243 ac_cv_type_size_t=yes
38244 else
38245 echo "$as_me: failed program was:" >&5
38246 sed 's/^/| /' conftest.$ac_ext >&5
38247
38248 ac_cv_type_size_t=no
38249 fi
38250
38251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38252 fi
38253 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
38254 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
38255 if test $ac_cv_type_size_t = yes; then
38256 :
38257 else
38258
38259 cat >>confdefs.h <<_ACEOF
38260 #define size_t unsigned int
38261 _ACEOF
38262
38263 fi
38264
38265
38266 { echo "$as_me:$LINENO: checking for ssize_t" >&5
38267 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
38268 if test "${ac_cv_type_ssize_t+set}" = set; then
38269 echo $ECHO_N "(cached) $ECHO_C" >&6
38270 else
38271 cat >conftest.$ac_ext <<_ACEOF
38272 /* confdefs.h. */
38273 _ACEOF
38274 cat confdefs.h >>conftest.$ac_ext
38275 cat >>conftest.$ac_ext <<_ACEOF
38276 /* end confdefs.h. */
38277 $ac_includes_default
38278 typedef ssize_t ac__type_new_;
38279 int
38280 main ()
38281 {
38282 if ((ac__type_new_ *) 0)
38283 return 0;
38284 if (sizeof (ac__type_new_))
38285 return 0;
38286 ;
38287 return 0;
38288 }
38289 _ACEOF
38290 rm -f conftest.$ac_objext
38291 if { (ac_try="$ac_compile"
38292 case "(($ac_try" in
38293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38294 *) ac_try_echo=$ac_try;;
38295 esac
38296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38297 (eval "$ac_compile") 2>conftest.er1
38298 ac_status=$?
38299 grep -v '^ *+' conftest.er1 >conftest.err
38300 rm -f conftest.er1
38301 cat conftest.err >&5
38302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38303 (exit $ac_status); } && {
38304 test -z "$ac_c_werror_flag" ||
38305 test ! -s conftest.err
38306 } && test -s conftest.$ac_objext; then
38307 ac_cv_type_ssize_t=yes
38308 else
38309 echo "$as_me: failed program was:" >&5
38310 sed 's/^/| /' conftest.$ac_ext >&5
38311
38312 ac_cv_type_ssize_t=no
38313 fi
38314
38315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38316 fi
38317 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
38318 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
38319 if test $ac_cv_type_ssize_t = yes; then
38320
38321 cat >>confdefs.h <<_ACEOF
38322 #define HAVE_SSIZE_T 1
38323 _ACEOF
38324
38325
38326 fi
38327
38328
38329 ac_ext=cpp
38330 ac_cpp='$CXXCPP $CPPFLAGS'
38331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38334 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
38335 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
38336 if test "${wx_cv_size_t_is_uint+set}" = set; then
38337 echo $ECHO_N "(cached) $ECHO_C" >&6
38338 else
38339
38340 cat >conftest.$ac_ext <<_ACEOF
38341 /* confdefs.h. */
38342 _ACEOF
38343 cat confdefs.h >>conftest.$ac_ext
38344 cat >>conftest.$ac_ext <<_ACEOF
38345 /* end confdefs.h. */
38346 #include <stddef.h>
38347 int
38348 main ()
38349 {
38350
38351 return 0; }
38352
38353 struct Foo { void foo(size_t); void foo(unsigned int); };
38354
38355 int bar() {
38356
38357 ;
38358 return 0;
38359 }
38360 _ACEOF
38361 rm -f conftest.$ac_objext
38362 if { (ac_try="$ac_compile"
38363 case "(($ac_try" in
38364 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38365 *) ac_try_echo=$ac_try;;
38366 esac
38367 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38368 (eval "$ac_compile") 2>conftest.er1
38369 ac_status=$?
38370 grep -v '^ *+' conftest.er1 >conftest.err
38371 rm -f conftest.er1
38372 cat conftest.err >&5
38373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38374 (exit $ac_status); } && {
38375 test -z "$ac_cxx_werror_flag" ||
38376 test ! -s conftest.err
38377 } && test -s conftest.$ac_objext; then
38378 wx_cv_size_t_is_uint=no
38379 else
38380 echo "$as_me: failed program was:" >&5
38381 sed 's/^/| /' conftest.$ac_ext >&5
38382
38383 wx_cv_size_t_is_uint=yes
38384
38385 fi
38386
38387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38388
38389
38390 fi
38391 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
38392 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
38393
38394 if test "$wx_cv_size_t_is_uint" = "yes"; then
38395 cat >>confdefs.h <<\_ACEOF
38396 #define wxSIZE_T_IS_UINT 1
38397 _ACEOF
38398
38399 else
38400 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
38401 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
38402 if test "${wx_cv_size_t_is_ulong+set}" = set; then
38403 echo $ECHO_N "(cached) $ECHO_C" >&6
38404 else
38405 cat >conftest.$ac_ext <<_ACEOF
38406 /* confdefs.h. */
38407 _ACEOF
38408 cat confdefs.h >>conftest.$ac_ext
38409 cat >>conftest.$ac_ext <<_ACEOF
38410 /* end confdefs.h. */
38411 #include <stddef.h>
38412 int
38413 main ()
38414 {
38415
38416 return 0; }
38417
38418 struct Foo { void foo(size_t); void foo(unsigned long); };
38419
38420 int bar() {
38421
38422 ;
38423 return 0;
38424 }
38425 _ACEOF
38426 rm -f conftest.$ac_objext
38427 if { (ac_try="$ac_compile"
38428 case "(($ac_try" in
38429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38430 *) ac_try_echo=$ac_try;;
38431 esac
38432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38433 (eval "$ac_compile") 2>conftest.er1
38434 ac_status=$?
38435 grep -v '^ *+' conftest.er1 >conftest.err
38436 rm -f conftest.er1
38437 cat conftest.err >&5
38438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38439 (exit $ac_status); } && {
38440 test -z "$ac_cxx_werror_flag" ||
38441 test ! -s conftest.err
38442 } && test -s conftest.$ac_objext; then
38443 wx_cv_size_t_is_ulong=no
38444 else
38445 echo "$as_me: failed program was:" >&5
38446 sed 's/^/| /' conftest.$ac_ext >&5
38447
38448 wx_cv_size_t_is_ulong=yes
38449
38450 fi
38451
38452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38453
38454 fi
38455 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
38456 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
38457
38458 if test "$wx_cv_size_t_is_ulong" = "yes"; then
38459 cat >>confdefs.h <<\_ACEOF
38460 #define wxSIZE_T_IS_ULONG 1
38461 _ACEOF
38462
38463 fi
38464 fi
38465
38466 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
38467 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
38468 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
38469 echo $ECHO_N "(cached) $ECHO_C" >&6
38470 else
38471 cat >conftest.$ac_ext <<_ACEOF
38472 /* confdefs.h. */
38473 _ACEOF
38474 cat confdefs.h >>conftest.$ac_ext
38475 cat >>conftest.$ac_ext <<_ACEOF
38476 /* end confdefs.h. */
38477 #include <wchar.h>
38478 int
38479 main ()
38480 {
38481
38482 return 0; }
38483
38484 struct Foo { void foo(wchar_t);
38485 void foo(unsigned short);
38486 void foo(unsigned int);
38487 void foo(unsigned long); };
38488
38489 int bar() {
38490
38491 ;
38492 return 0;
38493 }
38494 _ACEOF
38495 rm -f conftest.$ac_objext
38496 if { (ac_try="$ac_compile"
38497 case "(($ac_try" in
38498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38499 *) ac_try_echo=$ac_try;;
38500 esac
38501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38502 (eval "$ac_compile") 2>conftest.er1
38503 ac_status=$?
38504 grep -v '^ *+' conftest.er1 >conftest.err
38505 rm -f conftest.er1
38506 cat conftest.err >&5
38507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38508 (exit $ac_status); } && {
38509 test -z "$ac_cxx_werror_flag" ||
38510 test ! -s conftest.err
38511 } && test -s conftest.$ac_objext; then
38512 wx_cv_wchar_t_is_separate_type=yes
38513 else
38514 echo "$as_me: failed program was:" >&5
38515 sed 's/^/| /' conftest.$ac_ext >&5
38516
38517 wx_cv_wchar_t_is_separate_type=no
38518
38519 fi
38520
38521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38522
38523 fi
38524 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
38525 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
38526
38527 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
38528 cat >>confdefs.h <<\_ACEOF
38529 #define wxWCHAR_T_IS_REAL_TYPE 1
38530 _ACEOF
38531
38532 else
38533 cat >>confdefs.h <<\_ACEOF
38534 #define wxWCHAR_T_IS_REAL_TYPE 0
38535 _ACEOF
38536
38537 fi
38538
38539 ac_ext=c
38540 ac_cpp='$CPP $CPPFLAGS'
38541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38544
38545
38546 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
38547 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
38548 if test "${wx_cv_struct_pw_gecos+set}" = set; then
38549 echo $ECHO_N "(cached) $ECHO_C" >&6
38550 else
38551
38552 cat >conftest.$ac_ext <<_ACEOF
38553 /* confdefs.h. */
38554 _ACEOF
38555 cat confdefs.h >>conftest.$ac_ext
38556 cat >>conftest.$ac_ext <<_ACEOF
38557 /* end confdefs.h. */
38558 #include <pwd.h>
38559 int
38560 main ()
38561 {
38562
38563 char *p;
38564 struct passwd *pw;
38565 p = pw->pw_gecos;
38566
38567 ;
38568 return 0;
38569 }
38570 _ACEOF
38571 rm -f conftest.$ac_objext
38572 if { (ac_try="$ac_compile"
38573 case "(($ac_try" in
38574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38575 *) ac_try_echo=$ac_try;;
38576 esac
38577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38578 (eval "$ac_compile") 2>conftest.er1
38579 ac_status=$?
38580 grep -v '^ *+' conftest.er1 >conftest.err
38581 rm -f conftest.er1
38582 cat conftest.err >&5
38583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38584 (exit $ac_status); } && {
38585 test -z "$ac_c_werror_flag" ||
38586 test ! -s conftest.err
38587 } && test -s conftest.$ac_objext; then
38588
38589 wx_cv_struct_pw_gecos=yes
38590
38591 else
38592 echo "$as_me: failed program was:" >&5
38593 sed 's/^/| /' conftest.$ac_ext >&5
38594
38595
38596 wx_cv_struct_pw_gecos=no
38597
38598
38599 fi
38600
38601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38602
38603
38604 fi
38605 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
38606 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
38607
38608 if test "$wx_cv_struct_pw_gecos" = "yes"; then
38609 cat >>confdefs.h <<\_ACEOF
38610 #define HAVE_PW_GECOS 1
38611 _ACEOF
38612
38613 fi
38614
38615
38616 WCSLEN_FOUND=0
38617 WCHAR_LINK=
38618
38619 for ac_func in wcslen
38620 do
38621 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38622 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38623 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38624 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38625 echo $ECHO_N "(cached) $ECHO_C" >&6
38626 else
38627 cat >conftest.$ac_ext <<_ACEOF
38628 /* confdefs.h. */
38629 _ACEOF
38630 cat confdefs.h >>conftest.$ac_ext
38631 cat >>conftest.$ac_ext <<_ACEOF
38632 /* end confdefs.h. */
38633 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38634 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38635 #define $ac_func innocuous_$ac_func
38636
38637 /* System header to define __stub macros and hopefully few prototypes,
38638 which can conflict with char $ac_func (); below.
38639 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38640 <limits.h> exists even on freestanding compilers. */
38641
38642 #ifdef __STDC__
38643 # include <limits.h>
38644 #else
38645 # include <assert.h>
38646 #endif
38647
38648 #undef $ac_func
38649
38650 /* Override any GCC internal prototype to avoid an error.
38651 Use char because int might match the return type of a GCC
38652 builtin and then its argument prototype would still apply. */
38653 #ifdef __cplusplus
38654 extern "C"
38655 #endif
38656 char $ac_func ();
38657 /* The GNU C library defines this for functions which it implements
38658 to always fail with ENOSYS. Some functions are actually named
38659 something starting with __ and the normal name is an alias. */
38660 #if defined __stub_$ac_func || defined __stub___$ac_func
38661 choke me
38662 #endif
38663
38664 int
38665 main ()
38666 {
38667 return $ac_func ();
38668 ;
38669 return 0;
38670 }
38671 _ACEOF
38672 rm -f conftest.$ac_objext conftest$ac_exeext
38673 if { (ac_try="$ac_link"
38674 case "(($ac_try" in
38675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38676 *) ac_try_echo=$ac_try;;
38677 esac
38678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38679 (eval "$ac_link") 2>conftest.er1
38680 ac_status=$?
38681 grep -v '^ *+' conftest.er1 >conftest.err
38682 rm -f conftest.er1
38683 cat conftest.err >&5
38684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38685 (exit $ac_status); } && {
38686 test -z "$ac_c_werror_flag" ||
38687 test ! -s conftest.err
38688 } && test -s conftest$ac_exeext &&
38689 $as_test_x conftest$ac_exeext; then
38690 eval "$as_ac_var=yes"
38691 else
38692 echo "$as_me: failed program was:" >&5
38693 sed 's/^/| /' conftest.$ac_ext >&5
38694
38695 eval "$as_ac_var=no"
38696 fi
38697
38698 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38699 conftest$ac_exeext conftest.$ac_ext
38700 fi
38701 ac_res=`eval echo '${'$as_ac_var'}'`
38702 { echo "$as_me:$LINENO: result: $ac_res" >&5
38703 echo "${ECHO_T}$ac_res" >&6; }
38704 if test `eval echo '${'$as_ac_var'}'` = yes; then
38705 cat >>confdefs.h <<_ACEOF
38706 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38707 _ACEOF
38708 WCSLEN_FOUND=1
38709 fi
38710 done
38711
38712
38713 if test "$WCSLEN_FOUND" = 0; then
38714 if test "$TOOLKIT" = "MSW"; then
38715 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
38716 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
38717 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
38718 echo $ECHO_N "(cached) $ECHO_C" >&6
38719 else
38720 ac_check_lib_save_LIBS=$LIBS
38721 LIBS="-lmsvcrt $LIBS"
38722 cat >conftest.$ac_ext <<_ACEOF
38723 /* confdefs.h. */
38724 _ACEOF
38725 cat confdefs.h >>conftest.$ac_ext
38726 cat >>conftest.$ac_ext <<_ACEOF
38727 /* end confdefs.h. */
38728
38729 /* Override any GCC internal prototype to avoid an error.
38730 Use char because int might match the return type of a GCC
38731 builtin and then its argument prototype would still apply. */
38732 #ifdef __cplusplus
38733 extern "C"
38734 #endif
38735 char wcslen ();
38736 int
38737 main ()
38738 {
38739 return wcslen ();
38740 ;
38741 return 0;
38742 }
38743 _ACEOF
38744 rm -f conftest.$ac_objext conftest$ac_exeext
38745 if { (ac_try="$ac_link"
38746 case "(($ac_try" in
38747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38748 *) ac_try_echo=$ac_try;;
38749 esac
38750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38751 (eval "$ac_link") 2>conftest.er1
38752 ac_status=$?
38753 grep -v '^ *+' conftest.er1 >conftest.err
38754 rm -f conftest.er1
38755 cat conftest.err >&5
38756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38757 (exit $ac_status); } && {
38758 test -z "$ac_c_werror_flag" ||
38759 test ! -s conftest.err
38760 } && test -s conftest$ac_exeext &&
38761 $as_test_x conftest$ac_exeext; then
38762 ac_cv_lib_msvcrt_wcslen=yes
38763 else
38764 echo "$as_me: failed program was:" >&5
38765 sed 's/^/| /' conftest.$ac_ext >&5
38766
38767 ac_cv_lib_msvcrt_wcslen=no
38768 fi
38769
38770 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38771 conftest$ac_exeext conftest.$ac_ext
38772 LIBS=$ac_check_lib_save_LIBS
38773 fi
38774 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
38775 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
38776 if test $ac_cv_lib_msvcrt_wcslen = yes; then
38777 WCHAR_OK=1
38778 fi
38779
38780 else
38781 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
38782 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
38783 if test "${ac_cv_lib_w_wcslen+set}" = set; then
38784 echo $ECHO_N "(cached) $ECHO_C" >&6
38785 else
38786 ac_check_lib_save_LIBS=$LIBS
38787 LIBS="-lw $LIBS"
38788 cat >conftest.$ac_ext <<_ACEOF
38789 /* confdefs.h. */
38790 _ACEOF
38791 cat confdefs.h >>conftest.$ac_ext
38792 cat >>conftest.$ac_ext <<_ACEOF
38793 /* end confdefs.h. */
38794
38795 /* Override any GCC internal prototype to avoid an error.
38796 Use char because int might match the return type of a GCC
38797 builtin and then its argument prototype would still apply. */
38798 #ifdef __cplusplus
38799 extern "C"
38800 #endif
38801 char wcslen ();
38802 int
38803 main ()
38804 {
38805 return wcslen ();
38806 ;
38807 return 0;
38808 }
38809 _ACEOF
38810 rm -f conftest.$ac_objext conftest$ac_exeext
38811 if { (ac_try="$ac_link"
38812 case "(($ac_try" in
38813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38814 *) ac_try_echo=$ac_try;;
38815 esac
38816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38817 (eval "$ac_link") 2>conftest.er1
38818 ac_status=$?
38819 grep -v '^ *+' conftest.er1 >conftest.err
38820 rm -f conftest.er1
38821 cat conftest.err >&5
38822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38823 (exit $ac_status); } && {
38824 test -z "$ac_c_werror_flag" ||
38825 test ! -s conftest.err
38826 } && test -s conftest$ac_exeext &&
38827 $as_test_x conftest$ac_exeext; then
38828 ac_cv_lib_w_wcslen=yes
38829 else
38830 echo "$as_me: failed program was:" >&5
38831 sed 's/^/| /' conftest.$ac_ext >&5
38832
38833 ac_cv_lib_w_wcslen=no
38834 fi
38835
38836 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38837 conftest$ac_exeext conftest.$ac_ext
38838 LIBS=$ac_check_lib_save_LIBS
38839 fi
38840 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
38841 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
38842 if test $ac_cv_lib_w_wcslen = yes; then
38843
38844 WCHAR_LINK=" -lw"
38845 WCSLEN_FOUND=1
38846
38847 fi
38848
38849 fi
38850 fi
38851
38852 if test "$WCSLEN_FOUND" = 1; then
38853 cat >>confdefs.h <<\_ACEOF
38854 #define HAVE_WCSLEN 1
38855 _ACEOF
38856
38857 fi
38858
38859
38860
38861
38862
38863
38864
38865 for ac_func in wcsdup wcsftime strnlen wcsnlen wcscasecmp wcsncasecmp
38866 do
38867 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38868 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38869 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38870 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38871 echo $ECHO_N "(cached) $ECHO_C" >&6
38872 else
38873 cat >conftest.$ac_ext <<_ACEOF
38874 /* confdefs.h. */
38875 _ACEOF
38876 cat confdefs.h >>conftest.$ac_ext
38877 cat >>conftest.$ac_ext <<_ACEOF
38878 /* end confdefs.h. */
38879 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38880 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38881 #define $ac_func innocuous_$ac_func
38882
38883 /* System header to define __stub macros and hopefully few prototypes,
38884 which can conflict with char $ac_func (); below.
38885 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38886 <limits.h> exists even on freestanding compilers. */
38887
38888 #ifdef __STDC__
38889 # include <limits.h>
38890 #else
38891 # include <assert.h>
38892 #endif
38893
38894 #undef $ac_func
38895
38896 /* Override any GCC internal prototype to avoid an error.
38897 Use char because int might match the return type of a GCC
38898 builtin and then its argument prototype would still apply. */
38899 #ifdef __cplusplus
38900 extern "C"
38901 #endif
38902 char $ac_func ();
38903 /* The GNU C library defines this for functions which it implements
38904 to always fail with ENOSYS. Some functions are actually named
38905 something starting with __ and the normal name is an alias. */
38906 #if defined __stub_$ac_func || defined __stub___$ac_func
38907 choke me
38908 #endif
38909
38910 int
38911 main ()
38912 {
38913 return $ac_func ();
38914 ;
38915 return 0;
38916 }
38917 _ACEOF
38918 rm -f conftest.$ac_objext conftest$ac_exeext
38919 if { (ac_try="$ac_link"
38920 case "(($ac_try" in
38921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38922 *) ac_try_echo=$ac_try;;
38923 esac
38924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38925 (eval "$ac_link") 2>conftest.er1
38926 ac_status=$?
38927 grep -v '^ *+' conftest.er1 >conftest.err
38928 rm -f conftest.er1
38929 cat conftest.err >&5
38930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38931 (exit $ac_status); } && {
38932 test -z "$ac_c_werror_flag" ||
38933 test ! -s conftest.err
38934 } && test -s conftest$ac_exeext &&
38935 $as_test_x conftest$ac_exeext; then
38936 eval "$as_ac_var=yes"
38937 else
38938 echo "$as_me: failed program was:" >&5
38939 sed 's/^/| /' conftest.$ac_ext >&5
38940
38941 eval "$as_ac_var=no"
38942 fi
38943
38944 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38945 conftest$ac_exeext conftest.$ac_ext
38946 fi
38947 ac_res=`eval echo '${'$as_ac_var'}'`
38948 { echo "$as_me:$LINENO: result: $ac_res" >&5
38949 echo "${ECHO_T}$ac_res" >&6; }
38950 if test `eval echo '${'$as_ac_var'}'` = yes; then
38951 cat >>confdefs.h <<_ACEOF
38952 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38953 _ACEOF
38954
38955 fi
38956 done
38957
38958
38959 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
38960 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
38961 fi
38962
38963 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
38964 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
38965 if test "${ac_cv_type_mbstate_t+set}" = set; then
38966 echo $ECHO_N "(cached) $ECHO_C" >&6
38967 else
38968 cat >conftest.$ac_ext <<_ACEOF
38969 /* confdefs.h. */
38970 _ACEOF
38971 cat confdefs.h >>conftest.$ac_ext
38972 cat >>conftest.$ac_ext <<_ACEOF
38973 /* end confdefs.h. */
38974 #include <wchar.h>
38975
38976 typedef mbstate_t ac__type_new_;
38977 int
38978 main ()
38979 {
38980 if ((ac__type_new_ *) 0)
38981 return 0;
38982 if (sizeof (ac__type_new_))
38983 return 0;
38984 ;
38985 return 0;
38986 }
38987 _ACEOF
38988 rm -f conftest.$ac_objext
38989 if { (ac_try="$ac_compile"
38990 case "(($ac_try" in
38991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38992 *) ac_try_echo=$ac_try;;
38993 esac
38994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38995 (eval "$ac_compile") 2>conftest.er1
38996 ac_status=$?
38997 grep -v '^ *+' conftest.er1 >conftest.err
38998 rm -f conftest.er1
38999 cat conftest.err >&5
39000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39001 (exit $ac_status); } && {
39002 test -z "$ac_c_werror_flag" ||
39003 test ! -s conftest.err
39004 } && test -s conftest.$ac_objext; then
39005 ac_cv_type_mbstate_t=yes
39006 else
39007 echo "$as_me: failed program was:" >&5
39008 sed 's/^/| /' conftest.$ac_ext >&5
39009
39010 ac_cv_type_mbstate_t=no
39011 fi
39012
39013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39014 fi
39015 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
39016 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
39017 if test $ac_cv_type_mbstate_t = yes; then
39018
39019 cat >>confdefs.h <<_ACEOF
39020 #define HAVE_MBSTATE_T 1
39021 _ACEOF
39022
39023
39024 for ac_func in wcsrtombs
39025 do
39026 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39027 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39028 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39029 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39030 echo $ECHO_N "(cached) $ECHO_C" >&6
39031 else
39032 cat >conftest.$ac_ext <<_ACEOF
39033 /* confdefs.h. */
39034 _ACEOF
39035 cat confdefs.h >>conftest.$ac_ext
39036 cat >>conftest.$ac_ext <<_ACEOF
39037 /* end confdefs.h. */
39038 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39039 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39040 #define $ac_func innocuous_$ac_func
39041
39042 /* System header to define __stub macros and hopefully few prototypes,
39043 which can conflict with char $ac_func (); below.
39044 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39045 <limits.h> exists even on freestanding compilers. */
39046
39047 #ifdef __STDC__
39048 # include <limits.h>
39049 #else
39050 # include <assert.h>
39051 #endif
39052
39053 #undef $ac_func
39054
39055 /* Override any GCC internal prototype to avoid an error.
39056 Use char because int might match the return type of a GCC
39057 builtin and then its argument prototype would still apply. */
39058 #ifdef __cplusplus
39059 extern "C"
39060 #endif
39061 char $ac_func ();
39062 /* The GNU C library defines this for functions which it implements
39063 to always fail with ENOSYS. Some functions are actually named
39064 something starting with __ and the normal name is an alias. */
39065 #if defined __stub_$ac_func || defined __stub___$ac_func
39066 choke me
39067 #endif
39068
39069 int
39070 main ()
39071 {
39072 return $ac_func ();
39073 ;
39074 return 0;
39075 }
39076 _ACEOF
39077 rm -f conftest.$ac_objext conftest$ac_exeext
39078 if { (ac_try="$ac_link"
39079 case "(($ac_try" in
39080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39081 *) ac_try_echo=$ac_try;;
39082 esac
39083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39084 (eval "$ac_link") 2>conftest.er1
39085 ac_status=$?
39086 grep -v '^ *+' conftest.er1 >conftest.err
39087 rm -f conftest.er1
39088 cat conftest.err >&5
39089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39090 (exit $ac_status); } && {
39091 test -z "$ac_c_werror_flag" ||
39092 test ! -s conftest.err
39093 } && test -s conftest$ac_exeext &&
39094 $as_test_x conftest$ac_exeext; then
39095 eval "$as_ac_var=yes"
39096 else
39097 echo "$as_me: failed program was:" >&5
39098 sed 's/^/| /' conftest.$ac_ext >&5
39099
39100 eval "$as_ac_var=no"
39101 fi
39102
39103 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39104 conftest$ac_exeext conftest.$ac_ext
39105 fi
39106 ac_res=`eval echo '${'$as_ac_var'}'`
39107 { echo "$as_me:$LINENO: result: $ac_res" >&5
39108 echo "${ECHO_T}$ac_res" >&6; }
39109 if test `eval echo '${'$as_ac_var'}'` = yes; then
39110 cat >>confdefs.h <<_ACEOF
39111 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39112 _ACEOF
39113
39114 fi
39115 done
39116
39117 fi
39118
39119
39120
39121
39122
39123 for ac_func in snprintf vsnprintf vsscanf
39124 do
39125 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39126 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39127 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39128 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39129 echo $ECHO_N "(cached) $ECHO_C" >&6
39130 else
39131 cat >conftest.$ac_ext <<_ACEOF
39132 /* confdefs.h. */
39133 _ACEOF
39134 cat confdefs.h >>conftest.$ac_ext
39135 cat >>conftest.$ac_ext <<_ACEOF
39136 /* end confdefs.h. */
39137 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39138 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39139 #define $ac_func innocuous_$ac_func
39140
39141 /* System header to define __stub macros and hopefully few prototypes,
39142 which can conflict with char $ac_func (); below.
39143 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39144 <limits.h> exists even on freestanding compilers. */
39145
39146 #ifdef __STDC__
39147 # include <limits.h>
39148 #else
39149 # include <assert.h>
39150 #endif
39151
39152 #undef $ac_func
39153
39154 /* Override any GCC internal prototype to avoid an error.
39155 Use char because int might match the return type of a GCC
39156 builtin and then its argument prototype would still apply. */
39157 #ifdef __cplusplus
39158 extern "C"
39159 #endif
39160 char $ac_func ();
39161 /* The GNU C library defines this for functions which it implements
39162 to always fail with ENOSYS. Some functions are actually named
39163 something starting with __ and the normal name is an alias. */
39164 #if defined __stub_$ac_func || defined __stub___$ac_func
39165 choke me
39166 #endif
39167
39168 int
39169 main ()
39170 {
39171 return $ac_func ();
39172 ;
39173 return 0;
39174 }
39175 _ACEOF
39176 rm -f conftest.$ac_objext conftest$ac_exeext
39177 if { (ac_try="$ac_link"
39178 case "(($ac_try" in
39179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39180 *) ac_try_echo=$ac_try;;
39181 esac
39182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39183 (eval "$ac_link") 2>conftest.er1
39184 ac_status=$?
39185 grep -v '^ *+' conftest.er1 >conftest.err
39186 rm -f conftest.er1
39187 cat conftest.err >&5
39188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39189 (exit $ac_status); } && {
39190 test -z "$ac_c_werror_flag" ||
39191 test ! -s conftest.err
39192 } && test -s conftest$ac_exeext &&
39193 $as_test_x conftest$ac_exeext; then
39194 eval "$as_ac_var=yes"
39195 else
39196 echo "$as_me: failed program was:" >&5
39197 sed 's/^/| /' conftest.$ac_ext >&5
39198
39199 eval "$as_ac_var=no"
39200 fi
39201
39202 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39203 conftest$ac_exeext conftest.$ac_ext
39204 fi
39205 ac_res=`eval echo '${'$as_ac_var'}'`
39206 { echo "$as_me:$LINENO: result: $ac_res" >&5
39207 echo "${ECHO_T}$ac_res" >&6; }
39208 if test `eval echo '${'$as_ac_var'}'` = yes; then
39209 cat >>confdefs.h <<_ACEOF
39210 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39211 _ACEOF
39212
39213 fi
39214 done
39215
39216
39217 ac_ext=cpp
39218 ac_cpp='$CXXCPP $CPPFLAGS'
39219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39222
39223 if test "$ac_cv_func_vsnprintf" = "yes"; then
39224 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
39225 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
39226 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
39227 echo $ECHO_N "(cached) $ECHO_C" >&6
39228 else
39229
39230 cat >conftest.$ac_ext <<_ACEOF
39231 /* confdefs.h. */
39232 _ACEOF
39233 cat confdefs.h >>conftest.$ac_ext
39234 cat >>conftest.$ac_ext <<_ACEOF
39235 /* end confdefs.h. */
39236
39237 #include <stdio.h>
39238 #include <stdarg.h>
39239 #ifdef __MSL__
39240 #if __MSL__ >= 0x6000
39241 namespace std {}
39242 using namespace std;
39243 #endif
39244 #endif
39245
39246 int
39247 main ()
39248 {
39249
39250 char *buf;
39251 va_list ap;
39252 vsnprintf(buf, 10u, "%s", ap);
39253
39254 ;
39255 return 0;
39256 }
39257 _ACEOF
39258 rm -f conftest.$ac_objext
39259 if { (ac_try="$ac_compile"
39260 case "(($ac_try" in
39261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39262 *) ac_try_echo=$ac_try;;
39263 esac
39264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39265 (eval "$ac_compile") 2>conftest.er1
39266 ac_status=$?
39267 grep -v '^ *+' conftest.er1 >conftest.err
39268 rm -f conftest.er1
39269 cat conftest.err >&5
39270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39271 (exit $ac_status); } && {
39272 test -z "$ac_cxx_werror_flag" ||
39273 test ! -s conftest.err
39274 } && test -s conftest.$ac_objext; then
39275 wx_cv_func_vsnprintf_decl=yes
39276 else
39277 echo "$as_me: failed program was:" >&5
39278 sed 's/^/| /' conftest.$ac_ext >&5
39279
39280 wx_cv_func_vsnprintf_decl=no
39281
39282 fi
39283
39284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39285
39286
39287 fi
39288 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
39289 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
39290
39291 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
39292 cat >>confdefs.h <<\_ACEOF
39293 #define HAVE_VSNPRINTF_DECL 1
39294 _ACEOF
39295
39296
39297 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
39298 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
39299 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
39300 echo $ECHO_N "(cached) $ECHO_C" >&6
39301 else
39302
39303 cat >conftest.$ac_ext <<_ACEOF
39304 /* confdefs.h. */
39305 _ACEOF
39306 cat confdefs.h >>conftest.$ac_ext
39307 cat >>conftest.$ac_ext <<_ACEOF
39308 /* end confdefs.h. */
39309
39310 #include <stdio.h>
39311 #include <stdarg.h>
39312 #ifdef __MSL__
39313 #if __MSL__ >= 0x6000
39314 namespace std {}
39315 using namespace std;
39316 #endif
39317 #endif
39318
39319 int
39320 main ()
39321 {
39322
39323 char *buf;
39324 va_list ap;
39325 const char *fmt = "%s";
39326 vsnprintf(buf, 10u, fmt, ap);
39327
39328 ;
39329 return 0;
39330 }
39331 _ACEOF
39332 rm -f conftest.$ac_objext
39333 if { (ac_try="$ac_compile"
39334 case "(($ac_try" in
39335 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39336 *) ac_try_echo=$ac_try;;
39337 esac
39338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39339 (eval "$ac_compile") 2>conftest.er1
39340 ac_status=$?
39341 grep -v '^ *+' conftest.er1 >conftest.err
39342 rm -f conftest.er1
39343 cat conftest.err >&5
39344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39345 (exit $ac_status); } && {
39346 test -z "$ac_cxx_werror_flag" ||
39347 test ! -s conftest.err
39348 } && test -s conftest.$ac_objext; then
39349 wx_cv_func_broken_vsnprintf_decl=no
39350 else
39351 echo "$as_me: failed program was:" >&5
39352 sed 's/^/| /' conftest.$ac_ext >&5
39353
39354 wx_cv_func_broken_vsnprintf_decl=yes
39355
39356 fi
39357
39358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39359
39360
39361 fi
39362 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
39363 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
39364
39365 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
39366 cat >>confdefs.h <<\_ACEOF
39367 #define HAVE_BROKEN_VSNPRINTF_DECL 1
39368 _ACEOF
39369
39370 fi
39371 fi
39372 fi
39373
39374 if test "$ac_cv_func_snprintf" = "yes"; then
39375 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
39376 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
39377 if test "${wx_cv_func_snprintf_decl+set}" = set; then
39378 echo $ECHO_N "(cached) $ECHO_C" >&6
39379 else
39380
39381 cat >conftest.$ac_ext <<_ACEOF
39382 /* confdefs.h. */
39383 _ACEOF
39384 cat confdefs.h >>conftest.$ac_ext
39385 cat >>conftest.$ac_ext <<_ACEOF
39386 /* end confdefs.h. */
39387
39388 #include <stdio.h>
39389 #include <stdarg.h>
39390 #ifdef __MSL__
39391 #if __MSL__ >= 0x6000
39392 namespace std {}
39393 using namespace std;
39394 #endif
39395 #endif
39396
39397 int
39398 main ()
39399 {
39400
39401 char *buf;
39402 snprintf(buf, 10u, "%s", "wx");
39403
39404 ;
39405 return 0;
39406 }
39407 _ACEOF
39408 rm -f conftest.$ac_objext
39409 if { (ac_try="$ac_compile"
39410 case "(($ac_try" in
39411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39412 *) ac_try_echo=$ac_try;;
39413 esac
39414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39415 (eval "$ac_compile") 2>conftest.er1
39416 ac_status=$?
39417 grep -v '^ *+' conftest.er1 >conftest.err
39418 rm -f conftest.er1
39419 cat conftest.err >&5
39420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39421 (exit $ac_status); } && {
39422 test -z "$ac_cxx_werror_flag" ||
39423 test ! -s conftest.err
39424 } && test -s conftest.$ac_objext; then
39425 wx_cv_func_snprintf_decl=yes
39426 else
39427 echo "$as_me: failed program was:" >&5
39428 sed 's/^/| /' conftest.$ac_ext >&5
39429
39430 wx_cv_func_snprintf_decl=no
39431
39432 fi
39433
39434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39435
39436
39437 fi
39438 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
39439 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
39440
39441 if test "$wx_cv_func_snprintf_decl" = "yes"; then
39442 cat >>confdefs.h <<\_ACEOF
39443 #define HAVE_SNPRINTF_DECL 1
39444 _ACEOF
39445
39446 fi
39447
39448 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
39449
39450 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
39451 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
39452 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
39453 echo $ECHO_N "(cached) $ECHO_C" >&6
39454 else
39455
39456 if test "$cross_compiling" = yes; then
39457
39458 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
39459 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
39460 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
39461 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
39462 wx_cv_func_snprintf_pos_params=no
39463
39464
39465 else
39466 cat >conftest.$ac_ext <<_ACEOF
39467 /* confdefs.h. */
39468 _ACEOF
39469 cat confdefs.h >>conftest.$ac_ext
39470 cat >>conftest.$ac_ext <<_ACEOF
39471 /* end confdefs.h. */
39472
39473 #include <stdio.h>
39474
39475 int main (void)
39476 {
39477 char buffer[128];
39478 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
39479 if (strcmp ("2 3 1", buffer) == 0)
39480 exit (0);
39481 exit (1);
39482 }
39483
39484 _ACEOF
39485 rm -f conftest$ac_exeext
39486 if { (ac_try="$ac_link"
39487 case "(($ac_try" in
39488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39489 *) ac_try_echo=$ac_try;;
39490 esac
39491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39492 (eval "$ac_link") 2>&5
39493 ac_status=$?
39494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39495 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
39496 { (case "(($ac_try" in
39497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39498 *) ac_try_echo=$ac_try;;
39499 esac
39500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39501 (eval "$ac_try") 2>&5
39502 ac_status=$?
39503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39504 (exit $ac_status); }; }; then
39505 wx_cv_func_snprintf_pos_params=no
39506 else
39507 echo "$as_me: program exited with status $ac_status" >&5
39508 echo "$as_me: failed program was:" >&5
39509 sed 's/^/| /' conftest.$ac_ext >&5
39510
39511 ( exit $ac_status )
39512 wx_cv_func_snprintf_pos_params=yes
39513 fi
39514 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
39515 fi
39516
39517
39518
39519
39520 fi
39521 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
39522 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
39523
39524 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
39525 cat >>confdefs.h <<\_ACEOF
39526 #define HAVE_UNIX98_PRINTF 1
39527 _ACEOF
39528
39529 fi
39530 fi
39531 fi
39532
39533 if test "$ac_cv_func_vsscanf" = "yes"; then
39534 { echo "$as_me:$LINENO: checking for vsscanf declaration" >&5
39535 echo $ECHO_N "checking for vsscanf declaration... $ECHO_C" >&6; }
39536 if test "${wx_cv_func_vsscanf_decl+set}" = set; then
39537 echo $ECHO_N "(cached) $ECHO_C" >&6
39538 else
39539
39540 cat >conftest.$ac_ext <<_ACEOF
39541 /* confdefs.h. */
39542 _ACEOF
39543 cat confdefs.h >>conftest.$ac_ext
39544 cat >>conftest.$ac_ext <<_ACEOF
39545 /* end confdefs.h. */
39546
39547 #include <stdio.h>
39548 #include <stdarg.h>
39549 #ifdef __MSL__
39550 #if __MSL__ >= 0x6000
39551 namespace std {}
39552 using namespace std;
39553 #endif
39554 #endif
39555
39556 int
39557 main ()
39558 {
39559
39560 char *buf;
39561 va_list args;
39562 vsscanf(buf, "%s", args);
39563
39564 ;
39565 return 0;
39566 }
39567 _ACEOF
39568 rm -f conftest.$ac_objext
39569 if { (ac_try="$ac_compile"
39570 case "(($ac_try" in
39571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39572 *) ac_try_echo=$ac_try;;
39573 esac
39574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39575 (eval "$ac_compile") 2>conftest.er1
39576 ac_status=$?
39577 grep -v '^ *+' conftest.er1 >conftest.err
39578 rm -f conftest.er1
39579 cat conftest.err >&5
39580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39581 (exit $ac_status); } && {
39582 test -z "$ac_cxx_werror_flag" ||
39583 test ! -s conftest.err
39584 } && test -s conftest.$ac_objext; then
39585 wx_cv_func_vsscanf_decl=yes
39586 else
39587 echo "$as_me: failed program was:" >&5
39588 sed 's/^/| /' conftest.$ac_ext >&5
39589
39590 wx_cv_func_vsscanf_decl=no
39591
39592 fi
39593
39594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39595
39596
39597 fi
39598 { echo "$as_me:$LINENO: result: $wx_cv_func_vsscanf_decl" >&5
39599 echo "${ECHO_T}$wx_cv_func_vsscanf_decl" >&6; }
39600
39601 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
39602 cat >>confdefs.h <<\_ACEOF
39603 #define HAVE_VSSCANF_DECL 1
39604 _ACEOF
39605
39606 fi
39607 fi
39608 ac_ext=c
39609 ac_cpp='$CPP $CPPFLAGS'
39610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39613
39614
39615 if test "$wxUSE_UNICODE" = yes; then
39616
39617 wchar_headers="#include <stdio.h>
39618 #include <wchar.h>"
39619 case "${host}" in
39620 *-*-solaris2* )
39621
39622 for ac_header in widec.h
39623 do
39624 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39625 { echo "$as_me:$LINENO: checking for $ac_header" >&5
39626 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
39627 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
39628 echo $ECHO_N "(cached) $ECHO_C" >&6
39629 else
39630 cat >conftest.$ac_ext <<_ACEOF
39631 /* confdefs.h. */
39632 _ACEOF
39633 cat confdefs.h >>conftest.$ac_ext
39634 cat >>conftest.$ac_ext <<_ACEOF
39635 /* end confdefs.h. */
39636 $ac_includes_default
39637
39638 #include <$ac_header>
39639 _ACEOF
39640 rm -f conftest.$ac_objext
39641 if { (ac_try="$ac_compile"
39642 case "(($ac_try" in
39643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39644 *) ac_try_echo=$ac_try;;
39645 esac
39646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39647 (eval "$ac_compile") 2>conftest.er1
39648 ac_status=$?
39649 grep -v '^ *+' conftest.er1 >conftest.err
39650 rm -f conftest.er1
39651 cat conftest.err >&5
39652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39653 (exit $ac_status); } && {
39654 test -z "$ac_c_werror_flag" ||
39655 test ! -s conftest.err
39656 } && test -s conftest.$ac_objext; then
39657 eval "$as_ac_Header=yes"
39658 else
39659 echo "$as_me: failed program was:" >&5
39660 sed 's/^/| /' conftest.$ac_ext >&5
39661
39662 eval "$as_ac_Header=no"
39663 fi
39664
39665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39666 fi
39667 ac_res=`eval echo '${'$as_ac_Header'}'`
39668 { echo "$as_me:$LINENO: result: $ac_res" >&5
39669 echo "${ECHO_T}$ac_res" >&6; }
39670 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39671 cat >>confdefs.h <<_ACEOF
39672 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39673 _ACEOF
39674
39675 fi
39676
39677 done
39678
39679 if test "$ac_cv_header_widec_h" = "yes"; then
39680 wchar_headers="$wchar_headers
39681 #include <widec.h>"
39682 fi
39683 esac
39684
39685
39686 for wx_func in putws fputws wprintf vswprintf vswscanf
39687 do
39688 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39689 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39690 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39691 echo $ECHO_N "(cached) $ECHO_C" >&6
39692 else
39693
39694 cat >conftest.$ac_ext <<_ACEOF
39695
39696 /* confdefs.h. */
39697 _ACEOF
39698 cat confdefs.h >>conftest.$ac_ext
39699 cat >>conftest.$ac_ext <<_ACEOF
39700 /* end confdefs.h. */
39701
39702 $wchar_headers
39703 $ac_includes_default
39704
39705 int
39706 main ()
39707 {
39708
39709 #ifndef $wx_func
39710 &$wx_func;
39711 #endif
39712
39713
39714 ;
39715 return 0;
39716 }
39717
39718 _ACEOF
39719 rm -f conftest.$ac_objext conftest$ac_exeext
39720 if { (ac_try="$ac_link"
39721 case "(($ac_try" in
39722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39723 *) ac_try_echo=$ac_try;;
39724 esac
39725 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39726 (eval "$ac_link") 2>conftest.er1
39727 ac_status=$?
39728 grep -v '^ *+' conftest.er1 >conftest.err
39729 rm -f conftest.er1
39730 cat conftest.err >&5
39731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39732 (exit $ac_status); } && {
39733 test -z "$ac_c_werror_flag" ||
39734 test ! -s conftest.err
39735 } && test -s conftest$ac_exeext &&
39736 $as_test_x conftest$ac_exeext; then
39737 eval wx_cv_func_$wx_func=yes
39738 else
39739 echo "$as_me: failed program was:" >&5
39740 sed 's/^/| /' conftest.$ac_ext >&5
39741
39742 eval wx_cv_func_$wx_func=no
39743 fi
39744
39745 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39746 conftest$ac_exeext conftest.$ac_ext
39747
39748 fi
39749 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39750 { echo "$as_me:$LINENO: result: $ac_res" >&5
39751 echo "${ECHO_T}$ac_res" >&6; }
39752
39753 if eval test \$wx_cv_func_$wx_func = yes
39754 then
39755 cat >>confdefs.h <<_ACEOF
39756 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39757 _ACEOF
39758
39759
39760 else
39761 :
39762
39763 fi
39764 done
39765
39766
39767 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
39768 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
39769 cat >conftest.$ac_ext <<_ACEOF
39770 /* confdefs.h. */
39771 _ACEOF
39772 cat confdefs.h >>conftest.$ac_ext
39773 cat >>conftest.$ac_ext <<_ACEOF
39774 /* end confdefs.h. */
39775 #include <wchar.h>
39776 int
39777 main ()
39778 {
39779 &_vsnwprintf;
39780 ;
39781 return 0;
39782 }
39783 _ACEOF
39784 rm -f conftest.$ac_objext
39785 if { (ac_try="$ac_compile"
39786 case "(($ac_try" in
39787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39788 *) ac_try_echo=$ac_try;;
39789 esac
39790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39791 (eval "$ac_compile") 2>conftest.er1
39792 ac_status=$?
39793 grep -v '^ *+' conftest.er1 >conftest.err
39794 rm -f conftest.er1
39795 cat conftest.err >&5
39796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39797 (exit $ac_status); } && {
39798 test -z "$ac_c_werror_flag" ||
39799 test ! -s conftest.err
39800 } && test -s conftest.$ac_objext; then
39801 { echo "$as_me:$LINENO: result: yes" >&5
39802 echo "${ECHO_T}yes" >&6; }
39803 cat >>confdefs.h <<\_ACEOF
39804 #define HAVE__VSNWPRINTF 1
39805 _ACEOF
39806
39807 else
39808 echo "$as_me: failed program was:" >&5
39809 sed 's/^/| /' conftest.$ac_ext >&5
39810
39811 { echo "$as_me:$LINENO: result: no" >&5
39812 echo "${ECHO_T}no" >&6; }
39813 fi
39814
39815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
39816 fi
39817
39818 if test "$wxUSE_FILE" = "yes"; then
39819
39820 for wx_func in fsync
39821 do
39822 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39823 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39824 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39825 echo $ECHO_N "(cached) $ECHO_C" >&6
39826 else
39827
39828 cat >conftest.$ac_ext <<_ACEOF
39829
39830 /* confdefs.h. */
39831 _ACEOF
39832 cat confdefs.h >>conftest.$ac_ext
39833 cat >>conftest.$ac_ext <<_ACEOF
39834 /* end confdefs.h. */
39835
39836
39837 $ac_includes_default
39838
39839 int
39840 main ()
39841 {
39842
39843 #ifndef $wx_func
39844 &$wx_func;
39845 #endif
39846
39847
39848 ;
39849 return 0;
39850 }
39851
39852 _ACEOF
39853 rm -f conftest.$ac_objext conftest$ac_exeext
39854 if { (ac_try="$ac_link"
39855 case "(($ac_try" in
39856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39857 *) ac_try_echo=$ac_try;;
39858 esac
39859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39860 (eval "$ac_link") 2>conftest.er1
39861 ac_status=$?
39862 grep -v '^ *+' conftest.er1 >conftest.err
39863 rm -f conftest.er1
39864 cat conftest.err >&5
39865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39866 (exit $ac_status); } && {
39867 test -z "$ac_c_werror_flag" ||
39868 test ! -s conftest.err
39869 } && test -s conftest$ac_exeext &&
39870 $as_test_x conftest$ac_exeext; then
39871 eval wx_cv_func_$wx_func=yes
39872 else
39873 echo "$as_me: failed program was:" >&5
39874 sed 's/^/| /' conftest.$ac_ext >&5
39875
39876 eval wx_cv_func_$wx_func=no
39877 fi
39878
39879 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39880 conftest$ac_exeext conftest.$ac_ext
39881
39882 fi
39883 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39884 { echo "$as_me:$LINENO: result: $ac_res" >&5
39885 echo "${ECHO_T}$ac_res" >&6; }
39886
39887 if eval test \$wx_cv_func_$wx_func = yes
39888 then
39889 cat >>confdefs.h <<_ACEOF
39890 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39891 _ACEOF
39892
39893
39894 else
39895 :
39896
39897 fi
39898 done
39899
39900 fi
39901
39902 ac_ext=cpp
39903 ac_cpp='$CXXCPP $CPPFLAGS'
39904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39907
39908
39909 for wx_func in round
39910 do
39911 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39912 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39913 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39914 echo $ECHO_N "(cached) $ECHO_C" >&6
39915 else
39916
39917 cat >conftest.$ac_ext <<_ACEOF
39918
39919 /* confdefs.h. */
39920 _ACEOF
39921 cat confdefs.h >>conftest.$ac_ext
39922 cat >>conftest.$ac_ext <<_ACEOF
39923 /* end confdefs.h. */
39924
39925 #include <math.h>
39926 $ac_includes_default
39927
39928 int
39929 main ()
39930 {
39931
39932 #ifndef $wx_func
39933 &$wx_func;
39934 #endif
39935
39936
39937 ;
39938 return 0;
39939 }
39940
39941 _ACEOF
39942 rm -f conftest.$ac_objext conftest$ac_exeext
39943 if { (ac_try="$ac_link"
39944 case "(($ac_try" in
39945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39946 *) ac_try_echo=$ac_try;;
39947 esac
39948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39949 (eval "$ac_link") 2>conftest.er1
39950 ac_status=$?
39951 grep -v '^ *+' conftest.er1 >conftest.err
39952 rm -f conftest.er1
39953 cat conftest.err >&5
39954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39955 (exit $ac_status); } && {
39956 test -z "$ac_cxx_werror_flag" ||
39957 test ! -s conftest.err
39958 } && test -s conftest$ac_exeext &&
39959 $as_test_x conftest$ac_exeext; then
39960 eval wx_cv_func_$wx_func=yes
39961 else
39962 echo "$as_me: failed program was:" >&5
39963 sed 's/^/| /' conftest.$ac_ext >&5
39964
39965 eval wx_cv_func_$wx_func=no
39966 fi
39967
39968 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39969 conftest$ac_exeext conftest.$ac_ext
39970
39971 fi
39972 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39973 { echo "$as_me:$LINENO: result: $ac_res" >&5
39974 echo "${ECHO_T}$ac_res" >&6; }
39975
39976 if eval test \$wx_cv_func_$wx_func = yes
39977 then
39978 cat >>confdefs.h <<_ACEOF
39979 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39980 _ACEOF
39981
39982
39983 else
39984 :
39985
39986 fi
39987 done
39988
39989 ac_ext=c
39990 ac_cpp='$CPP $CPPFLAGS'
39991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39994
39995
39996 if test "$TOOLKIT" != "MSW"; then
39997
39998 if test "$wxUSE_LIBICONV" != "no" ; then
39999
40000
40001
40002 # Check whether --with-libiconv-prefix was given.
40003 if test "${with_libiconv_prefix+set}" = set; then
40004 withval=$with_libiconv_prefix;
40005 for dir in `echo "$withval" | tr : ' '`; do
40006 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
40007 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
40008 done
40009
40010 fi
40011
40012
40013 { echo "$as_me:$LINENO: checking for iconv" >&5
40014 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
40015 if test "${am_cv_func_iconv+set}" = set; then
40016 echo $ECHO_N "(cached) $ECHO_C" >&6
40017 else
40018
40019 am_cv_func_iconv="no, consider installing GNU libiconv"
40020 am_cv_lib_iconv=no
40021 cat >conftest.$ac_ext <<_ACEOF
40022 /* confdefs.h. */
40023 _ACEOF
40024 cat confdefs.h >>conftest.$ac_ext
40025 cat >>conftest.$ac_ext <<_ACEOF
40026 /* end confdefs.h. */
40027 #include <stdlib.h>
40028 #include <iconv.h>
40029 int
40030 main ()
40031 {
40032 iconv_t cd = iconv_open("","");
40033 iconv(cd,NULL,NULL,NULL,NULL);
40034 iconv_close(cd);
40035 ;
40036 return 0;
40037 }
40038 _ACEOF
40039 rm -f conftest.$ac_objext conftest$ac_exeext
40040 if { (ac_try="$ac_link"
40041 case "(($ac_try" in
40042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40043 *) ac_try_echo=$ac_try;;
40044 esac
40045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40046 (eval "$ac_link") 2>conftest.er1
40047 ac_status=$?
40048 grep -v '^ *+' conftest.er1 >conftest.err
40049 rm -f conftest.er1
40050 cat conftest.err >&5
40051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40052 (exit $ac_status); } && {
40053 test -z "$ac_c_werror_flag" ||
40054 test ! -s conftest.err
40055 } && test -s conftest$ac_exeext &&
40056 $as_test_x conftest$ac_exeext; then
40057 am_cv_func_iconv=yes
40058 else
40059 echo "$as_me: failed program was:" >&5
40060 sed 's/^/| /' conftest.$ac_ext >&5
40061
40062
40063 fi
40064
40065 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40066 conftest$ac_exeext conftest.$ac_ext
40067 if test "$am_cv_func_iconv" != yes; then
40068 am_save_LIBS="$LIBS"
40069 LIBS="$LIBS -liconv"
40070 cat >conftest.$ac_ext <<_ACEOF
40071 /* confdefs.h. */
40072 _ACEOF
40073 cat confdefs.h >>conftest.$ac_ext
40074 cat >>conftest.$ac_ext <<_ACEOF
40075 /* end confdefs.h. */
40076 #include <stdlib.h>
40077 #include <iconv.h>
40078 int
40079 main ()
40080 {
40081 iconv_t cd = iconv_open("","");
40082 iconv(cd,NULL,NULL,NULL,NULL);
40083 iconv_close(cd);
40084 ;
40085 return 0;
40086 }
40087 _ACEOF
40088 rm -f conftest.$ac_objext conftest$ac_exeext
40089 if { (ac_try="$ac_link"
40090 case "(($ac_try" in
40091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40092 *) ac_try_echo=$ac_try;;
40093 esac
40094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40095 (eval "$ac_link") 2>conftest.er1
40096 ac_status=$?
40097 grep -v '^ *+' conftest.er1 >conftest.err
40098 rm -f conftest.er1
40099 cat conftest.err >&5
40100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40101 (exit $ac_status); } && {
40102 test -z "$ac_c_werror_flag" ||
40103 test ! -s conftest.err
40104 } && test -s conftest$ac_exeext &&
40105 $as_test_x conftest$ac_exeext; then
40106 am_cv_lib_iconv=yes
40107 am_cv_func_iconv=yes
40108 else
40109 echo "$as_me: failed program was:" >&5
40110 sed 's/^/| /' conftest.$ac_ext >&5
40111
40112
40113 fi
40114
40115 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40116 conftest$ac_exeext conftest.$ac_ext
40117 LIBS="$am_save_LIBS"
40118 fi
40119
40120 fi
40121 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
40122 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
40123 if test "$am_cv_func_iconv" = yes; then
40124
40125 cat >>confdefs.h <<\_ACEOF
40126 #define HAVE_ICONV 1
40127 _ACEOF
40128
40129 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
40130 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
40131 if test "${wx_cv_func_iconv_const+set}" = set; then
40132 echo $ECHO_N "(cached) $ECHO_C" >&6
40133 else
40134 cat >conftest.$ac_ext <<_ACEOF
40135 /* confdefs.h. */
40136 _ACEOF
40137 cat confdefs.h >>conftest.$ac_ext
40138 cat >>conftest.$ac_ext <<_ACEOF
40139 /* end confdefs.h. */
40140
40141 #include <stdlib.h>
40142 #include <iconv.h>
40143 extern
40144 #ifdef __cplusplus
40145 "C"
40146 #endif
40147 #if defined(__STDC__) || defined(__cplusplus)
40148 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
40149 #else
40150 size_t iconv();
40151 #endif
40152
40153 int
40154 main ()
40155 {
40156
40157 ;
40158 return 0;
40159 }
40160 _ACEOF
40161 rm -f conftest.$ac_objext
40162 if { (ac_try="$ac_compile"
40163 case "(($ac_try" in
40164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40165 *) ac_try_echo=$ac_try;;
40166 esac
40167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40168 (eval "$ac_compile") 2>conftest.er1
40169 ac_status=$?
40170 grep -v '^ *+' conftest.er1 >conftest.err
40171 rm -f conftest.er1
40172 cat conftest.err >&5
40173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40174 (exit $ac_status); } && {
40175 test -z "$ac_c_werror_flag" ||
40176 test ! -s conftest.err
40177 } && test -s conftest.$ac_objext; then
40178 wx_cv_func_iconv_const="no"
40179 else
40180 echo "$as_me: failed program was:" >&5
40181 sed 's/^/| /' conftest.$ac_ext >&5
40182
40183 wx_cv_func_iconv_const="yes"
40184
40185 fi
40186
40187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40188
40189 fi
40190 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
40191 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
40192
40193 iconv_const=
40194 if test "x$wx_cv_func_iconv_const" = "xyes"; then
40195 iconv_const="const"
40196 fi
40197
40198
40199 cat >>confdefs.h <<_ACEOF
40200 #define ICONV_CONST $iconv_const
40201 _ACEOF
40202
40203 fi
40204 LIBICONV=
40205 if test "$am_cv_lib_iconv" = yes; then
40206 LIBICONV="-liconv"
40207 fi
40208
40209
40210 LIBS="$LIBICONV $LIBS"
40211 fi
40212
40213 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
40214
40215 for ac_func in sigaction
40216 do
40217 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40218 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40219 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40220 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40221 echo $ECHO_N "(cached) $ECHO_C" >&6
40222 else
40223 cat >conftest.$ac_ext <<_ACEOF
40224 /* confdefs.h. */
40225 _ACEOF
40226 cat confdefs.h >>conftest.$ac_ext
40227 cat >>conftest.$ac_ext <<_ACEOF
40228 /* end confdefs.h. */
40229 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40230 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40231 #define $ac_func innocuous_$ac_func
40232
40233 /* System header to define __stub macros and hopefully few prototypes,
40234 which can conflict with char $ac_func (); below.
40235 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40236 <limits.h> exists even on freestanding compilers. */
40237
40238 #ifdef __STDC__
40239 # include <limits.h>
40240 #else
40241 # include <assert.h>
40242 #endif
40243
40244 #undef $ac_func
40245
40246 /* Override any GCC internal prototype to avoid an error.
40247 Use char because int might match the return type of a GCC
40248 builtin and then its argument prototype would still apply. */
40249 #ifdef __cplusplus
40250 extern "C"
40251 #endif
40252 char $ac_func ();
40253 /* The GNU C library defines this for functions which it implements
40254 to always fail with ENOSYS. Some functions are actually named
40255 something starting with __ and the normal name is an alias. */
40256 #if defined __stub_$ac_func || defined __stub___$ac_func
40257 choke me
40258 #endif
40259
40260 int
40261 main ()
40262 {
40263 return $ac_func ();
40264 ;
40265 return 0;
40266 }
40267 _ACEOF
40268 rm -f conftest.$ac_objext conftest$ac_exeext
40269 if { (ac_try="$ac_link"
40270 case "(($ac_try" in
40271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40272 *) ac_try_echo=$ac_try;;
40273 esac
40274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40275 (eval "$ac_link") 2>conftest.er1
40276 ac_status=$?
40277 grep -v '^ *+' conftest.er1 >conftest.err
40278 rm -f conftest.er1
40279 cat conftest.err >&5
40280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40281 (exit $ac_status); } && {
40282 test -z "$ac_c_werror_flag" ||
40283 test ! -s conftest.err
40284 } && test -s conftest$ac_exeext &&
40285 $as_test_x conftest$ac_exeext; then
40286 eval "$as_ac_var=yes"
40287 else
40288 echo "$as_me: failed program was:" >&5
40289 sed 's/^/| /' conftest.$ac_ext >&5
40290
40291 eval "$as_ac_var=no"
40292 fi
40293
40294 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40295 conftest$ac_exeext conftest.$ac_ext
40296 fi
40297 ac_res=`eval echo '${'$as_ac_var'}'`
40298 { echo "$as_me:$LINENO: result: $ac_res" >&5
40299 echo "${ECHO_T}$ac_res" >&6; }
40300 if test `eval echo '${'$as_ac_var'}'` = yes; then
40301 cat >>confdefs.h <<_ACEOF
40302 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40303 _ACEOF
40304
40305 fi
40306 done
40307
40308
40309 if test "$ac_cv_func_sigaction" = "no"; then
40310 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
40311 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
40312 wxUSE_ON_FATAL_EXCEPTION=no
40313 fi
40314
40315 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
40316 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
40317 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
40318 if test "${wx_cv_type_sa_handler+set}" = set; then
40319 echo $ECHO_N "(cached) $ECHO_C" >&6
40320 else
40321
40322 ac_ext=cpp
40323 ac_cpp='$CXXCPP $CPPFLAGS'
40324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40327
40328 cat >conftest.$ac_ext <<_ACEOF
40329 /* confdefs.h. */
40330 _ACEOF
40331 cat confdefs.h >>conftest.$ac_ext
40332 cat >>conftest.$ac_ext <<_ACEOF
40333 /* end confdefs.h. */
40334 #include <signal.h>
40335 int
40336 main ()
40337 {
40338
40339 extern void testSigHandler(int);
40340
40341 struct sigaction sa;
40342 sa.sa_handler = testSigHandler;
40343
40344 ;
40345 return 0;
40346 }
40347 _ACEOF
40348 rm -f conftest.$ac_objext
40349 if { (ac_try="$ac_compile"
40350 case "(($ac_try" in
40351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40352 *) ac_try_echo=$ac_try;;
40353 esac
40354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40355 (eval "$ac_compile") 2>conftest.er1
40356 ac_status=$?
40357 grep -v '^ *+' conftest.er1 >conftest.err
40358 rm -f conftest.er1
40359 cat conftest.err >&5
40360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40361 (exit $ac_status); } && {
40362 test -z "$ac_cxx_werror_flag" ||
40363 test ! -s conftest.err
40364 } && test -s conftest.$ac_objext; then
40365
40366 wx_cv_type_sa_handler=int
40367
40368 else
40369 echo "$as_me: failed program was:" >&5
40370 sed 's/^/| /' conftest.$ac_ext >&5
40371
40372
40373 wx_cv_type_sa_handler=void
40374
40375 fi
40376
40377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40378 ac_ext=c
40379 ac_cpp='$CPP $CPPFLAGS'
40380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40383
40384
40385 fi
40386 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
40387 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
40388
40389 cat >>confdefs.h <<_ACEOF
40390 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
40391 _ACEOF
40392
40393 fi
40394 fi
40395
40396 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
40397 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
40398 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
40399 if test "${wx_cv_func_backtrace+set}" = set; then
40400 echo $ECHO_N "(cached) $ECHO_C" >&6
40401 else
40402
40403 ac_ext=cpp
40404 ac_cpp='$CXXCPP $CPPFLAGS'
40405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40408
40409 cat >conftest.$ac_ext <<_ACEOF
40410 /* confdefs.h. */
40411 _ACEOF
40412 cat confdefs.h >>conftest.$ac_ext
40413 cat >>conftest.$ac_ext <<_ACEOF
40414 /* end confdefs.h. */
40415 #include <execinfo.h>
40416 int
40417 main ()
40418 {
40419
40420 void *trace[1];
40421 char **messages;
40422
40423 backtrace(trace, 1);
40424 messages = backtrace_symbols(trace, 1);
40425
40426 ;
40427 return 0;
40428 }
40429 _ACEOF
40430 rm -f conftest.$ac_objext
40431 if { (ac_try="$ac_compile"
40432 case "(($ac_try" in
40433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40434 *) ac_try_echo=$ac_try;;
40435 esac
40436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40437 (eval "$ac_compile") 2>conftest.er1
40438 ac_status=$?
40439 grep -v '^ *+' conftest.er1 >conftest.err
40440 rm -f conftest.er1
40441 cat conftest.err >&5
40442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40443 (exit $ac_status); } && {
40444 test -z "$ac_cxx_werror_flag" ||
40445 test ! -s conftest.err
40446 } && test -s conftest.$ac_objext; then
40447 wx_cv_func_backtrace=yes
40448 else
40449 echo "$as_me: failed program was:" >&5
40450 sed 's/^/| /' conftest.$ac_ext >&5
40451
40452 wx_cv_func_backtrace=no
40453
40454 fi
40455
40456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40457 ac_ext=c
40458 ac_cpp='$CPP $CPPFLAGS'
40459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40462
40463
40464
40465 fi
40466 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
40467 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
40468
40469
40470 if test "$wx_cv_func_backtrace" = "no"; then
40471 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
40472 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
40473 wxUSE_STACKWALKER=no
40474 else
40475 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
40476 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
40477 if test "${wx_cv_func_cxa_demangle+set}" = set; then
40478 echo $ECHO_N "(cached) $ECHO_C" >&6
40479 else
40480
40481 ac_ext=cpp
40482 ac_cpp='$CXXCPP $CPPFLAGS'
40483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40486
40487 cat >conftest.$ac_ext <<_ACEOF
40488 /* confdefs.h. */
40489 _ACEOF
40490 cat confdefs.h >>conftest.$ac_ext
40491 cat >>conftest.$ac_ext <<_ACEOF
40492 /* end confdefs.h. */
40493 #include <cxxabi.h>
40494 int
40495 main ()
40496 {
40497
40498 int rc;
40499 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
40500
40501 ;
40502 return 0;
40503 }
40504 _ACEOF
40505 rm -f conftest.$ac_objext conftest$ac_exeext
40506 if { (ac_try="$ac_link"
40507 case "(($ac_try" in
40508 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40509 *) ac_try_echo=$ac_try;;
40510 esac
40511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40512 (eval "$ac_link") 2>conftest.er1
40513 ac_status=$?
40514 grep -v '^ *+' conftest.er1 >conftest.err
40515 rm -f conftest.er1
40516 cat conftest.err >&5
40517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40518 (exit $ac_status); } && {
40519 test -z "$ac_cxx_werror_flag" ||
40520 test ! -s conftest.err
40521 } && test -s conftest$ac_exeext &&
40522 $as_test_x conftest$ac_exeext; then
40523 wx_cv_func_cxa_demangle=yes
40524 else
40525 echo "$as_me: failed program was:" >&5
40526 sed 's/^/| /' conftest.$ac_ext >&5
40527
40528 wx_cv_func_cxa_demangle=no
40529
40530 fi
40531
40532 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40533 conftest$ac_exeext conftest.$ac_ext
40534 ac_ext=c
40535 ac_cpp='$CPP $CPPFLAGS'
40536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40539
40540
40541
40542 fi
40543 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
40544 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
40545
40546 if test "$wx_cv_func_cxa_demangle" = "yes"; then
40547 cat >>confdefs.h <<\_ACEOF
40548 #define HAVE_CXA_DEMANGLE 1
40549 _ACEOF
40550
40551 fi
40552 fi
40553 fi
40554
40555 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
40556 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
40557 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
40558 wxUSE_STACKWALKER=no
40559 fi
40560
40561
40562
40563
40564 for ac_func in mkstemp mktemp
40565 do
40566 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40567 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40568 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40569 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40570 echo $ECHO_N "(cached) $ECHO_C" >&6
40571 else
40572 cat >conftest.$ac_ext <<_ACEOF
40573 /* confdefs.h. */
40574 _ACEOF
40575 cat confdefs.h >>conftest.$ac_ext
40576 cat >>conftest.$ac_ext <<_ACEOF
40577 /* end confdefs.h. */
40578 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40579 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40580 #define $ac_func innocuous_$ac_func
40581
40582 /* System header to define __stub macros and hopefully few prototypes,
40583 which can conflict with char $ac_func (); below.
40584 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40585 <limits.h> exists even on freestanding compilers. */
40586
40587 #ifdef __STDC__
40588 # include <limits.h>
40589 #else
40590 # include <assert.h>
40591 #endif
40592
40593 #undef $ac_func
40594
40595 /* Override any GCC internal prototype to avoid an error.
40596 Use char because int might match the return type of a GCC
40597 builtin and then its argument prototype would still apply. */
40598 #ifdef __cplusplus
40599 extern "C"
40600 #endif
40601 char $ac_func ();
40602 /* The GNU C library defines this for functions which it implements
40603 to always fail with ENOSYS. Some functions are actually named
40604 something starting with __ and the normal name is an alias. */
40605 #if defined __stub_$ac_func || defined __stub___$ac_func
40606 choke me
40607 #endif
40608
40609 int
40610 main ()
40611 {
40612 return $ac_func ();
40613 ;
40614 return 0;
40615 }
40616 _ACEOF
40617 rm -f conftest.$ac_objext conftest$ac_exeext
40618 if { (ac_try="$ac_link"
40619 case "(($ac_try" in
40620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40621 *) ac_try_echo=$ac_try;;
40622 esac
40623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40624 (eval "$ac_link") 2>conftest.er1
40625 ac_status=$?
40626 grep -v '^ *+' conftest.er1 >conftest.err
40627 rm -f conftest.er1
40628 cat conftest.err >&5
40629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40630 (exit $ac_status); } && {
40631 test -z "$ac_c_werror_flag" ||
40632 test ! -s conftest.err
40633 } && test -s conftest$ac_exeext &&
40634 $as_test_x conftest$ac_exeext; then
40635 eval "$as_ac_var=yes"
40636 else
40637 echo "$as_me: failed program was:" >&5
40638 sed 's/^/| /' conftest.$ac_ext >&5
40639
40640 eval "$as_ac_var=no"
40641 fi
40642
40643 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40644 conftest$ac_exeext conftest.$ac_ext
40645 fi
40646 ac_res=`eval echo '${'$as_ac_var'}'`
40647 { echo "$as_me:$LINENO: result: $ac_res" >&5
40648 echo "${ECHO_T}$ac_res" >&6; }
40649 if test `eval echo '${'$as_ac_var'}'` = yes; then
40650 cat >>confdefs.h <<_ACEOF
40651 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40652 _ACEOF
40653 break
40654 fi
40655 done
40656
40657
40658 { echo "$as_me:$LINENO: checking for statfs" >&5
40659 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
40660 if test "${wx_cv_func_statfs+set}" = set; then
40661 echo $ECHO_N "(cached) $ECHO_C" >&6
40662 else
40663 cat >conftest.$ac_ext <<_ACEOF
40664 /* confdefs.h. */
40665 _ACEOF
40666 cat confdefs.h >>conftest.$ac_ext
40667 cat >>conftest.$ac_ext <<_ACEOF
40668 /* end confdefs.h. */
40669
40670 #if defined(__BSD__)
40671 #include <sys/param.h>
40672 #include <sys/mount.h>
40673 #else
40674 #include <sys/vfs.h>
40675 #endif
40676
40677 int
40678 main ()
40679 {
40680
40681 long l;
40682 struct statfs fs;
40683 statfs("/", &fs);
40684 l = fs.f_bsize;
40685 l += fs.f_blocks;
40686 l += fs.f_bavail;
40687
40688 ;
40689 return 0;
40690 }
40691 _ACEOF
40692 rm -f conftest.$ac_objext
40693 if { (ac_try="$ac_compile"
40694 case "(($ac_try" in
40695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40696 *) ac_try_echo=$ac_try;;
40697 esac
40698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40699 (eval "$ac_compile") 2>conftest.er1
40700 ac_status=$?
40701 grep -v '^ *+' conftest.er1 >conftest.err
40702 rm -f conftest.er1
40703 cat conftest.err >&5
40704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40705 (exit $ac_status); } && {
40706 test -z "$ac_c_werror_flag" ||
40707 test ! -s conftest.err
40708 } && test -s conftest.$ac_objext; then
40709 wx_cv_func_statfs=yes
40710 else
40711 echo "$as_me: failed program was:" >&5
40712 sed 's/^/| /' conftest.$ac_ext >&5
40713
40714 wx_cv_func_statfs=no
40715
40716 fi
40717
40718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40719
40720 fi
40721 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
40722 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
40723
40724 if test "$wx_cv_func_statfs" = "yes"; then
40725 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
40726 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
40727 if test "${wx_cv_func_statfs_decl+set}" = set; then
40728 echo $ECHO_N "(cached) $ECHO_C" >&6
40729 else
40730 ac_ext=cpp
40731 ac_cpp='$CXXCPP $CPPFLAGS'
40732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40735
40736 cat >conftest.$ac_ext <<_ACEOF
40737 /* confdefs.h. */
40738 _ACEOF
40739 cat confdefs.h >>conftest.$ac_ext
40740 cat >>conftest.$ac_ext <<_ACEOF
40741 /* end confdefs.h. */
40742
40743 #if defined(__BSD__)
40744 #include <sys/param.h>
40745 #include <sys/mount.h>
40746 #else
40747 #include <sys/vfs.h>
40748 #endif
40749
40750 int
40751 main ()
40752 {
40753
40754 struct statfs fs;
40755 statfs("", &fs);
40756
40757 ;
40758 return 0;
40759 }
40760 _ACEOF
40761 rm -f conftest.$ac_objext
40762 if { (ac_try="$ac_compile"
40763 case "(($ac_try" in
40764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40765 *) ac_try_echo=$ac_try;;
40766 esac
40767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40768 (eval "$ac_compile") 2>conftest.er1
40769 ac_status=$?
40770 grep -v '^ *+' conftest.er1 >conftest.err
40771 rm -f conftest.er1
40772 cat conftest.err >&5
40773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40774 (exit $ac_status); } && {
40775 test -z "$ac_cxx_werror_flag" ||
40776 test ! -s conftest.err
40777 } && test -s conftest.$ac_objext; then
40778 wx_cv_func_statfs_decl=yes
40779 else
40780 echo "$as_me: failed program was:" >&5
40781 sed 's/^/| /' conftest.$ac_ext >&5
40782
40783 wx_cv_func_statfs_decl=no
40784
40785 fi
40786
40787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40788 ac_ext=c
40789 ac_cpp='$CPP $CPPFLAGS'
40790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40793
40794
40795 fi
40796 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
40797 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
40798
40799 if test "$wx_cv_func_statfs_decl" = "yes"; then
40800 cat >>confdefs.h <<\_ACEOF
40801 #define HAVE_STATFS_DECL 1
40802 _ACEOF
40803
40804 fi
40805
40806 wx_cv_type_statvfs_t="struct statfs"
40807 cat >>confdefs.h <<\_ACEOF
40808 #define HAVE_STATFS 1
40809 _ACEOF
40810
40811 else
40812 { echo "$as_me:$LINENO: checking for statvfs" >&5
40813 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
40814 if test "${wx_cv_func_statvfs+set}" = set; then
40815 echo $ECHO_N "(cached) $ECHO_C" >&6
40816 else
40817 cat >conftest.$ac_ext <<_ACEOF
40818 /* confdefs.h. */
40819 _ACEOF
40820 cat confdefs.h >>conftest.$ac_ext
40821 cat >>conftest.$ac_ext <<_ACEOF
40822 /* end confdefs.h. */
40823
40824 #include <stddef.h>
40825 #include <sys/statvfs.h>
40826
40827 int
40828 main ()
40829 {
40830
40831 statvfs("/", NULL);
40832
40833 ;
40834 return 0;
40835 }
40836 _ACEOF
40837 rm -f conftest.$ac_objext
40838 if { (ac_try="$ac_compile"
40839 case "(($ac_try" in
40840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40841 *) ac_try_echo=$ac_try;;
40842 esac
40843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40844 (eval "$ac_compile") 2>conftest.er1
40845 ac_status=$?
40846 grep -v '^ *+' conftest.er1 >conftest.err
40847 rm -f conftest.er1
40848 cat conftest.err >&5
40849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40850 (exit $ac_status); } && {
40851 test -z "$ac_c_werror_flag" ||
40852 test ! -s conftest.err
40853 } && test -s conftest.$ac_objext; then
40854 wx_cv_func_statvfs=yes
40855 else
40856 echo "$as_me: failed program was:" >&5
40857 sed 's/^/| /' conftest.$ac_ext >&5
40858
40859 wx_cv_func_statvfs=no
40860
40861 fi
40862
40863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40864
40865 fi
40866 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
40867 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
40868
40869 if test "$wx_cv_func_statvfs" = "yes"; then
40870 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
40871 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
40872 if test "${wx_cv_type_statvfs_t+set}" = set; then
40873 echo $ECHO_N "(cached) $ECHO_C" >&6
40874 else
40875 ac_ext=cpp
40876 ac_cpp='$CXXCPP $CPPFLAGS'
40877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40880
40881 cat >conftest.$ac_ext <<_ACEOF
40882 /* confdefs.h. */
40883 _ACEOF
40884 cat confdefs.h >>conftest.$ac_ext
40885 cat >>conftest.$ac_ext <<_ACEOF
40886 /* end confdefs.h. */
40887
40888 #include <sys/statvfs.h>
40889
40890 int
40891 main ()
40892 {
40893
40894 long l;
40895 statvfs_t fs;
40896 statvfs("/", &fs);
40897 l = fs.f_bsize;
40898 l += fs.f_blocks;
40899 l += fs.f_bavail;
40900
40901 ;
40902 return 0;
40903 }
40904 _ACEOF
40905 rm -f conftest.$ac_objext
40906 if { (ac_try="$ac_compile"
40907 case "(($ac_try" in
40908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40909 *) ac_try_echo=$ac_try;;
40910 esac
40911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40912 (eval "$ac_compile") 2>conftest.er1
40913 ac_status=$?
40914 grep -v '^ *+' conftest.er1 >conftest.err
40915 rm -f conftest.er1
40916 cat conftest.err >&5
40917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40918 (exit $ac_status); } && {
40919 test -z "$ac_cxx_werror_flag" ||
40920 test ! -s conftest.err
40921 } && test -s conftest.$ac_objext; then
40922 wx_cv_type_statvfs_t=statvfs_t
40923 else
40924 echo "$as_me: failed program was:" >&5
40925 sed 's/^/| /' conftest.$ac_ext >&5
40926
40927
40928 cat >conftest.$ac_ext <<_ACEOF
40929 /* confdefs.h. */
40930 _ACEOF
40931 cat confdefs.h >>conftest.$ac_ext
40932 cat >>conftest.$ac_ext <<_ACEOF
40933 /* end confdefs.h. */
40934
40935 #include <sys/statvfs.h>
40936
40937 int
40938 main ()
40939 {
40940
40941 long l;
40942 struct statvfs fs;
40943 statvfs("/", &fs);
40944 l = fs.f_bsize;
40945 l += fs.f_blocks;
40946 l += fs.f_bavail;
40947
40948 ;
40949 return 0;
40950 }
40951 _ACEOF
40952 rm -f conftest.$ac_objext
40953 if { (ac_try="$ac_compile"
40954 case "(($ac_try" in
40955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40956 *) ac_try_echo=$ac_try;;
40957 esac
40958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40959 (eval "$ac_compile") 2>conftest.er1
40960 ac_status=$?
40961 grep -v '^ *+' conftest.er1 >conftest.err
40962 rm -f conftest.er1
40963 cat conftest.err >&5
40964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40965 (exit $ac_status); } && {
40966 test -z "$ac_cxx_werror_flag" ||
40967 test ! -s conftest.err
40968 } && test -s conftest.$ac_objext; then
40969 wx_cv_type_statvfs_t="struct statvfs"
40970 else
40971 echo "$as_me: failed program was:" >&5
40972 sed 's/^/| /' conftest.$ac_ext >&5
40973
40974 wx_cv_type_statvfs_t="unknown"
40975
40976 fi
40977
40978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40979
40980
40981 fi
40982
40983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40984 ac_ext=c
40985 ac_cpp='$CPP $CPPFLAGS'
40986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40989
40990
40991 fi
40992 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
40993 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
40994
40995 if test "$wx_cv_type_statvfs_t" != "unknown"; then
40996 cat >>confdefs.h <<\_ACEOF
40997 #define HAVE_STATVFS 1
40998 _ACEOF
40999
41000 fi
41001 else
41002 wx_cv_type_statvfs_t="unknown"
41003 fi
41004 fi
41005
41006 if test "$wx_cv_type_statvfs_t" != "unknown"; then
41007 cat >>confdefs.h <<_ACEOF
41008 #define WX_STATFS_T $wx_cv_type_statvfs_t
41009 _ACEOF
41010
41011 else
41012 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
41013 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
41014 fi
41015
41016 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
41017
41018
41019 for ac_func in fcntl flock
41020 do
41021 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41022 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41023 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41024 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41025 echo $ECHO_N "(cached) $ECHO_C" >&6
41026 else
41027 cat >conftest.$ac_ext <<_ACEOF
41028 /* confdefs.h. */
41029 _ACEOF
41030 cat confdefs.h >>conftest.$ac_ext
41031 cat >>conftest.$ac_ext <<_ACEOF
41032 /* end confdefs.h. */
41033 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41034 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41035 #define $ac_func innocuous_$ac_func
41036
41037 /* System header to define __stub macros and hopefully few prototypes,
41038 which can conflict with char $ac_func (); below.
41039 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41040 <limits.h> exists even on freestanding compilers. */
41041
41042 #ifdef __STDC__
41043 # include <limits.h>
41044 #else
41045 # include <assert.h>
41046 #endif
41047
41048 #undef $ac_func
41049
41050 /* Override any GCC internal prototype to avoid an error.
41051 Use char because int might match the return type of a GCC
41052 builtin and then its argument prototype would still apply. */
41053 #ifdef __cplusplus
41054 extern "C"
41055 #endif
41056 char $ac_func ();
41057 /* The GNU C library defines this for functions which it implements
41058 to always fail with ENOSYS. Some functions are actually named
41059 something starting with __ and the normal name is an alias. */
41060 #if defined __stub_$ac_func || defined __stub___$ac_func
41061 choke me
41062 #endif
41063
41064 int
41065 main ()
41066 {
41067 return $ac_func ();
41068 ;
41069 return 0;
41070 }
41071 _ACEOF
41072 rm -f conftest.$ac_objext conftest$ac_exeext
41073 if { (ac_try="$ac_link"
41074 case "(($ac_try" in
41075 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41076 *) ac_try_echo=$ac_try;;
41077 esac
41078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41079 (eval "$ac_link") 2>conftest.er1
41080 ac_status=$?
41081 grep -v '^ *+' conftest.er1 >conftest.err
41082 rm -f conftest.er1
41083 cat conftest.err >&5
41084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41085 (exit $ac_status); } && {
41086 test -z "$ac_c_werror_flag" ||
41087 test ! -s conftest.err
41088 } && test -s conftest$ac_exeext &&
41089 $as_test_x conftest$ac_exeext; then
41090 eval "$as_ac_var=yes"
41091 else
41092 echo "$as_me: failed program was:" >&5
41093 sed 's/^/| /' conftest.$ac_ext >&5
41094
41095 eval "$as_ac_var=no"
41096 fi
41097
41098 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41099 conftest$ac_exeext conftest.$ac_ext
41100 fi
41101 ac_res=`eval echo '${'$as_ac_var'}'`
41102 { echo "$as_me:$LINENO: result: $ac_res" >&5
41103 echo "${ECHO_T}$ac_res" >&6; }
41104 if test `eval echo '${'$as_ac_var'}'` = yes; then
41105 cat >>confdefs.h <<_ACEOF
41106 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41107 _ACEOF
41108 break
41109 fi
41110 done
41111
41112
41113 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
41114 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
41115 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
41116 wxUSE_SNGLINST_CHECKER=no
41117 fi
41118 fi
41119
41120
41121
41122 for ac_func in setenv putenv
41123 do
41124 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41125 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41126 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41127 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41128 echo $ECHO_N "(cached) $ECHO_C" >&6
41129 else
41130 cat >conftest.$ac_ext <<_ACEOF
41131 /* confdefs.h. */
41132 _ACEOF
41133 cat confdefs.h >>conftest.$ac_ext
41134 cat >>conftest.$ac_ext <<_ACEOF
41135 /* end confdefs.h. */
41136 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41137 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41138 #define $ac_func innocuous_$ac_func
41139
41140 /* System header to define __stub macros and hopefully few prototypes,
41141 which can conflict with char $ac_func (); below.
41142 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41143 <limits.h> exists even on freestanding compilers. */
41144
41145 #ifdef __STDC__
41146 # include <limits.h>
41147 #else
41148 # include <assert.h>
41149 #endif
41150
41151 #undef $ac_func
41152
41153 /* Override any GCC internal prototype to avoid an error.
41154 Use char because int might match the return type of a GCC
41155 builtin and then its argument prototype would still apply. */
41156 #ifdef __cplusplus
41157 extern "C"
41158 #endif
41159 char $ac_func ();
41160 /* The GNU C library defines this for functions which it implements
41161 to always fail with ENOSYS. Some functions are actually named
41162 something starting with __ and the normal name is an alias. */
41163 #if defined __stub_$ac_func || defined __stub___$ac_func
41164 choke me
41165 #endif
41166
41167 int
41168 main ()
41169 {
41170 return $ac_func ();
41171 ;
41172 return 0;
41173 }
41174 _ACEOF
41175 rm -f conftest.$ac_objext conftest$ac_exeext
41176 if { (ac_try="$ac_link"
41177 case "(($ac_try" in
41178 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41179 *) ac_try_echo=$ac_try;;
41180 esac
41181 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41182 (eval "$ac_link") 2>conftest.er1
41183 ac_status=$?
41184 grep -v '^ *+' conftest.er1 >conftest.err
41185 rm -f conftest.er1
41186 cat conftest.err >&5
41187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41188 (exit $ac_status); } && {
41189 test -z "$ac_c_werror_flag" ||
41190 test ! -s conftest.err
41191 } && test -s conftest$ac_exeext &&
41192 $as_test_x conftest$ac_exeext; then
41193 eval "$as_ac_var=yes"
41194 else
41195 echo "$as_me: failed program was:" >&5
41196 sed 's/^/| /' conftest.$ac_ext >&5
41197
41198 eval "$as_ac_var=no"
41199 fi
41200
41201 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41202 conftest$ac_exeext conftest.$ac_ext
41203 fi
41204 ac_res=`eval echo '${'$as_ac_var'}'`
41205 { echo "$as_me:$LINENO: result: $ac_res" >&5
41206 echo "${ECHO_T}$ac_res" >&6; }
41207 if test `eval echo '${'$as_ac_var'}'` = yes; then
41208 cat >>confdefs.h <<_ACEOF
41209 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41210 _ACEOF
41211 break
41212 fi
41213 done
41214
41215 if test "$ac_cv_func_setenv" = "yes"; then
41216
41217 for ac_func in unsetenv
41218 do
41219 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41220 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41221 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41222 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41223 echo $ECHO_N "(cached) $ECHO_C" >&6
41224 else
41225 cat >conftest.$ac_ext <<_ACEOF
41226 /* confdefs.h. */
41227 _ACEOF
41228 cat confdefs.h >>conftest.$ac_ext
41229 cat >>conftest.$ac_ext <<_ACEOF
41230 /* end confdefs.h. */
41231 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41232 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41233 #define $ac_func innocuous_$ac_func
41234
41235 /* System header to define __stub macros and hopefully few prototypes,
41236 which can conflict with char $ac_func (); below.
41237 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41238 <limits.h> exists even on freestanding compilers. */
41239
41240 #ifdef __STDC__
41241 # include <limits.h>
41242 #else
41243 # include <assert.h>
41244 #endif
41245
41246 #undef $ac_func
41247
41248 /* Override any GCC internal prototype to avoid an error.
41249 Use char because int might match the return type of a GCC
41250 builtin and then its argument prototype would still apply. */
41251 #ifdef __cplusplus
41252 extern "C"
41253 #endif
41254 char $ac_func ();
41255 /* The GNU C library defines this for functions which it implements
41256 to always fail with ENOSYS. Some functions are actually named
41257 something starting with __ and the normal name is an alias. */
41258 #if defined __stub_$ac_func || defined __stub___$ac_func
41259 choke me
41260 #endif
41261
41262 int
41263 main ()
41264 {
41265 return $ac_func ();
41266 ;
41267 return 0;
41268 }
41269 _ACEOF
41270 rm -f conftest.$ac_objext conftest$ac_exeext
41271 if { (ac_try="$ac_link"
41272 case "(($ac_try" in
41273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41274 *) ac_try_echo=$ac_try;;
41275 esac
41276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41277 (eval "$ac_link") 2>conftest.er1
41278 ac_status=$?
41279 grep -v '^ *+' conftest.er1 >conftest.err
41280 rm -f conftest.er1
41281 cat conftest.err >&5
41282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41283 (exit $ac_status); } && {
41284 test -z "$ac_c_werror_flag" ||
41285 test ! -s conftest.err
41286 } && test -s conftest$ac_exeext &&
41287 $as_test_x conftest$ac_exeext; then
41288 eval "$as_ac_var=yes"
41289 else
41290 echo "$as_me: failed program was:" >&5
41291 sed 's/^/| /' conftest.$ac_ext >&5
41292
41293 eval "$as_ac_var=no"
41294 fi
41295
41296 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41297 conftest$ac_exeext conftest.$ac_ext
41298 fi
41299 ac_res=`eval echo '${'$as_ac_var'}'`
41300 { echo "$as_me:$LINENO: result: $ac_res" >&5
41301 echo "${ECHO_T}$ac_res" >&6; }
41302 if test `eval echo '${'$as_ac_var'}'` = yes; then
41303 cat >>confdefs.h <<_ACEOF
41304 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41305 _ACEOF
41306
41307 fi
41308 done
41309
41310 fi
41311
41312 HAVE_SOME_SLEEP_FUNC=0
41313 if test "$USE_BEOS" = 1; then
41314 cat >>confdefs.h <<\_ACEOF
41315 #define HAVE_SLEEP 1
41316 _ACEOF
41317
41318 HAVE_SOME_SLEEP_FUNC=1
41319 fi
41320
41321 if test "$USE_DARWIN" = 1; then
41322 cat >>confdefs.h <<\_ACEOF
41323 #define HAVE_USLEEP 1
41324 _ACEOF
41325
41326 HAVE_SOME_SLEEP_FUNC=1
41327 fi
41328
41329 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
41330 POSIX4_LINK=
41331
41332 for ac_func in nanosleep
41333 do
41334 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41335 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41336 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41337 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41338 echo $ECHO_N "(cached) $ECHO_C" >&6
41339 else
41340 cat >conftest.$ac_ext <<_ACEOF
41341 /* confdefs.h. */
41342 _ACEOF
41343 cat confdefs.h >>conftest.$ac_ext
41344 cat >>conftest.$ac_ext <<_ACEOF
41345 /* end confdefs.h. */
41346 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41347 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41348 #define $ac_func innocuous_$ac_func
41349
41350 /* System header to define __stub macros and hopefully few prototypes,
41351 which can conflict with char $ac_func (); below.
41352 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41353 <limits.h> exists even on freestanding compilers. */
41354
41355 #ifdef __STDC__
41356 # include <limits.h>
41357 #else
41358 # include <assert.h>
41359 #endif
41360
41361 #undef $ac_func
41362
41363 /* Override any GCC internal prototype to avoid an error.
41364 Use char because int might match the return type of a GCC
41365 builtin and then its argument prototype would still apply. */
41366 #ifdef __cplusplus
41367 extern "C"
41368 #endif
41369 char $ac_func ();
41370 /* The GNU C library defines this for functions which it implements
41371 to always fail with ENOSYS. Some functions are actually named
41372 something starting with __ and the normal name is an alias. */
41373 #if defined __stub_$ac_func || defined __stub___$ac_func
41374 choke me
41375 #endif
41376
41377 int
41378 main ()
41379 {
41380 return $ac_func ();
41381 ;
41382 return 0;
41383 }
41384 _ACEOF
41385 rm -f conftest.$ac_objext conftest$ac_exeext
41386 if { (ac_try="$ac_link"
41387 case "(($ac_try" in
41388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41389 *) ac_try_echo=$ac_try;;
41390 esac
41391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41392 (eval "$ac_link") 2>conftest.er1
41393 ac_status=$?
41394 grep -v '^ *+' conftest.er1 >conftest.err
41395 rm -f conftest.er1
41396 cat conftest.err >&5
41397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41398 (exit $ac_status); } && {
41399 test -z "$ac_c_werror_flag" ||
41400 test ! -s conftest.err
41401 } && test -s conftest$ac_exeext &&
41402 $as_test_x conftest$ac_exeext; then
41403 eval "$as_ac_var=yes"
41404 else
41405 echo "$as_me: failed program was:" >&5
41406 sed 's/^/| /' conftest.$ac_ext >&5
41407
41408 eval "$as_ac_var=no"
41409 fi
41410
41411 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41412 conftest$ac_exeext conftest.$ac_ext
41413 fi
41414 ac_res=`eval echo '${'$as_ac_var'}'`
41415 { echo "$as_me:$LINENO: result: $ac_res" >&5
41416 echo "${ECHO_T}$ac_res" >&6; }
41417 if test `eval echo '${'$as_ac_var'}'` = yes; then
41418 cat >>confdefs.h <<_ACEOF
41419 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41420 _ACEOF
41421 cat >>confdefs.h <<\_ACEOF
41422 #define HAVE_NANOSLEEP 1
41423 _ACEOF
41424
41425 else
41426
41427 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
41428 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
41429 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
41430 echo $ECHO_N "(cached) $ECHO_C" >&6
41431 else
41432 ac_check_lib_save_LIBS=$LIBS
41433 LIBS="-lposix4 $LIBS"
41434 cat >conftest.$ac_ext <<_ACEOF
41435 /* confdefs.h. */
41436 _ACEOF
41437 cat confdefs.h >>conftest.$ac_ext
41438 cat >>conftest.$ac_ext <<_ACEOF
41439 /* end confdefs.h. */
41440
41441 /* Override any GCC internal prototype to avoid an error.
41442 Use char because int might match the return type of a GCC
41443 builtin and then its argument prototype would still apply. */
41444 #ifdef __cplusplus
41445 extern "C"
41446 #endif
41447 char nanosleep ();
41448 int
41449 main ()
41450 {
41451 return nanosleep ();
41452 ;
41453 return 0;
41454 }
41455 _ACEOF
41456 rm -f conftest.$ac_objext conftest$ac_exeext
41457 if { (ac_try="$ac_link"
41458 case "(($ac_try" in
41459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41460 *) ac_try_echo=$ac_try;;
41461 esac
41462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41463 (eval "$ac_link") 2>conftest.er1
41464 ac_status=$?
41465 grep -v '^ *+' conftest.er1 >conftest.err
41466 rm -f conftest.er1
41467 cat conftest.err >&5
41468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41469 (exit $ac_status); } && {
41470 test -z "$ac_c_werror_flag" ||
41471 test ! -s conftest.err
41472 } && test -s conftest$ac_exeext &&
41473 $as_test_x conftest$ac_exeext; then
41474 ac_cv_lib_posix4_nanosleep=yes
41475 else
41476 echo "$as_me: failed program was:" >&5
41477 sed 's/^/| /' conftest.$ac_ext >&5
41478
41479 ac_cv_lib_posix4_nanosleep=no
41480 fi
41481
41482 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41483 conftest$ac_exeext conftest.$ac_ext
41484 LIBS=$ac_check_lib_save_LIBS
41485 fi
41486 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
41487 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
41488 if test $ac_cv_lib_posix4_nanosleep = yes; then
41489
41490 cat >>confdefs.h <<\_ACEOF
41491 #define HAVE_NANOSLEEP 1
41492 _ACEOF
41493
41494 POSIX4_LINK=" -lposix4"
41495
41496 else
41497
41498
41499 for wx_func in usleep
41500 do
41501 { echo "$as_me:$LINENO: checking for $wx_func" >&5
41502 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
41503 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
41504 echo $ECHO_N "(cached) $ECHO_C" >&6
41505 else
41506
41507 cat >conftest.$ac_ext <<_ACEOF
41508
41509 /* confdefs.h. */
41510 _ACEOF
41511 cat confdefs.h >>conftest.$ac_ext
41512 cat >>conftest.$ac_ext <<_ACEOF
41513 /* end confdefs.h. */
41514
41515
41516 $ac_includes_default
41517
41518 int
41519 main ()
41520 {
41521
41522 #ifndef $wx_func
41523 &$wx_func;
41524 #endif
41525
41526
41527 ;
41528 return 0;
41529 }
41530
41531 _ACEOF
41532 rm -f conftest.$ac_objext conftest$ac_exeext
41533 if { (ac_try="$ac_link"
41534 case "(($ac_try" in
41535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41536 *) ac_try_echo=$ac_try;;
41537 esac
41538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41539 (eval "$ac_link") 2>conftest.er1
41540 ac_status=$?
41541 grep -v '^ *+' conftest.er1 >conftest.err
41542 rm -f conftest.er1
41543 cat conftest.err >&5
41544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41545 (exit $ac_status); } && {
41546 test -z "$ac_c_werror_flag" ||
41547 test ! -s conftest.err
41548 } && test -s conftest$ac_exeext &&
41549 $as_test_x conftest$ac_exeext; then
41550 eval wx_cv_func_$wx_func=yes
41551 else
41552 echo "$as_me: failed program was:" >&5
41553 sed 's/^/| /' conftest.$ac_ext >&5
41554
41555 eval wx_cv_func_$wx_func=no
41556 fi
41557
41558 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41559 conftest$ac_exeext conftest.$ac_ext
41560
41561 fi
41562 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
41563 { echo "$as_me:$LINENO: result: $ac_res" >&5
41564 echo "${ECHO_T}$ac_res" >&6; }
41565
41566 if eval test \$wx_cv_func_$wx_func = yes
41567 then
41568 cat >>confdefs.h <<_ACEOF
41569 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
41570 _ACEOF
41571
41572
41573 else
41574 :
41575 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
41576 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
41577
41578 fi
41579 done
41580
41581
41582
41583 fi
41584
41585
41586
41587 fi
41588 done
41589
41590 fi
41591
41592
41593 for wx_func in uname
41594 do
41595 { echo "$as_me:$LINENO: checking for $wx_func" >&5
41596 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
41597 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
41598 echo $ECHO_N "(cached) $ECHO_C" >&6
41599 else
41600
41601 cat >conftest.$ac_ext <<_ACEOF
41602
41603 /* confdefs.h. */
41604 _ACEOF
41605 cat confdefs.h >>conftest.$ac_ext
41606 cat >>conftest.$ac_ext <<_ACEOF
41607 /* end confdefs.h. */
41608
41609 #include <sys/utsname.h>
41610 $ac_includes_default
41611
41612 int
41613 main ()
41614 {
41615
41616 #ifndef $wx_func
41617 &$wx_func;
41618 #endif
41619
41620
41621 ;
41622 return 0;
41623 }
41624
41625 _ACEOF
41626 rm -f conftest.$ac_objext conftest$ac_exeext
41627 if { (ac_try="$ac_link"
41628 case "(($ac_try" in
41629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41630 *) ac_try_echo=$ac_try;;
41631 esac
41632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41633 (eval "$ac_link") 2>conftest.er1
41634 ac_status=$?
41635 grep -v '^ *+' conftest.er1 >conftest.err
41636 rm -f conftest.er1
41637 cat conftest.err >&5
41638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41639 (exit $ac_status); } && {
41640 test -z "$ac_c_werror_flag" ||
41641 test ! -s conftest.err
41642 } && test -s conftest$ac_exeext &&
41643 $as_test_x conftest$ac_exeext; then
41644 eval wx_cv_func_$wx_func=yes
41645 else
41646 echo "$as_me: failed program was:" >&5
41647 sed 's/^/| /' conftest.$ac_ext >&5
41648
41649 eval wx_cv_func_$wx_func=no
41650 fi
41651
41652 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41653 conftest$ac_exeext conftest.$ac_ext
41654
41655 fi
41656 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
41657 { echo "$as_me:$LINENO: result: $ac_res" >&5
41658 echo "${ECHO_T}$ac_res" >&6; }
41659
41660 if eval test \$wx_cv_func_$wx_func = yes
41661 then
41662 cat >>confdefs.h <<_ACEOF
41663 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
41664 _ACEOF
41665
41666
41667 else
41668 :
41669
41670 fi
41671 done
41672
41673 if test "$wx_cv_func_uname" != yes; then
41674
41675 for wx_func in gethostname
41676 do
41677 { echo "$as_me:$LINENO: checking for $wx_func" >&5
41678 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
41679 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
41680 echo $ECHO_N "(cached) $ECHO_C" >&6
41681 else
41682
41683 cat >conftest.$ac_ext <<_ACEOF
41684
41685 /* confdefs.h. */
41686 _ACEOF
41687 cat confdefs.h >>conftest.$ac_ext
41688 cat >>conftest.$ac_ext <<_ACEOF
41689 /* end confdefs.h. */
41690
41691
41692 $ac_includes_default
41693
41694 int
41695 main ()
41696 {
41697
41698 #ifndef $wx_func
41699 &$wx_func;
41700 #endif
41701
41702
41703 ;
41704 return 0;
41705 }
41706
41707 _ACEOF
41708 rm -f conftest.$ac_objext conftest$ac_exeext
41709 if { (ac_try="$ac_link"
41710 case "(($ac_try" in
41711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41712 *) ac_try_echo=$ac_try;;
41713 esac
41714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41715 (eval "$ac_link") 2>conftest.er1
41716 ac_status=$?
41717 grep -v '^ *+' conftest.er1 >conftest.err
41718 rm -f conftest.er1
41719 cat conftest.err >&5
41720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41721 (exit $ac_status); } && {
41722 test -z "$ac_c_werror_flag" ||
41723 test ! -s conftest.err
41724 } && test -s conftest$ac_exeext &&
41725 $as_test_x conftest$ac_exeext; then
41726 eval wx_cv_func_$wx_func=yes
41727 else
41728 echo "$as_me: failed program was:" >&5
41729 sed 's/^/| /' conftest.$ac_ext >&5
41730
41731 eval wx_cv_func_$wx_func=no
41732 fi
41733
41734 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41735 conftest$ac_exeext conftest.$ac_ext
41736
41737 fi
41738 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
41739 { echo "$as_me:$LINENO: result: $ac_res" >&5
41740 echo "${ECHO_T}$ac_res" >&6; }
41741
41742 if eval test \$wx_cv_func_$wx_func = yes
41743 then
41744 cat >>confdefs.h <<_ACEOF
41745 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
41746 _ACEOF
41747
41748
41749 else
41750 :
41751
41752 fi
41753 done
41754
41755 fi
41756
41757
41758 for wx_func in strtok_r
41759 do
41760 { echo "$as_me:$LINENO: checking for $wx_func" >&5
41761 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
41762 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
41763 echo $ECHO_N "(cached) $ECHO_C" >&6
41764 else
41765
41766 cat >conftest.$ac_ext <<_ACEOF
41767
41768 /* confdefs.h. */
41769 _ACEOF
41770 cat confdefs.h >>conftest.$ac_ext
41771 cat >>conftest.$ac_ext <<_ACEOF
41772 /* end confdefs.h. */
41773
41774 #define _REENTRANT
41775 $ac_includes_default
41776
41777 int
41778 main ()
41779 {
41780
41781 #ifndef $wx_func
41782 &$wx_func;
41783 #endif
41784
41785
41786 ;
41787 return 0;
41788 }
41789
41790 _ACEOF
41791 rm -f conftest.$ac_objext conftest$ac_exeext
41792 if { (ac_try="$ac_link"
41793 case "(($ac_try" in
41794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41795 *) ac_try_echo=$ac_try;;
41796 esac
41797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41798 (eval "$ac_link") 2>conftest.er1
41799 ac_status=$?
41800 grep -v '^ *+' conftest.er1 >conftest.err
41801 rm -f conftest.er1
41802 cat conftest.err >&5
41803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41804 (exit $ac_status); } && {
41805 test -z "$ac_c_werror_flag" ||
41806 test ! -s conftest.err
41807 } && test -s conftest$ac_exeext &&
41808 $as_test_x conftest$ac_exeext; then
41809 eval wx_cv_func_$wx_func=yes
41810 else
41811 echo "$as_me: failed program was:" >&5
41812 sed 's/^/| /' conftest.$ac_ext >&5
41813
41814 eval wx_cv_func_$wx_func=no
41815 fi
41816
41817 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41818 conftest$ac_exeext conftest.$ac_ext
41819
41820 fi
41821 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
41822 { echo "$as_me:$LINENO: result: $ac_res" >&5
41823 echo "${ECHO_T}$ac_res" >&6; }
41824
41825 if eval test \$wx_cv_func_$wx_func = yes
41826 then
41827 cat >>confdefs.h <<_ACEOF
41828 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
41829 _ACEOF
41830
41831
41832 else
41833 :
41834
41835 fi
41836 done
41837
41838
41839 INET_LINK=
41840
41841 for ac_func in inet_addr
41842 do
41843 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41844 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41845 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41846 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41847 echo $ECHO_N "(cached) $ECHO_C" >&6
41848 else
41849 cat >conftest.$ac_ext <<_ACEOF
41850 /* confdefs.h. */
41851 _ACEOF
41852 cat confdefs.h >>conftest.$ac_ext
41853 cat >>conftest.$ac_ext <<_ACEOF
41854 /* end confdefs.h. */
41855 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41856 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41857 #define $ac_func innocuous_$ac_func
41858
41859 /* System header to define __stub macros and hopefully few prototypes,
41860 which can conflict with char $ac_func (); below.
41861 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41862 <limits.h> exists even on freestanding compilers. */
41863
41864 #ifdef __STDC__
41865 # include <limits.h>
41866 #else
41867 # include <assert.h>
41868 #endif
41869
41870 #undef $ac_func
41871
41872 /* Override any GCC internal prototype to avoid an error.
41873 Use char because int might match the return type of a GCC
41874 builtin and then its argument prototype would still apply. */
41875 #ifdef __cplusplus
41876 extern "C"
41877 #endif
41878 char $ac_func ();
41879 /* The GNU C library defines this for functions which it implements
41880 to always fail with ENOSYS. Some functions are actually named
41881 something starting with __ and the normal name is an alias. */
41882 #if defined __stub_$ac_func || defined __stub___$ac_func
41883 choke me
41884 #endif
41885
41886 int
41887 main ()
41888 {
41889 return $ac_func ();
41890 ;
41891 return 0;
41892 }
41893 _ACEOF
41894 rm -f conftest.$ac_objext conftest$ac_exeext
41895 if { (ac_try="$ac_link"
41896 case "(($ac_try" in
41897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41898 *) ac_try_echo=$ac_try;;
41899 esac
41900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41901 (eval "$ac_link") 2>conftest.er1
41902 ac_status=$?
41903 grep -v '^ *+' conftest.er1 >conftest.err
41904 rm -f conftest.er1
41905 cat conftest.err >&5
41906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41907 (exit $ac_status); } && {
41908 test -z "$ac_c_werror_flag" ||
41909 test ! -s conftest.err
41910 } && test -s conftest$ac_exeext &&
41911 $as_test_x conftest$ac_exeext; then
41912 eval "$as_ac_var=yes"
41913 else
41914 echo "$as_me: failed program was:" >&5
41915 sed 's/^/| /' conftest.$ac_ext >&5
41916
41917 eval "$as_ac_var=no"
41918 fi
41919
41920 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41921 conftest$ac_exeext conftest.$ac_ext
41922 fi
41923 ac_res=`eval echo '${'$as_ac_var'}'`
41924 { echo "$as_me:$LINENO: result: $ac_res" >&5
41925 echo "${ECHO_T}$ac_res" >&6; }
41926 if test `eval echo '${'$as_ac_var'}'` = yes; then
41927 cat >>confdefs.h <<_ACEOF
41928 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41929 _ACEOF
41930 cat >>confdefs.h <<\_ACEOF
41931 #define HAVE_INET_ADDR 1
41932 _ACEOF
41933
41934 else
41935
41936 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
41937 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
41938 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
41939 echo $ECHO_N "(cached) $ECHO_C" >&6
41940 else
41941 ac_check_lib_save_LIBS=$LIBS
41942 LIBS="-lnsl $LIBS"
41943 cat >conftest.$ac_ext <<_ACEOF
41944 /* confdefs.h. */
41945 _ACEOF
41946 cat confdefs.h >>conftest.$ac_ext
41947 cat >>conftest.$ac_ext <<_ACEOF
41948 /* end confdefs.h. */
41949
41950 /* Override any GCC internal prototype to avoid an error.
41951 Use char because int might match the return type of a GCC
41952 builtin and then its argument prototype would still apply. */
41953 #ifdef __cplusplus
41954 extern "C"
41955 #endif
41956 char inet_addr ();
41957 int
41958 main ()
41959 {
41960 return inet_addr ();
41961 ;
41962 return 0;
41963 }
41964 _ACEOF
41965 rm -f conftest.$ac_objext conftest$ac_exeext
41966 if { (ac_try="$ac_link"
41967 case "(($ac_try" in
41968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41969 *) ac_try_echo=$ac_try;;
41970 esac
41971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41972 (eval "$ac_link") 2>conftest.er1
41973 ac_status=$?
41974 grep -v '^ *+' conftest.er1 >conftest.err
41975 rm -f conftest.er1
41976 cat conftest.err >&5
41977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41978 (exit $ac_status); } && {
41979 test -z "$ac_c_werror_flag" ||
41980 test ! -s conftest.err
41981 } && test -s conftest$ac_exeext &&
41982 $as_test_x conftest$ac_exeext; then
41983 ac_cv_lib_nsl_inet_addr=yes
41984 else
41985 echo "$as_me: failed program was:" >&5
41986 sed 's/^/| /' conftest.$ac_ext >&5
41987
41988 ac_cv_lib_nsl_inet_addr=no
41989 fi
41990
41991 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41992 conftest$ac_exeext conftest.$ac_ext
41993 LIBS=$ac_check_lib_save_LIBS
41994 fi
41995 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
41996 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
41997 if test $ac_cv_lib_nsl_inet_addr = yes; then
41998 INET_LINK="nsl"
41999 else
42000
42001 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
42002 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
42003 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
42004 echo $ECHO_N "(cached) $ECHO_C" >&6
42005 else
42006 ac_check_lib_save_LIBS=$LIBS
42007 LIBS="-lresolv $LIBS"
42008 cat >conftest.$ac_ext <<_ACEOF
42009 /* confdefs.h. */
42010 _ACEOF
42011 cat confdefs.h >>conftest.$ac_ext
42012 cat >>conftest.$ac_ext <<_ACEOF
42013 /* end confdefs.h. */
42014
42015 /* Override any GCC internal prototype to avoid an error.
42016 Use char because int might match the return type of a GCC
42017 builtin and then its argument prototype would still apply. */
42018 #ifdef __cplusplus
42019 extern "C"
42020 #endif
42021 char inet_addr ();
42022 int
42023 main ()
42024 {
42025 return inet_addr ();
42026 ;
42027 return 0;
42028 }
42029 _ACEOF
42030 rm -f conftest.$ac_objext conftest$ac_exeext
42031 if { (ac_try="$ac_link"
42032 case "(($ac_try" in
42033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42034 *) ac_try_echo=$ac_try;;
42035 esac
42036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42037 (eval "$ac_link") 2>conftest.er1
42038 ac_status=$?
42039 grep -v '^ *+' conftest.er1 >conftest.err
42040 rm -f conftest.er1
42041 cat conftest.err >&5
42042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42043 (exit $ac_status); } && {
42044 test -z "$ac_c_werror_flag" ||
42045 test ! -s conftest.err
42046 } && test -s conftest$ac_exeext &&
42047 $as_test_x conftest$ac_exeext; then
42048 ac_cv_lib_resolv_inet_addr=yes
42049 else
42050 echo "$as_me: failed program was:" >&5
42051 sed 's/^/| /' conftest.$ac_ext >&5
42052
42053 ac_cv_lib_resolv_inet_addr=no
42054 fi
42055
42056 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42057 conftest$ac_exeext conftest.$ac_ext
42058 LIBS=$ac_check_lib_save_LIBS
42059 fi
42060 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
42061 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
42062 if test $ac_cv_lib_resolv_inet_addr = yes; then
42063 INET_LINK="resolv"
42064 else
42065
42066 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
42067 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
42068 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
42069 echo $ECHO_N "(cached) $ECHO_C" >&6
42070 else
42071 ac_check_lib_save_LIBS=$LIBS
42072 LIBS="-lsocket $LIBS"
42073 cat >conftest.$ac_ext <<_ACEOF
42074 /* confdefs.h. */
42075 _ACEOF
42076 cat confdefs.h >>conftest.$ac_ext
42077 cat >>conftest.$ac_ext <<_ACEOF
42078 /* end confdefs.h. */
42079
42080 /* Override any GCC internal prototype to avoid an error.
42081 Use char because int might match the return type of a GCC
42082 builtin and then its argument prototype would still apply. */
42083 #ifdef __cplusplus
42084 extern "C"
42085 #endif
42086 char inet_addr ();
42087 int
42088 main ()
42089 {
42090 return inet_addr ();
42091 ;
42092 return 0;
42093 }
42094 _ACEOF
42095 rm -f conftest.$ac_objext conftest$ac_exeext
42096 if { (ac_try="$ac_link"
42097 case "(($ac_try" in
42098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42099 *) ac_try_echo=$ac_try;;
42100 esac
42101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42102 (eval "$ac_link") 2>conftest.er1
42103 ac_status=$?
42104 grep -v '^ *+' conftest.er1 >conftest.err
42105 rm -f conftest.er1
42106 cat conftest.err >&5
42107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42108 (exit $ac_status); } && {
42109 test -z "$ac_c_werror_flag" ||
42110 test ! -s conftest.err
42111 } && test -s conftest$ac_exeext &&
42112 $as_test_x conftest$ac_exeext; then
42113 ac_cv_lib_socket_inet_addr=yes
42114 else
42115 echo "$as_me: failed program was:" >&5
42116 sed 's/^/| /' conftest.$ac_ext >&5
42117
42118 ac_cv_lib_socket_inet_addr=no
42119 fi
42120
42121 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42122 conftest$ac_exeext conftest.$ac_ext
42123 LIBS=$ac_check_lib_save_LIBS
42124 fi
42125 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
42126 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
42127 if test $ac_cv_lib_socket_inet_addr = yes; then
42128 INET_LINK="socket"
42129
42130 fi
42131
42132
42133
42134 fi
42135
42136
42137
42138 fi
42139
42140
42141
42142 fi
42143 done
42144
42145
42146
42147 for ac_func in inet_aton
42148 do
42149 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42150 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42151 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42152 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42153 echo $ECHO_N "(cached) $ECHO_C" >&6
42154 else
42155 cat >conftest.$ac_ext <<_ACEOF
42156 /* confdefs.h. */
42157 _ACEOF
42158 cat confdefs.h >>conftest.$ac_ext
42159 cat >>conftest.$ac_ext <<_ACEOF
42160 /* end confdefs.h. */
42161 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42162 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42163 #define $ac_func innocuous_$ac_func
42164
42165 /* System header to define __stub macros and hopefully few prototypes,
42166 which can conflict with char $ac_func (); below.
42167 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42168 <limits.h> exists even on freestanding compilers. */
42169
42170 #ifdef __STDC__
42171 # include <limits.h>
42172 #else
42173 # include <assert.h>
42174 #endif
42175
42176 #undef $ac_func
42177
42178 /* Override any GCC internal prototype to avoid an error.
42179 Use char because int might match the return type of a GCC
42180 builtin and then its argument prototype would still apply. */
42181 #ifdef __cplusplus
42182 extern "C"
42183 #endif
42184 char $ac_func ();
42185 /* The GNU C library defines this for functions which it implements
42186 to always fail with ENOSYS. Some functions are actually named
42187 something starting with __ and the normal name is an alias. */
42188 #if defined __stub_$ac_func || defined __stub___$ac_func
42189 choke me
42190 #endif
42191
42192 int
42193 main ()
42194 {
42195 return $ac_func ();
42196 ;
42197 return 0;
42198 }
42199 _ACEOF
42200 rm -f conftest.$ac_objext conftest$ac_exeext
42201 if { (ac_try="$ac_link"
42202 case "(($ac_try" in
42203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42204 *) ac_try_echo=$ac_try;;
42205 esac
42206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42207 (eval "$ac_link") 2>conftest.er1
42208 ac_status=$?
42209 grep -v '^ *+' conftest.er1 >conftest.err
42210 rm -f conftest.er1
42211 cat conftest.err >&5
42212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42213 (exit $ac_status); } && {
42214 test -z "$ac_c_werror_flag" ||
42215 test ! -s conftest.err
42216 } && test -s conftest$ac_exeext &&
42217 $as_test_x conftest$ac_exeext; then
42218 eval "$as_ac_var=yes"
42219 else
42220 echo "$as_me: failed program was:" >&5
42221 sed 's/^/| /' conftest.$ac_ext >&5
42222
42223 eval "$as_ac_var=no"
42224 fi
42225
42226 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42227 conftest$ac_exeext conftest.$ac_ext
42228 fi
42229 ac_res=`eval echo '${'$as_ac_var'}'`
42230 { echo "$as_me:$LINENO: result: $ac_res" >&5
42231 echo "${ECHO_T}$ac_res" >&6; }
42232 if test `eval echo '${'$as_ac_var'}'` = yes; then
42233 cat >>confdefs.h <<_ACEOF
42234 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42235 _ACEOF
42236 cat >>confdefs.h <<\_ACEOF
42237 #define HAVE_INET_ATON 1
42238 _ACEOF
42239
42240 else
42241
42242 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
42243 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
42244 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
42245 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
42246 echo $ECHO_N "(cached) $ECHO_C" >&6
42247 else
42248 ac_check_lib_save_LIBS=$LIBS
42249 LIBS="-l$INET_LINK $LIBS"
42250 cat >conftest.$ac_ext <<_ACEOF
42251 /* confdefs.h. */
42252 _ACEOF
42253 cat confdefs.h >>conftest.$ac_ext
42254 cat >>conftest.$ac_ext <<_ACEOF
42255 /* end confdefs.h. */
42256
42257 /* Override any GCC internal prototype to avoid an error.
42258 Use char because int might match the return type of a GCC
42259 builtin and then its argument prototype would still apply. */
42260 #ifdef __cplusplus
42261 extern "C"
42262 #endif
42263 char inet_aton ();
42264 int
42265 main ()
42266 {
42267 return inet_aton ();
42268 ;
42269 return 0;
42270 }
42271 _ACEOF
42272 rm -f conftest.$ac_objext conftest$ac_exeext
42273 if { (ac_try="$ac_link"
42274 case "(($ac_try" in
42275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42276 *) ac_try_echo=$ac_try;;
42277 esac
42278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42279 (eval "$ac_link") 2>conftest.er1
42280 ac_status=$?
42281 grep -v '^ *+' conftest.er1 >conftest.err
42282 rm -f conftest.er1
42283 cat conftest.err >&5
42284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42285 (exit $ac_status); } && {
42286 test -z "$ac_c_werror_flag" ||
42287 test ! -s conftest.err
42288 } && test -s conftest$ac_exeext &&
42289 $as_test_x conftest$ac_exeext; then
42290 eval "$as_ac_Lib=yes"
42291 else
42292 echo "$as_me: failed program was:" >&5
42293 sed 's/^/| /' conftest.$ac_ext >&5
42294
42295 eval "$as_ac_Lib=no"
42296 fi
42297
42298 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42299 conftest$ac_exeext conftest.$ac_ext
42300 LIBS=$ac_check_lib_save_LIBS
42301 fi
42302 ac_res=`eval echo '${'$as_ac_Lib'}'`
42303 { echo "$as_me:$LINENO: result: $ac_res" >&5
42304 echo "${ECHO_T}$ac_res" >&6; }
42305 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
42306 cat >>confdefs.h <<\_ACEOF
42307 #define HAVE_INET_ATON 1
42308 _ACEOF
42309
42310 fi
42311
42312
42313 fi
42314 done
42315
42316
42317 if test "x$INET_LINK" != "x"; then
42318 cat >>confdefs.h <<\_ACEOF
42319 #define HAVE_INET_ADDR 1
42320 _ACEOF
42321
42322 INET_LINK=" -l$INET_LINK"
42323 fi
42324
42325
42326 for wx_func in fdopen
42327 do
42328 { echo "$as_me:$LINENO: checking for $wx_func" >&5
42329 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
42330 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
42331 echo $ECHO_N "(cached) $ECHO_C" >&6
42332 else
42333
42334 cat >conftest.$ac_ext <<_ACEOF
42335
42336 /* confdefs.h. */
42337 _ACEOF
42338 cat confdefs.h >>conftest.$ac_ext
42339 cat >>conftest.$ac_ext <<_ACEOF
42340 /* end confdefs.h. */
42341
42342
42343 $ac_includes_default
42344
42345 int
42346 main ()
42347 {
42348
42349 #ifndef $wx_func
42350 &$wx_func;
42351 #endif
42352
42353
42354 ;
42355 return 0;
42356 }
42357
42358 _ACEOF
42359 rm -f conftest.$ac_objext conftest$ac_exeext
42360 if { (ac_try="$ac_link"
42361 case "(($ac_try" in
42362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42363 *) ac_try_echo=$ac_try;;
42364 esac
42365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42366 (eval "$ac_link") 2>conftest.er1
42367 ac_status=$?
42368 grep -v '^ *+' conftest.er1 >conftest.err
42369 rm -f conftest.er1
42370 cat conftest.err >&5
42371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42372 (exit $ac_status); } && {
42373 test -z "$ac_c_werror_flag" ||
42374 test ! -s conftest.err
42375 } && test -s conftest$ac_exeext &&
42376 $as_test_x conftest$ac_exeext; then
42377 eval wx_cv_func_$wx_func=yes
42378 else
42379 echo "$as_me: failed program was:" >&5
42380 sed 's/^/| /' conftest.$ac_ext >&5
42381
42382 eval wx_cv_func_$wx_func=no
42383 fi
42384
42385 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42386 conftest$ac_exeext conftest.$ac_ext
42387
42388 fi
42389 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
42390 { echo "$as_me:$LINENO: result: $ac_res" >&5
42391 echo "${ECHO_T}$ac_res" >&6; }
42392
42393 if eval test \$wx_cv_func_$wx_func = yes
42394 then
42395 cat >>confdefs.h <<_ACEOF
42396 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
42397 _ACEOF
42398
42399
42400 else
42401 :
42402
42403 fi
42404 done
42405
42406
42407 if test "$wxUSE_TARSTREAM" = "yes"; then
42408
42409 for wx_func in sysconf
42410 do
42411 { echo "$as_me:$LINENO: checking for $wx_func" >&5
42412 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
42413 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
42414 echo $ECHO_N "(cached) $ECHO_C" >&6
42415 else
42416
42417 cat >conftest.$ac_ext <<_ACEOF
42418
42419 /* confdefs.h. */
42420 _ACEOF
42421 cat confdefs.h >>conftest.$ac_ext
42422 cat >>conftest.$ac_ext <<_ACEOF
42423 /* end confdefs.h. */
42424
42425
42426 $ac_includes_default
42427
42428 int
42429 main ()
42430 {
42431
42432 #ifndef $wx_func
42433 &$wx_func;
42434 #endif
42435
42436
42437 ;
42438 return 0;
42439 }
42440
42441 _ACEOF
42442 rm -f conftest.$ac_objext conftest$ac_exeext
42443 if { (ac_try="$ac_link"
42444 case "(($ac_try" in
42445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42446 *) ac_try_echo=$ac_try;;
42447 esac
42448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42449 (eval "$ac_link") 2>conftest.er1
42450 ac_status=$?
42451 grep -v '^ *+' conftest.er1 >conftest.err
42452 rm -f conftest.er1
42453 cat conftest.err >&5
42454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42455 (exit $ac_status); } && {
42456 test -z "$ac_c_werror_flag" ||
42457 test ! -s conftest.err
42458 } && test -s conftest$ac_exeext &&
42459 $as_test_x conftest$ac_exeext; then
42460 eval wx_cv_func_$wx_func=yes
42461 else
42462 echo "$as_me: failed program was:" >&5
42463 sed 's/^/| /' conftest.$ac_ext >&5
42464
42465 eval wx_cv_func_$wx_func=no
42466 fi
42467
42468 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42469 conftest$ac_exeext conftest.$ac_ext
42470
42471 fi
42472 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
42473 { echo "$as_me:$LINENO: result: $ac_res" >&5
42474 echo "${ECHO_T}$ac_res" >&6; }
42475
42476 if eval test \$wx_cv_func_$wx_func = yes
42477 then
42478 cat >>confdefs.h <<_ACEOF
42479 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
42480 _ACEOF
42481
42482
42483 else
42484 :
42485
42486 fi
42487 done
42488
42489
42490
42491 for wx_func in getpwuid_r
42492 do
42493 { echo "$as_me:$LINENO: checking for $wx_func" >&5
42494 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
42495 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
42496 echo $ECHO_N "(cached) $ECHO_C" >&6
42497 else
42498
42499 cat >conftest.$ac_ext <<_ACEOF
42500
42501 /* confdefs.h. */
42502 _ACEOF
42503 cat confdefs.h >>conftest.$ac_ext
42504 cat >>conftest.$ac_ext <<_ACEOF
42505 /* end confdefs.h. */
42506
42507
42508 #define _REENTRANT
42509 #include <pwd.h>
42510
42511 $ac_includes_default
42512
42513 int
42514 main ()
42515 {
42516
42517 #ifndef $wx_func
42518 &$wx_func;
42519 #endif
42520
42521 struct passwd pw, *ppw;
42522 char buf[1024];
42523 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
42524
42525
42526 ;
42527 return 0;
42528 }
42529
42530 _ACEOF
42531 rm -f conftest.$ac_objext conftest$ac_exeext
42532 if { (ac_try="$ac_link"
42533 case "(($ac_try" in
42534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42535 *) ac_try_echo=$ac_try;;
42536 esac
42537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42538 (eval "$ac_link") 2>conftest.er1
42539 ac_status=$?
42540 grep -v '^ *+' conftest.er1 >conftest.err
42541 rm -f conftest.er1
42542 cat conftest.err >&5
42543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42544 (exit $ac_status); } && {
42545 test -z "$ac_c_werror_flag" ||
42546 test ! -s conftest.err
42547 } && test -s conftest$ac_exeext &&
42548 $as_test_x conftest$ac_exeext; then
42549 eval wx_cv_func_$wx_func=yes
42550 else
42551 echo "$as_me: failed program was:" >&5
42552 sed 's/^/| /' conftest.$ac_ext >&5
42553
42554 eval wx_cv_func_$wx_func=no
42555 fi
42556
42557 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42558 conftest$ac_exeext conftest.$ac_ext
42559
42560 fi
42561 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
42562 { echo "$as_me:$LINENO: result: $ac_res" >&5
42563 echo "${ECHO_T}$ac_res" >&6; }
42564
42565 if eval test \$wx_cv_func_$wx_func = yes
42566 then
42567 cat >>confdefs.h <<_ACEOF
42568 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
42569 _ACEOF
42570
42571
42572 else
42573 :
42574
42575 fi
42576 done
42577
42578
42579
42580 for wx_func in getgrgid_r
42581 do
42582 { echo "$as_me:$LINENO: checking for $wx_func" >&5
42583 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
42584 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
42585 echo $ECHO_N "(cached) $ECHO_C" >&6
42586 else
42587
42588 cat >conftest.$ac_ext <<_ACEOF
42589
42590 /* confdefs.h. */
42591 _ACEOF
42592 cat confdefs.h >>conftest.$ac_ext
42593 cat >>conftest.$ac_ext <<_ACEOF
42594 /* end confdefs.h. */
42595
42596
42597 #define _REENTRANT
42598 #include <grp.h>
42599
42600 $ac_includes_default
42601
42602 int
42603 main ()
42604 {
42605
42606 #ifndef $wx_func
42607 &$wx_func;
42608 #endif
42609
42610 struct group grp, *pgrp;
42611 char buf[1024];
42612 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
42613
42614
42615 ;
42616 return 0;
42617 }
42618
42619 _ACEOF
42620 rm -f conftest.$ac_objext conftest$ac_exeext
42621 if { (ac_try="$ac_link"
42622 case "(($ac_try" in
42623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42624 *) ac_try_echo=$ac_try;;
42625 esac
42626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42627 (eval "$ac_link") 2>conftest.er1
42628 ac_status=$?
42629 grep -v '^ *+' conftest.er1 >conftest.err
42630 rm -f conftest.er1
42631 cat conftest.err >&5
42632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42633 (exit $ac_status); } && {
42634 test -z "$ac_c_werror_flag" ||
42635 test ! -s conftest.err
42636 } && test -s conftest$ac_exeext &&
42637 $as_test_x conftest$ac_exeext; then
42638 eval wx_cv_func_$wx_func=yes
42639 else
42640 echo "$as_me: failed program was:" >&5
42641 sed 's/^/| /' conftest.$ac_ext >&5
42642
42643 eval wx_cv_func_$wx_func=no
42644 fi
42645
42646 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42647 conftest$ac_exeext conftest.$ac_ext
42648
42649 fi
42650 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
42651 { echo "$as_me:$LINENO: result: $ac_res" >&5
42652 echo "${ECHO_T}$ac_res" >&6; }
42653
42654 if eval test \$wx_cv_func_$wx_func = yes
42655 then
42656 cat >>confdefs.h <<_ACEOF
42657 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
42658 _ACEOF
42659
42660
42661 else
42662 :
42663
42664 fi
42665 done
42666
42667 fi
42668
42669 fi
42670
42671
42672
42673 cat >confcache <<\_ACEOF
42674 # This file is a shell script that caches the results of configure
42675 # tests run on this system so they can be shared between configure
42676 # scripts and configure runs, see configure's option --config-cache.
42677 # It is not useful on other systems. If it contains results you don't
42678 # want to keep, you may remove or edit it.
42679 #
42680 # config.status only pays attention to the cache file if you give it
42681 # the --recheck option to rerun configure.
42682 #
42683 # `ac_cv_env_foo' variables (set or unset) will be overridden when
42684 # loading this file, other *unset* `ac_cv_foo' will be assigned the
42685 # following values.
42686
42687 _ACEOF
42688
42689 # The following way of writing the cache mishandles newlines in values,
42690 # but we know of no workaround that is simple, portable, and efficient.
42691 # So, we kill variables containing newlines.
42692 # Ultrix sh set writes to stderr and can't be redirected directly,
42693 # and sets the high bit in the cache file unless we assign to the vars.
42694 (
42695 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
42696 eval ac_val=\$$ac_var
42697 case $ac_val in #(
42698 *${as_nl}*)
42699 case $ac_var in #(
42700 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
42701 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
42702 esac
42703 case $ac_var in #(
42704 _ | IFS | as_nl) ;; #(
42705 *) $as_unset $ac_var ;;
42706 esac ;;
42707 esac
42708 done
42709
42710 (set) 2>&1 |
42711 case $as_nl`(ac_space=' '; set) 2>&1` in #(
42712 *${as_nl}ac_space=\ *)
42713 # `set' does not quote correctly, so add quotes (double-quote
42714 # substitution turns \\\\ into \\, and sed turns \\ into \).
42715 sed -n \
42716 "s/'/'\\\\''/g;
42717 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
42718 ;; #(
42719 *)
42720 # `set' quotes correctly as required by POSIX, so do not add quotes.
42721 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
42722 ;;
42723 esac |
42724 sort
42725 ) |
42726 sed '
42727 /^ac_cv_env_/b end
42728 t clear
42729 :clear
42730 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
42731 t end
42732 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
42733 :end' >>confcache
42734 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
42735 if test -w "$cache_file"; then
42736 test "x$cache_file" != "x/dev/null" &&
42737 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
42738 echo "$as_me: updating cache $cache_file" >&6;}
42739 cat confcache >$cache_file
42740 else
42741 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
42742 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
42743 fi
42744 fi
42745 rm -f confcache
42746
42747
42748 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
42749
42750
42751 THREADS_LINK=
42752 THREADS_CFLAGS=
42753
42754 if test "$wxUSE_THREADS" = "yes" ; then
42755 if test "$USE_BEOS" = 1; then
42756 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
42757 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
42758 wxUSE_THREADS="no"
42759 fi
42760 fi
42761
42762 if test "$wxUSE_THREADS" = "yes" ; then
42763
42764
42765 THREAD_OPTS="-pthread"
42766 if test "x$SUNCXX" = xyes; then
42767 THREAD_OPTS="-mt lthread $THREAD_OPTS"
42768 fi
42769
42770 case "${host}" in
42771 *-*-solaris2* | *-*-sunos4* )
42772 if test "x$GCC" = "xyes"; then
42773 THREAD_OPTS="-pthreads $THREAD_OPTS"
42774 fi
42775 ;;
42776 *-*-freebsd*)
42777 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
42778 ;;
42779 *-*-darwin* | *-*-cygwin* )
42780 THREAD_OPTS=""
42781 ;;
42782 *-*-aix*)
42783 THREAD_OPTS="pthreads"
42784 ;;
42785 *-hp-hpux* )
42786 if test "x$GCC" = "xyes"; then
42787 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
42788 THREAD_OPTS=""
42789 else
42790 THREAD_OPTS="-mt"
42791 fi
42792 ;;
42793
42794 *-*-irix* )
42795 if test "x$GCC" = "xyes"; then
42796 THREAD_OPTS=""
42797 fi
42798 ;;
42799
42800 *-*-qnx*)
42801 THREAD_OPTS=""
42802 ;;
42803
42804 *-*-*UnixWare*)
42805 if test "x$GCC" != "xyes"; then
42806 THREAD_OPTS="-Ethread"
42807 fi
42808 ;;
42809 esac
42810
42811 case "${host}" in
42812 *-*-qnx*)
42813 THREAD_OPTS="none pthread"
42814 ;;
42815
42816 *)
42817 THREAD_OPTS="$THREAD_OPTS pthread none"
42818 ;;
42819 esac
42820
42821 THREADS_OK=no
42822 for flag in $THREAD_OPTS; do
42823 case $flag in
42824 none)
42825 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
42826 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
42827 ;;
42828
42829 -*)
42830 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
42831 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
42832 THREADS_CFLAGS="$flag"
42833 ;;
42834
42835 *)
42836 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
42837 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
42838 THREADS_LINK="-l$flag"
42839 ;;
42840 esac
42841
42842 save_LIBS="$LIBS"
42843 save_CFLAGS="$CFLAGS"
42844 LIBS="$THREADS_LINK $LIBS"
42845 CFLAGS="$THREADS_CFLAGS $CFLAGS"
42846
42847 cat >conftest.$ac_ext <<_ACEOF
42848 /* confdefs.h. */
42849 _ACEOF
42850 cat confdefs.h >>conftest.$ac_ext
42851 cat >>conftest.$ac_ext <<_ACEOF
42852 /* end confdefs.h. */
42853 #include <pthread.h>
42854 int
42855 main ()
42856 {
42857 pthread_create(0,0,0,0);
42858 ;
42859 return 0;
42860 }
42861 _ACEOF
42862 rm -f conftest.$ac_objext conftest$ac_exeext
42863 if { (ac_try="$ac_link"
42864 case "(($ac_try" in
42865 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42866 *) ac_try_echo=$ac_try;;
42867 esac
42868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42869 (eval "$ac_link") 2>conftest.er1
42870 ac_status=$?
42871 grep -v '^ *+' conftest.er1 >conftest.err
42872 rm -f conftest.er1
42873 cat conftest.err >&5
42874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42875 (exit $ac_status); } && {
42876 test -z "$ac_c_werror_flag" ||
42877 test ! -s conftest.err
42878 } && test -s conftest$ac_exeext &&
42879 $as_test_x conftest$ac_exeext; then
42880 THREADS_OK=yes
42881 else
42882 echo "$as_me: failed program was:" >&5
42883 sed 's/^/| /' conftest.$ac_ext >&5
42884
42885
42886 fi
42887
42888 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42889 conftest$ac_exeext conftest.$ac_ext
42890
42891 LIBS="$save_LIBS"
42892 CFLAGS="$save_CFLAGS"
42893
42894 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
42895 echo "${ECHO_T}$THREADS_OK" >&6; }
42896 if test "x$THREADS_OK" = "xyes"; then
42897 break;
42898 fi
42899
42900 THREADS_LINK=""
42901 THREADS_CFLAGS=""
42902 done
42903
42904 if test "x$THREADS_OK" != "xyes"; then
42905 wxUSE_THREADS=no
42906 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
42907 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
42908 else
42909 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
42910 WXCONFIG_LDFLAGS="$THREADS_CFLAGS $WXCONFIG_LDFLAGS"
42911 LIBS="$THREADS_LINK $LIBS"
42912
42913 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
42914 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
42915 flag=no
42916 case "${host}" in
42917 *-aix*)
42918 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
42919 WXCONFIG_LDFLAGS="-L/usr/lib/threads $WXCONFIG_LDFLAGS"
42920 flag="-D_THREAD_SAFE"
42921 ;;
42922 *-freebsd*)
42923 flag="-D_THREAD_SAFE"
42924 ;;
42925 *-hp-hpux* )
42926 flag="-D_REENTRANT"
42927 if test "x$GCC" != "xyes"; then
42928 flag="$flag -D_RWSTD_MULTI_THREAD"
42929 fi
42930 ;;
42931 *solaris* | alpha*-osf*)
42932 flag="-D_REENTRANT"
42933 ;;
42934 esac
42935 { echo "$as_me:$LINENO: result: ${flag}" >&5
42936 echo "${ECHO_T}${flag}" >&6; }
42937 if test "x$flag" != xno; then
42938 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
42939 fi
42940
42941 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
42942 fi
42943 fi
42944
42945 if test "$wxUSE_THREADS" = "yes" ; then
42946
42947 for ac_func in thr_setconcurrency
42948 do
42949 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42950 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42951 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42952 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42953 echo $ECHO_N "(cached) $ECHO_C" >&6
42954 else
42955 cat >conftest.$ac_ext <<_ACEOF
42956 /* confdefs.h. */
42957 _ACEOF
42958 cat confdefs.h >>conftest.$ac_ext
42959 cat >>conftest.$ac_ext <<_ACEOF
42960 /* end confdefs.h. */
42961 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42962 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42963 #define $ac_func innocuous_$ac_func
42964
42965 /* System header to define __stub macros and hopefully few prototypes,
42966 which can conflict with char $ac_func (); below.
42967 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42968 <limits.h> exists even on freestanding compilers. */
42969
42970 #ifdef __STDC__
42971 # include <limits.h>
42972 #else
42973 # include <assert.h>
42974 #endif
42975
42976 #undef $ac_func
42977
42978 /* Override any GCC internal prototype to avoid an error.
42979 Use char because int might match the return type of a GCC
42980 builtin and then its argument prototype would still apply. */
42981 #ifdef __cplusplus
42982 extern "C"
42983 #endif
42984 char $ac_func ();
42985 /* The GNU C library defines this for functions which it implements
42986 to always fail with ENOSYS. Some functions are actually named
42987 something starting with __ and the normal name is an alias. */
42988 #if defined __stub_$ac_func || defined __stub___$ac_func
42989 choke me
42990 #endif
42991
42992 int
42993 main ()
42994 {
42995 return $ac_func ();
42996 ;
42997 return 0;
42998 }
42999 _ACEOF
43000 rm -f conftest.$ac_objext conftest$ac_exeext
43001 if { (ac_try="$ac_link"
43002 case "(($ac_try" in
43003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43004 *) ac_try_echo=$ac_try;;
43005 esac
43006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43007 (eval "$ac_link") 2>conftest.er1
43008 ac_status=$?
43009 grep -v '^ *+' conftest.er1 >conftest.err
43010 rm -f conftest.er1
43011 cat conftest.err >&5
43012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43013 (exit $ac_status); } && {
43014 test -z "$ac_c_werror_flag" ||
43015 test ! -s conftest.err
43016 } && test -s conftest$ac_exeext &&
43017 $as_test_x conftest$ac_exeext; then
43018 eval "$as_ac_var=yes"
43019 else
43020 echo "$as_me: failed program was:" >&5
43021 sed 's/^/| /' conftest.$ac_ext >&5
43022
43023 eval "$as_ac_var=no"
43024 fi
43025
43026 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43027 conftest$ac_exeext conftest.$ac_ext
43028 fi
43029 ac_res=`eval echo '${'$as_ac_var'}'`
43030 { echo "$as_me:$LINENO: result: $ac_res" >&5
43031 echo "${ECHO_T}$ac_res" >&6; }
43032 if test `eval echo '${'$as_ac_var'}'` = yes; then
43033 cat >>confdefs.h <<_ACEOF
43034 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43035 _ACEOF
43036
43037 fi
43038 done
43039
43040
43041 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
43042 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
43043 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
43044 echo $ECHO_N "(cached) $ECHO_C" >&6
43045 else
43046
43047 ac_ext=cpp
43048 ac_cpp='$CXXCPP $CPPFLAGS'
43049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43052
43053 cat >conftest.$ac_ext <<_ACEOF
43054 /* confdefs.h. */
43055 _ACEOF
43056 cat confdefs.h >>conftest.$ac_ext
43057 cat >>conftest.$ac_ext <<_ACEOF
43058 /* end confdefs.h. */
43059 #include <pthread.h>
43060 void ThreadCleanupFunc(void *p);
43061
43062 int
43063 main ()
43064 {
43065
43066 void *p;
43067 pthread_cleanup_push(ThreadCleanupFunc, p);
43068 pthread_cleanup_pop(0);
43069
43070 ;
43071 return 0;
43072 }
43073 _ACEOF
43074 rm -f conftest.$ac_objext
43075 if { (ac_try="$ac_compile"
43076 case "(($ac_try" in
43077 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43078 *) ac_try_echo=$ac_try;;
43079 esac
43080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43081 (eval "$ac_compile") 2>conftest.er1
43082 ac_status=$?
43083 grep -v '^ *+' conftest.er1 >conftest.err
43084 rm -f conftest.er1
43085 cat conftest.err >&5
43086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43087 (exit $ac_status); } && {
43088 test -z "$ac_cxx_werror_flag" ||
43089 test ! -s conftest.err
43090 } && test -s conftest.$ac_objext; then
43091
43092 wx_cv_func_pthread_cleanup=yes
43093
43094 else
43095 echo "$as_me: failed program was:" >&5
43096 sed 's/^/| /' conftest.$ac_ext >&5
43097
43098
43099 wx_cv_func_pthread_cleanup=no
43100
43101
43102 fi
43103
43104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43105 ac_ext=c
43106 ac_cpp='$CPP $CPPFLAGS'
43107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43110
43111
43112 fi
43113 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
43114 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
43115 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
43116 cat >>confdefs.h <<\_ACEOF
43117 #define wxHAVE_PTHREAD_CLEANUP 1
43118 _ACEOF
43119
43120 fi
43121
43122
43123 for ac_header in sched.h
43124 do
43125 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43126 { echo "$as_me:$LINENO: checking for $ac_header" >&5
43127 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
43128 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
43129 echo $ECHO_N "(cached) $ECHO_C" >&6
43130 else
43131 cat >conftest.$ac_ext <<_ACEOF
43132 /* confdefs.h. */
43133 _ACEOF
43134 cat confdefs.h >>conftest.$ac_ext
43135 cat >>conftest.$ac_ext <<_ACEOF
43136 /* end confdefs.h. */
43137 $ac_includes_default
43138
43139 #include <$ac_header>
43140 _ACEOF
43141 rm -f conftest.$ac_objext
43142 if { (ac_try="$ac_compile"
43143 case "(($ac_try" in
43144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43145 *) ac_try_echo=$ac_try;;
43146 esac
43147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43148 (eval "$ac_compile") 2>conftest.er1
43149 ac_status=$?
43150 grep -v '^ *+' conftest.er1 >conftest.err
43151 rm -f conftest.er1
43152 cat conftest.err >&5
43153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43154 (exit $ac_status); } && {
43155 test -z "$ac_c_werror_flag" ||
43156 test ! -s conftest.err
43157 } && test -s conftest.$ac_objext; then
43158 eval "$as_ac_Header=yes"
43159 else
43160 echo "$as_me: failed program was:" >&5
43161 sed 's/^/| /' conftest.$ac_ext >&5
43162
43163 eval "$as_ac_Header=no"
43164 fi
43165
43166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43167 fi
43168 ac_res=`eval echo '${'$as_ac_Header'}'`
43169 { echo "$as_me:$LINENO: result: $ac_res" >&5
43170 echo "${ECHO_T}$ac_res" >&6; }
43171 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43172 cat >>confdefs.h <<_ACEOF
43173 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43174 _ACEOF
43175
43176 fi
43177
43178 done
43179
43180 if test "$ac_cv_header_sched_h" = "yes"; then
43181 { echo "$as_me:$LINENO: checking for sched_yield" >&5
43182 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
43183 if test "${ac_cv_func_sched_yield+set}" = set; then
43184 echo $ECHO_N "(cached) $ECHO_C" >&6
43185 else
43186 cat >conftest.$ac_ext <<_ACEOF
43187 /* confdefs.h. */
43188 _ACEOF
43189 cat confdefs.h >>conftest.$ac_ext
43190 cat >>conftest.$ac_ext <<_ACEOF
43191 /* end confdefs.h. */
43192 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
43193 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43194 #define sched_yield innocuous_sched_yield
43195
43196 /* System header to define __stub macros and hopefully few prototypes,
43197 which can conflict with char sched_yield (); below.
43198 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43199 <limits.h> exists even on freestanding compilers. */
43200
43201 #ifdef __STDC__
43202 # include <limits.h>
43203 #else
43204 # include <assert.h>
43205 #endif
43206
43207 #undef sched_yield
43208
43209 /* Override any GCC internal prototype to avoid an error.
43210 Use char because int might match the return type of a GCC
43211 builtin and then its argument prototype would still apply. */
43212 #ifdef __cplusplus
43213 extern "C"
43214 #endif
43215 char sched_yield ();
43216 /* The GNU C library defines this for functions which it implements
43217 to always fail with ENOSYS. Some functions are actually named
43218 something starting with __ and the normal name is an alias. */
43219 #if defined __stub_sched_yield || defined __stub___sched_yield
43220 choke me
43221 #endif
43222
43223 int
43224 main ()
43225 {
43226 return sched_yield ();
43227 ;
43228 return 0;
43229 }
43230 _ACEOF
43231 rm -f conftest.$ac_objext conftest$ac_exeext
43232 if { (ac_try="$ac_link"
43233 case "(($ac_try" in
43234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43235 *) ac_try_echo=$ac_try;;
43236 esac
43237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43238 (eval "$ac_link") 2>conftest.er1
43239 ac_status=$?
43240 grep -v '^ *+' conftest.er1 >conftest.err
43241 rm -f conftest.er1
43242 cat conftest.err >&5
43243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43244 (exit $ac_status); } && {
43245 test -z "$ac_c_werror_flag" ||
43246 test ! -s conftest.err
43247 } && test -s conftest$ac_exeext &&
43248 $as_test_x conftest$ac_exeext; then
43249 ac_cv_func_sched_yield=yes
43250 else
43251 echo "$as_me: failed program was:" >&5
43252 sed 's/^/| /' conftest.$ac_ext >&5
43253
43254 ac_cv_func_sched_yield=no
43255 fi
43256
43257 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43258 conftest$ac_exeext conftest.$ac_ext
43259 fi
43260 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
43261 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
43262 if test $ac_cv_func_sched_yield = yes; then
43263 cat >>confdefs.h <<\_ACEOF
43264 #define HAVE_SCHED_YIELD 1
43265 _ACEOF
43266
43267 else
43268
43269 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
43270 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
43271 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
43272 echo $ECHO_N "(cached) $ECHO_C" >&6
43273 else
43274 ac_check_lib_save_LIBS=$LIBS
43275 LIBS="-lposix4 $LIBS"
43276 cat >conftest.$ac_ext <<_ACEOF
43277 /* confdefs.h. */
43278 _ACEOF
43279 cat confdefs.h >>conftest.$ac_ext
43280 cat >>conftest.$ac_ext <<_ACEOF
43281 /* end confdefs.h. */
43282
43283 /* Override any GCC internal prototype to avoid an error.
43284 Use char because int might match the return type of a GCC
43285 builtin and then its argument prototype would still apply. */
43286 #ifdef __cplusplus
43287 extern "C"
43288 #endif
43289 char sched_yield ();
43290 int
43291 main ()
43292 {
43293 return sched_yield ();
43294 ;
43295 return 0;
43296 }
43297 _ACEOF
43298 rm -f conftest.$ac_objext conftest$ac_exeext
43299 if { (ac_try="$ac_link"
43300 case "(($ac_try" in
43301 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43302 *) ac_try_echo=$ac_try;;
43303 esac
43304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43305 (eval "$ac_link") 2>conftest.er1
43306 ac_status=$?
43307 grep -v '^ *+' conftest.er1 >conftest.err
43308 rm -f conftest.er1
43309 cat conftest.err >&5
43310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43311 (exit $ac_status); } && {
43312 test -z "$ac_c_werror_flag" ||
43313 test ! -s conftest.err
43314 } && test -s conftest$ac_exeext &&
43315 $as_test_x conftest$ac_exeext; then
43316 ac_cv_lib_posix4_sched_yield=yes
43317 else
43318 echo "$as_me: failed program was:" >&5
43319 sed 's/^/| /' conftest.$ac_ext >&5
43320
43321 ac_cv_lib_posix4_sched_yield=no
43322 fi
43323
43324 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43325 conftest$ac_exeext conftest.$ac_ext
43326 LIBS=$ac_check_lib_save_LIBS
43327 fi
43328 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
43329 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
43330 if test $ac_cv_lib_posix4_sched_yield = yes; then
43331 cat >>confdefs.h <<\_ACEOF
43332 #define HAVE_SCHED_YIELD 1
43333 _ACEOF
43334 POSIX4_LINK=" -lposix4"
43335 else
43336 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
43337 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
43338
43339 fi
43340
43341
43342
43343 fi
43344
43345 fi
43346
43347 HAVE_PRIOR_FUNCS=0
43348 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
43349 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
43350 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
43351 echo $ECHO_N "(cached) $ECHO_C" >&6
43352 else
43353 cat >conftest.$ac_ext <<_ACEOF
43354 /* confdefs.h. */
43355 _ACEOF
43356 cat confdefs.h >>conftest.$ac_ext
43357 cat >>conftest.$ac_ext <<_ACEOF
43358 /* end confdefs.h. */
43359 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
43360 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43361 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
43362
43363 /* System header to define __stub macros and hopefully few prototypes,
43364 which can conflict with char pthread_attr_getschedpolicy (); below.
43365 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43366 <limits.h> exists even on freestanding compilers. */
43367
43368 #ifdef __STDC__
43369 # include <limits.h>
43370 #else
43371 # include <assert.h>
43372 #endif
43373
43374 #undef pthread_attr_getschedpolicy
43375
43376 /* Override any GCC internal prototype to avoid an error.
43377 Use char because int might match the return type of a GCC
43378 builtin and then its argument prototype would still apply. */
43379 #ifdef __cplusplus
43380 extern "C"
43381 #endif
43382 char pthread_attr_getschedpolicy ();
43383 /* The GNU C library defines this for functions which it implements
43384 to always fail with ENOSYS. Some functions are actually named
43385 something starting with __ and the normal name is an alias. */
43386 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
43387 choke me
43388 #endif
43389
43390 int
43391 main ()
43392 {
43393 return pthread_attr_getschedpolicy ();
43394 ;
43395 return 0;
43396 }
43397 _ACEOF
43398 rm -f conftest.$ac_objext conftest$ac_exeext
43399 if { (ac_try="$ac_link"
43400 case "(($ac_try" in
43401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43402 *) ac_try_echo=$ac_try;;
43403 esac
43404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43405 (eval "$ac_link") 2>conftest.er1
43406 ac_status=$?
43407 grep -v '^ *+' conftest.er1 >conftest.err
43408 rm -f conftest.er1
43409 cat conftest.err >&5
43410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43411 (exit $ac_status); } && {
43412 test -z "$ac_c_werror_flag" ||
43413 test ! -s conftest.err
43414 } && test -s conftest$ac_exeext &&
43415 $as_test_x conftest$ac_exeext; then
43416 ac_cv_func_pthread_attr_getschedpolicy=yes
43417 else
43418 echo "$as_me: failed program was:" >&5
43419 sed 's/^/| /' conftest.$ac_ext >&5
43420
43421 ac_cv_func_pthread_attr_getschedpolicy=no
43422 fi
43423
43424 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43425 conftest$ac_exeext conftest.$ac_ext
43426 fi
43427 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
43428 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
43429 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
43430 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
43431 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
43432 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
43433 echo $ECHO_N "(cached) $ECHO_C" >&6
43434 else
43435 cat >conftest.$ac_ext <<_ACEOF
43436 /* confdefs.h. */
43437 _ACEOF
43438 cat confdefs.h >>conftest.$ac_ext
43439 cat >>conftest.$ac_ext <<_ACEOF
43440 /* end confdefs.h. */
43441 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
43442 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43443 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
43444
43445 /* System header to define __stub macros and hopefully few prototypes,
43446 which can conflict with char pthread_attr_setschedparam (); below.
43447 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43448 <limits.h> exists even on freestanding compilers. */
43449
43450 #ifdef __STDC__
43451 # include <limits.h>
43452 #else
43453 # include <assert.h>
43454 #endif
43455
43456 #undef pthread_attr_setschedparam
43457
43458 /* Override any GCC internal prototype to avoid an error.
43459 Use char because int might match the return type of a GCC
43460 builtin and then its argument prototype would still apply. */
43461 #ifdef __cplusplus
43462 extern "C"
43463 #endif
43464 char pthread_attr_setschedparam ();
43465 /* The GNU C library defines this for functions which it implements
43466 to always fail with ENOSYS. Some functions are actually named
43467 something starting with __ and the normal name is an alias. */
43468 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
43469 choke me
43470 #endif
43471
43472 int
43473 main ()
43474 {
43475 return pthread_attr_setschedparam ();
43476 ;
43477 return 0;
43478 }
43479 _ACEOF
43480 rm -f conftest.$ac_objext conftest$ac_exeext
43481 if { (ac_try="$ac_link"
43482 case "(($ac_try" in
43483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43484 *) ac_try_echo=$ac_try;;
43485 esac
43486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43487 (eval "$ac_link") 2>conftest.er1
43488 ac_status=$?
43489 grep -v '^ *+' conftest.er1 >conftest.err
43490 rm -f conftest.er1
43491 cat conftest.err >&5
43492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43493 (exit $ac_status); } && {
43494 test -z "$ac_c_werror_flag" ||
43495 test ! -s conftest.err
43496 } && test -s conftest$ac_exeext &&
43497 $as_test_x conftest$ac_exeext; then
43498 ac_cv_func_pthread_attr_setschedparam=yes
43499 else
43500 echo "$as_me: failed program was:" >&5
43501 sed 's/^/| /' conftest.$ac_ext >&5
43502
43503 ac_cv_func_pthread_attr_setschedparam=no
43504 fi
43505
43506 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43507 conftest$ac_exeext conftest.$ac_ext
43508 fi
43509 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
43510 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
43511 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
43512 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
43513 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
43514 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
43515 echo $ECHO_N "(cached) $ECHO_C" >&6
43516 else
43517 cat >conftest.$ac_ext <<_ACEOF
43518 /* confdefs.h. */
43519 _ACEOF
43520 cat confdefs.h >>conftest.$ac_ext
43521 cat >>conftest.$ac_ext <<_ACEOF
43522 /* end confdefs.h. */
43523 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
43524 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43525 #define sched_get_priority_max innocuous_sched_get_priority_max
43526
43527 /* System header to define __stub macros and hopefully few prototypes,
43528 which can conflict with char sched_get_priority_max (); below.
43529 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43530 <limits.h> exists even on freestanding compilers. */
43531
43532 #ifdef __STDC__
43533 # include <limits.h>
43534 #else
43535 # include <assert.h>
43536 #endif
43537
43538 #undef sched_get_priority_max
43539
43540 /* Override any GCC internal prototype to avoid an error.
43541 Use char because int might match the return type of a GCC
43542 builtin and then its argument prototype would still apply. */
43543 #ifdef __cplusplus
43544 extern "C"
43545 #endif
43546 char sched_get_priority_max ();
43547 /* The GNU C library defines this for functions which it implements
43548 to always fail with ENOSYS. Some functions are actually named
43549 something starting with __ and the normal name is an alias. */
43550 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
43551 choke me
43552 #endif
43553
43554 int
43555 main ()
43556 {
43557 return sched_get_priority_max ();
43558 ;
43559 return 0;
43560 }
43561 _ACEOF
43562 rm -f conftest.$ac_objext conftest$ac_exeext
43563 if { (ac_try="$ac_link"
43564 case "(($ac_try" in
43565 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43566 *) ac_try_echo=$ac_try;;
43567 esac
43568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43569 (eval "$ac_link") 2>conftest.er1
43570 ac_status=$?
43571 grep -v '^ *+' conftest.er1 >conftest.err
43572 rm -f conftest.er1
43573 cat conftest.err >&5
43574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43575 (exit $ac_status); } && {
43576 test -z "$ac_c_werror_flag" ||
43577 test ! -s conftest.err
43578 } && test -s conftest$ac_exeext &&
43579 $as_test_x conftest$ac_exeext; then
43580 ac_cv_func_sched_get_priority_max=yes
43581 else
43582 echo "$as_me: failed program was:" >&5
43583 sed 's/^/| /' conftest.$ac_ext >&5
43584
43585 ac_cv_func_sched_get_priority_max=no
43586 fi
43587
43588 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43589 conftest$ac_exeext conftest.$ac_ext
43590 fi
43591 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
43592 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
43593 if test $ac_cv_func_sched_get_priority_max = yes; then
43594 HAVE_PRIOR_FUNCS=1
43595 else
43596 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
43597 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
43598 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
43599 echo $ECHO_N "(cached) $ECHO_C" >&6
43600 else
43601 ac_check_lib_save_LIBS=$LIBS
43602 LIBS="-lposix4 $LIBS"
43603 cat >conftest.$ac_ext <<_ACEOF
43604 /* confdefs.h. */
43605 _ACEOF
43606 cat confdefs.h >>conftest.$ac_ext
43607 cat >>conftest.$ac_ext <<_ACEOF
43608 /* end confdefs.h. */
43609
43610 /* Override any GCC internal prototype to avoid an error.
43611 Use char because int might match the return type of a GCC
43612 builtin and then its argument prototype would still apply. */
43613 #ifdef __cplusplus
43614 extern "C"
43615 #endif
43616 char sched_get_priority_max ();
43617 int
43618 main ()
43619 {
43620 return sched_get_priority_max ();
43621 ;
43622 return 0;
43623 }
43624 _ACEOF
43625 rm -f conftest.$ac_objext conftest$ac_exeext
43626 if { (ac_try="$ac_link"
43627 case "(($ac_try" in
43628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43629 *) ac_try_echo=$ac_try;;
43630 esac
43631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43632 (eval "$ac_link") 2>conftest.er1
43633 ac_status=$?
43634 grep -v '^ *+' conftest.er1 >conftest.err
43635 rm -f conftest.er1
43636 cat conftest.err >&5
43637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43638 (exit $ac_status); } && {
43639 test -z "$ac_c_werror_flag" ||
43640 test ! -s conftest.err
43641 } && test -s conftest$ac_exeext &&
43642 $as_test_x conftest$ac_exeext; then
43643 ac_cv_lib_posix4_sched_get_priority_max=yes
43644 else
43645 echo "$as_me: failed program was:" >&5
43646 sed 's/^/| /' conftest.$ac_ext >&5
43647
43648 ac_cv_lib_posix4_sched_get_priority_max=no
43649 fi
43650
43651 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43652 conftest$ac_exeext conftest.$ac_ext
43653 LIBS=$ac_check_lib_save_LIBS
43654 fi
43655 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
43656 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
43657 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
43658
43659 HAVE_PRIOR_FUNCS=1
43660 POSIX4_LINK=" -lposix4"
43661
43662 fi
43663
43664
43665 fi
43666
43667
43668 fi
43669
43670
43671 fi
43672
43673
43674 if test "$HAVE_PRIOR_FUNCS" = 1; then
43675 cat >>confdefs.h <<\_ACEOF
43676 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
43677 _ACEOF
43678
43679 else
43680 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
43681 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
43682 fi
43683
43684 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
43685 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
43686 if test "${ac_cv_func_pthread_cancel+set}" = set; then
43687 echo $ECHO_N "(cached) $ECHO_C" >&6
43688 else
43689 cat >conftest.$ac_ext <<_ACEOF
43690 /* confdefs.h. */
43691 _ACEOF
43692 cat confdefs.h >>conftest.$ac_ext
43693 cat >>conftest.$ac_ext <<_ACEOF
43694 /* end confdefs.h. */
43695 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
43696 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43697 #define pthread_cancel innocuous_pthread_cancel
43698
43699 /* System header to define __stub macros and hopefully few prototypes,
43700 which can conflict with char pthread_cancel (); below.
43701 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43702 <limits.h> exists even on freestanding compilers. */
43703
43704 #ifdef __STDC__
43705 # include <limits.h>
43706 #else
43707 # include <assert.h>
43708 #endif
43709
43710 #undef pthread_cancel
43711
43712 /* Override any GCC internal prototype to avoid an error.
43713 Use char because int might match the return type of a GCC
43714 builtin and then its argument prototype would still apply. */
43715 #ifdef __cplusplus
43716 extern "C"
43717 #endif
43718 char pthread_cancel ();
43719 /* The GNU C library defines this for functions which it implements
43720 to always fail with ENOSYS. Some functions are actually named
43721 something starting with __ and the normal name is an alias. */
43722 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
43723 choke me
43724 #endif
43725
43726 int
43727 main ()
43728 {
43729 return pthread_cancel ();
43730 ;
43731 return 0;
43732 }
43733 _ACEOF
43734 rm -f conftest.$ac_objext conftest$ac_exeext
43735 if { (ac_try="$ac_link"
43736 case "(($ac_try" in
43737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43738 *) ac_try_echo=$ac_try;;
43739 esac
43740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43741 (eval "$ac_link") 2>conftest.er1
43742 ac_status=$?
43743 grep -v '^ *+' conftest.er1 >conftest.err
43744 rm -f conftest.er1
43745 cat conftest.err >&5
43746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43747 (exit $ac_status); } && {
43748 test -z "$ac_c_werror_flag" ||
43749 test ! -s conftest.err
43750 } && test -s conftest$ac_exeext &&
43751 $as_test_x conftest$ac_exeext; then
43752 ac_cv_func_pthread_cancel=yes
43753 else
43754 echo "$as_me: failed program was:" >&5
43755 sed 's/^/| /' conftest.$ac_ext >&5
43756
43757 ac_cv_func_pthread_cancel=no
43758 fi
43759
43760 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43761 conftest$ac_exeext conftest.$ac_ext
43762 fi
43763 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
43764 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
43765 if test $ac_cv_func_pthread_cancel = yes; then
43766 cat >>confdefs.h <<\_ACEOF
43767 #define HAVE_PTHREAD_CANCEL 1
43768 _ACEOF
43769
43770 else
43771 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
43772 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
43773 fi
43774
43775
43776 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
43777 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
43778 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
43779 echo $ECHO_N "(cached) $ECHO_C" >&6
43780 else
43781 cat >conftest.$ac_ext <<_ACEOF
43782 /* confdefs.h. */
43783 _ACEOF
43784 cat confdefs.h >>conftest.$ac_ext
43785 cat >>conftest.$ac_ext <<_ACEOF
43786 /* end confdefs.h. */
43787 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
43788 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43789 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
43790
43791 /* System header to define __stub macros and hopefully few prototypes,
43792 which can conflict with char pthread_mutex_timedlock (); below.
43793 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43794 <limits.h> exists even on freestanding compilers. */
43795
43796 #ifdef __STDC__
43797 # include <limits.h>
43798 #else
43799 # include <assert.h>
43800 #endif
43801
43802 #undef pthread_mutex_timedlock
43803
43804 /* Override any GCC internal prototype to avoid an error.
43805 Use char because int might match the return type of a GCC
43806 builtin and then its argument prototype would still apply. */
43807 #ifdef __cplusplus
43808 extern "C"
43809 #endif
43810 char pthread_mutex_timedlock ();
43811 /* The GNU C library defines this for functions which it implements
43812 to always fail with ENOSYS. Some functions are actually named
43813 something starting with __ and the normal name is an alias. */
43814 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
43815 choke me
43816 #endif
43817
43818 int
43819 main ()
43820 {
43821 return pthread_mutex_timedlock ();
43822 ;
43823 return 0;
43824 }
43825 _ACEOF
43826 rm -f conftest.$ac_objext conftest$ac_exeext
43827 if { (ac_try="$ac_link"
43828 case "(($ac_try" in
43829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43830 *) ac_try_echo=$ac_try;;
43831 esac
43832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43833 (eval "$ac_link") 2>conftest.er1
43834 ac_status=$?
43835 grep -v '^ *+' conftest.er1 >conftest.err
43836 rm -f conftest.er1
43837 cat conftest.err >&5
43838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43839 (exit $ac_status); } && {
43840 test -z "$ac_c_werror_flag" ||
43841 test ! -s conftest.err
43842 } && test -s conftest$ac_exeext &&
43843 $as_test_x conftest$ac_exeext; then
43844 ac_cv_func_pthread_mutex_timedlock=yes
43845 else
43846 echo "$as_me: failed program was:" >&5
43847 sed 's/^/| /' conftest.$ac_ext >&5
43848
43849 ac_cv_func_pthread_mutex_timedlock=no
43850 fi
43851
43852 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43853 conftest$ac_exeext conftest.$ac_ext
43854 fi
43855 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
43856 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
43857 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
43858 cat >>confdefs.h <<\_ACEOF
43859 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
43860 _ACEOF
43861
43862 else
43863 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
43864 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
43865 fi
43866
43867
43868 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
43869 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
43870 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
43871 echo $ECHO_N "(cached) $ECHO_C" >&6
43872 else
43873 cat >conftest.$ac_ext <<_ACEOF
43874 /* confdefs.h. */
43875 _ACEOF
43876 cat confdefs.h >>conftest.$ac_ext
43877 cat >>conftest.$ac_ext <<_ACEOF
43878 /* end confdefs.h. */
43879 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
43880 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43881 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
43882
43883 /* System header to define __stub macros and hopefully few prototypes,
43884 which can conflict with char pthread_attr_setstacksize (); below.
43885 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43886 <limits.h> exists even on freestanding compilers. */
43887
43888 #ifdef __STDC__
43889 # include <limits.h>
43890 #else
43891 # include <assert.h>
43892 #endif
43893
43894 #undef pthread_attr_setstacksize
43895
43896 /* Override any GCC internal prototype to avoid an error.
43897 Use char because int might match the return type of a GCC
43898 builtin and then its argument prototype would still apply. */
43899 #ifdef __cplusplus
43900 extern "C"
43901 #endif
43902 char pthread_attr_setstacksize ();
43903 /* The GNU C library defines this for functions which it implements
43904 to always fail with ENOSYS. Some functions are actually named
43905 something starting with __ and the normal name is an alias. */
43906 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
43907 choke me
43908 #endif
43909
43910 int
43911 main ()
43912 {
43913 return pthread_attr_setstacksize ();
43914 ;
43915 return 0;
43916 }
43917 _ACEOF
43918 rm -f conftest.$ac_objext conftest$ac_exeext
43919 if { (ac_try="$ac_link"
43920 case "(($ac_try" in
43921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43922 *) ac_try_echo=$ac_try;;
43923 esac
43924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43925 (eval "$ac_link") 2>conftest.er1
43926 ac_status=$?
43927 grep -v '^ *+' conftest.er1 >conftest.err
43928 rm -f conftest.er1
43929 cat conftest.err >&5
43930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43931 (exit $ac_status); } && {
43932 test -z "$ac_c_werror_flag" ||
43933 test ! -s conftest.err
43934 } && test -s conftest$ac_exeext &&
43935 $as_test_x conftest$ac_exeext; then
43936 ac_cv_func_pthread_attr_setstacksize=yes
43937 else
43938 echo "$as_me: failed program was:" >&5
43939 sed 's/^/| /' conftest.$ac_ext >&5
43940
43941 ac_cv_func_pthread_attr_setstacksize=no
43942 fi
43943
43944 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43945 conftest$ac_exeext conftest.$ac_ext
43946 fi
43947 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
43948 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
43949 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
43950 cat >>confdefs.h <<\_ACEOF
43951 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
43952 _ACEOF
43953
43954 fi
43955
43956
43957
43958 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
43959 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
43960 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
43961 echo $ECHO_N "(cached) $ECHO_C" >&6
43962 else
43963
43964 cat >conftest.$ac_ext <<_ACEOF
43965 /* confdefs.h. */
43966 _ACEOF
43967 cat confdefs.h >>conftest.$ac_ext
43968 cat >>conftest.$ac_ext <<_ACEOF
43969 /* end confdefs.h. */
43970 #include <pthread.h>
43971 int
43972 main ()
43973 {
43974
43975 pthread_mutexattr_t attr;
43976 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
43977
43978 ;
43979 return 0;
43980 }
43981 _ACEOF
43982 rm -f conftest.$ac_objext
43983 if { (ac_try="$ac_compile"
43984 case "(($ac_try" in
43985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43986 *) ac_try_echo=$ac_try;;
43987 esac
43988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43989 (eval "$ac_compile") 2>conftest.er1
43990 ac_status=$?
43991 grep -v '^ *+' conftest.er1 >conftest.err
43992 rm -f conftest.er1
43993 cat conftest.err >&5
43994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43995 (exit $ac_status); } && {
43996 test -z "$ac_c_werror_flag" ||
43997 test ! -s conftest.err
43998 } && test -s conftest.$ac_objext; then
43999 wx_cv_type_pthread_mutexattr_t=yes
44000 else
44001 echo "$as_me: failed program was:" >&5
44002 sed 's/^/| /' conftest.$ac_ext >&5
44003
44004 wx_cv_type_pthread_mutexattr_t=no
44005
44006 fi
44007
44008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44009
44010 fi
44011 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
44012 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
44013
44014 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
44015 cat >>confdefs.h <<\_ACEOF
44016 #define HAVE_PTHREAD_MUTEXATTR_T 1
44017 _ACEOF
44018
44019
44020 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
44021 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
44022 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
44023 echo $ECHO_N "(cached) $ECHO_C" >&6
44024 else
44025
44026 cat >conftest.$ac_ext <<_ACEOF
44027 /* confdefs.h. */
44028 _ACEOF
44029 cat confdefs.h >>conftest.$ac_ext
44030 cat >>conftest.$ac_ext <<_ACEOF
44031 /* end confdefs.h. */
44032 #include <pthread.h>
44033 int
44034 main ()
44035 {
44036
44037 pthread_mutexattr_t attr;
44038 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
44039
44040 ;
44041 return 0;
44042 }
44043 _ACEOF
44044 rm -f conftest.$ac_objext
44045 if { (ac_try="$ac_compile"
44046 case "(($ac_try" in
44047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44048 *) ac_try_echo=$ac_try;;
44049 esac
44050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44051 (eval "$ac_compile") 2>conftest.er1
44052 ac_status=$?
44053 grep -v '^ *+' conftest.er1 >conftest.err
44054 rm -f conftest.er1
44055 cat conftest.err >&5
44056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44057 (exit $ac_status); } && {
44058 test -z "$ac_c_werror_flag" ||
44059 test ! -s conftest.err
44060 } && test -s conftest.$ac_objext; then
44061 wx_cv_func_pthread_mutexattr_settype_decl=yes
44062 else
44063 echo "$as_me: failed program was:" >&5
44064 sed 's/^/| /' conftest.$ac_ext >&5
44065
44066 wx_cv_func_pthread_mutexattr_settype_decl=no
44067
44068 fi
44069
44070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44071
44072 fi
44073 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
44074 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
44075 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
44076 cat >>confdefs.h <<\_ACEOF
44077 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
44078 _ACEOF
44079
44080 fi
44081 else
44082 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
44083 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
44084 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
44085 echo $ECHO_N "(cached) $ECHO_C" >&6
44086 else
44087
44088 cat >conftest.$ac_ext <<_ACEOF
44089 /* confdefs.h. */
44090 _ACEOF
44091 cat confdefs.h >>conftest.$ac_ext
44092 cat >>conftest.$ac_ext <<_ACEOF
44093 /* end confdefs.h. */
44094 #include <pthread.h>
44095 int
44096 main ()
44097 {
44098
44099 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
44100
44101 ;
44102 return 0;
44103 }
44104 _ACEOF
44105 rm -f conftest.$ac_objext
44106 if { (ac_try="$ac_compile"
44107 case "(($ac_try" in
44108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44109 *) ac_try_echo=$ac_try;;
44110 esac
44111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44112 (eval "$ac_compile") 2>conftest.er1
44113 ac_status=$?
44114 grep -v '^ *+' conftest.er1 >conftest.err
44115 rm -f conftest.er1
44116 cat conftest.err >&5
44117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44118 (exit $ac_status); } && {
44119 test -z "$ac_c_werror_flag" ||
44120 test ! -s conftest.err
44121 } && test -s conftest.$ac_objext; then
44122
44123 wx_cv_type_pthread_rec_mutex_init=yes
44124
44125 else
44126 echo "$as_me: failed program was:" >&5
44127 sed 's/^/| /' conftest.$ac_ext >&5
44128
44129
44130 wx_cv_type_pthread_rec_mutex_init=no
44131
44132
44133 fi
44134
44135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44136
44137 fi
44138 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
44139 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
44140 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
44141 cat >>confdefs.h <<\_ACEOF
44142 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
44143 _ACEOF
44144
44145 else
44146 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
44147 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
44148 fi
44149 fi
44150
44151 if test "$wxUSE_COMPILER_TLS" = "auto"; then
44152 if test "$USE_NETBSD" = 1; then
44153 { echo "$as_me:$LINENO: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&5
44154 echo "$as_me: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&2;}
44155 wxUSE_COMPILER_TLS=no
44156 else
44157 wxUSE_COMPILER_TLS=yes
44158 fi
44159 fi
44160
44161 if test "$wxUSE_COMPILER_TLS" = "yes"; then
44162 { echo "$as_me:$LINENO: checking for __thread keyword" >&5
44163 echo $ECHO_N "checking for __thread keyword... $ECHO_C" >&6; }
44164 if test "${wx_cv_cc___thread+set}" = set; then
44165 echo $ECHO_N "(cached) $ECHO_C" >&6
44166 else
44167
44168 cat >conftest.$ac_ext <<_ACEOF
44169 /* confdefs.h. */
44170 _ACEOF
44171 cat confdefs.h >>conftest.$ac_ext
44172 cat >>conftest.$ac_ext <<_ACEOF
44173 /* end confdefs.h. */
44174 #include <pthread.h>
44175 int
44176 main ()
44177 {
44178
44179 static __thread int n = 0;
44180 static __thread int *p = 0;
44181
44182 ;
44183 return 0;
44184 }
44185 _ACEOF
44186 rm -f conftest.$ac_objext
44187 if { (ac_try="$ac_compile"
44188 case "(($ac_try" in
44189 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44190 *) ac_try_echo=$ac_try;;
44191 esac
44192 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44193 (eval "$ac_compile") 2>conftest.er1
44194 ac_status=$?
44195 grep -v '^ *+' conftest.er1 >conftest.err
44196 rm -f conftest.er1
44197 cat conftest.err >&5
44198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44199 (exit $ac_status); } && {
44200 test -z "$ac_c_werror_flag" ||
44201 test ! -s conftest.err
44202 } && test -s conftest.$ac_objext; then
44203 wx_cv_cc___thread=yes
44204 else
44205 echo "$as_me: failed program was:" >&5
44206 sed 's/^/| /' conftest.$ac_ext >&5
44207
44208 wx_cv_cc___thread=no
44209
44210 fi
44211
44212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44213
44214
44215 fi
44216 { echo "$as_me:$LINENO: result: $wx_cv_cc___thread" >&5
44217 echo "${ECHO_T}$wx_cv_cc___thread" >&6; }
44218
44219 if test "$wx_cv_cc___thread" = "yes"; then
44220
44221 GXX_VERSION=""
44222
44223
44224
44225 { echo "$as_me:$LINENO: checking if gcc accepts -dumpversion option" >&5
44226 echo $ECHO_N "checking if gcc accepts -dumpversion option... $ECHO_C" >&6; }
44227
44228 if test "x$GCC" = "xyes" ; then
44229
44230 if test -z "" ; then
44231
44232 ax_gcc_option_test="int main()
44233 {
44234 return 0;
44235 }"
44236
44237 else
44238
44239 ax_gcc_option_test=""
44240
44241 fi
44242
44243
44244 # Dump the test program to file
44245 cat <<EOF > conftest.c
44246 $ax_gcc_option_test
44247 EOF
44248
44249 # Dump back the file to the log, useful for debugging purposes
44250 { ac_try='cat conftest.c 1>&5'
44251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44252 (eval $ac_try) 2>&5
44253 ac_status=$?
44254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44255 (exit $ac_status); }; }
44256
44257 if { ac_try='$CC -dumpversion -c conftest.c 1>&5'
44258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44259 (eval $ac_try) 2>&5
44260 ac_status=$?
44261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44262 (exit $ac_status); }; } ; then
44263
44264 { echo "$as_me:$LINENO: result: yes" >&5
44265 echo "${ECHO_T}yes" >&6; }
44266
44267 ax_gcc_version_option=yes
44268
44269
44270 else
44271
44272 { echo "$as_me:$LINENO: result: no" >&5
44273 echo "${ECHO_T}no" >&6; }
44274
44275 ax_gcc_version_option=no
44276
44277
44278 fi
44279
44280
44281 else
44282
44283 { echo "$as_me:$LINENO: result: no gcc available" >&5
44284 echo "${ECHO_T}no gcc available" >&6; }
44285
44286 fi
44287
44288
44289 if test "x$GXX" = "xyes"; then
44290
44291 if test "x$ax_gxx_version_option" != "no"; then
44292
44293 { echo "$as_me:$LINENO: checking gxx version" >&5
44294 echo $ECHO_N "checking gxx version... $ECHO_C" >&6; }
44295 if test "${ax_cv_gxx_version+set}" = set; then
44296 echo $ECHO_N "(cached) $ECHO_C" >&6
44297 else
44298
44299 ax_cv_gxx_version="`$CXX -dumpversion`"
44300 if test "x$ax_cv_gxx_version" = "x"; then
44301
44302 ax_cv_gxx_version=""
44303
44304 fi
44305
44306
44307 fi
44308 { echo "$as_me:$LINENO: result: $ax_cv_gxx_version" >&5
44309 echo "${ECHO_T}$ax_cv_gxx_version" >&6; }
44310 GXX_VERSION=$ax_cv_gxx_version
44311
44312 fi
44313
44314
44315 fi
44316
44317
44318
44319 if test -n "$ax_cv_gxx_version"; then
44320 { echo "$as_me:$LINENO: checking whether __thread support in g++ is usable" >&5
44321 echo $ECHO_N "checking whether __thread support in g++ is usable... $ECHO_C" >&6; }
44322 case "$ax_cv_gxx_version" in
44323 1.* | 2.* | 3.* )
44324 { echo "$as_me:$LINENO: result: no, it's broken" >&5
44325 echo "${ECHO_T}no, it's broken" >&6; }
44326 wx_cv_cc___thread=no
44327 ;;
44328 *)
44329 { echo "$as_me:$LINENO: result: yes, it works" >&5
44330 echo "${ECHO_T}yes, it works" >&6; }
44331 ;;
44332 esac
44333 fi
44334 fi
44335
44336 if test "$wx_cv_cc___thread" = "yes"; then
44337 cat >>confdefs.h <<\_ACEOF
44338 #define HAVE___THREAD_KEYWORD 1
44339 _ACEOF
44340
44341 fi
44342 fi
44343 fi
44344
44345 else
44346 if test "$wxUSE_THREADS" = "yes" ; then
44347 case "${host}" in
44348 x86_64-*-mingw32* )
44349 ;;
44350 *-*-mingw32* )
44351 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
44352 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
44353 if test "${wx_cv_cflags_mthread+set}" = set; then
44354 echo $ECHO_N "(cached) $ECHO_C" >&6
44355 else
44356
44357 CFLAGS_OLD="$CFLAGS"
44358 CFLAGS="-mthreads $CFLAGS"
44359 cat >conftest.$ac_ext <<_ACEOF
44360 /* confdefs.h. */
44361 _ACEOF
44362 cat confdefs.h >>conftest.$ac_ext
44363 cat >>conftest.$ac_ext <<_ACEOF
44364 /* end confdefs.h. */
44365
44366 int
44367 main ()
44368 {
44369
44370 ;
44371 return 0;
44372 }
44373 _ACEOF
44374 rm -f conftest.$ac_objext
44375 if { (ac_try="$ac_compile"
44376 case "(($ac_try" in
44377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44378 *) ac_try_echo=$ac_try;;
44379 esac
44380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44381 (eval "$ac_compile") 2>conftest.er1
44382 ac_status=$?
44383 grep -v '^ *+' conftest.er1 >conftest.err
44384 rm -f conftest.er1
44385 cat conftest.err >&5
44386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44387 (exit $ac_status); } && {
44388 test -z "$ac_c_werror_flag" ||
44389 test ! -s conftest.err
44390 } && test -s conftest.$ac_objext; then
44391 wx_cv_cflags_mthread=yes
44392 else
44393 echo "$as_me: failed program was:" >&5
44394 sed 's/^/| /' conftest.$ac_ext >&5
44395
44396 wx_cv_cflags_mthread=no
44397
44398 fi
44399
44400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44401
44402
44403 fi
44404 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
44405 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
44406
44407 if test "$wx_cv_cflags_mthread" = "yes"; then
44408 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
44409 LDFLAGS="$LDFLAGS -mthreads"
44410 else
44411 CFLAGS="$CFLAGS_OLD"
44412 fi
44413 ;;
44414 *-pc-os2*emx )
44415 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
44416 LDFLAGS="$LDFLAGS -Zmt"
44417 ;;
44418 esac
44419 fi
44420 fi
44421
44422 { echo "$as_me:$LINENO: checking for localtime_r" >&5
44423 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
44424 if test "${ac_cv_func_localtime_r+set}" = set; then
44425 echo $ECHO_N "(cached) $ECHO_C" >&6
44426 else
44427 cat >conftest.$ac_ext <<_ACEOF
44428 /* confdefs.h. */
44429 _ACEOF
44430 cat confdefs.h >>conftest.$ac_ext
44431 cat >>conftest.$ac_ext <<_ACEOF
44432 /* end confdefs.h. */
44433 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
44434 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44435 #define localtime_r innocuous_localtime_r
44436
44437 /* System header to define __stub macros and hopefully few prototypes,
44438 which can conflict with char localtime_r (); below.
44439 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44440 <limits.h> exists even on freestanding compilers. */
44441
44442 #ifdef __STDC__
44443 # include <limits.h>
44444 #else
44445 # include <assert.h>
44446 #endif
44447
44448 #undef localtime_r
44449
44450 /* Override any GCC internal prototype to avoid an error.
44451 Use char because int might match the return type of a GCC
44452 builtin and then its argument prototype would still apply. */
44453 #ifdef __cplusplus
44454 extern "C"
44455 #endif
44456 char localtime_r ();
44457 /* The GNU C library defines this for functions which it implements
44458 to always fail with ENOSYS. Some functions are actually named
44459 something starting with __ and the normal name is an alias. */
44460 #if defined __stub_localtime_r || defined __stub___localtime_r
44461 choke me
44462 #endif
44463
44464 int
44465 main ()
44466 {
44467 return localtime_r ();
44468 ;
44469 return 0;
44470 }
44471 _ACEOF
44472 rm -f conftest.$ac_objext conftest$ac_exeext
44473 if { (ac_try="$ac_link"
44474 case "(($ac_try" in
44475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44476 *) ac_try_echo=$ac_try;;
44477 esac
44478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44479 (eval "$ac_link") 2>conftest.er1
44480 ac_status=$?
44481 grep -v '^ *+' conftest.er1 >conftest.err
44482 rm -f conftest.er1
44483 cat conftest.err >&5
44484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44485 (exit $ac_status); } && {
44486 test -z "$ac_c_werror_flag" ||
44487 test ! -s conftest.err
44488 } && test -s conftest$ac_exeext &&
44489 $as_test_x conftest$ac_exeext; then
44490 ac_cv_func_localtime_r=yes
44491 else
44492 echo "$as_me: failed program was:" >&5
44493 sed 's/^/| /' conftest.$ac_ext >&5
44494
44495 ac_cv_func_localtime_r=no
44496 fi
44497
44498 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44499 conftest$ac_exeext conftest.$ac_ext
44500 fi
44501 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
44502 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
44503 if test $ac_cv_func_localtime_r = yes; then
44504 cat >>confdefs.h <<\_ACEOF
44505 #define HAVE_LOCALTIME_R 1
44506 _ACEOF
44507
44508 fi
44509
44510 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
44511 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
44512 if test "${ac_cv_func_gmtime_r+set}" = set; then
44513 echo $ECHO_N "(cached) $ECHO_C" >&6
44514 else
44515 cat >conftest.$ac_ext <<_ACEOF
44516 /* confdefs.h. */
44517 _ACEOF
44518 cat confdefs.h >>conftest.$ac_ext
44519 cat >>conftest.$ac_ext <<_ACEOF
44520 /* end confdefs.h. */
44521 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
44522 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44523 #define gmtime_r innocuous_gmtime_r
44524
44525 /* System header to define __stub macros and hopefully few prototypes,
44526 which can conflict with char gmtime_r (); below.
44527 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44528 <limits.h> exists even on freestanding compilers. */
44529
44530 #ifdef __STDC__
44531 # include <limits.h>
44532 #else
44533 # include <assert.h>
44534 #endif
44535
44536 #undef gmtime_r
44537
44538 /* Override any GCC internal prototype to avoid an error.
44539 Use char because int might match the return type of a GCC
44540 builtin and then its argument prototype would still apply. */
44541 #ifdef __cplusplus
44542 extern "C"
44543 #endif
44544 char gmtime_r ();
44545 /* The GNU C library defines this for functions which it implements
44546 to always fail with ENOSYS. Some functions are actually named
44547 something starting with __ and the normal name is an alias. */
44548 #if defined __stub_gmtime_r || defined __stub___gmtime_r
44549 choke me
44550 #endif
44551
44552 int
44553 main ()
44554 {
44555 return gmtime_r ();
44556 ;
44557 return 0;
44558 }
44559 _ACEOF
44560 rm -f conftest.$ac_objext conftest$ac_exeext
44561 if { (ac_try="$ac_link"
44562 case "(($ac_try" in
44563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44564 *) ac_try_echo=$ac_try;;
44565 esac
44566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44567 (eval "$ac_link") 2>conftest.er1
44568 ac_status=$?
44569 grep -v '^ *+' conftest.er1 >conftest.err
44570 rm -f conftest.er1
44571 cat conftest.err >&5
44572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44573 (exit $ac_status); } && {
44574 test -z "$ac_c_werror_flag" ||
44575 test ! -s conftest.err
44576 } && test -s conftest$ac_exeext &&
44577 $as_test_x conftest$ac_exeext; then
44578 ac_cv_func_gmtime_r=yes
44579 else
44580 echo "$as_me: failed program was:" >&5
44581 sed 's/^/| /' conftest.$ac_ext >&5
44582
44583 ac_cv_func_gmtime_r=no
44584 fi
44585
44586 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44587 conftest$ac_exeext conftest.$ac_ext
44588 fi
44589 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
44590 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
44591 if test $ac_cv_func_gmtime_r = yes; then
44592 cat >>confdefs.h <<\_ACEOF
44593 #define HAVE_GMTIME_R 1
44594 _ACEOF
44595
44596 fi
44597
44598
44599
44600
44601 ac_ext=c
44602 ac_cpp='$CPP $CPPFLAGS'
44603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44606
44607 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
44608 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
44609
44610 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
44611 echo $ECHO_N "(cached) $ECHO_C" >&6
44612 else
44613
44614
44615 ################################################################
44616
44617 ac_cv_func_which_gethostbyname_r=unknown
44618
44619 #
44620 # ONE ARGUMENT (sanity check)
44621 #
44622
44623 # This should fail, as there is no variant of gethostbyname_r() that takes
44624 # a single argument. If it actually compiles, then we can assume that
44625 # netdb.h is not declaring the function, and the compiler is thereby
44626 # assuming an implicit prototype. In which case, we're out of luck.
44627 #
44628 cat >conftest.$ac_ext <<_ACEOF
44629 /* confdefs.h. */
44630 _ACEOF
44631 cat confdefs.h >>conftest.$ac_ext
44632 cat >>conftest.$ac_ext <<_ACEOF
44633 /* end confdefs.h. */
44634 #include <netdb.h>
44635 int
44636 main ()
44637 {
44638
44639 char *name = "www.gnu.org";
44640 (void)gethostbyname_r(name) /* ; */
44641
44642
44643 ;
44644 return 0;
44645 }
44646 _ACEOF
44647 rm -f conftest.$ac_objext
44648 if { (ac_try="$ac_compile"
44649 case "(($ac_try" in
44650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44651 *) ac_try_echo=$ac_try;;
44652 esac
44653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44654 (eval "$ac_compile") 2>conftest.er1
44655 ac_status=$?
44656 grep -v '^ *+' conftest.er1 >conftest.err
44657 rm -f conftest.er1
44658 cat conftest.err >&5
44659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44660 (exit $ac_status); } && {
44661 test -z "$ac_c_werror_flag" ||
44662 test ! -s conftest.err
44663 } && test -s conftest.$ac_objext; then
44664 ac_cv_func_which_gethostbyname_r=no
44665
44666 else
44667 echo "$as_me: failed program was:" >&5
44668 sed 's/^/| /' conftest.$ac_ext >&5
44669
44670
44671 fi
44672
44673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44674
44675 #
44676 # SIX ARGUMENTS
44677 # (e.g. Linux)
44678 #
44679
44680 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
44681
44682 cat >conftest.$ac_ext <<_ACEOF
44683 /* confdefs.h. */
44684 _ACEOF
44685 cat confdefs.h >>conftest.$ac_ext
44686 cat >>conftest.$ac_ext <<_ACEOF
44687 /* end confdefs.h. */
44688 #include <netdb.h>
44689 int
44690 main ()
44691 {
44692
44693 char *name = "www.gnu.org";
44694 struct hostent ret, *retp;
44695 char buf[1024];
44696 int buflen = 1024;
44697 int my_h_errno;
44698 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
44699
44700
44701 ;
44702 return 0;
44703 }
44704 _ACEOF
44705 rm -f conftest.$ac_objext
44706 if { (ac_try="$ac_compile"
44707 case "(($ac_try" in
44708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44709 *) ac_try_echo=$ac_try;;
44710 esac
44711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44712 (eval "$ac_compile") 2>conftest.er1
44713 ac_status=$?
44714 grep -v '^ *+' conftest.er1 >conftest.err
44715 rm -f conftest.er1
44716 cat conftest.err >&5
44717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44718 (exit $ac_status); } && {
44719 test -z "$ac_c_werror_flag" ||
44720 test ! -s conftest.err
44721 } && test -s conftest.$ac_objext; then
44722 ac_cv_func_which_gethostbyname_r=six
44723
44724 else
44725 echo "$as_me: failed program was:" >&5
44726 sed 's/^/| /' conftest.$ac_ext >&5
44727
44728
44729 fi
44730
44731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44732
44733 fi
44734
44735 #
44736 # FIVE ARGUMENTS
44737 # (e.g. Solaris)
44738 #
44739
44740 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
44741
44742 cat >conftest.$ac_ext <<_ACEOF
44743 /* confdefs.h. */
44744 _ACEOF
44745 cat confdefs.h >>conftest.$ac_ext
44746 cat >>conftest.$ac_ext <<_ACEOF
44747 /* end confdefs.h. */
44748 #include <netdb.h>
44749 int
44750 main ()
44751 {
44752
44753 char *name = "www.gnu.org";
44754 struct hostent ret;
44755 char buf[1024];
44756 int buflen = 1024;
44757 int my_h_errno;
44758 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
44759
44760
44761 ;
44762 return 0;
44763 }
44764 _ACEOF
44765 rm -f conftest.$ac_objext
44766 if { (ac_try="$ac_compile"
44767 case "(($ac_try" in
44768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44769 *) ac_try_echo=$ac_try;;
44770 esac
44771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44772 (eval "$ac_compile") 2>conftest.er1
44773 ac_status=$?
44774 grep -v '^ *+' conftest.er1 >conftest.err
44775 rm -f conftest.er1
44776 cat conftest.err >&5
44777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44778 (exit $ac_status); } && {
44779 test -z "$ac_c_werror_flag" ||
44780 test ! -s conftest.err
44781 } && test -s conftest.$ac_objext; then
44782 ac_cv_func_which_gethostbyname_r=five
44783
44784 else
44785 echo "$as_me: failed program was:" >&5
44786 sed 's/^/| /' conftest.$ac_ext >&5
44787
44788
44789 fi
44790
44791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44792
44793 fi
44794
44795 #
44796 # THREE ARGUMENTS
44797 # (e.g. AIX, HP-UX, Tru64)
44798 #
44799
44800 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
44801
44802 cat >conftest.$ac_ext <<_ACEOF
44803 /* confdefs.h. */
44804 _ACEOF
44805 cat confdefs.h >>conftest.$ac_ext
44806 cat >>conftest.$ac_ext <<_ACEOF
44807 /* end confdefs.h. */
44808 #include <netdb.h>
44809 int
44810 main ()
44811 {
44812
44813 char *name = "www.gnu.org";
44814 struct hostent ret;
44815 struct hostent_data data;
44816 (void)gethostbyname_r(name, &ret, &data) /* ; */
44817
44818
44819 ;
44820 return 0;
44821 }
44822 _ACEOF
44823 rm -f conftest.$ac_objext
44824 if { (ac_try="$ac_compile"
44825 case "(($ac_try" in
44826 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44827 *) ac_try_echo=$ac_try;;
44828 esac
44829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44830 (eval "$ac_compile") 2>conftest.er1
44831 ac_status=$?
44832 grep -v '^ *+' conftest.er1 >conftest.err
44833 rm -f conftest.er1
44834 cat conftest.err >&5
44835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44836 (exit $ac_status); } && {
44837 test -z "$ac_c_werror_flag" ||
44838 test ! -s conftest.err
44839 } && test -s conftest.$ac_objext; then
44840 ac_cv_func_which_gethostbyname_r=three
44841
44842 else
44843 echo "$as_me: failed program was:" >&5
44844 sed 's/^/| /' conftest.$ac_ext >&5
44845
44846
44847 fi
44848
44849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44850
44851 fi
44852
44853 ################################################################
44854
44855
44856 fi
44857
44858 case "$ac_cv_func_which_gethostbyname_r" in
44859 three)
44860 { echo "$as_me:$LINENO: result: three" >&5
44861 echo "${ECHO_T}three" >&6; }
44862 cat >>confdefs.h <<\_ACEOF
44863 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
44864 _ACEOF
44865
44866 ;;
44867
44868 five)
44869 { echo "$as_me:$LINENO: result: five" >&5
44870 echo "${ECHO_T}five" >&6; }
44871 cat >>confdefs.h <<\_ACEOF
44872 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
44873 _ACEOF
44874
44875 ;;
44876
44877 six)
44878 { echo "$as_me:$LINENO: result: six" >&5
44879 echo "${ECHO_T}six" >&6; }
44880 cat >>confdefs.h <<\_ACEOF
44881 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
44882 _ACEOF
44883
44884 ;;
44885
44886 no)
44887 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
44888 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
44889 ;;
44890
44891 unknown)
44892 { echo "$as_me:$LINENO: result: can't tell" >&5
44893 echo "${ECHO_T}can't tell" >&6; }
44894 ;;
44895
44896 *)
44897 { { echo "$as_me:$LINENO: error: internal error" >&5
44898 echo "$as_me: error: internal error" >&2;}
44899 { (exit 1); exit 1; }; }
44900 ;;
44901 esac
44902
44903 ac_ext=c
44904 ac_cpp='$CPP $CPPFLAGS'
44905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44908
44909
44910
44911 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
44912 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
44913 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
44914 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
44915 if test "${ac_cv_func_gethostbyname+set}" = set; then
44916 echo $ECHO_N "(cached) $ECHO_C" >&6
44917 else
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 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
44925 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44926 #define gethostbyname innocuous_gethostbyname
44927
44928 /* System header to define __stub macros and hopefully few prototypes,
44929 which can conflict with char gethostbyname (); below.
44930 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44931 <limits.h> exists even on freestanding compilers. */
44932
44933 #ifdef __STDC__
44934 # include <limits.h>
44935 #else
44936 # include <assert.h>
44937 #endif
44938
44939 #undef gethostbyname
44940
44941 /* Override any GCC internal prototype to avoid an error.
44942 Use char because int might match the return type of a GCC
44943 builtin and then its argument prototype would still apply. */
44944 #ifdef __cplusplus
44945 extern "C"
44946 #endif
44947 char gethostbyname ();
44948 /* The GNU C library defines this for functions which it implements
44949 to always fail with ENOSYS. Some functions are actually named
44950 something starting with __ and the normal name is an alias. */
44951 #if defined __stub_gethostbyname || defined __stub___gethostbyname
44952 choke me
44953 #endif
44954
44955 int
44956 main ()
44957 {
44958 return gethostbyname ();
44959 ;
44960 return 0;
44961 }
44962 _ACEOF
44963 rm -f conftest.$ac_objext conftest$ac_exeext
44964 if { (ac_try="$ac_link"
44965 case "(($ac_try" in
44966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44967 *) ac_try_echo=$ac_try;;
44968 esac
44969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44970 (eval "$ac_link") 2>conftest.er1
44971 ac_status=$?
44972 grep -v '^ *+' conftest.er1 >conftest.err
44973 rm -f conftest.er1
44974 cat conftest.err >&5
44975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44976 (exit $ac_status); } && {
44977 test -z "$ac_c_werror_flag" ||
44978 test ! -s conftest.err
44979 } && test -s conftest$ac_exeext &&
44980 $as_test_x conftest$ac_exeext; then
44981 ac_cv_func_gethostbyname=yes
44982 else
44983 echo "$as_me: failed program was:" >&5
44984 sed 's/^/| /' conftest.$ac_ext >&5
44985
44986 ac_cv_func_gethostbyname=no
44987 fi
44988
44989 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44990 conftest$ac_exeext conftest.$ac_ext
44991 fi
44992 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
44993 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
44994 if test $ac_cv_func_gethostbyname = yes; then
44995 cat >>confdefs.h <<\_ACEOF
44996 #define HAVE_GETHOSTBYNAME 1
44997 _ACEOF
44998
44999 fi
45000
45001 fi
45002
45003 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
45004 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
45005 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
45006 echo $ECHO_N "(cached) $ECHO_C" >&6
45007 else
45008
45009 ac_ext=cpp
45010 ac_cpp='$CXXCPP $CPPFLAGS'
45011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45014
45015
45016 cat >conftest.$ac_ext <<_ACEOF
45017 /* confdefs.h. */
45018 _ACEOF
45019 cat confdefs.h >>conftest.$ac_ext
45020 cat >>conftest.$ac_ext <<_ACEOF
45021 /* end confdefs.h. */
45022 #include <netdb.h>
45023 int
45024 main ()
45025 {
45026
45027 char *name;
45028 char *proto;
45029 struct servent *se, *res;
45030 char buffer[2048];
45031 int buflen = 2048;
45032 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
45033
45034 ;
45035 return 0;
45036 }
45037 _ACEOF
45038 rm -f conftest.$ac_objext
45039 if { (ac_try="$ac_compile"
45040 case "(($ac_try" in
45041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45042 *) ac_try_echo=$ac_try;;
45043 esac
45044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45045 (eval "$ac_compile") 2>conftest.er1
45046 ac_status=$?
45047 grep -v '^ *+' conftest.er1 >conftest.err
45048 rm -f conftest.er1
45049 cat conftest.err >&5
45050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45051 (exit $ac_status); } && {
45052 test -z "$ac_cxx_werror_flag" ||
45053 test ! -s conftest.err
45054 } && test -s conftest.$ac_objext; then
45055 ac_cv_func_which_getservbyname_r=six
45056 else
45057 echo "$as_me: failed program was:" >&5
45058 sed 's/^/| /' conftest.$ac_ext >&5
45059
45060
45061 cat >conftest.$ac_ext <<_ACEOF
45062 /* confdefs.h. */
45063 _ACEOF
45064 cat confdefs.h >>conftest.$ac_ext
45065 cat >>conftest.$ac_ext <<_ACEOF
45066 /* end confdefs.h. */
45067 #include <netdb.h>
45068 int
45069 main ()
45070 {
45071
45072 char *name;
45073 char *proto;
45074 struct servent *se;
45075 char buffer[2048];
45076 int buflen = 2048;
45077 (void) getservbyname_r(name, proto, se, buffer, buflen)
45078
45079 ;
45080 return 0;
45081 }
45082 _ACEOF
45083 rm -f conftest.$ac_objext
45084 if { (ac_try="$ac_compile"
45085 case "(($ac_try" in
45086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45087 *) ac_try_echo=$ac_try;;
45088 esac
45089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45090 (eval "$ac_compile") 2>conftest.er1
45091 ac_status=$?
45092 grep -v '^ *+' conftest.er1 >conftest.err
45093 rm -f conftest.er1
45094 cat conftest.err >&5
45095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45096 (exit $ac_status); } && {
45097 test -z "$ac_cxx_werror_flag" ||
45098 test ! -s conftest.err
45099 } && test -s conftest.$ac_objext; then
45100 ac_cv_func_which_getservbyname_r=five
45101 else
45102 echo "$as_me: failed program was:" >&5
45103 sed 's/^/| /' conftest.$ac_ext >&5
45104
45105
45106 cat >conftest.$ac_ext <<_ACEOF
45107 /* confdefs.h. */
45108 _ACEOF
45109 cat confdefs.h >>conftest.$ac_ext
45110 cat >>conftest.$ac_ext <<_ACEOF
45111 /* end confdefs.h. */
45112 #include <netdb.h>
45113 int
45114 main ()
45115 {
45116
45117 char *name;
45118 char *proto;
45119 struct servent *se;
45120 struct servent_data data;
45121 (void) getservbyname_r(name, proto, se, &data);
45122
45123 ;
45124 return 0;
45125 }
45126 _ACEOF
45127 rm -f conftest.$ac_objext
45128 if { (ac_try="$ac_compile"
45129 case "(($ac_try" in
45130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45131 *) ac_try_echo=$ac_try;;
45132 esac
45133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45134 (eval "$ac_compile") 2>conftest.er1
45135 ac_status=$?
45136 grep -v '^ *+' conftest.er1 >conftest.err
45137 rm -f conftest.er1
45138 cat conftest.err >&5
45139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45140 (exit $ac_status); } && {
45141 test -z "$ac_cxx_werror_flag" ||
45142 test ! -s conftest.err
45143 } && test -s conftest.$ac_objext; then
45144 ac_cv_func_which_getservbyname_r=four
45145 else
45146 echo "$as_me: failed program was:" >&5
45147 sed 's/^/| /' conftest.$ac_ext >&5
45148
45149 ac_cv_func_which_getservbyname_r=no
45150
45151 fi
45152
45153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45154
45155
45156 fi
45157
45158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45159
45160
45161 fi
45162
45163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45164 ac_ext=c
45165 ac_cpp='$CPP $CPPFLAGS'
45166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45169
45170
45171
45172 fi
45173 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
45174 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
45175
45176 if test $ac_cv_func_which_getservbyname_r = six; then
45177 cat >>confdefs.h <<\_ACEOF
45178 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
45179 _ACEOF
45180
45181 elif test $ac_cv_func_which_getservbyname_r = five; then
45182 cat >>confdefs.h <<\_ACEOF
45183 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
45184 _ACEOF
45185
45186 elif test $ac_cv_func_which_getservbyname_r = four; then
45187 cat >>confdefs.h <<\_ACEOF
45188 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
45189 _ACEOF
45190
45191 fi
45192
45193
45194 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
45195 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
45196
45197 for ac_func in getservbyname
45198 do
45199 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45200 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45201 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45202 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45203 echo $ECHO_N "(cached) $ECHO_C" >&6
45204 else
45205 cat >conftest.$ac_ext <<_ACEOF
45206 /* confdefs.h. */
45207 _ACEOF
45208 cat confdefs.h >>conftest.$ac_ext
45209 cat >>conftest.$ac_ext <<_ACEOF
45210 /* end confdefs.h. */
45211 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45212 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45213 #define $ac_func innocuous_$ac_func
45214
45215 /* System header to define __stub macros and hopefully few prototypes,
45216 which can conflict with char $ac_func (); below.
45217 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45218 <limits.h> exists even on freestanding compilers. */
45219
45220 #ifdef __STDC__
45221 # include <limits.h>
45222 #else
45223 # include <assert.h>
45224 #endif
45225
45226 #undef $ac_func
45227
45228 /* Override any GCC internal prototype to avoid an error.
45229 Use char because int might match the return type of a GCC
45230 builtin and then its argument prototype would still apply. */
45231 #ifdef __cplusplus
45232 extern "C"
45233 #endif
45234 char $ac_func ();
45235 /* The GNU C library defines this for functions which it implements
45236 to always fail with ENOSYS. Some functions are actually named
45237 something starting with __ and the normal name is an alias. */
45238 #if defined __stub_$ac_func || defined __stub___$ac_func
45239 choke me
45240 #endif
45241
45242 int
45243 main ()
45244 {
45245 return $ac_func ();
45246 ;
45247 return 0;
45248 }
45249 _ACEOF
45250 rm -f conftest.$ac_objext conftest$ac_exeext
45251 if { (ac_try="$ac_link"
45252 case "(($ac_try" in
45253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45254 *) ac_try_echo=$ac_try;;
45255 esac
45256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45257 (eval "$ac_link") 2>conftest.er1
45258 ac_status=$?
45259 grep -v '^ *+' conftest.er1 >conftest.err
45260 rm -f conftest.er1
45261 cat conftest.err >&5
45262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45263 (exit $ac_status); } && {
45264 test -z "$ac_c_werror_flag" ||
45265 test ! -s conftest.err
45266 } && test -s conftest$ac_exeext &&
45267 $as_test_x conftest$ac_exeext; then
45268 eval "$as_ac_var=yes"
45269 else
45270 echo "$as_me: failed program was:" >&5
45271 sed 's/^/| /' conftest.$ac_ext >&5
45272
45273 eval "$as_ac_var=no"
45274 fi
45275
45276 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45277 conftest$ac_exeext conftest.$ac_ext
45278 fi
45279 ac_res=`eval echo '${'$as_ac_var'}'`
45280 { echo "$as_me:$LINENO: result: $ac_res" >&5
45281 echo "${ECHO_T}$ac_res" >&6; }
45282 if test `eval echo '${'$as_ac_var'}'` = yes; then
45283 cat >>confdefs.h <<_ACEOF
45284 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45285 _ACEOF
45286 cat >>confdefs.h <<\_ACEOF
45287 #define HAVE_GETSERVBYNAME 1
45288 _ACEOF
45289
45290 fi
45291 done
45292
45293 fi
45294
45295 if test "$wxUSE_THREADS" = "yes"; then
45296 cat >>confdefs.h <<\_ACEOF
45297 #define wxUSE_THREADS 1
45298 _ACEOF
45299
45300
45301 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
45302 else
45303 if test "$wx_cv_func_strtok_r" = "yes"; then
45304 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
45305 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
45306 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
45307 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
45308 { echo "$as_me:$LINENO: result: yes" >&5
45309 echo "${ECHO_T}yes" >&6; }
45310 else
45311 { echo "$as_me:$LINENO: result: no" >&5
45312 echo "${ECHO_T}no" >&6; }
45313 fi
45314 fi
45315 fi
45316
45317 if test "$WXGTK2" = 1 ; then
45318 cat >>confdefs.h <<_ACEOF
45319 #define __WXGTK20__ $WXGTK2
45320 _ACEOF
45321
45322 fi
45323
45324 if test "$WXGTK127" = 1 ; then
45325 cat >>confdefs.h <<_ACEOF
45326 #define __WXGTK127__ $WXGTK127
45327 _ACEOF
45328
45329 fi
45330
45331 if test "$WXGPE" = 1 ; then
45332 cat >>confdefs.h <<_ACEOF
45333 #define __WXGPE__ $WXGPE
45334 _ACEOF
45335
45336 fi
45337
45338 DEBUG_CFLAGS=
45339 if `echo $CXXFLAGS $CFLAGS | grep " -g" >/dev/null`; then
45340 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&5
45341 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&2;}
45342 elif test "$wxUSE_DEBUG_INFO" = "yes" ; then
45343 DEBUG_CFLAGS="-g"
45344 fi
45345
45346 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
45347 wxUSE_DEBUG_INFO=yes
45348 if test "$GCC" = yes; then
45349 DEBUG_CFLAGS="-ggdb"
45350 fi
45351 fi
45352
45353 if test "$wxUSE_DEBUG_FLAG" = "no" ; then
45354 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=0"
45355
45356 if test "$wxUSE_GTK" = 1 ; then
45357 if test "x$wxGTK_VERSION" = "x1" ; then
45358 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
45359 else
45360 CPPFLAGS="$CPPFLAGS -DG_DISABLE_CAST_CHECKS"
45361 fi
45362 fi
45363 fi
45364
45365 if test "$wxUSE_MEM_TRACING" = "yes" ; then
45366 cat >>confdefs.h <<\_ACEOF
45367 #define wxUSE_MEMORY_TRACING 1
45368 _ACEOF
45369
45370 cat >>confdefs.h <<\_ACEOF
45371 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
45372 _ACEOF
45373
45374 cat >>confdefs.h <<\_ACEOF
45375 #define wxUSE_DEBUG_NEW_ALWAYS 1
45376 _ACEOF
45377
45378 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
45379 fi
45380
45381 if test "$wxUSE_DMALLOC" = "yes" ; then
45382 DMALLOC_LIBS="-ldmallocthcxx"
45383 fi
45384
45385 PROFILE_FLAGS=
45386 if test "$wxUSE_PROFILE" = "yes" ; then
45387 PROFILE_FLAGS=" -pg"
45388 fi
45389
45390 if test "$GCC" = "yes" ; then
45391 if test "$wxUSE_NO_RTTI" = "yes" ; then
45392 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -DwxNO_RTTI -fno-rtti"
45393 fi
45394 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
45395 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
45396 fi
45397 if test "$wxUSE_PERMISSIVE" = "yes" ; then
45398 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
45399 fi
45400
45401 case "${host}" in
45402 powerpc*-*-aix* )
45403 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
45404 ;;
45405 *-hppa* )
45406 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
45407 ;;
45408 esac
45409 fi
45410
45411 OPTIMISE_CFLAGS=
45412 if `echo $CXXFLAGS $CFLAGS | grep " -O" >/dev/null`; then
45413 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&5
45414 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&2;}
45415 else
45416 if test "$wxUSE_OPTIMISE" = "no" ; then
45417 if test "$GCC" = yes ; then
45418 OPTIMISE_CFLAGS="-O0"
45419 fi
45420 else
45421 if test "$GCC" = yes ; then
45422 case "${host}" in
45423 *-pc-os2_emx | *-pc-os2-emx )
45424 OPTIMISE_CFLAGS="-O2"
45425 ;;
45426 *)
45427 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
45428 ;;
45429 esac
45430 else
45431 OPTIMISE_CFLAGS="-O"
45432 fi
45433 fi
45434 fi
45435
45436
45437 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
45438 cat >>confdefs.h <<\_ACEOF
45439 #define WXWIN_COMPATIBILITY_2_6 1
45440 _ACEOF
45441
45442
45443 WXWIN_COMPATIBILITY_2_8="yes"
45444 fi
45445
45446 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
45447 cat >>confdefs.h <<\_ACEOF
45448 #define WXWIN_COMPATIBILITY_2_8 1
45449 _ACEOF
45450
45451 fi
45452
45453
45454 if test "$wxUSE_GUI" = "yes"; then
45455 cat >>confdefs.h <<\_ACEOF
45456 #define wxUSE_GUI 1
45457 _ACEOF
45458
45459
45460 fi
45461
45462
45463 if test "$wxUSE_UNIX" = "yes"; then
45464 cat >>confdefs.h <<\_ACEOF
45465 #define wxUSE_UNIX 1
45466 _ACEOF
45467
45468 fi
45469
45470
45471 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
45472
45473 HAVE_DL_FUNCS=0
45474 HAVE_SHL_FUNCS=0
45475 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
45476 if test "$USE_DOS" = 1; then
45477 HAVE_DL_FUNCS=0
45478 else
45479
45480 for ac_func in dlopen
45481 do
45482 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45483 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45484 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45485 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45486 echo $ECHO_N "(cached) $ECHO_C" >&6
45487 else
45488 cat >conftest.$ac_ext <<_ACEOF
45489 /* confdefs.h. */
45490 _ACEOF
45491 cat confdefs.h >>conftest.$ac_ext
45492 cat >>conftest.$ac_ext <<_ACEOF
45493 /* end confdefs.h. */
45494 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45495 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45496 #define $ac_func innocuous_$ac_func
45497
45498 /* System header to define __stub macros and hopefully few prototypes,
45499 which can conflict with char $ac_func (); below.
45500 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45501 <limits.h> exists even on freestanding compilers. */
45502
45503 #ifdef __STDC__
45504 # include <limits.h>
45505 #else
45506 # include <assert.h>
45507 #endif
45508
45509 #undef $ac_func
45510
45511 /* Override any GCC internal prototype to avoid an error.
45512 Use char because int might match the return type of a GCC
45513 builtin and then its argument prototype would still apply. */
45514 #ifdef __cplusplus
45515 extern "C"
45516 #endif
45517 char $ac_func ();
45518 /* The GNU C library defines this for functions which it implements
45519 to always fail with ENOSYS. Some functions are actually named
45520 something starting with __ and the normal name is an alias. */
45521 #if defined __stub_$ac_func || defined __stub___$ac_func
45522 choke me
45523 #endif
45524
45525 int
45526 main ()
45527 {
45528 return $ac_func ();
45529 ;
45530 return 0;
45531 }
45532 _ACEOF
45533 rm -f conftest.$ac_objext conftest$ac_exeext
45534 if { (ac_try="$ac_link"
45535 case "(($ac_try" in
45536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45537 *) ac_try_echo=$ac_try;;
45538 esac
45539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45540 (eval "$ac_link") 2>conftest.er1
45541 ac_status=$?
45542 grep -v '^ *+' conftest.er1 >conftest.err
45543 rm -f conftest.er1
45544 cat conftest.err >&5
45545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45546 (exit $ac_status); } && {
45547 test -z "$ac_c_werror_flag" ||
45548 test ! -s conftest.err
45549 } && test -s conftest$ac_exeext &&
45550 $as_test_x conftest$ac_exeext; then
45551 eval "$as_ac_var=yes"
45552 else
45553 echo "$as_me: failed program was:" >&5
45554 sed 's/^/| /' conftest.$ac_ext >&5
45555
45556 eval "$as_ac_var=no"
45557 fi
45558
45559 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45560 conftest$ac_exeext conftest.$ac_ext
45561 fi
45562 ac_res=`eval echo '${'$as_ac_var'}'`
45563 { echo "$as_me:$LINENO: result: $ac_res" >&5
45564 echo "${ECHO_T}$ac_res" >&6; }
45565 if test `eval echo '${'$as_ac_var'}'` = yes; then
45566 cat >>confdefs.h <<_ACEOF
45567 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45568 _ACEOF
45569
45570 cat >>confdefs.h <<\_ACEOF
45571 #define HAVE_DLOPEN 1
45572 _ACEOF
45573
45574 HAVE_DL_FUNCS=1
45575
45576 else
45577
45578 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
45579 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
45580 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
45581 echo $ECHO_N "(cached) $ECHO_C" >&6
45582 else
45583 ac_check_lib_save_LIBS=$LIBS
45584 LIBS="-ldl $LIBS"
45585 cat >conftest.$ac_ext <<_ACEOF
45586 /* confdefs.h. */
45587 _ACEOF
45588 cat confdefs.h >>conftest.$ac_ext
45589 cat >>conftest.$ac_ext <<_ACEOF
45590 /* end confdefs.h. */
45591
45592 /* Override any GCC internal prototype to avoid an error.
45593 Use char because int might match the return type of a GCC
45594 builtin and then its argument prototype would still apply. */
45595 #ifdef __cplusplus
45596 extern "C"
45597 #endif
45598 char dlopen ();
45599 int
45600 main ()
45601 {
45602 return dlopen ();
45603 ;
45604 return 0;
45605 }
45606 _ACEOF
45607 rm -f conftest.$ac_objext conftest$ac_exeext
45608 if { (ac_try="$ac_link"
45609 case "(($ac_try" in
45610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45611 *) ac_try_echo=$ac_try;;
45612 esac
45613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45614 (eval "$ac_link") 2>conftest.er1
45615 ac_status=$?
45616 grep -v '^ *+' conftest.er1 >conftest.err
45617 rm -f conftest.er1
45618 cat conftest.err >&5
45619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45620 (exit $ac_status); } && {
45621 test -z "$ac_c_werror_flag" ||
45622 test ! -s conftest.err
45623 } && test -s conftest$ac_exeext &&
45624 $as_test_x conftest$ac_exeext; then
45625 ac_cv_lib_dl_dlopen=yes
45626 else
45627 echo "$as_me: failed program was:" >&5
45628 sed 's/^/| /' conftest.$ac_ext >&5
45629
45630 ac_cv_lib_dl_dlopen=no
45631 fi
45632
45633 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45634 conftest$ac_exeext conftest.$ac_ext
45635 LIBS=$ac_check_lib_save_LIBS
45636 fi
45637 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
45638 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
45639 if test $ac_cv_lib_dl_dlopen = yes; then
45640
45641 cat >>confdefs.h <<\_ACEOF
45642 #define HAVE_DLOPEN 1
45643 _ACEOF
45644
45645 HAVE_DL_FUNCS=1
45646 DL_LINK=" -ldl$DL_LINK"
45647
45648 else
45649
45650
45651 for ac_func in shl_load
45652 do
45653 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45654 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45655 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45656 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45657 echo $ECHO_N "(cached) $ECHO_C" >&6
45658 else
45659 cat >conftest.$ac_ext <<_ACEOF
45660 /* confdefs.h. */
45661 _ACEOF
45662 cat confdefs.h >>conftest.$ac_ext
45663 cat >>conftest.$ac_ext <<_ACEOF
45664 /* end confdefs.h. */
45665 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45666 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45667 #define $ac_func innocuous_$ac_func
45668
45669 /* System header to define __stub macros and hopefully few prototypes,
45670 which can conflict with char $ac_func (); below.
45671 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45672 <limits.h> exists even on freestanding compilers. */
45673
45674 #ifdef __STDC__
45675 # include <limits.h>
45676 #else
45677 # include <assert.h>
45678 #endif
45679
45680 #undef $ac_func
45681
45682 /* Override any GCC internal prototype to avoid an error.
45683 Use char because int might match the return type of a GCC
45684 builtin and then its argument prototype would still apply. */
45685 #ifdef __cplusplus
45686 extern "C"
45687 #endif
45688 char $ac_func ();
45689 /* The GNU C library defines this for functions which it implements
45690 to always fail with ENOSYS. Some functions are actually named
45691 something starting with __ and the normal name is an alias. */
45692 #if defined __stub_$ac_func || defined __stub___$ac_func
45693 choke me
45694 #endif
45695
45696 int
45697 main ()
45698 {
45699 return $ac_func ();
45700 ;
45701 return 0;
45702 }
45703 _ACEOF
45704 rm -f conftest.$ac_objext conftest$ac_exeext
45705 if { (ac_try="$ac_link"
45706 case "(($ac_try" in
45707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45708 *) ac_try_echo=$ac_try;;
45709 esac
45710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45711 (eval "$ac_link") 2>conftest.er1
45712 ac_status=$?
45713 grep -v '^ *+' conftest.er1 >conftest.err
45714 rm -f conftest.er1
45715 cat conftest.err >&5
45716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45717 (exit $ac_status); } && {
45718 test -z "$ac_c_werror_flag" ||
45719 test ! -s conftest.err
45720 } && test -s conftest$ac_exeext &&
45721 $as_test_x conftest$ac_exeext; then
45722 eval "$as_ac_var=yes"
45723 else
45724 echo "$as_me: failed program was:" >&5
45725 sed 's/^/| /' conftest.$ac_ext >&5
45726
45727 eval "$as_ac_var=no"
45728 fi
45729
45730 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45731 conftest$ac_exeext conftest.$ac_ext
45732 fi
45733 ac_res=`eval echo '${'$as_ac_var'}'`
45734 { echo "$as_me:$LINENO: result: $ac_res" >&5
45735 echo "${ECHO_T}$ac_res" >&6; }
45736 if test `eval echo '${'$as_ac_var'}'` = yes; then
45737 cat >>confdefs.h <<_ACEOF
45738 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45739 _ACEOF
45740
45741 cat >>confdefs.h <<\_ACEOF
45742 #define HAVE_SHL_LOAD 1
45743 _ACEOF
45744
45745 HAVE_SHL_FUNCS=1
45746
45747 else
45748
45749 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
45750 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
45751 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
45752 echo $ECHO_N "(cached) $ECHO_C" >&6
45753 else
45754 ac_check_lib_save_LIBS=$LIBS
45755 LIBS="-lshl_load $LIBS"
45756 cat >conftest.$ac_ext <<_ACEOF
45757 /* confdefs.h. */
45758 _ACEOF
45759 cat confdefs.h >>conftest.$ac_ext
45760 cat >>conftest.$ac_ext <<_ACEOF
45761 /* end confdefs.h. */
45762
45763 /* Override any GCC internal prototype to avoid an error.
45764 Use char because int might match the return type of a GCC
45765 builtin and then its argument prototype would still apply. */
45766 #ifdef __cplusplus
45767 extern "C"
45768 #endif
45769 char dld ();
45770 int
45771 main ()
45772 {
45773 return dld ();
45774 ;
45775 return 0;
45776 }
45777 _ACEOF
45778 rm -f conftest.$ac_objext conftest$ac_exeext
45779 if { (ac_try="$ac_link"
45780 case "(($ac_try" in
45781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45782 *) ac_try_echo=$ac_try;;
45783 esac
45784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45785 (eval "$ac_link") 2>conftest.er1
45786 ac_status=$?
45787 grep -v '^ *+' conftest.er1 >conftest.err
45788 rm -f conftest.er1
45789 cat conftest.err >&5
45790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45791 (exit $ac_status); } && {
45792 test -z "$ac_c_werror_flag" ||
45793 test ! -s conftest.err
45794 } && test -s conftest$ac_exeext &&
45795 $as_test_x conftest$ac_exeext; then
45796 ac_cv_lib_shl_load_dld=yes
45797 else
45798 echo "$as_me: failed program was:" >&5
45799 sed 's/^/| /' conftest.$ac_ext >&5
45800
45801 ac_cv_lib_shl_load_dld=no
45802 fi
45803
45804 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45805 conftest$ac_exeext conftest.$ac_ext
45806 LIBS=$ac_check_lib_save_LIBS
45807 fi
45808 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
45809 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
45810 if test $ac_cv_lib_shl_load_dld = yes; then
45811
45812 HAVE_SHL_FUNCS=1
45813 DL_LINK=" -ldld$DL_LINK"
45814
45815 fi
45816
45817
45818 fi
45819 done
45820
45821
45822 fi
45823
45824
45825 fi
45826 done
45827
45828
45829 if test "$HAVE_DL_FUNCS" = 1; then
45830
45831 for ac_func in dlerror
45832 do
45833 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45834 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45835 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45836 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45837 echo $ECHO_N "(cached) $ECHO_C" >&6
45838 else
45839 cat >conftest.$ac_ext <<_ACEOF
45840 /* confdefs.h. */
45841 _ACEOF
45842 cat confdefs.h >>conftest.$ac_ext
45843 cat >>conftest.$ac_ext <<_ACEOF
45844 /* end confdefs.h. */
45845 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45846 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45847 #define $ac_func innocuous_$ac_func
45848
45849 /* System header to define __stub macros and hopefully few prototypes,
45850 which can conflict with char $ac_func (); below.
45851 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45852 <limits.h> exists even on freestanding compilers. */
45853
45854 #ifdef __STDC__
45855 # include <limits.h>
45856 #else
45857 # include <assert.h>
45858 #endif
45859
45860 #undef $ac_func
45861
45862 /* Override any GCC internal prototype to avoid an error.
45863 Use char because int might match the return type of a GCC
45864 builtin and then its argument prototype would still apply. */
45865 #ifdef __cplusplus
45866 extern "C"
45867 #endif
45868 char $ac_func ();
45869 /* The GNU C library defines this for functions which it implements
45870 to always fail with ENOSYS. Some functions are actually named
45871 something starting with __ and the normal name is an alias. */
45872 #if defined __stub_$ac_func || defined __stub___$ac_func
45873 choke me
45874 #endif
45875
45876 int
45877 main ()
45878 {
45879 return $ac_func ();
45880 ;
45881 return 0;
45882 }
45883 _ACEOF
45884 rm -f conftest.$ac_objext conftest$ac_exeext
45885 if { (ac_try="$ac_link"
45886 case "(($ac_try" in
45887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45888 *) ac_try_echo=$ac_try;;
45889 esac
45890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45891 (eval "$ac_link") 2>conftest.er1
45892 ac_status=$?
45893 grep -v '^ *+' conftest.er1 >conftest.err
45894 rm -f conftest.er1
45895 cat conftest.err >&5
45896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45897 (exit $ac_status); } && {
45898 test -z "$ac_c_werror_flag" ||
45899 test ! -s conftest.err
45900 } && test -s conftest$ac_exeext &&
45901 $as_test_x conftest$ac_exeext; then
45902 eval "$as_ac_var=yes"
45903 else
45904 echo "$as_me: failed program was:" >&5
45905 sed 's/^/| /' conftest.$ac_ext >&5
45906
45907 eval "$as_ac_var=no"
45908 fi
45909
45910 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45911 conftest$ac_exeext conftest.$ac_ext
45912 fi
45913 ac_res=`eval echo '${'$as_ac_var'}'`
45914 { echo "$as_me:$LINENO: result: $ac_res" >&5
45915 echo "${ECHO_T}$ac_res" >&6; }
45916 if test `eval echo '${'$as_ac_var'}'` = yes; then
45917 cat >>confdefs.h <<_ACEOF
45918 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45919 _ACEOF
45920 cat >>confdefs.h <<\_ACEOF
45921 #define HAVE_DLERROR 1
45922 _ACEOF
45923
45924 else
45925
45926 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
45927 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
45928 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
45929 echo $ECHO_N "(cached) $ECHO_C" >&6
45930 else
45931 ac_check_lib_save_LIBS=$LIBS
45932 LIBS="-ldl $LIBS"
45933 cat >conftest.$ac_ext <<_ACEOF
45934 /* confdefs.h. */
45935 _ACEOF
45936 cat confdefs.h >>conftest.$ac_ext
45937 cat >>conftest.$ac_ext <<_ACEOF
45938 /* end confdefs.h. */
45939
45940 /* Override any GCC internal prototype to avoid an error.
45941 Use char because int might match the return type of a GCC
45942 builtin and then its argument prototype would still apply. */
45943 #ifdef __cplusplus
45944 extern "C"
45945 #endif
45946 char dlerror ();
45947 int
45948 main ()
45949 {
45950 return dlerror ();
45951 ;
45952 return 0;
45953 }
45954 _ACEOF
45955 rm -f conftest.$ac_objext conftest$ac_exeext
45956 if { (ac_try="$ac_link"
45957 case "(($ac_try" in
45958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45959 *) ac_try_echo=$ac_try;;
45960 esac
45961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45962 (eval "$ac_link") 2>conftest.er1
45963 ac_status=$?
45964 grep -v '^ *+' conftest.er1 >conftest.err
45965 rm -f conftest.er1
45966 cat conftest.err >&5
45967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45968 (exit $ac_status); } && {
45969 test -z "$ac_c_werror_flag" ||
45970 test ! -s conftest.err
45971 } && test -s conftest$ac_exeext &&
45972 $as_test_x conftest$ac_exeext; then
45973 ac_cv_lib_dl_dlerror=yes
45974 else
45975 echo "$as_me: failed program was:" >&5
45976 sed 's/^/| /' conftest.$ac_ext >&5
45977
45978 ac_cv_lib_dl_dlerror=no
45979 fi
45980
45981 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45982 conftest$ac_exeext conftest.$ac_ext
45983 LIBS=$ac_check_lib_save_LIBS
45984 fi
45985 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
45986 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
45987 if test $ac_cv_lib_dl_dlerror = yes; then
45988 cat >>confdefs.h <<\_ACEOF
45989 #define HAVE_DLERROR 1
45990 _ACEOF
45991
45992 fi
45993
45994
45995
45996 fi
45997 done
45998
45999 fi
46000 fi
46001
46002 if test "$USE_DARWIN" = 1; then
46003 HAVE_DL_FUNCS=1
46004 fi
46005
46006 if test "$HAVE_DL_FUNCS" = 0; then
46007 if test "$HAVE_SHL_FUNCS" = 0; then
46008 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
46009 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
46010 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
46011 wxUSE_DYNAMIC_LOADER=no
46012 wxUSE_DYNLIB_CLASS=no
46013 else
46014 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
46015 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
46016 fi
46017 fi
46018 fi
46019 fi
46020 fi
46021
46022 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
46023 cat >>confdefs.h <<\_ACEOF
46024 #define wxUSE_DYNAMIC_LOADER 1
46025 _ACEOF
46026
46027 fi
46028 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
46029 cat >>confdefs.h <<\_ACEOF
46030 #define wxUSE_DYNLIB_CLASS 1
46031 _ACEOF
46032
46033 fi
46034
46035
46036
46037 if test "$wxUSE_PLUGINS" = "yes" ; then
46038 if test "$wxUSE_SHARED" = "no" ; then
46039 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
46040 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
46041 wxUSE_PLUGINS=no
46042 fi
46043 if test "$wxUSE_MONOLITHIC" = "yes" ; then
46044 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
46045 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
46046 wxUSE_PLUGINS=no
46047 fi
46048 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
46049 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
46050 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
46051 wxUSE_PLUGINS=no
46052 fi
46053 if test "$wxUSE_PLUGINS" = "yes" ; then
46054 cat >>confdefs.h <<\_ACEOF
46055 #define wxUSE_PLUGINS 1
46056 _ACEOF
46057
46058 fi
46059 fi
46060
46061
46062 if test "$wxUSE_FSWATCHER" = "yes"; then
46063 if test "$wxUSE_MSW" != "1"; then
46064 if test "$wxUSE_UNIX" = "yes"; then
46065
46066 for ac_header in sys/inotify.h
46067 do
46068 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
46069 { echo "$as_me:$LINENO: checking for $ac_header" >&5
46070 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
46071 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
46072 echo $ECHO_N "(cached) $ECHO_C" >&6
46073 else
46074 cat >conftest.$ac_ext <<_ACEOF
46075 /* confdefs.h. */
46076 _ACEOF
46077 cat confdefs.h >>conftest.$ac_ext
46078 cat >>conftest.$ac_ext <<_ACEOF
46079 /* end confdefs.h. */
46080 $ac_includes_default
46081
46082 #include <$ac_header>
46083 _ACEOF
46084 rm -f conftest.$ac_objext
46085 if { (ac_try="$ac_compile"
46086 case "(($ac_try" in
46087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46088 *) ac_try_echo=$ac_try;;
46089 esac
46090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46091 (eval "$ac_compile") 2>conftest.er1
46092 ac_status=$?
46093 grep -v '^ *+' conftest.er1 >conftest.err
46094 rm -f conftest.er1
46095 cat conftest.err >&5
46096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46097 (exit $ac_status); } && {
46098 test -z "$ac_c_werror_flag" ||
46099 test ! -s conftest.err
46100 } && test -s conftest.$ac_objext; then
46101 eval "$as_ac_Header=yes"
46102 else
46103 echo "$as_me: failed program was:" >&5
46104 sed 's/^/| /' conftest.$ac_ext >&5
46105
46106 eval "$as_ac_Header=no"
46107 fi
46108
46109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46110 fi
46111 ac_res=`eval echo '${'$as_ac_Header'}'`
46112 { echo "$as_me:$LINENO: result: $ac_res" >&5
46113 echo "${ECHO_T}$ac_res" >&6; }
46114 if test `eval echo '${'$as_ac_Header'}'` = yes; then
46115 cat >>confdefs.h <<_ACEOF
46116 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
46117 _ACEOF
46118
46119 fi
46120
46121 done
46122
46123 if test "$ac_cv_header_sys_inotify_h" = "yes"; then
46124 cat >>confdefs.h <<\_ACEOF
46125 #define wxHAS_INOTIFY 1
46126 _ACEOF
46127
46128 else
46129
46130 for ac_header in sys/event.h
46131 do
46132 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
46133 { echo "$as_me:$LINENO: checking for $ac_header" >&5
46134 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
46135 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
46136 echo $ECHO_N "(cached) $ECHO_C" >&6
46137 else
46138 cat >conftest.$ac_ext <<_ACEOF
46139 /* confdefs.h. */
46140 _ACEOF
46141 cat confdefs.h >>conftest.$ac_ext
46142 cat >>conftest.$ac_ext <<_ACEOF
46143 /* end confdefs.h. */
46144 $ac_includes_default
46145
46146 #include <$ac_header>
46147 _ACEOF
46148 rm -f conftest.$ac_objext
46149 if { (ac_try="$ac_compile"
46150 case "(($ac_try" in
46151 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46152 *) ac_try_echo=$ac_try;;
46153 esac
46154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46155 (eval "$ac_compile") 2>conftest.er1
46156 ac_status=$?
46157 grep -v '^ *+' conftest.er1 >conftest.err
46158 rm -f conftest.er1
46159 cat conftest.err >&5
46160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46161 (exit $ac_status); } && {
46162 test -z "$ac_c_werror_flag" ||
46163 test ! -s conftest.err
46164 } && test -s conftest.$ac_objext; then
46165 eval "$as_ac_Header=yes"
46166 else
46167 echo "$as_me: failed program was:" >&5
46168 sed 's/^/| /' conftest.$ac_ext >&5
46169
46170 eval "$as_ac_Header=no"
46171 fi
46172
46173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46174 fi
46175 ac_res=`eval echo '${'$as_ac_Header'}'`
46176 { echo "$as_me:$LINENO: result: $ac_res" >&5
46177 echo "${ECHO_T}$ac_res" >&6; }
46178 if test `eval echo '${'$as_ac_Header'}'` = yes; then
46179 cat >>confdefs.h <<_ACEOF
46180 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
46181 _ACEOF
46182
46183 fi
46184
46185 done
46186
46187 if test "$ac_cv_header_sys_event_h" = "yes"; then
46188 cat >>confdefs.h <<\_ACEOF
46189 #define wxHAS_KQUEUE 1
46190 _ACEOF
46191
46192 else
46193 wxUSE_FSWATCHER=no
46194 fi
46195 fi
46196 else
46197 wxUSE_FSWATCHER=no
46198 fi
46199 else
46200 if test "$wxUSE_THREADS" != "yes"; then
46201 { echo "$as_me:$LINENO: WARNING: wxFileSystemWatcher disabled due to --disable-threads" >&5
46202 echo "$as_me: WARNING: wxFileSystemWatcher disabled due to --disable-threads" >&2;}
46203 wxUSE_FSWATCHER=no
46204 fi
46205 fi
46206
46207 if test "$wxUSE_FSWATCHER" = "yes"; then
46208 cat >>confdefs.h <<\_ACEOF
46209 #define wxUSE_FSWATCHER 1
46210 _ACEOF
46211
46212 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS fswatcher"
46213 else
46214 { echo "$as_me:$LINENO: WARNING: wxFileSystemWatcher won't be available on this platform" >&5
46215 echo "$as_me: WARNING: wxFileSystemWatcher won't be available on this platform" >&2;}
46216 fi
46217 fi
46218
46219
46220 if test "$wxUSE_STL" = "yes"; then
46221 cat >>confdefs.h <<\_ACEOF
46222 #define wxUSE_STL 1
46223 _ACEOF
46224
46225 fi
46226
46227 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
46228 cat >>confdefs.h <<\_ACEOF
46229 #define wxUSE_EXTENDED_RTTI 1
46230 _ACEOF
46231
46232 fi
46233
46234 if test "$wxUSE_ANY" = "yes"; then
46235 cat >>confdefs.h <<\_ACEOF
46236 #define wxUSE_ANY 1
46237 _ACEOF
46238
46239 fi
46240
46241 if test "$wxUSE_APPLE_IEEE" = "yes"; then
46242 cat >>confdefs.h <<\_ACEOF
46243 #define wxUSE_APPLE_IEEE 1
46244 _ACEOF
46245
46246 fi
46247
46248 if test "$wxUSE_TIMER" = "yes"; then
46249 cat >>confdefs.h <<\_ACEOF
46250 #define wxUSE_TIMER 1
46251 _ACEOF
46252
46253 fi
46254
46255 if test "$USE_UNIX" = 1 ; then
46256 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
46257 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
46258 if test "${ac_cv_header_sys_soundcard+set}" = set; then
46259 echo $ECHO_N "(cached) $ECHO_C" >&6
46260 else
46261
46262 cat >conftest.$ac_ext <<_ACEOF
46263 /* confdefs.h. */
46264 _ACEOF
46265 cat confdefs.h >>conftest.$ac_ext
46266 cat >>conftest.$ac_ext <<_ACEOF
46267 /* end confdefs.h. */
46268
46269 #include <sys/ioctl.h>
46270 #include <sys/soundcard.h>
46271
46272 int
46273 main ()
46274 {
46275
46276 ioctl(0, SNDCTL_DSP_SPEED, 0);
46277
46278 ;
46279 return 0;
46280 }
46281 _ACEOF
46282 rm -f conftest.$ac_objext conftest$ac_exeext
46283 if { (ac_try="$ac_link"
46284 case "(($ac_try" in
46285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46286 *) ac_try_echo=$ac_try;;
46287 esac
46288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46289 (eval "$ac_link") 2>conftest.er1
46290 ac_status=$?
46291 grep -v '^ *+' conftest.er1 >conftest.err
46292 rm -f conftest.er1
46293 cat conftest.err >&5
46294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46295 (exit $ac_status); } && {
46296 test -z "$ac_c_werror_flag" ||
46297 test ! -s conftest.err
46298 } && test -s conftest$ac_exeext &&
46299 $as_test_x conftest$ac_exeext; then
46300 ac_cv_header_sys_soundcard=yes
46301 else
46302 echo "$as_me: failed program was:" >&5
46303 sed 's/^/| /' conftest.$ac_ext >&5
46304
46305
46306 saveLibs="$LIBS"
46307 LIBS="$saveLibs -lossaudio"
46308 cat >conftest.$ac_ext <<_ACEOF
46309 /* confdefs.h. */
46310 _ACEOF
46311 cat confdefs.h >>conftest.$ac_ext
46312 cat >>conftest.$ac_ext <<_ACEOF
46313 /* end confdefs.h. */
46314
46315 #include <sys/ioctl.h>
46316 #include <sys/soundcard.h>
46317
46318 int
46319 main ()
46320 {
46321
46322 ioctl(0, SNDCTL_DSP_SPEED, 0);
46323
46324 ;
46325 return 0;
46326 }
46327 _ACEOF
46328 rm -f conftest.$ac_objext conftest$ac_exeext
46329 if { (ac_try="$ac_link"
46330 case "(($ac_try" in
46331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46332 *) ac_try_echo=$ac_try;;
46333 esac
46334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46335 (eval "$ac_link") 2>conftest.er1
46336 ac_status=$?
46337 grep -v '^ *+' conftest.er1 >conftest.err
46338 rm -f conftest.er1
46339 cat conftest.err >&5
46340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46341 (exit $ac_status); } && {
46342 test -z "$ac_c_werror_flag" ||
46343 test ! -s conftest.err
46344 } && test -s conftest$ac_exeext &&
46345 $as_test_x conftest$ac_exeext; then
46346 ac_cv_header_sys_soundcard=yes
46347 else
46348 echo "$as_me: failed program was:" >&5
46349 sed 's/^/| /' conftest.$ac_ext >&5
46350
46351
46352 LIBS="$saveLibs"
46353 ac_cv_header_sys_soundcard=no
46354
46355
46356 fi
46357
46358 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46359 conftest$ac_exeext conftest.$ac_ext
46360
46361
46362 fi
46363
46364 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46365 conftest$ac_exeext conftest.$ac_ext
46366
46367 fi
46368 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
46369 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
46370
46371 if test "$ac_cv_header_sys_soundcard" = "yes"; then
46372 cat >>confdefs.h <<\_ACEOF
46373 #define HAVE_SYS_SOUNDCARD_H 1
46374 _ACEOF
46375
46376 fi
46377 fi
46378
46379 WITH_PLUGIN_SDL=0
46380 if test "$wxUSE_SOUND" = "yes"; then
46381 if test "$USE_UNIX" = 1 ; then
46382 if test "$wxUSE_LIBSDL" != "no"; then
46383
46384 # Check whether --with-sdl-prefix was given.
46385 if test "${with_sdl_prefix+set}" = set; then
46386 withval=$with_sdl_prefix; sdl_prefix="$withval"
46387 else
46388 sdl_prefix=""
46389 fi
46390
46391
46392 # Check whether --with-sdl-exec-prefix was given.
46393 if test "${with_sdl_exec_prefix+set}" = set; then
46394 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
46395 else
46396 sdl_exec_prefix=""
46397 fi
46398
46399 # Check whether --enable-sdltest was given.
46400 if test "${enable_sdltest+set}" = set; then
46401 enableval=$enable_sdltest;
46402 else
46403 enable_sdltest=yes
46404 fi
46405
46406
46407 if test x$sdl_exec_prefix != x ; then
46408 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
46409 if test x${SDL_CONFIG+set} != xset ; then
46410 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
46411 fi
46412 fi
46413 if test x$sdl_prefix != x ; then
46414 sdl_args="$sdl_args --prefix=$sdl_prefix"
46415 if test x${SDL_CONFIG+set} != xset ; then
46416 SDL_CONFIG=$sdl_prefix/bin/sdl-config
46417 fi
46418 fi
46419
46420 if test "x$prefix" != xNONE; then
46421 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
46422 fi
46423 # Extract the first word of "sdl-config", so it can be a program name with args.
46424 set dummy sdl-config; ac_word=$2
46425 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46426 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46427 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
46428 echo $ECHO_N "(cached) $ECHO_C" >&6
46429 else
46430 case $SDL_CONFIG in
46431 [\\/]* | ?:[\\/]*)
46432 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
46433 ;;
46434 *)
46435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46436 for as_dir in $PATH
46437 do
46438 IFS=$as_save_IFS
46439 test -z "$as_dir" && as_dir=.
46440 for ac_exec_ext in '' $ac_executable_extensions; do
46441 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46442 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
46443 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46444 break 2
46445 fi
46446 done
46447 done
46448 IFS=$as_save_IFS
46449
46450 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
46451 ;;
46452 esac
46453 fi
46454 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
46455 if test -n "$SDL_CONFIG"; then
46456 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
46457 echo "${ECHO_T}$SDL_CONFIG" >&6; }
46458 else
46459 { echo "$as_me:$LINENO: result: no" >&5
46460 echo "${ECHO_T}no" >&6; }
46461 fi
46462
46463
46464 min_sdl_version=1.2.0
46465 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
46466 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
46467 no_sdl=""
46468 if test "$SDL_CONFIG" = "no" ; then
46469 no_sdl=yes
46470 else
46471 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
46472 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
46473
46474 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
46475 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
46476 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
46477 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
46478 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
46479 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
46480 if test "x$enable_sdltest" = "xyes" ; then
46481 ac_save_CFLAGS="$CFLAGS"
46482 ac_save_CXXFLAGS="$CXXFLAGS"
46483 ac_save_LIBS="$LIBS"
46484 CFLAGS="$CFLAGS $SDL_CFLAGS"
46485 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
46486 LIBS="$LIBS $SDL_LIBS"
46487 rm -f conf.sdltest
46488 if test "$cross_compiling" = yes; then
46489 echo $ac_n "cross compiling; assumed OK... $ac_c"
46490 else
46491 cat >conftest.$ac_ext <<_ACEOF
46492 /* confdefs.h. */
46493 _ACEOF
46494 cat confdefs.h >>conftest.$ac_ext
46495 cat >>conftest.$ac_ext <<_ACEOF
46496 /* end confdefs.h. */
46497
46498 #include <stdio.h>
46499 #include <stdlib.h>
46500 #include <string.h>
46501 #include "SDL.h"
46502
46503 char*
46504 my_strdup (char *str)
46505 {
46506 char *new_str;
46507
46508 if (str)
46509 {
46510 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
46511 strcpy (new_str, str);
46512 }
46513 else
46514 new_str = NULL;
46515
46516 return new_str;
46517 }
46518
46519 int main (int argc, char *argv[])
46520 {
46521 int major, minor, micro;
46522 char *tmp_version;
46523
46524 /* This hangs on some systems (?)
46525 system ("touch conf.sdltest");
46526 */
46527 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
46528
46529 /* HP/UX 9 (%@#!) writes to sscanf strings */
46530 tmp_version = my_strdup("$min_sdl_version");
46531 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
46532 printf("%s, bad version string\n", "$min_sdl_version");
46533 exit(1);
46534 }
46535
46536 if (($sdl_major_version > major) ||
46537 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
46538 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
46539 {
46540 return 0;
46541 }
46542 else
46543 {
46544 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
46545 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
46546 printf("*** best to upgrade to the required version.\n");
46547 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
46548 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
46549 printf("*** config.cache before re-running configure\n");
46550 return 1;
46551 }
46552 }
46553
46554
46555 _ACEOF
46556 rm -f conftest$ac_exeext
46557 if { (ac_try="$ac_link"
46558 case "(($ac_try" in
46559 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46560 *) ac_try_echo=$ac_try;;
46561 esac
46562 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46563 (eval "$ac_link") 2>&5
46564 ac_status=$?
46565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46566 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
46567 { (case "(($ac_try" in
46568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46569 *) ac_try_echo=$ac_try;;
46570 esac
46571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46572 (eval "$ac_try") 2>&5
46573 ac_status=$?
46574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46575 (exit $ac_status); }; }; then
46576 :
46577 else
46578 echo "$as_me: program exited with status $ac_status" >&5
46579 echo "$as_me: failed program was:" >&5
46580 sed 's/^/| /' conftest.$ac_ext >&5
46581
46582 ( exit $ac_status )
46583 no_sdl=yes
46584 fi
46585 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
46586 fi
46587
46588
46589 CFLAGS="$ac_save_CFLAGS"
46590 CXXFLAGS="$ac_save_CXXFLAGS"
46591 LIBS="$ac_save_LIBS"
46592 fi
46593 fi
46594 if test "x$no_sdl" = x ; then
46595 { echo "$as_me:$LINENO: result: yes" >&5
46596 echo "${ECHO_T}yes" >&6; }
46597
46598 EXTRALIBS_SDL="$SDL_LIBS"
46599 CFLAGS="$SDL_CFLAGS $CFLAGS"
46600 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
46601 cat >>confdefs.h <<\_ACEOF
46602 #define wxUSE_LIBSDL 1
46603 _ACEOF
46604
46605
46606 else
46607 { echo "$as_me:$LINENO: result: no" >&5
46608 echo "${ECHO_T}no" >&6; }
46609 if test "$SDL_CONFIG" = "no" ; then
46610 echo "*** The sdl-config script installed by SDL could not be found"
46611 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
46612 echo "*** your path, or set the SDL_CONFIG environment variable to the"
46613 echo "*** full path to sdl-config."
46614 else
46615 if test -f conf.sdltest ; then
46616 :
46617 else
46618 echo "*** Could not run SDL test program, checking why..."
46619 CFLAGS="$CFLAGS $SDL_CFLAGS"
46620 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
46621 LIBS="$LIBS $SDL_LIBS"
46622 cat >conftest.$ac_ext <<_ACEOF
46623 /* confdefs.h. */
46624 _ACEOF
46625 cat confdefs.h >>conftest.$ac_ext
46626 cat >>conftest.$ac_ext <<_ACEOF
46627 /* end confdefs.h. */
46628
46629 #include <stdio.h>
46630 #include "SDL.h"
46631
46632 int main(int argc, char *argv[])
46633 { return 0; }
46634 #undef main
46635 #define main K_and_R_C_main
46636
46637 int
46638 main ()
46639 {
46640 return 0;
46641 ;
46642 return 0;
46643 }
46644 _ACEOF
46645 rm -f conftest.$ac_objext conftest$ac_exeext
46646 if { (ac_try="$ac_link"
46647 case "(($ac_try" in
46648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46649 *) ac_try_echo=$ac_try;;
46650 esac
46651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46652 (eval "$ac_link") 2>conftest.er1
46653 ac_status=$?
46654 grep -v '^ *+' conftest.er1 >conftest.err
46655 rm -f conftest.er1
46656 cat conftest.err >&5
46657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46658 (exit $ac_status); } && {
46659 test -z "$ac_c_werror_flag" ||
46660 test ! -s conftest.err
46661 } && test -s conftest$ac_exeext &&
46662 $as_test_x conftest$ac_exeext; then
46663 echo "*** The test program compiled, but did not run. This usually means"
46664 echo "*** that the run-time linker is not finding SDL or finding the wrong"
46665 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
46666 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
46667 echo "*** to the installed location Also, make sure you have run ldconfig if that"
46668 echo "*** is required on your system"
46669 echo "***"
46670 echo "*** If you have an old version installed, it is best to remove it, although"
46671 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
46672 else
46673 echo "$as_me: failed program was:" >&5
46674 sed 's/^/| /' conftest.$ac_ext >&5
46675
46676 echo "*** The test program failed to compile or link. See the file config.log for the"
46677 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
46678 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
46679 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
46680 fi
46681
46682 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46683 conftest$ac_exeext conftest.$ac_ext
46684 CFLAGS="$ac_save_CFLAGS"
46685 CXXFLAGS="$ac_save_CXXFLAGS"
46686 LIBS="$ac_save_LIBS"
46687 fi
46688 fi
46689 SDL_CFLAGS=""
46690 SDL_LIBS=""
46691 wxUSE_LIBSDL="no"
46692 fi
46693
46694
46695 rm -f conf.sdltest
46696
46697 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
46698 WITH_PLUGIN_SDL=1
46699 fi
46700 fi
46701 fi
46702 fi
46703
46704 if test "$wxUSE_SOUND" = "yes"; then
46705 cat >>confdefs.h <<\_ACEOF
46706 #define wxUSE_SOUND 1
46707 _ACEOF
46708
46709 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
46710 fi
46711
46712 if test "$WXGTK2" = 1; then
46713
46714
46715 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
46716 if test -n "$ac_tool_prefix"; then
46717 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
46718 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
46719 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46720 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46721 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
46722 echo $ECHO_N "(cached) $ECHO_C" >&6
46723 else
46724 case $PKG_CONFIG in
46725 [\\/]* | ?:[\\/]*)
46726 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
46727 ;;
46728 *)
46729 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46730 for as_dir in $PATH
46731 do
46732 IFS=$as_save_IFS
46733 test -z "$as_dir" && as_dir=.
46734 for ac_exec_ext in '' $ac_executable_extensions; do
46735 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46736 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
46737 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46738 break 2
46739 fi
46740 done
46741 done
46742 IFS=$as_save_IFS
46743
46744 ;;
46745 esac
46746 fi
46747 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
46748 if test -n "$PKG_CONFIG"; then
46749 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
46750 echo "${ECHO_T}$PKG_CONFIG" >&6; }
46751 else
46752 { echo "$as_me:$LINENO: result: no" >&5
46753 echo "${ECHO_T}no" >&6; }
46754 fi
46755
46756
46757 fi
46758 if test -z "$ac_cv_path_PKG_CONFIG"; then
46759 ac_pt_PKG_CONFIG=$PKG_CONFIG
46760 # Extract the first word of "pkg-config", so it can be a program name with args.
46761 set dummy pkg-config; ac_word=$2
46762 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46763 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46764 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
46765 echo $ECHO_N "(cached) $ECHO_C" >&6
46766 else
46767 case $ac_pt_PKG_CONFIG in
46768 [\\/]* | ?:[\\/]*)
46769 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
46770 ;;
46771 *)
46772 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46773 for as_dir in $PATH
46774 do
46775 IFS=$as_save_IFS
46776 test -z "$as_dir" && as_dir=.
46777 for ac_exec_ext in '' $ac_executable_extensions; do
46778 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46779 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
46780 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46781 break 2
46782 fi
46783 done
46784 done
46785 IFS=$as_save_IFS
46786
46787 ;;
46788 esac
46789 fi
46790 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
46791 if test -n "$ac_pt_PKG_CONFIG"; then
46792 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
46793 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
46794 else
46795 { echo "$as_me:$LINENO: result: no" >&5
46796 echo "${ECHO_T}no" >&6; }
46797 fi
46798
46799 if test "x$ac_pt_PKG_CONFIG" = x; then
46800 PKG_CONFIG=""
46801 else
46802 case $cross_compiling:$ac_tool_warned in
46803 yes:)
46804 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46805 whose name does not start with the host triplet. If you think this
46806 configuration is useful to you, please write to autoconf@gnu.org." >&5
46807 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46808 whose name does not start with the host triplet. If you think this
46809 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46810 ac_tool_warned=yes ;;
46811 esac
46812 PKG_CONFIG=$ac_pt_PKG_CONFIG
46813 fi
46814 else
46815 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
46816 fi
46817
46818 fi
46819 if test -n "$PKG_CONFIG"; then
46820 _pkg_min_version=0.9.0
46821 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
46822 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
46823 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
46824 { echo "$as_me:$LINENO: result: yes" >&5
46825 echo "${ECHO_T}yes" >&6; }
46826 else
46827 { echo "$as_me:$LINENO: result: no" >&5
46828 echo "${ECHO_T}no" >&6; }
46829 PKG_CONFIG=""
46830 fi
46831
46832 fi
46833
46834 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
46835
46836 if test "$wxUSE_GTKPRINT" = "yes" ; then
46837
46838
46839 pkg_failed=no
46840 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
46841 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
46842
46843 if test -n "$PKG_CONFIG"; then
46844 if test -n "$GTKPRINT_CFLAGS"; then
46845 pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
46846 else
46847 if test -n "$PKG_CONFIG" && \
46848 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
46849 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
46850 ac_status=$?
46851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46852 (exit $ac_status); }; then
46853 pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
46854 else
46855 pkg_failed=yes
46856 fi
46857 fi
46858 else
46859 pkg_failed=untried
46860 fi
46861 if test -n "$PKG_CONFIG"; then
46862 if test -n "$GTKPRINT_LIBS"; then
46863 pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
46864 else
46865 if test -n "$PKG_CONFIG" && \
46866 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
46867 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
46868 ac_status=$?
46869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46870 (exit $ac_status); }; then
46871 pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
46872 else
46873 pkg_failed=yes
46874 fi
46875 fi
46876 else
46877 pkg_failed=untried
46878 fi
46879
46880
46881
46882 if test $pkg_failed = yes; then
46883
46884 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46885 _pkg_short_errors_supported=yes
46886 else
46887 _pkg_short_errors_supported=no
46888 fi
46889 if test $_pkg_short_errors_supported = yes; then
46890 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
46891 else
46892 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
46893 fi
46894 # Put the nasty error message in config.log where it belongs
46895 echo "$GTKPRINT_PKG_ERRORS" >&5
46896
46897
46898 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
46899 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
46900 wxUSE_GTKPRINT="no"
46901
46902
46903 elif test $pkg_failed = untried; then
46904
46905 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
46906 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
46907 wxUSE_GTKPRINT="no"
46908
46909
46910 else
46911 GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
46912 GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
46913 { echo "$as_me:$LINENO: result: yes" >&5
46914 echo "${ECHO_T}yes" >&6; }
46915
46916 CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
46917 CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
46918 cat >>confdefs.h <<\_ACEOF
46919 #define wxUSE_GTKPRINT 1
46920 _ACEOF
46921
46922
46923 fi
46924 fi
46925
46926 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
46927
46928
46929 pkg_failed=no
46930 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
46931 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
46932
46933 if test -n "$PKG_CONFIG"; then
46934 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
46935 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
46936 else
46937 if test -n "$PKG_CONFIG" && \
46938 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
46939 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
46940 ac_status=$?
46941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46942 (exit $ac_status); }; then
46943 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
46944 else
46945 pkg_failed=yes
46946 fi
46947 fi
46948 else
46949 pkg_failed=untried
46950 fi
46951 if test -n "$PKG_CONFIG"; then
46952 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
46953 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
46954 else
46955 if test -n "$PKG_CONFIG" && \
46956 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
46957 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
46958 ac_status=$?
46959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46960 (exit $ac_status); }; then
46961 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
46962 else
46963 pkg_failed=yes
46964 fi
46965 fi
46966 else
46967 pkg_failed=untried
46968 fi
46969
46970
46971
46972 if test $pkg_failed = yes; then
46973
46974 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46975 _pkg_short_errors_supported=yes
46976 else
46977 _pkg_short_errors_supported=no
46978 fi
46979 if test $_pkg_short_errors_supported = yes; then
46980 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
46981 else
46982 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
46983 fi
46984 # Put the nasty error message in config.log where it belongs
46985 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
46986
46987
46988 if test "$wxUSE_GTKPRINT" = yes; then
46989 { echo "$as_me:$LINENO: result: no" >&5
46990 echo "${ECHO_T}no" >&6; }
46991 else
46992 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
46993 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
46994 fi
46995 wxUSE_LIBGNOMEPRINT="no"
46996
46997
46998 elif test $pkg_failed = untried; then
46999
47000 if test "$wxUSE_GTKPRINT" = yes; then
47001 { echo "$as_me:$LINENO: result: no" >&5
47002 echo "${ECHO_T}no" >&6; }
47003 else
47004 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
47005 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
47006 fi
47007 wxUSE_LIBGNOMEPRINT="no"
47008
47009
47010 else
47011 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
47012 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
47013 { echo "$as_me:$LINENO: result: yes" >&5
47014 echo "${ECHO_T}yes" >&6; }
47015
47016 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
47017 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
47018 cat >>confdefs.h <<\_ACEOF
47019 #define wxUSE_LIBGNOMEPRINT 1
47020 _ACEOF
47021
47022
47023 fi
47024 fi
47025 fi
47026
47027 if test "$wxUSE_MIMETYPE" = "yes" ; then
47028 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
47029
47030
47031 pkg_failed=no
47032 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
47033 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
47034
47035 if test -n "$PKG_CONFIG"; then
47036 if test -n "$GNOMEVFS_CFLAGS"; then
47037 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
47038 else
47039 if test -n "$PKG_CONFIG" && \
47040 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
47041 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
47042 ac_status=$?
47043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47044 (exit $ac_status); }; then
47045 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
47046 else
47047 pkg_failed=yes
47048 fi
47049 fi
47050 else
47051 pkg_failed=untried
47052 fi
47053 if test -n "$PKG_CONFIG"; then
47054 if test -n "$GNOMEVFS_LIBS"; then
47055 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
47056 else
47057 if test -n "$PKG_CONFIG" && \
47058 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
47059 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
47060 ac_status=$?
47061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47062 (exit $ac_status); }; then
47063 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
47064 else
47065 pkg_failed=yes
47066 fi
47067 fi
47068 else
47069 pkg_failed=untried
47070 fi
47071
47072
47073
47074 if test $pkg_failed = yes; then
47075
47076 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47077 _pkg_short_errors_supported=yes
47078 else
47079 _pkg_short_errors_supported=no
47080 fi
47081 if test $_pkg_short_errors_supported = yes; then
47082 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
47083 else
47084 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
47085 fi
47086 # Put the nasty error message in config.log where it belongs
47087 echo "$GNOMEVFS_PKG_ERRORS" >&5
47088
47089
47090 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
47091 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
47092 wxUSE_LIBGNOMEVFS="no"
47093
47094
47095 elif test $pkg_failed = untried; then
47096
47097 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
47098 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
47099 wxUSE_LIBGNOMEVFS="no"
47100
47101
47102 else
47103 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
47104 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
47105 { echo "$as_me:$LINENO: result: yes" >&5
47106 echo "${ECHO_T}yes" >&6; }
47107
47108 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
47109 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
47110 cat >>confdefs.h <<\_ACEOF
47111 #define wxUSE_LIBGNOMEVFS 1
47112 _ACEOF
47113
47114
47115 fi
47116 fi
47117 fi
47118
47119 if test "$wxUSE_LIBHILDON" = "yes" ; then
47120
47121 pkg_failed=no
47122 { echo "$as_me:$LINENO: checking for HILDON" >&5
47123 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
47124
47125 if test -n "$PKG_CONFIG"; then
47126 if test -n "$HILDON_CFLAGS"; then
47127 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
47128 else
47129 if test -n "$PKG_CONFIG" && \
47130 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
47131 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
47132 ac_status=$?
47133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47134 (exit $ac_status); }; then
47135 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
47136 else
47137 pkg_failed=yes
47138 fi
47139 fi
47140 else
47141 pkg_failed=untried
47142 fi
47143 if test -n "$PKG_CONFIG"; then
47144 if test -n "$HILDON_LIBS"; then
47145 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
47146 else
47147 if test -n "$PKG_CONFIG" && \
47148 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
47149 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
47150 ac_status=$?
47151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47152 (exit $ac_status); }; then
47153 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
47154 else
47155 pkg_failed=yes
47156 fi
47157 fi
47158 else
47159 pkg_failed=untried
47160 fi
47161
47162
47163
47164 if test $pkg_failed = yes; then
47165
47166 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47167 _pkg_short_errors_supported=yes
47168 else
47169 _pkg_short_errors_supported=no
47170 fi
47171 if test $_pkg_short_errors_supported = yes; then
47172 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
47173 else
47174 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
47175 fi
47176 # Put the nasty error message in config.log where it belongs
47177 echo "$HILDON_PKG_ERRORS" >&5
47178
47179
47180 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
47181 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
47182 wxUSE_LIBHILDON="no"
47183 ac_hildon_lgpl=0
47184
47185
47186 elif test $pkg_failed = untried; then
47187
47188 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
47189 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
47190 wxUSE_LIBHILDON="no"
47191 ac_hildon_lgpl=0
47192
47193
47194 else
47195 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
47196 HILDON_LIBS=$pkg_cv_HILDON_LIBS
47197 { echo "$as_me:$LINENO: result: yes" >&5
47198 echo "${ECHO_T}yes" >&6; }
47199
47200 EXTRALIBS_HILDON="$HILDON_LIBS"
47201 CFLAGS="$CFLAGS $HILDON_CFLAGS"
47202 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
47203 cat >>confdefs.h <<\_ACEOF
47204 #define wxUSE_LIBHILDON 1
47205 _ACEOF
47206
47207 ac_hildon_lgpl=1
47208
47209 fi
47210
47211 if test "$ac_hildon_lgpl" = 0 ; then
47212
47213 pkg_failed=no
47214 { echo "$as_me:$LINENO: checking for HILDON2" >&5
47215 echo $ECHO_N "checking for HILDON2... $ECHO_C" >&6; }
47216
47217 if test -n "$PKG_CONFIG"; then
47218 if test -n "$HILDON2_CFLAGS"; then
47219 pkg_cv_HILDON2_CFLAGS="$HILDON2_CFLAGS"
47220 else
47221 if test -n "$PKG_CONFIG" && \
47222 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\"") >&5
47223 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
47224 ac_status=$?
47225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47226 (exit $ac_status); }; then
47227 pkg_cv_HILDON2_CFLAGS=`$PKG_CONFIG --cflags "hildon-1 >= 1.99" 2>/dev/null`
47228 else
47229 pkg_failed=yes
47230 fi
47231 fi
47232 else
47233 pkg_failed=untried
47234 fi
47235 if test -n "$PKG_CONFIG"; then
47236 if test -n "$HILDON2_LIBS"; then
47237 pkg_cv_HILDON2_LIBS="$HILDON2_LIBS"
47238 else
47239 if test -n "$PKG_CONFIG" && \
47240 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\"") >&5
47241 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
47242 ac_status=$?
47243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47244 (exit $ac_status); }; then
47245 pkg_cv_HILDON2_LIBS=`$PKG_CONFIG --libs "hildon-1 >= 1.99" 2>/dev/null`
47246 else
47247 pkg_failed=yes
47248 fi
47249 fi
47250 else
47251 pkg_failed=untried
47252 fi
47253
47254
47255
47256 if test $pkg_failed = yes; then
47257
47258 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47259 _pkg_short_errors_supported=yes
47260 else
47261 _pkg_short_errors_supported=no
47262 fi
47263 if test $_pkg_short_errors_supported = yes; then
47264 HILDON2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
47265 else
47266 HILDON2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
47267 fi
47268 # Put the nasty error message in config.log where it belongs
47269 echo "$HILDON2_PKG_ERRORS" >&5
47270
47271
47272 { echo "$as_me:$LINENO: WARNING: libhildon_1 not found" >&5
47273 echo "$as_me: WARNING: libhildon_1 not found" >&2;}
47274 wxUSE_LIBHILDON2="no"
47275
47276
47277 elif test $pkg_failed = untried; then
47278
47279 { echo "$as_me:$LINENO: WARNING: libhildon_1 not found" >&5
47280 echo "$as_me: WARNING: libhildon_1 not found" >&2;}
47281 wxUSE_LIBHILDON2="no"
47282
47283
47284 else
47285 HILDON2_CFLAGS=$pkg_cv_HILDON2_CFLAGS
47286 HILDON2_LIBS=$pkg_cv_HILDON2_LIBS
47287 { echo "$as_me:$LINENO: result: yes" >&5
47288 echo "${ECHO_T}yes" >&6; }
47289
47290 EXTRALIBS_HILDON="$HILDON2_LIBS"
47291 CFLAGS="$CFLAGS $HILDON2_CFLAGS"
47292 CXXFLAGS="$CXXFLAGS $HILDON2_CFLAGS"
47293 cat >>confdefs.h <<\_ACEOF
47294 #define wxUSE_LIBHILDON2 1
47295 _ACEOF
47296
47297
47298 fi
47299 fi
47300 fi
47301 fi
47302
47303 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
47304 cat >>confdefs.h <<\_ACEOF
47305 #define wxUSE_CMDLINE_PARSER 1
47306 _ACEOF
47307
47308 fi
47309
47310 if test "$wxUSE_STOPWATCH" = "yes"; then
47311 cat >>confdefs.h <<\_ACEOF
47312 #define wxUSE_STOPWATCH 1
47313 _ACEOF
47314
47315 fi
47316
47317 if test "$wxUSE_DATETIME" = "yes"; then
47318 cat >>confdefs.h <<\_ACEOF
47319 #define wxUSE_DATETIME 1
47320 _ACEOF
47321
47322 fi
47323
47324 if test "$wxUSE_FILE" = "yes"; then
47325 cat >>confdefs.h <<\_ACEOF
47326 #define wxUSE_FILE 1
47327 _ACEOF
47328
47329 fi
47330
47331 if test "$wxUSE_FFILE" = "yes"; then
47332 cat >>confdefs.h <<\_ACEOF
47333 #define wxUSE_FFILE 1
47334 _ACEOF
47335
47336 fi
47337
47338 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
47339 if test "$wxUSE_STREAMS" != yes; then
47340 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
47341 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
47342 wxUSE_ARCHIVE_STREAMS=no
47343 else
47344 cat >>confdefs.h <<\_ACEOF
47345 #define wxUSE_ARCHIVE_STREAMS 1
47346 _ACEOF
47347
47348 fi
47349 fi
47350
47351 if test "$wxUSE_ZIPSTREAM" = "yes"; then
47352 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
47353 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
47354 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
47355 elif test "$wxUSE_ZLIB" = "no"; then
47356 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
47357 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
47358 else
47359 cat >>confdefs.h <<\_ACEOF
47360 #define wxUSE_ZIPSTREAM 1
47361 _ACEOF
47362
47363 fi
47364 fi
47365
47366 if test "$wxUSE_TARSTREAM" = "yes"; then
47367 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
47368 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
47369 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
47370 else
47371 cat >>confdefs.h <<\_ACEOF
47372 #define wxUSE_TARSTREAM 1
47373 _ACEOF
47374
47375 fi
47376 fi
47377
47378 if test "$wxUSE_FILE_HISTORY" = "yes"; then
47379 cat >>confdefs.h <<\_ACEOF
47380 #define wxUSE_FILE_HISTORY 1
47381 _ACEOF
47382
47383 fi
47384
47385 if test "$wxUSE_FILESYSTEM" = "yes"; then
47386 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
47387 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
47388 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
47389 wxUSE_FILESYSTEM=no
47390 else
47391 cat >>confdefs.h <<\_ACEOF
47392 #define wxUSE_FILESYSTEM 1
47393 _ACEOF
47394
47395 fi
47396 fi
47397
47398 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
47399 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
47400 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
47401 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
47402 else
47403 cat >>confdefs.h <<\_ACEOF
47404 #define wxUSE_FS_ARCHIVE 1
47405 _ACEOF
47406
47407 fi
47408 fi
47409
47410 if test "$wxUSE_FS_ZIP" = "yes"; then
47411 if test "$wxUSE_FS_ARCHIVE" != yes; then
47412 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
47413 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
47414 else
47415 cat >>confdefs.h <<\_ACEOF
47416 #define wxUSE_FS_ZIP 1
47417 _ACEOF
47418
47419 fi
47420 fi
47421
47422 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
47423 if test "$USE_UNIX" != 1; then
47424 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
47425 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
47426 wxUSE_ON_FATAL_EXCEPTION=no
47427 else
47428 cat >>confdefs.h <<\_ACEOF
47429 #define wxUSE_ON_FATAL_EXCEPTION 1
47430 _ACEOF
47431
47432 fi
47433 fi
47434
47435 if test "$wxUSE_STACKWALKER" = "yes"; then
47436 cat >>confdefs.h <<\_ACEOF
47437 #define wxUSE_STACKWALKER 1
47438 _ACEOF
47439
47440 fi
47441
47442 if test "$wxUSE_DEBUGREPORT" = "yes"; then
47443 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
47444 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
47445 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
47446 wxUSE_DEBUGREPORT=no
47447 else
47448 cat >>confdefs.h <<\_ACEOF
47449 #define wxUSE_DEBUGREPORT 1
47450 _ACEOF
47451
47452 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
47453 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
47454 fi
47455 fi
47456 fi
47457
47458 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
47459 cat >>confdefs.h <<\_ACEOF
47460 #define wxUSE_SNGLINST_CHECKER 1
47461 _ACEOF
47462
47463 fi
47464
47465 if test "$wxUSE_BUSYINFO" = "yes"; then
47466 cat >>confdefs.h <<\_ACEOF
47467 #define wxUSE_BUSYINFO 1
47468 _ACEOF
47469
47470 fi
47471
47472 if test "$wxUSE_HOTKEY" = "yes"; then
47473 if test "$wxUSE_MSW" != 1 -a "$wxUSE_OSX_COCOA" != 1 -a "$wxUSE_OSX_CARBON" != 1; then
47474 { echo "$as_me:$LINENO: WARNING: Hot keys not supported by the current toolkit, disabled" >&5
47475 echo "$as_me: WARNING: Hot keys not supported by the current toolkit, disabled" >&2;}
47476 wxUSE_HOTKEY=no
47477 fi
47478 elif test "$wxUSE_HOTKEY" = "auto"; then
47479 if test "$wxUSE_MSW" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OSX_CARBON" = 1; then
47480 wxUSE_HOTKEY=yes
47481 fi
47482 fi
47483 if test "$wxUSE_HOTKEY" = "yes"; then
47484 cat >>confdefs.h <<\_ACEOF
47485 #define wxUSE_HOTKEY 1
47486 _ACEOF
47487
47488 fi
47489
47490 if test "$wxUSE_STD_CONTAINERS" = "yes"; then
47491 cat >>confdefs.h <<\_ACEOF
47492 #define wxUSE_STD_CONTAINERS 1
47493 _ACEOF
47494
47495 fi
47496
47497 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
47498 cat >>confdefs.h <<\_ACEOF
47499 #define wxUSE_STD_IOSTREAM 1
47500 _ACEOF
47501
47502 fi
47503
47504 if test "$wxUSE_STD_STRING" = "yes"; then
47505 cat >>confdefs.h <<\_ACEOF
47506 #define wxUSE_STD_STRING 1
47507 _ACEOF
47508
47509 fi
47510
47511 if test "$wxUSE_STD_STRING_CONV_IN_WXSTRING" = "yes"; then
47512 cat >>confdefs.h <<\_ACEOF
47513 #define wxUSE_STD_STRING_CONV_IN_WXSTRING 1
47514 _ACEOF
47515
47516 fi
47517
47518 if test "$wxUSE_STDPATHS" = "yes"; then
47519 cat >>confdefs.h <<\_ACEOF
47520 #define wxUSE_STDPATHS 1
47521 _ACEOF
47522
47523 fi
47524
47525 if test "$wxUSE_TEXTBUFFER" = "yes"; then
47526 cat >>confdefs.h <<\_ACEOF
47527 #define wxUSE_TEXTBUFFER 1
47528 _ACEOF
47529
47530 fi
47531
47532 if test "$wxUSE_TEXTFILE" = "yes"; then
47533 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
47534 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
47535 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
47536 else
47537 cat >>confdefs.h <<\_ACEOF
47538 #define wxUSE_TEXTFILE 1
47539 _ACEOF
47540
47541 fi
47542 fi
47543
47544 if test "$wxUSE_CONFIG" = "yes" ; then
47545 if test "$wxUSE_TEXTFILE" != "yes"; then
47546 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
47547 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
47548 else
47549 cat >>confdefs.h <<\_ACEOF
47550 #define wxUSE_CONFIG 1
47551 _ACEOF
47552
47553 cat >>confdefs.h <<\_ACEOF
47554 #define wxUSE_CONFIG_NATIVE 1
47555 _ACEOF
47556
47557 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
47558 fi
47559 fi
47560
47561 if test "$wxUSE_INTL" = "yes" ; then
47562 if test "$wxUSE_FILE" != "yes"; then
47563 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
47564 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
47565 else
47566 cat >>confdefs.h <<\_ACEOF
47567 #define wxUSE_INTL 1
47568 _ACEOF
47569
47570 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
47571 GUIDIST="$GUIDIST INTL_DIST"
47572 fi
47573 fi
47574
47575 if test "$wxUSE_XLOCALE" = "yes" ; then
47576 cat >>confdefs.h <<\_ACEOF
47577 #define wxUSE_XLOCALE 1
47578 _ACEOF
47579
47580 { echo "$as_me:$LINENO: checking for locale_t" >&5
47581 echo $ECHO_N "checking for locale_t... $ECHO_C" >&6; }
47582 if test "${ac_cv_type_locale_t+set}" = set; then
47583 echo $ECHO_N "(cached) $ECHO_C" >&6
47584 else
47585 cat >conftest.$ac_ext <<_ACEOF
47586 /* confdefs.h. */
47587 _ACEOF
47588 cat confdefs.h >>conftest.$ac_ext
47589 cat >>conftest.$ac_ext <<_ACEOF
47590 /* end confdefs.h. */
47591 #include <xlocale.h>
47592 #include <locale.h>
47593
47594 typedef locale_t ac__type_new_;
47595 int
47596 main ()
47597 {
47598 if ((ac__type_new_ *) 0)
47599 return 0;
47600 if (sizeof (ac__type_new_))
47601 return 0;
47602 ;
47603 return 0;
47604 }
47605 _ACEOF
47606 rm -f conftest.$ac_objext
47607 if { (ac_try="$ac_compile"
47608 case "(($ac_try" in
47609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47610 *) ac_try_echo=$ac_try;;
47611 esac
47612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47613 (eval "$ac_compile") 2>conftest.er1
47614 ac_status=$?
47615 grep -v '^ *+' conftest.er1 >conftest.err
47616 rm -f conftest.er1
47617 cat conftest.err >&5
47618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47619 (exit $ac_status); } && {
47620 test -z "$ac_c_werror_flag" ||
47621 test ! -s conftest.err
47622 } && test -s conftest.$ac_objext; then
47623 ac_cv_type_locale_t=yes
47624 else
47625 echo "$as_me: failed program was:" >&5
47626 sed 's/^/| /' conftest.$ac_ext >&5
47627
47628 ac_cv_type_locale_t=no
47629 fi
47630
47631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47632 fi
47633 { echo "$as_me:$LINENO: result: $ac_cv_type_locale_t" >&5
47634 echo "${ECHO_T}$ac_cv_type_locale_t" >&6; }
47635 if test $ac_cv_type_locale_t = yes; then
47636
47637 cat >>confdefs.h <<_ACEOF
47638 #define HAVE_LOCALE_T 1
47639 _ACEOF
47640
47641
47642 fi
47643
47644 fi
47645
47646 if test "$wxUSE_LOG" = "yes"; then
47647 cat >>confdefs.h <<\_ACEOF
47648 #define wxUSE_LOG 1
47649 _ACEOF
47650
47651
47652 if test "$wxUSE_LOGGUI" = "yes"; then
47653 cat >>confdefs.h <<\_ACEOF
47654 #define wxUSE_LOGGUI 1
47655 _ACEOF
47656
47657 fi
47658
47659 if test "$wxUSE_LOGWINDOW" = "yes"; then
47660 cat >>confdefs.h <<\_ACEOF
47661 #define wxUSE_LOGWINDOW 1
47662 _ACEOF
47663
47664 fi
47665
47666 if test "$wxUSE_LOGDIALOG" = "yes"; then
47667 cat >>confdefs.h <<\_ACEOF
47668 #define wxUSE_LOG_DIALOG 1
47669 _ACEOF
47670
47671 fi
47672
47673 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
47674 fi
47675
47676 if test "$wxUSE_LONGLONG" = "yes"; then
47677 cat >>confdefs.h <<\_ACEOF
47678 #define wxUSE_LONGLONG 1
47679 _ACEOF
47680
47681 fi
47682
47683 if test "$wxUSE_GEOMETRY" = "yes"; then
47684 cat >>confdefs.h <<\_ACEOF
47685 #define wxUSE_GEOMETRY 1
47686 _ACEOF
47687
47688 fi
47689
47690 if test "$wxUSE_BASE64" = "yes"; then
47691 cat >>confdefs.h <<\_ACEOF
47692 #define wxUSE_BASE64 1
47693 _ACEOF
47694
47695 fi
47696
47697 if test "$wxUSE_STREAMS" = "yes" ; then
47698 cat >>confdefs.h <<\_ACEOF
47699 #define wxUSE_STREAMS 1
47700 _ACEOF
47701
47702 fi
47703
47704 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
47705 cat >>confdefs.h <<\_ACEOF
47706 #define wxUSE_PRINTF_POS_PARAMS 1
47707 _ACEOF
47708
47709 fi
47710
47711 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
47712 cat >>confdefs.h <<\_ACEOF
47713 #define wxUSE_OBJC_UNIQUIFYING 1
47714 _ACEOF
47715
47716 fi
47717
47718
47719 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
47720 cat >>confdefs.h <<\_ACEOF
47721 #define wxUSE_CONSOLE_EVENTLOOP 1
47722 _ACEOF
47723
47724
47725 if test "$wxUSE_UNIX" = "yes"; then
47726 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
47727 cat >>confdefs.h <<\_ACEOF
47728 #define wxUSE_SELECT_DISPATCHER 1
47729 _ACEOF
47730
47731 fi
47732
47733 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
47734
47735 for ac_header in sys/epoll.h
47736 do
47737 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
47738 { echo "$as_me:$LINENO: checking for $ac_header" >&5
47739 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
47740 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
47741 echo $ECHO_N "(cached) $ECHO_C" >&6
47742 else
47743 cat >conftest.$ac_ext <<_ACEOF
47744 /* confdefs.h. */
47745 _ACEOF
47746 cat confdefs.h >>conftest.$ac_ext
47747 cat >>conftest.$ac_ext <<_ACEOF
47748 /* end confdefs.h. */
47749 $ac_includes_default
47750
47751 #include <$ac_header>
47752 _ACEOF
47753 rm -f conftest.$ac_objext
47754 if { (ac_try="$ac_compile"
47755 case "(($ac_try" in
47756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47757 *) ac_try_echo=$ac_try;;
47758 esac
47759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47760 (eval "$ac_compile") 2>conftest.er1
47761 ac_status=$?
47762 grep -v '^ *+' conftest.er1 >conftest.err
47763 rm -f conftest.er1
47764 cat conftest.err >&5
47765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47766 (exit $ac_status); } && {
47767 test -z "$ac_c_werror_flag" ||
47768 test ! -s conftest.err
47769 } && test -s conftest.$ac_objext; then
47770 eval "$as_ac_Header=yes"
47771 else
47772 echo "$as_me: failed program was:" >&5
47773 sed 's/^/| /' conftest.$ac_ext >&5
47774
47775 eval "$as_ac_Header=no"
47776 fi
47777
47778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47779 fi
47780 ac_res=`eval echo '${'$as_ac_Header'}'`
47781 { echo "$as_me:$LINENO: result: $ac_res" >&5
47782 echo "${ECHO_T}$ac_res" >&6; }
47783 if test `eval echo '${'$as_ac_Header'}'` = yes; then
47784 cat >>confdefs.h <<_ACEOF
47785 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
47786 _ACEOF
47787
47788 fi
47789
47790 done
47791
47792 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
47793 cat >>confdefs.h <<\_ACEOF
47794 #define wxUSE_EPOLL_DISPATCHER 1
47795 _ACEOF
47796
47797 else
47798 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
47799 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
47800 fi
47801 fi
47802 fi
47803 fi
47804
47805
47806
47807
47808 for ac_func in gettimeofday ftime
47809 do
47810 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47811 { echo "$as_me:$LINENO: checking for $ac_func" >&5
47812 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
47813 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
47814 echo $ECHO_N "(cached) $ECHO_C" >&6
47815 else
47816 cat >conftest.$ac_ext <<_ACEOF
47817 /* confdefs.h. */
47818 _ACEOF
47819 cat confdefs.h >>conftest.$ac_ext
47820 cat >>conftest.$ac_ext <<_ACEOF
47821 /* end confdefs.h. */
47822 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47823 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47824 #define $ac_func innocuous_$ac_func
47825
47826 /* System header to define __stub macros and hopefully few prototypes,
47827 which can conflict with char $ac_func (); below.
47828 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47829 <limits.h> exists even on freestanding compilers. */
47830
47831 #ifdef __STDC__
47832 # include <limits.h>
47833 #else
47834 # include <assert.h>
47835 #endif
47836
47837 #undef $ac_func
47838
47839 /* Override any GCC internal prototype to avoid an error.
47840 Use char because int might match the return type of a GCC
47841 builtin and then its argument prototype would still apply. */
47842 #ifdef __cplusplus
47843 extern "C"
47844 #endif
47845 char $ac_func ();
47846 /* The GNU C library defines this for functions which it implements
47847 to always fail with ENOSYS. Some functions are actually named
47848 something starting with __ and the normal name is an alias. */
47849 #if defined __stub_$ac_func || defined __stub___$ac_func
47850 choke me
47851 #endif
47852
47853 int
47854 main ()
47855 {
47856 return $ac_func ();
47857 ;
47858 return 0;
47859 }
47860 _ACEOF
47861 rm -f conftest.$ac_objext conftest$ac_exeext
47862 if { (ac_try="$ac_link"
47863 case "(($ac_try" in
47864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47865 *) ac_try_echo=$ac_try;;
47866 esac
47867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47868 (eval "$ac_link") 2>conftest.er1
47869 ac_status=$?
47870 grep -v '^ *+' conftest.er1 >conftest.err
47871 rm -f conftest.er1
47872 cat conftest.err >&5
47873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47874 (exit $ac_status); } && {
47875 test -z "$ac_c_werror_flag" ||
47876 test ! -s conftest.err
47877 } && test -s conftest$ac_exeext &&
47878 $as_test_x conftest$ac_exeext; then
47879 eval "$as_ac_var=yes"
47880 else
47881 echo "$as_me: failed program was:" >&5
47882 sed 's/^/| /' conftest.$ac_ext >&5
47883
47884 eval "$as_ac_var=no"
47885 fi
47886
47887 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
47888 conftest$ac_exeext conftest.$ac_ext
47889 fi
47890 ac_res=`eval echo '${'$as_ac_var'}'`
47891 { echo "$as_me:$LINENO: result: $ac_res" >&5
47892 echo "${ECHO_T}$ac_res" >&6; }
47893 if test `eval echo '${'$as_ac_var'}'` = yes; then
47894 cat >>confdefs.h <<_ACEOF
47895 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47896 _ACEOF
47897 break
47898 fi
47899 done
47900
47901
47902 if test "$ac_cv_func_gettimeofday" = "yes"; then
47903 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
47904 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
47905 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
47906 echo $ECHO_N "(cached) $ECHO_C" >&6
47907 else
47908
47909 cat >conftest.$ac_ext <<_ACEOF
47910 /* confdefs.h. */
47911 _ACEOF
47912 cat confdefs.h >>conftest.$ac_ext
47913 cat >>conftest.$ac_ext <<_ACEOF
47914 /* end confdefs.h. */
47915
47916 #include <sys/time.h>
47917 #include <unistd.h>
47918
47919 int
47920 main ()
47921 {
47922
47923 struct timeval tv;
47924 gettimeofday(&tv, NULL);
47925
47926 ;
47927 return 0;
47928 }
47929 _ACEOF
47930 rm -f conftest.$ac_objext
47931 if { (ac_try="$ac_compile"
47932 case "(($ac_try" in
47933 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47934 *) ac_try_echo=$ac_try;;
47935 esac
47936 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47937 (eval "$ac_compile") 2>conftest.er1
47938 ac_status=$?
47939 grep -v '^ *+' conftest.er1 >conftest.err
47940 rm -f conftest.er1
47941 cat conftest.err >&5
47942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47943 (exit $ac_status); } && {
47944 test -z "$ac_c_werror_flag" ||
47945 test ! -s conftest.err
47946 } && test -s conftest.$ac_objext; then
47947 wx_cv_func_gettimeofday_has_2_args=yes
47948 else
47949 echo "$as_me: failed program was:" >&5
47950 sed 's/^/| /' conftest.$ac_ext >&5
47951
47952 cat >conftest.$ac_ext <<_ACEOF
47953 /* confdefs.h. */
47954 _ACEOF
47955 cat confdefs.h >>conftest.$ac_ext
47956 cat >>conftest.$ac_ext <<_ACEOF
47957 /* end confdefs.h. */
47958
47959 #include <sys/time.h>
47960 #include <unistd.h>
47961
47962 int
47963 main ()
47964 {
47965
47966 struct timeval tv;
47967 gettimeofday(&tv);
47968
47969 ;
47970 return 0;
47971 }
47972 _ACEOF
47973 rm -f conftest.$ac_objext
47974 if { (ac_try="$ac_compile"
47975 case "(($ac_try" in
47976 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47977 *) ac_try_echo=$ac_try;;
47978 esac
47979 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47980 (eval "$ac_compile") 2>conftest.er1
47981 ac_status=$?
47982 grep -v '^ *+' conftest.er1 >conftest.err
47983 rm -f conftest.er1
47984 cat conftest.err >&5
47985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47986 (exit $ac_status); } && {
47987 test -z "$ac_c_werror_flag" ||
47988 test ! -s conftest.err
47989 } && test -s conftest.$ac_objext; then
47990 wx_cv_func_gettimeofday_has_2_args=no
47991 else
47992 echo "$as_me: failed program was:" >&5
47993 sed 's/^/| /' conftest.$ac_ext >&5
47994
47995
47996 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
47997 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
47998 wx_cv_func_gettimeofday_has_2_args=unknown
47999
48000
48001 fi
48002
48003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48004
48005 fi
48006
48007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48008
48009 fi
48010 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
48011 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
48012
48013 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
48014 cat >>confdefs.h <<\_ACEOF
48015 #define WX_GETTIMEOFDAY_NO_TZ 1
48016 _ACEOF
48017
48018 fi
48019 fi
48020
48021 if test "$wxUSE_DATETIME" = "yes"; then
48022 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
48023 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
48024 if test "${wx_cv_var_timezone+set}" = set; then
48025 echo $ECHO_N "(cached) $ECHO_C" >&6
48026 else
48027
48028 ac_ext=cpp
48029 ac_cpp='$CXXCPP $CPPFLAGS'
48030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48033
48034 cat >conftest.$ac_ext <<_ACEOF
48035 /* confdefs.h. */
48036 _ACEOF
48037 cat confdefs.h >>conftest.$ac_ext
48038 cat >>conftest.$ac_ext <<_ACEOF
48039 /* end confdefs.h. */
48040
48041 #include <time.h>
48042
48043 int
48044 main ()
48045 {
48046
48047 int tz;
48048 tz = timezone;
48049
48050 ;
48051 return 0;
48052 }
48053 _ACEOF
48054 rm -f conftest.$ac_objext
48055 if { (ac_try="$ac_compile"
48056 case "(($ac_try" in
48057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48058 *) ac_try_echo=$ac_try;;
48059 esac
48060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48061 (eval "$ac_compile") 2>conftest.er1
48062 ac_status=$?
48063 grep -v '^ *+' conftest.er1 >conftest.err
48064 rm -f conftest.er1
48065 cat conftest.err >&5
48066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48067 (exit $ac_status); } && {
48068 test -z "$ac_cxx_werror_flag" ||
48069 test ! -s conftest.err
48070 } && test -s conftest.$ac_objext; then
48071
48072 wx_cv_var_timezone=timezone
48073
48074 else
48075 echo "$as_me: failed program was:" >&5
48076 sed 's/^/| /' conftest.$ac_ext >&5
48077
48078
48079 cat >conftest.$ac_ext <<_ACEOF
48080 /* confdefs.h. */
48081 _ACEOF
48082 cat confdefs.h >>conftest.$ac_ext
48083 cat >>conftest.$ac_ext <<_ACEOF
48084 /* end confdefs.h. */
48085
48086 #include <time.h>
48087
48088 int
48089 main ()
48090 {
48091
48092 int tz;
48093 tz = _timezone;
48094
48095 ;
48096 return 0;
48097 }
48098 _ACEOF
48099 rm -f conftest.$ac_objext
48100 if { (ac_try="$ac_compile"
48101 case "(($ac_try" in
48102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48103 *) ac_try_echo=$ac_try;;
48104 esac
48105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48106 (eval "$ac_compile") 2>conftest.er1
48107 ac_status=$?
48108 grep -v '^ *+' conftest.er1 >conftest.err
48109 rm -f conftest.er1
48110 cat conftest.err >&5
48111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48112 (exit $ac_status); } && {
48113 test -z "$ac_cxx_werror_flag" ||
48114 test ! -s conftest.err
48115 } && test -s conftest.$ac_objext; then
48116
48117 wx_cv_var_timezone=_timezone
48118
48119 else
48120 echo "$as_me: failed program was:" >&5
48121 sed 's/^/| /' conftest.$ac_ext >&5
48122
48123
48124 cat >conftest.$ac_ext <<_ACEOF
48125 /* confdefs.h. */
48126 _ACEOF
48127 cat confdefs.h >>conftest.$ac_ext
48128 cat >>conftest.$ac_ext <<_ACEOF
48129 /* end confdefs.h. */
48130
48131 #include <time.h>
48132
48133 int
48134 main ()
48135 {
48136
48137 int tz;
48138 tz = __timezone;
48139
48140 ;
48141 return 0;
48142 }
48143 _ACEOF
48144 rm -f conftest.$ac_objext
48145 if { (ac_try="$ac_compile"
48146 case "(($ac_try" in
48147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48148 *) ac_try_echo=$ac_try;;
48149 esac
48150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48151 (eval "$ac_compile") 2>conftest.er1
48152 ac_status=$?
48153 grep -v '^ *+' conftest.er1 >conftest.err
48154 rm -f conftest.er1
48155 cat conftest.err >&5
48156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48157 (exit $ac_status); } && {
48158 test -z "$ac_cxx_werror_flag" ||
48159 test ! -s conftest.err
48160 } && test -s conftest.$ac_objext; then
48161
48162 wx_cv_var_timezone=__timezone
48163
48164 else
48165 echo "$as_me: failed program was:" >&5
48166 sed 's/^/| /' conftest.$ac_ext >&5
48167
48168
48169 if test "$USE_DOS" = 0 ; then
48170 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
48171 echo "$as_me: WARNING: no timezone variable" >&2;}
48172 fi
48173
48174
48175 fi
48176
48177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48178
48179
48180 fi
48181
48182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48183
48184
48185 fi
48186
48187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48188 ac_ext=c
48189 ac_cpp='$CPP $CPPFLAGS'
48190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48193
48194
48195
48196 fi
48197 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
48198 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
48199
48200 if test "x$wx_cv_var_timezone" != x ; then
48201 cat >>confdefs.h <<_ACEOF
48202 #define WX_TIMEZONE $wx_cv_var_timezone
48203 _ACEOF
48204
48205 fi
48206
48207
48208 for ac_func in localtime
48209 do
48210 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48211 { echo "$as_me:$LINENO: checking for $ac_func" >&5
48212 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
48213 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
48214 echo $ECHO_N "(cached) $ECHO_C" >&6
48215 else
48216 cat >conftest.$ac_ext <<_ACEOF
48217 /* confdefs.h. */
48218 _ACEOF
48219 cat confdefs.h >>conftest.$ac_ext
48220 cat >>conftest.$ac_ext <<_ACEOF
48221 /* end confdefs.h. */
48222 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48223 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48224 #define $ac_func innocuous_$ac_func
48225
48226 /* System header to define __stub macros and hopefully few prototypes,
48227 which can conflict with char $ac_func (); below.
48228 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48229 <limits.h> exists even on freestanding compilers. */
48230
48231 #ifdef __STDC__
48232 # include <limits.h>
48233 #else
48234 # include <assert.h>
48235 #endif
48236
48237 #undef $ac_func
48238
48239 /* Override any GCC internal prototype to avoid an error.
48240 Use char because int might match the return type of a GCC
48241 builtin and then its argument prototype would still apply. */
48242 #ifdef __cplusplus
48243 extern "C"
48244 #endif
48245 char $ac_func ();
48246 /* The GNU C library defines this for functions which it implements
48247 to always fail with ENOSYS. Some functions are actually named
48248 something starting with __ and the normal name is an alias. */
48249 #if defined __stub_$ac_func || defined __stub___$ac_func
48250 choke me
48251 #endif
48252
48253 int
48254 main ()
48255 {
48256 return $ac_func ();
48257 ;
48258 return 0;
48259 }
48260 _ACEOF
48261 rm -f conftest.$ac_objext conftest$ac_exeext
48262 if { (ac_try="$ac_link"
48263 case "(($ac_try" in
48264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48265 *) ac_try_echo=$ac_try;;
48266 esac
48267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48268 (eval "$ac_link") 2>conftest.er1
48269 ac_status=$?
48270 grep -v '^ *+' conftest.er1 >conftest.err
48271 rm -f conftest.er1
48272 cat conftest.err >&5
48273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48274 (exit $ac_status); } && {
48275 test -z "$ac_c_werror_flag" ||
48276 test ! -s conftest.err
48277 } && test -s conftest$ac_exeext &&
48278 $as_test_x conftest$ac_exeext; then
48279 eval "$as_ac_var=yes"
48280 else
48281 echo "$as_me: failed program was:" >&5
48282 sed 's/^/| /' conftest.$ac_ext >&5
48283
48284 eval "$as_ac_var=no"
48285 fi
48286
48287 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
48288 conftest$ac_exeext conftest.$ac_ext
48289 fi
48290 ac_res=`eval echo '${'$as_ac_var'}'`
48291 { echo "$as_me:$LINENO: result: $ac_res" >&5
48292 echo "${ECHO_T}$ac_res" >&6; }
48293 if test `eval echo '${'$as_ac_var'}'` = yes; then
48294 cat >>confdefs.h <<_ACEOF
48295 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48296 _ACEOF
48297
48298 fi
48299 done
48300
48301
48302 if test "$ac_cv_func_localtime" = "yes"; then
48303 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
48304 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
48305 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
48306 echo $ECHO_N "(cached) $ECHO_C" >&6
48307 else
48308
48309 cat >conftest.$ac_ext <<_ACEOF
48310 /* confdefs.h. */
48311 _ACEOF
48312 cat confdefs.h >>conftest.$ac_ext
48313 cat >>conftest.$ac_ext <<_ACEOF
48314 /* end confdefs.h. */
48315
48316 #include <time.h>
48317
48318 int
48319 main ()
48320 {
48321
48322 struct tm tm;
48323 tm.tm_gmtoff++;
48324
48325 ;
48326 return 0;
48327 }
48328 _ACEOF
48329 rm -f conftest.$ac_objext
48330 if { (ac_try="$ac_compile"
48331 case "(($ac_try" in
48332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48333 *) ac_try_echo=$ac_try;;
48334 esac
48335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48336 (eval "$ac_compile") 2>conftest.er1
48337 ac_status=$?
48338 grep -v '^ *+' conftest.er1 >conftest.err
48339 rm -f conftest.er1
48340 cat conftest.err >&5
48341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48342 (exit $ac_status); } && {
48343 test -z "$ac_c_werror_flag" ||
48344 test ! -s conftest.err
48345 } && test -s conftest.$ac_objext; then
48346
48347 wx_cv_struct_tm_has_gmtoff=yes
48348
48349 else
48350 echo "$as_me: failed program was:" >&5
48351 sed 's/^/| /' conftest.$ac_ext >&5
48352
48353 wx_cv_struct_tm_has_gmtoff=no
48354
48355 fi
48356
48357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48358
48359 fi
48360 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
48361 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
48362 fi
48363
48364 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
48365 cat >>confdefs.h <<\_ACEOF
48366 #define WX_GMTOFF_IN_TM 1
48367 _ACEOF
48368
48369 fi
48370
48371 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
48372 fi
48373
48374
48375 if test "$wxUSE_SOCKETS" = "yes"; then
48376 if test "$TOOLKIT" != "MSW"; then
48377 { echo "$as_me:$LINENO: checking for socket" >&5
48378 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
48379 if test "${ac_cv_func_socket+set}" = set; then
48380 echo $ECHO_N "(cached) $ECHO_C" >&6
48381 else
48382 cat >conftest.$ac_ext <<_ACEOF
48383 /* confdefs.h. */
48384 _ACEOF
48385 cat confdefs.h >>conftest.$ac_ext
48386 cat >>conftest.$ac_ext <<_ACEOF
48387 /* end confdefs.h. */
48388 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
48389 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48390 #define socket innocuous_socket
48391
48392 /* System header to define __stub macros and hopefully few prototypes,
48393 which can conflict with char socket (); below.
48394 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48395 <limits.h> exists even on freestanding compilers. */
48396
48397 #ifdef __STDC__
48398 # include <limits.h>
48399 #else
48400 # include <assert.h>
48401 #endif
48402
48403 #undef socket
48404
48405 /* Override any GCC internal prototype to avoid an error.
48406 Use char because int might match the return type of a GCC
48407 builtin and then its argument prototype would still apply. */
48408 #ifdef __cplusplus
48409 extern "C"
48410 #endif
48411 char socket ();
48412 /* The GNU C library defines this for functions which it implements
48413 to always fail with ENOSYS. Some functions are actually named
48414 something starting with __ and the normal name is an alias. */
48415 #if defined __stub_socket || defined __stub___socket
48416 choke me
48417 #endif
48418
48419 int
48420 main ()
48421 {
48422 return socket ();
48423 ;
48424 return 0;
48425 }
48426 _ACEOF
48427 rm -f conftest.$ac_objext conftest$ac_exeext
48428 if { (ac_try="$ac_link"
48429 case "(($ac_try" in
48430 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48431 *) ac_try_echo=$ac_try;;
48432 esac
48433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48434 (eval "$ac_link") 2>conftest.er1
48435 ac_status=$?
48436 grep -v '^ *+' conftest.er1 >conftest.err
48437 rm -f conftest.er1
48438 cat conftest.err >&5
48439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48440 (exit $ac_status); } && {
48441 test -z "$ac_c_werror_flag" ||
48442 test ! -s conftest.err
48443 } && test -s conftest$ac_exeext &&
48444 $as_test_x conftest$ac_exeext; then
48445 ac_cv_func_socket=yes
48446 else
48447 echo "$as_me: failed program was:" >&5
48448 sed 's/^/| /' conftest.$ac_ext >&5
48449
48450 ac_cv_func_socket=no
48451 fi
48452
48453 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
48454 conftest$ac_exeext conftest.$ac_ext
48455 fi
48456 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
48457 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
48458 if test $ac_cv_func_socket = yes; then
48459 :
48460 else
48461
48462 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
48463 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
48464 if test "${ac_cv_lib_socket_socket+set}" = set; then
48465 echo $ECHO_N "(cached) $ECHO_C" >&6
48466 else
48467 ac_check_lib_save_LIBS=$LIBS
48468 LIBS="-lsocket $LIBS"
48469 cat >conftest.$ac_ext <<_ACEOF
48470 /* confdefs.h. */
48471 _ACEOF
48472 cat confdefs.h >>conftest.$ac_ext
48473 cat >>conftest.$ac_ext <<_ACEOF
48474 /* end confdefs.h. */
48475
48476 /* Override any GCC internal prototype to avoid an error.
48477 Use char because int might match the return type of a GCC
48478 builtin and then its argument prototype would still apply. */
48479 #ifdef __cplusplus
48480 extern "C"
48481 #endif
48482 char socket ();
48483 int
48484 main ()
48485 {
48486 return socket ();
48487 ;
48488 return 0;
48489 }
48490 _ACEOF
48491 rm -f conftest.$ac_objext conftest$ac_exeext
48492 if { (ac_try="$ac_link"
48493 case "(($ac_try" in
48494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48495 *) ac_try_echo=$ac_try;;
48496 esac
48497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48498 (eval "$ac_link") 2>conftest.er1
48499 ac_status=$?
48500 grep -v '^ *+' conftest.er1 >conftest.err
48501 rm -f conftest.er1
48502 cat conftest.err >&5
48503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48504 (exit $ac_status); } && {
48505 test -z "$ac_c_werror_flag" ||
48506 test ! -s conftest.err
48507 } && test -s conftest$ac_exeext &&
48508 $as_test_x conftest$ac_exeext; then
48509 ac_cv_lib_socket_socket=yes
48510 else
48511 echo "$as_me: failed program was:" >&5
48512 sed 's/^/| /' conftest.$ac_ext >&5
48513
48514 ac_cv_lib_socket_socket=no
48515 fi
48516
48517 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
48518 conftest$ac_exeext conftest.$ac_ext
48519 LIBS=$ac_check_lib_save_LIBS
48520 fi
48521 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
48522 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
48523 if test $ac_cv_lib_socket_socket = yes; then
48524 if test "$INET_LINK" != " -lsocket"; then
48525 INET_LINK="$INET_LINK -lsocket"
48526 fi
48527 else
48528
48529 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
48530 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
48531 wxUSE_SOCKETS=no
48532
48533
48534 fi
48535
48536
48537
48538 fi
48539
48540 fi
48541 fi
48542
48543 if test "$wxUSE_SOCKETS" = "yes" ; then
48544 if test "$TOOLKIT" != "MSW"; then
48545 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
48546 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
48547 if test "${wx_cv_type_getsockname3+set}" = set; then
48548 echo $ECHO_N "(cached) $ECHO_C" >&6
48549 else
48550
48551 ac_ext=cpp
48552 ac_cpp='$CXXCPP $CPPFLAGS'
48553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48556
48557 cat >conftest.$ac_ext <<_ACEOF
48558 /* confdefs.h. */
48559 _ACEOF
48560 cat confdefs.h >>conftest.$ac_ext
48561 cat >>conftest.$ac_ext <<_ACEOF
48562 /* end confdefs.h. */
48563
48564 #include <sys/types.h>
48565 #include <sys/socket.h>
48566
48567 int
48568 main ()
48569 {
48570
48571 socklen_t len;
48572 getsockname(0, 0, &len);
48573
48574 ;
48575 return 0;
48576 }
48577 _ACEOF
48578 rm -f conftest.$ac_objext
48579 if { (ac_try="$ac_compile"
48580 case "(($ac_try" in
48581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48582 *) ac_try_echo=$ac_try;;
48583 esac
48584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48585 (eval "$ac_compile") 2>conftest.er1
48586 ac_status=$?
48587 grep -v '^ *+' conftest.er1 >conftest.err
48588 rm -f conftest.er1
48589 cat conftest.err >&5
48590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48591 (exit $ac_status); } && {
48592 test -z "$ac_cxx_werror_flag" ||
48593 test ! -s conftest.err
48594 } && test -s conftest.$ac_objext; then
48595 wx_cv_type_getsockname3=socklen_t
48596 else
48597 echo "$as_me: failed program was:" >&5
48598 sed 's/^/| /' conftest.$ac_ext >&5
48599
48600
48601 CFLAGS_OLD="$CFLAGS"
48602 if test "$GCC" = yes ; then
48603 CFLAGS="-Werror $CFLAGS"
48604 fi
48605
48606 cat >conftest.$ac_ext <<_ACEOF
48607 /* confdefs.h. */
48608 _ACEOF
48609 cat confdefs.h >>conftest.$ac_ext
48610 cat >>conftest.$ac_ext <<_ACEOF
48611 /* end confdefs.h. */
48612
48613 #include <sys/types.h>
48614 #include <sys/socket.h>
48615
48616 int
48617 main ()
48618 {
48619
48620 size_t len;
48621 getsockname(0, 0, &len);
48622
48623 ;
48624 return 0;
48625 }
48626 _ACEOF
48627 rm -f conftest.$ac_objext
48628 if { (ac_try="$ac_compile"
48629 case "(($ac_try" in
48630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48631 *) ac_try_echo=$ac_try;;
48632 esac
48633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48634 (eval "$ac_compile") 2>conftest.er1
48635 ac_status=$?
48636 grep -v '^ *+' conftest.er1 >conftest.err
48637 rm -f conftest.er1
48638 cat conftest.err >&5
48639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48640 (exit $ac_status); } && {
48641 test -z "$ac_cxx_werror_flag" ||
48642 test ! -s conftest.err
48643 } && test -s conftest.$ac_objext; then
48644 wx_cv_type_getsockname3=size_t
48645 else
48646 echo "$as_me: failed program was:" >&5
48647 sed 's/^/| /' conftest.$ac_ext >&5
48648
48649 cat >conftest.$ac_ext <<_ACEOF
48650 /* confdefs.h. */
48651 _ACEOF
48652 cat confdefs.h >>conftest.$ac_ext
48653 cat >>conftest.$ac_ext <<_ACEOF
48654 /* end confdefs.h. */
48655
48656 #include <sys/types.h>
48657 #include <sys/socket.h>
48658
48659 int
48660 main ()
48661 {
48662
48663 int len;
48664 getsockname(0, 0, &len);
48665
48666 ;
48667 return 0;
48668 }
48669 _ACEOF
48670 rm -f conftest.$ac_objext
48671 if { (ac_try="$ac_compile"
48672 case "(($ac_try" in
48673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48674 *) ac_try_echo=$ac_try;;
48675 esac
48676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48677 (eval "$ac_compile") 2>conftest.er1
48678 ac_status=$?
48679 grep -v '^ *+' conftest.er1 >conftest.err
48680 rm -f conftest.er1
48681 cat conftest.err >&5
48682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48683 (exit $ac_status); } && {
48684 test -z "$ac_cxx_werror_flag" ||
48685 test ! -s conftest.err
48686 } && test -s conftest.$ac_objext; then
48687 wx_cv_type_getsockname3=int
48688 else
48689 echo "$as_me: failed program was:" >&5
48690 sed 's/^/| /' conftest.$ac_ext >&5
48691
48692 wx_cv_type_getsockname3=unknown
48693
48694 fi
48695
48696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48697
48698 fi
48699
48700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48701
48702 CFLAGS="$CFLAGS_OLD"
48703
48704
48705 fi
48706
48707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48708 ac_ext=c
48709 ac_cpp='$CPP $CPPFLAGS'
48710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48713
48714
48715 fi
48716 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
48717 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
48718
48719 if test "$wx_cv_type_getsockname3" = "unknown"; then
48720 wxUSE_SOCKETS=no
48721 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
48722 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
48723 else
48724 cat >>confdefs.h <<_ACEOF
48725 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
48726 _ACEOF
48727
48728 fi
48729 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
48730 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
48731 if test "${wx_cv_type_getsockopt5+set}" = set; then
48732 echo $ECHO_N "(cached) $ECHO_C" >&6
48733 else
48734
48735 ac_ext=cpp
48736 ac_cpp='$CXXCPP $CPPFLAGS'
48737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48740
48741 cat >conftest.$ac_ext <<_ACEOF
48742 /* confdefs.h. */
48743 _ACEOF
48744 cat confdefs.h >>conftest.$ac_ext
48745 cat >>conftest.$ac_ext <<_ACEOF
48746 /* end confdefs.h. */
48747
48748 #include <sys/types.h>
48749 #include <sys/socket.h>
48750
48751 int
48752 main ()
48753 {
48754
48755 socklen_t len;
48756 getsockopt(0, 0, 0, 0, &len);
48757
48758 ;
48759 return 0;
48760 }
48761 _ACEOF
48762 rm -f conftest.$ac_objext
48763 if { (ac_try="$ac_compile"
48764 case "(($ac_try" in
48765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48766 *) ac_try_echo=$ac_try;;
48767 esac
48768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48769 (eval "$ac_compile") 2>conftest.er1
48770 ac_status=$?
48771 grep -v '^ *+' conftest.er1 >conftest.err
48772 rm -f conftest.er1
48773 cat conftest.err >&5
48774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48775 (exit $ac_status); } && {
48776 test -z "$ac_cxx_werror_flag" ||
48777 test ! -s conftest.err
48778 } && test -s conftest.$ac_objext; then
48779 wx_cv_type_getsockopt5=socklen_t
48780 else
48781 echo "$as_me: failed program was:" >&5
48782 sed 's/^/| /' conftest.$ac_ext >&5
48783
48784
48785 cat >conftest.$ac_ext <<_ACEOF
48786 /* confdefs.h. */
48787 _ACEOF
48788 cat confdefs.h >>conftest.$ac_ext
48789 cat >>conftest.$ac_ext <<_ACEOF
48790 /* end confdefs.h. */
48791
48792 #include <sys/types.h>
48793 #include <sys/socket.h>
48794
48795 int
48796 main ()
48797 {
48798
48799 size_t len;
48800 getsockopt(0, 0, 0, 0, &len);
48801
48802 ;
48803 return 0;
48804 }
48805 _ACEOF
48806 rm -f conftest.$ac_objext
48807 if { (ac_try="$ac_compile"
48808 case "(($ac_try" in
48809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48810 *) ac_try_echo=$ac_try;;
48811 esac
48812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48813 (eval "$ac_compile") 2>conftest.er1
48814 ac_status=$?
48815 grep -v '^ *+' conftest.er1 >conftest.err
48816 rm -f conftest.er1
48817 cat conftest.err >&5
48818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48819 (exit $ac_status); } && {
48820 test -z "$ac_cxx_werror_flag" ||
48821 test ! -s conftest.err
48822 } && test -s conftest.$ac_objext; then
48823 wx_cv_type_getsockopt5=size_t
48824 else
48825 echo "$as_me: failed program was:" >&5
48826 sed 's/^/| /' conftest.$ac_ext >&5
48827
48828 cat >conftest.$ac_ext <<_ACEOF
48829 /* confdefs.h. */
48830 _ACEOF
48831 cat confdefs.h >>conftest.$ac_ext
48832 cat >>conftest.$ac_ext <<_ACEOF
48833 /* end confdefs.h. */
48834
48835 #include <sys/types.h>
48836 #include <sys/socket.h>
48837
48838 int
48839 main ()
48840 {
48841
48842 int len;
48843 getsockopt(0, 0, 0, 0, &len);
48844
48845 ;
48846 return 0;
48847 }
48848 _ACEOF
48849 rm -f conftest.$ac_objext
48850 if { (ac_try="$ac_compile"
48851 case "(($ac_try" in
48852 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48853 *) ac_try_echo=$ac_try;;
48854 esac
48855 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48856 (eval "$ac_compile") 2>conftest.er1
48857 ac_status=$?
48858 grep -v '^ *+' conftest.er1 >conftest.err
48859 rm -f conftest.er1
48860 cat conftest.err >&5
48861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48862 (exit $ac_status); } && {
48863 test -z "$ac_cxx_werror_flag" ||
48864 test ! -s conftest.err
48865 } && test -s conftest.$ac_objext; then
48866 wx_cv_type_getsockopt5=int
48867 else
48868 echo "$as_me: failed program was:" >&5
48869 sed 's/^/| /' conftest.$ac_ext >&5
48870
48871 wx_cv_type_getsockopt5=unknown
48872
48873 fi
48874
48875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48876
48877 fi
48878
48879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48880
48881
48882 fi
48883
48884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48885 ac_ext=c
48886 ac_cpp='$CPP $CPPFLAGS'
48887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48890
48891
48892 fi
48893 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
48894 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
48895
48896 if test "$wx_cv_type_getsockopt5" = "unknown"; then
48897 wxUSE_SOCKETS=no
48898 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
48899 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
48900 else
48901 cat >>confdefs.h <<_ACEOF
48902 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
48903 _ACEOF
48904
48905 fi
48906 fi
48907 fi
48908
48909 if test "$wxUSE_SOCKETS" = "yes" ; then
48910 if test "$wxUSE_IPV6" = "yes"; then
48911 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
48912 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
48913 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
48914 echo $ECHO_N "(cached) $ECHO_C" >&6
48915 else
48916
48917 cat >conftest.$ac_ext <<_ACEOF
48918 /* confdefs.h. */
48919 _ACEOF
48920 cat confdefs.h >>conftest.$ac_ext
48921 cat >>conftest.$ac_ext <<_ACEOF
48922 /* end confdefs.h. */
48923
48924 #include <sys/types.h>
48925 #include <sys/socket.h>
48926 #include <netinet/in.h>
48927
48928 int
48929 main ()
48930 {
48931
48932 struct sockaddr_in6 sa6;
48933
48934 ;
48935 return 0;
48936 }
48937 _ACEOF
48938 rm -f conftest.$ac_objext
48939 if { (ac_try="$ac_compile"
48940 case "(($ac_try" in
48941 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48942 *) ac_try_echo=$ac_try;;
48943 esac
48944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48945 (eval "$ac_compile") 2>conftest.er1
48946 ac_status=$?
48947 grep -v '^ *+' conftest.er1 >conftest.err
48948 rm -f conftest.er1
48949 cat conftest.err >&5
48950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48951 (exit $ac_status); } && {
48952 test -z "$ac_c_werror_flag" ||
48953 test ! -s conftest.err
48954 } && test -s conftest.$ac_objext; then
48955 wx_cv_type_sockaddr_in6=yes
48956 else
48957 echo "$as_me: failed program was:" >&5
48958 sed 's/^/| /' conftest.$ac_ext >&5
48959
48960 wx_cv_type_sockaddr_in6=no
48961
48962 fi
48963
48964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48965
48966
48967 fi
48968 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
48969 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
48970
48971 if test "$wx_cv_type_sockaddr_in6"="yes"; then
48972 cat >>confdefs.h <<\_ACEOF
48973 #define wxUSE_IPV6 1
48974 _ACEOF
48975
48976 else
48977 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
48978 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
48979 fi
48980 fi
48981
48982 cat >>confdefs.h <<\_ACEOF
48983 #define wxUSE_SOCKETS 1
48984 _ACEOF
48985
48986 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
48987 fi
48988
48989 if test "$wxUSE_PROTOCOL" = "yes"; then
48990 if test "$wxUSE_SOCKETS" != "yes"; then
48991 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
48992 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
48993 wxUSE_PROTOCOL=no
48994 fi
48995 fi
48996
48997 if test "$wxUSE_PROTOCOL" = "yes"; then
48998 cat >>confdefs.h <<\_ACEOF
48999 #define wxUSE_PROTOCOL 1
49000 _ACEOF
49001
49002
49003 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
49004 cat >>confdefs.h <<\_ACEOF
49005 #define wxUSE_PROTOCOL_HTTP 1
49006 _ACEOF
49007
49008 fi
49009 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
49010 cat >>confdefs.h <<\_ACEOF
49011 #define wxUSE_PROTOCOL_FTP 1
49012 _ACEOF
49013
49014 fi
49015 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
49016 cat >>confdefs.h <<\_ACEOF
49017 #define wxUSE_PROTOCOL_FILE 1
49018 _ACEOF
49019
49020 fi
49021 else
49022 if test "$wxUSE_FS_INET" = "yes"; then
49023 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
49024 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
49025 wxUSE_FS_INET="no"
49026 fi
49027 fi
49028
49029 if test "$wxUSE_URL" = "yes"; then
49030 if test "$wxUSE_PROTOCOL" != "yes"; then
49031 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
49032 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
49033 wxUSE_URL=no
49034 fi
49035 if test "$wxUSE_URL" = "yes"; then
49036 cat >>confdefs.h <<\_ACEOF
49037 #define wxUSE_URL 1
49038 _ACEOF
49039
49040 fi
49041 fi
49042
49043 if test "$wxUSE_VARIANT" = "yes"; then
49044 cat >>confdefs.h <<\_ACEOF
49045 #define wxUSE_VARIANT 1
49046 _ACEOF
49047
49048 fi
49049
49050 if test "$wxUSE_FS_INET" = "yes"; then
49051 cat >>confdefs.h <<\_ACEOF
49052 #define wxUSE_FS_INET 1
49053 _ACEOF
49054
49055 fi
49056
49057
49058 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
49059 wxUSE_JOYSTICK=no
49060
49061 if test "$TOOLKIT" = "MSW"; then
49062 wxUSE_JOYSTICK=yes
49063
49064 elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
49065 if test "$USE_DARWIN" = 1; then
49066 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
49067 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
49068 ac_ext=cpp
49069 ac_cpp='$CXXCPP $CPPFLAGS'
49070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49073
49074 cat >conftest.$ac_ext <<_ACEOF
49075 /* confdefs.h. */
49076 _ACEOF
49077 cat confdefs.h >>conftest.$ac_ext
49078 cat >>conftest.$ac_ext <<_ACEOF
49079 /* end confdefs.h. */
49080 #include <IOKit/hid/IOHIDLib.h>
49081 int
49082 main ()
49083 {
49084 IOHIDQueueInterface *qi = NULL;
49085 IOHIDCallbackFunction cb = NULL;
49086 qi->setEventCallout(NULL, cb, NULL, NULL);
49087 ;
49088 return 0;
49089 }
49090 _ACEOF
49091 rm -f conftest.$ac_objext
49092 if { (ac_try="$ac_compile"
49093 case "(($ac_try" in
49094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49095 *) ac_try_echo=$ac_try;;
49096 esac
49097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49098 (eval "$ac_compile") 2>conftest.er1
49099 ac_status=$?
49100 grep -v '^ *+' conftest.er1 >conftest.err
49101 rm -f conftest.er1
49102 cat conftest.err >&5
49103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49104 (exit $ac_status); } && {
49105 test -z "$ac_cxx_werror_flag" ||
49106 test ! -s conftest.err
49107 } && test -s conftest.$ac_objext; then
49108 wxUSE_JOYSTICK=yes
49109
49110 else
49111 echo "$as_me: failed program was:" >&5
49112 sed 's/^/| /' conftest.$ac_ext >&5
49113
49114
49115 fi
49116
49117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49118 ac_ext=c
49119 ac_cpp='$CPP $CPPFLAGS'
49120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49123
49124 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
49125 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
49126 fi
49127
49128 else
49129
49130 for ac_header in linux/joystick.h
49131 do
49132 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
49133 { echo "$as_me:$LINENO: checking for $ac_header" >&5
49134 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
49135 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
49136 echo $ECHO_N "(cached) $ECHO_C" >&6
49137 else
49138 cat >conftest.$ac_ext <<_ACEOF
49139 /* confdefs.h. */
49140 _ACEOF
49141 cat confdefs.h >>conftest.$ac_ext
49142 cat >>conftest.$ac_ext <<_ACEOF
49143 /* end confdefs.h. */
49144 $ac_includes_default
49145
49146 #include <$ac_header>
49147 _ACEOF
49148 rm -f conftest.$ac_objext
49149 if { (ac_try="$ac_compile"
49150 case "(($ac_try" in
49151 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49152 *) ac_try_echo=$ac_try;;
49153 esac
49154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49155 (eval "$ac_compile") 2>conftest.er1
49156 ac_status=$?
49157 grep -v '^ *+' conftest.er1 >conftest.err
49158 rm -f conftest.er1
49159 cat conftest.err >&5
49160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49161 (exit $ac_status); } && {
49162 test -z "$ac_c_werror_flag" ||
49163 test ! -s conftest.err
49164 } && test -s conftest.$ac_objext; then
49165 eval "$as_ac_Header=yes"
49166 else
49167 echo "$as_me: failed program was:" >&5
49168 sed 's/^/| /' conftest.$ac_ext >&5
49169
49170 eval "$as_ac_Header=no"
49171 fi
49172
49173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49174 fi
49175 ac_res=`eval echo '${'$as_ac_Header'}'`
49176 { echo "$as_me:$LINENO: result: $ac_res" >&5
49177 echo "${ECHO_T}$ac_res" >&6; }
49178 if test `eval echo '${'$as_ac_Header'}'` = yes; then
49179 cat >>confdefs.h <<_ACEOF
49180 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
49181 _ACEOF
49182 wxUSE_JOYSTICK=yes
49183 fi
49184
49185 done
49186
49187 fi
49188
49189 if test "$wxUSE_JOYSTICK" = "yes"; then
49190 cat >>confdefs.h <<\_ACEOF
49191 #define wxUSE_JOYSTICK 1
49192 _ACEOF
49193
49194 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
49195 else
49196 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
49197 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
49198 fi
49199 fi
49200
49201
49202
49203 if test "$wxUSE_FONTENUM" = "yes" ; then
49204 cat >>confdefs.h <<\_ACEOF
49205 #define wxUSE_FONTENUM 1
49206 _ACEOF
49207
49208 fi
49209
49210 if test "$wxUSE_FONTMAP" = "yes" ; then
49211 cat >>confdefs.h <<\_ACEOF
49212 #define wxUSE_FONTMAP 1
49213 _ACEOF
49214
49215 fi
49216
49217 if test "$wxUSE_UNICODE" = "yes" ; then
49218 cat >>confdefs.h <<\_ACEOF
49219 #define wxUSE_UNICODE 1
49220 _ACEOF
49221
49222
49223 if test "$USE_WIN32" != 1; then
49224 wxUSE_UNICODE_MSLU=no
49225 fi
49226
49227 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
49228 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
49229 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
49230 if test "${ac_cv_lib_unicows_main+set}" = set; then
49231 echo $ECHO_N "(cached) $ECHO_C" >&6
49232 else
49233 ac_check_lib_save_LIBS=$LIBS
49234 LIBS="-lunicows $LIBS"
49235 cat >conftest.$ac_ext <<_ACEOF
49236 /* confdefs.h. */
49237 _ACEOF
49238 cat confdefs.h >>conftest.$ac_ext
49239 cat >>conftest.$ac_ext <<_ACEOF
49240 /* end confdefs.h. */
49241
49242
49243 int
49244 main ()
49245 {
49246 return main ();
49247 ;
49248 return 0;
49249 }
49250 _ACEOF
49251 rm -f conftest.$ac_objext conftest$ac_exeext
49252 if { (ac_try="$ac_link"
49253 case "(($ac_try" in
49254 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49255 *) ac_try_echo=$ac_try;;
49256 esac
49257 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49258 (eval "$ac_link") 2>conftest.er1
49259 ac_status=$?
49260 grep -v '^ *+' conftest.er1 >conftest.err
49261 rm -f conftest.er1
49262 cat conftest.err >&5
49263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49264 (exit $ac_status); } && {
49265 test -z "$ac_c_werror_flag" ||
49266 test ! -s conftest.err
49267 } && test -s conftest$ac_exeext &&
49268 $as_test_x conftest$ac_exeext; then
49269 ac_cv_lib_unicows_main=yes
49270 else
49271 echo "$as_me: failed program was:" >&5
49272 sed 's/^/| /' conftest.$ac_ext >&5
49273
49274 ac_cv_lib_unicows_main=no
49275 fi
49276
49277 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
49278 conftest$ac_exeext conftest.$ac_ext
49279 LIBS=$ac_check_lib_save_LIBS
49280 fi
49281 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
49282 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
49283 if test $ac_cv_lib_unicows_main = yes; then
49284
49285 cat >>confdefs.h <<\_ACEOF
49286 #define wxUSE_UNICODE_MSLU 1
49287 _ACEOF
49288
49289
49290 else
49291
49292 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
49293 Applications will only run on Windows NT/2000/XP!" >&5
49294 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
49295 Applications will only run on Windows NT/2000/XP!" >&2;}
49296 wxUSE_UNICODE_MSLU=no
49297
49298 fi
49299
49300 fi
49301 fi
49302
49303 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
49304 cat >>confdefs.h <<\_ACEOF
49305 #define wxUSE_UNICODE_UTF8 1
49306 _ACEOF
49307
49308
49309 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
49310 cat >>confdefs.h <<\_ACEOF
49311 #define wxUSE_UTF8_LOCALE_ONLY 1
49312 _ACEOF
49313
49314 fi
49315 fi
49316
49317
49318 if test "$wxUSE_CONSTRAINTS" = "yes"; then
49319 cat >>confdefs.h <<\_ACEOF
49320 #define wxUSE_CONSTRAINTS 1
49321 _ACEOF
49322
49323 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
49324 fi
49325
49326 if test "$wxUSE_MDI" = "yes"; then
49327 cat >>confdefs.h <<\_ACEOF
49328 #define wxUSE_MDI 1
49329 _ACEOF
49330
49331
49332 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
49333 cat >>confdefs.h <<\_ACEOF
49334 #define wxUSE_MDI_ARCHITECTURE 1
49335 _ACEOF
49336
49337 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
49338 fi
49339 fi
49340
49341 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
49342 cat >>confdefs.h <<\_ACEOF
49343 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
49344 _ACEOF
49345
49346 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
49347 fi
49348
49349 if test "$wxUSE_HELP" = "yes"; then
49350 cat >>confdefs.h <<\_ACEOF
49351 #define wxUSE_HELP 1
49352 _ACEOF
49353
49354 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
49355
49356 if test "$wxUSE_MSW" = 1; then
49357 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
49358 cat >>confdefs.h <<\_ACEOF
49359 #define wxUSE_MS_HTML_HELP 1
49360 _ACEOF
49361
49362 fi
49363 fi
49364
49365 if test "$wxUSE_WXHTML_HELP" = "yes"; then
49366 if test "$wxUSE_HTML" = "yes"; then
49367 cat >>confdefs.h <<\_ACEOF
49368 #define wxUSE_WXHTML_HELP 1
49369 _ACEOF
49370
49371 else
49372 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
49373 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
49374 wxUSE_WXHTML_HELP=no
49375 fi
49376 fi
49377 fi
49378
49379 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
49380 cat >>confdefs.h <<\_ACEOF
49381 #define wxUSE_PRINTING_ARCHITECTURE 1
49382 _ACEOF
49383
49384 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
49385 fi
49386
49387 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
49388 cat >>confdefs.h <<\_ACEOF
49389 #define wxUSE_POSTSCRIPT 1
49390 _ACEOF
49391
49392 fi
49393
49394 cat >>confdefs.h <<\_ACEOF
49395 #define wxUSE_AFM_FOR_POSTSCRIPT 1
49396 _ACEOF
49397
49398
49399 if test "$wxUSE_SVG" = "yes"; then
49400 cat >>confdefs.h <<\_ACEOF
49401 #define wxUSE_SVG 1
49402 _ACEOF
49403
49404 fi
49405
49406
49407 if test "$wxUSE_METAFILE" = "yes"; then
49408 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
49409 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
49410 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
49411 wxUSE_METAFILE=no
49412 fi
49413 elif test "$wxUSE_METAFILE" = "auto"; then
49414 if test "$wxUSE_MSW" = 1 -o "$wxUSE_MAC" = 1 -o "$wxUSE_PM" = 1; then
49415 wxUSE_METAFILE=yes
49416 fi
49417 fi
49418
49419 if test "$wxUSE_METAFILE" = "yes"; then
49420 cat >>confdefs.h <<\_ACEOF
49421 #define wxUSE_METAFILE 1
49422 _ACEOF
49423
49424 if test "$wxUSE_MSW" = 1; then
49425 cat >>confdefs.h <<\_ACEOF
49426 #define wxUSE_ENH_METAFILE 1
49427 _ACEOF
49428
49429 fi
49430 fi
49431
49432
49433 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
49434 -o "$wxUSE_CLIPBOARD" = "yes" \
49435 -o "$wxUSE_OLE" = "yes" \
49436 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
49437 { echo "$as_me:$LINENO: checking for ole2.h" >&5
49438 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
49439 if test "${ac_cv_header_ole2_h+set}" = set; then
49440 echo $ECHO_N "(cached) $ECHO_C" >&6
49441 else
49442 cat >conftest.$ac_ext <<_ACEOF
49443 /* confdefs.h. */
49444 _ACEOF
49445 cat confdefs.h >>conftest.$ac_ext
49446 cat >>conftest.$ac_ext <<_ACEOF
49447 /* end confdefs.h. */
49448
49449
49450 #include <ole2.h>
49451 _ACEOF
49452 rm -f conftest.$ac_objext
49453 if { (ac_try="$ac_compile"
49454 case "(($ac_try" in
49455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49456 *) ac_try_echo=$ac_try;;
49457 esac
49458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49459 (eval "$ac_compile") 2>conftest.er1
49460 ac_status=$?
49461 grep -v '^ *+' conftest.er1 >conftest.err
49462 rm -f conftest.er1
49463 cat conftest.err >&5
49464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49465 (exit $ac_status); } && {
49466 test -z "$ac_c_werror_flag" ||
49467 test ! -s conftest.err
49468 } && test -s conftest.$ac_objext; then
49469 ac_cv_header_ole2_h=yes
49470 else
49471 echo "$as_me: failed program was:" >&5
49472 sed 's/^/| /' conftest.$ac_ext >&5
49473
49474 ac_cv_header_ole2_h=no
49475 fi
49476
49477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49478 fi
49479 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
49480 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
49481
49482
49483
49484 if test "$ac_cv_header_ole2_h" = "yes" ; then
49485 if test "$GCC" = yes ; then
49486 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
49487 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
49488 cat >conftest.$ac_ext <<_ACEOF
49489 /* confdefs.h. */
49490 _ACEOF
49491 cat confdefs.h >>conftest.$ac_ext
49492 cat >>conftest.$ac_ext <<_ACEOF
49493 /* end confdefs.h. */
49494 #include <windows.h>
49495 #include <ole2.h>
49496 int
49497 main ()
49498 {
49499
49500 ;
49501 return 0;
49502 }
49503 _ACEOF
49504 rm -f conftest.$ac_objext
49505 if { (ac_try="$ac_compile"
49506 case "(($ac_try" in
49507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49508 *) ac_try_echo=$ac_try;;
49509 esac
49510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49511 (eval "$ac_compile") 2>conftest.er1
49512 ac_status=$?
49513 grep -v '^ *+' conftest.er1 >conftest.err
49514 rm -f conftest.er1
49515 cat conftest.err >&5
49516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49517 (exit $ac_status); } && {
49518 test -z "$ac_c_werror_flag" ||
49519 test ! -s conftest.err
49520 } && test -s conftest.$ac_objext; then
49521 { echo "$as_me:$LINENO: result: no" >&5
49522 echo "${ECHO_T}no" >&6; }
49523 else
49524 echo "$as_me: failed program was:" >&5
49525 sed 's/^/| /' conftest.$ac_ext >&5
49526
49527 { echo "$as_me:$LINENO: result: yes" >&5
49528 echo "${ECHO_T}yes" >&6; }
49529 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
49530 fi
49531
49532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49533 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
49534 if test "$wxUSE_OLE" = "yes" ; then
49535 cat >>confdefs.h <<\_ACEOF
49536 #define wxUSE_OLE 1
49537 _ACEOF
49538
49539 cat >>confdefs.h <<\_ACEOF
49540 #define wxUSE_OLE_AUTOMATION 1
49541 _ACEOF
49542
49543 cat >>confdefs.h <<\_ACEOF
49544 #define wxUSE_ACTIVEX 1
49545 _ACEOF
49546
49547 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
49548 fi
49549 fi
49550
49551 if test "$wxUSE_DATAOBJ" = "yes" ; then
49552 cat >>confdefs.h <<\_ACEOF
49553 #define wxUSE_DATAOBJ 1
49554 _ACEOF
49555
49556 fi
49557 else
49558 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
49559 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
49560
49561 wxUSE_CLIPBOARD=no
49562 wxUSE_DRAG_AND_DROP=no
49563 wxUSE_DATAOBJ=no
49564 wxUSE_OLE=no
49565 fi
49566 fi
49567
49568 if test "$wxUSE_IPC" = "yes"; then
49569 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
49570 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
49571 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
49572 wxUSE_IPC=no
49573 fi
49574
49575 if test "$wxUSE_IPC" = "yes"; then
49576 cat >>confdefs.h <<\_ACEOF
49577 #define wxUSE_IPC 1
49578 _ACEOF
49579
49580 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
49581 fi
49582 fi
49583
49584 if test "$wxUSE_DATAOBJ" = "yes"; then
49585 cat >>confdefs.h <<\_ACEOF
49586 #define wxUSE_DATAOBJ 1
49587 _ACEOF
49588
49589 else
49590 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
49591 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
49592 wxUSE_CLIPBOARD=no
49593 wxUSE_DRAG_AND_DROP=no
49594 fi
49595
49596 if test "$wxUSE_CLIPBOARD" = "yes"; then
49597 if test "$wxUSE_DFB" = 1; then
49598 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
49599 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
49600 wxUSE_CLIPBOARD=no
49601 fi
49602
49603 if test "$wxUSE_CLIPBOARD" = "yes"; then
49604 cat >>confdefs.h <<\_ACEOF
49605 #define wxUSE_CLIPBOARD 1
49606 _ACEOF
49607
49608 fi
49609 fi
49610
49611 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
49612 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_DFB" = 1; then
49613 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
49614 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
49615 wxUSE_DRAG_AND_DROP=no
49616 fi
49617
49618 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
49619 cat >>confdefs.h <<\_ACEOF
49620 #define wxUSE_DRAG_AND_DROP 1
49621 _ACEOF
49622
49623 fi
49624
49625 fi
49626
49627 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
49628 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
49629 fi
49630
49631 if test "$wxUSE_CLIPBOARD" = "yes"; then
49632 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS clipboard"
49633 fi
49634
49635 if test "$wxUSE_SPLINES" = "yes" ; then
49636 cat >>confdefs.h <<\_ACEOF
49637 #define wxUSE_SPLINES 1
49638 _ACEOF
49639
49640 fi
49641
49642 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
49643 cat >>confdefs.h <<\_ACEOF
49644 #define wxUSE_MOUSEWHEEL 1
49645 _ACEOF
49646
49647 fi
49648
49649 if test "$wxUSE_UIACTIONSIMULATOR" = "yes" ; then
49650 cat >>confdefs.h <<\_ACEOF
49651 #define wxUSE_UIACTIONSIMULATOR 1
49652 _ACEOF
49653
49654 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS uiaction"
49655 fi
49656
49657 if test "$wxUSE_DC_TRANSFORM_MATRIX" = "yes" ; then
49658 cat >>confdefs.h <<\_ACEOF
49659 #define wxUSE_DC_TRANSFORM_MATRIX 1
49660 _ACEOF
49661
49662 fi
49663
49664
49665 USES_CONTROLS=0
49666 if test "$wxUSE_CONTROLS" = "yes"; then
49667 USES_CONTROLS=1
49668 fi
49669
49670 if test "$wxUSE_MARKUP" = "yes"; then
49671 cat >>confdefs.h <<\_ACEOF
49672 #define wxUSE_MARKUP 1
49673 _ACEOF
49674
49675 fi
49676
49677 if test "$wxUSE_ACCEL" = "yes"; then
49678 cat >>confdefs.h <<\_ACEOF
49679 #define wxUSE_ACCEL 1
49680 _ACEOF
49681
49682 USES_CONTROLS=1
49683 fi
49684
49685 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
49686 cat >>confdefs.h <<\_ACEOF
49687 #define wxUSE_ANIMATIONCTRL 1
49688 _ACEOF
49689
49690 USES_CONTROLS=1
49691 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
49692 fi
49693
49694 if test "$wxUSE_BANNERWINDOW" = "yes"; then
49695 cat >>confdefs.h <<\_ACEOF
49696 #define wxUSE_BANNERWINDOW 1
49697 _ACEOF
49698
49699 fi
49700
49701 if test "$wxUSE_BUTTON" = "yes"; then
49702 cat >>confdefs.h <<\_ACEOF
49703 #define wxUSE_BUTTON 1
49704 _ACEOF
49705
49706 USES_CONTROLS=1
49707 fi
49708
49709 if test "$wxUSE_BMPBUTTON" = "yes"; then
49710 cat >>confdefs.h <<\_ACEOF
49711 #define wxUSE_BMPBUTTON 1
49712 _ACEOF
49713
49714 USES_CONTROLS=1
49715 fi
49716
49717 if test "$wxUSE_CALCTRL" = "yes"; then
49718 cat >>confdefs.h <<\_ACEOF
49719 #define wxUSE_CALENDARCTRL 1
49720 _ACEOF
49721
49722 USES_CONTROLS=1
49723 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
49724 fi
49725
49726 if test "$wxUSE_CARET" = "yes"; then
49727 cat >>confdefs.h <<\_ACEOF
49728 #define wxUSE_CARET 1
49729 _ACEOF
49730
49731 USES_CONTROLS=1
49732 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
49733 fi
49734
49735 if test "$wxUSE_COLLPANE" = "yes"; then
49736 cat >>confdefs.h <<\_ACEOF
49737 #define wxUSE_COLLPANE 1
49738 _ACEOF
49739
49740 USES_CONTROLS=1
49741 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
49742 fi
49743
49744 if test "$wxUSE_COMBOBOX" = "yes"; then
49745 cat >>confdefs.h <<\_ACEOF
49746 #define wxUSE_COMBOBOX 1
49747 _ACEOF
49748
49749 USES_CONTROLS=1
49750 fi
49751
49752 if test "$wxUSE_COMBOCTRL" = "yes"; then
49753 cat >>confdefs.h <<\_ACEOF
49754 #define wxUSE_COMBOCTRL 1
49755 _ACEOF
49756
49757 USES_CONTROLS=1
49758 fi
49759
49760 if test "$wxUSE_COMMANDLINKBUTTON" = "yes"; then
49761 cat >>confdefs.h <<\_ACEOF
49762 #define wxUSE_COMMANDLINKBUTTON 1
49763 _ACEOF
49764
49765 USES_CONTROLS=1
49766 fi
49767
49768 if test "$wxUSE_CHOICE" = "yes"; then
49769 cat >>confdefs.h <<\_ACEOF
49770 #define wxUSE_CHOICE 1
49771 _ACEOF
49772
49773 USES_CONTROLS=1
49774 fi
49775
49776 if test "$wxUSE_CHOICEBOOK" = "yes"; then
49777 cat >>confdefs.h <<\_ACEOF
49778 #define wxUSE_CHOICEBOOK 1
49779 _ACEOF
49780
49781 USES_CONTROLS=1
49782 fi
49783
49784 if test "$wxUSE_CHECKBOX" = "yes"; then
49785 cat >>confdefs.h <<\_ACEOF
49786 #define wxUSE_CHECKBOX 1
49787 _ACEOF
49788
49789 USES_CONTROLS=1
49790 fi
49791
49792 if test "$wxUSE_CHECKLST" = "yes"; then
49793 cat >>confdefs.h <<\_ACEOF
49794 #define wxUSE_CHECKLISTBOX 1
49795 _ACEOF
49796
49797 USES_CONTROLS=1
49798 fi
49799
49800 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
49801 cat >>confdefs.h <<\_ACEOF
49802 #define wxUSE_COLOURPICKERCTRL 1
49803 _ACEOF
49804
49805 USES_CONTROLS=1
49806 fi
49807
49808 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
49809 cat >>confdefs.h <<\_ACEOF
49810 #define wxUSE_DATEPICKCTRL 1
49811 _ACEOF
49812
49813 USES_CONTROLS=1
49814 fi
49815
49816 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
49817 cat >>confdefs.h <<\_ACEOF
49818 #define wxUSE_DIRPICKERCTRL 1
49819 _ACEOF
49820
49821 USES_CONTROLS=1
49822 fi
49823
49824 if test "$wxUSE_FILECTRL" = "yes"; then
49825 cat >>confdefs.h <<\_ACEOF
49826 #define wxUSE_FILECTRL 1
49827 _ACEOF
49828
49829 USES_CONTROLS=1
49830 fi
49831
49832 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
49833 cat >>confdefs.h <<\_ACEOF
49834 #define wxUSE_FILEPICKERCTRL 1
49835 _ACEOF
49836
49837 USES_CONTROLS=1
49838 fi
49839
49840 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
49841 cat >>confdefs.h <<\_ACEOF
49842 #define wxUSE_FONTPICKERCTRL 1
49843 _ACEOF
49844
49845 USES_CONTROLS=1
49846 fi
49847
49848 if test "$wxUSE_DISPLAY" = "yes"; then
49849 if test "$wxUSE_DFB" = 1; then
49850 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
49851 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
49852 wxUSE_DISPLAY=no
49853 else
49854 cat >>confdefs.h <<\_ACEOF
49855 #define wxUSE_DISPLAY 1
49856 _ACEOF
49857
49858 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
49859 fi
49860 fi
49861
49862 if test "$wxUSE_DETECT_SM" = "yes"; then
49863 cat >>confdefs.h <<\_ACEOF
49864 #define wxUSE_DETECT_SM 1
49865 _ACEOF
49866
49867 fi
49868
49869 if test "$wxUSE_GAUGE" = "yes"; then
49870 cat >>confdefs.h <<\_ACEOF
49871 #define wxUSE_GAUGE 1
49872 _ACEOF
49873
49874 USES_CONTROLS=1
49875 fi
49876
49877 if test "$wxUSE_GRID" = "yes"; then
49878 cat >>confdefs.h <<\_ACEOF
49879 #define wxUSE_GRID 1
49880 _ACEOF
49881
49882 USES_CONTROLS=1
49883 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
49884 fi
49885
49886 if test "$wxUSE_HEADERCTRL" = "yes"; then
49887 cat >>confdefs.h <<\_ACEOF
49888 #define wxUSE_HEADERCTRL 1
49889 _ACEOF
49890
49891 USES_CONTROLS=1
49892 fi
49893
49894 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
49895 cat >>confdefs.h <<\_ACEOF
49896 #define wxUSE_HYPERLINKCTRL 1
49897 _ACEOF
49898
49899 USES_CONTROLS=1
49900 fi
49901
49902 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
49903 cat >>confdefs.h <<\_ACEOF
49904 #define wxUSE_BITMAPCOMBOBOX 1
49905 _ACEOF
49906
49907 USES_CONTROLS=1
49908 fi
49909
49910 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
49911 cat >>confdefs.h <<\_ACEOF
49912 #define wxUSE_DATAVIEWCTRL 1
49913 _ACEOF
49914
49915 USES_CONTROLS=1
49916 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
49917 fi
49918
49919 if test "$wxUSE_IMAGLIST" = "yes"; then
49920 cat >>confdefs.h <<\_ACEOF
49921 #define wxUSE_IMAGLIST 1
49922 _ACEOF
49923
49924 fi
49925
49926 if test "$wxUSE_INFOBAR" = "yes"; then
49927 cat >>confdefs.h <<\_ACEOF
49928 #define wxUSE_INFOBAR 1
49929 _ACEOF
49930
49931 fi
49932
49933 if test "$wxUSE_LISTBOOK" = "yes"; then
49934 cat >>confdefs.h <<\_ACEOF
49935 #define wxUSE_LISTBOOK 1
49936 _ACEOF
49937
49938 USES_CONTROLS=1
49939 fi
49940
49941 if test "$wxUSE_LISTBOX" = "yes"; then
49942 cat >>confdefs.h <<\_ACEOF
49943 #define wxUSE_LISTBOX 1
49944 _ACEOF
49945
49946 USES_CONTROLS=1
49947 fi
49948
49949 if test "$wxUSE_LISTCTRL" = "yes"; then
49950 if test "$wxUSE_IMAGLIST" = "yes"; then
49951 cat >>confdefs.h <<\_ACEOF
49952 #define wxUSE_LISTCTRL 1
49953 _ACEOF
49954
49955 USES_CONTROLS=1
49956 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
49957 else
49958 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
49959 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
49960 fi
49961 fi
49962
49963 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
49964 cat >>confdefs.h <<\_ACEOF
49965 #define wxUSE_EDITABLELISTBOX 1
49966 _ACEOF
49967
49968 USES_CONTROLS=1
49969 fi
49970
49971 if test "$wxUSE_NOTEBOOK" = "yes"; then
49972 cat >>confdefs.h <<\_ACEOF
49973 #define wxUSE_NOTEBOOK 1
49974 _ACEOF
49975
49976 USES_CONTROLS=1
49977 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
49978 fi
49979
49980 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
49981 cat >>confdefs.h <<\_ACEOF
49982 #define wxUSE_NOTIFICATION_MESSAGE 1
49983 _ACEOF
49984
49985 fi
49986
49987 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
49988 cat >>confdefs.h <<\_ACEOF
49989 #define wxUSE_ODCOMBOBOX 1
49990 _ACEOF
49991
49992 USES_CONTROLS=1
49993 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
49994 fi
49995
49996 if test "$wxUSE_RADIOBOX" = "yes"; then
49997 cat >>confdefs.h <<\_ACEOF
49998 #define wxUSE_RADIOBOX 1
49999 _ACEOF
50000
50001 USES_CONTROLS=1
50002 fi
50003
50004 if test "$wxUSE_RADIOBTN" = "yes"; then
50005 cat >>confdefs.h <<\_ACEOF
50006 #define wxUSE_RADIOBTN 1
50007 _ACEOF
50008
50009 USES_CONTROLS=1
50010 fi
50011
50012 if test "$wxUSE_REARRANGECTRL" = "yes"; then
50013 cat >>confdefs.h <<\_ACEOF
50014 #define wxUSE_REARRANGECTRL 1
50015 _ACEOF
50016
50017 fi
50018
50019 if test "$wxUSE_RICHMSGDLG" = "yes"; then
50020 cat >>confdefs.h <<\_ACEOF
50021 #define wxUSE_RICHMSGDLG 1
50022 _ACEOF
50023
50024 fi
50025
50026 if test "$wxUSE_RICHTOOLTIP" = "yes"; then
50027 cat >>confdefs.h <<\_ACEOF
50028 #define wxUSE_RICHTOOLTIP 1
50029 _ACEOF
50030
50031 fi
50032
50033 if test "$wxUSE_SASH" = "yes"; then
50034 cat >>confdefs.h <<\_ACEOF
50035 #define wxUSE_SASH 1
50036 _ACEOF
50037
50038 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
50039 fi
50040
50041 if test "$wxUSE_SCROLLBAR" = "yes"; then
50042 cat >>confdefs.h <<\_ACEOF
50043 #define wxUSE_SCROLLBAR 1
50044 _ACEOF
50045
50046 USES_CONTROLS=1
50047 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll"
50048 fi
50049
50050 if test "$wxUSE_SEARCHCTRL" = "yes"; then
50051 cat >>confdefs.h <<\_ACEOF
50052 #define wxUSE_SEARCHCTRL 1
50053 _ACEOF
50054
50055 USES_CONTROLS=1
50056 fi
50057
50058 if test "$wxUSE_SLIDER" = "yes"; then
50059 cat >>confdefs.h <<\_ACEOF
50060 #define wxUSE_SLIDER 1
50061 _ACEOF
50062
50063 USES_CONTROLS=1
50064 fi
50065
50066 if test "$wxUSE_SPINBTN" = "yes"; then
50067 cat >>confdefs.h <<\_ACEOF
50068 #define wxUSE_SPINBTN 1
50069 _ACEOF
50070
50071 USES_CONTROLS=1
50072 fi
50073
50074 if test "$wxUSE_SPINCTRL" = "yes"; then
50075 cat >>confdefs.h <<\_ACEOF
50076 #define wxUSE_SPINCTRL 1
50077 _ACEOF
50078
50079 USES_CONTROLS=1
50080 fi
50081
50082 if test "$wxUSE_SPLITTER" = "yes"; then
50083 cat >>confdefs.h <<\_ACEOF
50084 #define wxUSE_SPLITTER 1
50085 _ACEOF
50086
50087 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
50088 fi
50089
50090 if test "$wxUSE_STATBMP" = "yes"; then
50091 cat >>confdefs.h <<\_ACEOF
50092 #define wxUSE_STATBMP 1
50093 _ACEOF
50094
50095 USES_CONTROLS=1
50096 fi
50097
50098 if test "$wxUSE_STATBOX" = "yes"; then
50099 cat >>confdefs.h <<\_ACEOF
50100 #define wxUSE_STATBOX 1
50101 _ACEOF
50102
50103 USES_CONTROLS=1
50104 fi
50105
50106 if test "$wxUSE_STATTEXT" = "yes"; then
50107 cat >>confdefs.h <<\_ACEOF
50108 #define wxUSE_STATTEXT 1
50109 _ACEOF
50110
50111 USES_CONTROLS=1
50112 fi
50113
50114 if test "$wxUSE_STATLINE" = "yes"; then
50115 cat >>confdefs.h <<\_ACEOF
50116 #define wxUSE_STATLINE 1
50117 _ACEOF
50118
50119 USES_CONTROLS=1
50120 fi
50121
50122 if test "$wxUSE_STATUSBAR" = "yes"; then
50123 cat >>confdefs.h <<\_ACEOF
50124 #define wxUSE_NATIVE_STATUSBAR 1
50125 _ACEOF
50126
50127 cat >>confdefs.h <<\_ACEOF
50128 #define wxUSE_STATUSBAR 1
50129 _ACEOF
50130
50131 USES_CONTROLS=1
50132
50133 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
50134 fi
50135
50136 if test "$wxUSE_TEXTCTRL" = "yes"; then
50137 cat >>confdefs.h <<\_ACEOF
50138 #define wxUSE_TEXTCTRL 1
50139 _ACEOF
50140
50141 USES_CONTROLS=1
50142 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
50143
50144 cat >>confdefs.h <<\_ACEOF
50145 #define wxUSE_RICHEDIT 1
50146 _ACEOF
50147
50148 cat >>confdefs.h <<\_ACEOF
50149 #define wxUSE_RICHEDIT2 1
50150 _ACEOF
50151
50152 fi
50153
50154 if test "$wxUSE_TIMEPICKCTRL" = "yes"; then
50155 cat >>confdefs.h <<\_ACEOF
50156 #define wxUSE_TIMEPICKCTRL 1
50157 _ACEOF
50158
50159 USES_CONTROLS=1
50160 fi
50161
50162 if test "$wxUSE_TOGGLEBTN" = "yes"; then
50163 if test "$wxUSE_OLD_COCOA" = 1 ; then
50164 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
50165 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
50166 wxUSE_TOGGLEBTN=no
50167 fi
50168
50169 if test "$wxUSE_TOGGLEBTN" = "yes"; then
50170 cat >>confdefs.h <<\_ACEOF
50171 #define wxUSE_TOGGLEBTN 1
50172 _ACEOF
50173
50174 USES_CONTROLS=1
50175 fi
50176 fi
50177
50178 if test "$wxUSE_TOOLBAR" = "yes"; then
50179 cat >>confdefs.h <<\_ACEOF
50180 #define wxUSE_TOOLBAR 1
50181 _ACEOF
50182
50183 USES_CONTROLS=1
50184
50185 if test "$wxUSE_UNIVERSAL" = "yes"; then
50186 wxUSE_TOOLBAR_NATIVE="no"
50187 else
50188 wxUSE_TOOLBAR_NATIVE="yes"
50189 cat >>confdefs.h <<\_ACEOF
50190 #define wxUSE_TOOLBAR_NATIVE 1
50191 _ACEOF
50192
50193 fi
50194
50195 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
50196 fi
50197
50198 if test "$wxUSE_TOOLTIPS" = "yes"; then
50199 if test "$wxUSE_MOTIF" = 1; then
50200 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
50201 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
50202 else
50203 if test "$wxUSE_UNIVERSAL" = "yes"; then
50204 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
50205 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
50206 else
50207 cat >>confdefs.h <<\_ACEOF
50208 #define wxUSE_TOOLTIPS 1
50209 _ACEOF
50210
50211 fi
50212 fi
50213 fi
50214
50215 if test "$wxUSE_TREEBOOK" = "yes"; then
50216 cat >>confdefs.h <<\_ACEOF
50217 #define wxUSE_TREEBOOK 1
50218 _ACEOF
50219
50220 USES_CONTROLS=1
50221 fi
50222
50223 if test "$wxUSE_TOOLBOOK" = "yes"; then
50224 cat >>confdefs.h <<\_ACEOF
50225 #define wxUSE_TOOLBOOK 1
50226 _ACEOF
50227
50228 USES_CONTROLS=1
50229 fi
50230
50231 if test "$wxUSE_TREECTRL" = "yes"; then
50232 if test "$wxUSE_IMAGLIST" = "yes"; then
50233 cat >>confdefs.h <<\_ACEOF
50234 #define wxUSE_TREECTRL 1
50235 _ACEOF
50236
50237 USES_CONTROLS=1
50238 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
50239 else
50240 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
50241 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
50242 fi
50243 fi
50244
50245 if test "$wxUSE_TREELISTCTRL" = "yes"; then
50246 cat >>confdefs.h <<\_ACEOF
50247 #define wxUSE_TREELISTCTRL 1
50248 _ACEOF
50249
50250 USES_CONTROLS=1
50251 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treelist"
50252 fi
50253
50254 if test "$wxUSE_POPUPWIN" = "yes"; then
50255 if test "$wxUSE_OLD_COCOA" = 1 ; then
50256 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
50257 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
50258 else
50259 if test "$wxUSE_PM" = 1; then
50260 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
50261 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
50262 else
50263 cat >>confdefs.h <<\_ACEOF
50264 #define wxUSE_POPUPWIN 1
50265 _ACEOF
50266
50267 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
50268
50269 USES_CONTROLS=1
50270 fi
50271 fi
50272 fi
50273
50274 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
50275 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
50276 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
50277 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
50278 else
50279 cat >>confdefs.h <<\_ACEOF
50280 #define wxUSE_DIALUP_MANAGER 1
50281 _ACEOF
50282
50283 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
50284 fi
50285 fi
50286
50287 if test "$wxUSE_TIPWINDOW" = "yes"; then
50288 if test "$wxUSE_PM" = 1; then
50289 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
50290 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
50291 else
50292 cat >>confdefs.h <<\_ACEOF
50293 #define wxUSE_TIPWINDOW 1
50294 _ACEOF
50295
50296 fi
50297 fi
50298
50299 if test "$USES_CONTROLS" = 1; then
50300 cat >>confdefs.h <<\_ACEOF
50301 #define wxUSE_CONTROLS 1
50302 _ACEOF
50303
50304 fi
50305
50306
50307 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
50308 cat >>confdefs.h <<\_ACEOF
50309 #define wxUSE_ACCESSIBILITY 1
50310 _ACEOF
50311
50312 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
50313 fi
50314
50315 if test "$wxUSE_ARTPROVIDER_STD" = "yes"; then
50316 cat >>confdefs.h <<\_ACEOF
50317 #define wxUSE_ARTPROVIDER_STD 1
50318 _ACEOF
50319
50320 fi
50321
50322 if test "$wxUSE_ARTPROVIDER_TANGO" = "auto"; then
50323 if test "$wxUSE_GTK" != 1; then
50324 if test "$wxUSE_LIBPNG" != no -a \
50325 "$wxUSE_IMAGE" = yes -a \
50326 "$wxUSE_STREAMS" = yes; then
50327 wxUSE_ARTPROVIDER_TANGO="yes"
50328 fi
50329 fi
50330 fi
50331
50332 if test "$wxUSE_ARTPROVIDER_TANGO" = "yes"; then
50333 cat >>confdefs.h <<\_ACEOF
50334 #define wxUSE_ARTPROVIDER_TANGO 1
50335 _ACEOF
50336
50337 fi
50338
50339 if test "$wxUSE_DRAGIMAGE" = "yes"; then
50340 cat >>confdefs.h <<\_ACEOF
50341 #define wxUSE_DRAGIMAGE 1
50342 _ACEOF
50343
50344 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
50345 fi
50346
50347 if test "$wxUSE_EXCEPTIONS" = "yes"; then
50348 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
50349 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
50350 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
50351 else
50352 cat >>confdefs.h <<\_ACEOF
50353 #define wxUSE_EXCEPTIONS 1
50354 _ACEOF
50355
50356 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
50357 fi
50358 fi
50359
50360 USE_HTML=0
50361 if test "$wxUSE_HTML" = "yes"; then
50362 cat >>confdefs.h <<\_ACEOF
50363 #define wxUSE_HTML 1
50364 _ACEOF
50365
50366 USE_HTML=1
50367 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
50368 fi
50369 if test "$wxUSE_WEBKIT" = "yes"; then
50370 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
50371 old_CPPFLAGS="$CPPFLAGS"
50372 CPPFLAGS="-x objective-c++ $CPPFLAGS"
50373 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
50374 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
50375 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
50376 echo $ECHO_N "(cached) $ECHO_C" >&6
50377 else
50378 cat >conftest.$ac_ext <<_ACEOF
50379 /* confdefs.h. */
50380 _ACEOF
50381 cat confdefs.h >>conftest.$ac_ext
50382 cat >>conftest.$ac_ext <<_ACEOF
50383 /* end confdefs.h. */
50384
50385 #include <Carbon/Carbon.h>
50386 #include <WebKit/WebKit.h>
50387
50388
50389 #include <WebKit/HIWebView.h>
50390 _ACEOF
50391 rm -f conftest.$ac_objext
50392 if { (ac_try="$ac_compile"
50393 case "(($ac_try" in
50394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
50395 *) ac_try_echo=$ac_try;;
50396 esac
50397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50398 (eval "$ac_compile") 2>conftest.er1
50399 ac_status=$?
50400 grep -v '^ *+' conftest.er1 >conftest.err
50401 rm -f conftest.er1
50402 cat conftest.err >&5
50403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50404 (exit $ac_status); } && {
50405 test -z "$ac_c_werror_flag" ||
50406 test ! -s conftest.err
50407 } && test -s conftest.$ac_objext; then
50408 ac_cv_header_WebKit_HIWebView_h=yes
50409 else
50410 echo "$as_me: failed program was:" >&5
50411 sed 's/^/| /' conftest.$ac_ext >&5
50412
50413 ac_cv_header_WebKit_HIWebView_h=no
50414 fi
50415
50416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50417 fi
50418 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
50419 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
50420 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
50421
50422 cat >>confdefs.h <<\_ACEOF
50423 #define wxUSE_WEBKIT 1
50424 _ACEOF
50425
50426 WEBKIT_LINK="-framework WebKit"
50427
50428 else
50429
50430 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
50431 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
50432 wxUSE_WEBKIT=no
50433
50434 fi
50435
50436
50437 CPPFLAGS="$old_CPPFLAGS"
50438 elif test "$wxUSE_OLD_COCOA" = 1; then
50439 cat >>confdefs.h <<\_ACEOF
50440 #define wxUSE_WEBKIT 1
50441 _ACEOF
50442
50443 else
50444 wxUSE_WEBKIT=no
50445 fi
50446 if test "$wxUSE_WEBKIT" = "yes"; then
50447 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
50448 fi
50449 fi
50450
50451 USE_XRC=0
50452 if test "$wxUSE_XRC" = "yes"; then
50453 if test "$wxUSE_XML" != "yes"; then
50454 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
50455 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
50456 wxUSE_XRC=no
50457 else
50458 cat >>confdefs.h <<\_ACEOF
50459 #define wxUSE_XRC 1
50460 _ACEOF
50461
50462 USE_XRC=1
50463 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
50464 fi
50465 fi
50466
50467 USE_AUI=0
50468 if test "$wxUSE_AUI" = "yes"; then
50469 cat >>confdefs.h <<\_ACEOF
50470 #define wxUSE_AUI 1
50471 _ACEOF
50472
50473 USE_AUI=1
50474 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
50475 fi
50476
50477 USE_PROPGRID=0
50478 if test "$wxUSE_PROPGRID" = "yes"; then
50479 cat >>confdefs.h <<\_ACEOF
50480 #define wxUSE_PROPGRID 1
50481 _ACEOF
50482
50483 USE_PROPGRID=1
50484 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS propgrid"
50485 fi
50486
50487 USE_RIBBON=0
50488 if test "$wxUSE_RIBBON" = "yes"; then
50489 cat >>confdefs.h <<\_ACEOF
50490 #define wxUSE_RIBBON 1
50491 _ACEOF
50492
50493 USE_RIBBON=1
50494 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ribbon"
50495 fi
50496
50497 USE_STC=0
50498 if test "$wxUSE_STC" = "yes"; then
50499 cat >>confdefs.h <<\_ACEOF
50500 #define wxUSE_STC 1
50501 _ACEOF
50502
50503 USE_STC=1
50504 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
50505
50506 # Extract the first word of "python", so it can be a program name with args.
50507 set dummy python; ac_word=$2
50508 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50509 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50510 if test "${ac_cv_path_PYTHON+set}" = set; then
50511 echo $ECHO_N "(cached) $ECHO_C" >&6
50512 else
50513 case $PYTHON in
50514 [\\/]* | ?:[\\/]*)
50515 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
50516 ;;
50517 *)
50518 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50519 for as_dir in $PATH
50520 do
50521 IFS=$as_save_IFS
50522 test -z "$as_dir" && as_dir=.
50523 for ac_exec_ext in '' $ac_executable_extensions; do
50524 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50525 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
50526 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50527 break 2
50528 fi
50529 done
50530 done
50531 IFS=$as_save_IFS
50532
50533 ;;
50534 esac
50535 fi
50536 PYTHON=$ac_cv_path_PYTHON
50537 if test -n "$PYTHON"; then
50538 { echo "$as_me:$LINENO: result: $PYTHON" >&5
50539 echo "${ECHO_T}$PYTHON" >&6; }
50540 else
50541 { echo "$as_me:$LINENO: result: no" >&5
50542 echo "${ECHO_T}no" >&6; }
50543 fi
50544
50545
50546 if test "x$PYTHON" = "x"; then
50547 COND_PYTHON="#"
50548 fi
50549
50550 fi
50551
50552 if test "$wxUSE_MENUS" = "yes"; then
50553 cat >>confdefs.h <<\_ACEOF
50554 #define wxUSE_MENUS 1
50555 _ACEOF
50556
50557 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
50558 fi
50559
50560 if test "$wxUSE_MIMETYPE" = "yes"; then
50561 cat >>confdefs.h <<\_ACEOF
50562 #define wxUSE_MIMETYPE 1
50563 _ACEOF
50564
50565 fi
50566
50567 if test "$wxUSE_MINIFRAME" = "yes"; then
50568 cat >>confdefs.h <<\_ACEOF
50569 #define wxUSE_MINIFRAME 1
50570 _ACEOF
50571
50572 fi
50573
50574 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
50575 cat >>confdefs.h <<\_ACEOF
50576 #define wxUSE_SYSTEM_OPTIONS 1
50577 _ACEOF
50578
50579 fi
50580
50581 if test "$wxUSE_TASKBARICON" = "yes"; then
50582 cat >>confdefs.h <<\_ACEOF
50583 #define wxUSE_TASKBARICON 1
50584 _ACEOF
50585
50586 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
50587 fi
50588
50589
50590 if test "$wxUSE_VALIDATORS" = "yes"; then
50591 cat >>confdefs.h <<\_ACEOF
50592 #define wxUSE_VALIDATORS 1
50593 _ACEOF
50594
50595 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
50596 fi
50597
50598 if test "$wxUSE_PALETTE" = "yes" ; then
50599 if test "$wxUSE_DFB" = 1; then
50600 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
50601 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
50602 wxUSE_PALETTE=no
50603 else
50604 cat >>confdefs.h <<\_ACEOF
50605 #define wxUSE_PALETTE 1
50606 _ACEOF
50607
50608 fi
50609 fi
50610
50611 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
50612 LIBS=" -lunicows $LIBS"
50613 fi
50614
50615 USE_RICHTEXT=0
50616 if test "$wxUSE_RICHTEXT" = "yes"; then
50617 cat >>confdefs.h <<\_ACEOF
50618 #define wxUSE_RICHTEXT 1
50619 _ACEOF
50620
50621 USE_RICHTEXT=1
50622 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
50623 fi
50624
50625 if test "$wxUSE_WEBVIEW" = "yes"; then
50626 USE_WEBVIEW_WEBKIT=0
50627 if test "$wxUSE_WEBVIEW_WEBKIT" = "yes"; then
50628 if test "$wxUSE_GTK" = 1; then
50629 { echo "$as_me:$LINENO: checking for webkitgtk libraries" >&5
50630 echo $ECHO_N "checking for webkitgtk libraries... $ECHO_C" >&6; }
50631
50632 ac_find_libraries=
50633 for ac_dir in $SEARCH_LIB
50634 do
50635 for ac_extension in a so sl dylib dll.a; do
50636 if test -f "$ac_dir/libwebkitgtk-1.0.$ac_extension"; then
50637 ac_find_libraries=$ac_dir
50638 break 2
50639 fi
50640 done
50641 done
50642
50643 if test "$ac_find_libraries" != "" ; then
50644
50645 if test "$ac_find_libraries" = "default location"; then
50646 ac_path_to_link=""
50647 else
50648 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
50649 result=$?
50650 if test $result = 0; then
50651 ac_path_to_link=""
50652 else
50653 ac_path_to_link=" -L$ac_find_libraries"
50654 fi
50655 fi
50656
50657 if test "$ac_path_to_link" != " -L/usr/lib" ; then
50658 LDFLAGS="$LDFLAGS $ac_path_to_link"
50659 fi
50660 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lwebkitgtk-1.0"
50661 { echo "$as_me:$LINENO: result: yes" >&5
50662 echo "${ECHO_T}yes" >&6; }
50663
50664 { echo "$as_me:$LINENO: checking for webkitgtk headers" >&5
50665 echo $ECHO_N "checking for webkitgtk headers... $ECHO_C" >&6; }
50666
50667 ac_find_includes=
50668 for ac_dir in $SEARCH_INCLUDE /usr/include/webkit-1.0 /usr/include
50669 do
50670 if test -f "$ac_dir/webkit/webkit.h"; then
50671 ac_find_includes=$ac_dir
50672 break
50673 fi
50674 done
50675
50676 if test "$ac_find_includes" != "" ; then
50677 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
50678 echo "${ECHO_T}found in $ac_find_includes" >&6; }
50679
50680 if test "x$ac_find_includes" = "x/usr/include"; then
50681 ac_path_to_include=""
50682 else
50683 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
50684 result=$?
50685 if test $result = 0; then
50686 ac_path_to_include=""
50687 else
50688 ac_path_to_include=" -I$ac_find_includes"
50689 fi
50690 fi
50691
50692 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
50693
50694 { echo "$as_me:$LINENO: checking for libsoup headers" >&5
50695 echo $ECHO_N "checking for libsoup headers... $ECHO_C" >&6; }
50696
50697 ac_find_includes=
50698 for ac_dir in $SEARCH_INCLUDE /usr/include/libsoup-2.4 /usr/include
50699 do
50700 if test -f "$ac_dir/libsoup/soup.h"; then
50701 ac_find_includes=$ac_dir
50702 break
50703 fi
50704 done
50705
50706 if test "$ac_find_includes" != "" ; then
50707 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
50708 echo "${ECHO_T}found in $ac_find_includes" >&6; }
50709
50710 if test "x$ac_find_includes" = "x/usr/include"; then
50711 ac_path_to_include=""
50712 else
50713 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
50714 result=$?
50715 if test $result = 0; then
50716 ac_path_to_include=""
50717 else
50718 ac_path_to_include=" -I$ac_find_includes"
50719 fi
50720 fi
50721
50722 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
50723
50724 USE_WEBVIEW_WEBKIT=1
50725 else
50726 { echo "$as_me:$LINENO: result: not found" >&5
50727 echo "${ECHO_T}not found" >&6; }
50728 { echo "$as_me:$LINENO: WARNING: libsoup headers not found; disabling WebKit backend" >&5
50729 echo "$as_me: WARNING: libsoup headers not found; disabling WebKit backend" >&2;}
50730 fi
50731 else
50732 { echo "$as_me:$LINENO: result: not found" >&5
50733 echo "${ECHO_T}not found" >&6; }
50734 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling WebKit backend" >&5
50735 echo "$as_me: WARNING: WebKit headers not found; disabling WebKit backend" >&2;}
50736 fi
50737 else
50738 { echo "$as_me:$LINENO: result: no" >&5
50739 echo "${ECHO_T}no" >&6; }
50740 { echo "$as_me:$LINENO: WARNING: WebKit libraries not found; disabling WebKit backend" >&5
50741 echo "$as_me: WARNING: WebKit libraries not found; disabling WebKit backend" >&2;}
50742 fi
50743 elif test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
50744 old_CPPFLAGS="$CPPFLAGS"
50745 CPPFLAGS="-x objective-c++ $CPPFLAGS"
50746 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
50747 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
50748 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
50749 echo $ECHO_N "(cached) $ECHO_C" >&6
50750 else
50751 cat >conftest.$ac_ext <<_ACEOF
50752 /* confdefs.h. */
50753 _ACEOF
50754 cat confdefs.h >>conftest.$ac_ext
50755 cat >>conftest.$ac_ext <<_ACEOF
50756 /* end confdefs.h. */
50757
50758 #include <Carbon/Carbon.h>
50759 #include <WebKit/WebKit.h>
50760
50761
50762 #include <WebKit/HIWebView.h>
50763 _ACEOF
50764 rm -f conftest.$ac_objext
50765 if { (ac_try="$ac_compile"
50766 case "(($ac_try" in
50767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
50768 *) ac_try_echo=$ac_try;;
50769 esac
50770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50771 (eval "$ac_compile") 2>conftest.er1
50772 ac_status=$?
50773 grep -v '^ *+' conftest.er1 >conftest.err
50774 rm -f conftest.er1
50775 cat conftest.err >&5
50776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50777 (exit $ac_status); } && {
50778 test -z "$ac_c_werror_flag" ||
50779 test ! -s conftest.err
50780 } && test -s conftest.$ac_objext; then
50781 ac_cv_header_WebKit_HIWebView_h=yes
50782 else
50783 echo "$as_me: failed program was:" >&5
50784 sed 's/^/| /' conftest.$ac_ext >&5
50785
50786 ac_cv_header_WebKit_HIWebView_h=no
50787 fi
50788
50789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50790 fi
50791 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
50792 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
50793 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
50794
50795 USE_WEBVIEW_WEBKIT=1
50796 WEBKIT_LINK="-framework WebKit"
50797
50798 else
50799
50800 { echo "$as_me:$LINENO: WARNING: WebKit headers not found" >&5
50801 echo "$as_me: WARNING: WebKit headers not found" >&2;}
50802
50803 fi
50804
50805
50806 CPPFLAGS="$old_CPPFLAGS"
50807 fi
50808 fi
50809
50810 wxUSE_WEBVIEW="no"
50811 if test "$wxUSE_GTK" = 1 -o "$wxUSE_MAC" = 1; then
50812 if test "$USE_WEBVIEW_WEBKIT" = 1; then
50813 wxUSE_WEBVIEW="yes"
50814 cat >>confdefs.h <<\_ACEOF
50815 #define wxUSE_WEBVIEW_WEBKIT 1
50816 _ACEOF
50817
50818 else
50819 { echo "$as_me:$LINENO: WARNING: WebKit not available, disabling wxWebView" >&5
50820 echo "$as_me: WARNING: WebKit not available, disabling wxWebView" >&2;}
50821 fi
50822 elif test "$wxUSE_MSW" = 1; then
50823 if test "$wxUSE_WEBVIEW_IE" = "yes"; then
50824 wxUSE_WEBVIEW="yes"
50825 cat >>confdefs.h <<\_ACEOF
50826 #define wxUSE_WEBVIEW_IE 1
50827 _ACEOF
50828
50829 fi
50830 fi
50831 fi
50832
50833 if test "$wxUSE_WEBVIEW" = "yes"; then
50834 USE_WEBVIEW=1
50835 cat >>confdefs.h <<\_ACEOF
50836 #define wxUSE_WEBVIEW 1
50837 _ACEOF
50838
50839 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS webview"
50840 else
50841 USE_WEBVIEW=0
50842 fi
50843
50844
50845 if test "$wxUSE_IMAGE" = "yes" ; then
50846 cat >>confdefs.h <<\_ACEOF
50847 #define wxUSE_IMAGE 1
50848 _ACEOF
50849
50850
50851 if test "$wxUSE_GIF" = "yes" ; then
50852 cat >>confdefs.h <<\_ACEOF
50853 #define wxUSE_GIF 1
50854 _ACEOF
50855
50856 fi
50857
50858 if test "$wxUSE_PCX" = "yes" ; then
50859 cat >>confdefs.h <<\_ACEOF
50860 #define wxUSE_PCX 1
50861 _ACEOF
50862
50863 fi
50864
50865 if test "$wxUSE_TGA" = "yes" ; then
50866 cat >>confdefs.h <<\_ACEOF
50867 #define wxUSE_TGA 1
50868 _ACEOF
50869
50870 fi
50871
50872 if test "$wxUSE_IFF" = "yes" ; then
50873 cat >>confdefs.h <<\_ACEOF
50874 #define wxUSE_IFF 1
50875 _ACEOF
50876
50877 fi
50878
50879 if test "$wxUSE_PNM" = "yes" ; then
50880 cat >>confdefs.h <<\_ACEOF
50881 #define wxUSE_PNM 1
50882 _ACEOF
50883
50884 fi
50885
50886 if test "$wxUSE_XPM" = "yes" ; then
50887 cat >>confdefs.h <<\_ACEOF
50888 #define wxUSE_XPM 1
50889 _ACEOF
50890
50891 fi
50892
50893 if test "$wxUSE_ICO_CUR" = "yes" ; then
50894 cat >>confdefs.h <<\_ACEOF
50895 #define wxUSE_ICO_CUR 1
50896 _ACEOF
50897
50898 fi
50899 fi
50900
50901
50902 if test "$wxUSE_ABOUTDLG" = "yes"; then
50903 cat >>confdefs.h <<\_ACEOF
50904 #define wxUSE_ABOUTDLG 1
50905 _ACEOF
50906
50907 fi
50908
50909 if test "$wxUSE_CHOICEDLG" = "yes"; then
50910 cat >>confdefs.h <<\_ACEOF
50911 #define wxUSE_CHOICEDLG 1
50912 _ACEOF
50913
50914 fi
50915
50916 if test "$wxUSE_COLOURDLG" = "yes"; then
50917 cat >>confdefs.h <<\_ACEOF
50918 #define wxUSE_COLOURDLG 1
50919 _ACEOF
50920
50921 fi
50922
50923 if test "$wxUSE_FILEDLG" = "yes"; then
50924 cat >>confdefs.h <<\_ACEOF
50925 #define wxUSE_FILEDLG 1
50926 _ACEOF
50927
50928 fi
50929
50930 if test "$wxUSE_FINDREPLDLG" = "yes"; then
50931 cat >>confdefs.h <<\_ACEOF
50932 #define wxUSE_FINDREPLDLG 1
50933 _ACEOF
50934
50935 fi
50936
50937 if test "$wxUSE_FONTDLG" = "yes"; then
50938 cat >>confdefs.h <<\_ACEOF
50939 #define wxUSE_FONTDLG 1
50940 _ACEOF
50941
50942 fi
50943
50944 if test "$wxUSE_DIRDLG" = "yes"; then
50945 if test "$wxUSE_TREECTRL" != "yes"; then
50946 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
50947 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
50948 else
50949 cat >>confdefs.h <<\_ACEOF
50950 #define wxUSE_DIRDLG 1
50951 _ACEOF
50952
50953 fi
50954 fi
50955
50956 if test "$wxUSE_MSGDLG" = "yes"; then
50957 cat >>confdefs.h <<\_ACEOF
50958 #define wxUSE_MSGDLG 1
50959 _ACEOF
50960
50961 fi
50962
50963 if test "$wxUSE_NUMBERDLG" = "yes"; then
50964 cat >>confdefs.h <<\_ACEOF
50965 #define wxUSE_NUMBERDLG 1
50966 _ACEOF
50967
50968 fi
50969
50970 if test "$wxUSE_PROGRESSDLG" = "yes"; then
50971 cat >>confdefs.h <<\_ACEOF
50972 #define wxUSE_PROGRESSDLG 1
50973 _ACEOF
50974
50975 fi
50976
50977 if test "$wxUSE_SPLASH" = "yes"; then
50978 cat >>confdefs.h <<\_ACEOF
50979 #define wxUSE_SPLASH 1
50980 _ACEOF
50981
50982 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
50983 fi
50984
50985 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
50986 cat >>confdefs.h <<\_ACEOF
50987 #define wxUSE_STARTUP_TIPS 1
50988 _ACEOF
50989
50990 fi
50991
50992 if test "$wxUSE_TEXTDLG" = "yes"; then
50993 cat >>confdefs.h <<\_ACEOF
50994 #define wxUSE_TEXTDLG 1
50995 _ACEOF
50996
50997 fi
50998
50999 if test "$wxUSE_WIZARDDLG" = "yes"; then
51000 cat >>confdefs.h <<\_ACEOF
51001 #define wxUSE_WIZARDDLG 1
51002 _ACEOF
51003
51004 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
51005 fi
51006
51007
51008 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
51009 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
51010 cat >>confdefs.h <<\_ACEOF
51011 #define wxUSE_OWNER_DRAWN 1
51012 _ACEOF
51013
51014 fi
51015 fi
51016
51017
51018 if test "$wxUSE_MSW" = 1 ; then
51019
51020 if test "$wxUSE_DC_CACHEING" = "yes"; then
51021 cat >>confdefs.h <<\_ACEOF
51022 #define wxUSE_DC_CACHEING 1
51023 _ACEOF
51024
51025 fi
51026
51027 if test "$wxUSE_DIB" = "yes"; then
51028 cat >>confdefs.h <<\_ACEOF
51029 #define wxUSE_WXDIB 1
51030 _ACEOF
51031
51032 fi
51033
51034 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
51035 cat >>confdefs.h <<\_ACEOF
51036 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
51037 _ACEOF
51038
51039 fi
51040
51041 if test "$wxUSE_UXTHEME" = "yes"; then
51042 cat >>confdefs.h <<\_ACEOF
51043 #define wxUSE_UXTHEME 1
51044 _ACEOF
51045
51046 fi
51047
51048 fi
51049
51050 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
51051 cat >>confdefs.h <<\_ACEOF
51052 #define wxUSE_AUTOID_MANAGEMENT 1
51053 _ACEOF
51054
51055 fi
51056
51057 if test "$USE_WIN32" = 1 ; then
51058 if test "$wxUSE_INICONF" = "yes"; then
51059 cat >>confdefs.h <<\_ACEOF
51060 #define wxUSE_INICONF 1
51061 _ACEOF
51062
51063 fi
51064
51065 if test "$wxUSE_REGKEY" = "yes"; then
51066 cat >>confdefs.h <<\_ACEOF
51067 #define wxUSE_REGKEY 1
51068 _ACEOF
51069
51070 fi
51071 fi
51072
51073
51074 if test "$wxUSE_MAC" = 1; then
51075 wxUSE_GRAPHICS_CONTEXT="yes"
51076 fi
51077
51078 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
51079 wx_has_graphics=0
51080 if test "$wxUSE_MSW" = 1; then
51081 { echo "$as_me:$LINENO: checking if GDI+ is available" >&5
51082 echo $ECHO_N "checking if GDI+ is available... $ECHO_C" >&6; }
51083 if test "${wx_cv_lib_gdiplus+set}" = set; then
51084 echo $ECHO_N "(cached) $ECHO_C" >&6
51085 else
51086
51087 ac_ext=cpp
51088 ac_cpp='$CXXCPP $CPPFLAGS'
51089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51092
51093 cat >conftest.$ac_ext <<_ACEOF
51094 /* confdefs.h. */
51095 _ACEOF
51096 cat confdefs.h >>conftest.$ac_ext
51097 cat >>conftest.$ac_ext <<_ACEOF
51098 /* end confdefs.h. */
51099 #include <windows.h>
51100 #include <gdiplus.h>
51101 int
51102 main ()
51103 {
51104
51105 using namespace Gdiplus;
51106
51107 ;
51108 return 0;
51109 }
51110 _ACEOF
51111 rm -f conftest.$ac_objext
51112 if { (ac_try="$ac_compile"
51113 case "(($ac_try" in
51114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51115 *) ac_try_echo=$ac_try;;
51116 esac
51117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51118 (eval "$ac_compile") 2>conftest.er1
51119 ac_status=$?
51120 grep -v '^ *+' conftest.er1 >conftest.err
51121 rm -f conftest.er1
51122 cat conftest.err >&5
51123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51124 (exit $ac_status); } && {
51125 test -z "$ac_cxx_werror_flag" ||
51126 test ! -s conftest.err
51127 } && test -s conftest.$ac_objext; then
51128 wx_cv_lib_gdiplus=yes
51129 else
51130 echo "$as_me: failed program was:" >&5
51131 sed 's/^/| /' conftest.$ac_ext >&5
51132
51133 wx_cv_lib_gdiplus=no
51134
51135 fi
51136
51137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51138 ac_ext=c
51139 ac_cpp='$CPP $CPPFLAGS'
51140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51143
51144
51145
51146 fi
51147 { echo "$as_me:$LINENO: result: $wx_cv_lib_gdiplus" >&5
51148 echo "${ECHO_T}$wx_cv_lib_gdiplus" >&6; }
51149 if test "$wx_cv_lib_gdiplus" = "yes"; then
51150 wx_has_graphics=1
51151 fi
51152 elif test "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
51153
51154 pkg_failed=no
51155 { echo "$as_me:$LINENO: checking for CAIRO" >&5
51156 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
51157
51158 if test -n "$PKG_CONFIG"; then
51159 if test -n "$CAIRO_CFLAGS"; then
51160 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
51161 else
51162 if test -n "$PKG_CONFIG" && \
51163 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
51164 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
51165 ac_status=$?
51166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51167 (exit $ac_status); }; then
51168 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
51169 else
51170 pkg_failed=yes
51171 fi
51172 fi
51173 else
51174 pkg_failed=untried
51175 fi
51176 if test -n "$PKG_CONFIG"; then
51177 if test -n "$CAIRO_LIBS"; then
51178 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
51179 else
51180 if test -n "$PKG_CONFIG" && \
51181 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
51182 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
51183 ac_status=$?
51184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51185 (exit $ac_status); }; then
51186 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
51187 else
51188 pkg_failed=yes
51189 fi
51190 fi
51191 else
51192 pkg_failed=untried
51193 fi
51194
51195
51196
51197 if test $pkg_failed = yes; then
51198
51199 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
51200 _pkg_short_errors_supported=yes
51201 else
51202 _pkg_short_errors_supported=no
51203 fi
51204 if test $_pkg_short_errors_supported = yes; then
51205 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
51206 else
51207 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
51208 fi
51209 # Put the nasty error message in config.log where it belongs
51210 echo "$CAIRO_PKG_ERRORS" >&5
51211
51212 { echo "$as_me:$LINENO: WARNING: Cairo library not found" >&5
51213 echo "$as_me: WARNING: Cairo library not found" >&2;}
51214
51215 elif test $pkg_failed = untried; then
51216 { echo "$as_me:$LINENO: WARNING: Cairo library not found" >&5
51217 echo "$as_me: WARNING: Cairo library not found" >&2;}
51218
51219 else
51220 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
51221 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
51222 { echo "$as_me:$LINENO: result: yes" >&5
51223 echo "${ECHO_T}yes" >&6; }
51224 wx_has_graphics=1
51225 fi
51226 if test "$wx_has_graphics" = 1; then
51227 save_LIBS="$LIBS"
51228 LIBS="$LIBS $CAIRO_LIBS"
51229
51230 for ac_func in cairo_push_group
51231 do
51232 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51233 { echo "$as_me:$LINENO: checking for $ac_func" >&5
51234 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
51235 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
51236 echo $ECHO_N "(cached) $ECHO_C" >&6
51237 else
51238 cat >conftest.$ac_ext <<_ACEOF
51239 /* confdefs.h. */
51240 _ACEOF
51241 cat confdefs.h >>conftest.$ac_ext
51242 cat >>conftest.$ac_ext <<_ACEOF
51243 /* end confdefs.h. */
51244 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51245 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51246 #define $ac_func innocuous_$ac_func
51247
51248 /* System header to define __stub macros and hopefully few prototypes,
51249 which can conflict with char $ac_func (); below.
51250 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51251 <limits.h> exists even on freestanding compilers. */
51252
51253 #ifdef __STDC__
51254 # include <limits.h>
51255 #else
51256 # include <assert.h>
51257 #endif
51258
51259 #undef $ac_func
51260
51261 /* Override any GCC internal prototype to avoid an error.
51262 Use char because int might match the return type of a GCC
51263 builtin and then its argument prototype would still apply. */
51264 #ifdef __cplusplus
51265 extern "C"
51266 #endif
51267 char $ac_func ();
51268 /* The GNU C library defines this for functions which it implements
51269 to always fail with ENOSYS. Some functions are actually named
51270 something starting with __ and the normal name is an alias. */
51271 #if defined __stub_$ac_func || defined __stub___$ac_func
51272 choke me
51273 #endif
51274
51275 int
51276 main ()
51277 {
51278 return $ac_func ();
51279 ;
51280 return 0;
51281 }
51282 _ACEOF
51283 rm -f conftest.$ac_objext conftest$ac_exeext
51284 if { (ac_try="$ac_link"
51285 case "(($ac_try" in
51286 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51287 *) ac_try_echo=$ac_try;;
51288 esac
51289 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51290 (eval "$ac_link") 2>conftest.er1
51291 ac_status=$?
51292 grep -v '^ *+' conftest.er1 >conftest.err
51293 rm -f conftest.er1
51294 cat conftest.err >&5
51295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51296 (exit $ac_status); } && {
51297 test -z "$ac_c_werror_flag" ||
51298 test ! -s conftest.err
51299 } && test -s conftest$ac_exeext &&
51300 $as_test_x conftest$ac_exeext; then
51301 eval "$as_ac_var=yes"
51302 else
51303 echo "$as_me: failed program was:" >&5
51304 sed 's/^/| /' conftest.$ac_ext >&5
51305
51306 eval "$as_ac_var=no"
51307 fi
51308
51309 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
51310 conftest$ac_exeext conftest.$ac_ext
51311 fi
51312 ac_res=`eval echo '${'$as_ac_var'}'`
51313 { echo "$as_me:$LINENO: result: $ac_res" >&5
51314 echo "${ECHO_T}$ac_res" >&6; }
51315 if test `eval echo '${'$as_ac_var'}'` = yes; then
51316 cat >>confdefs.h <<_ACEOF
51317 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51318 _ACEOF
51319
51320 fi
51321 done
51322
51323 LIBS="$save_LIBS"
51324 if test "$ac_cv_func_cairo_push_group" = "no"; then
51325 wx_has_graphics=0
51326 { echo "$as_me:$LINENO: WARNING: Cairo library is too old and misses cairo_push_group()" >&5
51327 echo "$as_me: WARNING: Cairo library is too old and misses cairo_push_group()" >&2;}
51328 else
51329 cat >>confdefs.h <<\_ACEOF
51330 #define wxUSE_CAIRO 1
51331 _ACEOF
51332
51333
51334 if test "$wxUSE_GTK" != 1; then
51335 CPPFLAGS="$CAIRO_CFLAGS $CPPFLAGS"
51336 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $CAIRO_LIBS"
51337 fi
51338 fi
51339 fi
51340 else
51341 wx_has_graphics=1
51342 fi
51343
51344 if test "$wx_has_graphics" = 1; then
51345 cat >>confdefs.h <<\_ACEOF
51346 #define wxUSE_GRAPHICS_CONTEXT 1
51347 _ACEOF
51348
51349 else
51350 { echo "$as_me:$LINENO: WARNING: wxGraphicsContext won't be available" >&5
51351 echo "$as_me: WARNING: wxGraphicsContext won't be available" >&2;}
51352 fi
51353 fi
51354
51355
51356 USE_MEDIA=0
51357
51358 if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then
51359 USE_MEDIA=1
51360
51361 if test "$wxUSE_GTK" = 1; then
51362 wxUSE_GSTREAMER="no"
51363
51364 GST_VERSION_MAJOR=0
51365 GST_VERSION_MINOR=10
51366 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
51367
51368 if test "$wxUSE_GSTREAMER8" = "no"; then
51369
51370 pkg_failed=no
51371 { echo "$as_me:$LINENO: checking for GST" >&5
51372 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
51373
51374 if test -n "$PKG_CONFIG"; then
51375 if test -n "$GST_CFLAGS"; then
51376 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
51377 else
51378 if test -n "$PKG_CONFIG" && \
51379 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION\"") >&5
51380 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION") 2>&5
51381 ac_status=$?
51382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51383 (exit $ac_status); }; then
51384 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION" 2>/dev/null`
51385 else
51386 pkg_failed=yes
51387 fi
51388 fi
51389 else
51390 pkg_failed=untried
51391 fi
51392 if test -n "$PKG_CONFIG"; then
51393 if test -n "$GST_LIBS"; then
51394 pkg_cv_GST_LIBS="$GST_LIBS"
51395 else
51396 if test -n "$PKG_CONFIG" && \
51397 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION\"") >&5
51398 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION") 2>&5
51399 ac_status=$?
51400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51401 (exit $ac_status); }; then
51402 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION" 2>/dev/null`
51403 else
51404 pkg_failed=yes
51405 fi
51406 fi
51407 else
51408 pkg_failed=untried
51409 fi
51410
51411
51412
51413 if test $pkg_failed = yes; then
51414
51415 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
51416 _pkg_short_errors_supported=yes
51417 else
51418 _pkg_short_errors_supported=no
51419 fi
51420 if test $_pkg_short_errors_supported = yes; then
51421 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION"`
51422 else
51423 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION"`
51424 fi
51425 # Put the nasty error message in config.log where it belongs
51426 echo "$GST_PKG_ERRORS" >&5
51427
51428
51429 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
51430 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
51431 GST_VERSION_MINOR=8
51432
51433
51434 elif test $pkg_failed = untried; then
51435
51436 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
51437 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
51438 GST_VERSION_MINOR=8
51439
51440
51441 else
51442 GST_CFLAGS=$pkg_cv_GST_CFLAGS
51443 GST_LIBS=$pkg_cv_GST_LIBS
51444 { echo "$as_me:$LINENO: result: yes" >&5
51445 echo "${ECHO_T}yes" >&6; }
51446
51447 wxUSE_GSTREAMER="yes"
51448 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
51449
51450 fi
51451 else
51452 GST_VERSION_MINOR=8
51453 fi
51454
51455 if test $GST_VERSION_MINOR = "8"; then
51456 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
51457
51458 pkg_failed=no
51459 { echo "$as_me:$LINENO: checking for GST" >&5
51460 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
51461
51462 if test -n "$PKG_CONFIG"; then
51463 if test -n "$GST_CFLAGS"; then
51464 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
51465 else
51466 if test -n "$PKG_CONFIG" && \
51467 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
51468 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
51469 ac_status=$?
51470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51471 (exit $ac_status); }; then
51472 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
51473 else
51474 pkg_failed=yes
51475 fi
51476 fi
51477 else
51478 pkg_failed=untried
51479 fi
51480 if test -n "$PKG_CONFIG"; then
51481 if test -n "$GST_LIBS"; then
51482 pkg_cv_GST_LIBS="$GST_LIBS"
51483 else
51484 if test -n "$PKG_CONFIG" && \
51485 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
51486 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
51487 ac_status=$?
51488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51489 (exit $ac_status); }; then
51490 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
51491 else
51492 pkg_failed=yes
51493 fi
51494 fi
51495 else
51496 pkg_failed=untried
51497 fi
51498
51499
51500
51501 if test $pkg_failed = yes; then
51502
51503 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
51504 _pkg_short_errors_supported=yes
51505 else
51506 _pkg_short_errors_supported=no
51507 fi
51508 if test $_pkg_short_errors_supported = yes; then
51509 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
51510 else
51511 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
51512 fi
51513 # Put the nasty error message in config.log where it belongs
51514 echo "$GST_PKG_ERRORS" >&5
51515
51516
51517 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
51518 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
51519
51520 elif test $pkg_failed = untried; then
51521
51522 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
51523 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
51524
51525 else
51526 GST_CFLAGS=$pkg_cv_GST_CFLAGS
51527 GST_LIBS=$pkg_cv_GST_LIBS
51528 { echo "$as_me:$LINENO: result: yes" >&5
51529 echo "${ECHO_T}yes" >&6; }
51530 wxUSE_GSTREAMER="yes"
51531 fi
51532 fi
51533
51534
51535 if test "$wxUSE_GSTREAMER" = "yes"; then
51536 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
51537 EXTRALIBS_MEDIA="$GST_LIBS"
51538
51539 cat >>confdefs.h <<\_ACEOF
51540 #define wxUSE_GSTREAMER 1
51541 _ACEOF
51542
51543 else
51544 USE_MEDIA=0
51545 fi
51546 fi
51547
51548 if test $USE_MEDIA = 1; then
51549 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
51550 cat >>confdefs.h <<\_ACEOF
51551 #define wxUSE_MEDIACTRL 1
51552 _ACEOF
51553
51554 else
51555 if test "$wxUSE_MEDIACTRL" = "yes"; then
51556 { { echo "$as_me:$LINENO: error: GStreamer not available" >&5
51557 echo "$as_me: error: GStreamer not available" >&2;}
51558 { (exit 1); exit 1; }; }
51559 else
51560 { echo "$as_me:$LINENO: WARNING: GStreamer not available... disabling wxMediaCtrl" >&5
51561 echo "$as_me: WARNING: GStreamer not available... disabling wxMediaCtrl" >&2;}
51562 fi
51563 fi
51564 fi
51565
51566
51567 if test "$cross_compiling" != "no"; then
51568 OSINFO="\"$host\""
51569 else
51570 OSINFO=`uname -s -r -m`
51571 OSINFO="\"$OSINFO\""
51572 fi
51573
51574 cat >>confdefs.h <<_ACEOF
51575 #define WXWIN_OS_DESCRIPTION $OSINFO
51576 _ACEOF
51577
51578
51579
51580 if test "x$prefix" != "xNONE"; then
51581 wxPREFIX=$prefix
51582 else
51583 wxPREFIX=$ac_default_prefix
51584 fi
51585
51586 cat >>confdefs.h <<_ACEOF
51587 #define wxINSTALL_PREFIX "$wxPREFIX"
51588 _ACEOF
51589
51590
51591
51592
51593 STD_BASE_LIBS="base"
51594 STD_GUI_LIBS=""
51595 BUILT_WX_LIBS="base"
51596 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
51597
51598 if test "$wxUSE_SOCKETS" = "yes" ; then
51599 STD_BASE_LIBS="net $STD_BASE_LIBS"
51600 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
51601 fi
51602 if test "$wxUSE_XML" = "yes" ; then
51603 STD_BASE_LIBS="xml $STD_BASE_LIBS"
51604 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
51605 fi
51606
51607 if test "$wxUSE_GUI" = "yes"; then
51608 STD_GUI_LIBS="adv core"
51609 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
51610
51611 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
51612 STD_GUI_LIBS="qa $STD_GUI_LIBS"
51613 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
51614 fi
51615 if test "$wxUSE_HTML" = "yes" ; then
51616 STD_GUI_LIBS="html $STD_GUI_LIBS"
51617 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
51618 fi
51619 if test "$wxUSE_MEDIACTRL" = "yes" ; then
51620 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
51621 fi
51622 if test "$wxUSE_OPENGL" = "yes" ; then
51623 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
51624 fi
51625 if test "$wxUSE_AUI" = "yes" ; then
51626 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
51627 fi
51628 if test "$wxUSE_PROPGRID" = "yes" ; then
51629 BUILT_WX_LIBS="propgrid $BUILT_WX_LIBS"
51630 fi
51631 if test "$wxUSE_RIBBON" = "yes" ; then
51632 BUILT_WX_LIBS="ribbon $BUILT_WX_LIBS"
51633 fi
51634 if test "$wxUSE_RICHTEXT" = "yes" ; then
51635 BUILT_WX_LIBS="richtext $BUILT_WX_LIBS"
51636 fi
51637 if test "$wxUSE_STC" = "yes" ; then
51638 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
51639 fi
51640 if test "$wxUSE_WEBVIEW" = "yes" ; then
51641 STD_GUI_LIBS="webview $STD_GUI_LIBS"
51642 BUILT_WX_LIBS="webview $BUILT_WX_LIBS"
51643 fi
51644 if test "$wxUSE_XRC" = "yes" ; then
51645 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
51646 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
51647 fi
51648 fi
51649
51650
51651
51652
51653
51654
51655
51656 EXTRA_FRAMEWORKS=
51657 if test "$wxUSE_MAC" = 1 ; then
51658 if test "$USE_DARWIN" = 1; then
51659 if test "$wxUSE_OSX_IPHONE" = 1; then
51660 EXTRA_FRAMEWORKS="-framework IOKit -framework UIKit -framework CFNetwork -framework AudioToolbox -framework CoreFoundation -framework CoreGraphics -framework OpenGLES -framework Foundation -framework QuartzCore"
51661 else
51662 EXTRA_FRAMEWORKS="-framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL -framework QuickTime"
51663 fi
51664 fi
51665 fi
51666 if test "$wxUSE_OLD_COCOA" = 1 ; then
51667 EXTRA_FRAMEWORKS="-framework IOKit -framework Cocoa"
51668 if test "$wxUSE_MEDIACTRL" = "yes"; then
51669 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework QuickTime"
51670 fi
51671 fi
51672 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1 ; then
51673 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
51674 fi
51675
51676 LDFLAGS="$LDFLAGS $EXTRA_FRAMEWORKS"
51677 WXCONFIG_LDFLAGS="$WXCONFIG_LDFLAGS $EXTRA_FRAMEWORKS"
51678
51679 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
51680
51681 if test "$wxUSE_GUI" = "yes"; then
51682
51683
51684 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
51685 erase event exec font image minimal render \
51686 shaped svg taborder vscroll widgets wrapsizer"
51687
51688 if test "$wxUSE_MONOLITHIC" != "yes"; then
51689 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
51690 fi
51691 if test "$TOOLKIT" = "MSW"; then
51692 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
51693 if test "$wxUSE_UNIVERSAL" != "yes"; then
51694 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg dll"
51695 fi
51696 fi
51697 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
51698 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
51699 fi
51700 else
51701 SAMPLES_SUBDIRS="console"
51702 if test "$wxUSE_SOCKETS" = "yes" ; then
51703 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
51704 fi
51705 if test "$wxUSE_IPC" = "yes" ; then
51706 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
51707 fi
51708 fi
51709
51710
51711 if test "x$INTELCC" = "xyes" ; then
51712 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684,2259"
51713 elif test "$GCC" = yes ; then
51714 CWARNINGS="-Wall -Wundef"
51715 fi
51716
51717 if test "x$INTELCXX" = "xyes" ; then
51718 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419,1881,2259"
51719 elif test "$GXX" = yes ; then
51720 CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
51721 { echo "$as_me:$LINENO: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5
51722 echo $ECHO_N "checking CXXWARNINGS for gcc -Woverloaded-virtual... $ECHO_C" >&6; }
51723 if test "${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+set}" = set; then
51724 echo $ECHO_N "(cached) $ECHO_C" >&6
51725 else
51726 ac_cv_cxxflags_gcc_option__Woverloaded_virtual="no, unknown"
51727
51728 ac_ext=cpp
51729 ac_cpp='$CXXCPP $CPPFLAGS'
51730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51733
51734 ac_save_CXXFLAGS="$CXXFLAGS"
51735 for ac_arg in "-pedantic -Werror % -Woverloaded-virtual" "-pedantic % -Woverloaded-virtual %% no, obsolete" #
51736 do CXXFLAGS="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
51737 cat >conftest.$ac_ext <<_ACEOF
51738 /* confdefs.h. */
51739 _ACEOF
51740 cat confdefs.h >>conftest.$ac_ext
51741 cat >>conftest.$ac_ext <<_ACEOF
51742 /* end confdefs.h. */
51743
51744 int
51745 main ()
51746 {
51747 return 0;
51748 ;
51749 return 0;
51750 }
51751 _ACEOF
51752 rm -f conftest.$ac_objext
51753 if { (ac_try="$ac_compile"
51754 case "(($ac_try" in
51755 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51756 *) ac_try_echo=$ac_try;;
51757 esac
51758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51759 (eval "$ac_compile") 2>conftest.er1
51760 ac_status=$?
51761 grep -v '^ *+' conftest.er1 >conftest.err
51762 rm -f conftest.er1
51763 cat conftest.err >&5
51764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51765 (exit $ac_status); } && {
51766 test -z "$ac_cxx_werror_flag" ||
51767 test ! -s conftest.err
51768 } && test -s conftest.$ac_objext; then
51769 ac_cv_cxxflags_gcc_option__Woverloaded_virtual=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
51770 else
51771 echo "$as_me: failed program was:" >&5
51772 sed 's/^/| /' conftest.$ac_ext >&5
51773
51774
51775 fi
51776
51777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51778 done
51779 CXXFLAGS="$ac_save_CXXFLAGS"
51780 ac_ext=c
51781 ac_cpp='$CPP $CPPFLAGS'
51782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51785
51786
51787 fi
51788 { echo "$as_me:$LINENO: result: $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&5
51789 echo "${ECHO_T}$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&6; }
51790 case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in
51791 .ok|.ok,*) ;;
51792 .|.no|.no,*) ;;
51793 *)
51794 if echo " $CXXWARNINGS " | grep " $ac_cv_cxxflags_gcc_option__Woverloaded_virtual " 2>&1 >/dev/null
51795 then { (echo "$as_me:$LINENO: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual") >&5
51796 (: CXXWARNINGS does contain $ac_cv_cxxflags_gcc_option__Woverloaded_virtual) 2>&5
51797 ac_status=$?
51798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51799 (exit $ac_status); }
51800 else { (echo "$as_me:$LINENO: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\"") >&5
51801 (: CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual") 2>&5
51802 ac_status=$?
51803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51804 (exit $ac_status); }
51805 CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual"
51806 fi
51807 ;;
51808 esac
51809
51810
51811 if test "$wxUSE_MAC" = 1 ; then
51812 CXXWARNINGS="$CXXWARNINGS -Wno-deprecated-declarations"
51813 fi
51814 fi
51815
51816
51817 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
51818 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
51819
51820
51821 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
51822 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
51823 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
51824 $CPPFLAGS `
51825
51826 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
51827 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
51828 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
51829 OBJCFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
51830 OBJCXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
51831
51832 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
51833
51834
51835 if test "x$MWCC" = "xyes"; then
51836
51837 CC="$CC -cwd source -I-"
51838 CXX="$CXX -cwd source -I-"
51839 fi
51840
51841
51842 LIBS=`echo $LIBS`
51843 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
51844 EXTRALIBS_XML="$EXPAT_LINK"
51845 EXTRALIBS_HTML="$MSPACK_LINK"
51846 EXTRALIBS_MEDIA="$GST_LIBS"
51847 EXTRALIBS_STC="-lwxscintilla${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
51848 if test "$wxUSE_GUI" = "yes"; then
51849 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
51850 fi
51851 if test "$wxUSE_OPENGL" = "yes"; then
51852 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
51853 fi
51854
51855 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
51856
51857 WXCONFIG_LIBS="$LIBS"
51858
51859 if test "$wxUSE_REGEX" = "builtin" ; then
51860 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
51861 fi
51862 if test "$wxUSE_EXPAT" = "builtin" ; then
51863 wxconfig_3rdparty="expat $wxconfig_3rdparty"
51864 fi
51865 if test "$wxUSE_LIBTIFF" = "builtin" ; then
51866 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
51867 fi
51868 if test "$wxUSE_LIBJPEG" = "builtin" ; then
51869 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
51870 fi
51871 if test "$wxUSE_LIBPNG" = "builtin" ; then
51872 wxconfig_3rdparty="png $wxconfig_3rdparty"
51873 fi
51874 if test "$wxUSE_ZLIB" = "builtin" ; then
51875 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
51876 fi
51877
51878 for i in $wxconfig_3rdparty ; do
51879 WXCONFIG_LIBS="-lwx${i}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
51880 done
51881
51882
51883 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
51884 WXUNIV=1
51885
51886 case "$wxUNIV_THEMES" in
51887 ''|all)
51888 cat >>confdefs.h <<\_ACEOF
51889 #define wxUSE_ALL_THEMES 1
51890 _ACEOF
51891
51892 ;;
51893
51894 *)
51895 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
51896 cat >>confdefs.h <<_ACEOF
51897 #define wxUSE_THEME_$t 1
51898 _ACEOF
51899
51900 done
51901 esac
51902 else
51903 WXUNIV=0
51904 fi
51905
51906
51907
51908
51909
51910
51911
51912
51913 if test $wxUSE_MONOLITHIC = "yes" ; then
51914 MONOLITHIC=1
51915 else
51916 MONOLITHIC=0
51917 fi
51918
51919 if test $wxUSE_PLUGINS = "yes" ; then
51920 USE_PLUGINS=1
51921 else
51922 USE_PLUGINS=0
51923 fi
51924
51925 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
51926 USE_QA=1
51927 else
51928 USE_QA=0
51929 fi
51930
51931 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
51932 OFFICIAL_BUILD=1
51933 else
51934 OFFICIAL_BUILD=0
51935 fi
51936
51937
51938
51939
51940
51941
51942
51943
51944
51945
51946
51947
51948
51949
51950
51951
51952
51953
51954
51955
51956
51957
51958
51959
51960
51961
51962
51963 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
51964
51965
51966
51967
51968
51969
51970
51971
51972
51973
51974 case "$TOOLKIT" in
51975 GTK)
51976 TOOLKIT_DESC="GTK+"
51977 if test "$WXGTK2" = 1; then
51978 TOOLKIT_DESC="$TOOLKIT_DESC 2"
51979 if test "$wxUSE_GTKPRINT" = "yes" ; then
51980 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
51981 fi
51982 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
51983 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
51984 fi
51985 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
51986 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
51987 fi
51988 if test "$wxUSE_LIBHILDON" = "yes"; then
51989 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
51990 fi
51991 if test "$wxUSE_LIBHILDON2" = "yes"; then
51992 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
51993 fi
51994
51995 if test "$TOOLKIT_EXTRA" != ""; then
51996 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
51997 fi
51998 fi
51999 ;;
52000
52001 ?*)
52002 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
52003 ;;
52004
52005 *)
52006 TOOLKIT_DESC="base only"
52007 ;;
52008 esac
52009
52010 if test "$wxUSE_WINE" = "yes"; then
52011 BAKEFILE_FORCE_PLATFORM=win32
52012 fi
52013
52014 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
52015 then
52016 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
52017 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
52018 if test "${wx_cv_gcc_pch_bug+set}" = set; then
52019 echo $ECHO_N "(cached) $ECHO_C" >&6
52020 else
52021
52022 echo '#include <stdio.h>
52023 const wchar_t test_var[] = L"awidetest";' > conftest.h
52024
52025 echo '#include "conftest.h"
52026 int main()
52027 {
52028 printf("%ls", test_var);
52029 return 0;
52030 }' > conftest.cpp
52031
52032 wx_cv_gcc_pch_bug="pch not supported"
52033
52034 if $CXX conftest.h >/dev/null 2>&1
52035 then
52036 wx_cv_gcc_pch_bug=
52037
52038 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
52039 then
52040 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
52041 grep awidetest >/dev/null
52042 then
52043 wx_cv_gcc_pch_bug=no
52044 else
52045 wx_cv_gcc_pch_bug=yes
52046 fi
52047 fi
52048 fi
52049
52050 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
52051
52052 fi
52053 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
52054 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
52055
52056 if test "$wx_cv_gcc_pch_bug" = yes; then
52057 bk_use_pch=no
52058 fi
52059 fi
52060
52061
52062
52063
52064
52065
52066
52067 if test "x$BAKEFILE_HOST" = "x"; then
52068 if test "x${host}" = "x" ; then
52069 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
52070 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
52071 { (exit 1); exit 1; }; }
52072 fi
52073
52074 BAKEFILE_HOST="${host}"
52075 fi
52076
52077 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
52078
52079 if test -n "$ac_tool_prefix"; then
52080 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
52081 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
52082 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52083 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52084 if test "${ac_cv_prog_RANLIB+set}" = set; then
52085 echo $ECHO_N "(cached) $ECHO_C" >&6
52086 else
52087 if test -n "$RANLIB"; then
52088 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
52089 else
52090 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52091 for as_dir in $PATH
52092 do
52093 IFS=$as_save_IFS
52094 test -z "$as_dir" && as_dir=.
52095 for ac_exec_ext in '' $ac_executable_extensions; do
52096 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52097 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
52098 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52099 break 2
52100 fi
52101 done
52102 done
52103 IFS=$as_save_IFS
52104
52105 fi
52106 fi
52107 RANLIB=$ac_cv_prog_RANLIB
52108 if test -n "$RANLIB"; then
52109 { echo "$as_me:$LINENO: result: $RANLIB" >&5
52110 echo "${ECHO_T}$RANLIB" >&6; }
52111 else
52112 { echo "$as_me:$LINENO: result: no" >&5
52113 echo "${ECHO_T}no" >&6; }
52114 fi
52115
52116
52117 fi
52118 if test -z "$ac_cv_prog_RANLIB"; then
52119 ac_ct_RANLIB=$RANLIB
52120 # Extract the first word of "ranlib", so it can be a program name with args.
52121 set dummy ranlib; ac_word=$2
52122 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52123 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52124 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
52125 echo $ECHO_N "(cached) $ECHO_C" >&6
52126 else
52127 if test -n "$ac_ct_RANLIB"; then
52128 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
52129 else
52130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52131 for as_dir in $PATH
52132 do
52133 IFS=$as_save_IFS
52134 test -z "$as_dir" && as_dir=.
52135 for ac_exec_ext in '' $ac_executable_extensions; do
52136 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52137 ac_cv_prog_ac_ct_RANLIB="ranlib"
52138 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52139 break 2
52140 fi
52141 done
52142 done
52143 IFS=$as_save_IFS
52144
52145 fi
52146 fi
52147 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
52148 if test -n "$ac_ct_RANLIB"; then
52149 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
52150 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
52151 else
52152 { echo "$as_me:$LINENO: result: no" >&5
52153 echo "${ECHO_T}no" >&6; }
52154 fi
52155
52156 if test "x$ac_ct_RANLIB" = x; then
52157 RANLIB=":"
52158 else
52159 case $cross_compiling:$ac_tool_warned in
52160 yes:)
52161 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
52162 whose name does not start with the host triplet. If you think this
52163 configuration is useful to you, please write to autoconf@gnu.org." >&5
52164 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
52165 whose name does not start with the host triplet. If you think this
52166 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
52167 ac_tool_warned=yes ;;
52168 esac
52169 RANLIB=$ac_ct_RANLIB
52170 fi
52171 else
52172 RANLIB="$ac_cv_prog_RANLIB"
52173 fi
52174
52175 # Find a good install program. We prefer a C program (faster),
52176 # so one script is as good as another. But avoid the broken or
52177 # incompatible versions:
52178 # SysV /etc/install, /usr/sbin/install
52179 # SunOS /usr/etc/install
52180 # IRIX /sbin/install
52181 # AIX /bin/install
52182 # AmigaOS /C/install, which installs bootblocks on floppy discs
52183 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
52184 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
52185 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
52186 # OS/2's system install, which has a completely different semantic
52187 # ./install, which can be erroneously created by make from ./install.sh.
52188 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
52189 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
52190 if test -z "$INSTALL"; then
52191 if test "${ac_cv_path_install+set}" = set; then
52192 echo $ECHO_N "(cached) $ECHO_C" >&6
52193 else
52194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52195 for as_dir in $PATH
52196 do
52197 IFS=$as_save_IFS
52198 test -z "$as_dir" && as_dir=.
52199 # Account for people who put trailing slashes in PATH elements.
52200 case $as_dir/ in
52201 ./ | .// | /cC/* | \
52202 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
52203 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
52204 /usr/ucb/* ) ;;
52205 *)
52206 # OSF1 and SCO ODT 3.0 have their own names for install.
52207 # Don't use installbsd from OSF since it installs stuff as root
52208 # by default.
52209 for ac_prog in ginstall scoinst install; do
52210 for ac_exec_ext in '' $ac_executable_extensions; do
52211 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
52212 if test $ac_prog = install &&
52213 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
52214 # AIX install. It has an incompatible calling convention.
52215 :
52216 elif test $ac_prog = install &&
52217 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
52218 # program-specific install script used by HP pwplus--don't use.
52219 :
52220 else
52221 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
52222 break 3
52223 fi
52224 fi
52225 done
52226 done
52227 ;;
52228 esac
52229 done
52230 IFS=$as_save_IFS
52231
52232
52233 fi
52234 if test "${ac_cv_path_install+set}" = set; then
52235 INSTALL=$ac_cv_path_install
52236 else
52237 # As a last resort, use the slow shell script. Don't cache a
52238 # value for INSTALL within a source directory, because that will
52239 # break other packages using the cache if that directory is
52240 # removed, or if the value is a relative name.
52241 INSTALL=$ac_install_sh
52242 fi
52243 fi
52244 { echo "$as_me:$LINENO: result: $INSTALL" >&5
52245 echo "${ECHO_T}$INSTALL" >&6; }
52246
52247 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
52248 # It thinks the first close brace ends the variable substitution.
52249 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
52250
52251 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
52252
52253 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
52254
52255 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
52256 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
52257 LN_S=$as_ln_s
52258 if test "$LN_S" = "ln -s"; then
52259 { echo "$as_me:$LINENO: result: yes" >&5
52260 echo "${ECHO_T}yes" >&6; }
52261 else
52262 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
52263 echo "${ECHO_T}no, using $LN_S" >&6; }
52264 fi
52265
52266
52267 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
52268 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
52269 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
52270 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
52271 echo $ECHO_N "(cached) $ECHO_C" >&6
52272 else
52273 cat >conftest.make <<\_ACEOF
52274 SHELL = /bin/sh
52275 all:
52276 @echo '@@@%%%=$(MAKE)=@@@%%%'
52277 _ACEOF
52278 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
52279 case `${MAKE-make} -f conftest.make 2>/dev/null` in
52280 *@@@%%%=?*=@@@%%%*)
52281 eval ac_cv_prog_make_${ac_make}_set=yes;;
52282 *)
52283 eval ac_cv_prog_make_${ac_make}_set=no;;
52284 esac
52285 rm -f conftest.make
52286 fi
52287 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
52288 { echo "$as_me:$LINENO: result: yes" >&5
52289 echo "${ECHO_T}yes" >&6; }
52290 SET_MAKE=
52291 else
52292 { echo "$as_me:$LINENO: result: no" >&5
52293 echo "${ECHO_T}no" >&6; }
52294 SET_MAKE="MAKE=${MAKE-make}"
52295 fi
52296
52297
52298
52299 if test "x$SUNCXX" = "xyes"; then
52300 AR=$CXX
52301 AROPTIONS="-xar -o"
52302
52303 elif test "x$SGICC" = "xyes"; then
52304 AR=$CXX
52305 AROPTIONS="-ar -o"
52306
52307 else
52308 if test -n "$ac_tool_prefix"; then
52309 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
52310 set dummy ${ac_tool_prefix}ar; ac_word=$2
52311 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52312 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52313 if test "${ac_cv_prog_AR+set}" = set; then
52314 echo $ECHO_N "(cached) $ECHO_C" >&6
52315 else
52316 if test -n "$AR"; then
52317 ac_cv_prog_AR="$AR" # Let the user override the test.
52318 else
52319 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52320 for as_dir in $PATH
52321 do
52322 IFS=$as_save_IFS
52323 test -z "$as_dir" && as_dir=.
52324 for ac_exec_ext in '' $ac_executable_extensions; do
52325 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52326 ac_cv_prog_AR="${ac_tool_prefix}ar"
52327 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52328 break 2
52329 fi
52330 done
52331 done
52332 IFS=$as_save_IFS
52333
52334 fi
52335 fi
52336 AR=$ac_cv_prog_AR
52337 if test -n "$AR"; then
52338 { echo "$as_me:$LINENO: result: $AR" >&5
52339 echo "${ECHO_T}$AR" >&6; }
52340 else
52341 { echo "$as_me:$LINENO: result: no" >&5
52342 echo "${ECHO_T}no" >&6; }
52343 fi
52344
52345
52346 fi
52347 if test -z "$ac_cv_prog_AR"; then
52348 ac_ct_AR=$AR
52349 # Extract the first word of "ar", so it can be a program name with args.
52350 set dummy ar; ac_word=$2
52351 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52352 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52353 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
52354 echo $ECHO_N "(cached) $ECHO_C" >&6
52355 else
52356 if test -n "$ac_ct_AR"; then
52357 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
52358 else
52359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52360 for as_dir in $PATH
52361 do
52362 IFS=$as_save_IFS
52363 test -z "$as_dir" && as_dir=.
52364 for ac_exec_ext in '' $ac_executable_extensions; do
52365 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52366 ac_cv_prog_ac_ct_AR="ar"
52367 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52368 break 2
52369 fi
52370 done
52371 done
52372 IFS=$as_save_IFS
52373
52374 fi
52375 fi
52376 ac_ct_AR=$ac_cv_prog_ac_ct_AR
52377 if test -n "$ac_ct_AR"; then
52378 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
52379 echo "${ECHO_T}$ac_ct_AR" >&6; }
52380 else
52381 { echo "$as_me:$LINENO: result: no" >&5
52382 echo "${ECHO_T}no" >&6; }
52383 fi
52384
52385 if test "x$ac_ct_AR" = x; then
52386 AR="ar"
52387 else
52388 case $cross_compiling:$ac_tool_warned in
52389 yes:)
52390 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
52391 whose name does not start with the host triplet. If you think this
52392 configuration is useful to you, please write to autoconf@gnu.org." >&5
52393 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
52394 whose name does not start with the host triplet. If you think this
52395 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
52396 ac_tool_warned=yes ;;
52397 esac
52398 AR=$ac_ct_AR
52399 fi
52400 else
52401 AR="$ac_cv_prog_AR"
52402 fi
52403
52404 AROPTIONS=rcu
52405 fi
52406
52407
52408 if test -n "$ac_tool_prefix"; then
52409 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
52410 set dummy ${ac_tool_prefix}strip; ac_word=$2
52411 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52412 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52413 if test "${ac_cv_prog_STRIP+set}" = set; then
52414 echo $ECHO_N "(cached) $ECHO_C" >&6
52415 else
52416 if test -n "$STRIP"; then
52417 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
52418 else
52419 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52420 for as_dir in $PATH
52421 do
52422 IFS=$as_save_IFS
52423 test -z "$as_dir" && as_dir=.
52424 for ac_exec_ext in '' $ac_executable_extensions; do
52425 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52426 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
52427 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52428 break 2
52429 fi
52430 done
52431 done
52432 IFS=$as_save_IFS
52433
52434 fi
52435 fi
52436 STRIP=$ac_cv_prog_STRIP
52437 if test -n "$STRIP"; then
52438 { echo "$as_me:$LINENO: result: $STRIP" >&5
52439 echo "${ECHO_T}$STRIP" >&6; }
52440 else
52441 { echo "$as_me:$LINENO: result: no" >&5
52442 echo "${ECHO_T}no" >&6; }
52443 fi
52444
52445
52446 fi
52447 if test -z "$ac_cv_prog_STRIP"; then
52448 ac_ct_STRIP=$STRIP
52449 # Extract the first word of "strip", so it can be a program name with args.
52450 set dummy strip; ac_word=$2
52451 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52452 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52453 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
52454 echo $ECHO_N "(cached) $ECHO_C" >&6
52455 else
52456 if test -n "$ac_ct_STRIP"; then
52457 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
52458 else
52459 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52460 for as_dir in $PATH
52461 do
52462 IFS=$as_save_IFS
52463 test -z "$as_dir" && as_dir=.
52464 for ac_exec_ext in '' $ac_executable_extensions; do
52465 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52466 ac_cv_prog_ac_ct_STRIP="strip"
52467 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52468 break 2
52469 fi
52470 done
52471 done
52472 IFS=$as_save_IFS
52473
52474 fi
52475 fi
52476 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
52477 if test -n "$ac_ct_STRIP"; then
52478 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
52479 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
52480 else
52481 { echo "$as_me:$LINENO: result: no" >&5
52482 echo "${ECHO_T}no" >&6; }
52483 fi
52484
52485 if test "x$ac_ct_STRIP" = x; then
52486 STRIP=":"
52487 else
52488 case $cross_compiling:$ac_tool_warned in
52489 yes:)
52490 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
52491 whose name does not start with the host triplet. If you think this
52492 configuration is useful to you, please write to autoconf@gnu.org." >&5
52493 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
52494 whose name does not start with the host triplet. If you think this
52495 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
52496 ac_tool_warned=yes ;;
52497 esac
52498 STRIP=$ac_ct_STRIP
52499 fi
52500 else
52501 STRIP="$ac_cv_prog_STRIP"
52502 fi
52503
52504 if test -n "$ac_tool_prefix"; then
52505 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
52506 set dummy ${ac_tool_prefix}nm; ac_word=$2
52507 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52508 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52509 if test "${ac_cv_prog_NM+set}" = set; then
52510 echo $ECHO_N "(cached) $ECHO_C" >&6
52511 else
52512 if test -n "$NM"; then
52513 ac_cv_prog_NM="$NM" # Let the user override the test.
52514 else
52515 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52516 for as_dir in $PATH
52517 do
52518 IFS=$as_save_IFS
52519 test -z "$as_dir" && as_dir=.
52520 for ac_exec_ext in '' $ac_executable_extensions; do
52521 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52522 ac_cv_prog_NM="${ac_tool_prefix}nm"
52523 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52524 break 2
52525 fi
52526 done
52527 done
52528 IFS=$as_save_IFS
52529
52530 fi
52531 fi
52532 NM=$ac_cv_prog_NM
52533 if test -n "$NM"; then
52534 { echo "$as_me:$LINENO: result: $NM" >&5
52535 echo "${ECHO_T}$NM" >&6; }
52536 else
52537 { echo "$as_me:$LINENO: result: no" >&5
52538 echo "${ECHO_T}no" >&6; }
52539 fi
52540
52541
52542 fi
52543 if test -z "$ac_cv_prog_NM"; then
52544 ac_ct_NM=$NM
52545 # Extract the first word of "nm", so it can be a program name with args.
52546 set dummy nm; ac_word=$2
52547 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52548 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52549 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
52550 echo $ECHO_N "(cached) $ECHO_C" >&6
52551 else
52552 if test -n "$ac_ct_NM"; then
52553 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
52554 else
52555 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52556 for as_dir in $PATH
52557 do
52558 IFS=$as_save_IFS
52559 test -z "$as_dir" && as_dir=.
52560 for ac_exec_ext in '' $ac_executable_extensions; do
52561 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52562 ac_cv_prog_ac_ct_NM="nm"
52563 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52564 break 2
52565 fi
52566 done
52567 done
52568 IFS=$as_save_IFS
52569
52570 fi
52571 fi
52572 ac_ct_NM=$ac_cv_prog_ac_ct_NM
52573 if test -n "$ac_ct_NM"; then
52574 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
52575 echo "${ECHO_T}$ac_ct_NM" >&6; }
52576 else
52577 { echo "$as_me:$LINENO: result: no" >&5
52578 echo "${ECHO_T}no" >&6; }
52579 fi
52580
52581 if test "x$ac_ct_NM" = x; then
52582 NM=":"
52583 else
52584 case $cross_compiling:$ac_tool_warned in
52585 yes:)
52586 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
52587 whose name does not start with the host triplet. If you think this
52588 configuration is useful to you, please write to autoconf@gnu.org." >&5
52589 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
52590 whose name does not start with the host triplet. If you think this
52591 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
52592 ac_tool_warned=yes ;;
52593 esac
52594 NM=$ac_ct_NM
52595 fi
52596 else
52597 NM="$ac_cv_prog_NM"
52598 fi
52599
52600
52601 INSTALL_DIR="mkdir -p"
52602
52603
52604 LDFLAGS_GUI=
52605 case ${BAKEFILE_HOST} in
52606 *-*-cygwin* | *-*-mingw32* )
52607 LDFLAGS_GUI="-mwindows"
52608 esac
52609
52610
52611 fi
52612
52613 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
52614 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
52615 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
52616 echo $ECHO_N "(cached) $ECHO_C" >&6
52617 else
52618
52619 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
52620 egrep -s GNU > /dev/null); then
52621 bakefile_cv_prog_makeisgnu="yes"
52622 else
52623 bakefile_cv_prog_makeisgnu="no"
52624 fi
52625
52626 fi
52627 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
52628 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
52629
52630 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
52631 IF_GNU_MAKE=""
52632 else
52633 IF_GNU_MAKE="#"
52634 fi
52635
52636
52637
52638 PLATFORM_UNIX=0
52639 PLATFORM_WIN32=0
52640 PLATFORM_MSDOS=0
52641 PLATFORM_MAC=0
52642 PLATFORM_MACOS=0
52643 PLATFORM_MACOSX=0
52644 PLATFORM_OS2=0
52645 PLATFORM_BEOS=0
52646
52647 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
52648 case "${BAKEFILE_HOST}" in
52649 *-*-mingw32* )
52650 PLATFORM_WIN32=1
52651 ;;
52652 *-pc-msdosdjgpp )
52653 PLATFORM_MSDOS=1
52654 ;;
52655 *-pc-os2_emx | *-pc-os2-emx )
52656 PLATFORM_OS2=1
52657 ;;
52658 *-*-darwin* )
52659 PLATFORM_MAC=1
52660 PLATFORM_MACOSX=1
52661 ;;
52662 *-*-beos* )
52663 PLATFORM_BEOS=1
52664 ;;
52665 powerpc-apple-macos* )
52666 PLATFORM_MAC=1
52667 PLATFORM_MACOS=1
52668 ;;
52669 * )
52670 PLATFORM_UNIX=1
52671 ;;
52672 esac
52673 else
52674 case "$BAKEFILE_FORCE_PLATFORM" in
52675 win32 )
52676 PLATFORM_WIN32=1
52677 ;;
52678 msdos )
52679 PLATFORM_MSDOS=1
52680 ;;
52681 os2 )
52682 PLATFORM_OS2=1
52683 ;;
52684 darwin )
52685 PLATFORM_MAC=1
52686 PLATFORM_MACOSX=1
52687 ;;
52688 unix )
52689 PLATFORM_UNIX=1
52690 ;;
52691 beos )
52692 PLATFORM_BEOS=1
52693 ;;
52694 * )
52695 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
52696 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
52697 { (exit 1); exit 1; }; }
52698 ;;
52699 esac
52700 fi
52701
52702
52703
52704
52705
52706
52707
52708
52709
52710
52711
52712 # Check whether --enable-omf was given.
52713 if test "${enable_omf+set}" = set; then
52714 enableval=$enable_omf; bk_os2_use_omf="$enableval"
52715 fi
52716
52717
52718 case "${BAKEFILE_HOST}" in
52719 *-*-darwin* )
52720 if test "x$GCC" = "xyes"; then
52721 CFLAGS="$CFLAGS -fno-common"
52722 CXXFLAGS="$CXXFLAGS -fno-common"
52723 fi
52724 if test "x$XLCC" = "xyes"; then
52725 CFLAGS="$CFLAGS -qnocommon"
52726 CXXFLAGS="$CXXFLAGS -qnocommon"
52727 fi
52728 ;;
52729
52730 *-pc-os2_emx | *-pc-os2-emx )
52731 if test "x$bk_os2_use_omf" = "xyes" ; then
52732 AR=emxomfar
52733 RANLIB=:
52734 LDFLAGS="-Zomf $LDFLAGS"
52735 CFLAGS="-Zomf $CFLAGS"
52736 CXXFLAGS="-Zomf $CXXFLAGS"
52737 OS2_LIBEXT="lib"
52738 else
52739 OS2_LIBEXT="a"
52740 fi
52741 ;;
52742
52743 i*86-*-beos* )
52744 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
52745 ;;
52746 esac
52747
52748
52749 SO_SUFFIX="so"
52750 SO_SUFFIX_MODULE="so"
52751 EXEEXT=""
52752 LIBPREFIX="lib"
52753 LIBEXT=".a"
52754 DLLPREFIX="lib"
52755 DLLPREFIX_MODULE=""
52756 DLLIMP_SUFFIX=""
52757 dlldir="$libdir"
52758
52759 case "${BAKEFILE_HOST}" in
52760 ia64-hp-hpux* )
52761 ;;
52762 *-hp-hpux* )
52763 SO_SUFFIX="sl"
52764 SO_SUFFIX_MODULE="sl"
52765 ;;
52766 *-*-aix* )
52767 SO_SUFFIX="a"
52768 SO_SUFFIX_MODULE="a"
52769 ;;
52770 *-*-cygwin* )
52771 SO_SUFFIX="dll"
52772 SO_SUFFIX_MODULE="dll"
52773 DLLIMP_SUFFIX="dll.a"
52774 EXEEXT=".exe"
52775 DLLPREFIX="cyg"
52776 dlldir="$bindir"
52777 ;;
52778 *-*-mingw32* )
52779 SO_SUFFIX="dll"
52780 SO_SUFFIX_MODULE="dll"
52781 DLLIMP_SUFFIX="dll.a"
52782 EXEEXT=".exe"
52783 DLLPREFIX=""
52784 dlldir="$bindir"
52785 ;;
52786 *-pc-msdosdjgpp )
52787 EXEEXT=".exe"
52788 DLLPREFIX=""
52789 dlldir="$bindir"
52790 ;;
52791 *-pc-os2_emx | *-pc-os2-emx )
52792 SO_SUFFIX="dll"
52793 SO_SUFFIX_MODULE="dll"
52794 DLLIMP_SUFFIX=$OS2_LIBEXT
52795 EXEEXT=".exe"
52796 DLLPREFIX=""
52797 LIBPREFIX=""
52798 LIBEXT=".$OS2_LIBEXT"
52799 dlldir="$bindir"
52800 ;;
52801 *-*-darwin* )
52802 SO_SUFFIX="dylib"
52803 SO_SUFFIX_MODULE="bundle"
52804 ;;
52805 esac
52806
52807 if test "x$DLLIMP_SUFFIX" = "x" ; then
52808 DLLIMP_SUFFIX="$SO_SUFFIX"
52809 fi
52810
52811
52812
52813
52814
52815
52816
52817
52818
52819
52820
52821
52822 PIC_FLAG=""
52823 if test "x$GCC" = "xyes"; then
52824 PIC_FLAG="-fPIC"
52825 fi
52826
52827 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
52828 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
52829 WINDOWS_IMPLIB=0
52830
52831 case "${BAKEFILE_HOST}" in
52832 *-hp-hpux* )
52833 if test "x$GCC" != "xyes"; then
52834 LDFLAGS="$LDFLAGS -L/usr/lib"
52835
52836 SHARED_LD_CC="${CC} -b -o"
52837 SHARED_LD_CXX="${CXX} -b -o"
52838 PIC_FLAG="+Z"
52839 fi
52840 ;;
52841
52842 *-*-linux* )
52843 if test "$INTELCC" = "yes" -a "$INTELCC8" != "yes"; then
52844 PIC_FLAG="-KPIC"
52845 elif test "x$SUNCXX" = "xyes"; then
52846 SHARED_LD_CC="${CC} -G -o"
52847 SHARED_LD_CXX="${CXX} -G -o"
52848 PIC_FLAG="-KPIC"
52849 fi
52850 ;;
52851
52852 *-*-solaris2* )
52853 if test "x$SUNCXX" = xyes ; then
52854 SHARED_LD_CC="${CC} -G -o"
52855 SHARED_LD_CXX="${CXX} -G -o"
52856 PIC_FLAG="-KPIC"
52857 fi
52858 ;;
52859
52860 *-*-darwin* )
52861
52862 D='$'
52863 cat <<EOF >shared-ld-sh
52864 #!/bin/sh
52865 #-----------------------------------------------------------------------------
52866 #-- Name: distrib/mac/shared-ld-sh
52867 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
52868 #-- Author: Gilles Depeyrot
52869 #-- Copyright: (c) 2002 Gilles Depeyrot
52870 #-- Licence: any use permitted
52871 #-----------------------------------------------------------------------------
52872
52873 verbose=0
52874 args=""
52875 objects=""
52876 linking_flag="-dynamiclib"
52877 ldargs="-r -keep_private_externs -nostdlib"
52878
52879 if test "x${D}CXX" = "x"; then
52880 CXX="c++"
52881 fi
52882
52883 while test ${D}# -gt 0; do
52884 case ${D}1 in
52885
52886 -v)
52887 verbose=1
52888 ;;
52889
52890 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
52891 # collect these options and values
52892 args="${D}{args} ${D}1 ${D}2"
52893 shift
52894 ;;
52895
52896 -arch|-isysroot)
52897 # collect these options and values
52898 ldargs="${D}{ldargs} ${D}1 ${D}2"
52899 shift
52900 ;;
52901
52902 -s|-Wl,*)
52903 # collect these load args
52904 ldargs="${D}{ldargs} ${D}1"
52905 ;;
52906
52907 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
52908 # collect these options
52909 args="${D}{args} ${D}1"
52910 ;;
52911
52912 -dynamiclib|-bundle)
52913 linking_flag="${D}1"
52914 ;;
52915
52916 -*)
52917 echo "shared-ld: unhandled option '${D}1'"
52918 exit 1
52919 ;;
52920
52921 *.o | *.a | *.dylib)
52922 # collect object files
52923 objects="${D}{objects} ${D}1"
52924 ;;
52925
52926 *)
52927 echo "shared-ld: unhandled argument '${D}1'"
52928 exit 1
52929 ;;
52930
52931 esac
52932 shift
52933 done
52934
52935 status=0
52936
52937 #
52938 # Link one module containing all the others
52939 #
52940 if test ${D}{verbose} = 1; then
52941 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
52942 fi
52943 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
52944 status=${D}?
52945
52946 #
52947 # Link the shared library from the single module created, but only if the
52948 # previous command didn't fail:
52949 #
52950 if test ${D}{status} = 0; then
52951 if test ${D}{verbose} = 1; then
52952 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
52953 fi
52954 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
52955 status=${D}?
52956 fi
52957
52958 #
52959 # Remove intermediate module
52960 #
52961 rm -f master.${D}${D}.o
52962
52963 exit ${D}status
52964 EOF
52965
52966 chmod +x shared-ld-sh
52967
52968 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
52969 SHARED_LD_MODULE_CXX="CXX=\"\$(CXX)\" $SHARED_LD_MODULE_CC"
52970
52971
52972 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
52973 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
52974 if test "${bakefile_cv_gcc31+set}" = set; then
52975 echo $ECHO_N "(cached) $ECHO_C" >&6
52976 else
52977
52978 cat >conftest.$ac_ext <<_ACEOF
52979 /* confdefs.h. */
52980 _ACEOF
52981 cat confdefs.h >>conftest.$ac_ext
52982 cat >>conftest.$ac_ext <<_ACEOF
52983 /* end confdefs.h. */
52984
52985 int
52986 main ()
52987 {
52988
52989 #if (__GNUC__ < 3) || \
52990 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
52991 This is old gcc
52992 #endif
52993
52994 ;
52995 return 0;
52996 }
52997 _ACEOF
52998 rm -f conftest.$ac_objext
52999 if { (ac_try="$ac_compile"
53000 case "(($ac_try" in
53001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
53002 *) ac_try_echo=$ac_try;;
53003 esac
53004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
53005 (eval "$ac_compile") 2>conftest.er1
53006 ac_status=$?
53007 grep -v '^ *+' conftest.er1 >conftest.err
53008 rm -f conftest.er1
53009 cat conftest.err >&5
53010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53011 (exit $ac_status); } && {
53012 test -z "$ac_c_werror_flag" ||
53013 test ! -s conftest.err
53014 } && test -s conftest.$ac_objext; then
53015
53016 bakefile_cv_gcc31=yes
53017
53018 else
53019 echo "$as_me: failed program was:" >&5
53020 sed 's/^/| /' conftest.$ac_ext >&5
53021
53022
53023 bakefile_cv_gcc31=no
53024
53025
53026 fi
53027
53028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53029
53030 fi
53031 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
53032 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
53033 if test "$bakefile_cv_gcc31" = "no"; then
53034 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
53035 SHARED_LD_CXX="$SHARED_LD_CC"
53036 else
53037 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
53038 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
53039 fi
53040
53041 if test "x$GCC" == "xyes"; then
53042 PIC_FLAG="-dynamic -fPIC"
53043 fi
53044 if test "x$XLCC" = "xyes"; then
53045 PIC_FLAG="-dynamic -DPIC"
53046 fi
53047 ;;
53048
53049 *-*-aix* )
53050 if test "x$GCC" = "xyes"; then
53051 PIC_FLAG=""
53052
53053 case "${BAKEFILE_HOST}" in
53054 *-*-aix5* )
53055 LD_EXPFULL="-Wl,-bexpfull"
53056 ;;
53057 esac
53058
53059 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
53060 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
53061 else
53062 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
53063 set dummy makeC++SharedLib; ac_word=$2
53064 { echo "$as_me:$LINENO: checking for $ac_word" >&5
53065 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
53066 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
53067 echo $ECHO_N "(cached) $ECHO_C" >&6
53068 else
53069 if test -n "$AIX_CXX_LD"; then
53070 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
53071 else
53072 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
53073 for as_dir in $PATH
53074 do
53075 IFS=$as_save_IFS
53076 test -z "$as_dir" && as_dir=.
53077 for ac_exec_ext in '' $ac_executable_extensions; do
53078 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
53079 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
53080 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
53081 break 2
53082 fi
53083 done
53084 done
53085 IFS=$as_save_IFS
53086
53087 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
53088 fi
53089 fi
53090 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
53091 if test -n "$AIX_CXX_LD"; then
53092 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
53093 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
53094 else
53095 { echo "$as_me:$LINENO: result: no" >&5
53096 echo "${ECHO_T}no" >&6; }
53097 fi
53098
53099
53100 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
53101 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
53102 fi
53103 ;;
53104
53105 *-*-beos* )
53106 SHARED_LD_CC="${LD} -nostart -o"
53107 SHARED_LD_CXX="${LD} -nostart -o"
53108 ;;
53109
53110 *-*-irix* )
53111 if test "x$GCC" != "xyes"; then
53112 PIC_FLAG="-KPIC"
53113 fi
53114 ;;
53115
53116 *-*-cygwin* | *-*-mingw32* )
53117 PIC_FLAG=""
53118 SHARED_LD_CC="\$(CC) -shared -o"
53119 SHARED_LD_CXX="\$(CXX) -shared -o"
53120 WINDOWS_IMPLIB=1
53121 ;;
53122
53123 *-pc-os2_emx | *-pc-os2-emx )
53124 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
53125 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
53126 PIC_FLAG=""
53127
53128 D='$'
53129 cat <<EOF >dllar.sh
53130 #!/bin/sh
53131 #
53132 # dllar - a tool to build both a .dll and an .a file
53133 # from a set of object (.o) files for EMX/OS2.
53134 #
53135 # Written by Andrew Zabolotny, bit@freya.etu.ru
53136 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
53137 #
53138 # This script will accept a set of files on the command line.
53139 # All the public symbols from the .o files will be exported into
53140 # a .DEF file, then linker will be run (through gcc) against them to
53141 # build a shared library consisting of all given .o files. All libraries
53142 # (.a) will be first decompressed into component .o files then act as
53143 # described above. You can optionally give a description (-d "description")
53144 # which will be put into .DLL. To see the list of accepted options (as well
53145 # as command-line format) simply run this program without options. The .DLL
53146 # is built to be imported by name (there is no guarantee that new versions
53147 # of the library you build will have same ordinals for same symbols).
53148 #
53149 # dllar is free software; you can redistribute it and/or modify
53150 # it under the terms of the GNU General Public License as published by
53151 # the Free Software Foundation; either version 2, or (at your option)
53152 # any later version.
53153 #
53154 # dllar is distributed in the hope that it will be useful,
53155 # but WITHOUT ANY WARRANTY; without even the implied warranty of
53156 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
53157 # GNU General Public License for more details.
53158 #
53159 # You should have received a copy of the GNU General Public License
53160 # along with dllar; see the file COPYING. If not, write to the Free
53161 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
53162 # 02111-1307, USA.
53163
53164 # To successfuly run this program you will need:
53165 # - Current drive should have LFN support (HPFS, ext2, network, etc)
53166 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
53167 # - gcc
53168 # (used to build the .dll)
53169 # - emxexp
53170 # (used to create .def file from .o files)
53171 # - emximp
53172 # (used to create .a file from .def file)
53173 # - GNU text utilites (cat, sort, uniq)
53174 # used to process emxexp output
53175 # - GNU file utilities (mv, rm)
53176 # - GNU sed
53177 # - lxlite (optional, see flag below)
53178 # (used for general .dll cleanup)
53179 #
53180
53181 flag_USE_LXLITE=1;
53182
53183 #
53184 # helper functions
53185 # basnam, variant of basename, which does _not_ remove the path, _iff_
53186 # second argument (suffix to remove) is given
53187 basnam(){
53188 case ${D}# in
53189 1)
53190 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
53191 ;;
53192 2)
53193 echo ${D}1 | sed 's/'${D}2'${D}//'
53194 ;;
53195 *)
53196 echo "error in basnam ${D}*"
53197 exit 8
53198 ;;
53199 esac
53200 }
53201
53202 # Cleanup temporary files and output
53203 CleanUp() {
53204 cd ${D}curDir
53205 for i in ${D}inputFiles ; do
53206 case ${D}i in
53207 *!)
53208 rm -rf \`basnam ${D}i !\`
53209 ;;
53210 *)
53211 ;;
53212 esac
53213 done
53214
53215 # Kill result in case of failure as there is just to many stupid make/nmake
53216 # things out there which doesn't do this.
53217 if [ ${D}# -eq 0 ]; then
53218 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
53219 fi
53220 }
53221
53222 # Print usage and exit script with rc=1.
53223 PrintHelp() {
53224 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
53225 echo ' [-name-mangler-script script.sh]'
53226 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
53227 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
53228 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
53229 echo ' [*.o] [*.a]'
53230 echo '*> "output_file" should have no extension.'
53231 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
53232 echo ' The import library name is derived from this and is set to "name".a,'
53233 echo ' unless overridden by -import'
53234 echo '*> "importlib_name" should have no extension.'
53235 echo ' If it has the .o, or .a extension, it is automatically removed.'
53236 echo ' This name is used as the import library name and may be longer and'
53237 echo ' more descriptive than the DLL name which has to follow the old '
53238 echo ' 8.3 convention of FAT.'
53239 echo '*> "script.sh may be given to override the output_file name by a'
53240 echo ' different name. It is mainly useful if the regular make process'
53241 echo ' of some package does not take into account OS/2 restriction of'
53242 echo ' DLL name lengths. It takes the importlib name as input and is'
53243 echo ' supposed to procude a shorter name as output. The script should'
53244 echo ' expect to get importlib_name without extension and should produce'
53245 echo ' a (max.) 8 letter name without extension.'
53246 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
53247 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
53248 echo ' These flags will be put at the start of GCC command line.'
53249 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
53250 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
53251 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
53252 echo ' If the last character of a symbol is "*", all symbols beginning'
53253 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
53254 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
53255 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
53256 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
53257 echo ' C runtime DLLs.'
53258 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
53259 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
53260 echo ' unchanged to GCC at the end of command line.'
53261 echo '*> If you create a DLL from a library and you do not specify -o,'
53262 echo ' the basename for DLL and import library will be set to library name,'
53263 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
53264 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
53265 echo ' library will be renamed into gcc_s.a.'
53266 echo '--------'
53267 echo 'Example:'
53268 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
53269 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
53270 CleanUp
53271 exit 1
53272 }
53273
53274 # Execute a command.
53275 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
53276 # @Uses Whatever CleanUp() uses.
53277 doCommand() {
53278 echo "${D}*"
53279 eval ${D}*
53280 rcCmd=${D}?
53281
53282 if [ ${D}rcCmd -ne 0 ]; then
53283 echo "command failed, exit code="${D}rcCmd
53284 CleanUp
53285 exit ${D}rcCmd
53286 fi
53287 }
53288
53289 # main routine
53290 # setup globals
53291 cmdLine=${D}*
53292 outFile=""
53293 outimpFile=""
53294 inputFiles=""
53295 renameScript=""
53296 description=""
53297 CC=gcc.exe
53298 CFLAGS="-s -Zcrtdll"
53299 EXTRA_CFLAGS=""
53300 EXPORT_BY_ORDINALS=0
53301 exclude_symbols=""
53302 library_flags=""
53303 curDir=\`pwd\`
53304 curDirS=curDir
53305 case ${D}curDirS in
53306 */)
53307 ;;
53308 *)
53309 curDirS=${D}{curDirS}"/"
53310 ;;
53311 esac
53312 # Parse commandline
53313 libsToLink=0
53314 omfLinking=0
53315 while [ ${D}1 ]; do
53316 case ${D}1 in
53317 -ord*)
53318 EXPORT_BY_ORDINALS=1;
53319 ;;
53320 -o*)
53321 shift
53322 outFile=${D}1
53323 ;;
53324 -i*)
53325 shift
53326 outimpFile=${D}1
53327 ;;
53328 -name-mangler-script)
53329 shift
53330 renameScript=${D}1
53331 ;;
53332 -d*)
53333 shift
53334 description=${D}1
53335 ;;
53336 -f*)
53337 shift
53338 CFLAGS=${D}1
53339 ;;
53340 -c*)
53341 shift
53342 CC=${D}1
53343 ;;
53344 -h*)
53345 PrintHelp
53346 ;;
53347 -ex*)
53348 shift
53349 exclude_symbols=${D}{exclude_symbols}${D}1" "
53350 ;;
53351 -libf*)
53352 shift
53353 library_flags=${D}{library_flags}${D}1" "
53354 ;;
53355 -nocrt*)
53356 CFLAGS="-s"
53357 ;;
53358 -nolxl*)
53359 flag_USE_LXLITE=0
53360 ;;
53361 -* | /*)
53362 case ${D}1 in
53363 -L* | -l*)
53364 libsToLink=1
53365 ;;
53366 -Zomf)
53367 omfLinking=1
53368 ;;
53369 *)
53370 ;;
53371 esac
53372 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
53373 ;;
53374 *.dll)
53375 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
53376 if [ ${D}omfLinking -eq 1 ]; then
53377 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
53378 else
53379 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
53380 fi
53381 ;;
53382 *)
53383 found=0;
53384 if [ ${D}libsToLink -ne 0 ]; then
53385 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
53386 else
53387 for file in ${D}1 ; do
53388 if [ -f ${D}file ]; then
53389 inputFiles="${D}{inputFiles} ${D}file"
53390 found=1
53391 fi
53392 done
53393 if [ ${D}found -eq 0 ]; then
53394 echo "ERROR: No file(s) found: "${D}1
53395 exit 8
53396 fi
53397 fi
53398 ;;
53399 esac
53400 shift
53401 done # iterate cmdline words
53402
53403 #
53404 if [ -z "${D}inputFiles" ]; then
53405 echo "dllar: no input files"
53406 PrintHelp
53407 fi
53408
53409 # Now extract all .o files from .a files
53410 newInputFiles=""
53411 for file in ${D}inputFiles ; do
53412 case ${D}file in
53413 *.a | *.lib)
53414 case ${D}file in
53415 *.a)
53416 suffix=".a"
53417 AR="ar"
53418 ;;
53419 *.lib)
53420 suffix=".lib"
53421 AR="emxomfar"
53422 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
53423 ;;
53424 *)
53425 ;;
53426 esac
53427 dirname=\`basnam ${D}file ${D}suffix\`"_%"
53428 mkdir ${D}dirname
53429 if [ ${D}? -ne 0 ]; then
53430 echo "Failed to create subdirectory ./${D}dirname"
53431 CleanUp
53432 exit 8;
53433 fi
53434 # Append '!' to indicate archive
53435 newInputFiles="${D}newInputFiles ${D}{dirname}!"
53436 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
53437 cd ${D}curDir
53438 found=0;
53439 for subfile in ${D}dirname/*.o* ; do
53440 if [ -f ${D}subfile ]; then
53441 found=1
53442 if [ -s ${D}subfile ]; then
53443 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
53444 newInputFiles="${D}newInputFiles ${D}subfile"
53445 fi
53446 fi
53447 done
53448 if [ ${D}found -eq 0 ]; then
53449 echo "WARNING: there are no files in archive \\'${D}file\\'"
53450 fi
53451 ;;
53452 *)
53453 newInputFiles="${D}{newInputFiles} ${D}file"
53454 ;;
53455 esac
53456 done
53457 inputFiles="${D}newInputFiles"
53458
53459 # Output filename(s).
53460 do_backup=0;
53461 if [ -z ${D}outFile ]; then
53462 do_backup=1;
53463 set outFile ${D}inputFiles; outFile=${D}2
53464 fi
53465
53466 # If it is an archive, remove the '!' and the '_%' suffixes
53467 case ${D}outFile in
53468 *_%!)
53469 outFile=\`basnam ${D}outFile _%!\`
53470 ;;
53471 *)
53472 ;;
53473 esac
53474 case ${D}outFile in
53475 *.dll)
53476 outFile=\`basnam ${D}outFile .dll\`
53477 ;;
53478 *.DLL)
53479 outFile=\`basnam ${D}outFile .DLL\`
53480 ;;
53481 *.o)
53482 outFile=\`basnam ${D}outFile .o\`
53483 ;;
53484 *.obj)
53485 outFile=\`basnam ${D}outFile .obj\`
53486 ;;
53487 *.a)
53488 outFile=\`basnam ${D}outFile .a\`
53489 ;;
53490 *.lib)
53491 outFile=\`basnam ${D}outFile .lib\`
53492 ;;
53493 *)
53494 ;;
53495 esac
53496 case ${D}outimpFile in
53497 *.a)
53498 outimpFile=\`basnam ${D}outimpFile .a\`
53499 ;;
53500 *.lib)
53501 outimpFile=\`basnam ${D}outimpFile .lib\`
53502 ;;
53503 *)
53504 ;;
53505 esac
53506 if [ -z ${D}outimpFile ]; then
53507 outimpFile=${D}outFile
53508 fi
53509 defFile="${D}{outFile}.def"
53510 arcFile="${D}{outimpFile}.a"
53511 arcFile2="${D}{outimpFile}.lib"
53512
53513 #create ${D}dllFile as something matching 8.3 restrictions,
53514 if [ -z ${D}renameScript ] ; then
53515 dllFile="${D}outFile"
53516 else
53517 dllFile=\`${D}renameScript ${D}outimpFile\`
53518 fi
53519
53520 if [ ${D}do_backup -ne 0 ] ; then
53521 if [ -f ${D}arcFile ] ; then
53522 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
53523 fi
53524 if [ -f ${D}arcFile2 ] ; then
53525 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
53526 fi
53527 fi
53528
53529 # Extract public symbols from all the object files.
53530 tmpdefFile=${D}{defFile}_%
53531 rm -f ${D}tmpdefFile
53532 for file in ${D}inputFiles ; do
53533 case ${D}file in
53534 *!)
53535 ;;
53536 *)
53537 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
53538 ;;
53539 esac
53540 done
53541
53542 # Create the def file.
53543 rm -f ${D}defFile
53544 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
53545 dllFile="${D}{dllFile}.dll"
53546 if [ ! -z ${D}description ]; then
53547 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
53548 fi
53549 echo "EXPORTS" >> ${D}defFile
53550
53551 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
53552 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
53553
53554 # Checks if the export is ok or not.
53555 for word in ${D}exclude_symbols; do
53556 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
53557 mv ${D}{tmpdefFile}% ${D}tmpdefFile
53558 done
53559
53560
53561 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
53562 sed "=" < ${D}tmpdefFile | \\
53563 sed '
53564 N
53565 : loop
53566 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
53567 t loop
53568 ' > ${D}{tmpdefFile}%
53569 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
53570 else
53571 rm -f ${D}{tmpdefFile}%
53572 fi
53573 cat ${D}tmpdefFile >> ${D}defFile
53574 rm -f ${D}tmpdefFile
53575
53576 # Do linking, create implib, and apply lxlite.
53577 gccCmdl="";
53578 for file in ${D}inputFiles ; do
53579 case ${D}file in
53580 *!)
53581 ;;
53582 *)
53583 gccCmdl="${D}gccCmdl ${D}file"
53584 ;;
53585 esac
53586 done
53587 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
53588 touch "${D}{outFile}.dll"
53589
53590 doCommand "emximp -o ${D}arcFile ${D}defFile"
53591 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
53592 add_flags="";
53593 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
53594 add_flags="-ynd"
53595 fi
53596 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
53597 fi
53598 doCommand "emxomf -s -l ${D}arcFile"
53599
53600 # Successful exit.
53601 CleanUp 1
53602 exit 0
53603 EOF
53604
53605 chmod +x dllar.sh
53606 ;;
53607
53608 powerpc-apple-macos* | \
53609 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
53610 *-*-mirbsd* | \
53611 *-*-sunos4* | \
53612 *-*-osf* | \
53613 *-*-dgux5* | \
53614 *-*-sysv5* | \
53615 *-pc-msdosdjgpp )
53616 ;;
53617
53618 *)
53619 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
53620 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
53621 { (exit 1); exit 1; }; }
53622 esac
53623
53624 if test "x$PIC_FLAG" != "x" ; then
53625 PIC_FLAG="$PIC_FLAG -DPIC"
53626 fi
53627
53628 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
53629 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
53630 fi
53631 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
53632 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
53633 fi
53634
53635
53636
53637
53638
53639
53640
53641
53642
53643 USE_SOVERSION=0
53644 USE_SOVERLINUX=0
53645 USE_SOVERSOLARIS=0
53646 USE_SOVERCYGWIN=0
53647 USE_SOTWOSYMLINKS=0
53648 USE_MACVERSION=0
53649 SONAME_FLAG=
53650
53651 case "${BAKEFILE_HOST}" in
53652 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
53653 *-*-k*bsd*-gnu | *-*-mirbsd* )
53654 if test "x$SUNCXX" = "xyes"; then
53655 SONAME_FLAG="-h "
53656 else
53657 SONAME_FLAG="-Wl,-soname,"
53658 fi
53659 USE_SOVERSION=1
53660 USE_SOVERLINUX=1
53661 USE_SOTWOSYMLINKS=1
53662 ;;
53663
53664 *-*-solaris2* )
53665 SONAME_FLAG="-h "
53666 USE_SOVERSION=1
53667 USE_SOVERSOLARIS=1
53668 ;;
53669
53670 *-*-darwin* )
53671 USE_MACVERSION=1
53672 USE_SOVERSION=1
53673 USE_SOTWOSYMLINKS=1
53674 ;;
53675
53676 *-*-cygwin* )
53677 USE_SOVERSION=1
53678 USE_SOVERCYGWIN=1
53679 ;;
53680 esac
53681
53682
53683
53684
53685
53686
53687
53688
53689
53690
53691 # Check whether --enable-dependency-tracking was given.
53692 if test "${enable_dependency_tracking+set}" = set; then
53693 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
53694 fi
53695
53696
53697 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
53698 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
53699
53700 BK_DEPS=""
53701 if test "x$bk_use_trackdeps" = "xno" ; then
53702 DEPS_TRACKING=0
53703 { echo "$as_me:$LINENO: result: disabled" >&5
53704 echo "${ECHO_T}disabled" >&6; }
53705 else
53706 DEPS_TRACKING=1
53707
53708 if test "x$GCC" = "xyes"; then
53709 DEPSMODE=gcc
53710 case "${BAKEFILE_HOST}" in
53711 *-*-darwin* )
53712 DEPSFLAG="-no-cpp-precomp -MMD"
53713 ;;
53714 * )
53715 DEPSFLAG="-MMD"
53716 ;;
53717 esac
53718 { echo "$as_me:$LINENO: result: gcc" >&5
53719 echo "${ECHO_T}gcc" >&6; }
53720 elif test "x$MWCC" = "xyes"; then
53721 DEPSMODE=mwcc
53722 DEPSFLAG="-MM"
53723 { echo "$as_me:$LINENO: result: mwcc" >&5
53724 echo "${ECHO_T}mwcc" >&6; }
53725 elif test "x$SUNCC" = "xyes"; then
53726 DEPSMODE=unixcc
53727 DEPSFLAG="-xM1"
53728 { echo "$as_me:$LINENO: result: Sun cc" >&5
53729 echo "${ECHO_T}Sun cc" >&6; }
53730 elif test "x$SGICC" = "xyes"; then
53731 DEPSMODE=unixcc
53732 DEPSFLAG="-M"
53733 { echo "$as_me:$LINENO: result: SGI cc" >&5
53734 echo "${ECHO_T}SGI cc" >&6; }
53735 elif test "x$HPCC" = "xyes"; then
53736 DEPSMODE=unixcc
53737 DEPSFLAG="+make"
53738 { echo "$as_me:$LINENO: result: HP cc" >&5
53739 echo "${ECHO_T}HP cc" >&6; }
53740 elif test "x$COMPAQCC" = "xyes"; then
53741 DEPSMODE=gcc
53742 DEPSFLAG="-MD"
53743 { echo "$as_me:$LINENO: result: Compaq cc" >&5
53744 echo "${ECHO_T}Compaq cc" >&6; }
53745 else
53746 DEPS_TRACKING=0
53747 { echo "$as_me:$LINENO: result: none" >&5
53748 echo "${ECHO_T}none" >&6; }
53749 fi
53750
53751 if test $DEPS_TRACKING = 1 ; then
53752
53753 D='$'
53754 cat <<EOF >bk-deps
53755 #!/bin/sh
53756
53757 # This script is part of Bakefile (http://www.bakefile.org) autoconf
53758 # script. It is used to track C/C++ files dependencies in portable way.
53759 #
53760 # Permission is given to use this file in any way.
53761
53762 DEPSMODE=${DEPSMODE}
53763 DEPSFLAG="${DEPSFLAG}"
53764 DEPSDIRBASE=.deps
53765
53766 if test ${D}DEPSMODE = gcc ; then
53767 ${D}* ${D}{DEPSFLAG}
53768 status=${D}?
53769
53770 # determine location of created files:
53771 while test ${D}# -gt 0; do
53772 case "${D}1" in
53773 -o )
53774 shift
53775 objfile=${D}1
53776 ;;
53777 -* )
53778 ;;
53779 * )
53780 srcfile=${D}1
53781 ;;
53782 esac
53783 shift
53784 done
53785 objfilebase=\`basename ${D}objfile\`
53786 builddir=\`dirname ${D}objfile\`
53787 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
53788 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
53789 depsdir=${D}builddir/${D}DEPSDIRBASE
53790 mkdir -p ${D}depsdir
53791
53792 # if the compiler failed, we're done:
53793 if test ${D}{status} != 0 ; then
53794 rm -f ${D}depfile
53795 exit ${D}{status}
53796 fi
53797
53798 # move created file to the location we want it in:
53799 if test -f ${D}depfile ; then
53800 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
53801 rm -f ${D}depfile
53802 else
53803 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
53804 depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\`
53805 if test ! -f ${D}depfile ; then
53806 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
53807 depfile="${D}objfile.d"
53808 fi
53809 if test -f ${D}depfile ; then
53810 sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
53811 rm -f ${D}depfile
53812 fi
53813 fi
53814 exit 0
53815
53816 elif test ${D}DEPSMODE = mwcc ; then
53817 ${D}* || exit ${D}?
53818 # Run mwcc again with -MM and redirect into the dep file we want
53819 # NOTE: We can't use shift here because we need ${D}* to be valid
53820 prevarg=
53821 for arg in ${D}* ; do
53822 if test "${D}prevarg" = "-o"; then
53823 objfile=${D}arg
53824 else
53825 case "${D}arg" in
53826 -* )
53827 ;;
53828 * )
53829 srcfile=${D}arg
53830 ;;
53831 esac
53832 fi
53833 prevarg="${D}arg"
53834 done
53835
53836 objfilebase=\`basename ${D}objfile\`
53837 builddir=\`dirname ${D}objfile\`
53838 depsdir=${D}builddir/${D}DEPSDIRBASE
53839 mkdir -p ${D}depsdir
53840
53841 ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
53842 exit 0
53843
53844 elif test ${D}DEPSMODE = unixcc; then
53845 ${D}* || exit ${D}?
53846 # Run compiler again with deps flag and redirect into the dep file.
53847 # It doesn't work if the '-o FILE' option is used, but without it the
53848 # dependency file will contain the wrong name for the object. So it is
53849 # removed from the command line, and the dep file is fixed with sed.
53850 cmd=""
53851 while test ${D}# -gt 0; do
53852 case "${D}1" in
53853 -o )
53854 shift
53855 objfile=${D}1
53856 ;;
53857 * )
53858 eval arg${D}#=\\${D}1
53859 cmd="${D}cmd \\${D}arg${D}#"
53860 ;;
53861 esac
53862 shift
53863 done
53864
53865 objfilebase=\`basename ${D}objfile\`
53866 builddir=\`dirname ${D}objfile\`
53867 depsdir=${D}builddir/${D}DEPSDIRBASE
53868 mkdir -p ${D}depsdir
53869
53870 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d
53871 exit 0
53872
53873 else
53874 ${D}*
53875 exit ${D}?
53876 fi
53877 EOF
53878
53879 chmod +x bk-deps
53880 BK_DEPS="`pwd`/bk-deps"
53881 fi
53882 fi
53883
53884
53885
53886
53887
53888 case ${BAKEFILE_HOST} in
53889 *-*-cygwin* | *-*-mingw32* )
53890 if test -n "$ac_tool_prefix"; then
53891 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
53892 set dummy ${ac_tool_prefix}windres; ac_word=$2
53893 { echo "$as_me:$LINENO: checking for $ac_word" >&5
53894 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
53895 if test "${ac_cv_prog_WINDRES+set}" = set; then
53896 echo $ECHO_N "(cached) $ECHO_C" >&6
53897 else
53898 if test -n "$WINDRES"; then
53899 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
53900 else
53901 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
53902 for as_dir in $PATH
53903 do
53904 IFS=$as_save_IFS
53905 test -z "$as_dir" && as_dir=.
53906 for ac_exec_ext in '' $ac_executable_extensions; do
53907 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
53908 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
53909 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
53910 break 2
53911 fi
53912 done
53913 done
53914 IFS=$as_save_IFS
53915
53916 fi
53917 fi
53918 WINDRES=$ac_cv_prog_WINDRES
53919 if test -n "$WINDRES"; then
53920 { echo "$as_me:$LINENO: result: $WINDRES" >&5
53921 echo "${ECHO_T}$WINDRES" >&6; }
53922 else
53923 { echo "$as_me:$LINENO: result: no" >&5
53924 echo "${ECHO_T}no" >&6; }
53925 fi
53926
53927
53928 fi
53929 if test -z "$ac_cv_prog_WINDRES"; then
53930 ac_ct_WINDRES=$WINDRES
53931 # Extract the first word of "windres", so it can be a program name with args.
53932 set dummy windres; ac_word=$2
53933 { echo "$as_me:$LINENO: checking for $ac_word" >&5
53934 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
53935 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
53936 echo $ECHO_N "(cached) $ECHO_C" >&6
53937 else
53938 if test -n "$ac_ct_WINDRES"; then
53939 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
53940 else
53941 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
53942 for as_dir in $PATH
53943 do
53944 IFS=$as_save_IFS
53945 test -z "$as_dir" && as_dir=.
53946 for ac_exec_ext in '' $ac_executable_extensions; do
53947 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
53948 ac_cv_prog_ac_ct_WINDRES="windres"
53949 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
53950 break 2
53951 fi
53952 done
53953 done
53954 IFS=$as_save_IFS
53955
53956 fi
53957 fi
53958 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
53959 if test -n "$ac_ct_WINDRES"; then
53960 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
53961 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
53962 else
53963 { echo "$as_me:$LINENO: result: no" >&5
53964 echo "${ECHO_T}no" >&6; }
53965 fi
53966
53967 if test "x$ac_ct_WINDRES" = x; then
53968 WINDRES=""
53969 else
53970 case $cross_compiling:$ac_tool_warned in
53971 yes:)
53972 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
53973 whose name does not start with the host triplet. If you think this
53974 configuration is useful to you, please write to autoconf@gnu.org." >&5
53975 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
53976 whose name does not start with the host triplet. If you think this
53977 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
53978 ac_tool_warned=yes ;;
53979 esac
53980 WINDRES=$ac_ct_WINDRES
53981 fi
53982 else
53983 WINDRES="$ac_cv_prog_WINDRES"
53984 fi
53985
53986 ;;
53987
53988 *-*-darwin* | powerpc-apple-macos* )
53989 # Extract the first word of "Rez", so it can be a program name with args.
53990 set dummy Rez; ac_word=$2
53991 { echo "$as_me:$LINENO: checking for $ac_word" >&5
53992 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
53993 if test "${ac_cv_prog_REZ+set}" = set; then
53994 echo $ECHO_N "(cached) $ECHO_C" >&6
53995 else
53996 if test -n "$REZ"; then
53997 ac_cv_prog_REZ="$REZ" # Let the user override the test.
53998 else
53999 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
54000 for as_dir in $PATH
54001 do
54002 IFS=$as_save_IFS
54003 test -z "$as_dir" && as_dir=.
54004 for ac_exec_ext in '' $ac_executable_extensions; do
54005 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
54006 ac_cv_prog_REZ="Rez"
54007 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
54008 break 2
54009 fi
54010 done
54011 done
54012 IFS=$as_save_IFS
54013
54014 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
54015 fi
54016 fi
54017 REZ=$ac_cv_prog_REZ
54018 if test -n "$REZ"; then
54019 { echo "$as_me:$LINENO: result: $REZ" >&5
54020 echo "${ECHO_T}$REZ" >&6; }
54021 else
54022 { echo "$as_me:$LINENO: result: no" >&5
54023 echo "${ECHO_T}no" >&6; }
54024 fi
54025
54026
54027 # Extract the first word of "SetFile", so it can be a program name with args.
54028 set dummy SetFile; ac_word=$2
54029 { echo "$as_me:$LINENO: checking for $ac_word" >&5
54030 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
54031 if test "${ac_cv_prog_SETFILE+set}" = set; then
54032 echo $ECHO_N "(cached) $ECHO_C" >&6
54033 else
54034 if test -n "$SETFILE"; then
54035 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
54036 else
54037 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
54038 for as_dir in $PATH
54039 do
54040 IFS=$as_save_IFS
54041 test -z "$as_dir" && as_dir=.
54042 for ac_exec_ext in '' $ac_executable_extensions; do
54043 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
54044 ac_cv_prog_SETFILE="SetFile"
54045 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
54046 break 2
54047 fi
54048 done
54049 done
54050 IFS=$as_save_IFS
54051
54052 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
54053 fi
54054 fi
54055 SETFILE=$ac_cv_prog_SETFILE
54056 if test -n "$SETFILE"; then
54057 { echo "$as_me:$LINENO: result: $SETFILE" >&5
54058 echo "${ECHO_T}$SETFILE" >&6; }
54059 else
54060 { echo "$as_me:$LINENO: result: no" >&5
54061 echo "${ECHO_T}no" >&6; }
54062 fi
54063
54064
54065 ;;
54066 esac
54067
54068
54069
54070
54071
54072
54073
54074
54075
54076 BAKEFILE_BAKEFILE_M4_VERSION="0.2.9"
54077
54078
54079 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.9"
54080
54081
54082
54083 # Check whether --enable-precomp-headers was given.
54084 if test "${enable_precomp_headers+set}" = set; then
54085 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
54086 fi
54087
54088
54089 GCC_PCH=0
54090 ICC_PCH=0
54091 USE_PCH=0
54092 BK_MAKE_PCH=""
54093
54094 case ${BAKEFILE_HOST} in
54095 *-*-cygwin* )
54096 bk_use_pch="no"
54097 ;;
54098 esac
54099
54100 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
54101 if test "x$GCC" = "xyes"; then
54102 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
54103 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
54104 cat >conftest.$ac_ext <<_ACEOF
54105 /* confdefs.h. */
54106 _ACEOF
54107 cat confdefs.h >>conftest.$ac_ext
54108 cat >>conftest.$ac_ext <<_ACEOF
54109 /* end confdefs.h. */
54110
54111 int
54112 main ()
54113 {
54114
54115 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
54116 There is no PCH support
54117 #endif
54118 #if (__GNUC__ < 3)
54119 There is no PCH support
54120 #endif
54121 #if (__GNUC__ == 3) && \
54122 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
54123 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
54124 ( defined(__INTEL_COMPILER) )
54125 There is no PCH support
54126 #endif
54127
54128 ;
54129 return 0;
54130 }
54131 _ACEOF
54132 rm -f conftest.$ac_objext
54133 if { (ac_try="$ac_compile"
54134 case "(($ac_try" in
54135 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
54136 *) ac_try_echo=$ac_try;;
54137 esac
54138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
54139 (eval "$ac_compile") 2>conftest.er1
54140 ac_status=$?
54141 grep -v '^ *+' conftest.er1 >conftest.err
54142 rm -f conftest.er1
54143 cat conftest.err >&5
54144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54145 (exit $ac_status); } && {
54146 test -z "$ac_c_werror_flag" ||
54147 test ! -s conftest.err
54148 } && test -s conftest.$ac_objext; then
54149
54150 { echo "$as_me:$LINENO: result: yes" >&5
54151 echo "${ECHO_T}yes" >&6; }
54152 GCC_PCH=1
54153
54154 else
54155 echo "$as_me: failed program was:" >&5
54156 sed 's/^/| /' conftest.$ac_ext >&5
54157
54158
54159 if test "$INTELCXX8" = "yes"; then
54160 { echo "$as_me:$LINENO: result: yes" >&5
54161 echo "${ECHO_T}yes" >&6; }
54162 ICC_PCH=1
54163 if test "$INTELCXX10" = "yes"; then
54164 ICC_PCH_CREATE_SWITCH="-pch-create"
54165 ICC_PCH_USE_SWITCH="-pch-use"
54166 else
54167 ICC_PCH_CREATE_SWITCH="-create-pch"
54168 ICC_PCH_USE_SWITCH="-use-pch"
54169 fi
54170 else
54171 { echo "$as_me:$LINENO: result: no" >&5
54172 echo "${ECHO_T}no" >&6; }
54173 fi
54174
54175 fi
54176
54177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54178 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
54179 USE_PCH=1
54180
54181 D='$'
54182 cat <<EOF >bk-make-pch
54183 #!/bin/sh
54184
54185 # This script is part of Bakefile (http://www.bakefile.org) autoconf
54186 # script. It is used to generated precompiled headers.
54187 #
54188 # Permission is given to use this file in any way.
54189
54190 outfile="${D}{1}"
54191 header="${D}{2}"
54192 shift
54193 shift
54194
54195 builddir=\`echo ${D}outfile | sed -e 's,/\\.pch/.*${D},,g'\`
54196
54197 compiler=""
54198 headerfile=""
54199
54200 while test ${D}{#} -gt 0; do
54201 add_to_cmdline=1
54202 case "${D}{1}" in
54203 -I* )
54204 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
54205 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
54206 headerfile="${D}{incdir}/${D}{header}"
54207 fi
54208 ;;
54209 -use-pch|-use_pch|-pch-use )
54210 shift
54211 add_to_cmdline=0
54212 ;;
54213 esac
54214 if test ${D}add_to_cmdline = 1 ; then
54215 compiler="${D}{compiler} ${D}{1}"
54216 fi
54217 shift
54218 done
54219
54220 if test "x${D}{headerfile}" = "x" ; then
54221 echo "error: can't find header ${D}{header} in include paths" >&2
54222 else
54223 if test -f ${D}{outfile} ; then
54224 rm -f ${D}{outfile}
54225 else
54226 mkdir -p \`dirname ${D}{outfile}\`
54227 fi
54228 depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
54229 mkdir -p ${D}{builddir}/.deps
54230 if test "x${GCC_PCH}" = "x1" ; then
54231 # can do this because gcc is >= 3.4:
54232 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
54233 elif test "x${ICC_PCH}" = "x1" ; then
54234 filename=pch_gen-${D}${D}
54235 file=${D}{filename}.c
54236 dfile=${D}{filename}.d
54237 cat > ${D}file <<EOT
54238 #include "${D}header"
54239 EOT
54240 # using -MF icc complains about differing command lines in creation/use
54241 ${D}compiler -c ${ICC_PCH_CREATE_SWITCH} ${D}outfile -MMD ${D}file && \\
54242 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
54243 rm -f ${D}file ${D}dfile ${D}{filename}.o
54244 fi
54245 exit ${D}{?}
54246 fi
54247 EOF
54248
54249 chmod +x bk-make-pch
54250 BK_MAKE_PCH="`pwd`/bk-make-pch"
54251 fi
54252 fi
54253 fi
54254
54255
54256
54257
54258
54259
54260
54261 COND_BUILD_DEBUG="#"
54262 if test "x$BUILD" = "xdebug" ; then
54263 COND_BUILD_DEBUG=""
54264 fi
54265
54266 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
54267 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
54268 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
54269 fi
54270
54271 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
54272 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
54273 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
54274 fi
54275
54276 COND_BUILD_DEBUG_UNICODE_0="#"
54277 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
54278 COND_BUILD_DEBUG_UNICODE_0=""
54279 fi
54280
54281 COND_BUILD_DEBUG_UNICODE_1="#"
54282 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
54283 COND_BUILD_DEBUG_UNICODE_1=""
54284 fi
54285
54286 COND_BUILD_RELEASE="#"
54287 if test "x$BUILD" = "xrelease" ; then
54288 COND_BUILD_RELEASE=""
54289 fi
54290
54291 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
54292 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
54293 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
54294 fi
54295
54296 COND_BUILD_RELEASE_UNICODE_0="#"
54297 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
54298 COND_BUILD_RELEASE_UNICODE_0=""
54299 fi
54300
54301 COND_BUILD_RELEASE_UNICODE_1="#"
54302 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
54303 COND_BUILD_RELEASE_UNICODE_1=""
54304 fi
54305
54306 COND_BUILD_debug="#"
54307 if test "x$BUILD" = "xdebug" ; then
54308 COND_BUILD_debug=""
54309 fi
54310
54311 COND_BUILD_debug_DEBUG_FLAG_default="#"
54312 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
54313 COND_BUILD_debug_DEBUG_FLAG_default=""
54314 fi
54315
54316 COND_BUILD_debug_DEBUG_INFO_default="#"
54317 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
54318 COND_BUILD_debug_DEBUG_INFO_default=""
54319 fi
54320
54321 COND_BUILD_debug_UNICODE_0="#"
54322 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
54323 COND_BUILD_debug_UNICODE_0=""
54324 fi
54325
54326 COND_BUILD_debug_UNICODE_1="#"
54327 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
54328 COND_BUILD_debug_UNICODE_1=""
54329 fi
54330
54331 COND_BUILD_release="#"
54332 if test "x$BUILD" = "xrelease" ; then
54333 COND_BUILD_release=""
54334 fi
54335
54336 COND_BUILD_release_DEBUG_INFO_default="#"
54337 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
54338 COND_BUILD_release_DEBUG_INFO_default=""
54339 fi
54340
54341 COND_BUILD_release_UNICODE_0="#"
54342 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
54343 COND_BUILD_release_UNICODE_0=""
54344 fi
54345
54346 COND_BUILD_release_UNICODE_1="#"
54347 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
54348 COND_BUILD_release_UNICODE_1=""
54349 fi
54350
54351 COND_DEBUG_FLAG_0="#"
54352 if test "x$DEBUG_FLAG" = "x0" ; then
54353 COND_DEBUG_FLAG_0=""
54354 fi
54355
54356 COND_DEBUG_FLAG_1="#"
54357 if test "x$DEBUG_FLAG" = "x1" ; then
54358 COND_DEBUG_FLAG_1=""
54359 fi
54360
54361 COND_DEBUG_INFO_0="#"
54362 if test "x$DEBUG_INFO" = "x0" ; then
54363 COND_DEBUG_INFO_0=""
54364 fi
54365
54366 COND_DEBUG_INFO_1="#"
54367 if test "x$DEBUG_INFO" = "x1" ; then
54368 COND_DEBUG_INFO_1=""
54369 fi
54370
54371 COND_DEPS_TRACKING_0="#"
54372 if test "x$DEPS_TRACKING" = "x0" ; then
54373 COND_DEPS_TRACKING_0=""
54374 fi
54375
54376 COND_DEPS_TRACKING_1="#"
54377 if test "x$DEPS_TRACKING" = "x1" ; then
54378 COND_DEPS_TRACKING_1=""
54379 fi
54380
54381 COND_GCC_PCH_1="#"
54382 if test "x$GCC_PCH" = "x1" ; then
54383 COND_GCC_PCH_1=""
54384 fi
54385
54386 COND_ICC_PCH_1="#"
54387 if test "x$ICC_PCH" = "x1" ; then
54388 COND_ICC_PCH_1=""
54389 fi
54390
54391 COND_MONOLITHIC_0="#"
54392 if test "x$MONOLITHIC" = "x0" ; then
54393 COND_MONOLITHIC_0=""
54394 fi
54395
54396 COND_MONOLITHIC_0_SHARED_0="#"
54397 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
54398 COND_MONOLITHIC_0_SHARED_0=""
54399 fi
54400
54401 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
54402 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
54403 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
54404 fi
54405
54406 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
54407 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
54408 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
54409 fi
54410
54411 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
54412 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
54413 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
54414 fi
54415
54416 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
54417 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
54418 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
54419 fi
54420
54421 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
54422 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
54423 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
54424 fi
54425
54426 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1="#"
54427 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_WEBVIEW" = "x1" ; then
54428 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1=""
54429 fi
54430
54431 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1="#"
54432 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
54433 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1=""
54434 fi
54435
54436 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1="#"
54437 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RIBBON" = "x1" ; then
54438 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1=""
54439 fi
54440
54441 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
54442 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
54443 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
54444 fi
54445
54446 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
54447 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
54448 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
54449 fi
54450
54451 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
54452 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
54453 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
54454 fi
54455
54456 COND_MONOLITHIC_0_SHARED_1="#"
54457 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
54458 COND_MONOLITHIC_0_SHARED_1=""
54459 fi
54460
54461 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
54462 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
54463 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
54464 fi
54465
54466 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
54467 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
54468 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
54469 fi
54470
54471 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
54472 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
54473 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
54474 fi
54475
54476 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
54477 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
54478 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
54479 fi
54480
54481 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
54482 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
54483 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
54484 fi
54485
54486 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1="#"
54487 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_WEBVIEW" = "x1" ; then
54488 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1=""
54489 fi
54490
54491 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1="#"
54492 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
54493 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1=""
54494 fi
54495
54496 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1="#"
54497 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RIBBON" = "x1" ; then
54498 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1=""
54499 fi
54500
54501 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
54502 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
54503 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
54504 fi
54505
54506 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
54507 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
54508 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
54509 fi
54510
54511 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
54512 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
54513 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
54514 fi
54515
54516 COND_MONOLITHIC_0_USE_AUI_1="#"
54517 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
54518 COND_MONOLITHIC_0_USE_AUI_1=""
54519 fi
54520
54521 COND_MONOLITHIC_0_USE_GUI_1="#"
54522 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
54523 COND_MONOLITHIC_0_USE_GUI_1=""
54524 fi
54525
54526 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
54527 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
54528 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
54529 fi
54530
54531 COND_MONOLITHIC_0_USE_HTML_1="#"
54532 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
54533 COND_MONOLITHIC_0_USE_HTML_1=""
54534 fi
54535
54536 COND_MONOLITHIC_0_USE_MEDIA_1="#"
54537 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
54538 COND_MONOLITHIC_0_USE_MEDIA_1=""
54539 fi
54540
54541 COND_MONOLITHIC_0_USE_PROPGRID_1="#"
54542 if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
54543 COND_MONOLITHIC_0_USE_PROPGRID_1=""
54544 fi
54545
54546 COND_MONOLITHIC_0_USE_QA_1="#"
54547 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
54548 COND_MONOLITHIC_0_USE_QA_1=""
54549 fi
54550
54551 COND_MONOLITHIC_0_USE_RIBBON_1="#"
54552 if test "x$MONOLITHIC" = "x0" -a "x$USE_RIBBON" = "x1" ; then
54553 COND_MONOLITHIC_0_USE_RIBBON_1=""
54554 fi
54555
54556 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
54557 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
54558 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
54559 fi
54560
54561 COND_MONOLITHIC_0_USE_STC_1="#"
54562 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
54563 COND_MONOLITHIC_0_USE_STC_1=""
54564 fi
54565
54566 COND_MONOLITHIC_0_USE_WEBVIEW_1="#"
54567 if test "x$MONOLITHIC" = "x0" -a "x$USE_WEBVIEW" = "x1" ; then
54568 COND_MONOLITHIC_0_USE_WEBVIEW_1=""
54569 fi
54570
54571 COND_MONOLITHIC_0_USE_XRC_1="#"
54572 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
54573 COND_MONOLITHIC_0_USE_XRC_1=""
54574 fi
54575
54576 COND_MONOLITHIC_1="#"
54577 if test "x$MONOLITHIC" = "x1" ; then
54578 COND_MONOLITHIC_1=""
54579 fi
54580
54581 COND_MONOLITHIC_1_SHARED_0="#"
54582 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
54583 COND_MONOLITHIC_1_SHARED_0=""
54584 fi
54585
54586 COND_MONOLITHIC_1_SHARED_1="#"
54587 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
54588 COND_MONOLITHIC_1_SHARED_1=""
54589 fi
54590
54591 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
54592 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
54593 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
54594 fi
54595
54596 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
54597 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
54598 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
54599 fi
54600
54601 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
54602 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
54603 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
54604 fi
54605
54606 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
54607 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
54608 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
54609 fi
54610
54611 COND_PLATFORM_MACOSX_1="#"
54612 if test "x$PLATFORM_MACOSX" = "x1" ; then
54613 COND_PLATFORM_MACOSX_1=""
54614 fi
54615
54616 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0="#"
54617 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
54618 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0=""
54619 fi
54620
54621 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0="#"
54622 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
54623 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0=""
54624 fi
54625
54626 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
54627 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
54628 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1=""
54629 fi
54630
54631 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0="#"
54632 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
54633 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0=""
54634 fi
54635
54636 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
54637 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
54638 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1=""
54639 fi
54640
54641 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0="#"
54642 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
54643 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0=""
54644 fi
54645
54646 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1="#"
54647 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
54648 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1=""
54649 fi
54650
54651 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0="#"
54652 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
54653 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0=""
54654 fi
54655
54656 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
54657 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
54658 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
54659 fi
54660
54661 COND_PLATFORM_MACOSX_1_USE_OPENGL_1="#"
54662 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
54663 COND_PLATFORM_MACOSX_1_USE_OPENGL_1=""
54664 fi
54665
54666 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
54667 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
54668 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
54669 fi
54670
54671 COND_PLATFORM_MACOS_1="#"
54672 if test "x$PLATFORM_MACOS" = "x1" ; then
54673 COND_PLATFORM_MACOS_1=""
54674 fi
54675
54676 COND_PLATFORM_MAC_0="#"
54677 if test "x$PLATFORM_MAC" = "x0" ; then
54678 COND_PLATFORM_MAC_0=""
54679 fi
54680
54681 COND_PLATFORM_MAC_1="#"
54682 if test "x$PLATFORM_MAC" = "x1" ; then
54683 COND_PLATFORM_MAC_1=""
54684 fi
54685
54686 COND_PLATFORM_MSDOS_0="#"
54687 if test "x$PLATFORM_MSDOS" = "x0" ; then
54688 COND_PLATFORM_MSDOS_0=""
54689 fi
54690
54691 COND_PLATFORM_MSDOS_1="#"
54692 if test "x$PLATFORM_MSDOS" = "x1" ; then
54693 COND_PLATFORM_MSDOS_1=""
54694 fi
54695
54696 COND_PLATFORM_OS2_1="#"
54697 if test "x$PLATFORM_OS2" = "x1" ; then
54698 COND_PLATFORM_OS2_1=""
54699 fi
54700
54701 COND_PLATFORM_UNIX_0="#"
54702 if test "x$PLATFORM_UNIX" = "x0" ; then
54703 COND_PLATFORM_UNIX_0=""
54704 fi
54705
54706 COND_PLATFORM_UNIX_1="#"
54707 if test "x$PLATFORM_UNIX" = "x1" ; then
54708 COND_PLATFORM_UNIX_1=""
54709 fi
54710
54711 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
54712 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
54713 COND_PLATFORM_UNIX_1_USE_GUI_1=""
54714 fi
54715
54716 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
54717 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
54718 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
54719 fi
54720
54721 COND_PLATFORM_WIN32_0="#"
54722 if test "x$PLATFORM_WIN32" = "x0" ; then
54723 COND_PLATFORM_WIN32_0=""
54724 fi
54725
54726 COND_PLATFORM_WIN32_1="#"
54727 if test "x$PLATFORM_WIN32" = "x1" ; then
54728 COND_PLATFORM_WIN32_1=""
54729 fi
54730
54731 COND_PLATFORM_WIN32_1_SHARED_0="#"
54732 if test "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
54733 COND_PLATFORM_WIN32_1_SHARED_0=""
54734 fi
54735
54736 COND_SHARED_0="#"
54737 if test "x$SHARED" = "x0" ; then
54738 COND_SHARED_0=""
54739 fi
54740
54741 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
54742 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
54743 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
54744 fi
54745
54746 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
54747 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
54748 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
54749 fi
54750
54751 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
54752 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
54753 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
54754 fi
54755
54756 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
54757 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
54758 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
54759 fi
54760
54761 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
54762 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
54763 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
54764 fi
54765
54766 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
54767 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
54768 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin=""
54769 fi
54770
54771 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
54772 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
54773 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
54774 fi
54775
54776 COND_SHARED_0_USE_STC_1="#"
54777 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
54778 COND_SHARED_0_USE_STC_1=""
54779 fi
54780
54781 COND_SHARED_0_wxUSE_EXPAT_builtin="#"
54782 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
54783 COND_SHARED_0_wxUSE_EXPAT_builtin=""
54784 fi
54785
54786 COND_SHARED_0_wxUSE_REGEX_builtin="#"
54787 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
54788 COND_SHARED_0_wxUSE_REGEX_builtin=""
54789 fi
54790
54791 COND_SHARED_0_wxUSE_ZLIB_builtin="#"
54792 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
54793 COND_SHARED_0_wxUSE_ZLIB_builtin=""
54794 fi
54795
54796 COND_SHARED_1="#"
54797 if test "x$SHARED" = "x1" ; then
54798 COND_SHARED_1=""
54799 fi
54800
54801 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
54802 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
54803 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
54804 fi
54805
54806 COND_TOOLKIT_="#"
54807 if test "x$TOOLKIT" = "x" ; then
54808 COND_TOOLKIT_=""
54809 fi
54810
54811 COND_TOOLKIT_COCOA="#"
54812 if test "x$TOOLKIT" = "xCOCOA" ; then
54813 COND_TOOLKIT_COCOA=""
54814 fi
54815
54816 COND_TOOLKIT_COCOA_USE_GUI_1="#"
54817 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
54818 COND_TOOLKIT_COCOA_USE_GUI_1=""
54819 fi
54820
54821 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
54822 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
54823 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
54824 fi
54825
54826 COND_TOOLKIT_DFB="#"
54827 if test "x$TOOLKIT" = "xDFB" ; then
54828 COND_TOOLKIT_DFB=""
54829 fi
54830
54831 COND_TOOLKIT_DFB_USE_GUI_1="#"
54832 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
54833 COND_TOOLKIT_DFB_USE_GUI_1=""
54834 fi
54835
54836 COND_TOOLKIT_GTK="#"
54837 if test "x$TOOLKIT" = "xGTK" ; then
54838 COND_TOOLKIT_GTK=""
54839 fi
54840
54841 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
54842 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
54843 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
54844 fi
54845
54846 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
54847 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
54848 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
54849 fi
54850
54851 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
54852 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
54853 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
54854 fi
54855
54856 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
54857 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
54858 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
54859 fi
54860
54861 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
54862 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
54863 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
54864 fi
54865
54866 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
54867 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
54868 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
54869 fi
54870
54871 COND_TOOLKIT_GTK_USE_GUI_1="#"
54872 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
54873 COND_TOOLKIT_GTK_USE_GUI_1=""
54874 fi
54875
54876 COND_TOOLKIT_MAC="#"
54877 if test "x$TOOLKIT" = "xMAC" ; then
54878 COND_TOOLKIT_MAC=""
54879 fi
54880
54881 COND_TOOLKIT_MOTIF="#"
54882 if test "x$TOOLKIT" = "xMOTIF" ; then
54883 COND_TOOLKIT_MOTIF=""
54884 fi
54885
54886 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
54887 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
54888 COND_TOOLKIT_MOTIF_USE_GUI_1=""
54889 fi
54890
54891 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
54892 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
54893 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
54894 fi
54895
54896 COND_TOOLKIT_MSW="#"
54897 if test "x$TOOLKIT" = "xMSW" ; then
54898 COND_TOOLKIT_MSW=""
54899 fi
54900
54901 COND_TOOLKIT_MSW_USE_GUI_1="#"
54902 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
54903 COND_TOOLKIT_MSW_USE_GUI_1=""
54904 fi
54905
54906 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
54907 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
54908 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
54909 fi
54910
54911 COND_TOOLKIT_MSW_WXUNIV_0="#"
54912 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
54913 COND_TOOLKIT_MSW_WXUNIV_0=""
54914 fi
54915
54916 COND_TOOLKIT_OSX_CARBON="#"
54917 if test "x$TOOLKIT" = "xOSX_CARBON" ; then
54918 COND_TOOLKIT_OSX_CARBON=""
54919 fi
54920
54921 COND_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
54922 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
54923 COND_TOOLKIT_OSX_CARBON_USE_GUI_1=""
54924 fi
54925
54926 COND_TOOLKIT_OSX_COCOA="#"
54927 if test "x$TOOLKIT" = "xOSX_COCOA" ; then
54928 COND_TOOLKIT_OSX_COCOA=""
54929 fi
54930
54931 COND_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
54932 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
54933 COND_TOOLKIT_OSX_COCOA_USE_GUI_1=""
54934 fi
54935
54936 COND_TOOLKIT_OSX_IPHONE="#"
54937 if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
54938 COND_TOOLKIT_OSX_IPHONE=""
54939 fi
54940
54941 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1="#"
54942 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
54943 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1=""
54944 fi
54945
54946 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0="#"
54947 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
54948 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0=""
54949 fi
54950
54951 COND_TOOLKIT_PM="#"
54952 if test "x$TOOLKIT" = "xPM" ; then
54953 COND_TOOLKIT_PM=""
54954 fi
54955
54956 COND_TOOLKIT_PM_USE_GUI_1="#"
54957 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
54958 COND_TOOLKIT_PM_USE_GUI_1=""
54959 fi
54960
54961 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
54962 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
54963 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
54964 fi
54965
54966 COND_TOOLKIT_WINCE="#"
54967 if test "x$TOOLKIT" = "xWINCE" ; then
54968 COND_TOOLKIT_WINCE=""
54969 fi
54970
54971 COND_TOOLKIT_WINCE_USE_GUI_1="#"
54972 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
54973 COND_TOOLKIT_WINCE_USE_GUI_1=""
54974 fi
54975
54976 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
54977 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
54978 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
54979 fi
54980
54981 COND_TOOLKIT_WINCE_WXUNIV_0="#"
54982 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
54983 COND_TOOLKIT_WINCE_WXUNIV_0=""
54984 fi
54985
54986 COND_TOOLKIT_X11="#"
54987 if test "x$TOOLKIT" = "xX11" ; then
54988 COND_TOOLKIT_X11=""
54989 fi
54990
54991 COND_TOOLKIT_X11_USE_GUI_1="#"
54992 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
54993 COND_TOOLKIT_X11_USE_GUI_1=""
54994 fi
54995
54996 COND_UNICODE_1="#"
54997 if test "x$UNICODE" = "x1" ; then
54998 COND_UNICODE_1=""
54999 fi
55000
55001 COND_USE_CAIRO_1="#"
55002 if test "x$USE_CAIRO" = "x1" ; then
55003 COND_USE_CAIRO_1=""
55004 fi
55005
55006 COND_USE_EXCEPTIONS_0="#"
55007 if test "x$USE_EXCEPTIONS" = "x0" ; then
55008 COND_USE_EXCEPTIONS_0=""
55009 fi
55010
55011 COND_USE_EXCEPTIONS_1="#"
55012 if test "x$USE_EXCEPTIONS" = "x1" ; then
55013 COND_USE_EXCEPTIONS_1=""
55014 fi
55015
55016 COND_USE_GUI_0="#"
55017 if test "x$USE_GUI" = "x0" ; then
55018 COND_USE_GUI_0=""
55019 fi
55020
55021 COND_USE_GUI_1="#"
55022 if test "x$USE_GUI" = "x1" ; then
55023 COND_USE_GUI_1=""
55024 fi
55025
55026 COND_USE_GUI_1_USE_OPENGL_1="#"
55027 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
55028 COND_USE_GUI_1_USE_OPENGL_1=""
55029 fi
55030
55031 COND_USE_GUI_1_WXUNIV_0="#"
55032 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
55033 COND_USE_GUI_1_WXUNIV_0=""
55034 fi
55035
55036 COND_USE_GUI_1_WXUNIV_1="#"
55037 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
55038 COND_USE_GUI_1_WXUNIV_1=""
55039 fi
55040
55041 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
55042 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
55043 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
55044 fi
55045
55046 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
55047 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
55048 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
55049 fi
55050
55051 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
55052 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
55053 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
55054 fi
55055
55056 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
55057 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
55058 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
55059 fi
55060
55061 COND_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
55062 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
55063 COND_USE_GUI_1_wxUSE_LIBPNG_builtin=""
55064 fi
55065
55066 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
55067 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
55068 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
55069 fi
55070
55071 COND_USE_OPENGL_1="#"
55072 if test "x$USE_OPENGL" = "x1" ; then
55073 COND_USE_OPENGL_1=""
55074 fi
55075
55076 COND_USE_PCH_1="#"
55077 if test "x$USE_PCH" = "x1" ; then
55078 COND_USE_PCH_1=""
55079 fi
55080
55081 COND_USE_PLUGINS_0="#"
55082 if test "x$USE_PLUGINS" = "x0" ; then
55083 COND_USE_PLUGINS_0=""
55084 fi
55085
55086 COND_USE_RTTI_0="#"
55087 if test "x$USE_RTTI" = "x0" ; then
55088 COND_USE_RTTI_0=""
55089 fi
55090
55091 COND_USE_RTTI_1="#"
55092 if test "x$USE_RTTI" = "x1" ; then
55093 COND_USE_RTTI_1=""
55094 fi
55095
55096 COND_USE_SOTWOSYMLINKS_1="#"
55097 if test "x$USE_SOTWOSYMLINKS" = "x1" ; then
55098 COND_USE_SOTWOSYMLINKS_1=""
55099 fi
55100
55101 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
55102 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
55103 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
55104 fi
55105
55106 COND_USE_SOVERLINUX_1="#"
55107 if test "x$USE_SOVERLINUX" = "x1" ; then
55108 COND_USE_SOVERLINUX_1=""
55109 fi
55110
55111 COND_USE_SOVERSION_0="#"
55112 if test "x$USE_SOVERSION" = "x0" ; then
55113 COND_USE_SOVERSION_0=""
55114 fi
55115
55116 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1="#"
55117 if test "x$USE_SOVERSION" = "x1" -a "x$USE_SOVERSOLARIS" = "x1" ; then
55118 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1=""
55119 fi
55120
55121 COND_USE_SOVERSOLARIS_1="#"
55122 if test "x$USE_SOVERSOLARIS" = "x1" ; then
55123 COND_USE_SOVERSOLARIS_1=""
55124 fi
55125
55126 COND_USE_STC_1="#"
55127 if test "x$USE_STC" = "x1" ; then
55128 COND_USE_STC_1=""
55129 fi
55130
55131 COND_USE_THREADS_0="#"
55132 if test "x$USE_THREADS" = "x0" ; then
55133 COND_USE_THREADS_0=""
55134 fi
55135
55136 COND_USE_THREADS_1="#"
55137 if test "x$USE_THREADS" = "x1" ; then
55138 COND_USE_THREADS_1=""
55139 fi
55140
55141 COND_USE_XRC_1="#"
55142 if test "x$USE_XRC" = "x1" ; then
55143 COND_USE_XRC_1=""
55144 fi
55145
55146 COND_WINDOWS_IMPLIB_1="#"
55147 if test "x$WINDOWS_IMPLIB" = "x1" ; then
55148 COND_WINDOWS_IMPLIB_1=""
55149 fi
55150
55151 COND_WITH_PLUGIN_SDL_1="#"
55152 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
55153 COND_WITH_PLUGIN_SDL_1=""
55154 fi
55155
55156 COND_WXUNIV_0="#"
55157 if test "x$WXUNIV" = "x0" ; then
55158 COND_WXUNIV_0=""
55159 fi
55160
55161 COND_WXUNIV_1="#"
55162 if test "x$WXUNIV" = "x1" ; then
55163 COND_WXUNIV_1=""
55164 fi
55165
55166 COND_WXUSE_EXPAT_BUILTIN="#"
55167 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
55168 COND_WXUSE_EXPAT_BUILTIN=""
55169 fi
55170
55171 COND_WXUSE_LIBJPEG_BUILTIN="#"
55172 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
55173 COND_WXUSE_LIBJPEG_BUILTIN=""
55174 fi
55175
55176 COND_WXUSE_LIBPNG_BUILTIN="#"
55177 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
55178 COND_WXUSE_LIBPNG_BUILTIN=""
55179 fi
55180
55181 COND_WXUSE_LIBTIFF_BUILTIN="#"
55182 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
55183 COND_WXUSE_LIBTIFF_BUILTIN=""
55184 fi
55185
55186 COND_WXUSE_REGEX_BUILTIN="#"
55187 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
55188 COND_WXUSE_REGEX_BUILTIN=""
55189 fi
55190
55191 COND_WXUSE_ZLIB_BUILTIN="#"
55192 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
55193 COND_WXUSE_ZLIB_BUILTIN=""
55194 fi
55195
55196 COND_wxUSE_EXPAT_builtin="#"
55197 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
55198 COND_wxUSE_EXPAT_builtin=""
55199 fi
55200
55201 COND_wxUSE_LIBJPEG_builtin="#"
55202 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
55203 COND_wxUSE_LIBJPEG_builtin=""
55204 fi
55205
55206 COND_wxUSE_LIBPNG_builtin="#"
55207 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
55208 COND_wxUSE_LIBPNG_builtin=""
55209 fi
55210
55211 COND_wxUSE_LIBTIFF_builtin="#"
55212 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
55213 COND_wxUSE_LIBTIFF_builtin=""
55214 fi
55215
55216 COND_wxUSE_REGEX_builtin="#"
55217 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
55218 COND_wxUSE_REGEX_builtin=""
55219 fi
55220
55221 COND_wxUSE_ZLIB_builtin="#"
55222 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
55223 COND_wxUSE_ZLIB_builtin=""
55224 fi
55225
55226
55227
55228 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
55229 { { 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
55230 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;}
55231 { (exit 1); exit 1; }; }
55232 fi
55233
55234 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
55235 { { 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
55236 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;}
55237 { (exit 1); exit 1; }; }
55238 fi
55239
55240
55241 case ${INSTALL} in
55242 /* ) # Absolute
55243 ;;
55244 ?:* ) # Drive letter, considered as absolute.
55245 ;;
55246 *)
55247 INSTALL=`pwd`/${INSTALL} ;;
55248 esac
55249
55250 if test "$wxUSE_GUI" = "yes"; then
55251
55252 if test "$wxUSE_MSW" = 1 ; then
55253 if test "x$WINDRES" = "x"; then
55254 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
55255 echo "$as_me: error: Required windres program not found" >&2;}
55256 { (exit 1); exit 1; }; }
55257 fi
55258
55259 RESCOMP="$WINDRES"
55260 fi
55261
55262 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
55263 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
55264 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
55265
55266 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
55267
55268 # Extract the first word of "DeRez", so it can be a program name with args.
55269 set dummy DeRez; ac_word=$2
55270 { echo "$as_me:$LINENO: checking for $ac_word" >&5
55271 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
55272 if test "${ac_cv_prog_DEREZ+set}" = set; then
55273 echo $ECHO_N "(cached) $ECHO_C" >&6
55274 else
55275 if test -n "$DEREZ"; then
55276 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
55277 else
55278 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
55279 for as_dir in $PATH
55280 do
55281 IFS=$as_save_IFS
55282 test -z "$as_dir" && as_dir=.
55283 for ac_exec_ext in '' $ac_executable_extensions; do
55284 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
55285 ac_cv_prog_DEREZ="DeRez"
55286 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
55287 break 2
55288 fi
55289 done
55290 done
55291 IFS=$as_save_IFS
55292
55293 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
55294 fi
55295 fi
55296 DEREZ=$ac_cv_prog_DEREZ
55297 if test -n "$DEREZ"; then
55298 { echo "$as_me:$LINENO: result: $DEREZ" >&5
55299 echo "${ECHO_T}$DEREZ" >&6; }
55300 else
55301 { echo "$as_me:$LINENO: result: no" >&5
55302 echo "${ECHO_T}no" >&6; }
55303 fi
55304
55305
55306
55307 MACSETFILE="\$(SETFILE)"
55308
55309 if test "$wxUSE_OSX_CARBON" = 1; then
55310 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
55311 RESCOMP="$REZ"
55312 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
55313 else
55314 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
55315 RESCOMP="cat /dev/null \| $REZ"
55316 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
55317 fi
55318
55319 else
55320 MACSETFILE="@true"
55321
55322 if test "$wxUSE_PM" = 1; then
55323 RESCOMP="emxbind"
55324 WXCONFIG_RESFLAGS="-ep"
55325
55326 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
55327 else
55328 POSTLINK_COMMAND="@true"
55329 fi
55330 fi
55331
55332 fi
55333
55334
55335 if test $GCC_PCH = 1
55336 then
55337 if test "$wx_cv_gcc_pch_bug" = yes; then
55338 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
55339 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
55340 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
55341 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
55342 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
55343 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
55344 fi
55345
55346 # Our WX_PRECOMP flag does not make sense for any language except C++ because
55347 # the headers that benefit from precompilation are mostly C++ headers.
55348 CXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
55349 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
55350 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
55351 fi
55352
55353
55354 if test "$wxUSE_MAC" = 1 ; then
55355 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
55356 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
55357 mv temp bk-deps
55358 chmod +x bk-deps
55359 fi
55360 fi
55361
55362 if test "$wxUSE_SHARED" = "yes"; then
55363 case "${host}" in
55364 *-pc-os2_emx | *-pc-os2-emx )
55365 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
55366 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
55367 cp -p ${srcdir}/src/os2/dllnames.sh .
55368 cp -p ${srcdir}/src/os2/dllar.sh .
55369 ;;
55370 esac
55371 fi
55372 if test "$wxUSE_OMF" = "yes"; then
55373 case "${host}" in
55374 *-pc-os2_emx | *-pc-os2-emx )
55375 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
55376 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
55377 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
55378 ;;
55379 esac
55380 fi
55381
55382 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
55383
55384
55385 case "${host}" in
55386 *-*-solaris2* )
55387 if test "$GCC" = yes; then
55388 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//g'`
55389 LIBS=`echo $LIBS | sed 's/-mt//g'`
55390 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//g'`
55391 fi
55392 ;;
55393
55394 *-*-linux* )
55395 if test "x$SUNCXX" = xyes; then
55396 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//g'`
55397 LIBS=`echo $LIBS | sed 's/-pthread//g'`
55398 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//g'`
55399 fi
55400 ;;
55401 esac
55402
55403 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
55404 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
55405 OBJCFLAGS="$OBJCFLAGS $CFLAGS_VISIBILITY"
55406 OBJCXXFLAGS="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
55407
55408 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
55409
55410
55411
55412
55413
55414
55415
55416
55417
55418
55419
55420
55421
55422
55423
55424
55425
55426
55427
55428
55429
55430
55431
55432
55433
55434
55435
55436
55437
55438
55439
55440
55441
55442
55443
55444
55445
55446
55447
55448
55449
55450
55451
55452
55453
55454
55455
55456
55457
55458
55459
55460
55461
55462
55463
55464
55465
55466
55467
55468
55469 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
55470 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
55471 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
55472 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
55473 echo $ECHO_N "(cached) $ECHO_C" >&6
55474 else
55475 cat >conftest.make <<\_ACEOF
55476 SHELL = /bin/sh
55477 all:
55478 @echo '@@@%%%=$(MAKE)=@@@%%%'
55479 _ACEOF
55480 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
55481 case `${MAKE-make} -f conftest.make 2>/dev/null` in
55482 *@@@%%%=?*=@@@%%%*)
55483 eval ac_cv_prog_make_${ac_make}_set=yes;;
55484 *)
55485 eval ac_cv_prog_make_${ac_make}_set=no;;
55486 esac
55487 rm -f conftest.make
55488 fi
55489 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
55490 { echo "$as_me:$LINENO: result: yes" >&5
55491 echo "${ECHO_T}yes" >&6; }
55492 SET_MAKE=
55493 else
55494 { echo "$as_me:$LINENO: result: no" >&5
55495 echo "${ECHO_T}no" >&6; }
55496 SET_MAKE="MAKE=${MAKE-make}"
55497 fi
55498
55499
55500
55501 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
55502
55503
55504 if test "$USE_WIN32" = 1; then
55505 ac_config_commands="$ac_config_commands rcdefs.h"
55506
55507 fi
55508
55509 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
55510
55511
55512 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
55513
55514
55515 ac_config_files="$ac_config_files utils/ifacecheck/rungccxml.sh"
55516
55517
55518 if test "$wx_cv_version_script" = "yes"; then
55519 ac_config_files="$ac_config_files version-script"
55520
55521 fi
55522 ac_config_files="$ac_config_files Makefile"
55523
55524
55525 ac_config_commands="$ac_config_commands wx-config"
55526
55527
55528
55529 if test "$wxWITH_SUBDIRS" != "no"; then
55530 if test "$wxUSE_GUI" = "yes"; then
55531 SUBDIRS="samples demos utils"
55532 else
55533 SUBDIRS="samples utils"
55534 fi
55535
55536
55537
55538 # Check whether --with-cppunit-prefix was given.
55539 if test "${with_cppunit_prefix+set}" = set; then
55540 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
55541 else
55542 cppunit_config_prefix=""
55543 fi
55544
55545
55546 # Check whether --with-cppunit-exec-prefix was given.
55547 if test "${with_cppunit_exec_prefix+set}" = set; then
55548 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
55549 else
55550 cppunit_config_exec_prefix=""
55551 fi
55552
55553
55554 if test x$cppunit_config_exec_prefix != x ; then
55555 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
55556 if test x${CPPUNIT_CONFIG+set} != xset ; then
55557 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
55558 fi
55559 fi
55560 if test x$cppunit_config_prefix != x ; then
55561 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
55562 if test x${CPPUNIT_CONFIG+set} != xset ; then
55563 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
55564 fi
55565 fi
55566
55567 # Extract the first word of "cppunit-config", so it can be a program name with args.
55568 set dummy cppunit-config; ac_word=$2
55569 { echo "$as_me:$LINENO: checking for $ac_word" >&5
55570 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
55571 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
55572 echo $ECHO_N "(cached) $ECHO_C" >&6
55573 else
55574 case $CPPUNIT_CONFIG in
55575 [\\/]* | ?:[\\/]*)
55576 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
55577 ;;
55578 *)
55579 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
55580 for as_dir in $PATH
55581 do
55582 IFS=$as_save_IFS
55583 test -z "$as_dir" && as_dir=.
55584 for ac_exec_ext in '' $ac_executable_extensions; do
55585 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
55586 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
55587 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
55588 break 2
55589 fi
55590 done
55591 done
55592 IFS=$as_save_IFS
55593
55594 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
55595 ;;
55596 esac
55597 fi
55598 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
55599 if test -n "$CPPUNIT_CONFIG"; then
55600 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
55601 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
55602 else
55603 { echo "$as_me:$LINENO: result: no" >&5
55604 echo "${ECHO_T}no" >&6; }
55605 fi
55606
55607
55608 cppunit_version_min=1.8.0
55609
55610 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
55611 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
55612 no_cppunit=""
55613 if test "$CPPUNIT_CONFIG" = "no" ; then
55614 { echo "$as_me:$LINENO: result: no" >&5
55615 echo "${ECHO_T}no" >&6; }
55616 no_cppunit=yes
55617 else
55618 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
55619 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
55620 cppunit_version=`$CPPUNIT_CONFIG --version`
55621
55622 cppunit_major_version=`echo $cppunit_version | \
55623 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
55624 cppunit_minor_version=`echo $cppunit_version | \
55625 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
55626 cppunit_micro_version=`echo $cppunit_version | \
55627 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
55628
55629 cppunit_major_min=`echo $cppunit_version_min | \
55630 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
55631 cppunit_minor_min=`echo $cppunit_version_min | \
55632 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
55633 cppunit_micro_min=`echo $cppunit_version_min | \
55634 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
55635
55636 cppunit_version_proper=`expr \
55637 $cppunit_major_version \> $cppunit_major_min \| \
55638 $cppunit_major_version \= $cppunit_major_min \& \
55639 $cppunit_minor_version \> $cppunit_minor_min \| \
55640 $cppunit_major_version \= $cppunit_major_min \& \
55641 $cppunit_minor_version \= $cppunit_minor_min \& \
55642 $cppunit_micro_version \>= $cppunit_micro_min `
55643
55644 if test "$cppunit_version_proper" = "1" ; then
55645 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
55646 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
55647 else
55648 { echo "$as_me:$LINENO: result: no" >&5
55649 echo "${ECHO_T}no" >&6; }
55650 no_cppunit=yes
55651 fi
55652 fi
55653
55654 if test "x$no_cppunit" = x ; then
55655 SUBDIRS="$SUBDIRS tests"
55656 else
55657 CPPUNIT_CFLAGS=""
55658 CPPUNIT_LIBS=""
55659 :
55660 fi
55661
55662
55663
55664
55665
55666 for subdir in $SUBDIRS; do
55667 if test -d ${srcdir}/${subdir} ; then
55668 if test "$wxUSE_GUI" = "yes"; then
55669 if test ${subdir} = "samples"; then
55670 makefiles="samples/Makefile.in $makefiles"
55671 for sample in $SAMPLES_SUBDIRS; do
55672 if test -d $srcdir/samples/$sample; then
55673 makefiles="samples/$sample/Makefile.in $makefiles"
55674 fi
55675 done
55676 else
55677 disabled_var=DISABLED_`echo $subdir | tr '[a-z]' '[A-Z]'`
55678 eval "disabled=\$$disabled_var"
55679 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
55680 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
55681 fi
55682 else
55683 if test ${subdir} = "samples"; then
55684 makefiles="samples/Makefile.in $makefiles"
55685 for sample in `echo $SAMPLES_SUBDIRS`; do
55686 if test -d $srcdir/samples/$sample; then
55687 makefiles="samples/$sample/Makefile.in $makefiles"
55688 fi
55689 done
55690 elif test ${subdir} = "utils"; then
55691 makefiles=""
55692 for util in ifacecheck ; do
55693 if test -d $srcdir/utils/$util ; then
55694 makefiles="utils/$util/src/Makefile.in \
55695 $makefiles"
55696 fi
55697 done
55698 else
55699 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
55700 fi
55701 fi
55702
55703 for mkin in $makefiles ; do
55704 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
55705 ac_config_files="$ac_config_files $mk"
55706
55707 done
55708 fi
55709 done
55710 fi
55711 cat >confcache <<\_ACEOF
55712 # This file is a shell script that caches the results of configure
55713 # tests run on this system so they can be shared between configure
55714 # scripts and configure runs, see configure's option --config-cache.
55715 # It is not useful on other systems. If it contains results you don't
55716 # want to keep, you may remove or edit it.
55717 #
55718 # config.status only pays attention to the cache file if you give it
55719 # the --recheck option to rerun configure.
55720 #
55721 # `ac_cv_env_foo' variables (set or unset) will be overridden when
55722 # loading this file, other *unset* `ac_cv_foo' will be assigned the
55723 # following values.
55724
55725 _ACEOF
55726
55727 # The following way of writing the cache mishandles newlines in values,
55728 # but we know of no workaround that is simple, portable, and efficient.
55729 # So, we kill variables containing newlines.
55730 # Ultrix sh set writes to stderr and can't be redirected directly,
55731 # and sets the high bit in the cache file unless we assign to the vars.
55732 (
55733 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
55734 eval ac_val=\$$ac_var
55735 case $ac_val in #(
55736 *${as_nl}*)
55737 case $ac_var in #(
55738 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
55739 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
55740 esac
55741 case $ac_var in #(
55742 _ | IFS | as_nl) ;; #(
55743 *) $as_unset $ac_var ;;
55744 esac ;;
55745 esac
55746 done
55747
55748 (set) 2>&1 |
55749 case $as_nl`(ac_space=' '; set) 2>&1` in #(
55750 *${as_nl}ac_space=\ *)
55751 # `set' does not quote correctly, so add quotes (double-quote
55752 # substitution turns \\\\ into \\, and sed turns \\ into \).
55753 sed -n \
55754 "s/'/'\\\\''/g;
55755 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
55756 ;; #(
55757 *)
55758 # `set' quotes correctly as required by POSIX, so do not add quotes.
55759 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
55760 ;;
55761 esac |
55762 sort
55763 ) |
55764 sed '
55765 /^ac_cv_env_/b end
55766 t clear
55767 :clear
55768 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
55769 t end
55770 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
55771 :end' >>confcache
55772 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
55773 if test -w "$cache_file"; then
55774 test "x$cache_file" != "x/dev/null" &&
55775 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
55776 echo "$as_me: updating cache $cache_file" >&6;}
55777 cat confcache >$cache_file
55778 else
55779 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
55780 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
55781 fi
55782 fi
55783 rm -f confcache
55784
55785 test "x$prefix" = xNONE && prefix=$ac_default_prefix
55786 # Let make expand exec_prefix.
55787 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
55788
55789 DEFS=-DHAVE_CONFIG_H
55790
55791 ac_libobjs=
55792 ac_ltlibobjs=
55793 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
55794 # 1. Remove the extension, and $U if already installed.
55795 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
55796 ac_i=`echo "$ac_i" | sed "$ac_script"`
55797 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
55798 # will be set to the directory where LIBOBJS objects are built.
55799 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
55800 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
55801 done
55802 LIBOBJS=$ac_libobjs
55803
55804 LTLIBOBJS=$ac_ltlibobjs
55805
55806
55807
55808 : ${CONFIG_STATUS=./config.status}
55809 ac_clean_files_save=$ac_clean_files
55810 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
55811 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
55812 echo "$as_me: creating $CONFIG_STATUS" >&6;}
55813 cat >$CONFIG_STATUS <<_ACEOF
55814 #! $SHELL
55815 # Generated by $as_me.
55816 # Run this file to recreate the current configuration.
55817 # Compiler output produced by configure, useful for debugging
55818 # configure, is in config.log if it exists.
55819
55820 debug=false
55821 ac_cs_recheck=false
55822 ac_cs_silent=false
55823 SHELL=\${CONFIG_SHELL-$SHELL}
55824 _ACEOF
55825
55826 cat >>$CONFIG_STATUS <<\_ACEOF
55827 ## --------------------- ##
55828 ## M4sh Initialization. ##
55829 ## --------------------- ##
55830
55831 # Be more Bourne compatible
55832 DUALCASE=1; export DUALCASE # for MKS sh
55833 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
55834 emulate sh
55835 NULLCMD=:
55836 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
55837 # is contrary to our usage. Disable this feature.
55838 alias -g '${1+"$@"}'='"$@"'
55839 setopt NO_GLOB_SUBST
55840 else
55841 case `(set -o) 2>/dev/null` in
55842 *posix*) set -o posix ;;
55843 esac
55844
55845 fi
55846
55847
55848
55849
55850 # PATH needs CR
55851 # Avoid depending upon Character Ranges.
55852 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
55853 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
55854 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
55855 as_cr_digits='0123456789'
55856 as_cr_alnum=$as_cr_Letters$as_cr_digits
55857
55858 # The user is always right.
55859 if test "${PATH_SEPARATOR+set}" != set; then
55860 echo "#! /bin/sh" >conf$$.sh
55861 echo "exit 0" >>conf$$.sh
55862 chmod +x conf$$.sh
55863 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
55864 PATH_SEPARATOR=';'
55865 else
55866 PATH_SEPARATOR=:
55867 fi
55868 rm -f conf$$.sh
55869 fi
55870
55871 # Support unset when possible.
55872 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
55873 as_unset=unset
55874 else
55875 as_unset=false
55876 fi
55877
55878
55879 # IFS
55880 # We need space, tab and new line, in precisely that order. Quoting is
55881 # there to prevent editors from complaining about space-tab.
55882 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
55883 # splitting by setting IFS to empty value.)
55884 as_nl='
55885 '
55886 IFS=" "" $as_nl"
55887
55888 # Find who we are. Look in the path if we contain no directory separator.
55889 case $0 in
55890 *[\\/]* ) as_myself=$0 ;;
55891 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
55892 for as_dir in $PATH
55893 do
55894 IFS=$as_save_IFS
55895 test -z "$as_dir" && as_dir=.
55896 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
55897 done
55898 IFS=$as_save_IFS
55899
55900 ;;
55901 esac
55902 # We did not find ourselves, most probably we were run as `sh COMMAND'
55903 # in which case we are not to be found in the path.
55904 if test "x$as_myself" = x; then
55905 as_myself=$0
55906 fi
55907 if test ! -f "$as_myself"; then
55908 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
55909 { (exit 1); exit 1; }
55910 fi
55911
55912 # Work around bugs in pre-3.0 UWIN ksh.
55913 for as_var in ENV MAIL MAILPATH
55914 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
55915 done
55916 PS1='$ '
55917 PS2='> '
55918 PS4='+ '
55919
55920 # NLS nuisances.
55921 for as_var in \
55922 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
55923 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
55924 LC_TELEPHONE LC_TIME
55925 do
55926 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
55927 eval $as_var=C; export $as_var
55928 else
55929 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
55930 fi
55931 done
55932
55933 # Required to use basename.
55934 if expr a : '\(a\)' >/dev/null 2>&1 &&
55935 test "X`expr 00001 : '.*\(...\)'`" = X001; then
55936 as_expr=expr
55937 else
55938 as_expr=false
55939 fi
55940
55941 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
55942 as_basename=basename
55943 else
55944 as_basename=false
55945 fi
55946
55947
55948 # Name of the executable.
55949 as_me=`$as_basename -- "$0" ||
55950 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
55951 X"$0" : 'X\(//\)$' \| \
55952 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
55953 echo X/"$0" |
55954 sed '/^.*\/\([^/][^/]*\)\/*$/{
55955 s//\1/
55956 q
55957 }
55958 /^X\/\(\/\/\)$/{
55959 s//\1/
55960 q
55961 }
55962 /^X\/\(\/\).*/{
55963 s//\1/
55964 q
55965 }
55966 s/.*/./; q'`
55967
55968 # CDPATH.
55969 $as_unset CDPATH
55970
55971
55972
55973 as_lineno_1=$LINENO
55974 as_lineno_2=$LINENO
55975 test "x$as_lineno_1" != "x$as_lineno_2" &&
55976 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
55977
55978 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
55979 # uniformly replaced by the line number. The first 'sed' inserts a
55980 # line-number line after each line using $LINENO; the second 'sed'
55981 # does the real work. The second script uses 'N' to pair each
55982 # line-number line with the line containing $LINENO, and appends
55983 # trailing '-' during substitution so that $LINENO is not a special
55984 # case at line end.
55985 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
55986 # scripts with optimization help from Paolo Bonzini. Blame Lee
55987 # E. McMahon (1931-1989) for sed's syntax. :-)
55988 sed -n '
55989 p
55990 /[$]LINENO/=
55991 ' <$as_myself |
55992 sed '
55993 s/[$]LINENO.*/&-/
55994 t lineno
55995 b
55996 :lineno
55997 N
55998 :loop
55999 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
56000 t loop
56001 s/-\n.*//
56002 ' >$as_me.lineno &&
56003 chmod +x "$as_me.lineno" ||
56004 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
56005 { (exit 1); exit 1; }; }
56006
56007 # Don't try to exec as it changes $[0], causing all sort of problems
56008 # (the dirname of $[0] is not the place where we might find the
56009 # original and so on. Autoconf is especially sensitive to this).
56010 . "./$as_me.lineno"
56011 # Exit status is that of the last command.
56012 exit
56013 }
56014
56015
56016 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
56017 as_dirname=dirname
56018 else
56019 as_dirname=false
56020 fi
56021
56022 ECHO_C= ECHO_N= ECHO_T=
56023 case `echo -n x` in
56024 -n*)
56025 case `echo 'x\c'` in
56026 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
56027 *) ECHO_C='\c';;
56028 esac;;
56029 *)
56030 ECHO_N='-n';;
56031 esac
56032
56033 if expr a : '\(a\)' >/dev/null 2>&1 &&
56034 test "X`expr 00001 : '.*\(...\)'`" = X001; then
56035 as_expr=expr
56036 else
56037 as_expr=false
56038 fi
56039
56040 rm -f conf$$ conf$$.exe conf$$.file
56041 if test -d conf$$.dir; then
56042 rm -f conf$$.dir/conf$$.file
56043 else
56044 rm -f conf$$.dir
56045 mkdir conf$$.dir
56046 fi
56047 echo >conf$$.file
56048 if ln -s conf$$.file conf$$ 2>/dev/null; then
56049 as_ln_s='ln -s'
56050 # ... but there are two gotchas:
56051 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
56052 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
56053 # In both cases, we have to default to `cp -p'.
56054 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
56055 as_ln_s='cp -p'
56056 elif ln conf$$.file conf$$ 2>/dev/null; then
56057 as_ln_s=ln
56058 else
56059 as_ln_s='cp -p'
56060 fi
56061 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
56062 rmdir conf$$.dir 2>/dev/null
56063
56064 if mkdir -p . 2>/dev/null; then
56065 as_mkdir_p=:
56066 else
56067 test -d ./-p && rmdir ./-p
56068 as_mkdir_p=false
56069 fi
56070
56071 if test -x / >/dev/null 2>&1; then
56072 as_test_x='test -x'
56073 else
56074 if ls -dL / >/dev/null 2>&1; then
56075 as_ls_L_option=L
56076 else
56077 as_ls_L_option=
56078 fi
56079 as_test_x='
56080 eval sh -c '\''
56081 if test -d "$1"; then
56082 test -d "$1/.";
56083 else
56084 case $1 in
56085 -*)set "./$1";;
56086 esac;
56087 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
56088 ???[sx]*):;;*)false;;esac;fi
56089 '\'' sh
56090 '
56091 fi
56092 as_executable_p=$as_test_x
56093
56094 # Sed expression to map a string onto a valid CPP name.
56095 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
56096
56097 # Sed expression to map a string onto a valid variable name.
56098 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
56099
56100
56101 exec 6>&1
56102
56103 # Save the log message, to keep $[0] and so on meaningful, and to
56104 # report actual input values of CONFIG_FILES etc. instead of their
56105 # values after options handling.
56106 ac_log="
56107 This file was extended by wxWidgets $as_me 2.9.4, which was
56108 generated by GNU Autoconf 2.61. Invocation command line was
56109
56110 CONFIG_FILES = $CONFIG_FILES
56111 CONFIG_HEADERS = $CONFIG_HEADERS
56112 CONFIG_LINKS = $CONFIG_LINKS
56113 CONFIG_COMMANDS = $CONFIG_COMMANDS
56114 $ $0 $@
56115
56116 on `(hostname || uname -n) 2>/dev/null | sed 1q`
56117 "
56118
56119 _ACEOF
56120
56121 cat >>$CONFIG_STATUS <<_ACEOF
56122 # Files that config.status was made for.
56123 config_files="$ac_config_files"
56124 config_headers="$ac_config_headers"
56125 config_commands="$ac_config_commands"
56126
56127 _ACEOF
56128
56129 cat >>$CONFIG_STATUS <<\_ACEOF
56130 ac_cs_usage="\
56131 \`$as_me' instantiates files from templates according to the
56132 current configuration.
56133
56134 Usage: $0 [OPTIONS] [FILE]...
56135
56136 -h, --help print this help, then exit
56137 -V, --version print version number and configuration settings, then exit
56138 -q, --quiet do not print progress messages
56139 -d, --debug don't remove temporary files
56140 --recheck update $as_me by reconfiguring in the same conditions
56141 --file=FILE[:TEMPLATE]
56142 instantiate the configuration file FILE
56143 --header=FILE[:TEMPLATE]
56144 instantiate the configuration header FILE
56145
56146 Configuration files:
56147 $config_files
56148
56149 Configuration headers:
56150 $config_headers
56151
56152 Configuration commands:
56153 $config_commands
56154
56155 Report bugs to <bug-autoconf@gnu.org>."
56156
56157 _ACEOF
56158 cat >>$CONFIG_STATUS <<_ACEOF
56159 ac_cs_version="\\
56160 wxWidgets config.status 2.9.4
56161 configured by $0, generated by GNU Autoconf 2.61,
56162 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
56163
56164 Copyright (C) 2006 Free Software Foundation, Inc.
56165 This config.status script is free software; the Free Software Foundation
56166 gives unlimited permission to copy, distribute and modify it."
56167
56168 ac_pwd='$ac_pwd'
56169 srcdir='$srcdir'
56170 INSTALL='$INSTALL'
56171 _ACEOF
56172
56173 cat >>$CONFIG_STATUS <<\_ACEOF
56174 # If no file are specified by the user, then we need to provide default
56175 # value. By we need to know if files were specified by the user.
56176 ac_need_defaults=:
56177 while test $# != 0
56178 do
56179 case $1 in
56180 --*=*)
56181 ac_option=`expr "X$1" : 'X\([^=]*\)='`
56182 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
56183 ac_shift=:
56184 ;;
56185 *)
56186 ac_option=$1
56187 ac_optarg=$2
56188 ac_shift=shift
56189 ;;
56190 esac
56191
56192 case $ac_option in
56193 # Handling of the options.
56194 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
56195 ac_cs_recheck=: ;;
56196 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
56197 echo "$ac_cs_version"; exit ;;
56198 --debug | --debu | --deb | --de | --d | -d )
56199 debug=: ;;
56200 --file | --fil | --fi | --f )
56201 $ac_shift
56202 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
56203 ac_need_defaults=false;;
56204 --header | --heade | --head | --hea )
56205 $ac_shift
56206 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
56207 ac_need_defaults=false;;
56208 --he | --h)
56209 # Conflict between --help and --header
56210 { echo "$as_me: error: ambiguous option: $1
56211 Try \`$0 --help' for more information." >&2
56212 { (exit 1); exit 1; }; };;
56213 --help | --hel | -h )
56214 echo "$ac_cs_usage"; exit ;;
56215 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
56216 | -silent | --silent | --silen | --sile | --sil | --si | --s)
56217 ac_cs_silent=: ;;
56218
56219 # This is an error.
56220 -*) { echo "$as_me: error: unrecognized option: $1
56221 Try \`$0 --help' for more information." >&2
56222 { (exit 1); exit 1; }; } ;;
56223
56224 *) ac_config_targets="$ac_config_targets $1"
56225 ac_need_defaults=false ;;
56226
56227 esac
56228 shift
56229 done
56230
56231 ac_configure_extra_args=
56232
56233 if $ac_cs_silent; then
56234 exec 6>/dev/null
56235 ac_configure_extra_args="$ac_configure_extra_args --silent"
56236 fi
56237
56238 _ACEOF
56239 cat >>$CONFIG_STATUS <<_ACEOF
56240 if \$ac_cs_recheck; then
56241 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
56242 CONFIG_SHELL=$SHELL
56243 export CONFIG_SHELL
56244 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
56245 fi
56246
56247 _ACEOF
56248 cat >>$CONFIG_STATUS <<\_ACEOF
56249 exec 5>>config.log
56250 {
56251 echo
56252 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
56253 ## Running $as_me. ##
56254 _ASBOX
56255 echo "$ac_log"
56256 } >&5
56257
56258 _ACEOF
56259 cat >>$CONFIG_STATUS <<_ACEOF
56260 #
56261 # INIT-COMMANDS
56262 #
56263
56264 CPP="$CPP"
56265 infile="$srcdir/include/wx/msw/genrcdefs.h"
56266 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
56267
56268
56269 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
56270 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
56271 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
56272 LN_S="${LN_S}"
56273
56274
56275 _ACEOF
56276
56277 cat >>$CONFIG_STATUS <<\_ACEOF
56278
56279 # Handling of arguments.
56280 for ac_config_target in $ac_config_targets
56281 do
56282 case $ac_config_target in
56283 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
56284 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
56285 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
56286 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
56287 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
56288 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
56289 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
56290 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
56291 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
56292
56293 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
56294 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
56295 { (exit 1); exit 1; }; };;
56296 esac
56297 done
56298
56299
56300 # If the user did not use the arguments to specify the items to instantiate,
56301 # then the envvar interface is used. Set only those that are not.
56302 # We use the long form for the default assignment because of an extremely
56303 # bizarre bug on SunOS 4.1.3.
56304 if $ac_need_defaults; then
56305 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
56306 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
56307 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
56308 fi
56309
56310 # Have a temporary directory for convenience. Make it in the build tree
56311 # simply because there is no reason against having it here, and in addition,
56312 # creating and moving files from /tmp can sometimes cause problems.
56313 # Hook for its removal unless debugging.
56314 # Note that there is a small window in which the directory will not be cleaned:
56315 # after its creation but before its name has been assigned to `$tmp'.
56316 $debug ||
56317 {
56318 tmp=
56319 trap 'exit_status=$?
56320 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
56321 ' 0
56322 trap '{ (exit 1); exit 1; }' 1 2 13 15
56323 }
56324 # Create a (secure) tmp directory for tmp files.
56325
56326 {
56327 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
56328 test -n "$tmp" && test -d "$tmp"
56329 } ||
56330 {
56331 tmp=./conf$$-$RANDOM
56332 (umask 077 && mkdir "$tmp")
56333 } ||
56334 {
56335 echo "$me: cannot create a temporary directory in ." >&2
56336 { (exit 1); exit 1; }
56337 }
56338
56339 #
56340 # Set up the sed scripts for CONFIG_FILES section.
56341 #
56342
56343 # No need to generate the scripts if there are no CONFIG_FILES.
56344 # This happens for instance when ./config.status config.h
56345 if test -n "$CONFIG_FILES"; then
56346
56347 _ACEOF
56348
56349
56350
56351 ac_delim='%!_!# '
56352 for ac_last_try in false false false false false :; do
56353 cat >conf$$subs.sed <<_ACEOF
56354 SHELL!$SHELL$ac_delim
56355 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
56356 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
56357 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
56358 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
56359 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
56360 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
56361 exec_prefix!$exec_prefix$ac_delim
56362 prefix!$prefix$ac_delim
56363 program_transform_name!$program_transform_name$ac_delim
56364 bindir!$bindir$ac_delim
56365 sbindir!$sbindir$ac_delim
56366 libexecdir!$libexecdir$ac_delim
56367 datarootdir!$datarootdir$ac_delim
56368 datadir!$datadir$ac_delim
56369 sysconfdir!$sysconfdir$ac_delim
56370 sharedstatedir!$sharedstatedir$ac_delim
56371 localstatedir!$localstatedir$ac_delim
56372 includedir!$includedir$ac_delim
56373 oldincludedir!$oldincludedir$ac_delim
56374 docdir!$docdir$ac_delim
56375 infodir!$infodir$ac_delim
56376 htmldir!$htmldir$ac_delim
56377 dvidir!$dvidir$ac_delim
56378 pdfdir!$pdfdir$ac_delim
56379 psdir!$psdir$ac_delim
56380 libdir!$libdir$ac_delim
56381 localedir!$localedir$ac_delim
56382 mandir!$mandir$ac_delim
56383 DEFS!$DEFS$ac_delim
56384 ECHO_C!$ECHO_C$ac_delim
56385 ECHO_N!$ECHO_N$ac_delim
56386 ECHO_T!$ECHO_T$ac_delim
56387 LIBS!$LIBS$ac_delim
56388 build_alias!$build_alias$ac_delim
56389 host_alias!$host_alias$ac_delim
56390 target_alias!$target_alias$ac_delim
56391 build!$build$ac_delim
56392 build_cpu!$build_cpu$ac_delim
56393 build_vendor!$build_vendor$ac_delim
56394 build_os!$build_os$ac_delim
56395 host!$host$ac_delim
56396 host_cpu!$host_cpu$ac_delim
56397 host_vendor!$host_vendor$ac_delim
56398 host_os!$host_os$ac_delim
56399 wx_top_builddir!$wx_top_builddir$ac_delim
56400 CC!$CC$ac_delim
56401 CFLAGS!$CFLAGS$ac_delim
56402 LDFLAGS!$LDFLAGS$ac_delim
56403 CPPFLAGS!$CPPFLAGS$ac_delim
56404 ac_ct_CC!$ac_ct_CC$ac_delim
56405 EXEEXT!$EXEEXT$ac_delim
56406 OBJEXT!$OBJEXT$ac_delim
56407 CPP!$CPP$ac_delim
56408 GREP!$GREP$ac_delim
56409 EGREP!$EGREP$ac_delim
56410 CXX!$CXX$ac_delim
56411 CXXFLAGS!$CXXFLAGS$ac_delim
56412 ac_ct_CXX!$ac_ct_CXX$ac_delim
56413 AR!$AR$ac_delim
56414 OSX_SW_VERS!$OSX_SW_VERS$ac_delim
56415 CXXCPP!$CXXCPP$ac_delim
56416 subdirs!$subdirs$ac_delim
56417 PKG_CONFIG!$PKG_CONFIG$ac_delim
56418 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
56419 GTK_LIBS!$GTK_LIBS$ac_delim
56420 GTK_CONFIG!$GTK_CONFIG$ac_delim
56421 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
56422 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
56423 XMKMF!$XMKMF$ac_delim
56424 X_CFLAGS!$X_CFLAGS$ac_delim
56425 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
56426 X_LIBS!$X_LIBS$ac_delim
56427 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
56428 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
56429 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
56430 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
56431 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
56432 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
56433 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
56434 Xinerama_CFLAGS!$Xinerama_CFLAGS$ac_delim
56435 Xinerama_LIBS!$Xinerama_LIBS$ac_delim
56436 Xxf86vm_CFLAGS!$Xxf86vm_CFLAGS$ac_delim
56437 Xxf86vm_LIBS!$Xxf86vm_LIBS$ac_delim
56438 SM_CFLAGS!$SM_CFLAGS$ac_delim
56439 SM_LIBS!$SM_LIBS$ac_delim
56440 GL_CFLAGS!$GL_CFLAGS$ac_delim
56441 GL_LIBS!$GL_LIBS$ac_delim
56442 GLU_CFLAGS!$GLU_CFLAGS$ac_delim
56443 GLU_LIBS!$GLU_LIBS$ac_delim
56444 MesaGL_CFLAGS!$MesaGL_CFLAGS$ac_delim
56445 MesaGL_LIBS!$MesaGL_LIBS$ac_delim
56446 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
56447 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
56448 LIBICONV!$LIBICONV$ac_delim
56449 GXX_VERSION!$GXX_VERSION$ac_delim
56450 SDL_CONFIG!$SDL_CONFIG$ac_delim
56451 _ACEOF
56452
56453 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
56454 break
56455 elif $ac_last_try; then
56456 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
56457 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
56458 { (exit 1); exit 1; }; }
56459 else
56460 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
56461 fi
56462 done
56463
56464 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
56465 if test -n "$ac_eof"; then
56466 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
56467 ac_eof=`expr $ac_eof + 1`
56468 fi
56469
56470 cat >>$CONFIG_STATUS <<_ACEOF
56471 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
56472 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
56473 _ACEOF
56474 sed '
56475 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
56476 s/^/s,@/; s/!/@,|#_!!_#|/
56477 :n
56478 t n
56479 s/'"$ac_delim"'$/,g/; t
56480 s/$/\\/; p
56481 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
56482 ' >>$CONFIG_STATUS <conf$$subs.sed
56483 rm -f conf$$subs.sed
56484 cat >>$CONFIG_STATUS <<_ACEOF
56485 CEOF$ac_eof
56486 _ACEOF
56487
56488
56489 ac_delim='%!_!# '
56490 for ac_last_try in false false false false false :; do
56491 cat >conf$$subs.sed <<_ACEOF
56492 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
56493 SDL_LIBS!$SDL_LIBS$ac_delim
56494 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
56495 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
56496 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
56497 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
56498 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
56499 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
56500 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
56501 HILDON_LIBS!$HILDON_LIBS$ac_delim
56502 HILDON2_CFLAGS!$HILDON2_CFLAGS$ac_delim
56503 HILDON2_LIBS!$HILDON2_LIBS$ac_delim
56504 PYTHON!$PYTHON$ac_delim
56505 COND_PYTHON!$COND_PYTHON$ac_delim
56506 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
56507 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
56508 GST_CFLAGS!$GST_CFLAGS$ac_delim
56509 GST_LIBS!$GST_LIBS$ac_delim
56510 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
56511 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
56512 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
56513 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
56514 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
56515 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
56516 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
56517 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
56518 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
56519 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
56520 VENDOR!$VENDOR$ac_delim
56521 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
56522 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
56523 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
56524 WXUNIV!$WXUNIV$ac_delim
56525 MONOLITHIC!$MONOLITHIC$ac_delim
56526 USE_PLUGINS!$USE_PLUGINS$ac_delim
56527 CXXWARNINGS!$CXXWARNINGS$ac_delim
56528 EXTRALIBS!$EXTRALIBS$ac_delim
56529 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
56530 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
56531 EXTRALIBS_MEDIA!$EXTRALIBS_MEDIA$ac_delim
56532 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
56533 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
56534 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
56535 EXTRALIBS_STC!$EXTRALIBS_STC$ac_delim
56536 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
56537 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
56538 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
56539 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
56540 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
56541 UNICODE!$UNICODE$ac_delim
56542 DEBUG_INFO!$DEBUG_INFO$ac_delim
56543 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
56544 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
56545 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
56546 DYLIB_RPATH_INSTALL!$DYLIB_RPATH_INSTALL$ac_delim
56547 DYLIB_RPATH_POSTLINK!$DYLIB_RPATH_POSTLINK$ac_delim
56548 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
56549 HEADER_PAD_OPTION!$HEADER_PAD_OPTION$ac_delim
56550 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
56551 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
56552 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
56553 RANLIB!$RANLIB$ac_delim
56554 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
56555 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
56556 INSTALL_DATA!$INSTALL_DATA$ac_delim
56557 LN_S!$LN_S$ac_delim
56558 SET_MAKE!$SET_MAKE$ac_delim
56559 MAKE_SET!$MAKE_SET$ac_delim
56560 AROPTIONS!$AROPTIONS$ac_delim
56561 STRIP!$STRIP$ac_delim
56562 NM!$NM$ac_delim
56563 INSTALL_DIR!$INSTALL_DIR$ac_delim
56564 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
56565 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
56566 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
56567 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
56568 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
56569 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
56570 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
56571 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
56572 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
56573 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
56574 SO_SUFFIX!$SO_SUFFIX$ac_delim
56575 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
56576 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
56577 LIBPREFIX!$LIBPREFIX$ac_delim
56578 LIBEXT!$LIBEXT$ac_delim
56579 DLLPREFIX!$DLLPREFIX$ac_delim
56580 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
56581 dlldir!$dlldir$ac_delim
56582 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
56583 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
56584 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
56585 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
56586 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
56587 PIC_FLAG!$PIC_FLAG$ac_delim
56588 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
56589 _ACEOF
56590
56591 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
56592 break
56593 elif $ac_last_try; then
56594 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
56595 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
56596 { (exit 1); exit 1; }; }
56597 else
56598 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
56599 fi
56600 done
56601
56602 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
56603 if test -n "$ac_eof"; then
56604 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
56605 ac_eof=`expr $ac_eof + 1`
56606 fi
56607
56608 cat >>$CONFIG_STATUS <<_ACEOF
56609 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
56610 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
56611 _ACEOF
56612 sed '
56613 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
56614 s/^/s,@/; s/!/@,|#_!!_#|/
56615 :n
56616 t n
56617 s/'"$ac_delim"'$/,g/; t
56618 s/$/\\/; p
56619 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
56620 ' >>$CONFIG_STATUS <conf$$subs.sed
56621 rm -f conf$$subs.sed
56622 cat >>$CONFIG_STATUS <<_ACEOF
56623 CEOF$ac_eof
56624 _ACEOF
56625
56626
56627 ac_delim='%!_!# '
56628 for ac_last_try in false false false false false :; do
56629 cat >conf$$subs.sed <<_ACEOF
56630 USE_SOVERSION!$USE_SOVERSION$ac_delim
56631 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
56632 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
56633 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
56634 USE_MACVERSION!$USE_MACVERSION$ac_delim
56635 USE_SOTWOSYMLINKS!$USE_SOTWOSYMLINKS$ac_delim
56636 SONAME_FLAG!$SONAME_FLAG$ac_delim
56637 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
56638 BK_DEPS!$BK_DEPS$ac_delim
56639 WINDRES!$WINDRES$ac_delim
56640 REZ!$REZ$ac_delim
56641 SETFILE!$SETFILE$ac_delim
56642 OBJCXXFLAGS!$OBJCXXFLAGS$ac_delim
56643 GCC_PCH!$GCC_PCH$ac_delim
56644 ICC_PCH!$ICC_PCH$ac_delim
56645 ICC_PCH_CREATE_SWITCH!$ICC_PCH_CREATE_SWITCH$ac_delim
56646 ICC_PCH_USE_SWITCH!$ICC_PCH_USE_SWITCH$ac_delim
56647 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
56648 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
56649 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
56650 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
56651 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
56652 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
56653 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
56654 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
56655 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
56656 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
56657 COND_BUILD_debug!$COND_BUILD_debug$ac_delim
56658 COND_BUILD_debug_DEBUG_FLAG_default!$COND_BUILD_debug_DEBUG_FLAG_default$ac_delim
56659 COND_BUILD_debug_DEBUG_INFO_default!$COND_BUILD_debug_DEBUG_INFO_default$ac_delim
56660 COND_BUILD_debug_UNICODE_0!$COND_BUILD_debug_UNICODE_0$ac_delim
56661 COND_BUILD_debug_UNICODE_1!$COND_BUILD_debug_UNICODE_1$ac_delim
56662 COND_BUILD_release!$COND_BUILD_release$ac_delim
56663 COND_BUILD_release_DEBUG_INFO_default!$COND_BUILD_release_DEBUG_INFO_default$ac_delim
56664 COND_BUILD_release_UNICODE_0!$COND_BUILD_release_UNICODE_0$ac_delim
56665 COND_BUILD_release_UNICODE_1!$COND_BUILD_release_UNICODE_1$ac_delim
56666 COND_DEBUG_FLAG_0!$COND_DEBUG_FLAG_0$ac_delim
56667 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
56668 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
56669 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
56670 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
56671 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
56672 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
56673 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
56674 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
56675 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
56676 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
56677 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
56678 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
56679 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
56680 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
56681 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1$ac_delim
56682 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1$ac_delim
56683 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1$ac_delim
56684 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
56685 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
56686 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
56687 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
56688 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
56689 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
56690 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
56691 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
56692 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
56693 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1$ac_delim
56694 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1$ac_delim
56695 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1$ac_delim
56696 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
56697 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
56698 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
56699 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
56700 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
56701 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
56702 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
56703 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
56704 COND_MONOLITHIC_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_USE_PROPGRID_1$ac_delim
56705 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
56706 COND_MONOLITHIC_0_USE_RIBBON_1!$COND_MONOLITHIC_0_USE_RIBBON_1$ac_delim
56707 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
56708 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
56709 COND_MONOLITHIC_0_USE_WEBVIEW_1!$COND_MONOLITHIC_0_USE_WEBVIEW_1$ac_delim
56710 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
56711 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
56712 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
56713 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
56714 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
56715 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
56716 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
56717 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
56718 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
56719 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0!$COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0$ac_delim
56720 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0!$COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0$ac_delim
56721 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
56722 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
56723 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
56724 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
56725 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1$ac_delim
56726 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0$ac_delim
56727 _ACEOF
56728
56729 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
56730 break
56731 elif $ac_last_try; then
56732 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
56733 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
56734 { (exit 1); exit 1; }; }
56735 else
56736 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
56737 fi
56738 done
56739
56740 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
56741 if test -n "$ac_eof"; then
56742 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
56743 ac_eof=`expr $ac_eof + 1`
56744 fi
56745
56746 cat >>$CONFIG_STATUS <<_ACEOF
56747 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
56748 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
56749 _ACEOF
56750 sed '
56751 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
56752 s/^/s,@/; s/!/@,|#_!!_#|/
56753 :n
56754 t n
56755 s/'"$ac_delim"'$/,g/; t
56756 s/$/\\/; p
56757 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
56758 ' >>$CONFIG_STATUS <conf$$subs.sed
56759 rm -f conf$$subs.sed
56760 cat >>$CONFIG_STATUS <<_ACEOF
56761 CEOF$ac_eof
56762 _ACEOF
56763
56764
56765 ac_delim='%!_!# '
56766 for ac_last_try in false false false false false :; do
56767 cat >conf$$subs.sed <<_ACEOF
56768 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
56769 COND_PLATFORM_MACOSX_1_USE_OPENGL_1!$COND_PLATFORM_MACOSX_1_USE_OPENGL_1$ac_delim
56770 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
56771 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
56772 COND_PLATFORM_MAC_0!$COND_PLATFORM_MAC_0$ac_delim
56773 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
56774 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
56775 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
56776 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
56777 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
56778 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
56779 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
56780 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
56781 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
56782 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
56783 COND_PLATFORM_WIN32_1_SHARED_0!$COND_PLATFORM_WIN32_1_SHARED_0$ac_delim
56784 COND_SHARED_0!$COND_SHARED_0$ac_delim
56785 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
56786 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
56787 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
56788 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
56789 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
56790 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
56791 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
56792 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
56793 COND_SHARED_0_wxUSE_EXPAT_builtin!$COND_SHARED_0_wxUSE_EXPAT_builtin$ac_delim
56794 COND_SHARED_0_wxUSE_REGEX_builtin!$COND_SHARED_0_wxUSE_REGEX_builtin$ac_delim
56795 COND_SHARED_0_wxUSE_ZLIB_builtin!$COND_SHARED_0_wxUSE_ZLIB_builtin$ac_delim
56796 COND_SHARED_1!$COND_SHARED_1$ac_delim
56797 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
56798 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
56799 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
56800 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
56801 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
56802 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
56803 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
56804 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
56805 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
56806 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
56807 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
56808 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
56809 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
56810 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
56811 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
56812 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
56813 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
56814 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
56815 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
56816 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
56817 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
56818 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
56819 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
56820 COND_TOOLKIT_OSX_CARBON!$COND_TOOLKIT_OSX_CARBON$ac_delim
56821 COND_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
56822 COND_TOOLKIT_OSX_COCOA!$COND_TOOLKIT_OSX_COCOA$ac_delim
56823 COND_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
56824 COND_TOOLKIT_OSX_IPHONE!$COND_TOOLKIT_OSX_IPHONE$ac_delim
56825 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1!$COND_TOOLKIT_OSX_IPHONE_USE_GUI_1$ac_delim
56826 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0$ac_delim
56827 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
56828 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
56829 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
56830 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
56831 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
56832 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
56833 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
56834 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
56835 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
56836 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
56837 COND_USE_CAIRO_1!$COND_USE_CAIRO_1$ac_delim
56838 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
56839 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
56840 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
56841 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
56842 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
56843 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
56844 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
56845 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
56846 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
56847 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
56848 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
56849 COND_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
56850 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
56851 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
56852 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
56853 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
56854 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
56855 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
56856 COND_USE_SOTWOSYMLINKS_1!$COND_USE_SOTWOSYMLINKS_1$ac_delim
56857 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
56858 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
56859 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
56860 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1!$COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1$ac_delim
56861 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
56862 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
56863 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
56864 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
56865 _ACEOF
56866
56867 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
56868 break
56869 elif $ac_last_try; then
56870 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
56871 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
56872 { (exit 1); exit 1; }; }
56873 else
56874 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
56875 fi
56876 done
56877
56878 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
56879 if test -n "$ac_eof"; then
56880 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
56881 ac_eof=`expr $ac_eof + 1`
56882 fi
56883
56884 cat >>$CONFIG_STATUS <<_ACEOF
56885 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
56886 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
56887 _ACEOF
56888 sed '
56889 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
56890 s/^/s,@/; s/!/@,|#_!!_#|/
56891 :n
56892 t n
56893 s/'"$ac_delim"'$/,g/; t
56894 s/$/\\/; p
56895 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
56896 ' >>$CONFIG_STATUS <conf$$subs.sed
56897 rm -f conf$$subs.sed
56898 cat >>$CONFIG_STATUS <<_ACEOF
56899 CEOF$ac_eof
56900 _ACEOF
56901
56902
56903 ac_delim='%!_!# '
56904 for ac_last_try in false false false false false :; do
56905 cat >conf$$subs.sed <<_ACEOF
56906 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
56907 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
56908 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
56909 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
56910 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
56911 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
56912 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
56913 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
56914 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
56915 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
56916 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
56917 COND_wxUSE_EXPAT_builtin!$COND_wxUSE_EXPAT_builtin$ac_delim
56918 COND_wxUSE_LIBJPEG_builtin!$COND_wxUSE_LIBJPEG_builtin$ac_delim
56919 COND_wxUSE_LIBPNG_builtin!$COND_wxUSE_LIBPNG_builtin$ac_delim
56920 COND_wxUSE_LIBTIFF_builtin!$COND_wxUSE_LIBTIFF_builtin$ac_delim
56921 COND_wxUSE_REGEX_builtin!$COND_wxUSE_REGEX_builtin$ac_delim
56922 COND_wxUSE_ZLIB_builtin!$COND_wxUSE_ZLIB_builtin$ac_delim
56923 DEREZ!$DEREZ$ac_delim
56924 SHARED!$SHARED$ac_delim
56925 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
56926 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
56927 USE_GUI!$USE_GUI$ac_delim
56928 AFMINSTALL!$AFMINSTALL$ac_delim
56929 WIN32INSTALL!$WIN32INSTALL$ac_delim
56930 TOOLKIT!$TOOLKIT$ac_delim
56931 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
56932 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
56933 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
56934 cross_compiling!$cross_compiling$ac_delim
56935 WIDGET_SET!$WIDGET_SET$ac_delim
56936 WX_RELEASE!$WX_RELEASE$ac_delim
56937 WX_VERSION!$WX_VERSION$ac_delim
56938 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
56939 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
56940 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
56941 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
56942 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
56943 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
56944 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
56945 WXCONFIG_LDFLAGS!$WXCONFIG_LDFLAGS$ac_delim
56946 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
56947 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
56948 GUIDIST!$GUIDIST$ac_delim
56949 DISTDIR!$DISTDIR$ac_delim
56950 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
56951 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
56952 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
56953 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
56954 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
56955 RESCOMP!$RESCOMP$ac_delim
56956 RESFLAGS!$RESFLAGS$ac_delim
56957 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
56958 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
56959 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
56960 LIBWXMACRES!$LIBWXMACRES$ac_delim
56961 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
56962 MACSETFILE!$MACSETFILE$ac_delim
56963 GCC!$GCC$ac_delim
56964 DLLTOOL!$DLLTOOL$ac_delim
56965 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
56966 LIBOBJS!$LIBOBJS$ac_delim
56967 LTLIBOBJS!$LTLIBOBJS$ac_delim
56968 _ACEOF
56969
56970 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 62; then
56971 break
56972 elif $ac_last_try; then
56973 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
56974 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
56975 { (exit 1); exit 1; }; }
56976 else
56977 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
56978 fi
56979 done
56980
56981 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
56982 if test -n "$ac_eof"; then
56983 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
56984 ac_eof=`expr $ac_eof + 1`
56985 fi
56986
56987 cat >>$CONFIG_STATUS <<_ACEOF
56988 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
56989 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
56990 _ACEOF
56991 sed '
56992 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
56993 s/^/s,@/; s/!/@,|#_!!_#|/
56994 :n
56995 t n
56996 s/'"$ac_delim"'$/,g/; t
56997 s/$/\\/; p
56998 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
56999 ' >>$CONFIG_STATUS <conf$$subs.sed
57000 rm -f conf$$subs.sed
57001 cat >>$CONFIG_STATUS <<_ACEOF
57002 :end
57003 s/|#_!!_#|//g
57004 CEOF$ac_eof
57005 _ACEOF
57006
57007
57008 # VPATH may cause trouble with some makes, so we remove $(srcdir),
57009 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
57010 # trailing colons and then remove the whole line if VPATH becomes empty
57011 # (actually we leave an empty line to preserve line numbers).
57012 if test "x$srcdir" = x.; then
57013 ac_vpsub='/^[ ]*VPATH[ ]*=/{
57014 s/:*\$(srcdir):*/:/
57015 s/:*\${srcdir}:*/:/
57016 s/:*@srcdir@:*/:/
57017 s/^\([^=]*=[ ]*\):*/\1/
57018 s/:*$//
57019 s/^[^=]*=[ ]*$//
57020 }'
57021 fi
57022
57023 cat >>$CONFIG_STATUS <<\_ACEOF
57024 fi # test -n "$CONFIG_FILES"
57025
57026
57027 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
57028 do
57029 case $ac_tag in
57030 :[FHLC]) ac_mode=$ac_tag; continue;;
57031 esac
57032 case $ac_mode$ac_tag in
57033 :[FHL]*:*);;
57034 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
57035 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
57036 { (exit 1); exit 1; }; };;
57037 :[FH]-) ac_tag=-:-;;
57038 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
57039 esac
57040 ac_save_IFS=$IFS
57041 IFS=:
57042 set x $ac_tag
57043 IFS=$ac_save_IFS
57044 shift
57045 ac_file=$1
57046 shift
57047
57048 case $ac_mode in
57049 :L) ac_source=$1;;
57050 :[FH])
57051 ac_file_inputs=
57052 for ac_f
57053 do
57054 case $ac_f in
57055 -) ac_f="$tmp/stdin";;
57056 *) # Look for the file first in the build tree, then in the source tree
57057 # (if the path is not absolute). The absolute path cannot be DOS-style,
57058 # because $ac_f cannot contain `:'.
57059 test -f "$ac_f" ||
57060 case $ac_f in
57061 [\\/$]*) false;;
57062 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
57063 esac ||
57064 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
57065 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
57066 { (exit 1); exit 1; }; };;
57067 esac
57068 ac_file_inputs="$ac_file_inputs $ac_f"
57069 done
57070
57071 # Let's still pretend it is `configure' which instantiates (i.e., don't
57072 # use $as_me), people would be surprised to read:
57073 # /* config.h. Generated by config.status. */
57074 configure_input="Generated from "`IFS=:
57075 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
57076 if test x"$ac_file" != x-; then
57077 configure_input="$ac_file. $configure_input"
57078 { echo "$as_me:$LINENO: creating $ac_file" >&5
57079 echo "$as_me: creating $ac_file" >&6;}
57080 fi
57081
57082 case $ac_tag in
57083 *:-:* | *:-) cat >"$tmp/stdin";;
57084 esac
57085 ;;
57086 esac
57087
57088 ac_dir=`$as_dirname -- "$ac_file" ||
57089 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
57090 X"$ac_file" : 'X\(//\)[^/]' \| \
57091 X"$ac_file" : 'X\(//\)$' \| \
57092 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
57093 echo X"$ac_file" |
57094 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
57095 s//\1/
57096 q
57097 }
57098 /^X\(\/\/\)[^/].*/{
57099 s//\1/
57100 q
57101 }
57102 /^X\(\/\/\)$/{
57103 s//\1/
57104 q
57105 }
57106 /^X\(\/\).*/{
57107 s//\1/
57108 q
57109 }
57110 s/.*/./; q'`
57111 { as_dir="$ac_dir"
57112 case $as_dir in #(
57113 -*) as_dir=./$as_dir;;
57114 esac
57115 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
57116 as_dirs=
57117 while :; do
57118 case $as_dir in #(
57119 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
57120 *) as_qdir=$as_dir;;
57121 esac
57122 as_dirs="'$as_qdir' $as_dirs"
57123 as_dir=`$as_dirname -- "$as_dir" ||
57124 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
57125 X"$as_dir" : 'X\(//\)[^/]' \| \
57126 X"$as_dir" : 'X\(//\)$' \| \
57127 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
57128 echo X"$as_dir" |
57129 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
57130 s//\1/
57131 q
57132 }
57133 /^X\(\/\/\)[^/].*/{
57134 s//\1/
57135 q
57136 }
57137 /^X\(\/\/\)$/{
57138 s//\1/
57139 q
57140 }
57141 /^X\(\/\).*/{
57142 s//\1/
57143 q
57144 }
57145 s/.*/./; q'`
57146 test -d "$as_dir" && break
57147 done
57148 test -z "$as_dirs" || eval "mkdir $as_dirs"
57149 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
57150 echo "$as_me: error: cannot create directory $as_dir" >&2;}
57151 { (exit 1); exit 1; }; }; }
57152 ac_builddir=.
57153
57154 case "$ac_dir" in
57155 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
57156 *)
57157 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
57158 # A ".." for each directory in $ac_dir_suffix.
57159 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
57160 case $ac_top_builddir_sub in
57161 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
57162 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
57163 esac ;;
57164 esac
57165 ac_abs_top_builddir=$ac_pwd
57166 ac_abs_builddir=$ac_pwd$ac_dir_suffix
57167 # for backward compatibility:
57168 ac_top_builddir=$ac_top_build_prefix
57169
57170 case $srcdir in
57171 .) # We are building in place.
57172 ac_srcdir=.
57173 ac_top_srcdir=$ac_top_builddir_sub
57174 ac_abs_top_srcdir=$ac_pwd ;;
57175 [\\/]* | ?:[\\/]* ) # Absolute name.
57176 ac_srcdir=$srcdir$ac_dir_suffix;
57177 ac_top_srcdir=$srcdir
57178 ac_abs_top_srcdir=$srcdir ;;
57179 *) # Relative name.
57180 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
57181 ac_top_srcdir=$ac_top_build_prefix$srcdir
57182 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
57183 esac
57184 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
57185
57186
57187 case $ac_mode in
57188 :F)
57189 #
57190 # CONFIG_FILE
57191 #
57192
57193 case $INSTALL in
57194 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
57195 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
57196 esac
57197 _ACEOF
57198
57199 cat >>$CONFIG_STATUS <<\_ACEOF
57200 # If the template does not know about datarootdir, expand it.
57201 # FIXME: This hack should be removed a few years after 2.60.
57202 ac_datarootdir_hack=; ac_datarootdir_seen=
57203
57204 case `sed -n '/datarootdir/ {
57205 p
57206 q
57207 }
57208 /@datadir@/p
57209 /@docdir@/p
57210 /@infodir@/p
57211 /@localedir@/p
57212 /@mandir@/p
57213 ' $ac_file_inputs` in
57214 *datarootdir*) ac_datarootdir_seen=yes;;
57215 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
57216 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
57217 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
57218 _ACEOF
57219 cat >>$CONFIG_STATUS <<_ACEOF
57220 ac_datarootdir_hack='
57221 s&@datadir@&$datadir&g
57222 s&@docdir@&$docdir&g
57223 s&@infodir@&$infodir&g
57224 s&@localedir@&$localedir&g
57225 s&@mandir@&$mandir&g
57226 s&\\\${datarootdir}&$datarootdir&g' ;;
57227 esac
57228 _ACEOF
57229
57230 # Neutralize VPATH when `$srcdir' = `.'.
57231 # Shell code in configure.ac might set extrasub.
57232 # FIXME: do we really want to maintain this feature?
57233 cat >>$CONFIG_STATUS <<_ACEOF
57234 sed "$ac_vpsub
57235 $extrasub
57236 _ACEOF
57237 cat >>$CONFIG_STATUS <<\_ACEOF
57238 :t
57239 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
57240 s&@configure_input@&$configure_input&;t t
57241 s&@top_builddir@&$ac_top_builddir_sub&;t t
57242 s&@srcdir@&$ac_srcdir&;t t
57243 s&@abs_srcdir@&$ac_abs_srcdir&;t t
57244 s&@top_srcdir@&$ac_top_srcdir&;t t
57245 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
57246 s&@builddir@&$ac_builddir&;t t
57247 s&@abs_builddir@&$ac_abs_builddir&;t t
57248 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
57249 s&@INSTALL@&$ac_INSTALL&;t t
57250 $ac_datarootdir_hack
57251 " $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
57252
57253 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
57254 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
57255 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
57256 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
57257 which seems to be undefined. Please make sure it is defined." >&5
57258 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
57259 which seems to be undefined. Please make sure it is defined." >&2;}
57260
57261 rm -f "$tmp/stdin"
57262 case $ac_file in
57263 -) cat "$tmp/out"; rm -f "$tmp/out";;
57264 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
57265 esac
57266 ;;
57267 :H)
57268 #
57269 # CONFIG_HEADER
57270 #
57271 _ACEOF
57272
57273 # Transform confdefs.h into a sed script `conftest.defines', that
57274 # substitutes the proper values into config.h.in to produce config.h.
57275 rm -f conftest.defines conftest.tail
57276 # First, append a space to every undef/define line, to ease matching.
57277 echo 's/$/ /' >conftest.defines
57278 # Then, protect against being on the right side of a sed subst, or in
57279 # an unquoted here document, in config.status. If some macros were
57280 # called several times there might be several #defines for the same
57281 # symbol, which is useless. But do not sort them, since the last
57282 # AC_DEFINE must be honored.
57283 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
57284 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
57285 # NAME is the cpp macro being defined, VALUE is the value it is being given.
57286 # PARAMS is the parameter list in the macro definition--in most cases, it's
57287 # just an empty string.
57288 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
57289 ac_dB='\\)[ (].*,\\1define\\2'
57290 ac_dC=' '
57291 ac_dD=' ,'
57292
57293 uniq confdefs.h |
57294 sed -n '
57295 t rset
57296 :rset
57297 s/^[ ]*#[ ]*define[ ][ ]*//
57298 t ok
57299 d
57300 :ok
57301 s/[\\&,]/\\&/g
57302 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
57303 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
57304 ' >>conftest.defines
57305
57306 # Remove the space that was appended to ease matching.
57307 # Then replace #undef with comments. This is necessary, for
57308 # example, in the case of _POSIX_SOURCE, which is predefined and required
57309 # on some systems where configure will not decide to define it.
57310 # (The regexp can be short, since the line contains either #define or #undef.)
57311 echo 's/ $//
57312 s,^[ #]*u.*,/* & */,' >>conftest.defines
57313
57314 # Break up conftest.defines:
57315 ac_max_sed_lines=50
57316
57317 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
57318 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
57319 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
57320 # et cetera.
57321 ac_in='$ac_file_inputs'
57322 ac_out='"$tmp/out1"'
57323 ac_nxt='"$tmp/out2"'
57324
57325 while :
57326 do
57327 # Write a here document:
57328 cat >>$CONFIG_STATUS <<_ACEOF
57329 # First, check the format of the line:
57330 cat >"\$tmp/defines.sed" <<\\CEOF
57331 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
57332 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
57333 b
57334 :def
57335 _ACEOF
57336 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
57337 echo 'CEOF
57338 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
57339 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
57340 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
57341 grep . conftest.tail >/dev/null || break
57342 rm -f conftest.defines
57343 mv conftest.tail conftest.defines
57344 done
57345 rm -f conftest.defines conftest.tail
57346
57347 echo "ac_result=$ac_in" >>$CONFIG_STATUS
57348 cat >>$CONFIG_STATUS <<\_ACEOF
57349 if test x"$ac_file" != x-; then
57350 echo "/* $configure_input */" >"$tmp/config.h"
57351 cat "$ac_result" >>"$tmp/config.h"
57352 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
57353 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
57354 echo "$as_me: $ac_file is unchanged" >&6;}
57355 else
57356 rm -f $ac_file
57357 mv "$tmp/config.h" $ac_file
57358 fi
57359 else
57360 echo "/* $configure_input */"
57361 cat "$ac_result"
57362 fi
57363 rm -f "$tmp/out12"
57364 ;;
57365
57366 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
57367 echo "$as_me: executing $ac_file commands" >&6;}
57368 ;;
57369 esac
57370
57371
57372 case $ac_file$ac_mode in
57373 "rcdefs.h":C)
57374 mkdir -p $outdir &&
57375 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
57376 ;;
57377 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
57378 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
57379 "utils/ifacecheck/rungccxml.sh":F) chmod +x utils/ifacecheck/rungccxml.sh ;;
57380 "wx-config":C) rm -f wx-config
57381 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
57382 ;;
57383
57384 esac
57385 done # for ac_tag
57386
57387
57388 { (exit 0); exit 0; }
57389 _ACEOF
57390 chmod +x $CONFIG_STATUS
57391 ac_clean_files=$ac_clean_files_save
57392
57393
57394 # configure is writing to config.log, and then calls config.status.
57395 # config.status does its own redirection, appending to config.log.
57396 # Unfortunately, on DOS this fails, as config.log is still kept open
57397 # by configure, so config.status won't be able to write to it; its
57398 # output is simply discarded. So we exec the FD to /dev/null,
57399 # effectively closing config.log, so it can be properly (re)opened and
57400 # appended to by config.status. When coming back to configure, we
57401 # need to make the FD available again.
57402 if test "$no_create" != yes; then
57403 ac_cs_success=:
57404 ac_config_status_args=
57405 test "$silent" = yes &&
57406 ac_config_status_args="$ac_config_status_args --quiet"
57407 exec 5>/dev/null
57408 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
57409 exec 5>>config.log
57410 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
57411 # would make configure fail if this is the last instruction.
57412 $ac_cs_success || { (exit 1); exit 1; }
57413 fi
57414
57415 #
57416 # CONFIG_SUBDIRS section.
57417 #
57418 if test "$no_recursion" != yes; then
57419
57420 # Remove --cache-file and --srcdir arguments so they do not pile up.
57421 ac_sub_configure_args=
57422 ac_prev=
57423 eval "set x $ac_configure_args"
57424 shift
57425 for ac_arg
57426 do
57427 if test -n "$ac_prev"; then
57428 ac_prev=
57429 continue
57430 fi
57431 case $ac_arg in
57432 -cache-file | --cache-file | --cache-fil | --cache-fi \
57433 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
57434 ac_prev=cache_file ;;
57435 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
57436 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
57437 | --c=*)
57438 ;;
57439 --config-cache | -C)
57440 ;;
57441 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
57442 ac_prev=srcdir ;;
57443 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
57444 ;;
57445 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
57446 ac_prev=prefix ;;
57447 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
57448 ;;
57449 *)
57450 case $ac_arg in
57451 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
57452 esac
57453 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
57454 esac
57455 done
57456
57457 # Always prepend --prefix to ensure using the same prefix
57458 # in subdir configurations.
57459 ac_arg="--prefix=$prefix"
57460 case $ac_arg in
57461 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
57462 esac
57463 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
57464
57465 # Pass --silent
57466 if test "$silent" = yes; then
57467 ac_sub_configure_args="--silent $ac_sub_configure_args"
57468 fi
57469
57470 ac_popdir=`pwd`
57471 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
57472
57473 # Do not complain, so a configure script can configure whichever
57474 # parts of a large source tree are present.
57475 test -d "$srcdir/$ac_dir" || continue
57476
57477 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
57478 echo "$as_me:$LINENO: $ac_msg" >&5
57479 echo "$ac_msg" >&6
57480 { as_dir="$ac_dir"
57481 case $as_dir in #(
57482 -*) as_dir=./$as_dir;;
57483 esac
57484 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
57485 as_dirs=
57486 while :; do
57487 case $as_dir in #(
57488 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
57489 *) as_qdir=$as_dir;;
57490 esac
57491 as_dirs="'$as_qdir' $as_dirs"
57492 as_dir=`$as_dirname -- "$as_dir" ||
57493 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
57494 X"$as_dir" : 'X\(//\)[^/]' \| \
57495 X"$as_dir" : 'X\(//\)$' \| \
57496 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
57497 echo X"$as_dir" |
57498 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
57499 s//\1/
57500 q
57501 }
57502 /^X\(\/\/\)[^/].*/{
57503 s//\1/
57504 q
57505 }
57506 /^X\(\/\/\)$/{
57507 s//\1/
57508 q
57509 }
57510 /^X\(\/\).*/{
57511 s//\1/
57512 q
57513 }
57514 s/.*/./; q'`
57515 test -d "$as_dir" && break
57516 done
57517 test -z "$as_dirs" || eval "mkdir $as_dirs"
57518 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
57519 echo "$as_me: error: cannot create directory $as_dir" >&2;}
57520 { (exit 1); exit 1; }; }; }
57521 ac_builddir=.
57522
57523 case "$ac_dir" in
57524 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
57525 *)
57526 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
57527 # A ".." for each directory in $ac_dir_suffix.
57528 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
57529 case $ac_top_builddir_sub in
57530 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
57531 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
57532 esac ;;
57533 esac
57534 ac_abs_top_builddir=$ac_pwd
57535 ac_abs_builddir=$ac_pwd$ac_dir_suffix
57536 # for backward compatibility:
57537 ac_top_builddir=$ac_top_build_prefix
57538
57539 case $srcdir in
57540 .) # We are building in place.
57541 ac_srcdir=.
57542 ac_top_srcdir=$ac_top_builddir_sub
57543 ac_abs_top_srcdir=$ac_pwd ;;
57544 [\\/]* | ?:[\\/]* ) # Absolute name.
57545 ac_srcdir=$srcdir$ac_dir_suffix;
57546 ac_top_srcdir=$srcdir
57547 ac_abs_top_srcdir=$srcdir ;;
57548 *) # Relative name.
57549 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
57550 ac_top_srcdir=$ac_top_build_prefix$srcdir
57551 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
57552 esac
57553 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
57554
57555
57556 cd "$ac_dir"
57557
57558 # Check for guested configure; otherwise get Cygnus style configure.
57559 if test -f "$ac_srcdir/configure.gnu"; then
57560 ac_sub_configure=$ac_srcdir/configure.gnu
57561 elif test -f "$ac_srcdir/configure"; then
57562 ac_sub_configure=$ac_srcdir/configure
57563 elif test -f "$ac_srcdir/configure.in"; then
57564 # This should be Cygnus configure.
57565 ac_sub_configure=$ac_aux_dir/configure
57566 else
57567 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
57568 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
57569 ac_sub_configure=
57570 fi
57571
57572 # The recursion is here.
57573 if test -n "$ac_sub_configure"; then
57574 # Make the cache file name correct relative to the subdirectory.
57575 case $cache_file in
57576 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
57577 *) # Relative name.
57578 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
57579 esac
57580
57581 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
57582 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
57583 # The eval makes quoting arguments work.
57584 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
57585 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
57586 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
57587 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
57588 { (exit 1); exit 1; }; }
57589 fi
57590
57591 cd "$ac_popdir"
57592 done
57593 fi
57594
57595
57596 echo
57597 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
57598 echo ""
57599 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
57600 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
57601 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
57602 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
57603 if test "$wxUSE_UNICODE" = "yes"; then
57604 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
57605 echo " (using UTF-8)"
57606 else
57607 echo " (using wchar_t)"
57608 fi
57609 else
57610 echo
57611 fi
57612
57613 echo " What level of wxWidgets compatibility should be enabled?"
57614 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
57615 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
57616
57617 echo " Which libraries should wxWidgets use?"
57618 echo " STL ${wxUSE_STL}"
57619 echo " jpeg ${wxUSE_LIBJPEG-none}"
57620 echo " png ${wxUSE_LIBPNG-none}"
57621 echo " regex ${wxUSE_REGEX}"
57622 echo " tiff ${wxUSE_LIBTIFF-none}"
57623 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
57624 echo " xpm ${wxUSE_LIBXPM-none}"
57625 fi
57626 echo " zlib ${wxUSE_ZLIB}"
57627 echo " expat ${wxUSE_EXPAT}"
57628 echo " libmspack ${wxUSE_LIBMSPACK}"
57629 echo " sdl ${wxUSE_LIBSDL}"
57630
57631 echo ""
57632