]> git.saurik.com Git - wxWidgets.git/blob - configure
No changes, just use wxScopedPtr instead of explicit "delete".
[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_TOOLKIT_MGL
922 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
923 COND_PLATFORM_UNIX_1_USE_GUI_1
924 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
925 COND_PLATFORM_WIN32_0
926 COND_PLATFORM_WIN32_1
927 COND_PLATFORM_WIN32_1_SHARED_0
928 COND_SHARED_0
929 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
930 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
931 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
932 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
933 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
934 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
935 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
936 COND_SHARED_0_USE_STC_1
937 COND_SHARED_0_wxUSE_EXPAT_builtin
938 COND_SHARED_0_wxUSE_REGEX_builtin
939 COND_SHARED_0_wxUSE_ZLIB_builtin
940 COND_SHARED_1
941 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
942 COND_TOOLKIT_
943 COND_TOOLKIT_COCOA
944 COND_TOOLKIT_COCOA_USE_GUI_1
945 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
946 COND_TOOLKIT_DFB
947 COND_TOOLKIT_DFB_USE_GUI_1
948 COND_TOOLKIT_GTK
949 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
950 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
951 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
952 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
953 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
954 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
955 COND_TOOLKIT_GTK_USE_GUI_1
956 COND_TOOLKIT_MAC
957 COND_TOOLKIT_MGL
958 COND_TOOLKIT_MGL_USE_GUI_1
959 COND_TOOLKIT_MOTIF
960 COND_TOOLKIT_MOTIF_USE_GUI_1
961 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
962 COND_TOOLKIT_MSW
963 COND_TOOLKIT_MSW_USE_GUI_1
964 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
965 COND_TOOLKIT_MSW_WXUNIV_0
966 COND_TOOLKIT_OSX_CARBON
967 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
968 COND_TOOLKIT_OSX_COCOA
969 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
970 COND_TOOLKIT_OSX_IPHONE
971 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1
972 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
973 COND_TOOLKIT_PM
974 COND_TOOLKIT_PM_USE_GUI_1
975 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
976 COND_TOOLKIT_WINCE
977 COND_TOOLKIT_WINCE_USE_GUI_1
978 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
979 COND_TOOLKIT_WINCE_WXUNIV_0
980 COND_TOOLKIT_X11
981 COND_TOOLKIT_X11_USE_GUI_1
982 COND_UNICODE_1
983 COND_USE_CAIRO_1
984 COND_USE_EXCEPTIONS_0
985 COND_USE_EXCEPTIONS_1
986 COND_USE_GUI_0
987 COND_USE_GUI_1
988 COND_USE_GUI_1_USE_OPENGL_1
989 COND_USE_GUI_1_WXUNIV_0
990 COND_USE_GUI_1_WXUNIV_1
991 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
992 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
993 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
994 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
995 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
996 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
997 COND_USE_OPENGL_1
998 COND_USE_PCH_1
999 COND_USE_PLUGINS_0
1000 COND_USE_RTTI_0
1001 COND_USE_RTTI_1
1002 COND_USE_SOTWOSYMLINKS_1
1003 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
1004 COND_USE_SOVERLINUX_1
1005 COND_USE_SOVERSION_0
1006 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1
1007 COND_USE_SOVERSOLARIS_1
1008 COND_USE_STC_1
1009 COND_USE_THREADS_0
1010 COND_USE_THREADS_1
1011 COND_USE_XRC_1
1012 COND_WINDOWS_IMPLIB_1
1013 COND_WITH_PLUGIN_SDL_1
1014 COND_WXUNIV_0
1015 COND_WXUNIV_1
1016 COND_WXUSE_EXPAT_BUILTIN
1017 COND_WXUSE_LIBJPEG_BUILTIN
1018 COND_WXUSE_LIBPNG_BUILTIN
1019 COND_WXUSE_LIBTIFF_BUILTIN
1020 COND_WXUSE_REGEX_BUILTIN
1021 COND_WXUSE_ZLIB_BUILTIN
1022 COND_wxUSE_EXPAT_builtin
1023 COND_wxUSE_LIBJPEG_builtin
1024 COND_wxUSE_LIBPNG_builtin
1025 COND_wxUSE_LIBTIFF_builtin
1026 COND_wxUSE_REGEX_builtin
1027 COND_wxUSE_ZLIB_builtin
1028 DEREZ
1029 SHARED
1030 WX_LIBRARY_BASENAME_NOGUI
1031 WX_LIBRARY_BASENAME_GUI
1032 USE_GUI
1033 AFMINSTALL
1034 WIN32INSTALL
1035 TOOLKIT
1036 TOOLKIT_DIR
1037 TOOLCHAIN_NAME
1038 TOOLCHAIN_FULLNAME
1039 cross_compiling
1040 WIDGET_SET
1041 WX_RELEASE
1042 WX_VERSION
1043 WX_SUBVERSION
1044 WX_CHARTYPE
1045 WXCONFIG_CPPFLAGS
1046 WXCONFIG_CFLAGS
1047 WXCONFIG_CXXFLAGS
1048 WXCONFIG_LIBS
1049 WXCONFIG_RPATH
1050 WXCONFIG_LDFLAGS
1051 WXCONFIG_LDFLAGS_GUI
1052 WXCONFIG_RESFLAGS
1053 GUIDIST
1054 DISTDIR
1055 SAMPLES_SUBDIRS
1056 LDFLAGS_GL
1057 OPENGL_LIBS
1058 DMALLOC_LIBS
1059 WX_VERSION_TAG
1060 RESCOMP
1061 RESFLAGS
1062 RESPROGRAMOBJ
1063 WX_RESOURCES_MACOSX_ASCII
1064 WX_RESOURCES_MACOSX_DATA
1065 LIBWXMACRES
1066 POSTLINK_COMMAND
1067 MACSETFILE
1068 GCC
1069 DLLTOOL
1070 CPPUNIT_CONFIG
1071 LIBOBJS
1072 LTLIBOBJS'
1073 ac_subst_files=''
1074 ac_precious_vars='build_alias
1075 host_alias
1076 target_alias
1077 CC
1078 CFLAGS
1079 LDFLAGS
1080 LIBS
1081 CPPFLAGS
1082 CPP
1083 CXX
1084 CXXFLAGS
1085 CCC
1086 CXXCPP
1087 PKG_CONFIG
1088 DIRECTFB_CFLAGS
1089 DIRECTFB_LIBS
1090 XMKMF
1091 PANGOX_CFLAGS
1092 PANGOX_LIBS
1093 PANGOFT2_CFLAGS
1094 PANGOFT2_LIBS
1095 PANGOXFT_CFLAGS
1096 PANGOXFT_LIBS
1097 Xinerama_CFLAGS
1098 Xinerama_LIBS
1099 Xxf86vm_CFLAGS
1100 Xxf86vm_LIBS
1101 SM_CFLAGS
1102 SM_LIBS
1103 GL_CFLAGS
1104 GL_LIBS
1105 GLU_CFLAGS
1106 GLU_LIBS
1107 MesaGL_CFLAGS
1108 MesaGL_LIBS
1109 GTKPRINT_CFLAGS
1110 GTKPRINT_LIBS
1111 LIBGNOMEPRINTUI_CFLAGS
1112 LIBGNOMEPRINTUI_LIBS
1113 GNOMEVFS_CFLAGS
1114 GNOMEVFS_LIBS
1115 HILDON_CFLAGS
1116 HILDON_LIBS
1117 HILDON2_CFLAGS
1118 HILDON2_LIBS
1119 CAIRO_CFLAGS
1120 CAIRO_LIBS
1121 GST_CFLAGS
1122 GST_LIBS'
1123 ac_subdirs_all='src/tiff
1124 src/expat'
1125
1126 # Initialize some variables set by options.
1127 ac_init_help=
1128 ac_init_version=false
1129 # The variables have the same names as the options, with
1130 # dashes changed to underlines.
1131 cache_file=/dev/null
1132 exec_prefix=NONE
1133 no_create=
1134 no_recursion=
1135 prefix=NONE
1136 program_prefix=NONE
1137 program_suffix=NONE
1138 program_transform_name=s,x,x,
1139 silent=
1140 site=
1141 srcdir=
1142 verbose=
1143 x_includes=NONE
1144 x_libraries=NONE
1145
1146 # Installation directory options.
1147 # These are left unexpanded so users can "make install exec_prefix=/foo"
1148 # and all the variables that are supposed to be based on exec_prefix
1149 # by default will actually change.
1150 # Use braces instead of parens because sh, perl, etc. also accept them.
1151 # (The list follows the same order as the GNU Coding Standards.)
1152 bindir='${exec_prefix}/bin'
1153 sbindir='${exec_prefix}/sbin'
1154 libexecdir='${exec_prefix}/libexec'
1155 datarootdir='${prefix}/share'
1156 datadir='${datarootdir}'
1157 sysconfdir='${prefix}/etc'
1158 sharedstatedir='${prefix}/com'
1159 localstatedir='${prefix}/var'
1160 includedir='${prefix}/include'
1161 oldincludedir='/usr/include'
1162 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1163 infodir='${datarootdir}/info'
1164 htmldir='${docdir}'
1165 dvidir='${docdir}'
1166 pdfdir='${docdir}'
1167 psdir='${docdir}'
1168 libdir='${exec_prefix}/lib'
1169 localedir='${datarootdir}/locale'
1170 mandir='${datarootdir}/man'
1171
1172 ac_prev=
1173 ac_dashdash=
1174 for ac_option
1175 do
1176 # If the previous option needs an argument, assign it.
1177 if test -n "$ac_prev"; then
1178 eval $ac_prev=\$ac_option
1179 ac_prev=
1180 continue
1181 fi
1182
1183 case $ac_option in
1184 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1185 *) ac_optarg=yes ;;
1186 esac
1187
1188 # Accept the important Cygnus configure options, so we can diagnose typos.
1189
1190 case $ac_dashdash$ac_option in
1191 --)
1192 ac_dashdash=yes ;;
1193
1194 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1195 ac_prev=bindir ;;
1196 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1197 bindir=$ac_optarg ;;
1198
1199 -build | --build | --buil | --bui | --bu)
1200 ac_prev=build_alias ;;
1201 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1202 build_alias=$ac_optarg ;;
1203
1204 -cache-file | --cache-file | --cache-fil | --cache-fi \
1205 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1206 ac_prev=cache_file ;;
1207 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1208 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1209 cache_file=$ac_optarg ;;
1210
1211 --config-cache | -C)
1212 cache_file=config.cache ;;
1213
1214 -datadir | --datadir | --datadi | --datad)
1215 ac_prev=datadir ;;
1216 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1217 datadir=$ac_optarg ;;
1218
1219 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1220 | --dataroo | --dataro | --datar)
1221 ac_prev=datarootdir ;;
1222 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1223 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1224 datarootdir=$ac_optarg ;;
1225
1226 -disable-* | --disable-*)
1227 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1228 # Reject names that are not valid shell variable names.
1229 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1230 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1231 { (exit 1); exit 1; }; }
1232 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1233 eval enable_$ac_feature=no ;;
1234
1235 -docdir | --docdir | --docdi | --doc | --do)
1236 ac_prev=docdir ;;
1237 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1238 docdir=$ac_optarg ;;
1239
1240 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1241 ac_prev=dvidir ;;
1242 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1243 dvidir=$ac_optarg ;;
1244
1245 -enable-* | --enable-*)
1246 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1247 # Reject names that are not valid shell variable names.
1248 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1249 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1250 { (exit 1); exit 1; }; }
1251 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1252 eval enable_$ac_feature=\$ac_optarg ;;
1253
1254 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1255 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1256 | --exec | --exe | --ex)
1257 ac_prev=exec_prefix ;;
1258 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1259 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1260 | --exec=* | --exe=* | --ex=*)
1261 exec_prefix=$ac_optarg ;;
1262
1263 -gas | --gas | --ga | --g)
1264 # Obsolete; use --with-gas.
1265 with_gas=yes ;;
1266
1267 -help | --help | --hel | --he | -h)
1268 ac_init_help=long ;;
1269 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1270 ac_init_help=recursive ;;
1271 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1272 ac_init_help=short ;;
1273
1274 -host | --host | --hos | --ho)
1275 ac_prev=host_alias ;;
1276 -host=* | --host=* | --hos=* | --ho=*)
1277 host_alias=$ac_optarg ;;
1278
1279 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1280 ac_prev=htmldir ;;
1281 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1282 | --ht=*)
1283 htmldir=$ac_optarg ;;
1284
1285 -includedir | --includedir | --includedi | --included | --include \
1286 | --includ | --inclu | --incl | --inc)
1287 ac_prev=includedir ;;
1288 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1289 | --includ=* | --inclu=* | --incl=* | --inc=*)
1290 includedir=$ac_optarg ;;
1291
1292 -infodir | --infodir | --infodi | --infod | --info | --inf)
1293 ac_prev=infodir ;;
1294 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1295 infodir=$ac_optarg ;;
1296
1297 -libdir | --libdir | --libdi | --libd)
1298 ac_prev=libdir ;;
1299 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1300 libdir=$ac_optarg ;;
1301
1302 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1303 | --libexe | --libex | --libe)
1304 ac_prev=libexecdir ;;
1305 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1306 | --libexe=* | --libex=* | --libe=*)
1307 libexecdir=$ac_optarg ;;
1308
1309 -localedir | --localedir | --localedi | --localed | --locale)
1310 ac_prev=localedir ;;
1311 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1312 localedir=$ac_optarg ;;
1313
1314 -localstatedir | --localstatedir | --localstatedi | --localstated \
1315 | --localstate | --localstat | --localsta | --localst | --locals)
1316 ac_prev=localstatedir ;;
1317 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1318 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1319 localstatedir=$ac_optarg ;;
1320
1321 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1322 ac_prev=mandir ;;
1323 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1324 mandir=$ac_optarg ;;
1325
1326 -nfp | --nfp | --nf)
1327 # Obsolete; use --without-fp.
1328 with_fp=no ;;
1329
1330 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1331 | --no-cr | --no-c | -n)
1332 no_create=yes ;;
1333
1334 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1335 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1336 no_recursion=yes ;;
1337
1338 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1339 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1340 | --oldin | --oldi | --old | --ol | --o)
1341 ac_prev=oldincludedir ;;
1342 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1343 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1344 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1345 oldincludedir=$ac_optarg ;;
1346
1347 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1348 ac_prev=prefix ;;
1349 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1350 prefix=$ac_optarg ;;
1351
1352 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1353 | --program-pre | --program-pr | --program-p)
1354 ac_prev=program_prefix ;;
1355 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1356 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1357 program_prefix=$ac_optarg ;;
1358
1359 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1360 | --program-suf | --program-su | --program-s)
1361 ac_prev=program_suffix ;;
1362 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1363 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1364 program_suffix=$ac_optarg ;;
1365
1366 -program-transform-name | --program-transform-name \
1367 | --program-transform-nam | --program-transform-na \
1368 | --program-transform-n | --program-transform- \
1369 | --program-transform | --program-transfor \
1370 | --program-transfo | --program-transf \
1371 | --program-trans | --program-tran \
1372 | --progr-tra | --program-tr | --program-t)
1373 ac_prev=program_transform_name ;;
1374 -program-transform-name=* | --program-transform-name=* \
1375 | --program-transform-nam=* | --program-transform-na=* \
1376 | --program-transform-n=* | --program-transform-=* \
1377 | --program-transform=* | --program-transfor=* \
1378 | --program-transfo=* | --program-transf=* \
1379 | --program-trans=* | --program-tran=* \
1380 | --progr-tra=* | --program-tr=* | --program-t=*)
1381 program_transform_name=$ac_optarg ;;
1382
1383 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1384 ac_prev=pdfdir ;;
1385 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1386 pdfdir=$ac_optarg ;;
1387
1388 -psdir | --psdir | --psdi | --psd | --ps)
1389 ac_prev=psdir ;;
1390 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1391 psdir=$ac_optarg ;;
1392
1393 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1394 | -silent | --silent | --silen | --sile | --sil)
1395 silent=yes ;;
1396
1397 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1398 ac_prev=sbindir ;;
1399 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1400 | --sbi=* | --sb=*)
1401 sbindir=$ac_optarg ;;
1402
1403 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1404 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1405 | --sharedst | --shareds | --shared | --share | --shar \
1406 | --sha | --sh)
1407 ac_prev=sharedstatedir ;;
1408 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1409 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1410 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1411 | --sha=* | --sh=*)
1412 sharedstatedir=$ac_optarg ;;
1413
1414 -site | --site | --sit)
1415 ac_prev=site ;;
1416 -site=* | --site=* | --sit=*)
1417 site=$ac_optarg ;;
1418
1419 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1420 ac_prev=srcdir ;;
1421 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1422 srcdir=$ac_optarg ;;
1423
1424 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1425 | --syscon | --sysco | --sysc | --sys | --sy)
1426 ac_prev=sysconfdir ;;
1427 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1428 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1429 sysconfdir=$ac_optarg ;;
1430
1431 -target | --target | --targe | --targ | --tar | --ta | --t)
1432 ac_prev=target_alias ;;
1433 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1434 target_alias=$ac_optarg ;;
1435
1436 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1437 verbose=yes ;;
1438
1439 -version | --version | --versio | --versi | --vers | -V)
1440 ac_init_version=: ;;
1441
1442 -with-* | --with-*)
1443 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1444 # Reject names that are not valid shell variable names.
1445 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1446 { echo "$as_me: error: invalid package name: $ac_package" >&2
1447 { (exit 1); exit 1; }; }
1448 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1449 eval with_$ac_package=\$ac_optarg ;;
1450
1451 -without-* | --without-*)
1452 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1453 # Reject names that are not valid shell variable names.
1454 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1455 { echo "$as_me: error: invalid package name: $ac_package" >&2
1456 { (exit 1); exit 1; }; }
1457 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1458 eval with_$ac_package=no ;;
1459
1460 --x)
1461 # Obsolete; use --with-x.
1462 with_x=yes ;;
1463
1464 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1465 | --x-incl | --x-inc | --x-in | --x-i)
1466 ac_prev=x_includes ;;
1467 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1468 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1469 x_includes=$ac_optarg ;;
1470
1471 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1472 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1473 ac_prev=x_libraries ;;
1474 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1475 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1476 x_libraries=$ac_optarg ;;
1477
1478 -*) { echo "$as_me: error: unrecognized option: $ac_option
1479 Try \`$0 --help' for more information." >&2
1480 { (exit 1); exit 1; }; }
1481 ;;
1482
1483 *=*)
1484 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1485 # Reject names that are not valid shell variable names.
1486 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1487 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1488 { (exit 1); exit 1; }; }
1489 eval $ac_envvar=\$ac_optarg
1490 export $ac_envvar ;;
1491
1492 *)
1493 # FIXME: should be removed in autoconf 3.0.
1494 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1495 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1496 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1497 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1498 ;;
1499
1500 esac
1501 done
1502
1503 if test -n "$ac_prev"; then
1504 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1505 { echo "$as_me: error: missing argument to $ac_option" >&2
1506 { (exit 1); exit 1; }; }
1507 fi
1508
1509 # Be sure to have absolute directory names.
1510 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1511 datadir sysconfdir sharedstatedir localstatedir includedir \
1512 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1513 libdir localedir mandir
1514 do
1515 eval ac_val=\$$ac_var
1516 case $ac_val in
1517 [\\/$]* | ?:[\\/]* ) continue;;
1518 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1519 esac
1520 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1521 { (exit 1); exit 1; }; }
1522 done
1523
1524 # There might be people who depend on the old broken behavior: `$host'
1525 # used to hold the argument of --host etc.
1526 # FIXME: To remove some day.
1527 build=$build_alias
1528 host=$host_alias
1529 target=$target_alias
1530
1531 # FIXME: To remove some day.
1532 if test "x$host_alias" != x; then
1533 if test "x$build_alias" = x; then
1534 cross_compiling=maybe
1535 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1536 If a cross compiler is detected then cross compile mode will be used." >&2
1537 elif test "x$build_alias" != "x$host_alias"; then
1538 cross_compiling=yes
1539 fi
1540 fi
1541
1542 ac_tool_prefix=
1543 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1544
1545 test "$silent" = yes && exec 6>/dev/null
1546
1547
1548 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1549 ac_ls_di=`ls -di .` &&
1550 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1551 { echo "$as_me: error: Working directory cannot be determined" >&2
1552 { (exit 1); exit 1; }; }
1553 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1554 { echo "$as_me: error: pwd does not report name of working directory" >&2
1555 { (exit 1); exit 1; }; }
1556
1557
1558 # Find the source files, if location was not specified.
1559 if test -z "$srcdir"; then
1560 ac_srcdir_defaulted=yes
1561 # Try the directory containing this script, then the parent directory.
1562 ac_confdir=`$as_dirname -- "$0" ||
1563 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1564 X"$0" : 'X\(//\)[^/]' \| \
1565 X"$0" : 'X\(//\)$' \| \
1566 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1567 echo X"$0" |
1568 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1569 s//\1/
1570 q
1571 }
1572 /^X\(\/\/\)[^/].*/{
1573 s//\1/
1574 q
1575 }
1576 /^X\(\/\/\)$/{
1577 s//\1/
1578 q
1579 }
1580 /^X\(\/\).*/{
1581 s//\1/
1582 q
1583 }
1584 s/.*/./; q'`
1585 srcdir=$ac_confdir
1586 if test ! -r "$srcdir/$ac_unique_file"; then
1587 srcdir=..
1588 fi
1589 else
1590 ac_srcdir_defaulted=no
1591 fi
1592 if test ! -r "$srcdir/$ac_unique_file"; then
1593 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1594 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1595 { (exit 1); exit 1; }; }
1596 fi
1597 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1598 ac_abs_confdir=`(
1599 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1600 { (exit 1); exit 1; }; }
1601 pwd)`
1602 # When building in place, set srcdir=.
1603 if test "$ac_abs_confdir" = "$ac_pwd"; then
1604 srcdir=.
1605 fi
1606 # Remove unnecessary trailing slashes from srcdir.
1607 # Double slashes in file names in object file debugging info
1608 # mess up M-x gdb in Emacs.
1609 case $srcdir in
1610 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1611 esac
1612 for ac_var in $ac_precious_vars; do
1613 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1614 eval ac_env_${ac_var}_value=\$${ac_var}
1615 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1616 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1617 done
1618
1619 #
1620 # Report the --help message.
1621 #
1622 if test "$ac_init_help" = "long"; then
1623 # Omit some internal or obsolete options to make the list less imposing.
1624 # This message is too long to be a string in the A/UX 3.1 sh.
1625 cat <<_ACEOF
1626 \`configure' configures wxWidgets 2.9.4 to adapt to many kinds of systems.
1627
1628 Usage: $0 [OPTION]... [VAR=VALUE]...
1629
1630 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1631 VAR=VALUE. See below for descriptions of some of the useful variables.
1632
1633 Defaults for the options are specified in brackets.
1634
1635 Configuration:
1636 -h, --help display this help and exit
1637 --help=short display options specific to this package
1638 --help=recursive display the short help of all the included packages
1639 -V, --version display version information and exit
1640 -q, --quiet, --silent do not print \`checking...' messages
1641 --cache-file=FILE cache test results in FILE [disabled]
1642 -C, --config-cache alias for \`--cache-file=config.cache'
1643 -n, --no-create do not create output files
1644 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1645
1646 Installation directories:
1647 --prefix=PREFIX install architecture-independent files in PREFIX
1648 [$ac_default_prefix]
1649 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1650 [PREFIX]
1651
1652 By default, \`make install' will install all the files in
1653 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1654 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1655 for instance \`--prefix=\$HOME'.
1656
1657 For better control, use the options below.
1658
1659 Fine tuning of the installation directories:
1660 --bindir=DIR user executables [EPREFIX/bin]
1661 --sbindir=DIR system admin executables [EPREFIX/sbin]
1662 --libexecdir=DIR program executables [EPREFIX/libexec]
1663 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1664 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1665 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1666 --libdir=DIR object code libraries [EPREFIX/lib]
1667 --includedir=DIR C header files [PREFIX/include]
1668 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1669 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1670 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1671 --infodir=DIR info documentation [DATAROOTDIR/info]
1672 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1673 --mandir=DIR man documentation [DATAROOTDIR/man]
1674 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1675 --htmldir=DIR html documentation [DOCDIR]
1676 --dvidir=DIR dvi documentation [DOCDIR]
1677 --pdfdir=DIR pdf documentation [DOCDIR]
1678 --psdir=DIR ps documentation [DOCDIR]
1679 _ACEOF
1680
1681 cat <<\_ACEOF
1682
1683 X features:
1684 --x-includes=DIR X include files are in DIR
1685 --x-libraries=DIR X library files are in DIR
1686
1687 System types:
1688 --build=BUILD configure for building on BUILD [guessed]
1689 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1690 _ACEOF
1691 fi
1692
1693 if test -n "$ac_init_help"; then
1694 case $ac_init_help in
1695 short | recursive ) echo "Configuration of wxWidgets 2.9.4:";;
1696 esac
1697 cat <<\_ACEOF
1698
1699 Optional Features:
1700 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1701 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1702 --disable-gui don't build GUI parts of the library
1703 --enable-monolithic build wxWidgets as single library
1704 --enable-plugins build parts of wxWidgets as loadable components
1705 --enable-official_build official build of wxWidgets (win32 DLL only)
1706 --enable-vendor=VENDOR vendor name (win32 DLL only)
1707 --disable-all-features disable all optional features to build minimal library
1708 --enable-universal use wxWidgets GUI controls instead of native ones
1709 --enable-nanox use NanoX
1710 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1711 --enable-gpe use GNOME PDA Environment features if possible
1712 --enable-debug build library for debugging
1713 --disable-debug_flag disable all debugging support
1714 --enable-debug_info generate debug information
1715 --enable-debug_gdb create code with extra GDB debugging information
1716 --enable-debug_cntxt obsolete, don't use: use wxDebugContext
1717 --enable-mem_tracing obsolete, don't use: create code with memory tracing
1718 --disable-shared create static library instead of shared
1719 --enable-stl use standard C++ classes for everything
1720 --enable-std_containers use standard C++ container classes
1721 --enable-std_iostreams use standard C++ stream classes
1722 --enable-std_string use standard C++ string classes
1723 --enable-std_string_conv_in_wxstring provide implicit conversion to std::string in wxString
1724 --disable-unicode compile without Unicode support
1725 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1726 --enable-utf8 use UTF-8 representation for strings (Unix only)
1727 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1728 --enable-extended_rtti use extended RTTI (XTI)
1729 --enable-omf use OMF object format
1730 --disable-optimise compile without optimisations
1731 --enable-profile create code with profiling information
1732 --enable-no_rtti create code without RTTI information
1733 --enable-no_exceptions create code without C++ exceptions handling
1734 --enable-permissive compile code disregarding strict ANSI
1735 --enable-no_deps create code without dependency information
1736 --disable-vararg_macros don't use vararg macros, even if they are supported
1737 --enable-universal_binary create universal binary with Mac PPC and i386 (and x86_64 if using Cocoa) architectures
1738 --enable-macosx_arch=ARCH build for just the specified architecture
1739 --enable-compat26 enable wxWidgets 2.6 compatibility
1740 --disable-compat28 disable wxWidgets 2.8 compatibility
1741 --disable-rpath disable use of rpath for uninstalled builds
1742 --enable-objc_uniquifying enable Objective-C class name uniquifying
1743 --disable-visibility disable use of ELF symbols visibility even if supported
1744 --disable-tls disable use of compiler TLS support
1745 --enable-intl use internationalization system
1746 --enable-xlocale use x-locale support (requires wxLocale)
1747 --enable-config use wxConfig (and derived) classes
1748 --enable-protocols use wxProtocol and derived classes
1749 --enable-ftp use wxFTP (requires wxProtocol
1750 --enable-http use wxHTTP (requires wxProtocol
1751 --enable-fileproto use wxFileProto class (requires wxProtocol
1752 --enable-sockets use socket/network classes
1753 --enable-ipv6 enable IPv6 support in wxSocket
1754 --enable-ole use OLE classes (Win32 only)
1755 --enable-dataobj use data object classes
1756 --enable-ipc use interprocess communication (wxSocket etc.)
1757 --enable-baseevtloop use event loop in console programs too
1758 --enable-epollloop use wxEpollDispatcher class (Linux only)
1759 --enable-selectloop use wxSelectDispatcher class
1760 --enable-any use wxAny class
1761 --enable-apple_ieee use the Apple IEEE codec
1762 --enable-arcstream use wxArchive streams
1763 --enable-base64 use base64 encoding/decoding functions
1764 --enable-backtrace use wxStackWalker class for getting backtraces
1765 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
1766 --enable-cmdline use wxCmdLineParser class
1767 --enable-datetime use wxDateTime class
1768 --enable-debugreport use wxDebugReport class
1769 --enable-dialupman use dialup network classes
1770 --enable-dynlib use wxLibrary class for DLL loading
1771 --enable-dynamicloader use (new) wxDynamicLibrary class
1772 --enable-exceptions build exception-safe library
1773 --enable-ffile use wxFFile class
1774 --enable-file use wxFile class
1775 --enable-filehistory use wxFileHistory class
1776 --enable-filesystem use virtual file systems classes
1777 --enable-fontenum use wxFontEnumerator class
1778 --enable-fontmap use font encodings conversion classes
1779 --enable-fs_archive use virtual archive filesystems
1780 --enable-fs_inet use virtual HTTP/FTP filesystems
1781 --enable-fs_zip now replaced by fs_archive
1782 --enable-fswatcher use wxFileSystemWatcher class
1783 --enable-geometry use geometry class
1784 --enable-log use logging system
1785 --enable-longlong use wxLongLong class
1786 --enable-mimetype use wxMimeTypesManager
1787 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1788 --enable-snglinst use wxSingleInstanceChecker class
1789 --enable-sound use wxSound class
1790 --enable-stdpaths use wxStandardPaths class
1791 --enable-stopwatch use wxStopWatch class
1792 --enable-streams use wxStream etc classes
1793 --enable-sysoptions use wxSystemOptions
1794 --enable-tarstream use wxTar streams
1795 --enable-textbuf use wxTextBuffer class
1796 --enable-textfile use wxTextFile class
1797 --enable-timer use wxTimer class
1798 --enable-variant use wxVariant class
1799 --enable-zipstream use wxZip streams
1800 --enable-url use wxURL class
1801 --enable-protocol use wxProtocol class
1802 --enable-protocol-http HTTP support in wxProtocol
1803 --enable-protocol-ftp FTP support in wxProtocol
1804 --enable-protocol-file FILE support in wxProtocol
1805 --enable-threads use threads
1806 --enable-iniconf use wxIniConfig (Win32 only)
1807 --enable-regkey use wxRegKey class (Win32 only)
1808 --enable-docview use document view architecture
1809 --enable-help use help subsystem
1810 --enable-mshtmlhelp use MS HTML Help (win32)
1811 --enable-html use wxHTML sub-library
1812 --enable-htmlhelp use wxHTML-based help
1813 --enable-xrc use XRC resources sub-library
1814 --enable-aui use AUI docking library
1815 --enable-propgrid use wxPropertyGrid library
1816 --enable-ribbon use wxRibbon library
1817 --enable-stc use wxStyledTextCtrl library
1818 --enable-constraints use layout-constraints system
1819 --enable-loggui use standard GUI logger
1820 --enable-logwin use wxLogWindow
1821 --enable-logdialog use wxLogDialog
1822 --enable-mdi use multiple document interface architecture
1823 --enable-mdidoc use docview architecture with MDI
1824 --enable-mediactrl use wxMediaCtrl class
1825 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1826 --enable-richtext use wxRichTextCtrl
1827 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1828 --enable-printarch use printing architecture
1829 --enable-svg use wxSVGFileDC device context
1830 --enable-webkit use wxWebKitCtrl (Mac-only, use wxWebView instead)
1831 --enable-webview use wxWebView library
1832 --enable-graphics_ctx use graphics context 2D drawing API
1833 --enable-clipboard use wxClipboard class
1834 --enable-dnd use Drag'n'Drop classes
1835 --disable-controls disable compilation of all standard controls
1836 --enable-markup support wxControl::SetLabelMarkup
1837 --enable-accel use accelerators
1838 --enable-animatectrl use wxAnimationCtrl class
1839 --enable-bannerwindow use wxBannerWindow class
1840 --enable-artstd use standard XPM icons in wxArtProvider
1841 --enable-arttango use Tango icons in wxArtProvider
1842 --enable-bmpbutton use wxBitmapButton class
1843 --enable-bmpcombobox use wxBitmapComboBox class
1844 --enable-button use wxButton class
1845 --enable-calendar use wxCalendarCtrl class
1846 --enable-caret use wxCaret class
1847 --enable-checkbox use wxCheckBox class
1848 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1849 --enable-choice use wxChoice class
1850 --enable-choicebook use wxChoicebook class
1851 --enable-collpane use wxCollapsiblePane class
1852 --enable-colourpicker use wxColourPickerCtrl class
1853 --enable-combobox use wxComboBox class
1854 --enable-comboctrl use wxComboCtrl class
1855 --enable-commandlinkbutton use wxCommmandLinkButton class
1856 --enable-dataviewctrl use wxDataViewCtrl class
1857 --enable-datepick use wxDatePickerCtrl class
1858 --enable-detect_sm use code to detect X11 session manager
1859 --enable-dirpicker use wxDirPickerCtrl class
1860 --enable-display use wxDisplay class
1861 --enable-editablebox use wxEditableListBox class
1862 --enable-filectrl use wxFileCtrl class
1863 --enable-filepicker use wxFilePickerCtrl class
1864 --enable-fontpicker use wxFontPickerCtrl class
1865 --enable-gauge use wxGauge class
1866 --enable-grid use wxGrid class
1867 --enable-headerctrl use wxHeaderCtrl class
1868 --enable-hyperlink use wxHyperlinkCtrl class
1869 --enable-imaglist use wxImageList class
1870 --enable-infobar use wxInfoBar class
1871 --enable-listbook use wxListbook class
1872 --enable-listbox use wxListBox class
1873 --enable-listctrl use wxListCtrl class
1874 --enable-notebook use wxNotebook class
1875 --enable-notifmsg use wxNotificationMessage class
1876 --enable-odcombobox use wxOwnerDrawnComboBox class
1877 --enable-popupwin use wxPopUpWindow class
1878 --enable-radiobox use wxRadioBox class
1879 --enable-radiobtn use wxRadioButton class
1880 --enable-richmsgdlg use wxRichMessageDialog class
1881 --enable-richtooltip use wxRichToolTip class
1882 --enable-rearrangectrl use wxRearrangeList/Ctrl/Dialog
1883 --enable-sash use wxSashWindow class
1884 --enable-scrollbar use wxScrollBar class and scrollable windows
1885 --enable-searchctrl use wxSearchCtrl class
1886 --enable-slider use wxSlider class
1887 --enable-spinbtn use wxSpinButton class
1888 --enable-spinctrl use wxSpinCtrl class
1889 --enable-splitter use wxSplitterWindow class
1890 --enable-statbmp use wxStaticBitmap class
1891 --enable-statbox use wxStaticBox class
1892 --enable-statline use wxStaticLine class
1893 --enable-stattext use wxStaticText class
1894 --enable-statusbar use wxStatusBar class
1895 --enable-taskbaricon use wxTaskBarIcon class
1896 --enable-tbarnative use native wxToolBar class
1897 --enable-textctrl use wxTextCtrl class
1898 --enable-timepick use wxTimePickerCtrl class
1899 --enable-tipwindow use wxTipWindow class
1900 --enable-togglebtn use wxToggleButton class
1901 --enable-toolbar use wxToolBar class
1902 --enable-toolbook use wxToolbook class
1903 --enable-treebook use wxTreebook class
1904 --enable-treectrl use wxTreeCtrl class
1905 --enable-treelist use wxTreeListCtrl class
1906 --enable-commondlg use all common dialogs
1907 --enable-aboutdlg use wxAboutBox
1908 --enable-choicedlg use wxChoiceDialog
1909 --enable-coldlg use wxColourDialog
1910 --enable-filedlg use wxFileDialog
1911 --enable-finddlg use wxFindReplaceDialog
1912 --enable-fontdlg use wxFontDialog
1913 --enable-dirdlg use wxDirDialog
1914 --enable-msgdlg use wxMessageDialog
1915 --enable-numberdlg use wxNumberEntryDialog
1916 --enable-splash use wxSplashScreen
1917 --enable-textdlg use wxTextDialog
1918 --enable-tipdlg use startup tips
1919 --enable-progressdlg use wxProgressDialog
1920 --enable-wizarddlg use wxWizard
1921 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1922 --enable-miniframe use wxMiniFrame class
1923 --enable-tooltips use wxToolTip class
1924 --enable-splines use spline drawing code
1925 --enable-mousewheel use mousewheel
1926 --enable-validators use wxValidator and derived classes
1927 --enable-busyinfo use wxBusyInfo
1928 --enable-hotkey use wxWindow::RegisterHotKey()
1929 --enable-joystick use wxJoystick
1930 --enable-metafiles use wxMetaFile
1931 --enable-dragimage use wxDragImage
1932 --enable-accessibility enable accessibility support
1933 --enable-uiactionsim use wxUIActionSimulator (experimental)
1934 --enable-dctransform use wxDC::SetTransformMatrix and related
1935 --enable-webview-webkit use wxWebView WebKit backend
1936 --enable-palette use wxPalette class
1937 --enable-image use wxImage class
1938 --enable-gif use gif images (GIF file format)
1939 --enable-pcx use pcx images (PCX file format)
1940 --enable-tga use tga images (TGA file format)
1941 --enable-iff use iff images (IFF file format)
1942 --enable-pnm use pnm images (PNM file format)
1943 --enable-xpm use xpm images (XPM file format)
1944 --enable-ico_cur use Windows ICO and CUR formats
1945 --enable-dccache cache temporary wxDC objects (Win32 only)
1946 --enable-ps-in-msw use PS printing in wxMSW (Win32 only)
1947 --enable-ownerdrawn use owner drawn controls (Win32 and OS/2 only)
1948 --enable-uxtheme enable support for Windows XP themed look (Win32 only)
1949 --enable-wxdib use wxDIB class (Win32 only)
1950 --enable-webview-ie use wxWebView IE backend (Win32 only)
1951 --enable-autoidman use automatic ids management
1952 --disable-largefile omit support for large files
1953 --disable-gtktest do not try to compile and run a test GTK+ program
1954 --disable-gtktest Do not try to compile and run a test GTK program
1955 --disable-sdltest Do not try to compile and run a test SDL program
1956 --enable-omf use OMF object format (OS/2)
1957 --disable-dependency-tracking
1958 don't use dependency tracking even if the compiler
1959 can
1960 --disable-precomp-headers
1961 don't use precompiled headers even if compiler can
1962
1963 Optional Packages:
1964 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1965 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1966 --without-subdirs don't generate makefiles for samples/demos/...
1967 --with-flavour=NAME specify a name to identify this build
1968 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1969 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1970 --with-motif use Motif/Lesstif
1971 --with-osx_carbon use Mac OS X (Carbon)
1972 --with-osx_cocoa use Mac OS X (Cocoa)
1973 --with-osx_iphone use iPhone OS X port
1974 --with-osx use Mac OS X (default port, currently Carbon)
1975 --with-carbon same as --with-osx_carbon
1976 --with-cocoa same as --with-osx_cocoa
1977 --with-iphone same as --with-osx_iphone
1978 --with-mac same as --with-osx
1979 --with-old_cocoa use old, deprecated, Cocoa port
1980 --with-wine use Wine
1981 --with-msw use MS-Windows
1982 --with-pm use OS/2 Presentation Manager
1983 --with-mgl use SciTech MGL
1984 --with-directfb use DirectFB
1985 --with-microwin use MicroWindows
1986 --with-x11 use X11
1987 --with-libpng use libpng (PNG image format)
1988 --with-libjpeg use libjpeg (JPEG file format)
1989 --with-libtiff use libtiff (TIFF file format)
1990 --with-libxpm use libxpm (XPM file format)
1991 --with-libiconv use libiconv (character conversion)
1992 --with-libmspack use libmspack (CHM help files loading)
1993 --without-gtkprint don't use GTK printing support
1994 --without-gnomeprint don't use GNOME printing libraries
1995 --with-gnomevfs use GNOME VFS for associating MIME types
1996 --with-hildon use Hildon framework for Nokia 770/800/810
1997 --with-opengl use OpenGL (or Mesa)
1998 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1999 --with-sdl use SDL for audio on Unix
2000 --with-regex enable support for wxRegEx class
2001 --with-zlib use zlib for LZW compression
2002 --with-expat enable XML support using expat parser
2003 --with-macosx-sdk=PATH use an OS X SDK at PATH
2004 --with-macosx-version-min=VER build binaries which require at least this OS X version
2005 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
2006 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
2007 --with-x use the X Window System
2008 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
2009 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
2010 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
2011 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
2012 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
2013
2014 Some influential environment variables:
2015 CC C compiler command
2016 CFLAGS C compiler flags
2017 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2018 nonstandard directory <lib dir>
2019 LIBS libraries to pass to the linker, e.g. -l<library>
2020 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
2021 you have headers in a nonstandard directory <include dir>
2022 CPP C preprocessor
2023 CXX C++ compiler command
2024 CXXFLAGS C++ compiler flags
2025 CXXCPP C++ preprocessor
2026 PKG_CONFIG path to pkg-config utility
2027 DIRECTFB_CFLAGS
2028 C compiler flags for DIRECTFB, overriding pkg-config
2029 DIRECTFB_LIBS
2030 linker flags for DIRECTFB, overriding pkg-config
2031 XMKMF Path to xmkmf, Makefile generator for X Window System
2032 PANGOX_CFLAGS
2033 C compiler flags for PANGOX, overriding pkg-config
2034 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
2035 PANGOFT2_CFLAGS
2036 C compiler flags for PANGOFT2, overriding pkg-config
2037 PANGOFT2_LIBS
2038 linker flags for PANGOFT2, overriding pkg-config
2039 PANGOXFT_CFLAGS
2040 C compiler flags for PANGOXFT, overriding pkg-config
2041 PANGOXFT_LIBS
2042 linker flags for PANGOXFT, overriding pkg-config
2043 Xinerama_CFLAGS
2044 C compiler flags for Xinerama, overriding pkg-config
2045 Xinerama_LIBS
2046 linker flags for Xinerama, overriding pkg-config
2047 Xxf86vm_CFLAGS
2048 C compiler flags for Xxf86vm, overriding pkg-config
2049 Xxf86vm_LIBS
2050 linker flags for Xxf86vm, overriding pkg-config
2051 SM_CFLAGS C compiler flags for SM, overriding pkg-config
2052 SM_LIBS linker flags for SM, overriding pkg-config
2053 GL_CFLAGS C compiler flags for GL, overriding pkg-config
2054 GL_LIBS linker flags for GL, overriding pkg-config
2055 GLU_CFLAGS C compiler flags for GLU, overriding pkg-config
2056 GLU_LIBS linker flags for GLU, overriding pkg-config
2057 MesaGL_CFLAGS
2058 C compiler flags for MesaGL, overriding pkg-config
2059 MesaGL_LIBS linker flags for MesaGL, overriding pkg-config
2060 GTKPRINT_CFLAGS
2061 C compiler flags for GTKPRINT, overriding pkg-config
2062 GTKPRINT_LIBS
2063 linker flags for GTKPRINT, overriding pkg-config
2064 LIBGNOMEPRINTUI_CFLAGS
2065 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
2066 LIBGNOMEPRINTUI_LIBS
2067 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
2068 GNOMEVFS_CFLAGS
2069 C compiler flags for GNOMEVFS, overriding pkg-config
2070 GNOMEVFS_LIBS
2071 linker flags for GNOMEVFS, overriding pkg-config
2072 HILDON_CFLAGS
2073 C compiler flags for HILDON, overriding pkg-config
2074 HILDON_LIBS linker flags for HILDON, overriding pkg-config
2075 HILDON2_CFLAGS
2076 C compiler flags for HILDON2, overriding pkg-config
2077 HILDON2_LIBS
2078 linker flags for HILDON2, overriding pkg-config
2079 CAIRO_CFLAGS
2080 C compiler flags for CAIRO, overriding pkg-config
2081 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
2082 GST_CFLAGS C compiler flags for GST, overriding pkg-config
2083 GST_LIBS linker flags for GST, overriding pkg-config
2084
2085 Use these variables to override the choices made by `configure' or to help
2086 it to find libraries and programs with nonstandard names/locations.
2087
2088 Report bugs to <wx-dev@lists.wxwidgets.org>.
2089 _ACEOF
2090 ac_status=$?
2091 fi
2092
2093 if test "$ac_init_help" = "recursive"; then
2094 # If there are subdirs, report their specific --help.
2095 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2096 test -d "$ac_dir" || continue
2097 ac_builddir=.
2098
2099 case "$ac_dir" in
2100 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2101 *)
2102 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2103 # A ".." for each directory in $ac_dir_suffix.
2104 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
2105 case $ac_top_builddir_sub in
2106 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2107 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2108 esac ;;
2109 esac
2110 ac_abs_top_builddir=$ac_pwd
2111 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2112 # for backward compatibility:
2113 ac_top_builddir=$ac_top_build_prefix
2114
2115 case $srcdir in
2116 .) # We are building in place.
2117 ac_srcdir=.
2118 ac_top_srcdir=$ac_top_builddir_sub
2119 ac_abs_top_srcdir=$ac_pwd ;;
2120 [\\/]* | ?:[\\/]* ) # Absolute name.
2121 ac_srcdir=$srcdir$ac_dir_suffix;
2122 ac_top_srcdir=$srcdir
2123 ac_abs_top_srcdir=$srcdir ;;
2124 *) # Relative name.
2125 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2126 ac_top_srcdir=$ac_top_build_prefix$srcdir
2127 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2128 esac
2129 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2130
2131 cd "$ac_dir" || { ac_status=$?; continue; }
2132 # Check for guested configure.
2133 if test -f "$ac_srcdir/configure.gnu"; then
2134 echo &&
2135 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2136 elif test -f "$ac_srcdir/configure"; then
2137 echo &&
2138 $SHELL "$ac_srcdir/configure" --help=recursive
2139 else
2140 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2141 fi || ac_status=$?
2142 cd "$ac_pwd" || { ac_status=$?; break; }
2143 done
2144 fi
2145
2146 test -n "$ac_init_help" && exit $ac_status
2147 if $ac_init_version; then
2148 cat <<\_ACEOF
2149 wxWidgets configure 2.9.4
2150 generated by GNU Autoconf 2.61
2151
2152 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2153 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
2154 This configure script is free software; the Free Software Foundation
2155 gives unlimited permission to copy, distribute and modify it.
2156 _ACEOF
2157 exit
2158 fi
2159 cat >config.log <<_ACEOF
2160 This file contains any messages produced by compilers while
2161 running configure, to aid debugging if configure makes a mistake.
2162
2163 It was created by wxWidgets $as_me 2.9.4, which was
2164 generated by GNU Autoconf 2.61. Invocation command line was
2165
2166 $ $0 $@
2167
2168 _ACEOF
2169 exec 5>>config.log
2170 {
2171 cat <<_ASUNAME
2172 ## --------- ##
2173 ## Platform. ##
2174 ## --------- ##
2175
2176 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2177 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2178 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2179 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2180 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2181
2182 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2183 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2184
2185 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2186 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2187 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2188 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2189 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2190 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2191 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2192
2193 _ASUNAME
2194
2195 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2196 for as_dir in $PATH
2197 do
2198 IFS=$as_save_IFS
2199 test -z "$as_dir" && as_dir=.
2200 echo "PATH: $as_dir"
2201 done
2202 IFS=$as_save_IFS
2203
2204 } >&5
2205
2206 cat >&5 <<_ACEOF
2207
2208
2209 ## ----------- ##
2210 ## Core tests. ##
2211 ## ----------- ##
2212
2213 _ACEOF
2214
2215
2216 # Keep a trace of the command line.
2217 # Strip out --no-create and --no-recursion so they do not pile up.
2218 # Strip out --silent because we don't want to record it for future runs.
2219 # Also quote any args containing shell meta-characters.
2220 # Make two passes to allow for proper duplicate-argument suppression.
2221 ac_configure_args=
2222 ac_configure_args0=
2223 ac_configure_args1=
2224 ac_must_keep_next=false
2225 for ac_pass in 1 2
2226 do
2227 for ac_arg
2228 do
2229 case $ac_arg in
2230 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2231 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2232 | -silent | --silent | --silen | --sile | --sil)
2233 continue ;;
2234 *\'*)
2235 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2236 esac
2237 case $ac_pass in
2238 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2239 2)
2240 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2241 if test $ac_must_keep_next = true; then
2242 ac_must_keep_next=false # Got value, back to normal.
2243 else
2244 case $ac_arg in
2245 *=* | --config-cache | -C | -disable-* | --disable-* \
2246 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2247 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2248 | -with-* | --with-* | -without-* | --without-* | --x)
2249 case "$ac_configure_args0 " in
2250 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2251 esac
2252 ;;
2253 -* ) ac_must_keep_next=true ;;
2254 esac
2255 fi
2256 ac_configure_args="$ac_configure_args '$ac_arg'"
2257 ;;
2258 esac
2259 done
2260 done
2261 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2262 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2263
2264 # When interrupted or exit'd, cleanup temporary files, and complete
2265 # config.log. We remove comments because anyway the quotes in there
2266 # would cause problems or look ugly.
2267 # WARNING: Use '\'' to represent an apostrophe within the trap.
2268 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2269 trap 'exit_status=$?
2270 # Save into config.log some information that might help in debugging.
2271 {
2272 echo
2273
2274 cat <<\_ASBOX
2275 ## ---------------- ##
2276 ## Cache variables. ##
2277 ## ---------------- ##
2278 _ASBOX
2279 echo
2280 # The following way of writing the cache mishandles newlines in values,
2281 (
2282 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2283 eval ac_val=\$$ac_var
2284 case $ac_val in #(
2285 *${as_nl}*)
2286 case $ac_var in #(
2287 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2288 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2289 esac
2290 case $ac_var in #(
2291 _ | IFS | as_nl) ;; #(
2292 *) $as_unset $ac_var ;;
2293 esac ;;
2294 esac
2295 done
2296 (set) 2>&1 |
2297 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2298 *${as_nl}ac_space=\ *)
2299 sed -n \
2300 "s/'\''/'\''\\\\'\'''\''/g;
2301 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2302 ;; #(
2303 *)
2304 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2305 ;;
2306 esac |
2307 sort
2308 )
2309 echo
2310
2311 cat <<\_ASBOX
2312 ## ----------------- ##
2313 ## Output variables. ##
2314 ## ----------------- ##
2315 _ASBOX
2316 echo
2317 for ac_var in $ac_subst_vars
2318 do
2319 eval ac_val=\$$ac_var
2320 case $ac_val in
2321 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2322 esac
2323 echo "$ac_var='\''$ac_val'\''"
2324 done | sort
2325 echo
2326
2327 if test -n "$ac_subst_files"; then
2328 cat <<\_ASBOX
2329 ## ------------------- ##
2330 ## File substitutions. ##
2331 ## ------------------- ##
2332 _ASBOX
2333 echo
2334 for ac_var in $ac_subst_files
2335 do
2336 eval ac_val=\$$ac_var
2337 case $ac_val in
2338 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2339 esac
2340 echo "$ac_var='\''$ac_val'\''"
2341 done | sort
2342 echo
2343 fi
2344
2345 if test -s confdefs.h; then
2346 cat <<\_ASBOX
2347 ## ----------- ##
2348 ## confdefs.h. ##
2349 ## ----------- ##
2350 _ASBOX
2351 echo
2352 cat confdefs.h
2353 echo
2354 fi
2355 test "$ac_signal" != 0 &&
2356 echo "$as_me: caught signal $ac_signal"
2357 echo "$as_me: exit $exit_status"
2358 } >&5
2359 rm -f core *.core core.conftest.* &&
2360 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2361 exit $exit_status
2362 ' 0
2363 for ac_signal in 1 2 13 15; do
2364 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2365 done
2366 ac_signal=0
2367
2368 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2369 rm -f -r conftest* confdefs.h
2370
2371 # Predefined preprocessor variables.
2372
2373 cat >>confdefs.h <<_ACEOF
2374 #define PACKAGE_NAME "$PACKAGE_NAME"
2375 _ACEOF
2376
2377
2378 cat >>confdefs.h <<_ACEOF
2379 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2380 _ACEOF
2381
2382
2383 cat >>confdefs.h <<_ACEOF
2384 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2385 _ACEOF
2386
2387
2388 cat >>confdefs.h <<_ACEOF
2389 #define PACKAGE_STRING "$PACKAGE_STRING"
2390 _ACEOF
2391
2392
2393 cat >>confdefs.h <<_ACEOF
2394 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2395 _ACEOF
2396
2397
2398 # Let the site file select an alternate cache file if it wants to.
2399 # Prefer explicitly selected file to automatically selected ones.
2400 if test -n "$CONFIG_SITE"; then
2401 set x "$CONFIG_SITE"
2402 elif test "x$prefix" != xNONE; then
2403 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2404 else
2405 set x "$ac_default_prefix/share/config.site" \
2406 "$ac_default_prefix/etc/config.site"
2407 fi
2408 shift
2409 for ac_site_file
2410 do
2411 if test -r "$ac_site_file"; then
2412 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2413 echo "$as_me: loading site script $ac_site_file" >&6;}
2414 sed 's/^/| /' "$ac_site_file" >&5
2415 . "$ac_site_file"
2416 fi
2417 done
2418
2419 if test -r "$cache_file"; then
2420 # Some versions of bash will fail to source /dev/null (special
2421 # files actually), so we avoid doing that.
2422 if test -f "$cache_file"; then
2423 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2424 echo "$as_me: loading cache $cache_file" >&6;}
2425 case $cache_file in
2426 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2427 *) . "./$cache_file";;
2428 esac
2429 fi
2430 else
2431 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2432 echo "$as_me: creating cache $cache_file" >&6;}
2433 >$cache_file
2434 fi
2435
2436 # Check that the precious variables saved in the cache have kept the same
2437 # value.
2438 ac_cache_corrupted=false
2439 for ac_var in $ac_precious_vars; do
2440 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2441 eval ac_new_set=\$ac_env_${ac_var}_set
2442 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2443 eval ac_new_val=\$ac_env_${ac_var}_value
2444 case $ac_old_set,$ac_new_set in
2445 set,)
2446 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2447 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2448 ac_cache_corrupted=: ;;
2449 ,set)
2450 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2451 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2452 ac_cache_corrupted=: ;;
2453 ,);;
2454 *)
2455 if test "x$ac_old_val" != "x$ac_new_val"; then
2456 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2457 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2458 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2459 echo "$as_me: former value: $ac_old_val" >&2;}
2460 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2461 echo "$as_me: current value: $ac_new_val" >&2;}
2462 ac_cache_corrupted=:
2463 fi;;
2464 esac
2465 # Pass precious variables to config.status.
2466 if test "$ac_new_set" = set; then
2467 case $ac_new_val in
2468 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2469 *) ac_arg=$ac_var=$ac_new_val ;;
2470 esac
2471 case " $ac_configure_args " in
2472 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2473 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2474 esac
2475 fi
2476 done
2477 if $ac_cache_corrupted; then
2478 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2479 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2480 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2481 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2482 { (exit 1); exit 1; }; }
2483 fi
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509 ac_ext=c
2510 ac_cpp='$CPP $CPPFLAGS'
2511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2514
2515
2516
2517
2518
2519 ac_aux_dir=
2520 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2521 if test -f "$ac_dir/install-sh"; then
2522 ac_aux_dir=$ac_dir
2523 ac_install_sh="$ac_aux_dir/install-sh -c"
2524 break
2525 elif test -f "$ac_dir/install.sh"; then
2526 ac_aux_dir=$ac_dir
2527 ac_install_sh="$ac_aux_dir/install.sh -c"
2528 break
2529 elif test -f "$ac_dir/shtool"; then
2530 ac_aux_dir=$ac_dir
2531 ac_install_sh="$ac_aux_dir/shtool install -c"
2532 break
2533 fi
2534 done
2535 if test -z "$ac_aux_dir"; then
2536 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2537 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2538 { (exit 1); exit 1; }; }
2539 fi
2540
2541 # These three variables are undocumented and unsupported,
2542 # and are intended to be withdrawn in a future Autoconf release.
2543 # They can cause serious problems if a builder's source tree is in a directory
2544 # whose full name contains unusual characters.
2545 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2546 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2547 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2548
2549
2550 # Make sure we can run config.sub.
2551 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2552 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2553 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2554 { (exit 1); exit 1; }; }
2555
2556 { echo "$as_me:$LINENO: checking build system type" >&5
2557 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2558 if test "${ac_cv_build+set}" = set; then
2559 echo $ECHO_N "(cached) $ECHO_C" >&6
2560 else
2561 ac_build_alias=$build_alias
2562 test "x$ac_build_alias" = x &&
2563 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2564 test "x$ac_build_alias" = x &&
2565 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2566 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2567 { (exit 1); exit 1; }; }
2568 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2569 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2570 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2571 { (exit 1); exit 1; }; }
2572
2573 fi
2574 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2575 echo "${ECHO_T}$ac_cv_build" >&6; }
2576 case $ac_cv_build in
2577 *-*-*) ;;
2578 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2579 echo "$as_me: error: invalid value of canonical build" >&2;}
2580 { (exit 1); exit 1; }; };;
2581 esac
2582 build=$ac_cv_build
2583 ac_save_IFS=$IFS; IFS='-'
2584 set x $ac_cv_build
2585 shift
2586 build_cpu=$1
2587 build_vendor=$2
2588 shift; shift
2589 # Remember, the first character of IFS is used to create $*,
2590 # except with old shells:
2591 build_os=$*
2592 IFS=$ac_save_IFS
2593 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2594
2595
2596 { echo "$as_me:$LINENO: checking host system type" >&5
2597 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2598 if test "${ac_cv_host+set}" = set; then
2599 echo $ECHO_N "(cached) $ECHO_C" >&6
2600 else
2601 if test "x$host_alias" = x; then
2602 ac_cv_host=$ac_cv_build
2603 else
2604 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2605 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2606 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2607 { (exit 1); exit 1; }; }
2608 fi
2609
2610 fi
2611 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2612 echo "${ECHO_T}$ac_cv_host" >&6; }
2613 case $ac_cv_host in
2614 *-*-*) ;;
2615 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2616 echo "$as_me: error: invalid value of canonical host" >&2;}
2617 { (exit 1); exit 1; }; };;
2618 esac
2619 host=$ac_cv_host
2620 ac_save_IFS=$IFS; IFS='-'
2621 set x $ac_cv_host
2622 shift
2623 host_cpu=$1
2624 host_vendor=$2
2625 shift; shift
2626 # Remember, the first character of IFS is used to create $*,
2627 # except with old shells:
2628 host_os=$*
2629 IFS=$ac_save_IFS
2630 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2631
2632
2633
2634 if test "$cross_compiling" != "no"; then
2635 HOST_PREFIX="${host_alias}-"
2636 HOST_SUFFIX="-$host_alias"
2637 else
2638 HOST_PREFIX=
2639 HOST_SUFFIX=
2640 fi
2641
2642
2643 wx_major_version_number=2
2644 wx_minor_version_number=9
2645 wx_release_number=4
2646 wx_subrelease_number=0
2647
2648 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2649 WX_VERSION=$WX_RELEASE.$wx_release_number
2650 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2651
2652 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2653
2654
2655 wx_top_builddir="`pwd`"
2656
2657
2658
2659
2660 USE_UNIX=1
2661 USE_OS2=0
2662 USE_WIN32=0
2663 USE_DOS=0
2664 USE_BEOS=0
2665 USE_MAC=0
2666
2667 USE_AIX=
2668 USE_BSD= USE_DARWIN= USE_FREEBSD=
2669 USE_GNU= USE_HPUX=
2670 USE_LINUX=
2671 USE_NETBSD=
2672 USE_OPENBSD=
2673 USE_OSF= USE_SGI=
2674 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2675 USE_ULTRIX=
2676 USE_UNIXWARE=
2677
2678 USE_ALPHA=
2679
2680 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2681
2682 ALL_TOOLKITS="COCOA GTK OSX_CARBON OSX_COCOA OSX_IPHONE MGL MICROWIN MOTIF MSW PM X11 DFB"
2683
2684 DEFAULT_wxUSE_OLD_COCOA=0
2685 DEFAULT_wxUSE_GTK=0
2686 DEFAULT_wxUSE_OSX_CARBON=0
2687 DEFAULT_wxUSE_OSX_COCOA=0
2688 DEFAULT_wxUSE_OSX_IPHONE=0
2689 DEFAULT_wxUSE_MGL=0
2690 DEFAULT_wxUSE_MICROWIN=0
2691 DEFAULT_wxUSE_MOTIF=0
2692 DEFAULT_wxUSE_MSW=0
2693 DEFAULT_wxUSE_PM=0
2694 DEFAULT_wxUSE_X11=0
2695 DEFAULT_wxUSE_DFB=0
2696
2697 DEFAULT_DEFAULT_wxUSE_OLD_COCOA=0
2698 DEFAULT_DEFAULT_wxUSE_GTK=0
2699 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=0
2700 DEFAULT_DEFAULT_wxUSE_OSX_COCOA=0
2701 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE=0
2702 DEFAULT_DEFAULT_wxUSE_MGL=0
2703 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2704 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2705 DEFAULT_DEFAULT_wxUSE_MSW=0
2706 DEFAULT_DEFAULT_wxUSE_PM=0
2707 DEFAULT_DEFAULT_wxUSE_X11=0
2708 DEFAULT_DEFAULT_wxUSE_DFB=0
2709
2710 PROGRAM_EXT=
2711 SAMPLES_RPATH_FLAG=
2712 DYLIB_RPATH_INSTALL=
2713 DYLIB_RPATH_POSTLINK=
2714
2715 DEFAULT_STD_FLAG=yes
2716
2717 case "${host}" in
2718 *-hp-hpux* )
2719 USE_HPUX=1
2720 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2721 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2722 cat >>confdefs.h <<\_ACEOF
2723 #define __HPUX__ 1
2724 _ACEOF
2725
2726
2727 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2728 ;;
2729 *-*-linux* )
2730 USE_LINUX=1
2731 cat >>confdefs.h <<\_ACEOF
2732 #define __LINUX__ 1
2733 _ACEOF
2734
2735 TMP=`uname -m`
2736 if test "x$TMP" = "xalpha"; then
2737 USE_ALPHA=1
2738 cat >>confdefs.h <<\_ACEOF
2739 #define __ALPHA__ 1
2740 _ACEOF
2741
2742 fi
2743 DEFAULT_DEFAULT_wxUSE_GTK=1
2744 ;;
2745 *-*-gnu* | *-*-k*bsd*-gnu )
2746 USE_GNU=1
2747 TMP=`uname -m`
2748 if test "x$TMP" = "xalpha"; then
2749 USE_ALPHA=1
2750 cat >>confdefs.h <<\_ACEOF
2751 #define __ALPHA__ 1
2752 _ACEOF
2753
2754 fi
2755 DEFAULT_DEFAULT_wxUSE_GTK=1
2756 ;;
2757 *-*-irix5* | *-*-irix6* )
2758 USE_SGI=1
2759 USE_SVR4=1
2760 cat >>confdefs.h <<\_ACEOF
2761 #define __SGI__ 1
2762 _ACEOF
2763
2764 cat >>confdefs.h <<\_ACEOF
2765 #define __SVR4__ 1
2766 _ACEOF
2767
2768 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2769 ;;
2770 *-*-qnx*)
2771 USE_QNX=1
2772 cat >>confdefs.h <<\_ACEOF
2773 #define __QNX__ 1
2774 _ACEOF
2775
2776 DEFAULT_DEFAULT_wxUSE_X11=1
2777 ;;
2778 *-*-solaris2* )
2779 USE_SUN=1
2780 USE_SOLARIS=1
2781 USE_SVR4=1
2782 cat >>confdefs.h <<\_ACEOF
2783 #define __SUN__ 1
2784 _ACEOF
2785
2786 cat >>confdefs.h <<\_ACEOF
2787 #define __SOLARIS__ 1
2788 _ACEOF
2789
2790 cat >>confdefs.h <<\_ACEOF
2791 #define __SVR4__ 1
2792 _ACEOF
2793
2794 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2795 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2796 ;;
2797 *-*-sunos4* )
2798 USE_SUN=1
2799 USE_SUNOS=1
2800 USE_BSD=1
2801 cat >>confdefs.h <<\_ACEOF
2802 #define __SUN__ 1
2803 _ACEOF
2804
2805 cat >>confdefs.h <<\_ACEOF
2806 #define __SUNOS__ 1
2807 _ACEOF
2808
2809 cat >>confdefs.h <<\_ACEOF
2810 #define __BSD__ 1
2811 _ACEOF
2812
2813 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2814 ;;
2815 *-*-freebsd*)
2816 USE_BSD=1
2817 USE_FREEBSD=1
2818 cat >>confdefs.h <<\_ACEOF
2819 #define __FREEBSD__ 1
2820 _ACEOF
2821
2822 cat >>confdefs.h <<\_ACEOF
2823 #define __BSD__ 1
2824 _ACEOF
2825
2826 DEFAULT_DEFAULT_wxUSE_GTK=1
2827 ;;
2828 *-*-openbsd*|*-*-mirbsd*)
2829 USE_BSD=1
2830 USE_OPENBSD=1
2831 cat >>confdefs.h <<\_ACEOF
2832 #define __OPENBSD__ 1
2833 _ACEOF
2834
2835 cat >>confdefs.h <<\_ACEOF
2836 #define __BSD__ 1
2837 _ACEOF
2838
2839 DEFAULT_DEFAULT_wxUSE_GTK=1
2840 ;;
2841 *-*-netbsd*)
2842 USE_BSD=1
2843 USE_NETBSD=1
2844 cat >>confdefs.h <<\_ACEOF
2845 #define __NETBSD__ 1
2846 _ACEOF
2847
2848 cat >>confdefs.h <<\_ACEOF
2849 #define __BSD__ 1
2850 _ACEOF
2851
2852 DEFAULT_DEFAULT_wxUSE_GTK=1
2853 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2854
2855 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2856 ;;
2857 *-*-osf* )
2858 USE_ALPHA=1
2859 USE_OSF=1
2860 cat >>confdefs.h <<\_ACEOF
2861 #define __ALPHA__ 1
2862 _ACEOF
2863
2864 cat >>confdefs.h <<\_ACEOF
2865 #define __OSF__ 1
2866 _ACEOF
2867
2868 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2869 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2870 ;;
2871 *-*-dgux5* )
2872 USE_ALPHA=1
2873 USE_SVR4=1
2874 cat >>confdefs.h <<\_ACEOF
2875 #define __ALPHA__ 1
2876 _ACEOF
2877
2878 cat >>confdefs.h <<\_ACEOF
2879 #define __SVR4__ 1
2880 _ACEOF
2881
2882 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2883 ;;
2884 *-*-sysv5* )
2885 USE_SYSV=1
2886 USE_SVR4=1
2887 cat >>confdefs.h <<\_ACEOF
2888 #define __SYSV__ 1
2889 _ACEOF
2890
2891 cat >>confdefs.h <<\_ACEOF
2892 #define __SVR4__ 1
2893 _ACEOF
2894
2895 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2896 ;;
2897 *-*-aix* )
2898 USE_AIX=1
2899 USE_SYSV=1
2900 USE_SVR4=1
2901 cat >>confdefs.h <<\_ACEOF
2902 #define __AIX__ 1
2903 _ACEOF
2904
2905 cat >>confdefs.h <<\_ACEOF
2906 #define __SYSV__ 1
2907 _ACEOF
2908
2909 cat >>confdefs.h <<\_ACEOF
2910 #define __SVR4__ 1
2911 _ACEOF
2912
2913 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2914 ;;
2915
2916 *-*-*UnixWare*)
2917 USE_SYSV=1
2918 USE_SVR4=1
2919 USE_UNIXWARE=1
2920 cat >>confdefs.h <<\_ACEOF
2921 #define __UNIXWARE__ 1
2922 _ACEOF
2923
2924 ;;
2925
2926 *-*-cygwin* | *-*-mingw32* )
2927 PROGRAM_EXT=".exe"
2928 DEFAULT_DEFAULT_wxUSE_MSW=1
2929 ;;
2930
2931 *-pc-msdosdjgpp )
2932 USE_UNIX=0
2933 USE_DOS=1
2934 cat >>confdefs.h <<\_ACEOF
2935 #define __DOS__ 1
2936 _ACEOF
2937
2938 PROGRAM_EXT=".exe"
2939 DEFAULT_DEFAULT_wxUSE_MGL=1
2940 ;;
2941
2942 *-pc-os2_emx | *-pc-os2-emx )
2943 cat >>confdefs.h <<\_ACEOF
2944 #define __EMX__ 1
2945 _ACEOF
2946
2947 USE_OS2=1
2948 cat >>confdefs.h <<\_ACEOF
2949 #define __OS2__ 1
2950 _ACEOF
2951
2952 PROGRAM_EXT=".exe"
2953 DEFAULT_DEFAULT_wxUSE_PM=1
2954 CXX=gcc
2955 LDFLAGS="$LDFLAGS -Zcrtdll"
2956 ac_executable_extensions=".exe"
2957 export ac_executable_extensions
2958 ac_save_IFS="$IFS"
2959 IFS='\\'
2960 ac_TEMP_PATH=
2961 for ac_dir in $PATH; do
2962 IFS=$ac_save_IFS
2963 if test -z "$ac_TEMP_PATH"; then
2964 ac_TEMP_PATH="$ac_dir"
2965 else
2966 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2967 fi
2968 done
2969 export PATH="$ac_TEMP_PATH"
2970 unset ac_TEMP_PATH
2971 DEFAULT_STD_FLAG=no
2972 ;;
2973
2974 arm-apple-darwin*)
2975 USE_BSD=1
2976 USE_DARWIN=1
2977 cat >>confdefs.h <<\_ACEOF
2978 #define __BSD__ 1
2979 _ACEOF
2980
2981 cat >>confdefs.h <<\_ACEOF
2982 #define __DARWIN__ 1
2983 _ACEOF
2984
2985 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE=1
2986 ;;
2987
2988 *-*-darwin* )
2989 USE_BSD=1
2990 USE_DARWIN=1
2991 cat >>confdefs.h <<\_ACEOF
2992 #define __BSD__ 1
2993 _ACEOF
2994
2995 cat >>confdefs.h <<\_ACEOF
2996 #define __DARWIN__ 1
2997 _ACEOF
2998
2999 cat >>confdefs.h <<\_ACEOF
3000 #define TARGET_CARBON 1
3001 _ACEOF
3002
3003 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=1
3004 ;;
3005
3006 *-*-beos* )
3007 USE_BEOS=1
3008 cat >>confdefs.h <<\_ACEOF
3009 #define __BEOS__ 1
3010 _ACEOF
3011
3012 ;;
3013
3014 *)
3015 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
3016 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
3017 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
3018 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
3019
3020 DEFAULT_DEFAULT_wxUSE_X11=1
3021 DEFAULT_wxUSE_SHARED=no
3022 esac
3023
3024
3025
3026 DEFAULT_wxUSE_ALL_FEATURES=yes
3027
3028 DEFAULT_wxUSE_STD_CONTAINERS=no
3029 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
3030 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
3031
3032 DEFAULT_wxUSE_DMALLOC=no
3033 DEFAULT_wxUSE_LIBGNOMEVFS=no
3034 DEFAULT_wxUSE_LIBHILDON=no
3035 DEFAULT_wxUSE_LIBHILDON2=no
3036 DEFAULT_wxUSE_LIBMSPACK=no
3037 DEFAULT_wxUSE_LIBSDL=no
3038
3039 DEFAULT_wxUSE_ACCESSIBILITY=no
3040 DEFAULT_wxUSE_IPV6=no
3041 DEFAULT_wxUSE_GSTREAMER8=no
3042
3043 DEFAULT_wxUSE_ARTPROVIDER_TANGO=auto
3044 DEFAULT_wxUSE_UNICODE_UTF8=auto
3045 DEFAULT_wxUSE_OPENGL=auto
3046 DEFAULT_wxUSE_MEDIACTRL=auto
3047 DEFAULT_wxUSE_COMPILER_TLS=auto
3048 DEFAULT_wxUSE_HOTKEY=auto
3049 DEFAULT_wxUSE_METAFILE=auto
3050
3051 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
3052
3053 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
3054 DEFAULT_wxUSE_MAC_ARCH=no
3055
3056 DEFAULT_wxUSE_OFFICIAL_BUILD=no
3057
3058 DEFAULT_wxUSE_GTK2=yes
3059
3060 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
3061
3062
3063
3064
3065
3066 enablestring=disable
3067 defaultval=
3068 if test -z "$defaultval"; then
3069 if test x"$enablestring" = xdisable; then
3070 defaultval=yes
3071 else
3072 defaultval=no
3073 fi
3074 fi
3075
3076 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
3077 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
3078 # Check whether --enable-gui was given.
3079 if test "${enable_gui+set}" = set; then
3080 enableval=$enable_gui;
3081 if test "$enableval" = yes; then
3082 wx_cv_use_gui='wxUSE_GUI=yes'
3083 else
3084 wx_cv_use_gui='wxUSE_GUI=no'
3085 fi
3086
3087 else
3088
3089 wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
3090
3091 fi
3092
3093
3094 eval "$wx_cv_use_gui"
3095
3096 if test x"$enablestring" = xdisable; then
3097 if test $wxUSE_GUI = no; then
3098 result=yes
3099 else
3100 result=no
3101 fi
3102 else
3103 result=$wxUSE_GUI
3104 fi
3105
3106 { echo "$as_me:$LINENO: result: $result" >&5
3107 echo "${ECHO_T}$result" >&6; }
3108
3109
3110 enablestring=
3111 defaultval=
3112 if test -z "$defaultval"; then
3113 if test x"$enablestring" = xdisable; then
3114 defaultval=yes
3115 else
3116 defaultval=no
3117 fi
3118 fi
3119
3120 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3121 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3122 # Check whether --enable-monolithic was given.
3123 if test "${enable_monolithic+set}" = set; then
3124 enableval=$enable_monolithic;
3125 if test "$enableval" = yes; then
3126 wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3127 else
3128 wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3129 fi
3130
3131 else
3132
3133 wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3134
3135 fi
3136
3137
3138 eval "$wx_cv_use_monolithic"
3139
3140 if test x"$enablestring" = xdisable; then
3141 if test $wxUSE_MONOLITHIC = no; then
3142 result=yes
3143 else
3144 result=no
3145 fi
3146 else
3147 result=$wxUSE_MONOLITHIC
3148 fi
3149
3150 { echo "$as_me:$LINENO: result: $result" >&5
3151 echo "${ECHO_T}$result" >&6; }
3152
3153
3154 enablestring=
3155 defaultval=
3156 if test -z "$defaultval"; then
3157 if test x"$enablestring" = xdisable; then
3158 defaultval=yes
3159 else
3160 defaultval=no
3161 fi
3162 fi
3163
3164 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3165 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3166 # Check whether --enable-plugins was given.
3167 if test "${enable_plugins+set}" = set; then
3168 enableval=$enable_plugins;
3169 if test "$enableval" = yes; then
3170 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3171 else
3172 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3173 fi
3174
3175 else
3176
3177 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3178
3179 fi
3180
3181
3182 eval "$wx_cv_use_plugins"
3183
3184 if test x"$enablestring" = xdisable; then
3185 if test $wxUSE_PLUGINS = no; then
3186 result=yes
3187 else
3188 result=no
3189 fi
3190 else
3191 result=$wxUSE_PLUGINS
3192 fi
3193
3194 { echo "$as_me:$LINENO: result: $result" >&5
3195 echo "${ECHO_T}$result" >&6; }
3196
3197
3198 withstring=without
3199 defaultval=$wxUSE_ALL_FEATURES
3200 if test -z "$defaultval"; then
3201 if test x"$withstring" = xwithout; then
3202 defaultval=yes
3203 else
3204 defaultval=no
3205 fi
3206 fi
3207 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3208 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3209
3210 # Check whether --with-subdirs was given.
3211 if test "${with_subdirs+set}" = set; then
3212 withval=$with_subdirs;
3213 if test "$withval" = yes; then
3214 wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3215 else
3216 wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
3217 fi
3218
3219 else
3220
3221 wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3222
3223 fi
3224
3225
3226 eval "$wx_cv_use_subdirs"
3227
3228 if test x"$withstring" = xwithout; then
3229 if test $wxWITH_SUBDIRS = yes; then
3230 result=no
3231 else
3232 result=yes
3233 fi
3234 else
3235 result=$wxWITH_SUBDIRS
3236 fi
3237
3238 { echo "$as_me:$LINENO: result: $result" >&5
3239 echo "${ECHO_T}$result" >&6; }
3240
3241
3242 # Check whether --with-flavour was given.
3243 if test "${with_flavour+set}" = set; then
3244 withval=$with_flavour; WX_FLAVOUR="$withval"
3245 fi
3246
3247
3248 enablestring=
3249 defaultval=
3250 if test -z "$defaultval"; then
3251 if test x"$enablestring" = xdisable; then
3252 defaultval=yes
3253 else
3254 defaultval=no
3255 fi
3256 fi
3257
3258 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3259 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3260 # Check whether --enable-official_build was given.
3261 if test "${enable_official_build+set}" = set; then
3262 enableval=$enable_official_build;
3263 if test "$enableval" = yes; then
3264 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
3265 else
3266 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
3267 fi
3268
3269 else
3270
3271 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3272
3273 fi
3274
3275
3276 eval "$wx_cv_use_official_build"
3277
3278 if test x"$enablestring" = xdisable; then
3279 if test $wxUSE_OFFICIAL_BUILD = no; then
3280 result=yes
3281 else
3282 result=no
3283 fi
3284 else
3285 result=$wxUSE_OFFICIAL_BUILD
3286 fi
3287
3288 { echo "$as_me:$LINENO: result: $result" >&5
3289 echo "${ECHO_T}$result" >&6; }
3290
3291 # Check whether --enable-vendor was given.
3292 if test "${enable_vendor+set}" = set; then
3293 enableval=$enable_vendor; VENDOR="$enableval"
3294 fi
3295
3296 if test "x$VENDOR" = "x"; then
3297 VENDOR="custom"
3298 fi
3299
3300
3301 enablestring=disable
3302 defaultval=
3303 if test -z "$defaultval"; then
3304 if test x"$enablestring" = xdisable; then
3305 defaultval=yes
3306 else
3307 defaultval=no
3308 fi
3309 fi
3310
3311 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-all-features" >&5
3312 echo $ECHO_N "checking for --${enablestring:-enable}-all-features... $ECHO_C" >&6; }
3313 # Check whether --enable-all-features was given.
3314 if test "${enable_all_features+set}" = set; then
3315 enableval=$enable_all_features;
3316 if test "$enableval" = yes; then
3317 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3318 else
3319 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3320 fi
3321
3322 else
3323
3324 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3325
3326 fi
3327
3328
3329 eval "$wx_cv_use_all_features"
3330
3331 if test x"$enablestring" = xdisable; then
3332 if test $wxUSE_ALL_FEATURES = no; then
3333 result=yes
3334 else
3335 result=no
3336 fi
3337 else
3338 result=$wxUSE_ALL_FEATURES
3339 fi
3340
3341 { echo "$as_me:$LINENO: result: $result" >&5
3342 echo "${ECHO_T}$result" >&6; }
3343
3344
3345 if test "$wxUSE_ALL_FEATURES" = "no"; then
3346 DEFAULT_wxUSE_ARTPROVIDER_TANGO=no
3347 DEFAULT_wxUSE_MEDIACTRL=no
3348 fi
3349
3350
3351 if test "$wxUSE_GUI" = "yes"; then
3352
3353
3354 enablestring=
3355 defaultval=
3356 if test -z "$defaultval"; then
3357 if test x"$enablestring" = xdisable; then
3358 defaultval=yes
3359 else
3360 defaultval=no
3361 fi
3362 fi
3363
3364 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3365 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3366 # Check whether --enable-universal was given.
3367 if test "${enable_universal+set}" = set; then
3368 enableval=$enable_universal;
3369 if test "$enableval" = yes; then
3370 wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
3371 else
3372 wx_cv_use_universal='wxUSE_UNIVERSAL=no'
3373 fi
3374
3375 else
3376
3377 wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3378
3379 fi
3380
3381
3382 eval "$wx_cv_use_universal"
3383
3384 if test x"$enablestring" = xdisable; then
3385 if test $wxUSE_UNIVERSAL = no; then
3386 result=yes
3387 else
3388 result=no
3389 fi
3390 else
3391 result=$wxUSE_UNIVERSAL
3392 fi
3393
3394 { echo "$as_me:$LINENO: result: $result" >&5
3395 echo "${ECHO_T}$result" >&6; }
3396
3397 if test "$wxUSE_UNIVERSAL" = "yes"; then
3398
3399 # Check whether --with-themes was given.
3400 if test "${with_themes+set}" = set; then
3401 withval=$with_themes; wxUNIV_THEMES="$withval"
3402 fi
3403
3404 fi
3405
3406
3407 # Check whether --with-gtk was given.
3408 if test "${with_gtk+set}" = set; then
3409 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3410 fi
3411
3412
3413 # Check whether --with-motif was given.
3414 if test "${with_motif+set}" = set; then
3415 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3416 fi
3417
3418
3419 # Check whether --with-osx_carbon was given.
3420 if test "${with_osx_carbon+set}" = set; then
3421 withval=$with_osx_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3422 fi
3423
3424
3425 # Check whether --with-osx_cocoa was given.
3426 if test "${with_osx_cocoa+set}" = set; then
3427 withval=$with_osx_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3428 fi
3429
3430
3431 # Check whether --with-osx_iphone was given.
3432 if test "${with_osx_iphone+set}" = set; then
3433 withval=$with_osx_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
3434 fi
3435
3436
3437 # Check whether --with-osx was given.
3438 if test "${with_osx+set}" = set; then
3439 withval=$with_osx; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3440 fi
3441
3442
3443 # Check whether --with-carbon was given.
3444 if test "${with_carbon+set}" = set; then
3445 withval=$with_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3446 fi
3447
3448
3449 # Check whether --with-cocoa was given.
3450 if test "${with_cocoa+set}" = set; then
3451 withval=$with_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3452 fi
3453
3454
3455 # Check whether --with-iphone was given.
3456 if test "${with_iphone+set}" = set; then
3457 withval=$with_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
3458 fi
3459
3460
3461 # Check whether --with-mac was given.
3462 if test "${with_mac+set}" = set; then
3463 withval=$with_mac; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3464 fi
3465
3466
3467 # Check whether --with-old_cocoa was given.
3468 if test "${with_old_cocoa+set}" = set; then
3469 withval=$with_old_cocoa; wxUSE_OLD_COCOA="$withval" CACHE_OLD_COCOA=1 TOOLKIT_GIVEN=1
3470 fi
3471
3472
3473 # Check whether --with-wine was given.
3474 if test "${with_wine+set}" = set; then
3475 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3476 fi
3477
3478
3479 # Check whether --with-msw was given.
3480 if test "${with_msw+set}" = set; then
3481 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3482 fi
3483
3484
3485 # Check whether --with-pm was given.
3486 if test "${with_pm+set}" = set; then
3487 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3488 fi
3489
3490
3491 # Check whether --with-mgl was given.
3492 if test "${with_mgl+set}" = set; then
3493 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3494 fi
3495
3496
3497 # Check whether --with-directfb was given.
3498 if test "${with_directfb+set}" = set; then
3499 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3500 fi
3501
3502
3503 # Check whether --with-microwin was given.
3504 if test "${with_microwin+set}" = set; then
3505 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3506 fi
3507
3508
3509 # Check whether --with-x11 was given.
3510 if test "${with_x11+set}" = set; then
3511 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3512 fi
3513
3514
3515 enablestring=
3516 defaultval=
3517 if test -z "$defaultval"; then
3518 if test x"$enablestring" = xdisable; then
3519 defaultval=yes
3520 else
3521 defaultval=no
3522 fi
3523 fi
3524
3525 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3526 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3527 # Check whether --enable-nanox was given.
3528 if test "${enable_nanox+set}" = set; then
3529 enableval=$enable_nanox;
3530 if test "$enableval" = yes; then
3531 wx_cv_use_nanox='wxUSE_NANOX=yes'
3532 else
3533 wx_cv_use_nanox='wxUSE_NANOX=no'
3534 fi
3535
3536 else
3537
3538 wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3539
3540 fi
3541
3542
3543 eval "$wx_cv_use_nanox"
3544
3545 if test x"$enablestring" = xdisable; then
3546 if test $wxUSE_NANOX = no; then
3547 result=yes
3548 else
3549 result=no
3550 fi
3551 else
3552 result=$wxUSE_NANOX
3553 fi
3554
3555 { echo "$as_me:$LINENO: result: $result" >&5
3556 echo "${ECHO_T}$result" >&6; }
3557
3558
3559 # Check whether --enable-gtk2 was given.
3560 if test "${enable_gtk2+set}" = set; then
3561 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3562 fi
3563
3564
3565 enablestring=
3566 defaultval=
3567 if test -z "$defaultval"; then
3568 if test x"$enablestring" = xdisable; then
3569 defaultval=yes
3570 else
3571 defaultval=no
3572 fi
3573 fi
3574
3575 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3576 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3577 # Check whether --enable-gpe was given.
3578 if test "${enable_gpe+set}" = set; then
3579 enableval=$enable_gpe;
3580 if test "$enableval" = yes; then
3581 wx_cv_use_gpe='wxUSE_GPE=yes'
3582 else
3583 wx_cv_use_gpe='wxUSE_GPE=no'
3584 fi
3585
3586 else
3587
3588 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3589
3590 fi
3591
3592
3593 eval "$wx_cv_use_gpe"
3594
3595 if test x"$enablestring" = xdisable; then
3596 if test $wxUSE_GPE = no; then
3597 result=yes
3598 else
3599 result=no
3600 fi
3601 else
3602 result=$wxUSE_GPE
3603 fi
3604
3605 { echo "$as_me:$LINENO: result: $result" >&5
3606 echo "${ECHO_T}$result" >&6; }
3607
3608
3609
3610 { echo "$as_me:$LINENO: checking for toolkit" >&5
3611 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
3612
3613
3614
3615 # In Wine, we need to default to MSW, not GTK or MOTIF
3616 if test "$wxUSE_WINE" = "yes"; then
3617 DEFAULT_DEFAULT_wxUSE_GTK=0
3618 DEFAULT_DEFAULT_wxUSE_MOTIF=0
3619 DEFAULT_DEFAULT_wxUSE_MSW=1
3620 wxUSE_SHARED=no
3621 CC=${CC:-winegcc}
3622 CXX=${CXX:-wineg++}
3623 fi
3624
3625
3626 if test "$wxUSE_GUI" = "yes"; then
3627
3628 if test "$USE_BEOS" = 1; then
3629 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
3630 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
3631 { (exit 1); exit 1; }; }
3632 fi
3633
3634 if test "$TOOLKIT_GIVEN" = 1; then
3635 for toolkit in $ALL_TOOLKITS; do
3636 var=wxUSE_$toolkit
3637 eval "value=\$${var}"
3638 if test "x$value" = "xno"; then
3639 eval "$var=0"
3640 elif test "x$value" != "x"; then
3641 eval "$var=1"
3642 fi
3643
3644 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
3645 eval "wx${toolkit}_VERSION=$value"
3646 fi
3647 done
3648 else
3649 for toolkit in $ALL_TOOLKITS; do
3650 var=DEFAULT_DEFAULT_wxUSE_$toolkit
3651 eval "wxUSE_$toolkit=\$${var}"
3652 done
3653 fi
3654
3655 NUM_TOOLKITS=`expr ${wxUSE_OLD_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_OSX_CARBON:-0} \
3656 + ${wxUSE_OSX_COCOA:-0} + ${wxUSE_OSX_IPHONE:-0} + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} \
3657 + ${wxUSE_MICROWIN:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
3658
3659 case "${host}" in
3660 *-pc-os2_emx | *-pc-os2-emx )
3661 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
3662 esac
3663
3664 case "$NUM_TOOLKITS" in
3665 1)
3666 ;;
3667 0)
3668 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
3669 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
3670 { (exit 1); exit 1; }; }
3671 ;;
3672 *)
3673 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit" >&5
3674 echo "$as_me: error: Please specify at most one toolkit" >&2;}
3675 { (exit 1); exit 1; }; }
3676 esac
3677
3678 # to be removed when --disable-gtk2 isn't needed
3679 if test "x$wxUSE_GTK2" = "xyes"; then
3680 wxGTK_VERSION=2
3681 wxUSE_GTK1=0
3682 elif test "x$wxUSE_GTK2" = "xno"; then
3683 wxGTK_VERSION=1
3684 wxUSE_GTK1=1
3685 fi
3686
3687 for toolkit in $ALL_TOOLKITS; do
3688 var=wxUSE_$toolkit
3689 eval "value=\$${var}"
3690 if test "$value" = 1; then
3691 toolkit_echo=`echo $toolkit | tr '[A-Z]' '[a-z]'`
3692 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
3693 echo "${ECHO_T}$toolkit_echo" >&6; }
3694 fi
3695 done
3696 else
3697 if test "x$host_alias" != "x"; then
3698 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
3699 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
3700 else
3701 { echo "$as_me:$LINENO: result: base only" >&5
3702 echo "${ECHO_T}base only" >&6; }
3703 fi
3704 fi
3705
3706 wxUSE_MAC=0
3707 if test "$wxUSE_OSX_CARBON" = 1 \
3708 -o "$wxUSE_OSX_COCOA" = 1 \
3709 -o "$wxUSE_OSX_IPHONE" = 1; then
3710 wxUSE_MAC=1
3711 fi
3712
3713
3714
3715 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3716 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3717
3718 # Check whether --with-libpng was given.
3719 if test "${with_libpng+set}" = set; then
3720 withval=$with_libpng;
3721 if test "$withval" = yes; then
3722 wx_cv_use_libpng='wxUSE_LIBPNG=yes'
3723 elif test "$withval" = no; then
3724 wx_cv_use_libpng='wxUSE_LIBPNG=no'
3725 elif test "$withval" = sys; then
3726 wx_cv_use_libpng='wxUSE_LIBPNG=sys'
3727 elif test "$withval" = builtin; then
3728 wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
3729 else
3730 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3731 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3732 { (exit 1); exit 1; }; }
3733 fi
3734
3735 else
3736
3737 wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3738
3739 fi
3740
3741
3742 eval "$wx_cv_use_libpng"
3743
3744 if test "$wxUSE_LIBPNG" = yes; then
3745 { echo "$as_me:$LINENO: result: yes" >&5
3746 echo "${ECHO_T}yes" >&6; }
3747 elif test "$wxUSE_LIBPNG" = no; then
3748 { echo "$as_me:$LINENO: result: no" >&5
3749 echo "${ECHO_T}no" >&6; }
3750 elif test "$wxUSE_LIBPNG" = sys; then
3751 { echo "$as_me:$LINENO: result: system version" >&5
3752 echo "${ECHO_T}system version" >&6; }
3753 elif test "$wxUSE_LIBPNG" = builtin; then
3754 { echo "$as_me:$LINENO: result: builtin version" >&5
3755 echo "${ECHO_T}builtin version" >&6; }
3756 else
3757 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3758 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3759 { (exit 1); exit 1; }; }
3760 fi
3761
3762
3763 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3764 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3765
3766 # Check whether --with-libjpeg was given.
3767 if test "${with_libjpeg+set}" = set; then
3768 withval=$with_libjpeg;
3769 if test "$withval" = yes; then
3770 wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3771 elif test "$withval" = no; then
3772 wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3773 elif test "$withval" = sys; then
3774 wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3775 elif test "$withval" = builtin; then
3776 wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3777 else
3778 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3779 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3780 { (exit 1); exit 1; }; }
3781 fi
3782
3783 else
3784
3785 wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3786
3787 fi
3788
3789
3790 eval "$wx_cv_use_libjpeg"
3791
3792 if test "$wxUSE_LIBJPEG" = yes; then
3793 { echo "$as_me:$LINENO: result: yes" >&5
3794 echo "${ECHO_T}yes" >&6; }
3795 elif test "$wxUSE_LIBJPEG" = no; then
3796 { echo "$as_me:$LINENO: result: no" >&5
3797 echo "${ECHO_T}no" >&6; }
3798 elif test "$wxUSE_LIBJPEG" = sys; then
3799 { echo "$as_me:$LINENO: result: system version" >&5
3800 echo "${ECHO_T}system version" >&6; }
3801 elif test "$wxUSE_LIBJPEG" = builtin; then
3802 { echo "$as_me:$LINENO: result: builtin version" >&5
3803 echo "${ECHO_T}builtin version" >&6; }
3804 else
3805 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3806 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3807 { (exit 1); exit 1; }; }
3808 fi
3809
3810
3811 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3812 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3813
3814 # Check whether --with-libtiff was given.
3815 if test "${with_libtiff+set}" = set; then
3816 withval=$with_libtiff;
3817 if test "$withval" = yes; then
3818 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3819 elif test "$withval" = no; then
3820 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3821 elif test "$withval" = sys; then
3822 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3823 elif test "$withval" = builtin; then
3824 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3825 else
3826 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3827 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3828 { (exit 1); exit 1; }; }
3829 fi
3830
3831 else
3832
3833 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3834
3835 fi
3836
3837
3838 eval "$wx_cv_use_libtiff"
3839
3840 if test "$wxUSE_LIBTIFF" = yes; then
3841 { echo "$as_me:$LINENO: result: yes" >&5
3842 echo "${ECHO_T}yes" >&6; }
3843 elif test "$wxUSE_LIBTIFF" = no; then
3844 { echo "$as_me:$LINENO: result: no" >&5
3845 echo "${ECHO_T}no" >&6; }
3846 elif test "$wxUSE_LIBTIFF" = sys; then
3847 { echo "$as_me:$LINENO: result: system version" >&5
3848 echo "${ECHO_T}system version" >&6; }
3849 elif test "$wxUSE_LIBTIFF" = builtin; then
3850 { echo "$as_me:$LINENO: result: builtin version" >&5
3851 echo "${ECHO_T}builtin version" >&6; }
3852 else
3853 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3854 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3855 { (exit 1); exit 1; }; }
3856 fi
3857
3858
3859 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3860 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3861
3862 # Check whether --with-libxpm was given.
3863 if test "${with_libxpm+set}" = set; then
3864 withval=$with_libxpm;
3865 if test "$withval" = yes; then
3866 wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
3867 elif test "$withval" = no; then
3868 wx_cv_use_libxpm='wxUSE_LIBXPM=no'
3869 elif test "$withval" = sys; then
3870 wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
3871 elif test "$withval" = builtin; then
3872 wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3873 else
3874 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3875 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3876 { (exit 1); exit 1; }; }
3877 fi
3878
3879 else
3880
3881 wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3882
3883 fi
3884
3885
3886 eval "$wx_cv_use_libxpm"
3887
3888 if test "$wxUSE_LIBXPM" = yes; then
3889 { echo "$as_me:$LINENO: result: yes" >&5
3890 echo "${ECHO_T}yes" >&6; }
3891 elif test "$wxUSE_LIBXPM" = no; then
3892 { echo "$as_me:$LINENO: result: no" >&5
3893 echo "${ECHO_T}no" >&6; }
3894 elif test "$wxUSE_LIBXPM" = sys; then
3895 { echo "$as_me:$LINENO: result: system version" >&5
3896 echo "${ECHO_T}system version" >&6; }
3897 elif test "$wxUSE_LIBXPM" = builtin; then
3898 { echo "$as_me:$LINENO: result: builtin version" >&5
3899 echo "${ECHO_T}builtin version" >&6; }
3900 else
3901 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3902 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3903 { (exit 1); exit 1; }; }
3904 fi
3905
3906
3907 withstring=
3908 defaultval=$wxUSE_ALL_FEATURES
3909 if test -z "$defaultval"; then
3910 if test x"$withstring" = xwithout; then
3911 defaultval=yes
3912 else
3913 defaultval=no
3914 fi
3915 fi
3916 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libiconv" >&5
3917 echo $ECHO_N "checking for --${withstring:-with}-libiconv... $ECHO_C" >&6; }
3918
3919 # Check whether --with-libiconv was given.
3920 if test "${with_libiconv+set}" = set; then
3921 withval=$with_libiconv;
3922 if test "$withval" = yes; then
3923 wx_cv_use_libiconv='wxUSE_LIBICONV=yes'
3924 else
3925 wx_cv_use_libiconv='wxUSE_LIBICONV=no'
3926 fi
3927
3928 else
3929
3930 wx_cv_use_libiconv='wxUSE_LIBICONV=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
3931
3932 fi
3933
3934
3935 eval "$wx_cv_use_libiconv"
3936
3937 if test x"$withstring" = xwithout; then
3938 if test $wxUSE_LIBICONV = yes; then
3939 result=no
3940 else
3941 result=yes
3942 fi
3943 else
3944 result=$wxUSE_LIBICONV
3945 fi
3946
3947 { echo "$as_me:$LINENO: result: $result" >&5
3948 echo "${ECHO_T}$result" >&6; }
3949
3950
3951 withstring=
3952 defaultval=$wxUSE_ALL_FEATURES
3953 if test -z "$defaultval"; then
3954 if test x"$withstring" = xwithout; then
3955 defaultval=yes
3956 else
3957 defaultval=no
3958 fi
3959 fi
3960 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3961 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3962
3963 # Check whether --with-libmspack was given.
3964 if test "${with_libmspack+set}" = set; then
3965 withval=$with_libmspack;
3966 if test "$withval" = yes; then
3967 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3968 else
3969 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3970 fi
3971
3972 else
3973
3974 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3975
3976 fi
3977
3978
3979 eval "$wx_cv_use_libmspack"
3980
3981 if test x"$withstring" = xwithout; then
3982 if test $wxUSE_LIBMSPACK = yes; then
3983 result=no
3984 else
3985 result=yes
3986 fi
3987 else
3988 result=$wxUSE_LIBMSPACK
3989 fi
3990
3991 { echo "$as_me:$LINENO: result: $result" >&5
3992 echo "${ECHO_T}$result" >&6; }
3993
3994
3995 withstring=without
3996 defaultval=$wxUSE_ALL_FEATURES
3997 if test -z "$defaultval"; then
3998 if test x"$withstring" = xwithout; then
3999 defaultval=yes
4000 else
4001 defaultval=no
4002 fi
4003 fi
4004 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gtkprint" >&5
4005 echo $ECHO_N "checking for --${withstring:-with}-gtkprint... $ECHO_C" >&6; }
4006
4007 # Check whether --with-gtkprint was given.
4008 if test "${with_gtkprint+set}" = set; then
4009 withval=$with_gtkprint;
4010 if test "$withval" = yes; then
4011 wx_cv_use_gtkprint='wxUSE_GTKPRINT=yes'
4012 else
4013 wx_cv_use_gtkprint='wxUSE_GTKPRINT=no'
4014 fi
4015
4016 else
4017
4018 wx_cv_use_gtkprint='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
4019
4020 fi
4021
4022
4023 eval "$wx_cv_use_gtkprint"
4024
4025 if test x"$withstring" = xwithout; then
4026 if test $wxUSE_GTKPRINT = yes; then
4027 result=no
4028 else
4029 result=yes
4030 fi
4031 else
4032 result=$wxUSE_GTKPRINT
4033 fi
4034
4035 { echo "$as_me:$LINENO: result: $result" >&5
4036 echo "${ECHO_T}$result" >&6; }
4037
4038
4039 withstring=without
4040 defaultval=$wxUSE_ALL_FEATURES
4041 if test -z "$defaultval"; then
4042 if test x"$withstring" = xwithout; then
4043 defaultval=yes
4044 else
4045 defaultval=no
4046 fi
4047 fi
4048 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
4049 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
4050
4051 # Check whether --with-gnomeprint was given.
4052 if test "${with_gnomeprint+set}" = set; then
4053 withval=$with_gnomeprint;
4054 if test "$withval" = yes; then
4055 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
4056 else
4057 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
4058 fi
4059
4060 else
4061
4062 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
4063
4064 fi
4065
4066
4067 eval "$wx_cv_use_gnomeprint"
4068
4069 if test x"$withstring" = xwithout; then
4070 if test $wxUSE_LIBGNOMEPRINT = yes; then
4071 result=no
4072 else
4073 result=yes
4074 fi
4075 else
4076 result=$wxUSE_LIBGNOMEPRINT
4077 fi
4078
4079 { echo "$as_me:$LINENO: result: $result" >&5
4080 echo "${ECHO_T}$result" >&6; }
4081
4082
4083 withstring=
4084 defaultval=$wxUSE_ALL_FEATURES
4085 if test -z "$defaultval"; then
4086 if test x"$withstring" = xwithout; then
4087 defaultval=yes
4088 else
4089 defaultval=no
4090 fi
4091 fi
4092 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
4093 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
4094
4095 # Check whether --with-gnomevfs was given.
4096 if test "${with_gnomevfs+set}" = set; then
4097 withval=$with_gnomevfs;
4098 if test "$withval" = yes; then
4099 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
4100 else
4101 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
4102 fi
4103
4104 else
4105
4106 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
4107
4108 fi
4109
4110
4111 eval "$wx_cv_use_gnomevfs"
4112
4113 if test x"$withstring" = xwithout; then
4114 if test $wxUSE_LIBGNOMEVFS = yes; then
4115 result=no
4116 else
4117 result=yes
4118 fi
4119 else
4120 result=$wxUSE_LIBGNOMEVFS
4121 fi
4122
4123 { echo "$as_me:$LINENO: result: $result" >&5
4124 echo "${ECHO_T}$result" >&6; }
4125
4126
4127 withstring=
4128 defaultval=$wxUSE_ALL_FEATURES
4129 if test -z "$defaultval"; then
4130 if test x"$withstring" = xwithout; then
4131 defaultval=yes
4132 else
4133 defaultval=no
4134 fi
4135 fi
4136 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
4137 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
4138
4139 # Check whether --with-hildon was given.
4140 if test "${with_hildon+set}" = set; then
4141 withval=$with_hildon;
4142 if test "$withval" = yes; then
4143 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
4144 else
4145 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
4146 fi
4147
4148 else
4149
4150 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
4151
4152 fi
4153
4154
4155 eval "$wx_cv_use_hildon"
4156
4157 if test x"$withstring" = xwithout; then
4158 if test $wxUSE_LIBHILDON = yes; then
4159 result=no
4160 else
4161 result=yes
4162 fi
4163 else
4164 result=$wxUSE_LIBHILDON
4165 fi
4166
4167 { echo "$as_me:$LINENO: result: $result" >&5
4168 echo "${ECHO_T}$result" >&6; }
4169
4170
4171 withstring=
4172 defaultval=$wxUSE_ALL_FEATURES
4173 if test -z "$defaultval"; then
4174 if test x"$withstring" = xwithout; then
4175 defaultval=yes
4176 else
4177 defaultval=no
4178 fi
4179 fi
4180 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4181 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4182
4183 # Check whether --with-opengl was given.
4184 if test "${with_opengl+set}" = set; then
4185 withval=$with_opengl;
4186 if test "$withval" = yes; then
4187 wx_cv_use_opengl='wxUSE_OPENGL=yes'
4188 else
4189 wx_cv_use_opengl='wxUSE_OPENGL=no'
4190 fi
4191
4192 else
4193
4194 wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4195
4196 fi
4197
4198
4199 eval "$wx_cv_use_opengl"
4200
4201 if test x"$withstring" = xwithout; then
4202 if test $wxUSE_OPENGL = yes; then
4203 result=no
4204 else
4205 result=yes
4206 fi
4207 else
4208 result=$wxUSE_OPENGL
4209 fi
4210
4211 { echo "$as_me:$LINENO: result: $result" >&5
4212 echo "${ECHO_T}$result" >&6; }
4213
4214
4215 fi
4216
4217
4218 withstring=
4219 defaultval=$wxUSE_ALL_FEATURES
4220 if test -z "$defaultval"; then
4221 if test x"$withstring" = xwithout; then
4222 defaultval=yes
4223 else
4224 defaultval=no
4225 fi
4226 fi
4227 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4228 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4229
4230 # Check whether --with-dmalloc was given.
4231 if test "${with_dmalloc+set}" = set; then
4232 withval=$with_dmalloc;
4233 if test "$withval" = yes; then
4234 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4235 else
4236 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4237 fi
4238
4239 else
4240
4241 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4242
4243 fi
4244
4245
4246 eval "$wx_cv_use_dmalloc"
4247
4248 if test x"$withstring" = xwithout; then
4249 if test $wxUSE_DMALLOC = yes; then
4250 result=no
4251 else
4252 result=yes
4253 fi
4254 else
4255 result=$wxUSE_DMALLOC
4256 fi
4257
4258 { echo "$as_me:$LINENO: result: $result" >&5
4259 echo "${ECHO_T}$result" >&6; }
4260
4261
4262 withstring=
4263 defaultval=$wxUSE_ALL_FEATURES
4264 if test -z "$defaultval"; then
4265 if test x"$withstring" = xwithout; then
4266 defaultval=yes
4267 else
4268 defaultval=no
4269 fi
4270 fi
4271 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4272 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4273
4274 # Check whether --with-sdl was given.
4275 if test "${with_sdl+set}" = set; then
4276 withval=$with_sdl;
4277 if test "$withval" = yes; then
4278 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
4279 else
4280 wx_cv_use_sdl='wxUSE_LIBSDL=no'
4281 fi
4282
4283 else
4284
4285 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4286
4287 fi
4288
4289
4290 eval "$wx_cv_use_sdl"
4291
4292 if test x"$withstring" = xwithout; then
4293 if test $wxUSE_LIBSDL = yes; then
4294 result=no
4295 else
4296 result=yes
4297 fi
4298 else
4299 result=$wxUSE_LIBSDL
4300 fi
4301
4302 { echo "$as_me:$LINENO: result: $result" >&5
4303 echo "${ECHO_T}$result" >&6; }
4304
4305
4306 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4307 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4308
4309 # Check whether --with-regex was given.
4310 if test "${with_regex+set}" = set; then
4311 withval=$with_regex;
4312 if test "$withval" = yes; then
4313 wx_cv_use_regex='wxUSE_REGEX=yes'
4314 elif test "$withval" = no; then
4315 wx_cv_use_regex='wxUSE_REGEX=no'
4316 elif test "$withval" = sys; then
4317 wx_cv_use_regex='wxUSE_REGEX=sys'
4318 elif test "$withval" = builtin; then
4319 wx_cv_use_regex='wxUSE_REGEX=builtin'
4320 else
4321 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4322 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4323 { (exit 1); exit 1; }; }
4324 fi
4325
4326 else
4327
4328 wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4329
4330 fi
4331
4332
4333 eval "$wx_cv_use_regex"
4334
4335 if test "$wxUSE_REGEX" = yes; then
4336 { echo "$as_me:$LINENO: result: yes" >&5
4337 echo "${ECHO_T}yes" >&6; }
4338 elif test "$wxUSE_REGEX" = no; then
4339 { echo "$as_me:$LINENO: result: no" >&5
4340 echo "${ECHO_T}no" >&6; }
4341 elif test "$wxUSE_REGEX" = sys; then
4342 { echo "$as_me:$LINENO: result: system version" >&5
4343 echo "${ECHO_T}system version" >&6; }
4344 elif test "$wxUSE_REGEX" = builtin; then
4345 { echo "$as_me:$LINENO: result: builtin version" >&5
4346 echo "${ECHO_T}builtin version" >&6; }
4347 else
4348 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4349 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4350 { (exit 1); exit 1; }; }
4351 fi
4352
4353
4354 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4355 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4356
4357 # Check whether --with-zlib was given.
4358 if test "${with_zlib+set}" = set; then
4359 withval=$with_zlib;
4360 if test "$withval" = yes; then
4361 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4362 elif test "$withval" = no; then
4363 wx_cv_use_zlib='wxUSE_ZLIB=no'
4364 elif test "$withval" = sys; then
4365 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4366 elif test "$withval" = builtin; then
4367 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4368 else
4369 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4370 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4371 { (exit 1); exit 1; }; }
4372 fi
4373
4374 else
4375
4376 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4377
4378 fi
4379
4380
4381 eval "$wx_cv_use_zlib"
4382
4383 if test "$wxUSE_ZLIB" = yes; then
4384 { echo "$as_me:$LINENO: result: yes" >&5
4385 echo "${ECHO_T}yes" >&6; }
4386 elif test "$wxUSE_ZLIB" = no; then
4387 { echo "$as_me:$LINENO: result: no" >&5
4388 echo "${ECHO_T}no" >&6; }
4389 elif test "$wxUSE_ZLIB" = sys; then
4390 { echo "$as_me:$LINENO: result: system version" >&5
4391 echo "${ECHO_T}system version" >&6; }
4392 elif test "$wxUSE_ZLIB" = builtin; then
4393 { echo "$as_me:$LINENO: result: builtin version" >&5
4394 echo "${ECHO_T}builtin version" >&6; }
4395 else
4396 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4397 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4398 { (exit 1); exit 1; }; }
4399 fi
4400
4401
4402 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4403 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4404
4405 # Check whether --with-expat was given.
4406 if test "${with_expat+set}" = set; then
4407 withval=$with_expat;
4408 if test "$withval" = yes; then
4409 wx_cv_use_expat='wxUSE_EXPAT=yes'
4410 elif test "$withval" = no; then
4411 wx_cv_use_expat='wxUSE_EXPAT=no'
4412 elif test "$withval" = sys; then
4413 wx_cv_use_expat='wxUSE_EXPAT=sys'
4414 elif test "$withval" = builtin; then
4415 wx_cv_use_expat='wxUSE_EXPAT=builtin'
4416 else
4417 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4418 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4419 { (exit 1); exit 1; }; }
4420 fi
4421
4422 else
4423
4424 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4425
4426 fi
4427
4428
4429 eval "$wx_cv_use_expat"
4430
4431 if test "$wxUSE_EXPAT" = yes; then
4432 { echo "$as_me:$LINENO: result: yes" >&5
4433 echo "${ECHO_T}yes" >&6; }
4434 elif test "$wxUSE_EXPAT" = no; then
4435 { echo "$as_me:$LINENO: result: no" >&5
4436 echo "${ECHO_T}no" >&6; }
4437 elif test "$wxUSE_EXPAT" = sys; then
4438 { echo "$as_me:$LINENO: result: system version" >&5
4439 echo "${ECHO_T}system version" >&6; }
4440 elif test "$wxUSE_EXPAT" = builtin; then
4441 { echo "$as_me:$LINENO: result: builtin version" >&5
4442 echo "${ECHO_T}builtin version" >&6; }
4443 else
4444 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4445 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4446 { (exit 1); exit 1; }; }
4447 fi
4448
4449
4450 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4451 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4452
4453 # Check whether --with-macosx-sdk was given.
4454 if test "${with_macosx_sdk+set}" = set; then
4455 withval=$with_macosx_sdk;
4456 wxUSE_MACOSX_SDK=$withval
4457 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4458
4459 fi
4460
4461 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4462 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4463
4464 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4465 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4466
4467 # Check whether --with-macosx-version-min was given.
4468 if test "${with_macosx_version_min+set}" = set; then
4469 withval=$with_macosx_version_min;
4470 wxUSE_MACOSX_VERSION_MIN=$withval
4471 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4472
4473 fi
4474
4475 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4476 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4477
4478
4479 { echo "$as_me:$LINENO: checking for --enable-debug" >&5
4480 echo $ECHO_N "checking for --enable-debug... $ECHO_C" >&6; }
4481 # Check whether --enable-debug was given.
4482 if test "${enable_debug+set}" = set; then
4483 enableval=$enable_debug;
4484 if test "$enableval" = yes; then
4485 wxUSE_DEBUG=yes
4486 elif test "$enableval" = no; then
4487 wxUSE_DEBUG=no
4488 elif test "$enableval" = max; then
4489 wxUSE_DEBUG=yes
4490 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=2"
4491 else
4492 { { echo "$as_me:$LINENO: error: Invalid --enable-debug value, must be yes, no or max" >&5
4493 echo "$as_me: error: Invalid --enable-debug value, must be yes, no or max" >&2;}
4494 { (exit 1); exit 1; }; }
4495 fi
4496
4497 else
4498 wxUSE_DEBUG=default
4499
4500 fi
4501
4502 { echo "$as_me:$LINENO: result: ${enable_debug-default}" >&5
4503 echo "${ECHO_T}${enable_debug-default}" >&6; }
4504
4505 case "$wxUSE_DEBUG" in
4506 yes)
4507 DEFAULT_wxUSE_DEBUG_FLAG=yes
4508 DEFAULT_wxUSE_DEBUG_INFO=yes
4509
4510 DEFAULT_wxUSE_OPTIMISE=no
4511 ;;
4512
4513 no)
4514 DEFAULT_wxUSE_DEBUG_FLAG=no
4515 DEFAULT_wxUSE_DEBUG_INFO=no
4516 ;;
4517
4518 default)
4519 DEFAULT_wxUSE_DEBUG_FLAG=yes
4520 DEFAULT_wxUSE_DEBUG_INFO=no
4521 ;;
4522 esac
4523
4524
4525 enablestring=disable
4526 defaultval=
4527 if test -z "$defaultval"; then
4528 if test x"$enablestring" = xdisable; then
4529 defaultval=yes
4530 else
4531 defaultval=no
4532 fi
4533 fi
4534
4535 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4536 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4537 # Check whether --enable-debug_flag was given.
4538 if test "${enable_debug_flag+set}" = set; then
4539 enableval=$enable_debug_flag;
4540 if test "$enableval" = yes; then
4541 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4542 else
4543 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4544 fi
4545
4546 else
4547
4548 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
4549
4550 fi
4551
4552
4553 eval "$wx_cv_use_debug_flag"
4554
4555 if test x"$enablestring" = xdisable; then
4556 if test $wxUSE_DEBUG_FLAG = no; then
4557 result=yes
4558 else
4559 result=no
4560 fi
4561 else
4562 result=$wxUSE_DEBUG_FLAG
4563 fi
4564
4565 { echo "$as_me:$LINENO: result: $result" >&5
4566 echo "${ECHO_T}$result" >&6; }
4567
4568
4569 enablestring=
4570 defaultval=
4571 if test -z "$defaultval"; then
4572 if test x"$enablestring" = xdisable; then
4573 defaultval=yes
4574 else
4575 defaultval=no
4576 fi
4577 fi
4578
4579 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4580 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
4581 # Check whether --enable-debug_info was given.
4582 if test "${enable_debug_info+set}" = set; then
4583 enableval=$enable_debug_info;
4584 if test "$enableval" = yes; then
4585 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4586 else
4587 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4588 fi
4589
4590 else
4591
4592 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
4593
4594 fi
4595
4596
4597 eval "$wx_cv_use_debug_info"
4598
4599 if test x"$enablestring" = xdisable; then
4600 if test $wxUSE_DEBUG_INFO = no; then
4601 result=yes
4602 else
4603 result=no
4604 fi
4605 else
4606 result=$wxUSE_DEBUG_INFO
4607 fi
4608
4609 { echo "$as_me:$LINENO: result: $result" >&5
4610 echo "${ECHO_T}$result" >&6; }
4611
4612
4613
4614
4615 enablestring=
4616 defaultval=
4617 if test -z "$defaultval"; then
4618 if test x"$enablestring" = xdisable; then
4619 defaultval=yes
4620 else
4621 defaultval=no
4622 fi
4623 fi
4624
4625 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4626 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4627 # Check whether --enable-debug_gdb was given.
4628 if test "${enable_debug_gdb+set}" = set; then
4629 enableval=$enable_debug_gdb;
4630 if test "$enableval" = yes; then
4631 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4632 else
4633 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4634 fi
4635
4636 else
4637
4638 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
4639
4640 fi
4641
4642
4643 eval "$wx_cv_use_debug_gdb"
4644
4645 if test x"$enablestring" = xdisable; then
4646 if test $wxUSE_DEBUG_GDB = no; then
4647 result=yes
4648 else
4649 result=no
4650 fi
4651 else
4652 result=$wxUSE_DEBUG_GDB
4653 fi
4654
4655 { echo "$as_me:$LINENO: result: $result" >&5
4656 echo "${ECHO_T}$result" >&6; }
4657
4658
4659 enablestring=
4660 defaultval=
4661 if test -z "$defaultval"; then
4662 if test x"$enablestring" = xdisable; then
4663 defaultval=yes
4664 else
4665 defaultval=no
4666 fi
4667 fi
4668
4669 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4670 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
4671 # Check whether --enable-debug_cntxt was given.
4672 if test "${enable_debug_cntxt+set}" = set; then
4673 enableval=$enable_debug_cntxt;
4674 if test "$enableval" = yes; then
4675 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4676 else
4677 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4678 fi
4679
4680 else
4681
4682 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
4683
4684 fi
4685
4686
4687 eval "$wx_cv_use_debug_cntxt"
4688
4689 if test x"$enablestring" = xdisable; then
4690 if test $wxUSE_DEBUG_CONTEXT = no; then
4691 result=yes
4692 else
4693 result=no
4694 fi
4695 else
4696 result=$wxUSE_DEBUG_CONTEXT
4697 fi
4698
4699 { echo "$as_me:$LINENO: result: $result" >&5
4700 echo "${ECHO_T}$result" >&6; }
4701
4702
4703 enablestring=
4704 defaultval=
4705 if test -z "$defaultval"; then
4706 if test x"$enablestring" = xdisable; then
4707 defaultval=yes
4708 else
4709 defaultval=no
4710 fi
4711 fi
4712
4713 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4714 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
4715 # Check whether --enable-mem_tracing was given.
4716 if test "${enable_mem_tracing+set}" = set; then
4717 enableval=$enable_mem_tracing;
4718 if test "$enableval" = yes; then
4719 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4720 else
4721 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4722 fi
4723
4724 else
4725
4726 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
4727
4728 fi
4729
4730
4731 eval "$wx_cv_use_mem_tracing"
4732
4733 if test x"$enablestring" = xdisable; then
4734 if test $wxUSE_MEM_TRACING = no; then
4735 result=yes
4736 else
4737 result=no
4738 fi
4739 else
4740 result=$wxUSE_MEM_TRACING
4741 fi
4742
4743 { echo "$as_me:$LINENO: result: $result" >&5
4744 echo "${ECHO_T}$result" >&6; }
4745
4746
4747
4748
4749 enablestring=disable
4750 defaultval=
4751 if test -z "$defaultval"; then
4752 if test x"$enablestring" = xdisable; then
4753 defaultval=yes
4754 else
4755 defaultval=no
4756 fi
4757 fi
4758
4759 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4760 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4761 # Check whether --enable-shared was given.
4762 if test "${enable_shared+set}" = set; then
4763 enableval=$enable_shared;
4764 if test "$enableval" = yes; then
4765 wx_cv_use_shared='wxUSE_SHARED=yes'
4766 else
4767 wx_cv_use_shared='wxUSE_SHARED=no'
4768 fi
4769
4770 else
4771
4772 wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4773
4774 fi
4775
4776
4777 eval "$wx_cv_use_shared"
4778
4779 if test x"$enablestring" = xdisable; then
4780 if test $wxUSE_SHARED = no; then
4781 result=yes
4782 else
4783 result=no
4784 fi
4785 else
4786 result=$wxUSE_SHARED
4787 fi
4788
4789 { echo "$as_me:$LINENO: result: $result" >&5
4790 echo "${ECHO_T}$result" >&6; }
4791
4792
4793 enablestring=
4794 defaultval=
4795 if test -z "$defaultval"; then
4796 if test x"$enablestring" = xdisable; then
4797 defaultval=yes
4798 else
4799 defaultval=no
4800 fi
4801 fi
4802
4803 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4804 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4805 # Check whether --enable-stl was given.
4806 if test "${enable_stl+set}" = set; then
4807 enableval=$enable_stl;
4808 if test "$enableval" = yes; then
4809 wx_cv_use_stl='wxUSE_STL=yes'
4810 else
4811 wx_cv_use_stl='wxUSE_STL=no'
4812 fi
4813
4814 else
4815
4816 wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4817
4818 fi
4819
4820
4821 eval "$wx_cv_use_stl"
4822
4823 if test x"$enablestring" = xdisable; then
4824 if test $wxUSE_STL = no; then
4825 result=yes
4826 else
4827 result=no
4828 fi
4829 else
4830 result=$wxUSE_STL
4831 fi
4832
4833 { echo "$as_me:$LINENO: result: $result" >&5
4834 echo "${ECHO_T}$result" >&6; }
4835
4836 if test "$wxUSE_STL" = "yes"; then
4837 DEFAULT_wxUSE_STD_CONTAINERS=yes
4838 DEFAULT_wxUSE_STD_IOSTREAM=yes
4839 DEFAULT_wxUSE_STD_STRING=yes
4840 fi
4841
4842 enablestring=
4843 defaultval=
4844 if test -z "$defaultval"; then
4845 if test x"$enablestring" = xdisable; then
4846 defaultval=yes
4847 else
4848 defaultval=no
4849 fi
4850 fi
4851
4852 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_containers" >&5
4853 echo $ECHO_N "checking for --${enablestring:-enable}-std_containers... $ECHO_C" >&6; }
4854 # Check whether --enable-std_containers was given.
4855 if test "${enable_std_containers+set}" = set; then
4856 enableval=$enable_std_containers;
4857 if test "$enableval" = yes; then
4858 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=yes'
4859 else
4860 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=no'
4861 fi
4862
4863 else
4864
4865 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=${'DEFAULT_wxUSE_STD_CONTAINERS":-$defaultval}"
4866
4867 fi
4868
4869
4870 eval "$wx_cv_use_std_containers"
4871
4872 if test x"$enablestring" = xdisable; then
4873 if test $wxUSE_STD_CONTAINERS = no; then
4874 result=yes
4875 else
4876 result=no
4877 fi
4878 else
4879 result=$wxUSE_STD_CONTAINERS
4880 fi
4881
4882 { echo "$as_me:$LINENO: result: $result" >&5
4883 echo "${ECHO_T}$result" >&6; }
4884
4885
4886 enablestring=
4887 defaultval=
4888 if test -z "$defaultval"; then
4889 if test x"$enablestring" = xdisable; then
4890 defaultval=yes
4891 else
4892 defaultval=no
4893 fi
4894 fi
4895
4896 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4897 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4898 # Check whether --enable-std_iostreams was given.
4899 if test "${enable_std_iostreams+set}" = set; then
4900 enableval=$enable_std_iostreams;
4901 if test "$enableval" = yes; then
4902 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4903 else
4904 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4905 fi
4906
4907 else
4908
4909 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4910
4911 fi
4912
4913
4914 eval "$wx_cv_use_std_iostreams"
4915
4916 if test x"$enablestring" = xdisable; then
4917 if test $wxUSE_STD_IOSTREAM = no; then
4918 result=yes
4919 else
4920 result=no
4921 fi
4922 else
4923 result=$wxUSE_STD_IOSTREAM
4924 fi
4925
4926 { echo "$as_me:$LINENO: result: $result" >&5
4927 echo "${ECHO_T}$result" >&6; }
4928
4929
4930 enablestring=
4931 defaultval=
4932 if test -z "$defaultval"; then
4933 if test x"$enablestring" = xdisable; then
4934 defaultval=yes
4935 else
4936 defaultval=no
4937 fi
4938 fi
4939
4940 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4941 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4942 # Check whether --enable-std_string was given.
4943 if test "${enable_std_string+set}" = set; then
4944 enableval=$enable_std_string;
4945 if test "$enableval" = yes; then
4946 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4947 else
4948 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4949 fi
4950
4951 else
4952
4953 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4954
4955 fi
4956
4957
4958 eval "$wx_cv_use_std_string"
4959
4960 if test x"$enablestring" = xdisable; then
4961 if test $wxUSE_STD_STRING = no; then
4962 result=yes
4963 else
4964 result=no
4965 fi
4966 else
4967 result=$wxUSE_STD_STRING
4968 fi
4969
4970 { echo "$as_me:$LINENO: result: $result" >&5
4971 echo "${ECHO_T}$result" >&6; }
4972
4973
4974 enablestring=
4975 defaultval=
4976 if test -z "$defaultval"; then
4977 if test x"$enablestring" = xdisable; then
4978 defaultval=yes
4979 else
4980 defaultval=no
4981 fi
4982 fi
4983
4984 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string_conv_in_wxstring" >&5
4985 echo $ECHO_N "checking for --${enablestring:-enable}-std_string_conv_in_wxstring... $ECHO_C" >&6; }
4986 # Check whether --enable-std_string_conv_in_wxstring was given.
4987 if test "${enable_std_string_conv_in_wxstring+set}" = set; then
4988 enableval=$enable_std_string_conv_in_wxstring;
4989 if test "$enableval" = yes; then
4990 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=yes'
4991 else
4992 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=no'
4993 fi
4994
4995 else
4996
4997 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=${'DEFAULT_wxUSE_STD_STRING_CONV_IN_WXSTRING":-$defaultval}"
4998
4999 fi
5000
5001
5002 eval "$wx_cv_use_std_string_conv_in_wxstring"
5003
5004 if test x"$enablestring" = xdisable; then
5005 if test $wxUSE_STD_STRING_CONV_IN_WXSTRING = no; then
5006 result=yes
5007 else
5008 result=no
5009 fi
5010 else
5011 result=$wxUSE_STD_STRING_CONV_IN_WXSTRING
5012 fi
5013
5014 { echo "$as_me:$LINENO: result: $result" >&5
5015 echo "${ECHO_T}$result" >&6; }
5016
5017
5018 enablestring=disable
5019 defaultval=
5020 if test -z "$defaultval"; then
5021 if test x"$enablestring" = xdisable; then
5022 defaultval=yes
5023 else
5024 defaultval=no
5025 fi
5026 fi
5027
5028 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
5029 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
5030 # Check whether --enable-unicode was given.
5031 if test "${enable_unicode+set}" = set; then
5032 enableval=$enable_unicode;
5033 if test "$enableval" = yes; then
5034 wx_cv_use_unicode='wxUSE_UNICODE=yes'
5035 else
5036 wx_cv_use_unicode='wxUSE_UNICODE=no'
5037 fi
5038
5039 else
5040
5041 wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
5042
5043 fi
5044
5045
5046 eval "$wx_cv_use_unicode"
5047
5048 if test x"$enablestring" = xdisable; then
5049 if test $wxUSE_UNICODE = no; then
5050 result=yes
5051 else
5052 result=no
5053 fi
5054 else
5055 result=$wxUSE_UNICODE
5056 fi
5057
5058 { echo "$as_me:$LINENO: result: $result" >&5
5059 echo "${ECHO_T}$result" >&6; }
5060
5061
5062 enablestring=
5063 defaultval=
5064 if test -z "$defaultval"; then
5065 if test x"$enablestring" = xdisable; then
5066 defaultval=yes
5067 else
5068 defaultval=no
5069 fi
5070 fi
5071
5072 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5073 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
5074 # Check whether --enable-mslu was given.
5075 if test "${enable_mslu+set}" = set; then
5076 enableval=$enable_mslu;
5077 if test "$enableval" = yes; then
5078 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
5079 else
5080 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
5081 fi
5082
5083 else
5084
5085 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
5086
5087 fi
5088
5089
5090 eval "$wx_cv_use_mslu"
5091
5092 if test x"$enablestring" = xdisable; then
5093 if test $wxUSE_UNICODE_MSLU = no; then
5094 result=yes
5095 else
5096 result=no
5097 fi
5098 else
5099 result=$wxUSE_UNICODE_MSLU
5100 fi
5101
5102 { echo "$as_me:$LINENO: result: $result" >&5
5103 echo "${ECHO_T}$result" >&6; }
5104
5105
5106 enablestring=
5107 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
5108 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
5109 # Check whether --enable-utf8 was given.
5110 if test "${enable_utf8+set}" = set; then
5111 enableval=$enable_utf8;
5112 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
5113
5114 else
5115
5116 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
5117
5118 fi
5119
5120
5121 eval "$wx_cv_use_utf8"
5122
5123 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
5124 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
5125
5126
5127 enablestring=
5128 defaultval=
5129 if test -z "$defaultval"; then
5130 if test x"$enablestring" = xdisable; then
5131 defaultval=yes
5132 else
5133 defaultval=no
5134 fi
5135 fi
5136
5137 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
5138 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
5139 # Check whether --enable-utf8only was given.
5140 if test "${enable_utf8only+set}" = set; then
5141 enableval=$enable_utf8only;
5142 if test "$enableval" = yes; then
5143 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
5144 else
5145 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
5146 fi
5147
5148 else
5149
5150 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
5151
5152 fi
5153
5154
5155 eval "$wx_cv_use_utf8only"
5156
5157 if test x"$enablestring" = xdisable; then
5158 if test $wxUSE_UNICODE_UTF8_LOCALE = no; then
5159 result=yes
5160 else
5161 result=no
5162 fi
5163 else
5164 result=$wxUSE_UNICODE_UTF8_LOCALE
5165 fi
5166
5167 { echo "$as_me:$LINENO: result: $result" >&5
5168 echo "${ECHO_T}$result" >&6; }
5169
5170
5171 enablestring=
5172 defaultval=
5173 if test -z "$defaultval"; then
5174 if test x"$enablestring" = xdisable; then
5175 defaultval=yes
5176 else
5177 defaultval=no
5178 fi
5179 fi
5180
5181 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
5182 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
5183 # Check whether --enable-extended_rtti was given.
5184 if test "${enable_extended_rtti+set}" = set; then
5185 enableval=$enable_extended_rtti;
5186 if test "$enableval" = yes; then
5187 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
5188 else
5189 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
5190 fi
5191
5192 else
5193
5194 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
5195
5196 fi
5197
5198
5199 eval "$wx_cv_use_extended_rtti"
5200
5201 if test x"$enablestring" = xdisable; then
5202 if test $wxUSE_EXTENDED_RTTI = no; then
5203 result=yes
5204 else
5205 result=no
5206 fi
5207 else
5208 result=$wxUSE_EXTENDED_RTTI
5209 fi
5210
5211 { echo "$as_me:$LINENO: result: $result" >&5
5212 echo "${ECHO_T}$result" >&6; }
5213
5214 if test "$USE_OS2" = 1; then
5215 DEFAULT_wxUSE_OMF=no
5216
5217 enablestring=
5218 defaultval=
5219 if test -z "$defaultval"; then
5220 if test x"$enablestring" = xdisable; then
5221 defaultval=yes
5222 else
5223 defaultval=no
5224 fi
5225 fi
5226
5227 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
5228 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
5229 # Check whether --enable-omf was given.
5230 if test "${enable_omf+set}" = set; then
5231 enableval=$enable_omf;
5232 if test "$enableval" = yes; then
5233 wx_cv_use_omf='wxUSE_OMF=yes'
5234 else
5235 wx_cv_use_omf='wxUSE_OMF=no'
5236 fi
5237
5238 else
5239
5240 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
5241
5242 fi
5243
5244
5245 eval "$wx_cv_use_omf"
5246
5247 if test x"$enablestring" = xdisable; then
5248 if test $wxUSE_OMF = no; then
5249 result=yes
5250 else
5251 result=no
5252 fi
5253 else
5254 result=$wxUSE_OMF
5255 fi
5256
5257 { echo "$as_me:$LINENO: result: $result" >&5
5258 echo "${ECHO_T}$result" >&6; }
5259
5260 fi
5261
5262
5263 enablestring=disable
5264 defaultval=
5265 if test -z "$defaultval"; then
5266 if test x"$enablestring" = xdisable; then
5267 defaultval=yes
5268 else
5269 defaultval=no
5270 fi
5271 fi
5272
5273 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
5274 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
5275 # Check whether --enable-optimise was given.
5276 if test "${enable_optimise+set}" = set; then
5277 enableval=$enable_optimise;
5278 if test "$enableval" = yes; then
5279 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
5280 else
5281 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
5282 fi
5283
5284 else
5285
5286 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
5287
5288 fi
5289
5290
5291 eval "$wx_cv_use_optimise"
5292
5293 if test x"$enablestring" = xdisable; then
5294 if test $wxUSE_OPTIMISE = no; then
5295 result=yes
5296 else
5297 result=no
5298 fi
5299 else
5300 result=$wxUSE_OPTIMISE
5301 fi
5302
5303 { echo "$as_me:$LINENO: result: $result" >&5
5304 echo "${ECHO_T}$result" >&6; }
5305
5306
5307
5308 enablestring=
5309 defaultval=
5310 if test -z "$defaultval"; then
5311 if test x"$enablestring" = xdisable; then
5312 defaultval=yes
5313 else
5314 defaultval=no
5315 fi
5316 fi
5317
5318 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5319 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5320 # Check whether --enable-profile was given.
5321 if test "${enable_profile+set}" = set; then
5322 enableval=$enable_profile;
5323 if test "$enableval" = yes; then
5324 wx_cv_use_profile='wxUSE_PROFILE=yes'
5325 else
5326 wx_cv_use_profile='wxUSE_PROFILE=no'
5327 fi
5328
5329 else
5330
5331 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5332
5333 fi
5334
5335
5336 eval "$wx_cv_use_profile"
5337
5338 if test x"$enablestring" = xdisable; then
5339 if test $wxUSE_PROFILE = no; then
5340 result=yes
5341 else
5342 result=no
5343 fi
5344 else
5345 result=$wxUSE_PROFILE
5346 fi
5347
5348 { echo "$as_me:$LINENO: result: $result" >&5
5349 echo "${ECHO_T}$result" >&6; }
5350
5351
5352 enablestring=
5353 defaultval=
5354 if test -z "$defaultval"; then
5355 if test x"$enablestring" = xdisable; then
5356 defaultval=yes
5357 else
5358 defaultval=no
5359 fi
5360 fi
5361
5362 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5363 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5364 # Check whether --enable-no_rtti was given.
5365 if test "${enable_no_rtti+set}" = set; then
5366 enableval=$enable_no_rtti;
5367 if test "$enableval" = yes; then
5368 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5369 else
5370 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5371 fi
5372
5373 else
5374
5375 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5376
5377 fi
5378
5379
5380 eval "$wx_cv_use_no_rtti"
5381
5382 if test x"$enablestring" = xdisable; then
5383 if test $wxUSE_NO_RTTI = no; then
5384 result=yes
5385 else
5386 result=no
5387 fi
5388 else
5389 result=$wxUSE_NO_RTTI
5390 fi
5391
5392 { echo "$as_me:$LINENO: result: $result" >&5
5393 echo "${ECHO_T}$result" >&6; }
5394
5395
5396 enablestring=
5397 defaultval=
5398 if test -z "$defaultval"; then
5399 if test x"$enablestring" = xdisable; then
5400 defaultval=yes
5401 else
5402 defaultval=no
5403 fi
5404 fi
5405
5406 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5407 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5408 # Check whether --enable-no_exceptions was given.
5409 if test "${enable_no_exceptions+set}" = set; then
5410 enableval=$enable_no_exceptions;
5411 if test "$enableval" = yes; then
5412 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5413 else
5414 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5415 fi
5416
5417 else
5418
5419 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5420
5421 fi
5422
5423
5424 eval "$wx_cv_use_no_exceptions"
5425
5426 if test x"$enablestring" = xdisable; then
5427 if test $wxUSE_NO_EXCEPTIONS = no; then
5428 result=yes
5429 else
5430 result=no
5431 fi
5432 else
5433 result=$wxUSE_NO_EXCEPTIONS
5434 fi
5435
5436 { echo "$as_me:$LINENO: result: $result" >&5
5437 echo "${ECHO_T}$result" >&6; }
5438
5439
5440 enablestring=
5441 defaultval=
5442 if test -z "$defaultval"; then
5443 if test x"$enablestring" = xdisable; then
5444 defaultval=yes
5445 else
5446 defaultval=no
5447 fi
5448 fi
5449
5450 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5451 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5452 # Check whether --enable-permissive was given.
5453 if test "${enable_permissive+set}" = set; then
5454 enableval=$enable_permissive;
5455 if test "$enableval" = yes; then
5456 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5457 else
5458 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
5459 fi
5460
5461 else
5462
5463 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5464
5465 fi
5466
5467
5468 eval "$wx_cv_use_permissive"
5469
5470 if test x"$enablestring" = xdisable; then
5471 if test $wxUSE_PERMISSIVE = no; then
5472 result=yes
5473 else
5474 result=no
5475 fi
5476 else
5477 result=$wxUSE_PERMISSIVE
5478 fi
5479
5480 { echo "$as_me:$LINENO: result: $result" >&5
5481 echo "${ECHO_T}$result" >&6; }
5482
5483
5484 enablestring=
5485 defaultval=
5486 if test -z "$defaultval"; then
5487 if test x"$enablestring" = xdisable; then
5488 defaultval=yes
5489 else
5490 defaultval=no
5491 fi
5492 fi
5493
5494 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5495 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5496 # Check whether --enable-no_deps was given.
5497 if test "${enable_no_deps+set}" = set; then
5498 enableval=$enable_no_deps;
5499 if test "$enableval" = yes; then
5500 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5501 else
5502 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5503 fi
5504
5505 else
5506
5507 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5508
5509 fi
5510
5511
5512 eval "$wx_cv_use_no_deps"
5513
5514 if test x"$enablestring" = xdisable; then
5515 if test $wxUSE_NO_DEPS = no; then
5516 result=yes
5517 else
5518 result=no
5519 fi
5520 else
5521 result=$wxUSE_NO_DEPS
5522 fi
5523
5524 { echo "$as_me:$LINENO: result: $result" >&5
5525 echo "${ECHO_T}$result" >&6; }
5526
5527
5528 enablestring=disable
5529 defaultval=
5530 if test -z "$defaultval"; then
5531 if test x"$enablestring" = xdisable; then
5532 defaultval=yes
5533 else
5534 defaultval=no
5535 fi
5536 fi
5537
5538 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5539 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5540 # Check whether --enable-vararg_macros was given.
5541 if test "${enable_vararg_macros+set}" = set; then
5542 enableval=$enable_vararg_macros;
5543 if test "$enableval" = yes; then
5544 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5545 else
5546 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5547 fi
5548
5549 else
5550
5551 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5552
5553 fi
5554
5555
5556 eval "$wx_cv_use_vararg_macros"
5557
5558 if test x"$enablestring" = xdisable; then
5559 if test $wxUSE_VARARG_MACROS = no; then
5560 result=yes
5561 else
5562 result=no
5563 fi
5564 else
5565 result=$wxUSE_VARARG_MACROS
5566 fi
5567
5568 { echo "$as_me:$LINENO: result: $result" >&5
5569 echo "${ECHO_T}$result" >&6; }
5570
5571
5572
5573 enablestring=
5574 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5575 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5576 # Check whether --enable-universal_binary was given.
5577 if test "${enable_universal_binary+set}" = set; then
5578 enableval=$enable_universal_binary;
5579 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5580
5581 else
5582
5583 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5584
5585 fi
5586
5587
5588 eval "$wx_cv_use_universal_binary"
5589
5590 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5591 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5592
5593
5594 enablestring=
5595 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-macosx_arch" >&5
5596 echo $ECHO_N "checking for --${enablestring:-enable}-macosx_arch... $ECHO_C" >&6; }
5597 # Check whether --enable-macosx_arch was given.
5598 if test "${enable_macosx_arch+set}" = set; then
5599 enableval=$enable_macosx_arch;
5600 wx_cv_use_macosx_arch="wxUSE_MAC_ARCH='$enableval'"
5601
5602 else
5603
5604 wx_cv_use_macosx_arch='wxUSE_MAC_ARCH='$DEFAULT_wxUSE_MAC_ARCH
5605
5606 fi
5607
5608
5609 eval "$wx_cv_use_macosx_arch"
5610
5611 { echo "$as_me:$LINENO: result: $wxUSE_MAC_ARCH" >&5
5612 echo "${ECHO_T}$wxUSE_MAC_ARCH" >&6; }
5613
5614
5615
5616 enablestring=
5617 defaultval=
5618 if test -z "$defaultval"; then
5619 if test x"$enablestring" = xdisable; then
5620 defaultval=yes
5621 else
5622 defaultval=no
5623 fi
5624 fi
5625
5626 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5627 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5628 # Check whether --enable-compat26 was given.
5629 if test "${enable_compat26+set}" = set; then
5630 enableval=$enable_compat26;
5631 if test "$enableval" = yes; then
5632 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5633 else
5634 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5635 fi
5636
5637 else
5638
5639 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5640
5641 fi
5642
5643
5644 eval "$wx_cv_use_compat26"
5645
5646 if test x"$enablestring" = xdisable; then
5647 if test $WXWIN_COMPATIBILITY_2_6 = no; then
5648 result=yes
5649 else
5650 result=no
5651 fi
5652 else
5653 result=$WXWIN_COMPATIBILITY_2_6
5654 fi
5655
5656 { echo "$as_me:$LINENO: result: $result" >&5
5657 echo "${ECHO_T}$result" >&6; }
5658
5659
5660 enablestring=disable
5661 defaultval=
5662 if test -z "$defaultval"; then
5663 if test x"$enablestring" = xdisable; then
5664 defaultval=yes
5665 else
5666 defaultval=no
5667 fi
5668 fi
5669
5670 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5671 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5672 # Check whether --enable-compat28 was given.
5673 if test "${enable_compat28+set}" = set; then
5674 enableval=$enable_compat28;
5675 if test "$enableval" = yes; then
5676 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5677 else
5678 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5679 fi
5680
5681 else
5682
5683 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5684
5685 fi
5686
5687
5688 eval "$wx_cv_use_compat28"
5689
5690 if test x"$enablestring" = xdisable; then
5691 if test $WXWIN_COMPATIBILITY_2_8 = no; then
5692 result=yes
5693 else
5694 result=no
5695 fi
5696 else
5697 result=$WXWIN_COMPATIBILITY_2_8
5698 fi
5699
5700 { echo "$as_me:$LINENO: result: $result" >&5
5701 echo "${ECHO_T}$result" >&6; }
5702
5703
5704
5705 enablestring=disable
5706 defaultval=
5707 if test -z "$defaultval"; then
5708 if test x"$enablestring" = xdisable; then
5709 defaultval=yes
5710 else
5711 defaultval=no
5712 fi
5713 fi
5714
5715 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5716 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5717 # Check whether --enable-rpath was given.
5718 if test "${enable_rpath+set}" = set; then
5719 enableval=$enable_rpath;
5720 if test "$enableval" = yes; then
5721 wx_cv_use_rpath='wxUSE_RPATH=yes'
5722 else
5723 wx_cv_use_rpath='wxUSE_RPATH=no'
5724 fi
5725
5726 else
5727
5728 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5729
5730 fi
5731
5732
5733 eval "$wx_cv_use_rpath"
5734
5735 if test x"$enablestring" = xdisable; then
5736 if test $wxUSE_RPATH = no; then
5737 result=yes
5738 else
5739 result=no
5740 fi
5741 else
5742 result=$wxUSE_RPATH
5743 fi
5744
5745 { echo "$as_me:$LINENO: result: $result" >&5
5746 echo "${ECHO_T}$result" >&6; }
5747
5748
5749
5750 enablestring=
5751 defaultval=
5752 if test -z "$defaultval"; then
5753 if test x"$enablestring" = xdisable; then
5754 defaultval=yes
5755 else
5756 defaultval=no
5757 fi
5758 fi
5759
5760 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5761 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5762 # Check whether --enable-objc_uniquifying was given.
5763 if test "${enable_objc_uniquifying+set}" = set; then
5764 enableval=$enable_objc_uniquifying;
5765 if test "$enableval" = yes; then
5766 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
5767 else
5768 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
5769 fi
5770
5771 else
5772
5773 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5774
5775 fi
5776
5777
5778 eval "$wx_cv_use_objc_uniquifying"
5779
5780 if test x"$enablestring" = xdisable; then
5781 if test $wxUSE_OBJC_UNIQUIFYING = no; then
5782 result=yes
5783 else
5784 result=no
5785 fi
5786 else
5787 result=$wxUSE_OBJC_UNIQUIFYING
5788 fi
5789
5790 { echo "$as_me:$LINENO: result: $result" >&5
5791 echo "${ECHO_T}$result" >&6; }
5792
5793
5794
5795 enablestring=disable
5796 defaultval=
5797 if test -z "$defaultval"; then
5798 if test x"$enablestring" = xdisable; then
5799 defaultval=yes
5800 else
5801 defaultval=no
5802 fi
5803 fi
5804
5805 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
5806 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
5807 # Check whether --enable-visibility was given.
5808 if test "${enable_visibility+set}" = set; then
5809 enableval=$enable_visibility;
5810 if test "$enableval" = yes; then
5811 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
5812 else
5813 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
5814 fi
5815
5816 else
5817
5818 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5819
5820 fi
5821
5822
5823 eval "$wx_cv_use_visibility"
5824
5825 if test x"$enablestring" = xdisable; then
5826 if test $wxUSE_VISIBILITY = no; then
5827 result=yes
5828 else
5829 result=no
5830 fi
5831 else
5832 result=$wxUSE_VISIBILITY
5833 fi
5834
5835 { echo "$as_me:$LINENO: result: $result" >&5
5836 echo "${ECHO_T}$result" >&6; }
5837
5838
5839 enablestring=disable
5840 defaultval=
5841 if test -z "$defaultval"; then
5842 if test x"$enablestring" = xdisable; then
5843 defaultval=yes
5844 else
5845 defaultval=no
5846 fi
5847 fi
5848
5849 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tls" >&5
5850 echo $ECHO_N "checking for --${enablestring:-enable}-tls... $ECHO_C" >&6; }
5851 # Check whether --enable-tls was given.
5852 if test "${enable_tls+set}" = set; then
5853 enableval=$enable_tls;
5854 if test "$enableval" = yes; then
5855 wx_cv_use_tls='wxUSE_COMPILER_TLS=yes'
5856 else
5857 wx_cv_use_tls='wxUSE_COMPILER_TLS=no'
5858 fi
5859
5860 else
5861
5862 wx_cv_use_tls='wxUSE_COMPILER_TLS=${'DEFAULT_wxUSE_COMPILER_TLS":-$defaultval}"
5863
5864 fi
5865
5866
5867 eval "$wx_cv_use_tls"
5868
5869 if test x"$enablestring" = xdisable; then
5870 if test $wxUSE_COMPILER_TLS = no; then
5871 result=yes
5872 else
5873 result=no
5874 fi
5875 else
5876 result=$wxUSE_COMPILER_TLS
5877 fi
5878
5879 { echo "$as_me:$LINENO: result: $result" >&5
5880 echo "${ECHO_T}$result" >&6; }
5881
5882
5883
5884
5885 enablestring=
5886 defaultval=$wxUSE_ALL_FEATURES
5887 if test -z "$defaultval"; then
5888 if test x"$enablestring" = xdisable; then
5889 defaultval=yes
5890 else
5891 defaultval=no
5892 fi
5893 fi
5894
5895 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5896 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5897 # Check whether --enable-intl was given.
5898 if test "${enable_intl+set}" = set; then
5899 enableval=$enable_intl;
5900 if test "$enableval" = yes; then
5901 wx_cv_use_intl='wxUSE_INTL=yes'
5902 else
5903 wx_cv_use_intl='wxUSE_INTL=no'
5904 fi
5905
5906 else
5907
5908 wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5909
5910 fi
5911
5912
5913 eval "$wx_cv_use_intl"
5914
5915 if test x"$enablestring" = xdisable; then
5916 if test $wxUSE_INTL = no; then
5917 result=yes
5918 else
5919 result=no
5920 fi
5921 else
5922 result=$wxUSE_INTL
5923 fi
5924
5925 { echo "$as_me:$LINENO: result: $result" >&5
5926 echo "${ECHO_T}$result" >&6; }
5927
5928
5929 enablestring=
5930 defaultval=$wxUSE_ALL_FEATURES
5931 if test -z "$defaultval"; then
5932 if test x"$enablestring" = xdisable; then
5933 defaultval=yes
5934 else
5935 defaultval=no
5936 fi
5937 fi
5938
5939 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xlocale" >&5
5940 echo $ECHO_N "checking for --${enablestring:-enable}-xlocale... $ECHO_C" >&6; }
5941 # Check whether --enable-xlocale was given.
5942 if test "${enable_xlocale+set}" = set; then
5943 enableval=$enable_xlocale;
5944 if test "$enableval" = yes; then
5945 wx_cv_use_xlocale='wxUSE_XLOCALE=yes'
5946 else
5947 wx_cv_use_xlocale='wxUSE_XLOCALE=no'
5948 fi
5949
5950 else
5951
5952 wx_cv_use_xlocale='wxUSE_XLOCALE=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
5953
5954 fi
5955
5956
5957 eval "$wx_cv_use_xlocale"
5958
5959 if test x"$enablestring" = xdisable; then
5960 if test $wxUSE_XLOCALE = no; then
5961 result=yes
5962 else
5963 result=no
5964 fi
5965 else
5966 result=$wxUSE_XLOCALE
5967 fi
5968
5969 { echo "$as_me:$LINENO: result: $result" >&5
5970 echo "${ECHO_T}$result" >&6; }
5971
5972
5973 enablestring=
5974 defaultval=$wxUSE_ALL_FEATURES
5975 if test -z "$defaultval"; then
5976 if test x"$enablestring" = xdisable; then
5977 defaultval=yes
5978 else
5979 defaultval=no
5980 fi
5981 fi
5982
5983 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5984 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5985 # Check whether --enable-config was given.
5986 if test "${enable_config+set}" = set; then
5987 enableval=$enable_config;
5988 if test "$enableval" = yes; then
5989 wx_cv_use_config='wxUSE_CONFIG=yes'
5990 else
5991 wx_cv_use_config='wxUSE_CONFIG=no'
5992 fi
5993
5994 else
5995
5996 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5997
5998 fi
5999
6000
6001 eval "$wx_cv_use_config"
6002
6003 if test x"$enablestring" = xdisable; then
6004 if test $wxUSE_CONFIG = no; then
6005 result=yes
6006 else
6007 result=no
6008 fi
6009 else
6010 result=$wxUSE_CONFIG
6011 fi
6012
6013 { echo "$as_me:$LINENO: result: $result" >&5
6014 echo "${ECHO_T}$result" >&6; }
6015
6016
6017
6018 enablestring=
6019 defaultval=$wxUSE_ALL_FEATURES
6020 if test -z "$defaultval"; then
6021 if test x"$enablestring" = xdisable; then
6022 defaultval=yes
6023 else
6024 defaultval=no
6025 fi
6026 fi
6027
6028 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
6029 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
6030 # Check whether --enable-protocols was given.
6031 if test "${enable_protocols+set}" = set; then
6032 enableval=$enable_protocols;
6033 if test "$enableval" = yes; then
6034 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
6035 else
6036 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
6037 fi
6038
6039 else
6040
6041 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
6042
6043 fi
6044
6045
6046 eval "$wx_cv_use_protocols"
6047
6048 if test x"$enablestring" = xdisable; then
6049 if test $wxUSE_PROTOCOL = no; then
6050 result=yes
6051 else
6052 result=no
6053 fi
6054 else
6055 result=$wxUSE_PROTOCOL
6056 fi
6057
6058 { echo "$as_me:$LINENO: result: $result" >&5
6059 echo "${ECHO_T}$result" >&6; }
6060
6061
6062 enablestring=
6063 defaultval=$wxUSE_ALL_FEATURES
6064 if test -z "$defaultval"; then
6065 if test x"$enablestring" = xdisable; then
6066 defaultval=yes
6067 else
6068 defaultval=no
6069 fi
6070 fi
6071
6072 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
6073 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
6074 # Check whether --enable-ftp was given.
6075 if test "${enable_ftp+set}" = set; then
6076 enableval=$enable_ftp;
6077 if test "$enableval" = yes; then
6078 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
6079 else
6080 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
6081 fi
6082
6083 else
6084
6085 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
6086
6087 fi
6088
6089
6090 eval "$wx_cv_use_ftp"
6091
6092 if test x"$enablestring" = xdisable; then
6093 if test $wxUSE_PROTOCOL_FTP = no; then
6094 result=yes
6095 else
6096 result=no
6097 fi
6098 else
6099 result=$wxUSE_PROTOCOL_FTP
6100 fi
6101
6102 { echo "$as_me:$LINENO: result: $result" >&5
6103 echo "${ECHO_T}$result" >&6; }
6104
6105
6106 enablestring=
6107 defaultval=$wxUSE_ALL_FEATURES
6108 if test -z "$defaultval"; then
6109 if test x"$enablestring" = xdisable; then
6110 defaultval=yes
6111 else
6112 defaultval=no
6113 fi
6114 fi
6115
6116 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
6117 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
6118 # Check whether --enable-http was given.
6119 if test "${enable_http+set}" = set; then
6120 enableval=$enable_http;
6121 if test "$enableval" = yes; then
6122 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
6123 else
6124 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
6125 fi
6126
6127 else
6128
6129 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
6130
6131 fi
6132
6133
6134 eval "$wx_cv_use_http"
6135
6136 if test x"$enablestring" = xdisable; then
6137 if test $wxUSE_PROTOCOL_HTTP = no; then
6138 result=yes
6139 else
6140 result=no
6141 fi
6142 else
6143 result=$wxUSE_PROTOCOL_HTTP
6144 fi
6145
6146 { echo "$as_me:$LINENO: result: $result" >&5
6147 echo "${ECHO_T}$result" >&6; }
6148
6149
6150 enablestring=
6151 defaultval=$wxUSE_ALL_FEATURES
6152 if test -z "$defaultval"; then
6153 if test x"$enablestring" = xdisable; then
6154 defaultval=yes
6155 else
6156 defaultval=no
6157 fi
6158 fi
6159
6160 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
6161 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
6162 # Check whether --enable-fileproto was given.
6163 if test "${enable_fileproto+set}" = set; then
6164 enableval=$enable_fileproto;
6165 if test "$enableval" = yes; then
6166 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
6167 else
6168 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
6169 fi
6170
6171 else
6172
6173 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
6174
6175 fi
6176
6177
6178 eval "$wx_cv_use_fileproto"
6179
6180 if test x"$enablestring" = xdisable; then
6181 if test $wxUSE_PROTOCOL_FILE = no; then
6182 result=yes
6183 else
6184 result=no
6185 fi
6186 else
6187 result=$wxUSE_PROTOCOL_FILE
6188 fi
6189
6190 { echo "$as_me:$LINENO: result: $result" >&5
6191 echo "${ECHO_T}$result" >&6; }
6192
6193
6194 enablestring=
6195 defaultval=$wxUSE_ALL_FEATURES
6196 if test -z "$defaultval"; then
6197 if test x"$enablestring" = xdisable; then
6198 defaultval=yes
6199 else
6200 defaultval=no
6201 fi
6202 fi
6203
6204 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
6205 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
6206 # Check whether --enable-sockets was given.
6207 if test "${enable_sockets+set}" = set; then
6208 enableval=$enable_sockets;
6209 if test "$enableval" = yes; then
6210 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
6211 else
6212 wx_cv_use_sockets='wxUSE_SOCKETS=no'
6213 fi
6214
6215 else
6216
6217 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
6218
6219 fi
6220
6221
6222 eval "$wx_cv_use_sockets"
6223
6224 if test x"$enablestring" = xdisable; then
6225 if test $wxUSE_SOCKETS = no; then
6226 result=yes
6227 else
6228 result=no
6229 fi
6230 else
6231 result=$wxUSE_SOCKETS
6232 fi
6233
6234 { echo "$as_me:$LINENO: result: $result" >&5
6235 echo "${ECHO_T}$result" >&6; }
6236
6237
6238 enablestring=
6239 defaultval=$wxUSE_ALL_FEATURES
6240 if test -z "$defaultval"; then
6241 if test x"$enablestring" = xdisable; then
6242 defaultval=yes
6243 else
6244 defaultval=no
6245 fi
6246 fi
6247
6248 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipv6" >&5
6249 echo $ECHO_N "checking for --${enablestring:-enable}-ipv6... $ECHO_C" >&6; }
6250 # Check whether --enable-ipv6 was given.
6251 if test "${enable_ipv6+set}" = set; then
6252 enableval=$enable_ipv6;
6253 if test "$enableval" = yes; then
6254 wx_cv_use_ipv6='wxUSE_IPV6=yes'
6255 else
6256 wx_cv_use_ipv6='wxUSE_IPV6=no'
6257 fi
6258
6259 else
6260
6261 wx_cv_use_ipv6='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
6262
6263 fi
6264
6265
6266 eval "$wx_cv_use_ipv6"
6267
6268 if test x"$enablestring" = xdisable; then
6269 if test $wxUSE_IPV6 = no; then
6270 result=yes
6271 else
6272 result=no
6273 fi
6274 else
6275 result=$wxUSE_IPV6
6276 fi
6277
6278 { echo "$as_me:$LINENO: result: $result" >&5
6279 echo "${ECHO_T}$result" >&6; }
6280
6281
6282 enablestring=
6283 defaultval=$wxUSE_ALL_FEATURES
6284 if test -z "$defaultval"; then
6285 if test x"$enablestring" = xdisable; then
6286 defaultval=yes
6287 else
6288 defaultval=no
6289 fi
6290 fi
6291
6292 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
6293 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
6294 # Check whether --enable-ole was given.
6295 if test "${enable_ole+set}" = set; then
6296 enableval=$enable_ole;
6297 if test "$enableval" = yes; then
6298 wx_cv_use_ole='wxUSE_OLE=yes'
6299 else
6300 wx_cv_use_ole='wxUSE_OLE=no'
6301 fi
6302
6303 else
6304
6305 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6306
6307 fi
6308
6309
6310 eval "$wx_cv_use_ole"
6311
6312 if test x"$enablestring" = xdisable; then
6313 if test $wxUSE_OLE = no; then
6314 result=yes
6315 else
6316 result=no
6317 fi
6318 else
6319 result=$wxUSE_OLE
6320 fi
6321
6322 { echo "$as_me:$LINENO: result: $result" >&5
6323 echo "${ECHO_T}$result" >&6; }
6324
6325
6326 enablestring=
6327 defaultval=$wxUSE_ALL_FEATURES
6328 if test -z "$defaultval"; then
6329 if test x"$enablestring" = xdisable; then
6330 defaultval=yes
6331 else
6332 defaultval=no
6333 fi
6334 fi
6335
6336 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
6337 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
6338 # Check whether --enable-dataobj was given.
6339 if test "${enable_dataobj+set}" = set; then
6340 enableval=$enable_dataobj;
6341 if test "$enableval" = yes; then
6342 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6343 else
6344 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6345 fi
6346
6347 else
6348
6349 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6350
6351 fi
6352
6353
6354 eval "$wx_cv_use_dataobj"
6355
6356 if test x"$enablestring" = xdisable; then
6357 if test $wxUSE_DATAOBJ = no; then
6358 result=yes
6359 else
6360 result=no
6361 fi
6362 else
6363 result=$wxUSE_DATAOBJ
6364 fi
6365
6366 { echo "$as_me:$LINENO: result: $result" >&5
6367 echo "${ECHO_T}$result" >&6; }
6368
6369
6370
6371 enablestring=
6372 defaultval=$wxUSE_ALL_FEATURES
6373 if test -z "$defaultval"; then
6374 if test x"$enablestring" = xdisable; then
6375 defaultval=yes
6376 else
6377 defaultval=no
6378 fi
6379 fi
6380
6381 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6382 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6383 # Check whether --enable-ipc was given.
6384 if test "${enable_ipc+set}" = set; then
6385 enableval=$enable_ipc;
6386 if test "$enableval" = yes; then
6387 wx_cv_use_ipc='wxUSE_IPC=yes'
6388 else
6389 wx_cv_use_ipc='wxUSE_IPC=no'
6390 fi
6391
6392 else
6393
6394 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6395
6396 fi
6397
6398
6399 eval "$wx_cv_use_ipc"
6400
6401 if test x"$enablestring" = xdisable; then
6402 if test $wxUSE_IPC = no; then
6403 result=yes
6404 else
6405 result=no
6406 fi
6407 else
6408 result=$wxUSE_IPC
6409 fi
6410
6411 { echo "$as_me:$LINENO: result: $result" >&5
6412 echo "${ECHO_T}$result" >&6; }
6413
6414
6415
6416 enablestring=
6417 defaultval=$wxUSE_ALL_FEATURES
6418 if test -z "$defaultval"; then
6419 if test x"$enablestring" = xdisable; then
6420 defaultval=yes
6421 else
6422 defaultval=no
6423 fi
6424 fi
6425
6426 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6427 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6428 # Check whether --enable-baseevtloop was given.
6429 if test "${enable_baseevtloop+set}" = set; then
6430 enableval=$enable_baseevtloop;
6431 if test "$enableval" = yes; then
6432 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
6433 else
6434 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
6435 fi
6436
6437 else
6438
6439 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6440
6441 fi
6442
6443
6444 eval "$wx_cv_use_baseevtloop"
6445
6446 if test x"$enablestring" = xdisable; then
6447 if test $wxUSE_CONSOLE_EVENTLOOP = no; then
6448 result=yes
6449 else
6450 result=no
6451 fi
6452 else
6453 result=$wxUSE_CONSOLE_EVENTLOOP
6454 fi
6455
6456 { echo "$as_me:$LINENO: result: $result" >&5
6457 echo "${ECHO_T}$result" >&6; }
6458
6459
6460 enablestring=
6461 defaultval=$wxUSE_ALL_FEATURES
6462 if test -z "$defaultval"; then
6463 if test x"$enablestring" = xdisable; then
6464 defaultval=yes
6465 else
6466 defaultval=no
6467 fi
6468 fi
6469
6470 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-epollloop" >&5
6471 echo $ECHO_N "checking for --${enablestring:-enable}-epollloop... $ECHO_C" >&6; }
6472 # Check whether --enable-epollloop was given.
6473 if test "${enable_epollloop+set}" = set; then
6474 enableval=$enable_epollloop;
6475 if test "$enableval" = yes; then
6476 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
6477 else
6478 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
6479 fi
6480
6481 else
6482
6483 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6484
6485 fi
6486
6487
6488 eval "$wx_cv_use_epollloop"
6489
6490 if test x"$enablestring" = xdisable; then
6491 if test $wxUSE_EPOLL_DISPATCHER = no; then
6492 result=yes
6493 else
6494 result=no
6495 fi
6496 else
6497 result=$wxUSE_EPOLL_DISPATCHER
6498 fi
6499
6500 { echo "$as_me:$LINENO: result: $result" >&5
6501 echo "${ECHO_T}$result" >&6; }
6502
6503
6504 enablestring=
6505 defaultval=$wxUSE_ALL_FEATURES
6506 if test -z "$defaultval"; then
6507 if test x"$enablestring" = xdisable; then
6508 defaultval=yes
6509 else
6510 defaultval=no
6511 fi
6512 fi
6513
6514 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6515 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6516 # Check whether --enable-selectloop was given.
6517 if test "${enable_selectloop+set}" = set; then
6518 enableval=$enable_selectloop;
6519 if test "$enableval" = yes; then
6520 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
6521 else
6522 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
6523 fi
6524
6525 else
6526
6527 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6528
6529 fi
6530
6531
6532 eval "$wx_cv_use_selectloop"
6533
6534 if test x"$enablestring" = xdisable; then
6535 if test $wxUSE_SELECT_DISPATCHER = no; then
6536 result=yes
6537 else
6538 result=no
6539 fi
6540 else
6541 result=$wxUSE_SELECT_DISPATCHER
6542 fi
6543
6544 { echo "$as_me:$LINENO: result: $result" >&5
6545 echo "${ECHO_T}$result" >&6; }
6546
6547
6548
6549 enablestring=
6550 defaultval=$wxUSE_ALL_FEATURES
6551 if test -z "$defaultval"; then
6552 if test x"$enablestring" = xdisable; then
6553 defaultval=yes
6554 else
6555 defaultval=no
6556 fi
6557 fi
6558
6559 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-any" >&5
6560 echo $ECHO_N "checking for --${enablestring:-enable}-any... $ECHO_C" >&6; }
6561 # Check whether --enable-any was given.
6562 if test "${enable_any+set}" = set; then
6563 enableval=$enable_any;
6564 if test "$enableval" = yes; then
6565 wx_cv_use_any='wxUSE_ANY=yes'
6566 else
6567 wx_cv_use_any='wxUSE_ANY=no'
6568 fi
6569
6570 else
6571
6572 wx_cv_use_any='wxUSE_ANY=${'DEFAULT_wxUSE_ANY":-$defaultval}"
6573
6574 fi
6575
6576
6577 eval "$wx_cv_use_any"
6578
6579 if test x"$enablestring" = xdisable; then
6580 if test $wxUSE_ANY = no; then
6581 result=yes
6582 else
6583 result=no
6584 fi
6585 else
6586 result=$wxUSE_ANY
6587 fi
6588
6589 { echo "$as_me:$LINENO: result: $result" >&5
6590 echo "${ECHO_T}$result" >&6; }
6591
6592
6593 enablestring=
6594 defaultval=$wxUSE_ALL_FEATURES
6595 if test -z "$defaultval"; then
6596 if test x"$enablestring" = xdisable; then
6597 defaultval=yes
6598 else
6599 defaultval=no
6600 fi
6601 fi
6602
6603 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6604 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6605 # Check whether --enable-apple_ieee was given.
6606 if test "${enable_apple_ieee+set}" = set; then
6607 enableval=$enable_apple_ieee;
6608 if test "$enableval" = yes; then
6609 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6610 else
6611 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6612 fi
6613
6614 else
6615
6616 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6617
6618 fi
6619
6620
6621 eval "$wx_cv_use_apple_ieee"
6622
6623 if test x"$enablestring" = xdisable; then
6624 if test $wxUSE_APPLE_IEEE = no; then
6625 result=yes
6626 else
6627 result=no
6628 fi
6629 else
6630 result=$wxUSE_APPLE_IEEE
6631 fi
6632
6633 { echo "$as_me:$LINENO: result: $result" >&5
6634 echo "${ECHO_T}$result" >&6; }
6635
6636
6637 enablestring=
6638 defaultval=$wxUSE_ALL_FEATURES
6639 if test -z "$defaultval"; then
6640 if test x"$enablestring" = xdisable; then
6641 defaultval=yes
6642 else
6643 defaultval=no
6644 fi
6645 fi
6646
6647 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6648 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6649 # Check whether --enable-arcstream was given.
6650 if test "${enable_arcstream+set}" = set; then
6651 enableval=$enable_arcstream;
6652 if test "$enableval" = yes; then
6653 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6654 else
6655 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6656 fi
6657
6658 else
6659
6660 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6661
6662 fi
6663
6664
6665 eval "$wx_cv_use_arcstream"
6666
6667 if test x"$enablestring" = xdisable; then
6668 if test $wxUSE_ARCHIVE_STREAMS = no; then
6669 result=yes
6670 else
6671 result=no
6672 fi
6673 else
6674 result=$wxUSE_ARCHIVE_STREAMS
6675 fi
6676
6677 { echo "$as_me:$LINENO: result: $result" >&5
6678 echo "${ECHO_T}$result" >&6; }
6679
6680
6681 enablestring=
6682 defaultval=$wxUSE_ALL_FEATURES
6683 if test -z "$defaultval"; then
6684 if test x"$enablestring" = xdisable; then
6685 defaultval=yes
6686 else
6687 defaultval=no
6688 fi
6689 fi
6690
6691 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6692 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6693 # Check whether --enable-base64 was given.
6694 if test "${enable_base64+set}" = set; then
6695 enableval=$enable_base64;
6696 if test "$enableval" = yes; then
6697 wx_cv_use_base64='wxUSE_BASE64=yes'
6698 else
6699 wx_cv_use_base64='wxUSE_BASE64=no'
6700 fi
6701
6702 else
6703
6704 wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6705
6706 fi
6707
6708
6709 eval "$wx_cv_use_base64"
6710
6711 if test x"$enablestring" = xdisable; then
6712 if test $wxUSE_BASE64 = no; then
6713 result=yes
6714 else
6715 result=no
6716 fi
6717 else
6718 result=$wxUSE_BASE64
6719 fi
6720
6721 { echo "$as_me:$LINENO: result: $result" >&5
6722 echo "${ECHO_T}$result" >&6; }
6723
6724
6725 enablestring=
6726 defaultval=$wxUSE_ALL_FEATURES
6727 if test -z "$defaultval"; then
6728 if test x"$enablestring" = xdisable; then
6729 defaultval=yes
6730 else
6731 defaultval=no
6732 fi
6733 fi
6734
6735 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
6736 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
6737 # Check whether --enable-backtrace was given.
6738 if test "${enable_backtrace+set}" = set; then
6739 enableval=$enable_backtrace;
6740 if test "$enableval" = yes; then
6741 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
6742 else
6743 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
6744 fi
6745
6746 else
6747
6748 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6749
6750 fi
6751
6752
6753 eval "$wx_cv_use_backtrace"
6754
6755 if test x"$enablestring" = xdisable; then
6756 if test $wxUSE_STACKWALKER = no; then
6757 result=yes
6758 else
6759 result=no
6760 fi
6761 else
6762 result=$wxUSE_STACKWALKER
6763 fi
6764
6765 { echo "$as_me:$LINENO: result: $result" >&5
6766 echo "${ECHO_T}$result" >&6; }
6767
6768
6769 enablestring=
6770 defaultval=$wxUSE_ALL_FEATURES
6771 if test -z "$defaultval"; then
6772 if test x"$enablestring" = xdisable; then
6773 defaultval=yes
6774 else
6775 defaultval=no
6776 fi
6777 fi
6778
6779 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
6780 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
6781 # Check whether --enable-catch_segvs was given.
6782 if test "${enable_catch_segvs+set}" = set; then
6783 enableval=$enable_catch_segvs;
6784 if test "$enableval" = yes; then
6785 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
6786 else
6787 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
6788 fi
6789
6790 else
6791
6792 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6793
6794 fi
6795
6796
6797 eval "$wx_cv_use_catch_segvs"
6798
6799 if test x"$enablestring" = xdisable; then
6800 if test $wxUSE_ON_FATAL_EXCEPTION = no; then
6801 result=yes
6802 else
6803 result=no
6804 fi
6805 else
6806 result=$wxUSE_ON_FATAL_EXCEPTION
6807 fi
6808
6809 { echo "$as_me:$LINENO: result: $result" >&5
6810 echo "${ECHO_T}$result" >&6; }
6811
6812
6813 enablestring=
6814 defaultval=$wxUSE_ALL_FEATURES
6815 if test -z "$defaultval"; then
6816 if test x"$enablestring" = xdisable; then
6817 defaultval=yes
6818 else
6819 defaultval=no
6820 fi
6821 fi
6822
6823 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6824 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6825 # Check whether --enable-cmdline was given.
6826 if test "${enable_cmdline+set}" = set; then
6827 enableval=$enable_cmdline;
6828 if test "$enableval" = yes; then
6829 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
6830 else
6831 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
6832 fi
6833
6834 else
6835
6836 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6837
6838 fi
6839
6840
6841 eval "$wx_cv_use_cmdline"
6842
6843 if test x"$enablestring" = xdisable; then
6844 if test $wxUSE_CMDLINE_PARSER = no; then
6845 result=yes
6846 else
6847 result=no
6848 fi
6849 else
6850 result=$wxUSE_CMDLINE_PARSER
6851 fi
6852
6853 { echo "$as_me:$LINENO: result: $result" >&5
6854 echo "${ECHO_T}$result" >&6; }
6855
6856
6857 enablestring=
6858 defaultval=$wxUSE_ALL_FEATURES
6859 if test -z "$defaultval"; then
6860 if test x"$enablestring" = xdisable; then
6861 defaultval=yes
6862 else
6863 defaultval=no
6864 fi
6865 fi
6866
6867 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6868 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
6869 # Check whether --enable-datetime was given.
6870 if test "${enable_datetime+set}" = set; then
6871 enableval=$enable_datetime;
6872 if test "$enableval" = yes; then
6873 wx_cv_use_datetime='wxUSE_DATETIME=yes'
6874 else
6875 wx_cv_use_datetime='wxUSE_DATETIME=no'
6876 fi
6877
6878 else
6879
6880 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6881
6882 fi
6883
6884
6885 eval "$wx_cv_use_datetime"
6886
6887 if test x"$enablestring" = xdisable; then
6888 if test $wxUSE_DATETIME = no; then
6889 result=yes
6890 else
6891 result=no
6892 fi
6893 else
6894 result=$wxUSE_DATETIME
6895 fi
6896
6897 { echo "$as_me:$LINENO: result: $result" >&5
6898 echo "${ECHO_T}$result" >&6; }
6899
6900
6901 enablestring=
6902 defaultval=$wxUSE_ALL_FEATURES
6903 if test -z "$defaultval"; then
6904 if test x"$enablestring" = xdisable; then
6905 defaultval=yes
6906 else
6907 defaultval=no
6908 fi
6909 fi
6910
6911 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6912 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
6913 # Check whether --enable-debugreport was given.
6914 if test "${enable_debugreport+set}" = set; then
6915 enableval=$enable_debugreport;
6916 if test "$enableval" = yes; then
6917 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6918 else
6919 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6920 fi
6921
6922 else
6923
6924 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6925
6926 fi
6927
6928
6929 eval "$wx_cv_use_debugreport"
6930
6931 if test x"$enablestring" = xdisable; then
6932 if test $wxUSE_DEBUGREPORT = no; then
6933 result=yes
6934 else
6935 result=no
6936 fi
6937 else
6938 result=$wxUSE_DEBUGREPORT
6939 fi
6940
6941 { echo "$as_me:$LINENO: result: $result" >&5
6942 echo "${ECHO_T}$result" >&6; }
6943
6944
6945 enablestring=
6946 defaultval=$wxUSE_ALL_FEATURES
6947 if test -z "$defaultval"; then
6948 if test x"$enablestring" = xdisable; then
6949 defaultval=yes
6950 else
6951 defaultval=no
6952 fi
6953 fi
6954
6955 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6956 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6957 # Check whether --enable-dialupman was given.
6958 if test "${enable_dialupman+set}" = set; then
6959 enableval=$enable_dialupman;
6960 if test "$enableval" = yes; then
6961 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
6962 else
6963 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
6964 fi
6965
6966 else
6967
6968 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
6969
6970 fi
6971
6972
6973 eval "$wx_cv_use_dialupman"
6974
6975 if test x"$enablestring" = xdisable; then
6976 if test $wxUSE_DIALUP_MANAGER = no; then
6977 result=yes
6978 else
6979 result=no
6980 fi
6981 else
6982 result=$wxUSE_DIALUP_MANAGER
6983 fi
6984
6985 { echo "$as_me:$LINENO: result: $result" >&5
6986 echo "${ECHO_T}$result" >&6; }
6987
6988
6989 enablestring=
6990 defaultval=$wxUSE_ALL_FEATURES
6991 if test -z "$defaultval"; then
6992 if test x"$enablestring" = xdisable; then
6993 defaultval=yes
6994 else
6995 defaultval=no
6996 fi
6997 fi
6998
6999 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
7000 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
7001 # Check whether --enable-dynlib was given.
7002 if test "${enable_dynlib+set}" = set; then
7003 enableval=$enable_dynlib;
7004 if test "$enableval" = yes; then
7005 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
7006 else
7007 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
7008 fi
7009
7010 else
7011
7012 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
7013
7014 fi
7015
7016
7017 eval "$wx_cv_use_dynlib"
7018
7019 if test x"$enablestring" = xdisable; then
7020 if test $wxUSE_DYNLIB_CLASS = no; then
7021 result=yes
7022 else
7023 result=no
7024 fi
7025 else
7026 result=$wxUSE_DYNLIB_CLASS
7027 fi
7028
7029 { echo "$as_me:$LINENO: result: $result" >&5
7030 echo "${ECHO_T}$result" >&6; }
7031
7032
7033 enablestring=
7034 defaultval=$wxUSE_ALL_FEATURES
7035 if test -z "$defaultval"; then
7036 if test x"$enablestring" = xdisable; then
7037 defaultval=yes
7038 else
7039 defaultval=no
7040 fi
7041 fi
7042
7043 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
7044 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
7045 # Check whether --enable-dynamicloader was given.
7046 if test "${enable_dynamicloader+set}" = set; then
7047 enableval=$enable_dynamicloader;
7048 if test "$enableval" = yes; then
7049 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
7050 else
7051 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
7052 fi
7053
7054 else
7055
7056 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
7057
7058 fi
7059
7060
7061 eval "$wx_cv_use_dynamicloader"
7062
7063 if test x"$enablestring" = xdisable; then
7064 if test $wxUSE_DYNAMIC_LOADER = no; then
7065 result=yes
7066 else
7067 result=no
7068 fi
7069 else
7070 result=$wxUSE_DYNAMIC_LOADER
7071 fi
7072
7073 { echo "$as_me:$LINENO: result: $result" >&5
7074 echo "${ECHO_T}$result" >&6; }
7075
7076
7077 enablestring=
7078 defaultval=$wxUSE_ALL_FEATURES
7079 if test -z "$defaultval"; then
7080 if test x"$enablestring" = xdisable; then
7081 defaultval=yes
7082 else
7083 defaultval=no
7084 fi
7085 fi
7086
7087 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
7088 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
7089 # Check whether --enable-exceptions was given.
7090 if test "${enable_exceptions+set}" = set; then
7091 enableval=$enable_exceptions;
7092 if test "$enableval" = yes; then
7093 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
7094 else
7095 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
7096 fi
7097
7098 else
7099
7100 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
7101
7102 fi
7103
7104
7105 eval "$wx_cv_use_exceptions"
7106
7107 if test x"$enablestring" = xdisable; then
7108 if test $wxUSE_EXCEPTIONS = no; then
7109 result=yes
7110 else
7111 result=no
7112 fi
7113 else
7114 result=$wxUSE_EXCEPTIONS
7115 fi
7116
7117 { echo "$as_me:$LINENO: result: $result" >&5
7118 echo "${ECHO_T}$result" >&6; }
7119
7120
7121 enablestring=
7122 defaultval=$wxUSE_ALL_FEATURES
7123 if test -z "$defaultval"; then
7124 if test x"$enablestring" = xdisable; then
7125 defaultval=yes
7126 else
7127 defaultval=no
7128 fi
7129 fi
7130
7131 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
7132 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
7133 # Check whether --enable-ffile was given.
7134 if test "${enable_ffile+set}" = set; then
7135 enableval=$enable_ffile;
7136 if test "$enableval" = yes; then
7137 wx_cv_use_ffile='wxUSE_FFILE=yes'
7138 else
7139 wx_cv_use_ffile='wxUSE_FFILE=no'
7140 fi
7141
7142 else
7143
7144 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
7145
7146 fi
7147
7148
7149 eval "$wx_cv_use_ffile"
7150
7151 if test x"$enablestring" = xdisable; then
7152 if test $wxUSE_FFILE = no; then
7153 result=yes
7154 else
7155 result=no
7156 fi
7157 else
7158 result=$wxUSE_FFILE
7159 fi
7160
7161 { echo "$as_me:$LINENO: result: $result" >&5
7162 echo "${ECHO_T}$result" >&6; }
7163
7164
7165 enablestring=
7166 defaultval=$wxUSE_ALL_FEATURES
7167 if test -z "$defaultval"; then
7168 if test x"$enablestring" = xdisable; then
7169 defaultval=yes
7170 else
7171 defaultval=no
7172 fi
7173 fi
7174
7175 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
7176 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
7177 # Check whether --enable-file was given.
7178 if test "${enable_file+set}" = set; then
7179 enableval=$enable_file;
7180 if test "$enableval" = yes; then
7181 wx_cv_use_file='wxUSE_FILE=yes'
7182 else
7183 wx_cv_use_file='wxUSE_FILE=no'
7184 fi
7185
7186 else
7187
7188 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
7189
7190 fi
7191
7192
7193 eval "$wx_cv_use_file"
7194
7195 if test x"$enablestring" = xdisable; then
7196 if test $wxUSE_FILE = no; then
7197 result=yes
7198 else
7199 result=no
7200 fi
7201 else
7202 result=$wxUSE_FILE
7203 fi
7204
7205 { echo "$as_me:$LINENO: result: $result" >&5
7206 echo "${ECHO_T}$result" >&6; }
7207
7208
7209 enablestring=
7210 defaultval=$wxUSE_ALL_FEATURES
7211 if test -z "$defaultval"; then
7212 if test x"$enablestring" = xdisable; then
7213 defaultval=yes
7214 else
7215 defaultval=no
7216 fi
7217 fi
7218
7219 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filehistory" >&5
7220 echo $ECHO_N "checking for --${enablestring:-enable}-filehistory... $ECHO_C" >&6; }
7221 # Check whether --enable-filehistory was given.
7222 if test "${enable_filehistory+set}" = set; then
7223 enableval=$enable_filehistory;
7224 if test "$enableval" = yes; then
7225 wx_cv_use_filehistory='wxUSE_FILE_HISTORY=yes'
7226 else
7227 wx_cv_use_filehistory='wxUSE_FILE_HISTORY=no'
7228 fi
7229
7230 else
7231
7232 wx_cv_use_filehistory='wxUSE_FILE_HISTORY=${'DEFAULT_wxUSE_FILE_HISTORY":-$defaultval}"
7233
7234 fi
7235
7236
7237 eval "$wx_cv_use_filehistory"
7238
7239 if test x"$enablestring" = xdisable; then
7240 if test $wxUSE_FILE_HISTORY = no; then
7241 result=yes
7242 else
7243 result=no
7244 fi
7245 else
7246 result=$wxUSE_FILE_HISTORY
7247 fi
7248
7249 { echo "$as_me:$LINENO: result: $result" >&5
7250 echo "${ECHO_T}$result" >&6; }
7251
7252
7253 enablestring=
7254 defaultval=$wxUSE_ALL_FEATURES
7255 if test -z "$defaultval"; then
7256 if test x"$enablestring" = xdisable; then
7257 defaultval=yes
7258 else
7259 defaultval=no
7260 fi
7261 fi
7262
7263 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
7264 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
7265 # Check whether --enable-filesystem was given.
7266 if test "${enable_filesystem+set}" = set; then
7267 enableval=$enable_filesystem;
7268 if test "$enableval" = yes; then
7269 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
7270 else
7271 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
7272 fi
7273
7274 else
7275
7276 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
7277
7278 fi
7279
7280
7281 eval "$wx_cv_use_filesystem"
7282
7283 if test x"$enablestring" = xdisable; then
7284 if test $wxUSE_FILESYSTEM = no; then
7285 result=yes
7286 else
7287 result=no
7288 fi
7289 else
7290 result=$wxUSE_FILESYSTEM
7291 fi
7292
7293 { echo "$as_me:$LINENO: result: $result" >&5
7294 echo "${ECHO_T}$result" >&6; }
7295
7296
7297 enablestring=
7298 defaultval=$wxUSE_ALL_FEATURES
7299 if test -z "$defaultval"; then
7300 if test x"$enablestring" = xdisable; then
7301 defaultval=yes
7302 else
7303 defaultval=no
7304 fi
7305 fi
7306
7307 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
7308 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
7309 # Check whether --enable-fontenum was given.
7310 if test "${enable_fontenum+set}" = set; then
7311 enableval=$enable_fontenum;
7312 if test "$enableval" = yes; then
7313 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
7314 else
7315 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
7316 fi
7317
7318 else
7319
7320 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
7321
7322 fi
7323
7324
7325 eval "$wx_cv_use_fontenum"
7326
7327 if test x"$enablestring" = xdisable; then
7328 if test $wxUSE_FONTENUM = no; then
7329 result=yes
7330 else
7331 result=no
7332 fi
7333 else
7334 result=$wxUSE_FONTENUM
7335 fi
7336
7337 { echo "$as_me:$LINENO: result: $result" >&5
7338 echo "${ECHO_T}$result" >&6; }
7339
7340
7341 enablestring=
7342 defaultval=$wxUSE_ALL_FEATURES
7343 if test -z "$defaultval"; then
7344 if test x"$enablestring" = xdisable; then
7345 defaultval=yes
7346 else
7347 defaultval=no
7348 fi
7349 fi
7350
7351 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
7352 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
7353 # Check whether --enable-fontmap was given.
7354 if test "${enable_fontmap+set}" = set; then
7355 enableval=$enable_fontmap;
7356 if test "$enableval" = yes; then
7357 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
7358 else
7359 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
7360 fi
7361
7362 else
7363
7364 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
7365
7366 fi
7367
7368
7369 eval "$wx_cv_use_fontmap"
7370
7371 if test x"$enablestring" = xdisable; then
7372 if test $wxUSE_FONTMAP = no; then
7373 result=yes
7374 else
7375 result=no
7376 fi
7377 else
7378 result=$wxUSE_FONTMAP
7379 fi
7380
7381 { echo "$as_me:$LINENO: result: $result" >&5
7382 echo "${ECHO_T}$result" >&6; }
7383
7384
7385 enablestring=
7386 defaultval=$wxUSE_ALL_FEATURES
7387 if test -z "$defaultval"; then
7388 if test x"$enablestring" = xdisable; then
7389 defaultval=yes
7390 else
7391 defaultval=no
7392 fi
7393 fi
7394
7395 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7396 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7397 # Check whether --enable-fs_archive was given.
7398 if test "${enable_fs_archive+set}" = set; then
7399 enableval=$enable_fs_archive;
7400 if test "$enableval" = yes; then
7401 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
7402 else
7403 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
7404 fi
7405
7406 else
7407
7408 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7409
7410 fi
7411
7412
7413 eval "$wx_cv_use_fs_archive"
7414
7415 if test x"$enablestring" = xdisable; then
7416 if test $wxUSE_FS_ARCHIVE = no; then
7417 result=yes
7418 else
7419 result=no
7420 fi
7421 else
7422 result=$wxUSE_FS_ARCHIVE
7423 fi
7424
7425 { echo "$as_me:$LINENO: result: $result" >&5
7426 echo "${ECHO_T}$result" >&6; }
7427
7428
7429 enablestring=
7430 defaultval=$wxUSE_ALL_FEATURES
7431 if test -z "$defaultval"; then
7432 if test x"$enablestring" = xdisable; then
7433 defaultval=yes
7434 else
7435 defaultval=no
7436 fi
7437 fi
7438
7439 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
7440 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
7441 # Check whether --enable-fs_inet was given.
7442 if test "${enable_fs_inet+set}" = set; then
7443 enableval=$enable_fs_inet;
7444 if test "$enableval" = yes; then
7445 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
7446 else
7447 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
7448 fi
7449
7450 else
7451
7452 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7453
7454 fi
7455
7456
7457 eval "$wx_cv_use_fs_inet"
7458
7459 if test x"$enablestring" = xdisable; then
7460 if test $wxUSE_FS_INET = no; then
7461 result=yes
7462 else
7463 result=no
7464 fi
7465 else
7466 result=$wxUSE_FS_INET
7467 fi
7468
7469 { echo "$as_me:$LINENO: result: $result" >&5
7470 echo "${ECHO_T}$result" >&6; }
7471
7472
7473 enablestring=
7474 defaultval=$wxUSE_ALL_FEATURES
7475 if test -z "$defaultval"; then
7476 if test x"$enablestring" = xdisable; then
7477 defaultval=yes
7478 else
7479 defaultval=no
7480 fi
7481 fi
7482
7483 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
7484 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
7485 # Check whether --enable-fs_zip was given.
7486 if test "${enable_fs_zip+set}" = set; then
7487 enableval=$enable_fs_zip;
7488 if test "$enableval" = yes; then
7489 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
7490 else
7491 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
7492 fi
7493
7494 else
7495
7496 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7497
7498 fi
7499
7500
7501 eval "$wx_cv_use_fs_zip"
7502
7503 if test x"$enablestring" = xdisable; then
7504 if test $wxUSE_FS_ZIP = no; then
7505 result=yes
7506 else
7507 result=no
7508 fi
7509 else
7510 result=$wxUSE_FS_ZIP
7511 fi
7512
7513 { echo "$as_me:$LINENO: result: $result" >&5
7514 echo "${ECHO_T}$result" >&6; }
7515
7516
7517 enablestring=
7518 defaultval=$wxUSE_ALL_FEATURES
7519 if test -z "$defaultval"; then
7520 if test x"$enablestring" = xdisable; then
7521 defaultval=yes
7522 else
7523 defaultval=no
7524 fi
7525 fi
7526
7527 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fswatcher" >&5
7528 echo $ECHO_N "checking for --${enablestring:-enable}-fswatcher... $ECHO_C" >&6; }
7529 # Check whether --enable-fswatcher was given.
7530 if test "${enable_fswatcher+set}" = set; then
7531 enableval=$enable_fswatcher;
7532 if test "$enableval" = yes; then
7533 wx_cv_use_fswatcher='wxUSE_FSWATCHER=yes'
7534 else
7535 wx_cv_use_fswatcher='wxUSE_FSWATCHER=no'
7536 fi
7537
7538 else
7539
7540 wx_cv_use_fswatcher='wxUSE_FSWATCHER=${'DEFAULT_wxUSE_FSWATCHER":-$defaultval}"
7541
7542 fi
7543
7544
7545 eval "$wx_cv_use_fswatcher"
7546
7547 if test x"$enablestring" = xdisable; then
7548 if test $wxUSE_FSWATCHER = no; then
7549 result=yes
7550 else
7551 result=no
7552 fi
7553 else
7554 result=$wxUSE_FSWATCHER
7555 fi
7556
7557 { echo "$as_me:$LINENO: result: $result" >&5
7558 echo "${ECHO_T}$result" >&6; }
7559
7560
7561 enablestring=
7562 defaultval=$wxUSE_ALL_FEATURES
7563 if test -z "$defaultval"; then
7564 if test x"$enablestring" = xdisable; then
7565 defaultval=yes
7566 else
7567 defaultval=no
7568 fi
7569 fi
7570
7571 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
7572 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
7573 # Check whether --enable-geometry was given.
7574 if test "${enable_geometry+set}" = set; then
7575 enableval=$enable_geometry;
7576 if test "$enableval" = yes; then
7577 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
7578 else
7579 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
7580 fi
7581
7582 else
7583
7584 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7585
7586 fi
7587
7588
7589 eval "$wx_cv_use_geometry"
7590
7591 if test x"$enablestring" = xdisable; then
7592 if test $wxUSE_GEOMETRY = no; then
7593 result=yes
7594 else
7595 result=no
7596 fi
7597 else
7598 result=$wxUSE_GEOMETRY
7599 fi
7600
7601 { echo "$as_me:$LINENO: result: $result" >&5
7602 echo "${ECHO_T}$result" >&6; }
7603
7604
7605 enablestring=
7606 defaultval=$wxUSE_ALL_FEATURES
7607 if test -z "$defaultval"; then
7608 if test x"$enablestring" = xdisable; then
7609 defaultval=yes
7610 else
7611 defaultval=no
7612 fi
7613 fi
7614
7615 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
7616 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
7617 # Check whether --enable-log was given.
7618 if test "${enable_log+set}" = set; then
7619 enableval=$enable_log;
7620 if test "$enableval" = yes; then
7621 wx_cv_use_log='wxUSE_LOG=yes'
7622 else
7623 wx_cv_use_log='wxUSE_LOG=no'
7624 fi
7625
7626 else
7627
7628 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7629
7630 fi
7631
7632
7633 eval "$wx_cv_use_log"
7634
7635 if test x"$enablestring" = xdisable; then
7636 if test $wxUSE_LOG = no; then
7637 result=yes
7638 else
7639 result=no
7640 fi
7641 else
7642 result=$wxUSE_LOG
7643 fi
7644
7645 { echo "$as_me:$LINENO: result: $result" >&5
7646 echo "${ECHO_T}$result" >&6; }
7647
7648
7649 enablestring=
7650 defaultval=$wxUSE_ALL_FEATURES
7651 if test -z "$defaultval"; then
7652 if test x"$enablestring" = xdisable; then
7653 defaultval=yes
7654 else
7655 defaultval=no
7656 fi
7657 fi
7658
7659 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
7660 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
7661 # Check whether --enable-longlong was given.
7662 if test "${enable_longlong+set}" = set; then
7663 enableval=$enable_longlong;
7664 if test "$enableval" = yes; then
7665 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
7666 else
7667 wx_cv_use_longlong='wxUSE_LONGLONG=no'
7668 fi
7669
7670 else
7671
7672 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7673
7674 fi
7675
7676
7677 eval "$wx_cv_use_longlong"
7678
7679 if test x"$enablestring" = xdisable; then
7680 if test $wxUSE_LONGLONG = no; then
7681 result=yes
7682 else
7683 result=no
7684 fi
7685 else
7686 result=$wxUSE_LONGLONG
7687 fi
7688
7689 { echo "$as_me:$LINENO: result: $result" >&5
7690 echo "${ECHO_T}$result" >&6; }
7691
7692
7693 enablestring=
7694 defaultval=$wxUSE_ALL_FEATURES
7695 if test -z "$defaultval"; then
7696 if test x"$enablestring" = xdisable; then
7697 defaultval=yes
7698 else
7699 defaultval=no
7700 fi
7701 fi
7702
7703 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
7704 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
7705 # Check whether --enable-mimetype was given.
7706 if test "${enable_mimetype+set}" = set; then
7707 enableval=$enable_mimetype;
7708 if test "$enableval" = yes; then
7709 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
7710 else
7711 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
7712 fi
7713
7714 else
7715
7716 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7717
7718 fi
7719
7720
7721 eval "$wx_cv_use_mimetype"
7722
7723 if test x"$enablestring" = xdisable; then
7724 if test $wxUSE_MIMETYPE = no; then
7725 result=yes
7726 else
7727 result=no
7728 fi
7729 else
7730 result=$wxUSE_MIMETYPE
7731 fi
7732
7733 { echo "$as_me:$LINENO: result: $result" >&5
7734 echo "${ECHO_T}$result" >&6; }
7735
7736
7737 enablestring=
7738 defaultval=$wxUSE_ALL_FEATURES
7739 if test -z "$defaultval"; then
7740 if test x"$enablestring" = xdisable; then
7741 defaultval=yes
7742 else
7743 defaultval=no
7744 fi
7745 fi
7746
7747 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7748 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7749 # Check whether --enable-printfposparam was given.
7750 if test "${enable_printfposparam+set}" = set; then
7751 enableval=$enable_printfposparam;
7752 if test "$enableval" = yes; then
7753 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
7754 else
7755 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
7756 fi
7757
7758 else
7759
7760 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
7761
7762 fi
7763
7764
7765 eval "$wx_cv_use_printfposparam"
7766
7767 if test x"$enablestring" = xdisable; then
7768 if test $wxUSE_PRINTF_POS_PARAMS = no; then
7769 result=yes
7770 else
7771 result=no
7772 fi
7773 else
7774 result=$wxUSE_PRINTF_POS_PARAMS
7775 fi
7776
7777 { echo "$as_me:$LINENO: result: $result" >&5
7778 echo "${ECHO_T}$result" >&6; }
7779
7780
7781 enablestring=
7782 defaultval=$wxUSE_ALL_FEATURES
7783 if test -z "$defaultval"; then
7784 if test x"$enablestring" = xdisable; then
7785 defaultval=yes
7786 else
7787 defaultval=no
7788 fi
7789 fi
7790
7791 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
7792 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
7793 # Check whether --enable-snglinst was given.
7794 if test "${enable_snglinst+set}" = set; then
7795 enableval=$enable_snglinst;
7796 if test "$enableval" = yes; then
7797 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
7798 else
7799 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
7800 fi
7801
7802 else
7803
7804 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7805
7806 fi
7807
7808
7809 eval "$wx_cv_use_snglinst"
7810
7811 if test x"$enablestring" = xdisable; then
7812 if test $wxUSE_SNGLINST_CHECKER = no; then
7813 result=yes
7814 else
7815 result=no
7816 fi
7817 else
7818 result=$wxUSE_SNGLINST_CHECKER
7819 fi
7820
7821 { echo "$as_me:$LINENO: result: $result" >&5
7822 echo "${ECHO_T}$result" >&6; }
7823
7824
7825 enablestring=
7826 defaultval=$wxUSE_ALL_FEATURES
7827 if test -z "$defaultval"; then
7828 if test x"$enablestring" = xdisable; then
7829 defaultval=yes
7830 else
7831 defaultval=no
7832 fi
7833 fi
7834
7835 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7836 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7837 # Check whether --enable-sound was given.
7838 if test "${enable_sound+set}" = set; then
7839 enableval=$enable_sound;
7840 if test "$enableval" = yes; then
7841 wx_cv_use_sound='wxUSE_SOUND=yes'
7842 else
7843 wx_cv_use_sound='wxUSE_SOUND=no'
7844 fi
7845
7846 else
7847
7848 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
7849
7850 fi
7851
7852
7853 eval "$wx_cv_use_sound"
7854
7855 if test x"$enablestring" = xdisable; then
7856 if test $wxUSE_SOUND = no; then
7857 result=yes
7858 else
7859 result=no
7860 fi
7861 else
7862 result=$wxUSE_SOUND
7863 fi
7864
7865 { echo "$as_me:$LINENO: result: $result" >&5
7866 echo "${ECHO_T}$result" >&6; }
7867
7868
7869 enablestring=
7870 defaultval=$wxUSE_ALL_FEATURES
7871 if test -z "$defaultval"; then
7872 if test x"$enablestring" = xdisable; then
7873 defaultval=yes
7874 else
7875 defaultval=no
7876 fi
7877 fi
7878
7879 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7880 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
7881 # Check whether --enable-stdpaths was given.
7882 if test "${enable_stdpaths+set}" = set; then
7883 enableval=$enable_stdpaths;
7884 if test "$enableval" = yes; then
7885 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
7886 else
7887 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
7888 fi
7889
7890 else
7891
7892 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7893
7894 fi
7895
7896
7897 eval "$wx_cv_use_stdpaths"
7898
7899 if test x"$enablestring" = xdisable; then
7900 if test $wxUSE_STDPATHS = no; then
7901 result=yes
7902 else
7903 result=no
7904 fi
7905 else
7906 result=$wxUSE_STDPATHS
7907 fi
7908
7909 { echo "$as_me:$LINENO: result: $result" >&5
7910 echo "${ECHO_T}$result" >&6; }
7911
7912
7913 enablestring=
7914 defaultval=$wxUSE_ALL_FEATURES
7915 if test -z "$defaultval"; then
7916 if test x"$enablestring" = xdisable; then
7917 defaultval=yes
7918 else
7919 defaultval=no
7920 fi
7921 fi
7922
7923 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
7924 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
7925 # Check whether --enable-stopwatch was given.
7926 if test "${enable_stopwatch+set}" = set; then
7927 enableval=$enable_stopwatch;
7928 if test "$enableval" = yes; then
7929 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
7930 else
7931 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
7932 fi
7933
7934 else
7935
7936 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7937
7938 fi
7939
7940
7941 eval "$wx_cv_use_stopwatch"
7942
7943 if test x"$enablestring" = xdisable; then
7944 if test $wxUSE_STOPWATCH = no; then
7945 result=yes
7946 else
7947 result=no
7948 fi
7949 else
7950 result=$wxUSE_STOPWATCH
7951 fi
7952
7953 { echo "$as_me:$LINENO: result: $result" >&5
7954 echo "${ECHO_T}$result" >&6; }
7955
7956
7957 enablestring=
7958 defaultval=$wxUSE_ALL_FEATURES
7959 if test -z "$defaultval"; then
7960 if test x"$enablestring" = xdisable; then
7961 defaultval=yes
7962 else
7963 defaultval=no
7964 fi
7965 fi
7966
7967 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
7968 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
7969 # Check whether --enable-streams was given.
7970 if test "${enable_streams+set}" = set; then
7971 enableval=$enable_streams;
7972 if test "$enableval" = yes; then
7973 wx_cv_use_streams='wxUSE_STREAMS=yes'
7974 else
7975 wx_cv_use_streams='wxUSE_STREAMS=no'
7976 fi
7977
7978 else
7979
7980 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7981
7982 fi
7983
7984
7985 eval "$wx_cv_use_streams"
7986
7987 if test x"$enablestring" = xdisable; then
7988 if test $wxUSE_STREAMS = no; then
7989 result=yes
7990 else
7991 result=no
7992 fi
7993 else
7994 result=$wxUSE_STREAMS
7995 fi
7996
7997 { echo "$as_me:$LINENO: result: $result" >&5
7998 echo "${ECHO_T}$result" >&6; }
7999
8000
8001 enablestring=
8002 defaultval=$wxUSE_ALL_FEATURES
8003 if test -z "$defaultval"; then
8004 if test x"$enablestring" = xdisable; then
8005 defaultval=yes
8006 else
8007 defaultval=no
8008 fi
8009 fi
8010
8011 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sysoptions" >&5
8012 echo $ECHO_N "checking for --${enablestring:-enable}-sysoptions... $ECHO_C" >&6; }
8013 # Check whether --enable-sysoptions was given.
8014 if test "${enable_sysoptions+set}" = set; then
8015 enableval=$enable_sysoptions;
8016 if test "$enableval" = yes; then
8017 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=yes'
8018 else
8019 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=no'
8020 fi
8021
8022 else
8023
8024 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
8025
8026 fi
8027
8028
8029 eval "$wx_cv_use_sysoptions"
8030
8031 if test x"$enablestring" = xdisable; then
8032 if test $wxUSE_SYSTEM_OPTIONS = no; then
8033 result=yes
8034 else
8035 result=no
8036 fi
8037 else
8038 result=$wxUSE_SYSTEM_OPTIONS
8039 fi
8040
8041 { echo "$as_me:$LINENO: result: $result" >&5
8042 echo "${ECHO_T}$result" >&6; }
8043
8044
8045 enablestring=
8046 defaultval=$wxUSE_ALL_FEATURES
8047 if test -z "$defaultval"; then
8048 if test x"$enablestring" = xdisable; then
8049 defaultval=yes
8050 else
8051 defaultval=no
8052 fi
8053 fi
8054
8055 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
8056 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
8057 # Check whether --enable-tarstream was given.
8058 if test "${enable_tarstream+set}" = set; then
8059 enableval=$enable_tarstream;
8060 if test "$enableval" = yes; then
8061 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
8062 else
8063 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
8064 fi
8065
8066 else
8067
8068 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
8069
8070 fi
8071
8072
8073 eval "$wx_cv_use_tarstream"
8074
8075 if test x"$enablestring" = xdisable; then
8076 if test $wxUSE_TARSTREAM = no; then
8077 result=yes
8078 else
8079 result=no
8080 fi
8081 else
8082 result=$wxUSE_TARSTREAM
8083 fi
8084
8085 { echo "$as_me:$LINENO: result: $result" >&5
8086 echo "${ECHO_T}$result" >&6; }
8087
8088
8089 enablestring=
8090 defaultval=$wxUSE_ALL_FEATURES
8091 if test -z "$defaultval"; then
8092 if test x"$enablestring" = xdisable; then
8093 defaultval=yes
8094 else
8095 defaultval=no
8096 fi
8097 fi
8098
8099 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
8100 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
8101 # Check whether --enable-textbuf was given.
8102 if test "${enable_textbuf+set}" = set; then
8103 enableval=$enable_textbuf;
8104 if test "$enableval" = yes; then
8105 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
8106 else
8107 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
8108 fi
8109
8110 else
8111
8112 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
8113
8114 fi
8115
8116
8117 eval "$wx_cv_use_textbuf"
8118
8119 if test x"$enablestring" = xdisable; then
8120 if test $wxUSE_TEXTBUFFER = no; then
8121 result=yes
8122 else
8123 result=no
8124 fi
8125 else
8126 result=$wxUSE_TEXTBUFFER
8127 fi
8128
8129 { echo "$as_me:$LINENO: result: $result" >&5
8130 echo "${ECHO_T}$result" >&6; }
8131
8132
8133 enablestring=
8134 defaultval=$wxUSE_ALL_FEATURES
8135 if test -z "$defaultval"; then
8136 if test x"$enablestring" = xdisable; then
8137 defaultval=yes
8138 else
8139 defaultval=no
8140 fi
8141 fi
8142
8143 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
8144 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
8145 # Check whether --enable-textfile was given.
8146 if test "${enable_textfile+set}" = set; then
8147 enableval=$enable_textfile;
8148 if test "$enableval" = yes; then
8149 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
8150 else
8151 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
8152 fi
8153
8154 else
8155
8156 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
8157
8158 fi
8159
8160
8161 eval "$wx_cv_use_textfile"
8162
8163 if test x"$enablestring" = xdisable; then
8164 if test $wxUSE_TEXTFILE = no; then
8165 result=yes
8166 else
8167 result=no
8168 fi
8169 else
8170 result=$wxUSE_TEXTFILE
8171 fi
8172
8173 { echo "$as_me:$LINENO: result: $result" >&5
8174 echo "${ECHO_T}$result" >&6; }
8175
8176
8177 enablestring=
8178 defaultval=$wxUSE_ALL_FEATURES
8179 if test -z "$defaultval"; then
8180 if test x"$enablestring" = xdisable; then
8181 defaultval=yes
8182 else
8183 defaultval=no
8184 fi
8185 fi
8186
8187 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
8188 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
8189 # Check whether --enable-timer was given.
8190 if test "${enable_timer+set}" = set; then
8191 enableval=$enable_timer;
8192 if test "$enableval" = yes; then
8193 wx_cv_use_timer='wxUSE_TIMER=yes'
8194 else
8195 wx_cv_use_timer='wxUSE_TIMER=no'
8196 fi
8197
8198 else
8199
8200 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
8201
8202 fi
8203
8204
8205 eval "$wx_cv_use_timer"
8206
8207 if test x"$enablestring" = xdisable; then
8208 if test $wxUSE_TIMER = no; then
8209 result=yes
8210 else
8211 result=no
8212 fi
8213 else
8214 result=$wxUSE_TIMER
8215 fi
8216
8217 { echo "$as_me:$LINENO: result: $result" >&5
8218 echo "${ECHO_T}$result" >&6; }
8219
8220
8221 enablestring=
8222 defaultval=$wxUSE_ALL_FEATURES
8223 if test -z "$defaultval"; then
8224 if test x"$enablestring" = xdisable; then
8225 defaultval=yes
8226 else
8227 defaultval=no
8228 fi
8229 fi
8230
8231 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
8232 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
8233 # Check whether --enable-variant was given.
8234 if test "${enable_variant+set}" = set; then
8235 enableval=$enable_variant;
8236 if test "$enableval" = yes; then
8237 wx_cv_use_variant='wxUSE_VARIANT=yes'
8238 else
8239 wx_cv_use_variant='wxUSE_VARIANT=no'
8240 fi
8241
8242 else
8243
8244 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
8245
8246 fi
8247
8248
8249 eval "$wx_cv_use_variant"
8250
8251 if test x"$enablestring" = xdisable; then
8252 if test $wxUSE_VARIANT = no; then
8253 result=yes
8254 else
8255 result=no
8256 fi
8257 else
8258 result=$wxUSE_VARIANT
8259 fi
8260
8261 { echo "$as_me:$LINENO: result: $result" >&5
8262 echo "${ECHO_T}$result" >&6; }
8263
8264
8265 enablestring=
8266 defaultval=$wxUSE_ALL_FEATURES
8267 if test -z "$defaultval"; then
8268 if test x"$enablestring" = xdisable; then
8269 defaultval=yes
8270 else
8271 defaultval=no
8272 fi
8273 fi
8274
8275 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
8276 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
8277 # Check whether --enable-zipstream was given.
8278 if test "${enable_zipstream+set}" = set; then
8279 enableval=$enable_zipstream;
8280 if test "$enableval" = yes; then
8281 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
8282 else
8283 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
8284 fi
8285
8286 else
8287
8288 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
8289
8290 fi
8291
8292
8293 eval "$wx_cv_use_zipstream"
8294
8295 if test x"$enablestring" = xdisable; then
8296 if test $wxUSE_ZIPSTREAM = no; then
8297 result=yes
8298 else
8299 result=no
8300 fi
8301 else
8302 result=$wxUSE_ZIPSTREAM
8303 fi
8304
8305 { echo "$as_me:$LINENO: result: $result" >&5
8306 echo "${ECHO_T}$result" >&6; }
8307
8308
8309
8310 enablestring=
8311 defaultval=$wxUSE_ALL_FEATURES
8312 if test -z "$defaultval"; then
8313 if test x"$enablestring" = xdisable; then
8314 defaultval=yes
8315 else
8316 defaultval=no
8317 fi
8318 fi
8319
8320 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
8321 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
8322 # Check whether --enable-url was given.
8323 if test "${enable_url+set}" = set; then
8324 enableval=$enable_url;
8325 if test "$enableval" = yes; then
8326 wx_cv_use_url='wxUSE_URL=yes'
8327 else
8328 wx_cv_use_url='wxUSE_URL=no'
8329 fi
8330
8331 else
8332
8333 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
8334
8335 fi
8336
8337
8338 eval "$wx_cv_use_url"
8339
8340 if test x"$enablestring" = xdisable; then
8341 if test $wxUSE_URL = no; then
8342 result=yes
8343 else
8344 result=no
8345 fi
8346 else
8347 result=$wxUSE_URL
8348 fi
8349
8350 { echo "$as_me:$LINENO: result: $result" >&5
8351 echo "${ECHO_T}$result" >&6; }
8352
8353
8354 enablestring=
8355 defaultval=$wxUSE_ALL_FEATURES
8356 if test -z "$defaultval"; then
8357 if test x"$enablestring" = xdisable; then
8358 defaultval=yes
8359 else
8360 defaultval=no
8361 fi
8362 fi
8363
8364 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
8365 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
8366 # Check whether --enable-protocol was given.
8367 if test "${enable_protocol+set}" = set; then
8368 enableval=$enable_protocol;
8369 if test "$enableval" = yes; then
8370 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
8371 else
8372 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
8373 fi
8374
8375 else
8376
8377 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
8378
8379 fi
8380
8381
8382 eval "$wx_cv_use_protocol"
8383
8384 if test x"$enablestring" = xdisable; then
8385 if test $wxUSE_PROTOCOL = no; then
8386 result=yes
8387 else
8388 result=no
8389 fi
8390 else
8391 result=$wxUSE_PROTOCOL
8392 fi
8393
8394 { echo "$as_me:$LINENO: result: $result" >&5
8395 echo "${ECHO_T}$result" >&6; }
8396
8397
8398 enablestring=
8399 defaultval=$wxUSE_ALL_FEATURES
8400 if test -z "$defaultval"; then
8401 if test x"$enablestring" = xdisable; then
8402 defaultval=yes
8403 else
8404 defaultval=no
8405 fi
8406 fi
8407
8408 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
8409 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
8410 # Check whether --enable-protocol_http was given.
8411 if test "${enable_protocol_http+set}" = set; then
8412 enableval=$enable_protocol_http;
8413 if test "$enableval" = yes; then
8414 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
8415 else
8416 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
8417 fi
8418
8419 else
8420
8421 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
8422
8423 fi
8424
8425
8426 eval "$wx_cv_use_protocol_http"
8427
8428 if test x"$enablestring" = xdisable; then
8429 if test $wxUSE_PROTOCOL_HTTP = no; then
8430 result=yes
8431 else
8432 result=no
8433 fi
8434 else
8435 result=$wxUSE_PROTOCOL_HTTP
8436 fi
8437
8438 { echo "$as_me:$LINENO: result: $result" >&5
8439 echo "${ECHO_T}$result" >&6; }
8440
8441
8442 enablestring=
8443 defaultval=$wxUSE_ALL_FEATURES
8444 if test -z "$defaultval"; then
8445 if test x"$enablestring" = xdisable; then
8446 defaultval=yes
8447 else
8448 defaultval=no
8449 fi
8450 fi
8451
8452 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
8453 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
8454 # Check whether --enable-protocol_ftp was given.
8455 if test "${enable_protocol_ftp+set}" = set; then
8456 enableval=$enable_protocol_ftp;
8457 if test "$enableval" = yes; then
8458 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
8459 else
8460 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
8461 fi
8462
8463 else
8464
8465 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
8466
8467 fi
8468
8469
8470 eval "$wx_cv_use_protocol_ftp"
8471
8472 if test x"$enablestring" = xdisable; then
8473 if test $wxUSE_PROTOCOL_FTP = no; then
8474 result=yes
8475 else
8476 result=no
8477 fi
8478 else
8479 result=$wxUSE_PROTOCOL_FTP
8480 fi
8481
8482 { echo "$as_me:$LINENO: result: $result" >&5
8483 echo "${ECHO_T}$result" >&6; }
8484
8485
8486 enablestring=
8487 defaultval=$wxUSE_ALL_FEATURES
8488 if test -z "$defaultval"; then
8489 if test x"$enablestring" = xdisable; then
8490 defaultval=yes
8491 else
8492 defaultval=no
8493 fi
8494 fi
8495
8496 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
8497 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
8498 # Check whether --enable-protocol_file was given.
8499 if test "${enable_protocol_file+set}" = set; then
8500 enableval=$enable_protocol_file;
8501 if test "$enableval" = yes; then
8502 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
8503 else
8504 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
8505 fi
8506
8507 else
8508
8509 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
8510
8511 fi
8512
8513
8514 eval "$wx_cv_use_protocol_file"
8515
8516 if test x"$enablestring" = xdisable; then
8517 if test $wxUSE_PROTOCOL_FILE = no; then
8518 result=yes
8519 else
8520 result=no
8521 fi
8522 else
8523 result=$wxUSE_PROTOCOL_FILE
8524 fi
8525
8526 { echo "$as_me:$LINENO: result: $result" >&5
8527 echo "${ECHO_T}$result" >&6; }
8528
8529
8530
8531 enablestring=
8532 defaultval=$wxUSE_ALL_FEATURES
8533 if test -z "$defaultval"; then
8534 if test x"$enablestring" = xdisable; then
8535 defaultval=yes
8536 else
8537 defaultval=no
8538 fi
8539 fi
8540
8541 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
8542 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
8543 # Check whether --enable-threads was given.
8544 if test "${enable_threads+set}" = set; then
8545 enableval=$enable_threads;
8546 if test "$enableval" = yes; then
8547 wx_cv_use_threads='wxUSE_THREADS=yes'
8548 else
8549 wx_cv_use_threads='wxUSE_THREADS=no'
8550 fi
8551
8552 else
8553
8554 wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8555
8556 fi
8557
8558
8559 eval "$wx_cv_use_threads"
8560
8561 if test x"$enablestring" = xdisable; then
8562 if test $wxUSE_THREADS = no; then
8563 result=yes
8564 else
8565 result=no
8566 fi
8567 else
8568 result=$wxUSE_THREADS
8569 fi
8570
8571 { echo "$as_me:$LINENO: result: $result" >&5
8572 echo "${ECHO_T}$result" >&6; }
8573
8574
8575
8576 enablestring=
8577 defaultval=
8578 if test -z "$defaultval"; then
8579 if test x"$enablestring" = xdisable; then
8580 defaultval=yes
8581 else
8582 defaultval=no
8583 fi
8584 fi
8585
8586 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iniconf" >&5
8587 echo $ECHO_N "checking for --${enablestring:-enable}-iniconf... $ECHO_C" >&6; }
8588 # Check whether --enable-iniconf was given.
8589 if test "${enable_iniconf+set}" = set; then
8590 enableval=$enable_iniconf;
8591 if test "$enableval" = yes; then
8592 wx_cv_use_iniconf='wxUSE_INICONF=yes'
8593 else
8594 wx_cv_use_iniconf='wxUSE_INICONF=no'
8595 fi
8596
8597 else
8598
8599 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
8600
8601 fi
8602
8603
8604 eval "$wx_cv_use_iniconf"
8605
8606 if test x"$enablestring" = xdisable; then
8607 if test $wxUSE_INICONF = no; then
8608 result=yes
8609 else
8610 result=no
8611 fi
8612 else
8613 result=$wxUSE_INICONF
8614 fi
8615
8616 { echo "$as_me:$LINENO: result: $result" >&5
8617 echo "${ECHO_T}$result" >&6; }
8618
8619
8620 enablestring=
8621 defaultval=$wxUSE_ALL_FEATURES
8622 if test -z "$defaultval"; then
8623 if test x"$enablestring" = xdisable; then
8624 defaultval=yes
8625 else
8626 defaultval=no
8627 fi
8628 fi
8629
8630 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
8631 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
8632 # Check whether --enable-regkey was given.
8633 if test "${enable_regkey+set}" = set; then
8634 enableval=$enable_regkey;
8635 if test "$enableval" = yes; then
8636 wx_cv_use_regkey='wxUSE_REGKEY=yes'
8637 else
8638 wx_cv_use_regkey='wxUSE_REGKEY=no'
8639 fi
8640
8641 else
8642
8643 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
8644
8645 fi
8646
8647
8648 eval "$wx_cv_use_regkey"
8649
8650 if test x"$enablestring" = xdisable; then
8651 if test $wxUSE_REGKEY = no; then
8652 result=yes
8653 else
8654 result=no
8655 fi
8656 else
8657 result=$wxUSE_REGKEY
8658 fi
8659
8660 { echo "$as_me:$LINENO: result: $result" >&5
8661 echo "${ECHO_T}$result" >&6; }
8662
8663
8664 if test "$wxUSE_GUI" = "yes"; then
8665
8666
8667
8668 enablestring=
8669 defaultval=$wxUSE_ALL_FEATURES
8670 if test -z "$defaultval"; then
8671 if test x"$enablestring" = xdisable; then
8672 defaultval=yes
8673 else
8674 defaultval=no
8675 fi
8676 fi
8677
8678 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
8679 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
8680 # Check whether --enable-docview was given.
8681 if test "${enable_docview+set}" = set; then
8682 enableval=$enable_docview;
8683 if test "$enableval" = yes; then
8684 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
8685 else
8686 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
8687 fi
8688
8689 else
8690
8691 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8692
8693 fi
8694
8695
8696 eval "$wx_cv_use_docview"
8697
8698 if test x"$enablestring" = xdisable; then
8699 if test $wxUSE_DOC_VIEW_ARCHITECTURE = no; then
8700 result=yes
8701 else
8702 result=no
8703 fi
8704 else
8705 result=$wxUSE_DOC_VIEW_ARCHITECTURE
8706 fi
8707
8708 { echo "$as_me:$LINENO: result: $result" >&5
8709 echo "${ECHO_T}$result" >&6; }
8710
8711
8712 enablestring=
8713 defaultval=$wxUSE_ALL_FEATURES
8714 if test -z "$defaultval"; then
8715 if test x"$enablestring" = xdisable; then
8716 defaultval=yes
8717 else
8718 defaultval=no
8719 fi
8720 fi
8721
8722 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
8723 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
8724 # Check whether --enable-help was given.
8725 if test "${enable_help+set}" = set; then
8726 enableval=$enable_help;
8727 if test "$enableval" = yes; then
8728 wx_cv_use_help='wxUSE_HELP=yes'
8729 else
8730 wx_cv_use_help='wxUSE_HELP=no'
8731 fi
8732
8733 else
8734
8735 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8736
8737 fi
8738
8739
8740 eval "$wx_cv_use_help"
8741
8742 if test x"$enablestring" = xdisable; then
8743 if test $wxUSE_HELP = no; then
8744 result=yes
8745 else
8746 result=no
8747 fi
8748 else
8749 result=$wxUSE_HELP
8750 fi
8751
8752 { echo "$as_me:$LINENO: result: $result" >&5
8753 echo "${ECHO_T}$result" >&6; }
8754
8755
8756 enablestring=
8757 defaultval=$wxUSE_ALL_FEATURES
8758 if test -z "$defaultval"; then
8759 if test x"$enablestring" = xdisable; then
8760 defaultval=yes
8761 else
8762 defaultval=no
8763 fi
8764 fi
8765
8766 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
8767 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
8768 # Check whether --enable-mshtmlhelp was given.
8769 if test "${enable_mshtmlhelp+set}" = set; then
8770 enableval=$enable_mshtmlhelp;
8771 if test "$enableval" = yes; then
8772 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
8773 else
8774 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
8775 fi
8776
8777 else
8778
8779 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
8780
8781 fi
8782
8783
8784 eval "$wx_cv_use_mshtmlhelp"
8785
8786 if test x"$enablestring" = xdisable; then
8787 if test $wxUSE_MS_HTML_HELP = no; then
8788 result=yes
8789 else
8790 result=no
8791 fi
8792 else
8793 result=$wxUSE_MS_HTML_HELP
8794 fi
8795
8796 { echo "$as_me:$LINENO: result: $result" >&5
8797 echo "${ECHO_T}$result" >&6; }
8798
8799
8800 enablestring=
8801 defaultval=$wxUSE_ALL_FEATURES
8802 if test -z "$defaultval"; then
8803 if test x"$enablestring" = xdisable; then
8804 defaultval=yes
8805 else
8806 defaultval=no
8807 fi
8808 fi
8809
8810 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
8811 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
8812 # Check whether --enable-html was given.
8813 if test "${enable_html+set}" = set; then
8814 enableval=$enable_html;
8815 if test "$enableval" = yes; then
8816 wx_cv_use_html='wxUSE_HTML=yes'
8817 else
8818 wx_cv_use_html='wxUSE_HTML=no'
8819 fi
8820
8821 else
8822
8823 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
8824
8825 fi
8826
8827
8828 eval "$wx_cv_use_html"
8829
8830 if test x"$enablestring" = xdisable; then
8831 if test $wxUSE_HTML = no; then
8832 result=yes
8833 else
8834 result=no
8835 fi
8836 else
8837 result=$wxUSE_HTML
8838 fi
8839
8840 { echo "$as_me:$LINENO: result: $result" >&5
8841 echo "${ECHO_T}$result" >&6; }
8842
8843
8844 enablestring=
8845 defaultval=$wxUSE_ALL_FEATURES
8846 if test -z "$defaultval"; then
8847 if test x"$enablestring" = xdisable; then
8848 defaultval=yes
8849 else
8850 defaultval=no
8851 fi
8852 fi
8853
8854 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
8855 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
8856 # Check whether --enable-htmlhelp was given.
8857 if test "${enable_htmlhelp+set}" = set; then
8858 enableval=$enable_htmlhelp;
8859 if test "$enableval" = yes; then
8860 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
8861 else
8862 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
8863 fi
8864
8865 else
8866
8867 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
8868
8869 fi
8870
8871
8872 eval "$wx_cv_use_htmlhelp"
8873
8874 if test x"$enablestring" = xdisable; then
8875 if test $wxUSE_WXHTML_HELP = no; then
8876 result=yes
8877 else
8878 result=no
8879 fi
8880 else
8881 result=$wxUSE_WXHTML_HELP
8882 fi
8883
8884 { echo "$as_me:$LINENO: result: $result" >&5
8885 echo "${ECHO_T}$result" >&6; }
8886
8887
8888 enablestring=
8889 defaultval=$wxUSE_ALL_FEATURES
8890 if test -z "$defaultval"; then
8891 if test x"$enablestring" = xdisable; then
8892 defaultval=yes
8893 else
8894 defaultval=no
8895 fi
8896 fi
8897
8898 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
8899 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
8900 # Check whether --enable-xrc was given.
8901 if test "${enable_xrc+set}" = set; then
8902 enableval=$enable_xrc;
8903 if test "$enableval" = yes; then
8904 wx_cv_use_xrc='wxUSE_XRC=yes'
8905 else
8906 wx_cv_use_xrc='wxUSE_XRC=no'
8907 fi
8908
8909 else
8910
8911 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
8912
8913 fi
8914
8915
8916 eval "$wx_cv_use_xrc"
8917
8918 if test x"$enablestring" = xdisable; then
8919 if test $wxUSE_XRC = no; then
8920 result=yes
8921 else
8922 result=no
8923 fi
8924 else
8925 result=$wxUSE_XRC
8926 fi
8927
8928 { echo "$as_me:$LINENO: result: $result" >&5
8929 echo "${ECHO_T}$result" >&6; }
8930
8931
8932 enablestring=
8933 defaultval=$wxUSE_ALL_FEATURES
8934 if test -z "$defaultval"; then
8935 if test x"$enablestring" = xdisable; then
8936 defaultval=yes
8937 else
8938 defaultval=no
8939 fi
8940 fi
8941
8942 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8943 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
8944 # Check whether --enable-aui was given.
8945 if test "${enable_aui+set}" = set; then
8946 enableval=$enable_aui;
8947 if test "$enableval" = yes; then
8948 wx_cv_use_aui='wxUSE_AUI=yes'
8949 else
8950 wx_cv_use_aui='wxUSE_AUI=no'
8951 fi
8952
8953 else
8954
8955 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
8956
8957 fi
8958
8959
8960 eval "$wx_cv_use_aui"
8961
8962 if test x"$enablestring" = xdisable; then
8963 if test $wxUSE_AUI = no; then
8964 result=yes
8965 else
8966 result=no
8967 fi
8968 else
8969 result=$wxUSE_AUI
8970 fi
8971
8972 { echo "$as_me:$LINENO: result: $result" >&5
8973 echo "${ECHO_T}$result" >&6; }
8974
8975
8976 enablestring=
8977 defaultval=$wxUSE_ALL_FEATURES
8978 if test -z "$defaultval"; then
8979 if test x"$enablestring" = xdisable; then
8980 defaultval=yes
8981 else
8982 defaultval=no
8983 fi
8984 fi
8985
8986 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-propgrid" >&5
8987 echo $ECHO_N "checking for --${enablestring:-enable}-propgrid... $ECHO_C" >&6; }
8988 # Check whether --enable-propgrid was given.
8989 if test "${enable_propgrid+set}" = set; then
8990 enableval=$enable_propgrid;
8991 if test "$enableval" = yes; then
8992 wx_cv_use_propgrid='wxUSE_PROPGRID=yes'
8993 else
8994 wx_cv_use_propgrid='wxUSE_PROPGRID=no'
8995 fi
8996
8997 else
8998
8999 wx_cv_use_propgrid='wxUSE_PROPGRID=${'DEFAULT_wxUSE_PROPGRID":-$defaultval}"
9000
9001 fi
9002
9003
9004 eval "$wx_cv_use_propgrid"
9005
9006 if test x"$enablestring" = xdisable; then
9007 if test $wxUSE_PROPGRID = no; then
9008 result=yes
9009 else
9010 result=no
9011 fi
9012 else
9013 result=$wxUSE_PROPGRID
9014 fi
9015
9016 { echo "$as_me:$LINENO: result: $result" >&5
9017 echo "${ECHO_T}$result" >&6; }
9018
9019
9020 enablestring=
9021 defaultval=$wxUSE_ALL_FEATURES
9022 if test -z "$defaultval"; then
9023 if test x"$enablestring" = xdisable; then
9024 defaultval=yes
9025 else
9026 defaultval=no
9027 fi
9028 fi
9029
9030 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ribbon" >&5
9031 echo $ECHO_N "checking for --${enablestring:-enable}-ribbon... $ECHO_C" >&6; }
9032 # Check whether --enable-ribbon was given.
9033 if test "${enable_ribbon+set}" = set; then
9034 enableval=$enable_ribbon;
9035 if test "$enableval" = yes; then
9036 wx_cv_use_ribbon='wxUSE_RIBBON=yes'
9037 else
9038 wx_cv_use_ribbon='wxUSE_RIBBON=no'
9039 fi
9040
9041 else
9042
9043 wx_cv_use_ribbon='wxUSE_RIBBON=${'DEFAULT_wxUSE_RIBBON":-$defaultval}"
9044
9045 fi
9046
9047
9048 eval "$wx_cv_use_ribbon"
9049
9050 if test x"$enablestring" = xdisable; then
9051 if test $wxUSE_RIBBON = no; then
9052 result=yes
9053 else
9054 result=no
9055 fi
9056 else
9057 result=$wxUSE_RIBBON
9058 fi
9059
9060 { echo "$as_me:$LINENO: result: $result" >&5
9061 echo "${ECHO_T}$result" >&6; }
9062
9063
9064 enablestring=
9065 defaultval=$wxUSE_ALL_FEATURES
9066 if test -z "$defaultval"; then
9067 if test x"$enablestring" = xdisable; then
9068 defaultval=yes
9069 else
9070 defaultval=no
9071 fi
9072 fi
9073
9074 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
9075 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
9076 # Check whether --enable-stc was given.
9077 if test "${enable_stc+set}" = set; then
9078 enableval=$enable_stc;
9079 if test "$enableval" = yes; then
9080 wx_cv_use_stc='wxUSE_STC=yes'
9081 else
9082 wx_cv_use_stc='wxUSE_STC=no'
9083 fi
9084
9085 else
9086
9087 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
9088
9089 fi
9090
9091
9092 eval "$wx_cv_use_stc"
9093
9094 if test x"$enablestring" = xdisable; then
9095 if test $wxUSE_STC = no; then
9096 result=yes
9097 else
9098 result=no
9099 fi
9100 else
9101 result=$wxUSE_STC
9102 fi
9103
9104 { echo "$as_me:$LINENO: result: $result" >&5
9105 echo "${ECHO_T}$result" >&6; }
9106
9107
9108 enablestring=
9109 defaultval=$wxUSE_ALL_FEATURES
9110 if test -z "$defaultval"; then
9111 if test x"$enablestring" = xdisable; then
9112 defaultval=yes
9113 else
9114 defaultval=no
9115 fi
9116 fi
9117
9118 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
9119 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
9120 # Check whether --enable-constraints was given.
9121 if test "${enable_constraints+set}" = set; then
9122 enableval=$enable_constraints;
9123 if test "$enableval" = yes; then
9124 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
9125 else
9126 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
9127 fi
9128
9129 else
9130
9131 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
9132
9133 fi
9134
9135
9136 eval "$wx_cv_use_constraints"
9137
9138 if test x"$enablestring" = xdisable; then
9139 if test $wxUSE_CONSTRAINTS = no; then
9140 result=yes
9141 else
9142 result=no
9143 fi
9144 else
9145 result=$wxUSE_CONSTRAINTS
9146 fi
9147
9148 { echo "$as_me:$LINENO: result: $result" >&5
9149 echo "${ECHO_T}$result" >&6; }
9150
9151
9152 enablestring=
9153 defaultval=$wxUSE_ALL_FEATURES
9154 if test -z "$defaultval"; then
9155 if test x"$enablestring" = xdisable; then
9156 defaultval=yes
9157 else
9158 defaultval=no
9159 fi
9160 fi
9161
9162 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
9163 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
9164 # Check whether --enable-loggui was given.
9165 if test "${enable_loggui+set}" = set; then
9166 enableval=$enable_loggui;
9167 if test "$enableval" = yes; then
9168 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
9169 else
9170 wx_cv_use_loggui='wxUSE_LOGGUI=no'
9171 fi
9172
9173 else
9174
9175 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
9176
9177 fi
9178
9179
9180 eval "$wx_cv_use_loggui"
9181
9182 if test x"$enablestring" = xdisable; then
9183 if test $wxUSE_LOGGUI = no; then
9184 result=yes
9185 else
9186 result=no
9187 fi
9188 else
9189 result=$wxUSE_LOGGUI
9190 fi
9191
9192 { echo "$as_me:$LINENO: result: $result" >&5
9193 echo "${ECHO_T}$result" >&6; }
9194
9195
9196 enablestring=
9197 defaultval=$wxUSE_ALL_FEATURES
9198 if test -z "$defaultval"; then
9199 if test x"$enablestring" = xdisable; then
9200 defaultval=yes
9201 else
9202 defaultval=no
9203 fi
9204 fi
9205
9206 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
9207 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
9208 # Check whether --enable-logwin was given.
9209 if test "${enable_logwin+set}" = set; then
9210 enableval=$enable_logwin;
9211 if test "$enableval" = yes; then
9212 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
9213 else
9214 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
9215 fi
9216
9217 else
9218
9219 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
9220
9221 fi
9222
9223
9224 eval "$wx_cv_use_logwin"
9225
9226 if test x"$enablestring" = xdisable; then
9227 if test $wxUSE_LOGWINDOW = no; then
9228 result=yes
9229 else
9230 result=no
9231 fi
9232 else
9233 result=$wxUSE_LOGWINDOW
9234 fi
9235
9236 { echo "$as_me:$LINENO: result: $result" >&5
9237 echo "${ECHO_T}$result" >&6; }
9238
9239
9240 enablestring=
9241 defaultval=$wxUSE_ALL_FEATURES
9242 if test -z "$defaultval"; then
9243 if test x"$enablestring" = xdisable; then
9244 defaultval=yes
9245 else
9246 defaultval=no
9247 fi
9248 fi
9249
9250 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
9251 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
9252 # Check whether --enable-logdialog was given.
9253 if test "${enable_logdialog+set}" = set; then
9254 enableval=$enable_logdialog;
9255 if test "$enableval" = yes; then
9256 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
9257 else
9258 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
9259 fi
9260
9261 else
9262
9263 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
9264
9265 fi
9266
9267
9268 eval "$wx_cv_use_logdialog"
9269
9270 if test x"$enablestring" = xdisable; then
9271 if test $wxUSE_LOGDIALOG = no; then
9272 result=yes
9273 else
9274 result=no
9275 fi
9276 else
9277 result=$wxUSE_LOGDIALOG
9278 fi
9279
9280 { echo "$as_me:$LINENO: result: $result" >&5
9281 echo "${ECHO_T}$result" >&6; }
9282
9283
9284 enablestring=
9285 defaultval=$wxUSE_ALL_FEATURES
9286 if test -z "$defaultval"; then
9287 if test x"$enablestring" = xdisable; then
9288 defaultval=yes
9289 else
9290 defaultval=no
9291 fi
9292 fi
9293
9294 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
9295 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
9296 # Check whether --enable-mdi was given.
9297 if test "${enable_mdi+set}" = set; then
9298 enableval=$enable_mdi;
9299 if test "$enableval" = yes; then
9300 wx_cv_use_mdi='wxUSE_MDI=yes'
9301 else
9302 wx_cv_use_mdi='wxUSE_MDI=no'
9303 fi
9304
9305 else
9306
9307 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
9308
9309 fi
9310
9311
9312 eval "$wx_cv_use_mdi"
9313
9314 if test x"$enablestring" = xdisable; then
9315 if test $wxUSE_MDI = no; then
9316 result=yes
9317 else
9318 result=no
9319 fi
9320 else
9321 result=$wxUSE_MDI
9322 fi
9323
9324 { echo "$as_me:$LINENO: result: $result" >&5
9325 echo "${ECHO_T}$result" >&6; }
9326
9327
9328 enablestring=
9329 defaultval=$wxUSE_ALL_FEATURES
9330 if test -z "$defaultval"; then
9331 if test x"$enablestring" = xdisable; then
9332 defaultval=yes
9333 else
9334 defaultval=no
9335 fi
9336 fi
9337
9338 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
9339 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
9340 # Check whether --enable-mdidoc was given.
9341 if test "${enable_mdidoc+set}" = set; then
9342 enableval=$enable_mdidoc;
9343 if test "$enableval" = yes; then
9344 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
9345 else
9346 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
9347 fi
9348
9349 else
9350
9351 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
9352
9353 fi
9354
9355
9356 eval "$wx_cv_use_mdidoc"
9357
9358 if test x"$enablestring" = xdisable; then
9359 if test $wxUSE_MDI_ARCHITECTURE = no; then
9360 result=yes
9361 else
9362 result=no
9363 fi
9364 else
9365 result=$wxUSE_MDI_ARCHITECTURE
9366 fi
9367
9368 { echo "$as_me:$LINENO: result: $result" >&5
9369 echo "${ECHO_T}$result" >&6; }
9370
9371
9372 enablestring=
9373 defaultval=$wxUSE_ALL_FEATURES
9374 if test -z "$defaultval"; then
9375 if test x"$enablestring" = xdisable; then
9376 defaultval=yes
9377 else
9378 defaultval=no
9379 fi
9380 fi
9381
9382 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
9383 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
9384 # Check whether --enable-mediactrl was given.
9385 if test "${enable_mediactrl+set}" = set; then
9386 enableval=$enable_mediactrl;
9387 if test "$enableval" = yes; then
9388 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
9389 else
9390 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
9391 fi
9392
9393 else
9394
9395 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
9396
9397 fi
9398
9399
9400 eval "$wx_cv_use_mediactrl"
9401
9402 if test x"$enablestring" = xdisable; then
9403 if test $wxUSE_MEDIACTRL = no; then
9404 result=yes
9405 else
9406 result=no
9407 fi
9408 else
9409 result=$wxUSE_MEDIACTRL
9410 fi
9411
9412 { echo "$as_me:$LINENO: result: $result" >&5
9413 echo "${ECHO_T}$result" >&6; }
9414
9415
9416 enablestring=
9417 defaultval=$wxUSE_ALL_FEATURES
9418 if test -z "$defaultval"; then
9419 if test x"$enablestring" = xdisable; then
9420 defaultval=yes
9421 else
9422 defaultval=no
9423 fi
9424 fi
9425
9426 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
9427 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
9428 # Check whether --enable-gstreamer8 was given.
9429 if test "${enable_gstreamer8+set}" = set; then
9430 enableval=$enable_gstreamer8;
9431 if test "$enableval" = yes; then
9432 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
9433 else
9434 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
9435 fi
9436
9437 else
9438
9439 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
9440
9441 fi
9442
9443
9444 eval "$wx_cv_use_gstreamer8"
9445
9446 if test x"$enablestring" = xdisable; then
9447 if test $wxUSE_GSTREAMER8 = no; then
9448 result=yes
9449 else
9450 result=no
9451 fi
9452 else
9453 result=$wxUSE_GSTREAMER8
9454 fi
9455
9456 { echo "$as_me:$LINENO: result: $result" >&5
9457 echo "${ECHO_T}$result" >&6; }
9458
9459
9460 enablestring=
9461 defaultval=$wxUSE_ALL_FEATURES
9462 if test -z "$defaultval"; then
9463 if test x"$enablestring" = xdisable; then
9464 defaultval=yes
9465 else
9466 defaultval=no
9467 fi
9468 fi
9469
9470 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
9471 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
9472 # Check whether --enable-richtext was given.
9473 if test "${enable_richtext+set}" = set; then
9474 enableval=$enable_richtext;
9475 if test "$enableval" = yes; then
9476 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
9477 else
9478 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
9479 fi
9480
9481 else
9482
9483 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
9484
9485 fi
9486
9487
9488 eval "$wx_cv_use_richtext"
9489
9490 if test x"$enablestring" = xdisable; then
9491 if test $wxUSE_RICHTEXT = no; then
9492 result=yes
9493 else
9494 result=no
9495 fi
9496 else
9497 result=$wxUSE_RICHTEXT
9498 fi
9499
9500 { echo "$as_me:$LINENO: result: $result" >&5
9501 echo "${ECHO_T}$result" >&6; }
9502
9503
9504 enablestring=
9505 defaultval=$wxUSE_ALL_FEATURES
9506 if test -z "$defaultval"; then
9507 if test x"$enablestring" = xdisable; then
9508 defaultval=yes
9509 else
9510 defaultval=no
9511 fi
9512 fi
9513
9514 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
9515 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
9516 # Check whether --enable-postscript was given.
9517 if test "${enable_postscript+set}" = set; then
9518 enableval=$enable_postscript;
9519 if test "$enableval" = yes; then
9520 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
9521 else
9522 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
9523 fi
9524
9525 else
9526
9527 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
9528
9529 fi
9530
9531
9532 eval "$wx_cv_use_postscript"
9533
9534 if test x"$enablestring" = xdisable; then
9535 if test $wxUSE_POSTSCRIPT = no; then
9536 result=yes
9537 else
9538 result=no
9539 fi
9540 else
9541 result=$wxUSE_POSTSCRIPT
9542 fi
9543
9544 { echo "$as_me:$LINENO: result: $result" >&5
9545 echo "${ECHO_T}$result" >&6; }
9546
9547
9548 enablestring=
9549 defaultval=$wxUSE_ALL_FEATURES
9550 if test -z "$defaultval"; then
9551 if test x"$enablestring" = xdisable; then
9552 defaultval=yes
9553 else
9554 defaultval=no
9555 fi
9556 fi
9557
9558 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
9559 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
9560 # Check whether --enable-printarch was given.
9561 if test "${enable_printarch+set}" = set; then
9562 enableval=$enable_printarch;
9563 if test "$enableval" = yes; then
9564 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
9565 else
9566 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
9567 fi
9568
9569 else
9570
9571 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
9572
9573 fi
9574
9575
9576 eval "$wx_cv_use_printarch"
9577
9578 if test x"$enablestring" = xdisable; then
9579 if test $wxUSE_PRINTING_ARCHITECTURE = no; then
9580 result=yes
9581 else
9582 result=no
9583 fi
9584 else
9585 result=$wxUSE_PRINTING_ARCHITECTURE
9586 fi
9587
9588 { echo "$as_me:$LINENO: result: $result" >&5
9589 echo "${ECHO_T}$result" >&6; }
9590
9591
9592 enablestring=
9593 defaultval=$wxUSE_ALL_FEATURES
9594 if test -z "$defaultval"; then
9595 if test x"$enablestring" = xdisable; then
9596 defaultval=yes
9597 else
9598 defaultval=no
9599 fi
9600 fi
9601
9602 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
9603 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
9604 # Check whether --enable-svg was given.
9605 if test "${enable_svg+set}" = set; then
9606 enableval=$enable_svg;
9607 if test "$enableval" = yes; then
9608 wx_cv_use_svg='wxUSE_SVG=yes'
9609 else
9610 wx_cv_use_svg='wxUSE_SVG=no'
9611 fi
9612
9613 else
9614
9615 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
9616
9617 fi
9618
9619
9620 eval "$wx_cv_use_svg"
9621
9622 if test x"$enablestring" = xdisable; then
9623 if test $wxUSE_SVG = no; then
9624 result=yes
9625 else
9626 result=no
9627 fi
9628 else
9629 result=$wxUSE_SVG
9630 fi
9631
9632 { echo "$as_me:$LINENO: result: $result" >&5
9633 echo "${ECHO_T}$result" >&6; }
9634
9635
9636 enablestring=
9637 defaultval=$wxUSE_ALL_FEATURES
9638 if test -z "$defaultval"; then
9639 if test x"$enablestring" = xdisable; then
9640 defaultval=yes
9641 else
9642 defaultval=no
9643 fi
9644 fi
9645
9646 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
9647 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
9648 # Check whether --enable-webkit was given.
9649 if test "${enable_webkit+set}" = set; then
9650 enableval=$enable_webkit;
9651 if test "$enableval" = yes; then
9652 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
9653 else
9654 wx_cv_use_webkit='wxUSE_WEBKIT=no'
9655 fi
9656
9657 else
9658
9659 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
9660
9661 fi
9662
9663
9664 eval "$wx_cv_use_webkit"
9665
9666 if test x"$enablestring" = xdisable; then
9667 if test $wxUSE_WEBKIT = no; then
9668 result=yes
9669 else
9670 result=no
9671 fi
9672 else
9673 result=$wxUSE_WEBKIT
9674 fi
9675
9676 { echo "$as_me:$LINENO: result: $result" >&5
9677 echo "${ECHO_T}$result" >&6; }
9678
9679
9680 enablestring=
9681 defaultval=$wxUSE_ALL_FEATURES
9682 if test -z "$defaultval"; then
9683 if test x"$enablestring" = xdisable; then
9684 defaultval=yes
9685 else
9686 defaultval=no
9687 fi
9688 fi
9689
9690 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webview" >&5
9691 echo $ECHO_N "checking for --${enablestring:-enable}-webview... $ECHO_C" >&6; }
9692 # Check whether --enable-webview was given.
9693 if test "${enable_webview+set}" = set; then
9694 enableval=$enable_webview;
9695 if test "$enableval" = yes; then
9696 wx_cv_use_webview='wxUSE_WEBVIEW=yes'
9697 else
9698 wx_cv_use_webview='wxUSE_WEBVIEW=no'
9699 fi
9700
9701 else
9702
9703 wx_cv_use_webview='wxUSE_WEBVIEW=${'DEFAULT_wxUSE_WEBVIEW":-$defaultval}"
9704
9705 fi
9706
9707
9708 eval "$wx_cv_use_webview"
9709
9710 if test x"$enablestring" = xdisable; then
9711 if test $wxUSE_WEBVIEW = no; then
9712 result=yes
9713 else
9714 result=no
9715 fi
9716 else
9717 result=$wxUSE_WEBVIEW
9718 fi
9719
9720 { echo "$as_me:$LINENO: result: $result" >&5
9721 echo "${ECHO_T}$result" >&6; }
9722
9723
9724 if test "$wxUSE_MAC" != 1; then
9725
9726 enablestring=
9727 defaultval=$wxUSE_ALL_FEATURES
9728 if test -z "$defaultval"; then
9729 if test x"$enablestring" = xdisable; then
9730 defaultval=yes
9731 else
9732 defaultval=no
9733 fi
9734 fi
9735
9736 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
9737 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
9738 # Check whether --enable-graphics_ctx was given.
9739 if test "${enable_graphics_ctx+set}" = set; then
9740 enableval=$enable_graphics_ctx;
9741 if test "$enableval" = yes; then
9742 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
9743 else
9744 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
9745 fi
9746
9747 else
9748
9749 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
9750
9751 fi
9752
9753
9754 eval "$wx_cv_use_graphics_ctx"
9755
9756 if test x"$enablestring" = xdisable; then
9757 if test $wxUSE_GRAPHICS_CONTEXT = no; then
9758 result=yes
9759 else
9760 result=no
9761 fi
9762 else
9763 result=$wxUSE_GRAPHICS_CONTEXT
9764 fi
9765
9766 { echo "$as_me:$LINENO: result: $result" >&5
9767 echo "${ECHO_T}$result" >&6; }
9768
9769 fi
9770
9771
9772
9773 enablestring=
9774 defaultval=$wxUSE_ALL_FEATURES
9775 if test -z "$defaultval"; then
9776 if test x"$enablestring" = xdisable; then
9777 defaultval=yes
9778 else
9779 defaultval=no
9780 fi
9781 fi
9782
9783 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
9784 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
9785 # Check whether --enable-clipboard was given.
9786 if test "${enable_clipboard+set}" = set; then
9787 enableval=$enable_clipboard;
9788 if test "$enableval" = yes; then
9789 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
9790 else
9791 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
9792 fi
9793
9794 else
9795
9796 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
9797
9798 fi
9799
9800
9801 eval "$wx_cv_use_clipboard"
9802
9803 if test x"$enablestring" = xdisable; then
9804 if test $wxUSE_CLIPBOARD = no; then
9805 result=yes
9806 else
9807 result=no
9808 fi
9809 else
9810 result=$wxUSE_CLIPBOARD
9811 fi
9812
9813 { echo "$as_me:$LINENO: result: $result" >&5
9814 echo "${ECHO_T}$result" >&6; }
9815
9816
9817 enablestring=
9818 defaultval=$wxUSE_ALL_FEATURES
9819 if test -z "$defaultval"; then
9820 if test x"$enablestring" = xdisable; then
9821 defaultval=yes
9822 else
9823 defaultval=no
9824 fi
9825 fi
9826
9827 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
9828 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
9829 # Check whether --enable-dnd was given.
9830 if test "${enable_dnd+set}" = set; then
9831 enableval=$enable_dnd;
9832 if test "$enableval" = yes; then
9833 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
9834 else
9835 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
9836 fi
9837
9838 else
9839
9840 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
9841
9842 fi
9843
9844
9845 eval "$wx_cv_use_dnd"
9846
9847 if test x"$enablestring" = xdisable; then
9848 if test $wxUSE_DRAG_AND_DROP = no; then
9849 result=yes
9850 else
9851 result=no
9852 fi
9853 else
9854 result=$wxUSE_DRAG_AND_DROP
9855 fi
9856
9857 { echo "$as_me:$LINENO: result: $result" >&5
9858 echo "${ECHO_T}$result" >&6; }
9859
9860
9861
9862 DEFAULT_wxUSE_CONTROLS=none
9863
9864 enablestring=disable
9865 defaultval=
9866 if test -z "$defaultval"; then
9867 if test x"$enablestring" = xdisable; then
9868 defaultval=yes
9869 else
9870 defaultval=no
9871 fi
9872 fi
9873
9874 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
9875 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
9876 # Check whether --enable-controls was given.
9877 if test "${enable_controls+set}" = set; then
9878 enableval=$enable_controls;
9879 if test "$enableval" = yes; then
9880 wx_cv_use_controls='wxUSE_CONTROLS=yes'
9881 else
9882 wx_cv_use_controls='wxUSE_CONTROLS=no'
9883 fi
9884
9885 else
9886
9887 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
9888
9889 fi
9890
9891
9892 eval "$wx_cv_use_controls"
9893
9894 if test x"$enablestring" = xdisable; then
9895 if test $wxUSE_CONTROLS = no; then
9896 result=yes
9897 else
9898 result=no
9899 fi
9900 else
9901 result=$wxUSE_CONTROLS
9902 fi
9903
9904 { echo "$as_me:$LINENO: result: $result" >&5
9905 echo "${ECHO_T}$result" >&6; }
9906
9907
9908 if test "$wxUSE_CONTROLS" = "no"; then
9909 DEFAULT_wxUSE_ACCEL=no
9910 DEFAULT_wxUSE_ANIMATIONCTRL=no
9911 DEFAULT_wxUSE_BANNERWINDOW=no
9912 DEFAULT_wxUSE_BMPBUTTON=no
9913 DEFAULT_wxUSE_BUTTON=no
9914 DEFAULT_wxUSE_CALCTRL=no
9915 DEFAULT_wxUSE_CARET=no
9916 DEFAULT_wxUSE_CHECKBOX=no
9917 DEFAULT_wxUSE_CHECKLISTBOX=no
9918 DEFAULT_wxUSE_CHOICE=no
9919 DEFAULT_wxUSE_CHOICEBOOK=no
9920 DEFAULT_wxUSE_COLLPANE=no
9921 DEFAULT_wxUSE_COLOURPICKERCTRL=no
9922 DEFAULT_wxUSE_COMBOBOX=no
9923 DEFAULT_wxUSE_COMBOBOX=no
9924 DEFAULT_wxUSE_COMMANDLINKBUTTON=no
9925 DEFAULT_wxUSE_DATAVIEWCTRL=no
9926 DEFAULT_wxUSE_DATEPICKCTRL=no
9927 DEFAULT_wxUSE_DETECT_SM=no
9928 DEFAULT_wxUSE_DIRPICKERCTRL=no
9929 DEFAULT_wxUSE_DISPLAY=no
9930 DEFAULT_wxUSE_FILECTRL=no
9931 DEFAULT_wxUSE_FILEPICKERCTRL=no
9932 DEFAULT_wxUSE_FONTPICKERCTRL=no
9933 DEFAULT_wxUSE_GAUGE=no
9934 DEFAULT_wxUSE_GRID=no
9935 DEFAULT_wxUSE_HEADERCTRL=no
9936 DEFAULT_wxUSE_HYPERLINKCTRL=no
9937 DEFAULT_wxUSE_IMAGLIST=no
9938 DEFAULT_wxUSE_LISTBOOK=no
9939 DEFAULT_wxUSE_LISTBOX=no
9940 DEFAULT_wxUSE_LISTCTRL=no
9941 DEFAULT_wxUSE_MARKUP=no
9942 DEFAULT_wxUSE_NOTEBOOK=no
9943 DEFAULT_wxUSE_POPUPWIN=no
9944 DEFAULT_wxUSE_RADIOBOX=no
9945 DEFAULT_wxUSE_RADIOBTN=no
9946 DEFAULT_wxUSE_RICHMSGDLG=no
9947 DEFAULT_wxUSE_RICHTOOLTIP=no
9948 DEFAULT_wxUSE_REARRANGECTRL=no
9949 DEFAULT_wxUSE_SASH=no
9950 DEFAULT_wxUSE_SCROLLBAR=no
9951 DEFAULT_wxUSE_SEARCHCTRL=no
9952 DEFAULT_wxUSE_SLIDER=no
9953 DEFAULT_wxUSE_SPINBTN=no
9954 DEFAULT_wxUSE_SPINCTRL=no
9955 DEFAULT_wxUSE_SPLITTER=no
9956 DEFAULT_wxUSE_STATBMP=no
9957 DEFAULT_wxUSE_STATBOX=no
9958 DEFAULT_wxUSE_STATLINE=no
9959 DEFAULT_wxUSE_STATUSBAR=no
9960 DEFAULT_wxUSE_TIMEPICKCTRL=no
9961 DEFAULT_wxUSE_TIPWINDOW=no
9962 DEFAULT_wxUSE_TOGGLEBTN=no
9963 DEFAULT_wxUSE_TOOLBAR=no
9964 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
9965 DEFAULT_wxUSE_TOOLBOOK=no
9966 DEFAULT_wxUSE_TOOLTIPS=no
9967 DEFAULT_wxUSE_TREEBOOK=no
9968 DEFAULT_wxUSE_TREECTRL=no
9969 DEFAULT_wxUSE_TREELISTCTRL=no
9970 fi
9971
9972
9973 enablestring=
9974 defaultval=$wxUSE_ALL_FEATURES
9975 if test -z "$defaultval"; then
9976 if test x"$enablestring" = xdisable; then
9977 defaultval=yes
9978 else
9979 defaultval=no
9980 fi
9981 fi
9982
9983 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-markup" >&5
9984 echo $ECHO_N "checking for --${enablestring:-enable}-markup... $ECHO_C" >&6; }
9985 # Check whether --enable-markup was given.
9986 if test "${enable_markup+set}" = set; then
9987 enableval=$enable_markup;
9988 if test "$enableval" = yes; then
9989 wx_cv_use_markup='wxUSE_MARKUP=yes'
9990 else
9991 wx_cv_use_markup='wxUSE_MARKUP=no'
9992 fi
9993
9994 else
9995
9996 wx_cv_use_markup='wxUSE_MARKUP=${'DEFAULT_wxUSE_MARKUP":-$defaultval}"
9997
9998 fi
9999
10000
10001 eval "$wx_cv_use_markup"
10002
10003 if test x"$enablestring" = xdisable; then
10004 if test $wxUSE_MARKUP = no; then
10005 result=yes
10006 else
10007 result=no
10008 fi
10009 else
10010 result=$wxUSE_MARKUP
10011 fi
10012
10013 { echo "$as_me:$LINENO: result: $result" >&5
10014 echo "${ECHO_T}$result" >&6; }
10015
10016
10017
10018 enablestring=
10019 defaultval=$wxUSE_ALL_FEATURES
10020 if test -z "$defaultval"; then
10021 if test x"$enablestring" = xdisable; then
10022 defaultval=yes
10023 else
10024 defaultval=no
10025 fi
10026 fi
10027
10028 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
10029 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
10030 # Check whether --enable-accel was given.
10031 if test "${enable_accel+set}" = set; then
10032 enableval=$enable_accel;
10033 if test "$enableval" = yes; then
10034 wx_cv_use_accel='wxUSE_ACCEL=yes'
10035 else
10036 wx_cv_use_accel='wxUSE_ACCEL=no'
10037 fi
10038
10039 else
10040
10041 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
10042
10043 fi
10044
10045
10046 eval "$wx_cv_use_accel"
10047
10048 if test x"$enablestring" = xdisable; then
10049 if test $wxUSE_ACCEL = no; then
10050 result=yes
10051 else
10052 result=no
10053 fi
10054 else
10055 result=$wxUSE_ACCEL
10056 fi
10057
10058 { echo "$as_me:$LINENO: result: $result" >&5
10059 echo "${ECHO_T}$result" >&6; }
10060
10061
10062 enablestring=
10063 defaultval=$wxUSE_ALL_FEATURES
10064 if test -z "$defaultval"; then
10065 if test x"$enablestring" = xdisable; then
10066 defaultval=yes
10067 else
10068 defaultval=no
10069 fi
10070 fi
10071
10072 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
10073 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
10074 # Check whether --enable-animatectrl was given.
10075 if test "${enable_animatectrl+set}" = set; then
10076 enableval=$enable_animatectrl;
10077 if test "$enableval" = yes; then
10078 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
10079 else
10080 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
10081 fi
10082
10083 else
10084
10085 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
10086
10087 fi
10088
10089
10090 eval "$wx_cv_use_animatectrl"
10091
10092 if test x"$enablestring" = xdisable; then
10093 if test $wxUSE_ANIMATIONCTRL = no; then
10094 result=yes
10095 else
10096 result=no
10097 fi
10098 else
10099 result=$wxUSE_ANIMATIONCTRL
10100 fi
10101
10102 { echo "$as_me:$LINENO: result: $result" >&5
10103 echo "${ECHO_T}$result" >&6; }
10104
10105
10106 enablestring=
10107 defaultval=$wxUSE_ALL_FEATURES
10108 if test -z "$defaultval"; then
10109 if test x"$enablestring" = xdisable; then
10110 defaultval=yes
10111 else
10112 defaultval=no
10113 fi
10114 fi
10115
10116 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bannerwindow" >&5
10117 echo $ECHO_N "checking for --${enablestring:-enable}-bannerwindow... $ECHO_C" >&6; }
10118 # Check whether --enable-bannerwindow was given.
10119 if test "${enable_bannerwindow+set}" = set; then
10120 enableval=$enable_bannerwindow;
10121 if test "$enableval" = yes; then
10122 wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW=yes'
10123 else
10124 wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW=no'
10125 fi
10126
10127 else
10128
10129 wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW=${'DEFAULT_wxUSE_BANNERWINDOW":-$defaultval}"
10130
10131 fi
10132
10133
10134 eval "$wx_cv_use_bannerwindow"
10135
10136 if test x"$enablestring" = xdisable; then
10137 if test $wxUSE_BANNERWINDOW = no; then
10138 result=yes
10139 else
10140 result=no
10141 fi
10142 else
10143 result=$wxUSE_BANNERWINDOW
10144 fi
10145
10146 { echo "$as_me:$LINENO: result: $result" >&5
10147 echo "${ECHO_T}$result" >&6; }
10148
10149
10150 enablestring=
10151 defaultval=$wxUSE_ALL_FEATURES
10152 if test -z "$defaultval"; then
10153 if test x"$enablestring" = xdisable; then
10154 defaultval=yes
10155 else
10156 defaultval=no
10157 fi
10158 fi
10159
10160 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-artstd" >&5
10161 echo $ECHO_N "checking for --${enablestring:-enable}-artstd... $ECHO_C" >&6; }
10162 # Check whether --enable-artstd was given.
10163 if test "${enable_artstd+set}" = set; then
10164 enableval=$enable_artstd;
10165 if test "$enableval" = yes; then
10166 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=yes'
10167 else
10168 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=no'
10169 fi
10170
10171 else
10172
10173 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=${'DEFAULT_wxUSE_ARTPROVIDER_STD":-$defaultval}"
10174
10175 fi
10176
10177
10178 eval "$wx_cv_use_artstd"
10179
10180 if test x"$enablestring" = xdisable; then
10181 if test $wxUSE_ARTPROVIDER_STD = no; then
10182 result=yes
10183 else
10184 result=no
10185 fi
10186 else
10187 result=$wxUSE_ARTPROVIDER_STD
10188 fi
10189
10190 { echo "$as_me:$LINENO: result: $result" >&5
10191 echo "${ECHO_T}$result" >&6; }
10192
10193
10194 enablestring=
10195 defaultval=$wxUSE_ALL_FEATURES
10196 if test -z "$defaultval"; then
10197 if test x"$enablestring" = xdisable; then
10198 defaultval=yes
10199 else
10200 defaultval=no
10201 fi
10202 fi
10203
10204 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arttango" >&5
10205 echo $ECHO_N "checking for --${enablestring:-enable}-arttango... $ECHO_C" >&6; }
10206 # Check whether --enable-arttango was given.
10207 if test "${enable_arttango+set}" = set; then
10208 enableval=$enable_arttango;
10209 if test "$enableval" = yes; then
10210 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=yes'
10211 else
10212 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=no'
10213 fi
10214
10215 else
10216
10217 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=${'DEFAULT_wxUSE_ARTPROVIDER_TANGO":-$defaultval}"
10218
10219 fi
10220
10221
10222 eval "$wx_cv_use_arttango"
10223
10224 if test x"$enablestring" = xdisable; then
10225 if test $wxUSE_ARTPROVIDER_TANGO = no; then
10226 result=yes
10227 else
10228 result=no
10229 fi
10230 else
10231 result=$wxUSE_ARTPROVIDER_TANGO
10232 fi
10233
10234 { echo "$as_me:$LINENO: result: $result" >&5
10235 echo "${ECHO_T}$result" >&6; }
10236
10237
10238 enablestring=
10239 defaultval=$wxUSE_ALL_FEATURES
10240 if test -z "$defaultval"; then
10241 if test x"$enablestring" = xdisable; then
10242 defaultval=yes
10243 else
10244 defaultval=no
10245 fi
10246 fi
10247
10248 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
10249 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
10250 # Check whether --enable-bmpbutton was given.
10251 if test "${enable_bmpbutton+set}" = set; then
10252 enableval=$enable_bmpbutton;
10253 if test "$enableval" = yes; then
10254 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
10255 else
10256 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
10257 fi
10258
10259 else
10260
10261 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
10262
10263 fi
10264
10265
10266 eval "$wx_cv_use_bmpbutton"
10267
10268 if test x"$enablestring" = xdisable; then
10269 if test $wxUSE_BMPBUTTON = no; then
10270 result=yes
10271 else
10272 result=no
10273 fi
10274 else
10275 result=$wxUSE_BMPBUTTON
10276 fi
10277
10278 { echo "$as_me:$LINENO: result: $result" >&5
10279 echo "${ECHO_T}$result" >&6; }
10280
10281
10282 enablestring=
10283 defaultval=$wxUSE_ALL_FEATURES
10284 if test -z "$defaultval"; then
10285 if test x"$enablestring" = xdisable; then
10286 defaultval=yes
10287 else
10288 defaultval=no
10289 fi
10290 fi
10291
10292 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
10293 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
10294 # Check whether --enable-bmpcombobox was given.
10295 if test "${enable_bmpcombobox+set}" = set; then
10296 enableval=$enable_bmpcombobox;
10297 if test "$enableval" = yes; then
10298 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
10299 else
10300 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
10301 fi
10302
10303 else
10304
10305 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
10306
10307 fi
10308
10309
10310 eval "$wx_cv_use_bmpcombobox"
10311
10312 if test x"$enablestring" = xdisable; then
10313 if test $wxUSE_BITMAPCOMBOBOX = no; then
10314 result=yes
10315 else
10316 result=no
10317 fi
10318 else
10319 result=$wxUSE_BITMAPCOMBOBOX
10320 fi
10321
10322 { echo "$as_me:$LINENO: result: $result" >&5
10323 echo "${ECHO_T}$result" >&6; }
10324
10325
10326 enablestring=
10327 defaultval=$wxUSE_ALL_FEATURES
10328 if test -z "$defaultval"; then
10329 if test x"$enablestring" = xdisable; then
10330 defaultval=yes
10331 else
10332 defaultval=no
10333 fi
10334 fi
10335
10336 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
10337 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
10338 # Check whether --enable-button was given.
10339 if test "${enable_button+set}" = set; then
10340 enableval=$enable_button;
10341 if test "$enableval" = yes; then
10342 wx_cv_use_button='wxUSE_BUTTON=yes'
10343 else
10344 wx_cv_use_button='wxUSE_BUTTON=no'
10345 fi
10346
10347 else
10348
10349 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
10350
10351 fi
10352
10353
10354 eval "$wx_cv_use_button"
10355
10356 if test x"$enablestring" = xdisable; then
10357 if test $wxUSE_BUTTON = no; then
10358 result=yes
10359 else
10360 result=no
10361 fi
10362 else
10363 result=$wxUSE_BUTTON
10364 fi
10365
10366 { echo "$as_me:$LINENO: result: $result" >&5
10367 echo "${ECHO_T}$result" >&6; }
10368
10369
10370 enablestring=
10371 defaultval=$wxUSE_ALL_FEATURES
10372 if test -z "$defaultval"; then
10373 if test x"$enablestring" = xdisable; then
10374 defaultval=yes
10375 else
10376 defaultval=no
10377 fi
10378 fi
10379
10380 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
10381 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
10382 # Check whether --enable-calendar was given.
10383 if test "${enable_calendar+set}" = set; then
10384 enableval=$enable_calendar;
10385 if test "$enableval" = yes; then
10386 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
10387 else
10388 wx_cv_use_calendar='wxUSE_CALCTRL=no'
10389 fi
10390
10391 else
10392
10393 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
10394
10395 fi
10396
10397
10398 eval "$wx_cv_use_calendar"
10399
10400 if test x"$enablestring" = xdisable; then
10401 if test $wxUSE_CALCTRL = no; then
10402 result=yes
10403 else
10404 result=no
10405 fi
10406 else
10407 result=$wxUSE_CALCTRL
10408 fi
10409
10410 { echo "$as_me:$LINENO: result: $result" >&5
10411 echo "${ECHO_T}$result" >&6; }
10412
10413
10414 enablestring=
10415 defaultval=$wxUSE_ALL_FEATURES
10416 if test -z "$defaultval"; then
10417 if test x"$enablestring" = xdisable; then
10418 defaultval=yes
10419 else
10420 defaultval=no
10421 fi
10422 fi
10423
10424 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
10425 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
10426 # Check whether --enable-caret was given.
10427 if test "${enable_caret+set}" = set; then
10428 enableval=$enable_caret;
10429 if test "$enableval" = yes; then
10430 wx_cv_use_caret='wxUSE_CARET=yes'
10431 else
10432 wx_cv_use_caret='wxUSE_CARET=no'
10433 fi
10434
10435 else
10436
10437 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
10438
10439 fi
10440
10441
10442 eval "$wx_cv_use_caret"
10443
10444 if test x"$enablestring" = xdisable; then
10445 if test $wxUSE_CARET = no; then
10446 result=yes
10447 else
10448 result=no
10449 fi
10450 else
10451 result=$wxUSE_CARET
10452 fi
10453
10454 { echo "$as_me:$LINENO: result: $result" >&5
10455 echo "${ECHO_T}$result" >&6; }
10456
10457
10458 enablestring=
10459 defaultval=$wxUSE_ALL_FEATURES
10460 if test -z "$defaultval"; then
10461 if test x"$enablestring" = xdisable; then
10462 defaultval=yes
10463 else
10464 defaultval=no
10465 fi
10466 fi
10467
10468 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
10469 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
10470 # Check whether --enable-checkbox was given.
10471 if test "${enable_checkbox+set}" = set; then
10472 enableval=$enable_checkbox;
10473 if test "$enableval" = yes; then
10474 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
10475 else
10476 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
10477 fi
10478
10479 else
10480
10481 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
10482
10483 fi
10484
10485
10486 eval "$wx_cv_use_checkbox"
10487
10488 if test x"$enablestring" = xdisable; then
10489 if test $wxUSE_CHECKBOX = no; then
10490 result=yes
10491 else
10492 result=no
10493 fi
10494 else
10495 result=$wxUSE_CHECKBOX
10496 fi
10497
10498 { echo "$as_me:$LINENO: result: $result" >&5
10499 echo "${ECHO_T}$result" >&6; }
10500
10501
10502 enablestring=
10503 defaultval=$wxUSE_ALL_FEATURES
10504 if test -z "$defaultval"; then
10505 if test x"$enablestring" = xdisable; then
10506 defaultval=yes
10507 else
10508 defaultval=no
10509 fi
10510 fi
10511
10512 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
10513 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
10514 # Check whether --enable-checklst was given.
10515 if test "${enable_checklst+set}" = set; then
10516 enableval=$enable_checklst;
10517 if test "$enableval" = yes; then
10518 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
10519 else
10520 wx_cv_use_checklst='wxUSE_CHECKLST=no'
10521 fi
10522
10523 else
10524
10525 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
10526
10527 fi
10528
10529
10530 eval "$wx_cv_use_checklst"
10531
10532 if test x"$enablestring" = xdisable; then
10533 if test $wxUSE_CHECKLST = no; then
10534 result=yes
10535 else
10536 result=no
10537 fi
10538 else
10539 result=$wxUSE_CHECKLST
10540 fi
10541
10542 { echo "$as_me:$LINENO: result: $result" >&5
10543 echo "${ECHO_T}$result" >&6; }
10544
10545
10546 enablestring=
10547 defaultval=$wxUSE_ALL_FEATURES
10548 if test -z "$defaultval"; then
10549 if test x"$enablestring" = xdisable; then
10550 defaultval=yes
10551 else
10552 defaultval=no
10553 fi
10554 fi
10555
10556 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
10557 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
10558 # Check whether --enable-choice was given.
10559 if test "${enable_choice+set}" = set; then
10560 enableval=$enable_choice;
10561 if test "$enableval" = yes; then
10562 wx_cv_use_choice='wxUSE_CHOICE=yes'
10563 else
10564 wx_cv_use_choice='wxUSE_CHOICE=no'
10565 fi
10566
10567 else
10568
10569 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
10570
10571 fi
10572
10573
10574 eval "$wx_cv_use_choice"
10575
10576 if test x"$enablestring" = xdisable; then
10577 if test $wxUSE_CHOICE = no; then
10578 result=yes
10579 else
10580 result=no
10581 fi
10582 else
10583 result=$wxUSE_CHOICE
10584 fi
10585
10586 { echo "$as_me:$LINENO: result: $result" >&5
10587 echo "${ECHO_T}$result" >&6; }
10588
10589
10590 enablestring=
10591 defaultval=$wxUSE_ALL_FEATURES
10592 if test -z "$defaultval"; then
10593 if test x"$enablestring" = xdisable; then
10594 defaultval=yes
10595 else
10596 defaultval=no
10597 fi
10598 fi
10599
10600 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
10601 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
10602 # Check whether --enable-choicebook was given.
10603 if test "${enable_choicebook+set}" = set; then
10604 enableval=$enable_choicebook;
10605 if test "$enableval" = yes; then
10606 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
10607 else
10608 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
10609 fi
10610
10611 else
10612
10613 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
10614
10615 fi
10616
10617
10618 eval "$wx_cv_use_choicebook"
10619
10620 if test x"$enablestring" = xdisable; then
10621 if test $wxUSE_CHOICEBOOK = no; then
10622 result=yes
10623 else
10624 result=no
10625 fi
10626 else
10627 result=$wxUSE_CHOICEBOOK
10628 fi
10629
10630 { echo "$as_me:$LINENO: result: $result" >&5
10631 echo "${ECHO_T}$result" >&6; }
10632
10633
10634 enablestring=
10635 defaultval=$wxUSE_ALL_FEATURES
10636 if test -z "$defaultval"; then
10637 if test x"$enablestring" = xdisable; then
10638 defaultval=yes
10639 else
10640 defaultval=no
10641 fi
10642 fi
10643
10644 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
10645 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
10646 # Check whether --enable-collpane was given.
10647 if test "${enable_collpane+set}" = set; then
10648 enableval=$enable_collpane;
10649 if test "$enableval" = yes; then
10650 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
10651 else
10652 wx_cv_use_collpane='wxUSE_COLLPANE=no'
10653 fi
10654
10655 else
10656
10657 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
10658
10659 fi
10660
10661
10662 eval "$wx_cv_use_collpane"
10663
10664 if test x"$enablestring" = xdisable; then
10665 if test $wxUSE_COLLPANE = no; then
10666 result=yes
10667 else
10668 result=no
10669 fi
10670 else
10671 result=$wxUSE_COLLPANE
10672 fi
10673
10674 { echo "$as_me:$LINENO: result: $result" >&5
10675 echo "${ECHO_T}$result" >&6; }
10676
10677
10678 enablestring=
10679 defaultval=$wxUSE_ALL_FEATURES
10680 if test -z "$defaultval"; then
10681 if test x"$enablestring" = xdisable; then
10682 defaultval=yes
10683 else
10684 defaultval=no
10685 fi
10686 fi
10687
10688 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
10689 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
10690 # Check whether --enable-colourpicker was given.
10691 if test "${enable_colourpicker+set}" = set; then
10692 enableval=$enable_colourpicker;
10693 if test "$enableval" = yes; then
10694 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
10695 else
10696 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
10697 fi
10698
10699 else
10700
10701 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
10702
10703 fi
10704
10705
10706 eval "$wx_cv_use_colourpicker"
10707
10708 if test x"$enablestring" = xdisable; then
10709 if test $wxUSE_COLOURPICKERCTRL = no; then
10710 result=yes
10711 else
10712 result=no
10713 fi
10714 else
10715 result=$wxUSE_COLOURPICKERCTRL
10716 fi
10717
10718 { echo "$as_me:$LINENO: result: $result" >&5
10719 echo "${ECHO_T}$result" >&6; }
10720
10721
10722 enablestring=
10723 defaultval=$wxUSE_ALL_FEATURES
10724 if test -z "$defaultval"; then
10725 if test x"$enablestring" = xdisable; then
10726 defaultval=yes
10727 else
10728 defaultval=no
10729 fi
10730 fi
10731
10732 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
10733 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
10734 # Check whether --enable-combobox was given.
10735 if test "${enable_combobox+set}" = set; then
10736 enableval=$enable_combobox;
10737 if test "$enableval" = yes; then
10738 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
10739 else
10740 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
10741 fi
10742
10743 else
10744
10745 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
10746
10747 fi
10748
10749
10750 eval "$wx_cv_use_combobox"
10751
10752 if test x"$enablestring" = xdisable; then
10753 if test $wxUSE_COMBOBOX = no; then
10754 result=yes
10755 else
10756 result=no
10757 fi
10758 else
10759 result=$wxUSE_COMBOBOX
10760 fi
10761
10762 { echo "$as_me:$LINENO: result: $result" >&5
10763 echo "${ECHO_T}$result" >&6; }
10764
10765
10766 enablestring=
10767 defaultval=$wxUSE_ALL_FEATURES
10768 if test -z "$defaultval"; then
10769 if test x"$enablestring" = xdisable; then
10770 defaultval=yes
10771 else
10772 defaultval=no
10773 fi
10774 fi
10775
10776 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
10777 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
10778 # Check whether --enable-comboctrl was given.
10779 if test "${enable_comboctrl+set}" = set; then
10780 enableval=$enable_comboctrl;
10781 if test "$enableval" = yes; then
10782 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
10783 else
10784 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
10785 fi
10786
10787 else
10788
10789 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
10790
10791 fi
10792
10793
10794 eval "$wx_cv_use_comboctrl"
10795
10796 if test x"$enablestring" = xdisable; then
10797 if test $wxUSE_COMBOCTRL = no; then
10798 result=yes
10799 else
10800 result=no
10801 fi
10802 else
10803 result=$wxUSE_COMBOCTRL
10804 fi
10805
10806 { echo "$as_me:$LINENO: result: $result" >&5
10807 echo "${ECHO_T}$result" >&6; }
10808
10809
10810 enablestring=
10811 defaultval=$wxUSE_ALL_FEATURES
10812 if test -z "$defaultval"; then
10813 if test x"$enablestring" = xdisable; then
10814 defaultval=yes
10815 else
10816 defaultval=no
10817 fi
10818 fi
10819
10820 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commandlinkbutton" >&5
10821 echo $ECHO_N "checking for --${enablestring:-enable}-commandlinkbutton... $ECHO_C" >&6; }
10822 # Check whether --enable-commandlinkbutton was given.
10823 if test "${enable_commandlinkbutton+set}" = set; then
10824 enableval=$enable_commandlinkbutton;
10825 if test "$enableval" = yes; then
10826 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=yes'
10827 else
10828 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=no'
10829 fi
10830
10831 else
10832
10833 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=${'DEFAULT_wxUSE_COMMANDLINKBUTTON":-$defaultval}"
10834
10835 fi
10836
10837
10838 eval "$wx_cv_use_commandlinkbutton"
10839
10840 if test x"$enablestring" = xdisable; then
10841 if test $wxUSE_COMMANDLINKBUTTON = no; then
10842 result=yes
10843 else
10844 result=no
10845 fi
10846 else
10847 result=$wxUSE_COMMANDLINKBUTTON
10848 fi
10849
10850 { echo "$as_me:$LINENO: result: $result" >&5
10851 echo "${ECHO_T}$result" >&6; }
10852
10853
10854 enablestring=
10855 defaultval=$wxUSE_ALL_FEATURES
10856 if test -z "$defaultval"; then
10857 if test x"$enablestring" = xdisable; then
10858 defaultval=yes
10859 else
10860 defaultval=no
10861 fi
10862 fi
10863
10864 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
10865 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
10866 # Check whether --enable-dataviewctrl was given.
10867 if test "${enable_dataviewctrl+set}" = set; then
10868 enableval=$enable_dataviewctrl;
10869 if test "$enableval" = yes; then
10870 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
10871 else
10872 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
10873 fi
10874
10875 else
10876
10877 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
10878
10879 fi
10880
10881
10882 eval "$wx_cv_use_dataviewctrl"
10883
10884 if test x"$enablestring" = xdisable; then
10885 if test $wxUSE_DATAVIEWCTRL = no; then
10886 result=yes
10887 else
10888 result=no
10889 fi
10890 else
10891 result=$wxUSE_DATAVIEWCTRL
10892 fi
10893
10894 { echo "$as_me:$LINENO: result: $result" >&5
10895 echo "${ECHO_T}$result" >&6; }
10896
10897
10898 enablestring=
10899 defaultval=$wxUSE_ALL_FEATURES
10900 if test -z "$defaultval"; then
10901 if test x"$enablestring" = xdisable; then
10902 defaultval=yes
10903 else
10904 defaultval=no
10905 fi
10906 fi
10907
10908 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
10909 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
10910 # Check whether --enable-datepick was given.
10911 if test "${enable_datepick+set}" = set; then
10912 enableval=$enable_datepick;
10913 if test "$enableval" = yes; then
10914 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
10915 else
10916 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
10917 fi
10918
10919 else
10920
10921 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
10922
10923 fi
10924
10925
10926 eval "$wx_cv_use_datepick"
10927
10928 if test x"$enablestring" = xdisable; then
10929 if test $wxUSE_DATEPICKCTRL = no; then
10930 result=yes
10931 else
10932 result=no
10933 fi
10934 else
10935 result=$wxUSE_DATEPICKCTRL
10936 fi
10937
10938 { echo "$as_me:$LINENO: result: $result" >&5
10939 echo "${ECHO_T}$result" >&6; }
10940
10941
10942 enablestring=
10943 defaultval=$wxUSE_ALL_FEATURES
10944 if test -z "$defaultval"; then
10945 if test x"$enablestring" = xdisable; then
10946 defaultval=yes
10947 else
10948 defaultval=no
10949 fi
10950 fi
10951
10952 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
10953 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
10954 # Check whether --enable-detect_sm was given.
10955 if test "${enable_detect_sm+set}" = set; then
10956 enableval=$enable_detect_sm;
10957 if test "$enableval" = yes; then
10958 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
10959 else
10960 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
10961 fi
10962
10963 else
10964
10965 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
10966
10967 fi
10968
10969
10970 eval "$wx_cv_use_detect_sm"
10971
10972 if test x"$enablestring" = xdisable; then
10973 if test $wxUSE_DETECT_SM = no; then
10974 result=yes
10975 else
10976 result=no
10977 fi
10978 else
10979 result=$wxUSE_DETECT_SM
10980 fi
10981
10982 { echo "$as_me:$LINENO: result: $result" >&5
10983 echo "${ECHO_T}$result" >&6; }
10984
10985
10986 enablestring=
10987 defaultval=$wxUSE_ALL_FEATURES
10988 if test -z "$defaultval"; then
10989 if test x"$enablestring" = xdisable; then
10990 defaultval=yes
10991 else
10992 defaultval=no
10993 fi
10994 fi
10995
10996 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
10997 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
10998 # Check whether --enable-dirpicker was given.
10999 if test "${enable_dirpicker+set}" = set; then
11000 enableval=$enable_dirpicker;
11001 if test "$enableval" = yes; then
11002 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
11003 else
11004 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
11005 fi
11006
11007 else
11008
11009 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
11010
11011 fi
11012
11013
11014 eval "$wx_cv_use_dirpicker"
11015
11016 if test x"$enablestring" = xdisable; then
11017 if test $wxUSE_DIRPICKERCTRL = no; then
11018 result=yes
11019 else
11020 result=no
11021 fi
11022 else
11023 result=$wxUSE_DIRPICKERCTRL
11024 fi
11025
11026 { echo "$as_me:$LINENO: result: $result" >&5
11027 echo "${ECHO_T}$result" >&6; }
11028
11029
11030 enablestring=
11031 defaultval=$wxUSE_ALL_FEATURES
11032 if test -z "$defaultval"; then
11033 if test x"$enablestring" = xdisable; then
11034 defaultval=yes
11035 else
11036 defaultval=no
11037 fi
11038 fi
11039
11040 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
11041 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
11042 # Check whether --enable-display was given.
11043 if test "${enable_display+set}" = set; then
11044 enableval=$enable_display;
11045 if test "$enableval" = yes; then
11046 wx_cv_use_display='wxUSE_DISPLAY=yes'
11047 else
11048 wx_cv_use_display='wxUSE_DISPLAY=no'
11049 fi
11050
11051 else
11052
11053 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
11054
11055 fi
11056
11057
11058 eval "$wx_cv_use_display"
11059
11060 if test x"$enablestring" = xdisable; then
11061 if test $wxUSE_DISPLAY = no; then
11062 result=yes
11063 else
11064 result=no
11065 fi
11066 else
11067 result=$wxUSE_DISPLAY
11068 fi
11069
11070 { echo "$as_me:$LINENO: result: $result" >&5
11071 echo "${ECHO_T}$result" >&6; }
11072
11073
11074 enablestring=
11075 defaultval=$wxUSE_ALL_FEATURES
11076 if test -z "$defaultval"; then
11077 if test x"$enablestring" = xdisable; then
11078 defaultval=yes
11079 else
11080 defaultval=no
11081 fi
11082 fi
11083
11084 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
11085 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
11086 # Check whether --enable-editablebox was given.
11087 if test "${enable_editablebox+set}" = set; then
11088 enableval=$enable_editablebox;
11089 if test "$enableval" = yes; then
11090 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
11091 else
11092 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
11093 fi
11094
11095 else
11096
11097 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
11098
11099 fi
11100
11101
11102 eval "$wx_cv_use_editablebox"
11103
11104 if test x"$enablestring" = xdisable; then
11105 if test $wxUSE_EDITABLELISTBOX = no; then
11106 result=yes
11107 else
11108 result=no
11109 fi
11110 else
11111 result=$wxUSE_EDITABLELISTBOX
11112 fi
11113
11114 { echo "$as_me:$LINENO: result: $result" >&5
11115 echo "${ECHO_T}$result" >&6; }
11116
11117
11118 enablestring=
11119 defaultval=$wxUSE_ALL_FEATURES
11120 if test -z "$defaultval"; then
11121 if test x"$enablestring" = xdisable; then
11122 defaultval=yes
11123 else
11124 defaultval=no
11125 fi
11126 fi
11127
11128 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filectrl" >&5
11129 echo $ECHO_N "checking for --${enablestring:-enable}-filectrl... $ECHO_C" >&6; }
11130 # Check whether --enable-filectrl was given.
11131 if test "${enable_filectrl+set}" = set; then
11132 enableval=$enable_filectrl;
11133 if test "$enableval" = yes; then
11134 wx_cv_use_filectrl='wxUSE_FILECTRL=yes'
11135 else
11136 wx_cv_use_filectrl='wxUSE_FILECTRL=no'
11137 fi
11138
11139 else
11140
11141 wx_cv_use_filectrl='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
11142
11143 fi
11144
11145
11146 eval "$wx_cv_use_filectrl"
11147
11148 if test x"$enablestring" = xdisable; then
11149 if test $wxUSE_FILECTRL = no; then
11150 result=yes
11151 else
11152 result=no
11153 fi
11154 else
11155 result=$wxUSE_FILECTRL
11156 fi
11157
11158 { echo "$as_me:$LINENO: result: $result" >&5
11159 echo "${ECHO_T}$result" >&6; }
11160
11161
11162 enablestring=
11163 defaultval=$wxUSE_ALL_FEATURES
11164 if test -z "$defaultval"; then
11165 if test x"$enablestring" = xdisable; then
11166 defaultval=yes
11167 else
11168 defaultval=no
11169 fi
11170 fi
11171
11172 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
11173 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
11174 # Check whether --enable-filepicker was given.
11175 if test "${enable_filepicker+set}" = set; then
11176 enableval=$enable_filepicker;
11177 if test "$enableval" = yes; then
11178 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
11179 else
11180 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
11181 fi
11182
11183 else
11184
11185 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
11186
11187 fi
11188
11189
11190 eval "$wx_cv_use_filepicker"
11191
11192 if test x"$enablestring" = xdisable; then
11193 if test $wxUSE_FILEPICKERCTRL = no; then
11194 result=yes
11195 else
11196 result=no
11197 fi
11198 else
11199 result=$wxUSE_FILEPICKERCTRL
11200 fi
11201
11202 { echo "$as_me:$LINENO: result: $result" >&5
11203 echo "${ECHO_T}$result" >&6; }
11204
11205
11206 enablestring=
11207 defaultval=$wxUSE_ALL_FEATURES
11208 if test -z "$defaultval"; then
11209 if test x"$enablestring" = xdisable; then
11210 defaultval=yes
11211 else
11212 defaultval=no
11213 fi
11214 fi
11215
11216 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
11217 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
11218 # Check whether --enable-fontpicker was given.
11219 if test "${enable_fontpicker+set}" = set; then
11220 enableval=$enable_fontpicker;
11221 if test "$enableval" = yes; then
11222 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
11223 else
11224 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
11225 fi
11226
11227 else
11228
11229 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
11230
11231 fi
11232
11233
11234 eval "$wx_cv_use_fontpicker"
11235
11236 if test x"$enablestring" = xdisable; then
11237 if test $wxUSE_FONTPICKERCTRL = no; then
11238 result=yes
11239 else
11240 result=no
11241 fi
11242 else
11243 result=$wxUSE_FONTPICKERCTRL
11244 fi
11245
11246 { echo "$as_me:$LINENO: result: $result" >&5
11247 echo "${ECHO_T}$result" >&6; }
11248
11249
11250 enablestring=
11251 defaultval=$wxUSE_ALL_FEATURES
11252 if test -z "$defaultval"; then
11253 if test x"$enablestring" = xdisable; then
11254 defaultval=yes
11255 else
11256 defaultval=no
11257 fi
11258 fi
11259
11260 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
11261 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
11262 # Check whether --enable-gauge was given.
11263 if test "${enable_gauge+set}" = set; then
11264 enableval=$enable_gauge;
11265 if test "$enableval" = yes; then
11266 wx_cv_use_gauge='wxUSE_GAUGE=yes'
11267 else
11268 wx_cv_use_gauge='wxUSE_GAUGE=no'
11269 fi
11270
11271 else
11272
11273 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
11274
11275 fi
11276
11277
11278 eval "$wx_cv_use_gauge"
11279
11280 if test x"$enablestring" = xdisable; then
11281 if test $wxUSE_GAUGE = no; then
11282 result=yes
11283 else
11284 result=no
11285 fi
11286 else
11287 result=$wxUSE_GAUGE
11288 fi
11289
11290 { echo "$as_me:$LINENO: result: $result" >&5
11291 echo "${ECHO_T}$result" >&6; }
11292
11293
11294 enablestring=
11295 defaultval=$wxUSE_ALL_FEATURES
11296 if test -z "$defaultval"; then
11297 if test x"$enablestring" = xdisable; then
11298 defaultval=yes
11299 else
11300 defaultval=no
11301 fi
11302 fi
11303
11304 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
11305 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
11306 # Check whether --enable-grid was given.
11307 if test "${enable_grid+set}" = set; then
11308 enableval=$enable_grid;
11309 if test "$enableval" = yes; then
11310 wx_cv_use_grid='wxUSE_GRID=yes'
11311 else
11312 wx_cv_use_grid='wxUSE_GRID=no'
11313 fi
11314
11315 else
11316
11317 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
11318
11319 fi
11320
11321
11322 eval "$wx_cv_use_grid"
11323
11324 if test x"$enablestring" = xdisable; then
11325 if test $wxUSE_GRID = no; then
11326 result=yes
11327 else
11328 result=no
11329 fi
11330 else
11331 result=$wxUSE_GRID
11332 fi
11333
11334 { echo "$as_me:$LINENO: result: $result" >&5
11335 echo "${ECHO_T}$result" >&6; }
11336
11337
11338 enablestring=
11339 defaultval=$wxUSE_ALL_FEATURES
11340 if test -z "$defaultval"; then
11341 if test x"$enablestring" = xdisable; then
11342 defaultval=yes
11343 else
11344 defaultval=no
11345 fi
11346 fi
11347
11348 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-headerctrl" >&5
11349 echo $ECHO_N "checking for --${enablestring:-enable}-headerctrl... $ECHO_C" >&6; }
11350 # Check whether --enable-headerctrl was given.
11351 if test "${enable_headerctrl+set}" = set; then
11352 enableval=$enable_headerctrl;
11353 if test "$enableval" = yes; then
11354 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=yes'
11355 else
11356 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=no'
11357 fi
11358
11359 else
11360
11361 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=${'DEFAULT_wxUSE_HEADERCTRL":-$defaultval}"
11362
11363 fi
11364
11365
11366 eval "$wx_cv_use_headerctrl"
11367
11368 if test x"$enablestring" = xdisable; then
11369 if test $wxUSE_HEADERCTRL = no; then
11370 result=yes
11371 else
11372 result=no
11373 fi
11374 else
11375 result=$wxUSE_HEADERCTRL
11376 fi
11377
11378 { echo "$as_me:$LINENO: result: $result" >&5
11379 echo "${ECHO_T}$result" >&6; }
11380
11381
11382 enablestring=
11383 defaultval=$wxUSE_ALL_FEATURES
11384 if test -z "$defaultval"; then
11385 if test x"$enablestring" = xdisable; then
11386 defaultval=yes
11387 else
11388 defaultval=no
11389 fi
11390 fi
11391
11392 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
11393 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
11394 # Check whether --enable-hyperlink was given.
11395 if test "${enable_hyperlink+set}" = set; then
11396 enableval=$enable_hyperlink;
11397 if test "$enableval" = yes; then
11398 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
11399 else
11400 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
11401 fi
11402
11403 else
11404
11405 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
11406
11407 fi
11408
11409
11410 eval "$wx_cv_use_hyperlink"
11411
11412 if test x"$enablestring" = xdisable; then
11413 if test $wxUSE_HYPERLINKCTRL = no; then
11414 result=yes
11415 else
11416 result=no
11417 fi
11418 else
11419 result=$wxUSE_HYPERLINKCTRL
11420 fi
11421
11422 { echo "$as_me:$LINENO: result: $result" >&5
11423 echo "${ECHO_T}$result" >&6; }
11424
11425
11426 enablestring=
11427 defaultval=$wxUSE_ALL_FEATURES
11428 if test -z "$defaultval"; then
11429 if test x"$enablestring" = xdisable; then
11430 defaultval=yes
11431 else
11432 defaultval=no
11433 fi
11434 fi
11435
11436 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
11437 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
11438 # Check whether --enable-imaglist was given.
11439 if test "${enable_imaglist+set}" = set; then
11440 enableval=$enable_imaglist;
11441 if test "$enableval" = yes; then
11442 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
11443 else
11444 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
11445 fi
11446
11447 else
11448
11449 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
11450
11451 fi
11452
11453
11454 eval "$wx_cv_use_imaglist"
11455
11456 if test x"$enablestring" = xdisable; then
11457 if test $wxUSE_IMAGLIST = no; then
11458 result=yes
11459 else
11460 result=no
11461 fi
11462 else
11463 result=$wxUSE_IMAGLIST
11464 fi
11465
11466 { echo "$as_me:$LINENO: result: $result" >&5
11467 echo "${ECHO_T}$result" >&6; }
11468
11469
11470 enablestring=
11471 defaultval=$wxUSE_ALL_FEATURES
11472 if test -z "$defaultval"; then
11473 if test x"$enablestring" = xdisable; then
11474 defaultval=yes
11475 else
11476 defaultval=no
11477 fi
11478 fi
11479
11480 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-infobar" >&5
11481 echo $ECHO_N "checking for --${enablestring:-enable}-infobar... $ECHO_C" >&6; }
11482 # Check whether --enable-infobar was given.
11483 if test "${enable_infobar+set}" = set; then
11484 enableval=$enable_infobar;
11485 if test "$enableval" = yes; then
11486 wx_cv_use_infobar='wxUSE_INFOBAR=yes'
11487 else
11488 wx_cv_use_infobar='wxUSE_INFOBAR=no'
11489 fi
11490
11491 else
11492
11493 wx_cv_use_infobar='wxUSE_INFOBAR=${'DEFAULT_wxUSE_INFOBAR":-$defaultval}"
11494
11495 fi
11496
11497
11498 eval "$wx_cv_use_infobar"
11499
11500 if test x"$enablestring" = xdisable; then
11501 if test $wxUSE_INFOBAR = no; then
11502 result=yes
11503 else
11504 result=no
11505 fi
11506 else
11507 result=$wxUSE_INFOBAR
11508 fi
11509
11510 { echo "$as_me:$LINENO: result: $result" >&5
11511 echo "${ECHO_T}$result" >&6; }
11512
11513
11514 enablestring=
11515 defaultval=$wxUSE_ALL_FEATURES
11516 if test -z "$defaultval"; then
11517 if test x"$enablestring" = xdisable; then
11518 defaultval=yes
11519 else
11520 defaultval=no
11521 fi
11522 fi
11523
11524 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
11525 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
11526 # Check whether --enable-listbook was given.
11527 if test "${enable_listbook+set}" = set; then
11528 enableval=$enable_listbook;
11529 if test "$enableval" = yes; then
11530 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
11531 else
11532 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
11533 fi
11534
11535 else
11536
11537 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
11538
11539 fi
11540
11541
11542 eval "$wx_cv_use_listbook"
11543
11544 if test x"$enablestring" = xdisable; then
11545 if test $wxUSE_LISTBOOK = no; then
11546 result=yes
11547 else
11548 result=no
11549 fi
11550 else
11551 result=$wxUSE_LISTBOOK
11552 fi
11553
11554 { echo "$as_me:$LINENO: result: $result" >&5
11555 echo "${ECHO_T}$result" >&6; }
11556
11557
11558 enablestring=
11559 defaultval=$wxUSE_ALL_FEATURES
11560 if test -z "$defaultval"; then
11561 if test x"$enablestring" = xdisable; then
11562 defaultval=yes
11563 else
11564 defaultval=no
11565 fi
11566 fi
11567
11568 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
11569 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
11570 # Check whether --enable-listbox was given.
11571 if test "${enable_listbox+set}" = set; then
11572 enableval=$enable_listbox;
11573 if test "$enableval" = yes; then
11574 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
11575 else
11576 wx_cv_use_listbox='wxUSE_LISTBOX=no'
11577 fi
11578
11579 else
11580
11581 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
11582
11583 fi
11584
11585
11586 eval "$wx_cv_use_listbox"
11587
11588 if test x"$enablestring" = xdisable; then
11589 if test $wxUSE_LISTBOX = no; then
11590 result=yes
11591 else
11592 result=no
11593 fi
11594 else
11595 result=$wxUSE_LISTBOX
11596 fi
11597
11598 { echo "$as_me:$LINENO: result: $result" >&5
11599 echo "${ECHO_T}$result" >&6; }
11600
11601
11602 enablestring=
11603 defaultval=$wxUSE_ALL_FEATURES
11604 if test -z "$defaultval"; then
11605 if test x"$enablestring" = xdisable; then
11606 defaultval=yes
11607 else
11608 defaultval=no
11609 fi
11610 fi
11611
11612 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
11613 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
11614 # Check whether --enable-listctrl was given.
11615 if test "${enable_listctrl+set}" = set; then
11616 enableval=$enable_listctrl;
11617 if test "$enableval" = yes; then
11618 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
11619 else
11620 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
11621 fi
11622
11623 else
11624
11625 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
11626
11627 fi
11628
11629
11630 eval "$wx_cv_use_listctrl"
11631
11632 if test x"$enablestring" = xdisable; then
11633 if test $wxUSE_LISTCTRL = no; then
11634 result=yes
11635 else
11636 result=no
11637 fi
11638 else
11639 result=$wxUSE_LISTCTRL
11640 fi
11641
11642 { echo "$as_me:$LINENO: result: $result" >&5
11643 echo "${ECHO_T}$result" >&6; }
11644
11645
11646 enablestring=
11647 defaultval=$wxUSE_ALL_FEATURES
11648 if test -z "$defaultval"; then
11649 if test x"$enablestring" = xdisable; then
11650 defaultval=yes
11651 else
11652 defaultval=no
11653 fi
11654 fi
11655
11656 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
11657 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
11658 # Check whether --enable-notebook was given.
11659 if test "${enable_notebook+set}" = set; then
11660 enableval=$enable_notebook;
11661 if test "$enableval" = yes; then
11662 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
11663 else
11664 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
11665 fi
11666
11667 else
11668
11669 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
11670
11671 fi
11672
11673
11674 eval "$wx_cv_use_notebook"
11675
11676 if test x"$enablestring" = xdisable; then
11677 if test $wxUSE_NOTEBOOK = no; then
11678 result=yes
11679 else
11680 result=no
11681 fi
11682 else
11683 result=$wxUSE_NOTEBOOK
11684 fi
11685
11686 { echo "$as_me:$LINENO: result: $result" >&5
11687 echo "${ECHO_T}$result" >&6; }
11688
11689
11690 enablestring=
11691 defaultval=$wxUSE_ALL_FEATURES
11692 if test -z "$defaultval"; then
11693 if test x"$enablestring" = xdisable; then
11694 defaultval=yes
11695 else
11696 defaultval=no
11697 fi
11698 fi
11699
11700 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notifmsg" >&5
11701 echo $ECHO_N "checking for --${enablestring:-enable}-notifmsg... $ECHO_C" >&6; }
11702 # Check whether --enable-notifmsg was given.
11703 if test "${enable_notifmsg+set}" = set; then
11704 enableval=$enable_notifmsg;
11705 if test "$enableval" = yes; then
11706 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=yes'
11707 else
11708 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=no'
11709 fi
11710
11711 else
11712
11713 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
11714
11715 fi
11716
11717
11718 eval "$wx_cv_use_notifmsg"
11719
11720 if test x"$enablestring" = xdisable; then
11721 if test $wxUSE_NOTIFICATION_MESSAGE = no; then
11722 result=yes
11723 else
11724 result=no
11725 fi
11726 else
11727 result=$wxUSE_NOTIFICATION_MESSAGE
11728 fi
11729
11730 { echo "$as_me:$LINENO: result: $result" >&5
11731 echo "${ECHO_T}$result" >&6; }
11732
11733
11734 enablestring=
11735 defaultval=$wxUSE_ALL_FEATURES
11736 if test -z "$defaultval"; then
11737 if test x"$enablestring" = xdisable; then
11738 defaultval=yes
11739 else
11740 defaultval=no
11741 fi
11742 fi
11743
11744 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
11745 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
11746 # Check whether --enable-odcombobox was given.
11747 if test "${enable_odcombobox+set}" = set; then
11748 enableval=$enable_odcombobox;
11749 if test "$enableval" = yes; then
11750 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
11751 else
11752 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
11753 fi
11754
11755 else
11756
11757 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
11758
11759 fi
11760
11761
11762 eval "$wx_cv_use_odcombobox"
11763
11764 if test x"$enablestring" = xdisable; then
11765 if test $wxUSE_ODCOMBOBOX = no; then
11766 result=yes
11767 else
11768 result=no
11769 fi
11770 else
11771 result=$wxUSE_ODCOMBOBOX
11772 fi
11773
11774 { echo "$as_me:$LINENO: result: $result" >&5
11775 echo "${ECHO_T}$result" >&6; }
11776
11777
11778 enablestring=
11779 defaultval=$wxUSE_ALL_FEATURES
11780 if test -z "$defaultval"; then
11781 if test x"$enablestring" = xdisable; then
11782 defaultval=yes
11783 else
11784 defaultval=no
11785 fi
11786 fi
11787
11788 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
11789 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
11790 # Check whether --enable-popupwin was given.
11791 if test "${enable_popupwin+set}" = set; then
11792 enableval=$enable_popupwin;
11793 if test "$enableval" = yes; then
11794 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
11795 else
11796 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
11797 fi
11798
11799 else
11800
11801 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
11802
11803 fi
11804
11805
11806 eval "$wx_cv_use_popupwin"
11807
11808 if test x"$enablestring" = xdisable; then
11809 if test $wxUSE_POPUPWIN = no; then
11810 result=yes
11811 else
11812 result=no
11813 fi
11814 else
11815 result=$wxUSE_POPUPWIN
11816 fi
11817
11818 { echo "$as_me:$LINENO: result: $result" >&5
11819 echo "${ECHO_T}$result" >&6; }
11820
11821
11822 enablestring=
11823 defaultval=$wxUSE_ALL_FEATURES
11824 if test -z "$defaultval"; then
11825 if test x"$enablestring" = xdisable; then
11826 defaultval=yes
11827 else
11828 defaultval=no
11829 fi
11830 fi
11831
11832 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
11833 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
11834 # Check whether --enable-radiobox was given.
11835 if test "${enable_radiobox+set}" = set; then
11836 enableval=$enable_radiobox;
11837 if test "$enableval" = yes; then
11838 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
11839 else
11840 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
11841 fi
11842
11843 else
11844
11845 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
11846
11847 fi
11848
11849
11850 eval "$wx_cv_use_radiobox"
11851
11852 if test x"$enablestring" = xdisable; then
11853 if test $wxUSE_RADIOBOX = no; then
11854 result=yes
11855 else
11856 result=no
11857 fi
11858 else
11859 result=$wxUSE_RADIOBOX
11860 fi
11861
11862 { echo "$as_me:$LINENO: result: $result" >&5
11863 echo "${ECHO_T}$result" >&6; }
11864
11865
11866 enablestring=
11867 defaultval=$wxUSE_ALL_FEATURES
11868 if test -z "$defaultval"; then
11869 if test x"$enablestring" = xdisable; then
11870 defaultval=yes
11871 else
11872 defaultval=no
11873 fi
11874 fi
11875
11876 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
11877 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
11878 # Check whether --enable-radiobtn was given.
11879 if test "${enable_radiobtn+set}" = set; then
11880 enableval=$enable_radiobtn;
11881 if test "$enableval" = yes; then
11882 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
11883 else
11884 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
11885 fi
11886
11887 else
11888
11889 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
11890
11891 fi
11892
11893
11894 eval "$wx_cv_use_radiobtn"
11895
11896 if test x"$enablestring" = xdisable; then
11897 if test $wxUSE_RADIOBTN = no; then
11898 result=yes
11899 else
11900 result=no
11901 fi
11902 else
11903 result=$wxUSE_RADIOBTN
11904 fi
11905
11906 { echo "$as_me:$LINENO: result: $result" >&5
11907 echo "${ECHO_T}$result" >&6; }
11908
11909
11910 enablestring=
11911 defaultval=$wxUSE_ALL_FEATURES
11912 if test -z "$defaultval"; then
11913 if test x"$enablestring" = xdisable; then
11914 defaultval=yes
11915 else
11916 defaultval=no
11917 fi
11918 fi
11919
11920 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richmsgdlg" >&5
11921 echo $ECHO_N "checking for --${enablestring:-enable}-richmsgdlg... $ECHO_C" >&6; }
11922 # Check whether --enable-richmsgdlg was given.
11923 if test "${enable_richmsgdlg+set}" = set; then
11924 enableval=$enable_richmsgdlg;
11925 if test "$enableval" = yes; then
11926 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=yes'
11927 else
11928 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=no'
11929 fi
11930
11931 else
11932
11933 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=${'DEFAULT_wxUSE_RICHMSGDLG":-$defaultval}"
11934
11935 fi
11936
11937
11938 eval "$wx_cv_use_richmsgdlg"
11939
11940 if test x"$enablestring" = xdisable; then
11941 if test $wxUSE_RICHMSGDLG = no; then
11942 result=yes
11943 else
11944 result=no
11945 fi
11946 else
11947 result=$wxUSE_RICHMSGDLG
11948 fi
11949
11950 { echo "$as_me:$LINENO: result: $result" >&5
11951 echo "${ECHO_T}$result" >&6; }
11952
11953
11954 enablestring=
11955 defaultval=$wxUSE_ALL_FEATURES
11956 if test -z "$defaultval"; then
11957 if test x"$enablestring" = xdisable; then
11958 defaultval=yes
11959 else
11960 defaultval=no
11961 fi
11962 fi
11963
11964 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtooltip" >&5
11965 echo $ECHO_N "checking for --${enablestring:-enable}-richtooltip... $ECHO_C" >&6; }
11966 # Check whether --enable-richtooltip was given.
11967 if test "${enable_richtooltip+set}" = set; then
11968 enableval=$enable_richtooltip;
11969 if test "$enableval" = yes; then
11970 wx_cv_use_richtooltip='wxUSE_RICHTOOLTIP=yes'
11971 else
11972 wx_cv_use_richtooltip='wxUSE_RICHTOOLTIP=no'
11973 fi
11974
11975 else
11976
11977 wx_cv_use_richtooltip='wxUSE_RICHTOOLTIP=${'DEFAULT_wxUSE_RICHTOOLTIP":-$defaultval}"
11978
11979 fi
11980
11981
11982 eval "$wx_cv_use_richtooltip"
11983
11984 if test x"$enablestring" = xdisable; then
11985 if test $wxUSE_RICHTOOLTIP = no; then
11986 result=yes
11987 else
11988 result=no
11989 fi
11990 else
11991 result=$wxUSE_RICHTOOLTIP
11992 fi
11993
11994 { echo "$as_me:$LINENO: result: $result" >&5
11995 echo "${ECHO_T}$result" >&6; }
11996
11997
11998 enablestring=
11999 defaultval=$wxUSE_ALL_FEATURES
12000 if test -z "$defaultval"; then
12001 if test x"$enablestring" = xdisable; then
12002 defaultval=yes
12003 else
12004 defaultval=no
12005 fi
12006 fi
12007
12008 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rearrangectrl" >&5
12009 echo $ECHO_N "checking for --${enablestring:-enable}-rearrangectrl... $ECHO_C" >&6; }
12010 # Check whether --enable-rearrangectrl was given.
12011 if test "${enable_rearrangectrl+set}" = set; then
12012 enableval=$enable_rearrangectrl;
12013 if test "$enableval" = yes; then
12014 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=yes'
12015 else
12016 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=no'
12017 fi
12018
12019 else
12020
12021 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=${'DEFAULT_wxUSE_REARRANGECTRL":-$defaultval}"
12022
12023 fi
12024
12025
12026 eval "$wx_cv_use_rearrangectrl"
12027
12028 if test x"$enablestring" = xdisable; then
12029 if test $wxUSE_REARRANGECTRL = no; then
12030 result=yes
12031 else
12032 result=no
12033 fi
12034 else
12035 result=$wxUSE_REARRANGECTRL
12036 fi
12037
12038 { echo "$as_me:$LINENO: result: $result" >&5
12039 echo "${ECHO_T}$result" >&6; }
12040
12041
12042 enablestring=
12043 defaultval=$wxUSE_ALL_FEATURES
12044 if test -z "$defaultval"; then
12045 if test x"$enablestring" = xdisable; then
12046 defaultval=yes
12047 else
12048 defaultval=no
12049 fi
12050 fi
12051
12052 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
12053 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
12054 # Check whether --enable-sash was given.
12055 if test "${enable_sash+set}" = set; then
12056 enableval=$enable_sash;
12057 if test "$enableval" = yes; then
12058 wx_cv_use_sash='wxUSE_SASH=yes'
12059 else
12060 wx_cv_use_sash='wxUSE_SASH=no'
12061 fi
12062
12063 else
12064
12065 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
12066
12067 fi
12068
12069
12070 eval "$wx_cv_use_sash"
12071
12072 if test x"$enablestring" = xdisable; then
12073 if test $wxUSE_SASH = no; then
12074 result=yes
12075 else
12076 result=no
12077 fi
12078 else
12079 result=$wxUSE_SASH
12080 fi
12081
12082 { echo "$as_me:$LINENO: result: $result" >&5
12083 echo "${ECHO_T}$result" >&6; }
12084
12085
12086 enablestring=
12087 defaultval=$wxUSE_ALL_FEATURES
12088 if test -z "$defaultval"; then
12089 if test x"$enablestring" = xdisable; then
12090 defaultval=yes
12091 else
12092 defaultval=no
12093 fi
12094 fi
12095
12096 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
12097 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
12098 # Check whether --enable-scrollbar was given.
12099 if test "${enable_scrollbar+set}" = set; then
12100 enableval=$enable_scrollbar;
12101 if test "$enableval" = yes; then
12102 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
12103 else
12104 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
12105 fi
12106
12107 else
12108
12109 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
12110
12111 fi
12112
12113
12114 eval "$wx_cv_use_scrollbar"
12115
12116 if test x"$enablestring" = xdisable; then
12117 if test $wxUSE_SCROLLBAR = no; then
12118 result=yes
12119 else
12120 result=no
12121 fi
12122 else
12123 result=$wxUSE_SCROLLBAR
12124 fi
12125
12126 { echo "$as_me:$LINENO: result: $result" >&5
12127 echo "${ECHO_T}$result" >&6; }
12128
12129
12130 enablestring=
12131 defaultval=$wxUSE_ALL_FEATURES
12132 if test -z "$defaultval"; then
12133 if test x"$enablestring" = xdisable; then
12134 defaultval=yes
12135 else
12136 defaultval=no
12137 fi
12138 fi
12139
12140 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
12141 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
12142 # Check whether --enable-searchctrl was given.
12143 if test "${enable_searchctrl+set}" = set; then
12144 enableval=$enable_searchctrl;
12145 if test "$enableval" = yes; then
12146 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
12147 else
12148 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
12149 fi
12150
12151 else
12152
12153 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
12154
12155 fi
12156
12157
12158 eval "$wx_cv_use_searchctrl"
12159
12160 if test x"$enablestring" = xdisable; then
12161 if test $wxUSE_SEARCHCTRL = no; then
12162 result=yes
12163 else
12164 result=no
12165 fi
12166 else
12167 result=$wxUSE_SEARCHCTRL
12168 fi
12169
12170 { echo "$as_me:$LINENO: result: $result" >&5
12171 echo "${ECHO_T}$result" >&6; }
12172
12173
12174 enablestring=
12175 defaultval=$wxUSE_ALL_FEATURES
12176 if test -z "$defaultval"; then
12177 if test x"$enablestring" = xdisable; then
12178 defaultval=yes
12179 else
12180 defaultval=no
12181 fi
12182 fi
12183
12184 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
12185 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
12186 # Check whether --enable-slider was given.
12187 if test "${enable_slider+set}" = set; then
12188 enableval=$enable_slider;
12189 if test "$enableval" = yes; then
12190 wx_cv_use_slider='wxUSE_SLIDER=yes'
12191 else
12192 wx_cv_use_slider='wxUSE_SLIDER=no'
12193 fi
12194
12195 else
12196
12197 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
12198
12199 fi
12200
12201
12202 eval "$wx_cv_use_slider"
12203
12204 if test x"$enablestring" = xdisable; then
12205 if test $wxUSE_SLIDER = no; then
12206 result=yes
12207 else
12208 result=no
12209 fi
12210 else
12211 result=$wxUSE_SLIDER
12212 fi
12213
12214 { echo "$as_me:$LINENO: result: $result" >&5
12215 echo "${ECHO_T}$result" >&6; }
12216
12217
12218 enablestring=
12219 defaultval=$wxUSE_ALL_FEATURES
12220 if test -z "$defaultval"; then
12221 if test x"$enablestring" = xdisable; then
12222 defaultval=yes
12223 else
12224 defaultval=no
12225 fi
12226 fi
12227
12228 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
12229 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
12230 # Check whether --enable-spinbtn was given.
12231 if test "${enable_spinbtn+set}" = set; then
12232 enableval=$enable_spinbtn;
12233 if test "$enableval" = yes; then
12234 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
12235 else
12236 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
12237 fi
12238
12239 else
12240
12241 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
12242
12243 fi
12244
12245
12246 eval "$wx_cv_use_spinbtn"
12247
12248 if test x"$enablestring" = xdisable; then
12249 if test $wxUSE_SPINBTN = no; then
12250 result=yes
12251 else
12252 result=no
12253 fi
12254 else
12255 result=$wxUSE_SPINBTN
12256 fi
12257
12258 { echo "$as_me:$LINENO: result: $result" >&5
12259 echo "${ECHO_T}$result" >&6; }
12260
12261
12262 enablestring=
12263 defaultval=$wxUSE_ALL_FEATURES
12264 if test -z "$defaultval"; then
12265 if test x"$enablestring" = xdisable; then
12266 defaultval=yes
12267 else
12268 defaultval=no
12269 fi
12270 fi
12271
12272 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
12273 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
12274 # Check whether --enable-spinctrl was given.
12275 if test "${enable_spinctrl+set}" = set; then
12276 enableval=$enable_spinctrl;
12277 if test "$enableval" = yes; then
12278 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
12279 else
12280 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
12281 fi
12282
12283 else
12284
12285 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
12286
12287 fi
12288
12289
12290 eval "$wx_cv_use_spinctrl"
12291
12292 if test x"$enablestring" = xdisable; then
12293 if test $wxUSE_SPINCTRL = no; then
12294 result=yes
12295 else
12296 result=no
12297 fi
12298 else
12299 result=$wxUSE_SPINCTRL
12300 fi
12301
12302 { echo "$as_me:$LINENO: result: $result" >&5
12303 echo "${ECHO_T}$result" >&6; }
12304
12305
12306 enablestring=
12307 defaultval=$wxUSE_ALL_FEATURES
12308 if test -z "$defaultval"; then
12309 if test x"$enablestring" = xdisable; then
12310 defaultval=yes
12311 else
12312 defaultval=no
12313 fi
12314 fi
12315
12316 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
12317 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
12318 # Check whether --enable-splitter was given.
12319 if test "${enable_splitter+set}" = set; then
12320 enableval=$enable_splitter;
12321 if test "$enableval" = yes; then
12322 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
12323 else
12324 wx_cv_use_splitter='wxUSE_SPLITTER=no'
12325 fi
12326
12327 else
12328
12329 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
12330
12331 fi
12332
12333
12334 eval "$wx_cv_use_splitter"
12335
12336 if test x"$enablestring" = xdisable; then
12337 if test $wxUSE_SPLITTER = no; then
12338 result=yes
12339 else
12340 result=no
12341 fi
12342 else
12343 result=$wxUSE_SPLITTER
12344 fi
12345
12346 { echo "$as_me:$LINENO: result: $result" >&5
12347 echo "${ECHO_T}$result" >&6; }
12348
12349
12350 enablestring=
12351 defaultval=$wxUSE_ALL_FEATURES
12352 if test -z "$defaultval"; then
12353 if test x"$enablestring" = xdisable; then
12354 defaultval=yes
12355 else
12356 defaultval=no
12357 fi
12358 fi
12359
12360 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
12361 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
12362 # Check whether --enable-statbmp was given.
12363 if test "${enable_statbmp+set}" = set; then
12364 enableval=$enable_statbmp;
12365 if test "$enableval" = yes; then
12366 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
12367 else
12368 wx_cv_use_statbmp='wxUSE_STATBMP=no'
12369 fi
12370
12371 else
12372
12373 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
12374
12375 fi
12376
12377
12378 eval "$wx_cv_use_statbmp"
12379
12380 if test x"$enablestring" = xdisable; then
12381 if test $wxUSE_STATBMP = no; then
12382 result=yes
12383 else
12384 result=no
12385 fi
12386 else
12387 result=$wxUSE_STATBMP
12388 fi
12389
12390 { echo "$as_me:$LINENO: result: $result" >&5
12391 echo "${ECHO_T}$result" >&6; }
12392
12393
12394 enablestring=
12395 defaultval=$wxUSE_ALL_FEATURES
12396 if test -z "$defaultval"; then
12397 if test x"$enablestring" = xdisable; then
12398 defaultval=yes
12399 else
12400 defaultval=no
12401 fi
12402 fi
12403
12404 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
12405 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
12406 # Check whether --enable-statbox was given.
12407 if test "${enable_statbox+set}" = set; then
12408 enableval=$enable_statbox;
12409 if test "$enableval" = yes; then
12410 wx_cv_use_statbox='wxUSE_STATBOX=yes'
12411 else
12412 wx_cv_use_statbox='wxUSE_STATBOX=no'
12413 fi
12414
12415 else
12416
12417 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
12418
12419 fi
12420
12421
12422 eval "$wx_cv_use_statbox"
12423
12424 if test x"$enablestring" = xdisable; then
12425 if test $wxUSE_STATBOX = no; then
12426 result=yes
12427 else
12428 result=no
12429 fi
12430 else
12431 result=$wxUSE_STATBOX
12432 fi
12433
12434 { echo "$as_me:$LINENO: result: $result" >&5
12435 echo "${ECHO_T}$result" >&6; }
12436
12437
12438 enablestring=
12439 defaultval=$wxUSE_ALL_FEATURES
12440 if test -z "$defaultval"; then
12441 if test x"$enablestring" = xdisable; then
12442 defaultval=yes
12443 else
12444 defaultval=no
12445 fi
12446 fi
12447
12448 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
12449 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
12450 # Check whether --enable-statline was given.
12451 if test "${enable_statline+set}" = set; then
12452 enableval=$enable_statline;
12453 if test "$enableval" = yes; then
12454 wx_cv_use_statline='wxUSE_STATLINE=yes'
12455 else
12456 wx_cv_use_statline='wxUSE_STATLINE=no'
12457 fi
12458
12459 else
12460
12461 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
12462
12463 fi
12464
12465
12466 eval "$wx_cv_use_statline"
12467
12468 if test x"$enablestring" = xdisable; then
12469 if test $wxUSE_STATLINE = no; then
12470 result=yes
12471 else
12472 result=no
12473 fi
12474 else
12475 result=$wxUSE_STATLINE
12476 fi
12477
12478 { echo "$as_me:$LINENO: result: $result" >&5
12479 echo "${ECHO_T}$result" >&6; }
12480
12481
12482 enablestring=
12483 defaultval=$wxUSE_ALL_FEATURES
12484 if test -z "$defaultval"; then
12485 if test x"$enablestring" = xdisable; then
12486 defaultval=yes
12487 else
12488 defaultval=no
12489 fi
12490 fi
12491
12492 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
12493 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
12494 # Check whether --enable-stattext was given.
12495 if test "${enable_stattext+set}" = set; then
12496 enableval=$enable_stattext;
12497 if test "$enableval" = yes; then
12498 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
12499 else
12500 wx_cv_use_stattext='wxUSE_STATTEXT=no'
12501 fi
12502
12503 else
12504
12505 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
12506
12507 fi
12508
12509
12510 eval "$wx_cv_use_stattext"
12511
12512 if test x"$enablestring" = xdisable; then
12513 if test $wxUSE_STATTEXT = no; then
12514 result=yes
12515 else
12516 result=no
12517 fi
12518 else
12519 result=$wxUSE_STATTEXT
12520 fi
12521
12522 { echo "$as_me:$LINENO: result: $result" >&5
12523 echo "${ECHO_T}$result" >&6; }
12524
12525
12526 enablestring=
12527 defaultval=$wxUSE_ALL_FEATURES
12528 if test -z "$defaultval"; then
12529 if test x"$enablestring" = xdisable; then
12530 defaultval=yes
12531 else
12532 defaultval=no
12533 fi
12534 fi
12535
12536 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
12537 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
12538 # Check whether --enable-statusbar was given.
12539 if test "${enable_statusbar+set}" = set; then
12540 enableval=$enable_statusbar;
12541 if test "$enableval" = yes; then
12542 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
12543 else
12544 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
12545 fi
12546
12547 else
12548
12549 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
12550
12551 fi
12552
12553
12554 eval "$wx_cv_use_statusbar"
12555
12556 if test x"$enablestring" = xdisable; then
12557 if test $wxUSE_STATUSBAR = no; then
12558 result=yes
12559 else
12560 result=no
12561 fi
12562 else
12563 result=$wxUSE_STATUSBAR
12564 fi
12565
12566 { echo "$as_me:$LINENO: result: $result" >&5
12567 echo "${ECHO_T}$result" >&6; }
12568
12569
12570 enablestring=
12571 defaultval=$wxUSE_ALL_FEATURES
12572 if test -z "$defaultval"; then
12573 if test x"$enablestring" = xdisable; then
12574 defaultval=yes
12575 else
12576 defaultval=no
12577 fi
12578 fi
12579
12580 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
12581 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
12582 # Check whether --enable-taskbaricon was given.
12583 if test "${enable_taskbaricon+set}" = set; then
12584 enableval=$enable_taskbaricon;
12585 if test "$enableval" = yes; then
12586 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
12587 else
12588 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
12589 fi
12590
12591 else
12592
12593 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
12594
12595 fi
12596
12597
12598 eval "$wx_cv_use_taskbaricon"
12599
12600 if test x"$enablestring" = xdisable; then
12601 if test $wxUSE_TASKBARICON = no; then
12602 result=yes
12603 else
12604 result=no
12605 fi
12606 else
12607 result=$wxUSE_TASKBARICON
12608 fi
12609
12610 { echo "$as_me:$LINENO: result: $result" >&5
12611 echo "${ECHO_T}$result" >&6; }
12612
12613
12614 enablestring=
12615 defaultval=$wxUSE_ALL_FEATURES
12616 if test -z "$defaultval"; then
12617 if test x"$enablestring" = xdisable; then
12618 defaultval=yes
12619 else
12620 defaultval=no
12621 fi
12622 fi
12623
12624 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
12625 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
12626 # Check whether --enable-tbarnative was given.
12627 if test "${enable_tbarnative+set}" = set; then
12628 enableval=$enable_tbarnative;
12629 if test "$enableval" = yes; then
12630 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
12631 else
12632 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
12633 fi
12634
12635 else
12636
12637 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
12638
12639 fi
12640
12641
12642 eval "$wx_cv_use_tbarnative"
12643
12644 if test x"$enablestring" = xdisable; then
12645 if test $wxUSE_TOOLBAR_NATIVE = no; then
12646 result=yes
12647 else
12648 result=no
12649 fi
12650 else
12651 result=$wxUSE_TOOLBAR_NATIVE
12652 fi
12653
12654 { echo "$as_me:$LINENO: result: $result" >&5
12655 echo "${ECHO_T}$result" >&6; }
12656
12657
12658 enablestring=
12659 defaultval=$wxUSE_ALL_FEATURES
12660 if test -z "$defaultval"; then
12661 if test x"$enablestring" = xdisable; then
12662 defaultval=yes
12663 else
12664 defaultval=no
12665 fi
12666 fi
12667
12668 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
12669 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
12670 # Check whether --enable-textctrl was given.
12671 if test "${enable_textctrl+set}" = set; then
12672 enableval=$enable_textctrl;
12673 if test "$enableval" = yes; then
12674 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
12675 else
12676 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
12677 fi
12678
12679 else
12680
12681 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
12682
12683 fi
12684
12685
12686 eval "$wx_cv_use_textctrl"
12687
12688 if test x"$enablestring" = xdisable; then
12689 if test $wxUSE_TEXTCTRL = no; then
12690 result=yes
12691 else
12692 result=no
12693 fi
12694 else
12695 result=$wxUSE_TEXTCTRL
12696 fi
12697
12698 { echo "$as_me:$LINENO: result: $result" >&5
12699 echo "${ECHO_T}$result" >&6; }
12700
12701
12702 enablestring=
12703 defaultval=$wxUSE_ALL_FEATURES
12704 if test -z "$defaultval"; then
12705 if test x"$enablestring" = xdisable; then
12706 defaultval=yes
12707 else
12708 defaultval=no
12709 fi
12710 fi
12711
12712 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
12713 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
12714 # Check whether --enable-datepick was given.
12715 if test "${enable_datepick+set}" = set; then
12716 enableval=$enable_datepick;
12717 if test "$enableval" = yes; then
12718 wx_cv_use_datepick='wxUSE_TIMEPICKCTRL=yes'
12719 else
12720 wx_cv_use_datepick='wxUSE_TIMEPICKCTRL=no'
12721 fi
12722
12723 else
12724
12725 wx_cv_use_datepick='wxUSE_TIMEPICKCTRL=${'DEFAULT_wxUSE_TIMEPICKCTRL":-$defaultval}"
12726
12727 fi
12728
12729
12730 eval "$wx_cv_use_datepick"
12731
12732 if test x"$enablestring" = xdisable; then
12733 if test $wxUSE_TIMEPICKCTRL = no; then
12734 result=yes
12735 else
12736 result=no
12737 fi
12738 else
12739 result=$wxUSE_TIMEPICKCTRL
12740 fi
12741
12742 { echo "$as_me:$LINENO: result: $result" >&5
12743 echo "${ECHO_T}$result" >&6; }
12744
12745
12746 enablestring=
12747 defaultval=$wxUSE_ALL_FEATURES
12748 if test -z "$defaultval"; then
12749 if test x"$enablestring" = xdisable; then
12750 defaultval=yes
12751 else
12752 defaultval=no
12753 fi
12754 fi
12755
12756 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
12757 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
12758 # Check whether --enable-tipwindow was given.
12759 if test "${enable_tipwindow+set}" = set; then
12760 enableval=$enable_tipwindow;
12761 if test "$enableval" = yes; then
12762 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
12763 else
12764 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
12765 fi
12766
12767 else
12768
12769 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
12770
12771 fi
12772
12773
12774 eval "$wx_cv_use_tipwindow"
12775
12776 if test x"$enablestring" = xdisable; then
12777 if test $wxUSE_TIPWINDOW = no; then
12778 result=yes
12779 else
12780 result=no
12781 fi
12782 else
12783 result=$wxUSE_TIPWINDOW
12784 fi
12785
12786 { echo "$as_me:$LINENO: result: $result" >&5
12787 echo "${ECHO_T}$result" >&6; }
12788
12789
12790 enablestring=
12791 defaultval=$wxUSE_ALL_FEATURES
12792 if test -z "$defaultval"; then
12793 if test x"$enablestring" = xdisable; then
12794 defaultval=yes
12795 else
12796 defaultval=no
12797 fi
12798 fi
12799
12800 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
12801 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
12802 # Check whether --enable-togglebtn was given.
12803 if test "${enable_togglebtn+set}" = set; then
12804 enableval=$enable_togglebtn;
12805 if test "$enableval" = yes; then
12806 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
12807 else
12808 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
12809 fi
12810
12811 else
12812
12813 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
12814
12815 fi
12816
12817
12818 eval "$wx_cv_use_togglebtn"
12819
12820 if test x"$enablestring" = xdisable; then
12821 if test $wxUSE_TOGGLEBTN = no; then
12822 result=yes
12823 else
12824 result=no
12825 fi
12826 else
12827 result=$wxUSE_TOGGLEBTN
12828 fi
12829
12830 { echo "$as_me:$LINENO: result: $result" >&5
12831 echo "${ECHO_T}$result" >&6; }
12832
12833
12834 enablestring=
12835 defaultval=$wxUSE_ALL_FEATURES
12836 if test -z "$defaultval"; then
12837 if test x"$enablestring" = xdisable; then
12838 defaultval=yes
12839 else
12840 defaultval=no
12841 fi
12842 fi
12843
12844 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
12845 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
12846 # Check whether --enable-toolbar was given.
12847 if test "${enable_toolbar+set}" = set; then
12848 enableval=$enable_toolbar;
12849 if test "$enableval" = yes; then
12850 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
12851 else
12852 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
12853 fi
12854
12855 else
12856
12857 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
12858
12859 fi
12860
12861
12862 eval "$wx_cv_use_toolbar"
12863
12864 if test x"$enablestring" = xdisable; then
12865 if test $wxUSE_TOOLBAR = no; then
12866 result=yes
12867 else
12868 result=no
12869 fi
12870 else
12871 result=$wxUSE_TOOLBAR
12872 fi
12873
12874 { echo "$as_me:$LINENO: result: $result" >&5
12875 echo "${ECHO_T}$result" >&6; }
12876
12877
12878 enablestring=
12879 defaultval=$wxUSE_ALL_FEATURES
12880 if test -z "$defaultval"; then
12881 if test x"$enablestring" = xdisable; then
12882 defaultval=yes
12883 else
12884 defaultval=no
12885 fi
12886 fi
12887
12888 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
12889 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
12890 # Check whether --enable-toolbook was given.
12891 if test "${enable_toolbook+set}" = set; then
12892 enableval=$enable_toolbook;
12893 if test "$enableval" = yes; then
12894 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
12895 else
12896 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
12897 fi
12898
12899 else
12900
12901 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
12902
12903 fi
12904
12905
12906 eval "$wx_cv_use_toolbook"
12907
12908 if test x"$enablestring" = xdisable; then
12909 if test $wxUSE_TOOLBOOK = no; then
12910 result=yes
12911 else
12912 result=no
12913 fi
12914 else
12915 result=$wxUSE_TOOLBOOK
12916 fi
12917
12918 { echo "$as_me:$LINENO: result: $result" >&5
12919 echo "${ECHO_T}$result" >&6; }
12920
12921
12922 enablestring=
12923 defaultval=$wxUSE_ALL_FEATURES
12924 if test -z "$defaultval"; then
12925 if test x"$enablestring" = xdisable; then
12926 defaultval=yes
12927 else
12928 defaultval=no
12929 fi
12930 fi
12931
12932 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
12933 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
12934 # Check whether --enable-treebook was given.
12935 if test "${enable_treebook+set}" = set; then
12936 enableval=$enable_treebook;
12937 if test "$enableval" = yes; then
12938 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
12939 else
12940 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
12941 fi
12942
12943 else
12944
12945 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
12946
12947 fi
12948
12949
12950 eval "$wx_cv_use_treebook"
12951
12952 if test x"$enablestring" = xdisable; then
12953 if test $wxUSE_TREEBOOK = no; then
12954 result=yes
12955 else
12956 result=no
12957 fi
12958 else
12959 result=$wxUSE_TREEBOOK
12960 fi
12961
12962 { echo "$as_me:$LINENO: result: $result" >&5
12963 echo "${ECHO_T}$result" >&6; }
12964
12965
12966 enablestring=
12967 defaultval=$wxUSE_ALL_FEATURES
12968 if test -z "$defaultval"; then
12969 if test x"$enablestring" = xdisable; then
12970 defaultval=yes
12971 else
12972 defaultval=no
12973 fi
12974 fi
12975
12976 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
12977 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
12978 # Check whether --enable-treectrl was given.
12979 if test "${enable_treectrl+set}" = set; then
12980 enableval=$enable_treectrl;
12981 if test "$enableval" = yes; then
12982 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
12983 else
12984 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
12985 fi
12986
12987 else
12988
12989 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
12990
12991 fi
12992
12993
12994 eval "$wx_cv_use_treectrl"
12995
12996 if test x"$enablestring" = xdisable; then
12997 if test $wxUSE_TREECTRL = no; then
12998 result=yes
12999 else
13000 result=no
13001 fi
13002 else
13003 result=$wxUSE_TREECTRL
13004 fi
13005
13006 { echo "$as_me:$LINENO: result: $result" >&5
13007 echo "${ECHO_T}$result" >&6; }
13008
13009
13010 enablestring=
13011 defaultval=$wxUSE_ALL_FEATURES
13012 if test -z "$defaultval"; then
13013 if test x"$enablestring" = xdisable; then
13014 defaultval=yes
13015 else
13016 defaultval=no
13017 fi
13018 fi
13019
13020 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treelist" >&5
13021 echo $ECHO_N "checking for --${enablestring:-enable}-treelist... $ECHO_C" >&6; }
13022 # Check whether --enable-treelist was given.
13023 if test "${enable_treelist+set}" = set; then
13024 enableval=$enable_treelist;
13025 if test "$enableval" = yes; then
13026 wx_cv_use_treelist='wxUSE_TREELISTCTRL=yes'
13027 else
13028 wx_cv_use_treelist='wxUSE_TREELISTCTRL=no'
13029 fi
13030
13031 else
13032
13033 wx_cv_use_treelist='wxUSE_TREELISTCTRL=${'DEFAULT_wxUSE_TREELISTCTRL":-$defaultval}"
13034
13035 fi
13036
13037
13038 eval "$wx_cv_use_treelist"
13039
13040 if test x"$enablestring" = xdisable; then
13041 if test $wxUSE_TREELISTCTRL = no; then
13042 result=yes
13043 else
13044 result=no
13045 fi
13046 else
13047 result=$wxUSE_TREELISTCTRL
13048 fi
13049
13050 { echo "$as_me:$LINENO: result: $result" >&5
13051 echo "${ECHO_T}$result" >&6; }
13052
13053
13054
13055
13056 enablestring=
13057 defaultval=$wxUSE_ALL_FEATURES
13058 if test -z "$defaultval"; then
13059 if test x"$enablestring" = xdisable; then
13060 defaultval=yes
13061 else
13062 defaultval=no
13063 fi
13064 fi
13065
13066 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
13067 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
13068 # Check whether --enable-commondlg was given.
13069 if test "${enable_commondlg+set}" = set; then
13070 enableval=$enable_commondlg;
13071 if test "$enableval" = yes; then
13072 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
13073 else
13074 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
13075 fi
13076
13077 else
13078
13079 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
13080
13081 fi
13082
13083
13084 eval "$wx_cv_use_commondlg"
13085
13086 if test x"$enablestring" = xdisable; then
13087 if test $wxUSE_COMMONDLGS = no; then
13088 result=yes
13089 else
13090 result=no
13091 fi
13092 else
13093 result=$wxUSE_COMMONDLGS
13094 fi
13095
13096 { echo "$as_me:$LINENO: result: $result" >&5
13097 echo "${ECHO_T}$result" >&6; }
13098
13099
13100 enablestring=
13101 defaultval=$wxUSE_ALL_FEATURES
13102 if test -z "$defaultval"; then
13103 if test x"$enablestring" = xdisable; then
13104 defaultval=yes
13105 else
13106 defaultval=no
13107 fi
13108 fi
13109
13110 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
13111 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
13112 # Check whether --enable-aboutdlg was given.
13113 if test "${enable_aboutdlg+set}" = set; then
13114 enableval=$enable_aboutdlg;
13115 if test "$enableval" = yes; then
13116 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
13117 else
13118 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
13119 fi
13120
13121 else
13122
13123 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
13124
13125 fi
13126
13127
13128 eval "$wx_cv_use_aboutdlg"
13129
13130 if test x"$enablestring" = xdisable; then
13131 if test $wxUSE_ABOUTDLG = no; then
13132 result=yes
13133 else
13134 result=no
13135 fi
13136 else
13137 result=$wxUSE_ABOUTDLG
13138 fi
13139
13140 { echo "$as_me:$LINENO: result: $result" >&5
13141 echo "${ECHO_T}$result" >&6; }
13142
13143
13144 enablestring=
13145 defaultval=$wxUSE_ALL_FEATURES
13146 if test -z "$defaultval"; then
13147 if test x"$enablestring" = xdisable; then
13148 defaultval=yes
13149 else
13150 defaultval=no
13151 fi
13152 fi
13153
13154 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
13155 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
13156 # Check whether --enable-choicedlg was given.
13157 if test "${enable_choicedlg+set}" = set; then
13158 enableval=$enable_choicedlg;
13159 if test "$enableval" = yes; then
13160 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
13161 else
13162 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
13163 fi
13164
13165 else
13166
13167 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
13168
13169 fi
13170
13171
13172 eval "$wx_cv_use_choicedlg"
13173
13174 if test x"$enablestring" = xdisable; then
13175 if test $wxUSE_CHOICEDLG = no; then
13176 result=yes
13177 else
13178 result=no
13179 fi
13180 else
13181 result=$wxUSE_CHOICEDLG
13182 fi
13183
13184 { echo "$as_me:$LINENO: result: $result" >&5
13185 echo "${ECHO_T}$result" >&6; }
13186
13187
13188 enablestring=
13189 defaultval=$wxUSE_ALL_FEATURES
13190 if test -z "$defaultval"; then
13191 if test x"$enablestring" = xdisable; then
13192 defaultval=yes
13193 else
13194 defaultval=no
13195 fi
13196 fi
13197
13198 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
13199 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
13200 # Check whether --enable-coldlg was given.
13201 if test "${enable_coldlg+set}" = set; then
13202 enableval=$enable_coldlg;
13203 if test "$enableval" = yes; then
13204 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
13205 else
13206 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
13207 fi
13208
13209 else
13210
13211 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
13212
13213 fi
13214
13215
13216 eval "$wx_cv_use_coldlg"
13217
13218 if test x"$enablestring" = xdisable; then
13219 if test $wxUSE_COLOURDLG = no; then
13220 result=yes
13221 else
13222 result=no
13223 fi
13224 else
13225 result=$wxUSE_COLOURDLG
13226 fi
13227
13228 { echo "$as_me:$LINENO: result: $result" >&5
13229 echo "${ECHO_T}$result" >&6; }
13230
13231
13232 enablestring=
13233 defaultval=$wxUSE_ALL_FEATURES
13234 if test -z "$defaultval"; then
13235 if test x"$enablestring" = xdisable; then
13236 defaultval=yes
13237 else
13238 defaultval=no
13239 fi
13240 fi
13241
13242 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
13243 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
13244 # Check whether --enable-filedlg was given.
13245 if test "${enable_filedlg+set}" = set; then
13246 enableval=$enable_filedlg;
13247 if test "$enableval" = yes; then
13248 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
13249 else
13250 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
13251 fi
13252
13253 else
13254
13255 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
13256
13257 fi
13258
13259
13260 eval "$wx_cv_use_filedlg"
13261
13262 if test x"$enablestring" = xdisable; then
13263 if test $wxUSE_FILEDLG = no; then
13264 result=yes
13265 else
13266 result=no
13267 fi
13268 else
13269 result=$wxUSE_FILEDLG
13270 fi
13271
13272 { echo "$as_me:$LINENO: result: $result" >&5
13273 echo "${ECHO_T}$result" >&6; }
13274
13275
13276 enablestring=
13277 defaultval=$wxUSE_ALL_FEATURES
13278 if test -z "$defaultval"; then
13279 if test x"$enablestring" = xdisable; then
13280 defaultval=yes
13281 else
13282 defaultval=no
13283 fi
13284 fi
13285
13286 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
13287 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
13288 # Check whether --enable-finddlg was given.
13289 if test "${enable_finddlg+set}" = set; then
13290 enableval=$enable_finddlg;
13291 if test "$enableval" = yes; then
13292 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
13293 else
13294 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
13295 fi
13296
13297 else
13298
13299 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
13300
13301 fi
13302
13303
13304 eval "$wx_cv_use_finddlg"
13305
13306 if test x"$enablestring" = xdisable; then
13307 if test $wxUSE_FINDREPLDLG = no; then
13308 result=yes
13309 else
13310 result=no
13311 fi
13312 else
13313 result=$wxUSE_FINDREPLDLG
13314 fi
13315
13316 { echo "$as_me:$LINENO: result: $result" >&5
13317 echo "${ECHO_T}$result" >&6; }
13318
13319
13320 enablestring=
13321 defaultval=$wxUSE_ALL_FEATURES
13322 if test -z "$defaultval"; then
13323 if test x"$enablestring" = xdisable; then
13324 defaultval=yes
13325 else
13326 defaultval=no
13327 fi
13328 fi
13329
13330 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
13331 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
13332 # Check whether --enable-fontdlg was given.
13333 if test "${enable_fontdlg+set}" = set; then
13334 enableval=$enable_fontdlg;
13335 if test "$enableval" = yes; then
13336 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
13337 else
13338 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
13339 fi
13340
13341 else
13342
13343 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
13344
13345 fi
13346
13347
13348 eval "$wx_cv_use_fontdlg"
13349
13350 if test x"$enablestring" = xdisable; then
13351 if test $wxUSE_FONTDLG = no; then
13352 result=yes
13353 else
13354 result=no
13355 fi
13356 else
13357 result=$wxUSE_FONTDLG
13358 fi
13359
13360 { echo "$as_me:$LINENO: result: $result" >&5
13361 echo "${ECHO_T}$result" >&6; }
13362
13363
13364 enablestring=
13365 defaultval=$wxUSE_ALL_FEATURES
13366 if test -z "$defaultval"; then
13367 if test x"$enablestring" = xdisable; then
13368 defaultval=yes
13369 else
13370 defaultval=no
13371 fi
13372 fi
13373
13374 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
13375 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
13376 # Check whether --enable-dirdlg was given.
13377 if test "${enable_dirdlg+set}" = set; then
13378 enableval=$enable_dirdlg;
13379 if test "$enableval" = yes; then
13380 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
13381 else
13382 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
13383 fi
13384
13385 else
13386
13387 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
13388
13389 fi
13390
13391
13392 eval "$wx_cv_use_dirdlg"
13393
13394 if test x"$enablestring" = xdisable; then
13395 if test $wxUSE_DIRDLG = no; then
13396 result=yes
13397 else
13398 result=no
13399 fi
13400 else
13401 result=$wxUSE_DIRDLG
13402 fi
13403
13404 { echo "$as_me:$LINENO: result: $result" >&5
13405 echo "${ECHO_T}$result" >&6; }
13406
13407
13408 enablestring=
13409 defaultval=$wxUSE_ALL_FEATURES
13410 if test -z "$defaultval"; then
13411 if test x"$enablestring" = xdisable; then
13412 defaultval=yes
13413 else
13414 defaultval=no
13415 fi
13416 fi
13417
13418 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
13419 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
13420 # Check whether --enable-msgdlg was given.
13421 if test "${enable_msgdlg+set}" = set; then
13422 enableval=$enable_msgdlg;
13423 if test "$enableval" = yes; then
13424 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
13425 else
13426 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
13427 fi
13428
13429 else
13430
13431 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
13432
13433 fi
13434
13435
13436 eval "$wx_cv_use_msgdlg"
13437
13438 if test x"$enablestring" = xdisable; then
13439 if test $wxUSE_MSGDLG = no; then
13440 result=yes
13441 else
13442 result=no
13443 fi
13444 else
13445 result=$wxUSE_MSGDLG
13446 fi
13447
13448 { echo "$as_me:$LINENO: result: $result" >&5
13449 echo "${ECHO_T}$result" >&6; }
13450
13451
13452 enablestring=
13453 defaultval=$wxUSE_ALL_FEATURES
13454 if test -z "$defaultval"; then
13455 if test x"$enablestring" = xdisable; then
13456 defaultval=yes
13457 else
13458 defaultval=no
13459 fi
13460 fi
13461
13462 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
13463 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
13464 # Check whether --enable-numberdlg was given.
13465 if test "${enable_numberdlg+set}" = set; then
13466 enableval=$enable_numberdlg;
13467 if test "$enableval" = yes; then
13468 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
13469 else
13470 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
13471 fi
13472
13473 else
13474
13475 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
13476
13477 fi
13478
13479
13480 eval "$wx_cv_use_numberdlg"
13481
13482 if test x"$enablestring" = xdisable; then
13483 if test $wxUSE_NUMBERDLG = no; then
13484 result=yes
13485 else
13486 result=no
13487 fi
13488 else
13489 result=$wxUSE_NUMBERDLG
13490 fi
13491
13492 { echo "$as_me:$LINENO: result: $result" >&5
13493 echo "${ECHO_T}$result" >&6; }
13494
13495
13496 enablestring=
13497 defaultval=$wxUSE_ALL_FEATURES
13498 if test -z "$defaultval"; then
13499 if test x"$enablestring" = xdisable; then
13500 defaultval=yes
13501 else
13502 defaultval=no
13503 fi
13504 fi
13505
13506 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
13507 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
13508 # Check whether --enable-splash was given.
13509 if test "${enable_splash+set}" = set; then
13510 enableval=$enable_splash;
13511 if test "$enableval" = yes; then
13512 wx_cv_use_splash='wxUSE_SPLASH=yes'
13513 else
13514 wx_cv_use_splash='wxUSE_SPLASH=no'
13515 fi
13516
13517 else
13518
13519 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
13520
13521 fi
13522
13523
13524 eval "$wx_cv_use_splash"
13525
13526 if test x"$enablestring" = xdisable; then
13527 if test $wxUSE_SPLASH = no; then
13528 result=yes
13529 else
13530 result=no
13531 fi
13532 else
13533 result=$wxUSE_SPLASH
13534 fi
13535
13536 { echo "$as_me:$LINENO: result: $result" >&5
13537 echo "${ECHO_T}$result" >&6; }
13538
13539
13540 enablestring=
13541 defaultval=$wxUSE_ALL_FEATURES
13542 if test -z "$defaultval"; then
13543 if test x"$enablestring" = xdisable; then
13544 defaultval=yes
13545 else
13546 defaultval=no
13547 fi
13548 fi
13549
13550 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
13551 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
13552 # Check whether --enable-textdlg was given.
13553 if test "${enable_textdlg+set}" = set; then
13554 enableval=$enable_textdlg;
13555 if test "$enableval" = yes; then
13556 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
13557 else
13558 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
13559 fi
13560
13561 else
13562
13563 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
13564
13565 fi
13566
13567
13568 eval "$wx_cv_use_textdlg"
13569
13570 if test x"$enablestring" = xdisable; then
13571 if test $wxUSE_TEXTDLG = no; then
13572 result=yes
13573 else
13574 result=no
13575 fi
13576 else
13577 result=$wxUSE_TEXTDLG
13578 fi
13579
13580 { echo "$as_me:$LINENO: result: $result" >&5
13581 echo "${ECHO_T}$result" >&6; }
13582
13583
13584 enablestring=
13585 defaultval=$wxUSE_ALL_FEATURES
13586 if test -z "$defaultval"; then
13587 if test x"$enablestring" = xdisable; then
13588 defaultval=yes
13589 else
13590 defaultval=no
13591 fi
13592 fi
13593
13594 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
13595 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
13596 # Check whether --enable-tipdlg was given.
13597 if test "${enable_tipdlg+set}" = set; then
13598 enableval=$enable_tipdlg;
13599 if test "$enableval" = yes; then
13600 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
13601 else
13602 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
13603 fi
13604
13605 else
13606
13607 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
13608
13609 fi
13610
13611
13612 eval "$wx_cv_use_tipdlg"
13613
13614 if test x"$enablestring" = xdisable; then
13615 if test $wxUSE_STARTUP_TIPS = no; then
13616 result=yes
13617 else
13618 result=no
13619 fi
13620 else
13621 result=$wxUSE_STARTUP_TIPS
13622 fi
13623
13624 { echo "$as_me:$LINENO: result: $result" >&5
13625 echo "${ECHO_T}$result" >&6; }
13626
13627
13628 enablestring=
13629 defaultval=$wxUSE_ALL_FEATURES
13630 if test -z "$defaultval"; then
13631 if test x"$enablestring" = xdisable; then
13632 defaultval=yes
13633 else
13634 defaultval=no
13635 fi
13636 fi
13637
13638 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
13639 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
13640 # Check whether --enable-progressdlg was given.
13641 if test "${enable_progressdlg+set}" = set; then
13642 enableval=$enable_progressdlg;
13643 if test "$enableval" = yes; then
13644 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
13645 else
13646 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
13647 fi
13648
13649 else
13650
13651 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
13652
13653 fi
13654
13655
13656 eval "$wx_cv_use_progressdlg"
13657
13658 if test x"$enablestring" = xdisable; then
13659 if test $wxUSE_PROGRESSDLG = no; then
13660 result=yes
13661 else
13662 result=no
13663 fi
13664 else
13665 result=$wxUSE_PROGRESSDLG
13666 fi
13667
13668 { echo "$as_me:$LINENO: result: $result" >&5
13669 echo "${ECHO_T}$result" >&6; }
13670
13671
13672 enablestring=
13673 defaultval=$wxUSE_ALL_FEATURES
13674 if test -z "$defaultval"; then
13675 if test x"$enablestring" = xdisable; then
13676 defaultval=yes
13677 else
13678 defaultval=no
13679 fi
13680 fi
13681
13682 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
13683 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
13684 # Check whether --enable-wizarddlg was given.
13685 if test "${enable_wizarddlg+set}" = set; then
13686 enableval=$enable_wizarddlg;
13687 if test "$enableval" = yes; then
13688 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
13689 else
13690 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
13691 fi
13692
13693 else
13694
13695 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
13696
13697 fi
13698
13699
13700 eval "$wx_cv_use_wizarddlg"
13701
13702 if test x"$enablestring" = xdisable; then
13703 if test $wxUSE_WIZARDDLG = no; then
13704 result=yes
13705 else
13706 result=no
13707 fi
13708 else
13709 result=$wxUSE_WIZARDDLG
13710 fi
13711
13712 { echo "$as_me:$LINENO: result: $result" >&5
13713 echo "${ECHO_T}$result" >&6; }
13714
13715
13716
13717
13718 enablestring=
13719 defaultval=$wxUSE_ALL_FEATURES
13720 if test -z "$defaultval"; then
13721 if test x"$enablestring" = xdisable; then
13722 defaultval=yes
13723 else
13724 defaultval=no
13725 fi
13726 fi
13727
13728 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
13729 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
13730 # Check whether --enable-menus was given.
13731 if test "${enable_menus+set}" = set; then
13732 enableval=$enable_menus;
13733 if test "$enableval" = yes; then
13734 wx_cv_use_menus='wxUSE_MENUS=yes'
13735 else
13736 wx_cv_use_menus='wxUSE_MENUS=no'
13737 fi
13738
13739 else
13740
13741 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
13742
13743 fi
13744
13745
13746 eval "$wx_cv_use_menus"
13747
13748 if test x"$enablestring" = xdisable; then
13749 if test $wxUSE_MENUS = no; then
13750 result=yes
13751 else
13752 result=no
13753 fi
13754 else
13755 result=$wxUSE_MENUS
13756 fi
13757
13758 { echo "$as_me:$LINENO: result: $result" >&5
13759 echo "${ECHO_T}$result" >&6; }
13760
13761
13762 enablestring=
13763 defaultval=$wxUSE_ALL_FEATURES
13764 if test -z "$defaultval"; then
13765 if test x"$enablestring" = xdisable; then
13766 defaultval=yes
13767 else
13768 defaultval=no
13769 fi
13770 fi
13771
13772 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
13773 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
13774 # Check whether --enable-miniframe was given.
13775 if test "${enable_miniframe+set}" = set; then
13776 enableval=$enable_miniframe;
13777 if test "$enableval" = yes; then
13778 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
13779 else
13780 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
13781 fi
13782
13783 else
13784
13785 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
13786
13787 fi
13788
13789
13790 eval "$wx_cv_use_miniframe"
13791
13792 if test x"$enablestring" = xdisable; then
13793 if test $wxUSE_MINIFRAME = no; then
13794 result=yes
13795 else
13796 result=no
13797 fi
13798 else
13799 result=$wxUSE_MINIFRAME
13800 fi
13801
13802 { echo "$as_me:$LINENO: result: $result" >&5
13803 echo "${ECHO_T}$result" >&6; }
13804
13805
13806 enablestring=
13807 defaultval=$wxUSE_ALL_FEATURES
13808 if test -z "$defaultval"; then
13809 if test x"$enablestring" = xdisable; then
13810 defaultval=yes
13811 else
13812 defaultval=no
13813 fi
13814 fi
13815
13816 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
13817 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
13818 # Check whether --enable-tooltips was given.
13819 if test "${enable_tooltips+set}" = set; then
13820 enableval=$enable_tooltips;
13821 if test "$enableval" = yes; then
13822 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
13823 else
13824 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
13825 fi
13826
13827 else
13828
13829 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
13830
13831 fi
13832
13833
13834 eval "$wx_cv_use_tooltips"
13835
13836 if test x"$enablestring" = xdisable; then
13837 if test $wxUSE_TOOLTIPS = no; then
13838 result=yes
13839 else
13840 result=no
13841 fi
13842 else
13843 result=$wxUSE_TOOLTIPS
13844 fi
13845
13846 { echo "$as_me:$LINENO: result: $result" >&5
13847 echo "${ECHO_T}$result" >&6; }
13848
13849
13850 enablestring=
13851 defaultval=$wxUSE_ALL_FEATURES
13852 if test -z "$defaultval"; then
13853 if test x"$enablestring" = xdisable; then
13854 defaultval=yes
13855 else
13856 defaultval=no
13857 fi
13858 fi
13859
13860 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
13861 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
13862 # Check whether --enable-splines was given.
13863 if test "${enable_splines+set}" = set; then
13864 enableval=$enable_splines;
13865 if test "$enableval" = yes; then
13866 wx_cv_use_splines='wxUSE_SPLINES=yes'
13867 else
13868 wx_cv_use_splines='wxUSE_SPLINES=no'
13869 fi
13870
13871 else
13872
13873 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
13874
13875 fi
13876
13877
13878 eval "$wx_cv_use_splines"
13879
13880 if test x"$enablestring" = xdisable; then
13881 if test $wxUSE_SPLINES = no; then
13882 result=yes
13883 else
13884 result=no
13885 fi
13886 else
13887 result=$wxUSE_SPLINES
13888 fi
13889
13890 { echo "$as_me:$LINENO: result: $result" >&5
13891 echo "${ECHO_T}$result" >&6; }
13892
13893
13894 enablestring=
13895 defaultval=$wxUSE_ALL_FEATURES
13896 if test -z "$defaultval"; then
13897 if test x"$enablestring" = xdisable; then
13898 defaultval=yes
13899 else
13900 defaultval=no
13901 fi
13902 fi
13903
13904 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
13905 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
13906 # Check whether --enable-mousewheel was given.
13907 if test "${enable_mousewheel+set}" = set; then
13908 enableval=$enable_mousewheel;
13909 if test "$enableval" = yes; then
13910 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
13911 else
13912 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
13913 fi
13914
13915 else
13916
13917 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
13918
13919 fi
13920
13921
13922 eval "$wx_cv_use_mousewheel"
13923
13924 if test x"$enablestring" = xdisable; then
13925 if test $wxUSE_MOUSEWHEEL = no; then
13926 result=yes
13927 else
13928 result=no
13929 fi
13930 else
13931 result=$wxUSE_MOUSEWHEEL
13932 fi
13933
13934 { echo "$as_me:$LINENO: result: $result" >&5
13935 echo "${ECHO_T}$result" >&6; }
13936
13937
13938 enablestring=
13939 defaultval=$wxUSE_ALL_FEATURES
13940 if test -z "$defaultval"; then
13941 if test x"$enablestring" = xdisable; then
13942 defaultval=yes
13943 else
13944 defaultval=no
13945 fi
13946 fi
13947
13948 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
13949 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
13950 # Check whether --enable-validators was given.
13951 if test "${enable_validators+set}" = set; then
13952 enableval=$enable_validators;
13953 if test "$enableval" = yes; then
13954 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
13955 else
13956 wx_cv_use_validators='wxUSE_VALIDATORS=no'
13957 fi
13958
13959 else
13960
13961 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
13962
13963 fi
13964
13965
13966 eval "$wx_cv_use_validators"
13967
13968 if test x"$enablestring" = xdisable; then
13969 if test $wxUSE_VALIDATORS = no; then
13970 result=yes
13971 else
13972 result=no
13973 fi
13974 else
13975 result=$wxUSE_VALIDATORS
13976 fi
13977
13978 { echo "$as_me:$LINENO: result: $result" >&5
13979 echo "${ECHO_T}$result" >&6; }
13980
13981
13982 enablestring=
13983 defaultval=$wxUSE_ALL_FEATURES
13984 if test -z "$defaultval"; then
13985 if test x"$enablestring" = xdisable; then
13986 defaultval=yes
13987 else
13988 defaultval=no
13989 fi
13990 fi
13991
13992 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
13993 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
13994 # Check whether --enable-busyinfo was given.
13995 if test "${enable_busyinfo+set}" = set; then
13996 enableval=$enable_busyinfo;
13997 if test "$enableval" = yes; then
13998 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
13999 else
14000 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
14001 fi
14002
14003 else
14004
14005 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
14006
14007 fi
14008
14009
14010 eval "$wx_cv_use_busyinfo"
14011
14012 if test x"$enablestring" = xdisable; then
14013 if test $wxUSE_BUSYINFO = no; then
14014 result=yes
14015 else
14016 result=no
14017 fi
14018 else
14019 result=$wxUSE_BUSYINFO
14020 fi
14021
14022 { echo "$as_me:$LINENO: result: $result" >&5
14023 echo "${ECHO_T}$result" >&6; }
14024
14025
14026 enablestring=
14027 defaultval=$wxUSE_ALL_FEATURES
14028 if test -z "$defaultval"; then
14029 if test x"$enablestring" = xdisable; then
14030 defaultval=yes
14031 else
14032 defaultval=no
14033 fi
14034 fi
14035
14036 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hotkey" >&5
14037 echo $ECHO_N "checking for --${enablestring:-enable}-hotkey... $ECHO_C" >&6; }
14038 # Check whether --enable-hotkey was given.
14039 if test "${enable_hotkey+set}" = set; then
14040 enableval=$enable_hotkey;
14041 if test "$enableval" = yes; then
14042 wx_cv_use_hotkey='wxUSE_HOTKEY=yes'
14043 else
14044 wx_cv_use_hotkey='wxUSE_HOTKEY=no'
14045 fi
14046
14047 else
14048
14049 wx_cv_use_hotkey='wxUSE_HOTKEY=${'DEFAULT_wxUSE_HOTKEY":-$defaultval}"
14050
14051 fi
14052
14053
14054 eval "$wx_cv_use_hotkey"
14055
14056 if test x"$enablestring" = xdisable; then
14057 if test $wxUSE_HOTKEY = no; then
14058 result=yes
14059 else
14060 result=no
14061 fi
14062 else
14063 result=$wxUSE_HOTKEY
14064 fi
14065
14066 { echo "$as_me:$LINENO: result: $result" >&5
14067 echo "${ECHO_T}$result" >&6; }
14068
14069
14070 enablestring=
14071 defaultval=$wxUSE_ALL_FEATURES
14072 if test -z "$defaultval"; then
14073 if test x"$enablestring" = xdisable; then
14074 defaultval=yes
14075 else
14076 defaultval=no
14077 fi
14078 fi
14079
14080 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
14081 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
14082 # Check whether --enable-joystick was given.
14083 if test "${enable_joystick+set}" = set; then
14084 enableval=$enable_joystick;
14085 if test "$enableval" = yes; then
14086 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
14087 else
14088 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
14089 fi
14090
14091 else
14092
14093 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
14094
14095 fi
14096
14097
14098 eval "$wx_cv_use_joystick"
14099
14100 if test x"$enablestring" = xdisable; then
14101 if test $wxUSE_JOYSTICK = no; then
14102 result=yes
14103 else
14104 result=no
14105 fi
14106 else
14107 result=$wxUSE_JOYSTICK
14108 fi
14109
14110 { echo "$as_me:$LINENO: result: $result" >&5
14111 echo "${ECHO_T}$result" >&6; }
14112
14113
14114 enablestring=
14115 defaultval=$wxUSE_ALL_FEATURES
14116 if test -z "$defaultval"; then
14117 if test x"$enablestring" = xdisable; then
14118 defaultval=yes
14119 else
14120 defaultval=no
14121 fi
14122 fi
14123
14124 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
14125 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
14126 # Check whether --enable-metafile was given.
14127 if test "${enable_metafile+set}" = set; then
14128 enableval=$enable_metafile;
14129 if test "$enableval" = yes; then
14130 wx_cv_use_metafile='wxUSE_METAFILE=yes'
14131 else
14132 wx_cv_use_metafile='wxUSE_METAFILE=no'
14133 fi
14134
14135 else
14136
14137 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
14138
14139 fi
14140
14141
14142 eval "$wx_cv_use_metafile"
14143
14144 if test x"$enablestring" = xdisable; then
14145 if test $wxUSE_METAFILE = no; then
14146 result=yes
14147 else
14148 result=no
14149 fi
14150 else
14151 result=$wxUSE_METAFILE
14152 fi
14153
14154 { echo "$as_me:$LINENO: result: $result" >&5
14155 echo "${ECHO_T}$result" >&6; }
14156
14157
14158 enablestring=
14159 defaultval=$wxUSE_ALL_FEATURES
14160 if test -z "$defaultval"; then
14161 if test x"$enablestring" = xdisable; then
14162 defaultval=yes
14163 else
14164 defaultval=no
14165 fi
14166 fi
14167
14168 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
14169 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
14170 # Check whether --enable-dragimage was given.
14171 if test "${enable_dragimage+set}" = set; then
14172 enableval=$enable_dragimage;
14173 if test "$enableval" = yes; then
14174 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
14175 else
14176 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
14177 fi
14178
14179 else
14180
14181 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
14182
14183 fi
14184
14185
14186 eval "$wx_cv_use_dragimage"
14187
14188 if test x"$enablestring" = xdisable; then
14189 if test $wxUSE_DRAGIMAGE = no; then
14190 result=yes
14191 else
14192 result=no
14193 fi
14194 else
14195 result=$wxUSE_DRAGIMAGE
14196 fi
14197
14198 { echo "$as_me:$LINENO: result: $result" >&5
14199 echo "${ECHO_T}$result" >&6; }
14200
14201
14202 enablestring=
14203 defaultval=$wxUSE_ALL_FEATURES
14204 if test -z "$defaultval"; then
14205 if test x"$enablestring" = xdisable; then
14206 defaultval=yes
14207 else
14208 defaultval=no
14209 fi
14210 fi
14211
14212 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
14213 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
14214 # Check whether --enable-accessibility was given.
14215 if test "${enable_accessibility+set}" = set; then
14216 enableval=$enable_accessibility;
14217 if test "$enableval" = yes; then
14218 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
14219 else
14220 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
14221 fi
14222
14223 else
14224
14225 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
14226
14227 fi
14228
14229
14230 eval "$wx_cv_use_accessibility"
14231
14232 if test x"$enablestring" = xdisable; then
14233 if test $wxUSE_ACCESSIBILITY = no; then
14234 result=yes
14235 else
14236 result=no
14237 fi
14238 else
14239 result=$wxUSE_ACCESSIBILITY
14240 fi
14241
14242 { echo "$as_me:$LINENO: result: $result" >&5
14243 echo "${ECHO_T}$result" >&6; }
14244
14245
14246 enablestring=
14247 defaultval=$wxUSE_ALL_FEATURES
14248 if test -z "$defaultval"; then
14249 if test x"$enablestring" = xdisable; then
14250 defaultval=yes
14251 else
14252 defaultval=no
14253 fi
14254 fi
14255
14256 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uiactionsim" >&5
14257 echo $ECHO_N "checking for --${enablestring:-enable}-uiactionsim... $ECHO_C" >&6; }
14258 # Check whether --enable-uiactionsim was given.
14259 if test "${enable_uiactionsim+set}" = set; then
14260 enableval=$enable_uiactionsim;
14261 if test "$enableval" = yes; then
14262 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=yes'
14263 else
14264 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=no'
14265 fi
14266
14267 else
14268
14269 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=${'DEFAULT_wxUSE_UIACTIONSIMULATOR":-$defaultval}"
14270
14271 fi
14272
14273
14274 eval "$wx_cv_use_uiactionsim"
14275
14276 if test x"$enablestring" = xdisable; then
14277 if test $wxUSE_UIACTIONSIMULATOR = no; then
14278 result=yes
14279 else
14280 result=no
14281 fi
14282 else
14283 result=$wxUSE_UIACTIONSIMULATOR
14284 fi
14285
14286 { echo "$as_me:$LINENO: result: $result" >&5
14287 echo "${ECHO_T}$result" >&6; }
14288
14289
14290 enablestring=
14291 defaultval=$wxUSE_ALL_FEATURES
14292 if test -z "$defaultval"; then
14293 if test x"$enablestring" = xdisable; then
14294 defaultval=yes
14295 else
14296 defaultval=no
14297 fi
14298 fi
14299
14300 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dctransform" >&5
14301 echo $ECHO_N "checking for --${enablestring:-enable}-dctransform... $ECHO_C" >&6; }
14302 # Check whether --enable-dctransform was given.
14303 if test "${enable_dctransform+set}" = set; then
14304 enableval=$enable_dctransform;
14305 if test "$enableval" = yes; then
14306 wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX=yes'
14307 else
14308 wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX=no'
14309 fi
14310
14311 else
14312
14313 wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX=${'DEFAULT_wxUSE_DC_TRANSFORM_MATRIX":-$defaultval}"
14314
14315 fi
14316
14317
14318 eval "$wx_cv_use_dctransform"
14319
14320 if test x"$enablestring" = xdisable; then
14321 if test $wxUSE_DC_TRANSFORM_MATRIX = no; then
14322 result=yes
14323 else
14324 result=no
14325 fi
14326 else
14327 result=$wxUSE_DC_TRANSFORM_MATRIX
14328 fi
14329
14330 { echo "$as_me:$LINENO: result: $result" >&5
14331 echo "${ECHO_T}$result" >&6; }
14332
14333
14334 enablestring=
14335 defaultval=$wxUSE_ALL_FEATURES
14336 if test -z "$defaultval"; then
14337 if test x"$enablestring" = xdisable; then
14338 defaultval=yes
14339 else
14340 defaultval=no
14341 fi
14342 fi
14343
14344 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webviewwebkit" >&5
14345 echo $ECHO_N "checking for --${enablestring:-enable}-webviewwebkit... $ECHO_C" >&6; }
14346 # Check whether --enable-webviewwebkit was given.
14347 if test "${enable_webviewwebkit+set}" = set; then
14348 enableval=$enable_webviewwebkit;
14349 if test "$enableval" = yes; then
14350 wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT=yes'
14351 else
14352 wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT=no'
14353 fi
14354
14355 else
14356
14357 wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT=${'DEFAULT_wxUSE_WEBVIEW_WEBKIT":-$defaultval}"
14358
14359 fi
14360
14361
14362 eval "$wx_cv_use_webviewwebkit"
14363
14364 if test x"$enablestring" = xdisable; then
14365 if test $wxUSE_WEBVIEW_WEBKIT = no; then
14366 result=yes
14367 else
14368 result=no
14369 fi
14370 else
14371 result=$wxUSE_WEBVIEW_WEBKIT
14372 fi
14373
14374 { echo "$as_me:$LINENO: result: $result" >&5
14375 echo "${ECHO_T}$result" >&6; }
14376
14377
14378
14379
14380 enablestring=
14381 defaultval=$wxUSE_ALL_FEATURES
14382 if test -z "$defaultval"; then
14383 if test x"$enablestring" = xdisable; then
14384 defaultval=yes
14385 else
14386 defaultval=no
14387 fi
14388 fi
14389
14390 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
14391 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
14392 # Check whether --enable-palette was given.
14393 if test "${enable_palette+set}" = set; then
14394 enableval=$enable_palette;
14395 if test "$enableval" = yes; then
14396 wx_cv_use_palette='wxUSE_PALETTE=yes'
14397 else
14398 wx_cv_use_palette='wxUSE_PALETTE=no'
14399 fi
14400
14401 else
14402
14403 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
14404
14405 fi
14406
14407
14408 eval "$wx_cv_use_palette"
14409
14410 if test x"$enablestring" = xdisable; then
14411 if test $wxUSE_PALETTE = no; then
14412 result=yes
14413 else
14414 result=no
14415 fi
14416 else
14417 result=$wxUSE_PALETTE
14418 fi
14419
14420 { echo "$as_me:$LINENO: result: $result" >&5
14421 echo "${ECHO_T}$result" >&6; }
14422
14423
14424 enablestring=
14425 defaultval=$wxUSE_ALL_FEATURES
14426 if test -z "$defaultval"; then
14427 if test x"$enablestring" = xdisable; then
14428 defaultval=yes
14429 else
14430 defaultval=no
14431 fi
14432 fi
14433
14434 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
14435 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
14436 # Check whether --enable-image was given.
14437 if test "${enable_image+set}" = set; then
14438 enableval=$enable_image;
14439 if test "$enableval" = yes; then
14440 wx_cv_use_image='wxUSE_IMAGE=yes'
14441 else
14442 wx_cv_use_image='wxUSE_IMAGE=no'
14443 fi
14444
14445 else
14446
14447 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
14448
14449 fi
14450
14451
14452 eval "$wx_cv_use_image"
14453
14454 if test x"$enablestring" = xdisable; then
14455 if test $wxUSE_IMAGE = no; then
14456 result=yes
14457 else
14458 result=no
14459 fi
14460 else
14461 result=$wxUSE_IMAGE
14462 fi
14463
14464 { echo "$as_me:$LINENO: result: $result" >&5
14465 echo "${ECHO_T}$result" >&6; }
14466
14467
14468 enablestring=
14469 defaultval=$wxUSE_ALL_FEATURES
14470 if test -z "$defaultval"; then
14471 if test x"$enablestring" = xdisable; then
14472 defaultval=yes
14473 else
14474 defaultval=no
14475 fi
14476 fi
14477
14478 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
14479 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
14480 # Check whether --enable-gif was given.
14481 if test "${enable_gif+set}" = set; then
14482 enableval=$enable_gif;
14483 if test "$enableval" = yes; then
14484 wx_cv_use_gif='wxUSE_GIF=yes'
14485 else
14486 wx_cv_use_gif='wxUSE_GIF=no'
14487 fi
14488
14489 else
14490
14491 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
14492
14493 fi
14494
14495
14496 eval "$wx_cv_use_gif"
14497
14498 if test x"$enablestring" = xdisable; then
14499 if test $wxUSE_GIF = no; then
14500 result=yes
14501 else
14502 result=no
14503 fi
14504 else
14505 result=$wxUSE_GIF
14506 fi
14507
14508 { echo "$as_me:$LINENO: result: $result" >&5
14509 echo "${ECHO_T}$result" >&6; }
14510
14511
14512 enablestring=
14513 defaultval=$wxUSE_ALL_FEATURES
14514 if test -z "$defaultval"; then
14515 if test x"$enablestring" = xdisable; then
14516 defaultval=yes
14517 else
14518 defaultval=no
14519 fi
14520 fi
14521
14522 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
14523 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
14524 # Check whether --enable-pcx was given.
14525 if test "${enable_pcx+set}" = set; then
14526 enableval=$enable_pcx;
14527 if test "$enableval" = yes; then
14528 wx_cv_use_pcx='wxUSE_PCX=yes'
14529 else
14530 wx_cv_use_pcx='wxUSE_PCX=no'
14531 fi
14532
14533 else
14534
14535 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
14536
14537 fi
14538
14539
14540 eval "$wx_cv_use_pcx"
14541
14542 if test x"$enablestring" = xdisable; then
14543 if test $wxUSE_PCX = no; then
14544 result=yes
14545 else
14546 result=no
14547 fi
14548 else
14549 result=$wxUSE_PCX
14550 fi
14551
14552 { echo "$as_me:$LINENO: result: $result" >&5
14553 echo "${ECHO_T}$result" >&6; }
14554
14555
14556 enablestring=
14557 defaultval=$wxUSE_ALL_FEATURES
14558 if test -z "$defaultval"; then
14559 if test x"$enablestring" = xdisable; then
14560 defaultval=yes
14561 else
14562 defaultval=no
14563 fi
14564 fi
14565
14566 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
14567 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
14568 # Check whether --enable-tga was given.
14569 if test "${enable_tga+set}" = set; then
14570 enableval=$enable_tga;
14571 if test "$enableval" = yes; then
14572 wx_cv_use_tga='wxUSE_TGA=yes'
14573 else
14574 wx_cv_use_tga='wxUSE_TGA=no'
14575 fi
14576
14577 else
14578
14579 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
14580
14581 fi
14582
14583
14584 eval "$wx_cv_use_tga"
14585
14586 if test x"$enablestring" = xdisable; then
14587 if test $wxUSE_TGA = no; then
14588 result=yes
14589 else
14590 result=no
14591 fi
14592 else
14593 result=$wxUSE_TGA
14594 fi
14595
14596 { echo "$as_me:$LINENO: result: $result" >&5
14597 echo "${ECHO_T}$result" >&6; }
14598
14599
14600 enablestring=
14601 defaultval=$wxUSE_ALL_FEATURES
14602 if test -z "$defaultval"; then
14603 if test x"$enablestring" = xdisable; then
14604 defaultval=yes
14605 else
14606 defaultval=no
14607 fi
14608 fi
14609
14610 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
14611 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
14612 # Check whether --enable-iff was given.
14613 if test "${enable_iff+set}" = set; then
14614 enableval=$enable_iff;
14615 if test "$enableval" = yes; then
14616 wx_cv_use_iff='wxUSE_IFF=yes'
14617 else
14618 wx_cv_use_iff='wxUSE_IFF=no'
14619 fi
14620
14621 else
14622
14623 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
14624
14625 fi
14626
14627
14628 eval "$wx_cv_use_iff"
14629
14630 if test x"$enablestring" = xdisable; then
14631 if test $wxUSE_IFF = no; then
14632 result=yes
14633 else
14634 result=no
14635 fi
14636 else
14637 result=$wxUSE_IFF
14638 fi
14639
14640 { echo "$as_me:$LINENO: result: $result" >&5
14641 echo "${ECHO_T}$result" >&6; }
14642
14643
14644 enablestring=
14645 defaultval=$wxUSE_ALL_FEATURES
14646 if test -z "$defaultval"; then
14647 if test x"$enablestring" = xdisable; then
14648 defaultval=yes
14649 else
14650 defaultval=no
14651 fi
14652 fi
14653
14654 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
14655 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
14656 # Check whether --enable-pnm was given.
14657 if test "${enable_pnm+set}" = set; then
14658 enableval=$enable_pnm;
14659 if test "$enableval" = yes; then
14660 wx_cv_use_pnm='wxUSE_PNM=yes'
14661 else
14662 wx_cv_use_pnm='wxUSE_PNM=no'
14663 fi
14664
14665 else
14666
14667 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
14668
14669 fi
14670
14671
14672 eval "$wx_cv_use_pnm"
14673
14674 if test x"$enablestring" = xdisable; then
14675 if test $wxUSE_PNM = no; then
14676 result=yes
14677 else
14678 result=no
14679 fi
14680 else
14681 result=$wxUSE_PNM
14682 fi
14683
14684 { echo "$as_me:$LINENO: result: $result" >&5
14685 echo "${ECHO_T}$result" >&6; }
14686
14687
14688 enablestring=
14689 defaultval=$wxUSE_ALL_FEATURES
14690 if test -z "$defaultval"; then
14691 if test x"$enablestring" = xdisable; then
14692 defaultval=yes
14693 else
14694 defaultval=no
14695 fi
14696 fi
14697
14698 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
14699 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
14700 # Check whether --enable-xpm was given.
14701 if test "${enable_xpm+set}" = set; then
14702 enableval=$enable_xpm;
14703 if test "$enableval" = yes; then
14704 wx_cv_use_xpm='wxUSE_XPM=yes'
14705 else
14706 wx_cv_use_xpm='wxUSE_XPM=no'
14707 fi
14708
14709 else
14710
14711 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
14712
14713 fi
14714
14715
14716 eval "$wx_cv_use_xpm"
14717
14718 if test x"$enablestring" = xdisable; then
14719 if test $wxUSE_XPM = no; then
14720 result=yes
14721 else
14722 result=no
14723 fi
14724 else
14725 result=$wxUSE_XPM
14726 fi
14727
14728 { echo "$as_me:$LINENO: result: $result" >&5
14729 echo "${ECHO_T}$result" >&6; }
14730
14731
14732 enablestring=
14733 defaultval=$wxUSE_ALL_FEATURES
14734 if test -z "$defaultval"; then
14735 if test x"$enablestring" = xdisable; then
14736 defaultval=yes
14737 else
14738 defaultval=no
14739 fi
14740 fi
14741
14742 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
14743 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
14744 # Check whether --enable-ico_cur was given.
14745 if test "${enable_ico_cur+set}" = set; then
14746 enableval=$enable_ico_cur;
14747 if test "$enableval" = yes; then
14748 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
14749 else
14750 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
14751 fi
14752
14753 else
14754
14755 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
14756
14757 fi
14758
14759
14760 eval "$wx_cv_use_ico_cur"
14761
14762 if test x"$enablestring" = xdisable; then
14763 if test $wxUSE_ICO_CUR = no; then
14764 result=yes
14765 else
14766 result=no
14767 fi
14768 else
14769 result=$wxUSE_ICO_CUR
14770 fi
14771
14772 { echo "$as_me:$LINENO: result: $result" >&5
14773 echo "${ECHO_T}$result" >&6; }
14774
14775
14776
14777
14778 enablestring=
14779 defaultval=$wxUSE_ALL_FEATURES
14780 if test -z "$defaultval"; then
14781 if test x"$enablestring" = xdisable; then
14782 defaultval=yes
14783 else
14784 defaultval=no
14785 fi
14786 fi
14787
14788 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
14789 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
14790 # Check whether --enable-dccache was given.
14791 if test "${enable_dccache+set}" = set; then
14792 enableval=$enable_dccache;
14793 if test "$enableval" = yes; then
14794 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
14795 else
14796 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
14797 fi
14798
14799 else
14800
14801 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
14802
14803 fi
14804
14805
14806 eval "$wx_cv_use_dccache"
14807
14808 if test x"$enablestring" = xdisable; then
14809 if test $wxUSE_DC_CACHEING = no; then
14810 result=yes
14811 else
14812 result=no
14813 fi
14814 else
14815 result=$wxUSE_DC_CACHEING
14816 fi
14817
14818 { echo "$as_me:$LINENO: result: $result" >&5
14819 echo "${ECHO_T}$result" >&6; }
14820
14821
14822 enablestring=
14823 defaultval=$wxUSE_ALL_FEATURES
14824 if test -z "$defaultval"; then
14825 if test x"$enablestring" = xdisable; then
14826 defaultval=yes
14827 else
14828 defaultval=no
14829 fi
14830 fi
14831
14832 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
14833 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
14834 # Check whether --enable-ps-in-msw was given.
14835 if test "${enable_ps_in_msw+set}" = set; then
14836 enableval=$enable_ps_in_msw;
14837 if test "$enableval" = yes; then
14838 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
14839 else
14840 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
14841 fi
14842
14843 else
14844
14845 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
14846
14847 fi
14848
14849
14850 eval "$wx_cv_use_ps_in_msw"
14851
14852 if test x"$enablestring" = xdisable; then
14853 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = no; then
14854 result=yes
14855 else
14856 result=no
14857 fi
14858 else
14859 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
14860 fi
14861
14862 { echo "$as_me:$LINENO: result: $result" >&5
14863 echo "${ECHO_T}$result" >&6; }
14864
14865
14866 enablestring=
14867 defaultval=$wxUSE_ALL_FEATURES
14868 if test -z "$defaultval"; then
14869 if test x"$enablestring" = xdisable; then
14870 defaultval=yes
14871 else
14872 defaultval=no
14873 fi
14874 fi
14875
14876 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
14877 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
14878 # Check whether --enable-ownerdrawn was given.
14879 if test "${enable_ownerdrawn+set}" = set; then
14880 enableval=$enable_ownerdrawn;
14881 if test "$enableval" = yes; then
14882 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
14883 else
14884 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
14885 fi
14886
14887 else
14888
14889 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
14890
14891 fi
14892
14893
14894 eval "$wx_cv_use_ownerdrawn"
14895
14896 if test x"$enablestring" = xdisable; then
14897 if test $wxUSE_OWNER_DRAWN = no; then
14898 result=yes
14899 else
14900 result=no
14901 fi
14902 else
14903 result=$wxUSE_OWNER_DRAWN
14904 fi
14905
14906 { echo "$as_me:$LINENO: result: $result" >&5
14907 echo "${ECHO_T}$result" >&6; }
14908
14909
14910 enablestring=
14911 defaultval=$wxUSE_ALL_FEATURES
14912 if test -z "$defaultval"; then
14913 if test x"$enablestring" = xdisable; then
14914 defaultval=yes
14915 else
14916 defaultval=no
14917 fi
14918 fi
14919
14920 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
14921 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
14922 # Check whether --enable-uxtheme was given.
14923 if test "${enable_uxtheme+set}" = set; then
14924 enableval=$enable_uxtheme;
14925 if test "$enableval" = yes; then
14926 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
14927 else
14928 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
14929 fi
14930
14931 else
14932
14933 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
14934
14935 fi
14936
14937
14938 eval "$wx_cv_use_uxtheme"
14939
14940 if test x"$enablestring" = xdisable; then
14941 if test $wxUSE_UXTHEME = no; then
14942 result=yes
14943 else
14944 result=no
14945 fi
14946 else
14947 result=$wxUSE_UXTHEME
14948 fi
14949
14950 { echo "$as_me:$LINENO: result: $result" >&5
14951 echo "${ECHO_T}$result" >&6; }
14952
14953
14954 enablestring=
14955 defaultval=$wxUSE_ALL_FEATURES
14956 if test -z "$defaultval"; then
14957 if test x"$enablestring" = xdisable; then
14958 defaultval=yes
14959 else
14960 defaultval=no
14961 fi
14962 fi
14963
14964 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
14965 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
14966 # Check whether --enable-wxdib was given.
14967 if test "${enable_wxdib+set}" = set; then
14968 enableval=$enable_wxdib;
14969 if test "$enableval" = yes; then
14970 wx_cv_use_wxdib='wxUSE_DIB=yes'
14971 else
14972 wx_cv_use_wxdib='wxUSE_DIB=no'
14973 fi
14974
14975 else
14976
14977 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
14978
14979 fi
14980
14981
14982 eval "$wx_cv_use_wxdib"
14983
14984 if test x"$enablestring" = xdisable; then
14985 if test $wxUSE_DIB = no; then
14986 result=yes
14987 else
14988 result=no
14989 fi
14990 else
14991 result=$wxUSE_DIB
14992 fi
14993
14994 { echo "$as_me:$LINENO: result: $result" >&5
14995 echo "${ECHO_T}$result" >&6; }
14996
14997
14998 enablestring=
14999 defaultval=$wxUSE_ALL_FEATURES
15000 if test -z "$defaultval"; then
15001 if test x"$enablestring" = xdisable; then
15002 defaultval=yes
15003 else
15004 defaultval=no
15005 fi
15006 fi
15007
15008 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webviewie" >&5
15009 echo $ECHO_N "checking for --${enablestring:-enable}-webviewie... $ECHO_C" >&6; }
15010 # Check whether --enable-webviewie was given.
15011 if test "${enable_webviewie+set}" = set; then
15012 enableval=$enable_webviewie;
15013 if test "$enableval" = yes; then
15014 wx_cv_use_webviewie='wxUSE_WEBVIEW_IE=yes'
15015 else
15016 wx_cv_use_webviewie='wxUSE_WEBVIEW_IE=no'
15017 fi
15018
15019 else
15020
15021 wx_cv_use_webviewie='wxUSE_WEBVIEW_IE=${'DEFAULT_wxUSE_WEBVIEW_IE":-$defaultval}"
15022
15023 fi
15024
15025
15026 eval "$wx_cv_use_webviewie"
15027
15028 if test x"$enablestring" = xdisable; then
15029 if test $wxUSE_WEBVIEW_IE = no; then
15030 result=yes
15031 else
15032 result=no
15033 fi
15034 else
15035 result=$wxUSE_WEBVIEW_IE
15036 fi
15037
15038 { echo "$as_me:$LINENO: result: $result" >&5
15039 echo "${ECHO_T}$result" >&6; }
15040
15041
15042 if test "$wxUSE_MSW" != 1; then
15043 DEFAULT_wxUSE_AUTOID_MANAGEMENT=no
15044 fi
15045
15046
15047 enablestring=
15048 defaultval=$wxUSE_ALL_FEATURES
15049 if test -z "$defaultval"; then
15050 if test x"$enablestring" = xdisable; then
15051 defaultval=yes
15052 else
15053 defaultval=no
15054 fi
15055 fi
15056
15057 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-autoidman" >&5
15058 echo $ECHO_N "checking for --${enablestring:-enable}-autoidman... $ECHO_C" >&6; }
15059 # Check whether --enable-autoidman was given.
15060 if test "${enable_autoidman+set}" = set; then
15061 enableval=$enable_autoidman;
15062 if test "$enableval" = yes; then
15063 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=yes'
15064 else
15065 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=no'
15066 fi
15067
15068 else
15069
15070 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
15071
15072 fi
15073
15074
15075 eval "$wx_cv_use_autoidman"
15076
15077 if test x"$enablestring" = xdisable; then
15078 if test $wxUSE_AUTOID_MANAGEMENT = no; then
15079 result=yes
15080 else
15081 result=no
15082 fi
15083 else
15084 result=$wxUSE_AUTOID_MANAGEMENT
15085 fi
15086
15087 { echo "$as_me:$LINENO: result: $result" >&5
15088 echo "${ECHO_T}$result" >&6; }
15089
15090
15091 fi
15092
15093
15094 cat >confcache <<\_ACEOF
15095 # This file is a shell script that caches the results of configure
15096 # tests run on this system so they can be shared between configure
15097 # scripts and configure runs, see configure's option --config-cache.
15098 # It is not useful on other systems. If it contains results you don't
15099 # want to keep, you may remove or edit it.
15100 #
15101 # config.status only pays attention to the cache file if you give it
15102 # the --recheck option to rerun configure.
15103 #
15104 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15105 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15106 # following values.
15107
15108 _ACEOF
15109
15110 # The following way of writing the cache mishandles newlines in values,
15111 # but we know of no workaround that is simple, portable, and efficient.
15112 # So, we kill variables containing newlines.
15113 # Ultrix sh set writes to stderr and can't be redirected directly,
15114 # and sets the high bit in the cache file unless we assign to the vars.
15115 (
15116 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15117 eval ac_val=\$$ac_var
15118 case $ac_val in #(
15119 *${as_nl}*)
15120 case $ac_var in #(
15121 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
15122 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
15123 esac
15124 case $ac_var in #(
15125 _ | IFS | as_nl) ;; #(
15126 *) $as_unset $ac_var ;;
15127 esac ;;
15128 esac
15129 done
15130
15131 (set) 2>&1 |
15132 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15133 *${as_nl}ac_space=\ *)
15134 # `set' does not quote correctly, so add quotes (double-quote
15135 # substitution turns \\\\ into \\, and sed turns \\ into \).
15136 sed -n \
15137 "s/'/'\\\\''/g;
15138 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15139 ;; #(
15140 *)
15141 # `set' quotes correctly as required by POSIX, so do not add quotes.
15142 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15143 ;;
15144 esac |
15145 sort
15146 ) |
15147 sed '
15148 /^ac_cv_env_/b end
15149 t clear
15150 :clear
15151 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15152 t end
15153 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15154 :end' >>confcache
15155 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15156 if test -w "$cache_file"; then
15157 test "x$cache_file" != "x/dev/null" &&
15158 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
15159 echo "$as_me: updating cache $cache_file" >&6;}
15160 cat confcache >$cache_file
15161 else
15162 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
15163 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15164 fi
15165 fi
15166 rm -f confcache
15167
15168 CFLAGS=${CFLAGS:=}
15169 ac_ext=c
15170 ac_cpp='$CPP $CPPFLAGS'
15171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15174 if test -n "$ac_tool_prefix"; then
15175 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
15176 set dummy ${ac_tool_prefix}gcc; ac_word=$2
15177 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15178 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15179 if test "${ac_cv_prog_CC+set}" = set; then
15180 echo $ECHO_N "(cached) $ECHO_C" >&6
15181 else
15182 if test -n "$CC"; then
15183 ac_cv_prog_CC="$CC" # Let the user override the test.
15184 else
15185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15186 for as_dir in $PATH
15187 do
15188 IFS=$as_save_IFS
15189 test -z "$as_dir" && as_dir=.
15190 for ac_exec_ext in '' $ac_executable_extensions; do
15191 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15192 ac_cv_prog_CC="${ac_tool_prefix}gcc"
15193 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15194 break 2
15195 fi
15196 done
15197 done
15198 IFS=$as_save_IFS
15199
15200 fi
15201 fi
15202 CC=$ac_cv_prog_CC
15203 if test -n "$CC"; then
15204 { echo "$as_me:$LINENO: result: $CC" >&5
15205 echo "${ECHO_T}$CC" >&6; }
15206 else
15207 { echo "$as_me:$LINENO: result: no" >&5
15208 echo "${ECHO_T}no" >&6; }
15209 fi
15210
15211
15212 fi
15213 if test -z "$ac_cv_prog_CC"; then
15214 ac_ct_CC=$CC
15215 # Extract the first word of "gcc", so it can be a program name with args.
15216 set dummy gcc; ac_word=$2
15217 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15218 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15219 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
15220 echo $ECHO_N "(cached) $ECHO_C" >&6
15221 else
15222 if test -n "$ac_ct_CC"; then
15223 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
15224 else
15225 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15226 for as_dir in $PATH
15227 do
15228 IFS=$as_save_IFS
15229 test -z "$as_dir" && as_dir=.
15230 for ac_exec_ext in '' $ac_executable_extensions; do
15231 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15232 ac_cv_prog_ac_ct_CC="gcc"
15233 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15234 break 2
15235 fi
15236 done
15237 done
15238 IFS=$as_save_IFS
15239
15240 fi
15241 fi
15242 ac_ct_CC=$ac_cv_prog_ac_ct_CC
15243 if test -n "$ac_ct_CC"; then
15244 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
15245 echo "${ECHO_T}$ac_ct_CC" >&6; }
15246 else
15247 { echo "$as_me:$LINENO: result: no" >&5
15248 echo "${ECHO_T}no" >&6; }
15249 fi
15250
15251 if test "x$ac_ct_CC" = x; then
15252 CC=""
15253 else
15254 case $cross_compiling:$ac_tool_warned in
15255 yes:)
15256 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15257 whose name does not start with the host triplet. If you think this
15258 configuration is useful to you, please write to autoconf@gnu.org." >&5
15259 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15260 whose name does not start with the host triplet. If you think this
15261 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15262 ac_tool_warned=yes ;;
15263 esac
15264 CC=$ac_ct_CC
15265 fi
15266 else
15267 CC="$ac_cv_prog_CC"
15268 fi
15269
15270 if test -z "$CC"; then
15271 if test -n "$ac_tool_prefix"; then
15272 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
15273 set dummy ${ac_tool_prefix}cc; ac_word=$2
15274 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15275 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15276 if test "${ac_cv_prog_CC+set}" = set; then
15277 echo $ECHO_N "(cached) $ECHO_C" >&6
15278 else
15279 if test -n "$CC"; then
15280 ac_cv_prog_CC="$CC" # Let the user override the test.
15281 else
15282 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15283 for as_dir in $PATH
15284 do
15285 IFS=$as_save_IFS
15286 test -z "$as_dir" && as_dir=.
15287 for ac_exec_ext in '' $ac_executable_extensions; do
15288 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15289 ac_cv_prog_CC="${ac_tool_prefix}cc"
15290 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15291 break 2
15292 fi
15293 done
15294 done
15295 IFS=$as_save_IFS
15296
15297 fi
15298 fi
15299 CC=$ac_cv_prog_CC
15300 if test -n "$CC"; then
15301 { echo "$as_me:$LINENO: result: $CC" >&5
15302 echo "${ECHO_T}$CC" >&6; }
15303 else
15304 { echo "$as_me:$LINENO: result: no" >&5
15305 echo "${ECHO_T}no" >&6; }
15306 fi
15307
15308
15309 fi
15310 fi
15311 if test -z "$CC"; then
15312 # Extract the first word of "cc", so it can be a program name with args.
15313 set dummy cc; ac_word=$2
15314 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15315 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15316 if test "${ac_cv_prog_CC+set}" = set; then
15317 echo $ECHO_N "(cached) $ECHO_C" >&6
15318 else
15319 if test -n "$CC"; then
15320 ac_cv_prog_CC="$CC" # Let the user override the test.
15321 else
15322 ac_prog_rejected=no
15323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15324 for as_dir in $PATH
15325 do
15326 IFS=$as_save_IFS
15327 test -z "$as_dir" && as_dir=.
15328 for ac_exec_ext in '' $ac_executable_extensions; do
15329 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15330 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
15331 ac_prog_rejected=yes
15332 continue
15333 fi
15334 ac_cv_prog_CC="cc"
15335 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15336 break 2
15337 fi
15338 done
15339 done
15340 IFS=$as_save_IFS
15341
15342 if test $ac_prog_rejected = yes; then
15343 # We found a bogon in the path, so make sure we never use it.
15344 set dummy $ac_cv_prog_CC
15345 shift
15346 if test $# != 0; then
15347 # We chose a different compiler from the bogus one.
15348 # However, it has the same basename, so the bogon will be chosen
15349 # first if we set CC to just the basename; use the full file name.
15350 shift
15351 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
15352 fi
15353 fi
15354 fi
15355 fi
15356 CC=$ac_cv_prog_CC
15357 if test -n "$CC"; then
15358 { echo "$as_me:$LINENO: result: $CC" >&5
15359 echo "${ECHO_T}$CC" >&6; }
15360 else
15361 { echo "$as_me:$LINENO: result: no" >&5
15362 echo "${ECHO_T}no" >&6; }
15363 fi
15364
15365
15366 fi
15367 if test -z "$CC"; then
15368 if test -n "$ac_tool_prefix"; then
15369 for ac_prog in cl.exe
15370 do
15371 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
15372 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
15373 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15374 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15375 if test "${ac_cv_prog_CC+set}" = set; then
15376 echo $ECHO_N "(cached) $ECHO_C" >&6
15377 else
15378 if test -n "$CC"; then
15379 ac_cv_prog_CC="$CC" # Let the user override the test.
15380 else
15381 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15382 for as_dir in $PATH
15383 do
15384 IFS=$as_save_IFS
15385 test -z "$as_dir" && as_dir=.
15386 for ac_exec_ext in '' $ac_executable_extensions; do
15387 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15388 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
15389 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15390 break 2
15391 fi
15392 done
15393 done
15394 IFS=$as_save_IFS
15395
15396 fi
15397 fi
15398 CC=$ac_cv_prog_CC
15399 if test -n "$CC"; then
15400 { echo "$as_me:$LINENO: result: $CC" >&5
15401 echo "${ECHO_T}$CC" >&6; }
15402 else
15403 { echo "$as_me:$LINENO: result: no" >&5
15404 echo "${ECHO_T}no" >&6; }
15405 fi
15406
15407
15408 test -n "$CC" && break
15409 done
15410 fi
15411 if test -z "$CC"; then
15412 ac_ct_CC=$CC
15413 for ac_prog in cl.exe
15414 do
15415 # Extract the first word of "$ac_prog", so it can be a program name with args.
15416 set dummy $ac_prog; ac_word=$2
15417 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15418 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15419 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
15420 echo $ECHO_N "(cached) $ECHO_C" >&6
15421 else
15422 if test -n "$ac_ct_CC"; then
15423 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
15424 else
15425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15426 for as_dir in $PATH
15427 do
15428 IFS=$as_save_IFS
15429 test -z "$as_dir" && as_dir=.
15430 for ac_exec_ext in '' $ac_executable_extensions; do
15431 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15432 ac_cv_prog_ac_ct_CC="$ac_prog"
15433 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15434 break 2
15435 fi
15436 done
15437 done
15438 IFS=$as_save_IFS
15439
15440 fi
15441 fi
15442 ac_ct_CC=$ac_cv_prog_ac_ct_CC
15443 if test -n "$ac_ct_CC"; then
15444 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
15445 echo "${ECHO_T}$ac_ct_CC" >&6; }
15446 else
15447 { echo "$as_me:$LINENO: result: no" >&5
15448 echo "${ECHO_T}no" >&6; }
15449 fi
15450
15451
15452 test -n "$ac_ct_CC" && break
15453 done
15454
15455 if test "x$ac_ct_CC" = x; then
15456 CC=""
15457 else
15458 case $cross_compiling:$ac_tool_warned in
15459 yes:)
15460 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15461 whose name does not start with the host triplet. If you think this
15462 configuration is useful to you, please write to autoconf@gnu.org." >&5
15463 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15464 whose name does not start with the host triplet. If you think this
15465 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15466 ac_tool_warned=yes ;;
15467 esac
15468 CC=$ac_ct_CC
15469 fi
15470 fi
15471
15472 fi
15473
15474
15475 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
15476 See \`config.log' for more details." >&5
15477 echo "$as_me: error: no acceptable C compiler found in \$PATH
15478 See \`config.log' for more details." >&2;}
15479 { (exit 1); exit 1; }; }
15480
15481 # Provide some information about the compiler.
15482 echo "$as_me:$LINENO: checking for C compiler version" >&5
15483 ac_compiler=`set X $ac_compile; echo $2`
15484 { (ac_try="$ac_compiler --version >&5"
15485 case "(($ac_try" in
15486 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15487 *) ac_try_echo=$ac_try;;
15488 esac
15489 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15490 (eval "$ac_compiler --version >&5") 2>&5
15491 ac_status=$?
15492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15493 (exit $ac_status); }
15494 { (ac_try="$ac_compiler -v >&5"
15495 case "(($ac_try" in
15496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15497 *) ac_try_echo=$ac_try;;
15498 esac
15499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15500 (eval "$ac_compiler -v >&5") 2>&5
15501 ac_status=$?
15502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15503 (exit $ac_status); }
15504 { (ac_try="$ac_compiler -V >&5"
15505 case "(($ac_try" in
15506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15507 *) ac_try_echo=$ac_try;;
15508 esac
15509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15510 (eval "$ac_compiler -V >&5") 2>&5
15511 ac_status=$?
15512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15513 (exit $ac_status); }
15514
15515 cat >conftest.$ac_ext <<_ACEOF
15516 /* confdefs.h. */
15517 _ACEOF
15518 cat confdefs.h >>conftest.$ac_ext
15519 cat >>conftest.$ac_ext <<_ACEOF
15520 /* end confdefs.h. */
15521
15522 int
15523 main ()
15524 {
15525
15526 ;
15527 return 0;
15528 }
15529 _ACEOF
15530 ac_clean_files_save=$ac_clean_files
15531 ac_clean_files="$ac_clean_files a.out a.exe b.out"
15532 # Try to create an executable without -o first, disregard a.out.
15533 # It will help us diagnose broken compilers, and finding out an intuition
15534 # of exeext.
15535 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
15536 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
15537 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
15538 #
15539 # List of possible output files, starting from the most likely.
15540 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
15541 # only as a last resort. b.out is created by i960 compilers.
15542 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
15543 #
15544 # The IRIX 6 linker writes into existing files which may not be
15545 # executable, retaining their permissions. Remove them first so a
15546 # subsequent execution test works.
15547 ac_rmfiles=
15548 for ac_file in $ac_files
15549 do
15550 case $ac_file in
15551 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
15552 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
15553 esac
15554 done
15555 rm -f $ac_rmfiles
15556
15557 if { (ac_try="$ac_link_default"
15558 case "(($ac_try" in
15559 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15560 *) ac_try_echo=$ac_try;;
15561 esac
15562 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15563 (eval "$ac_link_default") 2>&5
15564 ac_status=$?
15565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15566 (exit $ac_status); }; then
15567 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
15568 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
15569 # in a Makefile. We should not override ac_cv_exeext if it was cached,
15570 # so that the user can short-circuit this test for compilers unknown to
15571 # Autoconf.
15572 for ac_file in $ac_files ''
15573 do
15574 test -f "$ac_file" || continue
15575 case $ac_file in
15576 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
15577 ;;
15578 [ab].out )
15579 # We found the default executable, but exeext='' is most
15580 # certainly right.
15581 break;;
15582 *.* )
15583 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
15584 then :; else
15585 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
15586 fi
15587 # We set ac_cv_exeext here because the later test for it is not
15588 # safe: cross compilers may not add the suffix if given an `-o'
15589 # argument, so we may need to know it at that point already.
15590 # Even if this section looks crufty: it has the advantage of
15591 # actually working.
15592 break;;
15593 * )
15594 break;;
15595 esac
15596 done
15597 test "$ac_cv_exeext" = no && ac_cv_exeext=
15598
15599 else
15600 ac_file=''
15601 fi
15602
15603 { echo "$as_me:$LINENO: result: $ac_file" >&5
15604 echo "${ECHO_T}$ac_file" >&6; }
15605 if test -z "$ac_file"; then
15606 echo "$as_me: failed program was:" >&5
15607 sed 's/^/| /' conftest.$ac_ext >&5
15608
15609 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
15610 See \`config.log' for more details." >&5
15611 echo "$as_me: error: C compiler cannot create executables
15612 See \`config.log' for more details." >&2;}
15613 { (exit 77); exit 77; }; }
15614 fi
15615
15616 ac_exeext=$ac_cv_exeext
15617
15618 # Check that the compiler produces executables we can run. If not, either
15619 # the compiler is broken, or we cross compile.
15620 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
15621 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
15622 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
15623 # If not cross compiling, check that we can run a simple program.
15624 if test "$cross_compiling" != yes; then
15625 if { ac_try='./$ac_file'
15626 { (case "(($ac_try" in
15627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15628 *) ac_try_echo=$ac_try;;
15629 esac
15630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15631 (eval "$ac_try") 2>&5
15632 ac_status=$?
15633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15634 (exit $ac_status); }; }; then
15635 cross_compiling=no
15636 else
15637 if test "$cross_compiling" = maybe; then
15638 cross_compiling=yes
15639 else
15640 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
15641 If you meant to cross compile, use \`--host'.
15642 See \`config.log' for more details." >&5
15643 echo "$as_me: error: cannot run C compiled programs.
15644 If you meant to cross compile, use \`--host'.
15645 See \`config.log' for more details." >&2;}
15646 { (exit 1); exit 1; }; }
15647 fi
15648 fi
15649 fi
15650 { echo "$as_me:$LINENO: result: yes" >&5
15651 echo "${ECHO_T}yes" >&6; }
15652
15653 rm -f a.out a.exe conftest$ac_cv_exeext b.out
15654 ac_clean_files=$ac_clean_files_save
15655 # Check that the compiler produces executables we can run. If not, either
15656 # the compiler is broken, or we cross compile.
15657 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
15658 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
15659 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
15660 echo "${ECHO_T}$cross_compiling" >&6; }
15661
15662 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
15663 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
15664 if { (ac_try="$ac_link"
15665 case "(($ac_try" in
15666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15667 *) ac_try_echo=$ac_try;;
15668 esac
15669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15670 (eval "$ac_link") 2>&5
15671 ac_status=$?
15672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15673 (exit $ac_status); }; then
15674 # If both `conftest.exe' and `conftest' are `present' (well, observable)
15675 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
15676 # work properly (i.e., refer to `conftest.exe'), while it won't with
15677 # `rm'.
15678 for ac_file in conftest.exe conftest conftest.*; do
15679 test -f "$ac_file" || continue
15680 case $ac_file in
15681 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
15682 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
15683 break;;
15684 * ) break;;
15685 esac
15686 done
15687 else
15688 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
15689 See \`config.log' for more details." >&5
15690 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
15691 See \`config.log' for more details." >&2;}
15692 { (exit 1); exit 1; }; }
15693 fi
15694
15695 rm -f conftest$ac_cv_exeext
15696 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
15697 echo "${ECHO_T}$ac_cv_exeext" >&6; }
15698
15699 rm -f conftest.$ac_ext
15700 EXEEXT=$ac_cv_exeext
15701 ac_exeext=$EXEEXT
15702 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
15703 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
15704 if test "${ac_cv_objext+set}" = set; then
15705 echo $ECHO_N "(cached) $ECHO_C" >&6
15706 else
15707 cat >conftest.$ac_ext <<_ACEOF
15708 /* confdefs.h. */
15709 _ACEOF
15710 cat confdefs.h >>conftest.$ac_ext
15711 cat >>conftest.$ac_ext <<_ACEOF
15712 /* end confdefs.h. */
15713
15714 int
15715 main ()
15716 {
15717
15718 ;
15719 return 0;
15720 }
15721 _ACEOF
15722 rm -f conftest.o conftest.obj
15723 if { (ac_try="$ac_compile"
15724 case "(($ac_try" in
15725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15726 *) ac_try_echo=$ac_try;;
15727 esac
15728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15729 (eval "$ac_compile") 2>&5
15730 ac_status=$?
15731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15732 (exit $ac_status); }; then
15733 for ac_file in conftest.o conftest.obj conftest.*; do
15734 test -f "$ac_file" || continue;
15735 case $ac_file in
15736 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
15737 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
15738 break;;
15739 esac
15740 done
15741 else
15742 echo "$as_me: failed program was:" >&5
15743 sed 's/^/| /' conftest.$ac_ext >&5
15744
15745 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
15746 See \`config.log' for more details." >&5
15747 echo "$as_me: error: cannot compute suffix of object files: cannot compile
15748 See \`config.log' for more details." >&2;}
15749 { (exit 1); exit 1; }; }
15750 fi
15751
15752 rm -f conftest.$ac_cv_objext conftest.$ac_ext
15753 fi
15754 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
15755 echo "${ECHO_T}$ac_cv_objext" >&6; }
15756 OBJEXT=$ac_cv_objext
15757 ac_objext=$OBJEXT
15758 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
15759 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
15760 if test "${ac_cv_c_compiler_gnu+set}" = set; then
15761 echo $ECHO_N "(cached) $ECHO_C" >&6
15762 else
15763 cat >conftest.$ac_ext <<_ACEOF
15764 /* confdefs.h. */
15765 _ACEOF
15766 cat confdefs.h >>conftest.$ac_ext
15767 cat >>conftest.$ac_ext <<_ACEOF
15768 /* end confdefs.h. */
15769
15770 int
15771 main ()
15772 {
15773 #ifndef __GNUC__
15774 choke me
15775 #endif
15776
15777 ;
15778 return 0;
15779 }
15780 _ACEOF
15781 rm -f conftest.$ac_objext
15782 if { (ac_try="$ac_compile"
15783 case "(($ac_try" in
15784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15785 *) ac_try_echo=$ac_try;;
15786 esac
15787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15788 (eval "$ac_compile") 2>conftest.er1
15789 ac_status=$?
15790 grep -v '^ *+' conftest.er1 >conftest.err
15791 rm -f conftest.er1
15792 cat conftest.err >&5
15793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15794 (exit $ac_status); } && {
15795 test -z "$ac_c_werror_flag" ||
15796 test ! -s conftest.err
15797 } && test -s conftest.$ac_objext; then
15798 ac_compiler_gnu=yes
15799 else
15800 echo "$as_me: failed program was:" >&5
15801 sed 's/^/| /' conftest.$ac_ext >&5
15802
15803 ac_compiler_gnu=no
15804 fi
15805
15806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15807 ac_cv_c_compiler_gnu=$ac_compiler_gnu
15808
15809 fi
15810 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
15811 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
15812 GCC=`test $ac_compiler_gnu = yes && echo yes`
15813 ac_test_CFLAGS=${CFLAGS+set}
15814 ac_save_CFLAGS=$CFLAGS
15815 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15816 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15817 if test "${ac_cv_prog_cc_g+set}" = set; then
15818 echo $ECHO_N "(cached) $ECHO_C" >&6
15819 else
15820 ac_save_c_werror_flag=$ac_c_werror_flag
15821 ac_c_werror_flag=yes
15822 ac_cv_prog_cc_g=no
15823 CFLAGS="-g"
15824 cat >conftest.$ac_ext <<_ACEOF
15825 /* confdefs.h. */
15826 _ACEOF
15827 cat confdefs.h >>conftest.$ac_ext
15828 cat >>conftest.$ac_ext <<_ACEOF
15829 /* end confdefs.h. */
15830
15831 int
15832 main ()
15833 {
15834
15835 ;
15836 return 0;
15837 }
15838 _ACEOF
15839 rm -f conftest.$ac_objext
15840 if { (ac_try="$ac_compile"
15841 case "(($ac_try" in
15842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15843 *) ac_try_echo=$ac_try;;
15844 esac
15845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15846 (eval "$ac_compile") 2>conftest.er1
15847 ac_status=$?
15848 grep -v '^ *+' conftest.er1 >conftest.err
15849 rm -f conftest.er1
15850 cat conftest.err >&5
15851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15852 (exit $ac_status); } && {
15853 test -z "$ac_c_werror_flag" ||
15854 test ! -s conftest.err
15855 } && test -s conftest.$ac_objext; then
15856 ac_cv_prog_cc_g=yes
15857 else
15858 echo "$as_me: failed program was:" >&5
15859 sed 's/^/| /' conftest.$ac_ext >&5
15860
15861 CFLAGS=""
15862 cat >conftest.$ac_ext <<_ACEOF
15863 /* confdefs.h. */
15864 _ACEOF
15865 cat confdefs.h >>conftest.$ac_ext
15866 cat >>conftest.$ac_ext <<_ACEOF
15867 /* end confdefs.h. */
15868
15869 int
15870 main ()
15871 {
15872
15873 ;
15874 return 0;
15875 }
15876 _ACEOF
15877 rm -f conftest.$ac_objext
15878 if { (ac_try="$ac_compile"
15879 case "(($ac_try" in
15880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15881 *) ac_try_echo=$ac_try;;
15882 esac
15883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15884 (eval "$ac_compile") 2>conftest.er1
15885 ac_status=$?
15886 grep -v '^ *+' conftest.er1 >conftest.err
15887 rm -f conftest.er1
15888 cat conftest.err >&5
15889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15890 (exit $ac_status); } && {
15891 test -z "$ac_c_werror_flag" ||
15892 test ! -s conftest.err
15893 } && test -s conftest.$ac_objext; then
15894 :
15895 else
15896 echo "$as_me: failed program was:" >&5
15897 sed 's/^/| /' conftest.$ac_ext >&5
15898
15899 ac_c_werror_flag=$ac_save_c_werror_flag
15900 CFLAGS="-g"
15901 cat >conftest.$ac_ext <<_ACEOF
15902 /* confdefs.h. */
15903 _ACEOF
15904 cat confdefs.h >>conftest.$ac_ext
15905 cat >>conftest.$ac_ext <<_ACEOF
15906 /* end confdefs.h. */
15907
15908 int
15909 main ()
15910 {
15911
15912 ;
15913 return 0;
15914 }
15915 _ACEOF
15916 rm -f conftest.$ac_objext
15917 if { (ac_try="$ac_compile"
15918 case "(($ac_try" in
15919 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15920 *) ac_try_echo=$ac_try;;
15921 esac
15922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15923 (eval "$ac_compile") 2>conftest.er1
15924 ac_status=$?
15925 grep -v '^ *+' conftest.er1 >conftest.err
15926 rm -f conftest.er1
15927 cat conftest.err >&5
15928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15929 (exit $ac_status); } && {
15930 test -z "$ac_c_werror_flag" ||
15931 test ! -s conftest.err
15932 } && test -s conftest.$ac_objext; then
15933 ac_cv_prog_cc_g=yes
15934 else
15935 echo "$as_me: failed program was:" >&5
15936 sed 's/^/| /' conftest.$ac_ext >&5
15937
15938
15939 fi
15940
15941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15942 fi
15943
15944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15945 fi
15946
15947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15948 ac_c_werror_flag=$ac_save_c_werror_flag
15949 fi
15950 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15951 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15952 if test "$ac_test_CFLAGS" = set; then
15953 CFLAGS=$ac_save_CFLAGS
15954 elif test $ac_cv_prog_cc_g = yes; then
15955 if test "$GCC" = yes; then
15956 CFLAGS="-g -O2"
15957 else
15958 CFLAGS="-g"
15959 fi
15960 else
15961 if test "$GCC" = yes; then
15962 CFLAGS="-O2"
15963 else
15964 CFLAGS=
15965 fi
15966 fi
15967 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
15968 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
15969 if test "${ac_cv_prog_cc_c89+set}" = set; then
15970 echo $ECHO_N "(cached) $ECHO_C" >&6
15971 else
15972 ac_cv_prog_cc_c89=no
15973 ac_save_CC=$CC
15974 cat >conftest.$ac_ext <<_ACEOF
15975 /* confdefs.h. */
15976 _ACEOF
15977 cat confdefs.h >>conftest.$ac_ext
15978 cat >>conftest.$ac_ext <<_ACEOF
15979 /* end confdefs.h. */
15980 #include <stdarg.h>
15981 #include <stdio.h>
15982 #include <sys/types.h>
15983 #include <sys/stat.h>
15984 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
15985 struct buf { int x; };
15986 FILE * (*rcsopen) (struct buf *, struct stat *, int);
15987 static char *e (p, i)
15988 char **p;
15989 int i;
15990 {
15991 return p[i];
15992 }
15993 static char *f (char * (*g) (char **, int), char **p, ...)
15994 {
15995 char *s;
15996 va_list v;
15997 va_start (v,p);
15998 s = g (p, va_arg (v,int));
15999 va_end (v);
16000 return s;
16001 }
16002
16003 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
16004 function prototypes and stuff, but not '\xHH' hex character constants.
16005 These don't provoke an error unfortunately, instead are silently treated
16006 as 'x'. The following induces an error, until -std is added to get
16007 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
16008 array size at least. It's necessary to write '\x00'==0 to get something
16009 that's true only with -std. */
16010 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
16011
16012 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
16013 inside strings and character constants. */
16014 #define FOO(x) 'x'
16015 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
16016
16017 int test (int i, double x);
16018 struct s1 {int (*f) (int a);};
16019 struct s2 {int (*f) (double a);};
16020 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
16021 int argc;
16022 char **argv;
16023 int
16024 main ()
16025 {
16026 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
16027 ;
16028 return 0;
16029 }
16030 _ACEOF
16031 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
16032 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
16033 do
16034 CC="$ac_save_CC $ac_arg"
16035 rm -f conftest.$ac_objext
16036 if { (ac_try="$ac_compile"
16037 case "(($ac_try" in
16038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16039 *) ac_try_echo=$ac_try;;
16040 esac
16041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16042 (eval "$ac_compile") 2>conftest.er1
16043 ac_status=$?
16044 grep -v '^ *+' conftest.er1 >conftest.err
16045 rm -f conftest.er1
16046 cat conftest.err >&5
16047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16048 (exit $ac_status); } && {
16049 test -z "$ac_c_werror_flag" ||
16050 test ! -s conftest.err
16051 } && test -s conftest.$ac_objext; then
16052 ac_cv_prog_cc_c89=$ac_arg
16053 else
16054 echo "$as_me: failed program was:" >&5
16055 sed 's/^/| /' conftest.$ac_ext >&5
16056
16057
16058 fi
16059
16060 rm -f core conftest.err conftest.$ac_objext
16061 test "x$ac_cv_prog_cc_c89" != "xno" && break
16062 done
16063 rm -f conftest.$ac_ext
16064 CC=$ac_save_CC
16065
16066 fi
16067 # AC_CACHE_VAL
16068 case "x$ac_cv_prog_cc_c89" in
16069 x)
16070 { echo "$as_me:$LINENO: result: none needed" >&5
16071 echo "${ECHO_T}none needed" >&6; } ;;
16072 xno)
16073 { echo "$as_me:$LINENO: result: unsupported" >&5
16074 echo "${ECHO_T}unsupported" >&6; } ;;
16075 *)
16076 CC="$CC $ac_cv_prog_cc_c89"
16077 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
16078 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
16079 esac
16080
16081
16082 ac_ext=c
16083 ac_cpp='$CPP $CPPFLAGS'
16084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16087
16088
16089
16090
16091
16092
16093
16094
16095 ac_ext=c
16096 ac_cpp='$CPP $CPPFLAGS'
16097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16100
16101 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
16102 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6; }
16103 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
16104 echo $ECHO_N "(cached) $ECHO_C" >&6
16105 else
16106 cat >conftest.$ac_ext <<_ACEOF
16107 /* confdefs.h. */
16108 _ACEOF
16109 cat confdefs.h >>conftest.$ac_ext
16110 cat >>conftest.$ac_ext <<_ACEOF
16111 /* end confdefs.h. */
16112
16113 int
16114 main ()
16115 {
16116
16117 #ifndef __INTEL_COMPILER
16118 choke me
16119 #endif
16120
16121 ;
16122 return 0;
16123 }
16124 _ACEOF
16125 rm -f conftest.$ac_objext
16126 if { (ac_try="$ac_compile"
16127 case "(($ac_try" in
16128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16129 *) ac_try_echo=$ac_try;;
16130 esac
16131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16132 (eval "$ac_compile") 2>conftest.er1
16133 ac_status=$?
16134 grep -v '^ *+' conftest.er1 >conftest.err
16135 rm -f conftest.er1
16136 cat conftest.err >&5
16137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16138 (exit $ac_status); } && {
16139 test -z "$ac_c_werror_flag" ||
16140 test ! -s conftest.err
16141 } && test -s conftest.$ac_objext; then
16142 bakefile_cv_c_compiler___INTEL_COMPILER=yes
16143 else
16144 echo "$as_me: failed program was:" >&5
16145 sed 's/^/| /' conftest.$ac_ext >&5
16146
16147 bakefile_cv_c_compiler___INTEL_COMPILER=no
16148
16149 fi
16150
16151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16152
16153
16154 fi
16155 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
16156 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
16157 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
16158 :; INTELCC=yes
16159 else
16160 :;
16161 fi
16162 ac_ext=c
16163 ac_cpp='$CPP $CPPFLAGS'
16164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16167
16168
16169
16170
16171 if test "$INTELCC" = "yes"; then
16172
16173
16174 ac_ext=c
16175 ac_cpp='$CPP $CPPFLAGS'
16176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16179
16180 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v8 or later" >&5
16181 echo $ECHO_N "checking whether we are using Intel C compiler v8 or later... $ECHO_C" >&6; }
16182 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_800+set}" = set; then
16183 echo $ECHO_N "(cached) $ECHO_C" >&6
16184 else
16185 cat >conftest.$ac_ext <<_ACEOF
16186 /* confdefs.h. */
16187 _ACEOF
16188 cat confdefs.h >>conftest.$ac_ext
16189 cat >>conftest.$ac_ext <<_ACEOF
16190 /* end confdefs.h. */
16191
16192 int
16193 main ()
16194 {
16195
16196 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
16197 choke me
16198 #endif
16199
16200 ;
16201 return 0;
16202 }
16203 _ACEOF
16204 rm -f conftest.$ac_objext
16205 if { (ac_try="$ac_compile"
16206 case "(($ac_try" in
16207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16208 *) ac_try_echo=$ac_try;;
16209 esac
16210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16211 (eval "$ac_compile") 2>conftest.er1
16212 ac_status=$?
16213 grep -v '^ *+' conftest.er1 >conftest.err
16214 rm -f conftest.er1
16215 cat conftest.err >&5
16216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16217 (exit $ac_status); } && {
16218 test -z "$ac_c_werror_flag" ||
16219 test ! -s conftest.err
16220 } && test -s conftest.$ac_objext; then
16221 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=yes
16222 else
16223 echo "$as_me: failed program was:" >&5
16224 sed 's/^/| /' conftest.$ac_ext >&5
16225
16226 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=no
16227
16228 fi
16229
16230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16231
16232
16233 fi
16234 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&5
16235 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&6; }
16236 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
16237 :; INTELCC8=yes
16238 else
16239 :;
16240 fi
16241 ac_ext=c
16242 ac_cpp='$CPP $CPPFLAGS'
16243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16246
16247
16248
16249
16250
16251 ac_ext=c
16252 ac_cpp='$CPP $CPPFLAGS'
16253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16256
16257 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v10 or later" >&5
16258 echo $ECHO_N "checking whether we are using Intel C compiler v10 or later... $ECHO_C" >&6; }
16259 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
16260 echo $ECHO_N "(cached) $ECHO_C" >&6
16261 else
16262 cat >conftest.$ac_ext <<_ACEOF
16263 /* confdefs.h. */
16264 _ACEOF
16265 cat confdefs.h >>conftest.$ac_ext
16266 cat >>conftest.$ac_ext <<_ACEOF
16267 /* end confdefs.h. */
16268
16269 int
16270 main ()
16271 {
16272
16273 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
16274 choke me
16275 #endif
16276
16277 ;
16278 return 0;
16279 }
16280 _ACEOF
16281 rm -f conftest.$ac_objext
16282 if { (ac_try="$ac_compile"
16283 case "(($ac_try" in
16284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16285 *) ac_try_echo=$ac_try;;
16286 esac
16287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16288 (eval "$ac_compile") 2>conftest.er1
16289 ac_status=$?
16290 grep -v '^ *+' conftest.er1 >conftest.err
16291 rm -f conftest.er1
16292 cat conftest.err >&5
16293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16294 (exit $ac_status); } && {
16295 test -z "$ac_c_werror_flag" ||
16296 test ! -s conftest.err
16297 } && test -s conftest.$ac_objext; then
16298 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=yes
16299 else
16300 echo "$as_me: failed program was:" >&5
16301 sed 's/^/| /' conftest.$ac_ext >&5
16302
16303 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=no
16304
16305 fi
16306
16307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16308
16309
16310 fi
16311 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&5
16312 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&6; }
16313 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
16314 :; INTELCC10=yes
16315 else
16316 :;
16317 fi
16318 ac_ext=c
16319 ac_cpp='$CPP $CPPFLAGS'
16320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16323
16324
16325
16326 fi
16327
16328 if test "x$GCC" != "xyes"; then
16329 if test "xCC" = "xC"; then
16330 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
16331 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
16332 if test "${bakefile_cv_c_exto+set}" = set; then
16333 echo $ECHO_N "(cached) $ECHO_C" >&6
16334 else
16335 cat >conftest.$ac_ext <<_ACEOF
16336 /* confdefs.h. */
16337 _ACEOF
16338 cat confdefs.h >>conftest.$ac_ext
16339 cat >>conftest.$ac_ext <<_ACEOF
16340 /* end confdefs.h. */
16341
16342 int
16343 main ()
16344 {
16345
16346 ;
16347 return 0;
16348 }
16349 _ACEOF
16350 rm -f conftest.$ac_objext conftest.$ac_ext.o
16351 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16352 (eval $ac_compile) 2>&5
16353 ac_status=$?
16354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16355 (exit $ac_status); }; then
16356 for ac_file in `(ls conftest.* 2>/dev/null)`; do
16357 case $ac_file in
16358 conftest.$ac_ext.o)
16359 bakefile_cv_c_exto="-ext o"
16360 ;;
16361 *)
16362 ;;
16363 esac
16364 done
16365 else
16366 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
16367 See \`config.log' for more details." >&5
16368 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
16369 See \`config.log' for more details." >&2;}
16370 { (exit 1); exit 1; }; }
16371
16372 fi
16373
16374 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
16375
16376 fi
16377 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
16378 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
16379 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16380 if test "c" = "c"; then
16381 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
16382 fi
16383 if test "c" = "cxx"; then
16384 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
16385 fi
16386 fi
16387
16388 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16389 unset ac_cv_prog_cc_g
16390 ac_test_CFLAGS=${CFLAGS+set}
16391 ac_save_CFLAGS=$CFLAGS
16392 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
16393 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
16394 if test "${ac_cv_prog_cc_g+set}" = set; then
16395 echo $ECHO_N "(cached) $ECHO_C" >&6
16396 else
16397 ac_save_c_werror_flag=$ac_c_werror_flag
16398 ac_c_werror_flag=yes
16399 ac_cv_prog_cc_g=no
16400 CFLAGS="-g"
16401 cat >conftest.$ac_ext <<_ACEOF
16402 /* confdefs.h. */
16403 _ACEOF
16404 cat confdefs.h >>conftest.$ac_ext
16405 cat >>conftest.$ac_ext <<_ACEOF
16406 /* end confdefs.h. */
16407
16408 int
16409 main ()
16410 {
16411
16412 ;
16413 return 0;
16414 }
16415 _ACEOF
16416 rm -f conftest.$ac_objext
16417 if { (ac_try="$ac_compile"
16418 case "(($ac_try" in
16419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16420 *) ac_try_echo=$ac_try;;
16421 esac
16422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16423 (eval "$ac_compile") 2>conftest.er1
16424 ac_status=$?
16425 grep -v '^ *+' conftest.er1 >conftest.err
16426 rm -f conftest.er1
16427 cat conftest.err >&5
16428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16429 (exit $ac_status); } && {
16430 test -z "$ac_c_werror_flag" ||
16431 test ! -s conftest.err
16432 } && test -s conftest.$ac_objext; then
16433 ac_cv_prog_cc_g=yes
16434 else
16435 echo "$as_me: failed program was:" >&5
16436 sed 's/^/| /' conftest.$ac_ext >&5
16437
16438 CFLAGS=""
16439 cat >conftest.$ac_ext <<_ACEOF
16440 /* confdefs.h. */
16441 _ACEOF
16442 cat confdefs.h >>conftest.$ac_ext
16443 cat >>conftest.$ac_ext <<_ACEOF
16444 /* end confdefs.h. */
16445
16446 int
16447 main ()
16448 {
16449
16450 ;
16451 return 0;
16452 }
16453 _ACEOF
16454 rm -f conftest.$ac_objext
16455 if { (ac_try="$ac_compile"
16456 case "(($ac_try" in
16457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16458 *) ac_try_echo=$ac_try;;
16459 esac
16460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16461 (eval "$ac_compile") 2>conftest.er1
16462 ac_status=$?
16463 grep -v '^ *+' conftest.er1 >conftest.err
16464 rm -f conftest.er1
16465 cat conftest.err >&5
16466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16467 (exit $ac_status); } && {
16468 test -z "$ac_c_werror_flag" ||
16469 test ! -s conftest.err
16470 } && test -s conftest.$ac_objext; then
16471 :
16472 else
16473 echo "$as_me: failed program was:" >&5
16474 sed 's/^/| /' conftest.$ac_ext >&5
16475
16476 ac_c_werror_flag=$ac_save_c_werror_flag
16477 CFLAGS="-g"
16478 cat >conftest.$ac_ext <<_ACEOF
16479 /* confdefs.h. */
16480 _ACEOF
16481 cat confdefs.h >>conftest.$ac_ext
16482 cat >>conftest.$ac_ext <<_ACEOF
16483 /* end confdefs.h. */
16484
16485 int
16486 main ()
16487 {
16488
16489 ;
16490 return 0;
16491 }
16492 _ACEOF
16493 rm -f conftest.$ac_objext
16494 if { (ac_try="$ac_compile"
16495 case "(($ac_try" in
16496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16497 *) ac_try_echo=$ac_try;;
16498 esac
16499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16500 (eval "$ac_compile") 2>conftest.er1
16501 ac_status=$?
16502 grep -v '^ *+' conftest.er1 >conftest.err
16503 rm -f conftest.er1
16504 cat conftest.err >&5
16505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16506 (exit $ac_status); } && {
16507 test -z "$ac_c_werror_flag" ||
16508 test ! -s conftest.err
16509 } && test -s conftest.$ac_objext; then
16510 ac_cv_prog_cc_g=yes
16511 else
16512 echo "$as_me: failed program was:" >&5
16513 sed 's/^/| /' conftest.$ac_ext >&5
16514
16515
16516 fi
16517
16518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16519 fi
16520
16521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16522 fi
16523
16524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16525 ac_c_werror_flag=$ac_save_c_werror_flag
16526 fi
16527 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
16528 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
16529 if test "$ac_test_CFLAGS" = set; then
16530 CFLAGS=$ac_save_CFLAGS
16531 elif test $ac_cv_prog_cc_g = yes; then
16532 if test "$GCC" = yes; then
16533 CFLAGS="-g -O2"
16534 else
16535 CFLAGS="-g"
16536 fi
16537 else
16538 if test "$GCC" = yes; then
16539 CFLAGS="-O2"
16540 else
16541 CFLAGS=
16542 fi
16543 fi
16544 fi
16545 fi
16546
16547 case `uname -s` in
16548 AIX*)
16549
16550
16551 ac_ext=c
16552 ac_cpp='$CPP $CPPFLAGS'
16553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16556
16557 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
16558 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
16559 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
16560 echo $ECHO_N "(cached) $ECHO_C" >&6
16561 else
16562 cat >conftest.$ac_ext <<_ACEOF
16563 /* confdefs.h. */
16564 _ACEOF
16565 cat confdefs.h >>conftest.$ac_ext
16566 cat >>conftest.$ac_ext <<_ACEOF
16567 /* end confdefs.h. */
16568
16569 int
16570 main ()
16571 {
16572
16573 #ifndef __xlC__
16574 choke me
16575 #endif
16576
16577 ;
16578 return 0;
16579 }
16580 _ACEOF
16581 rm -f conftest.$ac_objext
16582 if { (ac_try="$ac_compile"
16583 case "(($ac_try" in
16584 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16585 *) ac_try_echo=$ac_try;;
16586 esac
16587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16588 (eval "$ac_compile") 2>conftest.er1
16589 ac_status=$?
16590 grep -v '^ *+' conftest.er1 >conftest.err
16591 rm -f conftest.er1
16592 cat conftest.err >&5
16593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16594 (exit $ac_status); } && {
16595 test -z "$ac_c_werror_flag" ||
16596 test ! -s conftest.err
16597 } && test -s conftest.$ac_objext; then
16598 bakefile_cv_c_compiler___xlC__=yes
16599 else
16600 echo "$as_me: failed program was:" >&5
16601 sed 's/^/| /' conftest.$ac_ext >&5
16602
16603 bakefile_cv_c_compiler___xlC__=no
16604
16605 fi
16606
16607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16608
16609
16610 fi
16611 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
16612 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
16613 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
16614 :; XLCC=yes
16615 else
16616 :;
16617 fi
16618 ac_ext=c
16619 ac_cpp='$CPP $CPPFLAGS'
16620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16623
16624
16625
16626 ;;
16627
16628 Darwin)
16629
16630
16631 ac_ext=c
16632 ac_cpp='$CPP $CPPFLAGS'
16633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16636
16637 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
16638 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
16639 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
16640 echo $ECHO_N "(cached) $ECHO_C" >&6
16641 else
16642 cat >conftest.$ac_ext <<_ACEOF
16643 /* confdefs.h. */
16644 _ACEOF
16645 cat confdefs.h >>conftest.$ac_ext
16646 cat >>conftest.$ac_ext <<_ACEOF
16647 /* end confdefs.h. */
16648
16649 int
16650 main ()
16651 {
16652
16653 #ifndef __MWERKS__
16654 choke me
16655 #endif
16656
16657 ;
16658 return 0;
16659 }
16660 _ACEOF
16661 rm -f conftest.$ac_objext
16662 if { (ac_try="$ac_compile"
16663 case "(($ac_try" in
16664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16665 *) ac_try_echo=$ac_try;;
16666 esac
16667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16668 (eval "$ac_compile") 2>conftest.er1
16669 ac_status=$?
16670 grep -v '^ *+' conftest.er1 >conftest.err
16671 rm -f conftest.er1
16672 cat conftest.err >&5
16673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16674 (exit $ac_status); } && {
16675 test -z "$ac_c_werror_flag" ||
16676 test ! -s conftest.err
16677 } && test -s conftest.$ac_objext; then
16678 bakefile_cv_c_compiler___MWERKS__=yes
16679 else
16680 echo "$as_me: failed program was:" >&5
16681 sed 's/^/| /' conftest.$ac_ext >&5
16682
16683 bakefile_cv_c_compiler___MWERKS__=no
16684
16685 fi
16686
16687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16688
16689
16690 fi
16691 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
16692 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
16693 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
16694 :; MWCC=yes
16695 else
16696 :;
16697 fi
16698 ac_ext=c
16699 ac_cpp='$CPP $CPPFLAGS'
16700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16703
16704
16705
16706 if test "$MWCC" != "yes"; then
16707
16708
16709 ac_ext=c
16710 ac_cpp='$CPP $CPPFLAGS'
16711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16714
16715 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
16716 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
16717 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
16718 echo $ECHO_N "(cached) $ECHO_C" >&6
16719 else
16720 cat >conftest.$ac_ext <<_ACEOF
16721 /* confdefs.h. */
16722 _ACEOF
16723 cat confdefs.h >>conftest.$ac_ext
16724 cat >>conftest.$ac_ext <<_ACEOF
16725 /* end confdefs.h. */
16726
16727 int
16728 main ()
16729 {
16730
16731 #ifndef __xlC__
16732 choke me
16733 #endif
16734
16735 ;
16736 return 0;
16737 }
16738 _ACEOF
16739 rm -f conftest.$ac_objext
16740 if { (ac_try="$ac_compile"
16741 case "(($ac_try" in
16742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16743 *) ac_try_echo=$ac_try;;
16744 esac
16745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16746 (eval "$ac_compile") 2>conftest.er1
16747 ac_status=$?
16748 grep -v '^ *+' conftest.er1 >conftest.err
16749 rm -f conftest.er1
16750 cat conftest.err >&5
16751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16752 (exit $ac_status); } && {
16753 test -z "$ac_c_werror_flag" ||
16754 test ! -s conftest.err
16755 } && test -s conftest.$ac_objext; then
16756 bakefile_cv_c_compiler___xlC__=yes
16757 else
16758 echo "$as_me: failed program was:" >&5
16759 sed 's/^/| /' conftest.$ac_ext >&5
16760
16761 bakefile_cv_c_compiler___xlC__=no
16762
16763 fi
16764
16765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16766
16767
16768 fi
16769 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
16770 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
16771 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
16772 :; XLCC=yes
16773 else
16774 :;
16775 fi
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
16783
16784 fi
16785 ;;
16786
16787 IRIX*)
16788
16789
16790 ac_ext=c
16791 ac_cpp='$CPP $CPPFLAGS'
16792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16795
16796 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
16797 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
16798 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
16799 echo $ECHO_N "(cached) $ECHO_C" >&6
16800 else
16801 cat >conftest.$ac_ext <<_ACEOF
16802 /* confdefs.h. */
16803 _ACEOF
16804 cat confdefs.h >>conftest.$ac_ext
16805 cat >>conftest.$ac_ext <<_ACEOF
16806 /* end confdefs.h. */
16807
16808 int
16809 main ()
16810 {
16811
16812 #ifndef _SGI_COMPILER_VERSION
16813 choke me
16814 #endif
16815
16816 ;
16817 return 0;
16818 }
16819 _ACEOF
16820 rm -f conftest.$ac_objext
16821 if { (ac_try="$ac_compile"
16822 case "(($ac_try" in
16823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16824 *) ac_try_echo=$ac_try;;
16825 esac
16826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16827 (eval "$ac_compile") 2>conftest.er1
16828 ac_status=$?
16829 grep -v '^ *+' conftest.er1 >conftest.err
16830 rm -f conftest.er1
16831 cat conftest.err >&5
16832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16833 (exit $ac_status); } && {
16834 test -z "$ac_c_werror_flag" ||
16835 test ! -s conftest.err
16836 } && test -s conftest.$ac_objext; then
16837 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
16838 else
16839 echo "$as_me: failed program was:" >&5
16840 sed 's/^/| /' conftest.$ac_ext >&5
16841
16842 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
16843
16844 fi
16845
16846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16847
16848
16849 fi
16850 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
16851 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
16852 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
16853 :; SGICC=yes
16854 else
16855 :;
16856 fi
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
16864
16865 ;;
16866
16867 Linux*)
16868 if test "$INTELCC" != "yes"; then
16869
16870
16871 ac_ext=c
16872 ac_cpp='$CPP $CPPFLAGS'
16873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16876
16877 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
16878 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
16879 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
16880 echo $ECHO_N "(cached) $ECHO_C" >&6
16881 else
16882 cat >conftest.$ac_ext <<_ACEOF
16883 /* confdefs.h. */
16884 _ACEOF
16885 cat confdefs.h >>conftest.$ac_ext
16886 cat >>conftest.$ac_ext <<_ACEOF
16887 /* end confdefs.h. */
16888
16889 int
16890 main ()
16891 {
16892
16893 #ifndef __SUNPRO_C
16894 choke me
16895 #endif
16896
16897 ;
16898 return 0;
16899 }
16900 _ACEOF
16901 rm -f conftest.$ac_objext
16902 if { (ac_try="$ac_compile"
16903 case "(($ac_try" in
16904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16905 *) ac_try_echo=$ac_try;;
16906 esac
16907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16908 (eval "$ac_compile") 2>conftest.er1
16909 ac_status=$?
16910 grep -v '^ *+' conftest.er1 >conftest.err
16911 rm -f conftest.er1
16912 cat conftest.err >&5
16913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16914 (exit $ac_status); } && {
16915 test -z "$ac_c_werror_flag" ||
16916 test ! -s conftest.err
16917 } && test -s conftest.$ac_objext; then
16918 bakefile_cv_c_compiler___SUNPRO_C=yes
16919 else
16920 echo "$as_me: failed program was:" >&5
16921 sed 's/^/| /' conftest.$ac_ext >&5
16922
16923 bakefile_cv_c_compiler___SUNPRO_C=no
16924
16925 fi
16926
16927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16928
16929
16930 fi
16931 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16932 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16933 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16934 :; SUNCC=yes
16935 else
16936 :;
16937 fi
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
16945
16946 fi
16947 ;;
16948
16949 HP-UX*)
16950
16951
16952 ac_ext=c
16953 ac_cpp='$CPP $CPPFLAGS'
16954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16957
16958 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
16959 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
16960 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
16961 echo $ECHO_N "(cached) $ECHO_C" >&6
16962 else
16963 cat >conftest.$ac_ext <<_ACEOF
16964 /* confdefs.h. */
16965 _ACEOF
16966 cat confdefs.h >>conftest.$ac_ext
16967 cat >>conftest.$ac_ext <<_ACEOF
16968 /* end confdefs.h. */
16969
16970 int
16971 main ()
16972 {
16973
16974 #ifndef __HP_cc
16975 choke me
16976 #endif
16977
16978 ;
16979 return 0;
16980 }
16981 _ACEOF
16982 rm -f conftest.$ac_objext
16983 if { (ac_try="$ac_compile"
16984 case "(($ac_try" in
16985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16986 *) ac_try_echo=$ac_try;;
16987 esac
16988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16989 (eval "$ac_compile") 2>conftest.er1
16990 ac_status=$?
16991 grep -v '^ *+' conftest.er1 >conftest.err
16992 rm -f conftest.er1
16993 cat conftest.err >&5
16994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16995 (exit $ac_status); } && {
16996 test -z "$ac_c_werror_flag" ||
16997 test ! -s conftest.err
16998 } && test -s conftest.$ac_objext; then
16999 bakefile_cv_c_compiler___HP_cc=yes
17000 else
17001 echo "$as_me: failed program was:" >&5
17002 sed 's/^/| /' conftest.$ac_ext >&5
17003
17004 bakefile_cv_c_compiler___HP_cc=no
17005
17006 fi
17007
17008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17009
17010
17011 fi
17012 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
17013 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
17014 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
17015 :; HPCC=yes
17016 else
17017 :;
17018 fi
17019 ac_ext=c
17020 ac_cpp='$CPP $CPPFLAGS'
17021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17024
17025
17026
17027 ;;
17028
17029 OSF1)
17030
17031
17032 ac_ext=c
17033 ac_cpp='$CPP $CPPFLAGS'
17034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17037
17038 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
17039 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
17040 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
17041 echo $ECHO_N "(cached) $ECHO_C" >&6
17042 else
17043 cat >conftest.$ac_ext <<_ACEOF
17044 /* confdefs.h. */
17045 _ACEOF
17046 cat confdefs.h >>conftest.$ac_ext
17047 cat >>conftest.$ac_ext <<_ACEOF
17048 /* end confdefs.h. */
17049
17050 int
17051 main ()
17052 {
17053
17054 #ifndef __DECC
17055 choke me
17056 #endif
17057
17058 ;
17059 return 0;
17060 }
17061 _ACEOF
17062 rm -f conftest.$ac_objext
17063 if { (ac_try="$ac_compile"
17064 case "(($ac_try" in
17065 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17066 *) ac_try_echo=$ac_try;;
17067 esac
17068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17069 (eval "$ac_compile") 2>conftest.er1
17070 ac_status=$?
17071 grep -v '^ *+' conftest.er1 >conftest.err
17072 rm -f conftest.er1
17073 cat conftest.err >&5
17074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17075 (exit $ac_status); } && {
17076 test -z "$ac_c_werror_flag" ||
17077 test ! -s conftest.err
17078 } && test -s conftest.$ac_objext; then
17079 bakefile_cv_c_compiler___DECC=yes
17080 else
17081 echo "$as_me: failed program was:" >&5
17082 sed 's/^/| /' conftest.$ac_ext >&5
17083
17084 bakefile_cv_c_compiler___DECC=no
17085
17086 fi
17087
17088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17089
17090
17091 fi
17092 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
17093 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
17094 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
17095 :; COMPAQCC=yes
17096 else
17097 :;
17098 fi
17099 ac_ext=c
17100 ac_cpp='$CPP $CPPFLAGS'
17101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17104
17105
17106
17107 ;;
17108
17109 SunOS)
17110
17111
17112 ac_ext=c
17113 ac_cpp='$CPP $CPPFLAGS'
17114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17117
17118 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
17119 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
17120 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
17121 echo $ECHO_N "(cached) $ECHO_C" >&6
17122 else
17123 cat >conftest.$ac_ext <<_ACEOF
17124 /* confdefs.h. */
17125 _ACEOF
17126 cat confdefs.h >>conftest.$ac_ext
17127 cat >>conftest.$ac_ext <<_ACEOF
17128 /* end confdefs.h. */
17129
17130 int
17131 main ()
17132 {
17133
17134 #ifndef __SUNPRO_C
17135 choke me
17136 #endif
17137
17138 ;
17139 return 0;
17140 }
17141 _ACEOF
17142 rm -f conftest.$ac_objext
17143 if { (ac_try="$ac_compile"
17144 case "(($ac_try" in
17145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17146 *) ac_try_echo=$ac_try;;
17147 esac
17148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17149 (eval "$ac_compile") 2>conftest.er1
17150 ac_status=$?
17151 grep -v '^ *+' conftest.er1 >conftest.err
17152 rm -f conftest.er1
17153 cat conftest.err >&5
17154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17155 (exit $ac_status); } && {
17156 test -z "$ac_c_werror_flag" ||
17157 test ! -s conftest.err
17158 } && test -s conftest.$ac_objext; then
17159 bakefile_cv_c_compiler___SUNPRO_C=yes
17160 else
17161 echo "$as_me: failed program was:" >&5
17162 sed 's/^/| /' conftest.$ac_ext >&5
17163
17164 bakefile_cv_c_compiler___SUNPRO_C=no
17165
17166 fi
17167
17168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17169
17170
17171 fi
17172 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
17173 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
17174 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
17175 :; SUNCC=yes
17176 else
17177 :;
17178 fi
17179 ac_ext=c
17180 ac_cpp='$CPP $CPPFLAGS'
17181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17184
17185
17186
17187 ;;
17188 esac
17189 fi
17190
17191
17192
17193 ac_ext=c
17194 ac_cpp='$CPP $CPPFLAGS'
17195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17198 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
17199 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
17200 # On Suns, sometimes $CPP names a directory.
17201 if test -n "$CPP" && test -d "$CPP"; then
17202 CPP=
17203 fi
17204 if test -z "$CPP"; then
17205 if test "${ac_cv_prog_CPP+set}" = set; then
17206 echo $ECHO_N "(cached) $ECHO_C" >&6
17207 else
17208 # Double quotes because CPP needs to be expanded
17209 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
17210 do
17211 ac_preproc_ok=false
17212 for ac_c_preproc_warn_flag in '' yes
17213 do
17214 # Use a header file that comes with gcc, so configuring glibc
17215 # with a fresh cross-compiler works.
17216 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17217 # <limits.h> exists even on freestanding compilers.
17218 # On the NeXT, cc -E runs the code through the compiler's parser,
17219 # not just through cpp. "Syntax error" is here to catch this case.
17220 cat >conftest.$ac_ext <<_ACEOF
17221 /* confdefs.h. */
17222 _ACEOF
17223 cat confdefs.h >>conftest.$ac_ext
17224 cat >>conftest.$ac_ext <<_ACEOF
17225 /* end confdefs.h. */
17226 #ifdef __STDC__
17227 # include <limits.h>
17228 #else
17229 # include <assert.h>
17230 #endif
17231 Syntax error
17232 _ACEOF
17233 if { (ac_try="$ac_cpp conftest.$ac_ext"
17234 case "(($ac_try" in
17235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17236 *) ac_try_echo=$ac_try;;
17237 esac
17238 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17239 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17240 ac_status=$?
17241 grep -v '^ *+' conftest.er1 >conftest.err
17242 rm -f conftest.er1
17243 cat conftest.err >&5
17244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17245 (exit $ac_status); } >/dev/null && {
17246 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17247 test ! -s conftest.err
17248 }; then
17249 :
17250 else
17251 echo "$as_me: failed program was:" >&5
17252 sed 's/^/| /' conftest.$ac_ext >&5
17253
17254 # Broken: fails on valid input.
17255 continue
17256 fi
17257
17258 rm -f conftest.err conftest.$ac_ext
17259
17260 # OK, works on sane cases. Now check whether nonexistent headers
17261 # can be detected and how.
17262 cat >conftest.$ac_ext <<_ACEOF
17263 /* confdefs.h. */
17264 _ACEOF
17265 cat confdefs.h >>conftest.$ac_ext
17266 cat >>conftest.$ac_ext <<_ACEOF
17267 /* end confdefs.h. */
17268 #include <ac_nonexistent.h>
17269 _ACEOF
17270 if { (ac_try="$ac_cpp conftest.$ac_ext"
17271 case "(($ac_try" in
17272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17273 *) ac_try_echo=$ac_try;;
17274 esac
17275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17276 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17277 ac_status=$?
17278 grep -v '^ *+' conftest.er1 >conftest.err
17279 rm -f conftest.er1
17280 cat conftest.err >&5
17281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17282 (exit $ac_status); } >/dev/null && {
17283 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17284 test ! -s conftest.err
17285 }; then
17286 # Broken: success on invalid input.
17287 continue
17288 else
17289 echo "$as_me: failed program was:" >&5
17290 sed 's/^/| /' conftest.$ac_ext >&5
17291
17292 # Passes both tests.
17293 ac_preproc_ok=:
17294 break
17295 fi
17296
17297 rm -f conftest.err conftest.$ac_ext
17298
17299 done
17300 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17301 rm -f conftest.err conftest.$ac_ext
17302 if $ac_preproc_ok; then
17303 break
17304 fi
17305
17306 done
17307 ac_cv_prog_CPP=$CPP
17308
17309 fi
17310 CPP=$ac_cv_prog_CPP
17311 else
17312 ac_cv_prog_CPP=$CPP
17313 fi
17314 { echo "$as_me:$LINENO: result: $CPP" >&5
17315 echo "${ECHO_T}$CPP" >&6; }
17316 ac_preproc_ok=false
17317 for ac_c_preproc_warn_flag in '' yes
17318 do
17319 # Use a header file that comes with gcc, so configuring glibc
17320 # with a fresh cross-compiler works.
17321 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17322 # <limits.h> exists even on freestanding compilers.
17323 # On the NeXT, cc -E runs the code through the compiler's parser,
17324 # not just through cpp. "Syntax error" is here to catch this case.
17325 cat >conftest.$ac_ext <<_ACEOF
17326 /* confdefs.h. */
17327 _ACEOF
17328 cat confdefs.h >>conftest.$ac_ext
17329 cat >>conftest.$ac_ext <<_ACEOF
17330 /* end confdefs.h. */
17331 #ifdef __STDC__
17332 # include <limits.h>
17333 #else
17334 # include <assert.h>
17335 #endif
17336 Syntax error
17337 _ACEOF
17338 if { (ac_try="$ac_cpp conftest.$ac_ext"
17339 case "(($ac_try" in
17340 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17341 *) ac_try_echo=$ac_try;;
17342 esac
17343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17344 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17345 ac_status=$?
17346 grep -v '^ *+' conftest.er1 >conftest.err
17347 rm -f conftest.er1
17348 cat conftest.err >&5
17349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17350 (exit $ac_status); } >/dev/null && {
17351 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17352 test ! -s conftest.err
17353 }; then
17354 :
17355 else
17356 echo "$as_me: failed program was:" >&5
17357 sed 's/^/| /' conftest.$ac_ext >&5
17358
17359 # Broken: fails on valid input.
17360 continue
17361 fi
17362
17363 rm -f conftest.err conftest.$ac_ext
17364
17365 # OK, works on sane cases. Now check whether nonexistent headers
17366 # can be detected and how.
17367 cat >conftest.$ac_ext <<_ACEOF
17368 /* confdefs.h. */
17369 _ACEOF
17370 cat confdefs.h >>conftest.$ac_ext
17371 cat >>conftest.$ac_ext <<_ACEOF
17372 /* end confdefs.h. */
17373 #include <ac_nonexistent.h>
17374 _ACEOF
17375 if { (ac_try="$ac_cpp conftest.$ac_ext"
17376 case "(($ac_try" in
17377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17378 *) ac_try_echo=$ac_try;;
17379 esac
17380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17381 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17382 ac_status=$?
17383 grep -v '^ *+' conftest.er1 >conftest.err
17384 rm -f conftest.er1
17385 cat conftest.err >&5
17386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17387 (exit $ac_status); } >/dev/null && {
17388 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17389 test ! -s conftest.err
17390 }; then
17391 # Broken: success on invalid input.
17392 continue
17393 else
17394 echo "$as_me: failed program was:" >&5
17395 sed 's/^/| /' conftest.$ac_ext >&5
17396
17397 # Passes both tests.
17398 ac_preproc_ok=:
17399 break
17400 fi
17401
17402 rm -f conftest.err conftest.$ac_ext
17403
17404 done
17405 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17406 rm -f conftest.err conftest.$ac_ext
17407 if $ac_preproc_ok; then
17408 :
17409 else
17410 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
17411 See \`config.log' for more details." >&5
17412 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
17413 See \`config.log' for more details." >&2;}
17414 { (exit 1); exit 1; }; }
17415 fi
17416
17417 ac_ext=c
17418 ac_cpp='$CPP $CPPFLAGS'
17419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17422
17423
17424 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
17425 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
17426 if test "${ac_cv_path_GREP+set}" = set; then
17427 echo $ECHO_N "(cached) $ECHO_C" >&6
17428 else
17429 # Extract the first word of "grep ggrep" to use in msg output
17430 if test -z "$GREP"; then
17431 set dummy grep ggrep; ac_prog_name=$2
17432 if test "${ac_cv_path_GREP+set}" = set; then
17433 echo $ECHO_N "(cached) $ECHO_C" >&6
17434 else
17435 ac_path_GREP_found=false
17436 # Loop through the user's path and test for each of PROGNAME-LIST
17437 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17438 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
17439 do
17440 IFS=$as_save_IFS
17441 test -z "$as_dir" && as_dir=.
17442 for ac_prog in grep ggrep; do
17443 for ac_exec_ext in '' $ac_executable_extensions; do
17444 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
17445 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
17446 # Check for GNU ac_path_GREP and select it if it is found.
17447 # Check for GNU $ac_path_GREP
17448 case `"$ac_path_GREP" --version 2>&1` in
17449 *GNU*)
17450 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
17451 *)
17452 ac_count=0
17453 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
17454 while :
17455 do
17456 cat "conftest.in" "conftest.in" >"conftest.tmp"
17457 mv "conftest.tmp" "conftest.in"
17458 cp "conftest.in" "conftest.nl"
17459 echo 'GREP' >> "conftest.nl"
17460 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
17461 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
17462 ac_count=`expr $ac_count + 1`
17463 if test $ac_count -gt ${ac_path_GREP_max-0}; then
17464 # Best one so far, save it but keep looking for a better one
17465 ac_cv_path_GREP="$ac_path_GREP"
17466 ac_path_GREP_max=$ac_count
17467 fi
17468 # 10*(2^10) chars as input seems more than enough
17469 test $ac_count -gt 10 && break
17470 done
17471 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
17472 esac
17473
17474
17475 $ac_path_GREP_found && break 3
17476 done
17477 done
17478
17479 done
17480 IFS=$as_save_IFS
17481
17482
17483 fi
17484
17485 GREP="$ac_cv_path_GREP"
17486 if test -z "$GREP"; then
17487 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
17488 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
17489 { (exit 1); exit 1; }; }
17490 fi
17491
17492 else
17493 ac_cv_path_GREP=$GREP
17494 fi
17495
17496
17497 fi
17498 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
17499 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
17500 GREP="$ac_cv_path_GREP"
17501
17502
17503 { echo "$as_me:$LINENO: checking for egrep" >&5
17504 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
17505 if test "${ac_cv_path_EGREP+set}" = set; then
17506 echo $ECHO_N "(cached) $ECHO_C" >&6
17507 else
17508 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
17509 then ac_cv_path_EGREP="$GREP -E"
17510 else
17511 # Extract the first word of "egrep" to use in msg output
17512 if test -z "$EGREP"; then
17513 set dummy egrep; ac_prog_name=$2
17514 if test "${ac_cv_path_EGREP+set}" = set; then
17515 echo $ECHO_N "(cached) $ECHO_C" >&6
17516 else
17517 ac_path_EGREP_found=false
17518 # Loop through the user's path and test for each of PROGNAME-LIST
17519 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17520 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
17521 do
17522 IFS=$as_save_IFS
17523 test -z "$as_dir" && as_dir=.
17524 for ac_prog in egrep; do
17525 for ac_exec_ext in '' $ac_executable_extensions; do
17526 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
17527 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
17528 # Check for GNU ac_path_EGREP and select it if it is found.
17529 # Check for GNU $ac_path_EGREP
17530 case `"$ac_path_EGREP" --version 2>&1` in
17531 *GNU*)
17532 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
17533 *)
17534 ac_count=0
17535 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
17536 while :
17537 do
17538 cat "conftest.in" "conftest.in" >"conftest.tmp"
17539 mv "conftest.tmp" "conftest.in"
17540 cp "conftest.in" "conftest.nl"
17541 echo 'EGREP' >> "conftest.nl"
17542 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
17543 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
17544 ac_count=`expr $ac_count + 1`
17545 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
17546 # Best one so far, save it but keep looking for a better one
17547 ac_cv_path_EGREP="$ac_path_EGREP"
17548 ac_path_EGREP_max=$ac_count
17549 fi
17550 # 10*(2^10) chars as input seems more than enough
17551 test $ac_count -gt 10 && break
17552 done
17553 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
17554 esac
17555
17556
17557 $ac_path_EGREP_found && break 3
17558 done
17559 done
17560
17561 done
17562 IFS=$as_save_IFS
17563
17564
17565 fi
17566
17567 EGREP="$ac_cv_path_EGREP"
17568 if test -z "$EGREP"; then
17569 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
17570 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
17571 { (exit 1); exit 1; }; }
17572 fi
17573
17574 else
17575 ac_cv_path_EGREP=$EGREP
17576 fi
17577
17578
17579 fi
17580 fi
17581 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
17582 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
17583 EGREP="$ac_cv_path_EGREP"
17584
17585
17586 if test $ac_cv_c_compiler_gnu = yes; then
17587 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
17588 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
17589 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
17590 echo $ECHO_N "(cached) $ECHO_C" >&6
17591 else
17592 ac_pattern="Autoconf.*'x'"
17593 cat >conftest.$ac_ext <<_ACEOF
17594 /* confdefs.h. */
17595 _ACEOF
17596 cat confdefs.h >>conftest.$ac_ext
17597 cat >>conftest.$ac_ext <<_ACEOF
17598 /* end confdefs.h. */
17599 #include <sgtty.h>
17600 Autoconf TIOCGETP
17601 _ACEOF
17602 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17603 $EGREP "$ac_pattern" >/dev/null 2>&1; then
17604 ac_cv_prog_gcc_traditional=yes
17605 else
17606 ac_cv_prog_gcc_traditional=no
17607 fi
17608 rm -f conftest*
17609
17610
17611 if test $ac_cv_prog_gcc_traditional = no; then
17612 cat >conftest.$ac_ext <<_ACEOF
17613 /* confdefs.h. */
17614 _ACEOF
17615 cat confdefs.h >>conftest.$ac_ext
17616 cat >>conftest.$ac_ext <<_ACEOF
17617 /* end confdefs.h. */
17618 #include <termio.h>
17619 Autoconf TCGETA
17620 _ACEOF
17621 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17622 $EGREP "$ac_pattern" >/dev/null 2>&1; then
17623 ac_cv_prog_gcc_traditional=yes
17624 fi
17625 rm -f conftest*
17626
17627 fi
17628 fi
17629 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
17630 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
17631 if test $ac_cv_prog_gcc_traditional = yes; then
17632 CC="$CC -traditional"
17633 fi
17634 fi
17635
17636
17637 CXXFLAGS=${CXXFLAGS:=}
17638 ac_ext=cpp
17639 ac_cpp='$CXXCPP $CPPFLAGS'
17640 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17641 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17642 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17643 if test -z "$CXX"; then
17644 if test -n "$CCC"; then
17645 CXX=$CCC
17646 else
17647 if test -n "$ac_tool_prefix"; then
17648 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
17649 do
17650 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
17651 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
17652 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17653 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17654 if test "${ac_cv_prog_CXX+set}" = set; then
17655 echo $ECHO_N "(cached) $ECHO_C" >&6
17656 else
17657 if test -n "$CXX"; then
17658 ac_cv_prog_CXX="$CXX" # Let the user override the test.
17659 else
17660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17661 for as_dir in $PATH
17662 do
17663 IFS=$as_save_IFS
17664 test -z "$as_dir" && as_dir=.
17665 for ac_exec_ext in '' $ac_executable_extensions; do
17666 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17667 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
17668 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17669 break 2
17670 fi
17671 done
17672 done
17673 IFS=$as_save_IFS
17674
17675 fi
17676 fi
17677 CXX=$ac_cv_prog_CXX
17678 if test -n "$CXX"; then
17679 { echo "$as_me:$LINENO: result: $CXX" >&5
17680 echo "${ECHO_T}$CXX" >&6; }
17681 else
17682 { echo "$as_me:$LINENO: result: no" >&5
17683 echo "${ECHO_T}no" >&6; }
17684 fi
17685
17686
17687 test -n "$CXX" && break
17688 done
17689 fi
17690 if test -z "$CXX"; then
17691 ac_ct_CXX=$CXX
17692 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
17693 do
17694 # Extract the first word of "$ac_prog", so it can be a program name with args.
17695 set dummy $ac_prog; ac_word=$2
17696 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17697 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17698 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
17699 echo $ECHO_N "(cached) $ECHO_C" >&6
17700 else
17701 if test -n "$ac_ct_CXX"; then
17702 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
17703 else
17704 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17705 for as_dir in $PATH
17706 do
17707 IFS=$as_save_IFS
17708 test -z "$as_dir" && as_dir=.
17709 for ac_exec_ext in '' $ac_executable_extensions; do
17710 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17711 ac_cv_prog_ac_ct_CXX="$ac_prog"
17712 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17713 break 2
17714 fi
17715 done
17716 done
17717 IFS=$as_save_IFS
17718
17719 fi
17720 fi
17721 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
17722 if test -n "$ac_ct_CXX"; then
17723 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
17724 echo "${ECHO_T}$ac_ct_CXX" >&6; }
17725 else
17726 { echo "$as_me:$LINENO: result: no" >&5
17727 echo "${ECHO_T}no" >&6; }
17728 fi
17729
17730
17731 test -n "$ac_ct_CXX" && break
17732 done
17733
17734 if test "x$ac_ct_CXX" = x; then
17735 CXX="g++"
17736 else
17737 case $cross_compiling:$ac_tool_warned in
17738 yes:)
17739 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
17740 whose name does not start with the host triplet. If you think this
17741 configuration is useful to you, please write to autoconf@gnu.org." >&5
17742 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
17743 whose name does not start with the host triplet. If you think this
17744 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
17745 ac_tool_warned=yes ;;
17746 esac
17747 CXX=$ac_ct_CXX
17748 fi
17749 fi
17750
17751 fi
17752 fi
17753 # Provide some information about the compiler.
17754 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
17755 ac_compiler=`set X $ac_compile; echo $2`
17756 { (ac_try="$ac_compiler --version >&5"
17757 case "(($ac_try" in
17758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17759 *) ac_try_echo=$ac_try;;
17760 esac
17761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17762 (eval "$ac_compiler --version >&5") 2>&5
17763 ac_status=$?
17764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17765 (exit $ac_status); }
17766 { (ac_try="$ac_compiler -v >&5"
17767 case "(($ac_try" in
17768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17769 *) ac_try_echo=$ac_try;;
17770 esac
17771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17772 (eval "$ac_compiler -v >&5") 2>&5
17773 ac_status=$?
17774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17775 (exit $ac_status); }
17776 { (ac_try="$ac_compiler -V >&5"
17777 case "(($ac_try" in
17778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17779 *) ac_try_echo=$ac_try;;
17780 esac
17781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17782 (eval "$ac_compiler -V >&5") 2>&5
17783 ac_status=$?
17784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17785 (exit $ac_status); }
17786
17787 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
17788 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
17789 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
17790 echo $ECHO_N "(cached) $ECHO_C" >&6
17791 else
17792 cat >conftest.$ac_ext <<_ACEOF
17793 /* confdefs.h. */
17794 _ACEOF
17795 cat confdefs.h >>conftest.$ac_ext
17796 cat >>conftest.$ac_ext <<_ACEOF
17797 /* end confdefs.h. */
17798
17799 int
17800 main ()
17801 {
17802 #ifndef __GNUC__
17803 choke me
17804 #endif
17805
17806 ;
17807 return 0;
17808 }
17809 _ACEOF
17810 rm -f conftest.$ac_objext
17811 if { (ac_try="$ac_compile"
17812 case "(($ac_try" in
17813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17814 *) ac_try_echo=$ac_try;;
17815 esac
17816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17817 (eval "$ac_compile") 2>conftest.er1
17818 ac_status=$?
17819 grep -v '^ *+' conftest.er1 >conftest.err
17820 rm -f conftest.er1
17821 cat conftest.err >&5
17822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17823 (exit $ac_status); } && {
17824 test -z "$ac_cxx_werror_flag" ||
17825 test ! -s conftest.err
17826 } && test -s conftest.$ac_objext; then
17827 ac_compiler_gnu=yes
17828 else
17829 echo "$as_me: failed program was:" >&5
17830 sed 's/^/| /' conftest.$ac_ext >&5
17831
17832 ac_compiler_gnu=no
17833 fi
17834
17835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17836 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
17837
17838 fi
17839 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
17840 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
17841 GXX=`test $ac_compiler_gnu = yes && echo yes`
17842 ac_test_CXXFLAGS=${CXXFLAGS+set}
17843 ac_save_CXXFLAGS=$CXXFLAGS
17844 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
17845 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
17846 if test "${ac_cv_prog_cxx_g+set}" = set; then
17847 echo $ECHO_N "(cached) $ECHO_C" >&6
17848 else
17849 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
17850 ac_cxx_werror_flag=yes
17851 ac_cv_prog_cxx_g=no
17852 CXXFLAGS="-g"
17853 cat >conftest.$ac_ext <<_ACEOF
17854 /* confdefs.h. */
17855 _ACEOF
17856 cat confdefs.h >>conftest.$ac_ext
17857 cat >>conftest.$ac_ext <<_ACEOF
17858 /* end confdefs.h. */
17859
17860 int
17861 main ()
17862 {
17863
17864 ;
17865 return 0;
17866 }
17867 _ACEOF
17868 rm -f conftest.$ac_objext
17869 if { (ac_try="$ac_compile"
17870 case "(($ac_try" in
17871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17872 *) ac_try_echo=$ac_try;;
17873 esac
17874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17875 (eval "$ac_compile") 2>conftest.er1
17876 ac_status=$?
17877 grep -v '^ *+' conftest.er1 >conftest.err
17878 rm -f conftest.er1
17879 cat conftest.err >&5
17880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17881 (exit $ac_status); } && {
17882 test -z "$ac_cxx_werror_flag" ||
17883 test ! -s conftest.err
17884 } && test -s conftest.$ac_objext; then
17885 ac_cv_prog_cxx_g=yes
17886 else
17887 echo "$as_me: failed program was:" >&5
17888 sed 's/^/| /' conftest.$ac_ext >&5
17889
17890 CXXFLAGS=""
17891 cat >conftest.$ac_ext <<_ACEOF
17892 /* confdefs.h. */
17893 _ACEOF
17894 cat confdefs.h >>conftest.$ac_ext
17895 cat >>conftest.$ac_ext <<_ACEOF
17896 /* end confdefs.h. */
17897
17898 int
17899 main ()
17900 {
17901
17902 ;
17903 return 0;
17904 }
17905 _ACEOF
17906 rm -f conftest.$ac_objext
17907 if { (ac_try="$ac_compile"
17908 case "(($ac_try" in
17909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17910 *) ac_try_echo=$ac_try;;
17911 esac
17912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17913 (eval "$ac_compile") 2>conftest.er1
17914 ac_status=$?
17915 grep -v '^ *+' conftest.er1 >conftest.err
17916 rm -f conftest.er1
17917 cat conftest.err >&5
17918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17919 (exit $ac_status); } && {
17920 test -z "$ac_cxx_werror_flag" ||
17921 test ! -s conftest.err
17922 } && test -s conftest.$ac_objext; then
17923 :
17924 else
17925 echo "$as_me: failed program was:" >&5
17926 sed 's/^/| /' conftest.$ac_ext >&5
17927
17928 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
17929 CXXFLAGS="-g"
17930 cat >conftest.$ac_ext <<_ACEOF
17931 /* confdefs.h. */
17932 _ACEOF
17933 cat confdefs.h >>conftest.$ac_ext
17934 cat >>conftest.$ac_ext <<_ACEOF
17935 /* end confdefs.h. */
17936
17937 int
17938 main ()
17939 {
17940
17941 ;
17942 return 0;
17943 }
17944 _ACEOF
17945 rm -f conftest.$ac_objext
17946 if { (ac_try="$ac_compile"
17947 case "(($ac_try" in
17948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17949 *) ac_try_echo=$ac_try;;
17950 esac
17951 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17952 (eval "$ac_compile") 2>conftest.er1
17953 ac_status=$?
17954 grep -v '^ *+' conftest.er1 >conftest.err
17955 rm -f conftest.er1
17956 cat conftest.err >&5
17957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17958 (exit $ac_status); } && {
17959 test -z "$ac_cxx_werror_flag" ||
17960 test ! -s conftest.err
17961 } && test -s conftest.$ac_objext; then
17962 ac_cv_prog_cxx_g=yes
17963 else
17964 echo "$as_me: failed program was:" >&5
17965 sed 's/^/| /' conftest.$ac_ext >&5
17966
17967
17968 fi
17969
17970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17971 fi
17972
17973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17974 fi
17975
17976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17977 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
17978 fi
17979 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
17980 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
17981 if test "$ac_test_CXXFLAGS" = set; then
17982 CXXFLAGS=$ac_save_CXXFLAGS
17983 elif test $ac_cv_prog_cxx_g = yes; then
17984 if test "$GXX" = yes; then
17985 CXXFLAGS="-g -O2"
17986 else
17987 CXXFLAGS="-g"
17988 fi
17989 else
17990 if test "$GXX" = yes; then
17991 CXXFLAGS="-O2"
17992 else
17993 CXXFLAGS=
17994 fi
17995 fi
17996 ac_ext=c
17997 ac_cpp='$CPP $CPPFLAGS'
17998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18001
18002
18003
18004
18005
18006
18007
18008
18009 ac_ext=cpp
18010 ac_cpp='$CXXCPP $CPPFLAGS'
18011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18014
18015 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
18016 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
18017 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
18018 echo $ECHO_N "(cached) $ECHO_C" >&6
18019 else
18020 cat >conftest.$ac_ext <<_ACEOF
18021 /* confdefs.h. */
18022 _ACEOF
18023 cat confdefs.h >>conftest.$ac_ext
18024 cat >>conftest.$ac_ext <<_ACEOF
18025 /* end confdefs.h. */
18026
18027 int
18028 main ()
18029 {
18030
18031 #ifndef __INTEL_COMPILER
18032 choke me
18033 #endif
18034
18035 ;
18036 return 0;
18037 }
18038 _ACEOF
18039 rm -f conftest.$ac_objext
18040 if { (ac_try="$ac_compile"
18041 case "(($ac_try" in
18042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18043 *) ac_try_echo=$ac_try;;
18044 esac
18045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18046 (eval "$ac_compile") 2>conftest.er1
18047 ac_status=$?
18048 grep -v '^ *+' conftest.er1 >conftest.err
18049 rm -f conftest.er1
18050 cat conftest.err >&5
18051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18052 (exit $ac_status); } && {
18053 test -z "$ac_cxx_werror_flag" ||
18054 test ! -s conftest.err
18055 } && test -s conftest.$ac_objext; then
18056 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
18057 else
18058 echo "$as_me: failed program was:" >&5
18059 sed 's/^/| /' conftest.$ac_ext >&5
18060
18061 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
18062
18063 fi
18064
18065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18066
18067
18068 fi
18069 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
18070 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
18071 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
18072 :; INTELCXX=yes
18073 else
18074 :;
18075 fi
18076 ac_ext=c
18077 ac_cpp='$CPP $CPPFLAGS'
18078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18081
18082
18083
18084
18085 if test "$INTELCXX" = "yes"; then
18086
18087
18088 ac_ext=cpp
18089 ac_cpp='$CXXCPP $CPPFLAGS'
18090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18093
18094 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v8 or later" >&5
18095 echo $ECHO_N "checking whether we are using Intel C++ compiler v8 or later... $ECHO_C" >&6; }
18096 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800+set}" = set; then
18097 echo $ECHO_N "(cached) $ECHO_C" >&6
18098 else
18099 cat >conftest.$ac_ext <<_ACEOF
18100 /* confdefs.h. */
18101 _ACEOF
18102 cat confdefs.h >>conftest.$ac_ext
18103 cat >>conftest.$ac_ext <<_ACEOF
18104 /* end confdefs.h. */
18105
18106 int
18107 main ()
18108 {
18109
18110 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
18111 choke me
18112 #endif
18113
18114 ;
18115 return 0;
18116 }
18117 _ACEOF
18118 rm -f conftest.$ac_objext
18119 if { (ac_try="$ac_compile"
18120 case "(($ac_try" in
18121 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18122 *) ac_try_echo=$ac_try;;
18123 esac
18124 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18125 (eval "$ac_compile") 2>conftest.er1
18126 ac_status=$?
18127 grep -v '^ *+' conftest.er1 >conftest.err
18128 rm -f conftest.er1
18129 cat conftest.err >&5
18130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18131 (exit $ac_status); } && {
18132 test -z "$ac_cxx_werror_flag" ||
18133 test ! -s conftest.err
18134 } && test -s conftest.$ac_objext; then
18135 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=yes
18136 else
18137 echo "$as_me: failed program was:" >&5
18138 sed 's/^/| /' conftest.$ac_ext >&5
18139
18140 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=no
18141
18142 fi
18143
18144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18145
18146
18147 fi
18148 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&5
18149 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&6; }
18150 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
18151 :; INTELCXX8=yes
18152 else
18153 :;
18154 fi
18155 ac_ext=c
18156 ac_cpp='$CPP $CPPFLAGS'
18157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18160
18161
18162
18163
18164
18165 ac_ext=cpp
18166 ac_cpp='$CXXCPP $CPPFLAGS'
18167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18170
18171 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v10 or later" >&5
18172 echo $ECHO_N "checking whether we are using Intel C++ compiler v10 or later... $ECHO_C" >&6; }
18173 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
18174 echo $ECHO_N "(cached) $ECHO_C" >&6
18175 else
18176 cat >conftest.$ac_ext <<_ACEOF
18177 /* confdefs.h. */
18178 _ACEOF
18179 cat confdefs.h >>conftest.$ac_ext
18180 cat >>conftest.$ac_ext <<_ACEOF
18181 /* end confdefs.h. */
18182
18183 int
18184 main ()
18185 {
18186
18187 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
18188 choke me
18189 #endif
18190
18191 ;
18192 return 0;
18193 }
18194 _ACEOF
18195 rm -f conftest.$ac_objext
18196 if { (ac_try="$ac_compile"
18197 case "(($ac_try" in
18198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18199 *) ac_try_echo=$ac_try;;
18200 esac
18201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18202 (eval "$ac_compile") 2>conftest.er1
18203 ac_status=$?
18204 grep -v '^ *+' conftest.er1 >conftest.err
18205 rm -f conftest.er1
18206 cat conftest.err >&5
18207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18208 (exit $ac_status); } && {
18209 test -z "$ac_cxx_werror_flag" ||
18210 test ! -s conftest.err
18211 } && test -s conftest.$ac_objext; then
18212 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=yes
18213 else
18214 echo "$as_me: failed program was:" >&5
18215 sed 's/^/| /' conftest.$ac_ext >&5
18216
18217 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=no
18218
18219 fi
18220
18221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18222
18223
18224 fi
18225 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&5
18226 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&6; }
18227 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
18228 :; INTELCXX10=yes
18229 else
18230 :;
18231 fi
18232 ac_ext=c
18233 ac_cpp='$CPP $CPPFLAGS'
18234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18237
18238
18239
18240 fi
18241
18242 if test "x$GCXX" != "xyes"; then
18243 if test "xCXX" = "xC"; then
18244 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
18245 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
18246 if test "${bakefile_cv_c_exto+set}" = set; then
18247 echo $ECHO_N "(cached) $ECHO_C" >&6
18248 else
18249 cat >conftest.$ac_ext <<_ACEOF
18250 /* confdefs.h. */
18251 _ACEOF
18252 cat confdefs.h >>conftest.$ac_ext
18253 cat >>conftest.$ac_ext <<_ACEOF
18254 /* end confdefs.h. */
18255
18256 int
18257 main ()
18258 {
18259
18260 ;
18261 return 0;
18262 }
18263 _ACEOF
18264 rm -f conftest.$ac_objext conftest.$ac_ext.o
18265 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18266 (eval $ac_compile) 2>&5
18267 ac_status=$?
18268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18269 (exit $ac_status); }; then
18270 for ac_file in `(ls conftest.* 2>/dev/null)`; do
18271 case $ac_file in
18272 conftest.$ac_ext.o)
18273 bakefile_cv_c_exto="-ext o"
18274 ;;
18275 *)
18276 ;;
18277 esac
18278 done
18279 else
18280 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
18281 See \`config.log' for more details." >&5
18282 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
18283 See \`config.log' for more details." >&2;}
18284 { (exit 1); exit 1; }; }
18285
18286 fi
18287
18288 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
18289
18290 fi
18291 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
18292 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
18293 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18294 if test "c" = "c"; then
18295 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
18296 fi
18297 if test "c" = "cxx"; then
18298 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
18299 fi
18300 fi
18301
18302 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18303 unset ac_cv_prog_cc_g
18304 ac_test_CFLAGS=${CFLAGS+set}
18305 ac_save_CFLAGS=$CFLAGS
18306 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
18307 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
18308 if test "${ac_cv_prog_cc_g+set}" = set; then
18309 echo $ECHO_N "(cached) $ECHO_C" >&6
18310 else
18311 ac_save_c_werror_flag=$ac_c_werror_flag
18312 ac_c_werror_flag=yes
18313 ac_cv_prog_cc_g=no
18314 CFLAGS="-g"
18315 cat >conftest.$ac_ext <<_ACEOF
18316 /* confdefs.h. */
18317 _ACEOF
18318 cat confdefs.h >>conftest.$ac_ext
18319 cat >>conftest.$ac_ext <<_ACEOF
18320 /* end confdefs.h. */
18321
18322 int
18323 main ()
18324 {
18325
18326 ;
18327 return 0;
18328 }
18329 _ACEOF
18330 rm -f conftest.$ac_objext
18331 if { (ac_try="$ac_compile"
18332 case "(($ac_try" in
18333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18334 *) ac_try_echo=$ac_try;;
18335 esac
18336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18337 (eval "$ac_compile") 2>conftest.er1
18338 ac_status=$?
18339 grep -v '^ *+' conftest.er1 >conftest.err
18340 rm -f conftest.er1
18341 cat conftest.err >&5
18342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18343 (exit $ac_status); } && {
18344 test -z "$ac_c_werror_flag" ||
18345 test ! -s conftest.err
18346 } && test -s conftest.$ac_objext; then
18347 ac_cv_prog_cc_g=yes
18348 else
18349 echo "$as_me: failed program was:" >&5
18350 sed 's/^/| /' conftest.$ac_ext >&5
18351
18352 CFLAGS=""
18353 cat >conftest.$ac_ext <<_ACEOF
18354 /* confdefs.h. */
18355 _ACEOF
18356 cat confdefs.h >>conftest.$ac_ext
18357 cat >>conftest.$ac_ext <<_ACEOF
18358 /* end confdefs.h. */
18359
18360 int
18361 main ()
18362 {
18363
18364 ;
18365 return 0;
18366 }
18367 _ACEOF
18368 rm -f conftest.$ac_objext
18369 if { (ac_try="$ac_compile"
18370 case "(($ac_try" in
18371 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18372 *) ac_try_echo=$ac_try;;
18373 esac
18374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18375 (eval "$ac_compile") 2>conftest.er1
18376 ac_status=$?
18377 grep -v '^ *+' conftest.er1 >conftest.err
18378 rm -f conftest.er1
18379 cat conftest.err >&5
18380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18381 (exit $ac_status); } && {
18382 test -z "$ac_c_werror_flag" ||
18383 test ! -s conftest.err
18384 } && test -s conftest.$ac_objext; then
18385 :
18386 else
18387 echo "$as_me: failed program was:" >&5
18388 sed 's/^/| /' conftest.$ac_ext >&5
18389
18390 ac_c_werror_flag=$ac_save_c_werror_flag
18391 CFLAGS="-g"
18392 cat >conftest.$ac_ext <<_ACEOF
18393 /* confdefs.h. */
18394 _ACEOF
18395 cat confdefs.h >>conftest.$ac_ext
18396 cat >>conftest.$ac_ext <<_ACEOF
18397 /* end confdefs.h. */
18398
18399 int
18400 main ()
18401 {
18402
18403 ;
18404 return 0;
18405 }
18406 _ACEOF
18407 rm -f conftest.$ac_objext
18408 if { (ac_try="$ac_compile"
18409 case "(($ac_try" in
18410 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18411 *) ac_try_echo=$ac_try;;
18412 esac
18413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18414 (eval "$ac_compile") 2>conftest.er1
18415 ac_status=$?
18416 grep -v '^ *+' conftest.er1 >conftest.err
18417 rm -f conftest.er1
18418 cat conftest.err >&5
18419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18420 (exit $ac_status); } && {
18421 test -z "$ac_c_werror_flag" ||
18422 test ! -s conftest.err
18423 } && test -s conftest.$ac_objext; then
18424 ac_cv_prog_cc_g=yes
18425 else
18426 echo "$as_me: failed program was:" >&5
18427 sed 's/^/| /' conftest.$ac_ext >&5
18428
18429
18430 fi
18431
18432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18433 fi
18434
18435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18436 fi
18437
18438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18439 ac_c_werror_flag=$ac_save_c_werror_flag
18440 fi
18441 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
18442 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
18443 if test "$ac_test_CFLAGS" = set; then
18444 CFLAGS=$ac_save_CFLAGS
18445 elif test $ac_cv_prog_cc_g = yes; then
18446 if test "$GCC" = yes; then
18447 CFLAGS="-g -O2"
18448 else
18449 CFLAGS="-g"
18450 fi
18451 else
18452 if test "$GCC" = yes; then
18453 CFLAGS="-O2"
18454 else
18455 CFLAGS=
18456 fi
18457 fi
18458 fi
18459 fi
18460
18461 case `uname -s` in
18462 AIX*)
18463
18464
18465 ac_ext=cpp
18466 ac_cpp='$CXXCPP $CPPFLAGS'
18467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18470
18471 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
18472 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
18473 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
18474 echo $ECHO_N "(cached) $ECHO_C" >&6
18475 else
18476 cat >conftest.$ac_ext <<_ACEOF
18477 /* confdefs.h. */
18478 _ACEOF
18479 cat confdefs.h >>conftest.$ac_ext
18480 cat >>conftest.$ac_ext <<_ACEOF
18481 /* end confdefs.h. */
18482
18483 int
18484 main ()
18485 {
18486
18487 #ifndef __xlC__
18488 choke me
18489 #endif
18490
18491 ;
18492 return 0;
18493 }
18494 _ACEOF
18495 rm -f conftest.$ac_objext
18496 if { (ac_try="$ac_compile"
18497 case "(($ac_try" in
18498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18499 *) ac_try_echo=$ac_try;;
18500 esac
18501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18502 (eval "$ac_compile") 2>conftest.er1
18503 ac_status=$?
18504 grep -v '^ *+' conftest.er1 >conftest.err
18505 rm -f conftest.er1
18506 cat conftest.err >&5
18507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18508 (exit $ac_status); } && {
18509 test -z "$ac_cxx_werror_flag" ||
18510 test ! -s conftest.err
18511 } && test -s conftest.$ac_objext; then
18512 bakefile_cv_cxx_compiler___xlC__=yes
18513 else
18514 echo "$as_me: failed program was:" >&5
18515 sed 's/^/| /' conftest.$ac_ext >&5
18516
18517 bakefile_cv_cxx_compiler___xlC__=no
18518
18519 fi
18520
18521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18522
18523
18524 fi
18525 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18526 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
18527 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18528 :; XLCXX=yes
18529 else
18530 :;
18531 fi
18532 ac_ext=c
18533 ac_cpp='$CPP $CPPFLAGS'
18534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18537
18538
18539
18540 ;;
18541
18542 Darwin)
18543
18544
18545 ac_ext=cpp
18546 ac_cpp='$CXXCPP $CPPFLAGS'
18547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18550
18551 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
18552 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
18553 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
18554 echo $ECHO_N "(cached) $ECHO_C" >&6
18555 else
18556 cat >conftest.$ac_ext <<_ACEOF
18557 /* confdefs.h. */
18558 _ACEOF
18559 cat confdefs.h >>conftest.$ac_ext
18560 cat >>conftest.$ac_ext <<_ACEOF
18561 /* end confdefs.h. */
18562
18563 int
18564 main ()
18565 {
18566
18567 #ifndef __MWERKS__
18568 choke me
18569 #endif
18570
18571 ;
18572 return 0;
18573 }
18574 _ACEOF
18575 rm -f conftest.$ac_objext
18576 if { (ac_try="$ac_compile"
18577 case "(($ac_try" in
18578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18579 *) ac_try_echo=$ac_try;;
18580 esac
18581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18582 (eval "$ac_compile") 2>conftest.er1
18583 ac_status=$?
18584 grep -v '^ *+' conftest.er1 >conftest.err
18585 rm -f conftest.er1
18586 cat conftest.err >&5
18587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18588 (exit $ac_status); } && {
18589 test -z "$ac_cxx_werror_flag" ||
18590 test ! -s conftest.err
18591 } && test -s conftest.$ac_objext; then
18592 bakefile_cv_cxx_compiler___MWERKS__=yes
18593 else
18594 echo "$as_me: failed program was:" >&5
18595 sed 's/^/| /' conftest.$ac_ext >&5
18596
18597 bakefile_cv_cxx_compiler___MWERKS__=no
18598
18599 fi
18600
18601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18602
18603
18604 fi
18605 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
18606 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
18607 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
18608 :; MWCXX=yes
18609 else
18610 :;
18611 fi
18612 ac_ext=c
18613 ac_cpp='$CPP $CPPFLAGS'
18614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18617
18618
18619
18620 if test "$MWCXX" != "yes"; then
18621
18622
18623 ac_ext=cpp
18624 ac_cpp='$CXXCPP $CPPFLAGS'
18625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18628
18629 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
18630 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
18631 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
18632 echo $ECHO_N "(cached) $ECHO_C" >&6
18633 else
18634 cat >conftest.$ac_ext <<_ACEOF
18635 /* confdefs.h. */
18636 _ACEOF
18637 cat confdefs.h >>conftest.$ac_ext
18638 cat >>conftest.$ac_ext <<_ACEOF
18639 /* end confdefs.h. */
18640
18641 int
18642 main ()
18643 {
18644
18645 #ifndef __xlC__
18646 choke me
18647 #endif
18648
18649 ;
18650 return 0;
18651 }
18652 _ACEOF
18653 rm -f conftest.$ac_objext
18654 if { (ac_try="$ac_compile"
18655 case "(($ac_try" in
18656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18657 *) ac_try_echo=$ac_try;;
18658 esac
18659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18660 (eval "$ac_compile") 2>conftest.er1
18661 ac_status=$?
18662 grep -v '^ *+' conftest.er1 >conftest.err
18663 rm -f conftest.er1
18664 cat conftest.err >&5
18665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18666 (exit $ac_status); } && {
18667 test -z "$ac_cxx_werror_flag" ||
18668 test ! -s conftest.err
18669 } && test -s conftest.$ac_objext; then
18670 bakefile_cv_cxx_compiler___xlC__=yes
18671 else
18672 echo "$as_me: failed program was:" >&5
18673 sed 's/^/| /' conftest.$ac_ext >&5
18674
18675 bakefile_cv_cxx_compiler___xlC__=no
18676
18677 fi
18678
18679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18680
18681
18682 fi
18683 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18684 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
18685 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18686 :; XLCXX=yes
18687 else
18688 :;
18689 fi
18690 ac_ext=c
18691 ac_cpp='$CPP $CPPFLAGS'
18692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18695
18696
18697
18698 fi
18699 ;;
18700
18701 IRIX*)
18702
18703
18704 ac_ext=cpp
18705 ac_cpp='$CXXCPP $CPPFLAGS'
18706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18709
18710 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
18711 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
18712 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
18713 echo $ECHO_N "(cached) $ECHO_C" >&6
18714 else
18715 cat >conftest.$ac_ext <<_ACEOF
18716 /* confdefs.h. */
18717 _ACEOF
18718 cat confdefs.h >>conftest.$ac_ext
18719 cat >>conftest.$ac_ext <<_ACEOF
18720 /* end confdefs.h. */
18721
18722 int
18723 main ()
18724 {
18725
18726 #ifndef _SGI_COMPILER_VERSION
18727 choke me
18728 #endif
18729
18730 ;
18731 return 0;
18732 }
18733 _ACEOF
18734 rm -f conftest.$ac_objext
18735 if { (ac_try="$ac_compile"
18736 case "(($ac_try" in
18737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18738 *) ac_try_echo=$ac_try;;
18739 esac
18740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18741 (eval "$ac_compile") 2>conftest.er1
18742 ac_status=$?
18743 grep -v '^ *+' conftest.er1 >conftest.err
18744 rm -f conftest.er1
18745 cat conftest.err >&5
18746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18747 (exit $ac_status); } && {
18748 test -z "$ac_cxx_werror_flag" ||
18749 test ! -s conftest.err
18750 } && test -s conftest.$ac_objext; then
18751 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
18752 else
18753 echo "$as_me: failed program was:" >&5
18754 sed 's/^/| /' conftest.$ac_ext >&5
18755
18756 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
18757
18758 fi
18759
18760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18761
18762
18763 fi
18764 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
18765 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
18766 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
18767 :; SGICXX=yes
18768 else
18769 :;
18770 fi
18771 ac_ext=c
18772 ac_cpp='$CPP $CPPFLAGS'
18773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18776
18777
18778
18779 ;;
18780
18781 Linux*)
18782 if test "$INTELCXX" != "yes"; then
18783
18784
18785 ac_ext=cpp
18786 ac_cpp='$CXXCPP $CPPFLAGS'
18787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18790
18791 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
18792 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
18793 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
18794 echo $ECHO_N "(cached) $ECHO_C" >&6
18795 else
18796 cat >conftest.$ac_ext <<_ACEOF
18797 /* confdefs.h. */
18798 _ACEOF
18799 cat confdefs.h >>conftest.$ac_ext
18800 cat >>conftest.$ac_ext <<_ACEOF
18801 /* end confdefs.h. */
18802
18803 int
18804 main ()
18805 {
18806
18807 #ifndef __SUNPRO_CC
18808 choke me
18809 #endif
18810
18811 ;
18812 return 0;
18813 }
18814 _ACEOF
18815 rm -f conftest.$ac_objext
18816 if { (ac_try="$ac_compile"
18817 case "(($ac_try" in
18818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18819 *) ac_try_echo=$ac_try;;
18820 esac
18821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18822 (eval "$ac_compile") 2>conftest.er1
18823 ac_status=$?
18824 grep -v '^ *+' conftest.er1 >conftest.err
18825 rm -f conftest.er1
18826 cat conftest.err >&5
18827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18828 (exit $ac_status); } && {
18829 test -z "$ac_cxx_werror_flag" ||
18830 test ! -s conftest.err
18831 } && test -s conftest.$ac_objext; then
18832 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
18833 else
18834 echo "$as_me: failed program was:" >&5
18835 sed 's/^/| /' conftest.$ac_ext >&5
18836
18837 bakefile_cv_cxx_compiler___SUNPRO_CC=no
18838
18839 fi
18840
18841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18842
18843
18844 fi
18845 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
18846 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
18847 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
18848 :; SUNCXX=yes
18849 else
18850 :;
18851 fi
18852 ac_ext=c
18853 ac_cpp='$CPP $CPPFLAGS'
18854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18857
18858
18859
18860 fi
18861 ;;
18862
18863 HP-UX*)
18864
18865
18866 ac_ext=cpp
18867 ac_cpp='$CXXCPP $CPPFLAGS'
18868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18871
18872 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
18873 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
18874 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
18875 echo $ECHO_N "(cached) $ECHO_C" >&6
18876 else
18877 cat >conftest.$ac_ext <<_ACEOF
18878 /* confdefs.h. */
18879 _ACEOF
18880 cat confdefs.h >>conftest.$ac_ext
18881 cat >>conftest.$ac_ext <<_ACEOF
18882 /* end confdefs.h. */
18883
18884 int
18885 main ()
18886 {
18887
18888 #ifndef __HP_aCC
18889 choke me
18890 #endif
18891
18892 ;
18893 return 0;
18894 }
18895 _ACEOF
18896 rm -f conftest.$ac_objext
18897 if { (ac_try="$ac_compile"
18898 case "(($ac_try" in
18899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18900 *) ac_try_echo=$ac_try;;
18901 esac
18902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18903 (eval "$ac_compile") 2>conftest.er1
18904 ac_status=$?
18905 grep -v '^ *+' conftest.er1 >conftest.err
18906 rm -f conftest.er1
18907 cat conftest.err >&5
18908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18909 (exit $ac_status); } && {
18910 test -z "$ac_cxx_werror_flag" ||
18911 test ! -s conftest.err
18912 } && test -s conftest.$ac_objext; then
18913 bakefile_cv_cxx_compiler___HP_aCC=yes
18914 else
18915 echo "$as_me: failed program was:" >&5
18916 sed 's/^/| /' conftest.$ac_ext >&5
18917
18918 bakefile_cv_cxx_compiler___HP_aCC=no
18919
18920 fi
18921
18922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18923
18924
18925 fi
18926 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
18927 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
18928 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
18929 :; HPCXX=yes
18930 else
18931 :;
18932 fi
18933 ac_ext=c
18934 ac_cpp='$CPP $CPPFLAGS'
18935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18938
18939
18940
18941 ;;
18942
18943 OSF1)
18944
18945
18946 ac_ext=cpp
18947 ac_cpp='$CXXCPP $CPPFLAGS'
18948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18951
18952 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
18953 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
18954 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
18955 echo $ECHO_N "(cached) $ECHO_C" >&6
18956 else
18957 cat >conftest.$ac_ext <<_ACEOF
18958 /* confdefs.h. */
18959 _ACEOF
18960 cat confdefs.h >>conftest.$ac_ext
18961 cat >>conftest.$ac_ext <<_ACEOF
18962 /* end confdefs.h. */
18963
18964 int
18965 main ()
18966 {
18967
18968 #ifndef __DECCXX
18969 choke me
18970 #endif
18971
18972 ;
18973 return 0;
18974 }
18975 _ACEOF
18976 rm -f conftest.$ac_objext
18977 if { (ac_try="$ac_compile"
18978 case "(($ac_try" in
18979 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18980 *) ac_try_echo=$ac_try;;
18981 esac
18982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18983 (eval "$ac_compile") 2>conftest.er1
18984 ac_status=$?
18985 grep -v '^ *+' conftest.er1 >conftest.err
18986 rm -f conftest.er1
18987 cat conftest.err >&5
18988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18989 (exit $ac_status); } && {
18990 test -z "$ac_cxx_werror_flag" ||
18991 test ! -s conftest.err
18992 } && test -s conftest.$ac_objext; then
18993 bakefile_cv_cxx_compiler___DECCXX=yes
18994 else
18995 echo "$as_me: failed program was:" >&5
18996 sed 's/^/| /' conftest.$ac_ext >&5
18997
18998 bakefile_cv_cxx_compiler___DECCXX=no
18999
19000 fi
19001
19002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19003
19004
19005 fi
19006 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
19007 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
19008 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
19009 :; COMPAQCXX=yes
19010 else
19011 :;
19012 fi
19013 ac_ext=c
19014 ac_cpp='$CPP $CPPFLAGS'
19015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19018
19019
19020
19021 ;;
19022
19023 SunOS)
19024
19025
19026 ac_ext=cpp
19027 ac_cpp='$CXXCPP $CPPFLAGS'
19028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19031
19032 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
19033 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
19034 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
19035 echo $ECHO_N "(cached) $ECHO_C" >&6
19036 else
19037 cat >conftest.$ac_ext <<_ACEOF
19038 /* confdefs.h. */
19039 _ACEOF
19040 cat confdefs.h >>conftest.$ac_ext
19041 cat >>conftest.$ac_ext <<_ACEOF
19042 /* end confdefs.h. */
19043
19044 int
19045 main ()
19046 {
19047
19048 #ifndef __SUNPRO_CC
19049 choke me
19050 #endif
19051
19052 ;
19053 return 0;
19054 }
19055 _ACEOF
19056 rm -f conftest.$ac_objext
19057 if { (ac_try="$ac_compile"
19058 case "(($ac_try" in
19059 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19060 *) ac_try_echo=$ac_try;;
19061 esac
19062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19063 (eval "$ac_compile") 2>conftest.er1
19064 ac_status=$?
19065 grep -v '^ *+' conftest.er1 >conftest.err
19066 rm -f conftest.er1
19067 cat conftest.err >&5
19068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19069 (exit $ac_status); } && {
19070 test -z "$ac_cxx_werror_flag" ||
19071 test ! -s conftest.err
19072 } && test -s conftest.$ac_objext; then
19073 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
19074 else
19075 echo "$as_me: failed program was:" >&5
19076 sed 's/^/| /' conftest.$ac_ext >&5
19077
19078 bakefile_cv_cxx_compiler___SUNPRO_CC=no
19079
19080 fi
19081
19082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19083
19084
19085 fi
19086 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
19087 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
19088 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
19089 :; SUNCXX=yes
19090 else
19091 :;
19092 fi
19093 ac_ext=c
19094 ac_cpp='$CPP $CPPFLAGS'
19095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19098
19099
19100
19101 ;;
19102 esac
19103 fi
19104
19105
19106
19107 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
19108 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
19109 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
19110 { (exit 1); exit 1; }; }
19111 fi
19112
19113 if test "x$SUNCXX" != xyes; then
19114 if test -n "$ac_tool_prefix"; then
19115 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
19116 set dummy ${ac_tool_prefix}ar; ac_word=$2
19117 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19118 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19119 if test "${ac_cv_prog_AR+set}" = set; then
19120 echo $ECHO_N "(cached) $ECHO_C" >&6
19121 else
19122 if test -n "$AR"; then
19123 ac_cv_prog_AR="$AR" # Let the user override the test.
19124 else
19125 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19126 for as_dir in $PATH
19127 do
19128 IFS=$as_save_IFS
19129 test -z "$as_dir" && as_dir=.
19130 for ac_exec_ext in '' $ac_executable_extensions; do
19131 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19132 ac_cv_prog_AR="${ac_tool_prefix}ar"
19133 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19134 break 2
19135 fi
19136 done
19137 done
19138 IFS=$as_save_IFS
19139
19140 fi
19141 fi
19142 AR=$ac_cv_prog_AR
19143 if test -n "$AR"; then
19144 { echo "$as_me:$LINENO: result: $AR" >&5
19145 echo "${ECHO_T}$AR" >&6; }
19146 else
19147 { echo "$as_me:$LINENO: result: no" >&5
19148 echo "${ECHO_T}no" >&6; }
19149 fi
19150
19151
19152 fi
19153 if test -z "$ac_cv_prog_AR"; then
19154 ac_ct_AR=$AR
19155 # Extract the first word of "ar", so it can be a program name with args.
19156 set dummy ar; ac_word=$2
19157 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19158 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19159 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
19160 echo $ECHO_N "(cached) $ECHO_C" >&6
19161 else
19162 if test -n "$ac_ct_AR"; then
19163 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
19164 else
19165 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19166 for as_dir in $PATH
19167 do
19168 IFS=$as_save_IFS
19169 test -z "$as_dir" && as_dir=.
19170 for ac_exec_ext in '' $ac_executable_extensions; do
19171 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19172 ac_cv_prog_ac_ct_AR="ar"
19173 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19174 break 2
19175 fi
19176 done
19177 done
19178 IFS=$as_save_IFS
19179
19180 fi
19181 fi
19182 ac_ct_AR=$ac_cv_prog_ac_ct_AR
19183 if test -n "$ac_ct_AR"; then
19184 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
19185 echo "${ECHO_T}$ac_ct_AR" >&6; }
19186 else
19187 { echo "$as_me:$LINENO: result: no" >&5
19188 echo "${ECHO_T}no" >&6; }
19189 fi
19190
19191 if test "x$ac_ct_AR" = x; then
19192 AR=""
19193 else
19194 case $cross_compiling:$ac_tool_warned in
19195 yes:)
19196 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19197 whose name does not start with the host triplet. If you think this
19198 configuration is useful to you, please write to autoconf@gnu.org." >&5
19199 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19200 whose name does not start with the host triplet. If you think this
19201 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19202 ac_tool_warned=yes ;;
19203 esac
19204 AR=$ac_ct_AR
19205 fi
19206 else
19207 AR="$ac_cv_prog_AR"
19208 fi
19209
19210 if test "x$AR" = "x" ; then
19211 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
19212 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
19213 { (exit 1); exit 1; }; }
19214 fi
19215 fi
19216
19217
19218 if test "$wxUSE_MAC" = 1; then
19219
19220 retest_macosx_linking=no
19221
19222 OSX_ARCH_OPTS=""
19223 if test "x$wxUSE_MAC_ARCH" != xno; then
19224 OSX_ARCH_OPTS="-arch $wxUSE_MAC_ARCH"
19225 fi
19226
19227 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
19228 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
19229 # Implicitly turn on the new --with-macosx-sdk using the default
19230 # SDK which provides the behaviour this option has always had.
19231 if test "x$wxUSE_MACOSX_SDK" = "x"; then
19232 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
19233 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
19234 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
19235 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
19236 wxUSE_MACOSX_SDK=yes
19237 fi
19238 else
19239 # Complain to user if he specified an argument to --enable-universal_binary
19240 # and also 1) specified --with-macosx-sdk using the default (yes) or
19241 # 2) specified --with-macosx-sdk using a path or 3) specified
19242 # --without-macosx-sdk (no).
19243 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
19244 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
19245 See \`config.log' for more details." >&5
19246 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
19247 See \`config.log' for more details." >&2;}
19248 { (exit 1); exit 1; }; }
19249 else
19250 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
19251 # special-case the empty string because the below test simply
19252 # converts "no" to the empty string anyway.
19253 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
19254 { echo "$as_me:$LINENO: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&5
19255 echo "$as_me: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&2;}
19256 fi
19257 fi
19258 OSX_ARCH_OPTS="-arch ppc -arch i386"
19259 if test "$wxUSE_OSX_COCOA" = 1; then
19260 OSX_ARCH_OPTS="$OSX_ARCH_OPTS -arch x86_64"
19261 fi
19262 { echo "$as_me:$LINENO: checking for universal binary architectures" >&5
19263 echo $ECHO_N "checking for universal binary architectures... $ECHO_C" >&6; }
19264 { echo "$as_me:$LINENO: result: $OSX_ARCH_OPTS" >&5
19265 echo "${ECHO_T}$OSX_ARCH_OPTS" >&6; }
19266
19267 retest_macosx_linking=yes
19268
19269 { echo "$as_me:$LINENO: WARNING: Disabling precompiled headers due to universal binary build." >&5
19270 echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
19271 bk_use_pch=no
19272 fi
19273
19274 CXXFLAGS="$OSX_ARCH_OPTS $CXXFLAGS"
19275 CFLAGS="$OSX_ARCH_OPTS $CFLAGS"
19276 OBJCXXFLAGS="$OSX_ARCH_OPTS $OBJCXXFLAGS"
19277 OBJCFLAGS="$OSX_ARCH_OPTS $OBJCFLAGS"
19278 LDFLAGS="$OSX_ARCH_OPTS $LDFLAGS"
19279
19280 if test "x$wxUSE_MACOSX_SDK" = "xno"; then
19281 wxUSE_MACOSX_SDK=
19282 elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
19283 # TODO: Search for most recent SDK and use it.
19284 wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
19285 fi
19286
19287
19288 if test "x$wxUSE_MACOSX_SDK" != "x"; then
19289 { echo "$as_me:$LINENO: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
19290 echo $ECHO_N "checking for SDK directory $wxUSE_MACOSX_SDK... $ECHO_C" >&6; }
19291 if ! test -d "$wxUSE_MACOSX_SDK"; then
19292 { { echo "$as_me:$LINENO: error: not found
19293 See \`config.log' for more details." >&5
19294 echo "$as_me: error: not found
19295 See \`config.log' for more details." >&2;}
19296 { (exit 1); exit 1; }; }
19297 else
19298 { echo "$as_me:$LINENO: result: exists" >&5
19299 echo "${ECHO_T}exists" >&6; }
19300 fi
19301 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
19302 retest_macosx_linking=yes
19303 fi
19304
19305 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
19306 wxUSE_MACOSX_VERSION_MIN=
19307 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
19308 if test "x$wxUSE_MACOSX_SDK" != "x"; then
19309 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
19310 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
19311
19312 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/'`
19313
19314 # If that failed, try again with the new key
19315 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
19316
19317 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/'`
19318
19319 fi
19320
19321 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
19322 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
19323 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
19324 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
19325 else
19326 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
19327 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
19328 wxUSE_MACOSX_VERSION_MIN=
19329 fi
19330 else
19331 wxUSE_MACOSX_VERSION_MIN=
19332 fi
19333 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
19334 for ac_prog in sw_vers
19335 do
19336 # Extract the first word of "$ac_prog", so it can be a program name with args.
19337 set dummy $ac_prog; ac_word=$2
19338 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19339 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19340 if test "${ac_cv_prog_OSX_SW_VERS+set}" = set; then
19341 echo $ECHO_N "(cached) $ECHO_C" >&6
19342 else
19343 if test -n "$OSX_SW_VERS"; then
19344 ac_cv_prog_OSX_SW_VERS="$OSX_SW_VERS" # Let the user override the test.
19345 else
19346 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19347 for as_dir in $PATH
19348 do
19349 IFS=$as_save_IFS
19350 test -z "$as_dir" && as_dir=.
19351 for ac_exec_ext in '' $ac_executable_extensions; do
19352 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19353 ac_cv_prog_OSX_SW_VERS="$ac_prog"
19354 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19355 break 2
19356 fi
19357 done
19358 done
19359 IFS=$as_save_IFS
19360
19361 fi
19362 fi
19363 OSX_SW_VERS=$ac_cv_prog_OSX_SW_VERS
19364 if test -n "$OSX_SW_VERS"; then
19365 { echo "$as_me:$LINENO: result: $OSX_SW_VERS" >&5
19366 echo "${ECHO_T}$OSX_SW_VERS" >&6; }
19367 else
19368 { echo "$as_me:$LINENO: result: no" >&5
19369 echo "${ECHO_T}no" >&6; }
19370 fi
19371
19372
19373 test -n "$OSX_SW_VERS" && break
19374 done
19375
19376 if test "$OSX_SW_VERS" != ""; then
19377 OSX_VERSION=`sw_vers -productVersion | grep 10.[0-9]`
19378 else
19379 { echo "$as_me:$LINENO: WARNING: Assuming OS X 10.4, use --with-macosx-version-min to override." >&5
19380 echo "$as_me: WARNING: Assuming OS X 10.4, use --with-macosx-version-min to override." >&2;}
19381 OSX_VERSION="10.4"
19382 fi
19383
19384 case "$OSX_VERSION" in
19385 10.4* )
19386 wxUSE_MACOSX_VERSION_MIN=10.4
19387 ;;
19388
19389 * )
19390 if test "$wxUSE_OSX_CARBON" = 1; then
19391 # otherwise configure stops on leopard for universal_binary
19392 wxUSE_MACOSX_VERSION_MIN=10.4
19393 else
19394 # for Cocoa, use 10.5 to be able to compile it in 64 bits too
19395 wxUSE_MACOSX_VERSION_MIN=10.5
19396 fi
19397 ;;
19398 esac
19399 fi
19400
19401 NEEDS_GCC40="no"
19402 if test "x$wxUSE_MACOSX_VERSION_MIN" == "x10.4"; then
19403 NEEDS_GCC40="yes"
19404 fi
19405
19406 if test "$wxUSE_OSX_CARBON" = 1; then
19407 NEEDS_GCC40="yes"
19408 fi
19409
19410 if test "x$NEEDS_GCC40" == "xyes"; then
19411 # gcc 4.2 cannot compile 10.4 compatible code, so if the user is using it
19412 # and wants 10.4 compatible code, then 'downgrade' to 4.0
19413 # This is also the simplest way to get 32-bit binaries on Snow Leopard.
19414 if test "x$CC" = "xgcc"; then
19415 CCVERSION=`$CC --version | grep 4.[2-9].`
19416 if test "x$CCVERSION" != "x"; then
19417 echo "$as_me:$LINENO: WARNING: gcc >= 4.2 cannot compile 10.4 compatible code. Using gcc 4.0 instead."
19418 CC="gcc-4.0"
19419 fi
19420 fi
19421
19422 if test "x$CXX" = "xg++"; then
19423 CCVERSION=`$CXX --version | grep 4.[2-9].`
19424 if test "x$CCVERSION" != "x"; then
19425 CXX="g++-4.0"
19426 fi
19427 fi
19428 fi
19429
19430 if test "x$MACOSX_SDK_OPTS" != "x"; then
19431 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
19432 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
19433 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
19434 fi
19435
19436 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
19437 if test "$wxUSE_OSX_IPHONE" = 1; then
19438 MACOSX_VERSION_MIN_OPTS="-miphoneos-version-min=$wxUSE_MACOSX_VERSION_MIN"
19439 else
19440 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
19441 fi
19442 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
19443 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
19444 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
19445 retest_macosx_linking=yes
19446 fi
19447
19448 if test "x$retest_macosx_linking" = "xyes"; then
19449 ac_ext=c
19450 ac_cpp='$CPP $CPPFLAGS'
19451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19454
19455 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
19456 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
19457 cat >conftest.$ac_ext <<_ACEOF
19458 /* confdefs.h. */
19459 _ACEOF
19460 cat confdefs.h >>conftest.$ac_ext
19461 cat >>conftest.$ac_ext <<_ACEOF
19462 /* end confdefs.h. */
19463
19464 int
19465 main ()
19466 {
19467
19468 ;
19469 return 0;
19470 }
19471 _ACEOF
19472 rm -f conftest.$ac_objext conftest$ac_exeext
19473 if { (ac_try="$ac_link"
19474 case "(($ac_try" in
19475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19476 *) ac_try_echo=$ac_try;;
19477 esac
19478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19479 (eval "$ac_link") 2>conftest.er1
19480 ac_status=$?
19481 grep -v '^ *+' conftest.er1 >conftest.err
19482 rm -f conftest.er1
19483 cat conftest.err >&5
19484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19485 (exit $ac_status); } && {
19486 test -z "$ac_c_werror_flag" ||
19487 test ! -s conftest.err
19488 } && test -s conftest$ac_exeext &&
19489 $as_test_x conftest$ac_exeext; then
19490 { echo "$as_me:$LINENO: result: yes" >&5
19491 echo "${ECHO_T}yes" >&6; }
19492 else
19493 echo "$as_me: failed program was:" >&5
19494 sed 's/^/| /' conftest.$ac_ext >&5
19495
19496 { { echo "$as_me:$LINENO: error: no. Try a different SDK
19497 See \`config.log' for more details." >&5
19498 echo "$as_me: error: no. Try a different SDK
19499 See \`config.log' for more details." >&2;}
19500 { (exit 1); exit 1; }; }; exit 1
19501 fi
19502
19503 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19504 conftest$ac_exeext conftest.$ac_ext
19505 ac_ext=c
19506 ac_cpp='$CPP $CPPFLAGS'
19507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19510
19511
19512 ac_ext=cpp
19513 ac_cpp='$CXXCPP $CPPFLAGS'
19514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19517
19518 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
19519 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
19520 cat >conftest.$ac_ext <<_ACEOF
19521 /* confdefs.h. */
19522 _ACEOF
19523 cat confdefs.h >>conftest.$ac_ext
19524 cat >>conftest.$ac_ext <<_ACEOF
19525 /* end confdefs.h. */
19526
19527 int
19528 main ()
19529 {
19530
19531 ;
19532 return 0;
19533 }
19534 _ACEOF
19535 rm -f conftest.$ac_objext conftest$ac_exeext
19536 if { (ac_try="$ac_link"
19537 case "(($ac_try" in
19538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19539 *) ac_try_echo=$ac_try;;
19540 esac
19541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19542 (eval "$ac_link") 2>conftest.er1
19543 ac_status=$?
19544 grep -v '^ *+' conftest.er1 >conftest.err
19545 rm -f conftest.er1
19546 cat conftest.err >&5
19547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19548 (exit $ac_status); } && {
19549 test -z "$ac_cxx_werror_flag" ||
19550 test ! -s conftest.err
19551 } && test -s conftest$ac_exeext &&
19552 $as_test_x conftest$ac_exeext; then
19553 { echo "$as_me:$LINENO: result: yes" >&5
19554 echo "${ECHO_T}yes" >&6; }
19555 else
19556 echo "$as_me: failed program was:" >&5
19557 sed 's/^/| /' conftest.$ac_ext >&5
19558
19559 { { echo "$as_me:$LINENO: error: no. Try a different SDK
19560 See \`config.log' for more details." >&5
19561 echo "$as_me: error: no. Try a different SDK
19562 See \`config.log' for more details." >&2;}
19563 { (exit 1); exit 1; }; }; exit 1
19564 fi
19565
19566 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19567 conftest$ac_exeext conftest.$ac_ext
19568 ac_ext=c
19569 ac_cpp='$CPP $CPPFLAGS'
19570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19573
19574 fi
19575
19576 fi
19577 case "${host}" in
19578
19579 *-*-darwin* )
19580 INSTALL_PROGRAM="cp -fp"
19581 INSTALL_DATA="cp -fp"
19582 ;;
19583 *)
19584 ;;
19585 esac
19586
19587
19588 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
19589 cat >>confdefs.h <<\_ACEOF
19590 #define _GNU_SOURCE 1
19591 _ACEOF
19592
19593
19594 GNU_SOURCE_FLAG="-D_GNU_SOURCE"
19595 CFLAGS="$GNU_SOURCE_FLAG $CFLAGS"
19596 fi
19597
19598 if test "x$USE_AIX" = "x1"; then
19599 if test "x$XLCXX" = "xyes"; then
19600 CXXFLAGS="-qunique $CXXFLAGS"
19601 fi
19602
19603 CPPFLAGS="-D_LINUX_SOURCE_COMPAT $CPPFLAGS"
19604 fi
19605
19606 case "${host}" in
19607 powerpc-*-darwin* )
19608 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
19609 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
19610 cat >conftest.$ac_ext <<_ACEOF
19611 /* confdefs.h. */
19612 _ACEOF
19613 cat confdefs.h >>conftest.$ac_ext
19614 cat >>conftest.$ac_ext <<_ACEOF
19615 /* end confdefs.h. */
19616
19617 int
19618 main ()
19619 {
19620 #ifndef __POWERPC__
19621 choke me for lack of PowerPC
19622 #endif
19623
19624 ;
19625 return 0;
19626 }
19627 _ACEOF
19628 rm -f conftest.$ac_objext
19629 if { (ac_try="$ac_compile"
19630 case "(($ac_try" in
19631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19632 *) ac_try_echo=$ac_try;;
19633 esac
19634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19635 (eval "$ac_compile") 2>conftest.er1
19636 ac_status=$?
19637 grep -v '^ *+' conftest.er1 >conftest.err
19638 rm -f conftest.er1
19639 cat conftest.err >&5
19640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19641 (exit $ac_status); } && {
19642 test -z "$ac_c_werror_flag" ||
19643 test ! -s conftest.err
19644 } && test -s conftest.$ac_objext; then
19645 { echo "$as_me:$LINENO: result: yes" >&5
19646 echo "${ECHO_T}yes" >&6; }
19647 else
19648 echo "$as_me: failed program was:" >&5
19649 sed 's/^/| /' conftest.$ac_ext >&5
19650
19651 { echo "$as_me:$LINENO: result: no" >&5
19652 echo "${ECHO_T}no" >&6; }
19653 cat >>confdefs.h <<\_ACEOF
19654 #define __POWERPC__ 1
19655 _ACEOF
19656
19657
19658 fi
19659
19660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19661 ;;
19662 esac
19663
19664 case "${host}" in
19665 *-*-darwin* )
19666 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
19667 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
19668 cat >conftest.$ac_ext <<_ACEOF
19669 /* confdefs.h. */
19670 _ACEOF
19671 cat confdefs.h >>conftest.$ac_ext
19672 cat >>conftest.$ac_ext <<_ACEOF
19673 /* end confdefs.h. */
19674 #include <CoreFoundation/CFBase.h>
19675
19676 int
19677 main ()
19678 {
19679
19680 ;
19681 return 0;
19682 }
19683 _ACEOF
19684 rm -f conftest.$ac_objext
19685 if { (ac_try="$ac_compile"
19686 case "(($ac_try" in
19687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19688 *) ac_try_echo=$ac_try;;
19689 esac
19690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19691 (eval "$ac_compile") 2>conftest.er1
19692 ac_status=$?
19693 grep -v '^ *+' conftest.er1 >conftest.err
19694 rm -f conftest.er1
19695 cat conftest.err >&5
19696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19697 (exit $ac_status); } && {
19698 test -z "$ac_c_werror_flag" ||
19699 test ! -s conftest.err
19700 } && test -s conftest.$ac_objext; then
19701 { echo "$as_me:$LINENO: result: yes" >&5
19702 echo "${ECHO_T}yes" >&6; }
19703 else
19704 echo "$as_me: failed program was:" >&5
19705 sed 's/^/| /' conftest.$ac_ext >&5
19706
19707 { echo "$as_me:$LINENO: result: no" >&5
19708 echo "${ECHO_T}no" >&6; }
19709 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
19710 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
19711 cat >conftest.$ac_ext <<_ACEOF
19712 /* confdefs.h. */
19713 _ACEOF
19714 cat confdefs.h >>conftest.$ac_ext
19715 cat >>conftest.$ac_ext <<_ACEOF
19716 /* end confdefs.h. */
19717 #define __CF_USE_FRAMEWORK_INCLUDES__
19718 #include <CoreFoundation/CFBase.h>
19719
19720 int
19721 main ()
19722 {
19723
19724 ;
19725 return 0;
19726 }
19727 _ACEOF
19728 rm -f conftest.$ac_objext
19729 if { (ac_try="$ac_compile"
19730 case "(($ac_try" in
19731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19732 *) ac_try_echo=$ac_try;;
19733 esac
19734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19735 (eval "$ac_compile") 2>conftest.er1
19736 ac_status=$?
19737 grep -v '^ *+' conftest.er1 >conftest.err
19738 rm -f conftest.er1
19739 cat conftest.err >&5
19740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19741 (exit $ac_status); } && {
19742 test -z "$ac_c_werror_flag" ||
19743 test ! -s conftest.err
19744 } && test -s conftest.$ac_objext; then
19745 { echo "$as_me:$LINENO: result: yes" >&5
19746 echo "${ECHO_T}yes" >&6; }
19747 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
19748 else
19749 echo "$as_me: failed program was:" >&5
19750 sed 's/^/| /' conftest.$ac_ext >&5
19751
19752 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
19753 See \`config.log' for more details." >&5
19754 echo "$as_me: error: no. CoreFoundation not available.
19755 See \`config.log' for more details." >&2;}
19756 { (exit 1); exit 1; }; }
19757
19758 fi
19759
19760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19761
19762
19763 fi
19764
19765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19766 ;;
19767 esac
19768
19769 wants_win32=0
19770 doesnt_want_win32=0
19771 case "${host}" in
19772 *-*-cygwin*)
19773 if test "$wxUSE_MSW" = 1 ; then
19774 wants_win32=1
19775 else
19776 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
19777 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
19778 if test "${wx_cv_nocygwin+set}" = set; then
19779 echo $ECHO_N "(cached) $ECHO_C" >&6
19780 else
19781
19782 cat >conftest.$ac_ext <<_ACEOF
19783 /* confdefs.h. */
19784 _ACEOF
19785 cat confdefs.h >>conftest.$ac_ext
19786 cat >>conftest.$ac_ext <<_ACEOF
19787 /* end confdefs.h. */
19788
19789 int
19790 main ()
19791 {
19792
19793 #ifdef __MINGW32__
19794 choke me
19795 #endif
19796
19797 ;
19798 return 0;
19799 }
19800 _ACEOF
19801 rm -f conftest.$ac_objext
19802 if { (ac_try="$ac_compile"
19803 case "(($ac_try" in
19804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19805 *) ac_try_echo=$ac_try;;
19806 esac
19807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19808 (eval "$ac_compile") 2>conftest.er1
19809 ac_status=$?
19810 grep -v '^ *+' conftest.er1 >conftest.err
19811 rm -f conftest.er1
19812 cat conftest.err >&5
19813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19814 (exit $ac_status); } && {
19815 test -z "$ac_c_werror_flag" ||
19816 test ! -s conftest.err
19817 } && test -s conftest.$ac_objext; then
19818 wx_cv_nocygwin=no
19819 else
19820 echo "$as_me: failed program was:" >&5
19821 sed 's/^/| /' conftest.$ac_ext >&5
19822
19823 wx_cv_nocygwin=yes
19824
19825 fi
19826
19827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19828
19829
19830 fi
19831 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
19832 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
19833
19834 if test "$wx_cv_nocygwin" = "yes"; then
19835 wants_win32=1
19836 else
19837 doesnt_want_win32=1
19838 fi
19839 fi
19840 if test "$wants_win32" = 1 ; then
19841 BAKEFILE_FORCE_PLATFORM=win32
19842 fi
19843 ;;
19844 *-*-mingw*)
19845 wants_win32=1
19846 ;;
19847 esac
19848
19849 if test "$wxUSE_WINE" = "yes"; then
19850 wants_win32=1
19851 LDFLAGS_GUI="-mwindows"
19852 fi
19853
19854 if test "$wants_win32" = 1 ; then
19855 USE_UNIX=0
19856 USE_WIN32=1
19857 cat >>confdefs.h <<\_ACEOF
19858 #define __WIN32__ 1
19859 _ACEOF
19860
19861 cat >>confdefs.h <<\_ACEOF
19862 #define __WIN95__ 1
19863 _ACEOF
19864
19865 cat >>confdefs.h <<\_ACEOF
19866 #define __WINDOWS__ 1
19867 _ACEOF
19868
19869 cat >>confdefs.h <<\_ACEOF
19870 #define __GNUWIN32__ 1
19871 _ACEOF
19872
19873 cat >>confdefs.h <<\_ACEOF
19874 #define STRICT 1
19875 _ACEOF
19876
19877 fi
19878 if test "$doesnt_want_win32" = 1 ; then
19879 USE_UNIX=1
19880 USE_WIN32=0
19881 fi
19882
19883 if test "$USE_UNIX" = 1 ; then
19884 wxUSE_UNIX=yes
19885 cat >>confdefs.h <<\_ACEOF
19886 #define __UNIX__ 1
19887 _ACEOF
19888
19889 fi
19890
19891 case "${host}" in
19892 *-pc-os2_emx | *-pc-os2-emx )
19893 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
19894 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
19895 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
19896 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
19897 echo $ECHO_N "(cached) $ECHO_C" >&6
19898 else
19899 ac_check_lib_save_LIBS=$LIBS
19900 LIBS="-lcExt $LIBS"
19901 cat >conftest.$ac_ext <<_ACEOF
19902 /* confdefs.h. */
19903 _ACEOF
19904 cat confdefs.h >>conftest.$ac_ext
19905 cat >>conftest.$ac_ext <<_ACEOF
19906 /* end confdefs.h. */
19907
19908 /* Override any GCC internal prototype to avoid an error.
19909 Use char because int might match the return type of a GCC
19910 builtin and then its argument prototype would still apply. */
19911 #ifdef __cplusplus
19912 extern "C"
19913 #endif
19914 char drand48 ();
19915 int
19916 main ()
19917 {
19918 return drand48 ();
19919 ;
19920 return 0;
19921 }
19922 _ACEOF
19923 rm -f conftest.$ac_objext conftest$ac_exeext
19924 if { (ac_try="$ac_link"
19925 case "(($ac_try" in
19926 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19927 *) ac_try_echo=$ac_try;;
19928 esac
19929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19930 (eval "$ac_link") 2>conftest.er1
19931 ac_status=$?
19932 grep -v '^ *+' conftest.er1 >conftest.err
19933 rm -f conftest.er1
19934 cat conftest.err >&5
19935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19936 (exit $ac_status); } && {
19937 test -z "$ac_c_werror_flag" ||
19938 test ! -s conftest.err
19939 } && test -s conftest$ac_exeext &&
19940 $as_test_x conftest$ac_exeext; then
19941 ac_cv_lib_cExt_drand48=yes
19942 else
19943 echo "$as_me: failed program was:" >&5
19944 sed 's/^/| /' conftest.$ac_ext >&5
19945
19946 ac_cv_lib_cExt_drand48=no
19947 fi
19948
19949 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19950 conftest$ac_exeext conftest.$ac_ext
19951 LIBS=$ac_check_lib_save_LIBS
19952 fi
19953 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
19954 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
19955 if test $ac_cv_lib_cExt_drand48 = yes; then
19956 LIBS="$LIBS -lcExt"
19957 fi
19958
19959 else
19960 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
19961 fi
19962 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
19963 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
19964 if test "${wx_cv_gccversion+set}" = set; then
19965 echo $ECHO_N "(cached) $ECHO_C" >&6
19966 else
19967
19968 if test "$cross_compiling" = yes; then
19969 wx_cv_gccversion="EMX2"
19970
19971 else
19972 cat >conftest.$ac_ext <<_ACEOF
19973 /* confdefs.h. */
19974 _ACEOF
19975 cat confdefs.h >>conftest.$ac_ext
19976 cat >>conftest.$ac_ext <<_ACEOF
19977 /* end confdefs.h. */
19978
19979 #include <stdio.h>
19980
19981 int main()
19982 {
19983 FILE *f=fopen("conftestval", "w");
19984 if (!f) exit(1);
19985 fprintf(f,
19986 #if (__GNUC__ < 3)
19987 "EMX2"
19988 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
19989 "EMX3"
19990 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
19991 "Innotek5"
19992 #else
19993 "Innotek6"
19994 #endif
19995 );
19996 exit(0);
19997 }
19998
19999 _ACEOF
20000 rm -f conftest$ac_exeext
20001 if { (ac_try="$ac_link"
20002 case "(($ac_try" in
20003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20004 *) ac_try_echo=$ac_try;;
20005 esac
20006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20007 (eval "$ac_link") 2>&5
20008 ac_status=$?
20009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20010 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20011 { (case "(($ac_try" in
20012 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20013 *) ac_try_echo=$ac_try;;
20014 esac
20015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20016 (eval "$ac_try") 2>&5
20017 ac_status=$?
20018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20019 (exit $ac_status); }; }; then
20020 wx_cv_gccversion=`cat conftestval`
20021 else
20022 echo "$as_me: program exited with status $ac_status" >&5
20023 echo "$as_me: failed program was:" >&5
20024 sed 's/^/| /' conftest.$ac_ext >&5
20025
20026 ( exit $ac_status )
20027 wx_cv_gccversion="EMX2"
20028 fi
20029 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20030 fi
20031
20032
20033
20034 fi
20035 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
20036 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
20037 if test "$wx_cv_gccversion" = "EMX2"; then
20038 LIBS="$LIBS -lstdcpp"
20039 LDFLAGS="$LDFLAGS -Zsysv-signals"
20040 else
20041 if test "$wx_cv_gccversion" = "EMX3"; then
20042 LIBS="$LIBS -lstdcxx -lgcc"
20043 LDFLAGS="$LDFLAGS -Zsysv-signals"
20044 else
20045 LIBS="$LIBS -lstdc++"
20046 fi
20047 fi
20048 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
20049 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
20050 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
20051 wxUSE_OMF=yes
20052 enable_omf=yes
20053 fi
20054 ;;
20055 *)
20056
20057 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
20058 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
20059 if test "${ac_cv_string_strcasecmp+set}" = set; then
20060 echo $ECHO_N "(cached) $ECHO_C" >&6
20061 else
20062
20063 cat >conftest.$ac_ext <<_ACEOF
20064 /* confdefs.h. */
20065 _ACEOF
20066 cat confdefs.h >>conftest.$ac_ext
20067 cat >>conftest.$ac_ext <<_ACEOF
20068 /* end confdefs.h. */
20069
20070 #include <string.h>
20071
20072 int
20073 main ()
20074 {
20075
20076 strcasecmp("foo", "bar");
20077
20078 ;
20079 return 0;
20080 }
20081 _ACEOF
20082 rm -f conftest.$ac_objext conftest$ac_exeext
20083 if { (ac_try="$ac_link"
20084 case "(($ac_try" in
20085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20086 *) ac_try_echo=$ac_try;;
20087 esac
20088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20089 (eval "$ac_link") 2>conftest.er1
20090 ac_status=$?
20091 grep -v '^ *+' conftest.er1 >conftest.err
20092 rm -f conftest.er1
20093 cat conftest.err >&5
20094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20095 (exit $ac_status); } && {
20096 test -z "$ac_c_werror_flag" ||
20097 test ! -s conftest.err
20098 } && test -s conftest$ac_exeext &&
20099 $as_test_x conftest$ac_exeext; then
20100 ac_cv_string_strcasecmp=yes
20101 else
20102 echo "$as_me: failed program was:" >&5
20103 sed 's/^/| /' conftest.$ac_ext >&5
20104
20105 ac_cv_string_strcasecmp=no
20106
20107 fi
20108
20109 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20110 conftest$ac_exeext conftest.$ac_ext
20111
20112 fi
20113 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
20114 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
20115
20116 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
20117 cat >>confdefs.h <<\_ACEOF
20118 #define HAVE_STRCASECMP_IN_STRING_H 1
20119 _ACEOF
20120
20121 else
20122 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
20123 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
20124 if test "${ac_cv_strings_strcasecmp+set}" = set; then
20125 echo $ECHO_N "(cached) $ECHO_C" >&6
20126 else
20127
20128 cat >conftest.$ac_ext <<_ACEOF
20129 /* confdefs.h. */
20130 _ACEOF
20131 cat confdefs.h >>conftest.$ac_ext
20132 cat >>conftest.$ac_ext <<_ACEOF
20133 /* end confdefs.h. */
20134
20135 #include <strings.h>
20136
20137 int
20138 main ()
20139 {
20140
20141 strcasecmp("foo", "bar");
20142
20143 ;
20144 return 0;
20145 }
20146 _ACEOF
20147 rm -f conftest.$ac_objext conftest$ac_exeext
20148 if { (ac_try="$ac_link"
20149 case "(($ac_try" in
20150 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20151 *) ac_try_echo=$ac_try;;
20152 esac
20153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20154 (eval "$ac_link") 2>conftest.er1
20155 ac_status=$?
20156 grep -v '^ *+' conftest.er1 >conftest.err
20157 rm -f conftest.er1
20158 cat conftest.err >&5
20159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20160 (exit $ac_status); } && {
20161 test -z "$ac_c_werror_flag" ||
20162 test ! -s conftest.err
20163 } && test -s conftest$ac_exeext &&
20164 $as_test_x conftest$ac_exeext; then
20165 ac_cv_strings_strcasecmp=yes
20166 else
20167 echo "$as_me: failed program was:" >&5
20168 sed 's/^/| /' conftest.$ac_ext >&5
20169
20170 ac_cv_strings_strcasecmp=no
20171
20172 fi
20173
20174 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20175 conftest$ac_exeext conftest.$ac_ext
20176
20177 fi
20178 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
20179 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
20180
20181 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
20182 cat >>confdefs.h <<\_ACEOF
20183 #define HAVE_STRCASECMP_IN_STRINGS_H 1
20184 _ACEOF
20185
20186 else
20187 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
20188 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
20189 { (exit 1); exit 1; }; }
20190 fi
20191 fi
20192
20193 ;;
20194 esac
20195
20196
20197 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
20198 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
20199 if test "${ac_cv_header_stdc+set}" = set; then
20200 echo $ECHO_N "(cached) $ECHO_C" >&6
20201 else
20202 cat >conftest.$ac_ext <<_ACEOF
20203 /* confdefs.h. */
20204 _ACEOF
20205 cat confdefs.h >>conftest.$ac_ext
20206 cat >>conftest.$ac_ext <<_ACEOF
20207 /* end confdefs.h. */
20208 #include <stdlib.h>
20209 #include <stdarg.h>
20210 #include <string.h>
20211 #include <float.h>
20212
20213 int
20214 main ()
20215 {
20216
20217 ;
20218 return 0;
20219 }
20220 _ACEOF
20221 rm -f conftest.$ac_objext
20222 if { (ac_try="$ac_compile"
20223 case "(($ac_try" in
20224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20225 *) ac_try_echo=$ac_try;;
20226 esac
20227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20228 (eval "$ac_compile") 2>conftest.er1
20229 ac_status=$?
20230 grep -v '^ *+' conftest.er1 >conftest.err
20231 rm -f conftest.er1
20232 cat conftest.err >&5
20233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20234 (exit $ac_status); } && {
20235 test -z "$ac_c_werror_flag" ||
20236 test ! -s conftest.err
20237 } && test -s conftest.$ac_objext; then
20238 ac_cv_header_stdc=yes
20239 else
20240 echo "$as_me: failed program was:" >&5
20241 sed 's/^/| /' conftest.$ac_ext >&5
20242
20243 ac_cv_header_stdc=no
20244 fi
20245
20246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20247
20248 if test $ac_cv_header_stdc = yes; then
20249 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
20250 cat >conftest.$ac_ext <<_ACEOF
20251 /* confdefs.h. */
20252 _ACEOF
20253 cat confdefs.h >>conftest.$ac_ext
20254 cat >>conftest.$ac_ext <<_ACEOF
20255 /* end confdefs.h. */
20256 #include <string.h>
20257
20258 _ACEOF
20259 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20260 $EGREP "memchr" >/dev/null 2>&1; then
20261 :
20262 else
20263 ac_cv_header_stdc=no
20264 fi
20265 rm -f conftest*
20266
20267 fi
20268
20269 if test $ac_cv_header_stdc = yes; then
20270 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
20271 cat >conftest.$ac_ext <<_ACEOF
20272 /* confdefs.h. */
20273 _ACEOF
20274 cat confdefs.h >>conftest.$ac_ext
20275 cat >>conftest.$ac_ext <<_ACEOF
20276 /* end confdefs.h. */
20277 #include <stdlib.h>
20278
20279 _ACEOF
20280 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20281 $EGREP "free" >/dev/null 2>&1; then
20282 :
20283 else
20284 ac_cv_header_stdc=no
20285 fi
20286 rm -f conftest*
20287
20288 fi
20289
20290 if test $ac_cv_header_stdc = yes; then
20291 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
20292 if test "$cross_compiling" = yes; then
20293 :
20294 else
20295 cat >conftest.$ac_ext <<_ACEOF
20296 /* confdefs.h. */
20297 _ACEOF
20298 cat confdefs.h >>conftest.$ac_ext
20299 cat >>conftest.$ac_ext <<_ACEOF
20300 /* end confdefs.h. */
20301 #include <ctype.h>
20302 #include <stdlib.h>
20303 #if ((' ' & 0x0FF) == 0x020)
20304 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
20305 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
20306 #else
20307 # define ISLOWER(c) \
20308 (('a' <= (c) && (c) <= 'i') \
20309 || ('j' <= (c) && (c) <= 'r') \
20310 || ('s' <= (c) && (c) <= 'z'))
20311 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
20312 #endif
20313
20314 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
20315 int
20316 main ()
20317 {
20318 int i;
20319 for (i = 0; i < 256; i++)
20320 if (XOR (islower (i), ISLOWER (i))
20321 || toupper (i) != TOUPPER (i))
20322 return 2;
20323 return 0;
20324 }
20325 _ACEOF
20326 rm -f conftest$ac_exeext
20327 if { (ac_try="$ac_link"
20328 case "(($ac_try" in
20329 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20330 *) ac_try_echo=$ac_try;;
20331 esac
20332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20333 (eval "$ac_link") 2>&5
20334 ac_status=$?
20335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20336 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20337 { (case "(($ac_try" in
20338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20339 *) ac_try_echo=$ac_try;;
20340 esac
20341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20342 (eval "$ac_try") 2>&5
20343 ac_status=$?
20344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20345 (exit $ac_status); }; }; then
20346 :
20347 else
20348 echo "$as_me: program exited with status $ac_status" >&5
20349 echo "$as_me: failed program was:" >&5
20350 sed 's/^/| /' conftest.$ac_ext >&5
20351
20352 ( exit $ac_status )
20353 ac_cv_header_stdc=no
20354 fi
20355 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20356 fi
20357
20358
20359 fi
20360 fi
20361 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
20362 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
20363 if test $ac_cv_header_stdc = yes; then
20364
20365 cat >>confdefs.h <<\_ACEOF
20366 #define STDC_HEADERS 1
20367 _ACEOF
20368
20369 fi
20370
20371 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
20372
20373
20374
20375
20376
20377
20378
20379
20380
20381 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
20382 inttypes.h stdint.h unistd.h
20383 do
20384 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20385 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20386 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20387 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20388 echo $ECHO_N "(cached) $ECHO_C" >&6
20389 else
20390 cat >conftest.$ac_ext <<_ACEOF
20391 /* confdefs.h. */
20392 _ACEOF
20393 cat confdefs.h >>conftest.$ac_ext
20394 cat >>conftest.$ac_ext <<_ACEOF
20395 /* end confdefs.h. */
20396 $ac_includes_default
20397
20398 #include <$ac_header>
20399 _ACEOF
20400 rm -f conftest.$ac_objext
20401 if { (ac_try="$ac_compile"
20402 case "(($ac_try" in
20403 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20404 *) ac_try_echo=$ac_try;;
20405 esac
20406 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20407 (eval "$ac_compile") 2>conftest.er1
20408 ac_status=$?
20409 grep -v '^ *+' conftest.er1 >conftest.err
20410 rm -f conftest.er1
20411 cat conftest.err >&5
20412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20413 (exit $ac_status); } && {
20414 test -z "$ac_c_werror_flag" ||
20415 test ! -s conftest.err
20416 } && test -s conftest.$ac_objext; then
20417 eval "$as_ac_Header=yes"
20418 else
20419 echo "$as_me: failed program was:" >&5
20420 sed 's/^/| /' conftest.$ac_ext >&5
20421
20422 eval "$as_ac_Header=no"
20423 fi
20424
20425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20426 fi
20427 ac_res=`eval echo '${'$as_ac_Header'}'`
20428 { echo "$as_me:$LINENO: result: $ac_res" >&5
20429 echo "${ECHO_T}$ac_res" >&6; }
20430 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20431 cat >>confdefs.h <<_ACEOF
20432 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20433 _ACEOF
20434
20435 fi
20436
20437 done
20438
20439
20440
20441
20442 for ac_header in langinfo.h wchar.h
20443 do
20444 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20445 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20446 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20447 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20448 echo $ECHO_N "(cached) $ECHO_C" >&6
20449 else
20450 cat >conftest.$ac_ext <<_ACEOF
20451 /* confdefs.h. */
20452 _ACEOF
20453 cat confdefs.h >>conftest.$ac_ext
20454 cat >>conftest.$ac_ext <<_ACEOF
20455 /* end confdefs.h. */
20456 $ac_includes_default
20457
20458 #include <$ac_header>
20459 _ACEOF
20460 rm -f conftest.$ac_objext
20461 if { (ac_try="$ac_compile"
20462 case "(($ac_try" in
20463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20464 *) ac_try_echo=$ac_try;;
20465 esac
20466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20467 (eval "$ac_compile") 2>conftest.er1
20468 ac_status=$?
20469 grep -v '^ *+' conftest.er1 >conftest.err
20470 rm -f conftest.er1
20471 cat conftest.err >&5
20472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20473 (exit $ac_status); } && {
20474 test -z "$ac_c_werror_flag" ||
20475 test ! -s conftest.err
20476 } && test -s conftest.$ac_objext; then
20477 eval "$as_ac_Header=yes"
20478 else
20479 echo "$as_me: failed program was:" >&5
20480 sed 's/^/| /' conftest.$ac_ext >&5
20481
20482 eval "$as_ac_Header=no"
20483 fi
20484
20485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20486 fi
20487 ac_res=`eval echo '${'$as_ac_Header'}'`
20488 { echo "$as_me:$LINENO: result: $ac_res" >&5
20489 echo "${ECHO_T}$ac_res" >&6; }
20490 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20491 cat >>confdefs.h <<_ACEOF
20492 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20493 _ACEOF
20494
20495 fi
20496
20497 done
20498
20499
20500 if test "$ac_cv_header_wchar_h" != "yes"; then
20501
20502 for ac_header in wcstr.h
20503 do
20504 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20505 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20506 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20507 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20508 echo $ECHO_N "(cached) $ECHO_C" >&6
20509 else
20510 cat >conftest.$ac_ext <<_ACEOF
20511 /* confdefs.h. */
20512 _ACEOF
20513 cat confdefs.h >>conftest.$ac_ext
20514 cat >>conftest.$ac_ext <<_ACEOF
20515 /* end confdefs.h. */
20516 $ac_includes_default
20517
20518 #include <$ac_header>
20519 _ACEOF
20520 rm -f conftest.$ac_objext
20521 if { (ac_try="$ac_compile"
20522 case "(($ac_try" in
20523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20524 *) ac_try_echo=$ac_try;;
20525 esac
20526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20527 (eval "$ac_compile") 2>conftest.er1
20528 ac_status=$?
20529 grep -v '^ *+' conftest.er1 >conftest.err
20530 rm -f conftest.er1
20531 cat conftest.err >&5
20532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20533 (exit $ac_status); } && {
20534 test -z "$ac_c_werror_flag" ||
20535 test ! -s conftest.err
20536 } && test -s conftest.$ac_objext; then
20537 eval "$as_ac_Header=yes"
20538 else
20539 echo "$as_me: failed program was:" >&5
20540 sed 's/^/| /' conftest.$ac_ext >&5
20541
20542 eval "$as_ac_Header=no"
20543 fi
20544
20545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20546 fi
20547 ac_res=`eval echo '${'$as_ac_Header'}'`
20548 { echo "$as_me:$LINENO: result: $ac_res" >&5
20549 echo "${ECHO_T}$ac_res" >&6; }
20550 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20551 cat >>confdefs.h <<_ACEOF
20552 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20553 _ACEOF
20554
20555 fi
20556
20557 done
20558
20559 fi
20560
20561 case "${host}" in
20562 *-pc-os2_emx | *-pc-os2-emx )
20563 if test $ac_cv_header_langinfo_h = "yes" \
20564 -a \( "$wx_cv_gccversion" = "EMX2" \
20565 -o "$wx_cv_gccversion" = "EMX3" \
20566 -o "$wx_cv_gccversion" = "Innotek5" \); then
20567 LIBS="$LIBS -lintl"
20568 fi
20569 ;;
20570 esac
20571
20572 if test "$USE_UNIX" = 1 ; then
20573
20574 for ac_header in sys/select.h
20575 do
20576 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20577 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20578 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20579 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20580 echo $ECHO_N "(cached) $ECHO_C" >&6
20581 else
20582 cat >conftest.$ac_ext <<_ACEOF
20583 /* confdefs.h. */
20584 _ACEOF
20585 cat confdefs.h >>conftest.$ac_ext
20586 cat >>conftest.$ac_ext <<_ACEOF
20587 /* end confdefs.h. */
20588 $ac_includes_default
20589
20590 #include <$ac_header>
20591 _ACEOF
20592 rm -f conftest.$ac_objext
20593 if { (ac_try="$ac_compile"
20594 case "(($ac_try" in
20595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20596 *) ac_try_echo=$ac_try;;
20597 esac
20598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20599 (eval "$ac_compile") 2>conftest.er1
20600 ac_status=$?
20601 grep -v '^ *+' conftest.er1 >conftest.err
20602 rm -f conftest.er1
20603 cat conftest.err >&5
20604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20605 (exit $ac_status); } && {
20606 test -z "$ac_c_werror_flag" ||
20607 test ! -s conftest.err
20608 } && test -s conftest.$ac_objext; then
20609 eval "$as_ac_Header=yes"
20610 else
20611 echo "$as_me: failed program was:" >&5
20612 sed 's/^/| /' conftest.$ac_ext >&5
20613
20614 eval "$as_ac_Header=no"
20615 fi
20616
20617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20618 fi
20619 ac_res=`eval echo '${'$as_ac_Header'}'`
20620 { echo "$as_me:$LINENO: result: $ac_res" >&5
20621 echo "${ECHO_T}$ac_res" >&6; }
20622 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20623 cat >>confdefs.h <<_ACEOF
20624 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20625 _ACEOF
20626
20627 fi
20628
20629 done
20630
20631 fi
20632
20633
20634 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
20635 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
20636 if test "${ac_cv_c_const+set}" = set; then
20637 echo $ECHO_N "(cached) $ECHO_C" >&6
20638 else
20639 cat >conftest.$ac_ext <<_ACEOF
20640 /* confdefs.h. */
20641 _ACEOF
20642 cat confdefs.h >>conftest.$ac_ext
20643 cat >>conftest.$ac_ext <<_ACEOF
20644 /* end confdefs.h. */
20645
20646 int
20647 main ()
20648 {
20649 /* FIXME: Include the comments suggested by Paul. */
20650 #ifndef __cplusplus
20651 /* Ultrix mips cc rejects this. */
20652 typedef int charset[2];
20653 const charset cs;
20654 /* SunOS 4.1.1 cc rejects this. */
20655 char const *const *pcpcc;
20656 char **ppc;
20657 /* NEC SVR4.0.2 mips cc rejects this. */
20658 struct point {int x, y;};
20659 static struct point const zero = {0,0};
20660 /* AIX XL C 1.02.0.0 rejects this.
20661 It does not let you subtract one const X* pointer from another in
20662 an arm of an if-expression whose if-part is not a constant
20663 expression */
20664 const char *g = "string";
20665 pcpcc = &g + (g ? g-g : 0);
20666 /* HPUX 7.0 cc rejects these. */
20667 ++pcpcc;
20668 ppc = (char**) pcpcc;
20669 pcpcc = (char const *const *) ppc;
20670 { /* SCO 3.2v4 cc rejects this. */
20671 char *t;
20672 char const *s = 0 ? (char *) 0 : (char const *) 0;
20673
20674 *t++ = 0;
20675 if (s) return 0;
20676 }
20677 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
20678 int x[] = {25, 17};
20679 const int *foo = &x[0];
20680 ++foo;
20681 }
20682 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
20683 typedef const int *iptr;
20684 iptr p = 0;
20685 ++p;
20686 }
20687 { /* AIX XL C 1.02.0.0 rejects this saying
20688 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
20689 struct s { int j; const int *ap[3]; };
20690 struct s *b; b->j = 5;
20691 }
20692 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
20693 const int foo = 10;
20694 if (!foo) return 0;
20695 }
20696 return !cs[0] && !zero.x;
20697 #endif
20698
20699 ;
20700 return 0;
20701 }
20702 _ACEOF
20703 rm -f conftest.$ac_objext
20704 if { (ac_try="$ac_compile"
20705 case "(($ac_try" in
20706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20707 *) ac_try_echo=$ac_try;;
20708 esac
20709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20710 (eval "$ac_compile") 2>conftest.er1
20711 ac_status=$?
20712 grep -v '^ *+' conftest.er1 >conftest.err
20713 rm -f conftest.er1
20714 cat conftest.err >&5
20715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20716 (exit $ac_status); } && {
20717 test -z "$ac_c_werror_flag" ||
20718 test ! -s conftest.err
20719 } && test -s conftest.$ac_objext; then
20720 ac_cv_c_const=yes
20721 else
20722 echo "$as_me: failed program was:" >&5
20723 sed 's/^/| /' conftest.$ac_ext >&5
20724
20725 ac_cv_c_const=no
20726 fi
20727
20728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20729 fi
20730 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
20731 echo "${ECHO_T}$ac_cv_c_const" >&6; }
20732 if test $ac_cv_c_const = no; then
20733
20734 cat >>confdefs.h <<\_ACEOF
20735 #define const
20736 _ACEOF
20737
20738 fi
20739
20740 { echo "$as_me:$LINENO: checking for inline" >&5
20741 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
20742 if test "${ac_cv_c_inline+set}" = set; then
20743 echo $ECHO_N "(cached) $ECHO_C" >&6
20744 else
20745 ac_cv_c_inline=no
20746 for ac_kw in inline __inline__ __inline; do
20747 cat >conftest.$ac_ext <<_ACEOF
20748 /* confdefs.h. */
20749 _ACEOF
20750 cat confdefs.h >>conftest.$ac_ext
20751 cat >>conftest.$ac_ext <<_ACEOF
20752 /* end confdefs.h. */
20753 #ifndef __cplusplus
20754 typedef int foo_t;
20755 static $ac_kw foo_t static_foo () {return 0; }
20756 $ac_kw foo_t foo () {return 0; }
20757 #endif
20758
20759 _ACEOF
20760 rm -f conftest.$ac_objext
20761 if { (ac_try="$ac_compile"
20762 case "(($ac_try" in
20763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20764 *) ac_try_echo=$ac_try;;
20765 esac
20766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20767 (eval "$ac_compile") 2>conftest.er1
20768 ac_status=$?
20769 grep -v '^ *+' conftest.er1 >conftest.err
20770 rm -f conftest.er1
20771 cat conftest.err >&5
20772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20773 (exit $ac_status); } && {
20774 test -z "$ac_c_werror_flag" ||
20775 test ! -s conftest.err
20776 } && test -s conftest.$ac_objext; then
20777 ac_cv_c_inline=$ac_kw
20778 else
20779 echo "$as_me: failed program was:" >&5
20780 sed 's/^/| /' conftest.$ac_ext >&5
20781
20782
20783 fi
20784
20785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20786 test "$ac_cv_c_inline" != no && break
20787 done
20788
20789 fi
20790 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
20791 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
20792
20793
20794 case $ac_cv_c_inline in
20795 inline | yes) ;;
20796 *)
20797 case $ac_cv_c_inline in
20798 no) ac_val=;;
20799 *) ac_val=$ac_cv_c_inline;;
20800 esac
20801 cat >>confdefs.h <<_ACEOF
20802 #ifndef __cplusplus
20803 #define inline $ac_val
20804 #endif
20805 _ACEOF
20806 ;;
20807 esac
20808
20809
20810 { echo "$as_me:$LINENO: checking for short" >&5
20811 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
20812 if test "${ac_cv_type_short+set}" = set; then
20813 echo $ECHO_N "(cached) $ECHO_C" >&6
20814 else
20815 cat >conftest.$ac_ext <<_ACEOF
20816 /* confdefs.h. */
20817 _ACEOF
20818 cat confdefs.h >>conftest.$ac_ext
20819 cat >>conftest.$ac_ext <<_ACEOF
20820 /* end confdefs.h. */
20821 $ac_includes_default
20822 typedef short ac__type_new_;
20823 int
20824 main ()
20825 {
20826 if ((ac__type_new_ *) 0)
20827 return 0;
20828 if (sizeof (ac__type_new_))
20829 return 0;
20830 ;
20831 return 0;
20832 }
20833 _ACEOF
20834 rm -f conftest.$ac_objext
20835 if { (ac_try="$ac_compile"
20836 case "(($ac_try" in
20837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20838 *) ac_try_echo=$ac_try;;
20839 esac
20840 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20841 (eval "$ac_compile") 2>conftest.er1
20842 ac_status=$?
20843 grep -v '^ *+' conftest.er1 >conftest.err
20844 rm -f conftest.er1
20845 cat conftest.err >&5
20846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20847 (exit $ac_status); } && {
20848 test -z "$ac_c_werror_flag" ||
20849 test ! -s conftest.err
20850 } && test -s conftest.$ac_objext; then
20851 ac_cv_type_short=yes
20852 else
20853 echo "$as_me: failed program was:" >&5
20854 sed 's/^/| /' conftest.$ac_ext >&5
20855
20856 ac_cv_type_short=no
20857 fi
20858
20859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20860 fi
20861 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
20862 echo "${ECHO_T}$ac_cv_type_short" >&6; }
20863
20864 # The cast to long int works around a bug in the HP C Compiler
20865 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20866 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20867 # This bug is HP SR number 8606223364.
20868 { echo "$as_me:$LINENO: checking size of short" >&5
20869 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
20870 if test "${ac_cv_sizeof_short+set}" = set; then
20871 echo $ECHO_N "(cached) $ECHO_C" >&6
20872 else
20873 if test "$cross_compiling" = yes; then
20874 # Depending upon the size, compute the lo and hi bounds.
20875 cat >conftest.$ac_ext <<_ACEOF
20876 /* confdefs.h. */
20877 _ACEOF
20878 cat confdefs.h >>conftest.$ac_ext
20879 cat >>conftest.$ac_ext <<_ACEOF
20880 /* end confdefs.h. */
20881 $ac_includes_default
20882 typedef short ac__type_sizeof_;
20883 int
20884 main ()
20885 {
20886 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20887 test_array [0] = 0
20888
20889 ;
20890 return 0;
20891 }
20892 _ACEOF
20893 rm -f conftest.$ac_objext
20894 if { (ac_try="$ac_compile"
20895 case "(($ac_try" in
20896 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20897 *) ac_try_echo=$ac_try;;
20898 esac
20899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20900 (eval "$ac_compile") 2>conftest.er1
20901 ac_status=$?
20902 grep -v '^ *+' conftest.er1 >conftest.err
20903 rm -f conftest.er1
20904 cat conftest.err >&5
20905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20906 (exit $ac_status); } && {
20907 test -z "$ac_c_werror_flag" ||
20908 test ! -s conftest.err
20909 } && test -s conftest.$ac_objext; then
20910 ac_lo=0 ac_mid=0
20911 while :; do
20912 cat >conftest.$ac_ext <<_ACEOF
20913 /* confdefs.h. */
20914 _ACEOF
20915 cat confdefs.h >>conftest.$ac_ext
20916 cat >>conftest.$ac_ext <<_ACEOF
20917 /* end confdefs.h. */
20918 $ac_includes_default
20919 typedef short ac__type_sizeof_;
20920 int
20921 main ()
20922 {
20923 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20924 test_array [0] = 0
20925
20926 ;
20927 return 0;
20928 }
20929 _ACEOF
20930 rm -f conftest.$ac_objext
20931 if { (ac_try="$ac_compile"
20932 case "(($ac_try" in
20933 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20934 *) ac_try_echo=$ac_try;;
20935 esac
20936 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20937 (eval "$ac_compile") 2>conftest.er1
20938 ac_status=$?
20939 grep -v '^ *+' conftest.er1 >conftest.err
20940 rm -f conftest.er1
20941 cat conftest.err >&5
20942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20943 (exit $ac_status); } && {
20944 test -z "$ac_c_werror_flag" ||
20945 test ! -s conftest.err
20946 } && test -s conftest.$ac_objext; then
20947 ac_hi=$ac_mid; break
20948 else
20949 echo "$as_me: failed program was:" >&5
20950 sed 's/^/| /' conftest.$ac_ext >&5
20951
20952 ac_lo=`expr $ac_mid + 1`
20953 if test $ac_lo -le $ac_mid; then
20954 ac_lo= ac_hi=
20955 break
20956 fi
20957 ac_mid=`expr 2 '*' $ac_mid + 1`
20958 fi
20959
20960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20961 done
20962 else
20963 echo "$as_me: failed program was:" >&5
20964 sed 's/^/| /' conftest.$ac_ext >&5
20965
20966 cat >conftest.$ac_ext <<_ACEOF
20967 /* confdefs.h. */
20968 _ACEOF
20969 cat confdefs.h >>conftest.$ac_ext
20970 cat >>conftest.$ac_ext <<_ACEOF
20971 /* end confdefs.h. */
20972 $ac_includes_default
20973 typedef short ac__type_sizeof_;
20974 int
20975 main ()
20976 {
20977 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20978 test_array [0] = 0
20979
20980 ;
20981 return 0;
20982 }
20983 _ACEOF
20984 rm -f conftest.$ac_objext
20985 if { (ac_try="$ac_compile"
20986 case "(($ac_try" in
20987 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20988 *) ac_try_echo=$ac_try;;
20989 esac
20990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20991 (eval "$ac_compile") 2>conftest.er1
20992 ac_status=$?
20993 grep -v '^ *+' conftest.er1 >conftest.err
20994 rm -f conftest.er1
20995 cat conftest.err >&5
20996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20997 (exit $ac_status); } && {
20998 test -z "$ac_c_werror_flag" ||
20999 test ! -s conftest.err
21000 } && test -s conftest.$ac_objext; then
21001 ac_hi=-1 ac_mid=-1
21002 while :; do
21003 cat >conftest.$ac_ext <<_ACEOF
21004 /* confdefs.h. */
21005 _ACEOF
21006 cat confdefs.h >>conftest.$ac_ext
21007 cat >>conftest.$ac_ext <<_ACEOF
21008 /* end confdefs.h. */
21009 $ac_includes_default
21010 typedef short ac__type_sizeof_;
21011 int
21012 main ()
21013 {
21014 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21015 test_array [0] = 0
21016
21017 ;
21018 return 0;
21019 }
21020 _ACEOF
21021 rm -f conftest.$ac_objext
21022 if { (ac_try="$ac_compile"
21023 case "(($ac_try" in
21024 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21025 *) ac_try_echo=$ac_try;;
21026 esac
21027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21028 (eval "$ac_compile") 2>conftest.er1
21029 ac_status=$?
21030 grep -v '^ *+' conftest.er1 >conftest.err
21031 rm -f conftest.er1
21032 cat conftest.err >&5
21033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21034 (exit $ac_status); } && {
21035 test -z "$ac_c_werror_flag" ||
21036 test ! -s conftest.err
21037 } && test -s conftest.$ac_objext; then
21038 ac_lo=$ac_mid; break
21039 else
21040 echo "$as_me: failed program was:" >&5
21041 sed 's/^/| /' conftest.$ac_ext >&5
21042
21043 ac_hi=`expr '(' $ac_mid ')' - 1`
21044 if test $ac_mid -le $ac_hi; then
21045 ac_lo= ac_hi=
21046 break
21047 fi
21048 ac_mid=`expr 2 '*' $ac_mid`
21049 fi
21050
21051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21052 done
21053 else
21054 echo "$as_me: failed program was:" >&5
21055 sed 's/^/| /' conftest.$ac_ext >&5
21056
21057 ac_lo= ac_hi=
21058 fi
21059
21060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21061 fi
21062
21063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21064 # Binary search between lo and hi bounds.
21065 while test "x$ac_lo" != "x$ac_hi"; do
21066 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21067 cat >conftest.$ac_ext <<_ACEOF
21068 /* confdefs.h. */
21069 _ACEOF
21070 cat confdefs.h >>conftest.$ac_ext
21071 cat >>conftest.$ac_ext <<_ACEOF
21072 /* end confdefs.h. */
21073 $ac_includes_default
21074 typedef short ac__type_sizeof_;
21075 int
21076 main ()
21077 {
21078 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21079 test_array [0] = 0
21080
21081 ;
21082 return 0;
21083 }
21084 _ACEOF
21085 rm -f conftest.$ac_objext
21086 if { (ac_try="$ac_compile"
21087 case "(($ac_try" in
21088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21089 *) ac_try_echo=$ac_try;;
21090 esac
21091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21092 (eval "$ac_compile") 2>conftest.er1
21093 ac_status=$?
21094 grep -v '^ *+' conftest.er1 >conftest.err
21095 rm -f conftest.er1
21096 cat conftest.err >&5
21097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21098 (exit $ac_status); } && {
21099 test -z "$ac_c_werror_flag" ||
21100 test ! -s conftest.err
21101 } && test -s conftest.$ac_objext; then
21102 ac_hi=$ac_mid
21103 else
21104 echo "$as_me: failed program was:" >&5
21105 sed 's/^/| /' conftest.$ac_ext >&5
21106
21107 ac_lo=`expr '(' $ac_mid ')' + 1`
21108 fi
21109
21110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21111 done
21112 case $ac_lo in
21113 ?*) ac_cv_sizeof_short=$ac_lo;;
21114 '') if test "$ac_cv_type_short" = yes; then
21115 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
21116 See \`config.log' for more details." >&5
21117 echo "$as_me: error: cannot compute sizeof (short)
21118 See \`config.log' for more details." >&2;}
21119 { (exit 77); exit 77; }; }
21120 else
21121 ac_cv_sizeof_short=0
21122 fi ;;
21123 esac
21124 else
21125 cat >conftest.$ac_ext <<_ACEOF
21126 /* confdefs.h. */
21127 _ACEOF
21128 cat confdefs.h >>conftest.$ac_ext
21129 cat >>conftest.$ac_ext <<_ACEOF
21130 /* end confdefs.h. */
21131 $ac_includes_default
21132 typedef short ac__type_sizeof_;
21133 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21134 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21135 #include <stdio.h>
21136 #include <stdlib.h>
21137 int
21138 main ()
21139 {
21140
21141 FILE *f = fopen ("conftest.val", "w");
21142 if (! f)
21143 return 1;
21144 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21145 {
21146 long int i = longval ();
21147 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21148 return 1;
21149 fprintf (f, "%ld\n", i);
21150 }
21151 else
21152 {
21153 unsigned long int i = ulongval ();
21154 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21155 return 1;
21156 fprintf (f, "%lu\n", i);
21157 }
21158 return ferror (f) || fclose (f) != 0;
21159
21160 ;
21161 return 0;
21162 }
21163 _ACEOF
21164 rm -f conftest$ac_exeext
21165 if { (ac_try="$ac_link"
21166 case "(($ac_try" in
21167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21168 *) ac_try_echo=$ac_try;;
21169 esac
21170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21171 (eval "$ac_link") 2>&5
21172 ac_status=$?
21173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21174 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21175 { (case "(($ac_try" in
21176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21177 *) ac_try_echo=$ac_try;;
21178 esac
21179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21180 (eval "$ac_try") 2>&5
21181 ac_status=$?
21182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21183 (exit $ac_status); }; }; then
21184 ac_cv_sizeof_short=`cat conftest.val`
21185 else
21186 echo "$as_me: program exited with status $ac_status" >&5
21187 echo "$as_me: failed program was:" >&5
21188 sed 's/^/| /' conftest.$ac_ext >&5
21189
21190 ( exit $ac_status )
21191 if test "$ac_cv_type_short" = yes; then
21192 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
21193 See \`config.log' for more details." >&5
21194 echo "$as_me: error: cannot compute sizeof (short)
21195 See \`config.log' for more details." >&2;}
21196 { (exit 77); exit 77; }; }
21197 else
21198 ac_cv_sizeof_short=0
21199 fi
21200 fi
21201 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21202 fi
21203 rm -f conftest.val
21204 fi
21205 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
21206 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
21207
21208
21209
21210 cat >>confdefs.h <<_ACEOF
21211 #define SIZEOF_SHORT $ac_cv_sizeof_short
21212 _ACEOF
21213
21214
21215 { echo "$as_me:$LINENO: checking for void *" >&5
21216 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
21217 if test "${ac_cv_type_void_p+set}" = set; then
21218 echo $ECHO_N "(cached) $ECHO_C" >&6
21219 else
21220 cat >conftest.$ac_ext <<_ACEOF
21221 /* confdefs.h. */
21222 _ACEOF
21223 cat confdefs.h >>conftest.$ac_ext
21224 cat >>conftest.$ac_ext <<_ACEOF
21225 /* end confdefs.h. */
21226 $ac_includes_default
21227 typedef void * ac__type_new_;
21228 int
21229 main ()
21230 {
21231 if ((ac__type_new_ *) 0)
21232 return 0;
21233 if (sizeof (ac__type_new_))
21234 return 0;
21235 ;
21236 return 0;
21237 }
21238 _ACEOF
21239 rm -f conftest.$ac_objext
21240 if { (ac_try="$ac_compile"
21241 case "(($ac_try" in
21242 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21243 *) ac_try_echo=$ac_try;;
21244 esac
21245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21246 (eval "$ac_compile") 2>conftest.er1
21247 ac_status=$?
21248 grep -v '^ *+' conftest.er1 >conftest.err
21249 rm -f conftest.er1
21250 cat conftest.err >&5
21251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21252 (exit $ac_status); } && {
21253 test -z "$ac_c_werror_flag" ||
21254 test ! -s conftest.err
21255 } && test -s conftest.$ac_objext; then
21256 ac_cv_type_void_p=yes
21257 else
21258 echo "$as_me: failed program was:" >&5
21259 sed 's/^/| /' conftest.$ac_ext >&5
21260
21261 ac_cv_type_void_p=no
21262 fi
21263
21264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21265 fi
21266 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
21267 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
21268
21269 # The cast to long int works around a bug in the HP C Compiler
21270 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21271 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21272 # This bug is HP SR number 8606223364.
21273 { echo "$as_me:$LINENO: checking size of void *" >&5
21274 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
21275 if test "${ac_cv_sizeof_void_p+set}" = set; then
21276 echo $ECHO_N "(cached) $ECHO_C" >&6
21277 else
21278 if test "$cross_compiling" = yes; then
21279 # Depending upon the size, compute the lo and hi bounds.
21280 cat >conftest.$ac_ext <<_ACEOF
21281 /* confdefs.h. */
21282 _ACEOF
21283 cat confdefs.h >>conftest.$ac_ext
21284 cat >>conftest.$ac_ext <<_ACEOF
21285 /* end confdefs.h. */
21286 $ac_includes_default
21287 typedef void * ac__type_sizeof_;
21288 int
21289 main ()
21290 {
21291 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21292 test_array [0] = 0
21293
21294 ;
21295 return 0;
21296 }
21297 _ACEOF
21298 rm -f conftest.$ac_objext
21299 if { (ac_try="$ac_compile"
21300 case "(($ac_try" in
21301 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21302 *) ac_try_echo=$ac_try;;
21303 esac
21304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21305 (eval "$ac_compile") 2>conftest.er1
21306 ac_status=$?
21307 grep -v '^ *+' conftest.er1 >conftest.err
21308 rm -f conftest.er1
21309 cat conftest.err >&5
21310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21311 (exit $ac_status); } && {
21312 test -z "$ac_c_werror_flag" ||
21313 test ! -s conftest.err
21314 } && test -s conftest.$ac_objext; then
21315 ac_lo=0 ac_mid=0
21316 while :; do
21317 cat >conftest.$ac_ext <<_ACEOF
21318 /* confdefs.h. */
21319 _ACEOF
21320 cat confdefs.h >>conftest.$ac_ext
21321 cat >>conftest.$ac_ext <<_ACEOF
21322 /* end confdefs.h. */
21323 $ac_includes_default
21324 typedef void * ac__type_sizeof_;
21325 int
21326 main ()
21327 {
21328 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21329 test_array [0] = 0
21330
21331 ;
21332 return 0;
21333 }
21334 _ACEOF
21335 rm -f conftest.$ac_objext
21336 if { (ac_try="$ac_compile"
21337 case "(($ac_try" in
21338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21339 *) ac_try_echo=$ac_try;;
21340 esac
21341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21342 (eval "$ac_compile") 2>conftest.er1
21343 ac_status=$?
21344 grep -v '^ *+' conftest.er1 >conftest.err
21345 rm -f conftest.er1
21346 cat conftest.err >&5
21347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21348 (exit $ac_status); } && {
21349 test -z "$ac_c_werror_flag" ||
21350 test ! -s conftest.err
21351 } && test -s conftest.$ac_objext; then
21352 ac_hi=$ac_mid; break
21353 else
21354 echo "$as_me: failed program was:" >&5
21355 sed 's/^/| /' conftest.$ac_ext >&5
21356
21357 ac_lo=`expr $ac_mid + 1`
21358 if test $ac_lo -le $ac_mid; then
21359 ac_lo= ac_hi=
21360 break
21361 fi
21362 ac_mid=`expr 2 '*' $ac_mid + 1`
21363 fi
21364
21365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21366 done
21367 else
21368 echo "$as_me: failed program was:" >&5
21369 sed 's/^/| /' conftest.$ac_ext >&5
21370
21371 cat >conftest.$ac_ext <<_ACEOF
21372 /* confdefs.h. */
21373 _ACEOF
21374 cat confdefs.h >>conftest.$ac_ext
21375 cat >>conftest.$ac_ext <<_ACEOF
21376 /* end confdefs.h. */
21377 $ac_includes_default
21378 typedef void * ac__type_sizeof_;
21379 int
21380 main ()
21381 {
21382 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21383 test_array [0] = 0
21384
21385 ;
21386 return 0;
21387 }
21388 _ACEOF
21389 rm -f conftest.$ac_objext
21390 if { (ac_try="$ac_compile"
21391 case "(($ac_try" in
21392 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21393 *) ac_try_echo=$ac_try;;
21394 esac
21395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21396 (eval "$ac_compile") 2>conftest.er1
21397 ac_status=$?
21398 grep -v '^ *+' conftest.er1 >conftest.err
21399 rm -f conftest.er1
21400 cat conftest.err >&5
21401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21402 (exit $ac_status); } && {
21403 test -z "$ac_c_werror_flag" ||
21404 test ! -s conftest.err
21405 } && test -s conftest.$ac_objext; then
21406 ac_hi=-1 ac_mid=-1
21407 while :; do
21408 cat >conftest.$ac_ext <<_ACEOF
21409 /* confdefs.h. */
21410 _ACEOF
21411 cat confdefs.h >>conftest.$ac_ext
21412 cat >>conftest.$ac_ext <<_ACEOF
21413 /* end confdefs.h. */
21414 $ac_includes_default
21415 typedef void * ac__type_sizeof_;
21416 int
21417 main ()
21418 {
21419 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21420 test_array [0] = 0
21421
21422 ;
21423 return 0;
21424 }
21425 _ACEOF
21426 rm -f conftest.$ac_objext
21427 if { (ac_try="$ac_compile"
21428 case "(($ac_try" in
21429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21430 *) ac_try_echo=$ac_try;;
21431 esac
21432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21433 (eval "$ac_compile") 2>conftest.er1
21434 ac_status=$?
21435 grep -v '^ *+' conftest.er1 >conftest.err
21436 rm -f conftest.er1
21437 cat conftest.err >&5
21438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21439 (exit $ac_status); } && {
21440 test -z "$ac_c_werror_flag" ||
21441 test ! -s conftest.err
21442 } && test -s conftest.$ac_objext; then
21443 ac_lo=$ac_mid; break
21444 else
21445 echo "$as_me: failed program was:" >&5
21446 sed 's/^/| /' conftest.$ac_ext >&5
21447
21448 ac_hi=`expr '(' $ac_mid ')' - 1`
21449 if test $ac_mid -le $ac_hi; then
21450 ac_lo= ac_hi=
21451 break
21452 fi
21453 ac_mid=`expr 2 '*' $ac_mid`
21454 fi
21455
21456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21457 done
21458 else
21459 echo "$as_me: failed program was:" >&5
21460 sed 's/^/| /' conftest.$ac_ext >&5
21461
21462 ac_lo= ac_hi=
21463 fi
21464
21465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21466 fi
21467
21468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21469 # Binary search between lo and hi bounds.
21470 while test "x$ac_lo" != "x$ac_hi"; do
21471 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21472 cat >conftest.$ac_ext <<_ACEOF
21473 /* confdefs.h. */
21474 _ACEOF
21475 cat confdefs.h >>conftest.$ac_ext
21476 cat >>conftest.$ac_ext <<_ACEOF
21477 /* end confdefs.h. */
21478 $ac_includes_default
21479 typedef void * ac__type_sizeof_;
21480 int
21481 main ()
21482 {
21483 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21484 test_array [0] = 0
21485
21486 ;
21487 return 0;
21488 }
21489 _ACEOF
21490 rm -f conftest.$ac_objext
21491 if { (ac_try="$ac_compile"
21492 case "(($ac_try" in
21493 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21494 *) ac_try_echo=$ac_try;;
21495 esac
21496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21497 (eval "$ac_compile") 2>conftest.er1
21498 ac_status=$?
21499 grep -v '^ *+' conftest.er1 >conftest.err
21500 rm -f conftest.er1
21501 cat conftest.err >&5
21502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21503 (exit $ac_status); } && {
21504 test -z "$ac_c_werror_flag" ||
21505 test ! -s conftest.err
21506 } && test -s conftest.$ac_objext; then
21507 ac_hi=$ac_mid
21508 else
21509 echo "$as_me: failed program was:" >&5
21510 sed 's/^/| /' conftest.$ac_ext >&5
21511
21512 ac_lo=`expr '(' $ac_mid ')' + 1`
21513 fi
21514
21515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21516 done
21517 case $ac_lo in
21518 ?*) ac_cv_sizeof_void_p=$ac_lo;;
21519 '') if test "$ac_cv_type_void_p" = yes; then
21520 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
21521 See \`config.log' for more details." >&5
21522 echo "$as_me: error: cannot compute sizeof (void *)
21523 See \`config.log' for more details." >&2;}
21524 { (exit 77); exit 77; }; }
21525 else
21526 ac_cv_sizeof_void_p=0
21527 fi ;;
21528 esac
21529 else
21530 cat >conftest.$ac_ext <<_ACEOF
21531 /* confdefs.h. */
21532 _ACEOF
21533 cat confdefs.h >>conftest.$ac_ext
21534 cat >>conftest.$ac_ext <<_ACEOF
21535 /* end confdefs.h. */
21536 $ac_includes_default
21537 typedef void * ac__type_sizeof_;
21538 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21539 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21540 #include <stdio.h>
21541 #include <stdlib.h>
21542 int
21543 main ()
21544 {
21545
21546 FILE *f = fopen ("conftest.val", "w");
21547 if (! f)
21548 return 1;
21549 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21550 {
21551 long int i = longval ();
21552 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21553 return 1;
21554 fprintf (f, "%ld\n", i);
21555 }
21556 else
21557 {
21558 unsigned long int i = ulongval ();
21559 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21560 return 1;
21561 fprintf (f, "%lu\n", i);
21562 }
21563 return ferror (f) || fclose (f) != 0;
21564
21565 ;
21566 return 0;
21567 }
21568 _ACEOF
21569 rm -f conftest$ac_exeext
21570 if { (ac_try="$ac_link"
21571 case "(($ac_try" in
21572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21573 *) ac_try_echo=$ac_try;;
21574 esac
21575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21576 (eval "$ac_link") 2>&5
21577 ac_status=$?
21578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21579 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21580 { (case "(($ac_try" in
21581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21582 *) ac_try_echo=$ac_try;;
21583 esac
21584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21585 (eval "$ac_try") 2>&5
21586 ac_status=$?
21587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21588 (exit $ac_status); }; }; then
21589 ac_cv_sizeof_void_p=`cat conftest.val`
21590 else
21591 echo "$as_me: program exited with status $ac_status" >&5
21592 echo "$as_me: failed program was:" >&5
21593 sed 's/^/| /' conftest.$ac_ext >&5
21594
21595 ( exit $ac_status )
21596 if test "$ac_cv_type_void_p" = yes; then
21597 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
21598 See \`config.log' for more details." >&5
21599 echo "$as_me: error: cannot compute sizeof (void *)
21600 See \`config.log' for more details." >&2;}
21601 { (exit 77); exit 77; }; }
21602 else
21603 ac_cv_sizeof_void_p=0
21604 fi
21605 fi
21606 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21607 fi
21608 rm -f conftest.val
21609 fi
21610 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
21611 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
21612
21613
21614
21615 cat >>confdefs.h <<_ACEOF
21616 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
21617 _ACEOF
21618
21619
21620 { echo "$as_me:$LINENO: checking for int" >&5
21621 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
21622 if test "${ac_cv_type_int+set}" = set; then
21623 echo $ECHO_N "(cached) $ECHO_C" >&6
21624 else
21625 cat >conftest.$ac_ext <<_ACEOF
21626 /* confdefs.h. */
21627 _ACEOF
21628 cat confdefs.h >>conftest.$ac_ext
21629 cat >>conftest.$ac_ext <<_ACEOF
21630 /* end confdefs.h. */
21631 $ac_includes_default
21632 typedef int ac__type_new_;
21633 int
21634 main ()
21635 {
21636 if ((ac__type_new_ *) 0)
21637 return 0;
21638 if (sizeof (ac__type_new_))
21639 return 0;
21640 ;
21641 return 0;
21642 }
21643 _ACEOF
21644 rm -f conftest.$ac_objext
21645 if { (ac_try="$ac_compile"
21646 case "(($ac_try" in
21647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21648 *) ac_try_echo=$ac_try;;
21649 esac
21650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21651 (eval "$ac_compile") 2>conftest.er1
21652 ac_status=$?
21653 grep -v '^ *+' conftest.er1 >conftest.err
21654 rm -f conftest.er1
21655 cat conftest.err >&5
21656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21657 (exit $ac_status); } && {
21658 test -z "$ac_c_werror_flag" ||
21659 test ! -s conftest.err
21660 } && test -s conftest.$ac_objext; then
21661 ac_cv_type_int=yes
21662 else
21663 echo "$as_me: failed program was:" >&5
21664 sed 's/^/| /' conftest.$ac_ext >&5
21665
21666 ac_cv_type_int=no
21667 fi
21668
21669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21670 fi
21671 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
21672 echo "${ECHO_T}$ac_cv_type_int" >&6; }
21673
21674 # The cast to long int works around a bug in the HP C Compiler
21675 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21676 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21677 # This bug is HP SR number 8606223364.
21678 { echo "$as_me:$LINENO: checking size of int" >&5
21679 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
21680 if test "${ac_cv_sizeof_int+set}" = set; then
21681 echo $ECHO_N "(cached) $ECHO_C" >&6
21682 else
21683 if test "$cross_compiling" = yes; then
21684 # Depending upon the size, compute the lo and hi bounds.
21685 cat >conftest.$ac_ext <<_ACEOF
21686 /* confdefs.h. */
21687 _ACEOF
21688 cat confdefs.h >>conftest.$ac_ext
21689 cat >>conftest.$ac_ext <<_ACEOF
21690 /* end confdefs.h. */
21691 $ac_includes_default
21692 typedef int ac__type_sizeof_;
21693 int
21694 main ()
21695 {
21696 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21697 test_array [0] = 0
21698
21699 ;
21700 return 0;
21701 }
21702 _ACEOF
21703 rm -f conftest.$ac_objext
21704 if { (ac_try="$ac_compile"
21705 case "(($ac_try" in
21706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21707 *) ac_try_echo=$ac_try;;
21708 esac
21709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21710 (eval "$ac_compile") 2>conftest.er1
21711 ac_status=$?
21712 grep -v '^ *+' conftest.er1 >conftest.err
21713 rm -f conftest.er1
21714 cat conftest.err >&5
21715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21716 (exit $ac_status); } && {
21717 test -z "$ac_c_werror_flag" ||
21718 test ! -s conftest.err
21719 } && test -s conftest.$ac_objext; then
21720 ac_lo=0 ac_mid=0
21721 while :; do
21722 cat >conftest.$ac_ext <<_ACEOF
21723 /* confdefs.h. */
21724 _ACEOF
21725 cat confdefs.h >>conftest.$ac_ext
21726 cat >>conftest.$ac_ext <<_ACEOF
21727 /* end confdefs.h. */
21728 $ac_includes_default
21729 typedef int ac__type_sizeof_;
21730 int
21731 main ()
21732 {
21733 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21734 test_array [0] = 0
21735
21736 ;
21737 return 0;
21738 }
21739 _ACEOF
21740 rm -f conftest.$ac_objext
21741 if { (ac_try="$ac_compile"
21742 case "(($ac_try" in
21743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21744 *) ac_try_echo=$ac_try;;
21745 esac
21746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21747 (eval "$ac_compile") 2>conftest.er1
21748 ac_status=$?
21749 grep -v '^ *+' conftest.er1 >conftest.err
21750 rm -f conftest.er1
21751 cat conftest.err >&5
21752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21753 (exit $ac_status); } && {
21754 test -z "$ac_c_werror_flag" ||
21755 test ! -s conftest.err
21756 } && test -s conftest.$ac_objext; then
21757 ac_hi=$ac_mid; break
21758 else
21759 echo "$as_me: failed program was:" >&5
21760 sed 's/^/| /' conftest.$ac_ext >&5
21761
21762 ac_lo=`expr $ac_mid + 1`
21763 if test $ac_lo -le $ac_mid; then
21764 ac_lo= ac_hi=
21765 break
21766 fi
21767 ac_mid=`expr 2 '*' $ac_mid + 1`
21768 fi
21769
21770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21771 done
21772 else
21773 echo "$as_me: failed program was:" >&5
21774 sed 's/^/| /' conftest.$ac_ext >&5
21775
21776 cat >conftest.$ac_ext <<_ACEOF
21777 /* confdefs.h. */
21778 _ACEOF
21779 cat confdefs.h >>conftest.$ac_ext
21780 cat >>conftest.$ac_ext <<_ACEOF
21781 /* end confdefs.h. */
21782 $ac_includes_default
21783 typedef int ac__type_sizeof_;
21784 int
21785 main ()
21786 {
21787 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21788 test_array [0] = 0
21789
21790 ;
21791 return 0;
21792 }
21793 _ACEOF
21794 rm -f conftest.$ac_objext
21795 if { (ac_try="$ac_compile"
21796 case "(($ac_try" in
21797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21798 *) ac_try_echo=$ac_try;;
21799 esac
21800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21801 (eval "$ac_compile") 2>conftest.er1
21802 ac_status=$?
21803 grep -v '^ *+' conftest.er1 >conftest.err
21804 rm -f conftest.er1
21805 cat conftest.err >&5
21806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21807 (exit $ac_status); } && {
21808 test -z "$ac_c_werror_flag" ||
21809 test ! -s conftest.err
21810 } && test -s conftest.$ac_objext; then
21811 ac_hi=-1 ac_mid=-1
21812 while :; do
21813 cat >conftest.$ac_ext <<_ACEOF
21814 /* confdefs.h. */
21815 _ACEOF
21816 cat confdefs.h >>conftest.$ac_ext
21817 cat >>conftest.$ac_ext <<_ACEOF
21818 /* end confdefs.h. */
21819 $ac_includes_default
21820 typedef int ac__type_sizeof_;
21821 int
21822 main ()
21823 {
21824 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21825 test_array [0] = 0
21826
21827 ;
21828 return 0;
21829 }
21830 _ACEOF
21831 rm -f conftest.$ac_objext
21832 if { (ac_try="$ac_compile"
21833 case "(($ac_try" in
21834 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21835 *) ac_try_echo=$ac_try;;
21836 esac
21837 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21838 (eval "$ac_compile") 2>conftest.er1
21839 ac_status=$?
21840 grep -v '^ *+' conftest.er1 >conftest.err
21841 rm -f conftest.er1
21842 cat conftest.err >&5
21843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21844 (exit $ac_status); } && {
21845 test -z "$ac_c_werror_flag" ||
21846 test ! -s conftest.err
21847 } && test -s conftest.$ac_objext; then
21848 ac_lo=$ac_mid; break
21849 else
21850 echo "$as_me: failed program was:" >&5
21851 sed 's/^/| /' conftest.$ac_ext >&5
21852
21853 ac_hi=`expr '(' $ac_mid ')' - 1`
21854 if test $ac_mid -le $ac_hi; then
21855 ac_lo= ac_hi=
21856 break
21857 fi
21858 ac_mid=`expr 2 '*' $ac_mid`
21859 fi
21860
21861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21862 done
21863 else
21864 echo "$as_me: failed program was:" >&5
21865 sed 's/^/| /' conftest.$ac_ext >&5
21866
21867 ac_lo= ac_hi=
21868 fi
21869
21870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21871 fi
21872
21873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21874 # Binary search between lo and hi bounds.
21875 while test "x$ac_lo" != "x$ac_hi"; do
21876 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21877 cat >conftest.$ac_ext <<_ACEOF
21878 /* confdefs.h. */
21879 _ACEOF
21880 cat confdefs.h >>conftest.$ac_ext
21881 cat >>conftest.$ac_ext <<_ACEOF
21882 /* end confdefs.h. */
21883 $ac_includes_default
21884 typedef int ac__type_sizeof_;
21885 int
21886 main ()
21887 {
21888 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21889 test_array [0] = 0
21890
21891 ;
21892 return 0;
21893 }
21894 _ACEOF
21895 rm -f conftest.$ac_objext
21896 if { (ac_try="$ac_compile"
21897 case "(($ac_try" in
21898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21899 *) ac_try_echo=$ac_try;;
21900 esac
21901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21902 (eval "$ac_compile") 2>conftest.er1
21903 ac_status=$?
21904 grep -v '^ *+' conftest.er1 >conftest.err
21905 rm -f conftest.er1
21906 cat conftest.err >&5
21907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21908 (exit $ac_status); } && {
21909 test -z "$ac_c_werror_flag" ||
21910 test ! -s conftest.err
21911 } && test -s conftest.$ac_objext; then
21912 ac_hi=$ac_mid
21913 else
21914 echo "$as_me: failed program was:" >&5
21915 sed 's/^/| /' conftest.$ac_ext >&5
21916
21917 ac_lo=`expr '(' $ac_mid ')' + 1`
21918 fi
21919
21920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21921 done
21922 case $ac_lo in
21923 ?*) ac_cv_sizeof_int=$ac_lo;;
21924 '') if test "$ac_cv_type_int" = yes; then
21925 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
21926 See \`config.log' for more details." >&5
21927 echo "$as_me: error: cannot compute sizeof (int)
21928 See \`config.log' for more details." >&2;}
21929 { (exit 77); exit 77; }; }
21930 else
21931 ac_cv_sizeof_int=0
21932 fi ;;
21933 esac
21934 else
21935 cat >conftest.$ac_ext <<_ACEOF
21936 /* confdefs.h. */
21937 _ACEOF
21938 cat confdefs.h >>conftest.$ac_ext
21939 cat >>conftest.$ac_ext <<_ACEOF
21940 /* end confdefs.h. */
21941 $ac_includes_default
21942 typedef int ac__type_sizeof_;
21943 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21944 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21945 #include <stdio.h>
21946 #include <stdlib.h>
21947 int
21948 main ()
21949 {
21950
21951 FILE *f = fopen ("conftest.val", "w");
21952 if (! f)
21953 return 1;
21954 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21955 {
21956 long int i = longval ();
21957 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21958 return 1;
21959 fprintf (f, "%ld\n", i);
21960 }
21961 else
21962 {
21963 unsigned long int i = ulongval ();
21964 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21965 return 1;
21966 fprintf (f, "%lu\n", i);
21967 }
21968 return ferror (f) || fclose (f) != 0;
21969
21970 ;
21971 return 0;
21972 }
21973 _ACEOF
21974 rm -f conftest$ac_exeext
21975 if { (ac_try="$ac_link"
21976 case "(($ac_try" in
21977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21978 *) ac_try_echo=$ac_try;;
21979 esac
21980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21981 (eval "$ac_link") 2>&5
21982 ac_status=$?
21983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21984 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21985 { (case "(($ac_try" in
21986 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21987 *) ac_try_echo=$ac_try;;
21988 esac
21989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21990 (eval "$ac_try") 2>&5
21991 ac_status=$?
21992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21993 (exit $ac_status); }; }; then
21994 ac_cv_sizeof_int=`cat conftest.val`
21995 else
21996 echo "$as_me: program exited with status $ac_status" >&5
21997 echo "$as_me: failed program was:" >&5
21998 sed 's/^/| /' conftest.$ac_ext >&5
21999
22000 ( exit $ac_status )
22001 if test "$ac_cv_type_int" = yes; then
22002 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
22003 See \`config.log' for more details." >&5
22004 echo "$as_me: error: cannot compute sizeof (int)
22005 See \`config.log' for more details." >&2;}
22006 { (exit 77); exit 77; }; }
22007 else
22008 ac_cv_sizeof_int=0
22009 fi
22010 fi
22011 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22012 fi
22013 rm -f conftest.val
22014 fi
22015 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
22016 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
22017
22018
22019
22020 cat >>confdefs.h <<_ACEOF
22021 #define SIZEOF_INT $ac_cv_sizeof_int
22022 _ACEOF
22023
22024
22025 { echo "$as_me:$LINENO: checking for long" >&5
22026 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
22027 if test "${ac_cv_type_long+set}" = set; then
22028 echo $ECHO_N "(cached) $ECHO_C" >&6
22029 else
22030 cat >conftest.$ac_ext <<_ACEOF
22031 /* confdefs.h. */
22032 _ACEOF
22033 cat confdefs.h >>conftest.$ac_ext
22034 cat >>conftest.$ac_ext <<_ACEOF
22035 /* end confdefs.h. */
22036 $ac_includes_default
22037 typedef long ac__type_new_;
22038 int
22039 main ()
22040 {
22041 if ((ac__type_new_ *) 0)
22042 return 0;
22043 if (sizeof (ac__type_new_))
22044 return 0;
22045 ;
22046 return 0;
22047 }
22048 _ACEOF
22049 rm -f conftest.$ac_objext
22050 if { (ac_try="$ac_compile"
22051 case "(($ac_try" in
22052 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22053 *) ac_try_echo=$ac_try;;
22054 esac
22055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22056 (eval "$ac_compile") 2>conftest.er1
22057 ac_status=$?
22058 grep -v '^ *+' conftest.er1 >conftest.err
22059 rm -f conftest.er1
22060 cat conftest.err >&5
22061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22062 (exit $ac_status); } && {
22063 test -z "$ac_c_werror_flag" ||
22064 test ! -s conftest.err
22065 } && test -s conftest.$ac_objext; then
22066 ac_cv_type_long=yes
22067 else
22068 echo "$as_me: failed program was:" >&5
22069 sed 's/^/| /' conftest.$ac_ext >&5
22070
22071 ac_cv_type_long=no
22072 fi
22073
22074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22075 fi
22076 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
22077 echo "${ECHO_T}$ac_cv_type_long" >&6; }
22078
22079 # The cast to long int works around a bug in the HP C Compiler
22080 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22081 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22082 # This bug is HP SR number 8606223364.
22083 { echo "$as_me:$LINENO: checking size of long" >&5
22084 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
22085 if test "${ac_cv_sizeof_long+set}" = set; then
22086 echo $ECHO_N "(cached) $ECHO_C" >&6
22087 else
22088 if test "$cross_compiling" = yes; then
22089 # Depending upon the size, compute the lo and hi bounds.
22090 cat >conftest.$ac_ext <<_ACEOF
22091 /* confdefs.h. */
22092 _ACEOF
22093 cat confdefs.h >>conftest.$ac_ext
22094 cat >>conftest.$ac_ext <<_ACEOF
22095 /* end confdefs.h. */
22096 $ac_includes_default
22097 typedef long ac__type_sizeof_;
22098 int
22099 main ()
22100 {
22101 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22102 test_array [0] = 0
22103
22104 ;
22105 return 0;
22106 }
22107 _ACEOF
22108 rm -f conftest.$ac_objext
22109 if { (ac_try="$ac_compile"
22110 case "(($ac_try" in
22111 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22112 *) ac_try_echo=$ac_try;;
22113 esac
22114 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22115 (eval "$ac_compile") 2>conftest.er1
22116 ac_status=$?
22117 grep -v '^ *+' conftest.er1 >conftest.err
22118 rm -f conftest.er1
22119 cat conftest.err >&5
22120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22121 (exit $ac_status); } && {
22122 test -z "$ac_c_werror_flag" ||
22123 test ! -s conftest.err
22124 } && test -s conftest.$ac_objext; then
22125 ac_lo=0 ac_mid=0
22126 while :; do
22127 cat >conftest.$ac_ext <<_ACEOF
22128 /* confdefs.h. */
22129 _ACEOF
22130 cat confdefs.h >>conftest.$ac_ext
22131 cat >>conftest.$ac_ext <<_ACEOF
22132 /* end confdefs.h. */
22133 $ac_includes_default
22134 typedef long ac__type_sizeof_;
22135 int
22136 main ()
22137 {
22138 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22139 test_array [0] = 0
22140
22141 ;
22142 return 0;
22143 }
22144 _ACEOF
22145 rm -f conftest.$ac_objext
22146 if { (ac_try="$ac_compile"
22147 case "(($ac_try" in
22148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22149 *) ac_try_echo=$ac_try;;
22150 esac
22151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22152 (eval "$ac_compile") 2>conftest.er1
22153 ac_status=$?
22154 grep -v '^ *+' conftest.er1 >conftest.err
22155 rm -f conftest.er1
22156 cat conftest.err >&5
22157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22158 (exit $ac_status); } && {
22159 test -z "$ac_c_werror_flag" ||
22160 test ! -s conftest.err
22161 } && test -s conftest.$ac_objext; then
22162 ac_hi=$ac_mid; break
22163 else
22164 echo "$as_me: failed program was:" >&5
22165 sed 's/^/| /' conftest.$ac_ext >&5
22166
22167 ac_lo=`expr $ac_mid + 1`
22168 if test $ac_lo -le $ac_mid; then
22169 ac_lo= ac_hi=
22170 break
22171 fi
22172 ac_mid=`expr 2 '*' $ac_mid + 1`
22173 fi
22174
22175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22176 done
22177 else
22178 echo "$as_me: failed program was:" >&5
22179 sed 's/^/| /' conftest.$ac_ext >&5
22180
22181 cat >conftest.$ac_ext <<_ACEOF
22182 /* confdefs.h. */
22183 _ACEOF
22184 cat confdefs.h >>conftest.$ac_ext
22185 cat >>conftest.$ac_ext <<_ACEOF
22186 /* end confdefs.h. */
22187 $ac_includes_default
22188 typedef long ac__type_sizeof_;
22189 int
22190 main ()
22191 {
22192 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22193 test_array [0] = 0
22194
22195 ;
22196 return 0;
22197 }
22198 _ACEOF
22199 rm -f conftest.$ac_objext
22200 if { (ac_try="$ac_compile"
22201 case "(($ac_try" in
22202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22203 *) ac_try_echo=$ac_try;;
22204 esac
22205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22206 (eval "$ac_compile") 2>conftest.er1
22207 ac_status=$?
22208 grep -v '^ *+' conftest.er1 >conftest.err
22209 rm -f conftest.er1
22210 cat conftest.err >&5
22211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22212 (exit $ac_status); } && {
22213 test -z "$ac_c_werror_flag" ||
22214 test ! -s conftest.err
22215 } && test -s conftest.$ac_objext; then
22216 ac_hi=-1 ac_mid=-1
22217 while :; do
22218 cat >conftest.$ac_ext <<_ACEOF
22219 /* confdefs.h. */
22220 _ACEOF
22221 cat confdefs.h >>conftest.$ac_ext
22222 cat >>conftest.$ac_ext <<_ACEOF
22223 /* end confdefs.h. */
22224 $ac_includes_default
22225 typedef long ac__type_sizeof_;
22226 int
22227 main ()
22228 {
22229 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22230 test_array [0] = 0
22231
22232 ;
22233 return 0;
22234 }
22235 _ACEOF
22236 rm -f conftest.$ac_objext
22237 if { (ac_try="$ac_compile"
22238 case "(($ac_try" in
22239 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22240 *) ac_try_echo=$ac_try;;
22241 esac
22242 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22243 (eval "$ac_compile") 2>conftest.er1
22244 ac_status=$?
22245 grep -v '^ *+' conftest.er1 >conftest.err
22246 rm -f conftest.er1
22247 cat conftest.err >&5
22248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22249 (exit $ac_status); } && {
22250 test -z "$ac_c_werror_flag" ||
22251 test ! -s conftest.err
22252 } && test -s conftest.$ac_objext; then
22253 ac_lo=$ac_mid; break
22254 else
22255 echo "$as_me: failed program was:" >&5
22256 sed 's/^/| /' conftest.$ac_ext >&5
22257
22258 ac_hi=`expr '(' $ac_mid ')' - 1`
22259 if test $ac_mid -le $ac_hi; then
22260 ac_lo= ac_hi=
22261 break
22262 fi
22263 ac_mid=`expr 2 '*' $ac_mid`
22264 fi
22265
22266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22267 done
22268 else
22269 echo "$as_me: failed program was:" >&5
22270 sed 's/^/| /' conftest.$ac_ext >&5
22271
22272 ac_lo= ac_hi=
22273 fi
22274
22275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22276 fi
22277
22278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22279 # Binary search between lo and hi bounds.
22280 while test "x$ac_lo" != "x$ac_hi"; do
22281 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22282 cat >conftest.$ac_ext <<_ACEOF
22283 /* confdefs.h. */
22284 _ACEOF
22285 cat confdefs.h >>conftest.$ac_ext
22286 cat >>conftest.$ac_ext <<_ACEOF
22287 /* end confdefs.h. */
22288 $ac_includes_default
22289 typedef long ac__type_sizeof_;
22290 int
22291 main ()
22292 {
22293 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22294 test_array [0] = 0
22295
22296 ;
22297 return 0;
22298 }
22299 _ACEOF
22300 rm -f conftest.$ac_objext
22301 if { (ac_try="$ac_compile"
22302 case "(($ac_try" in
22303 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22304 *) ac_try_echo=$ac_try;;
22305 esac
22306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22307 (eval "$ac_compile") 2>conftest.er1
22308 ac_status=$?
22309 grep -v '^ *+' conftest.er1 >conftest.err
22310 rm -f conftest.er1
22311 cat conftest.err >&5
22312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22313 (exit $ac_status); } && {
22314 test -z "$ac_c_werror_flag" ||
22315 test ! -s conftest.err
22316 } && test -s conftest.$ac_objext; then
22317 ac_hi=$ac_mid
22318 else
22319 echo "$as_me: failed program was:" >&5
22320 sed 's/^/| /' conftest.$ac_ext >&5
22321
22322 ac_lo=`expr '(' $ac_mid ')' + 1`
22323 fi
22324
22325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22326 done
22327 case $ac_lo in
22328 ?*) ac_cv_sizeof_long=$ac_lo;;
22329 '') if test "$ac_cv_type_long" = yes; then
22330 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
22331 See \`config.log' for more details." >&5
22332 echo "$as_me: error: cannot compute sizeof (long)
22333 See \`config.log' for more details." >&2;}
22334 { (exit 77); exit 77; }; }
22335 else
22336 ac_cv_sizeof_long=0
22337 fi ;;
22338 esac
22339 else
22340 cat >conftest.$ac_ext <<_ACEOF
22341 /* confdefs.h. */
22342 _ACEOF
22343 cat confdefs.h >>conftest.$ac_ext
22344 cat >>conftest.$ac_ext <<_ACEOF
22345 /* end confdefs.h. */
22346 $ac_includes_default
22347 typedef long ac__type_sizeof_;
22348 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22349 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22350 #include <stdio.h>
22351 #include <stdlib.h>
22352 int
22353 main ()
22354 {
22355
22356 FILE *f = fopen ("conftest.val", "w");
22357 if (! f)
22358 return 1;
22359 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22360 {
22361 long int i = longval ();
22362 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22363 return 1;
22364 fprintf (f, "%ld\n", i);
22365 }
22366 else
22367 {
22368 unsigned long int i = ulongval ();
22369 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22370 return 1;
22371 fprintf (f, "%lu\n", i);
22372 }
22373 return ferror (f) || fclose (f) != 0;
22374
22375 ;
22376 return 0;
22377 }
22378 _ACEOF
22379 rm -f conftest$ac_exeext
22380 if { (ac_try="$ac_link"
22381 case "(($ac_try" in
22382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22383 *) ac_try_echo=$ac_try;;
22384 esac
22385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22386 (eval "$ac_link") 2>&5
22387 ac_status=$?
22388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22389 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22390 { (case "(($ac_try" in
22391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22392 *) ac_try_echo=$ac_try;;
22393 esac
22394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22395 (eval "$ac_try") 2>&5
22396 ac_status=$?
22397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22398 (exit $ac_status); }; }; then
22399 ac_cv_sizeof_long=`cat conftest.val`
22400 else
22401 echo "$as_me: program exited with status $ac_status" >&5
22402 echo "$as_me: failed program was:" >&5
22403 sed 's/^/| /' conftest.$ac_ext >&5
22404
22405 ( exit $ac_status )
22406 if test "$ac_cv_type_long" = yes; then
22407 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
22408 See \`config.log' for more details." >&5
22409 echo "$as_me: error: cannot compute sizeof (long)
22410 See \`config.log' for more details." >&2;}
22411 { (exit 77); exit 77; }; }
22412 else
22413 ac_cv_sizeof_long=0
22414 fi
22415 fi
22416 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22417 fi
22418 rm -f conftest.val
22419 fi
22420 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
22421 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
22422
22423
22424
22425 cat >>confdefs.h <<_ACEOF
22426 #define SIZEOF_LONG $ac_cv_sizeof_long
22427 _ACEOF
22428
22429
22430 { echo "$as_me:$LINENO: checking for size_t" >&5
22431 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
22432 if test "${ac_cv_type_size_t+set}" = set; then
22433 echo $ECHO_N "(cached) $ECHO_C" >&6
22434 else
22435 cat >conftest.$ac_ext <<_ACEOF
22436 /* confdefs.h. */
22437 _ACEOF
22438 cat confdefs.h >>conftest.$ac_ext
22439 cat >>conftest.$ac_ext <<_ACEOF
22440 /* end confdefs.h. */
22441 $ac_includes_default
22442 typedef size_t ac__type_new_;
22443 int
22444 main ()
22445 {
22446 if ((ac__type_new_ *) 0)
22447 return 0;
22448 if (sizeof (ac__type_new_))
22449 return 0;
22450 ;
22451 return 0;
22452 }
22453 _ACEOF
22454 rm -f conftest.$ac_objext
22455 if { (ac_try="$ac_compile"
22456 case "(($ac_try" in
22457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22458 *) ac_try_echo=$ac_try;;
22459 esac
22460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22461 (eval "$ac_compile") 2>conftest.er1
22462 ac_status=$?
22463 grep -v '^ *+' conftest.er1 >conftest.err
22464 rm -f conftest.er1
22465 cat conftest.err >&5
22466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22467 (exit $ac_status); } && {
22468 test -z "$ac_c_werror_flag" ||
22469 test ! -s conftest.err
22470 } && test -s conftest.$ac_objext; then
22471 ac_cv_type_size_t=yes
22472 else
22473 echo "$as_me: failed program was:" >&5
22474 sed 's/^/| /' conftest.$ac_ext >&5
22475
22476 ac_cv_type_size_t=no
22477 fi
22478
22479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22480 fi
22481 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
22482 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
22483
22484 # The cast to long int works around a bug in the HP C Compiler
22485 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22486 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22487 # This bug is HP SR number 8606223364.
22488 { echo "$as_me:$LINENO: checking size of size_t" >&5
22489 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
22490 if test "${ac_cv_sizeof_size_t+set}" = set; then
22491 echo $ECHO_N "(cached) $ECHO_C" >&6
22492 else
22493 if test "$cross_compiling" = yes; then
22494 # Depending upon the size, compute the lo and hi bounds.
22495 cat >conftest.$ac_ext <<_ACEOF
22496 /* confdefs.h. */
22497 _ACEOF
22498 cat confdefs.h >>conftest.$ac_ext
22499 cat >>conftest.$ac_ext <<_ACEOF
22500 /* end confdefs.h. */
22501 $ac_includes_default
22502 typedef size_t ac__type_sizeof_;
22503 int
22504 main ()
22505 {
22506 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22507 test_array [0] = 0
22508
22509 ;
22510 return 0;
22511 }
22512 _ACEOF
22513 rm -f conftest.$ac_objext
22514 if { (ac_try="$ac_compile"
22515 case "(($ac_try" in
22516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22517 *) ac_try_echo=$ac_try;;
22518 esac
22519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22520 (eval "$ac_compile") 2>conftest.er1
22521 ac_status=$?
22522 grep -v '^ *+' conftest.er1 >conftest.err
22523 rm -f conftest.er1
22524 cat conftest.err >&5
22525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22526 (exit $ac_status); } && {
22527 test -z "$ac_c_werror_flag" ||
22528 test ! -s conftest.err
22529 } && test -s conftest.$ac_objext; then
22530 ac_lo=0 ac_mid=0
22531 while :; do
22532 cat >conftest.$ac_ext <<_ACEOF
22533 /* confdefs.h. */
22534 _ACEOF
22535 cat confdefs.h >>conftest.$ac_ext
22536 cat >>conftest.$ac_ext <<_ACEOF
22537 /* end confdefs.h. */
22538 $ac_includes_default
22539 typedef size_t ac__type_sizeof_;
22540 int
22541 main ()
22542 {
22543 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22544 test_array [0] = 0
22545
22546 ;
22547 return 0;
22548 }
22549 _ACEOF
22550 rm -f conftest.$ac_objext
22551 if { (ac_try="$ac_compile"
22552 case "(($ac_try" in
22553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22554 *) ac_try_echo=$ac_try;;
22555 esac
22556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22557 (eval "$ac_compile") 2>conftest.er1
22558 ac_status=$?
22559 grep -v '^ *+' conftest.er1 >conftest.err
22560 rm -f conftest.er1
22561 cat conftest.err >&5
22562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22563 (exit $ac_status); } && {
22564 test -z "$ac_c_werror_flag" ||
22565 test ! -s conftest.err
22566 } && test -s conftest.$ac_objext; then
22567 ac_hi=$ac_mid; break
22568 else
22569 echo "$as_me: failed program was:" >&5
22570 sed 's/^/| /' conftest.$ac_ext >&5
22571
22572 ac_lo=`expr $ac_mid + 1`
22573 if test $ac_lo -le $ac_mid; then
22574 ac_lo= ac_hi=
22575 break
22576 fi
22577 ac_mid=`expr 2 '*' $ac_mid + 1`
22578 fi
22579
22580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22581 done
22582 else
22583 echo "$as_me: failed program was:" >&5
22584 sed 's/^/| /' conftest.$ac_ext >&5
22585
22586 cat >conftest.$ac_ext <<_ACEOF
22587 /* confdefs.h. */
22588 _ACEOF
22589 cat confdefs.h >>conftest.$ac_ext
22590 cat >>conftest.$ac_ext <<_ACEOF
22591 /* end confdefs.h. */
22592 $ac_includes_default
22593 typedef size_t ac__type_sizeof_;
22594 int
22595 main ()
22596 {
22597 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22598 test_array [0] = 0
22599
22600 ;
22601 return 0;
22602 }
22603 _ACEOF
22604 rm -f conftest.$ac_objext
22605 if { (ac_try="$ac_compile"
22606 case "(($ac_try" in
22607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22608 *) ac_try_echo=$ac_try;;
22609 esac
22610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22611 (eval "$ac_compile") 2>conftest.er1
22612 ac_status=$?
22613 grep -v '^ *+' conftest.er1 >conftest.err
22614 rm -f conftest.er1
22615 cat conftest.err >&5
22616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22617 (exit $ac_status); } && {
22618 test -z "$ac_c_werror_flag" ||
22619 test ! -s conftest.err
22620 } && test -s conftest.$ac_objext; then
22621 ac_hi=-1 ac_mid=-1
22622 while :; do
22623 cat >conftest.$ac_ext <<_ACEOF
22624 /* confdefs.h. */
22625 _ACEOF
22626 cat confdefs.h >>conftest.$ac_ext
22627 cat >>conftest.$ac_ext <<_ACEOF
22628 /* end confdefs.h. */
22629 $ac_includes_default
22630 typedef size_t ac__type_sizeof_;
22631 int
22632 main ()
22633 {
22634 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22635 test_array [0] = 0
22636
22637 ;
22638 return 0;
22639 }
22640 _ACEOF
22641 rm -f conftest.$ac_objext
22642 if { (ac_try="$ac_compile"
22643 case "(($ac_try" in
22644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22645 *) ac_try_echo=$ac_try;;
22646 esac
22647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22648 (eval "$ac_compile") 2>conftest.er1
22649 ac_status=$?
22650 grep -v '^ *+' conftest.er1 >conftest.err
22651 rm -f conftest.er1
22652 cat conftest.err >&5
22653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22654 (exit $ac_status); } && {
22655 test -z "$ac_c_werror_flag" ||
22656 test ! -s conftest.err
22657 } && test -s conftest.$ac_objext; then
22658 ac_lo=$ac_mid; break
22659 else
22660 echo "$as_me: failed program was:" >&5
22661 sed 's/^/| /' conftest.$ac_ext >&5
22662
22663 ac_hi=`expr '(' $ac_mid ')' - 1`
22664 if test $ac_mid -le $ac_hi; then
22665 ac_lo= ac_hi=
22666 break
22667 fi
22668 ac_mid=`expr 2 '*' $ac_mid`
22669 fi
22670
22671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22672 done
22673 else
22674 echo "$as_me: failed program was:" >&5
22675 sed 's/^/| /' conftest.$ac_ext >&5
22676
22677 ac_lo= ac_hi=
22678 fi
22679
22680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22681 fi
22682
22683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22684 # Binary search between lo and hi bounds.
22685 while test "x$ac_lo" != "x$ac_hi"; do
22686 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22687 cat >conftest.$ac_ext <<_ACEOF
22688 /* confdefs.h. */
22689 _ACEOF
22690 cat confdefs.h >>conftest.$ac_ext
22691 cat >>conftest.$ac_ext <<_ACEOF
22692 /* end confdefs.h. */
22693 $ac_includes_default
22694 typedef size_t ac__type_sizeof_;
22695 int
22696 main ()
22697 {
22698 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22699 test_array [0] = 0
22700
22701 ;
22702 return 0;
22703 }
22704 _ACEOF
22705 rm -f conftest.$ac_objext
22706 if { (ac_try="$ac_compile"
22707 case "(($ac_try" in
22708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22709 *) ac_try_echo=$ac_try;;
22710 esac
22711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22712 (eval "$ac_compile") 2>conftest.er1
22713 ac_status=$?
22714 grep -v '^ *+' conftest.er1 >conftest.err
22715 rm -f conftest.er1
22716 cat conftest.err >&5
22717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22718 (exit $ac_status); } && {
22719 test -z "$ac_c_werror_flag" ||
22720 test ! -s conftest.err
22721 } && test -s conftest.$ac_objext; then
22722 ac_hi=$ac_mid
22723 else
22724 echo "$as_me: failed program was:" >&5
22725 sed 's/^/| /' conftest.$ac_ext >&5
22726
22727 ac_lo=`expr '(' $ac_mid ')' + 1`
22728 fi
22729
22730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22731 done
22732 case $ac_lo in
22733 ?*) ac_cv_sizeof_size_t=$ac_lo;;
22734 '') if test "$ac_cv_type_size_t" = yes; then
22735 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
22736 See \`config.log' for more details." >&5
22737 echo "$as_me: error: cannot compute sizeof (size_t)
22738 See \`config.log' for more details." >&2;}
22739 { (exit 77); exit 77; }; }
22740 else
22741 ac_cv_sizeof_size_t=0
22742 fi ;;
22743 esac
22744 else
22745 cat >conftest.$ac_ext <<_ACEOF
22746 /* confdefs.h. */
22747 _ACEOF
22748 cat confdefs.h >>conftest.$ac_ext
22749 cat >>conftest.$ac_ext <<_ACEOF
22750 /* end confdefs.h. */
22751 $ac_includes_default
22752 typedef size_t ac__type_sizeof_;
22753 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22754 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22755 #include <stdio.h>
22756 #include <stdlib.h>
22757 int
22758 main ()
22759 {
22760
22761 FILE *f = fopen ("conftest.val", "w");
22762 if (! f)
22763 return 1;
22764 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22765 {
22766 long int i = longval ();
22767 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22768 return 1;
22769 fprintf (f, "%ld\n", i);
22770 }
22771 else
22772 {
22773 unsigned long int i = ulongval ();
22774 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22775 return 1;
22776 fprintf (f, "%lu\n", i);
22777 }
22778 return ferror (f) || fclose (f) != 0;
22779
22780 ;
22781 return 0;
22782 }
22783 _ACEOF
22784 rm -f conftest$ac_exeext
22785 if { (ac_try="$ac_link"
22786 case "(($ac_try" in
22787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22788 *) ac_try_echo=$ac_try;;
22789 esac
22790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22791 (eval "$ac_link") 2>&5
22792 ac_status=$?
22793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22794 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22795 { (case "(($ac_try" in
22796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22797 *) ac_try_echo=$ac_try;;
22798 esac
22799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22800 (eval "$ac_try") 2>&5
22801 ac_status=$?
22802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22803 (exit $ac_status); }; }; then
22804 ac_cv_sizeof_size_t=`cat conftest.val`
22805 else
22806 echo "$as_me: program exited with status $ac_status" >&5
22807 echo "$as_me: failed program was:" >&5
22808 sed 's/^/| /' conftest.$ac_ext >&5
22809
22810 ( exit $ac_status )
22811 if test "$ac_cv_type_size_t" = yes; then
22812 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
22813 See \`config.log' for more details." >&5
22814 echo "$as_me: error: cannot compute sizeof (size_t)
22815 See \`config.log' for more details." >&2;}
22816 { (exit 77); exit 77; }; }
22817 else
22818 ac_cv_sizeof_size_t=0
22819 fi
22820 fi
22821 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22822 fi
22823 rm -f conftest.val
22824 fi
22825 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
22826 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
22827
22828
22829
22830 cat >>confdefs.h <<_ACEOF
22831 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
22832 _ACEOF
22833
22834
22835
22836 case "${host}" in
22837 arm-*-linux* )
22838 { echo "$as_me:$LINENO: checking for long long" >&5
22839 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22840 if test "${ac_cv_type_long_long+set}" = set; then
22841 echo $ECHO_N "(cached) $ECHO_C" >&6
22842 else
22843 cat >conftest.$ac_ext <<_ACEOF
22844 /* confdefs.h. */
22845 _ACEOF
22846 cat confdefs.h >>conftest.$ac_ext
22847 cat >>conftest.$ac_ext <<_ACEOF
22848 /* end confdefs.h. */
22849 $ac_includes_default
22850 typedef long long ac__type_new_;
22851 int
22852 main ()
22853 {
22854 if ((ac__type_new_ *) 0)
22855 return 0;
22856 if (sizeof (ac__type_new_))
22857 return 0;
22858 ;
22859 return 0;
22860 }
22861 _ACEOF
22862 rm -f conftest.$ac_objext
22863 if { (ac_try="$ac_compile"
22864 case "(($ac_try" in
22865 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22866 *) ac_try_echo=$ac_try;;
22867 esac
22868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22869 (eval "$ac_compile") 2>conftest.er1
22870 ac_status=$?
22871 grep -v '^ *+' conftest.er1 >conftest.err
22872 rm -f conftest.er1
22873 cat conftest.err >&5
22874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22875 (exit $ac_status); } && {
22876 test -z "$ac_c_werror_flag" ||
22877 test ! -s conftest.err
22878 } && test -s conftest.$ac_objext; then
22879 ac_cv_type_long_long=yes
22880 else
22881 echo "$as_me: failed program was:" >&5
22882 sed 's/^/| /' conftest.$ac_ext >&5
22883
22884 ac_cv_type_long_long=no
22885 fi
22886
22887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22888 fi
22889 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22890 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22891
22892 # The cast to long int works around a bug in the HP C Compiler
22893 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22894 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22895 # This bug is HP SR number 8606223364.
22896 { echo "$as_me:$LINENO: checking size of long long" >&5
22897 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22898 if test "${ac_cv_sizeof_long_long+set}" = set; then
22899 echo $ECHO_N "(cached) $ECHO_C" >&6
22900 else
22901 if test "$cross_compiling" = yes; then
22902 # Depending upon the size, compute the lo and hi bounds.
22903 cat >conftest.$ac_ext <<_ACEOF
22904 /* confdefs.h. */
22905 _ACEOF
22906 cat confdefs.h >>conftest.$ac_ext
22907 cat >>conftest.$ac_ext <<_ACEOF
22908 /* end confdefs.h. */
22909 $ac_includes_default
22910 typedef long long ac__type_sizeof_;
22911 int
22912 main ()
22913 {
22914 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22915 test_array [0] = 0
22916
22917 ;
22918 return 0;
22919 }
22920 _ACEOF
22921 rm -f conftest.$ac_objext
22922 if { (ac_try="$ac_compile"
22923 case "(($ac_try" in
22924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22925 *) ac_try_echo=$ac_try;;
22926 esac
22927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22928 (eval "$ac_compile") 2>conftest.er1
22929 ac_status=$?
22930 grep -v '^ *+' conftest.er1 >conftest.err
22931 rm -f conftest.er1
22932 cat conftest.err >&5
22933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22934 (exit $ac_status); } && {
22935 test -z "$ac_c_werror_flag" ||
22936 test ! -s conftest.err
22937 } && test -s conftest.$ac_objext; then
22938 ac_lo=0 ac_mid=0
22939 while :; do
22940 cat >conftest.$ac_ext <<_ACEOF
22941 /* confdefs.h. */
22942 _ACEOF
22943 cat confdefs.h >>conftest.$ac_ext
22944 cat >>conftest.$ac_ext <<_ACEOF
22945 /* end confdefs.h. */
22946 $ac_includes_default
22947 typedef long long ac__type_sizeof_;
22948 int
22949 main ()
22950 {
22951 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22952 test_array [0] = 0
22953
22954 ;
22955 return 0;
22956 }
22957 _ACEOF
22958 rm -f conftest.$ac_objext
22959 if { (ac_try="$ac_compile"
22960 case "(($ac_try" in
22961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22962 *) ac_try_echo=$ac_try;;
22963 esac
22964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22965 (eval "$ac_compile") 2>conftest.er1
22966 ac_status=$?
22967 grep -v '^ *+' conftest.er1 >conftest.err
22968 rm -f conftest.er1
22969 cat conftest.err >&5
22970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22971 (exit $ac_status); } && {
22972 test -z "$ac_c_werror_flag" ||
22973 test ! -s conftest.err
22974 } && test -s conftest.$ac_objext; then
22975 ac_hi=$ac_mid; break
22976 else
22977 echo "$as_me: failed program was:" >&5
22978 sed 's/^/| /' conftest.$ac_ext >&5
22979
22980 ac_lo=`expr $ac_mid + 1`
22981 if test $ac_lo -le $ac_mid; then
22982 ac_lo= ac_hi=
22983 break
22984 fi
22985 ac_mid=`expr 2 '*' $ac_mid + 1`
22986 fi
22987
22988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22989 done
22990 else
22991 echo "$as_me: failed program was:" >&5
22992 sed 's/^/| /' conftest.$ac_ext >&5
22993
22994 cat >conftest.$ac_ext <<_ACEOF
22995 /* confdefs.h. */
22996 _ACEOF
22997 cat confdefs.h >>conftest.$ac_ext
22998 cat >>conftest.$ac_ext <<_ACEOF
22999 /* end confdefs.h. */
23000 $ac_includes_default
23001 typedef long long ac__type_sizeof_;
23002 int
23003 main ()
23004 {
23005 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23006 test_array [0] = 0
23007
23008 ;
23009 return 0;
23010 }
23011 _ACEOF
23012 rm -f conftest.$ac_objext
23013 if { (ac_try="$ac_compile"
23014 case "(($ac_try" in
23015 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23016 *) ac_try_echo=$ac_try;;
23017 esac
23018 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23019 (eval "$ac_compile") 2>conftest.er1
23020 ac_status=$?
23021 grep -v '^ *+' conftest.er1 >conftest.err
23022 rm -f conftest.er1
23023 cat conftest.err >&5
23024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23025 (exit $ac_status); } && {
23026 test -z "$ac_c_werror_flag" ||
23027 test ! -s conftest.err
23028 } && test -s conftest.$ac_objext; then
23029 ac_hi=-1 ac_mid=-1
23030 while :; do
23031 cat >conftest.$ac_ext <<_ACEOF
23032 /* confdefs.h. */
23033 _ACEOF
23034 cat confdefs.h >>conftest.$ac_ext
23035 cat >>conftest.$ac_ext <<_ACEOF
23036 /* end confdefs.h. */
23037 $ac_includes_default
23038 typedef long long ac__type_sizeof_;
23039 int
23040 main ()
23041 {
23042 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23043 test_array [0] = 0
23044
23045 ;
23046 return 0;
23047 }
23048 _ACEOF
23049 rm -f conftest.$ac_objext
23050 if { (ac_try="$ac_compile"
23051 case "(($ac_try" in
23052 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23053 *) ac_try_echo=$ac_try;;
23054 esac
23055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23056 (eval "$ac_compile") 2>conftest.er1
23057 ac_status=$?
23058 grep -v '^ *+' conftest.er1 >conftest.err
23059 rm -f conftest.er1
23060 cat conftest.err >&5
23061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23062 (exit $ac_status); } && {
23063 test -z "$ac_c_werror_flag" ||
23064 test ! -s conftest.err
23065 } && test -s conftest.$ac_objext; then
23066 ac_lo=$ac_mid; break
23067 else
23068 echo "$as_me: failed program was:" >&5
23069 sed 's/^/| /' conftest.$ac_ext >&5
23070
23071 ac_hi=`expr '(' $ac_mid ')' - 1`
23072 if test $ac_mid -le $ac_hi; then
23073 ac_lo= ac_hi=
23074 break
23075 fi
23076 ac_mid=`expr 2 '*' $ac_mid`
23077 fi
23078
23079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23080 done
23081 else
23082 echo "$as_me: failed program was:" >&5
23083 sed 's/^/| /' conftest.$ac_ext >&5
23084
23085 ac_lo= ac_hi=
23086 fi
23087
23088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23089 fi
23090
23091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23092 # Binary search between lo and hi bounds.
23093 while test "x$ac_lo" != "x$ac_hi"; do
23094 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23095 cat >conftest.$ac_ext <<_ACEOF
23096 /* confdefs.h. */
23097 _ACEOF
23098 cat confdefs.h >>conftest.$ac_ext
23099 cat >>conftest.$ac_ext <<_ACEOF
23100 /* end confdefs.h. */
23101 $ac_includes_default
23102 typedef long long ac__type_sizeof_;
23103 int
23104 main ()
23105 {
23106 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23107 test_array [0] = 0
23108
23109 ;
23110 return 0;
23111 }
23112 _ACEOF
23113 rm -f conftest.$ac_objext
23114 if { (ac_try="$ac_compile"
23115 case "(($ac_try" in
23116 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23117 *) ac_try_echo=$ac_try;;
23118 esac
23119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23120 (eval "$ac_compile") 2>conftest.er1
23121 ac_status=$?
23122 grep -v '^ *+' conftest.er1 >conftest.err
23123 rm -f conftest.er1
23124 cat conftest.err >&5
23125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23126 (exit $ac_status); } && {
23127 test -z "$ac_c_werror_flag" ||
23128 test ! -s conftest.err
23129 } && test -s conftest.$ac_objext; then
23130 ac_hi=$ac_mid
23131 else
23132 echo "$as_me: failed program was:" >&5
23133 sed 's/^/| /' conftest.$ac_ext >&5
23134
23135 ac_lo=`expr '(' $ac_mid ')' + 1`
23136 fi
23137
23138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23139 done
23140 case $ac_lo in
23141 ?*) ac_cv_sizeof_long_long=$ac_lo;;
23142 '') if test "$ac_cv_type_long_long" = yes; then
23143 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23144 See \`config.log' for more details." >&5
23145 echo "$as_me: error: cannot compute sizeof (long long)
23146 See \`config.log' for more details." >&2;}
23147 { (exit 77); exit 77; }; }
23148 else
23149 ac_cv_sizeof_long_long=0
23150 fi ;;
23151 esac
23152 else
23153 cat >conftest.$ac_ext <<_ACEOF
23154 /* confdefs.h. */
23155 _ACEOF
23156 cat confdefs.h >>conftest.$ac_ext
23157 cat >>conftest.$ac_ext <<_ACEOF
23158 /* end confdefs.h. */
23159 $ac_includes_default
23160 typedef long long ac__type_sizeof_;
23161 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23162 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23163 #include <stdio.h>
23164 #include <stdlib.h>
23165 int
23166 main ()
23167 {
23168
23169 FILE *f = fopen ("conftest.val", "w");
23170 if (! f)
23171 return 1;
23172 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23173 {
23174 long int i = longval ();
23175 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23176 return 1;
23177 fprintf (f, "%ld\n", i);
23178 }
23179 else
23180 {
23181 unsigned long int i = ulongval ();
23182 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23183 return 1;
23184 fprintf (f, "%lu\n", i);
23185 }
23186 return ferror (f) || fclose (f) != 0;
23187
23188 ;
23189 return 0;
23190 }
23191 _ACEOF
23192 rm -f conftest$ac_exeext
23193 if { (ac_try="$ac_link"
23194 case "(($ac_try" in
23195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23196 *) ac_try_echo=$ac_try;;
23197 esac
23198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23199 (eval "$ac_link") 2>&5
23200 ac_status=$?
23201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23202 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23203 { (case "(($ac_try" in
23204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23205 *) ac_try_echo=$ac_try;;
23206 esac
23207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23208 (eval "$ac_try") 2>&5
23209 ac_status=$?
23210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23211 (exit $ac_status); }; }; then
23212 ac_cv_sizeof_long_long=`cat conftest.val`
23213 else
23214 echo "$as_me: program exited with status $ac_status" >&5
23215 echo "$as_me: failed program was:" >&5
23216 sed 's/^/| /' conftest.$ac_ext >&5
23217
23218 ( exit $ac_status )
23219 if test "$ac_cv_type_long_long" = yes; then
23220 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23221 See \`config.log' for more details." >&5
23222 echo "$as_me: error: cannot compute sizeof (long long)
23223 See \`config.log' for more details." >&2;}
23224 { (exit 77); exit 77; }; }
23225 else
23226 ac_cv_sizeof_long_long=0
23227 fi
23228 fi
23229 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23230 fi
23231 rm -f conftest.val
23232 fi
23233 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
23234 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
23235
23236
23237
23238 cat >>confdefs.h <<_ACEOF
23239 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
23240 _ACEOF
23241
23242
23243 ;;
23244 *-hp-hpux* )
23245 { echo "$as_me:$LINENO: checking for long long" >&5
23246 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
23247 if test "${ac_cv_type_long_long+set}" = set; then
23248 echo $ECHO_N "(cached) $ECHO_C" >&6
23249 else
23250 cat >conftest.$ac_ext <<_ACEOF
23251 /* confdefs.h. */
23252 _ACEOF
23253 cat confdefs.h >>conftest.$ac_ext
23254 cat >>conftest.$ac_ext <<_ACEOF
23255 /* end confdefs.h. */
23256 $ac_includes_default
23257 typedef long long ac__type_new_;
23258 int
23259 main ()
23260 {
23261 if ((ac__type_new_ *) 0)
23262 return 0;
23263 if (sizeof (ac__type_new_))
23264 return 0;
23265 ;
23266 return 0;
23267 }
23268 _ACEOF
23269 rm -f conftest.$ac_objext
23270 if { (ac_try="$ac_compile"
23271 case "(($ac_try" in
23272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23273 *) ac_try_echo=$ac_try;;
23274 esac
23275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23276 (eval "$ac_compile") 2>conftest.er1
23277 ac_status=$?
23278 grep -v '^ *+' conftest.er1 >conftest.err
23279 rm -f conftest.er1
23280 cat conftest.err >&5
23281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23282 (exit $ac_status); } && {
23283 test -z "$ac_c_werror_flag" ||
23284 test ! -s conftest.err
23285 } && test -s conftest.$ac_objext; then
23286 ac_cv_type_long_long=yes
23287 else
23288 echo "$as_me: failed program was:" >&5
23289 sed 's/^/| /' conftest.$ac_ext >&5
23290
23291 ac_cv_type_long_long=no
23292 fi
23293
23294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23295 fi
23296 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
23297 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
23298
23299 # The cast to long int works around a bug in the HP C Compiler
23300 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23301 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23302 # This bug is HP SR number 8606223364.
23303 { echo "$as_me:$LINENO: checking size of long long" >&5
23304 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
23305 if test "${ac_cv_sizeof_long_long+set}" = set; then
23306 echo $ECHO_N "(cached) $ECHO_C" >&6
23307 else
23308 if test "$cross_compiling" = yes; then
23309 # Depending upon the size, compute the lo and hi bounds.
23310 cat >conftest.$ac_ext <<_ACEOF
23311 /* confdefs.h. */
23312 _ACEOF
23313 cat confdefs.h >>conftest.$ac_ext
23314 cat >>conftest.$ac_ext <<_ACEOF
23315 /* end confdefs.h. */
23316 $ac_includes_default
23317 typedef long long ac__type_sizeof_;
23318 int
23319 main ()
23320 {
23321 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23322 test_array [0] = 0
23323
23324 ;
23325 return 0;
23326 }
23327 _ACEOF
23328 rm -f conftest.$ac_objext
23329 if { (ac_try="$ac_compile"
23330 case "(($ac_try" in
23331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23332 *) ac_try_echo=$ac_try;;
23333 esac
23334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23335 (eval "$ac_compile") 2>conftest.er1
23336 ac_status=$?
23337 grep -v '^ *+' conftest.er1 >conftest.err
23338 rm -f conftest.er1
23339 cat conftest.err >&5
23340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23341 (exit $ac_status); } && {
23342 test -z "$ac_c_werror_flag" ||
23343 test ! -s conftest.err
23344 } && test -s conftest.$ac_objext; then
23345 ac_lo=0 ac_mid=0
23346 while :; do
23347 cat >conftest.$ac_ext <<_ACEOF
23348 /* confdefs.h. */
23349 _ACEOF
23350 cat confdefs.h >>conftest.$ac_ext
23351 cat >>conftest.$ac_ext <<_ACEOF
23352 /* end confdefs.h. */
23353 $ac_includes_default
23354 typedef long long ac__type_sizeof_;
23355 int
23356 main ()
23357 {
23358 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23359 test_array [0] = 0
23360
23361 ;
23362 return 0;
23363 }
23364 _ACEOF
23365 rm -f conftest.$ac_objext
23366 if { (ac_try="$ac_compile"
23367 case "(($ac_try" in
23368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23369 *) ac_try_echo=$ac_try;;
23370 esac
23371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23372 (eval "$ac_compile") 2>conftest.er1
23373 ac_status=$?
23374 grep -v '^ *+' conftest.er1 >conftest.err
23375 rm -f conftest.er1
23376 cat conftest.err >&5
23377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23378 (exit $ac_status); } && {
23379 test -z "$ac_c_werror_flag" ||
23380 test ! -s conftest.err
23381 } && test -s conftest.$ac_objext; then
23382 ac_hi=$ac_mid; break
23383 else
23384 echo "$as_me: failed program was:" >&5
23385 sed 's/^/| /' conftest.$ac_ext >&5
23386
23387 ac_lo=`expr $ac_mid + 1`
23388 if test $ac_lo -le $ac_mid; then
23389 ac_lo= ac_hi=
23390 break
23391 fi
23392 ac_mid=`expr 2 '*' $ac_mid + 1`
23393 fi
23394
23395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23396 done
23397 else
23398 echo "$as_me: failed program was:" >&5
23399 sed 's/^/| /' conftest.$ac_ext >&5
23400
23401 cat >conftest.$ac_ext <<_ACEOF
23402 /* confdefs.h. */
23403 _ACEOF
23404 cat confdefs.h >>conftest.$ac_ext
23405 cat >>conftest.$ac_ext <<_ACEOF
23406 /* end confdefs.h. */
23407 $ac_includes_default
23408 typedef long long ac__type_sizeof_;
23409 int
23410 main ()
23411 {
23412 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23413 test_array [0] = 0
23414
23415 ;
23416 return 0;
23417 }
23418 _ACEOF
23419 rm -f conftest.$ac_objext
23420 if { (ac_try="$ac_compile"
23421 case "(($ac_try" in
23422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23423 *) ac_try_echo=$ac_try;;
23424 esac
23425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23426 (eval "$ac_compile") 2>conftest.er1
23427 ac_status=$?
23428 grep -v '^ *+' conftest.er1 >conftest.err
23429 rm -f conftest.er1
23430 cat conftest.err >&5
23431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23432 (exit $ac_status); } && {
23433 test -z "$ac_c_werror_flag" ||
23434 test ! -s conftest.err
23435 } && test -s conftest.$ac_objext; then
23436 ac_hi=-1 ac_mid=-1
23437 while :; do
23438 cat >conftest.$ac_ext <<_ACEOF
23439 /* confdefs.h. */
23440 _ACEOF
23441 cat confdefs.h >>conftest.$ac_ext
23442 cat >>conftest.$ac_ext <<_ACEOF
23443 /* end confdefs.h. */
23444 $ac_includes_default
23445 typedef long long ac__type_sizeof_;
23446 int
23447 main ()
23448 {
23449 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23450 test_array [0] = 0
23451
23452 ;
23453 return 0;
23454 }
23455 _ACEOF
23456 rm -f conftest.$ac_objext
23457 if { (ac_try="$ac_compile"
23458 case "(($ac_try" in
23459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23460 *) ac_try_echo=$ac_try;;
23461 esac
23462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23463 (eval "$ac_compile") 2>conftest.er1
23464 ac_status=$?
23465 grep -v '^ *+' conftest.er1 >conftest.err
23466 rm -f conftest.er1
23467 cat conftest.err >&5
23468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23469 (exit $ac_status); } && {
23470 test -z "$ac_c_werror_flag" ||
23471 test ! -s conftest.err
23472 } && test -s conftest.$ac_objext; then
23473 ac_lo=$ac_mid; break
23474 else
23475 echo "$as_me: failed program was:" >&5
23476 sed 's/^/| /' conftest.$ac_ext >&5
23477
23478 ac_hi=`expr '(' $ac_mid ')' - 1`
23479 if test $ac_mid -le $ac_hi; then
23480 ac_lo= ac_hi=
23481 break
23482 fi
23483 ac_mid=`expr 2 '*' $ac_mid`
23484 fi
23485
23486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23487 done
23488 else
23489 echo "$as_me: failed program was:" >&5
23490 sed 's/^/| /' conftest.$ac_ext >&5
23491
23492 ac_lo= ac_hi=
23493 fi
23494
23495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23496 fi
23497
23498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23499 # Binary search between lo and hi bounds.
23500 while test "x$ac_lo" != "x$ac_hi"; do
23501 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23502 cat >conftest.$ac_ext <<_ACEOF
23503 /* confdefs.h. */
23504 _ACEOF
23505 cat confdefs.h >>conftest.$ac_ext
23506 cat >>conftest.$ac_ext <<_ACEOF
23507 /* end confdefs.h. */
23508 $ac_includes_default
23509 typedef long long ac__type_sizeof_;
23510 int
23511 main ()
23512 {
23513 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23514 test_array [0] = 0
23515
23516 ;
23517 return 0;
23518 }
23519 _ACEOF
23520 rm -f conftest.$ac_objext
23521 if { (ac_try="$ac_compile"
23522 case "(($ac_try" in
23523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23524 *) ac_try_echo=$ac_try;;
23525 esac
23526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23527 (eval "$ac_compile") 2>conftest.er1
23528 ac_status=$?
23529 grep -v '^ *+' conftest.er1 >conftest.err
23530 rm -f conftest.er1
23531 cat conftest.err >&5
23532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23533 (exit $ac_status); } && {
23534 test -z "$ac_c_werror_flag" ||
23535 test ! -s conftest.err
23536 } && test -s conftest.$ac_objext; then
23537 ac_hi=$ac_mid
23538 else
23539 echo "$as_me: failed program was:" >&5
23540 sed 's/^/| /' conftest.$ac_ext >&5
23541
23542 ac_lo=`expr '(' $ac_mid ')' + 1`
23543 fi
23544
23545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23546 done
23547 case $ac_lo in
23548 ?*) ac_cv_sizeof_long_long=$ac_lo;;
23549 '') if test "$ac_cv_type_long_long" = yes; then
23550 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23551 See \`config.log' for more details." >&5
23552 echo "$as_me: error: cannot compute sizeof (long long)
23553 See \`config.log' for more details." >&2;}
23554 { (exit 77); exit 77; }; }
23555 else
23556 ac_cv_sizeof_long_long=0
23557 fi ;;
23558 esac
23559 else
23560 cat >conftest.$ac_ext <<_ACEOF
23561 /* confdefs.h. */
23562 _ACEOF
23563 cat confdefs.h >>conftest.$ac_ext
23564 cat >>conftest.$ac_ext <<_ACEOF
23565 /* end confdefs.h. */
23566 $ac_includes_default
23567 typedef long long ac__type_sizeof_;
23568 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23569 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23570 #include <stdio.h>
23571 #include <stdlib.h>
23572 int
23573 main ()
23574 {
23575
23576 FILE *f = fopen ("conftest.val", "w");
23577 if (! f)
23578 return 1;
23579 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23580 {
23581 long int i = longval ();
23582 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23583 return 1;
23584 fprintf (f, "%ld\n", i);
23585 }
23586 else
23587 {
23588 unsigned long int i = ulongval ();
23589 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23590 return 1;
23591 fprintf (f, "%lu\n", i);
23592 }
23593 return ferror (f) || fclose (f) != 0;
23594
23595 ;
23596 return 0;
23597 }
23598 _ACEOF
23599 rm -f conftest$ac_exeext
23600 if { (ac_try="$ac_link"
23601 case "(($ac_try" in
23602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23603 *) ac_try_echo=$ac_try;;
23604 esac
23605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23606 (eval "$ac_link") 2>&5
23607 ac_status=$?
23608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23609 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23610 { (case "(($ac_try" in
23611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23612 *) ac_try_echo=$ac_try;;
23613 esac
23614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23615 (eval "$ac_try") 2>&5
23616 ac_status=$?
23617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23618 (exit $ac_status); }; }; then
23619 ac_cv_sizeof_long_long=`cat conftest.val`
23620 else
23621 echo "$as_me: program exited with status $ac_status" >&5
23622 echo "$as_me: failed program was:" >&5
23623 sed 's/^/| /' conftest.$ac_ext >&5
23624
23625 ( exit $ac_status )
23626 if test "$ac_cv_type_long_long" = yes; then
23627 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23628 See \`config.log' for more details." >&5
23629 echo "$as_me: error: cannot compute sizeof (long long)
23630 See \`config.log' for more details." >&2;}
23631 { (exit 77); exit 77; }; }
23632 else
23633 ac_cv_sizeof_long_long=0
23634 fi
23635 fi
23636 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23637 fi
23638 rm -f conftest.val
23639 fi
23640 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
23641 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
23642
23643
23644
23645 cat >>confdefs.h <<_ACEOF
23646 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
23647 _ACEOF
23648
23649
23650 if test "$ac_cv_sizeof_long_long" != 0; then
23651 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
23652 fi
23653 ;;
23654 * )
23655 { echo "$as_me:$LINENO: checking for long long" >&5
23656 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
23657 if test "${ac_cv_type_long_long+set}" = set; then
23658 echo $ECHO_N "(cached) $ECHO_C" >&6
23659 else
23660 cat >conftest.$ac_ext <<_ACEOF
23661 /* confdefs.h. */
23662 _ACEOF
23663 cat confdefs.h >>conftest.$ac_ext
23664 cat >>conftest.$ac_ext <<_ACEOF
23665 /* end confdefs.h. */
23666 $ac_includes_default
23667 typedef long long ac__type_new_;
23668 int
23669 main ()
23670 {
23671 if ((ac__type_new_ *) 0)
23672 return 0;
23673 if (sizeof (ac__type_new_))
23674 return 0;
23675 ;
23676 return 0;
23677 }
23678 _ACEOF
23679 rm -f conftest.$ac_objext
23680 if { (ac_try="$ac_compile"
23681 case "(($ac_try" in
23682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23683 *) ac_try_echo=$ac_try;;
23684 esac
23685 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23686 (eval "$ac_compile") 2>conftest.er1
23687 ac_status=$?
23688 grep -v '^ *+' conftest.er1 >conftest.err
23689 rm -f conftest.er1
23690 cat conftest.err >&5
23691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23692 (exit $ac_status); } && {
23693 test -z "$ac_c_werror_flag" ||
23694 test ! -s conftest.err
23695 } && test -s conftest.$ac_objext; then
23696 ac_cv_type_long_long=yes
23697 else
23698 echo "$as_me: failed program was:" >&5
23699 sed 's/^/| /' conftest.$ac_ext >&5
23700
23701 ac_cv_type_long_long=no
23702 fi
23703
23704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23705 fi
23706 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
23707 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
23708
23709 # The cast to long int works around a bug in the HP C Compiler
23710 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23711 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23712 # This bug is HP SR number 8606223364.
23713 { echo "$as_me:$LINENO: checking size of long long" >&5
23714 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
23715 if test "${ac_cv_sizeof_long_long+set}" = set; then
23716 echo $ECHO_N "(cached) $ECHO_C" >&6
23717 else
23718 if test "$cross_compiling" = yes; then
23719 # Depending upon the size, compute the lo and hi bounds.
23720 cat >conftest.$ac_ext <<_ACEOF
23721 /* confdefs.h. */
23722 _ACEOF
23723 cat confdefs.h >>conftest.$ac_ext
23724 cat >>conftest.$ac_ext <<_ACEOF
23725 /* end confdefs.h. */
23726 $ac_includes_default
23727 typedef long long ac__type_sizeof_;
23728 int
23729 main ()
23730 {
23731 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23732 test_array [0] = 0
23733
23734 ;
23735 return 0;
23736 }
23737 _ACEOF
23738 rm -f conftest.$ac_objext
23739 if { (ac_try="$ac_compile"
23740 case "(($ac_try" in
23741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23742 *) ac_try_echo=$ac_try;;
23743 esac
23744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23745 (eval "$ac_compile") 2>conftest.er1
23746 ac_status=$?
23747 grep -v '^ *+' conftest.er1 >conftest.err
23748 rm -f conftest.er1
23749 cat conftest.err >&5
23750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23751 (exit $ac_status); } && {
23752 test -z "$ac_c_werror_flag" ||
23753 test ! -s conftest.err
23754 } && test -s conftest.$ac_objext; then
23755 ac_lo=0 ac_mid=0
23756 while :; do
23757 cat >conftest.$ac_ext <<_ACEOF
23758 /* confdefs.h. */
23759 _ACEOF
23760 cat confdefs.h >>conftest.$ac_ext
23761 cat >>conftest.$ac_ext <<_ACEOF
23762 /* end confdefs.h. */
23763 $ac_includes_default
23764 typedef long long ac__type_sizeof_;
23765 int
23766 main ()
23767 {
23768 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23769 test_array [0] = 0
23770
23771 ;
23772 return 0;
23773 }
23774 _ACEOF
23775 rm -f conftest.$ac_objext
23776 if { (ac_try="$ac_compile"
23777 case "(($ac_try" in
23778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23779 *) ac_try_echo=$ac_try;;
23780 esac
23781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23782 (eval "$ac_compile") 2>conftest.er1
23783 ac_status=$?
23784 grep -v '^ *+' conftest.er1 >conftest.err
23785 rm -f conftest.er1
23786 cat conftest.err >&5
23787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23788 (exit $ac_status); } && {
23789 test -z "$ac_c_werror_flag" ||
23790 test ! -s conftest.err
23791 } && test -s conftest.$ac_objext; then
23792 ac_hi=$ac_mid; break
23793 else
23794 echo "$as_me: failed program was:" >&5
23795 sed 's/^/| /' conftest.$ac_ext >&5
23796
23797 ac_lo=`expr $ac_mid + 1`
23798 if test $ac_lo -le $ac_mid; then
23799 ac_lo= ac_hi=
23800 break
23801 fi
23802 ac_mid=`expr 2 '*' $ac_mid + 1`
23803 fi
23804
23805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23806 done
23807 else
23808 echo "$as_me: failed program was:" >&5
23809 sed 's/^/| /' conftest.$ac_ext >&5
23810
23811 cat >conftest.$ac_ext <<_ACEOF
23812 /* confdefs.h. */
23813 _ACEOF
23814 cat confdefs.h >>conftest.$ac_ext
23815 cat >>conftest.$ac_ext <<_ACEOF
23816 /* end confdefs.h. */
23817 $ac_includes_default
23818 typedef long long ac__type_sizeof_;
23819 int
23820 main ()
23821 {
23822 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23823 test_array [0] = 0
23824
23825 ;
23826 return 0;
23827 }
23828 _ACEOF
23829 rm -f conftest.$ac_objext
23830 if { (ac_try="$ac_compile"
23831 case "(($ac_try" in
23832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23833 *) ac_try_echo=$ac_try;;
23834 esac
23835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23836 (eval "$ac_compile") 2>conftest.er1
23837 ac_status=$?
23838 grep -v '^ *+' conftest.er1 >conftest.err
23839 rm -f conftest.er1
23840 cat conftest.err >&5
23841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23842 (exit $ac_status); } && {
23843 test -z "$ac_c_werror_flag" ||
23844 test ! -s conftest.err
23845 } && test -s conftest.$ac_objext; then
23846 ac_hi=-1 ac_mid=-1
23847 while :; do
23848 cat >conftest.$ac_ext <<_ACEOF
23849 /* confdefs.h. */
23850 _ACEOF
23851 cat confdefs.h >>conftest.$ac_ext
23852 cat >>conftest.$ac_ext <<_ACEOF
23853 /* end confdefs.h. */
23854 $ac_includes_default
23855 typedef long long ac__type_sizeof_;
23856 int
23857 main ()
23858 {
23859 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23860 test_array [0] = 0
23861
23862 ;
23863 return 0;
23864 }
23865 _ACEOF
23866 rm -f conftest.$ac_objext
23867 if { (ac_try="$ac_compile"
23868 case "(($ac_try" in
23869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23870 *) ac_try_echo=$ac_try;;
23871 esac
23872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23873 (eval "$ac_compile") 2>conftest.er1
23874 ac_status=$?
23875 grep -v '^ *+' conftest.er1 >conftest.err
23876 rm -f conftest.er1
23877 cat conftest.err >&5
23878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23879 (exit $ac_status); } && {
23880 test -z "$ac_c_werror_flag" ||
23881 test ! -s conftest.err
23882 } && test -s conftest.$ac_objext; then
23883 ac_lo=$ac_mid; break
23884 else
23885 echo "$as_me: failed program was:" >&5
23886 sed 's/^/| /' conftest.$ac_ext >&5
23887
23888 ac_hi=`expr '(' $ac_mid ')' - 1`
23889 if test $ac_mid -le $ac_hi; then
23890 ac_lo= ac_hi=
23891 break
23892 fi
23893 ac_mid=`expr 2 '*' $ac_mid`
23894 fi
23895
23896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23897 done
23898 else
23899 echo "$as_me: failed program was:" >&5
23900 sed 's/^/| /' conftest.$ac_ext >&5
23901
23902 ac_lo= ac_hi=
23903 fi
23904
23905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23906 fi
23907
23908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23909 # Binary search between lo and hi bounds.
23910 while test "x$ac_lo" != "x$ac_hi"; do
23911 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23912 cat >conftest.$ac_ext <<_ACEOF
23913 /* confdefs.h. */
23914 _ACEOF
23915 cat confdefs.h >>conftest.$ac_ext
23916 cat >>conftest.$ac_ext <<_ACEOF
23917 /* end confdefs.h. */
23918 $ac_includes_default
23919 typedef long long ac__type_sizeof_;
23920 int
23921 main ()
23922 {
23923 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23924 test_array [0] = 0
23925
23926 ;
23927 return 0;
23928 }
23929 _ACEOF
23930 rm -f conftest.$ac_objext
23931 if { (ac_try="$ac_compile"
23932 case "(($ac_try" in
23933 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23934 *) ac_try_echo=$ac_try;;
23935 esac
23936 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23937 (eval "$ac_compile") 2>conftest.er1
23938 ac_status=$?
23939 grep -v '^ *+' conftest.er1 >conftest.err
23940 rm -f conftest.er1
23941 cat conftest.err >&5
23942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23943 (exit $ac_status); } && {
23944 test -z "$ac_c_werror_flag" ||
23945 test ! -s conftest.err
23946 } && test -s conftest.$ac_objext; then
23947 ac_hi=$ac_mid
23948 else
23949 echo "$as_me: failed program was:" >&5
23950 sed 's/^/| /' conftest.$ac_ext >&5
23951
23952 ac_lo=`expr '(' $ac_mid ')' + 1`
23953 fi
23954
23955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23956 done
23957 case $ac_lo in
23958 ?*) ac_cv_sizeof_long_long=$ac_lo;;
23959 '') if test "$ac_cv_type_long_long" = yes; then
23960 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23961 See \`config.log' for more details." >&5
23962 echo "$as_me: error: cannot compute sizeof (long long)
23963 See \`config.log' for more details." >&2;}
23964 { (exit 77); exit 77; }; }
23965 else
23966 ac_cv_sizeof_long_long=0
23967 fi ;;
23968 esac
23969 else
23970 cat >conftest.$ac_ext <<_ACEOF
23971 /* confdefs.h. */
23972 _ACEOF
23973 cat confdefs.h >>conftest.$ac_ext
23974 cat >>conftest.$ac_ext <<_ACEOF
23975 /* end confdefs.h. */
23976 $ac_includes_default
23977 typedef long long ac__type_sizeof_;
23978 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23979 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23980 #include <stdio.h>
23981 #include <stdlib.h>
23982 int
23983 main ()
23984 {
23985
23986 FILE *f = fopen ("conftest.val", "w");
23987 if (! f)
23988 return 1;
23989 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23990 {
23991 long int i = longval ();
23992 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23993 return 1;
23994 fprintf (f, "%ld\n", i);
23995 }
23996 else
23997 {
23998 unsigned long int i = ulongval ();
23999 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24000 return 1;
24001 fprintf (f, "%lu\n", i);
24002 }
24003 return ferror (f) || fclose (f) != 0;
24004
24005 ;
24006 return 0;
24007 }
24008 _ACEOF
24009 rm -f conftest$ac_exeext
24010 if { (ac_try="$ac_link"
24011 case "(($ac_try" in
24012 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24013 *) ac_try_echo=$ac_try;;
24014 esac
24015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24016 (eval "$ac_link") 2>&5
24017 ac_status=$?
24018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24019 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24020 { (case "(($ac_try" in
24021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24022 *) ac_try_echo=$ac_try;;
24023 esac
24024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24025 (eval "$ac_try") 2>&5
24026 ac_status=$?
24027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24028 (exit $ac_status); }; }; then
24029 ac_cv_sizeof_long_long=`cat conftest.val`
24030 else
24031 echo "$as_me: program exited with status $ac_status" >&5
24032 echo "$as_me: failed program was:" >&5
24033 sed 's/^/| /' conftest.$ac_ext >&5
24034
24035 ( exit $ac_status )
24036 if test "$ac_cv_type_long_long" = yes; then
24037 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24038 See \`config.log' for more details." >&5
24039 echo "$as_me: error: cannot compute sizeof (long long)
24040 See \`config.log' for more details." >&2;}
24041 { (exit 77); exit 77; }; }
24042 else
24043 ac_cv_sizeof_long_long=0
24044 fi
24045 fi
24046 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24047 fi
24048 rm -f conftest.val
24049 fi
24050 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
24051 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
24052
24053
24054
24055 cat >>confdefs.h <<_ACEOF
24056 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
24057 _ACEOF
24058
24059
24060 esac
24061
24062 { echo "$as_me:$LINENO: checking for wchar_t" >&5
24063 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
24064 if test "${ac_cv_type_wchar_t+set}" = set; then
24065 echo $ECHO_N "(cached) $ECHO_C" >&6
24066 else
24067 cat >conftest.$ac_ext <<_ACEOF
24068 /* confdefs.h. */
24069 _ACEOF
24070 cat confdefs.h >>conftest.$ac_ext
24071 cat >>conftest.$ac_ext <<_ACEOF
24072 /* end confdefs.h. */
24073
24074 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24075 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24076 # error "fake wchar_t"
24077 #endif
24078 #ifdef HAVE_WCHAR_H
24079 # ifdef __CYGWIN__
24080 # include <stddef.h>
24081 # endif
24082 # include <wchar.h>
24083 #endif
24084 #ifdef HAVE_STDLIB_H
24085 # include <stdlib.h>
24086 #endif
24087 #include <stdio.h>
24088
24089
24090
24091 typedef wchar_t ac__type_new_;
24092 int
24093 main ()
24094 {
24095 if ((ac__type_new_ *) 0)
24096 return 0;
24097 if (sizeof (ac__type_new_))
24098 return 0;
24099 ;
24100 return 0;
24101 }
24102 _ACEOF
24103 rm -f conftest.$ac_objext
24104 if { (ac_try="$ac_compile"
24105 case "(($ac_try" in
24106 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24107 *) ac_try_echo=$ac_try;;
24108 esac
24109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24110 (eval "$ac_compile") 2>conftest.er1
24111 ac_status=$?
24112 grep -v '^ *+' conftest.er1 >conftest.err
24113 rm -f conftest.er1
24114 cat conftest.err >&5
24115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24116 (exit $ac_status); } && {
24117 test -z "$ac_c_werror_flag" ||
24118 test ! -s conftest.err
24119 } && test -s conftest.$ac_objext; then
24120 ac_cv_type_wchar_t=yes
24121 else
24122 echo "$as_me: failed program was:" >&5
24123 sed 's/^/| /' conftest.$ac_ext >&5
24124
24125 ac_cv_type_wchar_t=no
24126 fi
24127
24128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24129 fi
24130 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
24131 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
24132
24133 # The cast to long int works around a bug in the HP C Compiler
24134 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24135 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24136 # This bug is HP SR number 8606223364.
24137 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
24138 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
24139 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
24140 echo $ECHO_N "(cached) $ECHO_C" >&6
24141 else
24142 if test "$cross_compiling" = yes; then
24143 # Depending upon the size, compute the lo and hi bounds.
24144 cat >conftest.$ac_ext <<_ACEOF
24145 /* confdefs.h. */
24146 _ACEOF
24147 cat confdefs.h >>conftest.$ac_ext
24148 cat >>conftest.$ac_ext <<_ACEOF
24149 /* end confdefs.h. */
24150
24151 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24152 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24153 # error "fake wchar_t"
24154 #endif
24155 #ifdef HAVE_WCHAR_H
24156 # ifdef __CYGWIN__
24157 # include <stddef.h>
24158 # endif
24159 # include <wchar.h>
24160 #endif
24161 #ifdef HAVE_STDLIB_H
24162 # include <stdlib.h>
24163 #endif
24164 #include <stdio.h>
24165
24166
24167
24168 typedef wchar_t ac__type_sizeof_;
24169 int
24170 main ()
24171 {
24172 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
24173 test_array [0] = 0
24174
24175 ;
24176 return 0;
24177 }
24178 _ACEOF
24179 rm -f conftest.$ac_objext
24180 if { (ac_try="$ac_compile"
24181 case "(($ac_try" in
24182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24183 *) ac_try_echo=$ac_try;;
24184 esac
24185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24186 (eval "$ac_compile") 2>conftest.er1
24187 ac_status=$?
24188 grep -v '^ *+' conftest.er1 >conftest.err
24189 rm -f conftest.er1
24190 cat conftest.err >&5
24191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24192 (exit $ac_status); } && {
24193 test -z "$ac_c_werror_flag" ||
24194 test ! -s conftest.err
24195 } && test -s conftest.$ac_objext; then
24196 ac_lo=0 ac_mid=0
24197 while :; do
24198 cat >conftest.$ac_ext <<_ACEOF
24199 /* confdefs.h. */
24200 _ACEOF
24201 cat confdefs.h >>conftest.$ac_ext
24202 cat >>conftest.$ac_ext <<_ACEOF
24203 /* end confdefs.h. */
24204
24205 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24206 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24207 # error "fake wchar_t"
24208 #endif
24209 #ifdef HAVE_WCHAR_H
24210 # ifdef __CYGWIN__
24211 # include <stddef.h>
24212 # endif
24213 # include <wchar.h>
24214 #endif
24215 #ifdef HAVE_STDLIB_H
24216 # include <stdlib.h>
24217 #endif
24218 #include <stdio.h>
24219
24220
24221
24222 typedef wchar_t ac__type_sizeof_;
24223 int
24224 main ()
24225 {
24226 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24227 test_array [0] = 0
24228
24229 ;
24230 return 0;
24231 }
24232 _ACEOF
24233 rm -f conftest.$ac_objext
24234 if { (ac_try="$ac_compile"
24235 case "(($ac_try" in
24236 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24237 *) ac_try_echo=$ac_try;;
24238 esac
24239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24240 (eval "$ac_compile") 2>conftest.er1
24241 ac_status=$?
24242 grep -v '^ *+' conftest.er1 >conftest.err
24243 rm -f conftest.er1
24244 cat conftest.err >&5
24245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24246 (exit $ac_status); } && {
24247 test -z "$ac_c_werror_flag" ||
24248 test ! -s conftest.err
24249 } && test -s conftest.$ac_objext; then
24250 ac_hi=$ac_mid; break
24251 else
24252 echo "$as_me: failed program was:" >&5
24253 sed 's/^/| /' conftest.$ac_ext >&5
24254
24255 ac_lo=`expr $ac_mid + 1`
24256 if test $ac_lo -le $ac_mid; then
24257 ac_lo= ac_hi=
24258 break
24259 fi
24260 ac_mid=`expr 2 '*' $ac_mid + 1`
24261 fi
24262
24263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24264 done
24265 else
24266 echo "$as_me: failed program was:" >&5
24267 sed 's/^/| /' conftest.$ac_ext >&5
24268
24269 cat >conftest.$ac_ext <<_ACEOF
24270 /* confdefs.h. */
24271 _ACEOF
24272 cat confdefs.h >>conftest.$ac_ext
24273 cat >>conftest.$ac_ext <<_ACEOF
24274 /* end confdefs.h. */
24275
24276 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24277 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24278 # error "fake wchar_t"
24279 #endif
24280 #ifdef HAVE_WCHAR_H
24281 # ifdef __CYGWIN__
24282 # include <stddef.h>
24283 # endif
24284 # include <wchar.h>
24285 #endif
24286 #ifdef HAVE_STDLIB_H
24287 # include <stdlib.h>
24288 #endif
24289 #include <stdio.h>
24290
24291
24292
24293 typedef wchar_t ac__type_sizeof_;
24294 int
24295 main ()
24296 {
24297 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24298 test_array [0] = 0
24299
24300 ;
24301 return 0;
24302 }
24303 _ACEOF
24304 rm -f conftest.$ac_objext
24305 if { (ac_try="$ac_compile"
24306 case "(($ac_try" in
24307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24308 *) ac_try_echo=$ac_try;;
24309 esac
24310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24311 (eval "$ac_compile") 2>conftest.er1
24312 ac_status=$?
24313 grep -v '^ *+' conftest.er1 >conftest.err
24314 rm -f conftest.er1
24315 cat conftest.err >&5
24316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24317 (exit $ac_status); } && {
24318 test -z "$ac_c_werror_flag" ||
24319 test ! -s conftest.err
24320 } && test -s conftest.$ac_objext; then
24321 ac_hi=-1 ac_mid=-1
24322 while :; do
24323 cat >conftest.$ac_ext <<_ACEOF
24324 /* confdefs.h. */
24325 _ACEOF
24326 cat confdefs.h >>conftest.$ac_ext
24327 cat >>conftest.$ac_ext <<_ACEOF
24328 /* end confdefs.h. */
24329
24330 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24331 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24332 # error "fake wchar_t"
24333 #endif
24334 #ifdef HAVE_WCHAR_H
24335 # ifdef __CYGWIN__
24336 # include <stddef.h>
24337 # endif
24338 # include <wchar.h>
24339 #endif
24340 #ifdef HAVE_STDLIB_H
24341 # include <stdlib.h>
24342 #endif
24343 #include <stdio.h>
24344
24345
24346
24347 typedef wchar_t ac__type_sizeof_;
24348 int
24349 main ()
24350 {
24351 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24352 test_array [0] = 0
24353
24354 ;
24355 return 0;
24356 }
24357 _ACEOF
24358 rm -f conftest.$ac_objext
24359 if { (ac_try="$ac_compile"
24360 case "(($ac_try" in
24361 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24362 *) ac_try_echo=$ac_try;;
24363 esac
24364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24365 (eval "$ac_compile") 2>conftest.er1
24366 ac_status=$?
24367 grep -v '^ *+' conftest.er1 >conftest.err
24368 rm -f conftest.er1
24369 cat conftest.err >&5
24370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24371 (exit $ac_status); } && {
24372 test -z "$ac_c_werror_flag" ||
24373 test ! -s conftest.err
24374 } && test -s conftest.$ac_objext; then
24375 ac_lo=$ac_mid; break
24376 else
24377 echo "$as_me: failed program was:" >&5
24378 sed 's/^/| /' conftest.$ac_ext >&5
24379
24380 ac_hi=`expr '(' $ac_mid ')' - 1`
24381 if test $ac_mid -le $ac_hi; then
24382 ac_lo= ac_hi=
24383 break
24384 fi
24385 ac_mid=`expr 2 '*' $ac_mid`
24386 fi
24387
24388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24389 done
24390 else
24391 echo "$as_me: failed program was:" >&5
24392 sed 's/^/| /' conftest.$ac_ext >&5
24393
24394 ac_lo= ac_hi=
24395 fi
24396
24397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24398 fi
24399
24400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24401 # Binary search between lo and hi bounds.
24402 while test "x$ac_lo" != "x$ac_hi"; do
24403 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24404 cat >conftest.$ac_ext <<_ACEOF
24405 /* confdefs.h. */
24406 _ACEOF
24407 cat confdefs.h >>conftest.$ac_ext
24408 cat >>conftest.$ac_ext <<_ACEOF
24409 /* end confdefs.h. */
24410
24411 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24412 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24413 # error "fake wchar_t"
24414 #endif
24415 #ifdef HAVE_WCHAR_H
24416 # ifdef __CYGWIN__
24417 # include <stddef.h>
24418 # endif
24419 # include <wchar.h>
24420 #endif
24421 #ifdef HAVE_STDLIB_H
24422 # include <stdlib.h>
24423 #endif
24424 #include <stdio.h>
24425
24426
24427
24428 typedef wchar_t ac__type_sizeof_;
24429 int
24430 main ()
24431 {
24432 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24433 test_array [0] = 0
24434
24435 ;
24436 return 0;
24437 }
24438 _ACEOF
24439 rm -f conftest.$ac_objext
24440 if { (ac_try="$ac_compile"
24441 case "(($ac_try" in
24442 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24443 *) ac_try_echo=$ac_try;;
24444 esac
24445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24446 (eval "$ac_compile") 2>conftest.er1
24447 ac_status=$?
24448 grep -v '^ *+' conftest.er1 >conftest.err
24449 rm -f conftest.er1
24450 cat conftest.err >&5
24451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24452 (exit $ac_status); } && {
24453 test -z "$ac_c_werror_flag" ||
24454 test ! -s conftest.err
24455 } && test -s conftest.$ac_objext; then
24456 ac_hi=$ac_mid
24457 else
24458 echo "$as_me: failed program was:" >&5
24459 sed 's/^/| /' conftest.$ac_ext >&5
24460
24461 ac_lo=`expr '(' $ac_mid ')' + 1`
24462 fi
24463
24464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24465 done
24466 case $ac_lo in
24467 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
24468 '') if test "$ac_cv_type_wchar_t" = yes; then
24469 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
24470 See \`config.log' for more details." >&5
24471 echo "$as_me: error: cannot compute sizeof (wchar_t)
24472 See \`config.log' for more details." >&2;}
24473 { (exit 77); exit 77; }; }
24474 else
24475 ac_cv_sizeof_wchar_t=0
24476 fi ;;
24477 esac
24478 else
24479 cat >conftest.$ac_ext <<_ACEOF
24480 /* confdefs.h. */
24481 _ACEOF
24482 cat confdefs.h >>conftest.$ac_ext
24483 cat >>conftest.$ac_ext <<_ACEOF
24484 /* end confdefs.h. */
24485
24486 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24487 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24488 # error "fake wchar_t"
24489 #endif
24490 #ifdef HAVE_WCHAR_H
24491 # ifdef __CYGWIN__
24492 # include <stddef.h>
24493 # endif
24494 # include <wchar.h>
24495 #endif
24496 #ifdef HAVE_STDLIB_H
24497 # include <stdlib.h>
24498 #endif
24499 #include <stdio.h>
24500
24501
24502
24503 typedef wchar_t ac__type_sizeof_;
24504 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24505 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24506 #include <stdio.h>
24507 #include <stdlib.h>
24508 int
24509 main ()
24510 {
24511
24512 FILE *f = fopen ("conftest.val", "w");
24513 if (! f)
24514 return 1;
24515 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24516 {
24517 long int i = longval ();
24518 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24519 return 1;
24520 fprintf (f, "%ld\n", i);
24521 }
24522 else
24523 {
24524 unsigned long int i = ulongval ();
24525 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24526 return 1;
24527 fprintf (f, "%lu\n", i);
24528 }
24529 return ferror (f) || fclose (f) != 0;
24530
24531 ;
24532 return 0;
24533 }
24534 _ACEOF
24535 rm -f conftest$ac_exeext
24536 if { (ac_try="$ac_link"
24537 case "(($ac_try" in
24538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24539 *) ac_try_echo=$ac_try;;
24540 esac
24541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24542 (eval "$ac_link") 2>&5
24543 ac_status=$?
24544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24545 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24546 { (case "(($ac_try" in
24547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24548 *) ac_try_echo=$ac_try;;
24549 esac
24550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24551 (eval "$ac_try") 2>&5
24552 ac_status=$?
24553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24554 (exit $ac_status); }; }; then
24555 ac_cv_sizeof_wchar_t=`cat conftest.val`
24556 else
24557 echo "$as_me: program exited with status $ac_status" >&5
24558 echo "$as_me: failed program was:" >&5
24559 sed 's/^/| /' conftest.$ac_ext >&5
24560
24561 ( exit $ac_status )
24562 if test "$ac_cv_type_wchar_t" = yes; then
24563 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
24564 See \`config.log' for more details." >&5
24565 echo "$as_me: error: cannot compute sizeof (wchar_t)
24566 See \`config.log' for more details." >&2;}
24567 { (exit 77); exit 77; }; }
24568 else
24569 ac_cv_sizeof_wchar_t=0
24570 fi
24571 fi
24572 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24573 fi
24574 rm -f conftest.val
24575 fi
24576 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
24577 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
24578
24579
24580
24581 cat >>confdefs.h <<_ACEOF
24582 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
24583 _ACEOF
24584
24585
24586 if test "$ac_cv_sizeof_wchar_t" = 0; then
24587 { { echo "$as_me:$LINENO: error: wxWidgets requires wchar_t support." >&5
24588 echo "$as_me: error: wxWidgets requires wchar_t support." >&2;}
24589 { (exit 1); exit 1; }; }
24590 fi
24591 cat >>confdefs.h <<\_ACEOF
24592 #define wxUSE_WCHAR_T 1
24593 _ACEOF
24594
24595
24596 { echo "$as_me:$LINENO: checking for va_copy" >&5
24597 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
24598 if test "${wx_cv_func_va_copy+set}" = set; then
24599 echo $ECHO_N "(cached) $ECHO_C" >&6
24600 else
24601
24602 ac_ext=cpp
24603 ac_cpp='$CXXCPP $CPPFLAGS'
24604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24607
24608 cat >conftest.$ac_ext <<_ACEOF
24609
24610 /* confdefs.h. */
24611 _ACEOF
24612 cat confdefs.h >>conftest.$ac_ext
24613 cat >>conftest.$ac_ext <<_ACEOF
24614 /* end confdefs.h. */
24615
24616 #include <stdarg.h>
24617 void foo(char *f, ...)
24618 {
24619 va_list ap1, ap2;
24620 va_start(ap1, f);
24621 va_copy(ap2, ap1);
24622 va_end(ap2);
24623 va_end(ap1);
24624 }
24625 int main()
24626 {
24627 foo("hi", 17);
24628 return 0;
24629 }
24630
24631 _ACEOF
24632 rm -f conftest.$ac_objext conftest$ac_exeext
24633 if { (ac_try="$ac_link"
24634 case "(($ac_try" in
24635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24636 *) ac_try_echo=$ac_try;;
24637 esac
24638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24639 (eval "$ac_link") 2>conftest.er1
24640 ac_status=$?
24641 grep -v '^ *+' conftest.er1 >conftest.err
24642 rm -f conftest.er1
24643 cat conftest.err >&5
24644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24645 (exit $ac_status); } && {
24646 test -z "$ac_cxx_werror_flag" ||
24647 test ! -s conftest.err
24648 } && test -s conftest$ac_exeext &&
24649 $as_test_x conftest$ac_exeext; then
24650 wx_cv_func_va_copy=yes
24651 else
24652 echo "$as_me: failed program was:" >&5
24653 sed 's/^/| /' conftest.$ac_ext >&5
24654
24655 wx_cv_func_va_copy=no
24656
24657 fi
24658
24659 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24660 conftest$ac_exeext conftest.$ac_ext
24661 ac_ext=c
24662 ac_cpp='$CPP $CPPFLAGS'
24663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24666
24667
24668
24669 fi
24670 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
24671 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
24672
24673 if test $wx_cv_func_va_copy = "yes"; then
24674 cat >>confdefs.h <<\_ACEOF
24675 #define HAVE_VA_COPY 1
24676 _ACEOF
24677
24678 else
24679 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
24680 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
24681 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
24682 echo $ECHO_N "(cached) $ECHO_C" >&6
24683 else
24684
24685 if test "$cross_compiling" = yes; then
24686 wx_cv_type_va_list_lvalue=yes
24687
24688 else
24689 cat >conftest.$ac_ext <<_ACEOF
24690
24691 /* confdefs.h. */
24692 _ACEOF
24693 cat confdefs.h >>conftest.$ac_ext
24694 cat >>conftest.$ac_ext <<_ACEOF
24695 /* end confdefs.h. */
24696
24697 #include <stdarg.h>
24698 int foo(char *f, ...)
24699 {
24700 va_list ap1, ap2;
24701 va_start(ap1, f);
24702 ap2 = ap1;
24703 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
24704 return 1;
24705 va_end(ap2);
24706 va_end(ap1);
24707 return 0;
24708 }
24709 int main()
24710 {
24711 return foo("hi", 17);
24712 }
24713
24714 _ACEOF
24715 rm -f conftest$ac_exeext
24716 if { (ac_try="$ac_link"
24717 case "(($ac_try" in
24718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24719 *) ac_try_echo=$ac_try;;
24720 esac
24721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24722 (eval "$ac_link") 2>&5
24723 ac_status=$?
24724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24725 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24726 { (case "(($ac_try" in
24727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24728 *) ac_try_echo=$ac_try;;
24729 esac
24730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24731 (eval "$ac_try") 2>&5
24732 ac_status=$?
24733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24734 (exit $ac_status); }; }; then
24735 wx_cv_type_va_list_lvalue=yes
24736 else
24737 echo "$as_me: program exited with status $ac_status" >&5
24738 echo "$as_me: failed program was:" >&5
24739 sed 's/^/| /' conftest.$ac_ext >&5
24740
24741 ( exit $ac_status )
24742 wx_cv_type_va_list_lvalue=no
24743 fi
24744 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24745 fi
24746
24747
24748
24749
24750 fi
24751 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
24752 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
24753
24754 if test $wx_cv_type_va_list_lvalue != "yes"; then
24755 cat >>confdefs.h <<\_ACEOF
24756 #define VA_LIST_IS_ARRAY 1
24757 _ACEOF
24758
24759 fi
24760 fi
24761
24762 if test "$wxUSE_VARARG_MACROS" = "yes"; then
24763
24764 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
24765 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
24766 if test "${wx_cv_have_variadic_macros+set}" = set; then
24767 echo $ECHO_N "(cached) $ECHO_C" >&6
24768 else
24769
24770 ac_ext=cpp
24771 ac_cpp='$CXXCPP $CPPFLAGS'
24772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24775
24776 cat >conftest.$ac_ext <<_ACEOF
24777
24778 /* confdefs.h. */
24779 _ACEOF
24780 cat confdefs.h >>conftest.$ac_ext
24781 cat >>conftest.$ac_ext <<_ACEOF
24782 /* end confdefs.h. */
24783
24784 #include <stdio.h>
24785 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
24786
24787 int
24788 main ()
24789 {
24790
24791 test("%s %d %p", "test", 1, 0);
24792
24793
24794 ;
24795 return 0;
24796 }
24797 _ACEOF
24798 rm -f conftest.$ac_objext
24799 if { (ac_try="$ac_compile"
24800 case "(($ac_try" in
24801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24802 *) ac_try_echo=$ac_try;;
24803 esac
24804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24805 (eval "$ac_compile") 2>conftest.er1
24806 ac_status=$?
24807 grep -v '^ *+' conftest.er1 >conftest.err
24808 rm -f conftest.er1
24809 cat conftest.err >&5
24810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24811 (exit $ac_status); } && {
24812 test -z "$ac_cxx_werror_flag" ||
24813 test ! -s conftest.err
24814 } && test -s conftest.$ac_objext; then
24815 wx_cv_have_variadic_macros=yes
24816 else
24817 echo "$as_me: failed program was:" >&5
24818 sed 's/^/| /' conftest.$ac_ext >&5
24819
24820 wx_cv_have_variadic_macros=no
24821
24822 fi
24823
24824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24825 ac_ext=c
24826 ac_cpp='$CPP $CPPFLAGS'
24827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24830
24831
24832
24833 fi
24834 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
24835 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
24836
24837 if test $wx_cv_have_variadic_macros = "yes"; then
24838 cat >>confdefs.h <<\_ACEOF
24839 #define HAVE_VARIADIC_MACROS 1
24840 _ACEOF
24841
24842 fi
24843
24844 fi
24845
24846 LARGEFILE_CPPFLAGS=
24847 # Check whether --enable-largefile was given.
24848 if test "${enable_largefile+set}" = set; then
24849 enableval=$enable_largefile;
24850 fi
24851
24852 if test "$enable_largefile" != no; then
24853 wx_largefile=no
24854
24855 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
24856 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
24857 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
24858 echo $ECHO_N "(cached) $ECHO_C" >&6
24859 else
24860
24861 cat >conftest.$ac_ext <<_ACEOF
24862 /* confdefs.h. */
24863 _ACEOF
24864 cat confdefs.h >>conftest.$ac_ext
24865 cat >>conftest.$ac_ext <<_ACEOF
24866 /* end confdefs.h. */
24867 #define _FILE_OFFSET_BITS 64
24868 #include <sys/types.h>
24869 int
24870 main ()
24871 {
24872 typedef struct {
24873 unsigned int field: sizeof(off_t) == 8;
24874 } wxlf;
24875
24876 ;
24877 return 0;
24878 }
24879 _ACEOF
24880 rm -f conftest.$ac_objext
24881 if { (ac_try="$ac_compile"
24882 case "(($ac_try" in
24883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24884 *) ac_try_echo=$ac_try;;
24885 esac
24886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24887 (eval "$ac_compile") 2>conftest.er1
24888 ac_status=$?
24889 grep -v '^ *+' conftest.er1 >conftest.err
24890 rm -f conftest.er1
24891 cat conftest.err >&5
24892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24893 (exit $ac_status); } && {
24894 test -z "$ac_c_werror_flag" ||
24895 test ! -s conftest.err
24896 } && test -s conftest.$ac_objext; then
24897 ac_cv_sys_file_offset_bits=64
24898 else
24899 echo "$as_me: failed program was:" >&5
24900 sed 's/^/| /' conftest.$ac_ext >&5
24901
24902 ac_cv_sys_file_offset_bits=no
24903 fi
24904
24905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24906
24907
24908 fi
24909 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
24910 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
24911
24912 if test "$ac_cv_sys_file_offset_bits" != no; then
24913 wx_largefile=yes
24914 cat >>confdefs.h <<_ACEOF
24915 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
24916 _ACEOF
24917
24918 fi
24919
24920 if test "x$wx_largefile" != "xyes"; then
24921
24922 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
24923 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
24924 if test "${ac_cv_sys_large_files+set}" = set; then
24925 echo $ECHO_N "(cached) $ECHO_C" >&6
24926 else
24927
24928 cat >conftest.$ac_ext <<_ACEOF
24929 /* confdefs.h. */
24930 _ACEOF
24931 cat confdefs.h >>conftest.$ac_ext
24932 cat >>conftest.$ac_ext <<_ACEOF
24933 /* end confdefs.h. */
24934 #define _LARGE_FILES 1
24935 #include <sys/types.h>
24936 int
24937 main ()
24938 {
24939 typedef struct {
24940 unsigned int field: sizeof(off_t) == 8;
24941 } wxlf;
24942
24943 ;
24944 return 0;
24945 }
24946 _ACEOF
24947 rm -f conftest.$ac_objext
24948 if { (ac_try="$ac_compile"
24949 case "(($ac_try" in
24950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24951 *) ac_try_echo=$ac_try;;
24952 esac
24953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24954 (eval "$ac_compile") 2>conftest.er1
24955 ac_status=$?
24956 grep -v '^ *+' conftest.er1 >conftest.err
24957 rm -f conftest.er1
24958 cat conftest.err >&5
24959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24960 (exit $ac_status); } && {
24961 test -z "$ac_c_werror_flag" ||
24962 test ! -s conftest.err
24963 } && test -s conftest.$ac_objext; then
24964 ac_cv_sys_large_files=1
24965 else
24966 echo "$as_me: failed program was:" >&5
24967 sed 's/^/| /' conftest.$ac_ext >&5
24968
24969 ac_cv_sys_large_files=no
24970 fi
24971
24972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24973
24974
24975 fi
24976 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
24977 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
24978
24979 if test "$ac_cv_sys_large_files" != no; then
24980 wx_largefile=yes
24981 cat >>confdefs.h <<_ACEOF
24982 #define _LARGE_FILES $ac_cv_sys_large_files
24983 _ACEOF
24984
24985 fi
24986
24987 fi
24988
24989 { echo "$as_me:$LINENO: checking if large file support is available" >&5
24990 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
24991 if test "x$wx_largefile" = "xyes"; then
24992 cat >>confdefs.h <<\_ACEOF
24993 #define HAVE_LARGEFILE_SUPPORT 1
24994 _ACEOF
24995
24996 fi
24997 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
24998 echo "${ECHO_T}$wx_largefile" >&6; }
24999 fi
25000
25001 if test "$ac_cv_sys_file_offset_bits" = "64"; then
25002 LARGEFILE_CPPFLAGS="-D_FILE_OFFSET_BITS=64"
25003 elif test "$ac_cv_sys_large_files" = 1; then
25004 LARGEFILE_CPPFLAGS="-D_LARGE_FILES"
25005 fi
25006
25007 if test -n "$LARGEFILE_CPPFLAGS"; then
25008 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $LARGEFILE_CPPFLAGS"
25009
25010 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
25011 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
25012 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
25013 if test "${wx_cv_STDC_EXT_required+set}" = set; then
25014 echo $ECHO_N "(cached) $ECHO_C" >&6
25015 else
25016
25017 ac_ext=cpp
25018 ac_cpp='$CXXCPP $CPPFLAGS'
25019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25022
25023 cat >conftest.$ac_ext <<_ACEOF
25024 /* confdefs.h. */
25025 _ACEOF
25026 cat confdefs.h >>conftest.$ac_ext
25027 cat >>conftest.$ac_ext <<_ACEOF
25028 /* end confdefs.h. */
25029
25030 int
25031 main ()
25032 {
25033
25034 #ifndef __STDC_EXT__
25035 choke me
25036 #endif
25037
25038 ;
25039 return 0;
25040 }
25041 _ACEOF
25042 rm -f conftest.$ac_objext
25043 if { (ac_try="$ac_compile"
25044 case "(($ac_try" in
25045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25046 *) ac_try_echo=$ac_try;;
25047 esac
25048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25049 (eval "$ac_compile") 2>conftest.er1
25050 ac_status=$?
25051 grep -v '^ *+' conftest.er1 >conftest.err
25052 rm -f conftest.er1
25053 cat conftest.err >&5
25054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25055 (exit $ac_status); } && {
25056 test -z "$ac_cxx_werror_flag" ||
25057 test ! -s conftest.err
25058 } && test -s conftest.$ac_objext; then
25059 wx_cv_STDC_EXT_required=no
25060 else
25061 echo "$as_me: failed program was:" >&5
25062 sed 's/^/| /' conftest.$ac_ext >&5
25063
25064 wx_cv_STDC_EXT_required=yes
25065
25066 fi
25067
25068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25069 ac_ext=c
25070 ac_cpp='$CPP $CPPFLAGS'
25071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25074
25075
25076
25077 fi
25078 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
25079 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
25080 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
25081 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
25082 fi
25083 fi
25084 fi
25085
25086 ac_ext=cpp
25087 ac_cpp='$CXXCPP $CPPFLAGS'
25088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25091
25092 old_CPPFLAGS="$CPPFLAGS"
25093 CPPFLAGS="$CPPFLAGS $LARGEFILE_CPPFLAGS"
25094 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
25095 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
25096 if test "${ac_cv_sys_largefile_source+set}" = set; then
25097 echo $ECHO_N "(cached) $ECHO_C" >&6
25098 else
25099 while :; do
25100 cat >conftest.$ac_ext <<_ACEOF
25101 /* confdefs.h. */
25102 _ACEOF
25103 cat confdefs.h >>conftest.$ac_ext
25104 cat >>conftest.$ac_ext <<_ACEOF
25105 /* end confdefs.h. */
25106 #include <sys/types.h> /* for off_t */
25107 #include <stdio.h>
25108 int
25109 main ()
25110 {
25111 int (*fp) (FILE *, off_t, int) = fseeko;
25112 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
25113 ;
25114 return 0;
25115 }
25116 _ACEOF
25117 rm -f conftest.$ac_objext conftest$ac_exeext
25118 if { (ac_try="$ac_link"
25119 case "(($ac_try" in
25120 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25121 *) ac_try_echo=$ac_try;;
25122 esac
25123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25124 (eval "$ac_link") 2>conftest.er1
25125 ac_status=$?
25126 grep -v '^ *+' conftest.er1 >conftest.err
25127 rm -f conftest.er1
25128 cat conftest.err >&5
25129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25130 (exit $ac_status); } && {
25131 test -z "$ac_cxx_werror_flag" ||
25132 test ! -s conftest.err
25133 } && test -s conftest$ac_exeext &&
25134 $as_test_x conftest$ac_exeext; then
25135 ac_cv_sys_largefile_source=no; break
25136 else
25137 echo "$as_me: failed program was:" >&5
25138 sed 's/^/| /' conftest.$ac_ext >&5
25139
25140
25141 fi
25142
25143 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25144 conftest$ac_exeext conftest.$ac_ext
25145 cat >conftest.$ac_ext <<_ACEOF
25146 /* confdefs.h. */
25147 _ACEOF
25148 cat confdefs.h >>conftest.$ac_ext
25149 cat >>conftest.$ac_ext <<_ACEOF
25150 /* end confdefs.h. */
25151 #define _LARGEFILE_SOURCE 1
25152 #include <sys/types.h> /* for off_t */
25153 #include <stdio.h>
25154 int
25155 main ()
25156 {
25157 int (*fp) (FILE *, off_t, int) = fseeko;
25158 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
25159 ;
25160 return 0;
25161 }
25162 _ACEOF
25163 rm -f conftest.$ac_objext conftest$ac_exeext
25164 if { (ac_try="$ac_link"
25165 case "(($ac_try" in
25166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25167 *) ac_try_echo=$ac_try;;
25168 esac
25169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25170 (eval "$ac_link") 2>conftest.er1
25171 ac_status=$?
25172 grep -v '^ *+' conftest.er1 >conftest.err
25173 rm -f conftest.er1
25174 cat conftest.err >&5
25175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25176 (exit $ac_status); } && {
25177 test -z "$ac_cxx_werror_flag" ||
25178 test ! -s conftest.err
25179 } && test -s conftest$ac_exeext &&
25180 $as_test_x conftest$ac_exeext; then
25181 ac_cv_sys_largefile_source=1; break
25182 else
25183 echo "$as_me: failed program was:" >&5
25184 sed 's/^/| /' conftest.$ac_ext >&5
25185
25186
25187 fi
25188
25189 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25190 conftest$ac_exeext conftest.$ac_ext
25191 ac_cv_sys_largefile_source=unknown
25192 break
25193 done
25194 fi
25195 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
25196 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
25197 case $ac_cv_sys_largefile_source in #(
25198 no | unknown) ;;
25199 *)
25200 cat >>confdefs.h <<_ACEOF
25201 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
25202 _ACEOF
25203 ;;
25204 esac
25205 rm -f conftest*
25206
25207 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
25208 # in glibc 2.1.3, but that breaks too many other things.
25209 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
25210 if test $ac_cv_sys_largefile_source != unknown; then
25211
25212 cat >>confdefs.h <<\_ACEOF
25213 #define HAVE_FSEEKO 1
25214 _ACEOF
25215
25216 fi
25217
25218 CPPFLAGS="$old_CPPFLAGS"
25219 ac_ext=c
25220 ac_cpp='$CPP $CPPFLAGS'
25221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25224
25225 if test "$ac_cv_sys_largefile_source" != no; then
25226 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
25227 fi
25228
25229 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
25230 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
25231 if test "${ac_cv_c_bigendian+set}" = set; then
25232 echo $ECHO_N "(cached) $ECHO_C" >&6
25233 else
25234 ac_cv_c_bigendian=unknown
25235 # See if sys/param.h defines the BYTE_ORDER macro.
25236 cat >conftest.$ac_ext <<_ACEOF
25237 /* confdefs.h. */
25238 _ACEOF
25239 cat confdefs.h >>conftest.$ac_ext
25240 cat >>conftest.$ac_ext <<_ACEOF
25241 /* end confdefs.h. */
25242 #include <sys/types.h>
25243 #include <sys/param.h>
25244 int
25245 main ()
25246 {
25247
25248 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
25249 bogus endian macros
25250 #endif
25251 ;
25252 return 0;
25253 }
25254 _ACEOF
25255 rm -f conftest.$ac_objext
25256 if { (ac_try="$ac_compile"
25257 case "(($ac_try" in
25258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25259 *) ac_try_echo=$ac_try;;
25260 esac
25261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25262 (eval "$ac_compile") 2>conftest.er1
25263 ac_status=$?
25264 grep -v '^ *+' conftest.er1 >conftest.err
25265 rm -f conftest.er1
25266 cat conftest.err >&5
25267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25268 (exit $ac_status); } && {
25269 test -z "$ac_c_werror_flag" ||
25270 test ! -s conftest.err
25271 } && test -s conftest.$ac_objext; then
25272 # It does; now see whether it defined to BIG_ENDIAN or not.
25273 cat >conftest.$ac_ext <<_ACEOF
25274 /* confdefs.h. */
25275 _ACEOF
25276 cat confdefs.h >>conftest.$ac_ext
25277 cat >>conftest.$ac_ext <<_ACEOF
25278 /* end confdefs.h. */
25279 #include <sys/types.h>
25280 #include <sys/param.h>
25281 int
25282 main ()
25283 {
25284
25285 #if BYTE_ORDER != BIG_ENDIAN
25286 not big endian
25287 #endif
25288 ;
25289 return 0;
25290 }
25291 _ACEOF
25292 rm -f conftest.$ac_objext
25293 if { (ac_try="$ac_compile"
25294 case "(($ac_try" in
25295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25296 *) ac_try_echo=$ac_try;;
25297 esac
25298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25299 (eval "$ac_compile") 2>conftest.er1
25300 ac_status=$?
25301 grep -v '^ *+' conftest.er1 >conftest.err
25302 rm -f conftest.er1
25303 cat conftest.err >&5
25304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25305 (exit $ac_status); } && {
25306 test -z "$ac_c_werror_flag" ||
25307 test ! -s conftest.err
25308 } && test -s conftest.$ac_objext; then
25309 ac_cv_c_bigendian=yes
25310 else
25311 echo "$as_me: failed program was:" >&5
25312 sed 's/^/| /' conftest.$ac_ext >&5
25313
25314 ac_cv_c_bigendian=no
25315 fi
25316
25317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25318 else
25319 echo "$as_me: failed program was:" >&5
25320 sed 's/^/| /' conftest.$ac_ext >&5
25321
25322
25323 fi
25324
25325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25326 if test $ac_cv_c_bigendian = unknown; then
25327 if test "$cross_compiling" = yes; then
25328 ac_cv_c_bigendian=unknown
25329 else
25330 cat >conftest.$ac_ext <<_ACEOF
25331 /* confdefs.h. */
25332 _ACEOF
25333 cat confdefs.h >>conftest.$ac_ext
25334 cat >>conftest.$ac_ext <<_ACEOF
25335 /* end confdefs.h. */
25336 main () {
25337 /* Are we little or big endian? From Harbison&Steele. */
25338 union
25339 {
25340 long l;
25341 char c[sizeof (long)];
25342 } u;
25343 u.l = 1;
25344 exit (u.c[sizeof (long) - 1] == 1);
25345 }
25346 _ACEOF
25347 rm -f conftest$ac_exeext
25348 if { (ac_try="$ac_link"
25349 case "(($ac_try" in
25350 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25351 *) ac_try_echo=$ac_try;;
25352 esac
25353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25354 (eval "$ac_link") 2>&5
25355 ac_status=$?
25356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25357 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25358 { (case "(($ac_try" in
25359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25360 *) ac_try_echo=$ac_try;;
25361 esac
25362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25363 (eval "$ac_try") 2>&5
25364 ac_status=$?
25365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25366 (exit $ac_status); }; }; then
25367 ac_cv_c_bigendian=no
25368 else
25369 echo "$as_me: program exited with status $ac_status" >&5
25370 echo "$as_me: failed program was:" >&5
25371 sed 's/^/| /' conftest.$ac_ext >&5
25372
25373 ( exit $ac_status )
25374 ac_cv_c_bigendian=yes
25375 fi
25376 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25377 fi
25378
25379
25380 fi
25381 fi
25382 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
25383 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
25384 if test $ac_cv_c_bigendian = unknown; then
25385 { 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
25386 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;}
25387 fi
25388 if test $ac_cv_c_bigendian = yes; then
25389 cat >>confdefs.h <<\_ACEOF
25390 #define WORDS_BIGENDIAN 1
25391 _ACEOF
25392
25393 fi
25394
25395
25396
25397
25398 ac_ext=cpp
25399 ac_cpp='$CXXCPP $CPPFLAGS'
25400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25403
25404
25405
25406 for ac_header in iostream
25407 do
25408 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
25409 { echo "$as_me:$LINENO: checking for $ac_header" >&5
25410 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
25411 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25412 echo $ECHO_N "(cached) $ECHO_C" >&6
25413 else
25414 cat >conftest.$ac_ext <<_ACEOF
25415 /* confdefs.h. */
25416 _ACEOF
25417 cat confdefs.h >>conftest.$ac_ext
25418 cat >>conftest.$ac_ext <<_ACEOF
25419 /* end confdefs.h. */
25420
25421
25422 #include <$ac_header>
25423 _ACEOF
25424 rm -f conftest.$ac_objext
25425 if { (ac_try="$ac_compile"
25426 case "(($ac_try" in
25427 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25428 *) ac_try_echo=$ac_try;;
25429 esac
25430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25431 (eval "$ac_compile") 2>conftest.er1
25432 ac_status=$?
25433 grep -v '^ *+' conftest.er1 >conftest.err
25434 rm -f conftest.er1
25435 cat conftest.err >&5
25436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25437 (exit $ac_status); } && {
25438 test -z "$ac_cxx_werror_flag" ||
25439 test ! -s conftest.err
25440 } && test -s conftest.$ac_objext; then
25441 eval "$as_ac_Header=yes"
25442 else
25443 echo "$as_me: failed program was:" >&5
25444 sed 's/^/| /' conftest.$ac_ext >&5
25445
25446 eval "$as_ac_Header=no"
25447 fi
25448
25449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25450 fi
25451 ac_res=`eval echo '${'$as_ac_Header'}'`
25452 { echo "$as_me:$LINENO: result: $ac_res" >&5
25453 echo "${ECHO_T}$ac_res" >&6; }
25454 if test `eval echo '${'$as_ac_Header'}'` = yes; then
25455 cat >>confdefs.h <<_ACEOF
25456 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
25457 _ACEOF
25458
25459 fi
25460
25461 done
25462
25463
25464 if test "$ac_cv_header_iostream" = "yes" ; then
25465 :
25466 else
25467 cat >>confdefs.h <<\_ACEOF
25468 #define wxUSE_IOSTREAMH 1
25469 _ACEOF
25470
25471 fi
25472
25473 ac_ext=c
25474 ac_cpp='$CPP $CPPFLAGS'
25475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25478
25479
25480
25481
25482 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
25483 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
25484 if test "${wx_cv_explicit+set}" = set; then
25485 echo $ECHO_N "(cached) $ECHO_C" >&6
25486 else
25487
25488
25489 ac_ext=cpp
25490 ac_cpp='$CXXCPP $CPPFLAGS'
25491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25494
25495
25496 cat >conftest.$ac_ext <<_ACEOF
25497 /* confdefs.h. */
25498 _ACEOF
25499 cat confdefs.h >>conftest.$ac_ext
25500 cat >>conftest.$ac_ext <<_ACEOF
25501 /* end confdefs.h. */
25502
25503 class Foo { public: explicit Foo(int) {} };
25504
25505 int
25506 main ()
25507 {
25508
25509 return 0;
25510
25511 ;
25512 return 0;
25513 }
25514 _ACEOF
25515 rm -f conftest.$ac_objext
25516 if { (ac_try="$ac_compile"
25517 case "(($ac_try" in
25518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25519 *) ac_try_echo=$ac_try;;
25520 esac
25521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25522 (eval "$ac_compile") 2>conftest.er1
25523 ac_status=$?
25524 grep -v '^ *+' conftest.er1 >conftest.err
25525 rm -f conftest.er1
25526 cat conftest.err >&5
25527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25528 (exit $ac_status); } && {
25529 test -z "$ac_cxx_werror_flag" ||
25530 test ! -s conftest.err
25531 } && test -s conftest.$ac_objext; then
25532
25533 cat >conftest.$ac_ext <<_ACEOF
25534 /* confdefs.h. */
25535 _ACEOF
25536 cat confdefs.h >>conftest.$ac_ext
25537 cat >>conftest.$ac_ext <<_ACEOF
25538 /* end confdefs.h. */
25539
25540 class Foo { public: explicit Foo(int) {} };
25541 static void TakeFoo(const Foo& foo) { }
25542
25543 int
25544 main ()
25545 {
25546
25547 TakeFoo(17);
25548 return 0;
25549
25550 ;
25551 return 0;
25552 }
25553 _ACEOF
25554 rm -f conftest.$ac_objext
25555 if { (ac_try="$ac_compile"
25556 case "(($ac_try" in
25557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25558 *) ac_try_echo=$ac_try;;
25559 esac
25560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25561 (eval "$ac_compile") 2>conftest.er1
25562 ac_status=$?
25563 grep -v '^ *+' conftest.er1 >conftest.err
25564 rm -f conftest.er1
25565 cat conftest.err >&5
25566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25567 (exit $ac_status); } && {
25568 test -z "$ac_cxx_werror_flag" ||
25569 test ! -s conftest.err
25570 } && test -s conftest.$ac_objext; then
25571 wx_cv_explicit=no
25572 else
25573 echo "$as_me: failed program was:" >&5
25574 sed 's/^/| /' conftest.$ac_ext >&5
25575
25576 wx_cv_explicit=yes
25577
25578 fi
25579
25580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25581
25582 else
25583 echo "$as_me: failed program was:" >&5
25584 sed 's/^/| /' conftest.$ac_ext >&5
25585
25586 wx_cv_explicit=no
25587
25588 fi
25589
25590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25591
25592 ac_ext=c
25593 ac_cpp='$CPP $CPPFLAGS'
25594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25597
25598
25599 fi
25600 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
25601 echo "${ECHO_T}$wx_cv_explicit" >&6; }
25602
25603 if test "$wx_cv_explicit" = "yes"; then
25604 cat >>confdefs.h <<\_ACEOF
25605 #define HAVE_EXPLICIT 1
25606 _ACEOF
25607
25608 fi
25609
25610
25611 if test "x$SUNCXX" = xyes; then
25612 CXXFLAGS="-features=tmplife $GNU_SOURCE_FLAG $CXXFLAGS"
25613 fi
25614
25615 if test "x$SUNCC" = xyes; then
25616 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
25617 fi
25618
25619 if test "x$SGICC" = "xyes"; then
25620 { echo "$as_me:$LINENO: checking if cc version is 7.4.4 or greater" >&5
25621 echo $ECHO_N "checking if cc version is 7.4.4 or greater... $ECHO_C" >&6; }
25622 if test "${wx_cv_prog_sgicc744+set}" = set; then
25623 echo $ECHO_N "(cached) $ECHO_C" >&6
25624 else
25625
25626 cat >conftest.$ac_ext <<_ACEOF
25627 /* confdefs.h. */
25628 _ACEOF
25629 cat confdefs.h >>conftest.$ac_ext
25630 cat >>conftest.$ac_ext <<_ACEOF
25631 /* end confdefs.h. */
25632
25633 int
25634 main ()
25635 {
25636
25637 #if _SGI_COMPILER_VERSION >= 744
25638 chock me: mipsPro is 7.4.4 or later
25639 #endif
25640
25641 ;
25642 return 0;
25643 }
25644 _ACEOF
25645 rm -f conftest.$ac_objext
25646 if { (ac_try="$ac_compile"
25647 case "(($ac_try" in
25648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25649 *) ac_try_echo=$ac_try;;
25650 esac
25651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25652 (eval "$ac_compile") 2>conftest.er1
25653 ac_status=$?
25654 grep -v '^ *+' conftest.er1 >conftest.err
25655 rm -f conftest.er1
25656 cat conftest.err >&5
25657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25658 (exit $ac_status); } && {
25659 test -z "$ac_c_werror_flag" ||
25660 test ! -s conftest.err
25661 } && test -s conftest.$ac_objext; then
25662 wx_cv_prog_sgicc744=no
25663 else
25664 echo "$as_me: failed program was:" >&5
25665 sed 's/^/| /' conftest.$ac_ext >&5
25666
25667 wx_cv_prog_sgicc744=yes
25668
25669 fi
25670
25671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25672
25673
25674 fi
25675 { echo "$as_me:$LINENO: result: $wx_cv_prog_sgicc744" >&5
25676 echo "${ECHO_T}$wx_cv_prog_sgicc744" >&6; }
25677
25678 if test "x$wx_cv_prog_sgicc744" = "xyes"; then
25679 CFLAGS="-woff 3970 $CFLAGS"
25680 fi
25681 fi
25682 if test "x$SGICXX" = "xyes"; then
25683 { echo "$as_me:$LINENO: checking if CC version is 7.4.4 or greater" >&5
25684 echo $ECHO_N "checking if CC version is 7.4.4 or greater... $ECHO_C" >&6; }
25685 if test "${wx_cv_prog_sgicxx744+set}" = set; then
25686 echo $ECHO_N "(cached) $ECHO_C" >&6
25687 else
25688
25689 ac_ext=cpp
25690 ac_cpp='$CXXCPP $CPPFLAGS'
25691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25694
25695 cat >conftest.$ac_ext <<_ACEOF
25696 /* confdefs.h. */
25697 _ACEOF
25698 cat confdefs.h >>conftest.$ac_ext
25699 cat >>conftest.$ac_ext <<_ACEOF
25700 /* end confdefs.h. */
25701
25702 int
25703 main ()
25704 {
25705
25706 #if _SGI_COMPILER_VERSION >= 744
25707 chock me: mipsPro is 7.4.4 or later
25708 #endif
25709
25710 ;
25711 return 0;
25712 }
25713 _ACEOF
25714 rm -f conftest.$ac_objext
25715 if { (ac_try="$ac_compile"
25716 case "(($ac_try" in
25717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25718 *) ac_try_echo=$ac_try;;
25719 esac
25720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25721 (eval "$ac_compile") 2>conftest.er1
25722 ac_status=$?
25723 grep -v '^ *+' conftest.er1 >conftest.err
25724 rm -f conftest.er1
25725 cat conftest.err >&5
25726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25727 (exit $ac_status); } && {
25728 test -z "$ac_cxx_werror_flag" ||
25729 test ! -s conftest.err
25730 } && test -s conftest.$ac_objext; then
25731 wx_cv_prog_sgicxx744=no
25732 else
25733 echo "$as_me: failed program was:" >&5
25734 sed 's/^/| /' conftest.$ac_ext >&5
25735
25736 wx_cv_prog_sgicxx744=yes
25737
25738 fi
25739
25740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25741 ac_ext=c
25742 ac_cpp='$CPP $CPPFLAGS'
25743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25746
25747
25748
25749 fi
25750 { echo "$as_me:$LINENO: result: $wx_cv_prog_sgicxx744" >&5
25751 echo "${ECHO_T}$wx_cv_prog_sgicxx744" >&6; }
25752
25753 if test "x$wx_cv_prog_sgicxx744" = "xyes"; then
25754 CXXFLAGS="-woff 3970 $CXXFLAGS"
25755 fi
25756 fi
25757
25758 if test "x$HPCC" = "xyes"; then
25759 CFLAGS="+W 2011,2450 $CFLAGS"
25760 fi
25761 if test "x$HPCXX" = "xyes"; then
25762 CXXFLAGS="+W 2340,4232 $CXXFLAGS"
25763 fi
25764
25765 if test "x$COMPAQCXX" = "xyes"; then
25766 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
25767 fi
25768
25769 ac_ext=cpp
25770 ac_cpp='$CXXCPP $CPPFLAGS'
25771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25774
25775
25776 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
25777 if test "$wxUSE_UNICODE" = "yes"; then
25778 std_string="std::wstring"
25779 char_type="wchar_t"
25780 else
25781 std_string="std::string"
25782 char_type="char"
25783 fi
25784
25785 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
25786 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
25787 if test "${wx_cv_class_stdstring+set}" = set; then
25788 echo $ECHO_N "(cached) $ECHO_C" >&6
25789 else
25790
25791 cat >conftest.$ac_ext <<_ACEOF
25792 /* confdefs.h. */
25793 _ACEOF
25794 cat confdefs.h >>conftest.$ac_ext
25795 cat >>conftest.$ac_ext <<_ACEOF
25796 /* end confdefs.h. */
25797 #include <string>
25798 int
25799 main ()
25800 {
25801 $std_string foo;
25802 ;
25803 return 0;
25804 }
25805 _ACEOF
25806 rm -f conftest.$ac_objext
25807 if { (ac_try="$ac_compile"
25808 case "(($ac_try" in
25809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25810 *) ac_try_echo=$ac_try;;
25811 esac
25812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25813 (eval "$ac_compile") 2>conftest.er1
25814 ac_status=$?
25815 grep -v '^ *+' conftest.er1 >conftest.err
25816 rm -f conftest.er1
25817 cat conftest.err >&5
25818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25819 (exit $ac_status); } && {
25820 test -z "$ac_cxx_werror_flag" ||
25821 test ! -s conftest.err
25822 } && test -s conftest.$ac_objext; then
25823 wx_cv_class_stdstring=yes
25824 else
25825 echo "$as_me: failed program was:" >&5
25826 sed 's/^/| /' conftest.$ac_ext >&5
25827
25828 wx_cv_class_stdstring=no
25829
25830 fi
25831
25832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25833
25834
25835 fi
25836 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
25837 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
25838
25839 if test "$wx_cv_class_stdstring" = yes; then
25840 if test "$wxUSE_UNICODE" = "yes"; then
25841 cat >>confdefs.h <<\_ACEOF
25842 #define HAVE_STD_WSTRING 1
25843 _ACEOF
25844
25845 fi
25846 else
25847 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
25848 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
25849 if test "${wx_cv_class_stdbasicstring+set}" = set; then
25850 echo $ECHO_N "(cached) $ECHO_C" >&6
25851 else
25852
25853 cat >conftest.$ac_ext <<_ACEOF
25854 /* confdefs.h. */
25855 _ACEOF
25856 cat confdefs.h >>conftest.$ac_ext
25857 cat >>conftest.$ac_ext <<_ACEOF
25858 /* end confdefs.h. */
25859
25860 #ifdef HAVE_WCHAR_H
25861 # ifdef __CYGWIN__
25862 # include <stddef.h>
25863 # endif
25864 # include <wchar.h>
25865 #endif
25866 #ifdef HAVE_STDLIB_H
25867 # include <stdlib.h>
25868 #endif
25869 #include <stdio.h>
25870 #include <string>
25871
25872 int
25873 main ()
25874 {
25875 std::basic_string<$char_type> foo;
25876 const $char_type* dummy = foo.c_str();
25877 ;
25878 return 0;
25879 }
25880 _ACEOF
25881 rm -f conftest.$ac_objext
25882 if { (ac_try="$ac_compile"
25883 case "(($ac_try" in
25884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25885 *) ac_try_echo=$ac_try;;
25886 esac
25887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25888 (eval "$ac_compile") 2>conftest.er1
25889 ac_status=$?
25890 grep -v '^ *+' conftest.er1 >conftest.err
25891 rm -f conftest.er1
25892 cat conftest.err >&5
25893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25894 (exit $ac_status); } && {
25895 test -z "$ac_cxx_werror_flag" ||
25896 test ! -s conftest.err
25897 } && test -s conftest.$ac_objext; then
25898 wx_cv_class_stdbasicstring=yes
25899 else
25900 echo "$as_me: failed program was:" >&5
25901 sed 's/^/| /' conftest.$ac_ext >&5
25902
25903 wx_cv_class_stdbasicstring=no
25904
25905 fi
25906
25907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25908
25909
25910 fi
25911 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
25912 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
25913
25914 if test "$wx_cv_class_stdbasicstring" != yes; then
25915 if test "$wxUSE_STL" = "yes"; then
25916 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
25917 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
25918 { (exit 1); exit 1; }; }
25919 elif test "$wxUSE_STD_STRING" = "yes"; then
25920 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
25921 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
25922 { (exit 1); exit 1; }; }
25923 else
25924 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
25925 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
25926 wxUSE_STD_STRING=no
25927 fi
25928 fi
25929 fi
25930 fi
25931
25932 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
25933 { echo "$as_me:$LINENO: checking for std::istream" >&5
25934 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
25935 if test "${ac_cv_type_std__istream+set}" = set; then
25936 echo $ECHO_N "(cached) $ECHO_C" >&6
25937 else
25938 cat >conftest.$ac_ext <<_ACEOF
25939 /* confdefs.h. */
25940 _ACEOF
25941 cat confdefs.h >>conftest.$ac_ext
25942 cat >>conftest.$ac_ext <<_ACEOF
25943 /* end confdefs.h. */
25944 #include <iostream>
25945
25946 typedef std::istream ac__type_new_;
25947 int
25948 main ()
25949 {
25950 if ((ac__type_new_ *) 0)
25951 return 0;
25952 if (sizeof (ac__type_new_))
25953 return 0;
25954 ;
25955 return 0;
25956 }
25957 _ACEOF
25958 rm -f conftest.$ac_objext
25959 if { (ac_try="$ac_compile"
25960 case "(($ac_try" in
25961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25962 *) ac_try_echo=$ac_try;;
25963 esac
25964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25965 (eval "$ac_compile") 2>conftest.er1
25966 ac_status=$?
25967 grep -v '^ *+' conftest.er1 >conftest.err
25968 rm -f conftest.er1
25969 cat conftest.err >&5
25970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25971 (exit $ac_status); } && {
25972 test -z "$ac_cxx_werror_flag" ||
25973 test ! -s conftest.err
25974 } && test -s conftest.$ac_objext; then
25975 ac_cv_type_std__istream=yes
25976 else
25977 echo "$as_me: failed program was:" >&5
25978 sed 's/^/| /' conftest.$ac_ext >&5
25979
25980 ac_cv_type_std__istream=no
25981 fi
25982
25983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25984 fi
25985 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
25986 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
25987 if test $ac_cv_type_std__istream = yes; then
25988
25989 cat >>confdefs.h <<_ACEOF
25990 #define HAVE_STD__ISTREAM 1
25991 _ACEOF
25992
25993
25994 else
25995 wxUSE_STD_IOSTREAM=no
25996 fi
25997 { echo "$as_me:$LINENO: checking for std::ostream" >&5
25998 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
25999 if test "${ac_cv_type_std__ostream+set}" = set; then
26000 echo $ECHO_N "(cached) $ECHO_C" >&6
26001 else
26002 cat >conftest.$ac_ext <<_ACEOF
26003 /* confdefs.h. */
26004 _ACEOF
26005 cat confdefs.h >>conftest.$ac_ext
26006 cat >>conftest.$ac_ext <<_ACEOF
26007 /* end confdefs.h. */
26008 #include <iostream>
26009
26010 typedef std::ostream ac__type_new_;
26011 int
26012 main ()
26013 {
26014 if ((ac__type_new_ *) 0)
26015 return 0;
26016 if (sizeof (ac__type_new_))
26017 return 0;
26018 ;
26019 return 0;
26020 }
26021 _ACEOF
26022 rm -f conftest.$ac_objext
26023 if { (ac_try="$ac_compile"
26024 case "(($ac_try" in
26025 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26026 *) ac_try_echo=$ac_try;;
26027 esac
26028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26029 (eval "$ac_compile") 2>conftest.er1
26030 ac_status=$?
26031 grep -v '^ *+' conftest.er1 >conftest.err
26032 rm -f conftest.er1
26033 cat conftest.err >&5
26034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26035 (exit $ac_status); } && {
26036 test -z "$ac_cxx_werror_flag" ||
26037 test ! -s conftest.err
26038 } && test -s conftest.$ac_objext; then
26039 ac_cv_type_std__ostream=yes
26040 else
26041 echo "$as_me: failed program was:" >&5
26042 sed 's/^/| /' conftest.$ac_ext >&5
26043
26044 ac_cv_type_std__ostream=no
26045 fi
26046
26047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26048 fi
26049 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
26050 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
26051 if test $ac_cv_type_std__ostream = yes; then
26052
26053 cat >>confdefs.h <<_ACEOF
26054 #define HAVE_STD__OSTREAM 1
26055 _ACEOF
26056
26057
26058 else
26059 wxUSE_STD_IOSTREAM=no
26060 fi
26061
26062
26063 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
26064 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
26065 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
26066 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
26067 { (exit 1); exit 1; }; }
26068 else
26069 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
26070 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
26071 fi
26072 fi
26073 fi
26074
26075 if test "$wxUSE_STL" = "yes"; then
26076 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
26077 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
26078 if test "${wx_cv_lib_stl+set}" = set; then
26079 echo $ECHO_N "(cached) $ECHO_C" >&6
26080 else
26081 cat >conftest.$ac_ext <<_ACEOF
26082 /* confdefs.h. */
26083 _ACEOF
26084 cat confdefs.h >>conftest.$ac_ext
26085 cat >>conftest.$ac_ext <<_ACEOF
26086 /* end confdefs.h. */
26087 #include <string>
26088 #include <functional>
26089 #include <algorithm>
26090 #include <vector>
26091 #include <list>
26092 int
26093 main ()
26094 {
26095 std::vector<int> moo;
26096 std::list<int> foo;
26097 std::vector<int>::iterator it =
26098 std::find_if(moo.begin(), moo.end(),
26099 std::bind2nd(std::less<int>(), 3));
26100 ;
26101 return 0;
26102 }
26103 _ACEOF
26104 rm -f conftest.$ac_objext
26105 if { (ac_try="$ac_compile"
26106 case "(($ac_try" in
26107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26108 *) ac_try_echo=$ac_try;;
26109 esac
26110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26111 (eval "$ac_compile") 2>conftest.er1
26112 ac_status=$?
26113 grep -v '^ *+' conftest.er1 >conftest.err
26114 rm -f conftest.er1
26115 cat conftest.err >&5
26116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26117 (exit $ac_status); } && {
26118 test -z "$ac_cxx_werror_flag" ||
26119 test ! -s conftest.err
26120 } && test -s conftest.$ac_objext; then
26121 wx_cv_lib_stl=yes
26122 else
26123 echo "$as_me: failed program was:" >&5
26124 sed 's/^/| /' conftest.$ac_ext >&5
26125
26126 wx_cv_lib_stl=no
26127
26128 fi
26129
26130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26131
26132 fi
26133 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
26134 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
26135
26136 if test "$wx_cv_lib_stl" != yes; then
26137 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
26138 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
26139 { (exit 1); exit 1; }; }
26140 fi
26141
26142 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
26143 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
26144 if test "${wx_cv_func_stdstring_compare+set}" = set; then
26145 echo $ECHO_N "(cached) $ECHO_C" >&6
26146 else
26147 cat >conftest.$ac_ext <<_ACEOF
26148 /* confdefs.h. */
26149 _ACEOF
26150 cat confdefs.h >>conftest.$ac_ext
26151 cat >>conftest.$ac_ext <<_ACEOF
26152 /* end confdefs.h. */
26153 #include <string>
26154 int
26155 main ()
26156 {
26157 std::string foo, bar;
26158 foo.compare(bar);
26159 foo.compare(1, 1, bar);
26160 foo.compare(1, 1, bar, 1, 1);
26161 foo.compare("");
26162 foo.compare(1, 1, "");
26163 foo.compare(1, 1, "", 2);
26164 ;
26165 return 0;
26166 }
26167 _ACEOF
26168 rm -f conftest.$ac_objext
26169 if { (ac_try="$ac_compile"
26170 case "(($ac_try" in
26171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26172 *) ac_try_echo=$ac_try;;
26173 esac
26174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26175 (eval "$ac_compile") 2>conftest.er1
26176 ac_status=$?
26177 grep -v '^ *+' conftest.er1 >conftest.err
26178 rm -f conftest.er1
26179 cat conftest.err >&5
26180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26181 (exit $ac_status); } && {
26182 test -z "$ac_cxx_werror_flag" ||
26183 test ! -s conftest.err
26184 } && test -s conftest.$ac_objext; then
26185 wx_cv_func_stdstring_compare=yes
26186 else
26187 echo "$as_me: failed program was:" >&5
26188 sed 's/^/| /' conftest.$ac_ext >&5
26189
26190 wx_cv_func_stdstring_compare=no
26191
26192 fi
26193
26194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26195
26196 fi
26197 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
26198 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
26199
26200 if test "$wx_cv_func_stdstring_compare" = yes; then
26201 cat >>confdefs.h <<\_ACEOF
26202 #define HAVE_STD_STRING_COMPARE 1
26203 _ACEOF
26204
26205 fi
26206
26207 if test "$wx_cv_class_gnuhashmapset" = yes; then
26208 cat >>confdefs.h <<\_ACEOF
26209 #define HAVE_EXT_HASH_MAP 1
26210 _ACEOF
26211
26212 cat >>confdefs.h <<\_ACEOF
26213 #define HAVE_GNU_CXX_HASH_MAP 1
26214 _ACEOF
26215
26216 fi
26217
26218 { echo "$as_me:$LINENO: checking for unordered_map" >&5
26219 echo $ECHO_N "checking for unordered_map... $ECHO_C" >&6; }
26220 if test "${ac_cv_header_unordered_map+set}" = set; then
26221 echo $ECHO_N "(cached) $ECHO_C" >&6
26222 else
26223 cat >conftest.$ac_ext <<_ACEOF
26224 /* confdefs.h. */
26225 _ACEOF
26226 cat confdefs.h >>conftest.$ac_ext
26227 cat >>conftest.$ac_ext <<_ACEOF
26228 /* end confdefs.h. */
26229
26230
26231
26232 #include <unordered_map>
26233 _ACEOF
26234 rm -f conftest.$ac_objext
26235 if { (ac_try="$ac_compile"
26236 case "(($ac_try" in
26237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26238 *) ac_try_echo=$ac_try;;
26239 esac
26240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26241 (eval "$ac_compile") 2>conftest.er1
26242 ac_status=$?
26243 grep -v '^ *+' conftest.er1 >conftest.err
26244 rm -f conftest.er1
26245 cat conftest.err >&5
26246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26247 (exit $ac_status); } && {
26248 test -z "$ac_cxx_werror_flag" ||
26249 test ! -s conftest.err
26250 } && test -s conftest.$ac_objext; then
26251 ac_cv_header_unordered_map=yes
26252 else
26253 echo "$as_me: failed program was:" >&5
26254 sed 's/^/| /' conftest.$ac_ext >&5
26255
26256 ac_cv_header_unordered_map=no
26257 fi
26258
26259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26260 fi
26261 { echo "$as_me:$LINENO: result: $ac_cv_header_unordered_map" >&5
26262 echo "${ECHO_T}$ac_cv_header_unordered_map" >&6; }
26263 if test $ac_cv_header_unordered_map = yes; then
26264 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std" >&5
26265 echo $ECHO_N "checking for unordered_map and unordered_set in std... $ECHO_C" >&6; }
26266 if test "${wx_cv_class_stdunorderedmapset+set}" = set; then
26267 echo $ECHO_N "(cached) $ECHO_C" >&6
26268 else
26269 cat >conftest.$ac_ext <<_ACEOF
26270 /* confdefs.h. */
26271 _ACEOF
26272 cat confdefs.h >>conftest.$ac_ext
26273 cat >>conftest.$ac_ext <<_ACEOF
26274 /* end confdefs.h. */
26275 #include <unordered_map>
26276 #include <unordered_set>
26277 int
26278 main ()
26279 {
26280 std::unordered_map<double*, char*> test1;
26281 std::unordered_set<char*> test2;
26282 ;
26283 return 0;
26284 }
26285 _ACEOF
26286 rm -f conftest.$ac_objext
26287 if { (ac_try="$ac_compile"
26288 case "(($ac_try" in
26289 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26290 *) ac_try_echo=$ac_try;;
26291 esac
26292 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26293 (eval "$ac_compile") 2>conftest.er1
26294 ac_status=$?
26295 grep -v '^ *+' conftest.er1 >conftest.err
26296 rm -f conftest.er1
26297 cat conftest.err >&5
26298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26299 (exit $ac_status); } && {
26300 test -z "$ac_cxx_werror_flag" ||
26301 test ! -s conftest.err
26302 } && test -s conftest.$ac_objext; then
26303 wx_cv_class_stdunorderedmapset=yes
26304 else
26305 echo "$as_me: failed program was:" >&5
26306 sed 's/^/| /' conftest.$ac_ext >&5
26307
26308 wx_cv_class_stdunorderedmapset=no
26309 fi
26310
26311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26312
26313
26314 fi
26315 { echo "$as_me:$LINENO: result: $wx_cv_class_stdunorderedmapset" >&5
26316 echo "${ECHO_T}$wx_cv_class_stdunorderedmapset" >&6; }
26317 fi
26318
26319
26320
26321 if test "$wx_cv_class_stdunorderedmapset" = yes; then
26322 cat >>confdefs.h <<\_ACEOF
26323 #define HAVE_STD_UNORDERED_MAP 1
26324 _ACEOF
26325
26326 cat >>confdefs.h <<\_ACEOF
26327 #define HAVE_STD_UNORDERED_SET 1
26328 _ACEOF
26329
26330 else
26331 { echo "$as_me:$LINENO: checking for tr1/unordered_map" >&5
26332 echo $ECHO_N "checking for tr1/unordered_map... $ECHO_C" >&6; }
26333 if test "${ac_cv_header_tr1_unordered_map+set}" = set; then
26334 echo $ECHO_N "(cached) $ECHO_C" >&6
26335 else
26336 cat >conftest.$ac_ext <<_ACEOF
26337 /* confdefs.h. */
26338 _ACEOF
26339 cat confdefs.h >>conftest.$ac_ext
26340 cat >>conftest.$ac_ext <<_ACEOF
26341 /* end confdefs.h. */
26342
26343
26344
26345 #include <tr1/unordered_map>
26346 _ACEOF
26347 rm -f conftest.$ac_objext
26348 if { (ac_try="$ac_compile"
26349 case "(($ac_try" in
26350 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26351 *) ac_try_echo=$ac_try;;
26352 esac
26353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26354 (eval "$ac_compile") 2>conftest.er1
26355 ac_status=$?
26356 grep -v '^ *+' conftest.er1 >conftest.err
26357 rm -f conftest.er1
26358 cat conftest.err >&5
26359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26360 (exit $ac_status); } && {
26361 test -z "$ac_cxx_werror_flag" ||
26362 test ! -s conftest.err
26363 } && test -s conftest.$ac_objext; then
26364 ac_cv_header_tr1_unordered_map=yes
26365 else
26366 echo "$as_me: failed program was:" >&5
26367 sed 's/^/| /' conftest.$ac_ext >&5
26368
26369 ac_cv_header_tr1_unordered_map=no
26370 fi
26371
26372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26373 fi
26374 { echo "$as_me:$LINENO: result: $ac_cv_header_tr1_unordered_map" >&5
26375 echo "${ECHO_T}$ac_cv_header_tr1_unordered_map" >&6; }
26376 if test $ac_cv_header_tr1_unordered_map = yes; then
26377 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std::tr1" >&5
26378 echo $ECHO_N "checking for unordered_map and unordered_set in std::tr1... $ECHO_C" >&6; }
26379 if test "${wx_cv_class_tr1unorderedmapset+set}" = set; then
26380 echo $ECHO_N "(cached) $ECHO_C" >&6
26381 else
26382 cat >conftest.$ac_ext <<_ACEOF
26383 /* confdefs.h. */
26384 _ACEOF
26385 cat confdefs.h >>conftest.$ac_ext
26386 cat >>conftest.$ac_ext <<_ACEOF
26387 /* end confdefs.h. */
26388 #include <tr1/unordered_map>
26389 #include <tr1/unordered_set>
26390 int
26391 main ()
26392 {
26393 std::tr1::unordered_map<double*, char*> test1;
26394 std::tr1::unordered_set<char*> test2;
26395 #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
26396 #error can't use unordered_{map,set} with gcc-4.[01]: http://gcc.gnu.org/PR24389
26397 #endif
26398 ;
26399 return 0;
26400 }
26401 _ACEOF
26402 rm -f conftest.$ac_objext
26403 if { (ac_try="$ac_compile"
26404 case "(($ac_try" in
26405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26406 *) ac_try_echo=$ac_try;;
26407 esac
26408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26409 (eval "$ac_compile") 2>conftest.er1
26410 ac_status=$?
26411 grep -v '^ *+' conftest.er1 >conftest.err
26412 rm -f conftest.er1
26413 cat conftest.err >&5
26414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26415 (exit $ac_status); } && {
26416 test -z "$ac_cxx_werror_flag" ||
26417 test ! -s conftest.err
26418 } && test -s conftest.$ac_objext; then
26419 wx_cv_class_tr1unorderedmapset=yes
26420 else
26421 echo "$as_me: failed program was:" >&5
26422 sed 's/^/| /' conftest.$ac_ext >&5
26423
26424 wx_cv_class_tr1unorderedmapset=no
26425 fi
26426
26427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26428
26429
26430 fi
26431 { echo "$as_me:$LINENO: result: $wx_cv_class_tr1unorderedmapset" >&5
26432 echo "${ECHO_T}$wx_cv_class_tr1unorderedmapset" >&6; }
26433 fi
26434
26435
26436
26437 if test "$wx_cv_class_tr1unorderedmapset" = yes; then
26438 cat >>confdefs.h <<\_ACEOF
26439 #define HAVE_TR1_UNORDERED_MAP 1
26440 _ACEOF
26441
26442 cat >>confdefs.h <<\_ACEOF
26443 #define HAVE_TR1_UNORDERED_SET 1
26444 _ACEOF
26445
26446 else
26447 { echo "$as_me:$LINENO: checking for hash_map" >&5
26448 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
26449 if test "${ac_cv_header_hash_map+set}" = set; then
26450 echo $ECHO_N "(cached) $ECHO_C" >&6
26451 else
26452 cat >conftest.$ac_ext <<_ACEOF
26453 /* confdefs.h. */
26454 _ACEOF
26455 cat confdefs.h >>conftest.$ac_ext
26456 cat >>conftest.$ac_ext <<_ACEOF
26457 /* end confdefs.h. */
26458
26459
26460
26461 #include <hash_map>
26462 _ACEOF
26463 rm -f conftest.$ac_objext
26464 if { (ac_try="$ac_compile"
26465 case "(($ac_try" in
26466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26467 *) ac_try_echo=$ac_try;;
26468 esac
26469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26470 (eval "$ac_compile") 2>conftest.er1
26471 ac_status=$?
26472 grep -v '^ *+' conftest.er1 >conftest.err
26473 rm -f conftest.er1
26474 cat conftest.err >&5
26475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26476 (exit $ac_status); } && {
26477 test -z "$ac_cxx_werror_flag" ||
26478 test ! -s conftest.err
26479 } && test -s conftest.$ac_objext; then
26480 ac_cv_header_hash_map=yes
26481 else
26482 echo "$as_me: failed program was:" >&5
26483 sed 's/^/| /' conftest.$ac_ext >&5
26484
26485 ac_cv_header_hash_map=no
26486 fi
26487
26488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26489 fi
26490 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
26491 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
26492 if test $ac_cv_header_hash_map = yes; then
26493 { echo "$as_me:$LINENO: checking for std::hash_map and hash_set" >&5
26494 echo $ECHO_N "checking for std::hash_map and hash_set... $ECHO_C" >&6; }
26495 if test "${wx_cv_class_stdhashmapset+set}" = set; then
26496 echo $ECHO_N "(cached) $ECHO_C" >&6
26497 else
26498 cat >conftest.$ac_ext <<_ACEOF
26499 /* confdefs.h. */
26500 _ACEOF
26501 cat confdefs.h >>conftest.$ac_ext
26502 cat >>conftest.$ac_ext <<_ACEOF
26503 /* end confdefs.h. */
26504 #include <hash_map>
26505 #include <hash_set>
26506 int
26507 main ()
26508 {
26509 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
26510 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
26511 ;
26512 return 0;
26513 }
26514 _ACEOF
26515 rm -f conftest.$ac_objext
26516 if { (ac_try="$ac_compile"
26517 case "(($ac_try" in
26518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26519 *) ac_try_echo=$ac_try;;
26520 esac
26521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26522 (eval "$ac_compile") 2>conftest.er1
26523 ac_status=$?
26524 grep -v '^ *+' conftest.er1 >conftest.err
26525 rm -f conftest.er1
26526 cat conftest.err >&5
26527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26528 (exit $ac_status); } && {
26529 test -z "$ac_cxx_werror_flag" ||
26530 test ! -s conftest.err
26531 } && test -s conftest.$ac_objext; then
26532 wx_cv_class_stdhashmapset=yes
26533 else
26534 echo "$as_me: failed program was:" >&5
26535 sed 's/^/| /' conftest.$ac_ext >&5
26536
26537 wx_cv_class_stdhashmapset=no
26538 fi
26539
26540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26541
26542
26543 fi
26544 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
26545 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
26546 fi
26547
26548
26549
26550 if test "$wx_cv_class_stdhashmapset" = yes; then
26551 cat >>confdefs.h <<\_ACEOF
26552 #define HAVE_HASH_MAP 1
26553 _ACEOF
26554
26555 cat >>confdefs.h <<\_ACEOF
26556 #define HAVE_STD_HASH_MAP 1
26557 _ACEOF
26558
26559 fi
26560
26561 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
26562 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
26563 if test "${ac_cv_header_ext_hash_map+set}" = set; then
26564 echo $ECHO_N "(cached) $ECHO_C" >&6
26565 else
26566 cat >conftest.$ac_ext <<_ACEOF
26567 /* confdefs.h. */
26568 _ACEOF
26569 cat confdefs.h >>conftest.$ac_ext
26570 cat >>conftest.$ac_ext <<_ACEOF
26571 /* end confdefs.h. */
26572
26573
26574
26575 #include <ext/hash_map>
26576 _ACEOF
26577 rm -f conftest.$ac_objext
26578 if { (ac_try="$ac_compile"
26579 case "(($ac_try" in
26580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26581 *) ac_try_echo=$ac_try;;
26582 esac
26583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26584 (eval "$ac_compile") 2>conftest.er1
26585 ac_status=$?
26586 grep -v '^ *+' conftest.er1 >conftest.err
26587 rm -f conftest.er1
26588 cat conftest.err >&5
26589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26590 (exit $ac_status); } && {
26591 test -z "$ac_cxx_werror_flag" ||
26592 test ! -s conftest.err
26593 } && test -s conftest.$ac_objext; then
26594 ac_cv_header_ext_hash_map=yes
26595 else
26596 echo "$as_me: failed program was:" >&5
26597 sed 's/^/| /' conftest.$ac_ext >&5
26598
26599 ac_cv_header_ext_hash_map=no
26600 fi
26601
26602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26603 fi
26604 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
26605 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
26606 if test $ac_cv_header_ext_hash_map = yes; then
26607 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
26608 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
26609 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
26610 echo $ECHO_N "(cached) $ECHO_C" >&6
26611 else
26612 cat >conftest.$ac_ext <<_ACEOF
26613 /* confdefs.h. */
26614 _ACEOF
26615 cat confdefs.h >>conftest.$ac_ext
26616 cat >>conftest.$ac_ext <<_ACEOF
26617 /* end confdefs.h. */
26618 #include <ext/hash_map>
26619 #include <ext/hash_set>
26620 int
26621 main ()
26622 {
26623 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
26624 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
26625 ;
26626 return 0;
26627 }
26628 _ACEOF
26629 rm -f conftest.$ac_objext
26630 if { (ac_try="$ac_compile"
26631 case "(($ac_try" in
26632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26633 *) ac_try_echo=$ac_try;;
26634 esac
26635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26636 (eval "$ac_compile") 2>conftest.er1
26637 ac_status=$?
26638 grep -v '^ *+' conftest.er1 >conftest.err
26639 rm -f conftest.er1
26640 cat conftest.err >&5
26641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26642 (exit $ac_status); } && {
26643 test -z "$ac_cxx_werror_flag" ||
26644 test ! -s conftest.err
26645 } && test -s conftest.$ac_objext; then
26646 wx_cv_class_gnuhashmapset=yes
26647 else
26648 echo "$as_me: failed program was:" >&5
26649 sed 's/^/| /' conftest.$ac_ext >&5
26650
26651 wx_cv_class_gnuhashmapset=no
26652 fi
26653
26654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26655
26656
26657 fi
26658 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
26659 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
26660 fi
26661
26662
26663
26664 fi
26665 fi
26666 fi
26667
26668 ac_ext=cpp
26669 ac_cpp='$CXXCPP $CPPFLAGS'
26670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26673 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
26674 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
26675 if test -z "$CXXCPP"; then
26676 if test "${ac_cv_prog_CXXCPP+set}" = set; then
26677 echo $ECHO_N "(cached) $ECHO_C" >&6
26678 else
26679 # Double quotes because CXXCPP needs to be expanded
26680 for CXXCPP in "$CXX -E" "/lib/cpp"
26681 do
26682 ac_preproc_ok=false
26683 for ac_cxx_preproc_warn_flag in '' yes
26684 do
26685 # Use a header file that comes with gcc, so configuring glibc
26686 # with a fresh cross-compiler works.
26687 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26688 # <limits.h> exists even on freestanding compilers.
26689 # On the NeXT, cc -E runs the code through the compiler's parser,
26690 # not just through cpp. "Syntax error" is here to catch this case.
26691 cat >conftest.$ac_ext <<_ACEOF
26692 /* confdefs.h. */
26693 _ACEOF
26694 cat confdefs.h >>conftest.$ac_ext
26695 cat >>conftest.$ac_ext <<_ACEOF
26696 /* end confdefs.h. */
26697 #ifdef __STDC__
26698 # include <limits.h>
26699 #else
26700 # include <assert.h>
26701 #endif
26702 Syntax error
26703 _ACEOF
26704 if { (ac_try="$ac_cpp conftest.$ac_ext"
26705 case "(($ac_try" in
26706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26707 *) ac_try_echo=$ac_try;;
26708 esac
26709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26710 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26711 ac_status=$?
26712 grep -v '^ *+' conftest.er1 >conftest.err
26713 rm -f conftest.er1
26714 cat conftest.err >&5
26715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26716 (exit $ac_status); } >/dev/null && {
26717 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26718 test ! -s conftest.err
26719 }; then
26720 :
26721 else
26722 echo "$as_me: failed program was:" >&5
26723 sed 's/^/| /' conftest.$ac_ext >&5
26724
26725 # Broken: fails on valid input.
26726 continue
26727 fi
26728
26729 rm -f conftest.err conftest.$ac_ext
26730
26731 # OK, works on sane cases. Now check whether nonexistent headers
26732 # can be detected and how.
26733 cat >conftest.$ac_ext <<_ACEOF
26734 /* confdefs.h. */
26735 _ACEOF
26736 cat confdefs.h >>conftest.$ac_ext
26737 cat >>conftest.$ac_ext <<_ACEOF
26738 /* end confdefs.h. */
26739 #include <ac_nonexistent.h>
26740 _ACEOF
26741 if { (ac_try="$ac_cpp conftest.$ac_ext"
26742 case "(($ac_try" in
26743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26744 *) ac_try_echo=$ac_try;;
26745 esac
26746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26747 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26748 ac_status=$?
26749 grep -v '^ *+' conftest.er1 >conftest.err
26750 rm -f conftest.er1
26751 cat conftest.err >&5
26752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26753 (exit $ac_status); } >/dev/null && {
26754 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26755 test ! -s conftest.err
26756 }; then
26757 # Broken: success on invalid input.
26758 continue
26759 else
26760 echo "$as_me: failed program was:" >&5
26761 sed 's/^/| /' conftest.$ac_ext >&5
26762
26763 # Passes both tests.
26764 ac_preproc_ok=:
26765 break
26766 fi
26767
26768 rm -f conftest.err conftest.$ac_ext
26769
26770 done
26771 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
26772 rm -f conftest.err conftest.$ac_ext
26773 if $ac_preproc_ok; then
26774 break
26775 fi
26776
26777 done
26778 ac_cv_prog_CXXCPP=$CXXCPP
26779
26780 fi
26781 CXXCPP=$ac_cv_prog_CXXCPP
26782 else
26783 ac_cv_prog_CXXCPP=$CXXCPP
26784 fi
26785 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
26786 echo "${ECHO_T}$CXXCPP" >&6; }
26787 ac_preproc_ok=false
26788 for ac_cxx_preproc_warn_flag in '' yes
26789 do
26790 # Use a header file that comes with gcc, so configuring glibc
26791 # with a fresh cross-compiler works.
26792 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26793 # <limits.h> exists even on freestanding compilers.
26794 # On the NeXT, cc -E runs the code through the compiler's parser,
26795 # not just through cpp. "Syntax error" is here to catch this case.
26796 cat >conftest.$ac_ext <<_ACEOF
26797 /* confdefs.h. */
26798 _ACEOF
26799 cat confdefs.h >>conftest.$ac_ext
26800 cat >>conftest.$ac_ext <<_ACEOF
26801 /* end confdefs.h. */
26802 #ifdef __STDC__
26803 # include <limits.h>
26804 #else
26805 # include <assert.h>
26806 #endif
26807 Syntax error
26808 _ACEOF
26809 if { (ac_try="$ac_cpp conftest.$ac_ext"
26810 case "(($ac_try" in
26811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26812 *) ac_try_echo=$ac_try;;
26813 esac
26814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26815 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26816 ac_status=$?
26817 grep -v '^ *+' conftest.er1 >conftest.err
26818 rm -f conftest.er1
26819 cat conftest.err >&5
26820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26821 (exit $ac_status); } >/dev/null && {
26822 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26823 test ! -s conftest.err
26824 }; then
26825 :
26826 else
26827 echo "$as_me: failed program was:" >&5
26828 sed 's/^/| /' conftest.$ac_ext >&5
26829
26830 # Broken: fails on valid input.
26831 continue
26832 fi
26833
26834 rm -f conftest.err conftest.$ac_ext
26835
26836 # OK, works on sane cases. Now check whether nonexistent headers
26837 # can be detected and how.
26838 cat >conftest.$ac_ext <<_ACEOF
26839 /* confdefs.h. */
26840 _ACEOF
26841 cat confdefs.h >>conftest.$ac_ext
26842 cat >>conftest.$ac_ext <<_ACEOF
26843 /* end confdefs.h. */
26844 #include <ac_nonexistent.h>
26845 _ACEOF
26846 if { (ac_try="$ac_cpp conftest.$ac_ext"
26847 case "(($ac_try" in
26848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26849 *) ac_try_echo=$ac_try;;
26850 esac
26851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26852 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26853 ac_status=$?
26854 grep -v '^ *+' conftest.er1 >conftest.err
26855 rm -f conftest.er1
26856 cat conftest.err >&5
26857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26858 (exit $ac_status); } >/dev/null && {
26859 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26860 test ! -s conftest.err
26861 }; then
26862 # Broken: success on invalid input.
26863 continue
26864 else
26865 echo "$as_me: failed program was:" >&5
26866 sed 's/^/| /' conftest.$ac_ext >&5
26867
26868 # Passes both tests.
26869 ac_preproc_ok=:
26870 break
26871 fi
26872
26873 rm -f conftest.err conftest.$ac_ext
26874
26875 done
26876 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
26877 rm -f conftest.err conftest.$ac_ext
26878 if $ac_preproc_ok; then
26879 :
26880 else
26881 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
26882 See \`config.log' for more details." >&5
26883 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
26884 See \`config.log' for more details." >&2;}
26885 { (exit 1); exit 1; }; }
26886 fi
26887
26888 ac_ext=cpp
26889 ac_cpp='$CXXCPP $CPPFLAGS'
26890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26893
26894
26895
26896
26897 for ac_header in type_traits tr1/type_traits
26898 do
26899 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26900 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26901 { echo "$as_me:$LINENO: checking for $ac_header" >&5
26902 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
26903 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26904 echo $ECHO_N "(cached) $ECHO_C" >&6
26905 fi
26906 ac_res=`eval echo '${'$as_ac_Header'}'`
26907 { echo "$as_me:$LINENO: result: $ac_res" >&5
26908 echo "${ECHO_T}$ac_res" >&6; }
26909 else
26910 # Is the header compilable?
26911 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
26912 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
26913 cat >conftest.$ac_ext <<_ACEOF
26914 /* confdefs.h. */
26915 _ACEOF
26916 cat confdefs.h >>conftest.$ac_ext
26917 cat >>conftest.$ac_ext <<_ACEOF
26918 /* end confdefs.h. */
26919 $ac_includes_default
26920 #include <$ac_header>
26921 _ACEOF
26922 rm -f conftest.$ac_objext
26923 if { (ac_try="$ac_compile"
26924 case "(($ac_try" in
26925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26926 *) ac_try_echo=$ac_try;;
26927 esac
26928 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26929 (eval "$ac_compile") 2>conftest.er1
26930 ac_status=$?
26931 grep -v '^ *+' conftest.er1 >conftest.err
26932 rm -f conftest.er1
26933 cat conftest.err >&5
26934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26935 (exit $ac_status); } && {
26936 test -z "$ac_cxx_werror_flag" ||
26937 test ! -s conftest.err
26938 } && test -s conftest.$ac_objext; then
26939 ac_header_compiler=yes
26940 else
26941 echo "$as_me: failed program was:" >&5
26942 sed 's/^/| /' conftest.$ac_ext >&5
26943
26944 ac_header_compiler=no
26945 fi
26946
26947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26948 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26949 echo "${ECHO_T}$ac_header_compiler" >&6; }
26950
26951 # Is the header present?
26952 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
26953 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
26954 cat >conftest.$ac_ext <<_ACEOF
26955 /* confdefs.h. */
26956 _ACEOF
26957 cat confdefs.h >>conftest.$ac_ext
26958 cat >>conftest.$ac_ext <<_ACEOF
26959 /* end confdefs.h. */
26960 #include <$ac_header>
26961 _ACEOF
26962 if { (ac_try="$ac_cpp conftest.$ac_ext"
26963 case "(($ac_try" in
26964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26965 *) ac_try_echo=$ac_try;;
26966 esac
26967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26968 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26969 ac_status=$?
26970 grep -v '^ *+' conftest.er1 >conftest.err
26971 rm -f conftest.er1
26972 cat conftest.err >&5
26973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26974 (exit $ac_status); } >/dev/null && {
26975 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26976 test ! -s conftest.err
26977 }; then
26978 ac_header_preproc=yes
26979 else
26980 echo "$as_me: failed program was:" >&5
26981 sed 's/^/| /' conftest.$ac_ext >&5
26982
26983 ac_header_preproc=no
26984 fi
26985
26986 rm -f conftest.err conftest.$ac_ext
26987 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26988 echo "${ECHO_T}$ac_header_preproc" >&6; }
26989
26990 # So? What about this header?
26991 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26992 yes:no: )
26993 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
26994 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
26995 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
26996 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
26997 ac_header_preproc=yes
26998 ;;
26999 no:yes:* )
27000 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27001 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27002 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27003 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27004 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27005 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27006 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27007 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27008 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27009 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27010 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27011 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27012 ( cat <<\_ASBOX
27013 ## ----------------------------------------- ##
27014 ## Report this to wx-dev@lists.wxwidgets.org ##
27015 ## ----------------------------------------- ##
27016 _ASBOX
27017 ) | sed "s/^/$as_me: WARNING: /" >&2
27018 ;;
27019 esac
27020 { echo "$as_me:$LINENO: checking for $ac_header" >&5
27021 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
27022 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27023 echo $ECHO_N "(cached) $ECHO_C" >&6
27024 else
27025 eval "$as_ac_Header=\$ac_header_preproc"
27026 fi
27027 ac_res=`eval echo '${'$as_ac_Header'}'`
27028 { echo "$as_me:$LINENO: result: $ac_res" >&5
27029 echo "${ECHO_T}$ac_res" >&6; }
27030
27031 fi
27032 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27033 cat >>confdefs.h <<_ACEOF
27034 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27035 _ACEOF
27036
27037 fi
27038
27039 done
27040
27041
27042
27043
27044 if test -n "$GCC"; then
27045 { echo "$as_me:$LINENO: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
27046 echo $ECHO_N "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... $ECHO_C" >&6; }
27047 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
27048 echo $ECHO_N "(cached) $ECHO_C" >&6
27049 else
27050
27051 cat >conftest.$ac_ext <<_ACEOF
27052 /* confdefs.h. */
27053 _ACEOF
27054 cat confdefs.h >>conftest.$ac_ext
27055 cat >>conftest.$ac_ext <<_ACEOF
27056 /* end confdefs.h. */
27057
27058 int
27059 main ()
27060 {
27061
27062 unsigned int value=0;
27063 /* wxAtomicInc doesn't use return value here */
27064 __sync_fetch_and_add(&value, 2);
27065 __sync_sub_and_fetch(&value, 1);
27066 /* but wxAtomicDec does, so mimic that: */
27067 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
27068
27069 ;
27070 return 0;
27071 }
27072 _ACEOF
27073 rm -f conftest.$ac_objext conftest$ac_exeext
27074 if { (ac_try="$ac_link"
27075 case "(($ac_try" in
27076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27077 *) ac_try_echo=$ac_try;;
27078 esac
27079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27080 (eval "$ac_link") 2>conftest.er1
27081 ac_status=$?
27082 grep -v '^ *+' conftest.er1 >conftest.err
27083 rm -f conftest.er1
27084 cat conftest.err >&5
27085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27086 (exit $ac_status); } && {
27087 test -z "$ac_cxx_werror_flag" ||
27088 test ! -s conftest.err
27089 } && test -s conftest$ac_exeext &&
27090 $as_test_x conftest$ac_exeext; then
27091 wx_cv_cc_gcc_atomic_builtins=yes
27092 else
27093 echo "$as_me: failed program was:" >&5
27094 sed 's/^/| /' conftest.$ac_ext >&5
27095
27096 wx_cv_cc_gcc_atomic_builtins=no
27097 fi
27098
27099 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27100 conftest$ac_exeext conftest.$ac_ext
27101
27102 fi
27103
27104 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
27105 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
27106 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
27107 cat >>confdefs.h <<\_ACEOF
27108 #define HAVE_GCC_ATOMIC_BUILTINS 1
27109 _ACEOF
27110
27111 fi
27112 fi
27113
27114
27115 ac_ext=c
27116 ac_cpp='$CPP $CPPFLAGS'
27117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27120
27121
27122
27123 SEARCH_INCLUDE="\
27124 /usr/local/include \
27125 /usr/local/X11/include \
27126 /usr/local/include/X11 \
27127 /usr/local/X11R7/include \
27128 /usr/local/X11R6/include \
27129 /usr/local/include/X11R7 \
27130 /usr/local/include/X11R6 \
27131 \
27132 /usr/Motif-2.1/include \
27133 /usr/Motif-1.2/include \
27134 /usr/include/Motif1.2 \
27135 \
27136 /usr/dt/include \
27137 /usr/openwin/include \
27138 \
27139 /usr/include/Xm \
27140 \
27141 /usr/X11R7/include \
27142 /usr/X11R6/include \
27143 /usr/X11R6.4/include \
27144 \
27145 /usr/include/X11R7 \
27146 /usr/include/X11R6 \
27147 \
27148 /usr/X11/include \
27149 /usr/include/X11 \
27150 \
27151 /usr/XFree86/include/X11 \
27152 /usr/pkg/include \
27153 \
27154 /usr/local/X1R5/include \
27155 /usr/local/include/X11R5 \
27156 /usr/X11R5/include \
27157 /usr/include/X11R5 \
27158 \
27159 /usr/local/X11R4/include \
27160 /usr/local/include/X11R4 \
27161 /usr/X11R4/include \
27162 /usr/include/X11R4 \
27163 \
27164 /usr/openwin/share/include"
27165
27166 { echo "$as_me:$LINENO: checking for libraries directories" >&5
27167 echo $ECHO_N "checking for libraries directories... $ECHO_C" >&6; }
27168
27169 case "${host}" in
27170 *-*-irix6* )
27171 if test "${wx_cv_std_libpath+set}" = set; then
27172 echo $ECHO_N "(cached) $ECHO_C" >&6
27173 else
27174
27175 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
27176 for e in a so sl dylib dll.a; do
27177 libc="$d/libc.$e"
27178 if test -f $libc; then
27179 save_LIBS="$LIBS"
27180 LIBS="$libc"
27181 cat >conftest.$ac_ext <<_ACEOF
27182
27183 /* confdefs.h. */
27184 _ACEOF
27185 cat confdefs.h >>conftest.$ac_ext
27186 cat >>conftest.$ac_ext <<_ACEOF
27187 /* end confdefs.h. */
27188 int main() { return 0; }
27189
27190 _ACEOF
27191 rm -f conftest.$ac_objext conftest$ac_exeext
27192 if { (ac_try="$ac_link"
27193 case "(($ac_try" in
27194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27195 *) ac_try_echo=$ac_try;;
27196 esac
27197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27198 (eval "$ac_link") 2>conftest.er1
27199 ac_status=$?
27200 grep -v '^ *+' conftest.er1 >conftest.err
27201 rm -f conftest.er1
27202 cat conftest.err >&5
27203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27204 (exit $ac_status); } && {
27205 test -z "$ac_c_werror_flag" ||
27206 test ! -s conftest.err
27207 } && test -s conftest$ac_exeext &&
27208 $as_test_x conftest$ac_exeext; then
27209 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
27210 else
27211 echo "$as_me: failed program was:" >&5
27212 sed 's/^/| /' conftest.$ac_ext >&5
27213
27214
27215 fi
27216
27217 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27218 conftest$ac_exeext conftest.$ac_ext
27219 LIBS="$save_LIBS"
27220 if test "x$wx_cv_std_libpath" != "x"; then
27221 break 2
27222 fi
27223 fi
27224 done
27225 done
27226
27227
27228 fi
27229
27230 ;;
27231
27232 *-*-solaris2* )
27233 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
27234 wx_cv_std_libpath="lib/64"
27235 fi
27236 ;;
27237
27238 *-*-linux* )
27239 if test "$ac_cv_sizeof_void_p" = 8; then
27240 if test -d "/usr/lib/`uname -m`-linux-gnu"; then
27241 wx_cv_std_libfullpath="/usr/lib/`uname -m`-linux-gnu"
27242 elif test -d "/usr/lib64" -a ! -h "/usr/lib64"; then
27243 wx_cv_std_libpath="lib64"
27244 fi
27245 else
27246 case "${host}" in
27247 i*86-*-linux* )
27248 if test -d '/usr/lib/i386-linux-gnu'; then
27249 wx_cv_std_libfullpath='/usr/lib/i386-linux-gnu'
27250 fi
27251 esac
27252 fi
27253
27254 if test -n "$wx_cv_std_libfullpath" -a -d "/usr/lib"; then
27255 wx_cv_std_libfullpath="$wx_cv_std_libfullpath /usr/lib"
27256 fi
27257 ;;
27258 esac
27259
27260 if test -z "$wx_cv_std_libpath"; then
27261 wx_cv_std_libpath="lib"
27262 fi
27263
27264 if test -z "$wx_cv_std_libfullpath"; then
27265 wx_cv_std_libfullpath="/usr/$wx_cv_std_libpath"
27266 fi
27267
27268
27269 { echo "$as_me:$LINENO: result: $wx_cv_std_libfullpath" >&5
27270 echo "${ECHO_T}$wx_cv_std_libfullpath" >&6; }
27271
27272 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` $wx_cv_std_libfullpath"
27273
27274 if test "$build" != "$host" -a "$GCC" = yes; then
27275 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
27276 cross_root=`dirname $cross_root`
27277 cross_root=`dirname $cross_root`
27278
27279 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
27280 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
27281 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
27282
27283 if test -z "$PKG_CONFIG_PATH"; then
27284 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
27285 export PKG_CONFIG_PATH
27286 fi
27287
27288 if test -z "$x_includes" -o "$x_includes" = NONE; then
27289
27290 ac_find_includes=
27291 for ac_dir in $SEARCH_INCLUDE /usr/include
27292 do
27293 if test -f "$ac_dir/X11/Intrinsic.h"; then
27294 ac_find_includes=$ac_dir
27295 break
27296 fi
27297 done
27298
27299 x_includes=$ac_find_includes
27300 fi
27301 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
27302
27303 ac_find_libraries=
27304 for ac_dir in $SEARCH_LIB
27305 do
27306 for ac_extension in a so sl dylib dll.a; do
27307 if test -f "$ac_dir/libXt.$ac_extension"; then
27308 ac_find_libraries=$ac_dir
27309 break 2
27310 fi
27311 done
27312 done
27313
27314 x_libraries=$ac_find_libraries
27315 fi
27316 fi
27317 fi
27318
27319
27320 cat >confcache <<\_ACEOF
27321 # This file is a shell script that caches the results of configure
27322 # tests run on this system so they can be shared between configure
27323 # scripts and configure runs, see configure's option --config-cache.
27324 # It is not useful on other systems. If it contains results you don't
27325 # want to keep, you may remove or edit it.
27326 #
27327 # config.status only pays attention to the cache file if you give it
27328 # the --recheck option to rerun configure.
27329 #
27330 # `ac_cv_env_foo' variables (set or unset) will be overridden when
27331 # loading this file, other *unset* `ac_cv_foo' will be assigned the
27332 # following values.
27333
27334 _ACEOF
27335
27336 # The following way of writing the cache mishandles newlines in values,
27337 # but we know of no workaround that is simple, portable, and efficient.
27338 # So, we kill variables containing newlines.
27339 # Ultrix sh set writes to stderr and can't be redirected directly,
27340 # and sets the high bit in the cache file unless we assign to the vars.
27341 (
27342 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
27343 eval ac_val=\$$ac_var
27344 case $ac_val in #(
27345 *${as_nl}*)
27346 case $ac_var in #(
27347 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
27348 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
27349 esac
27350 case $ac_var in #(
27351 _ | IFS | as_nl) ;; #(
27352 *) $as_unset $ac_var ;;
27353 esac ;;
27354 esac
27355 done
27356
27357 (set) 2>&1 |
27358 case $as_nl`(ac_space=' '; set) 2>&1` in #(
27359 *${as_nl}ac_space=\ *)
27360 # `set' does not quote correctly, so add quotes (double-quote
27361 # substitution turns \\\\ into \\, and sed turns \\ into \).
27362 sed -n \
27363 "s/'/'\\\\''/g;
27364 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
27365 ;; #(
27366 *)
27367 # `set' quotes correctly as required by POSIX, so do not add quotes.
27368 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
27369 ;;
27370 esac |
27371 sort
27372 ) |
27373 sed '
27374 /^ac_cv_env_/b end
27375 t clear
27376 :clear
27377 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
27378 t end
27379 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
27380 :end' >>confcache
27381 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
27382 if test -w "$cache_file"; then
27383 test "x$cache_file" != "x/dev/null" &&
27384 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
27385 echo "$as_me: updating cache $cache_file" >&6;}
27386 cat confcache >$cache_file
27387 else
27388 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
27389 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
27390 fi
27391 fi
27392 rm -f confcache
27393
27394 have_cos=0
27395 have_floor=0
27396
27397 for ac_func in cos
27398 do
27399 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27400 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27401 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27402 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27403 echo $ECHO_N "(cached) $ECHO_C" >&6
27404 else
27405 cat >conftest.$ac_ext <<_ACEOF
27406 /* confdefs.h. */
27407 _ACEOF
27408 cat confdefs.h >>conftest.$ac_ext
27409 cat >>conftest.$ac_ext <<_ACEOF
27410 /* end confdefs.h. */
27411 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27412 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27413 #define $ac_func innocuous_$ac_func
27414
27415 /* System header to define __stub macros and hopefully few prototypes,
27416 which can conflict with char $ac_func (); below.
27417 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27418 <limits.h> exists even on freestanding compilers. */
27419
27420 #ifdef __STDC__
27421 # include <limits.h>
27422 #else
27423 # include <assert.h>
27424 #endif
27425
27426 #undef $ac_func
27427
27428 /* Override any GCC internal prototype to avoid an error.
27429 Use char because int might match the return type of a GCC
27430 builtin and then its argument prototype would still apply. */
27431 #ifdef __cplusplus
27432 extern "C"
27433 #endif
27434 char $ac_func ();
27435 /* The GNU C library defines this for functions which it implements
27436 to always fail with ENOSYS. Some functions are actually named
27437 something starting with __ and the normal name is an alias. */
27438 #if defined __stub_$ac_func || defined __stub___$ac_func
27439 choke me
27440 #endif
27441
27442 int
27443 main ()
27444 {
27445 return $ac_func ();
27446 ;
27447 return 0;
27448 }
27449 _ACEOF
27450 rm -f conftest.$ac_objext conftest$ac_exeext
27451 if { (ac_try="$ac_link"
27452 case "(($ac_try" in
27453 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27454 *) ac_try_echo=$ac_try;;
27455 esac
27456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27457 (eval "$ac_link") 2>conftest.er1
27458 ac_status=$?
27459 grep -v '^ *+' conftest.er1 >conftest.err
27460 rm -f conftest.er1
27461 cat conftest.err >&5
27462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27463 (exit $ac_status); } && {
27464 test -z "$ac_c_werror_flag" ||
27465 test ! -s conftest.err
27466 } && test -s conftest$ac_exeext &&
27467 $as_test_x conftest$ac_exeext; then
27468 eval "$as_ac_var=yes"
27469 else
27470 echo "$as_me: failed program was:" >&5
27471 sed 's/^/| /' conftest.$ac_ext >&5
27472
27473 eval "$as_ac_var=no"
27474 fi
27475
27476 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27477 conftest$ac_exeext conftest.$ac_ext
27478 fi
27479 ac_res=`eval echo '${'$as_ac_var'}'`
27480 { echo "$as_me:$LINENO: result: $ac_res" >&5
27481 echo "${ECHO_T}$ac_res" >&6; }
27482 if test `eval echo '${'$as_ac_var'}'` = yes; then
27483 cat >>confdefs.h <<_ACEOF
27484 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27485 _ACEOF
27486 have_cos=1
27487 fi
27488 done
27489
27490
27491 for ac_func in floor
27492 do
27493 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27494 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27495 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27496 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27497 echo $ECHO_N "(cached) $ECHO_C" >&6
27498 else
27499 cat >conftest.$ac_ext <<_ACEOF
27500 /* confdefs.h. */
27501 _ACEOF
27502 cat confdefs.h >>conftest.$ac_ext
27503 cat >>conftest.$ac_ext <<_ACEOF
27504 /* end confdefs.h. */
27505 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27506 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27507 #define $ac_func innocuous_$ac_func
27508
27509 /* System header to define __stub macros and hopefully few prototypes,
27510 which can conflict with char $ac_func (); below.
27511 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27512 <limits.h> exists even on freestanding compilers. */
27513
27514 #ifdef __STDC__
27515 # include <limits.h>
27516 #else
27517 # include <assert.h>
27518 #endif
27519
27520 #undef $ac_func
27521
27522 /* Override any GCC internal prototype to avoid an error.
27523 Use char because int might match the return type of a GCC
27524 builtin and then its argument prototype would still apply. */
27525 #ifdef __cplusplus
27526 extern "C"
27527 #endif
27528 char $ac_func ();
27529 /* The GNU C library defines this for functions which it implements
27530 to always fail with ENOSYS. Some functions are actually named
27531 something starting with __ and the normal name is an alias. */
27532 #if defined __stub_$ac_func || defined __stub___$ac_func
27533 choke me
27534 #endif
27535
27536 int
27537 main ()
27538 {
27539 return $ac_func ();
27540 ;
27541 return 0;
27542 }
27543 _ACEOF
27544 rm -f conftest.$ac_objext conftest$ac_exeext
27545 if { (ac_try="$ac_link"
27546 case "(($ac_try" in
27547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27548 *) ac_try_echo=$ac_try;;
27549 esac
27550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27551 (eval "$ac_link") 2>conftest.er1
27552 ac_status=$?
27553 grep -v '^ *+' conftest.er1 >conftest.err
27554 rm -f conftest.er1
27555 cat conftest.err >&5
27556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27557 (exit $ac_status); } && {
27558 test -z "$ac_c_werror_flag" ||
27559 test ! -s conftest.err
27560 } && test -s conftest$ac_exeext &&
27561 $as_test_x conftest$ac_exeext; then
27562 eval "$as_ac_var=yes"
27563 else
27564 echo "$as_me: failed program was:" >&5
27565 sed 's/^/| /' conftest.$ac_ext >&5
27566
27567 eval "$as_ac_var=no"
27568 fi
27569
27570 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27571 conftest$ac_exeext conftest.$ac_ext
27572 fi
27573 ac_res=`eval echo '${'$as_ac_var'}'`
27574 { echo "$as_me:$LINENO: result: $ac_res" >&5
27575 echo "${ECHO_T}$ac_res" >&6; }
27576 if test `eval echo '${'$as_ac_var'}'` = yes; then
27577 cat >>confdefs.h <<_ACEOF
27578 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27579 _ACEOF
27580 have_floor=1
27581 fi
27582 done
27583
27584 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
27585 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
27586 if test "$have_cos" = 1 -a "$have_floor" = 1; then
27587 { echo "$as_me:$LINENO: result: yes" >&5
27588 echo "${ECHO_T}yes" >&6; }
27589 else
27590 { echo "$as_me:$LINENO: result: no" >&5
27591 echo "${ECHO_T}no" >&6; }
27592 LIBS="$LIBS -lm"
27593 # use different functions to avoid configure caching
27594 have_sin=0
27595 have_ceil=0
27596
27597 for ac_func in sin
27598 do
27599 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27600 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27601 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27602 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27603 echo $ECHO_N "(cached) $ECHO_C" >&6
27604 else
27605 cat >conftest.$ac_ext <<_ACEOF
27606 /* confdefs.h. */
27607 _ACEOF
27608 cat confdefs.h >>conftest.$ac_ext
27609 cat >>conftest.$ac_ext <<_ACEOF
27610 /* end confdefs.h. */
27611 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27612 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27613 #define $ac_func innocuous_$ac_func
27614
27615 /* System header to define __stub macros and hopefully few prototypes,
27616 which can conflict with char $ac_func (); below.
27617 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27618 <limits.h> exists even on freestanding compilers. */
27619
27620 #ifdef __STDC__
27621 # include <limits.h>
27622 #else
27623 # include <assert.h>
27624 #endif
27625
27626 #undef $ac_func
27627
27628 /* Override any GCC internal prototype to avoid an error.
27629 Use char because int might match the return type of a GCC
27630 builtin and then its argument prototype would still apply. */
27631 #ifdef __cplusplus
27632 extern "C"
27633 #endif
27634 char $ac_func ();
27635 /* The GNU C library defines this for functions which it implements
27636 to always fail with ENOSYS. Some functions are actually named
27637 something starting with __ and the normal name is an alias. */
27638 #if defined __stub_$ac_func || defined __stub___$ac_func
27639 choke me
27640 #endif
27641
27642 int
27643 main ()
27644 {
27645 return $ac_func ();
27646 ;
27647 return 0;
27648 }
27649 _ACEOF
27650 rm -f conftest.$ac_objext conftest$ac_exeext
27651 if { (ac_try="$ac_link"
27652 case "(($ac_try" in
27653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27654 *) ac_try_echo=$ac_try;;
27655 esac
27656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27657 (eval "$ac_link") 2>conftest.er1
27658 ac_status=$?
27659 grep -v '^ *+' conftest.er1 >conftest.err
27660 rm -f conftest.er1
27661 cat conftest.err >&5
27662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27663 (exit $ac_status); } && {
27664 test -z "$ac_c_werror_flag" ||
27665 test ! -s conftest.err
27666 } && test -s conftest$ac_exeext &&
27667 $as_test_x conftest$ac_exeext; then
27668 eval "$as_ac_var=yes"
27669 else
27670 echo "$as_me: failed program was:" >&5
27671 sed 's/^/| /' conftest.$ac_ext >&5
27672
27673 eval "$as_ac_var=no"
27674 fi
27675
27676 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27677 conftest$ac_exeext conftest.$ac_ext
27678 fi
27679 ac_res=`eval echo '${'$as_ac_var'}'`
27680 { echo "$as_me:$LINENO: result: $ac_res" >&5
27681 echo "${ECHO_T}$ac_res" >&6; }
27682 if test `eval echo '${'$as_ac_var'}'` = yes; then
27683 cat >>confdefs.h <<_ACEOF
27684 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27685 _ACEOF
27686 have_sin=1
27687 fi
27688 done
27689
27690
27691 for ac_func in ceil
27692 do
27693 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27694 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27695 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27696 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27697 echo $ECHO_N "(cached) $ECHO_C" >&6
27698 else
27699 cat >conftest.$ac_ext <<_ACEOF
27700 /* confdefs.h. */
27701 _ACEOF
27702 cat confdefs.h >>conftest.$ac_ext
27703 cat >>conftest.$ac_ext <<_ACEOF
27704 /* end confdefs.h. */
27705 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27706 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27707 #define $ac_func innocuous_$ac_func
27708
27709 /* System header to define __stub macros and hopefully few prototypes,
27710 which can conflict with char $ac_func (); below.
27711 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27712 <limits.h> exists even on freestanding compilers. */
27713
27714 #ifdef __STDC__
27715 # include <limits.h>
27716 #else
27717 # include <assert.h>
27718 #endif
27719
27720 #undef $ac_func
27721
27722 /* Override any GCC internal prototype to avoid an error.
27723 Use char because int might match the return type of a GCC
27724 builtin and then its argument prototype would still apply. */
27725 #ifdef __cplusplus
27726 extern "C"
27727 #endif
27728 char $ac_func ();
27729 /* The GNU C library defines this for functions which it implements
27730 to always fail with ENOSYS. Some functions are actually named
27731 something starting with __ and the normal name is an alias. */
27732 #if defined __stub_$ac_func || defined __stub___$ac_func
27733 choke me
27734 #endif
27735
27736 int
27737 main ()
27738 {
27739 return $ac_func ();
27740 ;
27741 return 0;
27742 }
27743 _ACEOF
27744 rm -f conftest.$ac_objext conftest$ac_exeext
27745 if { (ac_try="$ac_link"
27746 case "(($ac_try" in
27747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27748 *) ac_try_echo=$ac_try;;
27749 esac
27750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27751 (eval "$ac_link") 2>conftest.er1
27752 ac_status=$?
27753 grep -v '^ *+' conftest.er1 >conftest.err
27754 rm -f conftest.er1
27755 cat conftest.err >&5
27756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27757 (exit $ac_status); } && {
27758 test -z "$ac_c_werror_flag" ||
27759 test ! -s conftest.err
27760 } && test -s conftest$ac_exeext &&
27761 $as_test_x conftest$ac_exeext; then
27762 eval "$as_ac_var=yes"
27763 else
27764 echo "$as_me: failed program was:" >&5
27765 sed 's/^/| /' conftest.$ac_ext >&5
27766
27767 eval "$as_ac_var=no"
27768 fi
27769
27770 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27771 conftest$ac_exeext conftest.$ac_ext
27772 fi
27773 ac_res=`eval echo '${'$as_ac_var'}'`
27774 { echo "$as_me:$LINENO: result: $ac_res" >&5
27775 echo "${ECHO_T}$ac_res" >&6; }
27776 if test `eval echo '${'$as_ac_var'}'` = yes; then
27777 cat >>confdefs.h <<_ACEOF
27778 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27779 _ACEOF
27780 have_ceil=1
27781 fi
27782 done
27783
27784 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
27785 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
27786 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
27787 { echo "$as_me:$LINENO: result: yes" >&5
27788 echo "${ECHO_T}yes" >&6; }
27789 else
27790 { echo "$as_me:$LINENO: result: no" >&5
27791 echo "${ECHO_T}no" >&6; }
27792 # not sure we should warn the user, crash, etc.
27793 fi
27794 fi
27795
27796 ac_ext=cpp
27797 ac_cpp='$CXXCPP $CPPFLAGS'
27798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27801
27802 if test "wxUSE_UNICODE" = "yes"; then
27803
27804 for wx_func in wcstoull
27805 do
27806 { echo "$as_me:$LINENO: checking for $wx_func" >&5
27807 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
27808 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
27809 echo $ECHO_N "(cached) $ECHO_C" >&6
27810 else
27811
27812 cat >conftest.$ac_ext <<_ACEOF
27813
27814 /* confdefs.h. */
27815 _ACEOF
27816 cat confdefs.h >>conftest.$ac_ext
27817 cat >>conftest.$ac_ext <<_ACEOF
27818 /* end confdefs.h. */
27819
27820
27821 $ac_includes_default
27822
27823 int
27824 main ()
27825 {
27826
27827 #ifndef $wx_func
27828 &$wx_func;
27829 #endif
27830
27831
27832 ;
27833 return 0;
27834 }
27835
27836 _ACEOF
27837 rm -f conftest.$ac_objext conftest$ac_exeext
27838 if { (ac_try="$ac_link"
27839 case "(($ac_try" in
27840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27841 *) ac_try_echo=$ac_try;;
27842 esac
27843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27844 (eval "$ac_link") 2>conftest.er1
27845 ac_status=$?
27846 grep -v '^ *+' conftest.er1 >conftest.err
27847 rm -f conftest.er1
27848 cat conftest.err >&5
27849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27850 (exit $ac_status); } && {
27851 test -z "$ac_cxx_werror_flag" ||
27852 test ! -s conftest.err
27853 } && test -s conftest$ac_exeext &&
27854 $as_test_x conftest$ac_exeext; then
27855 eval wx_cv_func_$wx_func=yes
27856 else
27857 echo "$as_me: failed program was:" >&5
27858 sed 's/^/| /' conftest.$ac_ext >&5
27859
27860 eval wx_cv_func_$wx_func=no
27861 fi
27862
27863 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27864 conftest$ac_exeext conftest.$ac_ext
27865
27866 fi
27867 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
27868 { echo "$as_me:$LINENO: result: $ac_res" >&5
27869 echo "${ECHO_T}$ac_res" >&6; }
27870
27871 if eval test \$wx_cv_func_$wx_func = yes
27872 then
27873 cat >>confdefs.h <<_ACEOF
27874 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
27875 _ACEOF
27876
27877
27878 else
27879 :
27880
27881 fi
27882 done
27883
27884 else
27885
27886 for wx_func in strtoull
27887 do
27888 { echo "$as_me:$LINENO: checking for $wx_func" >&5
27889 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
27890 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
27891 echo $ECHO_N "(cached) $ECHO_C" >&6
27892 else
27893
27894 cat >conftest.$ac_ext <<_ACEOF
27895
27896 /* confdefs.h. */
27897 _ACEOF
27898 cat confdefs.h >>conftest.$ac_ext
27899 cat >>conftest.$ac_ext <<_ACEOF
27900 /* end confdefs.h. */
27901
27902
27903 $ac_includes_default
27904
27905 int
27906 main ()
27907 {
27908
27909 #ifndef $wx_func
27910 &$wx_func;
27911 #endif
27912
27913
27914 ;
27915 return 0;
27916 }
27917
27918 _ACEOF
27919 rm -f conftest.$ac_objext conftest$ac_exeext
27920 if { (ac_try="$ac_link"
27921 case "(($ac_try" in
27922 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27923 *) ac_try_echo=$ac_try;;
27924 esac
27925 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27926 (eval "$ac_link") 2>conftest.er1
27927 ac_status=$?
27928 grep -v '^ *+' conftest.er1 >conftest.err
27929 rm -f conftest.er1
27930 cat conftest.err >&5
27931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27932 (exit $ac_status); } && {
27933 test -z "$ac_cxx_werror_flag" ||
27934 test ! -s conftest.err
27935 } && test -s conftest$ac_exeext &&
27936 $as_test_x conftest$ac_exeext; then
27937 eval wx_cv_func_$wx_func=yes
27938 else
27939 echo "$as_me: failed program was:" >&5
27940 sed 's/^/| /' conftest.$ac_ext >&5
27941
27942 eval wx_cv_func_$wx_func=no
27943 fi
27944
27945 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27946 conftest$ac_exeext conftest.$ac_ext
27947
27948 fi
27949 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
27950 { echo "$as_me:$LINENO: result: $ac_res" >&5
27951 echo "${ECHO_T}$ac_res" >&6; }
27952
27953 if eval test \$wx_cv_func_$wx_func = yes
27954 then
27955 cat >>confdefs.h <<_ACEOF
27956 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
27957 _ACEOF
27958
27959
27960 else
27961 :
27962
27963 fi
27964 done
27965
27966 fi
27967 ac_ext=c
27968 ac_cpp='$CPP $CPPFLAGS'
27969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27972
27973
27974
27975
27976 if test "$wxUSE_REGEX" != "no"; then
27977 cat >>confdefs.h <<\_ACEOF
27978 #define wxUSE_REGEX 1
27979 _ACEOF
27980
27981
27982 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
27983 { echo "$as_me:$LINENO: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
27984 echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
27985 wxUSE_REGEX=builtin
27986 fi
27987
27988 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
27989 { echo "$as_me:$LINENO: checking for regex.h" >&5
27990 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
27991 if test "${ac_cv_header_regex_h+set}" = set; then
27992 echo $ECHO_N "(cached) $ECHO_C" >&6
27993 else
27994 cat >conftest.$ac_ext <<_ACEOF
27995 /* confdefs.h. */
27996 _ACEOF
27997 cat confdefs.h >>conftest.$ac_ext
27998 cat >>conftest.$ac_ext <<_ACEOF
27999 /* end confdefs.h. */
28000
28001
28002 #include <regex.h>
28003 _ACEOF
28004 rm -f conftest.$ac_objext
28005 if { (ac_try="$ac_compile"
28006 case "(($ac_try" in
28007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28008 *) ac_try_echo=$ac_try;;
28009 esac
28010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28011 (eval "$ac_compile") 2>conftest.er1
28012 ac_status=$?
28013 grep -v '^ *+' conftest.er1 >conftest.err
28014 rm -f conftest.er1
28015 cat conftest.err >&5
28016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28017 (exit $ac_status); } && {
28018 test -z "$ac_c_werror_flag" ||
28019 test ! -s conftest.err
28020 } && test -s conftest.$ac_objext; then
28021 ac_cv_header_regex_h=yes
28022 else
28023 echo "$as_me: failed program was:" >&5
28024 sed 's/^/| /' conftest.$ac_ext >&5
28025
28026 ac_cv_header_regex_h=no
28027 fi
28028
28029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28030 fi
28031 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
28032 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
28033 if test $ac_cv_header_regex_h = yes; then
28034
28035
28036 for ac_func in regcomp re_search
28037 do
28038 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28039 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28040 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28041 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28042 echo $ECHO_N "(cached) $ECHO_C" >&6
28043 else
28044 cat >conftest.$ac_ext <<_ACEOF
28045 /* confdefs.h. */
28046 _ACEOF
28047 cat confdefs.h >>conftest.$ac_ext
28048 cat >>conftest.$ac_ext <<_ACEOF
28049 /* end confdefs.h. */
28050 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28051 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28052 #define $ac_func innocuous_$ac_func
28053
28054 /* System header to define __stub macros and hopefully few prototypes,
28055 which can conflict with char $ac_func (); below.
28056 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28057 <limits.h> exists even on freestanding compilers. */
28058
28059 #ifdef __STDC__
28060 # include <limits.h>
28061 #else
28062 # include <assert.h>
28063 #endif
28064
28065 #undef $ac_func
28066
28067 /* Override any GCC internal prototype to avoid an error.
28068 Use char because int might match the return type of a GCC
28069 builtin and then its argument prototype would still apply. */
28070 #ifdef __cplusplus
28071 extern "C"
28072 #endif
28073 char $ac_func ();
28074 /* The GNU C library defines this for functions which it implements
28075 to always fail with ENOSYS. Some functions are actually named
28076 something starting with __ and the normal name is an alias. */
28077 #if defined __stub_$ac_func || defined __stub___$ac_func
28078 choke me
28079 #endif
28080
28081 int
28082 main ()
28083 {
28084 return $ac_func ();
28085 ;
28086 return 0;
28087 }
28088 _ACEOF
28089 rm -f conftest.$ac_objext conftest$ac_exeext
28090 if { (ac_try="$ac_link"
28091 case "(($ac_try" in
28092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28093 *) ac_try_echo=$ac_try;;
28094 esac
28095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28096 (eval "$ac_link") 2>conftest.er1
28097 ac_status=$?
28098 grep -v '^ *+' conftest.er1 >conftest.err
28099 rm -f conftest.er1
28100 cat conftest.err >&5
28101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28102 (exit $ac_status); } && {
28103 test -z "$ac_c_werror_flag" ||
28104 test ! -s conftest.err
28105 } && test -s conftest$ac_exeext &&
28106 $as_test_x conftest$ac_exeext; then
28107 eval "$as_ac_var=yes"
28108 else
28109 echo "$as_me: failed program was:" >&5
28110 sed 's/^/| /' conftest.$ac_ext >&5
28111
28112 eval "$as_ac_var=no"
28113 fi
28114
28115 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28116 conftest$ac_exeext conftest.$ac_ext
28117 fi
28118 ac_res=`eval echo '${'$as_ac_var'}'`
28119 { echo "$as_me:$LINENO: result: $ac_res" >&5
28120 echo "${ECHO_T}$ac_res" >&6; }
28121 if test `eval echo '${'$as_ac_var'}'` = yes; then
28122 cat >>confdefs.h <<_ACEOF
28123 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28124 _ACEOF
28125
28126 fi
28127 done
28128
28129 fi
28130
28131
28132
28133 if test "x$ac_cv_func_regcomp" != "xyes"; then
28134 if test "$wxUSE_REGEX" = "sys" ; then
28135 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
28136 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
28137 { (exit 1); exit 1; }; }
28138 else
28139 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
28140 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
28141 wxUSE_REGEX=builtin
28142 fi
28143 else
28144 wxUSE_REGEX=sys
28145 cat >>confdefs.h <<\_ACEOF
28146 #define WX_NO_REGEX_ADVANCED 1
28147 _ACEOF
28148
28149 fi
28150 fi
28151 fi
28152
28153
28154 ZLIB_LINK=
28155 if test "$wxUSE_ZLIB" != "no" ; then
28156 cat >>confdefs.h <<\_ACEOF
28157 #define wxUSE_ZLIB 1
28158 _ACEOF
28159
28160
28161 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
28162 if test "$USE_DARWIN" = 1; then
28163 system_zlib_h_ok="yes"
28164 else
28165 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
28166 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
28167 if test "${ac_cv_header_zlib_h+set}" = set; then
28168 echo $ECHO_N "(cached) $ECHO_C" >&6
28169 else
28170 if test "$cross_compiling" = yes; then
28171 unset ac_cv_header_zlib_h
28172
28173 else
28174 cat >conftest.$ac_ext <<_ACEOF
28175 /* confdefs.h. */
28176 _ACEOF
28177 cat confdefs.h >>conftest.$ac_ext
28178 cat >>conftest.$ac_ext <<_ACEOF
28179 /* end confdefs.h. */
28180
28181 #include <zlib.h>
28182 #include <stdio.h>
28183
28184 int main()
28185 {
28186 FILE *f=fopen("conftestval", "w");
28187 if (!f) exit(1);
28188 fprintf(f, "%s",
28189 ZLIB_VERSION[0] == '1' &&
28190 (ZLIB_VERSION[2] > '1' ||
28191 (ZLIB_VERSION[2] == '1' &&
28192 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
28193 exit(0);
28194 }
28195
28196 _ACEOF
28197 rm -f conftest$ac_exeext
28198 if { (ac_try="$ac_link"
28199 case "(($ac_try" in
28200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28201 *) ac_try_echo=$ac_try;;
28202 esac
28203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28204 (eval "$ac_link") 2>&5
28205 ac_status=$?
28206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28207 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28208 { (case "(($ac_try" in
28209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28210 *) ac_try_echo=$ac_try;;
28211 esac
28212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28213 (eval "$ac_try") 2>&5
28214 ac_status=$?
28215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28216 (exit $ac_status); }; }; then
28217 ac_cv_header_zlib_h=`cat conftestval`
28218 else
28219 echo "$as_me: program exited with status $ac_status" >&5
28220 echo "$as_me: failed program was:" >&5
28221 sed 's/^/| /' conftest.$ac_ext >&5
28222
28223 ( exit $ac_status )
28224 ac_cv_header_zlib_h=no
28225 fi
28226 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28227 fi
28228
28229
28230
28231 fi
28232 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28233 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28234 { echo "$as_me:$LINENO: checking for zlib.h" >&5
28235 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
28236 if test "${ac_cv_header_zlib_h+set}" = set; then
28237 echo $ECHO_N "(cached) $ECHO_C" >&6
28238 else
28239 cat >conftest.$ac_ext <<_ACEOF
28240 /* confdefs.h. */
28241 _ACEOF
28242 cat confdefs.h >>conftest.$ac_ext
28243 cat >>conftest.$ac_ext <<_ACEOF
28244 /* end confdefs.h. */
28245
28246
28247 #include <zlib.h>
28248 _ACEOF
28249 rm -f conftest.$ac_objext
28250 if { (ac_try="$ac_compile"
28251 case "(($ac_try" in
28252 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28253 *) ac_try_echo=$ac_try;;
28254 esac
28255 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28256 (eval "$ac_compile") 2>conftest.er1
28257 ac_status=$?
28258 grep -v '^ *+' conftest.er1 >conftest.err
28259 rm -f conftest.er1
28260 cat conftest.err >&5
28261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28262 (exit $ac_status); } && {
28263 test -z "$ac_c_werror_flag" ||
28264 test ! -s conftest.err
28265 } && test -s conftest.$ac_objext; then
28266 ac_cv_header_zlib_h=yes
28267 else
28268 echo "$as_me: failed program was:" >&5
28269 sed 's/^/| /' conftest.$ac_ext >&5
28270
28271 ac_cv_header_zlib_h=no
28272 fi
28273
28274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28275 fi
28276 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28277 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28278
28279
28280
28281 system_zlib_h_ok=$ac_cv_header_zlib_h
28282 fi
28283
28284 if test "$system_zlib_h_ok" = "yes"; then
28285 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
28286 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
28287 if test "${ac_cv_lib_z_deflate+set}" = set; then
28288 echo $ECHO_N "(cached) $ECHO_C" >&6
28289 else
28290 ac_check_lib_save_LIBS=$LIBS
28291 LIBS="-lz $LIBS"
28292 cat >conftest.$ac_ext <<_ACEOF
28293 /* confdefs.h. */
28294 _ACEOF
28295 cat confdefs.h >>conftest.$ac_ext
28296 cat >>conftest.$ac_ext <<_ACEOF
28297 /* end confdefs.h. */
28298
28299 /* Override any GCC internal prototype to avoid an error.
28300 Use char because int might match the return type of a GCC
28301 builtin and then its argument prototype would still apply. */
28302 #ifdef __cplusplus
28303 extern "C"
28304 #endif
28305 char deflate ();
28306 int
28307 main ()
28308 {
28309 return deflate ();
28310 ;
28311 return 0;
28312 }
28313 _ACEOF
28314 rm -f conftest.$ac_objext conftest$ac_exeext
28315 if { (ac_try="$ac_link"
28316 case "(($ac_try" in
28317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28318 *) ac_try_echo=$ac_try;;
28319 esac
28320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28321 (eval "$ac_link") 2>conftest.er1
28322 ac_status=$?
28323 grep -v '^ *+' conftest.er1 >conftest.err
28324 rm -f conftest.er1
28325 cat conftest.err >&5
28326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28327 (exit $ac_status); } && {
28328 test -z "$ac_c_werror_flag" ||
28329 test ! -s conftest.err
28330 } && test -s conftest$ac_exeext &&
28331 $as_test_x conftest$ac_exeext; then
28332 ac_cv_lib_z_deflate=yes
28333 else
28334 echo "$as_me: failed program was:" >&5
28335 sed 's/^/| /' conftest.$ac_ext >&5
28336
28337 ac_cv_lib_z_deflate=no
28338 fi
28339
28340 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28341 conftest$ac_exeext conftest.$ac_ext
28342 LIBS=$ac_check_lib_save_LIBS
28343 fi
28344 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
28345 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
28346 if test $ac_cv_lib_z_deflate = yes; then
28347 ZLIB_LINK=" -lz"
28348 fi
28349
28350 fi
28351
28352 if test "x$ZLIB_LINK" = "x" ; then
28353 if test "$wxUSE_ZLIB" = "sys" ; then
28354 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
28355 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
28356 { (exit 1); exit 1; }; }
28357 else
28358 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
28359 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
28360 wxUSE_ZLIB=builtin
28361 fi
28362 else
28363 wxUSE_ZLIB=sys
28364 fi
28365 fi
28366 fi
28367
28368
28369 PNG_LINK=
28370 if test "$wxUSE_LIBPNG" != "no" ; then
28371 cat >>confdefs.h <<\_ACEOF
28372 #define wxUSE_LIBPNG 1
28373 _ACEOF
28374
28375
28376 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
28377 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
28378 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
28379 wxUSE_LIBPNG=sys
28380 fi
28381
28382 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
28383 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
28384 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
28385 wxUSE_LIBPNG=builtin
28386 fi
28387
28388 if test "$wxUSE_MGL" != 1 ; then
28389 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
28390 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
28391 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
28392 if test "${ac_cv_header_png_h+set}" = set; then
28393 echo $ECHO_N "(cached) $ECHO_C" >&6
28394 else
28395 if test "$cross_compiling" = yes; then
28396 unset ac_cv_header_png_h
28397
28398 else
28399 cat >conftest.$ac_ext <<_ACEOF
28400 /* confdefs.h. */
28401 _ACEOF
28402 cat confdefs.h >>conftest.$ac_ext
28403 cat >>conftest.$ac_ext <<_ACEOF
28404 /* end confdefs.h. */
28405
28406 #include <png.h>
28407 #include <stdio.h>
28408
28409 int main()
28410 {
28411 FILE *f=fopen("conftestval", "w");
28412 if (!f) exit(1);
28413 fprintf(f, "%s",
28414 PNG_LIBPNG_VER > 90 ? "yes" : "no");
28415 exit(0);
28416 }
28417
28418 _ACEOF
28419 rm -f conftest$ac_exeext
28420 if { (ac_try="$ac_link"
28421 case "(($ac_try" in
28422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28423 *) ac_try_echo=$ac_try;;
28424 esac
28425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28426 (eval "$ac_link") 2>&5
28427 ac_status=$?
28428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28429 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28430 { (case "(($ac_try" in
28431 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28432 *) ac_try_echo=$ac_try;;
28433 esac
28434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28435 (eval "$ac_try") 2>&5
28436 ac_status=$?
28437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28438 (exit $ac_status); }; }; then
28439 ac_cv_header_png_h=`cat conftestval`
28440 else
28441 echo "$as_me: program exited with status $ac_status" >&5
28442 echo "$as_me: failed program was:" >&5
28443 sed 's/^/| /' conftest.$ac_ext >&5
28444
28445 ( exit $ac_status )
28446 ac_cv_header_png_h=no
28447 fi
28448 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28449 fi
28450
28451
28452
28453 fi
28454 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
28455 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
28456 { echo "$as_me:$LINENO: checking for png.h" >&5
28457 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
28458 if test "${ac_cv_header_png_h+set}" = set; then
28459 echo $ECHO_N "(cached) $ECHO_C" >&6
28460 else
28461 cat >conftest.$ac_ext <<_ACEOF
28462 /* confdefs.h. */
28463 _ACEOF
28464 cat confdefs.h >>conftest.$ac_ext
28465 cat >>conftest.$ac_ext <<_ACEOF
28466 /* end confdefs.h. */
28467
28468
28469 #include <png.h>
28470 _ACEOF
28471 rm -f conftest.$ac_objext
28472 if { (ac_try="$ac_compile"
28473 case "(($ac_try" in
28474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28475 *) ac_try_echo=$ac_try;;
28476 esac
28477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28478 (eval "$ac_compile") 2>conftest.er1
28479 ac_status=$?
28480 grep -v '^ *+' conftest.er1 >conftest.err
28481 rm -f conftest.er1
28482 cat conftest.err >&5
28483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28484 (exit $ac_status); } && {
28485 test -z "$ac_c_werror_flag" ||
28486 test ! -s conftest.err
28487 } && test -s conftest.$ac_objext; then
28488 ac_cv_header_png_h=yes
28489 else
28490 echo "$as_me: failed program was:" >&5
28491 sed 's/^/| /' conftest.$ac_ext >&5
28492
28493 ac_cv_header_png_h=no
28494 fi
28495
28496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28497 fi
28498 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
28499 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
28500
28501
28502
28503 if test "$ac_cv_header_png_h" = "yes"; then
28504 { echo "$as_me:$LINENO: checking for png_sig_cmp in -lpng" >&5
28505 echo $ECHO_N "checking for png_sig_cmp in -lpng... $ECHO_C" >&6; }
28506 if test "${ac_cv_lib_png_png_sig_cmp+set}" = set; then
28507 echo $ECHO_N "(cached) $ECHO_C" >&6
28508 else
28509 ac_check_lib_save_LIBS=$LIBS
28510 LIBS="-lpng -lz -lm $LIBS"
28511 cat >conftest.$ac_ext <<_ACEOF
28512 /* confdefs.h. */
28513 _ACEOF
28514 cat confdefs.h >>conftest.$ac_ext
28515 cat >>conftest.$ac_ext <<_ACEOF
28516 /* end confdefs.h. */
28517
28518 /* Override any GCC internal prototype to avoid an error.
28519 Use char because int might match the return type of a GCC
28520 builtin and then its argument prototype would still apply. */
28521 #ifdef __cplusplus
28522 extern "C"
28523 #endif
28524 char png_sig_cmp ();
28525 int
28526 main ()
28527 {
28528 return png_sig_cmp ();
28529 ;
28530 return 0;
28531 }
28532 _ACEOF
28533 rm -f conftest.$ac_objext conftest$ac_exeext
28534 if { (ac_try="$ac_link"
28535 case "(($ac_try" in
28536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28537 *) ac_try_echo=$ac_try;;
28538 esac
28539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28540 (eval "$ac_link") 2>conftest.er1
28541 ac_status=$?
28542 grep -v '^ *+' conftest.er1 >conftest.err
28543 rm -f conftest.er1
28544 cat conftest.err >&5
28545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28546 (exit $ac_status); } && {
28547 test -z "$ac_c_werror_flag" ||
28548 test ! -s conftest.err
28549 } && test -s conftest$ac_exeext &&
28550 $as_test_x conftest$ac_exeext; then
28551 ac_cv_lib_png_png_sig_cmp=yes
28552 else
28553 echo "$as_me: failed program was:" >&5
28554 sed 's/^/| /' conftest.$ac_ext >&5
28555
28556 ac_cv_lib_png_png_sig_cmp=no
28557 fi
28558
28559 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28560 conftest$ac_exeext conftest.$ac_ext
28561 LIBS=$ac_check_lib_save_LIBS
28562 fi
28563 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_sig_cmp" >&5
28564 echo "${ECHO_T}$ac_cv_lib_png_png_sig_cmp" >&6; }
28565 if test $ac_cv_lib_png_png_sig_cmp = yes; then
28566 PNG_LINK=" -lpng -lz"
28567 fi
28568
28569 fi
28570
28571 if test "x$PNG_LINK" = "x" ; then
28572 if test "$wxUSE_LIBPNG" = "sys" ; then
28573 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
28574 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
28575 { (exit 1); exit 1; }; }
28576 else
28577 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
28578 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
28579 wxUSE_LIBPNG=builtin
28580 fi
28581 else
28582 wxUSE_LIBPNG=sys
28583 fi
28584 fi
28585 fi
28586 fi
28587
28588
28589 JPEG_LINK=
28590 if test "$wxUSE_LIBJPEG" != "no" ; then
28591 cat >>confdefs.h <<\_ACEOF
28592 #define wxUSE_LIBJPEG 1
28593 _ACEOF
28594
28595
28596 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
28597 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
28598 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
28599 wxUSE_LIBJPEG=sys
28600 fi
28601
28602 if test "$wxUSE_MGL" != 1 ; then
28603 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
28604 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
28605 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
28606 if test "${ac_cv_header_jpeglib_h+set}" = set; then
28607 echo $ECHO_N "(cached) $ECHO_C" >&6
28608 else
28609 cat >conftest.$ac_ext <<_ACEOF
28610 /* confdefs.h. */
28611 _ACEOF
28612 cat confdefs.h >>conftest.$ac_ext
28613 cat >>conftest.$ac_ext <<_ACEOF
28614 /* end confdefs.h. */
28615
28616 #undef HAVE_STDLIB_H
28617 #include <stdio.h>
28618 #include <jpeglib.h>
28619
28620 int
28621 main ()
28622 {
28623
28624
28625 ;
28626 return 0;
28627 }
28628 _ACEOF
28629 rm -f conftest.$ac_objext
28630 if { (ac_try="$ac_compile"
28631 case "(($ac_try" in
28632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28633 *) ac_try_echo=$ac_try;;
28634 esac
28635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28636 (eval "$ac_compile") 2>conftest.er1
28637 ac_status=$?
28638 grep -v '^ *+' conftest.er1 >conftest.err
28639 rm -f conftest.er1
28640 cat conftest.err >&5
28641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28642 (exit $ac_status); } && {
28643 test -z "$ac_c_werror_flag" ||
28644 test ! -s conftest.err
28645 } && test -s conftest.$ac_objext; then
28646 ac_cv_header_jpeglib_h=yes
28647 else
28648 echo "$as_me: failed program was:" >&5
28649 sed 's/^/| /' conftest.$ac_ext >&5
28650
28651 ac_cv_header_jpeglib_h=no
28652
28653 fi
28654
28655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28656
28657 fi
28658
28659 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
28660 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
28661
28662 if test "$ac_cv_header_jpeglib_h" = "yes"; then
28663 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
28664 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
28665 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
28666 echo $ECHO_N "(cached) $ECHO_C" >&6
28667 else
28668 ac_check_lib_save_LIBS=$LIBS
28669 LIBS="-ljpeg $LIBS"
28670 cat >conftest.$ac_ext <<_ACEOF
28671 /* confdefs.h. */
28672 _ACEOF
28673 cat confdefs.h >>conftest.$ac_ext
28674 cat >>conftest.$ac_ext <<_ACEOF
28675 /* end confdefs.h. */
28676
28677 /* Override any GCC internal prototype to avoid an error.
28678 Use char because int might match the return type of a GCC
28679 builtin and then its argument prototype would still apply. */
28680 #ifdef __cplusplus
28681 extern "C"
28682 #endif
28683 char jpeg_read_header ();
28684 int
28685 main ()
28686 {
28687 return jpeg_read_header ();
28688 ;
28689 return 0;
28690 }
28691 _ACEOF
28692 rm -f conftest.$ac_objext conftest$ac_exeext
28693 if { (ac_try="$ac_link"
28694 case "(($ac_try" in
28695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28696 *) ac_try_echo=$ac_try;;
28697 esac
28698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28699 (eval "$ac_link") 2>conftest.er1
28700 ac_status=$?
28701 grep -v '^ *+' conftest.er1 >conftest.err
28702 rm -f conftest.er1
28703 cat conftest.err >&5
28704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28705 (exit $ac_status); } && {
28706 test -z "$ac_c_werror_flag" ||
28707 test ! -s conftest.err
28708 } && test -s conftest$ac_exeext &&
28709 $as_test_x conftest$ac_exeext; then
28710 ac_cv_lib_jpeg_jpeg_read_header=yes
28711 else
28712 echo "$as_me: failed program was:" >&5
28713 sed 's/^/| /' conftest.$ac_ext >&5
28714
28715 ac_cv_lib_jpeg_jpeg_read_header=no
28716 fi
28717
28718 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28719 conftest$ac_exeext conftest.$ac_ext
28720 LIBS=$ac_check_lib_save_LIBS
28721 fi
28722 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
28723 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
28724 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
28725 JPEG_LINK=" -ljpeg"
28726 fi
28727
28728 fi
28729
28730 if test "x$JPEG_LINK" = "x" ; then
28731 if test "$wxUSE_LIBJPEG" = "sys" ; then
28732 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
28733 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
28734 { (exit 1); exit 1; }; }
28735 else
28736 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
28737 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
28738 wxUSE_LIBJPEG=builtin
28739 fi
28740 else
28741 wxUSE_LIBJPEG=sys
28742
28743 if test "$wxUSE_MSW" = 1; then
28744 { echo "$as_me:$LINENO: checking for boolean" >&5
28745 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
28746 if test "${ac_cv_type_boolean+set}" = set; then
28747 echo $ECHO_N "(cached) $ECHO_C" >&6
28748 else
28749 cat >conftest.$ac_ext <<_ACEOF
28750 /* confdefs.h. */
28751 _ACEOF
28752 cat confdefs.h >>conftest.$ac_ext
28753 cat >>conftest.$ac_ext <<_ACEOF
28754 /* end confdefs.h. */
28755 #include <windows.h>
28756
28757 typedef boolean ac__type_new_;
28758 int
28759 main ()
28760 {
28761 if ((ac__type_new_ *) 0)
28762 return 0;
28763 if (sizeof (ac__type_new_))
28764 return 0;
28765 ;
28766 return 0;
28767 }
28768 _ACEOF
28769 rm -f conftest.$ac_objext
28770 if { (ac_try="$ac_compile"
28771 case "(($ac_try" in
28772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28773 *) ac_try_echo=$ac_try;;
28774 esac
28775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28776 (eval "$ac_compile") 2>conftest.er1
28777 ac_status=$?
28778 grep -v '^ *+' conftest.er1 >conftest.err
28779 rm -f conftest.er1
28780 cat conftest.err >&5
28781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28782 (exit $ac_status); } && {
28783 test -z "$ac_c_werror_flag" ||
28784 test ! -s conftest.err
28785 } && test -s conftest.$ac_objext; then
28786 ac_cv_type_boolean=yes
28787 else
28788 echo "$as_me: failed program was:" >&5
28789 sed 's/^/| /' conftest.$ac_ext >&5
28790
28791 ac_cv_type_boolean=no
28792 fi
28793
28794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28795 fi
28796 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
28797 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
28798 if test $ac_cv_type_boolean = yes; then
28799
28800 cat >>confdefs.h <<_ACEOF
28801 #define HAVE_BOOLEAN 1
28802 _ACEOF
28803
28804
28805 { echo "$as_me:$LINENO: checking for boolean" >&5
28806 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
28807 if test "${ac_cv_type_boolean+set}" = set; then
28808 echo $ECHO_N "(cached) $ECHO_C" >&6
28809 else
28810 cat >conftest.$ac_ext <<_ACEOF
28811 /* confdefs.h. */
28812 _ACEOF
28813 cat confdefs.h >>conftest.$ac_ext
28814 cat >>conftest.$ac_ext <<_ACEOF
28815 /* end confdefs.h. */
28816
28817 #undef HAVE_BOOLEAN
28818 #include <stdio.h>
28819 #include <jpeglib.h>
28820
28821
28822 typedef boolean ac__type_new_;
28823 int
28824 main ()
28825 {
28826 if ((ac__type_new_ *) 0)
28827 return 0;
28828 if (sizeof (ac__type_new_))
28829 return 0;
28830 ;
28831 return 0;
28832 }
28833 _ACEOF
28834 rm -f conftest.$ac_objext
28835 if { (ac_try="$ac_compile"
28836 case "(($ac_try" in
28837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28838 *) ac_try_echo=$ac_try;;
28839 esac
28840 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28841 (eval "$ac_compile") 2>conftest.er1
28842 ac_status=$?
28843 grep -v '^ *+' conftest.er1 >conftest.err
28844 rm -f conftest.er1
28845 cat conftest.err >&5
28846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28847 (exit $ac_status); } && {
28848 test -z "$ac_c_werror_flag" ||
28849 test ! -s conftest.err
28850 } && test -s conftest.$ac_objext; then
28851 ac_cv_type_boolean=yes
28852 else
28853 echo "$as_me: failed program was:" >&5
28854 sed 's/^/| /' conftest.$ac_ext >&5
28855
28856 ac_cv_type_boolean=no
28857 fi
28858
28859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28860 fi
28861 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
28862 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
28863
28864 # The cast to long int works around a bug in the HP C Compiler
28865 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
28866 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
28867 # This bug is HP SR number 8606223364.
28868 { echo "$as_me:$LINENO: checking size of boolean" >&5
28869 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
28870 if test "${ac_cv_sizeof_boolean+set}" = set; then
28871 echo $ECHO_N "(cached) $ECHO_C" >&6
28872 else
28873 if test "$cross_compiling" = yes; then
28874 # Depending upon the size, compute the lo and hi bounds.
28875 cat >conftest.$ac_ext <<_ACEOF
28876 /* confdefs.h. */
28877 _ACEOF
28878 cat confdefs.h >>conftest.$ac_ext
28879 cat >>conftest.$ac_ext <<_ACEOF
28880 /* end confdefs.h. */
28881
28882 #undef HAVE_BOOLEAN
28883 #include <stdio.h>
28884 #include <jpeglib.h>
28885
28886
28887 typedef boolean ac__type_sizeof_;
28888 int
28889 main ()
28890 {
28891 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
28892 test_array [0] = 0
28893
28894 ;
28895 return 0;
28896 }
28897 _ACEOF
28898 rm -f conftest.$ac_objext
28899 if { (ac_try="$ac_compile"
28900 case "(($ac_try" in
28901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28902 *) ac_try_echo=$ac_try;;
28903 esac
28904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28905 (eval "$ac_compile") 2>conftest.er1
28906 ac_status=$?
28907 grep -v '^ *+' conftest.er1 >conftest.err
28908 rm -f conftest.er1
28909 cat conftest.err >&5
28910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28911 (exit $ac_status); } && {
28912 test -z "$ac_c_werror_flag" ||
28913 test ! -s conftest.err
28914 } && test -s conftest.$ac_objext; then
28915 ac_lo=0 ac_mid=0
28916 while :; do
28917 cat >conftest.$ac_ext <<_ACEOF
28918 /* confdefs.h. */
28919 _ACEOF
28920 cat confdefs.h >>conftest.$ac_ext
28921 cat >>conftest.$ac_ext <<_ACEOF
28922 /* end confdefs.h. */
28923
28924 #undef HAVE_BOOLEAN
28925 #include <stdio.h>
28926 #include <jpeglib.h>
28927
28928
28929 typedef boolean ac__type_sizeof_;
28930 int
28931 main ()
28932 {
28933 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
28934 test_array [0] = 0
28935
28936 ;
28937 return 0;
28938 }
28939 _ACEOF
28940 rm -f conftest.$ac_objext
28941 if { (ac_try="$ac_compile"
28942 case "(($ac_try" in
28943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28944 *) ac_try_echo=$ac_try;;
28945 esac
28946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28947 (eval "$ac_compile") 2>conftest.er1
28948 ac_status=$?
28949 grep -v '^ *+' conftest.er1 >conftest.err
28950 rm -f conftest.er1
28951 cat conftest.err >&5
28952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28953 (exit $ac_status); } && {
28954 test -z "$ac_c_werror_flag" ||
28955 test ! -s conftest.err
28956 } && test -s conftest.$ac_objext; then
28957 ac_hi=$ac_mid; break
28958 else
28959 echo "$as_me: failed program was:" >&5
28960 sed 's/^/| /' conftest.$ac_ext >&5
28961
28962 ac_lo=`expr $ac_mid + 1`
28963 if test $ac_lo -le $ac_mid; then
28964 ac_lo= ac_hi=
28965 break
28966 fi
28967 ac_mid=`expr 2 '*' $ac_mid + 1`
28968 fi
28969
28970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28971 done
28972 else
28973 echo "$as_me: failed program was:" >&5
28974 sed 's/^/| /' conftest.$ac_ext >&5
28975
28976 cat >conftest.$ac_ext <<_ACEOF
28977 /* confdefs.h. */
28978 _ACEOF
28979 cat confdefs.h >>conftest.$ac_ext
28980 cat >>conftest.$ac_ext <<_ACEOF
28981 /* end confdefs.h. */
28982
28983 #undef HAVE_BOOLEAN
28984 #include <stdio.h>
28985 #include <jpeglib.h>
28986
28987
28988 typedef boolean ac__type_sizeof_;
28989 int
28990 main ()
28991 {
28992 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
28993 test_array [0] = 0
28994
28995 ;
28996 return 0;
28997 }
28998 _ACEOF
28999 rm -f conftest.$ac_objext
29000 if { (ac_try="$ac_compile"
29001 case "(($ac_try" in
29002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29003 *) ac_try_echo=$ac_try;;
29004 esac
29005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29006 (eval "$ac_compile") 2>conftest.er1
29007 ac_status=$?
29008 grep -v '^ *+' conftest.er1 >conftest.err
29009 rm -f conftest.er1
29010 cat conftest.err >&5
29011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29012 (exit $ac_status); } && {
29013 test -z "$ac_c_werror_flag" ||
29014 test ! -s conftest.err
29015 } && test -s conftest.$ac_objext; then
29016 ac_hi=-1 ac_mid=-1
29017 while :; do
29018 cat >conftest.$ac_ext <<_ACEOF
29019 /* confdefs.h. */
29020 _ACEOF
29021 cat confdefs.h >>conftest.$ac_ext
29022 cat >>conftest.$ac_ext <<_ACEOF
29023 /* end confdefs.h. */
29024
29025 #undef HAVE_BOOLEAN
29026 #include <stdio.h>
29027 #include <jpeglib.h>
29028
29029
29030 typedef boolean ac__type_sizeof_;
29031 int
29032 main ()
29033 {
29034 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
29035 test_array [0] = 0
29036
29037 ;
29038 return 0;
29039 }
29040 _ACEOF
29041 rm -f conftest.$ac_objext
29042 if { (ac_try="$ac_compile"
29043 case "(($ac_try" in
29044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29045 *) ac_try_echo=$ac_try;;
29046 esac
29047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29048 (eval "$ac_compile") 2>conftest.er1
29049 ac_status=$?
29050 grep -v '^ *+' conftest.er1 >conftest.err
29051 rm -f conftest.er1
29052 cat conftest.err >&5
29053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29054 (exit $ac_status); } && {
29055 test -z "$ac_c_werror_flag" ||
29056 test ! -s conftest.err
29057 } && test -s conftest.$ac_objext; then
29058 ac_lo=$ac_mid; break
29059 else
29060 echo "$as_me: failed program was:" >&5
29061 sed 's/^/| /' conftest.$ac_ext >&5
29062
29063 ac_hi=`expr '(' $ac_mid ')' - 1`
29064 if test $ac_mid -le $ac_hi; then
29065 ac_lo= ac_hi=
29066 break
29067 fi
29068 ac_mid=`expr 2 '*' $ac_mid`
29069 fi
29070
29071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29072 done
29073 else
29074 echo "$as_me: failed program was:" >&5
29075 sed 's/^/| /' conftest.$ac_ext >&5
29076
29077 ac_lo= ac_hi=
29078 fi
29079
29080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29081 fi
29082
29083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29084 # Binary search between lo and hi bounds.
29085 while test "x$ac_lo" != "x$ac_hi"; do
29086 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
29087 cat >conftest.$ac_ext <<_ACEOF
29088 /* confdefs.h. */
29089 _ACEOF
29090 cat confdefs.h >>conftest.$ac_ext
29091 cat >>conftest.$ac_ext <<_ACEOF
29092 /* end confdefs.h. */
29093
29094 #undef HAVE_BOOLEAN
29095 #include <stdio.h>
29096 #include <jpeglib.h>
29097
29098
29099 typedef boolean ac__type_sizeof_;
29100 int
29101 main ()
29102 {
29103 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
29104 test_array [0] = 0
29105
29106 ;
29107 return 0;
29108 }
29109 _ACEOF
29110 rm -f conftest.$ac_objext
29111 if { (ac_try="$ac_compile"
29112 case "(($ac_try" in
29113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29114 *) ac_try_echo=$ac_try;;
29115 esac
29116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29117 (eval "$ac_compile") 2>conftest.er1
29118 ac_status=$?
29119 grep -v '^ *+' conftest.er1 >conftest.err
29120 rm -f conftest.er1
29121 cat conftest.err >&5
29122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29123 (exit $ac_status); } && {
29124 test -z "$ac_c_werror_flag" ||
29125 test ! -s conftest.err
29126 } && test -s conftest.$ac_objext; then
29127 ac_hi=$ac_mid
29128 else
29129 echo "$as_me: failed program was:" >&5
29130 sed 's/^/| /' conftest.$ac_ext >&5
29131
29132 ac_lo=`expr '(' $ac_mid ')' + 1`
29133 fi
29134
29135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29136 done
29137 case $ac_lo in
29138 ?*) ac_cv_sizeof_boolean=$ac_lo;;
29139 '') if test "$ac_cv_type_boolean" = yes; then
29140 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
29141 See \`config.log' for more details." >&5
29142 echo "$as_me: error: cannot compute sizeof (boolean)
29143 See \`config.log' for more details." >&2;}
29144 { (exit 77); exit 77; }; }
29145 else
29146 ac_cv_sizeof_boolean=0
29147 fi ;;
29148 esac
29149 else
29150 cat >conftest.$ac_ext <<_ACEOF
29151 /* confdefs.h. */
29152 _ACEOF
29153 cat confdefs.h >>conftest.$ac_ext
29154 cat >>conftest.$ac_ext <<_ACEOF
29155 /* end confdefs.h. */
29156
29157 #undef HAVE_BOOLEAN
29158 #include <stdio.h>
29159 #include <jpeglib.h>
29160
29161
29162 typedef boolean ac__type_sizeof_;
29163 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
29164 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
29165 #include <stdio.h>
29166 #include <stdlib.h>
29167 int
29168 main ()
29169 {
29170
29171 FILE *f = fopen ("conftest.val", "w");
29172 if (! f)
29173 return 1;
29174 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
29175 {
29176 long int i = longval ();
29177 if (i != ((long int) (sizeof (ac__type_sizeof_))))
29178 return 1;
29179 fprintf (f, "%ld\n", i);
29180 }
29181 else
29182 {
29183 unsigned long int i = ulongval ();
29184 if (i != ((long int) (sizeof (ac__type_sizeof_))))
29185 return 1;
29186 fprintf (f, "%lu\n", i);
29187 }
29188 return ferror (f) || fclose (f) != 0;
29189
29190 ;
29191 return 0;
29192 }
29193 _ACEOF
29194 rm -f conftest$ac_exeext
29195 if { (ac_try="$ac_link"
29196 case "(($ac_try" in
29197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29198 *) ac_try_echo=$ac_try;;
29199 esac
29200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29201 (eval "$ac_link") 2>&5
29202 ac_status=$?
29203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29204 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29205 { (case "(($ac_try" in
29206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29207 *) ac_try_echo=$ac_try;;
29208 esac
29209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29210 (eval "$ac_try") 2>&5
29211 ac_status=$?
29212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29213 (exit $ac_status); }; }; then
29214 ac_cv_sizeof_boolean=`cat conftest.val`
29215 else
29216 echo "$as_me: program exited with status $ac_status" >&5
29217 echo "$as_me: failed program was:" >&5
29218 sed 's/^/| /' conftest.$ac_ext >&5
29219
29220 ( exit $ac_status )
29221 if test "$ac_cv_type_boolean" = yes; then
29222 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
29223 See \`config.log' for more details." >&5
29224 echo "$as_me: error: cannot compute sizeof (boolean)
29225 See \`config.log' for more details." >&2;}
29226 { (exit 77); exit 77; }; }
29227 else
29228 ac_cv_sizeof_boolean=0
29229 fi
29230 fi
29231 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29232 fi
29233 rm -f conftest.val
29234 fi
29235 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
29236 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
29237
29238
29239
29240 cat >>confdefs.h <<_ACEOF
29241 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
29242 _ACEOF
29243
29244
29245 cat >>confdefs.h <<_ACEOF
29246 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
29247 _ACEOF
29248
29249
29250 fi
29251
29252 fi
29253 fi
29254 fi
29255 fi
29256 fi
29257
29258
29259 TIFF_LINK=
29260 TIFF_PREREQ_LINKS=-lm
29261 if test "$wxUSE_LIBTIFF" != "no" ; then
29262 cat >>confdefs.h <<\_ACEOF
29263 #define wxUSE_LIBTIFF 1
29264 _ACEOF
29265
29266
29267 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
29268 if test "$wxUSE_LIBJPEG" = "sys"; then
29269 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
29270 fi
29271 if test "$wxUSE_ZLIB" = "sys"; then
29272 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
29273 fi
29274 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
29275 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
29276 if test "${ac_cv_header_tiffio_h+set}" = set; then
29277 echo $ECHO_N "(cached) $ECHO_C" >&6
29278 else
29279 cat >conftest.$ac_ext <<_ACEOF
29280 /* confdefs.h. */
29281 _ACEOF
29282 cat confdefs.h >>conftest.$ac_ext
29283 cat >>conftest.$ac_ext <<_ACEOF
29284 /* end confdefs.h. */
29285
29286
29287
29288 #include <tiffio.h>
29289 _ACEOF
29290 rm -f conftest.$ac_objext
29291 if { (ac_try="$ac_compile"
29292 case "(($ac_try" in
29293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29294 *) ac_try_echo=$ac_try;;
29295 esac
29296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29297 (eval "$ac_compile") 2>conftest.er1
29298 ac_status=$?
29299 grep -v '^ *+' conftest.er1 >conftest.err
29300 rm -f conftest.er1
29301 cat conftest.err >&5
29302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29303 (exit $ac_status); } && {
29304 test -z "$ac_c_werror_flag" ||
29305 test ! -s conftest.err
29306 } && test -s conftest.$ac_objext; then
29307 ac_cv_header_tiffio_h=yes
29308 else
29309 echo "$as_me: failed program was:" >&5
29310 sed 's/^/| /' conftest.$ac_ext >&5
29311
29312 ac_cv_header_tiffio_h=no
29313 fi
29314
29315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29316 fi
29317 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
29318 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
29319 if test $ac_cv_header_tiffio_h = yes; then
29320
29321 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
29322 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
29323 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
29324 echo $ECHO_N "(cached) $ECHO_C" >&6
29325 else
29326 ac_check_lib_save_LIBS=$LIBS
29327 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
29328 cat >conftest.$ac_ext <<_ACEOF
29329 /* confdefs.h. */
29330 _ACEOF
29331 cat confdefs.h >>conftest.$ac_ext
29332 cat >>conftest.$ac_ext <<_ACEOF
29333 /* end confdefs.h. */
29334
29335 /* Override any GCC internal prototype to avoid an error.
29336 Use char because int might match the return type of a GCC
29337 builtin and then its argument prototype would still apply. */
29338 #ifdef __cplusplus
29339 extern "C"
29340 #endif
29341 char TIFFError ();
29342 int
29343 main ()
29344 {
29345 return TIFFError ();
29346 ;
29347 return 0;
29348 }
29349 _ACEOF
29350 rm -f conftest.$ac_objext conftest$ac_exeext
29351 if { (ac_try="$ac_link"
29352 case "(($ac_try" in
29353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29354 *) ac_try_echo=$ac_try;;
29355 esac
29356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29357 (eval "$ac_link") 2>conftest.er1
29358 ac_status=$?
29359 grep -v '^ *+' conftest.er1 >conftest.err
29360 rm -f conftest.er1
29361 cat conftest.err >&5
29362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29363 (exit $ac_status); } && {
29364 test -z "$ac_c_werror_flag" ||
29365 test ! -s conftest.err
29366 } && test -s conftest$ac_exeext &&
29367 $as_test_x conftest$ac_exeext; then
29368 ac_cv_lib_tiff_TIFFError=yes
29369 else
29370 echo "$as_me: failed program was:" >&5
29371 sed 's/^/| /' conftest.$ac_ext >&5
29372
29373 ac_cv_lib_tiff_TIFFError=no
29374 fi
29375
29376 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29377 conftest$ac_exeext conftest.$ac_ext
29378 LIBS=$ac_check_lib_save_LIBS
29379 fi
29380 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
29381 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
29382 if test $ac_cv_lib_tiff_TIFFError = yes; then
29383 TIFF_LINK=" -ltiff"
29384 fi
29385
29386
29387 fi
29388
29389
29390
29391 if test "x$TIFF_LINK" = "x" ; then
29392 if test "$wxUSE_LIBTIFF" = "sys" ; then
29393 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
29394 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
29395 { (exit 1); exit 1; }; }
29396 else
29397 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
29398 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
29399 wxUSE_LIBTIFF=builtin
29400 fi
29401 else
29402 wxUSE_LIBTIFF=sys
29403 fi
29404 fi
29405 if test "$wxUSE_LIBTIFF" = "builtin" ; then
29406 if test "$wxUSE_LIBJPEG" = "no"; then
29407 ac_configure_args="$ac_configure_args --disable-jpeg"
29408 fi
29409 subdirs="$subdirs src/tiff"
29410
29411 fi
29412 fi
29413
29414
29415 if test "$wxUSE_EXPAT" != "no"; then
29416 wxUSE_XML=yes
29417 cat >>confdefs.h <<\_ACEOF
29418 #define wxUSE_EXPAT 1
29419 _ACEOF
29420
29421 cat >>confdefs.h <<\_ACEOF
29422 #define wxUSE_XML 1
29423 _ACEOF
29424
29425
29426 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
29427 { echo "$as_me:$LINENO: checking for expat.h" >&5
29428 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
29429 if test "${ac_cv_header_expat_h+set}" = set; then
29430 echo $ECHO_N "(cached) $ECHO_C" >&6
29431 else
29432 cat >conftest.$ac_ext <<_ACEOF
29433 /* confdefs.h. */
29434 _ACEOF
29435 cat confdefs.h >>conftest.$ac_ext
29436 cat >>conftest.$ac_ext <<_ACEOF
29437 /* end confdefs.h. */
29438
29439
29440 #include <expat.h>
29441 _ACEOF
29442 rm -f conftest.$ac_objext
29443 if { (ac_try="$ac_compile"
29444 case "(($ac_try" in
29445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29446 *) ac_try_echo=$ac_try;;
29447 esac
29448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29449 (eval "$ac_compile") 2>conftest.er1
29450 ac_status=$?
29451 grep -v '^ *+' conftest.er1 >conftest.err
29452 rm -f conftest.er1
29453 cat conftest.err >&5
29454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29455 (exit $ac_status); } && {
29456 test -z "$ac_c_werror_flag" ||
29457 test ! -s conftest.err
29458 } && test -s conftest.$ac_objext; then
29459 ac_cv_header_expat_h=yes
29460 else
29461 echo "$as_me: failed program was:" >&5
29462 sed 's/^/| /' conftest.$ac_ext >&5
29463
29464 ac_cv_header_expat_h=no
29465 fi
29466
29467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29468 fi
29469 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
29470 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
29471 if test $ac_cv_header_expat_h = yes; then
29472 found_expat_h=1
29473 fi
29474
29475
29476 if test "x$found_expat_h" = "x1"; then
29477 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
29478 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
29479 if test "${wx_cv_expat_is_not_broken+set}" = set; then
29480 echo $ECHO_N "(cached) $ECHO_C" >&6
29481 else
29482
29483 ac_ext=cpp
29484 ac_cpp='$CXXCPP $CPPFLAGS'
29485 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29486 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29487 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29488
29489 cat >conftest.$ac_ext <<_ACEOF
29490 /* confdefs.h. */
29491 _ACEOF
29492 cat confdefs.h >>conftest.$ac_ext
29493 cat >>conftest.$ac_ext <<_ACEOF
29494 /* end confdefs.h. */
29495 #include <expat.h>
29496 int
29497 main ()
29498 {
29499
29500 ;
29501 return 0;
29502 }
29503 _ACEOF
29504 rm -f conftest.$ac_objext
29505 if { (ac_try="$ac_compile"
29506 case "(($ac_try" in
29507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29508 *) ac_try_echo=$ac_try;;
29509 esac
29510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29511 (eval "$ac_compile") 2>conftest.er1
29512 ac_status=$?
29513 grep -v '^ *+' conftest.er1 >conftest.err
29514 rm -f conftest.er1
29515 cat conftest.err >&5
29516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29517 (exit $ac_status); } && {
29518 test -z "$ac_cxx_werror_flag" ||
29519 test ! -s conftest.err
29520 } && test -s conftest.$ac_objext; then
29521 wx_cv_expat_is_not_broken=yes
29522 else
29523 echo "$as_me: failed program was:" >&5
29524 sed 's/^/| /' conftest.$ac_ext >&5
29525
29526 wx_cv_expat_is_not_broken=no
29527
29528 fi
29529
29530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29531 ac_ext=c
29532 ac_cpp='$CPP $CPPFLAGS'
29533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29536
29537
29538
29539 fi
29540 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
29541 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
29542 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
29543 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
29544 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
29545 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
29546 echo $ECHO_N "(cached) $ECHO_C" >&6
29547 else
29548 ac_check_lib_save_LIBS=$LIBS
29549 LIBS="-lexpat $LIBS"
29550 cat >conftest.$ac_ext <<_ACEOF
29551 /* confdefs.h. */
29552 _ACEOF
29553 cat confdefs.h >>conftest.$ac_ext
29554 cat >>conftest.$ac_ext <<_ACEOF
29555 /* end confdefs.h. */
29556
29557 /* Override any GCC internal prototype to avoid an error.
29558 Use char because int might match the return type of a GCC
29559 builtin and then its argument prototype would still apply. */
29560 #ifdef __cplusplus
29561 extern "C"
29562 #endif
29563 char XML_ParserCreate ();
29564 int
29565 main ()
29566 {
29567 return XML_ParserCreate ();
29568 ;
29569 return 0;
29570 }
29571 _ACEOF
29572 rm -f conftest.$ac_objext conftest$ac_exeext
29573 if { (ac_try="$ac_link"
29574 case "(($ac_try" in
29575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29576 *) ac_try_echo=$ac_try;;
29577 esac
29578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29579 (eval "$ac_link") 2>conftest.er1
29580 ac_status=$?
29581 grep -v '^ *+' conftest.er1 >conftest.err
29582 rm -f conftest.er1
29583 cat conftest.err >&5
29584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29585 (exit $ac_status); } && {
29586 test -z "$ac_c_werror_flag" ||
29587 test ! -s conftest.err
29588 } && test -s conftest$ac_exeext &&
29589 $as_test_x conftest$ac_exeext; then
29590 ac_cv_lib_expat_XML_ParserCreate=yes
29591 else
29592 echo "$as_me: failed program was:" >&5
29593 sed 's/^/| /' conftest.$ac_ext >&5
29594
29595 ac_cv_lib_expat_XML_ParserCreate=no
29596 fi
29597
29598 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29599 conftest$ac_exeext conftest.$ac_ext
29600 LIBS=$ac_check_lib_save_LIBS
29601 fi
29602 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
29603 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
29604 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
29605 EXPAT_LINK=" -lexpat"
29606 fi
29607
29608 fi
29609 fi
29610 if test "x$EXPAT_LINK" = "x" ; then
29611 if test "$wxUSE_EXPAT" = "sys" ; then
29612 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
29613 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
29614 { (exit 1); exit 1; }; }
29615 else
29616 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
29617 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
29618 wxUSE_EXPAT=builtin
29619 fi
29620 else
29621 wxUSE_EXPAT=sys
29622 fi
29623 fi
29624 if test "$wxUSE_EXPAT" = "builtin" ; then
29625 subdirs="$subdirs src/expat"
29626
29627 fi
29628 fi
29629
29630
29631
29632 if test "$wxUSE_LIBMSPACK" != "no"; then
29633 { echo "$as_me:$LINENO: checking for mspack.h" >&5
29634 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
29635 if test "${ac_cv_header_mspack_h+set}" = set; then
29636 echo $ECHO_N "(cached) $ECHO_C" >&6
29637 else
29638 cat >conftest.$ac_ext <<_ACEOF
29639 /* confdefs.h. */
29640 _ACEOF
29641 cat confdefs.h >>conftest.$ac_ext
29642 cat >>conftest.$ac_ext <<_ACEOF
29643 /* end confdefs.h. */
29644
29645
29646 #include <mspack.h>
29647 _ACEOF
29648 rm -f conftest.$ac_objext
29649 if { (ac_try="$ac_compile"
29650 case "(($ac_try" in
29651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29652 *) ac_try_echo=$ac_try;;
29653 esac
29654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29655 (eval "$ac_compile") 2>conftest.er1
29656 ac_status=$?
29657 grep -v '^ *+' conftest.er1 >conftest.err
29658 rm -f conftest.er1
29659 cat conftest.err >&5
29660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29661 (exit $ac_status); } && {
29662 test -z "$ac_c_werror_flag" ||
29663 test ! -s conftest.err
29664 } && test -s conftest.$ac_objext; then
29665 ac_cv_header_mspack_h=yes
29666 else
29667 echo "$as_me: failed program was:" >&5
29668 sed 's/^/| /' conftest.$ac_ext >&5
29669
29670 ac_cv_header_mspack_h=no
29671 fi
29672
29673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29674 fi
29675 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
29676 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
29677 if test $ac_cv_header_mspack_h = yes; then
29678 found_mspack_h=1
29679 fi
29680
29681
29682 if test "x$found_mspack_h" = "x1"; then
29683 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
29684 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
29685 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
29686 echo $ECHO_N "(cached) $ECHO_C" >&6
29687 else
29688 ac_check_lib_save_LIBS=$LIBS
29689 LIBS="-lmspack $LIBS"
29690 cat >conftest.$ac_ext <<_ACEOF
29691 /* confdefs.h. */
29692 _ACEOF
29693 cat confdefs.h >>conftest.$ac_ext
29694 cat >>conftest.$ac_ext <<_ACEOF
29695 /* end confdefs.h. */
29696
29697 /* Override any GCC internal prototype to avoid an error.
29698 Use char because int might match the return type of a GCC
29699 builtin and then its argument prototype would still apply. */
29700 #ifdef __cplusplus
29701 extern "C"
29702 #endif
29703 char mspack_create_chm_decompressor ();
29704 int
29705 main ()
29706 {
29707 return mspack_create_chm_decompressor ();
29708 ;
29709 return 0;
29710 }
29711 _ACEOF
29712 rm -f conftest.$ac_objext conftest$ac_exeext
29713 if { (ac_try="$ac_link"
29714 case "(($ac_try" in
29715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29716 *) ac_try_echo=$ac_try;;
29717 esac
29718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29719 (eval "$ac_link") 2>conftest.er1
29720 ac_status=$?
29721 grep -v '^ *+' conftest.er1 >conftest.err
29722 rm -f conftest.er1
29723 cat conftest.err >&5
29724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29725 (exit $ac_status); } && {
29726 test -z "$ac_c_werror_flag" ||
29727 test ! -s conftest.err
29728 } && test -s conftest$ac_exeext &&
29729 $as_test_x conftest$ac_exeext; then
29730 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
29731 else
29732 echo "$as_me: failed program was:" >&5
29733 sed 's/^/| /' conftest.$ac_ext >&5
29734
29735 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
29736 fi
29737
29738 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29739 conftest$ac_exeext conftest.$ac_ext
29740 LIBS=$ac_check_lib_save_LIBS
29741 fi
29742 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
29743 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
29744 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
29745 MSPACK_LINK=" -lmspack"
29746 fi
29747
29748 fi
29749 if test "x$MSPACK_LINK" = "x" ; then
29750 wxUSE_LIBMSPACK=no
29751 fi
29752 fi
29753
29754 if test "$wxUSE_LIBMSPACK" != "no"; then
29755 cat >>confdefs.h <<\_ACEOF
29756 #define wxUSE_LIBMSPACK 1
29757 _ACEOF
29758
29759 fi
29760
29761
29762
29763 AFMINSTALL=
29764 WIN32INSTALL=
29765
29766 TOOLKIT=
29767 TOOLKIT_INCLUDE=
29768 WIDGET_SET=
29769
29770 if test "$USE_WIN32" = 1 ; then
29771
29772 for ac_header in w32api.h
29773 do
29774 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29775 { echo "$as_me:$LINENO: checking for $ac_header" >&5
29776 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
29777 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29778 echo $ECHO_N "(cached) $ECHO_C" >&6
29779 else
29780 cat >conftest.$ac_ext <<_ACEOF
29781 /* confdefs.h. */
29782 _ACEOF
29783 cat confdefs.h >>conftest.$ac_ext
29784 cat >>conftest.$ac_ext <<_ACEOF
29785 /* end confdefs.h. */
29786
29787
29788 #include <$ac_header>
29789 _ACEOF
29790 rm -f conftest.$ac_objext
29791 if { (ac_try="$ac_compile"
29792 case "(($ac_try" in
29793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29794 *) ac_try_echo=$ac_try;;
29795 esac
29796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29797 (eval "$ac_compile") 2>conftest.er1
29798 ac_status=$?
29799 grep -v '^ *+' conftest.er1 >conftest.err
29800 rm -f conftest.er1
29801 cat conftest.err >&5
29802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29803 (exit $ac_status); } && {
29804 test -z "$ac_c_werror_flag" ||
29805 test ! -s conftest.err
29806 } && test -s conftest.$ac_objext; then
29807 eval "$as_ac_Header=yes"
29808 else
29809 echo "$as_me: failed program was:" >&5
29810 sed 's/^/| /' conftest.$ac_ext >&5
29811
29812 eval "$as_ac_Header=no"
29813 fi
29814
29815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29816 fi
29817 ac_res=`eval echo '${'$as_ac_Header'}'`
29818 { echo "$as_me:$LINENO: result: $ac_res" >&5
29819 echo "${ECHO_T}$ac_res" >&6; }
29820 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29821 cat >>confdefs.h <<_ACEOF
29822 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29823 _ACEOF
29824
29825 fi
29826
29827 done
29828
29829 { echo "$as_me:$LINENO: checking for windows.h" >&5
29830 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
29831 if test "${ac_cv_header_windows_h+set}" = set; then
29832 echo $ECHO_N "(cached) $ECHO_C" >&6
29833 else
29834 cat >conftest.$ac_ext <<_ACEOF
29835 /* confdefs.h. */
29836 _ACEOF
29837 cat confdefs.h >>conftest.$ac_ext
29838 cat >>conftest.$ac_ext <<_ACEOF
29839 /* end confdefs.h. */
29840
29841
29842 #include <windows.h>
29843 _ACEOF
29844 rm -f conftest.$ac_objext
29845 if { (ac_try="$ac_compile"
29846 case "(($ac_try" in
29847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29848 *) ac_try_echo=$ac_try;;
29849 esac
29850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29851 (eval "$ac_compile") 2>conftest.er1
29852 ac_status=$?
29853 grep -v '^ *+' conftest.er1 >conftest.err
29854 rm -f conftest.er1
29855 cat conftest.err >&5
29856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29857 (exit $ac_status); } && {
29858 test -z "$ac_c_werror_flag" ||
29859 test ! -s conftest.err
29860 } && test -s conftest.$ac_objext; then
29861 ac_cv_header_windows_h=yes
29862 else
29863 echo "$as_me: failed program was:" >&5
29864 sed 's/^/| /' conftest.$ac_ext >&5
29865
29866 ac_cv_header_windows_h=no
29867 fi
29868
29869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29870 fi
29871 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
29872 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
29873 if test $ac_cv_header_windows_h = yes; then
29874 :
29875 else
29876
29877 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
29878 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
29879 { (exit 1); exit 1; }; }
29880
29881 fi
29882
29883
29884
29885 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -ladvapi32 -lwsock32 -lgdi32"
29886 case "${host}" in
29887 x86_64-*-mingw32* )
29888 WINDRES_CPU_DEFINE="--define WX_CPU_AMD64"
29889 ;;
29890 esac
29891 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
29892 LIBS="$LIBS -loleacc"
29893 fi
29894
29895 case "${host}" in
29896 *-*-cygwin* )
29897 LIBS="$LIBS -lkernel32 -luser32"
29898 esac
29899
29900 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__ $WINDRES_CPU_DEFINE"
29901 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
29902
29903 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__ $WINDRES_CPU_DEFINE"
29904
29905 WIN32INSTALL=win32install
29906 fi
29907
29908 if test "$wxUSE_GUI" = "yes"; then
29909 USE_GUI=1
29910
29911 GUI_TK_LIBRARY=
29912
29913 WXGTK127=
29914 WXGTK2=
29915 WXGPE=
29916
29917 if test "$wxUSE_OLD_COCOA" = 1 ; then
29918 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
29919 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
29920 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
29921 wxUSE_PRINTING_ARCHITECTURE=no
29922 fi
29923 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
29924 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
29925 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
29926 wxUSE_DRAG_AND_DROP=no
29927 fi
29928 if test "$wxUSE_DRAGIMAGE" = "yes"; then
29929 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
29930 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
29931 wxUSE_DRAGIMAGE=no
29932 fi
29933 fi
29934
29935 if test "$wxUSE_MSW" = 1 ; then
29936 TOOLKIT=MSW
29937 GUIDIST=MSW_DIST
29938
29939 case "${host}" in
29940 *-*-mingw32* )
29941 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
29942 esac
29943 fi
29944
29945 if test "$wxUSE_GTK" = 1; then
29946 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
29947 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
29948
29949 gtk_version_cached=1
29950 if test "${wx_cv_lib_gtk+set}" = set; then
29951 echo $ECHO_N "(cached) $ECHO_C" >&6
29952 else
29953
29954 gtk_version_cached=0
29955 { echo "$as_me:$LINENO: result: " >&5
29956 echo "${ECHO_T}" >&6; }
29957
29958 GTK_MODULES=
29959 if test "$wxUSE_THREADS" = "yes"; then
29960 GTK_MODULES=gthread
29961 fi
29962
29963 wx_cv_lib_gtk=
29964 if test "x$wxGTK_VERSION" != "x1"
29965 then
29966 case "${host}" in
29967 *-*-solaris2* )
29968 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
29969 enable_gtktest=no
29970 fi
29971 esac
29972
29973 # Check whether --enable-gtktest was given.
29974 if test "${enable_gtktest+set}" = set; then
29975 enableval=$enable_gtktest;
29976 else
29977 enable_gtktest=yes
29978 fi
29979
29980
29981 pkg_config_args=gtk+-2.0
29982 for module in . $GTK_MODULES
29983 do
29984 case "$module" in
29985 gthread)
29986 pkg_config_args="$pkg_config_args gthread-2.0"
29987 ;;
29988 esac
29989 done
29990
29991 no_gtk=""
29992
29993 # Extract the first word of "pkg-config", so it can be a program name with args.
29994 set dummy pkg-config; ac_word=$2
29995 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29996 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29997 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29998 echo $ECHO_N "(cached) $ECHO_C" >&6
29999 else
30000 case $PKG_CONFIG in
30001 [\\/]* | ?:[\\/]*)
30002 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
30003 ;;
30004 *)
30005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30006 for as_dir in $PATH
30007 do
30008 IFS=$as_save_IFS
30009 test -z "$as_dir" && as_dir=.
30010 for ac_exec_ext in '' $ac_executable_extensions; do
30011 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30012 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30013 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30014 break 2
30015 fi
30016 done
30017 done
30018 IFS=$as_save_IFS
30019
30020 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
30021 ;;
30022 esac
30023 fi
30024 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
30025 if test -n "$PKG_CONFIG"; then
30026 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30027 echo "${ECHO_T}$PKG_CONFIG" >&6; }
30028 else
30029 { echo "$as_me:$LINENO: result: no" >&5
30030 echo "${ECHO_T}no" >&6; }
30031 fi
30032
30033
30034
30035 if test x$PKG_CONFIG != xno ; then
30036 if pkg-config --atleast-pkgconfig-version 0.7 ; then
30037 :
30038 else
30039 echo "*** pkg-config too old; version 0.7 or better required."
30040 no_gtk=yes
30041 PKG_CONFIG=no
30042 fi
30043 else
30044 no_gtk=yes
30045 fi
30046
30047 min_gtk_version=2.4.0
30048 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
30049 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
30050
30051 if test x$PKG_CONFIG != xno ; then
30052 ## don't try to run the test against uninstalled libtool libs
30053 if $PKG_CONFIG --uninstalled $pkg_config_args; then
30054 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
30055 enable_gtktest=no
30056 fi
30057
30058 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
30059 :
30060 else
30061 no_gtk=yes
30062 fi
30063 fi
30064
30065 if test x"$no_gtk" = x ; then
30066 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
30067 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
30068 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30069 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30070 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30071 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30072 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30073 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30074 if test "x$enable_gtktest" = "xyes" ; then
30075 ac_save_CFLAGS="$CFLAGS"
30076 ac_save_LIBS="$LIBS"
30077 CFLAGS="$CFLAGS $GTK_CFLAGS"
30078 LIBS="$GTK_LIBS $LIBS"
30079 rm -f conf.gtktest
30080 if test "$cross_compiling" = yes; then
30081 echo $ac_n "cross compiling; assumed OK... $ac_c"
30082 else
30083 cat >conftest.$ac_ext <<_ACEOF
30084 /* confdefs.h. */
30085 _ACEOF
30086 cat confdefs.h >>conftest.$ac_ext
30087 cat >>conftest.$ac_ext <<_ACEOF
30088 /* end confdefs.h. */
30089
30090 #include <gtk/gtk.h>
30091 #include <stdio.h>
30092 #include <stdlib.h>
30093
30094 int
30095 main ()
30096 {
30097 int major, minor, micro;
30098 char *tmp_version;
30099
30100 system ("touch conf.gtktest");
30101
30102 /* HP/UX 9 (%@#!) writes to sscanf strings */
30103 tmp_version = g_strdup("$min_gtk_version");
30104 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
30105 printf("%s, bad version string\n", "$min_gtk_version");
30106 exit(1);
30107 }
30108
30109 if ((gtk_major_version != $gtk_config_major_version) ||
30110 (gtk_minor_version != $gtk_config_minor_version) ||
30111 (gtk_micro_version != $gtk_config_micro_version))
30112 {
30113 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30114 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30115 gtk_major_version, gtk_minor_version, gtk_micro_version);
30116 printf ("*** was found! If pkg-config was correct, then it is best\n");
30117 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30118 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30119 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30120 printf("*** required on your system.\n");
30121 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
30122 printf("*** to point to the correct configuration files\n");
30123 }
30124 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30125 (gtk_minor_version != GTK_MINOR_VERSION) ||
30126 (gtk_micro_version != GTK_MICRO_VERSION))
30127 {
30128 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30129 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30130 printf("*** library (version %d.%d.%d)\n",
30131 gtk_major_version, gtk_minor_version, gtk_micro_version);
30132 }
30133 else
30134 {
30135 if ((gtk_major_version > major) ||
30136 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30137 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30138 {
30139 return 0;
30140 }
30141 else
30142 {
30143 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30144 gtk_major_version, gtk_minor_version, gtk_micro_version);
30145 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30146 major, minor, micro);
30147 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30148 printf("***\n");
30149 printf("*** If you have already installed a sufficiently new version, this error\n");
30150 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
30151 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30152 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
30153 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
30154 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30155 printf("*** so that the correct libraries are found at run-time))\n");
30156 }
30157 }
30158 return 1;
30159 }
30160
30161 _ACEOF
30162 rm -f conftest$ac_exeext
30163 if { (ac_try="$ac_link"
30164 case "(($ac_try" in
30165 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30166 *) ac_try_echo=$ac_try;;
30167 esac
30168 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30169 (eval "$ac_link") 2>&5
30170 ac_status=$?
30171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30172 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30173 { (case "(($ac_try" in
30174 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30175 *) ac_try_echo=$ac_try;;
30176 esac
30177 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30178 (eval "$ac_try") 2>&5
30179 ac_status=$?
30180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30181 (exit $ac_status); }; }; then
30182 :
30183 else
30184 echo "$as_me: program exited with status $ac_status" >&5
30185 echo "$as_me: failed program was:" >&5
30186 sed 's/^/| /' conftest.$ac_ext >&5
30187
30188 ( exit $ac_status )
30189 no_gtk=yes
30190 fi
30191 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30192 fi
30193
30194
30195 CFLAGS="$ac_save_CFLAGS"
30196 LIBS="$ac_save_LIBS"
30197 fi
30198 fi
30199 if test "x$no_gtk" = x ; then
30200 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
30201 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
30202 wx_cv_lib_gtk=2.0
30203 else
30204 { echo "$as_me:$LINENO: result: no" >&5
30205 echo "${ECHO_T}no" >&6; }
30206 if test "$PKG_CONFIG" = "no" ; then
30207 echo "*** A new enough version of pkg-config was not found."
30208 echo "*** See http://pkgconfig.sourceforge.net"
30209 else
30210 if test -f conf.gtktest ; then
30211 :
30212 else
30213 echo "*** Could not run GTK+ test program, checking why..."
30214 ac_save_CFLAGS="$CFLAGS"
30215 ac_save_LIBS="$LIBS"
30216 CFLAGS="$CFLAGS $GTK_CFLAGS"
30217 LIBS="$LIBS $GTK_LIBS"
30218 cat >conftest.$ac_ext <<_ACEOF
30219 /* confdefs.h. */
30220 _ACEOF
30221 cat confdefs.h >>conftest.$ac_ext
30222 cat >>conftest.$ac_ext <<_ACEOF
30223 /* end confdefs.h. */
30224
30225 #include <gtk/gtk.h>
30226 #include <stdio.h>
30227
30228 int
30229 main ()
30230 {
30231 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30232 ;
30233 return 0;
30234 }
30235 _ACEOF
30236 rm -f conftest.$ac_objext conftest$ac_exeext
30237 if { (ac_try="$ac_link"
30238 case "(($ac_try" in
30239 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30240 *) ac_try_echo=$ac_try;;
30241 esac
30242 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30243 (eval "$ac_link") 2>conftest.er1
30244 ac_status=$?
30245 grep -v '^ *+' conftest.er1 >conftest.err
30246 rm -f conftest.er1
30247 cat conftest.err >&5
30248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30249 (exit $ac_status); } && {
30250 test -z "$ac_c_werror_flag" ||
30251 test ! -s conftest.err
30252 } && test -s conftest$ac_exeext &&
30253 $as_test_x conftest$ac_exeext; then
30254 echo "*** The test program compiled, but did not run. This usually means"
30255 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
30256 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
30257 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30258 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30259 echo "*** is required on your system"
30260 echo "***"
30261 echo "*** If you have an old version installed, it is best to remove it, although"
30262 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30263 else
30264 echo "$as_me: failed program was:" >&5
30265 sed 's/^/| /' conftest.$ac_ext >&5
30266
30267 echo "*** The test program failed to compile or link. See the file config.log for the"
30268 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
30269 fi
30270
30271 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30272 conftest$ac_exeext conftest.$ac_ext
30273 CFLAGS="$ac_save_CFLAGS"
30274 LIBS="$ac_save_LIBS"
30275 fi
30276 fi
30277 GTK_CFLAGS=""
30278 GTK_LIBS=""
30279 :
30280 fi
30281
30282
30283 rm -f conf.gtktest
30284
30285 fi
30286
30287 if test -z "$wx_cv_lib_gtk"; then
30288 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
30289
30290 # Check whether --with-gtk-prefix was given.
30291 if test "${with_gtk_prefix+set}" = set; then
30292 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
30293 else
30294 gtk_config_prefix=""
30295 fi
30296
30297
30298 # Check whether --with-gtk-exec-prefix was given.
30299 if test "${with_gtk_exec_prefix+set}" = set; then
30300 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
30301 else
30302 gtk_config_exec_prefix=""
30303 fi
30304
30305 # Check whether --enable-gtktest was given.
30306 if test "${enable_gtktest+set}" = set; then
30307 enableval=$enable_gtktest;
30308 else
30309 enable_gtktest=yes
30310 fi
30311
30312
30313 for module in . $GTK_MODULES
30314 do
30315 case "$module" in
30316 gthread)
30317 gtk_config_args="$gtk_config_args gthread"
30318 ;;
30319 esac
30320 done
30321
30322 if test x$gtk_config_exec_prefix != x ; then
30323 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
30324 if test x${GTK_CONFIG+set} != xset ; then
30325 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
30326 fi
30327 fi
30328 if test x$gtk_config_prefix != x ; then
30329 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
30330 if test x${GTK_CONFIG+set} != xset ; then
30331 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
30332 fi
30333 fi
30334
30335 # Extract the first word of "gtk-config", so it can be a program name with args.
30336 set dummy gtk-config; ac_word=$2
30337 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30338 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30339 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
30340 echo $ECHO_N "(cached) $ECHO_C" >&6
30341 else
30342 case $GTK_CONFIG in
30343 [\\/]* | ?:[\\/]*)
30344 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
30345 ;;
30346 *)
30347 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30348 for as_dir in $PATH
30349 do
30350 IFS=$as_save_IFS
30351 test -z "$as_dir" && as_dir=.
30352 for ac_exec_ext in '' $ac_executable_extensions; do
30353 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30354 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30355 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30356 break 2
30357 fi
30358 done
30359 done
30360 IFS=$as_save_IFS
30361
30362 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
30363 ;;
30364 esac
30365 fi
30366 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
30367 if test -n "$GTK_CONFIG"; then
30368 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
30369 echo "${ECHO_T}$GTK_CONFIG" >&6; }
30370 else
30371 { echo "$as_me:$LINENO: result: no" >&5
30372 echo "${ECHO_T}no" >&6; }
30373 fi
30374
30375
30376 min_gtk_version=1.2.7
30377 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
30378 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
30379 no_gtk=""
30380 if test "$GTK_CONFIG" = "no" ; then
30381 no_gtk=yes
30382 else
30383 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
30384 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
30385 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
30386 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30387 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
30388 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30389 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
30390 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30391 if test "x$enable_gtktest" = "xyes" ; then
30392 ac_save_CFLAGS="$CFLAGS"
30393 ac_save_LIBS="$LIBS"
30394 CFLAGS="$CFLAGS $GTK_CFLAGS"
30395 LIBS="$GTK_LIBS $LIBS"
30396 rm -f conf.gtktest
30397 if test "$cross_compiling" = yes; then
30398 echo $ac_n "cross compiling; assumed OK... $ac_c"
30399 else
30400 cat >conftest.$ac_ext <<_ACEOF
30401 /* confdefs.h. */
30402 _ACEOF
30403 cat confdefs.h >>conftest.$ac_ext
30404 cat >>conftest.$ac_ext <<_ACEOF
30405 /* end confdefs.h. */
30406
30407 #include <gtk/gtk.h>
30408 #include <stdio.h>
30409 #include <stdlib.h>
30410
30411 int
30412 main ()
30413 {
30414 int major, minor, micro;
30415 char *tmp_version;
30416
30417 system ("touch conf.gtktest");
30418
30419 /* HP/UX 9 (%@#!) writes to sscanf strings */
30420 tmp_version = g_strdup("$min_gtk_version");
30421 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
30422 printf("%s, bad version string\n", "$min_gtk_version");
30423 exit(1);
30424 }
30425
30426 if ((gtk_major_version != $gtk_config_major_version) ||
30427 (gtk_minor_version != $gtk_config_minor_version) ||
30428 (gtk_micro_version != $gtk_config_micro_version))
30429 {
30430 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30431 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30432 gtk_major_version, gtk_minor_version, gtk_micro_version);
30433 printf ("*** was found! If gtk-config was correct, then it is best\n");
30434 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30435 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30436 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30437 printf("*** required on your system.\n");
30438 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
30439 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
30440 printf("*** before re-running configure\n");
30441 }
30442 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
30443 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30444 (gtk_minor_version != GTK_MINOR_VERSION) ||
30445 (gtk_micro_version != GTK_MICRO_VERSION))
30446 {
30447 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30448 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30449 printf("*** library (version %d.%d.%d)\n",
30450 gtk_major_version, gtk_minor_version, gtk_micro_version);
30451 }
30452 #endif /* defined (GTK_MAJOR_VERSION) ... */
30453 else
30454 {
30455 if ((gtk_major_version > major) ||
30456 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30457 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30458 {
30459 return 0;
30460 }
30461 else
30462 {
30463 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30464 gtk_major_version, gtk_minor_version, gtk_micro_version);
30465 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30466 major, minor, micro);
30467 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30468 printf("***\n");
30469 printf("*** If you have already installed a sufficiently new version, this error\n");
30470 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
30471 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30472 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
30473 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
30474 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30475 printf("*** so that the correct libraries are found at run-time))\n");
30476 }
30477 }
30478 return 1;
30479 }
30480
30481 _ACEOF
30482 rm -f conftest$ac_exeext
30483 if { (ac_try="$ac_link"
30484 case "(($ac_try" in
30485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30486 *) ac_try_echo=$ac_try;;
30487 esac
30488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30489 (eval "$ac_link") 2>&5
30490 ac_status=$?
30491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30492 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30493 { (case "(($ac_try" in
30494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30495 *) ac_try_echo=$ac_try;;
30496 esac
30497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30498 (eval "$ac_try") 2>&5
30499 ac_status=$?
30500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30501 (exit $ac_status); }; }; then
30502 :
30503 else
30504 echo "$as_me: program exited with status $ac_status" >&5
30505 echo "$as_me: failed program was:" >&5
30506 sed 's/^/| /' conftest.$ac_ext >&5
30507
30508 ( exit $ac_status )
30509 no_gtk=yes
30510 fi
30511 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30512 fi
30513
30514
30515 CFLAGS="$ac_save_CFLAGS"
30516 LIBS="$ac_save_LIBS"
30517 fi
30518 fi
30519 if test "x$no_gtk" = x ; then
30520 { echo "$as_me:$LINENO: result: yes" >&5
30521 echo "${ECHO_T}yes" >&6; }
30522 wx_cv_lib_gtk=1.2.7
30523 else
30524 { echo "$as_me:$LINENO: result: no" >&5
30525 echo "${ECHO_T}no" >&6; }
30526 if test "$GTK_CONFIG" = "no" ; then
30527 echo "*** The gtk-config script installed by GTK could not be found"
30528 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
30529 echo "*** your path, or set the GTK_CONFIG environment variable to the"
30530 echo "*** full path to gtk-config."
30531 else
30532 if test -f conf.gtktest ; then
30533 :
30534 else
30535 echo "*** Could not run GTK test program, checking why..."
30536 CFLAGS="$CFLAGS $GTK_CFLAGS"
30537 LIBS="$LIBS $GTK_LIBS"
30538 cat >conftest.$ac_ext <<_ACEOF
30539 /* confdefs.h. */
30540 _ACEOF
30541 cat confdefs.h >>conftest.$ac_ext
30542 cat >>conftest.$ac_ext <<_ACEOF
30543 /* end confdefs.h. */
30544
30545 #include <gtk/gtk.h>
30546 #include <stdio.h>
30547
30548 int
30549 main ()
30550 {
30551 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30552 ;
30553 return 0;
30554 }
30555 _ACEOF
30556 rm -f conftest.$ac_objext conftest$ac_exeext
30557 if { (ac_try="$ac_link"
30558 case "(($ac_try" in
30559 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30560 *) ac_try_echo=$ac_try;;
30561 esac
30562 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30563 (eval "$ac_link") 2>conftest.er1
30564 ac_status=$?
30565 grep -v '^ *+' conftest.er1 >conftest.err
30566 rm -f conftest.er1
30567 cat conftest.err >&5
30568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30569 (exit $ac_status); } && {
30570 test -z "$ac_c_werror_flag" ||
30571 test ! -s conftest.err
30572 } && test -s conftest$ac_exeext &&
30573 $as_test_x conftest$ac_exeext; then
30574 echo "*** The test program compiled, but did not run. This usually means"
30575 echo "*** that the run-time linker is not finding GTK or finding the wrong"
30576 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
30577 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30578 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30579 echo "*** is required on your system"
30580 echo "***"
30581 echo "*** If you have an old version installed, it is best to remove it, although"
30582 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30583 echo "***"
30584 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
30585 echo "*** came with the system with the command"
30586 echo "***"
30587 echo "*** rpm --erase --nodeps gtk gtk-devel"
30588 else
30589 echo "$as_me: failed program was:" >&5
30590 sed 's/^/| /' conftest.$ac_ext >&5
30591
30592 echo "*** The test program failed to compile or link. See the file config.log for the"
30593 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
30594 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
30595 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
30596 fi
30597
30598 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30599 conftest$ac_exeext conftest.$ac_ext
30600 CFLAGS="$ac_save_CFLAGS"
30601 LIBS="$ac_save_LIBS"
30602 fi
30603 fi
30604 GTK_CFLAGS=""
30605 GTK_LIBS=""
30606 :
30607 fi
30608
30609
30610 rm -f conf.gtktest
30611
30612
30613 if test -z "$wx_cv_lib_gtk"; then
30614
30615 # Check whether --with-gtk-prefix was given.
30616 if test "${with_gtk_prefix+set}" = set; then
30617 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
30618 else
30619 gtk_config_prefix=""
30620 fi
30621
30622
30623 # Check whether --with-gtk-exec-prefix was given.
30624 if test "${with_gtk_exec_prefix+set}" = set; then
30625 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
30626 else
30627 gtk_config_exec_prefix=""
30628 fi
30629
30630 # Check whether --enable-gtktest was given.
30631 if test "${enable_gtktest+set}" = set; then
30632 enableval=$enable_gtktest;
30633 else
30634 enable_gtktest=yes
30635 fi
30636
30637
30638 for module in . $GTK_MODULES
30639 do
30640 case "$module" in
30641 gthread)
30642 gtk_config_args="$gtk_config_args gthread"
30643 ;;
30644 esac
30645 done
30646
30647 if test x$gtk_config_exec_prefix != x ; then
30648 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
30649 if test x${GTK_CONFIG+set} != xset ; then
30650 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
30651 fi
30652 fi
30653 if test x$gtk_config_prefix != x ; then
30654 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
30655 if test x${GTK_CONFIG+set} != xset ; then
30656 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
30657 fi
30658 fi
30659
30660 # Extract the first word of "gtk-config", so it can be a program name with args.
30661 set dummy gtk-config; ac_word=$2
30662 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30663 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30664 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
30665 echo $ECHO_N "(cached) $ECHO_C" >&6
30666 else
30667 case $GTK_CONFIG in
30668 [\\/]* | ?:[\\/]*)
30669 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
30670 ;;
30671 *)
30672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30673 for as_dir in $PATH
30674 do
30675 IFS=$as_save_IFS
30676 test -z "$as_dir" && as_dir=.
30677 for ac_exec_ext in '' $ac_executable_extensions; do
30678 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30679 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30680 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30681 break 2
30682 fi
30683 done
30684 done
30685 IFS=$as_save_IFS
30686
30687 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
30688 ;;
30689 esac
30690 fi
30691 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
30692 if test -n "$GTK_CONFIG"; then
30693 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
30694 echo "${ECHO_T}$GTK_CONFIG" >&6; }
30695 else
30696 { echo "$as_me:$LINENO: result: no" >&5
30697 echo "${ECHO_T}no" >&6; }
30698 fi
30699
30700
30701 min_gtk_version=1.2.3
30702 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
30703 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
30704 no_gtk=""
30705 if test "$GTK_CONFIG" = "no" ; then
30706 no_gtk=yes
30707 else
30708 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
30709 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
30710 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
30711 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30712 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
30713 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30714 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
30715 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30716 if test "x$enable_gtktest" = "xyes" ; then
30717 ac_save_CFLAGS="$CFLAGS"
30718 ac_save_LIBS="$LIBS"
30719 CFLAGS="$CFLAGS $GTK_CFLAGS"
30720 LIBS="$GTK_LIBS $LIBS"
30721 rm -f conf.gtktest
30722 if test "$cross_compiling" = yes; then
30723 echo $ac_n "cross compiling; assumed OK... $ac_c"
30724 else
30725 cat >conftest.$ac_ext <<_ACEOF
30726 /* confdefs.h. */
30727 _ACEOF
30728 cat confdefs.h >>conftest.$ac_ext
30729 cat >>conftest.$ac_ext <<_ACEOF
30730 /* end confdefs.h. */
30731
30732 #include <gtk/gtk.h>
30733 #include <stdio.h>
30734 #include <stdlib.h>
30735
30736 int
30737 main ()
30738 {
30739 int major, minor, micro;
30740 char *tmp_version;
30741
30742 system ("touch conf.gtktest");
30743
30744 /* HP/UX 9 (%@#!) writes to sscanf strings */
30745 tmp_version = g_strdup("$min_gtk_version");
30746 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
30747 printf("%s, bad version string\n", "$min_gtk_version");
30748 exit(1);
30749 }
30750
30751 if ((gtk_major_version != $gtk_config_major_version) ||
30752 (gtk_minor_version != $gtk_config_minor_version) ||
30753 (gtk_micro_version != $gtk_config_micro_version))
30754 {
30755 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30756 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30757 gtk_major_version, gtk_minor_version, gtk_micro_version);
30758 printf ("*** was found! If gtk-config was correct, then it is best\n");
30759 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30760 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30761 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30762 printf("*** required on your system.\n");
30763 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
30764 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
30765 printf("*** before re-running configure\n");
30766 }
30767 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
30768 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30769 (gtk_minor_version != GTK_MINOR_VERSION) ||
30770 (gtk_micro_version != GTK_MICRO_VERSION))
30771 {
30772 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30773 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30774 printf("*** library (version %d.%d.%d)\n",
30775 gtk_major_version, gtk_minor_version, gtk_micro_version);
30776 }
30777 #endif /* defined (GTK_MAJOR_VERSION) ... */
30778 else
30779 {
30780 if ((gtk_major_version > major) ||
30781 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30782 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30783 {
30784 return 0;
30785 }
30786 else
30787 {
30788 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30789 gtk_major_version, gtk_minor_version, gtk_micro_version);
30790 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30791 major, minor, micro);
30792 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30793 printf("***\n");
30794 printf("*** If you have already installed a sufficiently new version, this error\n");
30795 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
30796 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30797 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
30798 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
30799 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30800 printf("*** so that the correct libraries are found at run-time))\n");
30801 }
30802 }
30803 return 1;
30804 }
30805
30806 _ACEOF
30807 rm -f conftest$ac_exeext
30808 if { (ac_try="$ac_link"
30809 case "(($ac_try" in
30810 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30811 *) ac_try_echo=$ac_try;;
30812 esac
30813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30814 (eval "$ac_link") 2>&5
30815 ac_status=$?
30816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30817 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30818 { (case "(($ac_try" in
30819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30820 *) ac_try_echo=$ac_try;;
30821 esac
30822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30823 (eval "$ac_try") 2>&5
30824 ac_status=$?
30825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30826 (exit $ac_status); }; }; then
30827 :
30828 else
30829 echo "$as_me: program exited with status $ac_status" >&5
30830 echo "$as_me: failed program was:" >&5
30831 sed 's/^/| /' conftest.$ac_ext >&5
30832
30833 ( exit $ac_status )
30834 no_gtk=yes
30835 fi
30836 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30837 fi
30838
30839
30840 CFLAGS="$ac_save_CFLAGS"
30841 LIBS="$ac_save_LIBS"
30842 fi
30843 fi
30844 if test "x$no_gtk" = x ; then
30845 { echo "$as_me:$LINENO: result: yes" >&5
30846 echo "${ECHO_T}yes" >&6; }
30847 wx_cv_lib_gtk=1.2.3
30848 else
30849 { echo "$as_me:$LINENO: result: no" >&5
30850 echo "${ECHO_T}no" >&6; }
30851 if test "$GTK_CONFIG" = "no" ; then
30852 echo "*** The gtk-config script installed by GTK could not be found"
30853 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
30854 echo "*** your path, or set the GTK_CONFIG environment variable to the"
30855 echo "*** full path to gtk-config."
30856 else
30857 if test -f conf.gtktest ; then
30858 :
30859 else
30860 echo "*** Could not run GTK test program, checking why..."
30861 CFLAGS="$CFLAGS $GTK_CFLAGS"
30862 LIBS="$LIBS $GTK_LIBS"
30863 cat >conftest.$ac_ext <<_ACEOF
30864 /* confdefs.h. */
30865 _ACEOF
30866 cat confdefs.h >>conftest.$ac_ext
30867 cat >>conftest.$ac_ext <<_ACEOF
30868 /* end confdefs.h. */
30869
30870 #include <gtk/gtk.h>
30871 #include <stdio.h>
30872
30873 int
30874 main ()
30875 {
30876 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30877 ;
30878 return 0;
30879 }
30880 _ACEOF
30881 rm -f conftest.$ac_objext conftest$ac_exeext
30882 if { (ac_try="$ac_link"
30883 case "(($ac_try" in
30884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30885 *) ac_try_echo=$ac_try;;
30886 esac
30887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30888 (eval "$ac_link") 2>conftest.er1
30889 ac_status=$?
30890 grep -v '^ *+' conftest.er1 >conftest.err
30891 rm -f conftest.er1
30892 cat conftest.err >&5
30893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30894 (exit $ac_status); } && {
30895 test -z "$ac_c_werror_flag" ||
30896 test ! -s conftest.err
30897 } && test -s conftest$ac_exeext &&
30898 $as_test_x conftest$ac_exeext; then
30899 echo "*** The test program compiled, but did not run. This usually means"
30900 echo "*** that the run-time linker is not finding GTK or finding the wrong"
30901 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
30902 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30903 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30904 echo "*** is required on your system"
30905 echo "***"
30906 echo "*** If you have an old version installed, it is best to remove it, although"
30907 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30908 echo "***"
30909 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
30910 echo "*** came with the system with the command"
30911 echo "***"
30912 echo "*** rpm --erase --nodeps gtk gtk-devel"
30913 else
30914 echo "$as_me: failed program was:" >&5
30915 sed 's/^/| /' conftest.$ac_ext >&5
30916
30917 echo "*** The test program failed to compile or link. See the file config.log for the"
30918 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
30919 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
30920 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
30921 fi
30922
30923 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30924 conftest$ac_exeext conftest.$ac_ext
30925 CFLAGS="$ac_save_CFLAGS"
30926 LIBS="$ac_save_LIBS"
30927 fi
30928 fi
30929 GTK_CFLAGS=""
30930 GTK_LIBS=""
30931 :
30932 fi
30933
30934
30935 rm -f conf.gtktest
30936
30937 fi
30938 fi
30939 fi
30940
30941 if test -z "$wx_cv_lib_gtk"; then
30942 wx_cv_lib_gtk=none
30943 else
30944 GTK_LIBS="$GTK_LIBS -lX11"
30945
30946 wx_cv_cflags_gtk=$GTK_CFLAGS
30947 wx_cv_libs_gtk=$GTK_LIBS
30948 fi
30949
30950
30951 fi
30952
30953
30954 if test "$gtk_version_cached" = 1; then
30955 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
30956 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
30957 fi
30958
30959 case "$wx_cv_lib_gtk" in
30960 2.0) WXGTK2=1
30961 TOOLKIT_VERSION=2
30962 ;;
30963 1.2.7) WXGTK127=1
30964 ;;
30965 1.2*) ;;
30966 *) { { echo "$as_me:$LINENO: error:
30967 The development files for GTK+ were not found. For GTK+ 2, please
30968 ensure that pkg-config is in the path and that gtk+-2.0.pc is
30969 installed. For GTK+ 1.2 please check that gtk-config is in the path,
30970 and that the version is 1.2.3 or above. Also check that the
30971 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
30972 --libs' are in the LD_LIBRARY_PATH or equivalent.
30973 " >&5
30974 echo "$as_me: error:
30975 The development files for GTK+ were not found. For GTK+ 2, please
30976 ensure that pkg-config is in the path and that gtk+-2.0.pc is
30977 installed. For GTK+ 1.2 please check that gtk-config is in the path,
30978 and that the version is 1.2.3 or above. Also check that the
30979 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
30980 --libs' are in the LD_LIBRARY_PATH or equivalent.
30981 " >&2;}
30982 { (exit 1); exit 1; }; }
30983 ;;
30984 esac
30985
30986 if test "$WXGTK2" = 1; then
30987 save_CFLAGS="$CFLAGS"
30988 save_LIBS="$LIBS"
30989 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
30990 LIBS="$LIBS $wx_cv_libs_gtk"
30991
30992 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.18" >&5
30993 echo $ECHO_N "checking if GTK+ is version >= 2.18... $ECHO_C" >&6; }
30994 cat >conftest.$ac_ext <<_ACEOF
30995 /* confdefs.h. */
30996 _ACEOF
30997 cat confdefs.h >>conftest.$ac_ext
30998 cat >>conftest.$ac_ext <<_ACEOF
30999 /* end confdefs.h. */
31000
31001 #include <gtk/gtk.h>
31002
31003 int
31004 main ()
31005 {
31006
31007 #if !GTK_CHECK_VERSION(2,18,0)
31008 Not GTK+ 2.18
31009 #endif
31010
31011 ;
31012 return 0;
31013 }
31014 _ACEOF
31015 rm -f conftest.$ac_objext
31016 if { (ac_try="$ac_compile"
31017 case "(($ac_try" in
31018 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31019 *) ac_try_echo=$ac_try;;
31020 esac
31021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31022 (eval "$ac_compile") 2>conftest.er1
31023 ac_status=$?
31024 grep -v '^ *+' conftest.er1 >conftest.err
31025 rm -f conftest.er1
31026 cat conftest.err >&5
31027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31028 (exit $ac_status); } && {
31029 test -z "$ac_c_werror_flag" ||
31030 test ! -s conftest.err
31031 } && test -s conftest.$ac_objext; then
31032
31033 cat >>confdefs.h <<\_ACEOF
31034 #define __WXGTK218__ 1
31035 _ACEOF
31036
31037 cat >>confdefs.h <<\_ACEOF
31038 #define __WXGTK210__ 1
31039 _ACEOF
31040
31041 cat >>confdefs.h <<\_ACEOF
31042 #define __WXGTK26__ 1
31043 _ACEOF
31044
31045 { echo "$as_me:$LINENO: result: yes" >&5
31046 echo "${ECHO_T}yes" >&6; }
31047 ac_wxgtk218=1
31048
31049 else
31050 echo "$as_me: failed program was:" >&5
31051 sed 's/^/| /' conftest.$ac_ext >&5
31052
31053
31054 { echo "$as_me:$LINENO: result: no" >&5
31055 echo "${ECHO_T}no" >&6; }
31056 ac_wxgtk218=0
31057
31058 fi
31059
31060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31061
31062 if test "$ac_wxgtk218" = 0; then
31063 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
31064 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
31065 cat >conftest.$ac_ext <<_ACEOF
31066 /* confdefs.h. */
31067 _ACEOF
31068 cat confdefs.h >>conftest.$ac_ext
31069 cat >>conftest.$ac_ext <<_ACEOF
31070 /* end confdefs.h. */
31071
31072 #include <gtk/gtk.h>
31073
31074 int
31075 main ()
31076 {
31077
31078 #if !GTK_CHECK_VERSION(2,10,0)
31079 Not GTK+ 2.10
31080 #endif
31081
31082 ;
31083 return 0;
31084 }
31085 _ACEOF
31086 rm -f conftest.$ac_objext
31087 if { (ac_try="$ac_compile"
31088 case "(($ac_try" in
31089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31090 *) ac_try_echo=$ac_try;;
31091 esac
31092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31093 (eval "$ac_compile") 2>conftest.er1
31094 ac_status=$?
31095 grep -v '^ *+' conftest.er1 >conftest.err
31096 rm -f conftest.er1
31097 cat conftest.err >&5
31098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31099 (exit $ac_status); } && {
31100 test -z "$ac_c_werror_flag" ||
31101 test ! -s conftest.err
31102 } && test -s conftest.$ac_objext; then
31103
31104 cat >>confdefs.h <<\_ACEOF
31105 #define __WXGTK210__ 1
31106 _ACEOF
31107
31108 cat >>confdefs.h <<\_ACEOF
31109 #define __WXGTK26__ 1
31110 _ACEOF
31111
31112 { echo "$as_me:$LINENO: result: yes" >&5
31113 echo "${ECHO_T}yes" >&6; }
31114 ac_wxgtk210=1
31115
31116 else
31117 echo "$as_me: failed program was:" >&5
31118 sed 's/^/| /' conftest.$ac_ext >&5
31119
31120
31121 { echo "$as_me:$LINENO: result: no" >&5
31122 echo "${ECHO_T}no" >&6; }
31123 ac_wxgtk210=0
31124
31125 fi
31126
31127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31128
31129 if test "$ac_wxgtk210" = 0; then
31130 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
31131 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
31132 cat >conftest.$ac_ext <<_ACEOF
31133 /* confdefs.h. */
31134 _ACEOF
31135 cat confdefs.h >>conftest.$ac_ext
31136 cat >>conftest.$ac_ext <<_ACEOF
31137 /* end confdefs.h. */
31138
31139 #include <gtk/gtk.h>
31140
31141 int
31142 main ()
31143 {
31144
31145 #if !GTK_CHECK_VERSION(2,6,0)
31146 Not GTK+ 2.6
31147 #endif
31148
31149 ;
31150 return 0;
31151 }
31152 _ACEOF
31153 rm -f conftest.$ac_objext
31154 if { (ac_try="$ac_compile"
31155 case "(($ac_try" in
31156 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31157 *) ac_try_echo=$ac_try;;
31158 esac
31159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31160 (eval "$ac_compile") 2>conftest.er1
31161 ac_status=$?
31162 grep -v '^ *+' conftest.er1 >conftest.err
31163 rm -f conftest.er1
31164 cat conftest.err >&5
31165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31166 (exit $ac_status); } && {
31167 test -z "$ac_c_werror_flag" ||
31168 test ! -s conftest.err
31169 } && test -s conftest.$ac_objext; then
31170
31171 cat >>confdefs.h <<\_ACEOF
31172 #define __WXGTK26__ 1
31173 _ACEOF
31174
31175 { echo "$as_me:$LINENO: result: yes" >&5
31176 echo "${ECHO_T}yes" >&6; }
31177 ac_wxgtk26=1
31178
31179 else
31180 echo "$as_me: failed program was:" >&5
31181 sed 's/^/| /' conftest.$ac_ext >&5
31182
31183
31184 { echo "$as_me:$LINENO: result: no" >&5
31185 echo "${ECHO_T}no" >&6; }
31186 ac_wxgtk26=0
31187
31188 fi
31189
31190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31191 fi
31192 fi
31193
31194 CFLAGS="$save_CFLAGS"
31195 LIBS="$save_LIBS"
31196 else
31197 if test "$wxUSE_UNICODE" = "yes"; then
31198 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
31199 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
31200 wxUSE_UNICODE=no
31201 fi
31202
31203 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
31204 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
31205 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
31206 echo $ECHO_N "(cached) $ECHO_C" >&6
31207 else
31208 ac_check_lib_save_LIBS=$LIBS
31209 LIBS="-lgdk $LIBS"
31210 cat >conftest.$ac_ext <<_ACEOF
31211 /* confdefs.h. */
31212 _ACEOF
31213 cat confdefs.h >>conftest.$ac_ext
31214 cat >>conftest.$ac_ext <<_ACEOF
31215 /* end confdefs.h. */
31216
31217 /* Override any GCC internal prototype to avoid an error.
31218 Use char because int might match the return type of a GCC
31219 builtin and then its argument prototype would still apply. */
31220 #ifdef __cplusplus
31221 extern "C"
31222 #endif
31223 char gdk_im_open ();
31224 int
31225 main ()
31226 {
31227 return gdk_im_open ();
31228 ;
31229 return 0;
31230 }
31231 _ACEOF
31232 rm -f conftest.$ac_objext conftest$ac_exeext
31233 if { (ac_try="$ac_link"
31234 case "(($ac_try" in
31235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31236 *) ac_try_echo=$ac_try;;
31237 esac
31238 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31239 (eval "$ac_link") 2>conftest.er1
31240 ac_status=$?
31241 grep -v '^ *+' conftest.er1 >conftest.err
31242 rm -f conftest.er1
31243 cat conftest.err >&5
31244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31245 (exit $ac_status); } && {
31246 test -z "$ac_c_werror_flag" ||
31247 test ! -s conftest.err
31248 } && test -s conftest$ac_exeext &&
31249 $as_test_x conftest$ac_exeext; then
31250 ac_cv_lib_gdk_gdk_im_open=yes
31251 else
31252 echo "$as_me: failed program was:" >&5
31253 sed 's/^/| /' conftest.$ac_ext >&5
31254
31255 ac_cv_lib_gdk_gdk_im_open=no
31256 fi
31257
31258 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31259 conftest$ac_exeext conftest.$ac_ext
31260 LIBS=$ac_check_lib_save_LIBS
31261 fi
31262 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
31263 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
31264 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
31265 cat >>confdefs.h <<\_ACEOF
31266 #define HAVE_XIM 1
31267 _ACEOF
31268
31269 fi
31270
31271
31272 if test "$USE_DARWIN" != 1; then
31273
31274 for ac_func in poll
31275 do
31276 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31277 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31278 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31279 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31280 echo $ECHO_N "(cached) $ECHO_C" >&6
31281 else
31282 cat >conftest.$ac_ext <<_ACEOF
31283 /* confdefs.h. */
31284 _ACEOF
31285 cat confdefs.h >>conftest.$ac_ext
31286 cat >>conftest.$ac_ext <<_ACEOF
31287 /* end confdefs.h. */
31288 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31289 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31290 #define $ac_func innocuous_$ac_func
31291
31292 /* System header to define __stub macros and hopefully few prototypes,
31293 which can conflict with char $ac_func (); below.
31294 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31295 <limits.h> exists even on freestanding compilers. */
31296
31297 #ifdef __STDC__
31298 # include <limits.h>
31299 #else
31300 # include <assert.h>
31301 #endif
31302
31303 #undef $ac_func
31304
31305 /* Override any GCC internal prototype to avoid an error.
31306 Use char because int might match the return type of a GCC
31307 builtin and then its argument prototype would still apply. */
31308 #ifdef __cplusplus
31309 extern "C"
31310 #endif
31311 char $ac_func ();
31312 /* The GNU C library defines this for functions which it implements
31313 to always fail with ENOSYS. Some functions are actually named
31314 something starting with __ and the normal name is an alias. */
31315 #if defined __stub_$ac_func || defined __stub___$ac_func
31316 choke me
31317 #endif
31318
31319 int
31320 main ()
31321 {
31322 return $ac_func ();
31323 ;
31324 return 0;
31325 }
31326 _ACEOF
31327 rm -f conftest.$ac_objext conftest$ac_exeext
31328 if { (ac_try="$ac_link"
31329 case "(($ac_try" in
31330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31331 *) ac_try_echo=$ac_try;;
31332 esac
31333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31334 (eval "$ac_link") 2>conftest.er1
31335 ac_status=$?
31336 grep -v '^ *+' conftest.er1 >conftest.err
31337 rm -f conftest.er1
31338 cat conftest.err >&5
31339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31340 (exit $ac_status); } && {
31341 test -z "$ac_c_werror_flag" ||
31342 test ! -s conftest.err
31343 } && test -s conftest$ac_exeext &&
31344 $as_test_x conftest$ac_exeext; then
31345 eval "$as_ac_var=yes"
31346 else
31347 echo "$as_me: failed program was:" >&5
31348 sed 's/^/| /' conftest.$ac_ext >&5
31349
31350 eval "$as_ac_var=no"
31351 fi
31352
31353 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31354 conftest$ac_exeext conftest.$ac_ext
31355 fi
31356 ac_res=`eval echo '${'$as_ac_var'}'`
31357 { echo "$as_me:$LINENO: result: $ac_res" >&5
31358 echo "${ECHO_T}$ac_res" >&6; }
31359 if test `eval echo '${'$as_ac_var'}'` = yes; then
31360 cat >>confdefs.h <<_ACEOF
31361 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31362 _ACEOF
31363
31364 fi
31365 done
31366
31367 fi
31368 fi
31369
31370 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
31371 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
31372 AFMINSTALL=afminstall
31373 TOOLKIT=GTK
31374 GUIDIST=GTK_DIST
31375
31376 if test "$wxUSE_GPE" = "yes"; then
31377 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
31378 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
31379
31380 ac_find_libraries=
31381 for ac_dir in $SEARCH_LIB
31382 do
31383 for ac_extension in a so sl dylib dll.a; do
31384 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
31385 ac_find_libraries=$ac_dir
31386 break 2
31387 fi
31388 done
31389 done
31390
31391 if test "$ac_find_libraries" != "" ; then
31392
31393 if test "$ac_find_libraries" = "default location"; then
31394 ac_path_to_link=""
31395 else
31396 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31397 result=$?
31398 if test $result = 0; then
31399 ac_path_to_link=""
31400 else
31401 ac_path_to_link=" -L$ac_find_libraries"
31402 fi
31403 fi
31404
31405 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
31406 WXGPE=1
31407 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31408 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31409 else
31410 { echo "$as_me:$LINENO: result: not found" >&5
31411 echo "${ECHO_T}not found" >&6; }
31412 fi
31413
31414 fi
31415 fi
31416
31417 if test "$wxUSE_MGL" = 1; then
31418 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
31419 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
31420 if test "x$MGL_ROOT" = x ; then
31421 { echo "$as_me:$LINENO: result: not found" >&5
31422 echo "${ECHO_T}not found" >&6; }
31423 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
31424 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
31425 { (exit 1); exit 1; }; }
31426 else
31427 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
31428 echo "${ECHO_T}$MGL_ROOT" >&6; }
31429 fi
31430
31431 { echo "$as_me:$LINENO: checking for libmgl location" >&5
31432 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
31433 case "${host}" in
31434 *-*-linux* )
31435 if test "x$wxUSE_SHARED" = xyes ; then
31436 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
31437 else
31438 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
31439 fi
31440 ;;
31441 *-pc-msdosdjgpp )
31442 mgl_os_candidates="dos32/dj2"
31443 ;;
31444 *)
31445 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
31446 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
31447 { (exit 1); exit 1; }; }
31448 esac
31449
31450 mgl_lib_type=""
31451 mgl_os=""
31452
31453 for mgl_os_i in $mgl_os_candidates ; do
31454 if test "x$mgl_os" = x ; then
31455 if test "$wxUSE_DEBUG_FLAG" = yes ; then
31456 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
31457 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
31458 mgl_lib_type=debug
31459 mgl_os=$mgl_os_i
31460 fi
31461 fi
31462 if test "x$mgl_lib_type" = x ; then
31463 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
31464 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
31465 mgl_lib_type=release
31466 mgl_os=$mgl_os_i
31467 fi
31468 fi
31469 fi
31470 done
31471
31472 if test "x$mgl_os" = x ; then
31473 { echo "$as_me:$LINENO: result: not found" >&5
31474 echo "${ECHO_T}not found" >&6; }
31475 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
31476 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
31477 { (exit 1); exit 1; }; }
31478 fi
31479 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
31480 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
31481
31482 wxUSE_UNIVERSAL="yes"
31483
31484 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
31485 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
31486
31487 AFMINSTALL=afminstall
31488 TOOLKIT=MGL
31489 GUIDIST=MGL_DIST
31490 fi
31491
31492 if test "$wxUSE_DFB" = 1; then
31493
31494
31495 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31496 if test -n "$ac_tool_prefix"; then
31497 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31498 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
31499 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31500 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31501 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31502 echo $ECHO_N "(cached) $ECHO_C" >&6
31503 else
31504 case $PKG_CONFIG in
31505 [\\/]* | ?:[\\/]*)
31506 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
31507 ;;
31508 *)
31509 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31510 for as_dir in $PATH
31511 do
31512 IFS=$as_save_IFS
31513 test -z "$as_dir" && as_dir=.
31514 for ac_exec_ext in '' $ac_executable_extensions; do
31515 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31516 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31517 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31518 break 2
31519 fi
31520 done
31521 done
31522 IFS=$as_save_IFS
31523
31524 ;;
31525 esac
31526 fi
31527 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
31528 if test -n "$PKG_CONFIG"; then
31529 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31530 echo "${ECHO_T}$PKG_CONFIG" >&6; }
31531 else
31532 { echo "$as_me:$LINENO: result: no" >&5
31533 echo "${ECHO_T}no" >&6; }
31534 fi
31535
31536
31537 fi
31538 if test -z "$ac_cv_path_PKG_CONFIG"; then
31539 ac_pt_PKG_CONFIG=$PKG_CONFIG
31540 # Extract the first word of "pkg-config", so it can be a program name with args.
31541 set dummy pkg-config; ac_word=$2
31542 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31543 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31544 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31545 echo $ECHO_N "(cached) $ECHO_C" >&6
31546 else
31547 case $ac_pt_PKG_CONFIG in
31548 [\\/]* | ?:[\\/]*)
31549 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31550 ;;
31551 *)
31552 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31553 for as_dir in $PATH
31554 do
31555 IFS=$as_save_IFS
31556 test -z "$as_dir" && as_dir=.
31557 for ac_exec_ext in '' $ac_executable_extensions; do
31558 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31559 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31560 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31561 break 2
31562 fi
31563 done
31564 done
31565 IFS=$as_save_IFS
31566
31567 ;;
31568 esac
31569 fi
31570 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
31571 if test -n "$ac_pt_PKG_CONFIG"; then
31572 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31573 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
31574 else
31575 { echo "$as_me:$LINENO: result: no" >&5
31576 echo "${ECHO_T}no" >&6; }
31577 fi
31578
31579 if test "x$ac_pt_PKG_CONFIG" = x; then
31580 PKG_CONFIG=""
31581 else
31582 case $cross_compiling:$ac_tool_warned in
31583 yes:)
31584 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
31585 whose name does not start with the host triplet. If you think this
31586 configuration is useful to you, please write to autoconf@gnu.org." >&5
31587 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
31588 whose name does not start with the host triplet. If you think this
31589 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
31590 ac_tool_warned=yes ;;
31591 esac
31592 PKG_CONFIG=$ac_pt_PKG_CONFIG
31593 fi
31594 else
31595 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
31596 fi
31597
31598 fi
31599 if test -n "$PKG_CONFIG"; then
31600 _pkg_min_version=0.9.0
31601 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31602 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
31603 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31604 { echo "$as_me:$LINENO: result: yes" >&5
31605 echo "${ECHO_T}yes" >&6; }
31606 else
31607 { echo "$as_me:$LINENO: result: no" >&5
31608 echo "${ECHO_T}no" >&6; }
31609 PKG_CONFIG=""
31610 fi
31611
31612 fi
31613
31614
31615 pkg_failed=no
31616 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
31617 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
31618
31619 if test -n "$PKG_CONFIG"; then
31620 if test -n "$DIRECTFB_CFLAGS"; then
31621 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
31622 else
31623 if test -n "$PKG_CONFIG" && \
31624 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
31625 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
31626 ac_status=$?
31627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31628 (exit $ac_status); }; then
31629 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
31630 else
31631 pkg_failed=yes
31632 fi
31633 fi
31634 else
31635 pkg_failed=untried
31636 fi
31637 if test -n "$PKG_CONFIG"; then
31638 if test -n "$DIRECTFB_LIBS"; then
31639 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
31640 else
31641 if test -n "$PKG_CONFIG" && \
31642 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
31643 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
31644 ac_status=$?
31645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31646 (exit $ac_status); }; then
31647 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
31648 else
31649 pkg_failed=yes
31650 fi
31651 fi
31652 else
31653 pkg_failed=untried
31654 fi
31655
31656
31657
31658 if test $pkg_failed = yes; then
31659
31660 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31661 _pkg_short_errors_supported=yes
31662 else
31663 _pkg_short_errors_supported=no
31664 fi
31665 if test $_pkg_short_errors_supported = yes; then
31666 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
31667 else
31668 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
31669 fi
31670 # Put the nasty error message in config.log where it belongs
31671 echo "$DIRECTFB_PKG_ERRORS" >&5
31672
31673
31674 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
31675 echo "$as_me: error: DirectFB not found." >&2;}
31676 { (exit 1); exit 1; }; }
31677
31678
31679 elif test $pkg_failed = untried; then
31680
31681 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
31682 echo "$as_me: error: DirectFB not found." >&2;}
31683 { (exit 1); exit 1; }; }
31684
31685
31686 else
31687 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
31688 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
31689 { echo "$as_me:$LINENO: result: yes" >&5
31690 echo "${ECHO_T}yes" >&6; }
31691
31692 wxUSE_UNIVERSAL="yes"
31693 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
31694 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
31695 TOOLKIT=DFB
31696 GUIDIST=DFB_DIST
31697
31698 fi
31699 fi
31700
31701 if test "$wxUSE_MICROWIN" = 1; then
31702 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
31703 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
31704 if test "x$MICROWINDOWS" = x ; then
31705 { echo "$as_me:$LINENO: result: not found" >&5
31706 echo "${ECHO_T}not found" >&6; }
31707 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
31708 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
31709 { (exit 1); exit 1; }; }
31710 else
31711 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
31712 echo "${ECHO_T}$MICROWINDOWS" >&6; }
31713 fi
31714
31715 if test -f $MICROWINDOWS/lib/libmwin.a; then
31716 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
31717 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
31718 else
31719 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
31720 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
31721 { (exit 1); exit 1; }; }
31722 fi
31723
31724 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
31725 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
31726
31727 wxUSE_UNIVERSAL="yes"
31728
31729 AFMINSTALL=afminstall
31730 TOOLKIT=MICROWIN
31731 GUIDIST=MICROWIN_DIST
31732
31733 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
31734 fi
31735
31736 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31737 { echo "$as_me:$LINENO: checking for X" >&5
31738 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
31739
31740
31741 # Check whether --with-x was given.
31742 if test "${with_x+set}" = set; then
31743 withval=$with_x;
31744 fi
31745
31746 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
31747 if test "x$with_x" = xno; then
31748 # The user explicitly disabled X.
31749 have_x=disabled
31750 else
31751 case $x_includes,$x_libraries in #(
31752 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
31753 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
31754 { (exit 1); exit 1; }; };; #(
31755 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
31756 echo $ECHO_N "(cached) $ECHO_C" >&6
31757 else
31758 # One or both of the vars are not set, and there is no cached value.
31759 ac_x_includes=no ac_x_libraries=no
31760 rm -f -r conftest.dir
31761 if mkdir conftest.dir; then
31762 cd conftest.dir
31763 cat >Imakefile <<'_ACEOF'
31764 incroot:
31765 @echo incroot='${INCROOT}'
31766 usrlibdir:
31767 @echo usrlibdir='${USRLIBDIR}'
31768 libdir:
31769 @echo libdir='${LIBDIR}'
31770 _ACEOF
31771 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
31772 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
31773 for ac_var in incroot usrlibdir libdir; do
31774 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
31775 done
31776 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
31777 for ac_extension in a so sl; do
31778 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
31779 test -f "$ac_im_libdir/libX11.$ac_extension"; then
31780 ac_im_usrlibdir=$ac_im_libdir; break
31781 fi
31782 done
31783 # Screen out bogus values from the imake configuration. They are
31784 # bogus both because they are the default anyway, and because
31785 # using them would break gcc on systems where it needs fixed includes.
31786 case $ac_im_incroot in
31787 /usr/include) ac_x_includes= ;;
31788 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
31789 esac
31790 case $ac_im_usrlibdir in
31791 /usr/lib | /lib) ;;
31792 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
31793 esac
31794 fi
31795 cd ..
31796 rm -f -r conftest.dir
31797 fi
31798
31799 # Standard set of common directories for X headers.
31800 # Check X11 before X11Rn because it is often a symlink to the current release.
31801 ac_x_header_dirs='
31802 /usr/X11/include
31803 /usr/X11R6/include
31804 /usr/X11R5/include
31805 /usr/X11R4/include
31806
31807 /usr/include/X11
31808 /usr/include/X11R6
31809 /usr/include/X11R5
31810 /usr/include/X11R4
31811
31812 /usr/local/X11/include
31813 /usr/local/X11R6/include
31814 /usr/local/X11R5/include
31815 /usr/local/X11R4/include
31816
31817 /usr/local/include/X11
31818 /usr/local/include/X11R6
31819 /usr/local/include/X11R5
31820 /usr/local/include/X11R4
31821
31822 /usr/X386/include
31823 /usr/x386/include
31824 /usr/XFree86/include/X11
31825
31826 /usr/include
31827 /usr/local/include
31828 /usr/unsupported/include
31829 /usr/athena/include
31830 /usr/local/x11r5/include
31831 /usr/lpp/Xamples/include
31832
31833 /usr/openwin/include
31834 /usr/openwin/share/include'
31835
31836 if test "$ac_x_includes" = no; then
31837 # Guess where to find include files, by looking for Xlib.h.
31838 # First, try using that file with no special directory specified.
31839 cat >conftest.$ac_ext <<_ACEOF
31840 /* confdefs.h. */
31841 _ACEOF
31842 cat confdefs.h >>conftest.$ac_ext
31843 cat >>conftest.$ac_ext <<_ACEOF
31844 /* end confdefs.h. */
31845 #include <X11/Xlib.h>
31846 _ACEOF
31847 if { (ac_try="$ac_cpp conftest.$ac_ext"
31848 case "(($ac_try" in
31849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31850 *) ac_try_echo=$ac_try;;
31851 esac
31852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31853 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
31854 ac_status=$?
31855 grep -v '^ *+' conftest.er1 >conftest.err
31856 rm -f conftest.er1
31857 cat conftest.err >&5
31858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31859 (exit $ac_status); } >/dev/null && {
31860 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
31861 test ! -s conftest.err
31862 }; then
31863 # We can compile using X headers with no special include directory.
31864 ac_x_includes=
31865 else
31866 echo "$as_me: failed program was:" >&5
31867 sed 's/^/| /' conftest.$ac_ext >&5
31868
31869 for ac_dir in $ac_x_header_dirs; do
31870 if test -r "$ac_dir/X11/Xlib.h"; then
31871 ac_x_includes=$ac_dir
31872 break
31873 fi
31874 done
31875 fi
31876
31877 rm -f conftest.err conftest.$ac_ext
31878 fi # $ac_x_includes = no
31879
31880 if test "$ac_x_libraries" = no; then
31881 # Check for the libraries.
31882 # See if we find them without any special options.
31883 # Don't add to $LIBS permanently.
31884 ac_save_LIBS=$LIBS
31885 LIBS="-lX11 $LIBS"
31886 cat >conftest.$ac_ext <<_ACEOF
31887 /* confdefs.h. */
31888 _ACEOF
31889 cat confdefs.h >>conftest.$ac_ext
31890 cat >>conftest.$ac_ext <<_ACEOF
31891 /* end confdefs.h. */
31892 #include <X11/Xlib.h>
31893 int
31894 main ()
31895 {
31896 XrmInitialize ()
31897 ;
31898 return 0;
31899 }
31900 _ACEOF
31901 rm -f conftest.$ac_objext conftest$ac_exeext
31902 if { (ac_try="$ac_link"
31903 case "(($ac_try" in
31904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31905 *) ac_try_echo=$ac_try;;
31906 esac
31907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31908 (eval "$ac_link") 2>conftest.er1
31909 ac_status=$?
31910 grep -v '^ *+' conftest.er1 >conftest.err
31911 rm -f conftest.er1
31912 cat conftest.err >&5
31913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31914 (exit $ac_status); } && {
31915 test -z "$ac_c_werror_flag" ||
31916 test ! -s conftest.err
31917 } && test -s conftest$ac_exeext &&
31918 $as_test_x conftest$ac_exeext; then
31919 LIBS=$ac_save_LIBS
31920 # We can link X programs with no special library path.
31921 ac_x_libraries=
31922 else
31923 echo "$as_me: failed program was:" >&5
31924 sed 's/^/| /' conftest.$ac_ext >&5
31925
31926 LIBS=$ac_save_LIBS
31927 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
31928 do
31929 # Don't even attempt the hair of trying to link an X program!
31930 for ac_extension in a so sl; do
31931 if test -r "$ac_dir/libX11.$ac_extension"; then
31932 ac_x_libraries=$ac_dir
31933 break 2
31934 fi
31935 done
31936 done
31937 fi
31938
31939 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31940 conftest$ac_exeext conftest.$ac_ext
31941 fi # $ac_x_libraries = no
31942
31943 case $ac_x_includes,$ac_x_libraries in #(
31944 no,* | *,no | *\'*)
31945 # Didn't find X, or a directory has "'" in its name.
31946 ac_cv_have_x="have_x=no";; #(
31947 *)
31948 # Record where we found X for the cache.
31949 ac_cv_have_x="have_x=yes\
31950 ac_x_includes='$ac_x_includes'\
31951 ac_x_libraries='$ac_x_libraries'"
31952 esac
31953 fi
31954 ;; #(
31955 *) have_x=yes;;
31956 esac
31957 eval "$ac_cv_have_x"
31958 fi # $with_x != no
31959
31960 if test "$have_x" != yes; then
31961 { echo "$as_me:$LINENO: result: $have_x" >&5
31962 echo "${ECHO_T}$have_x" >&6; }
31963 no_x=yes
31964 else
31965 # If each of the values was on the command line, it overrides each guess.
31966 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
31967 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
31968 # Update the cache value to reflect the command line values.
31969 ac_cv_have_x="have_x=yes\
31970 ac_x_includes='$x_includes'\
31971 ac_x_libraries='$x_libraries'"
31972 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
31973 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
31974 fi
31975
31976 if test "$no_x" = yes; then
31977 # Not all programs may use this symbol, but it does not hurt to define it.
31978
31979 cat >>confdefs.h <<\_ACEOF
31980 #define X_DISPLAY_MISSING 1
31981 _ACEOF
31982
31983 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
31984 else
31985 if test -n "$x_includes"; then
31986 X_CFLAGS="$X_CFLAGS -I$x_includes"
31987 fi
31988
31989 # It would also be nice to do this for all -L options, not just this one.
31990 if test -n "$x_libraries"; then
31991 X_LIBS="$X_LIBS -L$x_libraries"
31992 # For Solaris; some versions of Sun CC require a space after -R and
31993 # others require no space. Words are not sufficient . . . .
31994 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
31995 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
31996 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
31997 ac_xsave_c_werror_flag=$ac_c_werror_flag
31998 ac_c_werror_flag=yes
31999 cat >conftest.$ac_ext <<_ACEOF
32000 /* confdefs.h. */
32001 _ACEOF
32002 cat confdefs.h >>conftest.$ac_ext
32003 cat >>conftest.$ac_ext <<_ACEOF
32004 /* end confdefs.h. */
32005
32006 int
32007 main ()
32008 {
32009
32010 ;
32011 return 0;
32012 }
32013 _ACEOF
32014 rm -f conftest.$ac_objext conftest$ac_exeext
32015 if { (ac_try="$ac_link"
32016 case "(($ac_try" in
32017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32018 *) ac_try_echo=$ac_try;;
32019 esac
32020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32021 (eval "$ac_link") 2>conftest.er1
32022 ac_status=$?
32023 grep -v '^ *+' conftest.er1 >conftest.err
32024 rm -f conftest.er1
32025 cat conftest.err >&5
32026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32027 (exit $ac_status); } && {
32028 test -z "$ac_c_werror_flag" ||
32029 test ! -s conftest.err
32030 } && test -s conftest$ac_exeext &&
32031 $as_test_x conftest$ac_exeext; then
32032 { echo "$as_me:$LINENO: result: no" >&5
32033 echo "${ECHO_T}no" >&6; }
32034 X_LIBS="$X_LIBS -R$x_libraries"
32035 else
32036 echo "$as_me: failed program was:" >&5
32037 sed 's/^/| /' conftest.$ac_ext >&5
32038
32039 LIBS="$ac_xsave_LIBS -R $x_libraries"
32040 cat >conftest.$ac_ext <<_ACEOF
32041 /* confdefs.h. */
32042 _ACEOF
32043 cat confdefs.h >>conftest.$ac_ext
32044 cat >>conftest.$ac_ext <<_ACEOF
32045 /* end confdefs.h. */
32046
32047 int
32048 main ()
32049 {
32050
32051 ;
32052 return 0;
32053 }
32054 _ACEOF
32055 rm -f conftest.$ac_objext conftest$ac_exeext
32056 if { (ac_try="$ac_link"
32057 case "(($ac_try" in
32058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32059 *) ac_try_echo=$ac_try;;
32060 esac
32061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32062 (eval "$ac_link") 2>conftest.er1
32063 ac_status=$?
32064 grep -v '^ *+' conftest.er1 >conftest.err
32065 rm -f conftest.er1
32066 cat conftest.err >&5
32067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32068 (exit $ac_status); } && {
32069 test -z "$ac_c_werror_flag" ||
32070 test ! -s conftest.err
32071 } && test -s conftest$ac_exeext &&
32072 $as_test_x conftest$ac_exeext; then
32073 { echo "$as_me:$LINENO: result: yes" >&5
32074 echo "${ECHO_T}yes" >&6; }
32075 X_LIBS="$X_LIBS -R $x_libraries"
32076 else
32077 echo "$as_me: failed program was:" >&5
32078 sed 's/^/| /' conftest.$ac_ext >&5
32079
32080 { echo "$as_me:$LINENO: result: neither works" >&5
32081 echo "${ECHO_T}neither works" >&6; }
32082 fi
32083
32084 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32085 conftest$ac_exeext conftest.$ac_ext
32086 fi
32087
32088 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32089 conftest$ac_exeext conftest.$ac_ext
32090 ac_c_werror_flag=$ac_xsave_c_werror_flag
32091 LIBS=$ac_xsave_LIBS
32092 fi
32093
32094 # Check for system-dependent libraries X programs must link with.
32095 # Do this before checking for the system-independent R6 libraries
32096 # (-lICE), since we may need -lsocket or whatever for X linking.
32097
32098 if test "$ISC" = yes; then
32099 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
32100 else
32101 # Martyn Johnson says this is needed for Ultrix, if the X
32102 # libraries were built with DECnet support. And Karl Berry says
32103 # the Alpha needs dnet_stub (dnet does not exist).
32104 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
32105 cat >conftest.$ac_ext <<_ACEOF
32106 /* confdefs.h. */
32107 _ACEOF
32108 cat confdefs.h >>conftest.$ac_ext
32109 cat >>conftest.$ac_ext <<_ACEOF
32110 /* end confdefs.h. */
32111
32112 /* Override any GCC internal prototype to avoid an error.
32113 Use char because int might match the return type of a GCC
32114 builtin and then its argument prototype would still apply. */
32115 #ifdef __cplusplus
32116 extern "C"
32117 #endif
32118 char XOpenDisplay ();
32119 int
32120 main ()
32121 {
32122 return XOpenDisplay ();
32123 ;
32124 return 0;
32125 }
32126 _ACEOF
32127 rm -f conftest.$ac_objext conftest$ac_exeext
32128 if { (ac_try="$ac_link"
32129 case "(($ac_try" in
32130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32131 *) ac_try_echo=$ac_try;;
32132 esac
32133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32134 (eval "$ac_link") 2>conftest.er1
32135 ac_status=$?
32136 grep -v '^ *+' conftest.er1 >conftest.err
32137 rm -f conftest.er1
32138 cat conftest.err >&5
32139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32140 (exit $ac_status); } && {
32141 test -z "$ac_c_werror_flag" ||
32142 test ! -s conftest.err
32143 } && test -s conftest$ac_exeext &&
32144 $as_test_x conftest$ac_exeext; then
32145 :
32146 else
32147 echo "$as_me: failed program was:" >&5
32148 sed 's/^/| /' conftest.$ac_ext >&5
32149
32150 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
32151 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
32152 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
32153 echo $ECHO_N "(cached) $ECHO_C" >&6
32154 else
32155 ac_check_lib_save_LIBS=$LIBS
32156 LIBS="-ldnet $LIBS"
32157 cat >conftest.$ac_ext <<_ACEOF
32158 /* confdefs.h. */
32159 _ACEOF
32160 cat confdefs.h >>conftest.$ac_ext
32161 cat >>conftest.$ac_ext <<_ACEOF
32162 /* end confdefs.h. */
32163
32164 /* Override any GCC internal prototype to avoid an error.
32165 Use char because int might match the return type of a GCC
32166 builtin and then its argument prototype would still apply. */
32167 #ifdef __cplusplus
32168 extern "C"
32169 #endif
32170 char dnet_ntoa ();
32171 int
32172 main ()
32173 {
32174 return dnet_ntoa ();
32175 ;
32176 return 0;
32177 }
32178 _ACEOF
32179 rm -f conftest.$ac_objext conftest$ac_exeext
32180 if { (ac_try="$ac_link"
32181 case "(($ac_try" in
32182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32183 *) ac_try_echo=$ac_try;;
32184 esac
32185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32186 (eval "$ac_link") 2>conftest.er1
32187 ac_status=$?
32188 grep -v '^ *+' conftest.er1 >conftest.err
32189 rm -f conftest.er1
32190 cat conftest.err >&5
32191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32192 (exit $ac_status); } && {
32193 test -z "$ac_c_werror_flag" ||
32194 test ! -s conftest.err
32195 } && test -s conftest$ac_exeext &&
32196 $as_test_x conftest$ac_exeext; then
32197 ac_cv_lib_dnet_dnet_ntoa=yes
32198 else
32199 echo "$as_me: failed program was:" >&5
32200 sed 's/^/| /' conftest.$ac_ext >&5
32201
32202 ac_cv_lib_dnet_dnet_ntoa=no
32203 fi
32204
32205 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32206 conftest$ac_exeext conftest.$ac_ext
32207 LIBS=$ac_check_lib_save_LIBS
32208 fi
32209 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
32210 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
32211 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
32212 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
32213 fi
32214
32215 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
32216 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
32217 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
32218 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
32219 echo $ECHO_N "(cached) $ECHO_C" >&6
32220 else
32221 ac_check_lib_save_LIBS=$LIBS
32222 LIBS="-ldnet_stub $LIBS"
32223 cat >conftest.$ac_ext <<_ACEOF
32224 /* confdefs.h. */
32225 _ACEOF
32226 cat confdefs.h >>conftest.$ac_ext
32227 cat >>conftest.$ac_ext <<_ACEOF
32228 /* end confdefs.h. */
32229
32230 /* Override any GCC internal prototype to avoid an error.
32231 Use char because int might match the return type of a GCC
32232 builtin and then its argument prototype would still apply. */
32233 #ifdef __cplusplus
32234 extern "C"
32235 #endif
32236 char dnet_ntoa ();
32237 int
32238 main ()
32239 {
32240 return dnet_ntoa ();
32241 ;
32242 return 0;
32243 }
32244 _ACEOF
32245 rm -f conftest.$ac_objext conftest$ac_exeext
32246 if { (ac_try="$ac_link"
32247 case "(($ac_try" in
32248 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32249 *) ac_try_echo=$ac_try;;
32250 esac
32251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32252 (eval "$ac_link") 2>conftest.er1
32253 ac_status=$?
32254 grep -v '^ *+' conftest.er1 >conftest.err
32255 rm -f conftest.er1
32256 cat conftest.err >&5
32257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32258 (exit $ac_status); } && {
32259 test -z "$ac_c_werror_flag" ||
32260 test ! -s conftest.err
32261 } && test -s conftest$ac_exeext &&
32262 $as_test_x conftest$ac_exeext; then
32263 ac_cv_lib_dnet_stub_dnet_ntoa=yes
32264 else
32265 echo "$as_me: failed program was:" >&5
32266 sed 's/^/| /' conftest.$ac_ext >&5
32267
32268 ac_cv_lib_dnet_stub_dnet_ntoa=no
32269 fi
32270
32271 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32272 conftest$ac_exeext conftest.$ac_ext
32273 LIBS=$ac_check_lib_save_LIBS
32274 fi
32275 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
32276 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
32277 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
32278 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
32279 fi
32280
32281 fi
32282 fi
32283
32284 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32285 conftest$ac_exeext conftest.$ac_ext
32286 LIBS="$ac_xsave_LIBS"
32287
32288 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
32289 # to get the SysV transport functions.
32290 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
32291 # needs -lnsl.
32292 # The nsl library prevents programs from opening the X display
32293 # on Irix 5.2, according to T.E. Dickey.
32294 # The functions gethostbyname, getservbyname, and inet_addr are
32295 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
32296 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
32297 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
32298 if test "${ac_cv_func_gethostbyname+set}" = set; then
32299 echo $ECHO_N "(cached) $ECHO_C" >&6
32300 else
32301 cat >conftest.$ac_ext <<_ACEOF
32302 /* confdefs.h. */
32303 _ACEOF
32304 cat confdefs.h >>conftest.$ac_ext
32305 cat >>conftest.$ac_ext <<_ACEOF
32306 /* end confdefs.h. */
32307 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
32308 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32309 #define gethostbyname innocuous_gethostbyname
32310
32311 /* System header to define __stub macros and hopefully few prototypes,
32312 which can conflict with char gethostbyname (); below.
32313 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32314 <limits.h> exists even on freestanding compilers. */
32315
32316 #ifdef __STDC__
32317 # include <limits.h>
32318 #else
32319 # include <assert.h>
32320 #endif
32321
32322 #undef gethostbyname
32323
32324 /* Override any GCC internal prototype to avoid an error.
32325 Use char because int might match the return type of a GCC
32326 builtin and then its argument prototype would still apply. */
32327 #ifdef __cplusplus
32328 extern "C"
32329 #endif
32330 char gethostbyname ();
32331 /* The GNU C library defines this for functions which it implements
32332 to always fail with ENOSYS. Some functions are actually named
32333 something starting with __ and the normal name is an alias. */
32334 #if defined __stub_gethostbyname || defined __stub___gethostbyname
32335 choke me
32336 #endif
32337
32338 int
32339 main ()
32340 {
32341 return gethostbyname ();
32342 ;
32343 return 0;
32344 }
32345 _ACEOF
32346 rm -f conftest.$ac_objext conftest$ac_exeext
32347 if { (ac_try="$ac_link"
32348 case "(($ac_try" in
32349 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32350 *) ac_try_echo=$ac_try;;
32351 esac
32352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32353 (eval "$ac_link") 2>conftest.er1
32354 ac_status=$?
32355 grep -v '^ *+' conftest.er1 >conftest.err
32356 rm -f conftest.er1
32357 cat conftest.err >&5
32358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32359 (exit $ac_status); } && {
32360 test -z "$ac_c_werror_flag" ||
32361 test ! -s conftest.err
32362 } && test -s conftest$ac_exeext &&
32363 $as_test_x conftest$ac_exeext; then
32364 ac_cv_func_gethostbyname=yes
32365 else
32366 echo "$as_me: failed program was:" >&5
32367 sed 's/^/| /' conftest.$ac_ext >&5
32368
32369 ac_cv_func_gethostbyname=no
32370 fi
32371
32372 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32373 conftest$ac_exeext conftest.$ac_ext
32374 fi
32375 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
32376 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
32377
32378 if test $ac_cv_func_gethostbyname = no; then
32379 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
32380 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
32381 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
32382 echo $ECHO_N "(cached) $ECHO_C" >&6
32383 else
32384 ac_check_lib_save_LIBS=$LIBS
32385 LIBS="-lnsl $LIBS"
32386 cat >conftest.$ac_ext <<_ACEOF
32387 /* confdefs.h. */
32388 _ACEOF
32389 cat confdefs.h >>conftest.$ac_ext
32390 cat >>conftest.$ac_ext <<_ACEOF
32391 /* end confdefs.h. */
32392
32393 /* Override any GCC internal prototype to avoid an error.
32394 Use char because int might match the return type of a GCC
32395 builtin and then its argument prototype would still apply. */
32396 #ifdef __cplusplus
32397 extern "C"
32398 #endif
32399 char gethostbyname ();
32400 int
32401 main ()
32402 {
32403 return gethostbyname ();
32404 ;
32405 return 0;
32406 }
32407 _ACEOF
32408 rm -f conftest.$ac_objext conftest$ac_exeext
32409 if { (ac_try="$ac_link"
32410 case "(($ac_try" in
32411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32412 *) ac_try_echo=$ac_try;;
32413 esac
32414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32415 (eval "$ac_link") 2>conftest.er1
32416 ac_status=$?
32417 grep -v '^ *+' conftest.er1 >conftest.err
32418 rm -f conftest.er1
32419 cat conftest.err >&5
32420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32421 (exit $ac_status); } && {
32422 test -z "$ac_c_werror_flag" ||
32423 test ! -s conftest.err
32424 } && test -s conftest$ac_exeext &&
32425 $as_test_x conftest$ac_exeext; then
32426 ac_cv_lib_nsl_gethostbyname=yes
32427 else
32428 echo "$as_me: failed program was:" >&5
32429 sed 's/^/| /' conftest.$ac_ext >&5
32430
32431 ac_cv_lib_nsl_gethostbyname=no
32432 fi
32433
32434 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32435 conftest$ac_exeext conftest.$ac_ext
32436 LIBS=$ac_check_lib_save_LIBS
32437 fi
32438 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
32439 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
32440 if test $ac_cv_lib_nsl_gethostbyname = yes; then
32441 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
32442 fi
32443
32444 if test $ac_cv_lib_nsl_gethostbyname = no; then
32445 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
32446 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
32447 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
32448 echo $ECHO_N "(cached) $ECHO_C" >&6
32449 else
32450 ac_check_lib_save_LIBS=$LIBS
32451 LIBS="-lbsd $LIBS"
32452 cat >conftest.$ac_ext <<_ACEOF
32453 /* confdefs.h. */
32454 _ACEOF
32455 cat confdefs.h >>conftest.$ac_ext
32456 cat >>conftest.$ac_ext <<_ACEOF
32457 /* end confdefs.h. */
32458
32459 /* Override any GCC internal prototype to avoid an error.
32460 Use char because int might match the return type of a GCC
32461 builtin and then its argument prototype would still apply. */
32462 #ifdef __cplusplus
32463 extern "C"
32464 #endif
32465 char gethostbyname ();
32466 int
32467 main ()
32468 {
32469 return gethostbyname ();
32470 ;
32471 return 0;
32472 }
32473 _ACEOF
32474 rm -f conftest.$ac_objext conftest$ac_exeext
32475 if { (ac_try="$ac_link"
32476 case "(($ac_try" in
32477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32478 *) ac_try_echo=$ac_try;;
32479 esac
32480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32481 (eval "$ac_link") 2>conftest.er1
32482 ac_status=$?
32483 grep -v '^ *+' conftest.er1 >conftest.err
32484 rm -f conftest.er1
32485 cat conftest.err >&5
32486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32487 (exit $ac_status); } && {
32488 test -z "$ac_c_werror_flag" ||
32489 test ! -s conftest.err
32490 } && test -s conftest$ac_exeext &&
32491 $as_test_x conftest$ac_exeext; then
32492 ac_cv_lib_bsd_gethostbyname=yes
32493 else
32494 echo "$as_me: failed program was:" >&5
32495 sed 's/^/| /' conftest.$ac_ext >&5
32496
32497 ac_cv_lib_bsd_gethostbyname=no
32498 fi
32499
32500 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32501 conftest$ac_exeext conftest.$ac_ext
32502 LIBS=$ac_check_lib_save_LIBS
32503 fi
32504 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
32505 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
32506 if test $ac_cv_lib_bsd_gethostbyname = yes; then
32507 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
32508 fi
32509
32510 fi
32511 fi
32512
32513 # lieder@skyler.mavd.honeywell.com says without -lsocket,
32514 # socket/setsockopt and other routines are undefined under SCO ODT
32515 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
32516 # on later versions), says Simon Leinen: it contains gethostby*
32517 # variants that don't use the name server (or something). -lsocket
32518 # must be given before -lnsl if both are needed. We assume that
32519 # if connect needs -lnsl, so does gethostbyname.
32520 { echo "$as_me:$LINENO: checking for connect" >&5
32521 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
32522 if test "${ac_cv_func_connect+set}" = set; then
32523 echo $ECHO_N "(cached) $ECHO_C" >&6
32524 else
32525 cat >conftest.$ac_ext <<_ACEOF
32526 /* confdefs.h. */
32527 _ACEOF
32528 cat confdefs.h >>conftest.$ac_ext
32529 cat >>conftest.$ac_ext <<_ACEOF
32530 /* end confdefs.h. */
32531 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
32532 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32533 #define connect innocuous_connect
32534
32535 /* System header to define __stub macros and hopefully few prototypes,
32536 which can conflict with char connect (); below.
32537 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32538 <limits.h> exists even on freestanding compilers. */
32539
32540 #ifdef __STDC__
32541 # include <limits.h>
32542 #else
32543 # include <assert.h>
32544 #endif
32545
32546 #undef connect
32547
32548 /* Override any GCC internal prototype to avoid an error.
32549 Use char because int might match the return type of a GCC
32550 builtin and then its argument prototype would still apply. */
32551 #ifdef __cplusplus
32552 extern "C"
32553 #endif
32554 char connect ();
32555 /* The GNU C library defines this for functions which it implements
32556 to always fail with ENOSYS. Some functions are actually named
32557 something starting with __ and the normal name is an alias. */
32558 #if defined __stub_connect || defined __stub___connect
32559 choke me
32560 #endif
32561
32562 int
32563 main ()
32564 {
32565 return connect ();
32566 ;
32567 return 0;
32568 }
32569 _ACEOF
32570 rm -f conftest.$ac_objext conftest$ac_exeext
32571 if { (ac_try="$ac_link"
32572 case "(($ac_try" in
32573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32574 *) ac_try_echo=$ac_try;;
32575 esac
32576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32577 (eval "$ac_link") 2>conftest.er1
32578 ac_status=$?
32579 grep -v '^ *+' conftest.er1 >conftest.err
32580 rm -f conftest.er1
32581 cat conftest.err >&5
32582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32583 (exit $ac_status); } && {
32584 test -z "$ac_c_werror_flag" ||
32585 test ! -s conftest.err
32586 } && test -s conftest$ac_exeext &&
32587 $as_test_x conftest$ac_exeext; then
32588 ac_cv_func_connect=yes
32589 else
32590 echo "$as_me: failed program was:" >&5
32591 sed 's/^/| /' conftest.$ac_ext >&5
32592
32593 ac_cv_func_connect=no
32594 fi
32595
32596 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32597 conftest$ac_exeext conftest.$ac_ext
32598 fi
32599 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
32600 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
32601
32602 if test $ac_cv_func_connect = no; then
32603 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
32604 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
32605 if test "${ac_cv_lib_socket_connect+set}" = set; then
32606 echo $ECHO_N "(cached) $ECHO_C" >&6
32607 else
32608 ac_check_lib_save_LIBS=$LIBS
32609 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
32610 cat >conftest.$ac_ext <<_ACEOF
32611 /* confdefs.h. */
32612 _ACEOF
32613 cat confdefs.h >>conftest.$ac_ext
32614 cat >>conftest.$ac_ext <<_ACEOF
32615 /* end confdefs.h. */
32616
32617 /* Override any GCC internal prototype to avoid an error.
32618 Use char because int might match the return type of a GCC
32619 builtin and then its argument prototype would still apply. */
32620 #ifdef __cplusplus
32621 extern "C"
32622 #endif
32623 char connect ();
32624 int
32625 main ()
32626 {
32627 return connect ();
32628 ;
32629 return 0;
32630 }
32631 _ACEOF
32632 rm -f conftest.$ac_objext conftest$ac_exeext
32633 if { (ac_try="$ac_link"
32634 case "(($ac_try" in
32635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32636 *) ac_try_echo=$ac_try;;
32637 esac
32638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32639 (eval "$ac_link") 2>conftest.er1
32640 ac_status=$?
32641 grep -v '^ *+' conftest.er1 >conftest.err
32642 rm -f conftest.er1
32643 cat conftest.err >&5
32644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32645 (exit $ac_status); } && {
32646 test -z "$ac_c_werror_flag" ||
32647 test ! -s conftest.err
32648 } && test -s conftest$ac_exeext &&
32649 $as_test_x conftest$ac_exeext; then
32650 ac_cv_lib_socket_connect=yes
32651 else
32652 echo "$as_me: failed program was:" >&5
32653 sed 's/^/| /' conftest.$ac_ext >&5
32654
32655 ac_cv_lib_socket_connect=no
32656 fi
32657
32658 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32659 conftest$ac_exeext conftest.$ac_ext
32660 LIBS=$ac_check_lib_save_LIBS
32661 fi
32662 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
32663 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
32664 if test $ac_cv_lib_socket_connect = yes; then
32665 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
32666 fi
32667
32668 fi
32669
32670 # Guillermo Gomez says -lposix is necessary on A/UX.
32671 { echo "$as_me:$LINENO: checking for remove" >&5
32672 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
32673 if test "${ac_cv_func_remove+set}" = set; then
32674 echo $ECHO_N "(cached) $ECHO_C" >&6
32675 else
32676 cat >conftest.$ac_ext <<_ACEOF
32677 /* confdefs.h. */
32678 _ACEOF
32679 cat confdefs.h >>conftest.$ac_ext
32680 cat >>conftest.$ac_ext <<_ACEOF
32681 /* end confdefs.h. */
32682 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
32683 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32684 #define remove innocuous_remove
32685
32686 /* System header to define __stub macros and hopefully few prototypes,
32687 which can conflict with char remove (); below.
32688 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32689 <limits.h> exists even on freestanding compilers. */
32690
32691 #ifdef __STDC__
32692 # include <limits.h>
32693 #else
32694 # include <assert.h>
32695 #endif
32696
32697 #undef remove
32698
32699 /* Override any GCC internal prototype to avoid an error.
32700 Use char because int might match the return type of a GCC
32701 builtin and then its argument prototype would still apply. */
32702 #ifdef __cplusplus
32703 extern "C"
32704 #endif
32705 char remove ();
32706 /* The GNU C library defines this for functions which it implements
32707 to always fail with ENOSYS. Some functions are actually named
32708 something starting with __ and the normal name is an alias. */
32709 #if defined __stub_remove || defined __stub___remove
32710 choke me
32711 #endif
32712
32713 int
32714 main ()
32715 {
32716 return remove ();
32717 ;
32718 return 0;
32719 }
32720 _ACEOF
32721 rm -f conftest.$ac_objext conftest$ac_exeext
32722 if { (ac_try="$ac_link"
32723 case "(($ac_try" in
32724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32725 *) ac_try_echo=$ac_try;;
32726 esac
32727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32728 (eval "$ac_link") 2>conftest.er1
32729 ac_status=$?
32730 grep -v '^ *+' conftest.er1 >conftest.err
32731 rm -f conftest.er1
32732 cat conftest.err >&5
32733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32734 (exit $ac_status); } && {
32735 test -z "$ac_c_werror_flag" ||
32736 test ! -s conftest.err
32737 } && test -s conftest$ac_exeext &&
32738 $as_test_x conftest$ac_exeext; then
32739 ac_cv_func_remove=yes
32740 else
32741 echo "$as_me: failed program was:" >&5
32742 sed 's/^/| /' conftest.$ac_ext >&5
32743
32744 ac_cv_func_remove=no
32745 fi
32746
32747 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32748 conftest$ac_exeext conftest.$ac_ext
32749 fi
32750 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
32751 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
32752
32753 if test $ac_cv_func_remove = no; then
32754 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
32755 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
32756 if test "${ac_cv_lib_posix_remove+set}" = set; then
32757 echo $ECHO_N "(cached) $ECHO_C" >&6
32758 else
32759 ac_check_lib_save_LIBS=$LIBS
32760 LIBS="-lposix $LIBS"
32761 cat >conftest.$ac_ext <<_ACEOF
32762 /* confdefs.h. */
32763 _ACEOF
32764 cat confdefs.h >>conftest.$ac_ext
32765 cat >>conftest.$ac_ext <<_ACEOF
32766 /* end confdefs.h. */
32767
32768 /* Override any GCC internal prototype to avoid an error.
32769 Use char because int might match the return type of a GCC
32770 builtin and then its argument prototype would still apply. */
32771 #ifdef __cplusplus
32772 extern "C"
32773 #endif
32774 char remove ();
32775 int
32776 main ()
32777 {
32778 return remove ();
32779 ;
32780 return 0;
32781 }
32782 _ACEOF
32783 rm -f conftest.$ac_objext conftest$ac_exeext
32784 if { (ac_try="$ac_link"
32785 case "(($ac_try" in
32786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32787 *) ac_try_echo=$ac_try;;
32788 esac
32789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32790 (eval "$ac_link") 2>conftest.er1
32791 ac_status=$?
32792 grep -v '^ *+' conftest.er1 >conftest.err
32793 rm -f conftest.er1
32794 cat conftest.err >&5
32795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32796 (exit $ac_status); } && {
32797 test -z "$ac_c_werror_flag" ||
32798 test ! -s conftest.err
32799 } && test -s conftest$ac_exeext &&
32800 $as_test_x conftest$ac_exeext; then
32801 ac_cv_lib_posix_remove=yes
32802 else
32803 echo "$as_me: failed program was:" >&5
32804 sed 's/^/| /' conftest.$ac_ext >&5
32805
32806 ac_cv_lib_posix_remove=no
32807 fi
32808
32809 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32810 conftest$ac_exeext conftest.$ac_ext
32811 LIBS=$ac_check_lib_save_LIBS
32812 fi
32813 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
32814 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
32815 if test $ac_cv_lib_posix_remove = yes; then
32816 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
32817 fi
32818
32819 fi
32820
32821 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
32822 { echo "$as_me:$LINENO: checking for shmat" >&5
32823 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
32824 if test "${ac_cv_func_shmat+set}" = set; then
32825 echo $ECHO_N "(cached) $ECHO_C" >&6
32826 else
32827 cat >conftest.$ac_ext <<_ACEOF
32828 /* confdefs.h. */
32829 _ACEOF
32830 cat confdefs.h >>conftest.$ac_ext
32831 cat >>conftest.$ac_ext <<_ACEOF
32832 /* end confdefs.h. */
32833 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
32834 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32835 #define shmat innocuous_shmat
32836
32837 /* System header to define __stub macros and hopefully few prototypes,
32838 which can conflict with char shmat (); below.
32839 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32840 <limits.h> exists even on freestanding compilers. */
32841
32842 #ifdef __STDC__
32843 # include <limits.h>
32844 #else
32845 # include <assert.h>
32846 #endif
32847
32848 #undef shmat
32849
32850 /* Override any GCC internal prototype to avoid an error.
32851 Use char because int might match the return type of a GCC
32852 builtin and then its argument prototype would still apply. */
32853 #ifdef __cplusplus
32854 extern "C"
32855 #endif
32856 char shmat ();
32857 /* The GNU C library defines this for functions which it implements
32858 to always fail with ENOSYS. Some functions are actually named
32859 something starting with __ and the normal name is an alias. */
32860 #if defined __stub_shmat || defined __stub___shmat
32861 choke me
32862 #endif
32863
32864 int
32865 main ()
32866 {
32867 return shmat ();
32868 ;
32869 return 0;
32870 }
32871 _ACEOF
32872 rm -f conftest.$ac_objext conftest$ac_exeext
32873 if { (ac_try="$ac_link"
32874 case "(($ac_try" in
32875 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32876 *) ac_try_echo=$ac_try;;
32877 esac
32878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32879 (eval "$ac_link") 2>conftest.er1
32880 ac_status=$?
32881 grep -v '^ *+' conftest.er1 >conftest.err
32882 rm -f conftest.er1
32883 cat conftest.err >&5
32884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32885 (exit $ac_status); } && {
32886 test -z "$ac_c_werror_flag" ||
32887 test ! -s conftest.err
32888 } && test -s conftest$ac_exeext &&
32889 $as_test_x conftest$ac_exeext; then
32890 ac_cv_func_shmat=yes
32891 else
32892 echo "$as_me: failed program was:" >&5
32893 sed 's/^/| /' conftest.$ac_ext >&5
32894
32895 ac_cv_func_shmat=no
32896 fi
32897
32898 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32899 conftest$ac_exeext conftest.$ac_ext
32900 fi
32901 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
32902 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
32903
32904 if test $ac_cv_func_shmat = no; then
32905 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
32906 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
32907 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
32908 echo $ECHO_N "(cached) $ECHO_C" >&6
32909 else
32910 ac_check_lib_save_LIBS=$LIBS
32911 LIBS="-lipc $LIBS"
32912 cat >conftest.$ac_ext <<_ACEOF
32913 /* confdefs.h. */
32914 _ACEOF
32915 cat confdefs.h >>conftest.$ac_ext
32916 cat >>conftest.$ac_ext <<_ACEOF
32917 /* end confdefs.h. */
32918
32919 /* Override any GCC internal prototype to avoid an error.
32920 Use char because int might match the return type of a GCC
32921 builtin and then its argument prototype would still apply. */
32922 #ifdef __cplusplus
32923 extern "C"
32924 #endif
32925 char shmat ();
32926 int
32927 main ()
32928 {
32929 return shmat ();
32930 ;
32931 return 0;
32932 }
32933 _ACEOF
32934 rm -f conftest.$ac_objext conftest$ac_exeext
32935 if { (ac_try="$ac_link"
32936 case "(($ac_try" in
32937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32938 *) ac_try_echo=$ac_try;;
32939 esac
32940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32941 (eval "$ac_link") 2>conftest.er1
32942 ac_status=$?
32943 grep -v '^ *+' conftest.er1 >conftest.err
32944 rm -f conftest.er1
32945 cat conftest.err >&5
32946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32947 (exit $ac_status); } && {
32948 test -z "$ac_c_werror_flag" ||
32949 test ! -s conftest.err
32950 } && test -s conftest$ac_exeext &&
32951 $as_test_x conftest$ac_exeext; then
32952 ac_cv_lib_ipc_shmat=yes
32953 else
32954 echo "$as_me: failed program was:" >&5
32955 sed 's/^/| /' conftest.$ac_ext >&5
32956
32957 ac_cv_lib_ipc_shmat=no
32958 fi
32959
32960 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32961 conftest$ac_exeext conftest.$ac_ext
32962 LIBS=$ac_check_lib_save_LIBS
32963 fi
32964 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
32965 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
32966 if test $ac_cv_lib_ipc_shmat = yes; then
32967 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
32968 fi
32969
32970 fi
32971 fi
32972
32973 # Check for libraries that X11R6 Xt/Xaw programs need.
32974 ac_save_LDFLAGS=$LDFLAGS
32975 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
32976 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
32977 # check for ICE first), but we must link in the order -lSM -lICE or
32978 # we get undefined symbols. So assume we have SM if we have ICE.
32979 # These have to be linked with before -lX11, unlike the other
32980 # libraries we check for below, so use a different variable.
32981 # John Interrante, Karl Berry
32982 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
32983 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
32984 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
32985 echo $ECHO_N "(cached) $ECHO_C" >&6
32986 else
32987 ac_check_lib_save_LIBS=$LIBS
32988 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
32989 cat >conftest.$ac_ext <<_ACEOF
32990 /* confdefs.h. */
32991 _ACEOF
32992 cat confdefs.h >>conftest.$ac_ext
32993 cat >>conftest.$ac_ext <<_ACEOF
32994 /* end confdefs.h. */
32995
32996 /* Override any GCC internal prototype to avoid an error.
32997 Use char because int might match the return type of a GCC
32998 builtin and then its argument prototype would still apply. */
32999 #ifdef __cplusplus
33000 extern "C"
33001 #endif
33002 char IceConnectionNumber ();
33003 int
33004 main ()
33005 {
33006 return IceConnectionNumber ();
33007 ;
33008 return 0;
33009 }
33010 _ACEOF
33011 rm -f conftest.$ac_objext conftest$ac_exeext
33012 if { (ac_try="$ac_link"
33013 case "(($ac_try" in
33014 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33015 *) ac_try_echo=$ac_try;;
33016 esac
33017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33018 (eval "$ac_link") 2>conftest.er1
33019 ac_status=$?
33020 grep -v '^ *+' conftest.er1 >conftest.err
33021 rm -f conftest.er1
33022 cat conftest.err >&5
33023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33024 (exit $ac_status); } && {
33025 test -z "$ac_c_werror_flag" ||
33026 test ! -s conftest.err
33027 } && test -s conftest$ac_exeext &&
33028 $as_test_x conftest$ac_exeext; then
33029 ac_cv_lib_ICE_IceConnectionNumber=yes
33030 else
33031 echo "$as_me: failed program was:" >&5
33032 sed 's/^/| /' conftest.$ac_ext >&5
33033
33034 ac_cv_lib_ICE_IceConnectionNumber=no
33035 fi
33036
33037 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33038 conftest$ac_exeext conftest.$ac_ext
33039 LIBS=$ac_check_lib_save_LIBS
33040 fi
33041 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
33042 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
33043 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
33044 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
33045 fi
33046
33047 LDFLAGS=$ac_save_LDFLAGS
33048
33049 fi
33050
33051
33052 if test "$no_x" = "yes"; then
33053 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
33054 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
33055 { (exit 1); exit 1; }; }
33056 fi
33057
33058 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
33059 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
33060 AFMINSTALL=afminstall
33061 COMPILED_X_PROGRAM=0
33062
33063 fi
33064
33065 if test "$wxUSE_X11" = 1; then
33066 if test "$wxUSE_NANOX" = "yes"; then
33067 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
33068 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
33069 if test "x$MICROWIN" = x ; then
33070 { echo "$as_me:$LINENO: result: not found" >&5
33071 echo "${ECHO_T}not found" >&6; }
33072 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
33073 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
33074 { (exit 1); exit 1; }; }
33075 else
33076 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
33077 echo "${ECHO_T}$MICROWIN" >&6; }
33078 cat >>confdefs.h <<\_ACEOF
33079 #define wxUSE_NANOX 1
33080 _ACEOF
33081
33082 fi
33083 fi
33084
33085 if test "$wxUSE_UNICODE" = "yes"; then
33086
33087
33088 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
33089 if test -n "$ac_tool_prefix"; then
33090 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
33091 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
33092 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33093 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33094 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
33095 echo $ECHO_N "(cached) $ECHO_C" >&6
33096 else
33097 case $PKG_CONFIG in
33098 [\\/]* | ?:[\\/]*)
33099 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
33100 ;;
33101 *)
33102 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33103 for as_dir in $PATH
33104 do
33105 IFS=$as_save_IFS
33106 test -z "$as_dir" && as_dir=.
33107 for ac_exec_ext in '' $ac_executable_extensions; do
33108 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33109 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33110 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33111 break 2
33112 fi
33113 done
33114 done
33115 IFS=$as_save_IFS
33116
33117 ;;
33118 esac
33119 fi
33120 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
33121 if test -n "$PKG_CONFIG"; then
33122 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
33123 echo "${ECHO_T}$PKG_CONFIG" >&6; }
33124 else
33125 { echo "$as_me:$LINENO: result: no" >&5
33126 echo "${ECHO_T}no" >&6; }
33127 fi
33128
33129
33130 fi
33131 if test -z "$ac_cv_path_PKG_CONFIG"; then
33132 ac_pt_PKG_CONFIG=$PKG_CONFIG
33133 # Extract the first word of "pkg-config", so it can be a program name with args.
33134 set dummy pkg-config; ac_word=$2
33135 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33136 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33137 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
33138 echo $ECHO_N "(cached) $ECHO_C" >&6
33139 else
33140 case $ac_pt_PKG_CONFIG in
33141 [\\/]* | ?:[\\/]*)
33142 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
33143 ;;
33144 *)
33145 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33146 for as_dir in $PATH
33147 do
33148 IFS=$as_save_IFS
33149 test -z "$as_dir" && as_dir=.
33150 for ac_exec_ext in '' $ac_executable_extensions; do
33151 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33152 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33153 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33154 break 2
33155 fi
33156 done
33157 done
33158 IFS=$as_save_IFS
33159
33160 ;;
33161 esac
33162 fi
33163 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
33164 if test -n "$ac_pt_PKG_CONFIG"; then
33165 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
33166 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
33167 else
33168 { echo "$as_me:$LINENO: result: no" >&5
33169 echo "${ECHO_T}no" >&6; }
33170 fi
33171
33172 if test "x$ac_pt_PKG_CONFIG" = x; then
33173 PKG_CONFIG=""
33174 else
33175 case $cross_compiling:$ac_tool_warned in
33176 yes:)
33177 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
33178 whose name does not start with the host triplet. If you think this
33179 configuration is useful to you, please write to autoconf@gnu.org." >&5
33180 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
33181 whose name does not start with the host triplet. If you think this
33182 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
33183 ac_tool_warned=yes ;;
33184 esac
33185 PKG_CONFIG=$ac_pt_PKG_CONFIG
33186 fi
33187 else
33188 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
33189 fi
33190
33191 fi
33192 if test -n "$PKG_CONFIG"; then
33193 _pkg_min_version=0.9.0
33194 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
33195 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
33196 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
33197 { echo "$as_me:$LINENO: result: yes" >&5
33198 echo "${ECHO_T}yes" >&6; }
33199 else
33200 { echo "$as_me:$LINENO: result: no" >&5
33201 echo "${ECHO_T}no" >&6; }
33202 PKG_CONFIG=""
33203 fi
33204
33205 fi
33206
33207
33208 pkg_failed=no
33209 { echo "$as_me:$LINENO: checking for PANGOX" >&5
33210 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
33211
33212 if test -n "$PKG_CONFIG"; then
33213 if test -n "$PANGOX_CFLAGS"; then
33214 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
33215 else
33216 if test -n "$PKG_CONFIG" && \
33217 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
33218 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
33219 ac_status=$?
33220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33221 (exit $ac_status); }; then
33222 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
33223 else
33224 pkg_failed=yes
33225 fi
33226 fi
33227 else
33228 pkg_failed=untried
33229 fi
33230 if test -n "$PKG_CONFIG"; then
33231 if test -n "$PANGOX_LIBS"; then
33232 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
33233 else
33234 if test -n "$PKG_CONFIG" && \
33235 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
33236 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
33237 ac_status=$?
33238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33239 (exit $ac_status); }; then
33240 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
33241 else
33242 pkg_failed=yes
33243 fi
33244 fi
33245 else
33246 pkg_failed=untried
33247 fi
33248
33249
33250
33251 if test $pkg_failed = yes; then
33252
33253 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33254 _pkg_short_errors_supported=yes
33255 else
33256 _pkg_short_errors_supported=no
33257 fi
33258 if test $_pkg_short_errors_supported = yes; then
33259 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
33260 else
33261 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
33262 fi
33263 # Put the nasty error message in config.log where it belongs
33264 echo "$PANGOX_PKG_ERRORS" >&5
33265
33266
33267 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
33268 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
33269 { (exit 1); exit 1; }; }
33270
33271
33272 elif test $pkg_failed = untried; then
33273
33274 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
33275 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
33276 { (exit 1); exit 1; }; }
33277
33278
33279 else
33280 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
33281 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
33282 { echo "$as_me:$LINENO: result: yes" >&5
33283 echo "${ECHO_T}yes" >&6; }
33284
33285 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
33286 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
33287 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
33288
33289 fi
33290
33291 pkg_failed=no
33292 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
33293 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
33294
33295 if test -n "$PKG_CONFIG"; then
33296 if test -n "$PANGOFT2_CFLAGS"; then
33297 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
33298 else
33299 if test -n "$PKG_CONFIG" && \
33300 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
33301 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
33302 ac_status=$?
33303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33304 (exit $ac_status); }; then
33305 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
33306 else
33307 pkg_failed=yes
33308 fi
33309 fi
33310 else
33311 pkg_failed=untried
33312 fi
33313 if test -n "$PKG_CONFIG"; then
33314 if test -n "$PANGOFT2_LIBS"; then
33315 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
33316 else
33317 if test -n "$PKG_CONFIG" && \
33318 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
33319 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
33320 ac_status=$?
33321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33322 (exit $ac_status); }; then
33323 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
33324 else
33325 pkg_failed=yes
33326 fi
33327 fi
33328 else
33329 pkg_failed=untried
33330 fi
33331
33332
33333
33334 if test $pkg_failed = yes; then
33335
33336 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33337 _pkg_short_errors_supported=yes
33338 else
33339 _pkg_short_errors_supported=no
33340 fi
33341 if test $_pkg_short_errors_supported = yes; then
33342 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
33343 else
33344 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
33345 fi
33346 # Put the nasty error message in config.log where it belongs
33347 echo "$PANGOFT2_PKG_ERRORS" >&5
33348
33349
33350 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
33351 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
33352 wxUSE_PRINTING_ARCHITECTURE="no"
33353
33354
33355 elif test $pkg_failed = untried; then
33356
33357 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
33358 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
33359 wxUSE_PRINTING_ARCHITECTURE="no"
33360
33361
33362 else
33363 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
33364 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
33365 { echo "$as_me:$LINENO: result: yes" >&5
33366 echo "${ECHO_T}yes" >&6; }
33367
33368 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
33369 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
33370 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
33371
33372 fi
33373
33374 pkg_failed=no
33375 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
33376 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
33377
33378 if test -n "$PKG_CONFIG"; then
33379 if test -n "$PANGOXFT_CFLAGS"; then
33380 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
33381 else
33382 if test -n "$PKG_CONFIG" && \
33383 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
33384 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
33385 ac_status=$?
33386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33387 (exit $ac_status); }; then
33388 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
33389 else
33390 pkg_failed=yes
33391 fi
33392 fi
33393 else
33394 pkg_failed=untried
33395 fi
33396 if test -n "$PKG_CONFIG"; then
33397 if test -n "$PANGOXFT_LIBS"; then
33398 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
33399 else
33400 if test -n "$PKG_CONFIG" && \
33401 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
33402 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
33403 ac_status=$?
33404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33405 (exit $ac_status); }; then
33406 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
33407 else
33408 pkg_failed=yes
33409 fi
33410 fi
33411 else
33412 pkg_failed=untried
33413 fi
33414
33415
33416
33417 if test $pkg_failed = yes; then
33418
33419 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33420 _pkg_short_errors_supported=yes
33421 else
33422 _pkg_short_errors_supported=no
33423 fi
33424 if test $_pkg_short_errors_supported = yes; then
33425 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
33426 else
33427 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
33428 fi
33429 # Put the nasty error message in config.log where it belongs
33430 echo "$PANGOXFT_PKG_ERRORS" >&5
33431
33432
33433 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
33434 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
33435
33436
33437 elif test $pkg_failed = untried; then
33438
33439 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
33440 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
33441
33442
33443 else
33444 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
33445 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
33446 { echo "$as_me:$LINENO: result: yes" >&5
33447 echo "${ECHO_T}yes" >&6; }
33448
33449 cat >>confdefs.h <<\_ACEOF
33450 #define HAVE_PANGO_XFT 1
33451 _ACEOF
33452
33453 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
33454 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
33455 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
33456
33457 fi
33458 save_LIBS="$LIBS"
33459 LIBS="$LIBS $PANGOX_LIBS"
33460
33461 for ac_func in pango_font_family_is_monospace
33462 do
33463 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33464 { echo "$as_me:$LINENO: checking for $ac_func" >&5
33465 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
33466 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
33467 echo $ECHO_N "(cached) $ECHO_C" >&6
33468 else
33469 cat >conftest.$ac_ext <<_ACEOF
33470 /* confdefs.h. */
33471 _ACEOF
33472 cat confdefs.h >>conftest.$ac_ext
33473 cat >>conftest.$ac_ext <<_ACEOF
33474 /* end confdefs.h. */
33475 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33476 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33477 #define $ac_func innocuous_$ac_func
33478
33479 /* System header to define __stub macros and hopefully few prototypes,
33480 which can conflict with char $ac_func (); below.
33481 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33482 <limits.h> exists even on freestanding compilers. */
33483
33484 #ifdef __STDC__
33485 # include <limits.h>
33486 #else
33487 # include <assert.h>
33488 #endif
33489
33490 #undef $ac_func
33491
33492 /* Override any GCC internal prototype to avoid an error.
33493 Use char because int might match the return type of a GCC
33494 builtin and then its argument prototype would still apply. */
33495 #ifdef __cplusplus
33496 extern "C"
33497 #endif
33498 char $ac_func ();
33499 /* The GNU C library defines this for functions which it implements
33500 to always fail with ENOSYS. Some functions are actually named
33501 something starting with __ and the normal name is an alias. */
33502 #if defined __stub_$ac_func || defined __stub___$ac_func
33503 choke me
33504 #endif
33505
33506 int
33507 main ()
33508 {
33509 return $ac_func ();
33510 ;
33511 return 0;
33512 }
33513 _ACEOF
33514 rm -f conftest.$ac_objext conftest$ac_exeext
33515 if { (ac_try="$ac_link"
33516 case "(($ac_try" in
33517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33518 *) ac_try_echo=$ac_try;;
33519 esac
33520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33521 (eval "$ac_link") 2>conftest.er1
33522 ac_status=$?
33523 grep -v '^ *+' conftest.er1 >conftest.err
33524 rm -f conftest.er1
33525 cat conftest.err >&5
33526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33527 (exit $ac_status); } && {
33528 test -z "$ac_c_werror_flag" ||
33529 test ! -s conftest.err
33530 } && test -s conftest$ac_exeext &&
33531 $as_test_x conftest$ac_exeext; then
33532 eval "$as_ac_var=yes"
33533 else
33534 echo "$as_me: failed program was:" >&5
33535 sed 's/^/| /' conftest.$ac_ext >&5
33536
33537 eval "$as_ac_var=no"
33538 fi
33539
33540 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33541 conftest$ac_exeext conftest.$ac_ext
33542 fi
33543 ac_res=`eval echo '${'$as_ac_var'}'`
33544 { echo "$as_me:$LINENO: result: $ac_res" >&5
33545 echo "${ECHO_T}$ac_res" >&6; }
33546 if test `eval echo '${'$as_ac_var'}'` = yes; then
33547 cat >>confdefs.h <<_ACEOF
33548 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33549 _ACEOF
33550
33551 fi
33552 done
33553
33554 LIBS="$save_LIBS"
33555 fi
33556
33557 wxUSE_UNIVERSAL="yes"
33558
33559 if test "$wxUSE_NANOX" = "yes"; then
33560 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
33561 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"
33562 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
33563 else
33564 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
33565 fi
33566
33567 TOOLKIT=X11
33568 GUIDIST=X11_DIST
33569 fi
33570
33571 if test "$wxUSE_MOTIF" = 1; then
33572 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
33573 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
33574
33575 ac_find_includes=
33576 for ac_dir in $SEARCH_INCLUDE /usr/include
33577 do
33578 if test -f "$ac_dir/Xm/Xm.h"; then
33579 ac_find_includes=$ac_dir
33580 break
33581 fi
33582 done
33583
33584 if test "$ac_find_includes" != "" ; then
33585 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33586 echo "${ECHO_T}found in $ac_find_includes" >&6; }
33587
33588 if test "x$ac_find_includes" = "x/usr/include"; then
33589 ac_path_to_include=""
33590 else
33591 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
33592 result=$?
33593 if test $result = 0; then
33594 ac_path_to_include=""
33595 else
33596 ac_path_to_include=" -I$ac_find_includes"
33597 fi
33598 fi
33599
33600 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
33601 else
33602 save_CFLAGS=$CFLAGS
33603 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33604
33605 cat >conftest.$ac_ext <<_ACEOF
33606 /* confdefs.h. */
33607 _ACEOF
33608 cat confdefs.h >>conftest.$ac_ext
33609 cat >>conftest.$ac_ext <<_ACEOF
33610 /* end confdefs.h. */
33611
33612 #include <Xm/Xm.h>
33613
33614 int
33615 main ()
33616 {
33617
33618 int version;
33619 version = xmUseVersion;
33620
33621 ;
33622 return 0;
33623 }
33624 _ACEOF
33625 rm -f conftest.$ac_objext
33626 if { (ac_try="$ac_compile"
33627 case "(($ac_try" in
33628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33629 *) ac_try_echo=$ac_try;;
33630 esac
33631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33632 (eval "$ac_compile") 2>conftest.er1
33633 ac_status=$?
33634 grep -v '^ *+' conftest.er1 >conftest.err
33635 rm -f conftest.er1
33636 cat conftest.err >&5
33637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33638 (exit $ac_status); } && {
33639 test -z "$ac_c_werror_flag" ||
33640 test ! -s conftest.err
33641 } && test -s conftest.$ac_objext; then
33642
33643 { echo "$as_me:$LINENO: result: found in default search path" >&5
33644 echo "${ECHO_T}found in default search path" >&6; }
33645 COMPILED_X_PROGRAM=1
33646
33647 else
33648 echo "$as_me: failed program was:" >&5
33649 sed 's/^/| /' conftest.$ac_ext >&5
33650
33651
33652 { echo "$as_me:$LINENO: result: no" >&5
33653 echo "${ECHO_T}no" >&6; }
33654 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
33655 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
33656 { (exit 1); exit 1; }; }
33657
33658
33659 fi
33660
33661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33662
33663 CFLAGS=$save_CFLAGS
33664 fi
33665
33666
33667 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
33668 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
33669
33670 ac_find_libraries=
33671 for ac_dir in $SEARCH_LIB
33672 do
33673 for ac_extension in a so sl dylib dll.a; do
33674 if test -f "$ac_dir/libXm.$ac_extension"; then
33675 ac_find_libraries=$ac_dir
33676 break 2
33677 fi
33678 done
33679 done
33680
33681
33682 if test "x$ac_find_libraries" != "x" ; then
33683 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33684 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33685
33686
33687 if test "$ac_find_libraries" = "default location"; then
33688 ac_path_to_link=""
33689 else
33690 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
33691 result=$?
33692 if test $result = 0; then
33693 ac_path_to_link=""
33694 else
33695 ac_path_to_link=" -L$ac_find_libraries"
33696 fi
33697 fi
33698
33699 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
33700 else
33701 save_CFLAGS=$CFLAGS
33702 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33703 save_LIBS="$LIBS"
33704 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
33705
33706 cat >conftest.$ac_ext <<_ACEOF
33707 /* confdefs.h. */
33708 _ACEOF
33709 cat confdefs.h >>conftest.$ac_ext
33710 cat >>conftest.$ac_ext <<_ACEOF
33711 /* end confdefs.h. */
33712
33713 #include <Xm/Xm.h>
33714
33715 int
33716 main ()
33717 {
33718
33719 int version;
33720 version = xmUseVersion;
33721
33722 ;
33723 return 0;
33724 }
33725 _ACEOF
33726 rm -f conftest.$ac_objext conftest$ac_exeext
33727 if { (ac_try="$ac_link"
33728 case "(($ac_try" in
33729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33730 *) ac_try_echo=$ac_try;;
33731 esac
33732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33733 (eval "$ac_link") 2>conftest.er1
33734 ac_status=$?
33735 grep -v '^ *+' conftest.er1 >conftest.err
33736 rm -f conftest.er1
33737 cat conftest.err >&5
33738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33739 (exit $ac_status); } && {
33740 test -z "$ac_c_werror_flag" ||
33741 test ! -s conftest.err
33742 } && test -s conftest$ac_exeext &&
33743 $as_test_x conftest$ac_exeext; then
33744
33745 { echo "$as_me:$LINENO: result: found in default search path" >&5
33746 echo "${ECHO_T}found in default search path" >&6; }
33747 COMPILED_X_PROGRAM=1
33748
33749 else
33750 echo "$as_me: failed program was:" >&5
33751 sed 's/^/| /' conftest.$ac_ext >&5
33752
33753
33754 { echo "$as_me:$LINENO: result: no" >&5
33755 echo "${ECHO_T}no" >&6; }
33756 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
33757 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
33758 { (exit 1); exit 1; }; }
33759
33760
33761 fi
33762
33763 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33764 conftest$ac_exeext conftest.$ac_ext
33765
33766 CFLAGS=$save_CFLAGS
33767 LIBS="$save_LIBS"
33768 fi
33769
33770 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
33771 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
33772 libp_link=""
33773 libsm_ice_link=""
33774 libs_found=0
33775 for libp in "" " -lXp"; do
33776 if test "$libs_found" = 0; then
33777 for libsm_ice in "" " -lSM -lICE"; do
33778 if test "$libs_found" = 0; then
33779 save_LIBS="$LIBS"
33780 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
33781 save_CFLAGS=$CFLAGS
33782 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33783
33784 cat >conftest.$ac_ext <<_ACEOF
33785 /* confdefs.h. */
33786 _ACEOF
33787 cat confdefs.h >>conftest.$ac_ext
33788 cat >>conftest.$ac_ext <<_ACEOF
33789 /* end confdefs.h. */
33790
33791 #include <Xm/Xm.h>
33792 #include <Xm/List.h>
33793
33794 int
33795 main ()
33796 {
33797
33798 XmString string = NULL;
33799 Widget w = NULL;
33800 int position = 0;
33801 XmListAddItem(w, string, position);
33802
33803 ;
33804 return 0;
33805 }
33806 _ACEOF
33807 rm -f conftest.$ac_objext conftest$ac_exeext
33808 if { (ac_try="$ac_link"
33809 case "(($ac_try" in
33810 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33811 *) ac_try_echo=$ac_try;;
33812 esac
33813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33814 (eval "$ac_link") 2>conftest.er1
33815 ac_status=$?
33816 grep -v '^ *+' conftest.er1 >conftest.err
33817 rm -f conftest.er1
33818 cat conftest.err >&5
33819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33820 (exit $ac_status); } && {
33821 test -z "$ac_c_werror_flag" ||
33822 test ! -s conftest.err
33823 } && test -s conftest$ac_exeext &&
33824 $as_test_x conftest$ac_exeext; then
33825
33826 libp_link="$libp"
33827 libsm_ice_link="$libsm_ice"
33828 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
33829 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
33830 libs_found=1
33831
33832 else
33833 echo "$as_me: failed program was:" >&5
33834 sed 's/^/| /' conftest.$ac_ext >&5
33835
33836
33837
33838 fi
33839
33840 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33841 conftest$ac_exeext conftest.$ac_ext
33842
33843 LIBS="$save_LIBS"
33844 CFLAGS=$save_CFLAGS
33845 fi
33846 done
33847 fi
33848 done
33849
33850 if test "$libs_found" = 0; then
33851 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
33852 echo "${ECHO_T}can't find the right libraries" >&6; }
33853 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
33854 echo "$as_me: error: can't link a simple motif program" >&2;}
33855 { (exit 1); exit 1; }; }
33856 fi
33857
33858 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
33859 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
33860 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
33861 echo $ECHO_N "(cached) $ECHO_C" >&6
33862 else
33863 ac_check_lib_save_LIBS=$LIBS
33864 LIBS="-lSgm $LIBS"
33865 cat >conftest.$ac_ext <<_ACEOF
33866 /* confdefs.h. */
33867 _ACEOF
33868 cat confdefs.h >>conftest.$ac_ext
33869 cat >>conftest.$ac_ext <<_ACEOF
33870 /* end confdefs.h. */
33871
33872 /* Override any GCC internal prototype to avoid an error.
33873 Use char because int might match the return type of a GCC
33874 builtin and then its argument prototype would still apply. */
33875 #ifdef __cplusplus
33876 extern "C"
33877 #endif
33878 char SgCreateList ();
33879 int
33880 main ()
33881 {
33882 return SgCreateList ();
33883 ;
33884 return 0;
33885 }
33886 _ACEOF
33887 rm -f conftest.$ac_objext conftest$ac_exeext
33888 if { (ac_try="$ac_link"
33889 case "(($ac_try" in
33890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33891 *) ac_try_echo=$ac_try;;
33892 esac
33893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33894 (eval "$ac_link") 2>conftest.er1
33895 ac_status=$?
33896 grep -v '^ *+' conftest.er1 >conftest.err
33897 rm -f conftest.er1
33898 cat conftest.err >&5
33899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33900 (exit $ac_status); } && {
33901 test -z "$ac_c_werror_flag" ||
33902 test ! -s conftest.err
33903 } && test -s conftest$ac_exeext &&
33904 $as_test_x conftest$ac_exeext; then
33905 ac_cv_lib_Sgm_SgCreateList=yes
33906 else
33907 echo "$as_me: failed program was:" >&5
33908 sed 's/^/| /' conftest.$ac_ext >&5
33909
33910 ac_cv_lib_Sgm_SgCreateList=no
33911 fi
33912
33913 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33914 conftest$ac_exeext conftest.$ac_ext
33915 LIBS=$ac_check_lib_save_LIBS
33916 fi
33917 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
33918 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
33919 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
33920 libsgm_link=" -lSgm"
33921 fi
33922
33923
33924 save_CFLAGS=$CFLAGS
33925 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33926
33927 { echo "$as_me:$LINENO: checking for Motif 2" >&5
33928 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
33929 if test "${wx_cv_lib_motif2+set}" = set; then
33930 echo $ECHO_N "(cached) $ECHO_C" >&6
33931 else
33932 cat >conftest.$ac_ext <<_ACEOF
33933 /* confdefs.h. */
33934 _ACEOF
33935 cat confdefs.h >>conftest.$ac_ext
33936 cat >>conftest.$ac_ext <<_ACEOF
33937 /* end confdefs.h. */
33938
33939 #include <Xm/Xm.h>
33940
33941 int
33942 main ()
33943 {
33944
33945 #if XmVersion < 2000
33946 Not Motif 2
33947 #endif
33948
33949 ;
33950 return 0;
33951 }
33952 _ACEOF
33953 rm -f conftest.$ac_objext
33954 if { (ac_try="$ac_compile"
33955 case "(($ac_try" in
33956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33957 *) ac_try_echo=$ac_try;;
33958 esac
33959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33960 (eval "$ac_compile") 2>conftest.er1
33961 ac_status=$?
33962 grep -v '^ *+' conftest.er1 >conftest.err
33963 rm -f conftest.er1
33964 cat conftest.err >&5
33965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33966 (exit $ac_status); } && {
33967 test -z "$ac_c_werror_flag" ||
33968 test ! -s conftest.err
33969 } && test -s conftest.$ac_objext; then
33970 wx_cv_lib_motif2="yes"
33971 else
33972 echo "$as_me: failed program was:" >&5
33973 sed 's/^/| /' conftest.$ac_ext >&5
33974
33975 wx_cv_lib_motif2="no"
33976 fi
33977
33978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33979 fi
33980 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
33981 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
33982 if test "$wx_cv_lib_motif2" = "yes"; then
33983 cat >>confdefs.h <<\_ACEOF
33984 #define __WXMOTIF20__ 1
33985 _ACEOF
33986
33987 else
33988 cat >>confdefs.h <<\_ACEOF
33989 #define __WXMOTIF20__ 0
33990 _ACEOF
33991
33992 fi
33993
33994 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
33995 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
33996 if test "${wx_cv_lib_lesstif+set}" = set; then
33997 echo $ECHO_N "(cached) $ECHO_C" >&6
33998 else
33999 cat >conftest.$ac_ext <<_ACEOF
34000 /* confdefs.h. */
34001 _ACEOF
34002 cat confdefs.h >>conftest.$ac_ext
34003 cat >>conftest.$ac_ext <<_ACEOF
34004 /* end confdefs.h. */
34005
34006 #include <Xm/Xm.h>
34007
34008 int
34009 main ()
34010 {
34011
34012 #if !defined(LesstifVersion) || LesstifVersion <= 0
34013 Not Lesstif
34014 #endif
34015
34016 ;
34017 return 0;
34018 }
34019 _ACEOF
34020 rm -f conftest.$ac_objext
34021 if { (ac_try="$ac_compile"
34022 case "(($ac_try" in
34023 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34024 *) ac_try_echo=$ac_try;;
34025 esac
34026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34027 (eval "$ac_compile") 2>conftest.er1
34028 ac_status=$?
34029 grep -v '^ *+' conftest.er1 >conftest.err
34030 rm -f conftest.er1
34031 cat conftest.err >&5
34032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34033 (exit $ac_status); } && {
34034 test -z "$ac_c_werror_flag" ||
34035 test ! -s conftest.err
34036 } && test -s conftest.$ac_objext; then
34037 wx_cv_lib_lesstif="yes"
34038 else
34039 echo "$as_me: failed program was:" >&5
34040 sed 's/^/| /' conftest.$ac_ext >&5
34041
34042 wx_cv_lib_lesstif="no"
34043 fi
34044
34045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34046
34047 fi
34048 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
34049 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
34050 if test "$wx_cv_lib_lesstif" = "yes"; then
34051 cat >>confdefs.h <<\_ACEOF
34052 #define __WXLESSTIF__ 1
34053 _ACEOF
34054
34055 else
34056 cat >>confdefs.h <<\_ACEOF
34057 #define __WXLESSTIF__ 0
34058 _ACEOF
34059
34060 fi
34061
34062 CFLAGS=$save_CFLAGS
34063
34064 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
34065 TOOLKIT=MOTIF
34066 GUIDIST=MOTIF_DIST
34067 fi
34068
34069 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
34070 if test "$wxUSE_LIBXPM" = "sys"; then
34071 { echo "$as_me:$LINENO: checking for Xpm library" >&5
34072 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
34073
34074 ac_find_libraries=
34075 for ac_dir in $SEARCH_LIB
34076 do
34077 for ac_extension in a so sl dylib dll.a; do
34078 if test -f "$ac_dir/libXpm.$ac_extension"; then
34079 ac_find_libraries=$ac_dir
34080 break 2
34081 fi
34082 done
34083 done
34084
34085 if test "$ac_find_libraries" != "" ; then
34086
34087 if test "$ac_find_libraries" = "default location"; then
34088 ac_path_to_link=""
34089 else
34090 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
34091 result=$?
34092 if test $result = 0; then
34093 ac_path_to_link=""
34094 else
34095 ac_path_to_link=" -L$ac_find_libraries"
34096 fi
34097 fi
34098
34099 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
34100 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
34101 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
34102
34103 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
34104 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
34105 if test "${wx_cv_x11_xpm_h+set}" = set; then
34106 echo $ECHO_N "(cached) $ECHO_C" >&6
34107 else
34108
34109 save_CFLAGS=$CFLAGS
34110 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34111
34112 cat >conftest.$ac_ext <<_ACEOF
34113 /* confdefs.h. */
34114 _ACEOF
34115 cat confdefs.h >>conftest.$ac_ext
34116 cat >>conftest.$ac_ext <<_ACEOF
34117 /* end confdefs.h. */
34118
34119 #include <X11/xpm.h>
34120
34121 int
34122 main ()
34123 {
34124
34125 int version;
34126 version = XpmLibraryVersion();
34127
34128 ;
34129 return 0;
34130 }
34131 _ACEOF
34132 rm -f conftest.$ac_objext
34133 if { (ac_try="$ac_compile"
34134 case "(($ac_try" in
34135 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34136 *) ac_try_echo=$ac_try;;
34137 esac
34138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34139 (eval "$ac_compile") 2>conftest.er1
34140 ac_status=$?
34141 grep -v '^ *+' conftest.er1 >conftest.err
34142 rm -f conftest.er1
34143 cat conftest.err >&5
34144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34145 (exit $ac_status); } && {
34146 test -z "$ac_c_werror_flag" ||
34147 test ! -s conftest.err
34148 } && test -s conftest.$ac_objext; then
34149 wx_cv_x11_xpm_h=yes
34150 else
34151 echo "$as_me: failed program was:" >&5
34152 sed 's/^/| /' conftest.$ac_ext >&5
34153
34154 wx_cv_x11_xpm_h=no
34155
34156 fi
34157
34158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34159
34160 CFLAGS=$save_CFLAGS
34161
34162
34163 fi
34164 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
34165 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
34166
34167 if test $wx_cv_x11_xpm_h = "yes"; then
34168 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
34169 cat >>confdefs.h <<\_ACEOF
34170 #define wxHAVE_LIB_XPM 1
34171 _ACEOF
34172
34173 else
34174 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
34175 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
34176 fi
34177 fi
34178
34179 fi
34180
34181 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
34182 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
34183 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
34184 echo $ECHO_N "(cached) $ECHO_C" >&6
34185 else
34186 ac_check_lib_save_LIBS=$LIBS
34187 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
34188 cat >conftest.$ac_ext <<_ACEOF
34189 /* confdefs.h. */
34190 _ACEOF
34191 cat confdefs.h >>conftest.$ac_ext
34192 cat >>conftest.$ac_ext <<_ACEOF
34193 /* end confdefs.h. */
34194
34195 /* Override any GCC internal prototype to avoid an error.
34196 Use char because int might match the return type of a GCC
34197 builtin and then its argument prototype would still apply. */
34198 #ifdef __cplusplus
34199 extern "C"
34200 #endif
34201 char XShapeQueryExtension ();
34202 int
34203 main ()
34204 {
34205 return XShapeQueryExtension ();
34206 ;
34207 return 0;
34208 }
34209 _ACEOF
34210 rm -f conftest.$ac_objext conftest$ac_exeext
34211 if { (ac_try="$ac_link"
34212 case "(($ac_try" in
34213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34214 *) ac_try_echo=$ac_try;;
34215 esac
34216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34217 (eval "$ac_link") 2>conftest.er1
34218 ac_status=$?
34219 grep -v '^ *+' conftest.er1 >conftest.err
34220 rm -f conftest.er1
34221 cat conftest.err >&5
34222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34223 (exit $ac_status); } && {
34224 test -z "$ac_c_werror_flag" ||
34225 test ! -s conftest.err
34226 } && test -s conftest$ac_exeext &&
34227 $as_test_x conftest$ac_exeext; then
34228 ac_cv_lib_Xext_XShapeQueryExtension=yes
34229 else
34230 echo "$as_me: failed program was:" >&5
34231 sed 's/^/| /' conftest.$ac_ext >&5
34232
34233 ac_cv_lib_Xext_XShapeQueryExtension=no
34234 fi
34235
34236 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34237 conftest$ac_exeext conftest.$ac_ext
34238 LIBS=$ac_check_lib_save_LIBS
34239 fi
34240 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
34241 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
34242 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
34243
34244 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
34245 wxHAVE_XEXT_LIB=1
34246
34247 fi
34248
34249
34250 if test "$wxHAVE_XEXT_LIB" = 1; then
34251 save_CFLAGS="$CFLAGS"
34252 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34253
34254 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
34255 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
34256 cat >conftest.$ac_ext <<_ACEOF
34257 /* confdefs.h. */
34258 _ACEOF
34259 cat confdefs.h >>conftest.$ac_ext
34260 cat >>conftest.$ac_ext <<_ACEOF
34261 /* end confdefs.h. */
34262
34263 #include <X11/Xlib.h>
34264 #include <X11/extensions/shape.h>
34265
34266 int
34267 main ()
34268 {
34269
34270 int dummy1, dummy2;
34271 XShapeQueryExtension((Display*)NULL,
34272 (int*)NULL, (int*)NULL);
34273
34274 ;
34275 return 0;
34276 }
34277 _ACEOF
34278 rm -f conftest.$ac_objext
34279 if { (ac_try="$ac_compile"
34280 case "(($ac_try" in
34281 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34282 *) ac_try_echo=$ac_try;;
34283 esac
34284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34285 (eval "$ac_compile") 2>conftest.er1
34286 ac_status=$?
34287 grep -v '^ *+' conftest.er1 >conftest.err
34288 rm -f conftest.er1
34289 cat conftest.err >&5
34290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34291 (exit $ac_status); } && {
34292 test -z "$ac_c_werror_flag" ||
34293 test ! -s conftest.err
34294 } && test -s conftest.$ac_objext; then
34295
34296 cat >>confdefs.h <<\_ACEOF
34297 #define HAVE_XSHAPE 1
34298 _ACEOF
34299
34300 { echo "$as_me:$LINENO: result: found" >&5
34301 echo "${ECHO_T}found" >&6; }
34302
34303 else
34304 echo "$as_me: failed program was:" >&5
34305 sed 's/^/| /' conftest.$ac_ext >&5
34306
34307
34308 { echo "$as_me:$LINENO: result: not found" >&5
34309 echo "${ECHO_T}not found" >&6; }
34310
34311 fi
34312
34313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34314 CFLAGS="$save_CFLAGS"
34315
34316 fi
34317 fi
34318
34319 if test "$wxUSE_OSX_CARBON" = 1; then
34320 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
34321 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
34322 if test "$GCC" = yes; then
34323 { echo "$as_me:$LINENO: result: gcc" >&5
34324 echo "${ECHO_T}gcc" >&6; }
34325 CPPFLAGS_PASCAL="-fpascal-strings"
34326 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
34327 { echo "$as_me:$LINENO: result: xlc" >&5
34328 echo "${ECHO_T}xlc" >&6; }
34329 CPPFLAGS_PASCAL="-qmacpstr"
34330 else
34331 { echo "$as_me:$LINENO: result: none" >&5
34332 echo "${ECHO_T}none" >&6; }
34333 fi
34334
34335 if test "x$wxUSE_UNIX" = "xyes"; then
34336 CPPFLAGS="$CPPFLAGS_PASCAL -I/Developer/Headers/FlatCarbon $CPPFLAGS"
34337 else
34338 CPPFLAGS="$CPPFLAGS_PASCAL -DTARGET_CARBON $CPPFLAGS"
34339 fi
34340
34341 TOOLKIT=OSX_CARBON
34342 GUIDIST=OSX_CARBON_DIST
34343 WXBASEPORT="_carbon"
34344
34345 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
34346 fi
34347
34348 if test "$wxUSE_OSX_COCOA" = 1; then
34349 TOOLKIT=OSX_COCOA
34350 GUIDIST=OSX_COCOA_DIST
34351
34352 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
34353 fi
34354
34355 if test "$wxUSE_OSX_IPHONE" = 1; then
34356 TOOLKIT=OSX_IPHONE
34357 fi
34358
34359 if test "$wxUSE_OLD_COCOA" = 1; then
34360 TOOLKIT=COCOA
34361 GUIDIST=COCOA_DIST
34362 fi
34363
34364 if test "$wxUSE_PM" = 1; then
34365 TOOLKIT=PM
34366 GUIDIST=PM_DIST
34367 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
34368 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
34369 if test "${wx_cv_spbcdata+set}" = set; then
34370 echo $ECHO_N "(cached) $ECHO_C" >&6
34371 else
34372
34373 cat >conftest.$ac_ext <<_ACEOF
34374 /* confdefs.h. */
34375 _ACEOF
34376 cat confdefs.h >>conftest.$ac_ext
34377 cat >>conftest.$ac_ext <<_ACEOF
34378 /* end confdefs.h. */
34379
34380 #define INCL_PM
34381 #include <os2.h>
34382
34383 int
34384 main ()
34385 {
34386
34387 SPBCDATA test;
34388
34389 ;
34390 return 0;
34391 }
34392 _ACEOF
34393 rm -f conftest.$ac_objext
34394 if { (ac_try="$ac_compile"
34395 case "(($ac_try" in
34396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34397 *) ac_try_echo=$ac_try;;
34398 esac
34399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34400 (eval "$ac_compile") 2>conftest.er1
34401 ac_status=$?
34402 grep -v '^ *+' conftest.er1 >conftest.err
34403 rm -f conftest.er1
34404 cat conftest.err >&5
34405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34406 (exit $ac_status); } && {
34407 test -z "$ac_c_werror_flag" ||
34408 test ! -s conftest.err
34409 } && test -s conftest.$ac_objext; then
34410 wx_cv_spbcdata=yes
34411 else
34412 echo "$as_me: failed program was:" >&5
34413 sed 's/^/| /' conftest.$ac_ext >&5
34414
34415 wx_cv_spbcdata=no
34416
34417 fi
34418
34419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34420
34421
34422 fi
34423 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
34424 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
34425
34426 if test $wx_cv_spbcdata = "yes"; then
34427 cat >>confdefs.h <<\_ACEOF
34428 #define HAVE_SPBCDATA 1
34429 _ACEOF
34430
34431 fi
34432 fi
34433
34434 if test "$TOOLKIT" = "PM" ; then
34435 TOOLKIT_DIR="os2"
34436 else
34437 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
34438 fi
34439
34440 if test "$wxUSE_UNIVERSAL" = "yes"; then
34441 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
34442 WIDGET_SET=univ
34443 fi
34444
34445 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
34446 DISTDIR="wx\$(TOOLKIT)"
34447 else
34448 USE_GUI=0
34449
34450 TOOLKIT_DIR="base"
34451
34452 if test "$USE_WIN32" = 1 ; then
34453 TOOLKIT="MSW"
34454 fi
34455
34456 GUIDIST="BASE_DIST"
34457 DISTDIR="wxBase"
34458 fi
34459
34460
34461
34462 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
34463 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
34464 wxUSE_UNICODE_UTF8=yes
34465 elif test "$USE_OS2" = 1 ; then
34466 wxUSE_UNICODE_UTF8=yes
34467 else
34468 wxUSE_UNICODE_UTF8=no
34469 fi
34470 fi
34471
34472
34473 if test "$wxUSE_GUI" = "yes"; then
34474 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
34475
34476 for ac_header in X11/Xlib.h
34477 do
34478 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34479 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34480 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34481 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34482 echo $ECHO_N "(cached) $ECHO_C" >&6
34483 else
34484 cat >conftest.$ac_ext <<_ACEOF
34485 /* confdefs.h. */
34486 _ACEOF
34487 cat confdefs.h >>conftest.$ac_ext
34488 cat >>conftest.$ac_ext <<_ACEOF
34489 /* end confdefs.h. */
34490
34491
34492 #include <$ac_header>
34493 _ACEOF
34494 rm -f conftest.$ac_objext
34495 if { (ac_try="$ac_compile"
34496 case "(($ac_try" in
34497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34498 *) ac_try_echo=$ac_try;;
34499 esac
34500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34501 (eval "$ac_compile") 2>conftest.er1
34502 ac_status=$?
34503 grep -v '^ *+' conftest.er1 >conftest.err
34504 rm -f conftest.er1
34505 cat conftest.err >&5
34506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34507 (exit $ac_status); } && {
34508 test -z "$ac_c_werror_flag" ||
34509 test ! -s conftest.err
34510 } && test -s conftest.$ac_objext; then
34511 eval "$as_ac_Header=yes"
34512 else
34513 echo "$as_me: failed program was:" >&5
34514 sed 's/^/| /' conftest.$ac_ext >&5
34515
34516 eval "$as_ac_Header=no"
34517 fi
34518
34519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34520 fi
34521 ac_res=`eval echo '${'$as_ac_Header'}'`
34522 { echo "$as_me:$LINENO: result: $ac_res" >&5
34523 echo "${ECHO_T}$ac_res" >&6; }
34524 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34525 cat >>confdefs.h <<_ACEOF
34526 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34527 _ACEOF
34528
34529 fi
34530
34531 done
34532
34533
34534 for ac_header in X11/XKBlib.h
34535 do
34536 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34537 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34538 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34539 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34540 echo $ECHO_N "(cached) $ECHO_C" >&6
34541 else
34542 cat >conftest.$ac_ext <<_ACEOF
34543 /* confdefs.h. */
34544 _ACEOF
34545 cat confdefs.h >>conftest.$ac_ext
34546 cat >>conftest.$ac_ext <<_ACEOF
34547 /* end confdefs.h. */
34548
34549 #if HAVE_X11_XLIB_H
34550 #include <X11/Xlib.h>
34551 #endif
34552
34553
34554 #include <$ac_header>
34555 _ACEOF
34556 rm -f conftest.$ac_objext
34557 if { (ac_try="$ac_compile"
34558 case "(($ac_try" in
34559 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34560 *) ac_try_echo=$ac_try;;
34561 esac
34562 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34563 (eval "$ac_compile") 2>conftest.er1
34564 ac_status=$?
34565 grep -v '^ *+' conftest.er1 >conftest.err
34566 rm -f conftest.er1
34567 cat conftest.err >&5
34568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34569 (exit $ac_status); } && {
34570 test -z "$ac_c_werror_flag" ||
34571 test ! -s conftest.err
34572 } && test -s conftest.$ac_objext; then
34573 eval "$as_ac_Header=yes"
34574 else
34575 echo "$as_me: failed program was:" >&5
34576 sed 's/^/| /' conftest.$ac_ext >&5
34577
34578 eval "$as_ac_Header=no"
34579 fi
34580
34581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34582 fi
34583 ac_res=`eval echo '${'$as_ac_Header'}'`
34584 { echo "$as_me:$LINENO: result: $ac_res" >&5
34585 echo "${ECHO_T}$ac_res" >&6; }
34586 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34587 cat >>confdefs.h <<_ACEOF
34588 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34589 _ACEOF
34590
34591 fi
34592
34593 done
34594
34595 fi
34596 fi
34597
34598
34599
34600 USE_XINERAMA=0
34601 if test "$wxUSE_DISPLAY" = "yes"; then
34602 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK1" = 1; then
34603
34604 ac_find_libraries=
34605
34606 fl_pkgname=`echo "Xinerama" | tr [:upper:] [:lower:]`
34607
34608
34609 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
34610 if test -n "$ac_tool_prefix"; then
34611 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
34612 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
34613 { echo "$as_me:$LINENO: checking for $ac_word" >&5
34614 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
34615 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
34616 echo $ECHO_N "(cached) $ECHO_C" >&6
34617 else
34618 case $PKG_CONFIG in
34619 [\\/]* | ?:[\\/]*)
34620 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
34621 ;;
34622 *)
34623 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34624 for as_dir in $PATH
34625 do
34626 IFS=$as_save_IFS
34627 test -z "$as_dir" && as_dir=.
34628 for ac_exec_ext in '' $ac_executable_extensions; do
34629 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
34630 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
34631 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34632 break 2
34633 fi
34634 done
34635 done
34636 IFS=$as_save_IFS
34637
34638 ;;
34639 esac
34640 fi
34641 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
34642 if test -n "$PKG_CONFIG"; then
34643 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
34644 echo "${ECHO_T}$PKG_CONFIG" >&6; }
34645 else
34646 { echo "$as_me:$LINENO: result: no" >&5
34647 echo "${ECHO_T}no" >&6; }
34648 fi
34649
34650
34651 fi
34652 if test -z "$ac_cv_path_PKG_CONFIG"; then
34653 ac_pt_PKG_CONFIG=$PKG_CONFIG
34654 # Extract the first word of "pkg-config", so it can be a program name with args.
34655 set dummy pkg-config; ac_word=$2
34656 { echo "$as_me:$LINENO: checking for $ac_word" >&5
34657 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
34658 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
34659 echo $ECHO_N "(cached) $ECHO_C" >&6
34660 else
34661 case $ac_pt_PKG_CONFIG in
34662 [\\/]* | ?:[\\/]*)
34663 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
34664 ;;
34665 *)
34666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34667 for as_dir in $PATH
34668 do
34669 IFS=$as_save_IFS
34670 test -z "$as_dir" && as_dir=.
34671 for ac_exec_ext in '' $ac_executable_extensions; do
34672 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
34673 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
34674 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34675 break 2
34676 fi
34677 done
34678 done
34679 IFS=$as_save_IFS
34680
34681 ;;
34682 esac
34683 fi
34684 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
34685 if test -n "$ac_pt_PKG_CONFIG"; then
34686 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
34687 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
34688 else
34689 { echo "$as_me:$LINENO: result: no" >&5
34690 echo "${ECHO_T}no" >&6; }
34691 fi
34692
34693 if test "x$ac_pt_PKG_CONFIG" = x; then
34694 PKG_CONFIG=""
34695 else
34696 case $cross_compiling:$ac_tool_warned in
34697 yes:)
34698 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
34699 whose name does not start with the host triplet. If you think this
34700 configuration is useful to you, please write to autoconf@gnu.org." >&5
34701 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
34702 whose name does not start with the host triplet. If you think this
34703 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
34704 ac_tool_warned=yes ;;
34705 esac
34706 PKG_CONFIG=$ac_pt_PKG_CONFIG
34707 fi
34708 else
34709 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
34710 fi
34711
34712 fi
34713 if test -n "$PKG_CONFIG"; then
34714 _pkg_min_version=0.9.0
34715 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
34716 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
34717 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
34718 { echo "$as_me:$LINENO: result: yes" >&5
34719 echo "${ECHO_T}yes" >&6; }
34720 else
34721 { echo "$as_me:$LINENO: result: no" >&5
34722 echo "${ECHO_T}no" >&6; }
34723 PKG_CONFIG=""
34724 fi
34725
34726 fi 6> /dev/null
34727
34728 pkg_failed=no
34729 { echo "$as_me:$LINENO: checking for Xinerama" >&5
34730 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
34731
34732 if test -n "$PKG_CONFIG"; then
34733 if test -n "$Xinerama_CFLAGS"; then
34734 pkg_cv_Xinerama_CFLAGS="$Xinerama_CFLAGS"
34735 else
34736 if test -n "$PKG_CONFIG" && \
34737 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\"") >&5
34738 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
34739 ac_status=$?
34740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34741 (exit $ac_status); }; then
34742 pkg_cv_Xinerama_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
34743 else
34744 pkg_failed=yes
34745 fi
34746 fi
34747 else
34748 pkg_failed=untried
34749 fi
34750 if test -n "$PKG_CONFIG"; then
34751 if test -n "$Xinerama_LIBS"; then
34752 pkg_cv_Xinerama_LIBS="$Xinerama_LIBS"
34753 else
34754 if test -n "$PKG_CONFIG" && \
34755 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\"") >&5
34756 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
34757 ac_status=$?
34758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34759 (exit $ac_status); }; then
34760 pkg_cv_Xinerama_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
34761 else
34762 pkg_failed=yes
34763 fi
34764 fi
34765 else
34766 pkg_failed=untried
34767 fi
34768
34769
34770
34771 if test $pkg_failed = yes; then
34772
34773 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34774 _pkg_short_errors_supported=yes
34775 else
34776 _pkg_short_errors_supported=no
34777 fi
34778 if test $_pkg_short_errors_supported = yes; then
34779 Xinerama_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
34780 else
34781 Xinerama_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
34782 fi
34783 # Put the nasty error message in config.log where it belongs
34784 echo "$Xinerama_PKG_ERRORS" >&5
34785
34786
34787 if test "x$ac_find_libraries" = "x"; then
34788 if test "xXineramaQueryScreens" != "x"; then
34789 { echo "$as_me:$LINENO: checking for XineramaQueryScreens in -lXinerama" >&5
34790 echo $ECHO_N "checking for XineramaQueryScreens in -lXinerama... $ECHO_C" >&6; }
34791 if test "${ac_cv_lib_Xinerama_XineramaQueryScreens+set}" = set; then
34792 echo $ECHO_N "(cached) $ECHO_C" >&6
34793 else
34794 ac_check_lib_save_LIBS=$LIBS
34795 LIBS="-lXinerama $LIBS"
34796 cat >conftest.$ac_ext <<_ACEOF
34797 /* confdefs.h. */
34798 _ACEOF
34799 cat confdefs.h >>conftest.$ac_ext
34800 cat >>conftest.$ac_ext <<_ACEOF
34801 /* end confdefs.h. */
34802
34803 /* Override any GCC internal prototype to avoid an error.
34804 Use char because int might match the return type of a GCC
34805 builtin and then its argument prototype would still apply. */
34806 #ifdef __cplusplus
34807 extern "C"
34808 #endif
34809 char XineramaQueryScreens ();
34810 int
34811 main ()
34812 {
34813 return XineramaQueryScreens ();
34814 ;
34815 return 0;
34816 }
34817 _ACEOF
34818 rm -f conftest.$ac_objext conftest$ac_exeext
34819 if { (ac_try="$ac_link"
34820 case "(($ac_try" in
34821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34822 *) ac_try_echo=$ac_try;;
34823 esac
34824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34825 (eval "$ac_link") 2>conftest.er1
34826 ac_status=$?
34827 grep -v '^ *+' conftest.er1 >conftest.err
34828 rm -f conftest.er1
34829 cat conftest.err >&5
34830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34831 (exit $ac_status); } && {
34832 test -z "$ac_c_werror_flag" ||
34833 test ! -s conftest.err
34834 } && test -s conftest$ac_exeext &&
34835 $as_test_x conftest$ac_exeext; then
34836 ac_cv_lib_Xinerama_XineramaQueryScreens=yes
34837 else
34838 echo "$as_me: failed program was:" >&5
34839 sed 's/^/| /' conftest.$ac_ext >&5
34840
34841 ac_cv_lib_Xinerama_XineramaQueryScreens=no
34842 fi
34843
34844 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34845 conftest$ac_exeext conftest.$ac_ext
34846 LIBS=$ac_check_lib_save_LIBS
34847 fi
34848 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xinerama_XineramaQueryScreens" >&5
34849 echo "${ECHO_T}$ac_cv_lib_Xinerama_XineramaQueryScreens" >&6; }
34850 if test $ac_cv_lib_Xinerama_XineramaQueryScreens = yes; then
34851 ac_find_libraries="std"
34852 fi
34853
34854 fi
34855 fi
34856
34857 if test "x$ac_find_libraries" = "x"; then
34858 { echo "$as_me:$LINENO: checking elsewhere" >&5
34859 echo $ECHO_N "checking elsewhere... $ECHO_C" >&6; }
34860
34861 ac_find_libraries=
34862 for ac_dir in $SEARCH_LIB
34863 do
34864 for ac_extension in a so sl dylib dll.a; do
34865 if test -f "$ac_dir/libXinerama.$ac_extension"; then
34866 ac_find_libraries=$ac_dir
34867 break 2
34868 fi
34869 done
34870 done
34871
34872 if test "x$ac_find_libraries" != "x"; then
34873 { echo "$as_me:$LINENO: result: yes" >&5
34874 echo "${ECHO_T}yes" >&6; }
34875 else
34876 { echo "$as_me:$LINENO: result: no" >&5
34877 echo "${ECHO_T}no" >&6; }
34878 fi
34879 fi
34880
34881 elif test $pkg_failed = untried; then
34882
34883 if test "x$ac_find_libraries" = "x"; then
34884 if test "xXineramaQueryScreens" != "x"; then
34885 { echo "$as_me:$LINENO: checking for XineramaQueryScreens in -lXinerama" >&5
34886 echo $ECHO_N "checking for XineramaQueryScreens in -lXinerama... $ECHO_C" >&6; }
34887 if test "${ac_cv_lib_Xinerama_XineramaQueryScreens+set}" = set; then
34888 echo $ECHO_N "(cached) $ECHO_C" >&6
34889 else
34890 ac_check_lib_save_LIBS=$LIBS
34891 LIBS="-lXinerama $LIBS"
34892 cat >conftest.$ac_ext <<_ACEOF
34893 /* confdefs.h. */
34894 _ACEOF
34895 cat confdefs.h >>conftest.$ac_ext
34896 cat >>conftest.$ac_ext <<_ACEOF
34897 /* end confdefs.h. */
34898
34899 /* Override any GCC internal prototype to avoid an error.
34900 Use char because int might match the return type of a GCC
34901 builtin and then its argument prototype would still apply. */
34902 #ifdef __cplusplus
34903 extern "C"
34904 #endif
34905 char XineramaQueryScreens ();
34906 int
34907 main ()
34908 {
34909 return XineramaQueryScreens ();
34910 ;
34911 return 0;
34912 }
34913 _ACEOF
34914 rm -f conftest.$ac_objext conftest$ac_exeext
34915 if { (ac_try="$ac_link"
34916 case "(($ac_try" in
34917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34918 *) ac_try_echo=$ac_try;;
34919 esac
34920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34921 (eval "$ac_link") 2>conftest.er1
34922 ac_status=$?
34923 grep -v '^ *+' conftest.er1 >conftest.err
34924 rm -f conftest.er1
34925 cat conftest.err >&5
34926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34927 (exit $ac_status); } && {
34928 test -z "$ac_c_werror_flag" ||
34929 test ! -s conftest.err
34930 } && test -s conftest$ac_exeext &&
34931 $as_test_x conftest$ac_exeext; then
34932 ac_cv_lib_Xinerama_XineramaQueryScreens=yes
34933 else
34934 echo "$as_me: failed program was:" >&5
34935 sed 's/^/| /' conftest.$ac_ext >&5
34936
34937 ac_cv_lib_Xinerama_XineramaQueryScreens=no
34938 fi
34939
34940 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34941 conftest$ac_exeext conftest.$ac_ext
34942 LIBS=$ac_check_lib_save_LIBS
34943 fi
34944 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xinerama_XineramaQueryScreens" >&5
34945 echo "${ECHO_T}$ac_cv_lib_Xinerama_XineramaQueryScreens" >&6; }
34946 if test $ac_cv_lib_Xinerama_XineramaQueryScreens = yes; then
34947 ac_find_libraries="std"
34948 fi
34949
34950 fi
34951 fi
34952
34953 if test "x$ac_find_libraries" = "x"; then
34954 { echo "$as_me:$LINENO: checking elsewhere" >&5
34955 echo $ECHO_N "checking elsewhere... $ECHO_C" >&6; }
34956
34957 ac_find_libraries=
34958 for ac_dir in $SEARCH_LIB
34959 do
34960 for ac_extension in a so sl dylib dll.a; do
34961 if test -f "$ac_dir/libXinerama.$ac_extension"; then
34962 ac_find_libraries=$ac_dir
34963 break 2
34964 fi
34965 done
34966 done
34967
34968 if test "x$ac_find_libraries" != "x"; then
34969 { echo "$as_me:$LINENO: result: yes" >&5
34970 echo "${ECHO_T}yes" >&6; }
34971 else
34972 { echo "$as_me:$LINENO: result: no" >&5
34973 echo "${ECHO_T}no" >&6; }
34974 fi
34975 fi
34976
34977 else
34978 Xinerama_CFLAGS=$pkg_cv_Xinerama_CFLAGS
34979 Xinerama_LIBS=$pkg_cv_Xinerama_LIBS
34980 { echo "$as_me:$LINENO: result: yes" >&5
34981 echo "${ECHO_T}yes" >&6; }
34982
34983 ac_find_libraries="std"
34984
34985 eval ac_find_cflags=\$Xinerama_CFLAGS
34986 eval fl_libs=\$Xinerama_LIBS
34987
34988 for fl_path in $fl_libs
34989 do
34990 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
34991 ac_find_libraries=`echo "$fl_path" | cut -c 3-`
34992 fi
34993 done
34994
34995 fi
34996
34997 if test "$ac_find_libraries" != "" ; then
34998 if test "$ac_find_libraries" != "std" ; then
34999
35000 if test "$ac_find_libraries" = "default location"; then
35001 ac_path_to_link=""
35002 else
35003 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35004 result=$?
35005 if test $result = 0; then
35006 ac_path_to_link=""
35007 else
35008 ac_path_to_link=" -L$ac_find_libraries"
35009 fi
35010 fi
35011
35012 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35013 LDFLAGS="$LDFLAGS $ac_path_to_link"
35014 fi
35015 fi
35016 USE_XINERAMA=1
35017 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
35018 else
35019 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
35020 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
35021 wxUSE_DISPLAY="no"
35022 fi
35023 elif test "$wxUSE_MSW" = 1; then
35024 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
35025 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
35026 if test "${ac_cv_header_ddraw_h+set}" = set; then
35027 echo $ECHO_N "(cached) $ECHO_C" >&6
35028 else
35029 cat >conftest.$ac_ext <<_ACEOF
35030 /* confdefs.h. */
35031 _ACEOF
35032 cat confdefs.h >>conftest.$ac_ext
35033 cat >>conftest.$ac_ext <<_ACEOF
35034 /* end confdefs.h. */
35035 #include <windows.h>
35036
35037 #include <ddraw.h>
35038 _ACEOF
35039 rm -f conftest.$ac_objext
35040 if { (ac_try="$ac_compile"
35041 case "(($ac_try" in
35042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35043 *) ac_try_echo=$ac_try;;
35044 esac
35045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35046 (eval "$ac_compile") 2>conftest.er1
35047 ac_status=$?
35048 grep -v '^ *+' conftest.er1 >conftest.err
35049 rm -f conftest.er1
35050 cat conftest.err >&5
35051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35052 (exit $ac_status); } && {
35053 test -z "$ac_c_werror_flag" ||
35054 test ! -s conftest.err
35055 } && test -s conftest.$ac_objext; then
35056 ac_cv_header_ddraw_h=yes
35057 else
35058 echo "$as_me: failed program was:" >&5
35059 sed 's/^/| /' conftest.$ac_ext >&5
35060
35061 ac_cv_header_ddraw_h=no
35062 fi
35063
35064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35065 fi
35066 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
35067 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
35068
35069
35070 fi
35071 fi
35072
35073 if test "$wxUSE_DISPLAY" = "yes"; then
35074 if test "$USE_XINERAMA" = 1 -o "$wxUSE_GTK" = 1; then
35075
35076 ac_find_libraries=
35077
35078 fl_pkgname=`echo "Xxf86vm" | tr [:upper:] [:lower:]`
35079
35080
35081 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
35082 if test -n "$ac_tool_prefix"; then
35083 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
35084 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
35085 { echo "$as_me:$LINENO: checking for $ac_word" >&5
35086 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
35087 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
35088 echo $ECHO_N "(cached) $ECHO_C" >&6
35089 else
35090 case $PKG_CONFIG in
35091 [\\/]* | ?:[\\/]*)
35092 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
35093 ;;
35094 *)
35095 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35096 for as_dir in $PATH
35097 do
35098 IFS=$as_save_IFS
35099 test -z "$as_dir" && as_dir=.
35100 for ac_exec_ext in '' $ac_executable_extensions; do
35101 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
35102 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
35103 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35104 break 2
35105 fi
35106 done
35107 done
35108 IFS=$as_save_IFS
35109
35110 ;;
35111 esac
35112 fi
35113 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
35114 if test -n "$PKG_CONFIG"; then
35115 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
35116 echo "${ECHO_T}$PKG_CONFIG" >&6; }
35117 else
35118 { echo "$as_me:$LINENO: result: no" >&5
35119 echo "${ECHO_T}no" >&6; }
35120 fi
35121
35122
35123 fi
35124 if test -z "$ac_cv_path_PKG_CONFIG"; then
35125 ac_pt_PKG_CONFIG=$PKG_CONFIG
35126 # Extract the first word of "pkg-config", so it can be a program name with args.
35127 set dummy pkg-config; ac_word=$2
35128 { echo "$as_me:$LINENO: checking for $ac_word" >&5
35129 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
35130 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
35131 echo $ECHO_N "(cached) $ECHO_C" >&6
35132 else
35133 case $ac_pt_PKG_CONFIG in
35134 [\\/]* | ?:[\\/]*)
35135 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
35136 ;;
35137 *)
35138 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35139 for as_dir in $PATH
35140 do
35141 IFS=$as_save_IFS
35142 test -z "$as_dir" && as_dir=.
35143 for ac_exec_ext in '' $ac_executable_extensions; do
35144 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
35145 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
35146 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35147 break 2
35148 fi
35149 done
35150 done
35151 IFS=$as_save_IFS
35152
35153 ;;
35154 esac
35155 fi
35156 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
35157 if test -n "$ac_pt_PKG_CONFIG"; then
35158 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
35159 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
35160 else
35161 { echo "$as_me:$LINENO: result: no" >&5
35162 echo "${ECHO_T}no" >&6; }
35163 fi
35164
35165 if test "x$ac_pt_PKG_CONFIG" = x; then
35166 PKG_CONFIG=""
35167 else
35168 case $cross_compiling:$ac_tool_warned in
35169 yes:)
35170 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
35171 whose name does not start with the host triplet. If you think this
35172 configuration is useful to you, please write to autoconf@gnu.org." >&5
35173 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
35174 whose name does not start with the host triplet. If you think this
35175 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
35176 ac_tool_warned=yes ;;
35177 esac
35178 PKG_CONFIG=$ac_pt_PKG_CONFIG
35179 fi
35180 else
35181 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
35182 fi
35183
35184 fi
35185 if test -n "$PKG_CONFIG"; then
35186 _pkg_min_version=0.9.0
35187 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
35188 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
35189 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
35190 { echo "$as_me:$LINENO: result: yes" >&5
35191 echo "${ECHO_T}yes" >&6; }
35192 else
35193 { echo "$as_me:$LINENO: result: no" >&5
35194 echo "${ECHO_T}no" >&6; }
35195 PKG_CONFIG=""
35196 fi
35197
35198 fi 6> /dev/null
35199
35200 pkg_failed=no
35201 { echo "$as_me:$LINENO: checking for Xxf86vm" >&5
35202 echo $ECHO_N "checking for Xxf86vm... $ECHO_C" >&6; }
35203
35204 if test -n "$PKG_CONFIG"; then
35205 if test -n "$Xxf86vm_CFLAGS"; then
35206 pkg_cv_Xxf86vm_CFLAGS="$Xxf86vm_CFLAGS"
35207 else
35208 if test -n "$PKG_CONFIG" && \
35209 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\"") >&5
35210 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
35211 ac_status=$?
35212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35213 (exit $ac_status); }; then
35214 pkg_cv_Xxf86vm_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
35215 else
35216 pkg_failed=yes
35217 fi
35218 fi
35219 else
35220 pkg_failed=untried
35221 fi
35222 if test -n "$PKG_CONFIG"; then
35223 if test -n "$Xxf86vm_LIBS"; then
35224 pkg_cv_Xxf86vm_LIBS="$Xxf86vm_LIBS"
35225 else
35226 if test -n "$PKG_CONFIG" && \
35227 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\"") >&5
35228 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
35229 ac_status=$?
35230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35231 (exit $ac_status); }; then
35232 pkg_cv_Xxf86vm_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
35233 else
35234 pkg_failed=yes
35235 fi
35236 fi
35237 else
35238 pkg_failed=untried
35239 fi
35240
35241
35242
35243 if test $pkg_failed = yes; then
35244
35245 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
35246 _pkg_short_errors_supported=yes
35247 else
35248 _pkg_short_errors_supported=no
35249 fi
35250 if test $_pkg_short_errors_supported = yes; then
35251 Xxf86vm_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
35252 else
35253 Xxf86vm_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
35254 fi
35255 # Put the nasty error message in config.log where it belongs
35256 echo "$Xxf86vm_PKG_ERRORS" >&5
35257
35258
35259 if test "x$ac_find_libraries" = "x"; then
35260 if test "xXF86VidModeQueryExtension" != "x"; then
35261 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
35262 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
35263 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
35264 echo $ECHO_N "(cached) $ECHO_C" >&6
35265 else
35266 ac_check_lib_save_LIBS=$LIBS
35267 LIBS="-lXxf86vm $LIBS"
35268 cat >conftest.$ac_ext <<_ACEOF
35269 /* confdefs.h. */
35270 _ACEOF
35271 cat confdefs.h >>conftest.$ac_ext
35272 cat >>conftest.$ac_ext <<_ACEOF
35273 /* end confdefs.h. */
35274
35275 /* Override any GCC internal prototype to avoid an error.
35276 Use char because int might match the return type of a GCC
35277 builtin and then its argument prototype would still apply. */
35278 #ifdef __cplusplus
35279 extern "C"
35280 #endif
35281 char XF86VidModeQueryExtension ();
35282 int
35283 main ()
35284 {
35285 return XF86VidModeQueryExtension ();
35286 ;
35287 return 0;
35288 }
35289 _ACEOF
35290 rm -f conftest.$ac_objext conftest$ac_exeext
35291 if { (ac_try="$ac_link"
35292 case "(($ac_try" in
35293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35294 *) ac_try_echo=$ac_try;;
35295 esac
35296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35297 (eval "$ac_link") 2>conftest.er1
35298 ac_status=$?
35299 grep -v '^ *+' conftest.er1 >conftest.err
35300 rm -f conftest.er1
35301 cat conftest.err >&5
35302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35303 (exit $ac_status); } && {
35304 test -z "$ac_c_werror_flag" ||
35305 test ! -s conftest.err
35306 } && test -s conftest$ac_exeext &&
35307 $as_test_x conftest$ac_exeext; then
35308 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
35309 else
35310 echo "$as_me: failed program was:" >&5
35311 sed 's/^/| /' conftest.$ac_ext >&5
35312
35313 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
35314 fi
35315
35316 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35317 conftest$ac_exeext conftest.$ac_ext
35318 LIBS=$ac_check_lib_save_LIBS
35319 fi
35320 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
35321 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
35322 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
35323 ac_find_libraries="std"
35324 fi
35325
35326 fi
35327 fi
35328
35329 if test "x$ac_find_libraries" = "x"; then
35330 { echo "$as_me:$LINENO: checking elsewhere" >&5
35331 echo $ECHO_N "checking elsewhere... $ECHO_C" >&6; }
35332
35333 ac_find_libraries=
35334 for ac_dir in $SEARCH_LIB
35335 do
35336 for ac_extension in a so sl dylib dll.a; do
35337 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
35338 ac_find_libraries=$ac_dir
35339 break 2
35340 fi
35341 done
35342 done
35343
35344 if test "x$ac_find_libraries" != "x"; then
35345 { echo "$as_me:$LINENO: result: yes" >&5
35346 echo "${ECHO_T}yes" >&6; }
35347 else
35348 { echo "$as_me:$LINENO: result: no" >&5
35349 echo "${ECHO_T}no" >&6; }
35350 fi
35351 fi
35352
35353 elif test $pkg_failed = untried; then
35354
35355 if test "x$ac_find_libraries" = "x"; then
35356 if test "xXF86VidModeQueryExtension" != "x"; then
35357 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
35358 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
35359 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
35360 echo $ECHO_N "(cached) $ECHO_C" >&6
35361 else
35362 ac_check_lib_save_LIBS=$LIBS
35363 LIBS="-lXxf86vm $LIBS"
35364 cat >conftest.$ac_ext <<_ACEOF
35365 /* confdefs.h. */
35366 _ACEOF
35367 cat confdefs.h >>conftest.$ac_ext
35368 cat >>conftest.$ac_ext <<_ACEOF
35369 /* end confdefs.h. */
35370
35371 /* Override any GCC internal prototype to avoid an error.
35372 Use char because int might match the return type of a GCC
35373 builtin and then its argument prototype would still apply. */
35374 #ifdef __cplusplus
35375 extern "C"
35376 #endif
35377 char XF86VidModeQueryExtension ();
35378 int
35379 main ()
35380 {
35381 return XF86VidModeQueryExtension ();
35382 ;
35383 return 0;
35384 }
35385 _ACEOF
35386 rm -f conftest.$ac_objext conftest$ac_exeext
35387 if { (ac_try="$ac_link"
35388 case "(($ac_try" in
35389 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35390 *) ac_try_echo=$ac_try;;
35391 esac
35392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35393 (eval "$ac_link") 2>conftest.er1
35394 ac_status=$?
35395 grep -v '^ *+' conftest.er1 >conftest.err
35396 rm -f conftest.er1
35397 cat conftest.err >&5
35398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35399 (exit $ac_status); } && {
35400 test -z "$ac_c_werror_flag" ||
35401 test ! -s conftest.err
35402 } && test -s conftest$ac_exeext &&
35403 $as_test_x conftest$ac_exeext; then
35404 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
35405 else
35406 echo "$as_me: failed program was:" >&5
35407 sed 's/^/| /' conftest.$ac_ext >&5
35408
35409 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
35410 fi
35411
35412 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35413 conftest$ac_exeext conftest.$ac_ext
35414 LIBS=$ac_check_lib_save_LIBS
35415 fi
35416 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
35417 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
35418 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
35419 ac_find_libraries="std"
35420 fi
35421
35422 fi
35423 fi
35424
35425 if test "x$ac_find_libraries" = "x"; then
35426 { echo "$as_me:$LINENO: checking elsewhere" >&5
35427 echo $ECHO_N "checking elsewhere... $ECHO_C" >&6; }
35428
35429 ac_find_libraries=
35430 for ac_dir in $SEARCH_LIB
35431 do
35432 for ac_extension in a so sl dylib dll.a; do
35433 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
35434 ac_find_libraries=$ac_dir
35435 break 2
35436 fi
35437 done
35438 done
35439
35440 if test "x$ac_find_libraries" != "x"; then
35441 { echo "$as_me:$LINENO: result: yes" >&5
35442 echo "${ECHO_T}yes" >&6; }
35443 else
35444 { echo "$as_me:$LINENO: result: no" >&5
35445 echo "${ECHO_T}no" >&6; }
35446 fi
35447 fi
35448
35449 else
35450 Xxf86vm_CFLAGS=$pkg_cv_Xxf86vm_CFLAGS
35451 Xxf86vm_LIBS=$pkg_cv_Xxf86vm_LIBS
35452 { echo "$as_me:$LINENO: result: yes" >&5
35453 echo "${ECHO_T}yes" >&6; }
35454
35455 ac_find_libraries="std"
35456
35457 eval ac_find_cflags=\$Xxf86vm_CFLAGS
35458 eval fl_libs=\$Xxf86vm_LIBS
35459
35460 for fl_path in $fl_libs
35461 do
35462 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
35463 ac_find_libraries=`echo "$fl_path" | cut -c 3-`
35464 fi
35465 done
35466
35467 fi
35468
35469 if test "$ac_find_libraries" != "" ; then
35470
35471 for ac_header in X11/extensions/xf86vmode.h
35472 do
35473 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35474 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35475 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35476 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35477 echo $ECHO_N "(cached) $ECHO_C" >&6
35478 else
35479 cat >conftest.$ac_ext <<_ACEOF
35480 /* confdefs.h. */
35481 _ACEOF
35482 cat confdefs.h >>conftest.$ac_ext
35483 cat >>conftest.$ac_ext <<_ACEOF
35484 /* end confdefs.h. */
35485
35486 #if HAVE_X11_XLIB_H
35487 #include <X11/Xlib.h>
35488 #endif
35489
35490
35491 #include <$ac_header>
35492 _ACEOF
35493 rm -f conftest.$ac_objext
35494 if { (ac_try="$ac_compile"
35495 case "(($ac_try" in
35496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35497 *) ac_try_echo=$ac_try;;
35498 esac
35499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35500 (eval "$ac_compile") 2>conftest.er1
35501 ac_status=$?
35502 grep -v '^ *+' conftest.er1 >conftest.err
35503 rm -f conftest.er1
35504 cat conftest.err >&5
35505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35506 (exit $ac_status); } && {
35507 test -z "$ac_c_werror_flag" ||
35508 test ! -s conftest.err
35509 } && test -s conftest.$ac_objext; then
35510 eval "$as_ac_Header=yes"
35511 else
35512 echo "$as_me: failed program was:" >&5
35513 sed 's/^/| /' conftest.$ac_ext >&5
35514
35515 eval "$as_ac_Header=no"
35516 fi
35517
35518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35519 fi
35520 ac_res=`eval echo '${'$as_ac_Header'}'`
35521 { echo "$as_me:$LINENO: result: $ac_res" >&5
35522 echo "${ECHO_T}$ac_res" >&6; }
35523 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35524 cat >>confdefs.h <<_ACEOF
35525 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35526 _ACEOF
35527
35528 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
35529
35530 fi
35531
35532 done
35533
35534 fi
35535 fi
35536 fi
35537
35538 if test "$wxUSE_DETECT_SM" = "yes"; then
35539 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1; then
35540
35541 ac_find_libraries=
35542
35543 fl_pkgname=`echo "SM" | tr [:upper:] [:lower:]`
35544
35545
35546 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
35547 if test -n "$ac_tool_prefix"; then
35548 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
35549 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
35550 { echo "$as_me:$LINENO: checking for $ac_word" >&5
35551 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
35552 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
35553 echo $ECHO_N "(cached) $ECHO_C" >&6
35554 else
35555 case $PKG_CONFIG in
35556 [\\/]* | ?:[\\/]*)
35557 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
35558 ;;
35559 *)
35560 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35561 for as_dir in $PATH
35562 do
35563 IFS=$as_save_IFS
35564 test -z "$as_dir" && as_dir=.
35565 for ac_exec_ext in '' $ac_executable_extensions; do
35566 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
35567 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
35568 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35569 break 2
35570 fi
35571 done
35572 done
35573 IFS=$as_save_IFS
35574
35575 ;;
35576 esac
35577 fi
35578 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
35579 if test -n "$PKG_CONFIG"; then
35580 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
35581 echo "${ECHO_T}$PKG_CONFIG" >&6; }
35582 else
35583 { echo "$as_me:$LINENO: result: no" >&5
35584 echo "${ECHO_T}no" >&6; }
35585 fi
35586
35587
35588 fi
35589 if test -z "$ac_cv_path_PKG_CONFIG"; then
35590 ac_pt_PKG_CONFIG=$PKG_CONFIG
35591 # Extract the first word of "pkg-config", so it can be a program name with args.
35592 set dummy pkg-config; ac_word=$2
35593 { echo "$as_me:$LINENO: checking for $ac_word" >&5
35594 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
35595 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
35596 echo $ECHO_N "(cached) $ECHO_C" >&6
35597 else
35598 case $ac_pt_PKG_CONFIG in
35599 [\\/]* | ?:[\\/]*)
35600 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
35601 ;;
35602 *)
35603 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35604 for as_dir in $PATH
35605 do
35606 IFS=$as_save_IFS
35607 test -z "$as_dir" && as_dir=.
35608 for ac_exec_ext in '' $ac_executable_extensions; do
35609 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
35610 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
35611 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35612 break 2
35613 fi
35614 done
35615 done
35616 IFS=$as_save_IFS
35617
35618 ;;
35619 esac
35620 fi
35621 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
35622 if test -n "$ac_pt_PKG_CONFIG"; then
35623 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
35624 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
35625 else
35626 { echo "$as_me:$LINENO: result: no" >&5
35627 echo "${ECHO_T}no" >&6; }
35628 fi
35629
35630 if test "x$ac_pt_PKG_CONFIG" = x; then
35631 PKG_CONFIG=""
35632 else
35633 case $cross_compiling:$ac_tool_warned in
35634 yes:)
35635 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
35636 whose name does not start with the host triplet. If you think this
35637 configuration is useful to you, please write to autoconf@gnu.org." >&5
35638 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
35639 whose name does not start with the host triplet. If you think this
35640 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
35641 ac_tool_warned=yes ;;
35642 esac
35643 PKG_CONFIG=$ac_pt_PKG_CONFIG
35644 fi
35645 else
35646 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
35647 fi
35648
35649 fi
35650 if test -n "$PKG_CONFIG"; then
35651 _pkg_min_version=0.9.0
35652 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
35653 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
35654 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
35655 { echo "$as_me:$LINENO: result: yes" >&5
35656 echo "${ECHO_T}yes" >&6; }
35657 else
35658 { echo "$as_me:$LINENO: result: no" >&5
35659 echo "${ECHO_T}no" >&6; }
35660 PKG_CONFIG=""
35661 fi
35662
35663 fi 6> /dev/null
35664
35665 pkg_failed=no
35666 { echo "$as_me:$LINENO: checking for SM" >&5
35667 echo $ECHO_N "checking for SM... $ECHO_C" >&6; }
35668
35669 if test -n "$PKG_CONFIG"; then
35670 if test -n "$SM_CFLAGS"; then
35671 pkg_cv_SM_CFLAGS="$SM_CFLAGS"
35672 else
35673 if test -n "$PKG_CONFIG" && \
35674 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\"") >&5
35675 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
35676 ac_status=$?
35677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35678 (exit $ac_status); }; then
35679 pkg_cv_SM_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
35680 else
35681 pkg_failed=yes
35682 fi
35683 fi
35684 else
35685 pkg_failed=untried
35686 fi
35687 if test -n "$PKG_CONFIG"; then
35688 if test -n "$SM_LIBS"; then
35689 pkg_cv_SM_LIBS="$SM_LIBS"
35690 else
35691 if test -n "$PKG_CONFIG" && \
35692 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\"") >&5
35693 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
35694 ac_status=$?
35695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35696 (exit $ac_status); }; then
35697 pkg_cv_SM_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
35698 else
35699 pkg_failed=yes
35700 fi
35701 fi
35702 else
35703 pkg_failed=untried
35704 fi
35705
35706
35707
35708 if test $pkg_failed = yes; then
35709
35710 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
35711 _pkg_short_errors_supported=yes
35712 else
35713 _pkg_short_errors_supported=no
35714 fi
35715 if test $_pkg_short_errors_supported = yes; then
35716 SM_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
35717 else
35718 SM_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
35719 fi
35720 # Put the nasty error message in config.log where it belongs
35721 echo "$SM_PKG_ERRORS" >&5
35722
35723
35724 if test "x$ac_find_libraries" = "x"; then
35725 if test "xSmcOpenConnection" != "x"; then
35726 { echo "$as_me:$LINENO: checking for SmcOpenConnection in -lSM" >&5
35727 echo $ECHO_N "checking for SmcOpenConnection in -lSM... $ECHO_C" >&6; }
35728 if test "${ac_cv_lib_SM_SmcOpenConnection+set}" = set; then
35729 echo $ECHO_N "(cached) $ECHO_C" >&6
35730 else
35731 ac_check_lib_save_LIBS=$LIBS
35732 LIBS="-lSM $LIBS"
35733 cat >conftest.$ac_ext <<_ACEOF
35734 /* confdefs.h. */
35735 _ACEOF
35736 cat confdefs.h >>conftest.$ac_ext
35737 cat >>conftest.$ac_ext <<_ACEOF
35738 /* end confdefs.h. */
35739
35740 /* Override any GCC internal prototype to avoid an error.
35741 Use char because int might match the return type of a GCC
35742 builtin and then its argument prototype would still apply. */
35743 #ifdef __cplusplus
35744 extern "C"
35745 #endif
35746 char SmcOpenConnection ();
35747 int
35748 main ()
35749 {
35750 return SmcOpenConnection ();
35751 ;
35752 return 0;
35753 }
35754 _ACEOF
35755 rm -f conftest.$ac_objext conftest$ac_exeext
35756 if { (ac_try="$ac_link"
35757 case "(($ac_try" in
35758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35759 *) ac_try_echo=$ac_try;;
35760 esac
35761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35762 (eval "$ac_link") 2>conftest.er1
35763 ac_status=$?
35764 grep -v '^ *+' conftest.er1 >conftest.err
35765 rm -f conftest.er1
35766 cat conftest.err >&5
35767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35768 (exit $ac_status); } && {
35769 test -z "$ac_c_werror_flag" ||
35770 test ! -s conftest.err
35771 } && test -s conftest$ac_exeext &&
35772 $as_test_x conftest$ac_exeext; then
35773 ac_cv_lib_SM_SmcOpenConnection=yes
35774 else
35775 echo "$as_me: failed program was:" >&5
35776 sed 's/^/| /' conftest.$ac_ext >&5
35777
35778 ac_cv_lib_SM_SmcOpenConnection=no
35779 fi
35780
35781 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35782 conftest$ac_exeext conftest.$ac_ext
35783 LIBS=$ac_check_lib_save_LIBS
35784 fi
35785 { echo "$as_me:$LINENO: result: $ac_cv_lib_SM_SmcOpenConnection" >&5
35786 echo "${ECHO_T}$ac_cv_lib_SM_SmcOpenConnection" >&6; }
35787 if test $ac_cv_lib_SM_SmcOpenConnection = yes; then
35788 ac_find_libraries="std"
35789 fi
35790
35791 fi
35792 fi
35793
35794 if test "x$ac_find_libraries" = "x"; then
35795 { echo "$as_me:$LINENO: checking elsewhere" >&5
35796 echo $ECHO_N "checking elsewhere... $ECHO_C" >&6; }
35797
35798 ac_find_libraries=
35799 for ac_dir in $SEARCH_LIB
35800 do
35801 for ac_extension in a so sl dylib dll.a; do
35802 if test -f "$ac_dir/libSM.$ac_extension"; then
35803 ac_find_libraries=$ac_dir
35804 break 2
35805 fi
35806 done
35807 done
35808
35809 if test "x$ac_find_libraries" != "x"; then
35810 { echo "$as_me:$LINENO: result: yes" >&5
35811 echo "${ECHO_T}yes" >&6; }
35812 else
35813 { echo "$as_me:$LINENO: result: no" >&5
35814 echo "${ECHO_T}no" >&6; }
35815 fi
35816 fi
35817
35818 elif test $pkg_failed = untried; then
35819
35820 if test "x$ac_find_libraries" = "x"; then
35821 if test "xSmcOpenConnection" != "x"; then
35822 { echo "$as_me:$LINENO: checking for SmcOpenConnection in -lSM" >&5
35823 echo $ECHO_N "checking for SmcOpenConnection in -lSM... $ECHO_C" >&6; }
35824 if test "${ac_cv_lib_SM_SmcOpenConnection+set}" = set; then
35825 echo $ECHO_N "(cached) $ECHO_C" >&6
35826 else
35827 ac_check_lib_save_LIBS=$LIBS
35828 LIBS="-lSM $LIBS"
35829 cat >conftest.$ac_ext <<_ACEOF
35830 /* confdefs.h. */
35831 _ACEOF
35832 cat confdefs.h >>conftest.$ac_ext
35833 cat >>conftest.$ac_ext <<_ACEOF
35834 /* end confdefs.h. */
35835
35836 /* Override any GCC internal prototype to avoid an error.
35837 Use char because int might match the return type of a GCC
35838 builtin and then its argument prototype would still apply. */
35839 #ifdef __cplusplus
35840 extern "C"
35841 #endif
35842 char SmcOpenConnection ();
35843 int
35844 main ()
35845 {
35846 return SmcOpenConnection ();
35847 ;
35848 return 0;
35849 }
35850 _ACEOF
35851 rm -f conftest.$ac_objext conftest$ac_exeext
35852 if { (ac_try="$ac_link"
35853 case "(($ac_try" in
35854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35855 *) ac_try_echo=$ac_try;;
35856 esac
35857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35858 (eval "$ac_link") 2>conftest.er1
35859 ac_status=$?
35860 grep -v '^ *+' conftest.er1 >conftest.err
35861 rm -f conftest.er1
35862 cat conftest.err >&5
35863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35864 (exit $ac_status); } && {
35865 test -z "$ac_c_werror_flag" ||
35866 test ! -s conftest.err
35867 } && test -s conftest$ac_exeext &&
35868 $as_test_x conftest$ac_exeext; then
35869 ac_cv_lib_SM_SmcOpenConnection=yes
35870 else
35871 echo "$as_me: failed program was:" >&5
35872 sed 's/^/| /' conftest.$ac_ext >&5
35873
35874 ac_cv_lib_SM_SmcOpenConnection=no
35875 fi
35876
35877 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35878 conftest$ac_exeext conftest.$ac_ext
35879 LIBS=$ac_check_lib_save_LIBS
35880 fi
35881 { echo "$as_me:$LINENO: result: $ac_cv_lib_SM_SmcOpenConnection" >&5
35882 echo "${ECHO_T}$ac_cv_lib_SM_SmcOpenConnection" >&6; }
35883 if test $ac_cv_lib_SM_SmcOpenConnection = yes; then
35884 ac_find_libraries="std"
35885 fi
35886
35887 fi
35888 fi
35889
35890 if test "x$ac_find_libraries" = "x"; then
35891 { echo "$as_me:$LINENO: checking elsewhere" >&5
35892 echo $ECHO_N "checking elsewhere... $ECHO_C" >&6; }
35893
35894 ac_find_libraries=
35895 for ac_dir in $SEARCH_LIB
35896 do
35897 for ac_extension in a so sl dylib dll.a; do
35898 if test -f "$ac_dir/libSM.$ac_extension"; then
35899 ac_find_libraries=$ac_dir
35900 break 2
35901 fi
35902 done
35903 done
35904
35905 if test "x$ac_find_libraries" != "x"; then
35906 { echo "$as_me:$LINENO: result: yes" >&5
35907 echo "${ECHO_T}yes" >&6; }
35908 else
35909 { echo "$as_me:$LINENO: result: no" >&5
35910 echo "${ECHO_T}no" >&6; }
35911 fi
35912 fi
35913
35914 else
35915 SM_CFLAGS=$pkg_cv_SM_CFLAGS
35916 SM_LIBS=$pkg_cv_SM_LIBS
35917 { echo "$as_me:$LINENO: result: yes" >&5
35918 echo "${ECHO_T}yes" >&6; }
35919
35920 ac_find_libraries="std"
35921
35922 eval ac_find_cflags=\$SM_CFLAGS
35923 eval fl_libs=\$SM_LIBS
35924
35925 for fl_path in $fl_libs
35926 do
35927 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
35928 ac_find_libraries=`echo "$fl_path" | cut -c 3-`
35929 fi
35930 done
35931
35932 fi
35933
35934 if test "$ac_find_libraries" != "" ; then
35935 if test "$ac_find_libraries" != "std" ; then
35936
35937 if test "$ac_find_libraries" = "default location"; then
35938 ac_path_to_link=""
35939 else
35940 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35941 result=$?
35942 if test $result = 0; then
35943 ac_path_to_link=""
35944 else
35945 ac_path_to_link=" -L$ac_find_libraries"
35946 fi
35947 fi
35948
35949 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35950 LDFLAGS="$LDFLAGS $ac_path_to_link"
35951 fi
35952 fi
35953 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
35954 else
35955 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
35956 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
35957 wxUSE_DETECT_SM="no"
35958 fi
35959 else
35960 wxUSE_DETECT_SM="no"
35961 fi
35962 fi
35963
35964
35965
35966 USE_OPENGL=0
35967 if test "$wxUSE_OPENGL" = "yes" -o "$wxUSE_OPENGL" = "auto"; then
35968
35969
35970 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
35971 OPENGL_LIBS="-framework OpenGL -framework AGL"
35972 elif test "$wxUSE_MSW" = 1; then
35973 OPENGL_LIBS="-lopengl32 -lglu32"
35974 elif test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK2" = 1 -o "$wxUSE_GTK" = 1; then
35975
35976 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
35977 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
35978
35979 ac_find_includes=
35980 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include
35981 do
35982 if test -f "$ac_dir/GL/gl.h"; then
35983 ac_find_includes=$ac_dir
35984 break
35985 fi
35986 done
35987
35988 if test "$ac_find_includes" != "" ; then
35989 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
35990 echo "${ECHO_T}found in $ac_find_includes" >&6; }
35991
35992 if test "x$ac_find_includes" = "x/usr/include"; then
35993 ac_path_to_include=""
35994 else
35995 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
35996 result=$?
35997 if test $result = 0; then
35998 ac_path_to_include=""
35999 else
36000 ac_path_to_include=" -I$ac_find_includes"
36001 fi
36002 fi
36003
36004 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
36005 else
36006 { echo "$as_me:$LINENO: result: not found" >&5
36007 echo "${ECHO_T}not found" >&6; }
36008 fi
36009
36010 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
36011 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
36012 if test "${ac_cv_header_GL_gl_h+set}" = set; then
36013 echo $ECHO_N "(cached) $ECHO_C" >&6
36014 else
36015 cat >conftest.$ac_ext <<_ACEOF
36016 /* confdefs.h. */
36017 _ACEOF
36018 cat confdefs.h >>conftest.$ac_ext
36019 cat >>conftest.$ac_ext <<_ACEOF
36020 /* end confdefs.h. */
36021
36022
36023 #include <GL/gl.h>
36024 _ACEOF
36025 rm -f conftest.$ac_objext
36026 if { (ac_try="$ac_compile"
36027 case "(($ac_try" in
36028 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36029 *) ac_try_echo=$ac_try;;
36030 esac
36031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36032 (eval "$ac_compile") 2>conftest.er1
36033 ac_status=$?
36034 grep -v '^ *+' conftest.er1 >conftest.err
36035 rm -f conftest.er1
36036 cat conftest.err >&5
36037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36038 (exit $ac_status); } && {
36039 test -z "$ac_c_werror_flag" ||
36040 test ! -s conftest.err
36041 } && test -s conftest.$ac_objext; then
36042 ac_cv_header_GL_gl_h=yes
36043 else
36044 echo "$as_me: failed program was:" >&5
36045 sed 's/^/| /' conftest.$ac_ext >&5
36046
36047 ac_cv_header_GL_gl_h=no
36048 fi
36049
36050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36051 fi
36052 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
36053 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
36054 if test $ac_cv_header_GL_gl_h = yes; then
36055
36056 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
36057 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
36058 if test "${ac_cv_header_GL_glu_h+set}" = set; then
36059 echo $ECHO_N "(cached) $ECHO_C" >&6
36060 else
36061 cat >conftest.$ac_ext <<_ACEOF
36062 /* confdefs.h. */
36063 _ACEOF
36064 cat confdefs.h >>conftest.$ac_ext
36065 cat >>conftest.$ac_ext <<_ACEOF
36066 /* end confdefs.h. */
36067
36068
36069 #include <GL/glu.h>
36070 _ACEOF
36071 rm -f conftest.$ac_objext
36072 if { (ac_try="$ac_compile"
36073 case "(($ac_try" in
36074 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36075 *) ac_try_echo=$ac_try;;
36076 esac
36077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36078 (eval "$ac_compile") 2>conftest.er1
36079 ac_status=$?
36080 grep -v '^ *+' conftest.er1 >conftest.err
36081 rm -f conftest.er1
36082 cat conftest.err >&5
36083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36084 (exit $ac_status); } && {
36085 test -z "$ac_c_werror_flag" ||
36086 test ! -s conftest.err
36087 } && test -s conftest.$ac_objext; then
36088 ac_cv_header_GL_glu_h=yes
36089 else
36090 echo "$as_me: failed program was:" >&5
36091 sed 's/^/| /' conftest.$ac_ext >&5
36092
36093 ac_cv_header_GL_glu_h=no
36094 fi
36095
36096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36097 fi
36098 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
36099 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
36100 if test $ac_cv_header_GL_glu_h = yes; then
36101
36102 found_gl=0
36103
36104
36105 ac_find_libraries=
36106
36107 fl_pkgname=`echo "GL" | tr [:upper:] [:lower:]`
36108
36109
36110 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
36111 if test -n "$ac_tool_prefix"; then
36112 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
36113 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
36114 { echo "$as_me:$LINENO: checking for $ac_word" >&5
36115 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
36116 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
36117 echo $ECHO_N "(cached) $ECHO_C" >&6
36118 else
36119 case $PKG_CONFIG in
36120 [\\/]* | ?:[\\/]*)
36121 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
36122 ;;
36123 *)
36124 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36125 for as_dir in $PATH
36126 do
36127 IFS=$as_save_IFS
36128 test -z "$as_dir" && as_dir=.
36129 for ac_exec_ext in '' $ac_executable_extensions; do
36130 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36131 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
36132 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36133 break 2
36134 fi
36135 done
36136 done
36137 IFS=$as_save_IFS
36138
36139 ;;
36140 esac
36141 fi
36142 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
36143 if test -n "$PKG_CONFIG"; then
36144 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
36145 echo "${ECHO_T}$PKG_CONFIG" >&6; }
36146 else
36147 { echo "$as_me:$LINENO: result: no" >&5
36148 echo "${ECHO_T}no" >&6; }
36149 fi
36150
36151
36152 fi
36153 if test -z "$ac_cv_path_PKG_CONFIG"; then
36154 ac_pt_PKG_CONFIG=$PKG_CONFIG
36155 # Extract the first word of "pkg-config", so it can be a program name with args.
36156 set dummy pkg-config; ac_word=$2
36157 { echo "$as_me:$LINENO: checking for $ac_word" >&5
36158 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
36159 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
36160 echo $ECHO_N "(cached) $ECHO_C" >&6
36161 else
36162 case $ac_pt_PKG_CONFIG in
36163 [\\/]* | ?:[\\/]*)
36164 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
36165 ;;
36166 *)
36167 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36168 for as_dir in $PATH
36169 do
36170 IFS=$as_save_IFS
36171 test -z "$as_dir" && as_dir=.
36172 for ac_exec_ext in '' $ac_executable_extensions; do
36173 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36174 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
36175 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36176 break 2
36177 fi
36178 done
36179 done
36180 IFS=$as_save_IFS
36181
36182 ;;
36183 esac
36184 fi
36185 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
36186 if test -n "$ac_pt_PKG_CONFIG"; then
36187 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
36188 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
36189 else
36190 { echo "$as_me:$LINENO: result: no" >&5
36191 echo "${ECHO_T}no" >&6; }
36192 fi
36193
36194 if test "x$ac_pt_PKG_CONFIG" = x; then
36195 PKG_CONFIG=""
36196 else
36197 case $cross_compiling:$ac_tool_warned in
36198 yes:)
36199 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
36200 whose name does not start with the host triplet. If you think this
36201 configuration is useful to you, please write to autoconf@gnu.org." >&5
36202 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
36203 whose name does not start with the host triplet. If you think this
36204 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
36205 ac_tool_warned=yes ;;
36206 esac
36207 PKG_CONFIG=$ac_pt_PKG_CONFIG
36208 fi
36209 else
36210 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
36211 fi
36212
36213 fi
36214 if test -n "$PKG_CONFIG"; then
36215 _pkg_min_version=0.9.0
36216 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
36217 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
36218 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
36219 { echo "$as_me:$LINENO: result: yes" >&5
36220 echo "${ECHO_T}yes" >&6; }
36221 else
36222 { echo "$as_me:$LINENO: result: no" >&5
36223 echo "${ECHO_T}no" >&6; }
36224 PKG_CONFIG=""
36225 fi
36226
36227 fi 6> /dev/null
36228
36229 pkg_failed=no
36230 { echo "$as_me:$LINENO: checking for GL" >&5
36231 echo $ECHO_N "checking for GL... $ECHO_C" >&6; }
36232
36233 if test -n "$PKG_CONFIG"; then
36234 if test -n "$GL_CFLAGS"; then
36235 pkg_cv_GL_CFLAGS="$GL_CFLAGS"
36236 else
36237 if test -n "$PKG_CONFIG" && \
36238 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\"") >&5
36239 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
36240 ac_status=$?
36241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36242 (exit $ac_status); }; then
36243 pkg_cv_GL_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
36244 else
36245 pkg_failed=yes
36246 fi
36247 fi
36248 else
36249 pkg_failed=untried
36250 fi
36251 if test -n "$PKG_CONFIG"; then
36252 if test -n "$GL_LIBS"; then
36253 pkg_cv_GL_LIBS="$GL_LIBS"
36254 else
36255 if test -n "$PKG_CONFIG" && \
36256 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\"") >&5
36257 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
36258 ac_status=$?
36259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36260 (exit $ac_status); }; then
36261 pkg_cv_GL_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
36262 else
36263 pkg_failed=yes
36264 fi
36265 fi
36266 else
36267 pkg_failed=untried
36268 fi
36269
36270
36271
36272 if test $pkg_failed = yes; then
36273
36274 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
36275 _pkg_short_errors_supported=yes
36276 else
36277 _pkg_short_errors_supported=no
36278 fi
36279 if test $_pkg_short_errors_supported = yes; then
36280 GL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
36281 else
36282 GL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
36283 fi
36284 # Put the nasty error message in config.log where it belongs
36285 echo "$GL_PKG_ERRORS" >&5
36286
36287
36288 if test "x$ac_find_libraries" = "x"; then
36289 if test "xglBegin" != "x"; then
36290 { echo "$as_me:$LINENO: checking for glBegin in -lGL" >&5
36291 echo $ECHO_N "checking for glBegin in -lGL... $ECHO_C" >&6; }
36292 if test "${ac_cv_lib_GL_glBegin+set}" = set; then
36293 echo $ECHO_N "(cached) $ECHO_C" >&6
36294 else
36295 ac_check_lib_save_LIBS=$LIBS
36296 LIBS="-lGL $LIBS"
36297 cat >conftest.$ac_ext <<_ACEOF
36298 /* confdefs.h. */
36299 _ACEOF
36300 cat confdefs.h >>conftest.$ac_ext
36301 cat >>conftest.$ac_ext <<_ACEOF
36302 /* end confdefs.h. */
36303
36304 /* Override any GCC internal prototype to avoid an error.
36305 Use char because int might match the return type of a GCC
36306 builtin and then its argument prototype would still apply. */
36307 #ifdef __cplusplus
36308 extern "C"
36309 #endif
36310 char glBegin ();
36311 int
36312 main ()
36313 {
36314 return glBegin ();
36315 ;
36316 return 0;
36317 }
36318 _ACEOF
36319 rm -f conftest.$ac_objext conftest$ac_exeext
36320 if { (ac_try="$ac_link"
36321 case "(($ac_try" in
36322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36323 *) ac_try_echo=$ac_try;;
36324 esac
36325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36326 (eval "$ac_link") 2>conftest.er1
36327 ac_status=$?
36328 grep -v '^ *+' conftest.er1 >conftest.err
36329 rm -f conftest.er1
36330 cat conftest.err >&5
36331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36332 (exit $ac_status); } && {
36333 test -z "$ac_c_werror_flag" ||
36334 test ! -s conftest.err
36335 } && test -s conftest$ac_exeext &&
36336 $as_test_x conftest$ac_exeext; then
36337 ac_cv_lib_GL_glBegin=yes
36338 else
36339 echo "$as_me: failed program was:" >&5
36340 sed 's/^/| /' conftest.$ac_ext >&5
36341
36342 ac_cv_lib_GL_glBegin=no
36343 fi
36344
36345 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36346 conftest$ac_exeext conftest.$ac_ext
36347 LIBS=$ac_check_lib_save_LIBS
36348 fi
36349 { echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glBegin" >&5
36350 echo "${ECHO_T}$ac_cv_lib_GL_glBegin" >&6; }
36351 if test $ac_cv_lib_GL_glBegin = yes; then
36352 ac_find_libraries="std"
36353 fi
36354
36355 fi
36356 fi
36357
36358 if test "x$ac_find_libraries" = "x"; then
36359 { echo "$as_me:$LINENO: checking elsewhere" >&5
36360 echo $ECHO_N "checking elsewhere... $ECHO_C" >&6; }
36361
36362 ac_find_libraries=
36363 for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
36364 do
36365 for ac_extension in a so sl dylib dll.a; do
36366 if test -f "$ac_dir/libGL.$ac_extension"; then
36367 ac_find_libraries=$ac_dir
36368 break 2
36369 fi
36370 done
36371 done
36372
36373 if test "x$ac_find_libraries" != "x"; then
36374 { echo "$as_me:$LINENO: result: yes" >&5
36375 echo "${ECHO_T}yes" >&6; }
36376 else
36377 { echo "$as_me:$LINENO: result: no" >&5
36378 echo "${ECHO_T}no" >&6; }
36379 fi
36380 fi
36381
36382 elif test $pkg_failed = untried; then
36383
36384 if test "x$ac_find_libraries" = "x"; then
36385 if test "xglBegin" != "x"; then
36386 { echo "$as_me:$LINENO: checking for glBegin in -lGL" >&5
36387 echo $ECHO_N "checking for glBegin in -lGL... $ECHO_C" >&6; }
36388 if test "${ac_cv_lib_GL_glBegin+set}" = set; then
36389 echo $ECHO_N "(cached) $ECHO_C" >&6
36390 else
36391 ac_check_lib_save_LIBS=$LIBS
36392 LIBS="-lGL $LIBS"
36393 cat >conftest.$ac_ext <<_ACEOF
36394 /* confdefs.h. */
36395 _ACEOF
36396 cat confdefs.h >>conftest.$ac_ext
36397 cat >>conftest.$ac_ext <<_ACEOF
36398 /* end confdefs.h. */
36399
36400 /* Override any GCC internal prototype to avoid an error.
36401 Use char because int might match the return type of a GCC
36402 builtin and then its argument prototype would still apply. */
36403 #ifdef __cplusplus
36404 extern "C"
36405 #endif
36406 char glBegin ();
36407 int
36408 main ()
36409 {
36410 return glBegin ();
36411 ;
36412 return 0;
36413 }
36414 _ACEOF
36415 rm -f conftest.$ac_objext conftest$ac_exeext
36416 if { (ac_try="$ac_link"
36417 case "(($ac_try" in
36418 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36419 *) ac_try_echo=$ac_try;;
36420 esac
36421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36422 (eval "$ac_link") 2>conftest.er1
36423 ac_status=$?
36424 grep -v '^ *+' conftest.er1 >conftest.err
36425 rm -f conftest.er1
36426 cat conftest.err >&5
36427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36428 (exit $ac_status); } && {
36429 test -z "$ac_c_werror_flag" ||
36430 test ! -s conftest.err
36431 } && test -s conftest$ac_exeext &&
36432 $as_test_x conftest$ac_exeext; then
36433 ac_cv_lib_GL_glBegin=yes
36434 else
36435 echo "$as_me: failed program was:" >&5
36436 sed 's/^/| /' conftest.$ac_ext >&5
36437
36438 ac_cv_lib_GL_glBegin=no
36439 fi
36440
36441 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36442 conftest$ac_exeext conftest.$ac_ext
36443 LIBS=$ac_check_lib_save_LIBS
36444 fi
36445 { echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glBegin" >&5
36446 echo "${ECHO_T}$ac_cv_lib_GL_glBegin" >&6; }
36447 if test $ac_cv_lib_GL_glBegin = yes; then
36448 ac_find_libraries="std"
36449 fi
36450
36451 fi
36452 fi
36453
36454 if test "x$ac_find_libraries" = "x"; then
36455 { echo "$as_me:$LINENO: checking elsewhere" >&5
36456 echo $ECHO_N "checking elsewhere... $ECHO_C" >&6; }
36457
36458 ac_find_libraries=
36459 for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
36460 do
36461 for ac_extension in a so sl dylib dll.a; do
36462 if test -f "$ac_dir/libGL.$ac_extension"; then
36463 ac_find_libraries=$ac_dir
36464 break 2
36465 fi
36466 done
36467 done
36468
36469 if test "x$ac_find_libraries" != "x"; then
36470 { echo "$as_me:$LINENO: result: yes" >&5
36471 echo "${ECHO_T}yes" >&6; }
36472 else
36473 { echo "$as_me:$LINENO: result: no" >&5
36474 echo "${ECHO_T}no" >&6; }
36475 fi
36476 fi
36477
36478 else
36479 GL_CFLAGS=$pkg_cv_GL_CFLAGS
36480 GL_LIBS=$pkg_cv_GL_LIBS
36481 { echo "$as_me:$LINENO: result: yes" >&5
36482 echo "${ECHO_T}yes" >&6; }
36483
36484 ac_find_libraries="std"
36485
36486 eval ac_find_cflags=\$GL_CFLAGS
36487 eval fl_libs=\$GL_LIBS
36488
36489 for fl_path in $fl_libs
36490 do
36491 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
36492 ac_find_libraries=`echo "$fl_path" | cut -c 3-`
36493 fi
36494 done
36495
36496 fi
36497
36498 if test "$ac_find_libraries" != "" ; then
36499 if test "$ac_find_libraries" != "std" ; then
36500
36501 if test "$ac_find_libraries" = "default location"; then
36502 ac_path_to_link=""
36503 else
36504 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
36505 result=$?
36506 if test $result = 0; then
36507 ac_path_to_link=""
36508 else
36509 ac_path_to_link=" -L$ac_find_libraries"
36510 fi
36511 fi
36512
36513 if test "$ac_path_to_link" != " -L/usr/lib" ; then
36514 LDFLAGS_GL="$ac_path_to_link"
36515 fi
36516 fi
36517
36518
36519 ac_find_libraries=
36520
36521 fl_pkgname=`echo "GLU" | tr [:upper:] [:lower:]`
36522
36523
36524 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
36525 if test -n "$ac_tool_prefix"; then
36526 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
36527 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
36528 { echo "$as_me:$LINENO: checking for $ac_word" >&5
36529 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
36530 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
36531 echo $ECHO_N "(cached) $ECHO_C" >&6
36532 else
36533 case $PKG_CONFIG in
36534 [\\/]* | ?:[\\/]*)
36535 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
36536 ;;
36537 *)
36538 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36539 for as_dir in $PATH
36540 do
36541 IFS=$as_save_IFS
36542 test -z "$as_dir" && as_dir=.
36543 for ac_exec_ext in '' $ac_executable_extensions; do
36544 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36545 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
36546 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36547 break 2
36548 fi
36549 done
36550 done
36551 IFS=$as_save_IFS
36552
36553 ;;
36554 esac
36555 fi
36556 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
36557 if test -n "$PKG_CONFIG"; then
36558 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
36559 echo "${ECHO_T}$PKG_CONFIG" >&6; }
36560 else
36561 { echo "$as_me:$LINENO: result: no" >&5
36562 echo "${ECHO_T}no" >&6; }
36563 fi
36564
36565
36566 fi
36567 if test -z "$ac_cv_path_PKG_CONFIG"; then
36568 ac_pt_PKG_CONFIG=$PKG_CONFIG
36569 # Extract the first word of "pkg-config", so it can be a program name with args.
36570 set dummy pkg-config; ac_word=$2
36571 { echo "$as_me:$LINENO: checking for $ac_word" >&5
36572 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
36573 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
36574 echo $ECHO_N "(cached) $ECHO_C" >&6
36575 else
36576 case $ac_pt_PKG_CONFIG in
36577 [\\/]* | ?:[\\/]*)
36578 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
36579 ;;
36580 *)
36581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36582 for as_dir in $PATH
36583 do
36584 IFS=$as_save_IFS
36585 test -z "$as_dir" && as_dir=.
36586 for ac_exec_ext in '' $ac_executable_extensions; do
36587 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36588 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
36589 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36590 break 2
36591 fi
36592 done
36593 done
36594 IFS=$as_save_IFS
36595
36596 ;;
36597 esac
36598 fi
36599 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
36600 if test -n "$ac_pt_PKG_CONFIG"; then
36601 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
36602 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
36603 else
36604 { echo "$as_me:$LINENO: result: no" >&5
36605 echo "${ECHO_T}no" >&6; }
36606 fi
36607
36608 if test "x$ac_pt_PKG_CONFIG" = x; then
36609 PKG_CONFIG=""
36610 else
36611 case $cross_compiling:$ac_tool_warned in
36612 yes:)
36613 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
36614 whose name does not start with the host triplet. If you think this
36615 configuration is useful to you, please write to autoconf@gnu.org." >&5
36616 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
36617 whose name does not start with the host triplet. If you think this
36618 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
36619 ac_tool_warned=yes ;;
36620 esac
36621 PKG_CONFIG=$ac_pt_PKG_CONFIG
36622 fi
36623 else
36624 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
36625 fi
36626
36627 fi
36628 if test -n "$PKG_CONFIG"; then
36629 _pkg_min_version=0.9.0
36630 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
36631 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
36632 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
36633 { echo "$as_me:$LINENO: result: yes" >&5
36634 echo "${ECHO_T}yes" >&6; }
36635 else
36636 { echo "$as_me:$LINENO: result: no" >&5
36637 echo "${ECHO_T}no" >&6; }
36638 PKG_CONFIG=""
36639 fi
36640
36641 fi 6> /dev/null
36642
36643 pkg_failed=no
36644 { echo "$as_me:$LINENO: checking for GLU" >&5
36645 echo $ECHO_N "checking for GLU... $ECHO_C" >&6; }
36646
36647 if test -n "$PKG_CONFIG"; then
36648 if test -n "$GLU_CFLAGS"; then
36649 pkg_cv_GLU_CFLAGS="$GLU_CFLAGS"
36650 else
36651 if test -n "$PKG_CONFIG" && \
36652 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\"") >&5
36653 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
36654 ac_status=$?
36655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36656 (exit $ac_status); }; then
36657 pkg_cv_GLU_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
36658 else
36659 pkg_failed=yes
36660 fi
36661 fi
36662 else
36663 pkg_failed=untried
36664 fi
36665 if test -n "$PKG_CONFIG"; then
36666 if test -n "$GLU_LIBS"; then
36667 pkg_cv_GLU_LIBS="$GLU_LIBS"
36668 else
36669 if test -n "$PKG_CONFIG" && \
36670 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\"") >&5
36671 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
36672 ac_status=$?
36673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36674 (exit $ac_status); }; then
36675 pkg_cv_GLU_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
36676 else
36677 pkg_failed=yes
36678 fi
36679 fi
36680 else
36681 pkg_failed=untried
36682 fi
36683
36684
36685
36686 if test $pkg_failed = yes; then
36687
36688 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
36689 _pkg_short_errors_supported=yes
36690 else
36691 _pkg_short_errors_supported=no
36692 fi
36693 if test $_pkg_short_errors_supported = yes; then
36694 GLU_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
36695 else
36696 GLU_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
36697 fi
36698 # Put the nasty error message in config.log where it belongs
36699 echo "$GLU_PKG_ERRORS" >&5
36700
36701
36702 if test "x$ac_find_libraries" = "x"; then
36703 if test "xgluBeginCurve" != "x"; then
36704 { echo "$as_me:$LINENO: checking for gluBeginCurve in -lGLU" >&5
36705 echo $ECHO_N "checking for gluBeginCurve in -lGLU... $ECHO_C" >&6; }
36706 if test "${ac_cv_lib_GLU_gluBeginCurve+set}" = set; then
36707 echo $ECHO_N "(cached) $ECHO_C" >&6
36708 else
36709 ac_check_lib_save_LIBS=$LIBS
36710 LIBS="-lGLU $LIBS"
36711 cat >conftest.$ac_ext <<_ACEOF
36712 /* confdefs.h. */
36713 _ACEOF
36714 cat confdefs.h >>conftest.$ac_ext
36715 cat >>conftest.$ac_ext <<_ACEOF
36716 /* end confdefs.h. */
36717
36718 /* Override any GCC internal prototype to avoid an error.
36719 Use char because int might match the return type of a GCC
36720 builtin and then its argument prototype would still apply. */
36721 #ifdef __cplusplus
36722 extern "C"
36723 #endif
36724 char gluBeginCurve ();
36725 int
36726 main ()
36727 {
36728 return gluBeginCurve ();
36729 ;
36730 return 0;
36731 }
36732 _ACEOF
36733 rm -f conftest.$ac_objext conftest$ac_exeext
36734 if { (ac_try="$ac_link"
36735 case "(($ac_try" in
36736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36737 *) ac_try_echo=$ac_try;;
36738 esac
36739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36740 (eval "$ac_link") 2>conftest.er1
36741 ac_status=$?
36742 grep -v '^ *+' conftest.er1 >conftest.err
36743 rm -f conftest.er1
36744 cat conftest.err >&5
36745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36746 (exit $ac_status); } && {
36747 test -z "$ac_c_werror_flag" ||
36748 test ! -s conftest.err
36749 } && test -s conftest$ac_exeext &&
36750 $as_test_x conftest$ac_exeext; then
36751 ac_cv_lib_GLU_gluBeginCurve=yes
36752 else
36753 echo "$as_me: failed program was:" >&5
36754 sed 's/^/| /' conftest.$ac_ext >&5
36755
36756 ac_cv_lib_GLU_gluBeginCurve=no
36757 fi
36758
36759 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36760 conftest$ac_exeext conftest.$ac_ext
36761 LIBS=$ac_check_lib_save_LIBS
36762 fi
36763 { echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluBeginCurve" >&5
36764 echo "${ECHO_T}$ac_cv_lib_GLU_gluBeginCurve" >&6; }
36765 if test $ac_cv_lib_GLU_gluBeginCurve = yes; then
36766 ac_find_libraries="std"
36767 fi
36768
36769 fi
36770 fi
36771
36772 if test "x$ac_find_libraries" = "x"; then
36773 { echo "$as_me:$LINENO: checking elsewhere" >&5
36774 echo $ECHO_N "checking elsewhere... $ECHO_C" >&6; }
36775
36776 ac_find_libraries=
36777 for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
36778 do
36779 for ac_extension in a so sl dylib dll.a; do
36780 if test -f "$ac_dir/libGLU.$ac_extension"; then
36781 ac_find_libraries=$ac_dir
36782 break 2
36783 fi
36784 done
36785 done
36786
36787 if test "x$ac_find_libraries" != "x"; then
36788 { echo "$as_me:$LINENO: result: yes" >&5
36789 echo "${ECHO_T}yes" >&6; }
36790 else
36791 { echo "$as_me:$LINENO: result: no" >&5
36792 echo "${ECHO_T}no" >&6; }
36793 fi
36794 fi
36795
36796 elif test $pkg_failed = untried; then
36797
36798 if test "x$ac_find_libraries" = "x"; then
36799 if test "xgluBeginCurve" != "x"; then
36800 { echo "$as_me:$LINENO: checking for gluBeginCurve in -lGLU" >&5
36801 echo $ECHO_N "checking for gluBeginCurve in -lGLU... $ECHO_C" >&6; }
36802 if test "${ac_cv_lib_GLU_gluBeginCurve+set}" = set; then
36803 echo $ECHO_N "(cached) $ECHO_C" >&6
36804 else
36805 ac_check_lib_save_LIBS=$LIBS
36806 LIBS="-lGLU $LIBS"
36807 cat >conftest.$ac_ext <<_ACEOF
36808 /* confdefs.h. */
36809 _ACEOF
36810 cat confdefs.h >>conftest.$ac_ext
36811 cat >>conftest.$ac_ext <<_ACEOF
36812 /* end confdefs.h. */
36813
36814 /* Override any GCC internal prototype to avoid an error.
36815 Use char because int might match the return type of a GCC
36816 builtin and then its argument prototype would still apply. */
36817 #ifdef __cplusplus
36818 extern "C"
36819 #endif
36820 char gluBeginCurve ();
36821 int
36822 main ()
36823 {
36824 return gluBeginCurve ();
36825 ;
36826 return 0;
36827 }
36828 _ACEOF
36829 rm -f conftest.$ac_objext conftest$ac_exeext
36830 if { (ac_try="$ac_link"
36831 case "(($ac_try" in
36832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36833 *) ac_try_echo=$ac_try;;
36834 esac
36835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36836 (eval "$ac_link") 2>conftest.er1
36837 ac_status=$?
36838 grep -v '^ *+' conftest.er1 >conftest.err
36839 rm -f conftest.er1
36840 cat conftest.err >&5
36841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36842 (exit $ac_status); } && {
36843 test -z "$ac_c_werror_flag" ||
36844 test ! -s conftest.err
36845 } && test -s conftest$ac_exeext &&
36846 $as_test_x conftest$ac_exeext; then
36847 ac_cv_lib_GLU_gluBeginCurve=yes
36848 else
36849 echo "$as_me: failed program was:" >&5
36850 sed 's/^/| /' conftest.$ac_ext >&5
36851
36852 ac_cv_lib_GLU_gluBeginCurve=no
36853 fi
36854
36855 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36856 conftest$ac_exeext conftest.$ac_ext
36857 LIBS=$ac_check_lib_save_LIBS
36858 fi
36859 { echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluBeginCurve" >&5
36860 echo "${ECHO_T}$ac_cv_lib_GLU_gluBeginCurve" >&6; }
36861 if test $ac_cv_lib_GLU_gluBeginCurve = yes; then
36862 ac_find_libraries="std"
36863 fi
36864
36865 fi
36866 fi
36867
36868 if test "x$ac_find_libraries" = "x"; then
36869 { echo "$as_me:$LINENO: checking elsewhere" >&5
36870 echo $ECHO_N "checking elsewhere... $ECHO_C" >&6; }
36871
36872 ac_find_libraries=
36873 for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
36874 do
36875 for ac_extension in a so sl dylib dll.a; do
36876 if test -f "$ac_dir/libGLU.$ac_extension"; then
36877 ac_find_libraries=$ac_dir
36878 break 2
36879 fi
36880 done
36881 done
36882
36883 if test "x$ac_find_libraries" != "x"; then
36884 { echo "$as_me:$LINENO: result: yes" >&5
36885 echo "${ECHO_T}yes" >&6; }
36886 else
36887 { echo "$as_me:$LINENO: result: no" >&5
36888 echo "${ECHO_T}no" >&6; }
36889 fi
36890 fi
36891
36892 else
36893 GLU_CFLAGS=$pkg_cv_GLU_CFLAGS
36894 GLU_LIBS=$pkg_cv_GLU_LIBS
36895 { echo "$as_me:$LINENO: result: yes" >&5
36896 echo "${ECHO_T}yes" >&6; }
36897
36898 ac_find_libraries="std"
36899
36900 eval ac_find_cflags=\$GLU_CFLAGS
36901 eval fl_libs=\$GLU_LIBS
36902
36903 for fl_path in $fl_libs
36904 do
36905 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
36906 ac_find_libraries=`echo "$fl_path" | cut -c 3-`
36907 fi
36908 done
36909
36910 fi
36911
36912 if test "$ac_find_libraries" != "" ; then
36913 if test "$ac_find_libraries" != "std" ; then
36914
36915 if test "$ac_find_libraries" = "default location"; then
36916 ac_path_to_link=""
36917 else
36918 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
36919 result=$?
36920 if test $result = 0; then
36921 ac_path_to_link=""
36922 else
36923 ac_path_to_link=" -L$ac_find_libraries"
36924 fi
36925 fi
36926
36927 if test "$ac_path_to_link" != " -L/usr/lib" -a \
36928 "$ac_path_to_link" != "$LDFLAGS_GL" ; then
36929 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
36930 fi
36931 fi
36932
36933 found_gl=1
36934 OPENGL_LIBS="-lGL -lGLU"
36935 fi
36936 fi
36937
36938 if test "$found_gl" != 1; then
36939
36940 ac_find_libraries=
36941
36942 fl_pkgname=`echo "MesaGL" | tr [:upper:] [:lower:]`
36943
36944
36945 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
36946 if test -n "$ac_tool_prefix"; then
36947 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
36948 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
36949 { echo "$as_me:$LINENO: checking for $ac_word" >&5
36950 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
36951 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
36952 echo $ECHO_N "(cached) $ECHO_C" >&6
36953 else
36954 case $PKG_CONFIG in
36955 [\\/]* | ?:[\\/]*)
36956 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
36957 ;;
36958 *)
36959 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36960 for as_dir in $PATH
36961 do
36962 IFS=$as_save_IFS
36963 test -z "$as_dir" && as_dir=.
36964 for ac_exec_ext in '' $ac_executable_extensions; do
36965 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36966 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
36967 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36968 break 2
36969 fi
36970 done
36971 done
36972 IFS=$as_save_IFS
36973
36974 ;;
36975 esac
36976 fi
36977 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
36978 if test -n "$PKG_CONFIG"; then
36979 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
36980 echo "${ECHO_T}$PKG_CONFIG" >&6; }
36981 else
36982 { echo "$as_me:$LINENO: result: no" >&5
36983 echo "${ECHO_T}no" >&6; }
36984 fi
36985
36986
36987 fi
36988 if test -z "$ac_cv_path_PKG_CONFIG"; then
36989 ac_pt_PKG_CONFIG=$PKG_CONFIG
36990 # Extract the first word of "pkg-config", so it can be a program name with args.
36991 set dummy pkg-config; ac_word=$2
36992 { echo "$as_me:$LINENO: checking for $ac_word" >&5
36993 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
36994 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
36995 echo $ECHO_N "(cached) $ECHO_C" >&6
36996 else
36997 case $ac_pt_PKG_CONFIG in
36998 [\\/]* | ?:[\\/]*)
36999 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
37000 ;;
37001 *)
37002 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37003 for as_dir in $PATH
37004 do
37005 IFS=$as_save_IFS
37006 test -z "$as_dir" && as_dir=.
37007 for ac_exec_ext in '' $ac_executable_extensions; do
37008 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
37009 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
37010 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37011 break 2
37012 fi
37013 done
37014 done
37015 IFS=$as_save_IFS
37016
37017 ;;
37018 esac
37019 fi
37020 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
37021 if test -n "$ac_pt_PKG_CONFIG"; then
37022 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
37023 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
37024 else
37025 { echo "$as_me:$LINENO: result: no" >&5
37026 echo "${ECHO_T}no" >&6; }
37027 fi
37028
37029 if test "x$ac_pt_PKG_CONFIG" = x; then
37030 PKG_CONFIG=""
37031 else
37032 case $cross_compiling:$ac_tool_warned in
37033 yes:)
37034 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
37035 whose name does not start with the host triplet. If you think this
37036 configuration is useful to you, please write to autoconf@gnu.org." >&5
37037 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
37038 whose name does not start with the host triplet. If you think this
37039 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
37040 ac_tool_warned=yes ;;
37041 esac
37042 PKG_CONFIG=$ac_pt_PKG_CONFIG
37043 fi
37044 else
37045 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
37046 fi
37047
37048 fi
37049 if test -n "$PKG_CONFIG"; then
37050 _pkg_min_version=0.9.0
37051 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
37052 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
37053 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
37054 { echo "$as_me:$LINENO: result: yes" >&5
37055 echo "${ECHO_T}yes" >&6; }
37056 else
37057 { echo "$as_me:$LINENO: result: no" >&5
37058 echo "${ECHO_T}no" >&6; }
37059 PKG_CONFIG=""
37060 fi
37061
37062 fi 6> /dev/null
37063
37064 pkg_failed=no
37065 { echo "$as_me:$LINENO: checking for MesaGL" >&5
37066 echo $ECHO_N "checking for MesaGL... $ECHO_C" >&6; }
37067
37068 if test -n "$PKG_CONFIG"; then
37069 if test -n "$MesaGL_CFLAGS"; then
37070 pkg_cv_MesaGL_CFLAGS="$MesaGL_CFLAGS"
37071 else
37072 if test -n "$PKG_CONFIG" && \
37073 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\"") >&5
37074 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
37075 ac_status=$?
37076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37077 (exit $ac_status); }; then
37078 pkg_cv_MesaGL_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
37079 else
37080 pkg_failed=yes
37081 fi
37082 fi
37083 else
37084 pkg_failed=untried
37085 fi
37086 if test -n "$PKG_CONFIG"; then
37087 if test -n "$MesaGL_LIBS"; then
37088 pkg_cv_MesaGL_LIBS="$MesaGL_LIBS"
37089 else
37090 if test -n "$PKG_CONFIG" && \
37091 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\"") >&5
37092 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
37093 ac_status=$?
37094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37095 (exit $ac_status); }; then
37096 pkg_cv_MesaGL_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
37097 else
37098 pkg_failed=yes
37099 fi
37100 fi
37101 else
37102 pkg_failed=untried
37103 fi
37104
37105
37106
37107 if test $pkg_failed = yes; then
37108
37109 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
37110 _pkg_short_errors_supported=yes
37111 else
37112 _pkg_short_errors_supported=no
37113 fi
37114 if test $_pkg_short_errors_supported = yes; then
37115 MesaGL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
37116 else
37117 MesaGL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
37118 fi
37119 # Put the nasty error message in config.log where it belongs
37120 echo "$MesaGL_PKG_ERRORS" >&5
37121
37122
37123 if test "x$ac_find_libraries" = "x"; then
37124 if test "xglEnable" != "x"; then
37125 { echo "$as_me:$LINENO: checking for glEnable in -lMesaGL" >&5
37126 echo $ECHO_N "checking for glEnable in -lMesaGL... $ECHO_C" >&6; }
37127 if test "${ac_cv_lib_MesaGL_glEnable+set}" = set; then
37128 echo $ECHO_N "(cached) $ECHO_C" >&6
37129 else
37130 ac_check_lib_save_LIBS=$LIBS
37131 LIBS="-lMesaGL $LIBS"
37132 cat >conftest.$ac_ext <<_ACEOF
37133 /* confdefs.h. */
37134 _ACEOF
37135 cat confdefs.h >>conftest.$ac_ext
37136 cat >>conftest.$ac_ext <<_ACEOF
37137 /* end confdefs.h. */
37138
37139 /* Override any GCC internal prototype to avoid an error.
37140 Use char because int might match the return type of a GCC
37141 builtin and then its argument prototype would still apply. */
37142 #ifdef __cplusplus
37143 extern "C"
37144 #endif
37145 char glEnable ();
37146 int
37147 main ()
37148 {
37149 return glEnable ();
37150 ;
37151 return 0;
37152 }
37153 _ACEOF
37154 rm -f conftest.$ac_objext conftest$ac_exeext
37155 if { (ac_try="$ac_link"
37156 case "(($ac_try" in
37157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37158 *) ac_try_echo=$ac_try;;
37159 esac
37160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37161 (eval "$ac_link") 2>conftest.er1
37162 ac_status=$?
37163 grep -v '^ *+' conftest.er1 >conftest.err
37164 rm -f conftest.er1
37165 cat conftest.err >&5
37166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37167 (exit $ac_status); } && {
37168 test -z "$ac_c_werror_flag" ||
37169 test ! -s conftest.err
37170 } && test -s conftest$ac_exeext &&
37171 $as_test_x conftest$ac_exeext; then
37172 ac_cv_lib_MesaGL_glEnable=yes
37173 else
37174 echo "$as_me: failed program was:" >&5
37175 sed 's/^/| /' conftest.$ac_ext >&5
37176
37177 ac_cv_lib_MesaGL_glEnable=no
37178 fi
37179
37180 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37181 conftest$ac_exeext conftest.$ac_ext
37182 LIBS=$ac_check_lib_save_LIBS
37183 fi
37184 { echo "$as_me:$LINENO: result: $ac_cv_lib_MesaGL_glEnable" >&5
37185 echo "${ECHO_T}$ac_cv_lib_MesaGL_glEnable" >&6; }
37186 if test $ac_cv_lib_MesaGL_glEnable = yes; then
37187 ac_find_libraries="std"
37188 fi
37189
37190 fi
37191 fi
37192
37193 if test "x$ac_find_libraries" = "x"; then
37194 { echo "$as_me:$LINENO: checking elsewhere" >&5
37195 echo $ECHO_N "checking elsewhere... $ECHO_C" >&6; }
37196
37197 ac_find_libraries=
37198 for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
37199 do
37200 for ac_extension in a so sl dylib dll.a; do
37201 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
37202 ac_find_libraries=$ac_dir
37203 break 2
37204 fi
37205 done
37206 done
37207
37208 if test "x$ac_find_libraries" != "x"; then
37209 { echo "$as_me:$LINENO: result: yes" >&5
37210 echo "${ECHO_T}yes" >&6; }
37211 else
37212 { echo "$as_me:$LINENO: result: no" >&5
37213 echo "${ECHO_T}no" >&6; }
37214 fi
37215 fi
37216
37217 elif test $pkg_failed = untried; then
37218
37219 if test "x$ac_find_libraries" = "x"; then
37220 if test "xglEnable" != "x"; then
37221 { echo "$as_me:$LINENO: checking for glEnable in -lMesaGL" >&5
37222 echo $ECHO_N "checking for glEnable in -lMesaGL... $ECHO_C" >&6; }
37223 if test "${ac_cv_lib_MesaGL_glEnable+set}" = set; then
37224 echo $ECHO_N "(cached) $ECHO_C" >&6
37225 else
37226 ac_check_lib_save_LIBS=$LIBS
37227 LIBS="-lMesaGL $LIBS"
37228 cat >conftest.$ac_ext <<_ACEOF
37229 /* confdefs.h. */
37230 _ACEOF
37231 cat confdefs.h >>conftest.$ac_ext
37232 cat >>conftest.$ac_ext <<_ACEOF
37233 /* end confdefs.h. */
37234
37235 /* Override any GCC internal prototype to avoid an error.
37236 Use char because int might match the return type of a GCC
37237 builtin and then its argument prototype would still apply. */
37238 #ifdef __cplusplus
37239 extern "C"
37240 #endif
37241 char glEnable ();
37242 int
37243 main ()
37244 {
37245 return glEnable ();
37246 ;
37247 return 0;
37248 }
37249 _ACEOF
37250 rm -f conftest.$ac_objext conftest$ac_exeext
37251 if { (ac_try="$ac_link"
37252 case "(($ac_try" in
37253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37254 *) ac_try_echo=$ac_try;;
37255 esac
37256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37257 (eval "$ac_link") 2>conftest.er1
37258 ac_status=$?
37259 grep -v '^ *+' conftest.er1 >conftest.err
37260 rm -f conftest.er1
37261 cat conftest.err >&5
37262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37263 (exit $ac_status); } && {
37264 test -z "$ac_c_werror_flag" ||
37265 test ! -s conftest.err
37266 } && test -s conftest$ac_exeext &&
37267 $as_test_x conftest$ac_exeext; then
37268 ac_cv_lib_MesaGL_glEnable=yes
37269 else
37270 echo "$as_me: failed program was:" >&5
37271 sed 's/^/| /' conftest.$ac_ext >&5
37272
37273 ac_cv_lib_MesaGL_glEnable=no
37274 fi
37275
37276 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37277 conftest$ac_exeext conftest.$ac_ext
37278 LIBS=$ac_check_lib_save_LIBS
37279 fi
37280 { echo "$as_me:$LINENO: result: $ac_cv_lib_MesaGL_glEnable" >&5
37281 echo "${ECHO_T}$ac_cv_lib_MesaGL_glEnable" >&6; }
37282 if test $ac_cv_lib_MesaGL_glEnable = yes; then
37283 ac_find_libraries="std"
37284 fi
37285
37286 fi
37287 fi
37288
37289 if test "x$ac_find_libraries" = "x"; then
37290 { echo "$as_me:$LINENO: checking elsewhere" >&5
37291 echo $ECHO_N "checking elsewhere... $ECHO_C" >&6; }
37292
37293 ac_find_libraries=
37294 for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
37295 do
37296 for ac_extension in a so sl dylib dll.a; do
37297 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
37298 ac_find_libraries=$ac_dir
37299 break 2
37300 fi
37301 done
37302 done
37303
37304 if test "x$ac_find_libraries" != "x"; then
37305 { echo "$as_me:$LINENO: result: yes" >&5
37306 echo "${ECHO_T}yes" >&6; }
37307 else
37308 { echo "$as_me:$LINENO: result: no" >&5
37309 echo "${ECHO_T}no" >&6; }
37310 fi
37311 fi
37312
37313 else
37314 MesaGL_CFLAGS=$pkg_cv_MesaGL_CFLAGS
37315 MesaGL_LIBS=$pkg_cv_MesaGL_LIBS
37316 { echo "$as_me:$LINENO: result: yes" >&5
37317 echo "${ECHO_T}yes" >&6; }
37318
37319 ac_find_libraries="std"
37320
37321 eval ac_find_cflags=\$MesaGL_CFLAGS
37322 eval fl_libs=\$MesaGL_LIBS
37323
37324 for fl_path in $fl_libs
37325 do
37326 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
37327 ac_find_libraries=`echo "$fl_path" | cut -c 3-`
37328 fi
37329 done
37330
37331 fi
37332
37333 if test "$ac_find_libraries" != "" ; then
37334 if test "$ac_find_libraries" != "std" ; then
37335
37336 if test "$ac_find_libraries" = "default location"; then
37337 ac_path_to_link=""
37338 else
37339 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
37340 result=$?
37341 if test $result = 0; then
37342 ac_path_to_link=""
37343 else
37344 ac_path_to_link=" -L$ac_find_libraries"
37345 fi
37346 fi
37347
37348 if test "$ac_path_to_link" != " -L/usr/lib" ; then
37349 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
37350 fi
37351 fi
37352 OPENGL_LIBS="-lMesaGL -lMesaGLU"
37353 fi
37354 fi
37355
37356 fi
37357
37358
37359
37360 fi
37361
37362
37363
37364 if test "x$OPENGL_LIBS" = "x"; then
37365 if test "$wxUSE_OPENGL" = "yes"; then
37366 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
37367 echo "$as_me: error: OpenGL libraries not available" >&2;}
37368 { (exit 1); exit 1; }; }
37369 else
37370 { echo "$as_me:$LINENO: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&5
37371 echo "$as_me: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&2;}
37372 wxUSE_OPENGL=no
37373 USE_OPENGL=0
37374 fi
37375 fi
37376 else
37377 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
37378 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
37379 wxUSE_OPENGL="no"
37380 fi
37381
37382 if test "$wxUSE_OPENGL" = "auto"; then
37383 wxUSE_OPENGL=yes
37384 fi
37385
37386 if test "$wxUSE_OPENGL" = "yes"; then
37387 USE_OPENGL=1
37388 cat >>confdefs.h <<\_ACEOF
37389 #define wxUSE_OPENGL 1
37390 _ACEOF
37391
37392 cat >>confdefs.h <<\_ACEOF
37393 #define wxUSE_GLCANVAS 1
37394 _ACEOF
37395
37396 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
37397 fi
37398 fi
37399
37400
37401 if test -n "$TOOLKIT" ; then
37402 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
37403 fi
37404
37405
37406
37407 if test "$wxUSE_SHARED" = "yes"; then
37408 case "${host}" in
37409 *-pc-msdosdjgpp )
37410 wxUSE_SHARED=no
37411 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
37412 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
37413 ;;
37414 esac
37415 fi
37416
37417 if test "$wxUSE_SHARED" = "yes"; then
37418
37419
37420 case "${host}" in
37421 *-*-cygwin* | *-*-mingw* )
37422 wx_cv_version_script=no
37423 ;;
37424
37425 *)
37426 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
37427 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
37428 if test "${wx_cv_version_script+set}" = set; then
37429 echo $ECHO_N "(cached) $ECHO_C" >&6
37430 else
37431
37432 echo "VER_1 { *; };" >conftest.sym
37433 echo "int main() { return 0; }" >conftest.cpp
37434
37435 if { ac_try='
37436 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
37437 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
37438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37439 (eval $ac_try) 2>&5
37440 ac_status=$?
37441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37442 (exit $ac_status); }; } ; then
37443 if test -s conftest.stderr ; then
37444 wx_cv_version_script=no
37445 else
37446 wx_cv_version_script=yes
37447 fi
37448 else
37449 wx_cv_version_script=no
37450 fi
37451
37452 if test $wx_cv_version_script = yes
37453 then
37454 echo "struct B { virtual ~B() { } }; \
37455 struct D : public B { }; \
37456 void F() { D d; }" > conftest.cpp
37457
37458 if { ac_try='
37459 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
37460 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
37461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37462 (eval $ac_try) 2>&5
37463 ac_status=$?
37464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37465 (exit $ac_status); }; } &&
37466 { ac_try='
37467 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
37468 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
37469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37470 (eval $ac_try) 2>&5
37471 ac_status=$?
37472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37473 (exit $ac_status); }; }
37474 then
37475 if { ac_try='
37476 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
37477 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
37478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37479 (eval $ac_try) 2>&5
37480 ac_status=$?
37481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37482 (exit $ac_status); }; }
37483 then
37484 wx_cv_version_script=yes
37485 else
37486 wx_cv_version_script=no
37487 fi
37488 fi
37489 fi
37490
37491 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
37492 rm -f conftest1.output conftest2.output conftest3.output
37493
37494 fi
37495 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
37496 echo "${ECHO_T}$wx_cv_version_script" >&6; }
37497
37498 if test $wx_cv_version_script = yes ; then
37499 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
37500 fi
37501 ;;
37502 esac
37503
37504
37505 if test "$wxUSE_VISIBILITY" != "no"; then
37506
37507
37508 if test -n "$GCC"; then
37509 CFLAGS_VISIBILITY="-fvisibility=hidden"
37510 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
37511 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
37512 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
37513 if test "${wx_cv_cc_visibility+set}" = set; then
37514 echo $ECHO_N "(cached) $ECHO_C" >&6
37515 else
37516
37517 wx_save_CXXFLAGS="$CXXFLAGS"
37518 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
37519 ac_ext=cpp
37520 ac_cpp='$CXXCPP $CPPFLAGS'
37521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37524
37525 cat >conftest.$ac_ext <<_ACEOF
37526 /* confdefs.h. */
37527 _ACEOF
37528 cat confdefs.h >>conftest.$ac_ext
37529 cat >>conftest.$ac_ext <<_ACEOF
37530 /* end confdefs.h. */
37531
37532 /* we need gcc >= 4.0, older versions with visibility support
37533 didn't have class visibility: */
37534 #if defined(__GNUC__) && __GNUC__ < 4
37535 error this gcc is too old;
37536 #endif
37537
37538 /* visibility only makes sense for ELF shared libs: */
37539 #if !defined(__ELF__) && !defined(__APPLE__)
37540 error this platform has no visibility;
37541 #endif
37542
37543 /* at the time of Xcode 4.1 / Clang 3, Clang++ still didn't have the bugs sorted out: */
37544 #if defined(__clang__)
37545 clang compiler is still broken w.r.t. visibility;
37546 #endif
37547
37548 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
37549 extern __attribute__((__visibility__("default"))) int exportedvar;
37550 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
37551 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
37552 class __attribute__((__visibility__("default"))) Foo {
37553 Foo() {}
37554 };
37555
37556 int
37557 main ()
37558 {
37559
37560 ;
37561 return 0;
37562 }
37563 _ACEOF
37564 rm -f conftest.$ac_objext
37565 if { (ac_try="$ac_compile"
37566 case "(($ac_try" in
37567 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37568 *) ac_try_echo=$ac_try;;
37569 esac
37570 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37571 (eval "$ac_compile") 2>conftest.er1
37572 ac_status=$?
37573 grep -v '^ *+' conftest.er1 >conftest.err
37574 rm -f conftest.er1
37575 cat conftest.err >&5
37576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37577 (exit $ac_status); } && {
37578 test -z "$ac_cxx_werror_flag" ||
37579 test ! -s conftest.err
37580 } && test -s conftest.$ac_objext; then
37581 wx_cv_cc_visibility=yes
37582 else
37583 echo "$as_me: failed program was:" >&5
37584 sed 's/^/| /' conftest.$ac_ext >&5
37585
37586 wx_cv_cc_visibility=no
37587 fi
37588
37589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37590 ac_ext=c
37591 ac_cpp='$CPP $CPPFLAGS'
37592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37595
37596 CXXFLAGS="$wx_save_CXXFLAGS"
37597 fi
37598
37599 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
37600 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
37601 if test $wx_cv_cc_visibility = yes; then
37602 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
37603 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
37604 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
37605 echo $ECHO_N "(cached) $ECHO_C" >&6
37606 else
37607
37608 wx_save_CXXFLAGS="$CXXFLAGS"
37609 wx_save_LDFLAGS="$LDFLAGS"
37610 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
37611 LDFLAGS="$LDFLAGS -shared -fPIC"
37612 ac_ext=cpp
37613 ac_cpp='$CXXCPP $CPPFLAGS'
37614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37617
37618 cat >conftest.$ac_ext <<_ACEOF
37619 /* confdefs.h. */
37620 _ACEOF
37621 cat confdefs.h >>conftest.$ac_ext
37622 cat >>conftest.$ac_ext <<_ACEOF
37623 /* end confdefs.h. */
37624
37625 #include <string>
37626
37627 int
37628 main ()
37629 {
37630
37631 std::string s("hello");
37632 return s.length();
37633
37634 ;
37635 return 0;
37636 }
37637 _ACEOF
37638 rm -f conftest.$ac_objext conftest$ac_exeext
37639 if { (ac_try="$ac_link"
37640 case "(($ac_try" in
37641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37642 *) ac_try_echo=$ac_try;;
37643 esac
37644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37645 (eval "$ac_link") 2>conftest.er1
37646 ac_status=$?
37647 grep -v '^ *+' conftest.er1 >conftest.err
37648 rm -f conftest.er1
37649 cat conftest.err >&5
37650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37651 (exit $ac_status); } && {
37652 test -z "$ac_cxx_werror_flag" ||
37653 test ! -s conftest.err
37654 } && test -s conftest$ac_exeext &&
37655 $as_test_x conftest$ac_exeext; then
37656 wx_cv_cc_broken_libstdcxx_visibility=no
37657 else
37658 echo "$as_me: failed program was:" >&5
37659 sed 's/^/| /' conftest.$ac_ext >&5
37660
37661 wx_cv_cc_broken_libstdcxx_visibility=yes
37662 fi
37663
37664 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37665 conftest$ac_exeext conftest.$ac_ext
37666 ac_ext=c
37667 ac_cpp='$CPP $CPPFLAGS'
37668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37671
37672 CXXFLAGS="$wx_save_CXXFLAGS"
37673 LDFLAGS="$wx_save_LDFLAGS"
37674 fi
37675
37676 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
37677 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
37678
37679 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
37680 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
37681 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
37682 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
37683 echo $ECHO_N "(cached) $ECHO_C" >&6
37684 else
37685
37686 ac_ext=cpp
37687 ac_cpp='$CXXCPP $CPPFLAGS'
37688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37691
37692 cat >conftest.$ac_ext <<_ACEOF
37693 /* confdefs.h. */
37694 _ACEOF
37695 cat confdefs.h >>conftest.$ac_ext
37696 cat >>conftest.$ac_ext <<_ACEOF
37697 /* end confdefs.h. */
37698
37699 #pragma GCC visibility push(default)
37700 #include <string>
37701 #pragma GCC visibility pop
37702
37703 int
37704 main ()
37705 {
37706
37707 std::string s("hello");
37708 return s.length();
37709
37710 ;
37711 return 0;
37712 }
37713 _ACEOF
37714 rm -f conftest.$ac_objext conftest$ac_exeext
37715 if { (ac_try="$ac_link"
37716 case "(($ac_try" in
37717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37718 *) ac_try_echo=$ac_try;;
37719 esac
37720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37721 (eval "$ac_link") 2>conftest.er1
37722 ac_status=$?
37723 grep -v '^ *+' conftest.er1 >conftest.err
37724 rm -f conftest.er1
37725 cat conftest.err >&5
37726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37727 (exit $ac_status); } && {
37728 test -z "$ac_cxx_werror_flag" ||
37729 test ! -s conftest.err
37730 } && test -s conftest$ac_exeext &&
37731 $as_test_x conftest$ac_exeext; then
37732 wx_cv_cc_visibility_workaround=no
37733 else
37734 echo "$as_me: failed program was:" >&5
37735 sed 's/^/| /' conftest.$ac_ext >&5
37736
37737 wx_cv_cc_visibility_workaround=yes
37738 fi
37739
37740 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37741 conftest$ac_exeext conftest.$ac_ext
37742 ac_ext=c
37743 ac_cpp='$CPP $CPPFLAGS'
37744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37747
37748
37749 fi
37750
37751 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
37752 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
37753
37754 if test $wx_cv_cc_visibility_workaround = no; then
37755 wx_cv_cc_visibility=no
37756 fi
37757 fi
37758 fi
37759
37760 if test $wx_cv_cc_visibility = yes; then
37761 cat >>confdefs.h <<\_ACEOF
37762 #define HAVE_VISIBILITY 1
37763 _ACEOF
37764
37765 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
37766 cat >>confdefs.h <<\_ACEOF
37767 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
37768 _ACEOF
37769
37770 fi
37771 else
37772 CFLAGS_VISIBILITY=""
37773 CXXFLAGS_VISIBILITY=""
37774 fi
37775
37776
37777 fi
37778
37779 fi
37780
37781 if test "x$SUNCXX" = xyes; then
37782 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
37783 WXCONFIG_RPATH="-R\$libdir"
37784 else
37785 case "${host}" in
37786 *-*-linux* | *-*-gnu* )
37787 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
37788 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
37789 ;;
37790
37791 *-*-solaris2* )
37792
37793 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
37794
37795 saveLdflags="$LDFLAGS"
37796 LDFLAGS="$saveLdflags -Wl,-rpath,/"
37797 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
37798 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
37799 cat >conftest.$ac_ext <<_ACEOF
37800 /* confdefs.h. */
37801 _ACEOF
37802 cat confdefs.h >>conftest.$ac_ext
37803 cat >>conftest.$ac_ext <<_ACEOF
37804 /* end confdefs.h. */
37805
37806 int
37807 main ()
37808 {
37809
37810 ;
37811 return 0;
37812 }
37813 _ACEOF
37814 rm -f conftest.$ac_objext conftest$ac_exeext
37815 if { (ac_try="$ac_link"
37816 case "(($ac_try" in
37817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37818 *) ac_try_echo=$ac_try;;
37819 esac
37820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37821 (eval "$ac_link") 2>conftest.er1
37822 ac_status=$?
37823 grep -v '^ *+' conftest.er1 >conftest.err
37824 rm -f conftest.er1
37825 cat conftest.err >&5
37826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37827 (exit $ac_status); } && {
37828 test -z "$ac_c_werror_flag" ||
37829 test ! -s conftest.err
37830 } && test -s conftest$ac_exeext &&
37831 $as_test_x conftest$ac_exeext; then
37832
37833 { echo "$as_me:$LINENO: result: yes" >&5
37834 echo "${ECHO_T}yes" >&6; }
37835 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
37836 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
37837
37838 else
37839 echo "$as_me: failed program was:" >&5
37840 sed 's/^/| /' conftest.$ac_ext >&5
37841
37842
37843 { echo "$as_me:$LINENO: result: no" >&5
37844 echo "${ECHO_T}no" >&6; }
37845 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
37846 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
37847 LDFLAGS="$saveLdflags -Wl,-R,/"
37848 cat >conftest.$ac_ext <<_ACEOF
37849 /* confdefs.h. */
37850 _ACEOF
37851 cat confdefs.h >>conftest.$ac_ext
37852 cat >>conftest.$ac_ext <<_ACEOF
37853 /* end confdefs.h. */
37854
37855 int
37856 main ()
37857 {
37858
37859 ;
37860 return 0;
37861 }
37862 _ACEOF
37863 rm -f conftest.$ac_objext conftest$ac_exeext
37864 if { (ac_try="$ac_link"
37865 case "(($ac_try" in
37866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37867 *) ac_try_echo=$ac_try;;
37868 esac
37869 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37870 (eval "$ac_link") 2>conftest.er1
37871 ac_status=$?
37872 grep -v '^ *+' conftest.er1 >conftest.err
37873 rm -f conftest.er1
37874 cat conftest.err >&5
37875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37876 (exit $ac_status); } && {
37877 test -z "$ac_c_werror_flag" ||
37878 test ! -s conftest.err
37879 } && test -s conftest$ac_exeext &&
37880 $as_test_x conftest$ac_exeext; then
37881
37882 { echo "$as_me:$LINENO: result: yes" >&5
37883 echo "${ECHO_T}yes" >&6; }
37884 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
37885 WXCONFIG_RPATH="-Wl,-R,\$libdir"
37886
37887 else
37888 echo "$as_me: failed program was:" >&5
37889 sed 's/^/| /' conftest.$ac_ext >&5
37890
37891
37892 { echo "$as_me:$LINENO: result: no" >&5
37893 echo "${ECHO_T}no" >&6; }
37894
37895 fi
37896
37897 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37898 conftest$ac_exeext conftest.$ac_ext
37899
37900 fi
37901
37902 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37903 conftest$ac_exeext conftest.$ac_ext
37904 LDFLAGS="$saveLdflags"
37905 ;;
37906
37907 *-*-darwin* )
37908 install_name_tool=`which ${HOST_PREFIX}install_name_tool`
37909 if test "$install_name_tool" -a -x "$install_name_tool"; then
37910 DYLIB_RPATH_POSTLINK="${HOST_PREFIX}install_name_tool -id \$@ \$@"
37911 cat <<EOF >change-install-names
37912 #!/bin/sh
37913 libnames=\`cd \${2} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
37914 for i in \${libnames} ; do
37915 ${HOST_PREFIX}install_name_tool -id \${3}/\${i} \${1}/\${i}
37916 for dep in \${libnames} ; do
37917 ${HOST_PREFIX}install_name_tool -change \${2}/\${dep} \${3}/\${dep} \${1}/\${i}
37918 done
37919 done
37920 EOF
37921 chmod +x change-install-names
37922 DYLIB_RPATH_INSTALL="\$(wx_top_builddir)/change-install-names \${DESTDIR}\${libdir} \$(wx_top_builddir)/lib \${libdir}"
37923 fi
37924
37925 HEADER_PAD_OPTION="-headerpad_max_install_names"
37926 ;;
37927
37928 *-*-cygwin* | *-*-mingw32* )
37929 ;;
37930
37931 *-*-hpux* )
37932 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
37933 WXCONFIG_RPATH="-Wl,+b,\$libdir"
37934 ;;
37935
37936 esac
37937 fi
37938
37939 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
37940
37941 if test $wxUSE_RPATH = "no"; then
37942 SAMPLES_RPATH_FLAG=''
37943 DYLIB_PATH_POSTLINK=''
37944 WXCONFIG_RPATH=''
37945 fi
37946
37947 SHARED=1
37948
37949 else
37950
37951 config_linkage_component="-static"
37952 SHARED=0
37953
37954 fi
37955
37956
37957 UNICODE=0
37958 lib_unicode_suffix=
37959 WX_CHARTYPE="ansi"
37960 if test "$wxUSE_UNICODE" = "yes"; then
37961 lib_unicode_suffix=u
37962 WX_CHARTYPE="unicode"
37963 UNICODE=1
37964 fi
37965
37966 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
37967 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
37968
37969 DEBUG_INFO=0
37970 if test "$wxUSE_DEBUG_INFO" = "yes"; then
37971 DEBUG_INFO=1
37972 fi
37973
37974 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
37975
37976 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
37977
37978 TOOLCHAIN_FULLNAME="${HOST_PREFIX}${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
37979
37980
37981 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
37982 WX_LIBRARY_BASENAME_NOGUI="wx_base${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
37983 else
37984 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
37985 fi
37986 if test "${TOOLKIT_DIR}" = "os2"; then
37987 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
37988 else
37989 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
37990 fi
37991
37992
37993
37994 if test "$wxUSE_OLD_COCOA" = 1; then
37995
37996 ac_ext=c
37997 ac_cpp='$CPP $CPPFLAGS'
37998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38001
38002 ac_ext=m
38003
38004 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
38005 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
38006 cat >conftest.$ac_ext <<_ACEOF
38007 /* confdefs.h. */
38008 _ACEOF
38009 cat confdefs.h >>conftest.$ac_ext
38010 cat >>conftest.$ac_ext <<_ACEOF
38011 /* end confdefs.h. */
38012 #include <AppKit/NSEvent.h>
38013 #include <CoreFoundation/CoreFoundation.h>
38014
38015 int
38016 main ()
38017 {
38018
38019 ;
38020 return 0;
38021 }
38022 _ACEOF
38023 rm -f conftest.$ac_objext
38024 if { (ac_try="$ac_compile"
38025 case "(($ac_try" in
38026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38027 *) ac_try_echo=$ac_try;;
38028 esac
38029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38030 (eval "$ac_compile") 2>conftest.er1
38031 ac_status=$?
38032 grep -v '^ *+' conftest.er1 >conftest.err
38033 rm -f conftest.er1
38034 cat conftest.err >&5
38035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38036 (exit $ac_status); } && {
38037 test -z "$ac_c_werror_flag" ||
38038 test ! -s conftest.err
38039 } && test -s conftest.$ac_objext; then
38040 { echo "$as_me:$LINENO: result: no" >&5
38041 echo "${ECHO_T}no" >&6; }
38042 else
38043 echo "$as_me: failed program was:" >&5
38044 sed 's/^/| /' conftest.$ac_ext >&5
38045
38046 { echo "$as_me:$LINENO: result: yes" >&5
38047 echo "${ECHO_T}yes" >&6; }
38048 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
38049 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
38050 cat >conftest.$ac_ext <<_ACEOF
38051 /* confdefs.h. */
38052 _ACEOF
38053 cat confdefs.h >>conftest.$ac_ext
38054 cat >>conftest.$ac_ext <<_ACEOF
38055 /* end confdefs.h. */
38056 #define __Point__ 1
38057 #include <AppKit/NSEvent.h>
38058 #include <CoreFoundation/CoreFoundation.h>
38059
38060 int
38061 main ()
38062 {
38063
38064 ;
38065 return 0;
38066 }
38067 _ACEOF
38068 rm -f conftest.$ac_objext
38069 if { (ac_try="$ac_compile"
38070 case "(($ac_try" in
38071 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38072 *) ac_try_echo=$ac_try;;
38073 esac
38074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38075 (eval "$ac_compile") 2>conftest.er1
38076 ac_status=$?
38077 grep -v '^ *+' conftest.er1 >conftest.err
38078 rm -f conftest.er1
38079 cat conftest.err >&5
38080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38081 (exit $ac_status); } && {
38082 test -z "$ac_c_werror_flag" ||
38083 test ! -s conftest.err
38084 } && test -s conftest.$ac_objext; then
38085 { echo "$as_me:$LINENO: result: yes" >&5
38086 echo "${ECHO_T}yes" >&6; }
38087 cat >>confdefs.h <<\_ACEOF
38088 #define __Point__ 1
38089 _ACEOF
38090
38091
38092 else
38093 echo "$as_me: failed program was:" >&5
38094 sed 's/^/| /' conftest.$ac_ext >&5
38095
38096 { { echo "$as_me:$LINENO: error: no
38097 See \`config.log' for more details." >&5
38098 echo "$as_me: error: no
38099 See \`config.log' for more details." >&2;}
38100 { (exit 1); exit 1; }; }
38101
38102 fi
38103
38104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38105
38106 fi
38107
38108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38109 ac_ext=c
38110 ac_cpp='$CPP $CPPFLAGS'
38111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38114
38115 fi
38116
38117
38118 { echo "$as_me:$LINENO: checking for mode_t" >&5
38119 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
38120 if test "${ac_cv_type_mode_t+set}" = set; then
38121 echo $ECHO_N "(cached) $ECHO_C" >&6
38122 else
38123 cat >conftest.$ac_ext <<_ACEOF
38124 /* confdefs.h. */
38125 _ACEOF
38126 cat confdefs.h >>conftest.$ac_ext
38127 cat >>conftest.$ac_ext <<_ACEOF
38128 /* end confdefs.h. */
38129 $ac_includes_default
38130 typedef mode_t ac__type_new_;
38131 int
38132 main ()
38133 {
38134 if ((ac__type_new_ *) 0)
38135 return 0;
38136 if (sizeof (ac__type_new_))
38137 return 0;
38138 ;
38139 return 0;
38140 }
38141 _ACEOF
38142 rm -f conftest.$ac_objext
38143 if { (ac_try="$ac_compile"
38144 case "(($ac_try" in
38145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38146 *) ac_try_echo=$ac_try;;
38147 esac
38148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38149 (eval "$ac_compile") 2>conftest.er1
38150 ac_status=$?
38151 grep -v '^ *+' conftest.er1 >conftest.err
38152 rm -f conftest.er1
38153 cat conftest.err >&5
38154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38155 (exit $ac_status); } && {
38156 test -z "$ac_c_werror_flag" ||
38157 test ! -s conftest.err
38158 } && test -s conftest.$ac_objext; then
38159 ac_cv_type_mode_t=yes
38160 else
38161 echo "$as_me: failed program was:" >&5
38162 sed 's/^/| /' conftest.$ac_ext >&5
38163
38164 ac_cv_type_mode_t=no
38165 fi
38166
38167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38168 fi
38169 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
38170 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
38171 if test $ac_cv_type_mode_t = yes; then
38172 :
38173 else
38174
38175 cat >>confdefs.h <<_ACEOF
38176 #define mode_t int
38177 _ACEOF
38178
38179 fi
38180
38181 { echo "$as_me:$LINENO: checking for off_t" >&5
38182 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
38183 if test "${ac_cv_type_off_t+set}" = set; then
38184 echo $ECHO_N "(cached) $ECHO_C" >&6
38185 else
38186 cat >conftest.$ac_ext <<_ACEOF
38187 /* confdefs.h. */
38188 _ACEOF
38189 cat confdefs.h >>conftest.$ac_ext
38190 cat >>conftest.$ac_ext <<_ACEOF
38191 /* end confdefs.h. */
38192 $ac_includes_default
38193 typedef off_t ac__type_new_;
38194 int
38195 main ()
38196 {
38197 if ((ac__type_new_ *) 0)
38198 return 0;
38199 if (sizeof (ac__type_new_))
38200 return 0;
38201 ;
38202 return 0;
38203 }
38204 _ACEOF
38205 rm -f conftest.$ac_objext
38206 if { (ac_try="$ac_compile"
38207 case "(($ac_try" in
38208 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38209 *) ac_try_echo=$ac_try;;
38210 esac
38211 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38212 (eval "$ac_compile") 2>conftest.er1
38213 ac_status=$?
38214 grep -v '^ *+' conftest.er1 >conftest.err
38215 rm -f conftest.er1
38216 cat conftest.err >&5
38217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38218 (exit $ac_status); } && {
38219 test -z "$ac_c_werror_flag" ||
38220 test ! -s conftest.err
38221 } && test -s conftest.$ac_objext; then
38222 ac_cv_type_off_t=yes
38223 else
38224 echo "$as_me: failed program was:" >&5
38225 sed 's/^/| /' conftest.$ac_ext >&5
38226
38227 ac_cv_type_off_t=no
38228 fi
38229
38230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38231 fi
38232 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
38233 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
38234 if test $ac_cv_type_off_t = yes; then
38235 :
38236 else
38237
38238 cat >>confdefs.h <<_ACEOF
38239 #define off_t long int
38240 _ACEOF
38241
38242 fi
38243
38244 { echo "$as_me:$LINENO: checking for pid_t" >&5
38245 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
38246 if test "${ac_cv_type_pid_t+set}" = set; then
38247 echo $ECHO_N "(cached) $ECHO_C" >&6
38248 else
38249 cat >conftest.$ac_ext <<_ACEOF
38250 /* confdefs.h. */
38251 _ACEOF
38252 cat confdefs.h >>conftest.$ac_ext
38253 cat >>conftest.$ac_ext <<_ACEOF
38254 /* end confdefs.h. */
38255 $ac_includes_default
38256 typedef pid_t ac__type_new_;
38257 int
38258 main ()
38259 {
38260 if ((ac__type_new_ *) 0)
38261 return 0;
38262 if (sizeof (ac__type_new_))
38263 return 0;
38264 ;
38265 return 0;
38266 }
38267 _ACEOF
38268 rm -f conftest.$ac_objext
38269 if { (ac_try="$ac_compile"
38270 case "(($ac_try" in
38271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38272 *) ac_try_echo=$ac_try;;
38273 esac
38274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38275 (eval "$ac_compile") 2>conftest.er1
38276 ac_status=$?
38277 grep -v '^ *+' conftest.er1 >conftest.err
38278 rm -f conftest.er1
38279 cat conftest.err >&5
38280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38281 (exit $ac_status); } && {
38282 test -z "$ac_c_werror_flag" ||
38283 test ! -s conftest.err
38284 } && test -s conftest.$ac_objext; then
38285 ac_cv_type_pid_t=yes
38286 else
38287 echo "$as_me: failed program was:" >&5
38288 sed 's/^/| /' conftest.$ac_ext >&5
38289
38290 ac_cv_type_pid_t=no
38291 fi
38292
38293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38294 fi
38295 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
38296 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
38297 if test $ac_cv_type_pid_t = yes; then
38298 :
38299 else
38300
38301 cat >>confdefs.h <<_ACEOF
38302 #define pid_t int
38303 _ACEOF
38304
38305 fi
38306
38307 { echo "$as_me:$LINENO: checking for size_t" >&5
38308 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
38309 if test "${ac_cv_type_size_t+set}" = set; then
38310 echo $ECHO_N "(cached) $ECHO_C" >&6
38311 else
38312 cat >conftest.$ac_ext <<_ACEOF
38313 /* confdefs.h. */
38314 _ACEOF
38315 cat confdefs.h >>conftest.$ac_ext
38316 cat >>conftest.$ac_ext <<_ACEOF
38317 /* end confdefs.h. */
38318 $ac_includes_default
38319 typedef size_t ac__type_new_;
38320 int
38321 main ()
38322 {
38323 if ((ac__type_new_ *) 0)
38324 return 0;
38325 if (sizeof (ac__type_new_))
38326 return 0;
38327 ;
38328 return 0;
38329 }
38330 _ACEOF
38331 rm -f conftest.$ac_objext
38332 if { (ac_try="$ac_compile"
38333 case "(($ac_try" in
38334 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38335 *) ac_try_echo=$ac_try;;
38336 esac
38337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38338 (eval "$ac_compile") 2>conftest.er1
38339 ac_status=$?
38340 grep -v '^ *+' conftest.er1 >conftest.err
38341 rm -f conftest.er1
38342 cat conftest.err >&5
38343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38344 (exit $ac_status); } && {
38345 test -z "$ac_c_werror_flag" ||
38346 test ! -s conftest.err
38347 } && test -s conftest.$ac_objext; then
38348 ac_cv_type_size_t=yes
38349 else
38350 echo "$as_me: failed program was:" >&5
38351 sed 's/^/| /' conftest.$ac_ext >&5
38352
38353 ac_cv_type_size_t=no
38354 fi
38355
38356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38357 fi
38358 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
38359 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
38360 if test $ac_cv_type_size_t = yes; then
38361 :
38362 else
38363
38364 cat >>confdefs.h <<_ACEOF
38365 #define size_t unsigned int
38366 _ACEOF
38367
38368 fi
38369
38370
38371 { echo "$as_me:$LINENO: checking for ssize_t" >&5
38372 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
38373 if test "${ac_cv_type_ssize_t+set}" = set; then
38374 echo $ECHO_N "(cached) $ECHO_C" >&6
38375 else
38376 cat >conftest.$ac_ext <<_ACEOF
38377 /* confdefs.h. */
38378 _ACEOF
38379 cat confdefs.h >>conftest.$ac_ext
38380 cat >>conftest.$ac_ext <<_ACEOF
38381 /* end confdefs.h. */
38382 $ac_includes_default
38383 typedef ssize_t ac__type_new_;
38384 int
38385 main ()
38386 {
38387 if ((ac__type_new_ *) 0)
38388 return 0;
38389 if (sizeof (ac__type_new_))
38390 return 0;
38391 ;
38392 return 0;
38393 }
38394 _ACEOF
38395 rm -f conftest.$ac_objext
38396 if { (ac_try="$ac_compile"
38397 case "(($ac_try" in
38398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38399 *) ac_try_echo=$ac_try;;
38400 esac
38401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38402 (eval "$ac_compile") 2>conftest.er1
38403 ac_status=$?
38404 grep -v '^ *+' conftest.er1 >conftest.err
38405 rm -f conftest.er1
38406 cat conftest.err >&5
38407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38408 (exit $ac_status); } && {
38409 test -z "$ac_c_werror_flag" ||
38410 test ! -s conftest.err
38411 } && test -s conftest.$ac_objext; then
38412 ac_cv_type_ssize_t=yes
38413 else
38414 echo "$as_me: failed program was:" >&5
38415 sed 's/^/| /' conftest.$ac_ext >&5
38416
38417 ac_cv_type_ssize_t=no
38418 fi
38419
38420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38421 fi
38422 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
38423 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
38424 if test $ac_cv_type_ssize_t = yes; then
38425
38426 cat >>confdefs.h <<_ACEOF
38427 #define HAVE_SSIZE_T 1
38428 _ACEOF
38429
38430
38431 fi
38432
38433
38434 ac_ext=cpp
38435 ac_cpp='$CXXCPP $CPPFLAGS'
38436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38439 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
38440 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
38441 if test "${wx_cv_size_t_is_uint+set}" = set; then
38442 echo $ECHO_N "(cached) $ECHO_C" >&6
38443 else
38444
38445 cat >conftest.$ac_ext <<_ACEOF
38446 /* confdefs.h. */
38447 _ACEOF
38448 cat confdefs.h >>conftest.$ac_ext
38449 cat >>conftest.$ac_ext <<_ACEOF
38450 /* end confdefs.h. */
38451 #include <stddef.h>
38452 int
38453 main ()
38454 {
38455
38456 return 0; }
38457
38458 struct Foo { void foo(size_t); void foo(unsigned int); };
38459
38460 int bar() {
38461
38462 ;
38463 return 0;
38464 }
38465 _ACEOF
38466 rm -f conftest.$ac_objext
38467 if { (ac_try="$ac_compile"
38468 case "(($ac_try" in
38469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38470 *) ac_try_echo=$ac_try;;
38471 esac
38472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38473 (eval "$ac_compile") 2>conftest.er1
38474 ac_status=$?
38475 grep -v '^ *+' conftest.er1 >conftest.err
38476 rm -f conftest.er1
38477 cat conftest.err >&5
38478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38479 (exit $ac_status); } && {
38480 test -z "$ac_cxx_werror_flag" ||
38481 test ! -s conftest.err
38482 } && test -s conftest.$ac_objext; then
38483 wx_cv_size_t_is_uint=no
38484 else
38485 echo "$as_me: failed program was:" >&5
38486 sed 's/^/| /' conftest.$ac_ext >&5
38487
38488 wx_cv_size_t_is_uint=yes
38489
38490 fi
38491
38492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38493
38494
38495 fi
38496 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
38497 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
38498
38499 if test "$wx_cv_size_t_is_uint" = "yes"; then
38500 cat >>confdefs.h <<\_ACEOF
38501 #define wxSIZE_T_IS_UINT 1
38502 _ACEOF
38503
38504 else
38505 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
38506 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
38507 if test "${wx_cv_size_t_is_ulong+set}" = set; then
38508 echo $ECHO_N "(cached) $ECHO_C" >&6
38509 else
38510 cat >conftest.$ac_ext <<_ACEOF
38511 /* confdefs.h. */
38512 _ACEOF
38513 cat confdefs.h >>conftest.$ac_ext
38514 cat >>conftest.$ac_ext <<_ACEOF
38515 /* end confdefs.h. */
38516 #include <stddef.h>
38517 int
38518 main ()
38519 {
38520
38521 return 0; }
38522
38523 struct Foo { void foo(size_t); void foo(unsigned long); };
38524
38525 int bar() {
38526
38527 ;
38528 return 0;
38529 }
38530 _ACEOF
38531 rm -f conftest.$ac_objext
38532 if { (ac_try="$ac_compile"
38533 case "(($ac_try" in
38534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38535 *) ac_try_echo=$ac_try;;
38536 esac
38537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38538 (eval "$ac_compile") 2>conftest.er1
38539 ac_status=$?
38540 grep -v '^ *+' conftest.er1 >conftest.err
38541 rm -f conftest.er1
38542 cat conftest.err >&5
38543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38544 (exit $ac_status); } && {
38545 test -z "$ac_cxx_werror_flag" ||
38546 test ! -s conftest.err
38547 } && test -s conftest.$ac_objext; then
38548 wx_cv_size_t_is_ulong=no
38549 else
38550 echo "$as_me: failed program was:" >&5
38551 sed 's/^/| /' conftest.$ac_ext >&5
38552
38553 wx_cv_size_t_is_ulong=yes
38554
38555 fi
38556
38557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38558
38559 fi
38560 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
38561 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
38562
38563 if test "$wx_cv_size_t_is_ulong" = "yes"; then
38564 cat >>confdefs.h <<\_ACEOF
38565 #define wxSIZE_T_IS_ULONG 1
38566 _ACEOF
38567
38568 fi
38569 fi
38570
38571 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
38572 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
38573 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
38574 echo $ECHO_N "(cached) $ECHO_C" >&6
38575 else
38576 cat >conftest.$ac_ext <<_ACEOF
38577 /* confdefs.h. */
38578 _ACEOF
38579 cat confdefs.h >>conftest.$ac_ext
38580 cat >>conftest.$ac_ext <<_ACEOF
38581 /* end confdefs.h. */
38582 #include <wchar.h>
38583 int
38584 main ()
38585 {
38586
38587 return 0; }
38588
38589 struct Foo { void foo(wchar_t);
38590 void foo(unsigned short);
38591 void foo(unsigned int);
38592 void foo(unsigned long); };
38593
38594 int bar() {
38595
38596 ;
38597 return 0;
38598 }
38599 _ACEOF
38600 rm -f conftest.$ac_objext
38601 if { (ac_try="$ac_compile"
38602 case "(($ac_try" in
38603 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38604 *) ac_try_echo=$ac_try;;
38605 esac
38606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38607 (eval "$ac_compile") 2>conftest.er1
38608 ac_status=$?
38609 grep -v '^ *+' conftest.er1 >conftest.err
38610 rm -f conftest.er1
38611 cat conftest.err >&5
38612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38613 (exit $ac_status); } && {
38614 test -z "$ac_cxx_werror_flag" ||
38615 test ! -s conftest.err
38616 } && test -s conftest.$ac_objext; then
38617 wx_cv_wchar_t_is_separate_type=yes
38618 else
38619 echo "$as_me: failed program was:" >&5
38620 sed 's/^/| /' conftest.$ac_ext >&5
38621
38622 wx_cv_wchar_t_is_separate_type=no
38623
38624 fi
38625
38626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38627
38628 fi
38629 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
38630 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
38631
38632 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
38633 cat >>confdefs.h <<\_ACEOF
38634 #define wxWCHAR_T_IS_REAL_TYPE 1
38635 _ACEOF
38636
38637 else
38638 cat >>confdefs.h <<\_ACEOF
38639 #define wxWCHAR_T_IS_REAL_TYPE 0
38640 _ACEOF
38641
38642 fi
38643
38644 ac_ext=c
38645 ac_cpp='$CPP $CPPFLAGS'
38646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38649
38650
38651 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
38652 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
38653 if test "${wx_cv_struct_pw_gecos+set}" = set; then
38654 echo $ECHO_N "(cached) $ECHO_C" >&6
38655 else
38656
38657 cat >conftest.$ac_ext <<_ACEOF
38658 /* confdefs.h. */
38659 _ACEOF
38660 cat confdefs.h >>conftest.$ac_ext
38661 cat >>conftest.$ac_ext <<_ACEOF
38662 /* end confdefs.h. */
38663 #include <pwd.h>
38664 int
38665 main ()
38666 {
38667
38668 char *p;
38669 struct passwd *pw;
38670 p = pw->pw_gecos;
38671
38672 ;
38673 return 0;
38674 }
38675 _ACEOF
38676 rm -f conftest.$ac_objext
38677 if { (ac_try="$ac_compile"
38678 case "(($ac_try" in
38679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38680 *) ac_try_echo=$ac_try;;
38681 esac
38682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38683 (eval "$ac_compile") 2>conftest.er1
38684 ac_status=$?
38685 grep -v '^ *+' conftest.er1 >conftest.err
38686 rm -f conftest.er1
38687 cat conftest.err >&5
38688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38689 (exit $ac_status); } && {
38690 test -z "$ac_c_werror_flag" ||
38691 test ! -s conftest.err
38692 } && test -s conftest.$ac_objext; then
38693
38694 wx_cv_struct_pw_gecos=yes
38695
38696 else
38697 echo "$as_me: failed program was:" >&5
38698 sed 's/^/| /' conftest.$ac_ext >&5
38699
38700
38701 wx_cv_struct_pw_gecos=no
38702
38703
38704 fi
38705
38706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38707
38708
38709 fi
38710 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
38711 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
38712
38713 if test "$wx_cv_struct_pw_gecos" = "yes"; then
38714 cat >>confdefs.h <<\_ACEOF
38715 #define HAVE_PW_GECOS 1
38716 _ACEOF
38717
38718 fi
38719
38720
38721 WCSLEN_FOUND=0
38722 WCHAR_LINK=
38723
38724 for ac_func in wcslen
38725 do
38726 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38727 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38728 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38729 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38730 echo $ECHO_N "(cached) $ECHO_C" >&6
38731 else
38732 cat >conftest.$ac_ext <<_ACEOF
38733 /* confdefs.h. */
38734 _ACEOF
38735 cat confdefs.h >>conftest.$ac_ext
38736 cat >>conftest.$ac_ext <<_ACEOF
38737 /* end confdefs.h. */
38738 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38739 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38740 #define $ac_func innocuous_$ac_func
38741
38742 /* System header to define __stub macros and hopefully few prototypes,
38743 which can conflict with char $ac_func (); below.
38744 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38745 <limits.h> exists even on freestanding compilers. */
38746
38747 #ifdef __STDC__
38748 # include <limits.h>
38749 #else
38750 # include <assert.h>
38751 #endif
38752
38753 #undef $ac_func
38754
38755 /* Override any GCC internal prototype to avoid an error.
38756 Use char because int might match the return type of a GCC
38757 builtin and then its argument prototype would still apply. */
38758 #ifdef __cplusplus
38759 extern "C"
38760 #endif
38761 char $ac_func ();
38762 /* The GNU C library defines this for functions which it implements
38763 to always fail with ENOSYS. Some functions are actually named
38764 something starting with __ and the normal name is an alias. */
38765 #if defined __stub_$ac_func || defined __stub___$ac_func
38766 choke me
38767 #endif
38768
38769 int
38770 main ()
38771 {
38772 return $ac_func ();
38773 ;
38774 return 0;
38775 }
38776 _ACEOF
38777 rm -f conftest.$ac_objext conftest$ac_exeext
38778 if { (ac_try="$ac_link"
38779 case "(($ac_try" in
38780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38781 *) ac_try_echo=$ac_try;;
38782 esac
38783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38784 (eval "$ac_link") 2>conftest.er1
38785 ac_status=$?
38786 grep -v '^ *+' conftest.er1 >conftest.err
38787 rm -f conftest.er1
38788 cat conftest.err >&5
38789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38790 (exit $ac_status); } && {
38791 test -z "$ac_c_werror_flag" ||
38792 test ! -s conftest.err
38793 } && test -s conftest$ac_exeext &&
38794 $as_test_x conftest$ac_exeext; then
38795 eval "$as_ac_var=yes"
38796 else
38797 echo "$as_me: failed program was:" >&5
38798 sed 's/^/| /' conftest.$ac_ext >&5
38799
38800 eval "$as_ac_var=no"
38801 fi
38802
38803 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38804 conftest$ac_exeext conftest.$ac_ext
38805 fi
38806 ac_res=`eval echo '${'$as_ac_var'}'`
38807 { echo "$as_me:$LINENO: result: $ac_res" >&5
38808 echo "${ECHO_T}$ac_res" >&6; }
38809 if test `eval echo '${'$as_ac_var'}'` = yes; then
38810 cat >>confdefs.h <<_ACEOF
38811 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38812 _ACEOF
38813 WCSLEN_FOUND=1
38814 fi
38815 done
38816
38817
38818 if test "$WCSLEN_FOUND" = 0; then
38819 if test "$TOOLKIT" = "MSW"; then
38820 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
38821 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
38822 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
38823 echo $ECHO_N "(cached) $ECHO_C" >&6
38824 else
38825 ac_check_lib_save_LIBS=$LIBS
38826 LIBS="-lmsvcrt $LIBS"
38827 cat >conftest.$ac_ext <<_ACEOF
38828 /* confdefs.h. */
38829 _ACEOF
38830 cat confdefs.h >>conftest.$ac_ext
38831 cat >>conftest.$ac_ext <<_ACEOF
38832 /* end confdefs.h. */
38833
38834 /* Override any GCC internal prototype to avoid an error.
38835 Use char because int might match the return type of a GCC
38836 builtin and then its argument prototype would still apply. */
38837 #ifdef __cplusplus
38838 extern "C"
38839 #endif
38840 char wcslen ();
38841 int
38842 main ()
38843 {
38844 return wcslen ();
38845 ;
38846 return 0;
38847 }
38848 _ACEOF
38849 rm -f conftest.$ac_objext conftest$ac_exeext
38850 if { (ac_try="$ac_link"
38851 case "(($ac_try" in
38852 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38853 *) ac_try_echo=$ac_try;;
38854 esac
38855 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38856 (eval "$ac_link") 2>conftest.er1
38857 ac_status=$?
38858 grep -v '^ *+' conftest.er1 >conftest.err
38859 rm -f conftest.er1
38860 cat conftest.err >&5
38861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38862 (exit $ac_status); } && {
38863 test -z "$ac_c_werror_flag" ||
38864 test ! -s conftest.err
38865 } && test -s conftest$ac_exeext &&
38866 $as_test_x conftest$ac_exeext; then
38867 ac_cv_lib_msvcrt_wcslen=yes
38868 else
38869 echo "$as_me: failed program was:" >&5
38870 sed 's/^/| /' conftest.$ac_ext >&5
38871
38872 ac_cv_lib_msvcrt_wcslen=no
38873 fi
38874
38875 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38876 conftest$ac_exeext conftest.$ac_ext
38877 LIBS=$ac_check_lib_save_LIBS
38878 fi
38879 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
38880 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
38881 if test $ac_cv_lib_msvcrt_wcslen = yes; then
38882 WCHAR_OK=1
38883 fi
38884
38885 else
38886 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
38887 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
38888 if test "${ac_cv_lib_w_wcslen+set}" = set; then
38889 echo $ECHO_N "(cached) $ECHO_C" >&6
38890 else
38891 ac_check_lib_save_LIBS=$LIBS
38892 LIBS="-lw $LIBS"
38893 cat >conftest.$ac_ext <<_ACEOF
38894 /* confdefs.h. */
38895 _ACEOF
38896 cat confdefs.h >>conftest.$ac_ext
38897 cat >>conftest.$ac_ext <<_ACEOF
38898 /* end confdefs.h. */
38899
38900 /* Override any GCC internal prototype to avoid an error.
38901 Use char because int might match the return type of a GCC
38902 builtin and then its argument prototype would still apply. */
38903 #ifdef __cplusplus
38904 extern "C"
38905 #endif
38906 char wcslen ();
38907 int
38908 main ()
38909 {
38910 return wcslen ();
38911 ;
38912 return 0;
38913 }
38914 _ACEOF
38915 rm -f conftest.$ac_objext conftest$ac_exeext
38916 if { (ac_try="$ac_link"
38917 case "(($ac_try" in
38918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38919 *) ac_try_echo=$ac_try;;
38920 esac
38921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38922 (eval "$ac_link") 2>conftest.er1
38923 ac_status=$?
38924 grep -v '^ *+' conftest.er1 >conftest.err
38925 rm -f conftest.er1
38926 cat conftest.err >&5
38927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38928 (exit $ac_status); } && {
38929 test -z "$ac_c_werror_flag" ||
38930 test ! -s conftest.err
38931 } && test -s conftest$ac_exeext &&
38932 $as_test_x conftest$ac_exeext; then
38933 ac_cv_lib_w_wcslen=yes
38934 else
38935 echo "$as_me: failed program was:" >&5
38936 sed 's/^/| /' conftest.$ac_ext >&5
38937
38938 ac_cv_lib_w_wcslen=no
38939 fi
38940
38941 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38942 conftest$ac_exeext conftest.$ac_ext
38943 LIBS=$ac_check_lib_save_LIBS
38944 fi
38945 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
38946 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
38947 if test $ac_cv_lib_w_wcslen = yes; then
38948
38949 WCHAR_LINK=" -lw"
38950 WCSLEN_FOUND=1
38951
38952 fi
38953
38954 fi
38955 fi
38956
38957 if test "$WCSLEN_FOUND" = 1; then
38958 cat >>confdefs.h <<\_ACEOF
38959 #define HAVE_WCSLEN 1
38960 _ACEOF
38961
38962 fi
38963
38964
38965
38966
38967
38968
38969
38970 for ac_func in wcsdup wcsftime strnlen wcsnlen wcscasecmp wcsncasecmp
38971 do
38972 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38973 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38974 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38975 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38976 echo $ECHO_N "(cached) $ECHO_C" >&6
38977 else
38978 cat >conftest.$ac_ext <<_ACEOF
38979 /* confdefs.h. */
38980 _ACEOF
38981 cat confdefs.h >>conftest.$ac_ext
38982 cat >>conftest.$ac_ext <<_ACEOF
38983 /* end confdefs.h. */
38984 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38985 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38986 #define $ac_func innocuous_$ac_func
38987
38988 /* System header to define __stub macros and hopefully few prototypes,
38989 which can conflict with char $ac_func (); below.
38990 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38991 <limits.h> exists even on freestanding compilers. */
38992
38993 #ifdef __STDC__
38994 # include <limits.h>
38995 #else
38996 # include <assert.h>
38997 #endif
38998
38999 #undef $ac_func
39000
39001 /* Override any GCC internal prototype to avoid an error.
39002 Use char because int might match the return type of a GCC
39003 builtin and then its argument prototype would still apply. */
39004 #ifdef __cplusplus
39005 extern "C"
39006 #endif
39007 char $ac_func ();
39008 /* The GNU C library defines this for functions which it implements
39009 to always fail with ENOSYS. Some functions are actually named
39010 something starting with __ and the normal name is an alias. */
39011 #if defined __stub_$ac_func || defined __stub___$ac_func
39012 choke me
39013 #endif
39014
39015 int
39016 main ()
39017 {
39018 return $ac_func ();
39019 ;
39020 return 0;
39021 }
39022 _ACEOF
39023 rm -f conftest.$ac_objext conftest$ac_exeext
39024 if { (ac_try="$ac_link"
39025 case "(($ac_try" in
39026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39027 *) ac_try_echo=$ac_try;;
39028 esac
39029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39030 (eval "$ac_link") 2>conftest.er1
39031 ac_status=$?
39032 grep -v '^ *+' conftest.er1 >conftest.err
39033 rm -f conftest.er1
39034 cat conftest.err >&5
39035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39036 (exit $ac_status); } && {
39037 test -z "$ac_c_werror_flag" ||
39038 test ! -s conftest.err
39039 } && test -s conftest$ac_exeext &&
39040 $as_test_x conftest$ac_exeext; then
39041 eval "$as_ac_var=yes"
39042 else
39043 echo "$as_me: failed program was:" >&5
39044 sed 's/^/| /' conftest.$ac_ext >&5
39045
39046 eval "$as_ac_var=no"
39047 fi
39048
39049 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39050 conftest$ac_exeext conftest.$ac_ext
39051 fi
39052 ac_res=`eval echo '${'$as_ac_var'}'`
39053 { echo "$as_me:$LINENO: result: $ac_res" >&5
39054 echo "${ECHO_T}$ac_res" >&6; }
39055 if test `eval echo '${'$as_ac_var'}'` = yes; then
39056 cat >>confdefs.h <<_ACEOF
39057 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39058 _ACEOF
39059
39060 fi
39061 done
39062
39063
39064 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
39065 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
39066 fi
39067
39068 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
39069 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
39070 if test "${ac_cv_type_mbstate_t+set}" = set; then
39071 echo $ECHO_N "(cached) $ECHO_C" >&6
39072 else
39073 cat >conftest.$ac_ext <<_ACEOF
39074 /* confdefs.h. */
39075 _ACEOF
39076 cat confdefs.h >>conftest.$ac_ext
39077 cat >>conftest.$ac_ext <<_ACEOF
39078 /* end confdefs.h. */
39079 #include <wchar.h>
39080
39081 typedef mbstate_t ac__type_new_;
39082 int
39083 main ()
39084 {
39085 if ((ac__type_new_ *) 0)
39086 return 0;
39087 if (sizeof (ac__type_new_))
39088 return 0;
39089 ;
39090 return 0;
39091 }
39092 _ACEOF
39093 rm -f conftest.$ac_objext
39094 if { (ac_try="$ac_compile"
39095 case "(($ac_try" in
39096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39097 *) ac_try_echo=$ac_try;;
39098 esac
39099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39100 (eval "$ac_compile") 2>conftest.er1
39101 ac_status=$?
39102 grep -v '^ *+' conftest.er1 >conftest.err
39103 rm -f conftest.er1
39104 cat conftest.err >&5
39105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39106 (exit $ac_status); } && {
39107 test -z "$ac_c_werror_flag" ||
39108 test ! -s conftest.err
39109 } && test -s conftest.$ac_objext; then
39110 ac_cv_type_mbstate_t=yes
39111 else
39112 echo "$as_me: failed program was:" >&5
39113 sed 's/^/| /' conftest.$ac_ext >&5
39114
39115 ac_cv_type_mbstate_t=no
39116 fi
39117
39118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39119 fi
39120 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
39121 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
39122 if test $ac_cv_type_mbstate_t = yes; then
39123
39124 cat >>confdefs.h <<_ACEOF
39125 #define HAVE_MBSTATE_T 1
39126 _ACEOF
39127
39128
39129 for ac_func in wcsrtombs
39130 do
39131 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39132 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39133 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39134 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39135 echo $ECHO_N "(cached) $ECHO_C" >&6
39136 else
39137 cat >conftest.$ac_ext <<_ACEOF
39138 /* confdefs.h. */
39139 _ACEOF
39140 cat confdefs.h >>conftest.$ac_ext
39141 cat >>conftest.$ac_ext <<_ACEOF
39142 /* end confdefs.h. */
39143 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39144 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39145 #define $ac_func innocuous_$ac_func
39146
39147 /* System header to define __stub macros and hopefully few prototypes,
39148 which can conflict with char $ac_func (); below.
39149 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39150 <limits.h> exists even on freestanding compilers. */
39151
39152 #ifdef __STDC__
39153 # include <limits.h>
39154 #else
39155 # include <assert.h>
39156 #endif
39157
39158 #undef $ac_func
39159
39160 /* Override any GCC internal prototype to avoid an error.
39161 Use char because int might match the return type of a GCC
39162 builtin and then its argument prototype would still apply. */
39163 #ifdef __cplusplus
39164 extern "C"
39165 #endif
39166 char $ac_func ();
39167 /* The GNU C library defines this for functions which it implements
39168 to always fail with ENOSYS. Some functions are actually named
39169 something starting with __ and the normal name is an alias. */
39170 #if defined __stub_$ac_func || defined __stub___$ac_func
39171 choke me
39172 #endif
39173
39174 int
39175 main ()
39176 {
39177 return $ac_func ();
39178 ;
39179 return 0;
39180 }
39181 _ACEOF
39182 rm -f conftest.$ac_objext conftest$ac_exeext
39183 if { (ac_try="$ac_link"
39184 case "(($ac_try" in
39185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39186 *) ac_try_echo=$ac_try;;
39187 esac
39188 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39189 (eval "$ac_link") 2>conftest.er1
39190 ac_status=$?
39191 grep -v '^ *+' conftest.er1 >conftest.err
39192 rm -f conftest.er1
39193 cat conftest.err >&5
39194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39195 (exit $ac_status); } && {
39196 test -z "$ac_c_werror_flag" ||
39197 test ! -s conftest.err
39198 } && test -s conftest$ac_exeext &&
39199 $as_test_x conftest$ac_exeext; then
39200 eval "$as_ac_var=yes"
39201 else
39202 echo "$as_me: failed program was:" >&5
39203 sed 's/^/| /' conftest.$ac_ext >&5
39204
39205 eval "$as_ac_var=no"
39206 fi
39207
39208 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39209 conftest$ac_exeext conftest.$ac_ext
39210 fi
39211 ac_res=`eval echo '${'$as_ac_var'}'`
39212 { echo "$as_me:$LINENO: result: $ac_res" >&5
39213 echo "${ECHO_T}$ac_res" >&6; }
39214 if test `eval echo '${'$as_ac_var'}'` = yes; then
39215 cat >>confdefs.h <<_ACEOF
39216 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39217 _ACEOF
39218
39219 fi
39220 done
39221
39222 fi
39223
39224
39225
39226
39227
39228 for ac_func in snprintf vsnprintf vsscanf
39229 do
39230 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39231 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39232 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39233 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39234 echo $ECHO_N "(cached) $ECHO_C" >&6
39235 else
39236 cat >conftest.$ac_ext <<_ACEOF
39237 /* confdefs.h. */
39238 _ACEOF
39239 cat confdefs.h >>conftest.$ac_ext
39240 cat >>conftest.$ac_ext <<_ACEOF
39241 /* end confdefs.h. */
39242 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39243 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39244 #define $ac_func innocuous_$ac_func
39245
39246 /* System header to define __stub macros and hopefully few prototypes,
39247 which can conflict with char $ac_func (); below.
39248 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39249 <limits.h> exists even on freestanding compilers. */
39250
39251 #ifdef __STDC__
39252 # include <limits.h>
39253 #else
39254 # include <assert.h>
39255 #endif
39256
39257 #undef $ac_func
39258
39259 /* Override any GCC internal prototype to avoid an error.
39260 Use char because int might match the return type of a GCC
39261 builtin and then its argument prototype would still apply. */
39262 #ifdef __cplusplus
39263 extern "C"
39264 #endif
39265 char $ac_func ();
39266 /* The GNU C library defines this for functions which it implements
39267 to always fail with ENOSYS. Some functions are actually named
39268 something starting with __ and the normal name is an alias. */
39269 #if defined __stub_$ac_func || defined __stub___$ac_func
39270 choke me
39271 #endif
39272
39273 int
39274 main ()
39275 {
39276 return $ac_func ();
39277 ;
39278 return 0;
39279 }
39280 _ACEOF
39281 rm -f conftest.$ac_objext conftest$ac_exeext
39282 if { (ac_try="$ac_link"
39283 case "(($ac_try" in
39284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39285 *) ac_try_echo=$ac_try;;
39286 esac
39287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39288 (eval "$ac_link") 2>conftest.er1
39289 ac_status=$?
39290 grep -v '^ *+' conftest.er1 >conftest.err
39291 rm -f conftest.er1
39292 cat conftest.err >&5
39293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39294 (exit $ac_status); } && {
39295 test -z "$ac_c_werror_flag" ||
39296 test ! -s conftest.err
39297 } && test -s conftest$ac_exeext &&
39298 $as_test_x conftest$ac_exeext; then
39299 eval "$as_ac_var=yes"
39300 else
39301 echo "$as_me: failed program was:" >&5
39302 sed 's/^/| /' conftest.$ac_ext >&5
39303
39304 eval "$as_ac_var=no"
39305 fi
39306
39307 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39308 conftest$ac_exeext conftest.$ac_ext
39309 fi
39310 ac_res=`eval echo '${'$as_ac_var'}'`
39311 { echo "$as_me:$LINENO: result: $ac_res" >&5
39312 echo "${ECHO_T}$ac_res" >&6; }
39313 if test `eval echo '${'$as_ac_var'}'` = yes; then
39314 cat >>confdefs.h <<_ACEOF
39315 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39316 _ACEOF
39317
39318 fi
39319 done
39320
39321
39322 ac_ext=cpp
39323 ac_cpp='$CXXCPP $CPPFLAGS'
39324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39327
39328 if test "$ac_cv_func_vsnprintf" = "yes"; then
39329 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
39330 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
39331 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
39332 echo $ECHO_N "(cached) $ECHO_C" >&6
39333 else
39334
39335 cat >conftest.$ac_ext <<_ACEOF
39336 /* confdefs.h. */
39337 _ACEOF
39338 cat confdefs.h >>conftest.$ac_ext
39339 cat >>conftest.$ac_ext <<_ACEOF
39340 /* end confdefs.h. */
39341
39342 #include <stdio.h>
39343 #include <stdarg.h>
39344 #ifdef __MSL__
39345 #if __MSL__ >= 0x6000
39346 namespace std {}
39347 using namespace std;
39348 #endif
39349 #endif
39350
39351 int
39352 main ()
39353 {
39354
39355 char *buf;
39356 va_list ap;
39357 vsnprintf(buf, 10u, "%s", ap);
39358
39359 ;
39360 return 0;
39361 }
39362 _ACEOF
39363 rm -f conftest.$ac_objext
39364 if { (ac_try="$ac_compile"
39365 case "(($ac_try" in
39366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39367 *) ac_try_echo=$ac_try;;
39368 esac
39369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39370 (eval "$ac_compile") 2>conftest.er1
39371 ac_status=$?
39372 grep -v '^ *+' conftest.er1 >conftest.err
39373 rm -f conftest.er1
39374 cat conftest.err >&5
39375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39376 (exit $ac_status); } && {
39377 test -z "$ac_cxx_werror_flag" ||
39378 test ! -s conftest.err
39379 } && test -s conftest.$ac_objext; then
39380 wx_cv_func_vsnprintf_decl=yes
39381 else
39382 echo "$as_me: failed program was:" >&5
39383 sed 's/^/| /' conftest.$ac_ext >&5
39384
39385 wx_cv_func_vsnprintf_decl=no
39386
39387 fi
39388
39389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39390
39391
39392 fi
39393 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
39394 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
39395
39396 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
39397 cat >>confdefs.h <<\_ACEOF
39398 #define HAVE_VSNPRINTF_DECL 1
39399 _ACEOF
39400
39401
39402 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
39403 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
39404 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
39405 echo $ECHO_N "(cached) $ECHO_C" >&6
39406 else
39407
39408 cat >conftest.$ac_ext <<_ACEOF
39409 /* confdefs.h. */
39410 _ACEOF
39411 cat confdefs.h >>conftest.$ac_ext
39412 cat >>conftest.$ac_ext <<_ACEOF
39413 /* end confdefs.h. */
39414
39415 #include <stdio.h>
39416 #include <stdarg.h>
39417 #ifdef __MSL__
39418 #if __MSL__ >= 0x6000
39419 namespace std {}
39420 using namespace std;
39421 #endif
39422 #endif
39423
39424 int
39425 main ()
39426 {
39427
39428 char *buf;
39429 va_list ap;
39430 const char *fmt = "%s";
39431 vsnprintf(buf, 10u, fmt, ap);
39432
39433 ;
39434 return 0;
39435 }
39436 _ACEOF
39437 rm -f conftest.$ac_objext
39438 if { (ac_try="$ac_compile"
39439 case "(($ac_try" in
39440 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39441 *) ac_try_echo=$ac_try;;
39442 esac
39443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39444 (eval "$ac_compile") 2>conftest.er1
39445 ac_status=$?
39446 grep -v '^ *+' conftest.er1 >conftest.err
39447 rm -f conftest.er1
39448 cat conftest.err >&5
39449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39450 (exit $ac_status); } && {
39451 test -z "$ac_cxx_werror_flag" ||
39452 test ! -s conftest.err
39453 } && test -s conftest.$ac_objext; then
39454 wx_cv_func_broken_vsnprintf_decl=no
39455 else
39456 echo "$as_me: failed program was:" >&5
39457 sed 's/^/| /' conftest.$ac_ext >&5
39458
39459 wx_cv_func_broken_vsnprintf_decl=yes
39460
39461 fi
39462
39463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39464
39465
39466 fi
39467 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
39468 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
39469
39470 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
39471 cat >>confdefs.h <<\_ACEOF
39472 #define HAVE_BROKEN_VSNPRINTF_DECL 1
39473 _ACEOF
39474
39475 fi
39476 fi
39477 fi
39478
39479 if test "$ac_cv_func_snprintf" = "yes"; then
39480 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
39481 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
39482 if test "${wx_cv_func_snprintf_decl+set}" = set; then
39483 echo $ECHO_N "(cached) $ECHO_C" >&6
39484 else
39485
39486 cat >conftest.$ac_ext <<_ACEOF
39487 /* confdefs.h. */
39488 _ACEOF
39489 cat confdefs.h >>conftest.$ac_ext
39490 cat >>conftest.$ac_ext <<_ACEOF
39491 /* end confdefs.h. */
39492
39493 #include <stdio.h>
39494 #include <stdarg.h>
39495 #ifdef __MSL__
39496 #if __MSL__ >= 0x6000
39497 namespace std {}
39498 using namespace std;
39499 #endif
39500 #endif
39501
39502 int
39503 main ()
39504 {
39505
39506 char *buf;
39507 snprintf(buf, 10u, "%s", "wx");
39508
39509 ;
39510 return 0;
39511 }
39512 _ACEOF
39513 rm -f conftest.$ac_objext
39514 if { (ac_try="$ac_compile"
39515 case "(($ac_try" in
39516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39517 *) ac_try_echo=$ac_try;;
39518 esac
39519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39520 (eval "$ac_compile") 2>conftest.er1
39521 ac_status=$?
39522 grep -v '^ *+' conftest.er1 >conftest.err
39523 rm -f conftest.er1
39524 cat conftest.err >&5
39525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39526 (exit $ac_status); } && {
39527 test -z "$ac_cxx_werror_flag" ||
39528 test ! -s conftest.err
39529 } && test -s conftest.$ac_objext; then
39530 wx_cv_func_snprintf_decl=yes
39531 else
39532 echo "$as_me: failed program was:" >&5
39533 sed 's/^/| /' conftest.$ac_ext >&5
39534
39535 wx_cv_func_snprintf_decl=no
39536
39537 fi
39538
39539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39540
39541
39542 fi
39543 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
39544 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
39545
39546 if test "$wx_cv_func_snprintf_decl" = "yes"; then
39547 cat >>confdefs.h <<\_ACEOF
39548 #define HAVE_SNPRINTF_DECL 1
39549 _ACEOF
39550
39551 fi
39552
39553 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
39554
39555 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
39556 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
39557 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
39558 echo $ECHO_N "(cached) $ECHO_C" >&6
39559 else
39560
39561 if test "$cross_compiling" = yes; then
39562
39563 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
39564 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
39565 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
39566 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
39567 wx_cv_func_snprintf_pos_params=no
39568
39569
39570 else
39571 cat >conftest.$ac_ext <<_ACEOF
39572 /* confdefs.h. */
39573 _ACEOF
39574 cat confdefs.h >>conftest.$ac_ext
39575 cat >>conftest.$ac_ext <<_ACEOF
39576 /* end confdefs.h. */
39577
39578 #include <stdio.h>
39579
39580 int main (void)
39581 {
39582 char buffer[128];
39583 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
39584 if (strcmp ("2 3 1", buffer) == 0)
39585 exit (0);
39586 exit (1);
39587 }
39588
39589 _ACEOF
39590 rm -f conftest$ac_exeext
39591 if { (ac_try="$ac_link"
39592 case "(($ac_try" in
39593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39594 *) ac_try_echo=$ac_try;;
39595 esac
39596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39597 (eval "$ac_link") 2>&5
39598 ac_status=$?
39599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39600 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
39601 { (case "(($ac_try" in
39602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39603 *) ac_try_echo=$ac_try;;
39604 esac
39605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39606 (eval "$ac_try") 2>&5
39607 ac_status=$?
39608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39609 (exit $ac_status); }; }; then
39610 wx_cv_func_snprintf_pos_params=no
39611 else
39612 echo "$as_me: program exited with status $ac_status" >&5
39613 echo "$as_me: failed program was:" >&5
39614 sed 's/^/| /' conftest.$ac_ext >&5
39615
39616 ( exit $ac_status )
39617 wx_cv_func_snprintf_pos_params=yes
39618 fi
39619 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
39620 fi
39621
39622
39623
39624
39625 fi
39626 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
39627 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
39628
39629 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
39630 cat >>confdefs.h <<\_ACEOF
39631 #define HAVE_UNIX98_PRINTF 1
39632 _ACEOF
39633
39634 fi
39635 fi
39636 fi
39637
39638 if test "$ac_cv_func_vsscanf" = "yes"; then
39639 { echo "$as_me:$LINENO: checking for vsscanf declaration" >&5
39640 echo $ECHO_N "checking for vsscanf declaration... $ECHO_C" >&6; }
39641 if test "${wx_cv_func_vsscanf_decl+set}" = set; then
39642 echo $ECHO_N "(cached) $ECHO_C" >&6
39643 else
39644
39645 cat >conftest.$ac_ext <<_ACEOF
39646 /* confdefs.h. */
39647 _ACEOF
39648 cat confdefs.h >>conftest.$ac_ext
39649 cat >>conftest.$ac_ext <<_ACEOF
39650 /* end confdefs.h. */
39651
39652 #include <stdio.h>
39653 #include <stdarg.h>
39654 #ifdef __MSL__
39655 #if __MSL__ >= 0x6000
39656 namespace std {}
39657 using namespace std;
39658 #endif
39659 #endif
39660
39661 int
39662 main ()
39663 {
39664
39665 char *buf;
39666 va_list args;
39667 vsscanf(buf, "%s", args);
39668
39669 ;
39670 return 0;
39671 }
39672 _ACEOF
39673 rm -f conftest.$ac_objext
39674 if { (ac_try="$ac_compile"
39675 case "(($ac_try" in
39676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39677 *) ac_try_echo=$ac_try;;
39678 esac
39679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39680 (eval "$ac_compile") 2>conftest.er1
39681 ac_status=$?
39682 grep -v '^ *+' conftest.er1 >conftest.err
39683 rm -f conftest.er1
39684 cat conftest.err >&5
39685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39686 (exit $ac_status); } && {
39687 test -z "$ac_cxx_werror_flag" ||
39688 test ! -s conftest.err
39689 } && test -s conftest.$ac_objext; then
39690 wx_cv_func_vsscanf_decl=yes
39691 else
39692 echo "$as_me: failed program was:" >&5
39693 sed 's/^/| /' conftest.$ac_ext >&5
39694
39695 wx_cv_func_vsscanf_decl=no
39696
39697 fi
39698
39699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39700
39701
39702 fi
39703 { echo "$as_me:$LINENO: result: $wx_cv_func_vsscanf_decl" >&5
39704 echo "${ECHO_T}$wx_cv_func_vsscanf_decl" >&6; }
39705
39706 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
39707 cat >>confdefs.h <<\_ACEOF
39708 #define HAVE_VSSCANF_DECL 1
39709 _ACEOF
39710
39711 fi
39712 fi
39713 ac_ext=c
39714 ac_cpp='$CPP $CPPFLAGS'
39715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39718
39719
39720 if test "$wxUSE_UNICODE" = yes; then
39721
39722 wchar_headers="#include <stdio.h>
39723 #include <wchar.h>"
39724 case "${host}" in
39725 *-*-solaris2* )
39726
39727 for ac_header in widec.h
39728 do
39729 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39730 { echo "$as_me:$LINENO: checking for $ac_header" >&5
39731 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
39732 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
39733 echo $ECHO_N "(cached) $ECHO_C" >&6
39734 else
39735 cat >conftest.$ac_ext <<_ACEOF
39736 /* confdefs.h. */
39737 _ACEOF
39738 cat confdefs.h >>conftest.$ac_ext
39739 cat >>conftest.$ac_ext <<_ACEOF
39740 /* end confdefs.h. */
39741 $ac_includes_default
39742
39743 #include <$ac_header>
39744 _ACEOF
39745 rm -f conftest.$ac_objext
39746 if { (ac_try="$ac_compile"
39747 case "(($ac_try" in
39748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39749 *) ac_try_echo=$ac_try;;
39750 esac
39751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39752 (eval "$ac_compile") 2>conftest.er1
39753 ac_status=$?
39754 grep -v '^ *+' conftest.er1 >conftest.err
39755 rm -f conftest.er1
39756 cat conftest.err >&5
39757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39758 (exit $ac_status); } && {
39759 test -z "$ac_c_werror_flag" ||
39760 test ! -s conftest.err
39761 } && test -s conftest.$ac_objext; then
39762 eval "$as_ac_Header=yes"
39763 else
39764 echo "$as_me: failed program was:" >&5
39765 sed 's/^/| /' conftest.$ac_ext >&5
39766
39767 eval "$as_ac_Header=no"
39768 fi
39769
39770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39771 fi
39772 ac_res=`eval echo '${'$as_ac_Header'}'`
39773 { echo "$as_me:$LINENO: result: $ac_res" >&5
39774 echo "${ECHO_T}$ac_res" >&6; }
39775 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39776 cat >>confdefs.h <<_ACEOF
39777 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39778 _ACEOF
39779
39780 fi
39781
39782 done
39783
39784 if test "$ac_cv_header_widec_h" = "yes"; then
39785 wchar_headers="$wchar_headers
39786 #include <widec.h>"
39787 fi
39788 esac
39789
39790
39791 for wx_func in putws fputws wprintf vswprintf vswscanf
39792 do
39793 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39794 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39795 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39796 echo $ECHO_N "(cached) $ECHO_C" >&6
39797 else
39798
39799 cat >conftest.$ac_ext <<_ACEOF
39800
39801 /* confdefs.h. */
39802 _ACEOF
39803 cat confdefs.h >>conftest.$ac_ext
39804 cat >>conftest.$ac_ext <<_ACEOF
39805 /* end confdefs.h. */
39806
39807 $wchar_headers
39808 $ac_includes_default
39809
39810 int
39811 main ()
39812 {
39813
39814 #ifndef $wx_func
39815 &$wx_func;
39816 #endif
39817
39818
39819 ;
39820 return 0;
39821 }
39822
39823 _ACEOF
39824 rm -f conftest.$ac_objext conftest$ac_exeext
39825 if { (ac_try="$ac_link"
39826 case "(($ac_try" in
39827 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39828 *) ac_try_echo=$ac_try;;
39829 esac
39830 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39831 (eval "$ac_link") 2>conftest.er1
39832 ac_status=$?
39833 grep -v '^ *+' conftest.er1 >conftest.err
39834 rm -f conftest.er1
39835 cat conftest.err >&5
39836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39837 (exit $ac_status); } && {
39838 test -z "$ac_c_werror_flag" ||
39839 test ! -s conftest.err
39840 } && test -s conftest$ac_exeext &&
39841 $as_test_x conftest$ac_exeext; then
39842 eval wx_cv_func_$wx_func=yes
39843 else
39844 echo "$as_me: failed program was:" >&5
39845 sed 's/^/| /' conftest.$ac_ext >&5
39846
39847 eval wx_cv_func_$wx_func=no
39848 fi
39849
39850 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39851 conftest$ac_exeext conftest.$ac_ext
39852
39853 fi
39854 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39855 { echo "$as_me:$LINENO: result: $ac_res" >&5
39856 echo "${ECHO_T}$ac_res" >&6; }
39857
39858 if eval test \$wx_cv_func_$wx_func = yes
39859 then
39860 cat >>confdefs.h <<_ACEOF
39861 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39862 _ACEOF
39863
39864
39865 else
39866 :
39867
39868 fi
39869 done
39870
39871
39872 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
39873 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
39874 cat >conftest.$ac_ext <<_ACEOF
39875 /* confdefs.h. */
39876 _ACEOF
39877 cat confdefs.h >>conftest.$ac_ext
39878 cat >>conftest.$ac_ext <<_ACEOF
39879 /* end confdefs.h. */
39880 #include <wchar.h>
39881 int
39882 main ()
39883 {
39884 &_vsnwprintf;
39885 ;
39886 return 0;
39887 }
39888 _ACEOF
39889 rm -f conftest.$ac_objext
39890 if { (ac_try="$ac_compile"
39891 case "(($ac_try" in
39892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39893 *) ac_try_echo=$ac_try;;
39894 esac
39895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39896 (eval "$ac_compile") 2>conftest.er1
39897 ac_status=$?
39898 grep -v '^ *+' conftest.er1 >conftest.err
39899 rm -f conftest.er1
39900 cat conftest.err >&5
39901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39902 (exit $ac_status); } && {
39903 test -z "$ac_c_werror_flag" ||
39904 test ! -s conftest.err
39905 } && test -s conftest.$ac_objext; then
39906 { echo "$as_me:$LINENO: result: yes" >&5
39907 echo "${ECHO_T}yes" >&6; }
39908 cat >>confdefs.h <<\_ACEOF
39909 #define HAVE__VSNWPRINTF 1
39910 _ACEOF
39911
39912 else
39913 echo "$as_me: failed program was:" >&5
39914 sed 's/^/| /' conftest.$ac_ext >&5
39915
39916 { echo "$as_me:$LINENO: result: no" >&5
39917 echo "${ECHO_T}no" >&6; }
39918 fi
39919
39920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
39921 fi
39922
39923 if test "$wxUSE_FILE" = "yes"; then
39924
39925 for wx_func in fsync
39926 do
39927 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39928 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39929 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39930 echo $ECHO_N "(cached) $ECHO_C" >&6
39931 else
39932
39933 cat >conftest.$ac_ext <<_ACEOF
39934
39935 /* confdefs.h. */
39936 _ACEOF
39937 cat confdefs.h >>conftest.$ac_ext
39938 cat >>conftest.$ac_ext <<_ACEOF
39939 /* end confdefs.h. */
39940
39941
39942 $ac_includes_default
39943
39944 int
39945 main ()
39946 {
39947
39948 #ifndef $wx_func
39949 &$wx_func;
39950 #endif
39951
39952
39953 ;
39954 return 0;
39955 }
39956
39957 _ACEOF
39958 rm -f conftest.$ac_objext conftest$ac_exeext
39959 if { (ac_try="$ac_link"
39960 case "(($ac_try" in
39961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39962 *) ac_try_echo=$ac_try;;
39963 esac
39964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39965 (eval "$ac_link") 2>conftest.er1
39966 ac_status=$?
39967 grep -v '^ *+' conftest.er1 >conftest.err
39968 rm -f conftest.er1
39969 cat conftest.err >&5
39970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39971 (exit $ac_status); } && {
39972 test -z "$ac_c_werror_flag" ||
39973 test ! -s conftest.err
39974 } && test -s conftest$ac_exeext &&
39975 $as_test_x conftest$ac_exeext; then
39976 eval wx_cv_func_$wx_func=yes
39977 else
39978 echo "$as_me: failed program was:" >&5
39979 sed 's/^/| /' conftest.$ac_ext >&5
39980
39981 eval wx_cv_func_$wx_func=no
39982 fi
39983
39984 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39985 conftest$ac_exeext conftest.$ac_ext
39986
39987 fi
39988 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39989 { echo "$as_me:$LINENO: result: $ac_res" >&5
39990 echo "${ECHO_T}$ac_res" >&6; }
39991
39992 if eval test \$wx_cv_func_$wx_func = yes
39993 then
39994 cat >>confdefs.h <<_ACEOF
39995 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39996 _ACEOF
39997
39998
39999 else
40000 :
40001
40002 fi
40003 done
40004
40005 fi
40006
40007 ac_ext=cpp
40008 ac_cpp='$CXXCPP $CPPFLAGS'
40009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40012
40013
40014 for wx_func in round
40015 do
40016 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40017 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40018 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40019 echo $ECHO_N "(cached) $ECHO_C" >&6
40020 else
40021
40022 cat >conftest.$ac_ext <<_ACEOF
40023
40024 /* confdefs.h. */
40025 _ACEOF
40026 cat confdefs.h >>conftest.$ac_ext
40027 cat >>conftest.$ac_ext <<_ACEOF
40028 /* end confdefs.h. */
40029
40030 #include <math.h>
40031 $ac_includes_default
40032
40033 int
40034 main ()
40035 {
40036
40037 #ifndef $wx_func
40038 &$wx_func;
40039 #endif
40040
40041
40042 ;
40043 return 0;
40044 }
40045
40046 _ACEOF
40047 rm -f conftest.$ac_objext conftest$ac_exeext
40048 if { (ac_try="$ac_link"
40049 case "(($ac_try" in
40050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40051 *) ac_try_echo=$ac_try;;
40052 esac
40053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40054 (eval "$ac_link") 2>conftest.er1
40055 ac_status=$?
40056 grep -v '^ *+' conftest.er1 >conftest.err
40057 rm -f conftest.er1
40058 cat conftest.err >&5
40059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40060 (exit $ac_status); } && {
40061 test -z "$ac_cxx_werror_flag" ||
40062 test ! -s conftest.err
40063 } && test -s conftest$ac_exeext &&
40064 $as_test_x conftest$ac_exeext; then
40065 eval wx_cv_func_$wx_func=yes
40066 else
40067 echo "$as_me: failed program was:" >&5
40068 sed 's/^/| /' conftest.$ac_ext >&5
40069
40070 eval wx_cv_func_$wx_func=no
40071 fi
40072
40073 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40074 conftest$ac_exeext conftest.$ac_ext
40075
40076 fi
40077 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40078 { echo "$as_me:$LINENO: result: $ac_res" >&5
40079 echo "${ECHO_T}$ac_res" >&6; }
40080
40081 if eval test \$wx_cv_func_$wx_func = yes
40082 then
40083 cat >>confdefs.h <<_ACEOF
40084 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40085 _ACEOF
40086
40087
40088 else
40089 :
40090
40091 fi
40092 done
40093
40094 ac_ext=c
40095 ac_cpp='$CPP $CPPFLAGS'
40096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40099
40100
40101 if test "$TOOLKIT" != "MSW"; then
40102
40103 if test "$wxUSE_LIBICONV" != "no" ; then
40104
40105
40106
40107 # Check whether --with-libiconv-prefix was given.
40108 if test "${with_libiconv_prefix+set}" = set; then
40109 withval=$with_libiconv_prefix;
40110 for dir in `echo "$withval" | tr : ' '`; do
40111 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
40112 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
40113 done
40114
40115 fi
40116
40117
40118 { echo "$as_me:$LINENO: checking for iconv" >&5
40119 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
40120 if test "${am_cv_func_iconv+set}" = set; then
40121 echo $ECHO_N "(cached) $ECHO_C" >&6
40122 else
40123
40124 am_cv_func_iconv="no, consider installing GNU libiconv"
40125 am_cv_lib_iconv=no
40126 cat >conftest.$ac_ext <<_ACEOF
40127 /* confdefs.h. */
40128 _ACEOF
40129 cat confdefs.h >>conftest.$ac_ext
40130 cat >>conftest.$ac_ext <<_ACEOF
40131 /* end confdefs.h. */
40132 #include <stdlib.h>
40133 #include <iconv.h>
40134 int
40135 main ()
40136 {
40137 iconv_t cd = iconv_open("","");
40138 iconv(cd,NULL,NULL,NULL,NULL);
40139 iconv_close(cd);
40140 ;
40141 return 0;
40142 }
40143 _ACEOF
40144 rm -f conftest.$ac_objext conftest$ac_exeext
40145 if { (ac_try="$ac_link"
40146 case "(($ac_try" in
40147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40148 *) ac_try_echo=$ac_try;;
40149 esac
40150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40151 (eval "$ac_link") 2>conftest.er1
40152 ac_status=$?
40153 grep -v '^ *+' conftest.er1 >conftest.err
40154 rm -f conftest.er1
40155 cat conftest.err >&5
40156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40157 (exit $ac_status); } && {
40158 test -z "$ac_c_werror_flag" ||
40159 test ! -s conftest.err
40160 } && test -s conftest$ac_exeext &&
40161 $as_test_x conftest$ac_exeext; then
40162 am_cv_func_iconv=yes
40163 else
40164 echo "$as_me: failed program was:" >&5
40165 sed 's/^/| /' conftest.$ac_ext >&5
40166
40167
40168 fi
40169
40170 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40171 conftest$ac_exeext conftest.$ac_ext
40172 if test "$am_cv_func_iconv" != yes; then
40173 am_save_LIBS="$LIBS"
40174 LIBS="$LIBS -liconv"
40175 cat >conftest.$ac_ext <<_ACEOF
40176 /* confdefs.h. */
40177 _ACEOF
40178 cat confdefs.h >>conftest.$ac_ext
40179 cat >>conftest.$ac_ext <<_ACEOF
40180 /* end confdefs.h. */
40181 #include <stdlib.h>
40182 #include <iconv.h>
40183 int
40184 main ()
40185 {
40186 iconv_t cd = iconv_open("","");
40187 iconv(cd,NULL,NULL,NULL,NULL);
40188 iconv_close(cd);
40189 ;
40190 return 0;
40191 }
40192 _ACEOF
40193 rm -f conftest.$ac_objext conftest$ac_exeext
40194 if { (ac_try="$ac_link"
40195 case "(($ac_try" in
40196 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40197 *) ac_try_echo=$ac_try;;
40198 esac
40199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40200 (eval "$ac_link") 2>conftest.er1
40201 ac_status=$?
40202 grep -v '^ *+' conftest.er1 >conftest.err
40203 rm -f conftest.er1
40204 cat conftest.err >&5
40205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40206 (exit $ac_status); } && {
40207 test -z "$ac_c_werror_flag" ||
40208 test ! -s conftest.err
40209 } && test -s conftest$ac_exeext &&
40210 $as_test_x conftest$ac_exeext; then
40211 am_cv_lib_iconv=yes
40212 am_cv_func_iconv=yes
40213 else
40214 echo "$as_me: failed program was:" >&5
40215 sed 's/^/| /' conftest.$ac_ext >&5
40216
40217
40218 fi
40219
40220 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40221 conftest$ac_exeext conftest.$ac_ext
40222 LIBS="$am_save_LIBS"
40223 fi
40224
40225 fi
40226 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
40227 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
40228 if test "$am_cv_func_iconv" = yes; then
40229
40230 cat >>confdefs.h <<\_ACEOF
40231 #define HAVE_ICONV 1
40232 _ACEOF
40233
40234 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
40235 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
40236 if test "${wx_cv_func_iconv_const+set}" = set; then
40237 echo $ECHO_N "(cached) $ECHO_C" >&6
40238 else
40239 cat >conftest.$ac_ext <<_ACEOF
40240 /* confdefs.h. */
40241 _ACEOF
40242 cat confdefs.h >>conftest.$ac_ext
40243 cat >>conftest.$ac_ext <<_ACEOF
40244 /* end confdefs.h. */
40245
40246 #include <stdlib.h>
40247 #include <iconv.h>
40248 extern
40249 #ifdef __cplusplus
40250 "C"
40251 #endif
40252 #if defined(__STDC__) || defined(__cplusplus)
40253 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
40254 #else
40255 size_t iconv();
40256 #endif
40257
40258 int
40259 main ()
40260 {
40261
40262 ;
40263 return 0;
40264 }
40265 _ACEOF
40266 rm -f conftest.$ac_objext
40267 if { (ac_try="$ac_compile"
40268 case "(($ac_try" in
40269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40270 *) ac_try_echo=$ac_try;;
40271 esac
40272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40273 (eval "$ac_compile") 2>conftest.er1
40274 ac_status=$?
40275 grep -v '^ *+' conftest.er1 >conftest.err
40276 rm -f conftest.er1
40277 cat conftest.err >&5
40278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40279 (exit $ac_status); } && {
40280 test -z "$ac_c_werror_flag" ||
40281 test ! -s conftest.err
40282 } && test -s conftest.$ac_objext; then
40283 wx_cv_func_iconv_const="no"
40284 else
40285 echo "$as_me: failed program was:" >&5
40286 sed 's/^/| /' conftest.$ac_ext >&5
40287
40288 wx_cv_func_iconv_const="yes"
40289
40290 fi
40291
40292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40293
40294 fi
40295 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
40296 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
40297
40298 iconv_const=
40299 if test "x$wx_cv_func_iconv_const" = "xyes"; then
40300 iconv_const="const"
40301 fi
40302
40303
40304 cat >>confdefs.h <<_ACEOF
40305 #define ICONV_CONST $iconv_const
40306 _ACEOF
40307
40308 fi
40309 LIBICONV=
40310 if test "$am_cv_lib_iconv" = yes; then
40311 LIBICONV="-liconv"
40312 fi
40313
40314
40315 LIBS="$LIBICONV $LIBS"
40316 fi
40317
40318 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
40319
40320 for ac_func in sigaction
40321 do
40322 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40323 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40324 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40325 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40326 echo $ECHO_N "(cached) $ECHO_C" >&6
40327 else
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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40335 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40336 #define $ac_func innocuous_$ac_func
40337
40338 /* System header to define __stub macros and hopefully few prototypes,
40339 which can conflict with char $ac_func (); below.
40340 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40341 <limits.h> exists even on freestanding compilers. */
40342
40343 #ifdef __STDC__
40344 # include <limits.h>
40345 #else
40346 # include <assert.h>
40347 #endif
40348
40349 #undef $ac_func
40350
40351 /* Override any GCC internal prototype to avoid an error.
40352 Use char because int might match the return type of a GCC
40353 builtin and then its argument prototype would still apply. */
40354 #ifdef __cplusplus
40355 extern "C"
40356 #endif
40357 char $ac_func ();
40358 /* The GNU C library defines this for functions which it implements
40359 to always fail with ENOSYS. Some functions are actually named
40360 something starting with __ and the normal name is an alias. */
40361 #if defined __stub_$ac_func || defined __stub___$ac_func
40362 choke me
40363 #endif
40364
40365 int
40366 main ()
40367 {
40368 return $ac_func ();
40369 ;
40370 return 0;
40371 }
40372 _ACEOF
40373 rm -f conftest.$ac_objext conftest$ac_exeext
40374 if { (ac_try="$ac_link"
40375 case "(($ac_try" in
40376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40377 *) ac_try_echo=$ac_try;;
40378 esac
40379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40380 (eval "$ac_link") 2>conftest.er1
40381 ac_status=$?
40382 grep -v '^ *+' conftest.er1 >conftest.err
40383 rm -f conftest.er1
40384 cat conftest.err >&5
40385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40386 (exit $ac_status); } && {
40387 test -z "$ac_c_werror_flag" ||
40388 test ! -s conftest.err
40389 } && test -s conftest$ac_exeext &&
40390 $as_test_x conftest$ac_exeext; then
40391 eval "$as_ac_var=yes"
40392 else
40393 echo "$as_me: failed program was:" >&5
40394 sed 's/^/| /' conftest.$ac_ext >&5
40395
40396 eval "$as_ac_var=no"
40397 fi
40398
40399 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40400 conftest$ac_exeext conftest.$ac_ext
40401 fi
40402 ac_res=`eval echo '${'$as_ac_var'}'`
40403 { echo "$as_me:$LINENO: result: $ac_res" >&5
40404 echo "${ECHO_T}$ac_res" >&6; }
40405 if test `eval echo '${'$as_ac_var'}'` = yes; then
40406 cat >>confdefs.h <<_ACEOF
40407 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40408 _ACEOF
40409
40410 fi
40411 done
40412
40413
40414 if test "$ac_cv_func_sigaction" = "no"; then
40415 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
40416 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
40417 wxUSE_ON_FATAL_EXCEPTION=no
40418 fi
40419
40420 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
40421 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
40422 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
40423 if test "${wx_cv_type_sa_handler+set}" = set; then
40424 echo $ECHO_N "(cached) $ECHO_C" >&6
40425 else
40426
40427 ac_ext=cpp
40428 ac_cpp='$CXXCPP $CPPFLAGS'
40429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40432
40433 cat >conftest.$ac_ext <<_ACEOF
40434 /* confdefs.h. */
40435 _ACEOF
40436 cat confdefs.h >>conftest.$ac_ext
40437 cat >>conftest.$ac_ext <<_ACEOF
40438 /* end confdefs.h. */
40439 #include <signal.h>
40440 int
40441 main ()
40442 {
40443
40444 extern void testSigHandler(int);
40445
40446 struct sigaction sa;
40447 sa.sa_handler = testSigHandler;
40448
40449 ;
40450 return 0;
40451 }
40452 _ACEOF
40453 rm -f conftest.$ac_objext
40454 if { (ac_try="$ac_compile"
40455 case "(($ac_try" in
40456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40457 *) ac_try_echo=$ac_try;;
40458 esac
40459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40460 (eval "$ac_compile") 2>conftest.er1
40461 ac_status=$?
40462 grep -v '^ *+' conftest.er1 >conftest.err
40463 rm -f conftest.er1
40464 cat conftest.err >&5
40465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40466 (exit $ac_status); } && {
40467 test -z "$ac_cxx_werror_flag" ||
40468 test ! -s conftest.err
40469 } && test -s conftest.$ac_objext; then
40470
40471 wx_cv_type_sa_handler=int
40472
40473 else
40474 echo "$as_me: failed program was:" >&5
40475 sed 's/^/| /' conftest.$ac_ext >&5
40476
40477
40478 wx_cv_type_sa_handler=void
40479
40480 fi
40481
40482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40483 ac_ext=c
40484 ac_cpp='$CPP $CPPFLAGS'
40485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40488
40489
40490 fi
40491 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
40492 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
40493
40494 cat >>confdefs.h <<_ACEOF
40495 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
40496 _ACEOF
40497
40498 fi
40499 fi
40500
40501 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
40502 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
40503 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
40504 if test "${wx_cv_func_backtrace+set}" = set; then
40505 echo $ECHO_N "(cached) $ECHO_C" >&6
40506 else
40507
40508 ac_ext=cpp
40509 ac_cpp='$CXXCPP $CPPFLAGS'
40510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40513
40514 cat >conftest.$ac_ext <<_ACEOF
40515 /* confdefs.h. */
40516 _ACEOF
40517 cat confdefs.h >>conftest.$ac_ext
40518 cat >>conftest.$ac_ext <<_ACEOF
40519 /* end confdefs.h. */
40520 #include <execinfo.h>
40521 int
40522 main ()
40523 {
40524
40525 void *trace[1];
40526 char **messages;
40527
40528 backtrace(trace, 1);
40529 messages = backtrace_symbols(trace, 1);
40530
40531 ;
40532 return 0;
40533 }
40534 _ACEOF
40535 rm -f conftest.$ac_objext
40536 if { (ac_try="$ac_compile"
40537 case "(($ac_try" in
40538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40539 *) ac_try_echo=$ac_try;;
40540 esac
40541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40542 (eval "$ac_compile") 2>conftest.er1
40543 ac_status=$?
40544 grep -v '^ *+' conftest.er1 >conftest.err
40545 rm -f conftest.er1
40546 cat conftest.err >&5
40547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40548 (exit $ac_status); } && {
40549 test -z "$ac_cxx_werror_flag" ||
40550 test ! -s conftest.err
40551 } && test -s conftest.$ac_objext; then
40552 wx_cv_func_backtrace=yes
40553 else
40554 echo "$as_me: failed program was:" >&5
40555 sed 's/^/| /' conftest.$ac_ext >&5
40556
40557 wx_cv_func_backtrace=no
40558
40559 fi
40560
40561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40562 ac_ext=c
40563 ac_cpp='$CPP $CPPFLAGS'
40564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40567
40568
40569
40570 fi
40571 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
40572 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
40573
40574
40575 if test "$wx_cv_func_backtrace" = "no"; then
40576 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
40577 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
40578 wxUSE_STACKWALKER=no
40579 else
40580 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
40581 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
40582 if test "${wx_cv_func_cxa_demangle+set}" = set; then
40583 echo $ECHO_N "(cached) $ECHO_C" >&6
40584 else
40585
40586 ac_ext=cpp
40587 ac_cpp='$CXXCPP $CPPFLAGS'
40588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40591
40592 cat >conftest.$ac_ext <<_ACEOF
40593 /* confdefs.h. */
40594 _ACEOF
40595 cat confdefs.h >>conftest.$ac_ext
40596 cat >>conftest.$ac_ext <<_ACEOF
40597 /* end confdefs.h. */
40598 #include <cxxabi.h>
40599 int
40600 main ()
40601 {
40602
40603 int rc;
40604 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
40605
40606 ;
40607 return 0;
40608 }
40609 _ACEOF
40610 rm -f conftest.$ac_objext conftest$ac_exeext
40611 if { (ac_try="$ac_link"
40612 case "(($ac_try" in
40613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40614 *) ac_try_echo=$ac_try;;
40615 esac
40616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40617 (eval "$ac_link") 2>conftest.er1
40618 ac_status=$?
40619 grep -v '^ *+' conftest.er1 >conftest.err
40620 rm -f conftest.er1
40621 cat conftest.err >&5
40622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40623 (exit $ac_status); } && {
40624 test -z "$ac_cxx_werror_flag" ||
40625 test ! -s conftest.err
40626 } && test -s conftest$ac_exeext &&
40627 $as_test_x conftest$ac_exeext; then
40628 wx_cv_func_cxa_demangle=yes
40629 else
40630 echo "$as_me: failed program was:" >&5
40631 sed 's/^/| /' conftest.$ac_ext >&5
40632
40633 wx_cv_func_cxa_demangle=no
40634
40635 fi
40636
40637 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40638 conftest$ac_exeext conftest.$ac_ext
40639 ac_ext=c
40640 ac_cpp='$CPP $CPPFLAGS'
40641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40644
40645
40646
40647 fi
40648 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
40649 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
40650
40651 if test "$wx_cv_func_cxa_demangle" = "yes"; then
40652 cat >>confdefs.h <<\_ACEOF
40653 #define HAVE_CXA_DEMANGLE 1
40654 _ACEOF
40655
40656 fi
40657 fi
40658 fi
40659
40660 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
40661 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
40662 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
40663 wxUSE_STACKWALKER=no
40664 fi
40665
40666
40667
40668
40669 for ac_func in mkstemp mktemp
40670 do
40671 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40672 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40673 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40674 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40675 echo $ECHO_N "(cached) $ECHO_C" >&6
40676 else
40677 cat >conftest.$ac_ext <<_ACEOF
40678 /* confdefs.h. */
40679 _ACEOF
40680 cat confdefs.h >>conftest.$ac_ext
40681 cat >>conftest.$ac_ext <<_ACEOF
40682 /* end confdefs.h. */
40683 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40684 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40685 #define $ac_func innocuous_$ac_func
40686
40687 /* System header to define __stub macros and hopefully few prototypes,
40688 which can conflict with char $ac_func (); below.
40689 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40690 <limits.h> exists even on freestanding compilers. */
40691
40692 #ifdef __STDC__
40693 # include <limits.h>
40694 #else
40695 # include <assert.h>
40696 #endif
40697
40698 #undef $ac_func
40699
40700 /* Override any GCC internal prototype to avoid an error.
40701 Use char because int might match the return type of a GCC
40702 builtin and then its argument prototype would still apply. */
40703 #ifdef __cplusplus
40704 extern "C"
40705 #endif
40706 char $ac_func ();
40707 /* The GNU C library defines this for functions which it implements
40708 to always fail with ENOSYS. Some functions are actually named
40709 something starting with __ and the normal name is an alias. */
40710 #if defined __stub_$ac_func || defined __stub___$ac_func
40711 choke me
40712 #endif
40713
40714 int
40715 main ()
40716 {
40717 return $ac_func ();
40718 ;
40719 return 0;
40720 }
40721 _ACEOF
40722 rm -f conftest.$ac_objext conftest$ac_exeext
40723 if { (ac_try="$ac_link"
40724 case "(($ac_try" in
40725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40726 *) ac_try_echo=$ac_try;;
40727 esac
40728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40729 (eval "$ac_link") 2>conftest.er1
40730 ac_status=$?
40731 grep -v '^ *+' conftest.er1 >conftest.err
40732 rm -f conftest.er1
40733 cat conftest.err >&5
40734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40735 (exit $ac_status); } && {
40736 test -z "$ac_c_werror_flag" ||
40737 test ! -s conftest.err
40738 } && test -s conftest$ac_exeext &&
40739 $as_test_x conftest$ac_exeext; then
40740 eval "$as_ac_var=yes"
40741 else
40742 echo "$as_me: failed program was:" >&5
40743 sed 's/^/| /' conftest.$ac_ext >&5
40744
40745 eval "$as_ac_var=no"
40746 fi
40747
40748 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40749 conftest$ac_exeext conftest.$ac_ext
40750 fi
40751 ac_res=`eval echo '${'$as_ac_var'}'`
40752 { echo "$as_me:$LINENO: result: $ac_res" >&5
40753 echo "${ECHO_T}$ac_res" >&6; }
40754 if test `eval echo '${'$as_ac_var'}'` = yes; then
40755 cat >>confdefs.h <<_ACEOF
40756 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40757 _ACEOF
40758 break
40759 fi
40760 done
40761
40762
40763 { echo "$as_me:$LINENO: checking for statfs" >&5
40764 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
40765 if test "${wx_cv_func_statfs+set}" = set; then
40766 echo $ECHO_N "(cached) $ECHO_C" >&6
40767 else
40768 cat >conftest.$ac_ext <<_ACEOF
40769 /* confdefs.h. */
40770 _ACEOF
40771 cat confdefs.h >>conftest.$ac_ext
40772 cat >>conftest.$ac_ext <<_ACEOF
40773 /* end confdefs.h. */
40774
40775 #if defined(__BSD__)
40776 #include <sys/param.h>
40777 #include <sys/mount.h>
40778 #else
40779 #include <sys/vfs.h>
40780 #endif
40781
40782 int
40783 main ()
40784 {
40785
40786 long l;
40787 struct statfs fs;
40788 statfs("/", &fs);
40789 l = fs.f_bsize;
40790 l += fs.f_blocks;
40791 l += fs.f_bavail;
40792
40793 ;
40794 return 0;
40795 }
40796 _ACEOF
40797 rm -f conftest.$ac_objext
40798 if { (ac_try="$ac_compile"
40799 case "(($ac_try" in
40800 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40801 *) ac_try_echo=$ac_try;;
40802 esac
40803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40804 (eval "$ac_compile") 2>conftest.er1
40805 ac_status=$?
40806 grep -v '^ *+' conftest.er1 >conftest.err
40807 rm -f conftest.er1
40808 cat conftest.err >&5
40809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40810 (exit $ac_status); } && {
40811 test -z "$ac_c_werror_flag" ||
40812 test ! -s conftest.err
40813 } && test -s conftest.$ac_objext; then
40814 wx_cv_func_statfs=yes
40815 else
40816 echo "$as_me: failed program was:" >&5
40817 sed 's/^/| /' conftest.$ac_ext >&5
40818
40819 wx_cv_func_statfs=no
40820
40821 fi
40822
40823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40824
40825 fi
40826 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
40827 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
40828
40829 if test "$wx_cv_func_statfs" = "yes"; then
40830 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
40831 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
40832 if test "${wx_cv_func_statfs_decl+set}" = set; then
40833 echo $ECHO_N "(cached) $ECHO_C" >&6
40834 else
40835 ac_ext=cpp
40836 ac_cpp='$CXXCPP $CPPFLAGS'
40837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40840
40841 cat >conftest.$ac_ext <<_ACEOF
40842 /* confdefs.h. */
40843 _ACEOF
40844 cat confdefs.h >>conftest.$ac_ext
40845 cat >>conftest.$ac_ext <<_ACEOF
40846 /* end confdefs.h. */
40847
40848 #if defined(__BSD__)
40849 #include <sys/param.h>
40850 #include <sys/mount.h>
40851 #else
40852 #include <sys/vfs.h>
40853 #endif
40854
40855 int
40856 main ()
40857 {
40858
40859 struct statfs fs;
40860 statfs("", &fs);
40861
40862 ;
40863 return 0;
40864 }
40865 _ACEOF
40866 rm -f conftest.$ac_objext
40867 if { (ac_try="$ac_compile"
40868 case "(($ac_try" in
40869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40870 *) ac_try_echo=$ac_try;;
40871 esac
40872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40873 (eval "$ac_compile") 2>conftest.er1
40874 ac_status=$?
40875 grep -v '^ *+' conftest.er1 >conftest.err
40876 rm -f conftest.er1
40877 cat conftest.err >&5
40878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40879 (exit $ac_status); } && {
40880 test -z "$ac_cxx_werror_flag" ||
40881 test ! -s conftest.err
40882 } && test -s conftest.$ac_objext; then
40883 wx_cv_func_statfs_decl=yes
40884 else
40885 echo "$as_me: failed program was:" >&5
40886 sed 's/^/| /' conftest.$ac_ext >&5
40887
40888 wx_cv_func_statfs_decl=no
40889
40890 fi
40891
40892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40893 ac_ext=c
40894 ac_cpp='$CPP $CPPFLAGS'
40895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40898
40899
40900 fi
40901 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
40902 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
40903
40904 if test "$wx_cv_func_statfs_decl" = "yes"; then
40905 cat >>confdefs.h <<\_ACEOF
40906 #define HAVE_STATFS_DECL 1
40907 _ACEOF
40908
40909 fi
40910
40911 wx_cv_type_statvfs_t="struct statfs"
40912 cat >>confdefs.h <<\_ACEOF
40913 #define HAVE_STATFS 1
40914 _ACEOF
40915
40916 else
40917 { echo "$as_me:$LINENO: checking for statvfs" >&5
40918 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
40919 if test "${wx_cv_func_statvfs+set}" = set; then
40920 echo $ECHO_N "(cached) $ECHO_C" >&6
40921 else
40922 cat >conftest.$ac_ext <<_ACEOF
40923 /* confdefs.h. */
40924 _ACEOF
40925 cat confdefs.h >>conftest.$ac_ext
40926 cat >>conftest.$ac_ext <<_ACEOF
40927 /* end confdefs.h. */
40928
40929 #include <stddef.h>
40930 #include <sys/statvfs.h>
40931
40932 int
40933 main ()
40934 {
40935
40936 statvfs("/", NULL);
40937
40938 ;
40939 return 0;
40940 }
40941 _ACEOF
40942 rm -f conftest.$ac_objext
40943 if { (ac_try="$ac_compile"
40944 case "(($ac_try" in
40945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40946 *) ac_try_echo=$ac_try;;
40947 esac
40948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40949 (eval "$ac_compile") 2>conftest.er1
40950 ac_status=$?
40951 grep -v '^ *+' conftest.er1 >conftest.err
40952 rm -f conftest.er1
40953 cat conftest.err >&5
40954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40955 (exit $ac_status); } && {
40956 test -z "$ac_c_werror_flag" ||
40957 test ! -s conftest.err
40958 } && test -s conftest.$ac_objext; then
40959 wx_cv_func_statvfs=yes
40960 else
40961 echo "$as_me: failed program was:" >&5
40962 sed 's/^/| /' conftest.$ac_ext >&5
40963
40964 wx_cv_func_statvfs=no
40965
40966 fi
40967
40968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40969
40970 fi
40971 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
40972 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
40973
40974 if test "$wx_cv_func_statvfs" = "yes"; then
40975 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
40976 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
40977 if test "${wx_cv_type_statvfs_t+set}" = set; then
40978 echo $ECHO_N "(cached) $ECHO_C" >&6
40979 else
40980 ac_ext=cpp
40981 ac_cpp='$CXXCPP $CPPFLAGS'
40982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40985
40986 cat >conftest.$ac_ext <<_ACEOF
40987 /* confdefs.h. */
40988 _ACEOF
40989 cat confdefs.h >>conftest.$ac_ext
40990 cat >>conftest.$ac_ext <<_ACEOF
40991 /* end confdefs.h. */
40992
40993 #include <sys/statvfs.h>
40994
40995 int
40996 main ()
40997 {
40998
40999 long l;
41000 statvfs_t fs;
41001 statvfs("/", &fs);
41002 l = fs.f_bsize;
41003 l += fs.f_blocks;
41004 l += fs.f_bavail;
41005
41006 ;
41007 return 0;
41008 }
41009 _ACEOF
41010 rm -f conftest.$ac_objext
41011 if { (ac_try="$ac_compile"
41012 case "(($ac_try" in
41013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41014 *) ac_try_echo=$ac_try;;
41015 esac
41016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41017 (eval "$ac_compile") 2>conftest.er1
41018 ac_status=$?
41019 grep -v '^ *+' conftest.er1 >conftest.err
41020 rm -f conftest.er1
41021 cat conftest.err >&5
41022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41023 (exit $ac_status); } && {
41024 test -z "$ac_cxx_werror_flag" ||
41025 test ! -s conftest.err
41026 } && test -s conftest.$ac_objext; then
41027 wx_cv_type_statvfs_t=statvfs_t
41028 else
41029 echo "$as_me: failed program was:" >&5
41030 sed 's/^/| /' conftest.$ac_ext >&5
41031
41032
41033 cat >conftest.$ac_ext <<_ACEOF
41034 /* confdefs.h. */
41035 _ACEOF
41036 cat confdefs.h >>conftest.$ac_ext
41037 cat >>conftest.$ac_ext <<_ACEOF
41038 /* end confdefs.h. */
41039
41040 #include <sys/statvfs.h>
41041
41042 int
41043 main ()
41044 {
41045
41046 long l;
41047 struct statvfs fs;
41048 statvfs("/", &fs);
41049 l = fs.f_bsize;
41050 l += fs.f_blocks;
41051 l += fs.f_bavail;
41052
41053 ;
41054 return 0;
41055 }
41056 _ACEOF
41057 rm -f conftest.$ac_objext
41058 if { (ac_try="$ac_compile"
41059 case "(($ac_try" in
41060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41061 *) ac_try_echo=$ac_try;;
41062 esac
41063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41064 (eval "$ac_compile") 2>conftest.er1
41065 ac_status=$?
41066 grep -v '^ *+' conftest.er1 >conftest.err
41067 rm -f conftest.er1
41068 cat conftest.err >&5
41069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41070 (exit $ac_status); } && {
41071 test -z "$ac_cxx_werror_flag" ||
41072 test ! -s conftest.err
41073 } && test -s conftest.$ac_objext; then
41074 wx_cv_type_statvfs_t="struct statvfs"
41075 else
41076 echo "$as_me: failed program was:" >&5
41077 sed 's/^/| /' conftest.$ac_ext >&5
41078
41079 wx_cv_type_statvfs_t="unknown"
41080
41081 fi
41082
41083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41084
41085
41086 fi
41087
41088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41089 ac_ext=c
41090 ac_cpp='$CPP $CPPFLAGS'
41091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41094
41095
41096 fi
41097 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
41098 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
41099
41100 if test "$wx_cv_type_statvfs_t" != "unknown"; then
41101 cat >>confdefs.h <<\_ACEOF
41102 #define HAVE_STATVFS 1
41103 _ACEOF
41104
41105 fi
41106 else
41107 wx_cv_type_statvfs_t="unknown"
41108 fi
41109 fi
41110
41111 if test "$wx_cv_type_statvfs_t" != "unknown"; then
41112 cat >>confdefs.h <<_ACEOF
41113 #define WX_STATFS_T $wx_cv_type_statvfs_t
41114 _ACEOF
41115
41116 else
41117 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
41118 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
41119 fi
41120
41121 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
41122
41123
41124 for ac_func in fcntl flock
41125 do
41126 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41127 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41128 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41129 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41130 echo $ECHO_N "(cached) $ECHO_C" >&6
41131 else
41132 cat >conftest.$ac_ext <<_ACEOF
41133 /* confdefs.h. */
41134 _ACEOF
41135 cat confdefs.h >>conftest.$ac_ext
41136 cat >>conftest.$ac_ext <<_ACEOF
41137 /* end confdefs.h. */
41138 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41139 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41140 #define $ac_func innocuous_$ac_func
41141
41142 /* System header to define __stub macros and hopefully few prototypes,
41143 which can conflict with char $ac_func (); below.
41144 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41145 <limits.h> exists even on freestanding compilers. */
41146
41147 #ifdef __STDC__
41148 # include <limits.h>
41149 #else
41150 # include <assert.h>
41151 #endif
41152
41153 #undef $ac_func
41154
41155 /* Override any GCC internal prototype to avoid an error.
41156 Use char because int might match the return type of a GCC
41157 builtin and then its argument prototype would still apply. */
41158 #ifdef __cplusplus
41159 extern "C"
41160 #endif
41161 char $ac_func ();
41162 /* The GNU C library defines this for functions which it implements
41163 to always fail with ENOSYS. Some functions are actually named
41164 something starting with __ and the normal name is an alias. */
41165 #if defined __stub_$ac_func || defined __stub___$ac_func
41166 choke me
41167 #endif
41168
41169 int
41170 main ()
41171 {
41172 return $ac_func ();
41173 ;
41174 return 0;
41175 }
41176 _ACEOF
41177 rm -f conftest.$ac_objext conftest$ac_exeext
41178 if { (ac_try="$ac_link"
41179 case "(($ac_try" in
41180 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41181 *) ac_try_echo=$ac_try;;
41182 esac
41183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41184 (eval "$ac_link") 2>conftest.er1
41185 ac_status=$?
41186 grep -v '^ *+' conftest.er1 >conftest.err
41187 rm -f conftest.er1
41188 cat conftest.err >&5
41189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41190 (exit $ac_status); } && {
41191 test -z "$ac_c_werror_flag" ||
41192 test ! -s conftest.err
41193 } && test -s conftest$ac_exeext &&
41194 $as_test_x conftest$ac_exeext; then
41195 eval "$as_ac_var=yes"
41196 else
41197 echo "$as_me: failed program was:" >&5
41198 sed 's/^/| /' conftest.$ac_ext >&5
41199
41200 eval "$as_ac_var=no"
41201 fi
41202
41203 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41204 conftest$ac_exeext conftest.$ac_ext
41205 fi
41206 ac_res=`eval echo '${'$as_ac_var'}'`
41207 { echo "$as_me:$LINENO: result: $ac_res" >&5
41208 echo "${ECHO_T}$ac_res" >&6; }
41209 if test `eval echo '${'$as_ac_var'}'` = yes; then
41210 cat >>confdefs.h <<_ACEOF
41211 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41212 _ACEOF
41213 break
41214 fi
41215 done
41216
41217
41218 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
41219 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
41220 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
41221 wxUSE_SNGLINST_CHECKER=no
41222 fi
41223 fi
41224
41225
41226
41227 for ac_func in setenv putenv
41228 do
41229 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41230 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41231 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41232 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41233 echo $ECHO_N "(cached) $ECHO_C" >&6
41234 else
41235 cat >conftest.$ac_ext <<_ACEOF
41236 /* confdefs.h. */
41237 _ACEOF
41238 cat confdefs.h >>conftest.$ac_ext
41239 cat >>conftest.$ac_ext <<_ACEOF
41240 /* end confdefs.h. */
41241 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41242 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41243 #define $ac_func innocuous_$ac_func
41244
41245 /* System header to define __stub macros and hopefully few prototypes,
41246 which can conflict with char $ac_func (); below.
41247 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41248 <limits.h> exists even on freestanding compilers. */
41249
41250 #ifdef __STDC__
41251 # include <limits.h>
41252 #else
41253 # include <assert.h>
41254 #endif
41255
41256 #undef $ac_func
41257
41258 /* Override any GCC internal prototype to avoid an error.
41259 Use char because int might match the return type of a GCC
41260 builtin and then its argument prototype would still apply. */
41261 #ifdef __cplusplus
41262 extern "C"
41263 #endif
41264 char $ac_func ();
41265 /* The GNU C library defines this for functions which it implements
41266 to always fail with ENOSYS. Some functions are actually named
41267 something starting with __ and the normal name is an alias. */
41268 #if defined __stub_$ac_func || defined __stub___$ac_func
41269 choke me
41270 #endif
41271
41272 int
41273 main ()
41274 {
41275 return $ac_func ();
41276 ;
41277 return 0;
41278 }
41279 _ACEOF
41280 rm -f conftest.$ac_objext conftest$ac_exeext
41281 if { (ac_try="$ac_link"
41282 case "(($ac_try" in
41283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41284 *) ac_try_echo=$ac_try;;
41285 esac
41286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41287 (eval "$ac_link") 2>conftest.er1
41288 ac_status=$?
41289 grep -v '^ *+' conftest.er1 >conftest.err
41290 rm -f conftest.er1
41291 cat conftest.err >&5
41292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41293 (exit $ac_status); } && {
41294 test -z "$ac_c_werror_flag" ||
41295 test ! -s conftest.err
41296 } && test -s conftest$ac_exeext &&
41297 $as_test_x conftest$ac_exeext; then
41298 eval "$as_ac_var=yes"
41299 else
41300 echo "$as_me: failed program was:" >&5
41301 sed 's/^/| /' conftest.$ac_ext >&5
41302
41303 eval "$as_ac_var=no"
41304 fi
41305
41306 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41307 conftest$ac_exeext conftest.$ac_ext
41308 fi
41309 ac_res=`eval echo '${'$as_ac_var'}'`
41310 { echo "$as_me:$LINENO: result: $ac_res" >&5
41311 echo "${ECHO_T}$ac_res" >&6; }
41312 if test `eval echo '${'$as_ac_var'}'` = yes; then
41313 cat >>confdefs.h <<_ACEOF
41314 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41315 _ACEOF
41316 break
41317 fi
41318 done
41319
41320 if test "$ac_cv_func_setenv" = "yes"; then
41321
41322 for ac_func in unsetenv
41323 do
41324 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41325 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41326 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41327 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41328 echo $ECHO_N "(cached) $ECHO_C" >&6
41329 else
41330 cat >conftest.$ac_ext <<_ACEOF
41331 /* confdefs.h. */
41332 _ACEOF
41333 cat confdefs.h >>conftest.$ac_ext
41334 cat >>conftest.$ac_ext <<_ACEOF
41335 /* end confdefs.h. */
41336 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41337 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41338 #define $ac_func innocuous_$ac_func
41339
41340 /* System header to define __stub macros and hopefully few prototypes,
41341 which can conflict with char $ac_func (); below.
41342 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41343 <limits.h> exists even on freestanding compilers. */
41344
41345 #ifdef __STDC__
41346 # include <limits.h>
41347 #else
41348 # include <assert.h>
41349 #endif
41350
41351 #undef $ac_func
41352
41353 /* Override any GCC internal prototype to avoid an error.
41354 Use char because int might match the return type of a GCC
41355 builtin and then its argument prototype would still apply. */
41356 #ifdef __cplusplus
41357 extern "C"
41358 #endif
41359 char $ac_func ();
41360 /* The GNU C library defines this for functions which it implements
41361 to always fail with ENOSYS. Some functions are actually named
41362 something starting with __ and the normal name is an alias. */
41363 #if defined __stub_$ac_func || defined __stub___$ac_func
41364 choke me
41365 #endif
41366
41367 int
41368 main ()
41369 {
41370 return $ac_func ();
41371 ;
41372 return 0;
41373 }
41374 _ACEOF
41375 rm -f conftest.$ac_objext conftest$ac_exeext
41376 if { (ac_try="$ac_link"
41377 case "(($ac_try" in
41378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41379 *) ac_try_echo=$ac_try;;
41380 esac
41381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41382 (eval "$ac_link") 2>conftest.er1
41383 ac_status=$?
41384 grep -v '^ *+' conftest.er1 >conftest.err
41385 rm -f conftest.er1
41386 cat conftest.err >&5
41387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41388 (exit $ac_status); } && {
41389 test -z "$ac_c_werror_flag" ||
41390 test ! -s conftest.err
41391 } && test -s conftest$ac_exeext &&
41392 $as_test_x conftest$ac_exeext; then
41393 eval "$as_ac_var=yes"
41394 else
41395 echo "$as_me: failed program was:" >&5
41396 sed 's/^/| /' conftest.$ac_ext >&5
41397
41398 eval "$as_ac_var=no"
41399 fi
41400
41401 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41402 conftest$ac_exeext conftest.$ac_ext
41403 fi
41404 ac_res=`eval echo '${'$as_ac_var'}'`
41405 { echo "$as_me:$LINENO: result: $ac_res" >&5
41406 echo "${ECHO_T}$ac_res" >&6; }
41407 if test `eval echo '${'$as_ac_var'}'` = yes; then
41408 cat >>confdefs.h <<_ACEOF
41409 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41410 _ACEOF
41411
41412 fi
41413 done
41414
41415 fi
41416
41417 HAVE_SOME_SLEEP_FUNC=0
41418 if test "$USE_BEOS" = 1; then
41419 cat >>confdefs.h <<\_ACEOF
41420 #define HAVE_SLEEP 1
41421 _ACEOF
41422
41423 HAVE_SOME_SLEEP_FUNC=1
41424 fi
41425
41426 if test "$USE_DARWIN" = 1; then
41427 cat >>confdefs.h <<\_ACEOF
41428 #define HAVE_USLEEP 1
41429 _ACEOF
41430
41431 HAVE_SOME_SLEEP_FUNC=1
41432 fi
41433
41434 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
41435 POSIX4_LINK=
41436
41437 for ac_func in nanosleep
41438 do
41439 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41440 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41441 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41442 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41443 echo $ECHO_N "(cached) $ECHO_C" >&6
41444 else
41445 cat >conftest.$ac_ext <<_ACEOF
41446 /* confdefs.h. */
41447 _ACEOF
41448 cat confdefs.h >>conftest.$ac_ext
41449 cat >>conftest.$ac_ext <<_ACEOF
41450 /* end confdefs.h. */
41451 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41452 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41453 #define $ac_func innocuous_$ac_func
41454
41455 /* System header to define __stub macros and hopefully few prototypes,
41456 which can conflict with char $ac_func (); below.
41457 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41458 <limits.h> exists even on freestanding compilers. */
41459
41460 #ifdef __STDC__
41461 # include <limits.h>
41462 #else
41463 # include <assert.h>
41464 #endif
41465
41466 #undef $ac_func
41467
41468 /* Override any GCC internal prototype to avoid an error.
41469 Use char because int might match the return type of a GCC
41470 builtin and then its argument prototype would still apply. */
41471 #ifdef __cplusplus
41472 extern "C"
41473 #endif
41474 char $ac_func ();
41475 /* The GNU C library defines this for functions which it implements
41476 to always fail with ENOSYS. Some functions are actually named
41477 something starting with __ and the normal name is an alias. */
41478 #if defined __stub_$ac_func || defined __stub___$ac_func
41479 choke me
41480 #endif
41481
41482 int
41483 main ()
41484 {
41485 return $ac_func ();
41486 ;
41487 return 0;
41488 }
41489 _ACEOF
41490 rm -f conftest.$ac_objext conftest$ac_exeext
41491 if { (ac_try="$ac_link"
41492 case "(($ac_try" in
41493 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41494 *) ac_try_echo=$ac_try;;
41495 esac
41496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41497 (eval "$ac_link") 2>conftest.er1
41498 ac_status=$?
41499 grep -v '^ *+' conftest.er1 >conftest.err
41500 rm -f conftest.er1
41501 cat conftest.err >&5
41502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41503 (exit $ac_status); } && {
41504 test -z "$ac_c_werror_flag" ||
41505 test ! -s conftest.err
41506 } && test -s conftest$ac_exeext &&
41507 $as_test_x conftest$ac_exeext; then
41508 eval "$as_ac_var=yes"
41509 else
41510 echo "$as_me: failed program was:" >&5
41511 sed 's/^/| /' conftest.$ac_ext >&5
41512
41513 eval "$as_ac_var=no"
41514 fi
41515
41516 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41517 conftest$ac_exeext conftest.$ac_ext
41518 fi
41519 ac_res=`eval echo '${'$as_ac_var'}'`
41520 { echo "$as_me:$LINENO: result: $ac_res" >&5
41521 echo "${ECHO_T}$ac_res" >&6; }
41522 if test `eval echo '${'$as_ac_var'}'` = yes; then
41523 cat >>confdefs.h <<_ACEOF
41524 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41525 _ACEOF
41526 cat >>confdefs.h <<\_ACEOF
41527 #define HAVE_NANOSLEEP 1
41528 _ACEOF
41529
41530 else
41531
41532 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
41533 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
41534 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
41535 echo $ECHO_N "(cached) $ECHO_C" >&6
41536 else
41537 ac_check_lib_save_LIBS=$LIBS
41538 LIBS="-lposix4 $LIBS"
41539 cat >conftest.$ac_ext <<_ACEOF
41540 /* confdefs.h. */
41541 _ACEOF
41542 cat confdefs.h >>conftest.$ac_ext
41543 cat >>conftest.$ac_ext <<_ACEOF
41544 /* end confdefs.h. */
41545
41546 /* Override any GCC internal prototype to avoid an error.
41547 Use char because int might match the return type of a GCC
41548 builtin and then its argument prototype would still apply. */
41549 #ifdef __cplusplus
41550 extern "C"
41551 #endif
41552 char nanosleep ();
41553 int
41554 main ()
41555 {
41556 return nanosleep ();
41557 ;
41558 return 0;
41559 }
41560 _ACEOF
41561 rm -f conftest.$ac_objext conftest$ac_exeext
41562 if { (ac_try="$ac_link"
41563 case "(($ac_try" in
41564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41565 *) ac_try_echo=$ac_try;;
41566 esac
41567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41568 (eval "$ac_link") 2>conftest.er1
41569 ac_status=$?
41570 grep -v '^ *+' conftest.er1 >conftest.err
41571 rm -f conftest.er1
41572 cat conftest.err >&5
41573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41574 (exit $ac_status); } && {
41575 test -z "$ac_c_werror_flag" ||
41576 test ! -s conftest.err
41577 } && test -s conftest$ac_exeext &&
41578 $as_test_x conftest$ac_exeext; then
41579 ac_cv_lib_posix4_nanosleep=yes
41580 else
41581 echo "$as_me: failed program was:" >&5
41582 sed 's/^/| /' conftest.$ac_ext >&5
41583
41584 ac_cv_lib_posix4_nanosleep=no
41585 fi
41586
41587 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41588 conftest$ac_exeext conftest.$ac_ext
41589 LIBS=$ac_check_lib_save_LIBS
41590 fi
41591 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
41592 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
41593 if test $ac_cv_lib_posix4_nanosleep = yes; then
41594
41595 cat >>confdefs.h <<\_ACEOF
41596 #define HAVE_NANOSLEEP 1
41597 _ACEOF
41598
41599 POSIX4_LINK=" -lposix4"
41600
41601 else
41602
41603
41604 for wx_func in usleep
41605 do
41606 { echo "$as_me:$LINENO: checking for $wx_func" >&5
41607 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
41608 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
41609 echo $ECHO_N "(cached) $ECHO_C" >&6
41610 else
41611
41612 cat >conftest.$ac_ext <<_ACEOF
41613
41614 /* confdefs.h. */
41615 _ACEOF
41616 cat confdefs.h >>conftest.$ac_ext
41617 cat >>conftest.$ac_ext <<_ACEOF
41618 /* end confdefs.h. */
41619
41620
41621 $ac_includes_default
41622
41623 int
41624 main ()
41625 {
41626
41627 #ifndef $wx_func
41628 &$wx_func;
41629 #endif
41630
41631
41632 ;
41633 return 0;
41634 }
41635
41636 _ACEOF
41637 rm -f conftest.$ac_objext conftest$ac_exeext
41638 if { (ac_try="$ac_link"
41639 case "(($ac_try" in
41640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41641 *) ac_try_echo=$ac_try;;
41642 esac
41643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41644 (eval "$ac_link") 2>conftest.er1
41645 ac_status=$?
41646 grep -v '^ *+' conftest.er1 >conftest.err
41647 rm -f conftest.er1
41648 cat conftest.err >&5
41649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41650 (exit $ac_status); } && {
41651 test -z "$ac_c_werror_flag" ||
41652 test ! -s conftest.err
41653 } && test -s conftest$ac_exeext &&
41654 $as_test_x conftest$ac_exeext; then
41655 eval wx_cv_func_$wx_func=yes
41656 else
41657 echo "$as_me: failed program was:" >&5
41658 sed 's/^/| /' conftest.$ac_ext >&5
41659
41660 eval wx_cv_func_$wx_func=no
41661 fi
41662
41663 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41664 conftest$ac_exeext conftest.$ac_ext
41665
41666 fi
41667 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
41668 { echo "$as_me:$LINENO: result: $ac_res" >&5
41669 echo "${ECHO_T}$ac_res" >&6; }
41670
41671 if eval test \$wx_cv_func_$wx_func = yes
41672 then
41673 cat >>confdefs.h <<_ACEOF
41674 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
41675 _ACEOF
41676
41677
41678 else
41679 :
41680 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
41681 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
41682
41683 fi
41684 done
41685
41686
41687
41688 fi
41689
41690
41691
41692 fi
41693 done
41694
41695 fi
41696
41697
41698 for wx_func in uname
41699 do
41700 { echo "$as_me:$LINENO: checking for $wx_func" >&5
41701 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
41702 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
41703 echo $ECHO_N "(cached) $ECHO_C" >&6
41704 else
41705
41706 cat >conftest.$ac_ext <<_ACEOF
41707
41708 /* confdefs.h. */
41709 _ACEOF
41710 cat confdefs.h >>conftest.$ac_ext
41711 cat >>conftest.$ac_ext <<_ACEOF
41712 /* end confdefs.h. */
41713
41714 #include <sys/utsname.h>
41715 $ac_includes_default
41716
41717 int
41718 main ()
41719 {
41720
41721 #ifndef $wx_func
41722 &$wx_func;
41723 #endif
41724
41725
41726 ;
41727 return 0;
41728 }
41729
41730 _ACEOF
41731 rm -f conftest.$ac_objext conftest$ac_exeext
41732 if { (ac_try="$ac_link"
41733 case "(($ac_try" in
41734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41735 *) ac_try_echo=$ac_try;;
41736 esac
41737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41738 (eval "$ac_link") 2>conftest.er1
41739 ac_status=$?
41740 grep -v '^ *+' conftest.er1 >conftest.err
41741 rm -f conftest.er1
41742 cat conftest.err >&5
41743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41744 (exit $ac_status); } && {
41745 test -z "$ac_c_werror_flag" ||
41746 test ! -s conftest.err
41747 } && test -s conftest$ac_exeext &&
41748 $as_test_x conftest$ac_exeext; then
41749 eval wx_cv_func_$wx_func=yes
41750 else
41751 echo "$as_me: failed program was:" >&5
41752 sed 's/^/| /' conftest.$ac_ext >&5
41753
41754 eval wx_cv_func_$wx_func=no
41755 fi
41756
41757 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41758 conftest$ac_exeext conftest.$ac_ext
41759
41760 fi
41761 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
41762 { echo "$as_me:$LINENO: result: $ac_res" >&5
41763 echo "${ECHO_T}$ac_res" >&6; }
41764
41765 if eval test \$wx_cv_func_$wx_func = yes
41766 then
41767 cat >>confdefs.h <<_ACEOF
41768 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
41769 _ACEOF
41770
41771
41772 else
41773 :
41774
41775 fi
41776 done
41777
41778 if test "$wx_cv_func_uname" != yes; then
41779
41780 for wx_func in gethostname
41781 do
41782 { echo "$as_me:$LINENO: checking for $wx_func" >&5
41783 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
41784 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
41785 echo $ECHO_N "(cached) $ECHO_C" >&6
41786 else
41787
41788 cat >conftest.$ac_ext <<_ACEOF
41789
41790 /* confdefs.h. */
41791 _ACEOF
41792 cat confdefs.h >>conftest.$ac_ext
41793 cat >>conftest.$ac_ext <<_ACEOF
41794 /* end confdefs.h. */
41795
41796
41797 $ac_includes_default
41798
41799 int
41800 main ()
41801 {
41802
41803 #ifndef $wx_func
41804 &$wx_func;
41805 #endif
41806
41807
41808 ;
41809 return 0;
41810 }
41811
41812 _ACEOF
41813 rm -f conftest.$ac_objext conftest$ac_exeext
41814 if { (ac_try="$ac_link"
41815 case "(($ac_try" in
41816 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41817 *) ac_try_echo=$ac_try;;
41818 esac
41819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41820 (eval "$ac_link") 2>conftest.er1
41821 ac_status=$?
41822 grep -v '^ *+' conftest.er1 >conftest.err
41823 rm -f conftest.er1
41824 cat conftest.err >&5
41825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41826 (exit $ac_status); } && {
41827 test -z "$ac_c_werror_flag" ||
41828 test ! -s conftest.err
41829 } && test -s conftest$ac_exeext &&
41830 $as_test_x conftest$ac_exeext; then
41831 eval wx_cv_func_$wx_func=yes
41832 else
41833 echo "$as_me: failed program was:" >&5
41834 sed 's/^/| /' conftest.$ac_ext >&5
41835
41836 eval wx_cv_func_$wx_func=no
41837 fi
41838
41839 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41840 conftest$ac_exeext conftest.$ac_ext
41841
41842 fi
41843 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
41844 { echo "$as_me:$LINENO: result: $ac_res" >&5
41845 echo "${ECHO_T}$ac_res" >&6; }
41846
41847 if eval test \$wx_cv_func_$wx_func = yes
41848 then
41849 cat >>confdefs.h <<_ACEOF
41850 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
41851 _ACEOF
41852
41853
41854 else
41855 :
41856
41857 fi
41858 done
41859
41860 fi
41861
41862
41863 for wx_func in strtok_r
41864 do
41865 { echo "$as_me:$LINENO: checking for $wx_func" >&5
41866 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
41867 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
41868 echo $ECHO_N "(cached) $ECHO_C" >&6
41869 else
41870
41871 cat >conftest.$ac_ext <<_ACEOF
41872
41873 /* confdefs.h. */
41874 _ACEOF
41875 cat confdefs.h >>conftest.$ac_ext
41876 cat >>conftest.$ac_ext <<_ACEOF
41877 /* end confdefs.h. */
41878
41879 #define _REENTRANT
41880 $ac_includes_default
41881
41882 int
41883 main ()
41884 {
41885
41886 #ifndef $wx_func
41887 &$wx_func;
41888 #endif
41889
41890
41891 ;
41892 return 0;
41893 }
41894
41895 _ACEOF
41896 rm -f conftest.$ac_objext conftest$ac_exeext
41897 if { (ac_try="$ac_link"
41898 case "(($ac_try" in
41899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41900 *) ac_try_echo=$ac_try;;
41901 esac
41902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41903 (eval "$ac_link") 2>conftest.er1
41904 ac_status=$?
41905 grep -v '^ *+' conftest.er1 >conftest.err
41906 rm -f conftest.er1
41907 cat conftest.err >&5
41908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41909 (exit $ac_status); } && {
41910 test -z "$ac_c_werror_flag" ||
41911 test ! -s conftest.err
41912 } && test -s conftest$ac_exeext &&
41913 $as_test_x conftest$ac_exeext; then
41914 eval wx_cv_func_$wx_func=yes
41915 else
41916 echo "$as_me: failed program was:" >&5
41917 sed 's/^/| /' conftest.$ac_ext >&5
41918
41919 eval wx_cv_func_$wx_func=no
41920 fi
41921
41922 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41923 conftest$ac_exeext conftest.$ac_ext
41924
41925 fi
41926 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
41927 { echo "$as_me:$LINENO: result: $ac_res" >&5
41928 echo "${ECHO_T}$ac_res" >&6; }
41929
41930 if eval test \$wx_cv_func_$wx_func = yes
41931 then
41932 cat >>confdefs.h <<_ACEOF
41933 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
41934 _ACEOF
41935
41936
41937 else
41938 :
41939
41940 fi
41941 done
41942
41943
41944 INET_LINK=
41945
41946 for ac_func in inet_addr
41947 do
41948 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41949 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41950 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41951 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41952 echo $ECHO_N "(cached) $ECHO_C" >&6
41953 else
41954 cat >conftest.$ac_ext <<_ACEOF
41955 /* confdefs.h. */
41956 _ACEOF
41957 cat confdefs.h >>conftest.$ac_ext
41958 cat >>conftest.$ac_ext <<_ACEOF
41959 /* end confdefs.h. */
41960 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41961 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41962 #define $ac_func innocuous_$ac_func
41963
41964 /* System header to define __stub macros and hopefully few prototypes,
41965 which can conflict with char $ac_func (); below.
41966 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41967 <limits.h> exists even on freestanding compilers. */
41968
41969 #ifdef __STDC__
41970 # include <limits.h>
41971 #else
41972 # include <assert.h>
41973 #endif
41974
41975 #undef $ac_func
41976
41977 /* Override any GCC internal prototype to avoid an error.
41978 Use char because int might match the return type of a GCC
41979 builtin and then its argument prototype would still apply. */
41980 #ifdef __cplusplus
41981 extern "C"
41982 #endif
41983 char $ac_func ();
41984 /* The GNU C library defines this for functions which it implements
41985 to always fail with ENOSYS. Some functions are actually named
41986 something starting with __ and the normal name is an alias. */
41987 #if defined __stub_$ac_func || defined __stub___$ac_func
41988 choke me
41989 #endif
41990
41991 int
41992 main ()
41993 {
41994 return $ac_func ();
41995 ;
41996 return 0;
41997 }
41998 _ACEOF
41999 rm -f conftest.$ac_objext conftest$ac_exeext
42000 if { (ac_try="$ac_link"
42001 case "(($ac_try" in
42002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42003 *) ac_try_echo=$ac_try;;
42004 esac
42005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42006 (eval "$ac_link") 2>conftest.er1
42007 ac_status=$?
42008 grep -v '^ *+' conftest.er1 >conftest.err
42009 rm -f conftest.er1
42010 cat conftest.err >&5
42011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42012 (exit $ac_status); } && {
42013 test -z "$ac_c_werror_flag" ||
42014 test ! -s conftest.err
42015 } && test -s conftest$ac_exeext &&
42016 $as_test_x conftest$ac_exeext; then
42017 eval "$as_ac_var=yes"
42018 else
42019 echo "$as_me: failed program was:" >&5
42020 sed 's/^/| /' conftest.$ac_ext >&5
42021
42022 eval "$as_ac_var=no"
42023 fi
42024
42025 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42026 conftest$ac_exeext conftest.$ac_ext
42027 fi
42028 ac_res=`eval echo '${'$as_ac_var'}'`
42029 { echo "$as_me:$LINENO: result: $ac_res" >&5
42030 echo "${ECHO_T}$ac_res" >&6; }
42031 if test `eval echo '${'$as_ac_var'}'` = yes; then
42032 cat >>confdefs.h <<_ACEOF
42033 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42034 _ACEOF
42035 cat >>confdefs.h <<\_ACEOF
42036 #define HAVE_INET_ADDR 1
42037 _ACEOF
42038
42039 else
42040
42041 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
42042 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
42043 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
42044 echo $ECHO_N "(cached) $ECHO_C" >&6
42045 else
42046 ac_check_lib_save_LIBS=$LIBS
42047 LIBS="-lnsl $LIBS"
42048 cat >conftest.$ac_ext <<_ACEOF
42049 /* confdefs.h. */
42050 _ACEOF
42051 cat confdefs.h >>conftest.$ac_ext
42052 cat >>conftest.$ac_ext <<_ACEOF
42053 /* end confdefs.h. */
42054
42055 /* Override any GCC internal prototype to avoid an error.
42056 Use char because int might match the return type of a GCC
42057 builtin and then its argument prototype would still apply. */
42058 #ifdef __cplusplus
42059 extern "C"
42060 #endif
42061 char inet_addr ();
42062 int
42063 main ()
42064 {
42065 return inet_addr ();
42066 ;
42067 return 0;
42068 }
42069 _ACEOF
42070 rm -f conftest.$ac_objext conftest$ac_exeext
42071 if { (ac_try="$ac_link"
42072 case "(($ac_try" in
42073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42074 *) ac_try_echo=$ac_try;;
42075 esac
42076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42077 (eval "$ac_link") 2>conftest.er1
42078 ac_status=$?
42079 grep -v '^ *+' conftest.er1 >conftest.err
42080 rm -f conftest.er1
42081 cat conftest.err >&5
42082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42083 (exit $ac_status); } && {
42084 test -z "$ac_c_werror_flag" ||
42085 test ! -s conftest.err
42086 } && test -s conftest$ac_exeext &&
42087 $as_test_x conftest$ac_exeext; then
42088 ac_cv_lib_nsl_inet_addr=yes
42089 else
42090 echo "$as_me: failed program was:" >&5
42091 sed 's/^/| /' conftest.$ac_ext >&5
42092
42093 ac_cv_lib_nsl_inet_addr=no
42094 fi
42095
42096 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42097 conftest$ac_exeext conftest.$ac_ext
42098 LIBS=$ac_check_lib_save_LIBS
42099 fi
42100 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
42101 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
42102 if test $ac_cv_lib_nsl_inet_addr = yes; then
42103 INET_LINK="nsl"
42104 else
42105
42106 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
42107 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
42108 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
42109 echo $ECHO_N "(cached) $ECHO_C" >&6
42110 else
42111 ac_check_lib_save_LIBS=$LIBS
42112 LIBS="-lresolv $LIBS"
42113 cat >conftest.$ac_ext <<_ACEOF
42114 /* confdefs.h. */
42115 _ACEOF
42116 cat confdefs.h >>conftest.$ac_ext
42117 cat >>conftest.$ac_ext <<_ACEOF
42118 /* end confdefs.h. */
42119
42120 /* Override any GCC internal prototype to avoid an error.
42121 Use char because int might match the return type of a GCC
42122 builtin and then its argument prototype would still apply. */
42123 #ifdef __cplusplus
42124 extern "C"
42125 #endif
42126 char inet_addr ();
42127 int
42128 main ()
42129 {
42130 return inet_addr ();
42131 ;
42132 return 0;
42133 }
42134 _ACEOF
42135 rm -f conftest.$ac_objext conftest$ac_exeext
42136 if { (ac_try="$ac_link"
42137 case "(($ac_try" in
42138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42139 *) ac_try_echo=$ac_try;;
42140 esac
42141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42142 (eval "$ac_link") 2>conftest.er1
42143 ac_status=$?
42144 grep -v '^ *+' conftest.er1 >conftest.err
42145 rm -f conftest.er1
42146 cat conftest.err >&5
42147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42148 (exit $ac_status); } && {
42149 test -z "$ac_c_werror_flag" ||
42150 test ! -s conftest.err
42151 } && test -s conftest$ac_exeext &&
42152 $as_test_x conftest$ac_exeext; then
42153 ac_cv_lib_resolv_inet_addr=yes
42154 else
42155 echo "$as_me: failed program was:" >&5
42156 sed 's/^/| /' conftest.$ac_ext >&5
42157
42158 ac_cv_lib_resolv_inet_addr=no
42159 fi
42160
42161 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42162 conftest$ac_exeext conftest.$ac_ext
42163 LIBS=$ac_check_lib_save_LIBS
42164 fi
42165 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
42166 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
42167 if test $ac_cv_lib_resolv_inet_addr = yes; then
42168 INET_LINK="resolv"
42169 else
42170
42171 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
42172 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
42173 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
42174 echo $ECHO_N "(cached) $ECHO_C" >&6
42175 else
42176 ac_check_lib_save_LIBS=$LIBS
42177 LIBS="-lsocket $LIBS"
42178 cat >conftest.$ac_ext <<_ACEOF
42179 /* confdefs.h. */
42180 _ACEOF
42181 cat confdefs.h >>conftest.$ac_ext
42182 cat >>conftest.$ac_ext <<_ACEOF
42183 /* end confdefs.h. */
42184
42185 /* Override any GCC internal prototype to avoid an error.
42186 Use char because int might match the return type of a GCC
42187 builtin and then its argument prototype would still apply. */
42188 #ifdef __cplusplus
42189 extern "C"
42190 #endif
42191 char inet_addr ();
42192 int
42193 main ()
42194 {
42195 return inet_addr ();
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 ac_cv_lib_socket_inet_addr=yes
42219 else
42220 echo "$as_me: failed program was:" >&5
42221 sed 's/^/| /' conftest.$ac_ext >&5
42222
42223 ac_cv_lib_socket_inet_addr=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 LIBS=$ac_check_lib_save_LIBS
42229 fi
42230 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
42231 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
42232 if test $ac_cv_lib_socket_inet_addr = yes; then
42233 INET_LINK="socket"
42234
42235 fi
42236
42237
42238
42239 fi
42240
42241
42242
42243 fi
42244
42245
42246
42247 fi
42248 done
42249
42250
42251
42252 for ac_func in inet_aton
42253 do
42254 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42255 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42256 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42257 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42258 echo $ECHO_N "(cached) $ECHO_C" >&6
42259 else
42260 cat >conftest.$ac_ext <<_ACEOF
42261 /* confdefs.h. */
42262 _ACEOF
42263 cat confdefs.h >>conftest.$ac_ext
42264 cat >>conftest.$ac_ext <<_ACEOF
42265 /* end confdefs.h. */
42266 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42267 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42268 #define $ac_func innocuous_$ac_func
42269
42270 /* System header to define __stub macros and hopefully few prototypes,
42271 which can conflict with char $ac_func (); below.
42272 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42273 <limits.h> exists even on freestanding compilers. */
42274
42275 #ifdef __STDC__
42276 # include <limits.h>
42277 #else
42278 # include <assert.h>
42279 #endif
42280
42281 #undef $ac_func
42282
42283 /* Override any GCC internal prototype to avoid an error.
42284 Use char because int might match the return type of a GCC
42285 builtin and then its argument prototype would still apply. */
42286 #ifdef __cplusplus
42287 extern "C"
42288 #endif
42289 char $ac_func ();
42290 /* The GNU C library defines this for functions which it implements
42291 to always fail with ENOSYS. Some functions are actually named
42292 something starting with __ and the normal name is an alias. */
42293 #if defined __stub_$ac_func || defined __stub___$ac_func
42294 choke me
42295 #endif
42296
42297 int
42298 main ()
42299 {
42300 return $ac_func ();
42301 ;
42302 return 0;
42303 }
42304 _ACEOF
42305 rm -f conftest.$ac_objext conftest$ac_exeext
42306 if { (ac_try="$ac_link"
42307 case "(($ac_try" in
42308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42309 *) ac_try_echo=$ac_try;;
42310 esac
42311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42312 (eval "$ac_link") 2>conftest.er1
42313 ac_status=$?
42314 grep -v '^ *+' conftest.er1 >conftest.err
42315 rm -f conftest.er1
42316 cat conftest.err >&5
42317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42318 (exit $ac_status); } && {
42319 test -z "$ac_c_werror_flag" ||
42320 test ! -s conftest.err
42321 } && test -s conftest$ac_exeext &&
42322 $as_test_x conftest$ac_exeext; then
42323 eval "$as_ac_var=yes"
42324 else
42325 echo "$as_me: failed program was:" >&5
42326 sed 's/^/| /' conftest.$ac_ext >&5
42327
42328 eval "$as_ac_var=no"
42329 fi
42330
42331 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42332 conftest$ac_exeext conftest.$ac_ext
42333 fi
42334 ac_res=`eval echo '${'$as_ac_var'}'`
42335 { echo "$as_me:$LINENO: result: $ac_res" >&5
42336 echo "${ECHO_T}$ac_res" >&6; }
42337 if test `eval echo '${'$as_ac_var'}'` = yes; then
42338 cat >>confdefs.h <<_ACEOF
42339 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42340 _ACEOF
42341 cat >>confdefs.h <<\_ACEOF
42342 #define HAVE_INET_ATON 1
42343 _ACEOF
42344
42345 else
42346
42347 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
42348 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
42349 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
42350 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
42351 echo $ECHO_N "(cached) $ECHO_C" >&6
42352 else
42353 ac_check_lib_save_LIBS=$LIBS
42354 LIBS="-l$INET_LINK $LIBS"
42355 cat >conftest.$ac_ext <<_ACEOF
42356 /* confdefs.h. */
42357 _ACEOF
42358 cat confdefs.h >>conftest.$ac_ext
42359 cat >>conftest.$ac_ext <<_ACEOF
42360 /* end confdefs.h. */
42361
42362 /* Override any GCC internal prototype to avoid an error.
42363 Use char because int might match the return type of a GCC
42364 builtin and then its argument prototype would still apply. */
42365 #ifdef __cplusplus
42366 extern "C"
42367 #endif
42368 char inet_aton ();
42369 int
42370 main ()
42371 {
42372 return inet_aton ();
42373 ;
42374 return 0;
42375 }
42376 _ACEOF
42377 rm -f conftest.$ac_objext conftest$ac_exeext
42378 if { (ac_try="$ac_link"
42379 case "(($ac_try" in
42380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42381 *) ac_try_echo=$ac_try;;
42382 esac
42383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42384 (eval "$ac_link") 2>conftest.er1
42385 ac_status=$?
42386 grep -v '^ *+' conftest.er1 >conftest.err
42387 rm -f conftest.er1
42388 cat conftest.err >&5
42389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42390 (exit $ac_status); } && {
42391 test -z "$ac_c_werror_flag" ||
42392 test ! -s conftest.err
42393 } && test -s conftest$ac_exeext &&
42394 $as_test_x conftest$ac_exeext; then
42395 eval "$as_ac_Lib=yes"
42396 else
42397 echo "$as_me: failed program was:" >&5
42398 sed 's/^/| /' conftest.$ac_ext >&5
42399
42400 eval "$as_ac_Lib=no"
42401 fi
42402
42403 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42404 conftest$ac_exeext conftest.$ac_ext
42405 LIBS=$ac_check_lib_save_LIBS
42406 fi
42407 ac_res=`eval echo '${'$as_ac_Lib'}'`
42408 { echo "$as_me:$LINENO: result: $ac_res" >&5
42409 echo "${ECHO_T}$ac_res" >&6; }
42410 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
42411 cat >>confdefs.h <<\_ACEOF
42412 #define HAVE_INET_ATON 1
42413 _ACEOF
42414
42415 fi
42416
42417
42418 fi
42419 done
42420
42421
42422 if test "x$INET_LINK" != "x"; then
42423 cat >>confdefs.h <<\_ACEOF
42424 #define HAVE_INET_ADDR 1
42425 _ACEOF
42426
42427 INET_LINK=" -l$INET_LINK"
42428 fi
42429
42430
42431 for wx_func in fdopen
42432 do
42433 { echo "$as_me:$LINENO: checking for $wx_func" >&5
42434 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
42435 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
42436 echo $ECHO_N "(cached) $ECHO_C" >&6
42437 else
42438
42439 cat >conftest.$ac_ext <<_ACEOF
42440
42441 /* confdefs.h. */
42442 _ACEOF
42443 cat confdefs.h >>conftest.$ac_ext
42444 cat >>conftest.$ac_ext <<_ACEOF
42445 /* end confdefs.h. */
42446
42447
42448 $ac_includes_default
42449
42450 int
42451 main ()
42452 {
42453
42454 #ifndef $wx_func
42455 &$wx_func;
42456 #endif
42457
42458
42459 ;
42460 return 0;
42461 }
42462
42463 _ACEOF
42464 rm -f conftest.$ac_objext conftest$ac_exeext
42465 if { (ac_try="$ac_link"
42466 case "(($ac_try" in
42467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42468 *) ac_try_echo=$ac_try;;
42469 esac
42470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42471 (eval "$ac_link") 2>conftest.er1
42472 ac_status=$?
42473 grep -v '^ *+' conftest.er1 >conftest.err
42474 rm -f conftest.er1
42475 cat conftest.err >&5
42476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42477 (exit $ac_status); } && {
42478 test -z "$ac_c_werror_flag" ||
42479 test ! -s conftest.err
42480 } && test -s conftest$ac_exeext &&
42481 $as_test_x conftest$ac_exeext; then
42482 eval wx_cv_func_$wx_func=yes
42483 else
42484 echo "$as_me: failed program was:" >&5
42485 sed 's/^/| /' conftest.$ac_ext >&5
42486
42487 eval wx_cv_func_$wx_func=no
42488 fi
42489
42490 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42491 conftest$ac_exeext conftest.$ac_ext
42492
42493 fi
42494 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
42495 { echo "$as_me:$LINENO: result: $ac_res" >&5
42496 echo "${ECHO_T}$ac_res" >&6; }
42497
42498 if eval test \$wx_cv_func_$wx_func = yes
42499 then
42500 cat >>confdefs.h <<_ACEOF
42501 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
42502 _ACEOF
42503
42504
42505 else
42506 :
42507
42508 fi
42509 done
42510
42511
42512 if test "$wxUSE_TARSTREAM" = "yes"; then
42513
42514 for wx_func in sysconf
42515 do
42516 { echo "$as_me:$LINENO: checking for $wx_func" >&5
42517 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
42518 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
42519 echo $ECHO_N "(cached) $ECHO_C" >&6
42520 else
42521
42522 cat >conftest.$ac_ext <<_ACEOF
42523
42524 /* confdefs.h. */
42525 _ACEOF
42526 cat confdefs.h >>conftest.$ac_ext
42527 cat >>conftest.$ac_ext <<_ACEOF
42528 /* end confdefs.h. */
42529
42530
42531 $ac_includes_default
42532
42533 int
42534 main ()
42535 {
42536
42537 #ifndef $wx_func
42538 &$wx_func;
42539 #endif
42540
42541
42542 ;
42543 return 0;
42544 }
42545
42546 _ACEOF
42547 rm -f conftest.$ac_objext conftest$ac_exeext
42548 if { (ac_try="$ac_link"
42549 case "(($ac_try" in
42550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42551 *) ac_try_echo=$ac_try;;
42552 esac
42553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42554 (eval "$ac_link") 2>conftest.er1
42555 ac_status=$?
42556 grep -v '^ *+' conftest.er1 >conftest.err
42557 rm -f conftest.er1
42558 cat conftest.err >&5
42559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42560 (exit $ac_status); } && {
42561 test -z "$ac_c_werror_flag" ||
42562 test ! -s conftest.err
42563 } && test -s conftest$ac_exeext &&
42564 $as_test_x conftest$ac_exeext; then
42565 eval wx_cv_func_$wx_func=yes
42566 else
42567 echo "$as_me: failed program was:" >&5
42568 sed 's/^/| /' conftest.$ac_ext >&5
42569
42570 eval wx_cv_func_$wx_func=no
42571 fi
42572
42573 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42574 conftest$ac_exeext conftest.$ac_ext
42575
42576 fi
42577 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
42578 { echo "$as_me:$LINENO: result: $ac_res" >&5
42579 echo "${ECHO_T}$ac_res" >&6; }
42580
42581 if eval test \$wx_cv_func_$wx_func = yes
42582 then
42583 cat >>confdefs.h <<_ACEOF
42584 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
42585 _ACEOF
42586
42587
42588 else
42589 :
42590
42591 fi
42592 done
42593
42594
42595
42596 for wx_func in getpwuid_r
42597 do
42598 { echo "$as_me:$LINENO: checking for $wx_func" >&5
42599 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
42600 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
42601 echo $ECHO_N "(cached) $ECHO_C" >&6
42602 else
42603
42604 cat >conftest.$ac_ext <<_ACEOF
42605
42606 /* confdefs.h. */
42607 _ACEOF
42608 cat confdefs.h >>conftest.$ac_ext
42609 cat >>conftest.$ac_ext <<_ACEOF
42610 /* end confdefs.h. */
42611
42612
42613 #define _REENTRANT
42614 #include <pwd.h>
42615
42616 $ac_includes_default
42617
42618 int
42619 main ()
42620 {
42621
42622 #ifndef $wx_func
42623 &$wx_func;
42624 #endif
42625
42626 struct passwd pw, *ppw;
42627 char buf[1024];
42628 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
42629
42630
42631 ;
42632 return 0;
42633 }
42634
42635 _ACEOF
42636 rm -f conftest.$ac_objext conftest$ac_exeext
42637 if { (ac_try="$ac_link"
42638 case "(($ac_try" in
42639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42640 *) ac_try_echo=$ac_try;;
42641 esac
42642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42643 (eval "$ac_link") 2>conftest.er1
42644 ac_status=$?
42645 grep -v '^ *+' conftest.er1 >conftest.err
42646 rm -f conftest.er1
42647 cat conftest.err >&5
42648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42649 (exit $ac_status); } && {
42650 test -z "$ac_c_werror_flag" ||
42651 test ! -s conftest.err
42652 } && test -s conftest$ac_exeext &&
42653 $as_test_x conftest$ac_exeext; then
42654 eval wx_cv_func_$wx_func=yes
42655 else
42656 echo "$as_me: failed program was:" >&5
42657 sed 's/^/| /' conftest.$ac_ext >&5
42658
42659 eval wx_cv_func_$wx_func=no
42660 fi
42661
42662 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42663 conftest$ac_exeext conftest.$ac_ext
42664
42665 fi
42666 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
42667 { echo "$as_me:$LINENO: result: $ac_res" >&5
42668 echo "${ECHO_T}$ac_res" >&6; }
42669
42670 if eval test \$wx_cv_func_$wx_func = yes
42671 then
42672 cat >>confdefs.h <<_ACEOF
42673 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
42674 _ACEOF
42675
42676
42677 else
42678 :
42679
42680 fi
42681 done
42682
42683
42684
42685 for wx_func in getgrgid_r
42686 do
42687 { echo "$as_me:$LINENO: checking for $wx_func" >&5
42688 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
42689 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
42690 echo $ECHO_N "(cached) $ECHO_C" >&6
42691 else
42692
42693 cat >conftest.$ac_ext <<_ACEOF
42694
42695 /* confdefs.h. */
42696 _ACEOF
42697 cat confdefs.h >>conftest.$ac_ext
42698 cat >>conftest.$ac_ext <<_ACEOF
42699 /* end confdefs.h. */
42700
42701
42702 #define _REENTRANT
42703 #include <grp.h>
42704
42705 $ac_includes_default
42706
42707 int
42708 main ()
42709 {
42710
42711 #ifndef $wx_func
42712 &$wx_func;
42713 #endif
42714
42715 struct group grp, *pgrp;
42716 char buf[1024];
42717 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
42718
42719
42720 ;
42721 return 0;
42722 }
42723
42724 _ACEOF
42725 rm -f conftest.$ac_objext conftest$ac_exeext
42726 if { (ac_try="$ac_link"
42727 case "(($ac_try" in
42728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42729 *) ac_try_echo=$ac_try;;
42730 esac
42731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42732 (eval "$ac_link") 2>conftest.er1
42733 ac_status=$?
42734 grep -v '^ *+' conftest.er1 >conftest.err
42735 rm -f conftest.er1
42736 cat conftest.err >&5
42737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42738 (exit $ac_status); } && {
42739 test -z "$ac_c_werror_flag" ||
42740 test ! -s conftest.err
42741 } && test -s conftest$ac_exeext &&
42742 $as_test_x conftest$ac_exeext; then
42743 eval wx_cv_func_$wx_func=yes
42744 else
42745 echo "$as_me: failed program was:" >&5
42746 sed 's/^/| /' conftest.$ac_ext >&5
42747
42748 eval wx_cv_func_$wx_func=no
42749 fi
42750
42751 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42752 conftest$ac_exeext conftest.$ac_ext
42753
42754 fi
42755 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
42756 { echo "$as_me:$LINENO: result: $ac_res" >&5
42757 echo "${ECHO_T}$ac_res" >&6; }
42758
42759 if eval test \$wx_cv_func_$wx_func = yes
42760 then
42761 cat >>confdefs.h <<_ACEOF
42762 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
42763 _ACEOF
42764
42765
42766 else
42767 :
42768
42769 fi
42770 done
42771
42772 fi
42773
42774 fi
42775
42776
42777
42778 cat >confcache <<\_ACEOF
42779 # This file is a shell script that caches the results of configure
42780 # tests run on this system so they can be shared between configure
42781 # scripts and configure runs, see configure's option --config-cache.
42782 # It is not useful on other systems. If it contains results you don't
42783 # want to keep, you may remove or edit it.
42784 #
42785 # config.status only pays attention to the cache file if you give it
42786 # the --recheck option to rerun configure.
42787 #
42788 # `ac_cv_env_foo' variables (set or unset) will be overridden when
42789 # loading this file, other *unset* `ac_cv_foo' will be assigned the
42790 # following values.
42791
42792 _ACEOF
42793
42794 # The following way of writing the cache mishandles newlines in values,
42795 # but we know of no workaround that is simple, portable, and efficient.
42796 # So, we kill variables containing newlines.
42797 # Ultrix sh set writes to stderr and can't be redirected directly,
42798 # and sets the high bit in the cache file unless we assign to the vars.
42799 (
42800 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
42801 eval ac_val=\$$ac_var
42802 case $ac_val in #(
42803 *${as_nl}*)
42804 case $ac_var in #(
42805 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
42806 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
42807 esac
42808 case $ac_var in #(
42809 _ | IFS | as_nl) ;; #(
42810 *) $as_unset $ac_var ;;
42811 esac ;;
42812 esac
42813 done
42814
42815 (set) 2>&1 |
42816 case $as_nl`(ac_space=' '; set) 2>&1` in #(
42817 *${as_nl}ac_space=\ *)
42818 # `set' does not quote correctly, so add quotes (double-quote
42819 # substitution turns \\\\ into \\, and sed turns \\ into \).
42820 sed -n \
42821 "s/'/'\\\\''/g;
42822 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
42823 ;; #(
42824 *)
42825 # `set' quotes correctly as required by POSIX, so do not add quotes.
42826 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
42827 ;;
42828 esac |
42829 sort
42830 ) |
42831 sed '
42832 /^ac_cv_env_/b end
42833 t clear
42834 :clear
42835 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
42836 t end
42837 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
42838 :end' >>confcache
42839 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
42840 if test -w "$cache_file"; then
42841 test "x$cache_file" != "x/dev/null" &&
42842 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
42843 echo "$as_me: updating cache $cache_file" >&6;}
42844 cat confcache >$cache_file
42845 else
42846 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
42847 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
42848 fi
42849 fi
42850 rm -f confcache
42851
42852
42853 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
42854
42855
42856 THREADS_LINK=
42857 THREADS_CFLAGS=
42858
42859 if test "$wxUSE_THREADS" = "yes" ; then
42860 if test "$USE_BEOS" = 1; then
42861 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
42862 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
42863 wxUSE_THREADS="no"
42864 fi
42865 fi
42866
42867 if test "$wxUSE_THREADS" = "yes" ; then
42868
42869
42870 THREAD_OPTS="-pthread"
42871 if test "x$SUNCXX" = xyes; then
42872 THREAD_OPTS="-mt lthread $THREAD_OPTS"
42873 fi
42874
42875 case "${host}" in
42876 *-*-solaris2* | *-*-sunos4* )
42877 if test "x$GCC" = "xyes"; then
42878 THREAD_OPTS="-pthreads $THREAD_OPTS"
42879 fi
42880 ;;
42881 *-*-freebsd*)
42882 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
42883 ;;
42884 *-*-darwin* | *-*-cygwin* )
42885 THREAD_OPTS=""
42886 ;;
42887 *-*-aix*)
42888 THREAD_OPTS="pthreads"
42889 ;;
42890 *-hp-hpux* )
42891 if test "x$GCC" = "xyes"; then
42892 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
42893 THREAD_OPTS=""
42894 else
42895 THREAD_OPTS="-mt"
42896 fi
42897 ;;
42898
42899 *-*-irix* )
42900 if test "x$GCC" = "xyes"; then
42901 THREAD_OPTS=""
42902 fi
42903 ;;
42904
42905 *-*-qnx*)
42906 THREAD_OPTS=""
42907 ;;
42908
42909 *-*-*UnixWare*)
42910 if test "x$GCC" != "xyes"; then
42911 THREAD_OPTS="-Ethread"
42912 fi
42913 ;;
42914 esac
42915
42916 case "${host}" in
42917 *-*-qnx*)
42918 THREAD_OPTS="none pthread"
42919 ;;
42920
42921 *)
42922 THREAD_OPTS="$THREAD_OPTS pthread none"
42923 ;;
42924 esac
42925
42926 THREADS_OK=no
42927 for flag in $THREAD_OPTS; do
42928 case $flag in
42929 none)
42930 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
42931 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
42932 ;;
42933
42934 -*)
42935 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
42936 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
42937 THREADS_CFLAGS="$flag"
42938 ;;
42939
42940 *)
42941 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
42942 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
42943 THREADS_LINK="-l$flag"
42944 ;;
42945 esac
42946
42947 save_LIBS="$LIBS"
42948 save_CFLAGS="$CFLAGS"
42949 LIBS="$THREADS_LINK $LIBS"
42950 CFLAGS="$THREADS_CFLAGS $CFLAGS"
42951
42952 cat >conftest.$ac_ext <<_ACEOF
42953 /* confdefs.h. */
42954 _ACEOF
42955 cat confdefs.h >>conftest.$ac_ext
42956 cat >>conftest.$ac_ext <<_ACEOF
42957 /* end confdefs.h. */
42958 #include <pthread.h>
42959 int
42960 main ()
42961 {
42962 pthread_create(0,0,0,0);
42963 ;
42964 return 0;
42965 }
42966 _ACEOF
42967 rm -f conftest.$ac_objext conftest$ac_exeext
42968 if { (ac_try="$ac_link"
42969 case "(($ac_try" in
42970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42971 *) ac_try_echo=$ac_try;;
42972 esac
42973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42974 (eval "$ac_link") 2>conftest.er1
42975 ac_status=$?
42976 grep -v '^ *+' conftest.er1 >conftest.err
42977 rm -f conftest.er1
42978 cat conftest.err >&5
42979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42980 (exit $ac_status); } && {
42981 test -z "$ac_c_werror_flag" ||
42982 test ! -s conftest.err
42983 } && test -s conftest$ac_exeext &&
42984 $as_test_x conftest$ac_exeext; then
42985 THREADS_OK=yes
42986 else
42987 echo "$as_me: failed program was:" >&5
42988 sed 's/^/| /' conftest.$ac_ext >&5
42989
42990
42991 fi
42992
42993 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42994 conftest$ac_exeext conftest.$ac_ext
42995
42996 LIBS="$save_LIBS"
42997 CFLAGS="$save_CFLAGS"
42998
42999 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
43000 echo "${ECHO_T}$THREADS_OK" >&6; }
43001 if test "x$THREADS_OK" = "xyes"; then
43002 break;
43003 fi
43004
43005 THREADS_LINK=""
43006 THREADS_CFLAGS=""
43007 done
43008
43009 if test "x$THREADS_OK" != "xyes"; then
43010 wxUSE_THREADS=no
43011 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
43012 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
43013 else
43014 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
43015 WXCONFIG_LDFLAGS="$THREADS_CFLAGS $WXCONFIG_LDFLAGS"
43016 LIBS="$THREADS_LINK $LIBS"
43017
43018 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
43019 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
43020 flag=no
43021 case "${host}" in
43022 *-aix*)
43023 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
43024 WXCONFIG_LDFLAGS="-L/usr/lib/threads $WXCONFIG_LDFLAGS"
43025 flag="-D_THREAD_SAFE"
43026 ;;
43027 *-freebsd*)
43028 flag="-D_THREAD_SAFE"
43029 ;;
43030 *-hp-hpux* )
43031 flag="-D_REENTRANT"
43032 if test "x$GCC" != "xyes"; then
43033 flag="$flag -D_RWSTD_MULTI_THREAD"
43034 fi
43035 ;;
43036 *solaris* | alpha*-osf*)
43037 flag="-D_REENTRANT"
43038 ;;
43039 esac
43040 { echo "$as_me:$LINENO: result: ${flag}" >&5
43041 echo "${ECHO_T}${flag}" >&6; }
43042 if test "x$flag" != xno; then
43043 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
43044 fi
43045
43046 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
43047 fi
43048 fi
43049
43050 if test "$wxUSE_THREADS" = "yes" ; then
43051
43052 for ac_func in thr_setconcurrency
43053 do
43054 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43055 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43056 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43057 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43058 echo $ECHO_N "(cached) $ECHO_C" >&6
43059 else
43060 cat >conftest.$ac_ext <<_ACEOF
43061 /* confdefs.h. */
43062 _ACEOF
43063 cat confdefs.h >>conftest.$ac_ext
43064 cat >>conftest.$ac_ext <<_ACEOF
43065 /* end confdefs.h. */
43066 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43067 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43068 #define $ac_func innocuous_$ac_func
43069
43070 /* System header to define __stub macros and hopefully few prototypes,
43071 which can conflict with char $ac_func (); below.
43072 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43073 <limits.h> exists even on freestanding compilers. */
43074
43075 #ifdef __STDC__
43076 # include <limits.h>
43077 #else
43078 # include <assert.h>
43079 #endif
43080
43081 #undef $ac_func
43082
43083 /* Override any GCC internal prototype to avoid an error.
43084 Use char because int might match the return type of a GCC
43085 builtin and then its argument prototype would still apply. */
43086 #ifdef __cplusplus
43087 extern "C"
43088 #endif
43089 char $ac_func ();
43090 /* The GNU C library defines this for functions which it implements
43091 to always fail with ENOSYS. Some functions are actually named
43092 something starting with __ and the normal name is an alias. */
43093 #if defined __stub_$ac_func || defined __stub___$ac_func
43094 choke me
43095 #endif
43096
43097 int
43098 main ()
43099 {
43100 return $ac_func ();
43101 ;
43102 return 0;
43103 }
43104 _ACEOF
43105 rm -f conftest.$ac_objext conftest$ac_exeext
43106 if { (ac_try="$ac_link"
43107 case "(($ac_try" in
43108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43109 *) ac_try_echo=$ac_try;;
43110 esac
43111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43112 (eval "$ac_link") 2>conftest.er1
43113 ac_status=$?
43114 grep -v '^ *+' conftest.er1 >conftest.err
43115 rm -f conftest.er1
43116 cat conftest.err >&5
43117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43118 (exit $ac_status); } && {
43119 test -z "$ac_c_werror_flag" ||
43120 test ! -s conftest.err
43121 } && test -s conftest$ac_exeext &&
43122 $as_test_x conftest$ac_exeext; then
43123 eval "$as_ac_var=yes"
43124 else
43125 echo "$as_me: failed program was:" >&5
43126 sed 's/^/| /' conftest.$ac_ext >&5
43127
43128 eval "$as_ac_var=no"
43129 fi
43130
43131 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43132 conftest$ac_exeext conftest.$ac_ext
43133 fi
43134 ac_res=`eval echo '${'$as_ac_var'}'`
43135 { echo "$as_me:$LINENO: result: $ac_res" >&5
43136 echo "${ECHO_T}$ac_res" >&6; }
43137 if test `eval echo '${'$as_ac_var'}'` = yes; then
43138 cat >>confdefs.h <<_ACEOF
43139 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43140 _ACEOF
43141
43142 fi
43143 done
43144
43145
43146 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
43147 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
43148 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
43149 echo $ECHO_N "(cached) $ECHO_C" >&6
43150 else
43151
43152 ac_ext=cpp
43153 ac_cpp='$CXXCPP $CPPFLAGS'
43154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43157
43158 cat >conftest.$ac_ext <<_ACEOF
43159 /* confdefs.h. */
43160 _ACEOF
43161 cat confdefs.h >>conftest.$ac_ext
43162 cat >>conftest.$ac_ext <<_ACEOF
43163 /* end confdefs.h. */
43164 #include <pthread.h>
43165 void ThreadCleanupFunc(void *p);
43166
43167 int
43168 main ()
43169 {
43170
43171 void *p;
43172 pthread_cleanup_push(ThreadCleanupFunc, p);
43173 pthread_cleanup_pop(0);
43174
43175 ;
43176 return 0;
43177 }
43178 _ACEOF
43179 rm -f conftest.$ac_objext
43180 if { (ac_try="$ac_compile"
43181 case "(($ac_try" in
43182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43183 *) ac_try_echo=$ac_try;;
43184 esac
43185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43186 (eval "$ac_compile") 2>conftest.er1
43187 ac_status=$?
43188 grep -v '^ *+' conftest.er1 >conftest.err
43189 rm -f conftest.er1
43190 cat conftest.err >&5
43191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43192 (exit $ac_status); } && {
43193 test -z "$ac_cxx_werror_flag" ||
43194 test ! -s conftest.err
43195 } && test -s conftest.$ac_objext; then
43196
43197 wx_cv_func_pthread_cleanup=yes
43198
43199 else
43200 echo "$as_me: failed program was:" >&5
43201 sed 's/^/| /' conftest.$ac_ext >&5
43202
43203
43204 wx_cv_func_pthread_cleanup=no
43205
43206
43207 fi
43208
43209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43210 ac_ext=c
43211 ac_cpp='$CPP $CPPFLAGS'
43212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43215
43216
43217 fi
43218 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
43219 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
43220 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
43221 cat >>confdefs.h <<\_ACEOF
43222 #define wxHAVE_PTHREAD_CLEANUP 1
43223 _ACEOF
43224
43225 fi
43226
43227
43228 for ac_header in sched.h
43229 do
43230 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43231 { echo "$as_me:$LINENO: checking for $ac_header" >&5
43232 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
43233 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
43234 echo $ECHO_N "(cached) $ECHO_C" >&6
43235 else
43236 cat >conftest.$ac_ext <<_ACEOF
43237 /* confdefs.h. */
43238 _ACEOF
43239 cat confdefs.h >>conftest.$ac_ext
43240 cat >>conftest.$ac_ext <<_ACEOF
43241 /* end confdefs.h. */
43242 $ac_includes_default
43243
43244 #include <$ac_header>
43245 _ACEOF
43246 rm -f conftest.$ac_objext
43247 if { (ac_try="$ac_compile"
43248 case "(($ac_try" in
43249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43250 *) ac_try_echo=$ac_try;;
43251 esac
43252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43253 (eval "$ac_compile") 2>conftest.er1
43254 ac_status=$?
43255 grep -v '^ *+' conftest.er1 >conftest.err
43256 rm -f conftest.er1
43257 cat conftest.err >&5
43258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43259 (exit $ac_status); } && {
43260 test -z "$ac_c_werror_flag" ||
43261 test ! -s conftest.err
43262 } && test -s conftest.$ac_objext; then
43263 eval "$as_ac_Header=yes"
43264 else
43265 echo "$as_me: failed program was:" >&5
43266 sed 's/^/| /' conftest.$ac_ext >&5
43267
43268 eval "$as_ac_Header=no"
43269 fi
43270
43271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43272 fi
43273 ac_res=`eval echo '${'$as_ac_Header'}'`
43274 { echo "$as_me:$LINENO: result: $ac_res" >&5
43275 echo "${ECHO_T}$ac_res" >&6; }
43276 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43277 cat >>confdefs.h <<_ACEOF
43278 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43279 _ACEOF
43280
43281 fi
43282
43283 done
43284
43285 if test "$ac_cv_header_sched_h" = "yes"; then
43286 { echo "$as_me:$LINENO: checking for sched_yield" >&5
43287 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
43288 if test "${ac_cv_func_sched_yield+set}" = set; then
43289 echo $ECHO_N "(cached) $ECHO_C" >&6
43290 else
43291 cat >conftest.$ac_ext <<_ACEOF
43292 /* confdefs.h. */
43293 _ACEOF
43294 cat confdefs.h >>conftest.$ac_ext
43295 cat >>conftest.$ac_ext <<_ACEOF
43296 /* end confdefs.h. */
43297 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
43298 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43299 #define sched_yield innocuous_sched_yield
43300
43301 /* System header to define __stub macros and hopefully few prototypes,
43302 which can conflict with char sched_yield (); below.
43303 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43304 <limits.h> exists even on freestanding compilers. */
43305
43306 #ifdef __STDC__
43307 # include <limits.h>
43308 #else
43309 # include <assert.h>
43310 #endif
43311
43312 #undef sched_yield
43313
43314 /* Override any GCC internal prototype to avoid an error.
43315 Use char because int might match the return type of a GCC
43316 builtin and then its argument prototype would still apply. */
43317 #ifdef __cplusplus
43318 extern "C"
43319 #endif
43320 char sched_yield ();
43321 /* The GNU C library defines this for functions which it implements
43322 to always fail with ENOSYS. Some functions are actually named
43323 something starting with __ and the normal name is an alias. */
43324 #if defined __stub_sched_yield || defined __stub___sched_yield
43325 choke me
43326 #endif
43327
43328 int
43329 main ()
43330 {
43331 return sched_yield ();
43332 ;
43333 return 0;
43334 }
43335 _ACEOF
43336 rm -f conftest.$ac_objext conftest$ac_exeext
43337 if { (ac_try="$ac_link"
43338 case "(($ac_try" in
43339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43340 *) ac_try_echo=$ac_try;;
43341 esac
43342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43343 (eval "$ac_link") 2>conftest.er1
43344 ac_status=$?
43345 grep -v '^ *+' conftest.er1 >conftest.err
43346 rm -f conftest.er1
43347 cat conftest.err >&5
43348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43349 (exit $ac_status); } && {
43350 test -z "$ac_c_werror_flag" ||
43351 test ! -s conftest.err
43352 } && test -s conftest$ac_exeext &&
43353 $as_test_x conftest$ac_exeext; then
43354 ac_cv_func_sched_yield=yes
43355 else
43356 echo "$as_me: failed program was:" >&5
43357 sed 's/^/| /' conftest.$ac_ext >&5
43358
43359 ac_cv_func_sched_yield=no
43360 fi
43361
43362 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43363 conftest$ac_exeext conftest.$ac_ext
43364 fi
43365 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
43366 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
43367 if test $ac_cv_func_sched_yield = yes; then
43368 cat >>confdefs.h <<\_ACEOF
43369 #define HAVE_SCHED_YIELD 1
43370 _ACEOF
43371
43372 else
43373
43374 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
43375 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
43376 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
43377 echo $ECHO_N "(cached) $ECHO_C" >&6
43378 else
43379 ac_check_lib_save_LIBS=$LIBS
43380 LIBS="-lposix4 $LIBS"
43381 cat >conftest.$ac_ext <<_ACEOF
43382 /* confdefs.h. */
43383 _ACEOF
43384 cat confdefs.h >>conftest.$ac_ext
43385 cat >>conftest.$ac_ext <<_ACEOF
43386 /* end confdefs.h. */
43387
43388 /* Override any GCC internal prototype to avoid an error.
43389 Use char because int might match the return type of a GCC
43390 builtin and then its argument prototype would still apply. */
43391 #ifdef __cplusplus
43392 extern "C"
43393 #endif
43394 char sched_yield ();
43395 int
43396 main ()
43397 {
43398 return sched_yield ();
43399 ;
43400 return 0;
43401 }
43402 _ACEOF
43403 rm -f conftest.$ac_objext conftest$ac_exeext
43404 if { (ac_try="$ac_link"
43405 case "(($ac_try" in
43406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43407 *) ac_try_echo=$ac_try;;
43408 esac
43409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43410 (eval "$ac_link") 2>conftest.er1
43411 ac_status=$?
43412 grep -v '^ *+' conftest.er1 >conftest.err
43413 rm -f conftest.er1
43414 cat conftest.err >&5
43415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43416 (exit $ac_status); } && {
43417 test -z "$ac_c_werror_flag" ||
43418 test ! -s conftest.err
43419 } && test -s conftest$ac_exeext &&
43420 $as_test_x conftest$ac_exeext; then
43421 ac_cv_lib_posix4_sched_yield=yes
43422 else
43423 echo "$as_me: failed program was:" >&5
43424 sed 's/^/| /' conftest.$ac_ext >&5
43425
43426 ac_cv_lib_posix4_sched_yield=no
43427 fi
43428
43429 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43430 conftest$ac_exeext conftest.$ac_ext
43431 LIBS=$ac_check_lib_save_LIBS
43432 fi
43433 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
43434 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
43435 if test $ac_cv_lib_posix4_sched_yield = yes; then
43436 cat >>confdefs.h <<\_ACEOF
43437 #define HAVE_SCHED_YIELD 1
43438 _ACEOF
43439 POSIX4_LINK=" -lposix4"
43440 else
43441 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
43442 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
43443
43444 fi
43445
43446
43447
43448 fi
43449
43450 fi
43451
43452 HAVE_PRIOR_FUNCS=0
43453 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
43454 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
43455 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
43456 echo $ECHO_N "(cached) $ECHO_C" >&6
43457 else
43458 cat >conftest.$ac_ext <<_ACEOF
43459 /* confdefs.h. */
43460 _ACEOF
43461 cat confdefs.h >>conftest.$ac_ext
43462 cat >>conftest.$ac_ext <<_ACEOF
43463 /* end confdefs.h. */
43464 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
43465 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43466 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
43467
43468 /* System header to define __stub macros and hopefully few prototypes,
43469 which can conflict with char pthread_attr_getschedpolicy (); below.
43470 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43471 <limits.h> exists even on freestanding compilers. */
43472
43473 #ifdef __STDC__
43474 # include <limits.h>
43475 #else
43476 # include <assert.h>
43477 #endif
43478
43479 #undef pthread_attr_getschedpolicy
43480
43481 /* Override any GCC internal prototype to avoid an error.
43482 Use char because int might match the return type of a GCC
43483 builtin and then its argument prototype would still apply. */
43484 #ifdef __cplusplus
43485 extern "C"
43486 #endif
43487 char pthread_attr_getschedpolicy ();
43488 /* The GNU C library defines this for functions which it implements
43489 to always fail with ENOSYS. Some functions are actually named
43490 something starting with __ and the normal name is an alias. */
43491 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
43492 choke me
43493 #endif
43494
43495 int
43496 main ()
43497 {
43498 return pthread_attr_getschedpolicy ();
43499 ;
43500 return 0;
43501 }
43502 _ACEOF
43503 rm -f conftest.$ac_objext conftest$ac_exeext
43504 if { (ac_try="$ac_link"
43505 case "(($ac_try" in
43506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43507 *) ac_try_echo=$ac_try;;
43508 esac
43509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43510 (eval "$ac_link") 2>conftest.er1
43511 ac_status=$?
43512 grep -v '^ *+' conftest.er1 >conftest.err
43513 rm -f conftest.er1
43514 cat conftest.err >&5
43515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43516 (exit $ac_status); } && {
43517 test -z "$ac_c_werror_flag" ||
43518 test ! -s conftest.err
43519 } && test -s conftest$ac_exeext &&
43520 $as_test_x conftest$ac_exeext; then
43521 ac_cv_func_pthread_attr_getschedpolicy=yes
43522 else
43523 echo "$as_me: failed program was:" >&5
43524 sed 's/^/| /' conftest.$ac_ext >&5
43525
43526 ac_cv_func_pthread_attr_getschedpolicy=no
43527 fi
43528
43529 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43530 conftest$ac_exeext conftest.$ac_ext
43531 fi
43532 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
43533 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
43534 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
43535 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
43536 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
43537 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
43538 echo $ECHO_N "(cached) $ECHO_C" >&6
43539 else
43540 cat >conftest.$ac_ext <<_ACEOF
43541 /* confdefs.h. */
43542 _ACEOF
43543 cat confdefs.h >>conftest.$ac_ext
43544 cat >>conftest.$ac_ext <<_ACEOF
43545 /* end confdefs.h. */
43546 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
43547 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43548 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
43549
43550 /* System header to define __stub macros and hopefully few prototypes,
43551 which can conflict with char pthread_attr_setschedparam (); below.
43552 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43553 <limits.h> exists even on freestanding compilers. */
43554
43555 #ifdef __STDC__
43556 # include <limits.h>
43557 #else
43558 # include <assert.h>
43559 #endif
43560
43561 #undef pthread_attr_setschedparam
43562
43563 /* Override any GCC internal prototype to avoid an error.
43564 Use char because int might match the return type of a GCC
43565 builtin and then its argument prototype would still apply. */
43566 #ifdef __cplusplus
43567 extern "C"
43568 #endif
43569 char pthread_attr_setschedparam ();
43570 /* The GNU C library defines this for functions which it implements
43571 to always fail with ENOSYS. Some functions are actually named
43572 something starting with __ and the normal name is an alias. */
43573 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
43574 choke me
43575 #endif
43576
43577 int
43578 main ()
43579 {
43580 return pthread_attr_setschedparam ();
43581 ;
43582 return 0;
43583 }
43584 _ACEOF
43585 rm -f conftest.$ac_objext conftest$ac_exeext
43586 if { (ac_try="$ac_link"
43587 case "(($ac_try" in
43588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43589 *) ac_try_echo=$ac_try;;
43590 esac
43591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43592 (eval "$ac_link") 2>conftest.er1
43593 ac_status=$?
43594 grep -v '^ *+' conftest.er1 >conftest.err
43595 rm -f conftest.er1
43596 cat conftest.err >&5
43597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43598 (exit $ac_status); } && {
43599 test -z "$ac_c_werror_flag" ||
43600 test ! -s conftest.err
43601 } && test -s conftest$ac_exeext &&
43602 $as_test_x conftest$ac_exeext; then
43603 ac_cv_func_pthread_attr_setschedparam=yes
43604 else
43605 echo "$as_me: failed program was:" >&5
43606 sed 's/^/| /' conftest.$ac_ext >&5
43607
43608 ac_cv_func_pthread_attr_setschedparam=no
43609 fi
43610
43611 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43612 conftest$ac_exeext conftest.$ac_ext
43613 fi
43614 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
43615 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
43616 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
43617 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
43618 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
43619 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
43620 echo $ECHO_N "(cached) $ECHO_C" >&6
43621 else
43622 cat >conftest.$ac_ext <<_ACEOF
43623 /* confdefs.h. */
43624 _ACEOF
43625 cat confdefs.h >>conftest.$ac_ext
43626 cat >>conftest.$ac_ext <<_ACEOF
43627 /* end confdefs.h. */
43628 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
43629 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43630 #define sched_get_priority_max innocuous_sched_get_priority_max
43631
43632 /* System header to define __stub macros and hopefully few prototypes,
43633 which can conflict with char sched_get_priority_max (); below.
43634 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43635 <limits.h> exists even on freestanding compilers. */
43636
43637 #ifdef __STDC__
43638 # include <limits.h>
43639 #else
43640 # include <assert.h>
43641 #endif
43642
43643 #undef sched_get_priority_max
43644
43645 /* Override any GCC internal prototype to avoid an error.
43646 Use char because int might match the return type of a GCC
43647 builtin and then its argument prototype would still apply. */
43648 #ifdef __cplusplus
43649 extern "C"
43650 #endif
43651 char sched_get_priority_max ();
43652 /* The GNU C library defines this for functions which it implements
43653 to always fail with ENOSYS. Some functions are actually named
43654 something starting with __ and the normal name is an alias. */
43655 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
43656 choke me
43657 #endif
43658
43659 int
43660 main ()
43661 {
43662 return sched_get_priority_max ();
43663 ;
43664 return 0;
43665 }
43666 _ACEOF
43667 rm -f conftest.$ac_objext conftest$ac_exeext
43668 if { (ac_try="$ac_link"
43669 case "(($ac_try" in
43670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43671 *) ac_try_echo=$ac_try;;
43672 esac
43673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43674 (eval "$ac_link") 2>conftest.er1
43675 ac_status=$?
43676 grep -v '^ *+' conftest.er1 >conftest.err
43677 rm -f conftest.er1
43678 cat conftest.err >&5
43679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43680 (exit $ac_status); } && {
43681 test -z "$ac_c_werror_flag" ||
43682 test ! -s conftest.err
43683 } && test -s conftest$ac_exeext &&
43684 $as_test_x conftest$ac_exeext; then
43685 ac_cv_func_sched_get_priority_max=yes
43686 else
43687 echo "$as_me: failed program was:" >&5
43688 sed 's/^/| /' conftest.$ac_ext >&5
43689
43690 ac_cv_func_sched_get_priority_max=no
43691 fi
43692
43693 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43694 conftest$ac_exeext conftest.$ac_ext
43695 fi
43696 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
43697 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
43698 if test $ac_cv_func_sched_get_priority_max = yes; then
43699 HAVE_PRIOR_FUNCS=1
43700 else
43701 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
43702 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
43703 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
43704 echo $ECHO_N "(cached) $ECHO_C" >&6
43705 else
43706 ac_check_lib_save_LIBS=$LIBS
43707 LIBS="-lposix4 $LIBS"
43708 cat >conftest.$ac_ext <<_ACEOF
43709 /* confdefs.h. */
43710 _ACEOF
43711 cat confdefs.h >>conftest.$ac_ext
43712 cat >>conftest.$ac_ext <<_ACEOF
43713 /* end confdefs.h. */
43714
43715 /* Override any GCC internal prototype to avoid an error.
43716 Use char because int might match the return type of a GCC
43717 builtin and then its argument prototype would still apply. */
43718 #ifdef __cplusplus
43719 extern "C"
43720 #endif
43721 char sched_get_priority_max ();
43722 int
43723 main ()
43724 {
43725 return sched_get_priority_max ();
43726 ;
43727 return 0;
43728 }
43729 _ACEOF
43730 rm -f conftest.$ac_objext conftest$ac_exeext
43731 if { (ac_try="$ac_link"
43732 case "(($ac_try" in
43733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43734 *) ac_try_echo=$ac_try;;
43735 esac
43736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43737 (eval "$ac_link") 2>conftest.er1
43738 ac_status=$?
43739 grep -v '^ *+' conftest.er1 >conftest.err
43740 rm -f conftest.er1
43741 cat conftest.err >&5
43742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43743 (exit $ac_status); } && {
43744 test -z "$ac_c_werror_flag" ||
43745 test ! -s conftest.err
43746 } && test -s conftest$ac_exeext &&
43747 $as_test_x conftest$ac_exeext; then
43748 ac_cv_lib_posix4_sched_get_priority_max=yes
43749 else
43750 echo "$as_me: failed program was:" >&5
43751 sed 's/^/| /' conftest.$ac_ext >&5
43752
43753 ac_cv_lib_posix4_sched_get_priority_max=no
43754 fi
43755
43756 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43757 conftest$ac_exeext conftest.$ac_ext
43758 LIBS=$ac_check_lib_save_LIBS
43759 fi
43760 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
43761 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
43762 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
43763
43764 HAVE_PRIOR_FUNCS=1
43765 POSIX4_LINK=" -lposix4"
43766
43767 fi
43768
43769
43770 fi
43771
43772
43773 fi
43774
43775
43776 fi
43777
43778
43779 if test "$HAVE_PRIOR_FUNCS" = 1; then
43780 cat >>confdefs.h <<\_ACEOF
43781 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
43782 _ACEOF
43783
43784 else
43785 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
43786 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
43787 fi
43788
43789 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
43790 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
43791 if test "${ac_cv_func_pthread_cancel+set}" = set; then
43792 echo $ECHO_N "(cached) $ECHO_C" >&6
43793 else
43794 cat >conftest.$ac_ext <<_ACEOF
43795 /* confdefs.h. */
43796 _ACEOF
43797 cat confdefs.h >>conftest.$ac_ext
43798 cat >>conftest.$ac_ext <<_ACEOF
43799 /* end confdefs.h. */
43800 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
43801 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43802 #define pthread_cancel innocuous_pthread_cancel
43803
43804 /* System header to define __stub macros and hopefully few prototypes,
43805 which can conflict with char pthread_cancel (); below.
43806 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43807 <limits.h> exists even on freestanding compilers. */
43808
43809 #ifdef __STDC__
43810 # include <limits.h>
43811 #else
43812 # include <assert.h>
43813 #endif
43814
43815 #undef pthread_cancel
43816
43817 /* Override any GCC internal prototype to avoid an error.
43818 Use char because int might match the return type of a GCC
43819 builtin and then its argument prototype would still apply. */
43820 #ifdef __cplusplus
43821 extern "C"
43822 #endif
43823 char pthread_cancel ();
43824 /* The GNU C library defines this for functions which it implements
43825 to always fail with ENOSYS. Some functions are actually named
43826 something starting with __ and the normal name is an alias. */
43827 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
43828 choke me
43829 #endif
43830
43831 int
43832 main ()
43833 {
43834 return pthread_cancel ();
43835 ;
43836 return 0;
43837 }
43838 _ACEOF
43839 rm -f conftest.$ac_objext conftest$ac_exeext
43840 if { (ac_try="$ac_link"
43841 case "(($ac_try" in
43842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43843 *) ac_try_echo=$ac_try;;
43844 esac
43845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43846 (eval "$ac_link") 2>conftest.er1
43847 ac_status=$?
43848 grep -v '^ *+' conftest.er1 >conftest.err
43849 rm -f conftest.er1
43850 cat conftest.err >&5
43851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43852 (exit $ac_status); } && {
43853 test -z "$ac_c_werror_flag" ||
43854 test ! -s conftest.err
43855 } && test -s conftest$ac_exeext &&
43856 $as_test_x conftest$ac_exeext; then
43857 ac_cv_func_pthread_cancel=yes
43858 else
43859 echo "$as_me: failed program was:" >&5
43860 sed 's/^/| /' conftest.$ac_ext >&5
43861
43862 ac_cv_func_pthread_cancel=no
43863 fi
43864
43865 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43866 conftest$ac_exeext conftest.$ac_ext
43867 fi
43868 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
43869 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
43870 if test $ac_cv_func_pthread_cancel = yes; then
43871 cat >>confdefs.h <<\_ACEOF
43872 #define HAVE_PTHREAD_CANCEL 1
43873 _ACEOF
43874
43875 else
43876 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
43877 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
43878 fi
43879
43880
43881 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
43882 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
43883 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
43884 echo $ECHO_N "(cached) $ECHO_C" >&6
43885 else
43886 cat >conftest.$ac_ext <<_ACEOF
43887 /* confdefs.h. */
43888 _ACEOF
43889 cat confdefs.h >>conftest.$ac_ext
43890 cat >>conftest.$ac_ext <<_ACEOF
43891 /* end confdefs.h. */
43892 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
43893 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43894 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
43895
43896 /* System header to define __stub macros and hopefully few prototypes,
43897 which can conflict with char pthread_mutex_timedlock (); below.
43898 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43899 <limits.h> exists even on freestanding compilers. */
43900
43901 #ifdef __STDC__
43902 # include <limits.h>
43903 #else
43904 # include <assert.h>
43905 #endif
43906
43907 #undef pthread_mutex_timedlock
43908
43909 /* Override any GCC internal prototype to avoid an error.
43910 Use char because int might match the return type of a GCC
43911 builtin and then its argument prototype would still apply. */
43912 #ifdef __cplusplus
43913 extern "C"
43914 #endif
43915 char pthread_mutex_timedlock ();
43916 /* The GNU C library defines this for functions which it implements
43917 to always fail with ENOSYS. Some functions are actually named
43918 something starting with __ and the normal name is an alias. */
43919 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
43920 choke me
43921 #endif
43922
43923 int
43924 main ()
43925 {
43926 return pthread_mutex_timedlock ();
43927 ;
43928 return 0;
43929 }
43930 _ACEOF
43931 rm -f conftest.$ac_objext conftest$ac_exeext
43932 if { (ac_try="$ac_link"
43933 case "(($ac_try" in
43934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43935 *) ac_try_echo=$ac_try;;
43936 esac
43937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43938 (eval "$ac_link") 2>conftest.er1
43939 ac_status=$?
43940 grep -v '^ *+' conftest.er1 >conftest.err
43941 rm -f conftest.er1
43942 cat conftest.err >&5
43943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43944 (exit $ac_status); } && {
43945 test -z "$ac_c_werror_flag" ||
43946 test ! -s conftest.err
43947 } && test -s conftest$ac_exeext &&
43948 $as_test_x conftest$ac_exeext; then
43949 ac_cv_func_pthread_mutex_timedlock=yes
43950 else
43951 echo "$as_me: failed program was:" >&5
43952 sed 's/^/| /' conftest.$ac_ext >&5
43953
43954 ac_cv_func_pthread_mutex_timedlock=no
43955 fi
43956
43957 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43958 conftest$ac_exeext conftest.$ac_ext
43959 fi
43960 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
43961 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
43962 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
43963 cat >>confdefs.h <<\_ACEOF
43964 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
43965 _ACEOF
43966
43967 else
43968 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
43969 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
43970 fi
43971
43972
43973 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
43974 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
43975 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
43976 echo $ECHO_N "(cached) $ECHO_C" >&6
43977 else
43978 cat >conftest.$ac_ext <<_ACEOF
43979 /* confdefs.h. */
43980 _ACEOF
43981 cat confdefs.h >>conftest.$ac_ext
43982 cat >>conftest.$ac_ext <<_ACEOF
43983 /* end confdefs.h. */
43984 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
43985 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43986 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
43987
43988 /* System header to define __stub macros and hopefully few prototypes,
43989 which can conflict with char pthread_attr_setstacksize (); below.
43990 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43991 <limits.h> exists even on freestanding compilers. */
43992
43993 #ifdef __STDC__
43994 # include <limits.h>
43995 #else
43996 # include <assert.h>
43997 #endif
43998
43999 #undef pthread_attr_setstacksize
44000
44001 /* Override any GCC internal prototype to avoid an error.
44002 Use char because int might match the return type of a GCC
44003 builtin and then its argument prototype would still apply. */
44004 #ifdef __cplusplus
44005 extern "C"
44006 #endif
44007 char pthread_attr_setstacksize ();
44008 /* The GNU C library defines this for functions which it implements
44009 to always fail with ENOSYS. Some functions are actually named
44010 something starting with __ and the normal name is an alias. */
44011 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
44012 choke me
44013 #endif
44014
44015 int
44016 main ()
44017 {
44018 return pthread_attr_setstacksize ();
44019 ;
44020 return 0;
44021 }
44022 _ACEOF
44023 rm -f conftest.$ac_objext conftest$ac_exeext
44024 if { (ac_try="$ac_link"
44025 case "(($ac_try" in
44026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44027 *) ac_try_echo=$ac_try;;
44028 esac
44029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44030 (eval "$ac_link") 2>conftest.er1
44031 ac_status=$?
44032 grep -v '^ *+' conftest.er1 >conftest.err
44033 rm -f conftest.er1
44034 cat conftest.err >&5
44035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44036 (exit $ac_status); } && {
44037 test -z "$ac_c_werror_flag" ||
44038 test ! -s conftest.err
44039 } && test -s conftest$ac_exeext &&
44040 $as_test_x conftest$ac_exeext; then
44041 ac_cv_func_pthread_attr_setstacksize=yes
44042 else
44043 echo "$as_me: failed program was:" >&5
44044 sed 's/^/| /' conftest.$ac_ext >&5
44045
44046 ac_cv_func_pthread_attr_setstacksize=no
44047 fi
44048
44049 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44050 conftest$ac_exeext conftest.$ac_ext
44051 fi
44052 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
44053 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
44054 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
44055 cat >>confdefs.h <<\_ACEOF
44056 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
44057 _ACEOF
44058
44059 fi
44060
44061
44062
44063 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
44064 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
44065 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
44066 echo $ECHO_N "(cached) $ECHO_C" >&6
44067 else
44068
44069 cat >conftest.$ac_ext <<_ACEOF
44070 /* confdefs.h. */
44071 _ACEOF
44072 cat confdefs.h >>conftest.$ac_ext
44073 cat >>conftest.$ac_ext <<_ACEOF
44074 /* end confdefs.h. */
44075 #include <pthread.h>
44076 int
44077 main ()
44078 {
44079
44080 pthread_mutexattr_t attr;
44081 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
44082
44083 ;
44084 return 0;
44085 }
44086 _ACEOF
44087 rm -f conftest.$ac_objext
44088 if { (ac_try="$ac_compile"
44089 case "(($ac_try" in
44090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44091 *) ac_try_echo=$ac_try;;
44092 esac
44093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44094 (eval "$ac_compile") 2>conftest.er1
44095 ac_status=$?
44096 grep -v '^ *+' conftest.er1 >conftest.err
44097 rm -f conftest.er1
44098 cat conftest.err >&5
44099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44100 (exit $ac_status); } && {
44101 test -z "$ac_c_werror_flag" ||
44102 test ! -s conftest.err
44103 } && test -s conftest.$ac_objext; then
44104 wx_cv_type_pthread_mutexattr_t=yes
44105 else
44106 echo "$as_me: failed program was:" >&5
44107 sed 's/^/| /' conftest.$ac_ext >&5
44108
44109 wx_cv_type_pthread_mutexattr_t=no
44110
44111 fi
44112
44113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44114
44115 fi
44116 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
44117 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
44118
44119 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
44120 cat >>confdefs.h <<\_ACEOF
44121 #define HAVE_PTHREAD_MUTEXATTR_T 1
44122 _ACEOF
44123
44124
44125 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
44126 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
44127 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
44128 echo $ECHO_N "(cached) $ECHO_C" >&6
44129 else
44130
44131 cat >conftest.$ac_ext <<_ACEOF
44132 /* confdefs.h. */
44133 _ACEOF
44134 cat confdefs.h >>conftest.$ac_ext
44135 cat >>conftest.$ac_ext <<_ACEOF
44136 /* end confdefs.h. */
44137 #include <pthread.h>
44138 int
44139 main ()
44140 {
44141
44142 pthread_mutexattr_t attr;
44143 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
44144
44145 ;
44146 return 0;
44147 }
44148 _ACEOF
44149 rm -f conftest.$ac_objext
44150 if { (ac_try="$ac_compile"
44151 case "(($ac_try" in
44152 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44153 *) ac_try_echo=$ac_try;;
44154 esac
44155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44156 (eval "$ac_compile") 2>conftest.er1
44157 ac_status=$?
44158 grep -v '^ *+' conftest.er1 >conftest.err
44159 rm -f conftest.er1
44160 cat conftest.err >&5
44161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44162 (exit $ac_status); } && {
44163 test -z "$ac_c_werror_flag" ||
44164 test ! -s conftest.err
44165 } && test -s conftest.$ac_objext; then
44166 wx_cv_func_pthread_mutexattr_settype_decl=yes
44167 else
44168 echo "$as_me: failed program was:" >&5
44169 sed 's/^/| /' conftest.$ac_ext >&5
44170
44171 wx_cv_func_pthread_mutexattr_settype_decl=no
44172
44173 fi
44174
44175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44176
44177 fi
44178 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
44179 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
44180 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
44181 cat >>confdefs.h <<\_ACEOF
44182 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
44183 _ACEOF
44184
44185 fi
44186 else
44187 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
44188 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
44189 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
44190 echo $ECHO_N "(cached) $ECHO_C" >&6
44191 else
44192
44193 cat >conftest.$ac_ext <<_ACEOF
44194 /* confdefs.h. */
44195 _ACEOF
44196 cat confdefs.h >>conftest.$ac_ext
44197 cat >>conftest.$ac_ext <<_ACEOF
44198 /* end confdefs.h. */
44199 #include <pthread.h>
44200 int
44201 main ()
44202 {
44203
44204 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
44205
44206 ;
44207 return 0;
44208 }
44209 _ACEOF
44210 rm -f conftest.$ac_objext
44211 if { (ac_try="$ac_compile"
44212 case "(($ac_try" in
44213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44214 *) ac_try_echo=$ac_try;;
44215 esac
44216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44217 (eval "$ac_compile") 2>conftest.er1
44218 ac_status=$?
44219 grep -v '^ *+' conftest.er1 >conftest.err
44220 rm -f conftest.er1
44221 cat conftest.err >&5
44222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44223 (exit $ac_status); } && {
44224 test -z "$ac_c_werror_flag" ||
44225 test ! -s conftest.err
44226 } && test -s conftest.$ac_objext; then
44227
44228 wx_cv_type_pthread_rec_mutex_init=yes
44229
44230 else
44231 echo "$as_me: failed program was:" >&5
44232 sed 's/^/| /' conftest.$ac_ext >&5
44233
44234
44235 wx_cv_type_pthread_rec_mutex_init=no
44236
44237
44238 fi
44239
44240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44241
44242 fi
44243 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
44244 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
44245 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
44246 cat >>confdefs.h <<\_ACEOF
44247 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
44248 _ACEOF
44249
44250 else
44251 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
44252 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
44253 fi
44254 fi
44255
44256 if test "$wxUSE_COMPILER_TLS" = "auto"; then
44257 if test "$USE_NETBSD" = 1; then
44258 { echo "$as_me:$LINENO: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&5
44259 echo "$as_me: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&2;}
44260 wxUSE_COMPILER_TLS=no
44261 else
44262 wxUSE_COMPILER_TLS=yes
44263 fi
44264 fi
44265
44266 if test "$wxUSE_COMPILER_TLS" = "yes"; then
44267 { echo "$as_me:$LINENO: checking for __thread keyword" >&5
44268 echo $ECHO_N "checking for __thread keyword... $ECHO_C" >&6; }
44269 if test "${wx_cv_cc___thread+set}" = set; then
44270 echo $ECHO_N "(cached) $ECHO_C" >&6
44271 else
44272
44273 cat >conftest.$ac_ext <<_ACEOF
44274 /* confdefs.h. */
44275 _ACEOF
44276 cat confdefs.h >>conftest.$ac_ext
44277 cat >>conftest.$ac_ext <<_ACEOF
44278 /* end confdefs.h. */
44279 #include <pthread.h>
44280 int
44281 main ()
44282 {
44283
44284 static __thread int n = 0;
44285 static __thread int *p = 0;
44286
44287 ;
44288 return 0;
44289 }
44290 _ACEOF
44291 rm -f conftest.$ac_objext
44292 if { (ac_try="$ac_compile"
44293 case "(($ac_try" in
44294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44295 *) ac_try_echo=$ac_try;;
44296 esac
44297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44298 (eval "$ac_compile") 2>conftest.er1
44299 ac_status=$?
44300 grep -v '^ *+' conftest.er1 >conftest.err
44301 rm -f conftest.er1
44302 cat conftest.err >&5
44303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44304 (exit $ac_status); } && {
44305 test -z "$ac_c_werror_flag" ||
44306 test ! -s conftest.err
44307 } && test -s conftest.$ac_objext; then
44308 wx_cv_cc___thread=yes
44309 else
44310 echo "$as_me: failed program was:" >&5
44311 sed 's/^/| /' conftest.$ac_ext >&5
44312
44313 wx_cv_cc___thread=no
44314
44315 fi
44316
44317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44318
44319
44320 fi
44321 { echo "$as_me:$LINENO: result: $wx_cv_cc___thread" >&5
44322 echo "${ECHO_T}$wx_cv_cc___thread" >&6; }
44323
44324 if test "$wx_cv_cc___thread" = "yes"; then
44325
44326 GXX_VERSION=""
44327
44328
44329
44330 { echo "$as_me:$LINENO: checking if gcc accepts -dumpversion option" >&5
44331 echo $ECHO_N "checking if gcc accepts -dumpversion option... $ECHO_C" >&6; }
44332
44333 if test "x$GCC" = "xyes" ; then
44334
44335 if test -z "" ; then
44336
44337 ax_gcc_option_test="int main()
44338 {
44339 return 0;
44340 }"
44341
44342 else
44343
44344 ax_gcc_option_test=""
44345
44346 fi
44347
44348
44349 # Dump the test program to file
44350 cat <<EOF > conftest.c
44351 $ax_gcc_option_test
44352 EOF
44353
44354 # Dump back the file to the log, useful for debugging purposes
44355 { ac_try='cat conftest.c 1>&5'
44356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44357 (eval $ac_try) 2>&5
44358 ac_status=$?
44359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44360 (exit $ac_status); }; }
44361
44362 if { ac_try='$CC -dumpversion -c conftest.c 1>&5'
44363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44364 (eval $ac_try) 2>&5
44365 ac_status=$?
44366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44367 (exit $ac_status); }; } ; then
44368
44369 { echo "$as_me:$LINENO: result: yes" >&5
44370 echo "${ECHO_T}yes" >&6; }
44371
44372 ax_gcc_version_option=yes
44373
44374
44375 else
44376
44377 { echo "$as_me:$LINENO: result: no" >&5
44378 echo "${ECHO_T}no" >&6; }
44379
44380 ax_gcc_version_option=no
44381
44382
44383 fi
44384
44385
44386 else
44387
44388 { echo "$as_me:$LINENO: result: no gcc available" >&5
44389 echo "${ECHO_T}no gcc available" >&6; }
44390
44391 fi
44392
44393
44394 if test "x$GXX" = "xyes"; then
44395
44396 if test "x$ax_gxx_version_option" != "no"; then
44397
44398 { echo "$as_me:$LINENO: checking gxx version" >&5
44399 echo $ECHO_N "checking gxx version... $ECHO_C" >&6; }
44400 if test "${ax_cv_gxx_version+set}" = set; then
44401 echo $ECHO_N "(cached) $ECHO_C" >&6
44402 else
44403
44404 ax_cv_gxx_version="`$CXX -dumpversion`"
44405 if test "x$ax_cv_gxx_version" = "x"; then
44406
44407 ax_cv_gxx_version=""
44408
44409 fi
44410
44411
44412 fi
44413 { echo "$as_me:$LINENO: result: $ax_cv_gxx_version" >&5
44414 echo "${ECHO_T}$ax_cv_gxx_version" >&6; }
44415 GXX_VERSION=$ax_cv_gxx_version
44416
44417 fi
44418
44419
44420 fi
44421
44422
44423
44424 if test -n "$ax_cv_gxx_version"; then
44425 { echo "$as_me:$LINENO: checking whether __thread support in g++ is usable" >&5
44426 echo $ECHO_N "checking whether __thread support in g++ is usable... $ECHO_C" >&6; }
44427 case "$ax_cv_gxx_version" in
44428 1.* | 2.* | 3.* )
44429 { echo "$as_me:$LINENO: result: no, it's broken" >&5
44430 echo "${ECHO_T}no, it's broken" >&6; }
44431 wx_cv_cc___thread=no
44432 ;;
44433 *)
44434 { echo "$as_me:$LINENO: result: yes, it works" >&5
44435 echo "${ECHO_T}yes, it works" >&6; }
44436 ;;
44437 esac
44438 fi
44439 fi
44440
44441 if test "$wx_cv_cc___thread" = "yes"; then
44442 cat >>confdefs.h <<\_ACEOF
44443 #define HAVE___THREAD_KEYWORD 1
44444 _ACEOF
44445
44446 fi
44447 fi
44448 fi
44449
44450 else
44451 if test "$wxUSE_THREADS" = "yes" ; then
44452 case "${host}" in
44453 x86_64-*-mingw32* )
44454 ;;
44455 *-*-mingw32* )
44456 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
44457 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
44458 if test "${wx_cv_cflags_mthread+set}" = set; then
44459 echo $ECHO_N "(cached) $ECHO_C" >&6
44460 else
44461
44462 CFLAGS_OLD="$CFLAGS"
44463 CFLAGS="-mthreads $CFLAGS"
44464 cat >conftest.$ac_ext <<_ACEOF
44465 /* confdefs.h. */
44466 _ACEOF
44467 cat confdefs.h >>conftest.$ac_ext
44468 cat >>conftest.$ac_ext <<_ACEOF
44469 /* end confdefs.h. */
44470
44471 int
44472 main ()
44473 {
44474
44475 ;
44476 return 0;
44477 }
44478 _ACEOF
44479 rm -f conftest.$ac_objext
44480 if { (ac_try="$ac_compile"
44481 case "(($ac_try" in
44482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44483 *) ac_try_echo=$ac_try;;
44484 esac
44485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44486 (eval "$ac_compile") 2>conftest.er1
44487 ac_status=$?
44488 grep -v '^ *+' conftest.er1 >conftest.err
44489 rm -f conftest.er1
44490 cat conftest.err >&5
44491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44492 (exit $ac_status); } && {
44493 test -z "$ac_c_werror_flag" ||
44494 test ! -s conftest.err
44495 } && test -s conftest.$ac_objext; then
44496 wx_cv_cflags_mthread=yes
44497 else
44498 echo "$as_me: failed program was:" >&5
44499 sed 's/^/| /' conftest.$ac_ext >&5
44500
44501 wx_cv_cflags_mthread=no
44502
44503 fi
44504
44505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44506
44507
44508 fi
44509 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
44510 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
44511
44512 if test "$wx_cv_cflags_mthread" = "yes"; then
44513 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
44514 LDFLAGS="$LDFLAGS -mthreads"
44515 else
44516 CFLAGS="$CFLAGS_OLD"
44517 fi
44518 ;;
44519 *-pc-os2*emx )
44520 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
44521 LDFLAGS="$LDFLAGS -Zmt"
44522 ;;
44523 esac
44524 fi
44525 fi
44526
44527 { echo "$as_me:$LINENO: checking for localtime_r" >&5
44528 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
44529 if test "${ac_cv_func_localtime_r+set}" = set; then
44530 echo $ECHO_N "(cached) $ECHO_C" >&6
44531 else
44532 cat >conftest.$ac_ext <<_ACEOF
44533 /* confdefs.h. */
44534 _ACEOF
44535 cat confdefs.h >>conftest.$ac_ext
44536 cat >>conftest.$ac_ext <<_ACEOF
44537 /* end confdefs.h. */
44538 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
44539 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44540 #define localtime_r innocuous_localtime_r
44541
44542 /* System header to define __stub macros and hopefully few prototypes,
44543 which can conflict with char localtime_r (); below.
44544 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44545 <limits.h> exists even on freestanding compilers. */
44546
44547 #ifdef __STDC__
44548 # include <limits.h>
44549 #else
44550 # include <assert.h>
44551 #endif
44552
44553 #undef localtime_r
44554
44555 /* Override any GCC internal prototype to avoid an error.
44556 Use char because int might match the return type of a GCC
44557 builtin and then its argument prototype would still apply. */
44558 #ifdef __cplusplus
44559 extern "C"
44560 #endif
44561 char localtime_r ();
44562 /* The GNU C library defines this for functions which it implements
44563 to always fail with ENOSYS. Some functions are actually named
44564 something starting with __ and the normal name is an alias. */
44565 #if defined __stub_localtime_r || defined __stub___localtime_r
44566 choke me
44567 #endif
44568
44569 int
44570 main ()
44571 {
44572 return localtime_r ();
44573 ;
44574 return 0;
44575 }
44576 _ACEOF
44577 rm -f conftest.$ac_objext conftest$ac_exeext
44578 if { (ac_try="$ac_link"
44579 case "(($ac_try" in
44580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44581 *) ac_try_echo=$ac_try;;
44582 esac
44583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44584 (eval "$ac_link") 2>conftest.er1
44585 ac_status=$?
44586 grep -v '^ *+' conftest.er1 >conftest.err
44587 rm -f conftest.er1
44588 cat conftest.err >&5
44589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44590 (exit $ac_status); } && {
44591 test -z "$ac_c_werror_flag" ||
44592 test ! -s conftest.err
44593 } && test -s conftest$ac_exeext &&
44594 $as_test_x conftest$ac_exeext; then
44595 ac_cv_func_localtime_r=yes
44596 else
44597 echo "$as_me: failed program was:" >&5
44598 sed 's/^/| /' conftest.$ac_ext >&5
44599
44600 ac_cv_func_localtime_r=no
44601 fi
44602
44603 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44604 conftest$ac_exeext conftest.$ac_ext
44605 fi
44606 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
44607 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
44608 if test $ac_cv_func_localtime_r = yes; then
44609 cat >>confdefs.h <<\_ACEOF
44610 #define HAVE_LOCALTIME_R 1
44611 _ACEOF
44612
44613 fi
44614
44615 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
44616 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
44617 if test "${ac_cv_func_gmtime_r+set}" = set; then
44618 echo $ECHO_N "(cached) $ECHO_C" >&6
44619 else
44620 cat >conftest.$ac_ext <<_ACEOF
44621 /* confdefs.h. */
44622 _ACEOF
44623 cat confdefs.h >>conftest.$ac_ext
44624 cat >>conftest.$ac_ext <<_ACEOF
44625 /* end confdefs.h. */
44626 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
44627 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44628 #define gmtime_r innocuous_gmtime_r
44629
44630 /* System header to define __stub macros and hopefully few prototypes,
44631 which can conflict with char gmtime_r (); below.
44632 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44633 <limits.h> exists even on freestanding compilers. */
44634
44635 #ifdef __STDC__
44636 # include <limits.h>
44637 #else
44638 # include <assert.h>
44639 #endif
44640
44641 #undef gmtime_r
44642
44643 /* Override any GCC internal prototype to avoid an error.
44644 Use char because int might match the return type of a GCC
44645 builtin and then its argument prototype would still apply. */
44646 #ifdef __cplusplus
44647 extern "C"
44648 #endif
44649 char gmtime_r ();
44650 /* The GNU C library defines this for functions which it implements
44651 to always fail with ENOSYS. Some functions are actually named
44652 something starting with __ and the normal name is an alias. */
44653 #if defined __stub_gmtime_r || defined __stub___gmtime_r
44654 choke me
44655 #endif
44656
44657 int
44658 main ()
44659 {
44660 return gmtime_r ();
44661 ;
44662 return 0;
44663 }
44664 _ACEOF
44665 rm -f conftest.$ac_objext conftest$ac_exeext
44666 if { (ac_try="$ac_link"
44667 case "(($ac_try" in
44668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44669 *) ac_try_echo=$ac_try;;
44670 esac
44671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44672 (eval "$ac_link") 2>conftest.er1
44673 ac_status=$?
44674 grep -v '^ *+' conftest.er1 >conftest.err
44675 rm -f conftest.er1
44676 cat conftest.err >&5
44677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44678 (exit $ac_status); } && {
44679 test -z "$ac_c_werror_flag" ||
44680 test ! -s conftest.err
44681 } && test -s conftest$ac_exeext &&
44682 $as_test_x conftest$ac_exeext; then
44683 ac_cv_func_gmtime_r=yes
44684 else
44685 echo "$as_me: failed program was:" >&5
44686 sed 's/^/| /' conftest.$ac_ext >&5
44687
44688 ac_cv_func_gmtime_r=no
44689 fi
44690
44691 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44692 conftest$ac_exeext conftest.$ac_ext
44693 fi
44694 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
44695 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
44696 if test $ac_cv_func_gmtime_r = yes; then
44697 cat >>confdefs.h <<\_ACEOF
44698 #define HAVE_GMTIME_R 1
44699 _ACEOF
44700
44701 fi
44702
44703
44704
44705
44706 ac_ext=c
44707 ac_cpp='$CPP $CPPFLAGS'
44708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44711
44712 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
44713 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
44714
44715 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
44716 echo $ECHO_N "(cached) $ECHO_C" >&6
44717 else
44718
44719
44720 ################################################################
44721
44722 ac_cv_func_which_gethostbyname_r=unknown
44723
44724 #
44725 # ONE ARGUMENT (sanity check)
44726 #
44727
44728 # This should fail, as there is no variant of gethostbyname_r() that takes
44729 # a single argument. If it actually compiles, then we can assume that
44730 # netdb.h is not declaring the function, and the compiler is thereby
44731 # assuming an implicit prototype. In which case, we're out of luck.
44732 #
44733 cat >conftest.$ac_ext <<_ACEOF
44734 /* confdefs.h. */
44735 _ACEOF
44736 cat confdefs.h >>conftest.$ac_ext
44737 cat >>conftest.$ac_ext <<_ACEOF
44738 /* end confdefs.h. */
44739 #include <netdb.h>
44740 int
44741 main ()
44742 {
44743
44744 char *name = "www.gnu.org";
44745 (void)gethostbyname_r(name) /* ; */
44746
44747
44748 ;
44749 return 0;
44750 }
44751 _ACEOF
44752 rm -f conftest.$ac_objext
44753 if { (ac_try="$ac_compile"
44754 case "(($ac_try" in
44755 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44756 *) ac_try_echo=$ac_try;;
44757 esac
44758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44759 (eval "$ac_compile") 2>conftest.er1
44760 ac_status=$?
44761 grep -v '^ *+' conftest.er1 >conftest.err
44762 rm -f conftest.er1
44763 cat conftest.err >&5
44764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44765 (exit $ac_status); } && {
44766 test -z "$ac_c_werror_flag" ||
44767 test ! -s conftest.err
44768 } && test -s conftest.$ac_objext; then
44769 ac_cv_func_which_gethostbyname_r=no
44770
44771 else
44772 echo "$as_me: failed program was:" >&5
44773 sed 's/^/| /' conftest.$ac_ext >&5
44774
44775
44776 fi
44777
44778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44779
44780 #
44781 # SIX ARGUMENTS
44782 # (e.g. Linux)
44783 #
44784
44785 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
44786
44787 cat >conftest.$ac_ext <<_ACEOF
44788 /* confdefs.h. */
44789 _ACEOF
44790 cat confdefs.h >>conftest.$ac_ext
44791 cat >>conftest.$ac_ext <<_ACEOF
44792 /* end confdefs.h. */
44793 #include <netdb.h>
44794 int
44795 main ()
44796 {
44797
44798 char *name = "www.gnu.org";
44799 struct hostent ret, *retp;
44800 char buf[1024];
44801 int buflen = 1024;
44802 int my_h_errno;
44803 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
44804
44805
44806 ;
44807 return 0;
44808 }
44809 _ACEOF
44810 rm -f conftest.$ac_objext
44811 if { (ac_try="$ac_compile"
44812 case "(($ac_try" in
44813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44814 *) ac_try_echo=$ac_try;;
44815 esac
44816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44817 (eval "$ac_compile") 2>conftest.er1
44818 ac_status=$?
44819 grep -v '^ *+' conftest.er1 >conftest.err
44820 rm -f conftest.er1
44821 cat conftest.err >&5
44822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44823 (exit $ac_status); } && {
44824 test -z "$ac_c_werror_flag" ||
44825 test ! -s conftest.err
44826 } && test -s conftest.$ac_objext; then
44827 ac_cv_func_which_gethostbyname_r=six
44828
44829 else
44830 echo "$as_me: failed program was:" >&5
44831 sed 's/^/| /' conftest.$ac_ext >&5
44832
44833
44834 fi
44835
44836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44837
44838 fi
44839
44840 #
44841 # FIVE ARGUMENTS
44842 # (e.g. Solaris)
44843 #
44844
44845 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
44846
44847 cat >conftest.$ac_ext <<_ACEOF
44848 /* confdefs.h. */
44849 _ACEOF
44850 cat confdefs.h >>conftest.$ac_ext
44851 cat >>conftest.$ac_ext <<_ACEOF
44852 /* end confdefs.h. */
44853 #include <netdb.h>
44854 int
44855 main ()
44856 {
44857
44858 char *name = "www.gnu.org";
44859 struct hostent ret;
44860 char buf[1024];
44861 int buflen = 1024;
44862 int my_h_errno;
44863 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
44864
44865
44866 ;
44867 return 0;
44868 }
44869 _ACEOF
44870 rm -f conftest.$ac_objext
44871 if { (ac_try="$ac_compile"
44872 case "(($ac_try" in
44873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44874 *) ac_try_echo=$ac_try;;
44875 esac
44876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44877 (eval "$ac_compile") 2>conftest.er1
44878 ac_status=$?
44879 grep -v '^ *+' conftest.er1 >conftest.err
44880 rm -f conftest.er1
44881 cat conftest.err >&5
44882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44883 (exit $ac_status); } && {
44884 test -z "$ac_c_werror_flag" ||
44885 test ! -s conftest.err
44886 } && test -s conftest.$ac_objext; then
44887 ac_cv_func_which_gethostbyname_r=five
44888
44889 else
44890 echo "$as_me: failed program was:" >&5
44891 sed 's/^/| /' conftest.$ac_ext >&5
44892
44893
44894 fi
44895
44896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44897
44898 fi
44899
44900 #
44901 # THREE ARGUMENTS
44902 # (e.g. AIX, HP-UX, Tru64)
44903 #
44904
44905 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
44906
44907 cat >conftest.$ac_ext <<_ACEOF
44908 /* confdefs.h. */
44909 _ACEOF
44910 cat confdefs.h >>conftest.$ac_ext
44911 cat >>conftest.$ac_ext <<_ACEOF
44912 /* end confdefs.h. */
44913 #include <netdb.h>
44914 int
44915 main ()
44916 {
44917
44918 char *name = "www.gnu.org";
44919 struct hostent ret;
44920 struct hostent_data data;
44921 (void)gethostbyname_r(name, &ret, &data) /* ; */
44922
44923
44924 ;
44925 return 0;
44926 }
44927 _ACEOF
44928 rm -f conftest.$ac_objext
44929 if { (ac_try="$ac_compile"
44930 case "(($ac_try" in
44931 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44932 *) ac_try_echo=$ac_try;;
44933 esac
44934 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44935 (eval "$ac_compile") 2>conftest.er1
44936 ac_status=$?
44937 grep -v '^ *+' conftest.er1 >conftest.err
44938 rm -f conftest.er1
44939 cat conftest.err >&5
44940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44941 (exit $ac_status); } && {
44942 test -z "$ac_c_werror_flag" ||
44943 test ! -s conftest.err
44944 } && test -s conftest.$ac_objext; then
44945 ac_cv_func_which_gethostbyname_r=three
44946
44947 else
44948 echo "$as_me: failed program was:" >&5
44949 sed 's/^/| /' conftest.$ac_ext >&5
44950
44951
44952 fi
44953
44954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44955
44956 fi
44957
44958 ################################################################
44959
44960
44961 fi
44962
44963 case "$ac_cv_func_which_gethostbyname_r" in
44964 three)
44965 { echo "$as_me:$LINENO: result: three" >&5
44966 echo "${ECHO_T}three" >&6; }
44967 cat >>confdefs.h <<\_ACEOF
44968 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
44969 _ACEOF
44970
44971 ;;
44972
44973 five)
44974 { echo "$as_me:$LINENO: result: five" >&5
44975 echo "${ECHO_T}five" >&6; }
44976 cat >>confdefs.h <<\_ACEOF
44977 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
44978 _ACEOF
44979
44980 ;;
44981
44982 six)
44983 { echo "$as_me:$LINENO: result: six" >&5
44984 echo "${ECHO_T}six" >&6; }
44985 cat >>confdefs.h <<\_ACEOF
44986 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
44987 _ACEOF
44988
44989 ;;
44990
44991 no)
44992 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
44993 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
44994 ;;
44995
44996 unknown)
44997 { echo "$as_me:$LINENO: result: can't tell" >&5
44998 echo "${ECHO_T}can't tell" >&6; }
44999 ;;
45000
45001 *)
45002 { { echo "$as_me:$LINENO: error: internal error" >&5
45003 echo "$as_me: error: internal error" >&2;}
45004 { (exit 1); exit 1; }; }
45005 ;;
45006 esac
45007
45008 ac_ext=c
45009 ac_cpp='$CPP $CPPFLAGS'
45010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45013
45014
45015
45016 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
45017 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
45018 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
45019 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
45020 if test "${ac_cv_func_gethostbyname+set}" = set; then
45021 echo $ECHO_N "(cached) $ECHO_C" >&6
45022 else
45023 cat >conftest.$ac_ext <<_ACEOF
45024 /* confdefs.h. */
45025 _ACEOF
45026 cat confdefs.h >>conftest.$ac_ext
45027 cat >>conftest.$ac_ext <<_ACEOF
45028 /* end confdefs.h. */
45029 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
45030 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45031 #define gethostbyname innocuous_gethostbyname
45032
45033 /* System header to define __stub macros and hopefully few prototypes,
45034 which can conflict with char gethostbyname (); below.
45035 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45036 <limits.h> exists even on freestanding compilers. */
45037
45038 #ifdef __STDC__
45039 # include <limits.h>
45040 #else
45041 # include <assert.h>
45042 #endif
45043
45044 #undef gethostbyname
45045
45046 /* Override any GCC internal prototype to avoid an error.
45047 Use char because int might match the return type of a GCC
45048 builtin and then its argument prototype would still apply. */
45049 #ifdef __cplusplus
45050 extern "C"
45051 #endif
45052 char gethostbyname ();
45053 /* The GNU C library defines this for functions which it implements
45054 to always fail with ENOSYS. Some functions are actually named
45055 something starting with __ and the normal name is an alias. */
45056 #if defined __stub_gethostbyname || defined __stub___gethostbyname
45057 choke me
45058 #endif
45059
45060 int
45061 main ()
45062 {
45063 return gethostbyname ();
45064 ;
45065 return 0;
45066 }
45067 _ACEOF
45068 rm -f conftest.$ac_objext conftest$ac_exeext
45069 if { (ac_try="$ac_link"
45070 case "(($ac_try" in
45071 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45072 *) ac_try_echo=$ac_try;;
45073 esac
45074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45075 (eval "$ac_link") 2>conftest.er1
45076 ac_status=$?
45077 grep -v '^ *+' conftest.er1 >conftest.err
45078 rm -f conftest.er1
45079 cat conftest.err >&5
45080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45081 (exit $ac_status); } && {
45082 test -z "$ac_c_werror_flag" ||
45083 test ! -s conftest.err
45084 } && test -s conftest$ac_exeext &&
45085 $as_test_x conftest$ac_exeext; then
45086 ac_cv_func_gethostbyname=yes
45087 else
45088 echo "$as_me: failed program was:" >&5
45089 sed 's/^/| /' conftest.$ac_ext >&5
45090
45091 ac_cv_func_gethostbyname=no
45092 fi
45093
45094 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45095 conftest$ac_exeext conftest.$ac_ext
45096 fi
45097 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
45098 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
45099 if test $ac_cv_func_gethostbyname = yes; then
45100 cat >>confdefs.h <<\_ACEOF
45101 #define HAVE_GETHOSTBYNAME 1
45102 _ACEOF
45103
45104 fi
45105
45106 fi
45107
45108 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
45109 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
45110 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
45111 echo $ECHO_N "(cached) $ECHO_C" >&6
45112 else
45113
45114 ac_ext=cpp
45115 ac_cpp='$CXXCPP $CPPFLAGS'
45116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45119
45120
45121 cat >conftest.$ac_ext <<_ACEOF
45122 /* confdefs.h. */
45123 _ACEOF
45124 cat confdefs.h >>conftest.$ac_ext
45125 cat >>conftest.$ac_ext <<_ACEOF
45126 /* end confdefs.h. */
45127 #include <netdb.h>
45128 int
45129 main ()
45130 {
45131
45132 char *name;
45133 char *proto;
45134 struct servent *se, *res;
45135 char buffer[2048];
45136 int buflen = 2048;
45137 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
45138
45139 ;
45140 return 0;
45141 }
45142 _ACEOF
45143 rm -f conftest.$ac_objext
45144 if { (ac_try="$ac_compile"
45145 case "(($ac_try" in
45146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45147 *) ac_try_echo=$ac_try;;
45148 esac
45149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45150 (eval "$ac_compile") 2>conftest.er1
45151 ac_status=$?
45152 grep -v '^ *+' conftest.er1 >conftest.err
45153 rm -f conftest.er1
45154 cat conftest.err >&5
45155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45156 (exit $ac_status); } && {
45157 test -z "$ac_cxx_werror_flag" ||
45158 test ! -s conftest.err
45159 } && test -s conftest.$ac_objext; then
45160 ac_cv_func_which_getservbyname_r=six
45161 else
45162 echo "$as_me: failed program was:" >&5
45163 sed 's/^/| /' conftest.$ac_ext >&5
45164
45165
45166 cat >conftest.$ac_ext <<_ACEOF
45167 /* confdefs.h. */
45168 _ACEOF
45169 cat confdefs.h >>conftest.$ac_ext
45170 cat >>conftest.$ac_ext <<_ACEOF
45171 /* end confdefs.h. */
45172 #include <netdb.h>
45173 int
45174 main ()
45175 {
45176
45177 char *name;
45178 char *proto;
45179 struct servent *se;
45180 char buffer[2048];
45181 int buflen = 2048;
45182 (void) getservbyname_r(name, proto, se, buffer, buflen)
45183
45184 ;
45185 return 0;
45186 }
45187 _ACEOF
45188 rm -f conftest.$ac_objext
45189 if { (ac_try="$ac_compile"
45190 case "(($ac_try" in
45191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45192 *) ac_try_echo=$ac_try;;
45193 esac
45194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45195 (eval "$ac_compile") 2>conftest.er1
45196 ac_status=$?
45197 grep -v '^ *+' conftest.er1 >conftest.err
45198 rm -f conftest.er1
45199 cat conftest.err >&5
45200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45201 (exit $ac_status); } && {
45202 test -z "$ac_cxx_werror_flag" ||
45203 test ! -s conftest.err
45204 } && test -s conftest.$ac_objext; then
45205 ac_cv_func_which_getservbyname_r=five
45206 else
45207 echo "$as_me: failed program was:" >&5
45208 sed 's/^/| /' conftest.$ac_ext >&5
45209
45210
45211 cat >conftest.$ac_ext <<_ACEOF
45212 /* confdefs.h. */
45213 _ACEOF
45214 cat confdefs.h >>conftest.$ac_ext
45215 cat >>conftest.$ac_ext <<_ACEOF
45216 /* end confdefs.h. */
45217 #include <netdb.h>
45218 int
45219 main ()
45220 {
45221
45222 char *name;
45223 char *proto;
45224 struct servent *se;
45225 struct servent_data data;
45226 (void) getservbyname_r(name, proto, se, &data);
45227
45228 ;
45229 return 0;
45230 }
45231 _ACEOF
45232 rm -f conftest.$ac_objext
45233 if { (ac_try="$ac_compile"
45234 case "(($ac_try" in
45235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45236 *) ac_try_echo=$ac_try;;
45237 esac
45238 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45239 (eval "$ac_compile") 2>conftest.er1
45240 ac_status=$?
45241 grep -v '^ *+' conftest.er1 >conftest.err
45242 rm -f conftest.er1
45243 cat conftest.err >&5
45244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45245 (exit $ac_status); } && {
45246 test -z "$ac_cxx_werror_flag" ||
45247 test ! -s conftest.err
45248 } && test -s conftest.$ac_objext; then
45249 ac_cv_func_which_getservbyname_r=four
45250 else
45251 echo "$as_me: failed program was:" >&5
45252 sed 's/^/| /' conftest.$ac_ext >&5
45253
45254 ac_cv_func_which_getservbyname_r=no
45255
45256 fi
45257
45258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45259
45260
45261 fi
45262
45263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45264
45265
45266 fi
45267
45268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45269 ac_ext=c
45270 ac_cpp='$CPP $CPPFLAGS'
45271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45274
45275
45276
45277 fi
45278 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
45279 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
45280
45281 if test $ac_cv_func_which_getservbyname_r = six; then
45282 cat >>confdefs.h <<\_ACEOF
45283 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
45284 _ACEOF
45285
45286 elif test $ac_cv_func_which_getservbyname_r = five; then
45287 cat >>confdefs.h <<\_ACEOF
45288 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
45289 _ACEOF
45290
45291 elif test $ac_cv_func_which_getservbyname_r = four; then
45292 cat >>confdefs.h <<\_ACEOF
45293 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
45294 _ACEOF
45295
45296 fi
45297
45298
45299 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
45300 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
45301
45302 for ac_func in getservbyname
45303 do
45304 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45305 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45306 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45307 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45308 echo $ECHO_N "(cached) $ECHO_C" >&6
45309 else
45310 cat >conftest.$ac_ext <<_ACEOF
45311 /* confdefs.h. */
45312 _ACEOF
45313 cat confdefs.h >>conftest.$ac_ext
45314 cat >>conftest.$ac_ext <<_ACEOF
45315 /* end confdefs.h. */
45316 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45317 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45318 #define $ac_func innocuous_$ac_func
45319
45320 /* System header to define __stub macros and hopefully few prototypes,
45321 which can conflict with char $ac_func (); below.
45322 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45323 <limits.h> exists even on freestanding compilers. */
45324
45325 #ifdef __STDC__
45326 # include <limits.h>
45327 #else
45328 # include <assert.h>
45329 #endif
45330
45331 #undef $ac_func
45332
45333 /* Override any GCC internal prototype to avoid an error.
45334 Use char because int might match the return type of a GCC
45335 builtin and then its argument prototype would still apply. */
45336 #ifdef __cplusplus
45337 extern "C"
45338 #endif
45339 char $ac_func ();
45340 /* The GNU C library defines this for functions which it implements
45341 to always fail with ENOSYS. Some functions are actually named
45342 something starting with __ and the normal name is an alias. */
45343 #if defined __stub_$ac_func || defined __stub___$ac_func
45344 choke me
45345 #endif
45346
45347 int
45348 main ()
45349 {
45350 return $ac_func ();
45351 ;
45352 return 0;
45353 }
45354 _ACEOF
45355 rm -f conftest.$ac_objext conftest$ac_exeext
45356 if { (ac_try="$ac_link"
45357 case "(($ac_try" in
45358 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45359 *) ac_try_echo=$ac_try;;
45360 esac
45361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45362 (eval "$ac_link") 2>conftest.er1
45363 ac_status=$?
45364 grep -v '^ *+' conftest.er1 >conftest.err
45365 rm -f conftest.er1
45366 cat conftest.err >&5
45367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45368 (exit $ac_status); } && {
45369 test -z "$ac_c_werror_flag" ||
45370 test ! -s conftest.err
45371 } && test -s conftest$ac_exeext &&
45372 $as_test_x conftest$ac_exeext; then
45373 eval "$as_ac_var=yes"
45374 else
45375 echo "$as_me: failed program was:" >&5
45376 sed 's/^/| /' conftest.$ac_ext >&5
45377
45378 eval "$as_ac_var=no"
45379 fi
45380
45381 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45382 conftest$ac_exeext conftest.$ac_ext
45383 fi
45384 ac_res=`eval echo '${'$as_ac_var'}'`
45385 { echo "$as_me:$LINENO: result: $ac_res" >&5
45386 echo "${ECHO_T}$ac_res" >&6; }
45387 if test `eval echo '${'$as_ac_var'}'` = yes; then
45388 cat >>confdefs.h <<_ACEOF
45389 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45390 _ACEOF
45391 cat >>confdefs.h <<\_ACEOF
45392 #define HAVE_GETSERVBYNAME 1
45393 _ACEOF
45394
45395 fi
45396 done
45397
45398 fi
45399
45400 if test "$wxUSE_THREADS" = "yes"; then
45401 cat >>confdefs.h <<\_ACEOF
45402 #define wxUSE_THREADS 1
45403 _ACEOF
45404
45405
45406 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
45407 else
45408 if test "$wx_cv_func_strtok_r" = "yes"; then
45409 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
45410 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
45411 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
45412 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
45413 { echo "$as_me:$LINENO: result: yes" >&5
45414 echo "${ECHO_T}yes" >&6; }
45415 else
45416 { echo "$as_me:$LINENO: result: no" >&5
45417 echo "${ECHO_T}no" >&6; }
45418 fi
45419 fi
45420 fi
45421
45422 if test "$WXGTK2" = 1 ; then
45423 cat >>confdefs.h <<_ACEOF
45424 #define __WXGTK20__ $WXGTK2
45425 _ACEOF
45426
45427 fi
45428
45429 if test "$WXGTK127" = 1 ; then
45430 cat >>confdefs.h <<_ACEOF
45431 #define __WXGTK127__ $WXGTK127
45432 _ACEOF
45433
45434 fi
45435
45436 if test "$WXGPE" = 1 ; then
45437 cat >>confdefs.h <<_ACEOF
45438 #define __WXGPE__ $WXGPE
45439 _ACEOF
45440
45441 fi
45442
45443 DEBUG_CFLAGS=
45444 if `echo $CXXFLAGS $CFLAGS | grep " -g" >/dev/null`; then
45445 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&5
45446 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&2;}
45447 elif test "$wxUSE_DEBUG_INFO" = "yes" ; then
45448 DEBUG_CFLAGS="-g"
45449 fi
45450
45451 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
45452 wxUSE_DEBUG_INFO=yes
45453 if test "$GCC" = yes; then
45454 DEBUG_CFLAGS="-ggdb"
45455 fi
45456 fi
45457
45458 if test "$wxUSE_DEBUG_FLAG" = "no" ; then
45459 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=0"
45460
45461 if test "$wxUSE_GTK" = 1 ; then
45462 if test "x$wxGTK_VERSION" = "x1" ; then
45463 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
45464 else
45465 CPPFLAGS="$CPPFLAGS -DG_DISABLE_CAST_CHECKS"
45466 fi
45467 fi
45468 fi
45469
45470 if test "$wxUSE_MEM_TRACING" = "yes" ; then
45471 cat >>confdefs.h <<\_ACEOF
45472 #define wxUSE_MEMORY_TRACING 1
45473 _ACEOF
45474
45475 cat >>confdefs.h <<\_ACEOF
45476 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
45477 _ACEOF
45478
45479 cat >>confdefs.h <<\_ACEOF
45480 #define wxUSE_DEBUG_NEW_ALWAYS 1
45481 _ACEOF
45482
45483 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
45484 fi
45485
45486 if test "$wxUSE_DMALLOC" = "yes" ; then
45487 DMALLOC_LIBS="-ldmallocthcxx"
45488 fi
45489
45490 PROFILE_FLAGS=
45491 if test "$wxUSE_PROFILE" = "yes" ; then
45492 PROFILE_FLAGS=" -pg"
45493 fi
45494
45495 if test "$GCC" = "yes" ; then
45496 if test "$wxUSE_NO_RTTI" = "yes" ; then
45497 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -DwxNO_RTTI -fno-rtti"
45498 fi
45499 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
45500 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
45501 fi
45502 if test "$wxUSE_PERMISSIVE" = "yes" ; then
45503 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
45504 fi
45505
45506 case "${host}" in
45507 powerpc*-*-aix* )
45508 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
45509 ;;
45510 *-hppa* )
45511 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
45512 ;;
45513 esac
45514 fi
45515
45516 OPTIMISE_CFLAGS=
45517 if `echo $CXXFLAGS $CFLAGS | grep " -O" >/dev/null`; then
45518 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&5
45519 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&2;}
45520 else
45521 if test "$wxUSE_OPTIMISE" = "no" ; then
45522 if test "$GCC" = yes ; then
45523 OPTIMISE_CFLAGS="-O0"
45524 fi
45525 else
45526 if test "$GCC" = yes ; then
45527 case "${host}" in
45528 *-pc-os2_emx | *-pc-os2-emx )
45529 OPTIMISE_CFLAGS="-O2"
45530 ;;
45531 *)
45532 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
45533 ;;
45534 esac
45535 else
45536 OPTIMISE_CFLAGS="-O"
45537 fi
45538 fi
45539 fi
45540
45541
45542 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
45543 cat >>confdefs.h <<\_ACEOF
45544 #define WXWIN_COMPATIBILITY_2_6 1
45545 _ACEOF
45546
45547
45548 WXWIN_COMPATIBILITY_2_8="yes"
45549 fi
45550
45551 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
45552 cat >>confdefs.h <<\_ACEOF
45553 #define WXWIN_COMPATIBILITY_2_8 1
45554 _ACEOF
45555
45556 fi
45557
45558
45559 if test "$wxUSE_GUI" = "yes"; then
45560 cat >>confdefs.h <<\_ACEOF
45561 #define wxUSE_GUI 1
45562 _ACEOF
45563
45564
45565 fi
45566
45567
45568 if test "$wxUSE_UNIX" = "yes"; then
45569 cat >>confdefs.h <<\_ACEOF
45570 #define wxUSE_UNIX 1
45571 _ACEOF
45572
45573 fi
45574
45575
45576 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
45577
45578 HAVE_DL_FUNCS=0
45579 HAVE_SHL_FUNCS=0
45580 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
45581 if test "$USE_DOS" = 1; then
45582 HAVE_DL_FUNCS=0
45583 else
45584
45585 for ac_func in dlopen
45586 do
45587 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45588 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45589 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45590 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45591 echo $ECHO_N "(cached) $ECHO_C" >&6
45592 else
45593 cat >conftest.$ac_ext <<_ACEOF
45594 /* confdefs.h. */
45595 _ACEOF
45596 cat confdefs.h >>conftest.$ac_ext
45597 cat >>conftest.$ac_ext <<_ACEOF
45598 /* end confdefs.h. */
45599 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45600 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45601 #define $ac_func innocuous_$ac_func
45602
45603 /* System header to define __stub macros and hopefully few prototypes,
45604 which can conflict with char $ac_func (); below.
45605 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45606 <limits.h> exists even on freestanding compilers. */
45607
45608 #ifdef __STDC__
45609 # include <limits.h>
45610 #else
45611 # include <assert.h>
45612 #endif
45613
45614 #undef $ac_func
45615
45616 /* Override any GCC internal prototype to avoid an error.
45617 Use char because int might match the return type of a GCC
45618 builtin and then its argument prototype would still apply. */
45619 #ifdef __cplusplus
45620 extern "C"
45621 #endif
45622 char $ac_func ();
45623 /* The GNU C library defines this for functions which it implements
45624 to always fail with ENOSYS. Some functions are actually named
45625 something starting with __ and the normal name is an alias. */
45626 #if defined __stub_$ac_func || defined __stub___$ac_func
45627 choke me
45628 #endif
45629
45630 int
45631 main ()
45632 {
45633 return $ac_func ();
45634 ;
45635 return 0;
45636 }
45637 _ACEOF
45638 rm -f conftest.$ac_objext conftest$ac_exeext
45639 if { (ac_try="$ac_link"
45640 case "(($ac_try" in
45641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45642 *) ac_try_echo=$ac_try;;
45643 esac
45644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45645 (eval "$ac_link") 2>conftest.er1
45646 ac_status=$?
45647 grep -v '^ *+' conftest.er1 >conftest.err
45648 rm -f conftest.er1
45649 cat conftest.err >&5
45650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45651 (exit $ac_status); } && {
45652 test -z "$ac_c_werror_flag" ||
45653 test ! -s conftest.err
45654 } && test -s conftest$ac_exeext &&
45655 $as_test_x conftest$ac_exeext; then
45656 eval "$as_ac_var=yes"
45657 else
45658 echo "$as_me: failed program was:" >&5
45659 sed 's/^/| /' conftest.$ac_ext >&5
45660
45661 eval "$as_ac_var=no"
45662 fi
45663
45664 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45665 conftest$ac_exeext conftest.$ac_ext
45666 fi
45667 ac_res=`eval echo '${'$as_ac_var'}'`
45668 { echo "$as_me:$LINENO: result: $ac_res" >&5
45669 echo "${ECHO_T}$ac_res" >&6; }
45670 if test `eval echo '${'$as_ac_var'}'` = yes; then
45671 cat >>confdefs.h <<_ACEOF
45672 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45673 _ACEOF
45674
45675 cat >>confdefs.h <<\_ACEOF
45676 #define HAVE_DLOPEN 1
45677 _ACEOF
45678
45679 HAVE_DL_FUNCS=1
45680
45681 else
45682
45683 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
45684 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
45685 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
45686 echo $ECHO_N "(cached) $ECHO_C" >&6
45687 else
45688 ac_check_lib_save_LIBS=$LIBS
45689 LIBS="-ldl $LIBS"
45690 cat >conftest.$ac_ext <<_ACEOF
45691 /* confdefs.h. */
45692 _ACEOF
45693 cat confdefs.h >>conftest.$ac_ext
45694 cat >>conftest.$ac_ext <<_ACEOF
45695 /* end confdefs.h. */
45696
45697 /* Override any GCC internal prototype to avoid an error.
45698 Use char because int might match the return type of a GCC
45699 builtin and then its argument prototype would still apply. */
45700 #ifdef __cplusplus
45701 extern "C"
45702 #endif
45703 char dlopen ();
45704 int
45705 main ()
45706 {
45707 return dlopen ();
45708 ;
45709 return 0;
45710 }
45711 _ACEOF
45712 rm -f conftest.$ac_objext conftest$ac_exeext
45713 if { (ac_try="$ac_link"
45714 case "(($ac_try" in
45715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45716 *) ac_try_echo=$ac_try;;
45717 esac
45718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45719 (eval "$ac_link") 2>conftest.er1
45720 ac_status=$?
45721 grep -v '^ *+' conftest.er1 >conftest.err
45722 rm -f conftest.er1
45723 cat conftest.err >&5
45724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45725 (exit $ac_status); } && {
45726 test -z "$ac_c_werror_flag" ||
45727 test ! -s conftest.err
45728 } && test -s conftest$ac_exeext &&
45729 $as_test_x conftest$ac_exeext; then
45730 ac_cv_lib_dl_dlopen=yes
45731 else
45732 echo "$as_me: failed program was:" >&5
45733 sed 's/^/| /' conftest.$ac_ext >&5
45734
45735 ac_cv_lib_dl_dlopen=no
45736 fi
45737
45738 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45739 conftest$ac_exeext conftest.$ac_ext
45740 LIBS=$ac_check_lib_save_LIBS
45741 fi
45742 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
45743 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
45744 if test $ac_cv_lib_dl_dlopen = yes; then
45745
45746 cat >>confdefs.h <<\_ACEOF
45747 #define HAVE_DLOPEN 1
45748 _ACEOF
45749
45750 HAVE_DL_FUNCS=1
45751 DL_LINK=" -ldl$DL_LINK"
45752
45753 else
45754
45755
45756 for ac_func in shl_load
45757 do
45758 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45759 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45760 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45761 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45762 echo $ECHO_N "(cached) $ECHO_C" >&6
45763 else
45764 cat >conftest.$ac_ext <<_ACEOF
45765 /* confdefs.h. */
45766 _ACEOF
45767 cat confdefs.h >>conftest.$ac_ext
45768 cat >>conftest.$ac_ext <<_ACEOF
45769 /* end confdefs.h. */
45770 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45771 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45772 #define $ac_func innocuous_$ac_func
45773
45774 /* System header to define __stub macros and hopefully few prototypes,
45775 which can conflict with char $ac_func (); below.
45776 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45777 <limits.h> exists even on freestanding compilers. */
45778
45779 #ifdef __STDC__
45780 # include <limits.h>
45781 #else
45782 # include <assert.h>
45783 #endif
45784
45785 #undef $ac_func
45786
45787 /* Override any GCC internal prototype to avoid an error.
45788 Use char because int might match the return type of a GCC
45789 builtin and then its argument prototype would still apply. */
45790 #ifdef __cplusplus
45791 extern "C"
45792 #endif
45793 char $ac_func ();
45794 /* The GNU C library defines this for functions which it implements
45795 to always fail with ENOSYS. Some functions are actually named
45796 something starting with __ and the normal name is an alias. */
45797 #if defined __stub_$ac_func || defined __stub___$ac_func
45798 choke me
45799 #endif
45800
45801 int
45802 main ()
45803 {
45804 return $ac_func ();
45805 ;
45806 return 0;
45807 }
45808 _ACEOF
45809 rm -f conftest.$ac_objext conftest$ac_exeext
45810 if { (ac_try="$ac_link"
45811 case "(($ac_try" in
45812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45813 *) ac_try_echo=$ac_try;;
45814 esac
45815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45816 (eval "$ac_link") 2>conftest.er1
45817 ac_status=$?
45818 grep -v '^ *+' conftest.er1 >conftest.err
45819 rm -f conftest.er1
45820 cat conftest.err >&5
45821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45822 (exit $ac_status); } && {
45823 test -z "$ac_c_werror_flag" ||
45824 test ! -s conftest.err
45825 } && test -s conftest$ac_exeext &&
45826 $as_test_x conftest$ac_exeext; then
45827 eval "$as_ac_var=yes"
45828 else
45829 echo "$as_me: failed program was:" >&5
45830 sed 's/^/| /' conftest.$ac_ext >&5
45831
45832 eval "$as_ac_var=no"
45833 fi
45834
45835 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45836 conftest$ac_exeext conftest.$ac_ext
45837 fi
45838 ac_res=`eval echo '${'$as_ac_var'}'`
45839 { echo "$as_me:$LINENO: result: $ac_res" >&5
45840 echo "${ECHO_T}$ac_res" >&6; }
45841 if test `eval echo '${'$as_ac_var'}'` = yes; then
45842 cat >>confdefs.h <<_ACEOF
45843 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45844 _ACEOF
45845
45846 cat >>confdefs.h <<\_ACEOF
45847 #define HAVE_SHL_LOAD 1
45848 _ACEOF
45849
45850 HAVE_SHL_FUNCS=1
45851
45852 else
45853
45854 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
45855 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
45856 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
45857 echo $ECHO_N "(cached) $ECHO_C" >&6
45858 else
45859 ac_check_lib_save_LIBS=$LIBS
45860 LIBS="-lshl_load $LIBS"
45861 cat >conftest.$ac_ext <<_ACEOF
45862 /* confdefs.h. */
45863 _ACEOF
45864 cat confdefs.h >>conftest.$ac_ext
45865 cat >>conftest.$ac_ext <<_ACEOF
45866 /* end confdefs.h. */
45867
45868 /* Override any GCC internal prototype to avoid an error.
45869 Use char because int might match the return type of a GCC
45870 builtin and then its argument prototype would still apply. */
45871 #ifdef __cplusplus
45872 extern "C"
45873 #endif
45874 char dld ();
45875 int
45876 main ()
45877 {
45878 return dld ();
45879 ;
45880 return 0;
45881 }
45882 _ACEOF
45883 rm -f conftest.$ac_objext conftest$ac_exeext
45884 if { (ac_try="$ac_link"
45885 case "(($ac_try" in
45886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45887 *) ac_try_echo=$ac_try;;
45888 esac
45889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45890 (eval "$ac_link") 2>conftest.er1
45891 ac_status=$?
45892 grep -v '^ *+' conftest.er1 >conftest.err
45893 rm -f conftest.er1
45894 cat conftest.err >&5
45895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45896 (exit $ac_status); } && {
45897 test -z "$ac_c_werror_flag" ||
45898 test ! -s conftest.err
45899 } && test -s conftest$ac_exeext &&
45900 $as_test_x conftest$ac_exeext; then
45901 ac_cv_lib_shl_load_dld=yes
45902 else
45903 echo "$as_me: failed program was:" >&5
45904 sed 's/^/| /' conftest.$ac_ext >&5
45905
45906 ac_cv_lib_shl_load_dld=no
45907 fi
45908
45909 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45910 conftest$ac_exeext conftest.$ac_ext
45911 LIBS=$ac_check_lib_save_LIBS
45912 fi
45913 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
45914 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
45915 if test $ac_cv_lib_shl_load_dld = yes; then
45916
45917 HAVE_SHL_FUNCS=1
45918 DL_LINK=" -ldld$DL_LINK"
45919
45920 fi
45921
45922
45923 fi
45924 done
45925
45926
45927 fi
45928
45929
45930 fi
45931 done
45932
45933
45934 if test "$HAVE_DL_FUNCS" = 1; then
45935
45936 for ac_func in dlerror
45937 do
45938 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45939 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45940 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45941 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45942 echo $ECHO_N "(cached) $ECHO_C" >&6
45943 else
45944 cat >conftest.$ac_ext <<_ACEOF
45945 /* confdefs.h. */
45946 _ACEOF
45947 cat confdefs.h >>conftest.$ac_ext
45948 cat >>conftest.$ac_ext <<_ACEOF
45949 /* end confdefs.h. */
45950 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45951 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45952 #define $ac_func innocuous_$ac_func
45953
45954 /* System header to define __stub macros and hopefully few prototypes,
45955 which can conflict with char $ac_func (); below.
45956 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45957 <limits.h> exists even on freestanding compilers. */
45958
45959 #ifdef __STDC__
45960 # include <limits.h>
45961 #else
45962 # include <assert.h>
45963 #endif
45964
45965 #undef $ac_func
45966
45967 /* Override any GCC internal prototype to avoid an error.
45968 Use char because int might match the return type of a GCC
45969 builtin and then its argument prototype would still apply. */
45970 #ifdef __cplusplus
45971 extern "C"
45972 #endif
45973 char $ac_func ();
45974 /* The GNU C library defines this for functions which it implements
45975 to always fail with ENOSYS. Some functions are actually named
45976 something starting with __ and the normal name is an alias. */
45977 #if defined __stub_$ac_func || defined __stub___$ac_func
45978 choke me
45979 #endif
45980
45981 int
45982 main ()
45983 {
45984 return $ac_func ();
45985 ;
45986 return 0;
45987 }
45988 _ACEOF
45989 rm -f conftest.$ac_objext conftest$ac_exeext
45990 if { (ac_try="$ac_link"
45991 case "(($ac_try" in
45992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45993 *) ac_try_echo=$ac_try;;
45994 esac
45995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45996 (eval "$ac_link") 2>conftest.er1
45997 ac_status=$?
45998 grep -v '^ *+' conftest.er1 >conftest.err
45999 rm -f conftest.er1
46000 cat conftest.err >&5
46001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46002 (exit $ac_status); } && {
46003 test -z "$ac_c_werror_flag" ||
46004 test ! -s conftest.err
46005 } && test -s conftest$ac_exeext &&
46006 $as_test_x conftest$ac_exeext; then
46007 eval "$as_ac_var=yes"
46008 else
46009 echo "$as_me: failed program was:" >&5
46010 sed 's/^/| /' conftest.$ac_ext >&5
46011
46012 eval "$as_ac_var=no"
46013 fi
46014
46015 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46016 conftest$ac_exeext conftest.$ac_ext
46017 fi
46018 ac_res=`eval echo '${'$as_ac_var'}'`
46019 { echo "$as_me:$LINENO: result: $ac_res" >&5
46020 echo "${ECHO_T}$ac_res" >&6; }
46021 if test `eval echo '${'$as_ac_var'}'` = yes; then
46022 cat >>confdefs.h <<_ACEOF
46023 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46024 _ACEOF
46025 cat >>confdefs.h <<\_ACEOF
46026 #define HAVE_DLERROR 1
46027 _ACEOF
46028
46029 else
46030
46031 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
46032 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
46033 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
46034 echo $ECHO_N "(cached) $ECHO_C" >&6
46035 else
46036 ac_check_lib_save_LIBS=$LIBS
46037 LIBS="-ldl $LIBS"
46038 cat >conftest.$ac_ext <<_ACEOF
46039 /* confdefs.h. */
46040 _ACEOF
46041 cat confdefs.h >>conftest.$ac_ext
46042 cat >>conftest.$ac_ext <<_ACEOF
46043 /* end confdefs.h. */
46044
46045 /* Override any GCC internal prototype to avoid an error.
46046 Use char because int might match the return type of a GCC
46047 builtin and then its argument prototype would still apply. */
46048 #ifdef __cplusplus
46049 extern "C"
46050 #endif
46051 char dlerror ();
46052 int
46053 main ()
46054 {
46055 return dlerror ();
46056 ;
46057 return 0;
46058 }
46059 _ACEOF
46060 rm -f conftest.$ac_objext conftest$ac_exeext
46061 if { (ac_try="$ac_link"
46062 case "(($ac_try" in
46063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46064 *) ac_try_echo=$ac_try;;
46065 esac
46066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46067 (eval "$ac_link") 2>conftest.er1
46068 ac_status=$?
46069 grep -v '^ *+' conftest.er1 >conftest.err
46070 rm -f conftest.er1
46071 cat conftest.err >&5
46072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46073 (exit $ac_status); } && {
46074 test -z "$ac_c_werror_flag" ||
46075 test ! -s conftest.err
46076 } && test -s conftest$ac_exeext &&
46077 $as_test_x conftest$ac_exeext; then
46078 ac_cv_lib_dl_dlerror=yes
46079 else
46080 echo "$as_me: failed program was:" >&5
46081 sed 's/^/| /' conftest.$ac_ext >&5
46082
46083 ac_cv_lib_dl_dlerror=no
46084 fi
46085
46086 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46087 conftest$ac_exeext conftest.$ac_ext
46088 LIBS=$ac_check_lib_save_LIBS
46089 fi
46090 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
46091 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
46092 if test $ac_cv_lib_dl_dlerror = yes; then
46093 cat >>confdefs.h <<\_ACEOF
46094 #define HAVE_DLERROR 1
46095 _ACEOF
46096
46097 fi
46098
46099
46100
46101 fi
46102 done
46103
46104 fi
46105 fi
46106
46107 if test "$USE_DARWIN" = 1; then
46108 HAVE_DL_FUNCS=1
46109 fi
46110
46111 if test "$HAVE_DL_FUNCS" = 0; then
46112 if test "$HAVE_SHL_FUNCS" = 0; then
46113 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
46114 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
46115 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
46116 wxUSE_DYNAMIC_LOADER=no
46117 wxUSE_DYNLIB_CLASS=no
46118 else
46119 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
46120 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
46121 fi
46122 fi
46123 fi
46124 fi
46125 fi
46126
46127 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
46128 cat >>confdefs.h <<\_ACEOF
46129 #define wxUSE_DYNAMIC_LOADER 1
46130 _ACEOF
46131
46132 fi
46133 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
46134 cat >>confdefs.h <<\_ACEOF
46135 #define wxUSE_DYNLIB_CLASS 1
46136 _ACEOF
46137
46138 fi
46139
46140
46141
46142 if test "$wxUSE_PLUGINS" = "yes" ; then
46143 if test "$wxUSE_SHARED" = "no" ; then
46144 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
46145 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
46146 wxUSE_PLUGINS=no
46147 fi
46148 if test "$wxUSE_MONOLITHIC" = "yes" ; then
46149 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
46150 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
46151 wxUSE_PLUGINS=no
46152 fi
46153 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
46154 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
46155 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
46156 wxUSE_PLUGINS=no
46157 fi
46158 if test "$wxUSE_PLUGINS" = "yes" ; then
46159 cat >>confdefs.h <<\_ACEOF
46160 #define wxUSE_PLUGINS 1
46161 _ACEOF
46162
46163 fi
46164 fi
46165
46166
46167 if test "$wxUSE_FSWATCHER" = "yes"; then
46168 if test "$wxUSE_MSW" != "1"; then
46169 if test "$wxUSE_UNIX" = "yes"; then
46170
46171 for ac_header in sys/inotify.h
46172 do
46173 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
46174 { echo "$as_me:$LINENO: checking for $ac_header" >&5
46175 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
46176 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
46177 echo $ECHO_N "(cached) $ECHO_C" >&6
46178 else
46179 cat >conftest.$ac_ext <<_ACEOF
46180 /* confdefs.h. */
46181 _ACEOF
46182 cat confdefs.h >>conftest.$ac_ext
46183 cat >>conftest.$ac_ext <<_ACEOF
46184 /* end confdefs.h. */
46185 $ac_includes_default
46186
46187 #include <$ac_header>
46188 _ACEOF
46189 rm -f conftest.$ac_objext
46190 if { (ac_try="$ac_compile"
46191 case "(($ac_try" in
46192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46193 *) ac_try_echo=$ac_try;;
46194 esac
46195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46196 (eval "$ac_compile") 2>conftest.er1
46197 ac_status=$?
46198 grep -v '^ *+' conftest.er1 >conftest.err
46199 rm -f conftest.er1
46200 cat conftest.err >&5
46201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46202 (exit $ac_status); } && {
46203 test -z "$ac_c_werror_flag" ||
46204 test ! -s conftest.err
46205 } && test -s conftest.$ac_objext; then
46206 eval "$as_ac_Header=yes"
46207 else
46208 echo "$as_me: failed program was:" >&5
46209 sed 's/^/| /' conftest.$ac_ext >&5
46210
46211 eval "$as_ac_Header=no"
46212 fi
46213
46214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46215 fi
46216 ac_res=`eval echo '${'$as_ac_Header'}'`
46217 { echo "$as_me:$LINENO: result: $ac_res" >&5
46218 echo "${ECHO_T}$ac_res" >&6; }
46219 if test `eval echo '${'$as_ac_Header'}'` = yes; then
46220 cat >>confdefs.h <<_ACEOF
46221 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
46222 _ACEOF
46223
46224 fi
46225
46226 done
46227
46228 if test "$ac_cv_header_sys_inotify_h" = "yes"; then
46229 cat >>confdefs.h <<\_ACEOF
46230 #define wxHAS_INOTIFY 1
46231 _ACEOF
46232
46233 else
46234
46235 for ac_header in sys/event.h
46236 do
46237 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
46238 { echo "$as_me:$LINENO: checking for $ac_header" >&5
46239 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
46240 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
46241 echo $ECHO_N "(cached) $ECHO_C" >&6
46242 else
46243 cat >conftest.$ac_ext <<_ACEOF
46244 /* confdefs.h. */
46245 _ACEOF
46246 cat confdefs.h >>conftest.$ac_ext
46247 cat >>conftest.$ac_ext <<_ACEOF
46248 /* end confdefs.h. */
46249 $ac_includes_default
46250
46251 #include <$ac_header>
46252 _ACEOF
46253 rm -f conftest.$ac_objext
46254 if { (ac_try="$ac_compile"
46255 case "(($ac_try" in
46256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46257 *) ac_try_echo=$ac_try;;
46258 esac
46259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46260 (eval "$ac_compile") 2>conftest.er1
46261 ac_status=$?
46262 grep -v '^ *+' conftest.er1 >conftest.err
46263 rm -f conftest.er1
46264 cat conftest.err >&5
46265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46266 (exit $ac_status); } && {
46267 test -z "$ac_c_werror_flag" ||
46268 test ! -s conftest.err
46269 } && test -s conftest.$ac_objext; then
46270 eval "$as_ac_Header=yes"
46271 else
46272 echo "$as_me: failed program was:" >&5
46273 sed 's/^/| /' conftest.$ac_ext >&5
46274
46275 eval "$as_ac_Header=no"
46276 fi
46277
46278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46279 fi
46280 ac_res=`eval echo '${'$as_ac_Header'}'`
46281 { echo "$as_me:$LINENO: result: $ac_res" >&5
46282 echo "${ECHO_T}$ac_res" >&6; }
46283 if test `eval echo '${'$as_ac_Header'}'` = yes; then
46284 cat >>confdefs.h <<_ACEOF
46285 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
46286 _ACEOF
46287
46288 fi
46289
46290 done
46291
46292 if test "$ac_cv_header_sys_event_h" = "yes"; then
46293 cat >>confdefs.h <<\_ACEOF
46294 #define wxHAS_KQUEUE 1
46295 _ACEOF
46296
46297 else
46298 wxUSE_FSWATCHER=no
46299 fi
46300 fi
46301 else
46302 wxUSE_FSWATCHER=no
46303 fi
46304 else
46305 if test "$wxUSE_THREADS" != "yes"; then
46306 { echo "$as_me:$LINENO: WARNING: wxFileSystemWatcher disabled due to --disable-threads" >&5
46307 echo "$as_me: WARNING: wxFileSystemWatcher disabled due to --disable-threads" >&2;}
46308 wxUSE_FSWATCHER=no
46309 fi
46310 fi
46311
46312 if test "$wxUSE_FSWATCHER" = "yes"; then
46313 cat >>confdefs.h <<\_ACEOF
46314 #define wxUSE_FSWATCHER 1
46315 _ACEOF
46316
46317 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS fswatcher"
46318 else
46319 { echo "$as_me:$LINENO: WARNING: wxFileSystemWatcher won't be available on this platform" >&5
46320 echo "$as_me: WARNING: wxFileSystemWatcher won't be available on this platform" >&2;}
46321 fi
46322 fi
46323
46324
46325 if test "$wxUSE_STL" = "yes"; then
46326 cat >>confdefs.h <<\_ACEOF
46327 #define wxUSE_STL 1
46328 _ACEOF
46329
46330 fi
46331
46332 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
46333 cat >>confdefs.h <<\_ACEOF
46334 #define wxUSE_EXTENDED_RTTI 1
46335 _ACEOF
46336
46337 fi
46338
46339 if test "$wxUSE_ANY" = "yes"; then
46340 cat >>confdefs.h <<\_ACEOF
46341 #define wxUSE_ANY 1
46342 _ACEOF
46343
46344 fi
46345
46346 if test "$wxUSE_APPLE_IEEE" = "yes"; then
46347 cat >>confdefs.h <<\_ACEOF
46348 #define wxUSE_APPLE_IEEE 1
46349 _ACEOF
46350
46351 fi
46352
46353 if test "$wxUSE_TIMER" = "yes"; then
46354 cat >>confdefs.h <<\_ACEOF
46355 #define wxUSE_TIMER 1
46356 _ACEOF
46357
46358 fi
46359
46360 if test "$USE_UNIX" = 1 ; then
46361 if test "$wxUSE_MGL" != 1; then
46362 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
46363 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
46364 if test "${ac_cv_header_sys_soundcard+set}" = set; then
46365 echo $ECHO_N "(cached) $ECHO_C" >&6
46366 else
46367
46368 cat >conftest.$ac_ext <<_ACEOF
46369 /* confdefs.h. */
46370 _ACEOF
46371 cat confdefs.h >>conftest.$ac_ext
46372 cat >>conftest.$ac_ext <<_ACEOF
46373 /* end confdefs.h. */
46374
46375 #include <sys/ioctl.h>
46376 #include <sys/soundcard.h>
46377
46378 int
46379 main ()
46380 {
46381
46382 ioctl(0, SNDCTL_DSP_SPEED, 0);
46383
46384 ;
46385 return 0;
46386 }
46387 _ACEOF
46388 rm -f conftest.$ac_objext conftest$ac_exeext
46389 if { (ac_try="$ac_link"
46390 case "(($ac_try" in
46391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46392 *) ac_try_echo=$ac_try;;
46393 esac
46394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46395 (eval "$ac_link") 2>conftest.er1
46396 ac_status=$?
46397 grep -v '^ *+' conftest.er1 >conftest.err
46398 rm -f conftest.er1
46399 cat conftest.err >&5
46400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46401 (exit $ac_status); } && {
46402 test -z "$ac_c_werror_flag" ||
46403 test ! -s conftest.err
46404 } && test -s conftest$ac_exeext &&
46405 $as_test_x conftest$ac_exeext; then
46406 ac_cv_header_sys_soundcard=yes
46407 else
46408 echo "$as_me: failed program was:" >&5
46409 sed 's/^/| /' conftest.$ac_ext >&5
46410
46411
46412 saveLibs="$LIBS"
46413 LIBS="$saveLibs -lossaudio"
46414 cat >conftest.$ac_ext <<_ACEOF
46415 /* confdefs.h. */
46416 _ACEOF
46417 cat confdefs.h >>conftest.$ac_ext
46418 cat >>conftest.$ac_ext <<_ACEOF
46419 /* end confdefs.h. */
46420
46421 #include <sys/ioctl.h>
46422 #include <sys/soundcard.h>
46423
46424 int
46425 main ()
46426 {
46427
46428 ioctl(0, SNDCTL_DSP_SPEED, 0);
46429
46430 ;
46431 return 0;
46432 }
46433 _ACEOF
46434 rm -f conftest.$ac_objext conftest$ac_exeext
46435 if { (ac_try="$ac_link"
46436 case "(($ac_try" in
46437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46438 *) ac_try_echo=$ac_try;;
46439 esac
46440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46441 (eval "$ac_link") 2>conftest.er1
46442 ac_status=$?
46443 grep -v '^ *+' conftest.er1 >conftest.err
46444 rm -f conftest.er1
46445 cat conftest.err >&5
46446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46447 (exit $ac_status); } && {
46448 test -z "$ac_c_werror_flag" ||
46449 test ! -s conftest.err
46450 } && test -s conftest$ac_exeext &&
46451 $as_test_x conftest$ac_exeext; then
46452 ac_cv_header_sys_soundcard=yes
46453 else
46454 echo "$as_me: failed program was:" >&5
46455 sed 's/^/| /' conftest.$ac_ext >&5
46456
46457
46458 LIBS="$saveLibs"
46459 ac_cv_header_sys_soundcard=no
46460
46461
46462 fi
46463
46464 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46465 conftest$ac_exeext conftest.$ac_ext
46466
46467
46468 fi
46469
46470 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46471 conftest$ac_exeext conftest.$ac_ext
46472
46473 fi
46474 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
46475 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
46476 fi
46477
46478 if test "$ac_cv_header_sys_soundcard" = "yes"; then
46479 cat >>confdefs.h <<\_ACEOF
46480 #define HAVE_SYS_SOUNDCARD_H 1
46481 _ACEOF
46482
46483 fi
46484 fi
46485
46486 WITH_PLUGIN_SDL=0
46487 if test "$wxUSE_SOUND" = "yes"; then
46488 if test "$USE_UNIX" = 1 ; then
46489 if test "$wxUSE_LIBSDL" != "no"; then
46490
46491 # Check whether --with-sdl-prefix was given.
46492 if test "${with_sdl_prefix+set}" = set; then
46493 withval=$with_sdl_prefix; sdl_prefix="$withval"
46494 else
46495 sdl_prefix=""
46496 fi
46497
46498
46499 # Check whether --with-sdl-exec-prefix was given.
46500 if test "${with_sdl_exec_prefix+set}" = set; then
46501 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
46502 else
46503 sdl_exec_prefix=""
46504 fi
46505
46506 # Check whether --enable-sdltest was given.
46507 if test "${enable_sdltest+set}" = set; then
46508 enableval=$enable_sdltest;
46509 else
46510 enable_sdltest=yes
46511 fi
46512
46513
46514 if test x$sdl_exec_prefix != x ; then
46515 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
46516 if test x${SDL_CONFIG+set} != xset ; then
46517 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
46518 fi
46519 fi
46520 if test x$sdl_prefix != x ; then
46521 sdl_args="$sdl_args --prefix=$sdl_prefix"
46522 if test x${SDL_CONFIG+set} != xset ; then
46523 SDL_CONFIG=$sdl_prefix/bin/sdl-config
46524 fi
46525 fi
46526
46527 if test "x$prefix" != xNONE; then
46528 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
46529 fi
46530 # Extract the first word of "sdl-config", so it can be a program name with args.
46531 set dummy sdl-config; ac_word=$2
46532 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46533 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46534 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
46535 echo $ECHO_N "(cached) $ECHO_C" >&6
46536 else
46537 case $SDL_CONFIG in
46538 [\\/]* | ?:[\\/]*)
46539 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
46540 ;;
46541 *)
46542 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46543 for as_dir in $PATH
46544 do
46545 IFS=$as_save_IFS
46546 test -z "$as_dir" && as_dir=.
46547 for ac_exec_ext in '' $ac_executable_extensions; do
46548 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46549 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
46550 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46551 break 2
46552 fi
46553 done
46554 done
46555 IFS=$as_save_IFS
46556
46557 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
46558 ;;
46559 esac
46560 fi
46561 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
46562 if test -n "$SDL_CONFIG"; then
46563 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
46564 echo "${ECHO_T}$SDL_CONFIG" >&6; }
46565 else
46566 { echo "$as_me:$LINENO: result: no" >&5
46567 echo "${ECHO_T}no" >&6; }
46568 fi
46569
46570
46571 min_sdl_version=1.2.0
46572 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
46573 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
46574 no_sdl=""
46575 if test "$SDL_CONFIG" = "no" ; then
46576 no_sdl=yes
46577 else
46578 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
46579 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
46580
46581 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
46582 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
46583 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
46584 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
46585 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
46586 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
46587 if test "x$enable_sdltest" = "xyes" ; then
46588 ac_save_CFLAGS="$CFLAGS"
46589 ac_save_CXXFLAGS="$CXXFLAGS"
46590 ac_save_LIBS="$LIBS"
46591 CFLAGS="$CFLAGS $SDL_CFLAGS"
46592 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
46593 LIBS="$LIBS $SDL_LIBS"
46594 rm -f conf.sdltest
46595 if test "$cross_compiling" = yes; then
46596 echo $ac_n "cross compiling; assumed OK... $ac_c"
46597 else
46598 cat >conftest.$ac_ext <<_ACEOF
46599 /* confdefs.h. */
46600 _ACEOF
46601 cat confdefs.h >>conftest.$ac_ext
46602 cat >>conftest.$ac_ext <<_ACEOF
46603 /* end confdefs.h. */
46604
46605 #include <stdio.h>
46606 #include <stdlib.h>
46607 #include <string.h>
46608 #include "SDL.h"
46609
46610 char*
46611 my_strdup (char *str)
46612 {
46613 char *new_str;
46614
46615 if (str)
46616 {
46617 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
46618 strcpy (new_str, str);
46619 }
46620 else
46621 new_str = NULL;
46622
46623 return new_str;
46624 }
46625
46626 int main (int argc, char *argv[])
46627 {
46628 int major, minor, micro;
46629 char *tmp_version;
46630
46631 /* This hangs on some systems (?)
46632 system ("touch conf.sdltest");
46633 */
46634 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
46635
46636 /* HP/UX 9 (%@#!) writes to sscanf strings */
46637 tmp_version = my_strdup("$min_sdl_version");
46638 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
46639 printf("%s, bad version string\n", "$min_sdl_version");
46640 exit(1);
46641 }
46642
46643 if (($sdl_major_version > major) ||
46644 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
46645 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
46646 {
46647 return 0;
46648 }
46649 else
46650 {
46651 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
46652 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
46653 printf("*** best to upgrade to the required version.\n");
46654 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
46655 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
46656 printf("*** config.cache before re-running configure\n");
46657 return 1;
46658 }
46659 }
46660
46661
46662 _ACEOF
46663 rm -f conftest$ac_exeext
46664 if { (ac_try="$ac_link"
46665 case "(($ac_try" in
46666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46667 *) ac_try_echo=$ac_try;;
46668 esac
46669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46670 (eval "$ac_link") 2>&5
46671 ac_status=$?
46672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46673 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
46674 { (case "(($ac_try" in
46675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46676 *) ac_try_echo=$ac_try;;
46677 esac
46678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46679 (eval "$ac_try") 2>&5
46680 ac_status=$?
46681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46682 (exit $ac_status); }; }; then
46683 :
46684 else
46685 echo "$as_me: program exited with status $ac_status" >&5
46686 echo "$as_me: failed program was:" >&5
46687 sed 's/^/| /' conftest.$ac_ext >&5
46688
46689 ( exit $ac_status )
46690 no_sdl=yes
46691 fi
46692 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
46693 fi
46694
46695
46696 CFLAGS="$ac_save_CFLAGS"
46697 CXXFLAGS="$ac_save_CXXFLAGS"
46698 LIBS="$ac_save_LIBS"
46699 fi
46700 fi
46701 if test "x$no_sdl" = x ; then
46702 { echo "$as_me:$LINENO: result: yes" >&5
46703 echo "${ECHO_T}yes" >&6; }
46704
46705 EXTRALIBS_SDL="$SDL_LIBS"
46706 CFLAGS="$SDL_CFLAGS $CFLAGS"
46707 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
46708 cat >>confdefs.h <<\_ACEOF
46709 #define wxUSE_LIBSDL 1
46710 _ACEOF
46711
46712
46713 else
46714 { echo "$as_me:$LINENO: result: no" >&5
46715 echo "${ECHO_T}no" >&6; }
46716 if test "$SDL_CONFIG" = "no" ; then
46717 echo "*** The sdl-config script installed by SDL could not be found"
46718 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
46719 echo "*** your path, or set the SDL_CONFIG environment variable to the"
46720 echo "*** full path to sdl-config."
46721 else
46722 if test -f conf.sdltest ; then
46723 :
46724 else
46725 echo "*** Could not run SDL test program, checking why..."
46726 CFLAGS="$CFLAGS $SDL_CFLAGS"
46727 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
46728 LIBS="$LIBS $SDL_LIBS"
46729 cat >conftest.$ac_ext <<_ACEOF
46730 /* confdefs.h. */
46731 _ACEOF
46732 cat confdefs.h >>conftest.$ac_ext
46733 cat >>conftest.$ac_ext <<_ACEOF
46734 /* end confdefs.h. */
46735
46736 #include <stdio.h>
46737 #include "SDL.h"
46738
46739 int main(int argc, char *argv[])
46740 { return 0; }
46741 #undef main
46742 #define main K_and_R_C_main
46743
46744 int
46745 main ()
46746 {
46747 return 0;
46748 ;
46749 return 0;
46750 }
46751 _ACEOF
46752 rm -f conftest.$ac_objext conftest$ac_exeext
46753 if { (ac_try="$ac_link"
46754 case "(($ac_try" in
46755 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46756 *) ac_try_echo=$ac_try;;
46757 esac
46758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46759 (eval "$ac_link") 2>conftest.er1
46760 ac_status=$?
46761 grep -v '^ *+' conftest.er1 >conftest.err
46762 rm -f conftest.er1
46763 cat conftest.err >&5
46764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46765 (exit $ac_status); } && {
46766 test -z "$ac_c_werror_flag" ||
46767 test ! -s conftest.err
46768 } && test -s conftest$ac_exeext &&
46769 $as_test_x conftest$ac_exeext; then
46770 echo "*** The test program compiled, but did not run. This usually means"
46771 echo "*** that the run-time linker is not finding SDL or finding the wrong"
46772 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
46773 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
46774 echo "*** to the installed location Also, make sure you have run ldconfig if that"
46775 echo "*** is required on your system"
46776 echo "***"
46777 echo "*** If you have an old version installed, it is best to remove it, although"
46778 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
46779 else
46780 echo "$as_me: failed program was:" >&5
46781 sed 's/^/| /' conftest.$ac_ext >&5
46782
46783 echo "*** The test program failed to compile or link. See the file config.log for the"
46784 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
46785 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
46786 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
46787 fi
46788
46789 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46790 conftest$ac_exeext conftest.$ac_ext
46791 CFLAGS="$ac_save_CFLAGS"
46792 CXXFLAGS="$ac_save_CXXFLAGS"
46793 LIBS="$ac_save_LIBS"
46794 fi
46795 fi
46796 SDL_CFLAGS=""
46797 SDL_LIBS=""
46798 wxUSE_LIBSDL="no"
46799 fi
46800
46801
46802 rm -f conf.sdltest
46803
46804 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
46805 WITH_PLUGIN_SDL=1
46806 fi
46807 fi
46808 else
46809 if test "$wxUSE_MGL" = 1; then
46810 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
46811 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
46812 wxUSE_SOUND="no"
46813 fi
46814 fi
46815 fi
46816
46817 if test "$wxUSE_SOUND" = "yes"; then
46818 cat >>confdefs.h <<\_ACEOF
46819 #define wxUSE_SOUND 1
46820 _ACEOF
46821
46822 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
46823 fi
46824
46825 if test "$WXGTK2" = 1; then
46826
46827
46828 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
46829 if test -n "$ac_tool_prefix"; then
46830 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
46831 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
46832 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46833 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46834 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
46835 echo $ECHO_N "(cached) $ECHO_C" >&6
46836 else
46837 case $PKG_CONFIG in
46838 [\\/]* | ?:[\\/]*)
46839 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
46840 ;;
46841 *)
46842 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46843 for as_dir in $PATH
46844 do
46845 IFS=$as_save_IFS
46846 test -z "$as_dir" && as_dir=.
46847 for ac_exec_ext in '' $ac_executable_extensions; do
46848 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46849 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
46850 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46851 break 2
46852 fi
46853 done
46854 done
46855 IFS=$as_save_IFS
46856
46857 ;;
46858 esac
46859 fi
46860 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
46861 if test -n "$PKG_CONFIG"; then
46862 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
46863 echo "${ECHO_T}$PKG_CONFIG" >&6; }
46864 else
46865 { echo "$as_me:$LINENO: result: no" >&5
46866 echo "${ECHO_T}no" >&6; }
46867 fi
46868
46869
46870 fi
46871 if test -z "$ac_cv_path_PKG_CONFIG"; then
46872 ac_pt_PKG_CONFIG=$PKG_CONFIG
46873 # Extract the first word of "pkg-config", so it can be a program name with args.
46874 set dummy pkg-config; ac_word=$2
46875 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46876 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46877 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
46878 echo $ECHO_N "(cached) $ECHO_C" >&6
46879 else
46880 case $ac_pt_PKG_CONFIG in
46881 [\\/]* | ?:[\\/]*)
46882 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
46883 ;;
46884 *)
46885 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46886 for as_dir in $PATH
46887 do
46888 IFS=$as_save_IFS
46889 test -z "$as_dir" && as_dir=.
46890 for ac_exec_ext in '' $ac_executable_extensions; do
46891 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46892 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
46893 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46894 break 2
46895 fi
46896 done
46897 done
46898 IFS=$as_save_IFS
46899
46900 ;;
46901 esac
46902 fi
46903 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
46904 if test -n "$ac_pt_PKG_CONFIG"; then
46905 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
46906 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
46907 else
46908 { echo "$as_me:$LINENO: result: no" >&5
46909 echo "${ECHO_T}no" >&6; }
46910 fi
46911
46912 if test "x$ac_pt_PKG_CONFIG" = x; then
46913 PKG_CONFIG=""
46914 else
46915 case $cross_compiling:$ac_tool_warned in
46916 yes:)
46917 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46918 whose name does not start with the host triplet. If you think this
46919 configuration is useful to you, please write to autoconf@gnu.org." >&5
46920 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46921 whose name does not start with the host triplet. If you think this
46922 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46923 ac_tool_warned=yes ;;
46924 esac
46925 PKG_CONFIG=$ac_pt_PKG_CONFIG
46926 fi
46927 else
46928 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
46929 fi
46930
46931 fi
46932 if test -n "$PKG_CONFIG"; then
46933 _pkg_min_version=0.9.0
46934 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
46935 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
46936 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
46937 { echo "$as_me:$LINENO: result: yes" >&5
46938 echo "${ECHO_T}yes" >&6; }
46939 else
46940 { echo "$as_me:$LINENO: result: no" >&5
46941 echo "${ECHO_T}no" >&6; }
46942 PKG_CONFIG=""
46943 fi
46944
46945 fi
46946
46947 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
46948
46949 if test "$wxUSE_GTKPRINT" = "yes" ; then
46950
46951
46952 pkg_failed=no
46953 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
46954 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
46955
46956 if test -n "$PKG_CONFIG"; then
46957 if test -n "$GTKPRINT_CFLAGS"; then
46958 pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
46959 else
46960 if test -n "$PKG_CONFIG" && \
46961 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
46962 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
46963 ac_status=$?
46964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46965 (exit $ac_status); }; then
46966 pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
46967 else
46968 pkg_failed=yes
46969 fi
46970 fi
46971 else
46972 pkg_failed=untried
46973 fi
46974 if test -n "$PKG_CONFIG"; then
46975 if test -n "$GTKPRINT_LIBS"; then
46976 pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
46977 else
46978 if test -n "$PKG_CONFIG" && \
46979 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
46980 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
46981 ac_status=$?
46982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46983 (exit $ac_status); }; then
46984 pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
46985 else
46986 pkg_failed=yes
46987 fi
46988 fi
46989 else
46990 pkg_failed=untried
46991 fi
46992
46993
46994
46995 if test $pkg_failed = yes; then
46996
46997 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46998 _pkg_short_errors_supported=yes
46999 else
47000 _pkg_short_errors_supported=no
47001 fi
47002 if test $_pkg_short_errors_supported = yes; then
47003 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
47004 else
47005 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
47006 fi
47007 # Put the nasty error message in config.log where it belongs
47008 echo "$GTKPRINT_PKG_ERRORS" >&5
47009
47010
47011 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
47012 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
47013 wxUSE_GTKPRINT="no"
47014
47015
47016 elif test $pkg_failed = untried; then
47017
47018 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
47019 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
47020 wxUSE_GTKPRINT="no"
47021
47022
47023 else
47024 GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
47025 GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
47026 { echo "$as_me:$LINENO: result: yes" >&5
47027 echo "${ECHO_T}yes" >&6; }
47028
47029 CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
47030 CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
47031 cat >>confdefs.h <<\_ACEOF
47032 #define wxUSE_GTKPRINT 1
47033 _ACEOF
47034
47035
47036 fi
47037 fi
47038
47039 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
47040
47041
47042 pkg_failed=no
47043 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
47044 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
47045
47046 if test -n "$PKG_CONFIG"; then
47047 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
47048 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
47049 else
47050 if test -n "$PKG_CONFIG" && \
47051 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
47052 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
47053 ac_status=$?
47054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47055 (exit $ac_status); }; then
47056 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
47057 else
47058 pkg_failed=yes
47059 fi
47060 fi
47061 else
47062 pkg_failed=untried
47063 fi
47064 if test -n "$PKG_CONFIG"; then
47065 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
47066 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
47067 else
47068 if test -n "$PKG_CONFIG" && \
47069 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
47070 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
47071 ac_status=$?
47072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47073 (exit $ac_status); }; then
47074 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
47075 else
47076 pkg_failed=yes
47077 fi
47078 fi
47079 else
47080 pkg_failed=untried
47081 fi
47082
47083
47084
47085 if test $pkg_failed = yes; then
47086
47087 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47088 _pkg_short_errors_supported=yes
47089 else
47090 _pkg_short_errors_supported=no
47091 fi
47092 if test $_pkg_short_errors_supported = yes; then
47093 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
47094 else
47095 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
47096 fi
47097 # Put the nasty error message in config.log where it belongs
47098 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
47099
47100
47101 if test "$wxUSE_GTKPRINT" = yes; then
47102 { echo "$as_me:$LINENO: result: no" >&5
47103 echo "${ECHO_T}no" >&6; }
47104 else
47105 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
47106 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
47107 fi
47108 wxUSE_LIBGNOMEPRINT="no"
47109
47110
47111 elif test $pkg_failed = untried; then
47112
47113 if test "$wxUSE_GTKPRINT" = yes; then
47114 { echo "$as_me:$LINENO: result: no" >&5
47115 echo "${ECHO_T}no" >&6; }
47116 else
47117 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
47118 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
47119 fi
47120 wxUSE_LIBGNOMEPRINT="no"
47121
47122
47123 else
47124 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
47125 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
47126 { echo "$as_me:$LINENO: result: yes" >&5
47127 echo "${ECHO_T}yes" >&6; }
47128
47129 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
47130 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
47131 cat >>confdefs.h <<\_ACEOF
47132 #define wxUSE_LIBGNOMEPRINT 1
47133 _ACEOF
47134
47135
47136 fi
47137 fi
47138 fi
47139
47140 if test "$wxUSE_MIMETYPE" = "yes" ; then
47141 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
47142
47143
47144 pkg_failed=no
47145 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
47146 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
47147
47148 if test -n "$PKG_CONFIG"; then
47149 if test -n "$GNOMEVFS_CFLAGS"; then
47150 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
47151 else
47152 if test -n "$PKG_CONFIG" && \
47153 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
47154 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
47155 ac_status=$?
47156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47157 (exit $ac_status); }; then
47158 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
47159 else
47160 pkg_failed=yes
47161 fi
47162 fi
47163 else
47164 pkg_failed=untried
47165 fi
47166 if test -n "$PKG_CONFIG"; then
47167 if test -n "$GNOMEVFS_LIBS"; then
47168 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
47169 else
47170 if test -n "$PKG_CONFIG" && \
47171 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
47172 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
47173 ac_status=$?
47174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47175 (exit $ac_status); }; then
47176 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
47177 else
47178 pkg_failed=yes
47179 fi
47180 fi
47181 else
47182 pkg_failed=untried
47183 fi
47184
47185
47186
47187 if test $pkg_failed = yes; then
47188
47189 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47190 _pkg_short_errors_supported=yes
47191 else
47192 _pkg_short_errors_supported=no
47193 fi
47194 if test $_pkg_short_errors_supported = yes; then
47195 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
47196 else
47197 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
47198 fi
47199 # Put the nasty error message in config.log where it belongs
47200 echo "$GNOMEVFS_PKG_ERRORS" >&5
47201
47202
47203 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
47204 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
47205 wxUSE_LIBGNOMEVFS="no"
47206
47207
47208 elif test $pkg_failed = untried; then
47209
47210 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
47211 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
47212 wxUSE_LIBGNOMEVFS="no"
47213
47214
47215 else
47216 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
47217 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
47218 { echo "$as_me:$LINENO: result: yes" >&5
47219 echo "${ECHO_T}yes" >&6; }
47220
47221 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
47222 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
47223 cat >>confdefs.h <<\_ACEOF
47224 #define wxUSE_LIBGNOMEVFS 1
47225 _ACEOF
47226
47227
47228 fi
47229 fi
47230 fi
47231
47232 if test "$wxUSE_LIBHILDON" = "yes" ; then
47233
47234 pkg_failed=no
47235 { echo "$as_me:$LINENO: checking for HILDON" >&5
47236 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
47237
47238 if test -n "$PKG_CONFIG"; then
47239 if test -n "$HILDON_CFLAGS"; then
47240 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
47241 else
47242 if test -n "$PKG_CONFIG" && \
47243 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
47244 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
47245 ac_status=$?
47246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47247 (exit $ac_status); }; then
47248 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
47249 else
47250 pkg_failed=yes
47251 fi
47252 fi
47253 else
47254 pkg_failed=untried
47255 fi
47256 if test -n "$PKG_CONFIG"; then
47257 if test -n "$HILDON_LIBS"; then
47258 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
47259 else
47260 if test -n "$PKG_CONFIG" && \
47261 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
47262 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
47263 ac_status=$?
47264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47265 (exit $ac_status); }; then
47266 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
47267 else
47268 pkg_failed=yes
47269 fi
47270 fi
47271 else
47272 pkg_failed=untried
47273 fi
47274
47275
47276
47277 if test $pkg_failed = yes; then
47278
47279 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47280 _pkg_short_errors_supported=yes
47281 else
47282 _pkg_short_errors_supported=no
47283 fi
47284 if test $_pkg_short_errors_supported = yes; then
47285 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
47286 else
47287 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
47288 fi
47289 # Put the nasty error message in config.log where it belongs
47290 echo "$HILDON_PKG_ERRORS" >&5
47291
47292
47293 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
47294 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
47295 wxUSE_LIBHILDON="no"
47296 ac_hildon_lgpl=0
47297
47298
47299 elif test $pkg_failed = untried; then
47300
47301 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
47302 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
47303 wxUSE_LIBHILDON="no"
47304 ac_hildon_lgpl=0
47305
47306
47307 else
47308 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
47309 HILDON_LIBS=$pkg_cv_HILDON_LIBS
47310 { echo "$as_me:$LINENO: result: yes" >&5
47311 echo "${ECHO_T}yes" >&6; }
47312
47313 EXTRALIBS_HILDON="$HILDON_LIBS"
47314 CFLAGS="$CFLAGS $HILDON_CFLAGS"
47315 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
47316 cat >>confdefs.h <<\_ACEOF
47317 #define wxUSE_LIBHILDON 1
47318 _ACEOF
47319
47320 ac_hildon_lgpl=1
47321
47322 fi
47323
47324 if test "$ac_hildon_lgpl" = 0 ; then
47325
47326 pkg_failed=no
47327 { echo "$as_me:$LINENO: checking for HILDON2" >&5
47328 echo $ECHO_N "checking for HILDON2... $ECHO_C" >&6; }
47329
47330 if test -n "$PKG_CONFIG"; then
47331 if test -n "$HILDON2_CFLAGS"; then
47332 pkg_cv_HILDON2_CFLAGS="$HILDON2_CFLAGS"
47333 else
47334 if test -n "$PKG_CONFIG" && \
47335 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\"") >&5
47336 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
47337 ac_status=$?
47338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47339 (exit $ac_status); }; then
47340 pkg_cv_HILDON2_CFLAGS=`$PKG_CONFIG --cflags "hildon-1 >= 1.99" 2>/dev/null`
47341 else
47342 pkg_failed=yes
47343 fi
47344 fi
47345 else
47346 pkg_failed=untried
47347 fi
47348 if test -n "$PKG_CONFIG"; then
47349 if test -n "$HILDON2_LIBS"; then
47350 pkg_cv_HILDON2_LIBS="$HILDON2_LIBS"
47351 else
47352 if test -n "$PKG_CONFIG" && \
47353 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\"") >&5
47354 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
47355 ac_status=$?
47356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47357 (exit $ac_status); }; then
47358 pkg_cv_HILDON2_LIBS=`$PKG_CONFIG --libs "hildon-1 >= 1.99" 2>/dev/null`
47359 else
47360 pkg_failed=yes
47361 fi
47362 fi
47363 else
47364 pkg_failed=untried
47365 fi
47366
47367
47368
47369 if test $pkg_failed = yes; then
47370
47371 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47372 _pkg_short_errors_supported=yes
47373 else
47374 _pkg_short_errors_supported=no
47375 fi
47376 if test $_pkg_short_errors_supported = yes; then
47377 HILDON2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
47378 else
47379 HILDON2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
47380 fi
47381 # Put the nasty error message in config.log where it belongs
47382 echo "$HILDON2_PKG_ERRORS" >&5
47383
47384
47385 { echo "$as_me:$LINENO: WARNING: libhildon_1 not found" >&5
47386 echo "$as_me: WARNING: libhildon_1 not found" >&2;}
47387 wxUSE_LIBHILDON2="no"
47388
47389
47390 elif test $pkg_failed = untried; then
47391
47392 { echo "$as_me:$LINENO: WARNING: libhildon_1 not found" >&5
47393 echo "$as_me: WARNING: libhildon_1 not found" >&2;}
47394 wxUSE_LIBHILDON2="no"
47395
47396
47397 else
47398 HILDON2_CFLAGS=$pkg_cv_HILDON2_CFLAGS
47399 HILDON2_LIBS=$pkg_cv_HILDON2_LIBS
47400 { echo "$as_me:$LINENO: result: yes" >&5
47401 echo "${ECHO_T}yes" >&6; }
47402
47403 EXTRALIBS_HILDON="$HILDON2_LIBS"
47404 CFLAGS="$CFLAGS $HILDON2_CFLAGS"
47405 CXXFLAGS="$CXXFLAGS $HILDON2_CFLAGS"
47406 cat >>confdefs.h <<\_ACEOF
47407 #define wxUSE_LIBHILDON2 1
47408 _ACEOF
47409
47410
47411 fi
47412 fi
47413 fi
47414 fi
47415
47416 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
47417 cat >>confdefs.h <<\_ACEOF
47418 #define wxUSE_CMDLINE_PARSER 1
47419 _ACEOF
47420
47421 fi
47422
47423 if test "$wxUSE_STOPWATCH" = "yes"; then
47424 cat >>confdefs.h <<\_ACEOF
47425 #define wxUSE_STOPWATCH 1
47426 _ACEOF
47427
47428 fi
47429
47430 if test "$wxUSE_DATETIME" = "yes"; then
47431 cat >>confdefs.h <<\_ACEOF
47432 #define wxUSE_DATETIME 1
47433 _ACEOF
47434
47435 fi
47436
47437 if test "$wxUSE_FILE" = "yes"; then
47438 cat >>confdefs.h <<\_ACEOF
47439 #define wxUSE_FILE 1
47440 _ACEOF
47441
47442 fi
47443
47444 if test "$wxUSE_FFILE" = "yes"; then
47445 cat >>confdefs.h <<\_ACEOF
47446 #define wxUSE_FFILE 1
47447 _ACEOF
47448
47449 fi
47450
47451 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
47452 if test "$wxUSE_STREAMS" != yes; then
47453 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
47454 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
47455 wxUSE_ARCHIVE_STREAMS=no
47456 else
47457 cat >>confdefs.h <<\_ACEOF
47458 #define wxUSE_ARCHIVE_STREAMS 1
47459 _ACEOF
47460
47461 fi
47462 fi
47463
47464 if test "$wxUSE_ZIPSTREAM" = "yes"; then
47465 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
47466 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
47467 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
47468 elif test "$wxUSE_ZLIB" = "no"; then
47469 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
47470 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
47471 else
47472 cat >>confdefs.h <<\_ACEOF
47473 #define wxUSE_ZIPSTREAM 1
47474 _ACEOF
47475
47476 fi
47477 fi
47478
47479 if test "$wxUSE_TARSTREAM" = "yes"; then
47480 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
47481 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
47482 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
47483 else
47484 cat >>confdefs.h <<\_ACEOF
47485 #define wxUSE_TARSTREAM 1
47486 _ACEOF
47487
47488 fi
47489 fi
47490
47491 if test "$wxUSE_FILE_HISTORY" = "yes"; then
47492 cat >>confdefs.h <<\_ACEOF
47493 #define wxUSE_FILE_HISTORY 1
47494 _ACEOF
47495
47496 fi
47497
47498 if test "$wxUSE_FILESYSTEM" = "yes"; then
47499 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
47500 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
47501 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
47502 wxUSE_FILESYSTEM=no
47503 else
47504 cat >>confdefs.h <<\_ACEOF
47505 #define wxUSE_FILESYSTEM 1
47506 _ACEOF
47507
47508 fi
47509 fi
47510
47511 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
47512 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
47513 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
47514 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
47515 else
47516 cat >>confdefs.h <<\_ACEOF
47517 #define wxUSE_FS_ARCHIVE 1
47518 _ACEOF
47519
47520 fi
47521 fi
47522
47523 if test "$wxUSE_FS_ZIP" = "yes"; then
47524 if test "$wxUSE_FS_ARCHIVE" != yes; then
47525 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
47526 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
47527 else
47528 cat >>confdefs.h <<\_ACEOF
47529 #define wxUSE_FS_ZIP 1
47530 _ACEOF
47531
47532 fi
47533 fi
47534
47535 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
47536 if test "$USE_UNIX" != 1; then
47537 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
47538 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
47539 wxUSE_ON_FATAL_EXCEPTION=no
47540 else
47541 cat >>confdefs.h <<\_ACEOF
47542 #define wxUSE_ON_FATAL_EXCEPTION 1
47543 _ACEOF
47544
47545 fi
47546 fi
47547
47548 if test "$wxUSE_STACKWALKER" = "yes"; then
47549 cat >>confdefs.h <<\_ACEOF
47550 #define wxUSE_STACKWALKER 1
47551 _ACEOF
47552
47553 fi
47554
47555 if test "$wxUSE_DEBUGREPORT" = "yes"; then
47556 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
47557 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
47558 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
47559 wxUSE_DEBUGREPORT=no
47560 else
47561 cat >>confdefs.h <<\_ACEOF
47562 #define wxUSE_DEBUGREPORT 1
47563 _ACEOF
47564
47565 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
47566 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
47567 fi
47568 fi
47569 fi
47570
47571 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
47572 cat >>confdefs.h <<\_ACEOF
47573 #define wxUSE_SNGLINST_CHECKER 1
47574 _ACEOF
47575
47576 fi
47577
47578 if test "$wxUSE_BUSYINFO" = "yes"; then
47579 cat >>confdefs.h <<\_ACEOF
47580 #define wxUSE_BUSYINFO 1
47581 _ACEOF
47582
47583 fi
47584
47585 if test "$wxUSE_HOTKEY" = "yes"; then
47586 if test "$wxUSE_MSW" != 1 -a "$wxUSE_OSX_COCOA" != 1 -a "$wxUSE_OSX_CARBON" != 1; then
47587 { echo "$as_me:$LINENO: WARNING: Hot keys not supported by the current toolkit, disabled" >&5
47588 echo "$as_me: WARNING: Hot keys not supported by the current toolkit, disabled" >&2;}
47589 wxUSE_HOTKEY=no
47590 fi
47591 elif test "$wxUSE_HOTKEY" = "auto"; then
47592 if test "$wxUSE_MSW" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OSX_CARBON" = 1; then
47593 wxUSE_HOTKEY=yes
47594 fi
47595 fi
47596 if test "$wxUSE_HOTKEY" = "yes"; then
47597 cat >>confdefs.h <<\_ACEOF
47598 #define wxUSE_HOTKEY 1
47599 _ACEOF
47600
47601 fi
47602
47603 if test "$wxUSE_STD_CONTAINERS" = "yes"; then
47604 cat >>confdefs.h <<\_ACEOF
47605 #define wxUSE_STD_CONTAINERS 1
47606 _ACEOF
47607
47608 fi
47609
47610 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
47611 cat >>confdefs.h <<\_ACEOF
47612 #define wxUSE_STD_IOSTREAM 1
47613 _ACEOF
47614
47615 fi
47616
47617 if test "$wxUSE_STD_STRING" = "yes"; then
47618 cat >>confdefs.h <<\_ACEOF
47619 #define wxUSE_STD_STRING 1
47620 _ACEOF
47621
47622 fi
47623
47624 if test "$wxUSE_STD_STRING_CONV_IN_WXSTRING" = "yes"; then
47625 cat >>confdefs.h <<\_ACEOF
47626 #define wxUSE_STD_STRING_CONV_IN_WXSTRING 1
47627 _ACEOF
47628
47629 fi
47630
47631 if test "$wxUSE_STDPATHS" = "yes"; then
47632 cat >>confdefs.h <<\_ACEOF
47633 #define wxUSE_STDPATHS 1
47634 _ACEOF
47635
47636 fi
47637
47638 if test "$wxUSE_TEXTBUFFER" = "yes"; then
47639 cat >>confdefs.h <<\_ACEOF
47640 #define wxUSE_TEXTBUFFER 1
47641 _ACEOF
47642
47643 fi
47644
47645 if test "$wxUSE_TEXTFILE" = "yes"; then
47646 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
47647 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
47648 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
47649 else
47650 cat >>confdefs.h <<\_ACEOF
47651 #define wxUSE_TEXTFILE 1
47652 _ACEOF
47653
47654 fi
47655 fi
47656
47657 if test "$wxUSE_CONFIG" = "yes" ; then
47658 if test "$wxUSE_TEXTFILE" != "yes"; then
47659 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
47660 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
47661 else
47662 cat >>confdefs.h <<\_ACEOF
47663 #define wxUSE_CONFIG 1
47664 _ACEOF
47665
47666 cat >>confdefs.h <<\_ACEOF
47667 #define wxUSE_CONFIG_NATIVE 1
47668 _ACEOF
47669
47670 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
47671 fi
47672 fi
47673
47674 if test "$wxUSE_INTL" = "yes" ; then
47675 if test "$wxUSE_FILE" != "yes"; then
47676 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
47677 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
47678 else
47679 cat >>confdefs.h <<\_ACEOF
47680 #define wxUSE_INTL 1
47681 _ACEOF
47682
47683 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
47684 GUIDIST="$GUIDIST INTL_DIST"
47685 fi
47686 fi
47687
47688 if test "$wxUSE_XLOCALE" = "yes" ; then
47689 cat >>confdefs.h <<\_ACEOF
47690 #define wxUSE_XLOCALE 1
47691 _ACEOF
47692
47693 { echo "$as_me:$LINENO: checking for locale_t" >&5
47694 echo $ECHO_N "checking for locale_t... $ECHO_C" >&6; }
47695 if test "${ac_cv_type_locale_t+set}" = set; then
47696 echo $ECHO_N "(cached) $ECHO_C" >&6
47697 else
47698 cat >conftest.$ac_ext <<_ACEOF
47699 /* confdefs.h. */
47700 _ACEOF
47701 cat confdefs.h >>conftest.$ac_ext
47702 cat >>conftest.$ac_ext <<_ACEOF
47703 /* end confdefs.h. */
47704 #include <xlocale.h>
47705 #include <locale.h>
47706
47707 typedef locale_t ac__type_new_;
47708 int
47709 main ()
47710 {
47711 if ((ac__type_new_ *) 0)
47712 return 0;
47713 if (sizeof (ac__type_new_))
47714 return 0;
47715 ;
47716 return 0;
47717 }
47718 _ACEOF
47719 rm -f conftest.$ac_objext
47720 if { (ac_try="$ac_compile"
47721 case "(($ac_try" in
47722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47723 *) ac_try_echo=$ac_try;;
47724 esac
47725 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47726 (eval "$ac_compile") 2>conftest.er1
47727 ac_status=$?
47728 grep -v '^ *+' conftest.er1 >conftest.err
47729 rm -f conftest.er1
47730 cat conftest.err >&5
47731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47732 (exit $ac_status); } && {
47733 test -z "$ac_c_werror_flag" ||
47734 test ! -s conftest.err
47735 } && test -s conftest.$ac_objext; then
47736 ac_cv_type_locale_t=yes
47737 else
47738 echo "$as_me: failed program was:" >&5
47739 sed 's/^/| /' conftest.$ac_ext >&5
47740
47741 ac_cv_type_locale_t=no
47742 fi
47743
47744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47745 fi
47746 { echo "$as_me:$LINENO: result: $ac_cv_type_locale_t" >&5
47747 echo "${ECHO_T}$ac_cv_type_locale_t" >&6; }
47748 if test $ac_cv_type_locale_t = yes; then
47749
47750 cat >>confdefs.h <<_ACEOF
47751 #define HAVE_LOCALE_T 1
47752 _ACEOF
47753
47754
47755 fi
47756
47757 fi
47758
47759 if test "$wxUSE_LOG" = "yes"; then
47760 cat >>confdefs.h <<\_ACEOF
47761 #define wxUSE_LOG 1
47762 _ACEOF
47763
47764
47765 if test "$wxUSE_LOGGUI" = "yes"; then
47766 cat >>confdefs.h <<\_ACEOF
47767 #define wxUSE_LOGGUI 1
47768 _ACEOF
47769
47770 fi
47771
47772 if test "$wxUSE_LOGWINDOW" = "yes"; then
47773 cat >>confdefs.h <<\_ACEOF
47774 #define wxUSE_LOGWINDOW 1
47775 _ACEOF
47776
47777 fi
47778
47779 if test "$wxUSE_LOGDIALOG" = "yes"; then
47780 cat >>confdefs.h <<\_ACEOF
47781 #define wxUSE_LOG_DIALOG 1
47782 _ACEOF
47783
47784 fi
47785
47786 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
47787 fi
47788
47789 if test "$wxUSE_LONGLONG" = "yes"; then
47790 cat >>confdefs.h <<\_ACEOF
47791 #define wxUSE_LONGLONG 1
47792 _ACEOF
47793
47794 fi
47795
47796 if test "$wxUSE_GEOMETRY" = "yes"; then
47797 cat >>confdefs.h <<\_ACEOF
47798 #define wxUSE_GEOMETRY 1
47799 _ACEOF
47800
47801 fi
47802
47803 if test "$wxUSE_BASE64" = "yes"; then
47804 cat >>confdefs.h <<\_ACEOF
47805 #define wxUSE_BASE64 1
47806 _ACEOF
47807
47808 fi
47809
47810 if test "$wxUSE_STREAMS" = "yes" ; then
47811 cat >>confdefs.h <<\_ACEOF
47812 #define wxUSE_STREAMS 1
47813 _ACEOF
47814
47815 fi
47816
47817 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
47818 cat >>confdefs.h <<\_ACEOF
47819 #define wxUSE_PRINTF_POS_PARAMS 1
47820 _ACEOF
47821
47822 fi
47823
47824 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
47825 cat >>confdefs.h <<\_ACEOF
47826 #define wxUSE_OBJC_UNIQUIFYING 1
47827 _ACEOF
47828
47829 fi
47830
47831
47832 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
47833 cat >>confdefs.h <<\_ACEOF
47834 #define wxUSE_CONSOLE_EVENTLOOP 1
47835 _ACEOF
47836
47837
47838 if test "$wxUSE_UNIX" = "yes"; then
47839 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
47840 cat >>confdefs.h <<\_ACEOF
47841 #define wxUSE_SELECT_DISPATCHER 1
47842 _ACEOF
47843
47844 fi
47845
47846 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
47847
47848 for ac_header in sys/epoll.h
47849 do
47850 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
47851 { echo "$as_me:$LINENO: checking for $ac_header" >&5
47852 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
47853 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
47854 echo $ECHO_N "(cached) $ECHO_C" >&6
47855 else
47856 cat >conftest.$ac_ext <<_ACEOF
47857 /* confdefs.h. */
47858 _ACEOF
47859 cat confdefs.h >>conftest.$ac_ext
47860 cat >>conftest.$ac_ext <<_ACEOF
47861 /* end confdefs.h. */
47862 $ac_includes_default
47863
47864 #include <$ac_header>
47865 _ACEOF
47866 rm -f conftest.$ac_objext
47867 if { (ac_try="$ac_compile"
47868 case "(($ac_try" in
47869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47870 *) ac_try_echo=$ac_try;;
47871 esac
47872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47873 (eval "$ac_compile") 2>conftest.er1
47874 ac_status=$?
47875 grep -v '^ *+' conftest.er1 >conftest.err
47876 rm -f conftest.er1
47877 cat conftest.err >&5
47878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47879 (exit $ac_status); } && {
47880 test -z "$ac_c_werror_flag" ||
47881 test ! -s conftest.err
47882 } && test -s conftest.$ac_objext; then
47883 eval "$as_ac_Header=yes"
47884 else
47885 echo "$as_me: failed program was:" >&5
47886 sed 's/^/| /' conftest.$ac_ext >&5
47887
47888 eval "$as_ac_Header=no"
47889 fi
47890
47891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47892 fi
47893 ac_res=`eval echo '${'$as_ac_Header'}'`
47894 { echo "$as_me:$LINENO: result: $ac_res" >&5
47895 echo "${ECHO_T}$ac_res" >&6; }
47896 if test `eval echo '${'$as_ac_Header'}'` = yes; then
47897 cat >>confdefs.h <<_ACEOF
47898 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
47899 _ACEOF
47900
47901 fi
47902
47903 done
47904
47905 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
47906 cat >>confdefs.h <<\_ACEOF
47907 #define wxUSE_EPOLL_DISPATCHER 1
47908 _ACEOF
47909
47910 else
47911 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
47912 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
47913 fi
47914 fi
47915 fi
47916 fi
47917
47918
47919
47920
47921 for ac_func in gettimeofday ftime
47922 do
47923 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47924 { echo "$as_me:$LINENO: checking for $ac_func" >&5
47925 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
47926 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
47927 echo $ECHO_N "(cached) $ECHO_C" >&6
47928 else
47929 cat >conftest.$ac_ext <<_ACEOF
47930 /* confdefs.h. */
47931 _ACEOF
47932 cat confdefs.h >>conftest.$ac_ext
47933 cat >>conftest.$ac_ext <<_ACEOF
47934 /* end confdefs.h. */
47935 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47936 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47937 #define $ac_func innocuous_$ac_func
47938
47939 /* System header to define __stub macros and hopefully few prototypes,
47940 which can conflict with char $ac_func (); below.
47941 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47942 <limits.h> exists even on freestanding compilers. */
47943
47944 #ifdef __STDC__
47945 # include <limits.h>
47946 #else
47947 # include <assert.h>
47948 #endif
47949
47950 #undef $ac_func
47951
47952 /* Override any GCC internal prototype to avoid an error.
47953 Use char because int might match the return type of a GCC
47954 builtin and then its argument prototype would still apply. */
47955 #ifdef __cplusplus
47956 extern "C"
47957 #endif
47958 char $ac_func ();
47959 /* The GNU C library defines this for functions which it implements
47960 to always fail with ENOSYS. Some functions are actually named
47961 something starting with __ and the normal name is an alias. */
47962 #if defined __stub_$ac_func || defined __stub___$ac_func
47963 choke me
47964 #endif
47965
47966 int
47967 main ()
47968 {
47969 return $ac_func ();
47970 ;
47971 return 0;
47972 }
47973 _ACEOF
47974 rm -f conftest.$ac_objext conftest$ac_exeext
47975 if { (ac_try="$ac_link"
47976 case "(($ac_try" in
47977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47978 *) ac_try_echo=$ac_try;;
47979 esac
47980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47981 (eval "$ac_link") 2>conftest.er1
47982 ac_status=$?
47983 grep -v '^ *+' conftest.er1 >conftest.err
47984 rm -f conftest.er1
47985 cat conftest.err >&5
47986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47987 (exit $ac_status); } && {
47988 test -z "$ac_c_werror_flag" ||
47989 test ! -s conftest.err
47990 } && test -s conftest$ac_exeext &&
47991 $as_test_x conftest$ac_exeext; then
47992 eval "$as_ac_var=yes"
47993 else
47994 echo "$as_me: failed program was:" >&5
47995 sed 's/^/| /' conftest.$ac_ext >&5
47996
47997 eval "$as_ac_var=no"
47998 fi
47999
48000 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
48001 conftest$ac_exeext conftest.$ac_ext
48002 fi
48003 ac_res=`eval echo '${'$as_ac_var'}'`
48004 { echo "$as_me:$LINENO: result: $ac_res" >&5
48005 echo "${ECHO_T}$ac_res" >&6; }
48006 if test `eval echo '${'$as_ac_var'}'` = yes; then
48007 cat >>confdefs.h <<_ACEOF
48008 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48009 _ACEOF
48010 break
48011 fi
48012 done
48013
48014
48015 if test "$ac_cv_func_gettimeofday" = "yes"; then
48016 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
48017 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
48018 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
48019 echo $ECHO_N "(cached) $ECHO_C" >&6
48020 else
48021
48022 cat >conftest.$ac_ext <<_ACEOF
48023 /* confdefs.h. */
48024 _ACEOF
48025 cat confdefs.h >>conftest.$ac_ext
48026 cat >>conftest.$ac_ext <<_ACEOF
48027 /* end confdefs.h. */
48028
48029 #include <sys/time.h>
48030 #include <unistd.h>
48031
48032 int
48033 main ()
48034 {
48035
48036 struct timeval tv;
48037 gettimeofday(&tv, NULL);
48038
48039 ;
48040 return 0;
48041 }
48042 _ACEOF
48043 rm -f conftest.$ac_objext
48044 if { (ac_try="$ac_compile"
48045 case "(($ac_try" in
48046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48047 *) ac_try_echo=$ac_try;;
48048 esac
48049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48050 (eval "$ac_compile") 2>conftest.er1
48051 ac_status=$?
48052 grep -v '^ *+' conftest.er1 >conftest.err
48053 rm -f conftest.er1
48054 cat conftest.err >&5
48055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48056 (exit $ac_status); } && {
48057 test -z "$ac_c_werror_flag" ||
48058 test ! -s conftest.err
48059 } && test -s conftest.$ac_objext; then
48060 wx_cv_func_gettimeofday_has_2_args=yes
48061 else
48062 echo "$as_me: failed program was:" >&5
48063 sed 's/^/| /' conftest.$ac_ext >&5
48064
48065 cat >conftest.$ac_ext <<_ACEOF
48066 /* confdefs.h. */
48067 _ACEOF
48068 cat confdefs.h >>conftest.$ac_ext
48069 cat >>conftest.$ac_ext <<_ACEOF
48070 /* end confdefs.h. */
48071
48072 #include <sys/time.h>
48073 #include <unistd.h>
48074
48075 int
48076 main ()
48077 {
48078
48079 struct timeval tv;
48080 gettimeofday(&tv);
48081
48082 ;
48083 return 0;
48084 }
48085 _ACEOF
48086 rm -f conftest.$ac_objext
48087 if { (ac_try="$ac_compile"
48088 case "(($ac_try" in
48089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48090 *) ac_try_echo=$ac_try;;
48091 esac
48092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48093 (eval "$ac_compile") 2>conftest.er1
48094 ac_status=$?
48095 grep -v '^ *+' conftest.er1 >conftest.err
48096 rm -f conftest.er1
48097 cat conftest.err >&5
48098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48099 (exit $ac_status); } && {
48100 test -z "$ac_c_werror_flag" ||
48101 test ! -s conftest.err
48102 } && test -s conftest.$ac_objext; then
48103 wx_cv_func_gettimeofday_has_2_args=no
48104 else
48105 echo "$as_me: failed program was:" >&5
48106 sed 's/^/| /' conftest.$ac_ext >&5
48107
48108
48109 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
48110 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
48111 wx_cv_func_gettimeofday_has_2_args=unknown
48112
48113
48114 fi
48115
48116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48117
48118 fi
48119
48120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48121
48122 fi
48123 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
48124 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
48125
48126 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
48127 cat >>confdefs.h <<\_ACEOF
48128 #define WX_GETTIMEOFDAY_NO_TZ 1
48129 _ACEOF
48130
48131 fi
48132 fi
48133
48134 if test "$wxUSE_DATETIME" = "yes"; then
48135 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
48136 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
48137 if test "${wx_cv_var_timezone+set}" = set; then
48138 echo $ECHO_N "(cached) $ECHO_C" >&6
48139 else
48140
48141 ac_ext=cpp
48142 ac_cpp='$CXXCPP $CPPFLAGS'
48143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48146
48147 cat >conftest.$ac_ext <<_ACEOF
48148 /* confdefs.h. */
48149 _ACEOF
48150 cat confdefs.h >>conftest.$ac_ext
48151 cat >>conftest.$ac_ext <<_ACEOF
48152 /* end confdefs.h. */
48153
48154 #include <time.h>
48155
48156 int
48157 main ()
48158 {
48159
48160 int tz;
48161 tz = timezone;
48162
48163 ;
48164 return 0;
48165 }
48166 _ACEOF
48167 rm -f conftest.$ac_objext
48168 if { (ac_try="$ac_compile"
48169 case "(($ac_try" in
48170 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48171 *) ac_try_echo=$ac_try;;
48172 esac
48173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48174 (eval "$ac_compile") 2>conftest.er1
48175 ac_status=$?
48176 grep -v '^ *+' conftest.er1 >conftest.err
48177 rm -f conftest.er1
48178 cat conftest.err >&5
48179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48180 (exit $ac_status); } && {
48181 test -z "$ac_cxx_werror_flag" ||
48182 test ! -s conftest.err
48183 } && test -s conftest.$ac_objext; then
48184
48185 wx_cv_var_timezone=timezone
48186
48187 else
48188 echo "$as_me: failed program was:" >&5
48189 sed 's/^/| /' conftest.$ac_ext >&5
48190
48191
48192 cat >conftest.$ac_ext <<_ACEOF
48193 /* confdefs.h. */
48194 _ACEOF
48195 cat confdefs.h >>conftest.$ac_ext
48196 cat >>conftest.$ac_ext <<_ACEOF
48197 /* end confdefs.h. */
48198
48199 #include <time.h>
48200
48201 int
48202 main ()
48203 {
48204
48205 int tz;
48206 tz = _timezone;
48207
48208 ;
48209 return 0;
48210 }
48211 _ACEOF
48212 rm -f conftest.$ac_objext
48213 if { (ac_try="$ac_compile"
48214 case "(($ac_try" in
48215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48216 *) ac_try_echo=$ac_try;;
48217 esac
48218 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48219 (eval "$ac_compile") 2>conftest.er1
48220 ac_status=$?
48221 grep -v '^ *+' conftest.er1 >conftest.err
48222 rm -f conftest.er1
48223 cat conftest.err >&5
48224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48225 (exit $ac_status); } && {
48226 test -z "$ac_cxx_werror_flag" ||
48227 test ! -s conftest.err
48228 } && test -s conftest.$ac_objext; then
48229
48230 wx_cv_var_timezone=_timezone
48231
48232 else
48233 echo "$as_me: failed program was:" >&5
48234 sed 's/^/| /' conftest.$ac_ext >&5
48235
48236
48237 cat >conftest.$ac_ext <<_ACEOF
48238 /* confdefs.h. */
48239 _ACEOF
48240 cat confdefs.h >>conftest.$ac_ext
48241 cat >>conftest.$ac_ext <<_ACEOF
48242 /* end confdefs.h. */
48243
48244 #include <time.h>
48245
48246 int
48247 main ()
48248 {
48249
48250 int tz;
48251 tz = __timezone;
48252
48253 ;
48254 return 0;
48255 }
48256 _ACEOF
48257 rm -f conftest.$ac_objext
48258 if { (ac_try="$ac_compile"
48259 case "(($ac_try" in
48260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48261 *) ac_try_echo=$ac_try;;
48262 esac
48263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48264 (eval "$ac_compile") 2>conftest.er1
48265 ac_status=$?
48266 grep -v '^ *+' conftest.er1 >conftest.err
48267 rm -f conftest.er1
48268 cat conftest.err >&5
48269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48270 (exit $ac_status); } && {
48271 test -z "$ac_cxx_werror_flag" ||
48272 test ! -s conftest.err
48273 } && test -s conftest.$ac_objext; then
48274
48275 wx_cv_var_timezone=__timezone
48276
48277 else
48278 echo "$as_me: failed program was:" >&5
48279 sed 's/^/| /' conftest.$ac_ext >&5
48280
48281
48282 if test "$USE_DOS" = 0 ; then
48283 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
48284 echo "$as_me: WARNING: no timezone variable" >&2;}
48285 fi
48286
48287
48288 fi
48289
48290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48291
48292
48293 fi
48294
48295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48296
48297
48298 fi
48299
48300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48301 ac_ext=c
48302 ac_cpp='$CPP $CPPFLAGS'
48303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48306
48307
48308
48309 fi
48310 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
48311 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
48312
48313 if test "x$wx_cv_var_timezone" != x ; then
48314 cat >>confdefs.h <<_ACEOF
48315 #define WX_TIMEZONE $wx_cv_var_timezone
48316 _ACEOF
48317
48318 fi
48319
48320
48321 for ac_func in localtime
48322 do
48323 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48324 { echo "$as_me:$LINENO: checking for $ac_func" >&5
48325 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
48326 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
48327 echo $ECHO_N "(cached) $ECHO_C" >&6
48328 else
48329 cat >conftest.$ac_ext <<_ACEOF
48330 /* confdefs.h. */
48331 _ACEOF
48332 cat confdefs.h >>conftest.$ac_ext
48333 cat >>conftest.$ac_ext <<_ACEOF
48334 /* end confdefs.h. */
48335 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48336 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48337 #define $ac_func innocuous_$ac_func
48338
48339 /* System header to define __stub macros and hopefully few prototypes,
48340 which can conflict with char $ac_func (); below.
48341 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48342 <limits.h> exists even on freestanding compilers. */
48343
48344 #ifdef __STDC__
48345 # include <limits.h>
48346 #else
48347 # include <assert.h>
48348 #endif
48349
48350 #undef $ac_func
48351
48352 /* Override any GCC internal prototype to avoid an error.
48353 Use char because int might match the return type of a GCC
48354 builtin and then its argument prototype would still apply. */
48355 #ifdef __cplusplus
48356 extern "C"
48357 #endif
48358 char $ac_func ();
48359 /* The GNU C library defines this for functions which it implements
48360 to always fail with ENOSYS. Some functions are actually named
48361 something starting with __ and the normal name is an alias. */
48362 #if defined __stub_$ac_func || defined __stub___$ac_func
48363 choke me
48364 #endif
48365
48366 int
48367 main ()
48368 {
48369 return $ac_func ();
48370 ;
48371 return 0;
48372 }
48373 _ACEOF
48374 rm -f conftest.$ac_objext conftest$ac_exeext
48375 if { (ac_try="$ac_link"
48376 case "(($ac_try" in
48377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48378 *) ac_try_echo=$ac_try;;
48379 esac
48380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48381 (eval "$ac_link") 2>conftest.er1
48382 ac_status=$?
48383 grep -v '^ *+' conftest.er1 >conftest.err
48384 rm -f conftest.er1
48385 cat conftest.err >&5
48386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48387 (exit $ac_status); } && {
48388 test -z "$ac_c_werror_flag" ||
48389 test ! -s conftest.err
48390 } && test -s conftest$ac_exeext &&
48391 $as_test_x conftest$ac_exeext; then
48392 eval "$as_ac_var=yes"
48393 else
48394 echo "$as_me: failed program was:" >&5
48395 sed 's/^/| /' conftest.$ac_ext >&5
48396
48397 eval "$as_ac_var=no"
48398 fi
48399
48400 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
48401 conftest$ac_exeext conftest.$ac_ext
48402 fi
48403 ac_res=`eval echo '${'$as_ac_var'}'`
48404 { echo "$as_me:$LINENO: result: $ac_res" >&5
48405 echo "${ECHO_T}$ac_res" >&6; }
48406 if test `eval echo '${'$as_ac_var'}'` = yes; then
48407 cat >>confdefs.h <<_ACEOF
48408 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48409 _ACEOF
48410
48411 fi
48412 done
48413
48414
48415 if test "$ac_cv_func_localtime" = "yes"; then
48416 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
48417 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
48418 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
48419 echo $ECHO_N "(cached) $ECHO_C" >&6
48420 else
48421
48422 cat >conftest.$ac_ext <<_ACEOF
48423 /* confdefs.h. */
48424 _ACEOF
48425 cat confdefs.h >>conftest.$ac_ext
48426 cat >>conftest.$ac_ext <<_ACEOF
48427 /* end confdefs.h. */
48428
48429 #include <time.h>
48430
48431 int
48432 main ()
48433 {
48434
48435 struct tm tm;
48436 tm.tm_gmtoff++;
48437
48438 ;
48439 return 0;
48440 }
48441 _ACEOF
48442 rm -f conftest.$ac_objext
48443 if { (ac_try="$ac_compile"
48444 case "(($ac_try" in
48445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48446 *) ac_try_echo=$ac_try;;
48447 esac
48448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48449 (eval "$ac_compile") 2>conftest.er1
48450 ac_status=$?
48451 grep -v '^ *+' conftest.er1 >conftest.err
48452 rm -f conftest.er1
48453 cat conftest.err >&5
48454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48455 (exit $ac_status); } && {
48456 test -z "$ac_c_werror_flag" ||
48457 test ! -s conftest.err
48458 } && test -s conftest.$ac_objext; then
48459
48460 wx_cv_struct_tm_has_gmtoff=yes
48461
48462 else
48463 echo "$as_me: failed program was:" >&5
48464 sed 's/^/| /' conftest.$ac_ext >&5
48465
48466 wx_cv_struct_tm_has_gmtoff=no
48467
48468 fi
48469
48470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48471
48472 fi
48473 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
48474 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
48475 fi
48476
48477 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
48478 cat >>confdefs.h <<\_ACEOF
48479 #define WX_GMTOFF_IN_TM 1
48480 _ACEOF
48481
48482 fi
48483
48484 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
48485 fi
48486
48487
48488 if test "$wxUSE_SOCKETS" = "yes"; then
48489 if test "$wxUSE_MGL" = 1; then
48490 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
48491 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
48492 wxUSE_SOCKETS="no"
48493 fi
48494 fi
48495
48496 if test "$wxUSE_SOCKETS" = "yes"; then
48497 if test "$TOOLKIT" != "MSW"; then
48498 { echo "$as_me:$LINENO: checking for socket" >&5
48499 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
48500 if test "${ac_cv_func_socket+set}" = set; then
48501 echo $ECHO_N "(cached) $ECHO_C" >&6
48502 else
48503 cat >conftest.$ac_ext <<_ACEOF
48504 /* confdefs.h. */
48505 _ACEOF
48506 cat confdefs.h >>conftest.$ac_ext
48507 cat >>conftest.$ac_ext <<_ACEOF
48508 /* end confdefs.h. */
48509 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
48510 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48511 #define socket innocuous_socket
48512
48513 /* System header to define __stub macros and hopefully few prototypes,
48514 which can conflict with char socket (); below.
48515 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48516 <limits.h> exists even on freestanding compilers. */
48517
48518 #ifdef __STDC__
48519 # include <limits.h>
48520 #else
48521 # include <assert.h>
48522 #endif
48523
48524 #undef socket
48525
48526 /* Override any GCC internal prototype to avoid an error.
48527 Use char because int might match the return type of a GCC
48528 builtin and then its argument prototype would still apply. */
48529 #ifdef __cplusplus
48530 extern "C"
48531 #endif
48532 char socket ();
48533 /* The GNU C library defines this for functions which it implements
48534 to always fail with ENOSYS. Some functions are actually named
48535 something starting with __ and the normal name is an alias. */
48536 #if defined __stub_socket || defined __stub___socket
48537 choke me
48538 #endif
48539
48540 int
48541 main ()
48542 {
48543 return socket ();
48544 ;
48545 return 0;
48546 }
48547 _ACEOF
48548 rm -f conftest.$ac_objext conftest$ac_exeext
48549 if { (ac_try="$ac_link"
48550 case "(($ac_try" in
48551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48552 *) ac_try_echo=$ac_try;;
48553 esac
48554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48555 (eval "$ac_link") 2>conftest.er1
48556 ac_status=$?
48557 grep -v '^ *+' conftest.er1 >conftest.err
48558 rm -f conftest.er1
48559 cat conftest.err >&5
48560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48561 (exit $ac_status); } && {
48562 test -z "$ac_c_werror_flag" ||
48563 test ! -s conftest.err
48564 } && test -s conftest$ac_exeext &&
48565 $as_test_x conftest$ac_exeext; then
48566 ac_cv_func_socket=yes
48567 else
48568 echo "$as_me: failed program was:" >&5
48569 sed 's/^/| /' conftest.$ac_ext >&5
48570
48571 ac_cv_func_socket=no
48572 fi
48573
48574 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
48575 conftest$ac_exeext conftest.$ac_ext
48576 fi
48577 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
48578 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
48579 if test $ac_cv_func_socket = yes; then
48580 :
48581 else
48582
48583 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
48584 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
48585 if test "${ac_cv_lib_socket_socket+set}" = set; then
48586 echo $ECHO_N "(cached) $ECHO_C" >&6
48587 else
48588 ac_check_lib_save_LIBS=$LIBS
48589 LIBS="-lsocket $LIBS"
48590 cat >conftest.$ac_ext <<_ACEOF
48591 /* confdefs.h. */
48592 _ACEOF
48593 cat confdefs.h >>conftest.$ac_ext
48594 cat >>conftest.$ac_ext <<_ACEOF
48595 /* end confdefs.h. */
48596
48597 /* Override any GCC internal prototype to avoid an error.
48598 Use char because int might match the return type of a GCC
48599 builtin and then its argument prototype would still apply. */
48600 #ifdef __cplusplus
48601 extern "C"
48602 #endif
48603 char socket ();
48604 int
48605 main ()
48606 {
48607 return socket ();
48608 ;
48609 return 0;
48610 }
48611 _ACEOF
48612 rm -f conftest.$ac_objext conftest$ac_exeext
48613 if { (ac_try="$ac_link"
48614 case "(($ac_try" in
48615 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48616 *) ac_try_echo=$ac_try;;
48617 esac
48618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48619 (eval "$ac_link") 2>conftest.er1
48620 ac_status=$?
48621 grep -v '^ *+' conftest.er1 >conftest.err
48622 rm -f conftest.er1
48623 cat conftest.err >&5
48624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48625 (exit $ac_status); } && {
48626 test -z "$ac_c_werror_flag" ||
48627 test ! -s conftest.err
48628 } && test -s conftest$ac_exeext &&
48629 $as_test_x conftest$ac_exeext; then
48630 ac_cv_lib_socket_socket=yes
48631 else
48632 echo "$as_me: failed program was:" >&5
48633 sed 's/^/| /' conftest.$ac_ext >&5
48634
48635 ac_cv_lib_socket_socket=no
48636 fi
48637
48638 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
48639 conftest$ac_exeext conftest.$ac_ext
48640 LIBS=$ac_check_lib_save_LIBS
48641 fi
48642 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
48643 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
48644 if test $ac_cv_lib_socket_socket = yes; then
48645 if test "$INET_LINK" != " -lsocket"; then
48646 INET_LINK="$INET_LINK -lsocket"
48647 fi
48648 else
48649
48650 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
48651 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
48652 wxUSE_SOCKETS=no
48653
48654
48655 fi
48656
48657
48658
48659 fi
48660
48661 fi
48662 fi
48663
48664 if test "$wxUSE_SOCKETS" = "yes" ; then
48665 if test "$TOOLKIT" != "MSW"; then
48666 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
48667 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
48668 if test "${wx_cv_type_getsockname3+set}" = set; then
48669 echo $ECHO_N "(cached) $ECHO_C" >&6
48670 else
48671
48672 ac_ext=cpp
48673 ac_cpp='$CXXCPP $CPPFLAGS'
48674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48677
48678 cat >conftest.$ac_ext <<_ACEOF
48679 /* confdefs.h. */
48680 _ACEOF
48681 cat confdefs.h >>conftest.$ac_ext
48682 cat >>conftest.$ac_ext <<_ACEOF
48683 /* end confdefs.h. */
48684
48685 #include <sys/types.h>
48686 #include <sys/socket.h>
48687
48688 int
48689 main ()
48690 {
48691
48692 socklen_t len;
48693 getsockname(0, 0, &len);
48694
48695 ;
48696 return 0;
48697 }
48698 _ACEOF
48699 rm -f conftest.$ac_objext
48700 if { (ac_try="$ac_compile"
48701 case "(($ac_try" in
48702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48703 *) ac_try_echo=$ac_try;;
48704 esac
48705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48706 (eval "$ac_compile") 2>conftest.er1
48707 ac_status=$?
48708 grep -v '^ *+' conftest.er1 >conftest.err
48709 rm -f conftest.er1
48710 cat conftest.err >&5
48711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48712 (exit $ac_status); } && {
48713 test -z "$ac_cxx_werror_flag" ||
48714 test ! -s conftest.err
48715 } && test -s conftest.$ac_objext; then
48716 wx_cv_type_getsockname3=socklen_t
48717 else
48718 echo "$as_me: failed program was:" >&5
48719 sed 's/^/| /' conftest.$ac_ext >&5
48720
48721
48722 CFLAGS_OLD="$CFLAGS"
48723 if test "$GCC" = yes ; then
48724 CFLAGS="-Werror $CFLAGS"
48725 fi
48726
48727 cat >conftest.$ac_ext <<_ACEOF
48728 /* confdefs.h. */
48729 _ACEOF
48730 cat confdefs.h >>conftest.$ac_ext
48731 cat >>conftest.$ac_ext <<_ACEOF
48732 /* end confdefs.h. */
48733
48734 #include <sys/types.h>
48735 #include <sys/socket.h>
48736
48737 int
48738 main ()
48739 {
48740
48741 size_t len;
48742 getsockname(0, 0, &len);
48743
48744 ;
48745 return 0;
48746 }
48747 _ACEOF
48748 rm -f conftest.$ac_objext
48749 if { (ac_try="$ac_compile"
48750 case "(($ac_try" in
48751 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48752 *) ac_try_echo=$ac_try;;
48753 esac
48754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48755 (eval "$ac_compile") 2>conftest.er1
48756 ac_status=$?
48757 grep -v '^ *+' conftest.er1 >conftest.err
48758 rm -f conftest.er1
48759 cat conftest.err >&5
48760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48761 (exit $ac_status); } && {
48762 test -z "$ac_cxx_werror_flag" ||
48763 test ! -s conftest.err
48764 } && test -s conftest.$ac_objext; then
48765 wx_cv_type_getsockname3=size_t
48766 else
48767 echo "$as_me: failed program was:" >&5
48768 sed 's/^/| /' conftest.$ac_ext >&5
48769
48770 cat >conftest.$ac_ext <<_ACEOF
48771 /* confdefs.h. */
48772 _ACEOF
48773 cat confdefs.h >>conftest.$ac_ext
48774 cat >>conftest.$ac_ext <<_ACEOF
48775 /* end confdefs.h. */
48776
48777 #include <sys/types.h>
48778 #include <sys/socket.h>
48779
48780 int
48781 main ()
48782 {
48783
48784 int len;
48785 getsockname(0, 0, &len);
48786
48787 ;
48788 return 0;
48789 }
48790 _ACEOF
48791 rm -f conftest.$ac_objext
48792 if { (ac_try="$ac_compile"
48793 case "(($ac_try" in
48794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48795 *) ac_try_echo=$ac_try;;
48796 esac
48797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48798 (eval "$ac_compile") 2>conftest.er1
48799 ac_status=$?
48800 grep -v '^ *+' conftest.er1 >conftest.err
48801 rm -f conftest.er1
48802 cat conftest.err >&5
48803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48804 (exit $ac_status); } && {
48805 test -z "$ac_cxx_werror_flag" ||
48806 test ! -s conftest.err
48807 } && test -s conftest.$ac_objext; then
48808 wx_cv_type_getsockname3=int
48809 else
48810 echo "$as_me: failed program was:" >&5
48811 sed 's/^/| /' conftest.$ac_ext >&5
48812
48813 wx_cv_type_getsockname3=unknown
48814
48815 fi
48816
48817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48818
48819 fi
48820
48821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48822
48823 CFLAGS="$CFLAGS_OLD"
48824
48825
48826 fi
48827
48828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48829 ac_ext=c
48830 ac_cpp='$CPP $CPPFLAGS'
48831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48834
48835
48836 fi
48837 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
48838 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
48839
48840 if test "$wx_cv_type_getsockname3" = "unknown"; then
48841 wxUSE_SOCKETS=no
48842 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
48843 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
48844 else
48845 cat >>confdefs.h <<_ACEOF
48846 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
48847 _ACEOF
48848
48849 fi
48850 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
48851 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
48852 if test "${wx_cv_type_getsockopt5+set}" = set; then
48853 echo $ECHO_N "(cached) $ECHO_C" >&6
48854 else
48855
48856 ac_ext=cpp
48857 ac_cpp='$CXXCPP $CPPFLAGS'
48858 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48859 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48860 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48861
48862 cat >conftest.$ac_ext <<_ACEOF
48863 /* confdefs.h. */
48864 _ACEOF
48865 cat confdefs.h >>conftest.$ac_ext
48866 cat >>conftest.$ac_ext <<_ACEOF
48867 /* end confdefs.h. */
48868
48869 #include <sys/types.h>
48870 #include <sys/socket.h>
48871
48872 int
48873 main ()
48874 {
48875
48876 socklen_t len;
48877 getsockopt(0, 0, 0, 0, &len);
48878
48879 ;
48880 return 0;
48881 }
48882 _ACEOF
48883 rm -f conftest.$ac_objext
48884 if { (ac_try="$ac_compile"
48885 case "(($ac_try" in
48886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48887 *) ac_try_echo=$ac_try;;
48888 esac
48889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48890 (eval "$ac_compile") 2>conftest.er1
48891 ac_status=$?
48892 grep -v '^ *+' conftest.er1 >conftest.err
48893 rm -f conftest.er1
48894 cat conftest.err >&5
48895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48896 (exit $ac_status); } && {
48897 test -z "$ac_cxx_werror_flag" ||
48898 test ! -s conftest.err
48899 } && test -s conftest.$ac_objext; then
48900 wx_cv_type_getsockopt5=socklen_t
48901 else
48902 echo "$as_me: failed program was:" >&5
48903 sed 's/^/| /' conftest.$ac_ext >&5
48904
48905
48906 cat >conftest.$ac_ext <<_ACEOF
48907 /* confdefs.h. */
48908 _ACEOF
48909 cat confdefs.h >>conftest.$ac_ext
48910 cat >>conftest.$ac_ext <<_ACEOF
48911 /* end confdefs.h. */
48912
48913 #include <sys/types.h>
48914 #include <sys/socket.h>
48915
48916 int
48917 main ()
48918 {
48919
48920 size_t len;
48921 getsockopt(0, 0, 0, 0, &len);
48922
48923 ;
48924 return 0;
48925 }
48926 _ACEOF
48927 rm -f conftest.$ac_objext
48928 if { (ac_try="$ac_compile"
48929 case "(($ac_try" in
48930 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48931 *) ac_try_echo=$ac_try;;
48932 esac
48933 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48934 (eval "$ac_compile") 2>conftest.er1
48935 ac_status=$?
48936 grep -v '^ *+' conftest.er1 >conftest.err
48937 rm -f conftest.er1
48938 cat conftest.err >&5
48939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48940 (exit $ac_status); } && {
48941 test -z "$ac_cxx_werror_flag" ||
48942 test ! -s conftest.err
48943 } && test -s conftest.$ac_objext; then
48944 wx_cv_type_getsockopt5=size_t
48945 else
48946 echo "$as_me: failed program was:" >&5
48947 sed 's/^/| /' conftest.$ac_ext >&5
48948
48949 cat >conftest.$ac_ext <<_ACEOF
48950 /* confdefs.h. */
48951 _ACEOF
48952 cat confdefs.h >>conftest.$ac_ext
48953 cat >>conftest.$ac_ext <<_ACEOF
48954 /* end confdefs.h. */
48955
48956 #include <sys/types.h>
48957 #include <sys/socket.h>
48958
48959 int
48960 main ()
48961 {
48962
48963 int len;
48964 getsockopt(0, 0, 0, 0, &len);
48965
48966 ;
48967 return 0;
48968 }
48969 _ACEOF
48970 rm -f conftest.$ac_objext
48971 if { (ac_try="$ac_compile"
48972 case "(($ac_try" in
48973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48974 *) ac_try_echo=$ac_try;;
48975 esac
48976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48977 (eval "$ac_compile") 2>conftest.er1
48978 ac_status=$?
48979 grep -v '^ *+' conftest.er1 >conftest.err
48980 rm -f conftest.er1
48981 cat conftest.err >&5
48982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48983 (exit $ac_status); } && {
48984 test -z "$ac_cxx_werror_flag" ||
48985 test ! -s conftest.err
48986 } && test -s conftest.$ac_objext; then
48987 wx_cv_type_getsockopt5=int
48988 else
48989 echo "$as_me: failed program was:" >&5
48990 sed 's/^/| /' conftest.$ac_ext >&5
48991
48992 wx_cv_type_getsockopt5=unknown
48993
48994 fi
48995
48996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48997
48998 fi
48999
49000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49001
49002
49003 fi
49004
49005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49006 ac_ext=c
49007 ac_cpp='$CPP $CPPFLAGS'
49008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49011
49012
49013 fi
49014 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
49015 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
49016
49017 if test "$wx_cv_type_getsockopt5" = "unknown"; then
49018 wxUSE_SOCKETS=no
49019 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
49020 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
49021 else
49022 cat >>confdefs.h <<_ACEOF
49023 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
49024 _ACEOF
49025
49026 fi
49027 fi
49028 fi
49029
49030 if test "$wxUSE_SOCKETS" = "yes" ; then
49031 if test "$wxUSE_IPV6" = "yes"; then
49032 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
49033 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
49034 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
49035 echo $ECHO_N "(cached) $ECHO_C" >&6
49036 else
49037
49038 cat >conftest.$ac_ext <<_ACEOF
49039 /* confdefs.h. */
49040 _ACEOF
49041 cat confdefs.h >>conftest.$ac_ext
49042 cat >>conftest.$ac_ext <<_ACEOF
49043 /* end confdefs.h. */
49044
49045 #include <sys/types.h>
49046 #include <sys/socket.h>
49047 #include <netinet/in.h>
49048
49049 int
49050 main ()
49051 {
49052
49053 struct sockaddr_in6 sa6;
49054
49055 ;
49056 return 0;
49057 }
49058 _ACEOF
49059 rm -f conftest.$ac_objext
49060 if { (ac_try="$ac_compile"
49061 case "(($ac_try" in
49062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49063 *) ac_try_echo=$ac_try;;
49064 esac
49065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49066 (eval "$ac_compile") 2>conftest.er1
49067 ac_status=$?
49068 grep -v '^ *+' conftest.er1 >conftest.err
49069 rm -f conftest.er1
49070 cat conftest.err >&5
49071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49072 (exit $ac_status); } && {
49073 test -z "$ac_c_werror_flag" ||
49074 test ! -s conftest.err
49075 } && test -s conftest.$ac_objext; then
49076 wx_cv_type_sockaddr_in6=yes
49077 else
49078 echo "$as_me: failed program was:" >&5
49079 sed 's/^/| /' conftest.$ac_ext >&5
49080
49081 wx_cv_type_sockaddr_in6=no
49082
49083 fi
49084
49085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49086
49087
49088 fi
49089 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
49090 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
49091
49092 if test "$wx_cv_type_sockaddr_in6"="yes"; then
49093 cat >>confdefs.h <<\_ACEOF
49094 #define wxUSE_IPV6 1
49095 _ACEOF
49096
49097 else
49098 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
49099 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
49100 fi
49101 fi
49102
49103 cat >>confdefs.h <<\_ACEOF
49104 #define wxUSE_SOCKETS 1
49105 _ACEOF
49106
49107 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
49108 fi
49109
49110 if test "$wxUSE_PROTOCOL" = "yes"; then
49111 if test "$wxUSE_SOCKETS" != "yes"; then
49112 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
49113 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
49114 wxUSE_PROTOCOL=no
49115 fi
49116 fi
49117
49118 if test "$wxUSE_PROTOCOL" = "yes"; then
49119 cat >>confdefs.h <<\_ACEOF
49120 #define wxUSE_PROTOCOL 1
49121 _ACEOF
49122
49123
49124 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
49125 cat >>confdefs.h <<\_ACEOF
49126 #define wxUSE_PROTOCOL_HTTP 1
49127 _ACEOF
49128
49129 fi
49130 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
49131 cat >>confdefs.h <<\_ACEOF
49132 #define wxUSE_PROTOCOL_FTP 1
49133 _ACEOF
49134
49135 fi
49136 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
49137 cat >>confdefs.h <<\_ACEOF
49138 #define wxUSE_PROTOCOL_FILE 1
49139 _ACEOF
49140
49141 fi
49142 else
49143 if test "$wxUSE_FS_INET" = "yes"; then
49144 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
49145 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
49146 wxUSE_FS_INET="no"
49147 fi
49148 fi
49149
49150 if test "$wxUSE_URL" = "yes"; then
49151 if test "$wxUSE_PROTOCOL" != "yes"; then
49152 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
49153 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
49154 wxUSE_URL=no
49155 fi
49156 if test "$wxUSE_URL" = "yes"; then
49157 cat >>confdefs.h <<\_ACEOF
49158 #define wxUSE_URL 1
49159 _ACEOF
49160
49161 fi
49162 fi
49163
49164 if test "$wxUSE_VARIANT" = "yes"; then
49165 cat >>confdefs.h <<\_ACEOF
49166 #define wxUSE_VARIANT 1
49167 _ACEOF
49168
49169 fi
49170
49171 if test "$wxUSE_FS_INET" = "yes"; then
49172 cat >>confdefs.h <<\_ACEOF
49173 #define wxUSE_FS_INET 1
49174 _ACEOF
49175
49176 fi
49177
49178
49179 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
49180 wxUSE_JOYSTICK=no
49181
49182 if test "$TOOLKIT" = "MSW"; then
49183 wxUSE_JOYSTICK=yes
49184
49185 elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
49186 if test "$USE_DARWIN" = 1; then
49187 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
49188 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
49189 ac_ext=cpp
49190 ac_cpp='$CXXCPP $CPPFLAGS'
49191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49194
49195 cat >conftest.$ac_ext <<_ACEOF
49196 /* confdefs.h. */
49197 _ACEOF
49198 cat confdefs.h >>conftest.$ac_ext
49199 cat >>conftest.$ac_ext <<_ACEOF
49200 /* end confdefs.h. */
49201 #include <IOKit/hid/IOHIDLib.h>
49202 int
49203 main ()
49204 {
49205 IOHIDQueueInterface *qi = NULL;
49206 IOHIDCallbackFunction cb = NULL;
49207 qi->setEventCallout(NULL, cb, NULL, NULL);
49208 ;
49209 return 0;
49210 }
49211 _ACEOF
49212 rm -f conftest.$ac_objext
49213 if { (ac_try="$ac_compile"
49214 case "(($ac_try" in
49215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49216 *) ac_try_echo=$ac_try;;
49217 esac
49218 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49219 (eval "$ac_compile") 2>conftest.er1
49220 ac_status=$?
49221 grep -v '^ *+' conftest.er1 >conftest.err
49222 rm -f conftest.er1
49223 cat conftest.err >&5
49224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49225 (exit $ac_status); } && {
49226 test -z "$ac_cxx_werror_flag" ||
49227 test ! -s conftest.err
49228 } && test -s conftest.$ac_objext; then
49229 wxUSE_JOYSTICK=yes
49230
49231 else
49232 echo "$as_me: failed program was:" >&5
49233 sed 's/^/| /' conftest.$ac_ext >&5
49234
49235
49236 fi
49237
49238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49239 ac_ext=c
49240 ac_cpp='$CPP $CPPFLAGS'
49241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49244
49245 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
49246 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
49247 fi
49248
49249 else
49250 if test "$wxUSE_MGL" != 1; then
49251
49252 for ac_header in linux/joystick.h
49253 do
49254 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
49255 { echo "$as_me:$LINENO: checking for $ac_header" >&5
49256 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
49257 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
49258 echo $ECHO_N "(cached) $ECHO_C" >&6
49259 else
49260 cat >conftest.$ac_ext <<_ACEOF
49261 /* confdefs.h. */
49262 _ACEOF
49263 cat confdefs.h >>conftest.$ac_ext
49264 cat >>conftest.$ac_ext <<_ACEOF
49265 /* end confdefs.h. */
49266 $ac_includes_default
49267
49268 #include <$ac_header>
49269 _ACEOF
49270 rm -f conftest.$ac_objext
49271 if { (ac_try="$ac_compile"
49272 case "(($ac_try" in
49273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49274 *) ac_try_echo=$ac_try;;
49275 esac
49276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49277 (eval "$ac_compile") 2>conftest.er1
49278 ac_status=$?
49279 grep -v '^ *+' conftest.er1 >conftest.err
49280 rm -f conftest.er1
49281 cat conftest.err >&5
49282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49283 (exit $ac_status); } && {
49284 test -z "$ac_c_werror_flag" ||
49285 test ! -s conftest.err
49286 } && test -s conftest.$ac_objext; then
49287 eval "$as_ac_Header=yes"
49288 else
49289 echo "$as_me: failed program was:" >&5
49290 sed 's/^/| /' conftest.$ac_ext >&5
49291
49292 eval "$as_ac_Header=no"
49293 fi
49294
49295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49296 fi
49297 ac_res=`eval echo '${'$as_ac_Header'}'`
49298 { echo "$as_me:$LINENO: result: $ac_res" >&5
49299 echo "${ECHO_T}$ac_res" >&6; }
49300 if test `eval echo '${'$as_ac_Header'}'` = yes; then
49301 cat >>confdefs.h <<_ACEOF
49302 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
49303 _ACEOF
49304 wxUSE_JOYSTICK=yes
49305 fi
49306
49307 done
49308
49309 fi
49310 fi
49311
49312 if test "$wxUSE_JOYSTICK" = "yes"; then
49313 cat >>confdefs.h <<\_ACEOF
49314 #define wxUSE_JOYSTICK 1
49315 _ACEOF
49316
49317 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
49318 else
49319 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
49320 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
49321 fi
49322 fi
49323
49324
49325
49326 if test "$wxUSE_FONTENUM" = "yes" ; then
49327 cat >>confdefs.h <<\_ACEOF
49328 #define wxUSE_FONTENUM 1
49329 _ACEOF
49330
49331 fi
49332
49333 if test "$wxUSE_FONTMAP" = "yes" ; then
49334 cat >>confdefs.h <<\_ACEOF
49335 #define wxUSE_FONTMAP 1
49336 _ACEOF
49337
49338 fi
49339
49340 if test "$wxUSE_UNICODE" = "yes" ; then
49341 cat >>confdefs.h <<\_ACEOF
49342 #define wxUSE_UNICODE 1
49343 _ACEOF
49344
49345
49346 if test "$USE_WIN32" != 1; then
49347 wxUSE_UNICODE_MSLU=no
49348 fi
49349
49350 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
49351 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
49352 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
49353 if test "${ac_cv_lib_unicows_main+set}" = set; then
49354 echo $ECHO_N "(cached) $ECHO_C" >&6
49355 else
49356 ac_check_lib_save_LIBS=$LIBS
49357 LIBS="-lunicows $LIBS"
49358 cat >conftest.$ac_ext <<_ACEOF
49359 /* confdefs.h. */
49360 _ACEOF
49361 cat confdefs.h >>conftest.$ac_ext
49362 cat >>conftest.$ac_ext <<_ACEOF
49363 /* end confdefs.h. */
49364
49365
49366 int
49367 main ()
49368 {
49369 return main ();
49370 ;
49371 return 0;
49372 }
49373 _ACEOF
49374 rm -f conftest.$ac_objext conftest$ac_exeext
49375 if { (ac_try="$ac_link"
49376 case "(($ac_try" in
49377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49378 *) ac_try_echo=$ac_try;;
49379 esac
49380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49381 (eval "$ac_link") 2>conftest.er1
49382 ac_status=$?
49383 grep -v '^ *+' conftest.er1 >conftest.err
49384 rm -f conftest.er1
49385 cat conftest.err >&5
49386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49387 (exit $ac_status); } && {
49388 test -z "$ac_c_werror_flag" ||
49389 test ! -s conftest.err
49390 } && test -s conftest$ac_exeext &&
49391 $as_test_x conftest$ac_exeext; then
49392 ac_cv_lib_unicows_main=yes
49393 else
49394 echo "$as_me: failed program was:" >&5
49395 sed 's/^/| /' conftest.$ac_ext >&5
49396
49397 ac_cv_lib_unicows_main=no
49398 fi
49399
49400 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
49401 conftest$ac_exeext conftest.$ac_ext
49402 LIBS=$ac_check_lib_save_LIBS
49403 fi
49404 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
49405 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
49406 if test $ac_cv_lib_unicows_main = yes; then
49407
49408 cat >>confdefs.h <<\_ACEOF
49409 #define wxUSE_UNICODE_MSLU 1
49410 _ACEOF
49411
49412
49413 else
49414
49415 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
49416 Applications will only run on Windows NT/2000/XP!" >&5
49417 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
49418 Applications will only run on Windows NT/2000/XP!" >&2;}
49419 wxUSE_UNICODE_MSLU=no
49420
49421 fi
49422
49423 fi
49424 fi
49425
49426 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
49427 cat >>confdefs.h <<\_ACEOF
49428 #define wxUSE_UNICODE_UTF8 1
49429 _ACEOF
49430
49431
49432 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
49433 cat >>confdefs.h <<\_ACEOF
49434 #define wxUSE_UTF8_LOCALE_ONLY 1
49435 _ACEOF
49436
49437 fi
49438 fi
49439
49440
49441 if test "$wxUSE_CONSTRAINTS" = "yes"; then
49442 cat >>confdefs.h <<\_ACEOF
49443 #define wxUSE_CONSTRAINTS 1
49444 _ACEOF
49445
49446 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
49447 fi
49448
49449 if test "$wxUSE_MDI" = "yes"; then
49450 cat >>confdefs.h <<\_ACEOF
49451 #define wxUSE_MDI 1
49452 _ACEOF
49453
49454
49455 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
49456 cat >>confdefs.h <<\_ACEOF
49457 #define wxUSE_MDI_ARCHITECTURE 1
49458 _ACEOF
49459
49460 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
49461 fi
49462 fi
49463
49464 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
49465 cat >>confdefs.h <<\_ACEOF
49466 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
49467 _ACEOF
49468
49469 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
49470 fi
49471
49472 if test "$wxUSE_HELP" = "yes"; then
49473 cat >>confdefs.h <<\_ACEOF
49474 #define wxUSE_HELP 1
49475 _ACEOF
49476
49477 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
49478
49479 if test "$wxUSE_MSW" = 1; then
49480 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
49481 cat >>confdefs.h <<\_ACEOF
49482 #define wxUSE_MS_HTML_HELP 1
49483 _ACEOF
49484
49485 fi
49486 fi
49487
49488 if test "$wxUSE_WXHTML_HELP" = "yes"; then
49489 if test "$wxUSE_HTML" = "yes"; then
49490 cat >>confdefs.h <<\_ACEOF
49491 #define wxUSE_WXHTML_HELP 1
49492 _ACEOF
49493
49494 else
49495 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
49496 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
49497 wxUSE_WXHTML_HELP=no
49498 fi
49499 fi
49500 fi
49501
49502 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
49503 cat >>confdefs.h <<\_ACEOF
49504 #define wxUSE_PRINTING_ARCHITECTURE 1
49505 _ACEOF
49506
49507 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
49508 fi
49509
49510 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
49511 cat >>confdefs.h <<\_ACEOF
49512 #define wxUSE_POSTSCRIPT 1
49513 _ACEOF
49514
49515 fi
49516
49517 cat >>confdefs.h <<\_ACEOF
49518 #define wxUSE_AFM_FOR_POSTSCRIPT 1
49519 _ACEOF
49520
49521
49522 if test "$wxUSE_SVG" = "yes"; then
49523 cat >>confdefs.h <<\_ACEOF
49524 #define wxUSE_SVG 1
49525 _ACEOF
49526
49527 fi
49528
49529
49530 if test "$wxUSE_METAFILE" = "yes"; then
49531 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
49532 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
49533 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
49534 wxUSE_METAFILE=no
49535 fi
49536 elif test "$wxUSE_METAFILE" = "auto"; then
49537 if test "$wxUSE_MSW" = 1 -o "$wxUSE_MAC" = 1 -o "$wxUSE_PM" = 1; then
49538 wxUSE_METAFILE=yes
49539 fi
49540 fi
49541
49542 if test "$wxUSE_METAFILE" = "yes"; then
49543 cat >>confdefs.h <<\_ACEOF
49544 #define wxUSE_METAFILE 1
49545 _ACEOF
49546
49547 if test "$wxUSE_MSW" = 1; then
49548 cat >>confdefs.h <<\_ACEOF
49549 #define wxUSE_ENH_METAFILE 1
49550 _ACEOF
49551
49552 fi
49553 fi
49554
49555
49556 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
49557 -o "$wxUSE_CLIPBOARD" = "yes" \
49558 -o "$wxUSE_OLE" = "yes" \
49559 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
49560 { echo "$as_me:$LINENO: checking for ole2.h" >&5
49561 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
49562 if test "${ac_cv_header_ole2_h+set}" = set; then
49563 echo $ECHO_N "(cached) $ECHO_C" >&6
49564 else
49565 cat >conftest.$ac_ext <<_ACEOF
49566 /* confdefs.h. */
49567 _ACEOF
49568 cat confdefs.h >>conftest.$ac_ext
49569 cat >>conftest.$ac_ext <<_ACEOF
49570 /* end confdefs.h. */
49571
49572
49573 #include <ole2.h>
49574 _ACEOF
49575 rm -f conftest.$ac_objext
49576 if { (ac_try="$ac_compile"
49577 case "(($ac_try" in
49578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49579 *) ac_try_echo=$ac_try;;
49580 esac
49581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49582 (eval "$ac_compile") 2>conftest.er1
49583 ac_status=$?
49584 grep -v '^ *+' conftest.er1 >conftest.err
49585 rm -f conftest.er1
49586 cat conftest.err >&5
49587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49588 (exit $ac_status); } && {
49589 test -z "$ac_c_werror_flag" ||
49590 test ! -s conftest.err
49591 } && test -s conftest.$ac_objext; then
49592 ac_cv_header_ole2_h=yes
49593 else
49594 echo "$as_me: failed program was:" >&5
49595 sed 's/^/| /' conftest.$ac_ext >&5
49596
49597 ac_cv_header_ole2_h=no
49598 fi
49599
49600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49601 fi
49602 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
49603 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
49604
49605
49606
49607 if test "$ac_cv_header_ole2_h" = "yes" ; then
49608 if test "$GCC" = yes ; then
49609 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
49610 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
49611 cat >conftest.$ac_ext <<_ACEOF
49612 /* confdefs.h. */
49613 _ACEOF
49614 cat confdefs.h >>conftest.$ac_ext
49615 cat >>conftest.$ac_ext <<_ACEOF
49616 /* end confdefs.h. */
49617 #include <windows.h>
49618 #include <ole2.h>
49619 int
49620 main ()
49621 {
49622
49623 ;
49624 return 0;
49625 }
49626 _ACEOF
49627 rm -f conftest.$ac_objext
49628 if { (ac_try="$ac_compile"
49629 case "(($ac_try" in
49630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49631 *) ac_try_echo=$ac_try;;
49632 esac
49633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49634 (eval "$ac_compile") 2>conftest.er1
49635 ac_status=$?
49636 grep -v '^ *+' conftest.er1 >conftest.err
49637 rm -f conftest.er1
49638 cat conftest.err >&5
49639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49640 (exit $ac_status); } && {
49641 test -z "$ac_c_werror_flag" ||
49642 test ! -s conftest.err
49643 } && test -s conftest.$ac_objext; then
49644 { echo "$as_me:$LINENO: result: no" >&5
49645 echo "${ECHO_T}no" >&6; }
49646 else
49647 echo "$as_me: failed program was:" >&5
49648 sed 's/^/| /' conftest.$ac_ext >&5
49649
49650 { echo "$as_me:$LINENO: result: yes" >&5
49651 echo "${ECHO_T}yes" >&6; }
49652 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
49653 fi
49654
49655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49656 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
49657 if test "$wxUSE_OLE" = "yes" ; then
49658 cat >>confdefs.h <<\_ACEOF
49659 #define wxUSE_OLE 1
49660 _ACEOF
49661
49662 cat >>confdefs.h <<\_ACEOF
49663 #define wxUSE_OLE_AUTOMATION 1
49664 _ACEOF
49665
49666 cat >>confdefs.h <<\_ACEOF
49667 #define wxUSE_ACTIVEX 1
49668 _ACEOF
49669
49670 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
49671 fi
49672 fi
49673
49674 if test "$wxUSE_DATAOBJ" = "yes" ; then
49675 cat >>confdefs.h <<\_ACEOF
49676 #define wxUSE_DATAOBJ 1
49677 _ACEOF
49678
49679 fi
49680 else
49681 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
49682 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
49683
49684 wxUSE_CLIPBOARD=no
49685 wxUSE_DRAG_AND_DROP=no
49686 wxUSE_DATAOBJ=no
49687 wxUSE_OLE=no
49688 fi
49689 fi
49690
49691 if test "$wxUSE_IPC" = "yes"; then
49692 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
49693 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
49694 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
49695 wxUSE_IPC=no
49696 fi
49697
49698 if test "$wxUSE_IPC" = "yes"; then
49699 cat >>confdefs.h <<\_ACEOF
49700 #define wxUSE_IPC 1
49701 _ACEOF
49702
49703 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
49704 fi
49705 fi
49706
49707 if test "$wxUSE_DATAOBJ" = "yes"; then
49708 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
49709 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
49710 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
49711 wxUSE_DATAOBJ=no
49712 else
49713 cat >>confdefs.h <<\_ACEOF
49714 #define wxUSE_DATAOBJ 1
49715 _ACEOF
49716
49717 fi
49718 else
49719 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
49720 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
49721 wxUSE_CLIPBOARD=no
49722 wxUSE_DRAG_AND_DROP=no
49723 fi
49724
49725 if test "$wxUSE_CLIPBOARD" = "yes"; then
49726 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
49727 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
49728 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
49729 wxUSE_CLIPBOARD=no
49730 fi
49731
49732 if test "$wxUSE_CLIPBOARD" = "yes"; then
49733 cat >>confdefs.h <<\_ACEOF
49734 #define wxUSE_CLIPBOARD 1
49735 _ACEOF
49736
49737 fi
49738 fi
49739
49740 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
49741 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
49742 "$wxUSE_DFB" = 1; then
49743 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
49744 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
49745 wxUSE_DRAG_AND_DROP=no
49746 fi
49747
49748 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
49749 cat >>confdefs.h <<\_ACEOF
49750 #define wxUSE_DRAG_AND_DROP 1
49751 _ACEOF
49752
49753 fi
49754
49755 fi
49756
49757 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
49758 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
49759 fi
49760
49761 if test "$wxUSE_CLIPBOARD" = "yes"; then
49762 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS clipboard"
49763 fi
49764
49765 if test "$wxUSE_SPLINES" = "yes" ; then
49766 cat >>confdefs.h <<\_ACEOF
49767 #define wxUSE_SPLINES 1
49768 _ACEOF
49769
49770 fi
49771
49772 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
49773 cat >>confdefs.h <<\_ACEOF
49774 #define wxUSE_MOUSEWHEEL 1
49775 _ACEOF
49776
49777 fi
49778
49779 if test "$wxUSE_UIACTIONSIMULATOR" = "yes" ; then
49780 cat >>confdefs.h <<\_ACEOF
49781 #define wxUSE_UIACTIONSIMULATOR 1
49782 _ACEOF
49783
49784 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS uiaction"
49785 fi
49786
49787 if test "$wxUSE_DC_TRANSFORM_MATRIX" = "yes" ; then
49788 cat >>confdefs.h <<\_ACEOF
49789 #define wxUSE_DC_TRANSFORM_MATRIX 1
49790 _ACEOF
49791
49792 fi
49793
49794
49795 USES_CONTROLS=0
49796 if test "$wxUSE_CONTROLS" = "yes"; then
49797 USES_CONTROLS=1
49798 fi
49799
49800 if test "$wxUSE_MARKUP" = "yes"; then
49801 cat >>confdefs.h <<\_ACEOF
49802 #define wxUSE_MARKUP 1
49803 _ACEOF
49804
49805 fi
49806
49807 if test "$wxUSE_ACCEL" = "yes"; then
49808 cat >>confdefs.h <<\_ACEOF
49809 #define wxUSE_ACCEL 1
49810 _ACEOF
49811
49812 USES_CONTROLS=1
49813 fi
49814
49815 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
49816 cat >>confdefs.h <<\_ACEOF
49817 #define wxUSE_ANIMATIONCTRL 1
49818 _ACEOF
49819
49820 USES_CONTROLS=1
49821 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
49822 fi
49823
49824 if test "$wxUSE_BANNERWINDOW" = "yes"; then
49825 cat >>confdefs.h <<\_ACEOF
49826 #define wxUSE_BANNERWINDOW 1
49827 _ACEOF
49828
49829 fi
49830
49831 if test "$wxUSE_BUTTON" = "yes"; then
49832 cat >>confdefs.h <<\_ACEOF
49833 #define wxUSE_BUTTON 1
49834 _ACEOF
49835
49836 USES_CONTROLS=1
49837 fi
49838
49839 if test "$wxUSE_BMPBUTTON" = "yes"; then
49840 cat >>confdefs.h <<\_ACEOF
49841 #define wxUSE_BMPBUTTON 1
49842 _ACEOF
49843
49844 USES_CONTROLS=1
49845 fi
49846
49847 if test "$wxUSE_CALCTRL" = "yes"; then
49848 cat >>confdefs.h <<\_ACEOF
49849 #define wxUSE_CALENDARCTRL 1
49850 _ACEOF
49851
49852 USES_CONTROLS=1
49853 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
49854 fi
49855
49856 if test "$wxUSE_CARET" = "yes"; then
49857 cat >>confdefs.h <<\_ACEOF
49858 #define wxUSE_CARET 1
49859 _ACEOF
49860
49861 USES_CONTROLS=1
49862 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
49863 fi
49864
49865 if test "$wxUSE_COLLPANE" = "yes"; then
49866 cat >>confdefs.h <<\_ACEOF
49867 #define wxUSE_COLLPANE 1
49868 _ACEOF
49869
49870 USES_CONTROLS=1
49871 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
49872 fi
49873
49874 if test "$wxUSE_COMBOBOX" = "yes"; then
49875 cat >>confdefs.h <<\_ACEOF
49876 #define wxUSE_COMBOBOX 1
49877 _ACEOF
49878
49879 USES_CONTROLS=1
49880 fi
49881
49882 if test "$wxUSE_COMBOCTRL" = "yes"; then
49883 cat >>confdefs.h <<\_ACEOF
49884 #define wxUSE_COMBOCTRL 1
49885 _ACEOF
49886
49887 USES_CONTROLS=1
49888 fi
49889
49890 if test "$wxUSE_COMMANDLINKBUTTON" = "yes"; then
49891 cat >>confdefs.h <<\_ACEOF
49892 #define wxUSE_COMMANDLINKBUTTON 1
49893 _ACEOF
49894
49895 USES_CONTROLS=1
49896 fi
49897
49898 if test "$wxUSE_CHOICE" = "yes"; then
49899 cat >>confdefs.h <<\_ACEOF
49900 #define wxUSE_CHOICE 1
49901 _ACEOF
49902
49903 USES_CONTROLS=1
49904 fi
49905
49906 if test "$wxUSE_CHOICEBOOK" = "yes"; then
49907 cat >>confdefs.h <<\_ACEOF
49908 #define wxUSE_CHOICEBOOK 1
49909 _ACEOF
49910
49911 USES_CONTROLS=1
49912 fi
49913
49914 if test "$wxUSE_CHECKBOX" = "yes"; then
49915 cat >>confdefs.h <<\_ACEOF
49916 #define wxUSE_CHECKBOX 1
49917 _ACEOF
49918
49919 USES_CONTROLS=1
49920 fi
49921
49922 if test "$wxUSE_CHECKLST" = "yes"; then
49923 cat >>confdefs.h <<\_ACEOF
49924 #define wxUSE_CHECKLISTBOX 1
49925 _ACEOF
49926
49927 USES_CONTROLS=1
49928 fi
49929
49930 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
49931 cat >>confdefs.h <<\_ACEOF
49932 #define wxUSE_COLOURPICKERCTRL 1
49933 _ACEOF
49934
49935 USES_CONTROLS=1
49936 fi
49937
49938 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
49939 cat >>confdefs.h <<\_ACEOF
49940 #define wxUSE_DATEPICKCTRL 1
49941 _ACEOF
49942
49943 USES_CONTROLS=1
49944 fi
49945
49946 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
49947 cat >>confdefs.h <<\_ACEOF
49948 #define wxUSE_DIRPICKERCTRL 1
49949 _ACEOF
49950
49951 USES_CONTROLS=1
49952 fi
49953
49954 if test "$wxUSE_FILECTRL" = "yes"; then
49955 cat >>confdefs.h <<\_ACEOF
49956 #define wxUSE_FILECTRL 1
49957 _ACEOF
49958
49959 USES_CONTROLS=1
49960 fi
49961
49962 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
49963 cat >>confdefs.h <<\_ACEOF
49964 #define wxUSE_FILEPICKERCTRL 1
49965 _ACEOF
49966
49967 USES_CONTROLS=1
49968 fi
49969
49970 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
49971 cat >>confdefs.h <<\_ACEOF
49972 #define wxUSE_FONTPICKERCTRL 1
49973 _ACEOF
49974
49975 USES_CONTROLS=1
49976 fi
49977
49978 if test "$wxUSE_DISPLAY" = "yes"; then
49979 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
49980 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
49981 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
49982 wxUSE_DISPLAY=no
49983 else
49984 cat >>confdefs.h <<\_ACEOF
49985 #define wxUSE_DISPLAY 1
49986 _ACEOF
49987
49988 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
49989 fi
49990 fi
49991
49992 if test "$wxUSE_DETECT_SM" = "yes"; then
49993 cat >>confdefs.h <<\_ACEOF
49994 #define wxUSE_DETECT_SM 1
49995 _ACEOF
49996
49997 fi
49998
49999 if test "$wxUSE_GAUGE" = "yes"; then
50000 cat >>confdefs.h <<\_ACEOF
50001 #define wxUSE_GAUGE 1
50002 _ACEOF
50003
50004 USES_CONTROLS=1
50005 fi
50006
50007 if test "$wxUSE_GRID" = "yes"; then
50008 cat >>confdefs.h <<\_ACEOF
50009 #define wxUSE_GRID 1
50010 _ACEOF
50011
50012 USES_CONTROLS=1
50013 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
50014 fi
50015
50016 if test "$wxUSE_HEADERCTRL" = "yes"; then
50017 cat >>confdefs.h <<\_ACEOF
50018 #define wxUSE_HEADERCTRL 1
50019 _ACEOF
50020
50021 USES_CONTROLS=1
50022 fi
50023
50024 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
50025 cat >>confdefs.h <<\_ACEOF
50026 #define wxUSE_HYPERLINKCTRL 1
50027 _ACEOF
50028
50029 USES_CONTROLS=1
50030 fi
50031
50032 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
50033 cat >>confdefs.h <<\_ACEOF
50034 #define wxUSE_BITMAPCOMBOBOX 1
50035 _ACEOF
50036
50037 USES_CONTROLS=1
50038 fi
50039
50040 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
50041 cat >>confdefs.h <<\_ACEOF
50042 #define wxUSE_DATAVIEWCTRL 1
50043 _ACEOF
50044
50045 USES_CONTROLS=1
50046 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
50047 fi
50048
50049 if test "$wxUSE_IMAGLIST" = "yes"; then
50050 cat >>confdefs.h <<\_ACEOF
50051 #define wxUSE_IMAGLIST 1
50052 _ACEOF
50053
50054 fi
50055
50056 if test "$wxUSE_INFOBAR" = "yes"; then
50057 cat >>confdefs.h <<\_ACEOF
50058 #define wxUSE_INFOBAR 1
50059 _ACEOF
50060
50061 fi
50062
50063 if test "$wxUSE_LISTBOOK" = "yes"; then
50064 cat >>confdefs.h <<\_ACEOF
50065 #define wxUSE_LISTBOOK 1
50066 _ACEOF
50067
50068 USES_CONTROLS=1
50069 fi
50070
50071 if test "$wxUSE_LISTBOX" = "yes"; then
50072 cat >>confdefs.h <<\_ACEOF
50073 #define wxUSE_LISTBOX 1
50074 _ACEOF
50075
50076 USES_CONTROLS=1
50077 fi
50078
50079 if test "$wxUSE_LISTCTRL" = "yes"; then
50080 if test "$wxUSE_IMAGLIST" = "yes"; then
50081 cat >>confdefs.h <<\_ACEOF
50082 #define wxUSE_LISTCTRL 1
50083 _ACEOF
50084
50085 USES_CONTROLS=1
50086 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
50087 else
50088 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
50089 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
50090 fi
50091 fi
50092
50093 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
50094 cat >>confdefs.h <<\_ACEOF
50095 #define wxUSE_EDITABLELISTBOX 1
50096 _ACEOF
50097
50098 USES_CONTROLS=1
50099 fi
50100
50101 if test "$wxUSE_NOTEBOOK" = "yes"; then
50102 cat >>confdefs.h <<\_ACEOF
50103 #define wxUSE_NOTEBOOK 1
50104 _ACEOF
50105
50106 USES_CONTROLS=1
50107 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
50108 fi
50109
50110 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
50111 cat >>confdefs.h <<\_ACEOF
50112 #define wxUSE_NOTIFICATION_MESSAGE 1
50113 _ACEOF
50114
50115 fi
50116
50117 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
50118 cat >>confdefs.h <<\_ACEOF
50119 #define wxUSE_ODCOMBOBOX 1
50120 _ACEOF
50121
50122 USES_CONTROLS=1
50123 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
50124 fi
50125
50126 if test "$wxUSE_RADIOBOX" = "yes"; then
50127 cat >>confdefs.h <<\_ACEOF
50128 #define wxUSE_RADIOBOX 1
50129 _ACEOF
50130
50131 USES_CONTROLS=1
50132 fi
50133
50134 if test "$wxUSE_RADIOBTN" = "yes"; then
50135 cat >>confdefs.h <<\_ACEOF
50136 #define wxUSE_RADIOBTN 1
50137 _ACEOF
50138
50139 USES_CONTROLS=1
50140 fi
50141
50142 if test "$wxUSE_REARRANGECTRL" = "yes"; then
50143 cat >>confdefs.h <<\_ACEOF
50144 #define wxUSE_REARRANGECTRL 1
50145 _ACEOF
50146
50147 fi
50148
50149 if test "$wxUSE_RICHMSGDLG" = "yes"; then
50150 cat >>confdefs.h <<\_ACEOF
50151 #define wxUSE_RICHMSGDLG 1
50152 _ACEOF
50153
50154 fi
50155
50156 if test "$wxUSE_RICHTOOLTIP" = "yes"; then
50157 cat >>confdefs.h <<\_ACEOF
50158 #define wxUSE_RICHTOOLTIP 1
50159 _ACEOF
50160
50161 fi
50162
50163 if test "$wxUSE_SASH" = "yes"; then
50164 cat >>confdefs.h <<\_ACEOF
50165 #define wxUSE_SASH 1
50166 _ACEOF
50167
50168 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
50169 fi
50170
50171 if test "$wxUSE_SCROLLBAR" = "yes"; then
50172 cat >>confdefs.h <<\_ACEOF
50173 #define wxUSE_SCROLLBAR 1
50174 _ACEOF
50175
50176 USES_CONTROLS=1
50177 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll"
50178 fi
50179
50180 if test "$wxUSE_SEARCHCTRL" = "yes"; then
50181 cat >>confdefs.h <<\_ACEOF
50182 #define wxUSE_SEARCHCTRL 1
50183 _ACEOF
50184
50185 USES_CONTROLS=1
50186 fi
50187
50188 if test "$wxUSE_SLIDER" = "yes"; then
50189 cat >>confdefs.h <<\_ACEOF
50190 #define wxUSE_SLIDER 1
50191 _ACEOF
50192
50193 USES_CONTROLS=1
50194 fi
50195
50196 if test "$wxUSE_SPINBTN" = "yes"; then
50197 cat >>confdefs.h <<\_ACEOF
50198 #define wxUSE_SPINBTN 1
50199 _ACEOF
50200
50201 USES_CONTROLS=1
50202 fi
50203
50204 if test "$wxUSE_SPINCTRL" = "yes"; then
50205 cat >>confdefs.h <<\_ACEOF
50206 #define wxUSE_SPINCTRL 1
50207 _ACEOF
50208
50209 USES_CONTROLS=1
50210 fi
50211
50212 if test "$wxUSE_SPLITTER" = "yes"; then
50213 cat >>confdefs.h <<\_ACEOF
50214 #define wxUSE_SPLITTER 1
50215 _ACEOF
50216
50217 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
50218 fi
50219
50220 if test "$wxUSE_STATBMP" = "yes"; then
50221 cat >>confdefs.h <<\_ACEOF
50222 #define wxUSE_STATBMP 1
50223 _ACEOF
50224
50225 USES_CONTROLS=1
50226 fi
50227
50228 if test "$wxUSE_STATBOX" = "yes"; then
50229 cat >>confdefs.h <<\_ACEOF
50230 #define wxUSE_STATBOX 1
50231 _ACEOF
50232
50233 USES_CONTROLS=1
50234 fi
50235
50236 if test "$wxUSE_STATTEXT" = "yes"; then
50237 cat >>confdefs.h <<\_ACEOF
50238 #define wxUSE_STATTEXT 1
50239 _ACEOF
50240
50241 USES_CONTROLS=1
50242 fi
50243
50244 if test "$wxUSE_STATLINE" = "yes"; then
50245 cat >>confdefs.h <<\_ACEOF
50246 #define wxUSE_STATLINE 1
50247 _ACEOF
50248
50249 USES_CONTROLS=1
50250 fi
50251
50252 if test "$wxUSE_STATUSBAR" = "yes"; then
50253 cat >>confdefs.h <<\_ACEOF
50254 #define wxUSE_NATIVE_STATUSBAR 1
50255 _ACEOF
50256
50257 cat >>confdefs.h <<\_ACEOF
50258 #define wxUSE_STATUSBAR 1
50259 _ACEOF
50260
50261 USES_CONTROLS=1
50262
50263 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
50264 fi
50265
50266 if test "$wxUSE_TEXTCTRL" = "yes"; then
50267 cat >>confdefs.h <<\_ACEOF
50268 #define wxUSE_TEXTCTRL 1
50269 _ACEOF
50270
50271 USES_CONTROLS=1
50272 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
50273
50274 cat >>confdefs.h <<\_ACEOF
50275 #define wxUSE_RICHEDIT 1
50276 _ACEOF
50277
50278 cat >>confdefs.h <<\_ACEOF
50279 #define wxUSE_RICHEDIT2 1
50280 _ACEOF
50281
50282 fi
50283
50284 if test "$wxUSE_TIMEPICKCTRL" = "yes"; then
50285 cat >>confdefs.h <<\_ACEOF
50286 #define wxUSE_TIMEPICKCTRL 1
50287 _ACEOF
50288
50289 USES_CONTROLS=1
50290 fi
50291
50292 if test "$wxUSE_TOGGLEBTN" = "yes"; then
50293 if test "$wxUSE_OLD_COCOA" = 1 ; then
50294 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
50295 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
50296 wxUSE_TOGGLEBTN=no
50297 fi
50298
50299 if test "$wxUSE_TOGGLEBTN" = "yes"; then
50300 cat >>confdefs.h <<\_ACEOF
50301 #define wxUSE_TOGGLEBTN 1
50302 _ACEOF
50303
50304 USES_CONTROLS=1
50305 fi
50306 fi
50307
50308 if test "$wxUSE_TOOLBAR" = "yes"; then
50309 cat >>confdefs.h <<\_ACEOF
50310 #define wxUSE_TOOLBAR 1
50311 _ACEOF
50312
50313 USES_CONTROLS=1
50314
50315 if test "$wxUSE_UNIVERSAL" = "yes"; then
50316 wxUSE_TOOLBAR_NATIVE="no"
50317 else
50318 wxUSE_TOOLBAR_NATIVE="yes"
50319 cat >>confdefs.h <<\_ACEOF
50320 #define wxUSE_TOOLBAR_NATIVE 1
50321 _ACEOF
50322
50323 fi
50324
50325 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
50326 fi
50327
50328 if test "$wxUSE_TOOLTIPS" = "yes"; then
50329 if test "$wxUSE_MOTIF" = 1; then
50330 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
50331 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
50332 else
50333 if test "$wxUSE_UNIVERSAL" = "yes"; then
50334 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
50335 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
50336 else
50337 cat >>confdefs.h <<\_ACEOF
50338 #define wxUSE_TOOLTIPS 1
50339 _ACEOF
50340
50341 fi
50342 fi
50343 fi
50344
50345 if test "$wxUSE_TREEBOOK" = "yes"; then
50346 cat >>confdefs.h <<\_ACEOF
50347 #define wxUSE_TREEBOOK 1
50348 _ACEOF
50349
50350 USES_CONTROLS=1
50351 fi
50352
50353 if test "$wxUSE_TOOLBOOK" = "yes"; then
50354 cat >>confdefs.h <<\_ACEOF
50355 #define wxUSE_TOOLBOOK 1
50356 _ACEOF
50357
50358 USES_CONTROLS=1
50359 fi
50360
50361 if test "$wxUSE_TREECTRL" = "yes"; then
50362 if test "$wxUSE_IMAGLIST" = "yes"; then
50363 cat >>confdefs.h <<\_ACEOF
50364 #define wxUSE_TREECTRL 1
50365 _ACEOF
50366
50367 USES_CONTROLS=1
50368 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
50369 else
50370 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
50371 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
50372 fi
50373 fi
50374
50375 if test "$wxUSE_TREELISTCTRL" = "yes"; then
50376 cat >>confdefs.h <<\_ACEOF
50377 #define wxUSE_TREELISTCTRL 1
50378 _ACEOF
50379
50380 USES_CONTROLS=1
50381 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treelist"
50382 fi
50383
50384 if test "$wxUSE_POPUPWIN" = "yes"; then
50385 if test "$wxUSE_OLD_COCOA" = 1 ; then
50386 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
50387 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
50388 else
50389 if test "$wxUSE_PM" = 1; then
50390 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
50391 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
50392 else
50393 cat >>confdefs.h <<\_ACEOF
50394 #define wxUSE_POPUPWIN 1
50395 _ACEOF
50396
50397 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
50398
50399 USES_CONTROLS=1
50400 fi
50401 fi
50402 fi
50403
50404 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
50405 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
50406 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
50407 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
50408 else
50409 cat >>confdefs.h <<\_ACEOF
50410 #define wxUSE_DIALUP_MANAGER 1
50411 _ACEOF
50412
50413 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
50414 fi
50415 fi
50416
50417 if test "$wxUSE_TIPWINDOW" = "yes"; then
50418 if test "$wxUSE_PM" = 1; then
50419 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
50420 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
50421 else
50422 cat >>confdefs.h <<\_ACEOF
50423 #define wxUSE_TIPWINDOW 1
50424 _ACEOF
50425
50426 fi
50427 fi
50428
50429 if test "$USES_CONTROLS" = 1; then
50430 cat >>confdefs.h <<\_ACEOF
50431 #define wxUSE_CONTROLS 1
50432 _ACEOF
50433
50434 fi
50435
50436
50437 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
50438 cat >>confdefs.h <<\_ACEOF
50439 #define wxUSE_ACCESSIBILITY 1
50440 _ACEOF
50441
50442 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
50443 fi
50444
50445 if test "$wxUSE_ARTPROVIDER_STD" = "yes"; then
50446 cat >>confdefs.h <<\_ACEOF
50447 #define wxUSE_ARTPROVIDER_STD 1
50448 _ACEOF
50449
50450 fi
50451
50452 if test "$wxUSE_ARTPROVIDER_TANGO" = "auto"; then
50453 if test "$wxUSE_GTK" != 1; then
50454 if test "$wxUSE_LIBPNG" != no -a \
50455 "$wxUSE_IMAGE" = yes -a \
50456 "$wxUSE_STREAMS" = yes; then
50457 wxUSE_ARTPROVIDER_TANGO="yes"
50458 fi
50459 fi
50460 fi
50461
50462 if test "$wxUSE_ARTPROVIDER_TANGO" = "yes"; then
50463 cat >>confdefs.h <<\_ACEOF
50464 #define wxUSE_ARTPROVIDER_TANGO 1
50465 _ACEOF
50466
50467 fi
50468
50469 if test "$wxUSE_DRAGIMAGE" = "yes"; then
50470 cat >>confdefs.h <<\_ACEOF
50471 #define wxUSE_DRAGIMAGE 1
50472 _ACEOF
50473
50474 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
50475 fi
50476
50477 if test "$wxUSE_EXCEPTIONS" = "yes"; then
50478 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
50479 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
50480 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
50481 else
50482 cat >>confdefs.h <<\_ACEOF
50483 #define wxUSE_EXCEPTIONS 1
50484 _ACEOF
50485
50486 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
50487 fi
50488 fi
50489
50490 USE_HTML=0
50491 if test "$wxUSE_HTML" = "yes"; then
50492 cat >>confdefs.h <<\_ACEOF
50493 #define wxUSE_HTML 1
50494 _ACEOF
50495
50496 USE_HTML=1
50497 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
50498 fi
50499 if test "$wxUSE_WEBKIT" = "yes"; then
50500 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
50501 old_CPPFLAGS="$CPPFLAGS"
50502 CPPFLAGS="-x objective-c++ $CPPFLAGS"
50503 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
50504 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
50505 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
50506 echo $ECHO_N "(cached) $ECHO_C" >&6
50507 else
50508 cat >conftest.$ac_ext <<_ACEOF
50509 /* confdefs.h. */
50510 _ACEOF
50511 cat confdefs.h >>conftest.$ac_ext
50512 cat >>conftest.$ac_ext <<_ACEOF
50513 /* end confdefs.h. */
50514
50515 #include <Carbon/Carbon.h>
50516 #include <WebKit/WebKit.h>
50517
50518
50519 #include <WebKit/HIWebView.h>
50520 _ACEOF
50521 rm -f conftest.$ac_objext
50522 if { (ac_try="$ac_compile"
50523 case "(($ac_try" in
50524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
50525 *) ac_try_echo=$ac_try;;
50526 esac
50527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50528 (eval "$ac_compile") 2>conftest.er1
50529 ac_status=$?
50530 grep -v '^ *+' conftest.er1 >conftest.err
50531 rm -f conftest.er1
50532 cat conftest.err >&5
50533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50534 (exit $ac_status); } && {
50535 test -z "$ac_c_werror_flag" ||
50536 test ! -s conftest.err
50537 } && test -s conftest.$ac_objext; then
50538 ac_cv_header_WebKit_HIWebView_h=yes
50539 else
50540 echo "$as_me: failed program was:" >&5
50541 sed 's/^/| /' conftest.$ac_ext >&5
50542
50543 ac_cv_header_WebKit_HIWebView_h=no
50544 fi
50545
50546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50547 fi
50548 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
50549 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
50550 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
50551
50552 cat >>confdefs.h <<\_ACEOF
50553 #define wxUSE_WEBKIT 1
50554 _ACEOF
50555
50556 WEBKIT_LINK="-framework WebKit"
50557
50558 else
50559
50560 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
50561 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
50562 wxUSE_WEBKIT=no
50563
50564 fi
50565
50566
50567 CPPFLAGS="$old_CPPFLAGS"
50568 elif test "$wxUSE_OLD_COCOA" = 1; then
50569 cat >>confdefs.h <<\_ACEOF
50570 #define wxUSE_WEBKIT 1
50571 _ACEOF
50572
50573 else
50574 wxUSE_WEBKIT=no
50575 fi
50576 if test "$wxUSE_WEBKIT" = "yes"; then
50577 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
50578 fi
50579 fi
50580
50581 USE_XRC=0
50582 if test "$wxUSE_XRC" = "yes"; then
50583 if test "$wxUSE_XML" != "yes"; then
50584 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
50585 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
50586 wxUSE_XRC=no
50587 else
50588 cat >>confdefs.h <<\_ACEOF
50589 #define wxUSE_XRC 1
50590 _ACEOF
50591
50592 USE_XRC=1
50593 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
50594 fi
50595 fi
50596
50597 USE_AUI=0
50598 if test "$wxUSE_AUI" = "yes"; then
50599 cat >>confdefs.h <<\_ACEOF
50600 #define wxUSE_AUI 1
50601 _ACEOF
50602
50603 USE_AUI=1
50604 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
50605 fi
50606
50607 USE_PROPGRID=0
50608 if test "$wxUSE_PROPGRID" = "yes"; then
50609 cat >>confdefs.h <<\_ACEOF
50610 #define wxUSE_PROPGRID 1
50611 _ACEOF
50612
50613 USE_PROPGRID=1
50614 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS propgrid"
50615 fi
50616
50617 USE_RIBBON=0
50618 if test "$wxUSE_RIBBON" = "yes"; then
50619 cat >>confdefs.h <<\_ACEOF
50620 #define wxUSE_RIBBON 1
50621 _ACEOF
50622
50623 USE_RIBBON=1
50624 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ribbon"
50625 fi
50626
50627 USE_STC=0
50628 if test "$wxUSE_STC" = "yes"; then
50629 cat >>confdefs.h <<\_ACEOF
50630 #define wxUSE_STC 1
50631 _ACEOF
50632
50633 USE_STC=1
50634 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
50635
50636 # Extract the first word of "python", so it can be a program name with args.
50637 set dummy python; ac_word=$2
50638 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50639 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50640 if test "${ac_cv_path_PYTHON+set}" = set; then
50641 echo $ECHO_N "(cached) $ECHO_C" >&6
50642 else
50643 case $PYTHON in
50644 [\\/]* | ?:[\\/]*)
50645 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
50646 ;;
50647 *)
50648 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50649 for as_dir in $PATH
50650 do
50651 IFS=$as_save_IFS
50652 test -z "$as_dir" && as_dir=.
50653 for ac_exec_ext in '' $ac_executable_extensions; do
50654 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50655 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
50656 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50657 break 2
50658 fi
50659 done
50660 done
50661 IFS=$as_save_IFS
50662
50663 ;;
50664 esac
50665 fi
50666 PYTHON=$ac_cv_path_PYTHON
50667 if test -n "$PYTHON"; then
50668 { echo "$as_me:$LINENO: result: $PYTHON" >&5
50669 echo "${ECHO_T}$PYTHON" >&6; }
50670 else
50671 { echo "$as_me:$LINENO: result: no" >&5
50672 echo "${ECHO_T}no" >&6; }
50673 fi
50674
50675
50676 if test "x$PYTHON" = "x"; then
50677 COND_PYTHON="#"
50678 fi
50679
50680 fi
50681
50682 if test "$wxUSE_MENUS" = "yes"; then
50683 cat >>confdefs.h <<\_ACEOF
50684 #define wxUSE_MENUS 1
50685 _ACEOF
50686
50687 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
50688 fi
50689
50690 if test "$wxUSE_MIMETYPE" = "yes"; then
50691 cat >>confdefs.h <<\_ACEOF
50692 #define wxUSE_MIMETYPE 1
50693 _ACEOF
50694
50695 fi
50696
50697 if test "$wxUSE_MINIFRAME" = "yes"; then
50698 cat >>confdefs.h <<\_ACEOF
50699 #define wxUSE_MINIFRAME 1
50700 _ACEOF
50701
50702 fi
50703
50704 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
50705 cat >>confdefs.h <<\_ACEOF
50706 #define wxUSE_SYSTEM_OPTIONS 1
50707 _ACEOF
50708
50709 fi
50710
50711 if test "$wxUSE_TASKBARICON" = "yes"; then
50712 cat >>confdefs.h <<\_ACEOF
50713 #define wxUSE_TASKBARICON 1
50714 _ACEOF
50715
50716 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
50717 fi
50718
50719
50720 if test "$wxUSE_VALIDATORS" = "yes"; then
50721 cat >>confdefs.h <<\_ACEOF
50722 #define wxUSE_VALIDATORS 1
50723 _ACEOF
50724
50725 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
50726 fi
50727
50728 if test "$wxUSE_PALETTE" = "yes" ; then
50729 if test "$wxUSE_DFB" = 1; then
50730 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
50731 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
50732 wxUSE_PALETTE=no
50733 else
50734 cat >>confdefs.h <<\_ACEOF
50735 #define wxUSE_PALETTE 1
50736 _ACEOF
50737
50738 fi
50739 fi
50740
50741 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
50742 LIBS=" -lunicows $LIBS"
50743 fi
50744
50745 USE_RICHTEXT=0
50746 if test "$wxUSE_RICHTEXT" = "yes"; then
50747 cat >>confdefs.h <<\_ACEOF
50748 #define wxUSE_RICHTEXT 1
50749 _ACEOF
50750
50751 USE_RICHTEXT=1
50752 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
50753 fi
50754
50755 if test "$wxUSE_WEBVIEW" = "yes"; then
50756 USE_WEBVIEW_WEBKIT=0
50757 if test "$wxUSE_WEBVIEW_WEBKIT" = "yes"; then
50758 if test "$wxUSE_GTK" = 1; then
50759 { echo "$as_me:$LINENO: checking for webkitgtk libraries" >&5
50760 echo $ECHO_N "checking for webkitgtk libraries... $ECHO_C" >&6; }
50761
50762 ac_find_libraries=
50763 for ac_dir in $SEARCH_LIB
50764 do
50765 for ac_extension in a so sl dylib dll.a; do
50766 if test -f "$ac_dir/libwebkitgtk-1.0.$ac_extension"; then
50767 ac_find_libraries=$ac_dir
50768 break 2
50769 fi
50770 done
50771 done
50772
50773 if test "$ac_find_libraries" != "" ; then
50774
50775 if test "$ac_find_libraries" = "default location"; then
50776 ac_path_to_link=""
50777 else
50778 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
50779 result=$?
50780 if test $result = 0; then
50781 ac_path_to_link=""
50782 else
50783 ac_path_to_link=" -L$ac_find_libraries"
50784 fi
50785 fi
50786
50787 if test "$ac_path_to_link" != " -L/usr/lib" ; then
50788 LDFLAGS="$LDFLAGS $ac_path_to_link"
50789 fi
50790 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lwebkitgtk-1.0"
50791 { echo "$as_me:$LINENO: result: yes" >&5
50792 echo "${ECHO_T}yes" >&6; }
50793
50794 { echo "$as_me:$LINENO: checking for webkitgtk headers" >&5
50795 echo $ECHO_N "checking for webkitgtk headers... $ECHO_C" >&6; }
50796
50797 ac_find_includes=
50798 for ac_dir in $SEARCH_INCLUDE /usr/include/webkit-1.0 /usr/include
50799 do
50800 if test -f "$ac_dir/webkit/webkit.h"; then
50801 ac_find_includes=$ac_dir
50802 break
50803 fi
50804 done
50805
50806 if test "$ac_find_includes" != "" ; then
50807 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
50808 echo "${ECHO_T}found in $ac_find_includes" >&6; }
50809
50810 if test "x$ac_find_includes" = "x/usr/include"; then
50811 ac_path_to_include=""
50812 else
50813 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
50814 result=$?
50815 if test $result = 0; then
50816 ac_path_to_include=""
50817 else
50818 ac_path_to_include=" -I$ac_find_includes"
50819 fi
50820 fi
50821
50822 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
50823
50824 { echo "$as_me:$LINENO: checking for libsoup headers" >&5
50825 echo $ECHO_N "checking for libsoup headers... $ECHO_C" >&6; }
50826
50827 ac_find_includes=
50828 for ac_dir in $SEARCH_INCLUDE /usr/include/libsoup-2.4 /usr/include
50829 do
50830 if test -f "$ac_dir/libsoup/soup.h"; then
50831 ac_find_includes=$ac_dir
50832 break
50833 fi
50834 done
50835
50836 if test "$ac_find_includes" != "" ; then
50837 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
50838 echo "${ECHO_T}found in $ac_find_includes" >&6; }
50839
50840 if test "x$ac_find_includes" = "x/usr/include"; then
50841 ac_path_to_include=""
50842 else
50843 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
50844 result=$?
50845 if test $result = 0; then
50846 ac_path_to_include=""
50847 else
50848 ac_path_to_include=" -I$ac_find_includes"
50849 fi
50850 fi
50851
50852 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
50853
50854 USE_WEBVIEW_WEBKIT=1
50855 else
50856 { echo "$as_me:$LINENO: result: not found" >&5
50857 echo "${ECHO_T}not found" >&6; }
50858 { echo "$as_me:$LINENO: WARNING: libsoup headers not found; disabling WebKit backend" >&5
50859 echo "$as_me: WARNING: libsoup headers not found; disabling WebKit backend" >&2;}
50860 fi
50861 else
50862 { echo "$as_me:$LINENO: result: not found" >&5
50863 echo "${ECHO_T}not found" >&6; }
50864 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling WebKit backend" >&5
50865 echo "$as_me: WARNING: WebKit headers not found; disabling WebKit backend" >&2;}
50866 fi
50867 else
50868 { echo "$as_me:$LINENO: result: no" >&5
50869 echo "${ECHO_T}no" >&6; }
50870 { echo "$as_me:$LINENO: WARNING: WebKit libraries not found; disabling WebKit backend" >&5
50871 echo "$as_me: WARNING: WebKit libraries not found; disabling WebKit backend" >&2;}
50872 fi
50873 elif test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
50874 old_CPPFLAGS="$CPPFLAGS"
50875 CPPFLAGS="-x objective-c++ $CPPFLAGS"
50876 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
50877 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
50878 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
50879 echo $ECHO_N "(cached) $ECHO_C" >&6
50880 else
50881 cat >conftest.$ac_ext <<_ACEOF
50882 /* confdefs.h. */
50883 _ACEOF
50884 cat confdefs.h >>conftest.$ac_ext
50885 cat >>conftest.$ac_ext <<_ACEOF
50886 /* end confdefs.h. */
50887
50888 #include <Carbon/Carbon.h>
50889 #include <WebKit/WebKit.h>
50890
50891
50892 #include <WebKit/HIWebView.h>
50893 _ACEOF
50894 rm -f conftest.$ac_objext
50895 if { (ac_try="$ac_compile"
50896 case "(($ac_try" in
50897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
50898 *) ac_try_echo=$ac_try;;
50899 esac
50900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50901 (eval "$ac_compile") 2>conftest.er1
50902 ac_status=$?
50903 grep -v '^ *+' conftest.er1 >conftest.err
50904 rm -f conftest.er1
50905 cat conftest.err >&5
50906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50907 (exit $ac_status); } && {
50908 test -z "$ac_c_werror_flag" ||
50909 test ! -s conftest.err
50910 } && test -s conftest.$ac_objext; then
50911 ac_cv_header_WebKit_HIWebView_h=yes
50912 else
50913 echo "$as_me: failed program was:" >&5
50914 sed 's/^/| /' conftest.$ac_ext >&5
50915
50916 ac_cv_header_WebKit_HIWebView_h=no
50917 fi
50918
50919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50920 fi
50921 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
50922 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
50923 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
50924
50925 USE_WEBVIEW_WEBKIT=1
50926 WEBKIT_LINK="-framework WebKit"
50927
50928 else
50929
50930 { echo "$as_me:$LINENO: WARNING: WebKit headers not found" >&5
50931 echo "$as_me: WARNING: WebKit headers not found" >&2;}
50932
50933 fi
50934
50935
50936 CPPFLAGS="$old_CPPFLAGS"
50937 fi
50938 fi
50939
50940 wxUSE_WEBVIEW="no"
50941 if test "$wxUSE_GTK" = 1 -o "$wxUSE_MAC" = 1; then
50942 if test "$USE_WEBVIEW_WEBKIT" = 1; then
50943 wxUSE_WEBVIEW="yes"
50944 cat >>confdefs.h <<\_ACEOF
50945 #define wxUSE_WEBVIEW_WEBKIT 1
50946 _ACEOF
50947
50948 else
50949 { echo "$as_me:$LINENO: WARNING: WebKit not available, disabling wxWebView" >&5
50950 echo "$as_me: WARNING: WebKit not available, disabling wxWebView" >&2;}
50951 fi
50952 elif test "$wxUSE_MSW" = 1; then
50953 if test "$wxUSE_WEBVIEW_IE" = "yes"; then
50954 wxUSE_WEBVIEW="yes"
50955 cat >>confdefs.h <<\_ACEOF
50956 #define wxUSE_WEBVIEW_IE 1
50957 _ACEOF
50958
50959 fi
50960 fi
50961 fi
50962
50963 if test "$wxUSE_WEBVIEW" = "yes"; then
50964 USE_WEBVIEW=1
50965 cat >>confdefs.h <<\_ACEOF
50966 #define wxUSE_WEBVIEW 1
50967 _ACEOF
50968
50969 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS webview"
50970 else
50971 USE_WEBVIEW=0
50972 fi
50973
50974
50975 if test "$wxUSE_IMAGE" = "yes" ; then
50976 cat >>confdefs.h <<\_ACEOF
50977 #define wxUSE_IMAGE 1
50978 _ACEOF
50979
50980
50981 if test "$wxUSE_GIF" = "yes" ; then
50982 cat >>confdefs.h <<\_ACEOF
50983 #define wxUSE_GIF 1
50984 _ACEOF
50985
50986 fi
50987
50988 if test "$wxUSE_PCX" = "yes" ; then
50989 cat >>confdefs.h <<\_ACEOF
50990 #define wxUSE_PCX 1
50991 _ACEOF
50992
50993 fi
50994
50995 if test "$wxUSE_TGA" = "yes" ; then
50996 cat >>confdefs.h <<\_ACEOF
50997 #define wxUSE_TGA 1
50998 _ACEOF
50999
51000 fi
51001
51002 if test "$wxUSE_IFF" = "yes" ; then
51003 cat >>confdefs.h <<\_ACEOF
51004 #define wxUSE_IFF 1
51005 _ACEOF
51006
51007 fi
51008
51009 if test "$wxUSE_PNM" = "yes" ; then
51010 cat >>confdefs.h <<\_ACEOF
51011 #define wxUSE_PNM 1
51012 _ACEOF
51013
51014 fi
51015
51016 if test "$wxUSE_XPM" = "yes" ; then
51017 cat >>confdefs.h <<\_ACEOF
51018 #define wxUSE_XPM 1
51019 _ACEOF
51020
51021 fi
51022
51023 if test "$wxUSE_ICO_CUR" = "yes" ; then
51024 cat >>confdefs.h <<\_ACEOF
51025 #define wxUSE_ICO_CUR 1
51026 _ACEOF
51027
51028 fi
51029 fi
51030
51031
51032 if test "$wxUSE_ABOUTDLG" = "yes"; then
51033 cat >>confdefs.h <<\_ACEOF
51034 #define wxUSE_ABOUTDLG 1
51035 _ACEOF
51036
51037 fi
51038
51039 if test "$wxUSE_CHOICEDLG" = "yes"; then
51040 cat >>confdefs.h <<\_ACEOF
51041 #define wxUSE_CHOICEDLG 1
51042 _ACEOF
51043
51044 fi
51045
51046 if test "$wxUSE_COLOURDLG" = "yes"; then
51047 cat >>confdefs.h <<\_ACEOF
51048 #define wxUSE_COLOURDLG 1
51049 _ACEOF
51050
51051 fi
51052
51053 if test "$wxUSE_FILEDLG" = "yes"; then
51054 cat >>confdefs.h <<\_ACEOF
51055 #define wxUSE_FILEDLG 1
51056 _ACEOF
51057
51058 fi
51059
51060 if test "$wxUSE_FINDREPLDLG" = "yes"; then
51061 cat >>confdefs.h <<\_ACEOF
51062 #define wxUSE_FINDREPLDLG 1
51063 _ACEOF
51064
51065 fi
51066
51067 if test "$wxUSE_FONTDLG" = "yes"; then
51068 cat >>confdefs.h <<\_ACEOF
51069 #define wxUSE_FONTDLG 1
51070 _ACEOF
51071
51072 fi
51073
51074 if test "$wxUSE_DIRDLG" = "yes"; then
51075 if test "$wxUSE_TREECTRL" != "yes"; then
51076 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
51077 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
51078 else
51079 cat >>confdefs.h <<\_ACEOF
51080 #define wxUSE_DIRDLG 1
51081 _ACEOF
51082
51083 fi
51084 fi
51085
51086 if test "$wxUSE_MSGDLG" = "yes"; then
51087 cat >>confdefs.h <<\_ACEOF
51088 #define wxUSE_MSGDLG 1
51089 _ACEOF
51090
51091 fi
51092
51093 if test "$wxUSE_NUMBERDLG" = "yes"; then
51094 cat >>confdefs.h <<\_ACEOF
51095 #define wxUSE_NUMBERDLG 1
51096 _ACEOF
51097
51098 fi
51099
51100 if test "$wxUSE_PROGRESSDLG" = "yes"; then
51101 cat >>confdefs.h <<\_ACEOF
51102 #define wxUSE_PROGRESSDLG 1
51103 _ACEOF
51104
51105 fi
51106
51107 if test "$wxUSE_SPLASH" = "yes"; then
51108 cat >>confdefs.h <<\_ACEOF
51109 #define wxUSE_SPLASH 1
51110 _ACEOF
51111
51112 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
51113 fi
51114
51115 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
51116 cat >>confdefs.h <<\_ACEOF
51117 #define wxUSE_STARTUP_TIPS 1
51118 _ACEOF
51119
51120 fi
51121
51122 if test "$wxUSE_TEXTDLG" = "yes"; then
51123 cat >>confdefs.h <<\_ACEOF
51124 #define wxUSE_TEXTDLG 1
51125 _ACEOF
51126
51127 fi
51128
51129 if test "$wxUSE_WIZARDDLG" = "yes"; then
51130 cat >>confdefs.h <<\_ACEOF
51131 #define wxUSE_WIZARDDLG 1
51132 _ACEOF
51133
51134 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
51135 fi
51136
51137
51138 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
51139 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
51140 cat >>confdefs.h <<\_ACEOF
51141 #define wxUSE_OWNER_DRAWN 1
51142 _ACEOF
51143
51144 fi
51145 fi
51146
51147
51148 if test "$wxUSE_MSW" = 1 ; then
51149
51150 if test "$wxUSE_DC_CACHEING" = "yes"; then
51151 cat >>confdefs.h <<\_ACEOF
51152 #define wxUSE_DC_CACHEING 1
51153 _ACEOF
51154
51155 fi
51156
51157 if test "$wxUSE_DIB" = "yes"; then
51158 cat >>confdefs.h <<\_ACEOF
51159 #define wxUSE_WXDIB 1
51160 _ACEOF
51161
51162 fi
51163
51164 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
51165 cat >>confdefs.h <<\_ACEOF
51166 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
51167 _ACEOF
51168
51169 fi
51170
51171 if test "$wxUSE_UXTHEME" = "yes"; then
51172 cat >>confdefs.h <<\_ACEOF
51173 #define wxUSE_UXTHEME 1
51174 _ACEOF
51175
51176 fi
51177
51178 fi
51179
51180 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
51181 cat >>confdefs.h <<\_ACEOF
51182 #define wxUSE_AUTOID_MANAGEMENT 1
51183 _ACEOF
51184
51185 fi
51186
51187 if test "$USE_WIN32" = 1 ; then
51188 if test "$wxUSE_INICONF" = "yes"; then
51189 cat >>confdefs.h <<\_ACEOF
51190 #define wxUSE_INICONF 1
51191 _ACEOF
51192
51193 fi
51194
51195 if test "$wxUSE_REGKEY" = "yes"; then
51196 cat >>confdefs.h <<\_ACEOF
51197 #define wxUSE_REGKEY 1
51198 _ACEOF
51199
51200 fi
51201 fi
51202
51203
51204 if test "$wxUSE_MAC" = 1; then
51205 wxUSE_GRAPHICS_CONTEXT="yes"
51206 fi
51207
51208 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
51209 wx_has_graphics=0
51210 if test "$wxUSE_MSW" = 1; then
51211 { echo "$as_me:$LINENO: checking if GDI+ is available" >&5
51212 echo $ECHO_N "checking if GDI+ is available... $ECHO_C" >&6; }
51213 if test "${wx_cv_lib_gdiplus+set}" = set; then
51214 echo $ECHO_N "(cached) $ECHO_C" >&6
51215 else
51216
51217 ac_ext=cpp
51218 ac_cpp='$CXXCPP $CPPFLAGS'
51219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51222
51223 cat >conftest.$ac_ext <<_ACEOF
51224 /* confdefs.h. */
51225 _ACEOF
51226 cat confdefs.h >>conftest.$ac_ext
51227 cat >>conftest.$ac_ext <<_ACEOF
51228 /* end confdefs.h. */
51229 #include <windows.h>
51230 #include <gdiplus.h>
51231 int
51232 main ()
51233 {
51234
51235 using namespace Gdiplus;
51236
51237 ;
51238 return 0;
51239 }
51240 _ACEOF
51241 rm -f conftest.$ac_objext
51242 if { (ac_try="$ac_compile"
51243 case "(($ac_try" in
51244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51245 *) ac_try_echo=$ac_try;;
51246 esac
51247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51248 (eval "$ac_compile") 2>conftest.er1
51249 ac_status=$?
51250 grep -v '^ *+' conftest.er1 >conftest.err
51251 rm -f conftest.er1
51252 cat conftest.err >&5
51253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51254 (exit $ac_status); } && {
51255 test -z "$ac_cxx_werror_flag" ||
51256 test ! -s conftest.err
51257 } && test -s conftest.$ac_objext; then
51258 wx_cv_lib_gdiplus=yes
51259 else
51260 echo "$as_me: failed program was:" >&5
51261 sed 's/^/| /' conftest.$ac_ext >&5
51262
51263 wx_cv_lib_gdiplus=no
51264
51265 fi
51266
51267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51268 ac_ext=c
51269 ac_cpp='$CPP $CPPFLAGS'
51270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51273
51274
51275
51276 fi
51277 { echo "$as_me:$LINENO: result: $wx_cv_lib_gdiplus" >&5
51278 echo "${ECHO_T}$wx_cv_lib_gdiplus" >&6; }
51279 if test "$wx_cv_lib_gdiplus" = "yes"; then
51280 wx_has_graphics=1
51281 fi
51282 elif test "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
51283
51284 pkg_failed=no
51285 { echo "$as_me:$LINENO: checking for CAIRO" >&5
51286 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
51287
51288 if test -n "$PKG_CONFIG"; then
51289 if test -n "$CAIRO_CFLAGS"; then
51290 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
51291 else
51292 if test -n "$PKG_CONFIG" && \
51293 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
51294 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
51295 ac_status=$?
51296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51297 (exit $ac_status); }; then
51298 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
51299 else
51300 pkg_failed=yes
51301 fi
51302 fi
51303 else
51304 pkg_failed=untried
51305 fi
51306 if test -n "$PKG_CONFIG"; then
51307 if test -n "$CAIRO_LIBS"; then
51308 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
51309 else
51310 if test -n "$PKG_CONFIG" && \
51311 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
51312 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
51313 ac_status=$?
51314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51315 (exit $ac_status); }; then
51316 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
51317 else
51318 pkg_failed=yes
51319 fi
51320 fi
51321 else
51322 pkg_failed=untried
51323 fi
51324
51325
51326
51327 if test $pkg_failed = yes; then
51328
51329 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
51330 _pkg_short_errors_supported=yes
51331 else
51332 _pkg_short_errors_supported=no
51333 fi
51334 if test $_pkg_short_errors_supported = yes; then
51335 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
51336 else
51337 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
51338 fi
51339 # Put the nasty error message in config.log where it belongs
51340 echo "$CAIRO_PKG_ERRORS" >&5
51341
51342 { echo "$as_me:$LINENO: WARNING: Cairo library not found" >&5
51343 echo "$as_me: WARNING: Cairo library not found" >&2;}
51344
51345 elif test $pkg_failed = untried; then
51346 { echo "$as_me:$LINENO: WARNING: Cairo library not found" >&5
51347 echo "$as_me: WARNING: Cairo library not found" >&2;}
51348
51349 else
51350 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
51351 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
51352 { echo "$as_me:$LINENO: result: yes" >&5
51353 echo "${ECHO_T}yes" >&6; }
51354 wx_has_graphics=1
51355 fi
51356 if test "$wx_has_graphics" = 1; then
51357 save_LIBS="$LIBS"
51358 LIBS="$LIBS $CAIRO_LIBS"
51359
51360 for ac_func in cairo_push_group
51361 do
51362 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51363 { echo "$as_me:$LINENO: checking for $ac_func" >&5
51364 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
51365 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
51366 echo $ECHO_N "(cached) $ECHO_C" >&6
51367 else
51368 cat >conftest.$ac_ext <<_ACEOF
51369 /* confdefs.h. */
51370 _ACEOF
51371 cat confdefs.h >>conftest.$ac_ext
51372 cat >>conftest.$ac_ext <<_ACEOF
51373 /* end confdefs.h. */
51374 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51375 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51376 #define $ac_func innocuous_$ac_func
51377
51378 /* System header to define __stub macros and hopefully few prototypes,
51379 which can conflict with char $ac_func (); below.
51380 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51381 <limits.h> exists even on freestanding compilers. */
51382
51383 #ifdef __STDC__
51384 # include <limits.h>
51385 #else
51386 # include <assert.h>
51387 #endif
51388
51389 #undef $ac_func
51390
51391 /* Override any GCC internal prototype to avoid an error.
51392 Use char because int might match the return type of a GCC
51393 builtin and then its argument prototype would still apply. */
51394 #ifdef __cplusplus
51395 extern "C"
51396 #endif
51397 char $ac_func ();
51398 /* The GNU C library defines this for functions which it implements
51399 to always fail with ENOSYS. Some functions are actually named
51400 something starting with __ and the normal name is an alias. */
51401 #if defined __stub_$ac_func || defined __stub___$ac_func
51402 choke me
51403 #endif
51404
51405 int
51406 main ()
51407 {
51408 return $ac_func ();
51409 ;
51410 return 0;
51411 }
51412 _ACEOF
51413 rm -f conftest.$ac_objext conftest$ac_exeext
51414 if { (ac_try="$ac_link"
51415 case "(($ac_try" in
51416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51417 *) ac_try_echo=$ac_try;;
51418 esac
51419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51420 (eval "$ac_link") 2>conftest.er1
51421 ac_status=$?
51422 grep -v '^ *+' conftest.er1 >conftest.err
51423 rm -f conftest.er1
51424 cat conftest.err >&5
51425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51426 (exit $ac_status); } && {
51427 test -z "$ac_c_werror_flag" ||
51428 test ! -s conftest.err
51429 } && test -s conftest$ac_exeext &&
51430 $as_test_x conftest$ac_exeext; then
51431 eval "$as_ac_var=yes"
51432 else
51433 echo "$as_me: failed program was:" >&5
51434 sed 's/^/| /' conftest.$ac_ext >&5
51435
51436 eval "$as_ac_var=no"
51437 fi
51438
51439 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
51440 conftest$ac_exeext conftest.$ac_ext
51441 fi
51442 ac_res=`eval echo '${'$as_ac_var'}'`
51443 { echo "$as_me:$LINENO: result: $ac_res" >&5
51444 echo "${ECHO_T}$ac_res" >&6; }
51445 if test `eval echo '${'$as_ac_var'}'` = yes; then
51446 cat >>confdefs.h <<_ACEOF
51447 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51448 _ACEOF
51449
51450 fi
51451 done
51452
51453 LIBS="$save_LIBS"
51454 if test "$ac_cv_func_cairo_push_group" = "no"; then
51455 wx_has_graphics=0
51456 { echo "$as_me:$LINENO: WARNING: Cairo library is too old and misses cairo_push_group()" >&5
51457 echo "$as_me: WARNING: Cairo library is too old and misses cairo_push_group()" >&2;}
51458 else
51459 cat >>confdefs.h <<\_ACEOF
51460 #define wxUSE_CAIRO 1
51461 _ACEOF
51462
51463
51464 if test "$wxUSE_GTK" != 1; then
51465 CPPFLAGS="$CAIRO_CFLAGS $CPPFLAGS"
51466 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $CAIRO_LIBS"
51467 fi
51468 fi
51469 fi
51470 else
51471 wx_has_graphics=1
51472 fi
51473
51474 if test "$wx_has_graphics" = 1; then
51475 cat >>confdefs.h <<\_ACEOF
51476 #define wxUSE_GRAPHICS_CONTEXT 1
51477 _ACEOF
51478
51479 else
51480 { echo "$as_me:$LINENO: WARNING: wxGraphicsContext won't be available" >&5
51481 echo "$as_me: WARNING: wxGraphicsContext won't be available" >&2;}
51482 fi
51483 fi
51484
51485
51486 USE_MEDIA=0
51487
51488 if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then
51489 USE_MEDIA=1
51490
51491 if test "$wxUSE_GTK" = 1; then
51492 wxUSE_GSTREAMER="no"
51493
51494 GST_VERSION_MAJOR=0
51495 GST_VERSION_MINOR=10
51496 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
51497
51498 if test "$wxUSE_GSTREAMER8" = "no"; then
51499
51500 pkg_failed=no
51501 { echo "$as_me:$LINENO: checking for GST" >&5
51502 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
51503
51504 if test -n "$PKG_CONFIG"; then
51505 if test -n "$GST_CFLAGS"; then
51506 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
51507 else
51508 if test -n "$PKG_CONFIG" && \
51509 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION\"") >&5
51510 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION") 2>&5
51511 ac_status=$?
51512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51513 (exit $ac_status); }; then
51514 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION" 2>/dev/null`
51515 else
51516 pkg_failed=yes
51517 fi
51518 fi
51519 else
51520 pkg_failed=untried
51521 fi
51522 if test -n "$PKG_CONFIG"; then
51523 if test -n "$GST_LIBS"; then
51524 pkg_cv_GST_LIBS="$GST_LIBS"
51525 else
51526 if test -n "$PKG_CONFIG" && \
51527 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION\"") >&5
51528 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION") 2>&5
51529 ac_status=$?
51530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51531 (exit $ac_status); }; then
51532 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION" 2>/dev/null`
51533 else
51534 pkg_failed=yes
51535 fi
51536 fi
51537 else
51538 pkg_failed=untried
51539 fi
51540
51541
51542
51543 if test $pkg_failed = yes; then
51544
51545 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
51546 _pkg_short_errors_supported=yes
51547 else
51548 _pkg_short_errors_supported=no
51549 fi
51550 if test $_pkg_short_errors_supported = yes; then
51551 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION"`
51552 else
51553 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION"`
51554 fi
51555 # Put the nasty error message in config.log where it belongs
51556 echo "$GST_PKG_ERRORS" >&5
51557
51558
51559 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
51560 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
51561 GST_VERSION_MINOR=8
51562
51563
51564 elif test $pkg_failed = untried; then
51565
51566 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
51567 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
51568 GST_VERSION_MINOR=8
51569
51570
51571 else
51572 GST_CFLAGS=$pkg_cv_GST_CFLAGS
51573 GST_LIBS=$pkg_cv_GST_LIBS
51574 { echo "$as_me:$LINENO: result: yes" >&5
51575 echo "${ECHO_T}yes" >&6; }
51576
51577 wxUSE_GSTREAMER="yes"
51578 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
51579
51580 fi
51581 else
51582 GST_VERSION_MINOR=8
51583 fi
51584
51585 if test $GST_VERSION_MINOR = "8"; then
51586 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
51587
51588 pkg_failed=no
51589 { echo "$as_me:$LINENO: checking for GST" >&5
51590 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
51591
51592 if test -n "$PKG_CONFIG"; then
51593 if test -n "$GST_CFLAGS"; then
51594 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
51595 else
51596 if test -n "$PKG_CONFIG" && \
51597 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
51598 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
51599 ac_status=$?
51600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51601 (exit $ac_status); }; then
51602 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
51603 else
51604 pkg_failed=yes
51605 fi
51606 fi
51607 else
51608 pkg_failed=untried
51609 fi
51610 if test -n "$PKG_CONFIG"; then
51611 if test -n "$GST_LIBS"; then
51612 pkg_cv_GST_LIBS="$GST_LIBS"
51613 else
51614 if test -n "$PKG_CONFIG" && \
51615 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
51616 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
51617 ac_status=$?
51618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51619 (exit $ac_status); }; then
51620 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
51621 else
51622 pkg_failed=yes
51623 fi
51624 fi
51625 else
51626 pkg_failed=untried
51627 fi
51628
51629
51630
51631 if test $pkg_failed = yes; then
51632
51633 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
51634 _pkg_short_errors_supported=yes
51635 else
51636 _pkg_short_errors_supported=no
51637 fi
51638 if test $_pkg_short_errors_supported = yes; then
51639 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
51640 else
51641 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
51642 fi
51643 # Put the nasty error message in config.log where it belongs
51644 echo "$GST_PKG_ERRORS" >&5
51645
51646
51647 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
51648 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
51649
51650 elif test $pkg_failed = untried; then
51651
51652 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
51653 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
51654
51655 else
51656 GST_CFLAGS=$pkg_cv_GST_CFLAGS
51657 GST_LIBS=$pkg_cv_GST_LIBS
51658 { echo "$as_me:$LINENO: result: yes" >&5
51659 echo "${ECHO_T}yes" >&6; }
51660 wxUSE_GSTREAMER="yes"
51661 fi
51662 fi
51663
51664
51665 if test "$wxUSE_GSTREAMER" = "yes"; then
51666 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
51667 EXTRALIBS_MEDIA="$GST_LIBS"
51668
51669 cat >>confdefs.h <<\_ACEOF
51670 #define wxUSE_GSTREAMER 1
51671 _ACEOF
51672
51673 else
51674 USE_MEDIA=0
51675 fi
51676 fi
51677
51678 if test $USE_MEDIA = 1; then
51679 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
51680 cat >>confdefs.h <<\_ACEOF
51681 #define wxUSE_MEDIACTRL 1
51682 _ACEOF
51683
51684 else
51685 if test "$wxUSE_MEDIACTRL" = "yes"; then
51686 { { echo "$as_me:$LINENO: error: GStreamer not available" >&5
51687 echo "$as_me: error: GStreamer not available" >&2;}
51688 { (exit 1); exit 1; }; }
51689 else
51690 { echo "$as_me:$LINENO: WARNING: GStreamer not available... disabling wxMediaCtrl" >&5
51691 echo "$as_me: WARNING: GStreamer not available... disabling wxMediaCtrl" >&2;}
51692 fi
51693 fi
51694 fi
51695
51696
51697 if test "$cross_compiling" != "no"; then
51698 OSINFO="\"$host\""
51699 else
51700 OSINFO=`uname -s -r -m`
51701 OSINFO="\"$OSINFO\""
51702 fi
51703
51704 cat >>confdefs.h <<_ACEOF
51705 #define WXWIN_OS_DESCRIPTION $OSINFO
51706 _ACEOF
51707
51708
51709
51710 if test "x$prefix" != "xNONE"; then
51711 wxPREFIX=$prefix
51712 else
51713 wxPREFIX=$ac_default_prefix
51714 fi
51715
51716 cat >>confdefs.h <<_ACEOF
51717 #define wxINSTALL_PREFIX "$wxPREFIX"
51718 _ACEOF
51719
51720
51721
51722
51723 STD_BASE_LIBS="base"
51724 STD_GUI_LIBS=""
51725 BUILT_WX_LIBS="base"
51726 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
51727
51728 if test "$wxUSE_SOCKETS" = "yes" ; then
51729 STD_BASE_LIBS="net $STD_BASE_LIBS"
51730 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
51731 fi
51732 if test "$wxUSE_XML" = "yes" ; then
51733 STD_BASE_LIBS="xml $STD_BASE_LIBS"
51734 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
51735 fi
51736
51737 if test "$wxUSE_GUI" = "yes"; then
51738 STD_GUI_LIBS="adv core"
51739 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
51740
51741 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
51742 STD_GUI_LIBS="qa $STD_GUI_LIBS"
51743 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
51744 fi
51745 if test "$wxUSE_HTML" = "yes" ; then
51746 STD_GUI_LIBS="html $STD_GUI_LIBS"
51747 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
51748 fi
51749 if test "$wxUSE_MEDIACTRL" = "yes" ; then
51750 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
51751 fi
51752 if test "$wxUSE_OPENGL" = "yes" ; then
51753 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
51754 fi
51755 if test "$wxUSE_AUI" = "yes" ; then
51756 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
51757 fi
51758 if test "$wxUSE_PROPGRID" = "yes" ; then
51759 BUILT_WX_LIBS="propgrid $BUILT_WX_LIBS"
51760 fi
51761 if test "$wxUSE_RIBBON" = "yes" ; then
51762 BUILT_WX_LIBS="ribbon $BUILT_WX_LIBS"
51763 fi
51764 if test "$wxUSE_RICHTEXT" = "yes" ; then
51765 BUILT_WX_LIBS="richtext $BUILT_WX_LIBS"
51766 fi
51767 if test "$wxUSE_STC" = "yes" ; then
51768 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
51769 fi
51770 if test "$wxUSE_WEBVIEW" = "yes" ; then
51771 STD_GUI_LIBS="webview $STD_GUI_LIBS"
51772 BUILT_WX_LIBS="webview $BUILT_WX_LIBS"
51773 fi
51774 if test "$wxUSE_XRC" = "yes" ; then
51775 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
51776 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
51777 fi
51778 fi
51779
51780
51781
51782
51783
51784
51785
51786 EXTRA_FRAMEWORKS=
51787 if test "$wxUSE_MAC" = 1 ; then
51788 if test "$USE_DARWIN" = 1; then
51789 if test "$wxUSE_OSX_IPHONE" = 1; then
51790 EXTRA_FRAMEWORKS="-framework IOKit -framework UIKit -framework CFNetwork -framework AudioToolbox -framework CoreFoundation -framework CoreGraphics -framework OpenGLES -framework Foundation -framework QuartzCore"
51791 else
51792 EXTRA_FRAMEWORKS="-framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL -framework QuickTime"
51793 fi
51794 fi
51795 fi
51796 if test "$wxUSE_OLD_COCOA" = 1 ; then
51797 EXTRA_FRAMEWORKS="-framework IOKit -framework Cocoa"
51798 if test "$wxUSE_MEDIACTRL" = "yes"; then
51799 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework QuickTime"
51800 fi
51801 fi
51802 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1 ; then
51803 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
51804 fi
51805
51806 LDFLAGS="$LDFLAGS $EXTRA_FRAMEWORKS"
51807 WXCONFIG_LDFLAGS="$WXCONFIG_LDFLAGS $EXTRA_FRAMEWORKS"
51808
51809 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
51810
51811 if test "$wxUSE_GUI" = "yes"; then
51812
51813
51814 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
51815 erase event exec font image minimal render \
51816 shaped svg taborder vscroll widgets wrapsizer"
51817
51818 if test "$wxUSE_MONOLITHIC" != "yes"; then
51819 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
51820 fi
51821 if test "$TOOLKIT" = "MSW"; then
51822 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
51823 if test "$wxUSE_UNIVERSAL" != "yes"; then
51824 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg dll"
51825 fi
51826 fi
51827 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
51828 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
51829 fi
51830 else
51831 SAMPLES_SUBDIRS="console"
51832 if test "$wxUSE_SOCKETS" = "yes" ; then
51833 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
51834 fi
51835 if test "$wxUSE_IPC" = "yes" ; then
51836 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
51837 fi
51838 fi
51839
51840
51841 if test "x$INTELCC" = "xyes" ; then
51842 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684,2259"
51843 elif test "$GCC" = yes ; then
51844 CWARNINGS="-Wall -Wundef"
51845 fi
51846
51847 if test "x$INTELCXX" = "xyes" ; then
51848 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419,1881,2259"
51849 elif test "$GXX" = yes ; then
51850 CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
51851 { echo "$as_me:$LINENO: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5
51852 echo $ECHO_N "checking CXXWARNINGS for gcc -Woverloaded-virtual... $ECHO_C" >&6; }
51853 if test "${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+set}" = set; then
51854 echo $ECHO_N "(cached) $ECHO_C" >&6
51855 else
51856 ac_cv_cxxflags_gcc_option__Woverloaded_virtual="no, unknown"
51857
51858 ac_ext=cpp
51859 ac_cpp='$CXXCPP $CPPFLAGS'
51860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51863
51864 ac_save_CXXFLAGS="$CXXFLAGS"
51865 for ac_arg in "-pedantic -Werror % -Woverloaded-virtual" "-pedantic % -Woverloaded-virtual %% no, obsolete" #
51866 do CXXFLAGS="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
51867 cat >conftest.$ac_ext <<_ACEOF
51868 /* confdefs.h. */
51869 _ACEOF
51870 cat confdefs.h >>conftest.$ac_ext
51871 cat >>conftest.$ac_ext <<_ACEOF
51872 /* end confdefs.h. */
51873
51874 int
51875 main ()
51876 {
51877 return 0;
51878 ;
51879 return 0;
51880 }
51881 _ACEOF
51882 rm -f conftest.$ac_objext
51883 if { (ac_try="$ac_compile"
51884 case "(($ac_try" in
51885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51886 *) ac_try_echo=$ac_try;;
51887 esac
51888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51889 (eval "$ac_compile") 2>conftest.er1
51890 ac_status=$?
51891 grep -v '^ *+' conftest.er1 >conftest.err
51892 rm -f conftest.er1
51893 cat conftest.err >&5
51894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51895 (exit $ac_status); } && {
51896 test -z "$ac_cxx_werror_flag" ||
51897 test ! -s conftest.err
51898 } && test -s conftest.$ac_objext; then
51899 ac_cv_cxxflags_gcc_option__Woverloaded_virtual=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
51900 else
51901 echo "$as_me: failed program was:" >&5
51902 sed 's/^/| /' conftest.$ac_ext >&5
51903
51904
51905 fi
51906
51907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51908 done
51909 CXXFLAGS="$ac_save_CXXFLAGS"
51910 ac_ext=c
51911 ac_cpp='$CPP $CPPFLAGS'
51912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51915
51916
51917 fi
51918 { echo "$as_me:$LINENO: result: $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&5
51919 echo "${ECHO_T}$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&6; }
51920 case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in
51921 .ok|.ok,*) ;;
51922 .|.no|.no,*) ;;
51923 *)
51924 if echo " $CXXWARNINGS " | grep " $ac_cv_cxxflags_gcc_option__Woverloaded_virtual " 2>&1 >/dev/null
51925 then { (echo "$as_me:$LINENO: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual") >&5
51926 (: CXXWARNINGS does contain $ac_cv_cxxflags_gcc_option__Woverloaded_virtual) 2>&5
51927 ac_status=$?
51928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51929 (exit $ac_status); }
51930 else { (echo "$as_me:$LINENO: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\"") >&5
51931 (: CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual") 2>&5
51932 ac_status=$?
51933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51934 (exit $ac_status); }
51935 CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual"
51936 fi
51937 ;;
51938 esac
51939
51940
51941 if test "$wxUSE_MAC" = 1 ; then
51942 CXXWARNINGS="$CXXWARNINGS -Wno-deprecated-declarations"
51943 fi
51944 fi
51945
51946
51947 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
51948 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
51949
51950
51951 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
51952 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
51953 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
51954 $CPPFLAGS `
51955
51956 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
51957 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
51958 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
51959 OBJCFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
51960 OBJCXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
51961
51962 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
51963
51964
51965 if test "x$MWCC" = "xyes"; then
51966
51967 CC="$CC -cwd source -I-"
51968 CXX="$CXX -cwd source -I-"
51969 fi
51970
51971
51972 LIBS=`echo $LIBS`
51973 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
51974 EXTRALIBS_XML="$EXPAT_LINK"
51975 EXTRALIBS_HTML="$MSPACK_LINK"
51976 EXTRALIBS_MEDIA="$GST_LIBS"
51977 EXTRALIBS_STC="-lwxscintilla${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
51978 if test "$wxUSE_GUI" = "yes"; then
51979 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
51980 fi
51981 if test "$wxUSE_OPENGL" = "yes"; then
51982 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
51983 fi
51984
51985 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
51986
51987 WXCONFIG_LIBS="$LIBS"
51988
51989 if test "$wxUSE_REGEX" = "builtin" ; then
51990 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
51991 fi
51992 if test "$wxUSE_EXPAT" = "builtin" ; then
51993 wxconfig_3rdparty="expat $wxconfig_3rdparty"
51994 fi
51995 if test "$wxUSE_LIBTIFF" = "builtin" ; then
51996 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
51997 fi
51998 if test "$wxUSE_LIBJPEG" = "builtin" ; then
51999 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
52000 fi
52001 if test "$wxUSE_LIBPNG" = "builtin" ; then
52002 wxconfig_3rdparty="png $wxconfig_3rdparty"
52003 fi
52004 if test "$wxUSE_ZLIB" = "builtin" ; then
52005 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
52006 fi
52007
52008 for i in $wxconfig_3rdparty ; do
52009 WXCONFIG_LIBS="-lwx${i}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
52010 done
52011
52012
52013 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
52014 WXUNIV=1
52015
52016 case "$wxUNIV_THEMES" in
52017 ''|all)
52018 cat >>confdefs.h <<\_ACEOF
52019 #define wxUSE_ALL_THEMES 1
52020 _ACEOF
52021
52022 ;;
52023
52024 *)
52025 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
52026 cat >>confdefs.h <<_ACEOF
52027 #define wxUSE_THEME_$t 1
52028 _ACEOF
52029
52030 done
52031 esac
52032 else
52033 WXUNIV=0
52034 fi
52035
52036
52037
52038
52039
52040
52041
52042
52043 if test $wxUSE_MONOLITHIC = "yes" ; then
52044 MONOLITHIC=1
52045 else
52046 MONOLITHIC=0
52047 fi
52048
52049 if test $wxUSE_PLUGINS = "yes" ; then
52050 USE_PLUGINS=1
52051 else
52052 USE_PLUGINS=0
52053 fi
52054
52055 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
52056 USE_QA=1
52057 else
52058 USE_QA=0
52059 fi
52060
52061 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
52062 OFFICIAL_BUILD=1
52063 else
52064 OFFICIAL_BUILD=0
52065 fi
52066
52067
52068
52069
52070
52071
52072
52073
52074
52075
52076
52077
52078
52079
52080
52081
52082
52083
52084
52085
52086
52087
52088
52089
52090
52091
52092
52093 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
52094
52095
52096
52097
52098
52099
52100
52101
52102
52103
52104 case "$TOOLKIT" in
52105 GTK)
52106 TOOLKIT_DESC="GTK+"
52107 if test "$WXGTK2" = 1; then
52108 TOOLKIT_DESC="$TOOLKIT_DESC 2"
52109 if test "$wxUSE_GTKPRINT" = "yes" ; then
52110 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
52111 fi
52112 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
52113 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
52114 fi
52115 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
52116 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
52117 fi
52118 if test "$wxUSE_LIBHILDON" = "yes"; then
52119 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
52120 fi
52121 if test "$wxUSE_LIBHILDON2" = "yes"; then
52122 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
52123 fi
52124
52125 if test "$TOOLKIT_EXTRA" != ""; then
52126 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
52127 fi
52128 fi
52129 ;;
52130
52131 ?*)
52132 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
52133 ;;
52134
52135 *)
52136 TOOLKIT_DESC="base only"
52137 ;;
52138 esac
52139
52140 if test "$wxUSE_WINE" = "yes"; then
52141 BAKEFILE_FORCE_PLATFORM=win32
52142 fi
52143
52144 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
52145 then
52146 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
52147 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
52148 if test "${wx_cv_gcc_pch_bug+set}" = set; then
52149 echo $ECHO_N "(cached) $ECHO_C" >&6
52150 else
52151
52152 echo '#include <stdio.h>
52153 const wchar_t test_var[] = L"awidetest";' > conftest.h
52154
52155 echo '#include "conftest.h"
52156 int main()
52157 {
52158 printf("%ls", test_var);
52159 return 0;
52160 }' > conftest.cpp
52161
52162 wx_cv_gcc_pch_bug="pch not supported"
52163
52164 if $CXX conftest.h >/dev/null 2>&1
52165 then
52166 wx_cv_gcc_pch_bug=
52167
52168 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
52169 then
52170 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
52171 grep awidetest >/dev/null
52172 then
52173 wx_cv_gcc_pch_bug=no
52174 else
52175 wx_cv_gcc_pch_bug=yes
52176 fi
52177 fi
52178 fi
52179
52180 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
52181
52182 fi
52183 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
52184 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
52185
52186 if test "$wx_cv_gcc_pch_bug" = yes; then
52187 bk_use_pch=no
52188 fi
52189 fi
52190
52191
52192
52193
52194
52195
52196
52197 if test "x$BAKEFILE_HOST" = "x"; then
52198 if test "x${host}" = "x" ; then
52199 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
52200 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
52201 { (exit 1); exit 1; }; }
52202 fi
52203
52204 BAKEFILE_HOST="${host}"
52205 fi
52206
52207 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
52208
52209 if test -n "$ac_tool_prefix"; then
52210 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
52211 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
52212 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52213 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52214 if test "${ac_cv_prog_RANLIB+set}" = set; then
52215 echo $ECHO_N "(cached) $ECHO_C" >&6
52216 else
52217 if test -n "$RANLIB"; then
52218 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
52219 else
52220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52221 for as_dir in $PATH
52222 do
52223 IFS=$as_save_IFS
52224 test -z "$as_dir" && as_dir=.
52225 for ac_exec_ext in '' $ac_executable_extensions; do
52226 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52227 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
52228 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52229 break 2
52230 fi
52231 done
52232 done
52233 IFS=$as_save_IFS
52234
52235 fi
52236 fi
52237 RANLIB=$ac_cv_prog_RANLIB
52238 if test -n "$RANLIB"; then
52239 { echo "$as_me:$LINENO: result: $RANLIB" >&5
52240 echo "${ECHO_T}$RANLIB" >&6; }
52241 else
52242 { echo "$as_me:$LINENO: result: no" >&5
52243 echo "${ECHO_T}no" >&6; }
52244 fi
52245
52246
52247 fi
52248 if test -z "$ac_cv_prog_RANLIB"; then
52249 ac_ct_RANLIB=$RANLIB
52250 # Extract the first word of "ranlib", so it can be a program name with args.
52251 set dummy ranlib; ac_word=$2
52252 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52253 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52254 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
52255 echo $ECHO_N "(cached) $ECHO_C" >&6
52256 else
52257 if test -n "$ac_ct_RANLIB"; then
52258 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
52259 else
52260 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52261 for as_dir in $PATH
52262 do
52263 IFS=$as_save_IFS
52264 test -z "$as_dir" && as_dir=.
52265 for ac_exec_ext in '' $ac_executable_extensions; do
52266 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52267 ac_cv_prog_ac_ct_RANLIB="ranlib"
52268 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52269 break 2
52270 fi
52271 done
52272 done
52273 IFS=$as_save_IFS
52274
52275 fi
52276 fi
52277 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
52278 if test -n "$ac_ct_RANLIB"; then
52279 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
52280 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
52281 else
52282 { echo "$as_me:$LINENO: result: no" >&5
52283 echo "${ECHO_T}no" >&6; }
52284 fi
52285
52286 if test "x$ac_ct_RANLIB" = x; then
52287 RANLIB=":"
52288 else
52289 case $cross_compiling:$ac_tool_warned in
52290 yes:)
52291 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
52292 whose name does not start with the host triplet. If you think this
52293 configuration is useful to you, please write to autoconf@gnu.org." >&5
52294 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
52295 whose name does not start with the host triplet. If you think this
52296 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
52297 ac_tool_warned=yes ;;
52298 esac
52299 RANLIB=$ac_ct_RANLIB
52300 fi
52301 else
52302 RANLIB="$ac_cv_prog_RANLIB"
52303 fi
52304
52305 # Find a good install program. We prefer a C program (faster),
52306 # so one script is as good as another. But avoid the broken or
52307 # incompatible versions:
52308 # SysV /etc/install, /usr/sbin/install
52309 # SunOS /usr/etc/install
52310 # IRIX /sbin/install
52311 # AIX /bin/install
52312 # AmigaOS /C/install, which installs bootblocks on floppy discs
52313 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
52314 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
52315 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
52316 # OS/2's system install, which has a completely different semantic
52317 # ./install, which can be erroneously created by make from ./install.sh.
52318 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
52319 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
52320 if test -z "$INSTALL"; then
52321 if test "${ac_cv_path_install+set}" = set; then
52322 echo $ECHO_N "(cached) $ECHO_C" >&6
52323 else
52324 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52325 for as_dir in $PATH
52326 do
52327 IFS=$as_save_IFS
52328 test -z "$as_dir" && as_dir=.
52329 # Account for people who put trailing slashes in PATH elements.
52330 case $as_dir/ in
52331 ./ | .// | /cC/* | \
52332 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
52333 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
52334 /usr/ucb/* ) ;;
52335 *)
52336 # OSF1 and SCO ODT 3.0 have their own names for install.
52337 # Don't use installbsd from OSF since it installs stuff as root
52338 # by default.
52339 for ac_prog in ginstall scoinst install; do
52340 for ac_exec_ext in '' $ac_executable_extensions; do
52341 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
52342 if test $ac_prog = install &&
52343 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
52344 # AIX install. It has an incompatible calling convention.
52345 :
52346 elif test $ac_prog = install &&
52347 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
52348 # program-specific install script used by HP pwplus--don't use.
52349 :
52350 else
52351 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
52352 break 3
52353 fi
52354 fi
52355 done
52356 done
52357 ;;
52358 esac
52359 done
52360 IFS=$as_save_IFS
52361
52362
52363 fi
52364 if test "${ac_cv_path_install+set}" = set; then
52365 INSTALL=$ac_cv_path_install
52366 else
52367 # As a last resort, use the slow shell script. Don't cache a
52368 # value for INSTALL within a source directory, because that will
52369 # break other packages using the cache if that directory is
52370 # removed, or if the value is a relative name.
52371 INSTALL=$ac_install_sh
52372 fi
52373 fi
52374 { echo "$as_me:$LINENO: result: $INSTALL" >&5
52375 echo "${ECHO_T}$INSTALL" >&6; }
52376
52377 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
52378 # It thinks the first close brace ends the variable substitution.
52379 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
52380
52381 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
52382
52383 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
52384
52385 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
52386 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
52387 LN_S=$as_ln_s
52388 if test "$LN_S" = "ln -s"; then
52389 { echo "$as_me:$LINENO: result: yes" >&5
52390 echo "${ECHO_T}yes" >&6; }
52391 else
52392 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
52393 echo "${ECHO_T}no, using $LN_S" >&6; }
52394 fi
52395
52396
52397 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
52398 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
52399 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
52400 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
52401 echo $ECHO_N "(cached) $ECHO_C" >&6
52402 else
52403 cat >conftest.make <<\_ACEOF
52404 SHELL = /bin/sh
52405 all:
52406 @echo '@@@%%%=$(MAKE)=@@@%%%'
52407 _ACEOF
52408 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
52409 case `${MAKE-make} -f conftest.make 2>/dev/null` in
52410 *@@@%%%=?*=@@@%%%*)
52411 eval ac_cv_prog_make_${ac_make}_set=yes;;
52412 *)
52413 eval ac_cv_prog_make_${ac_make}_set=no;;
52414 esac
52415 rm -f conftest.make
52416 fi
52417 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
52418 { echo "$as_me:$LINENO: result: yes" >&5
52419 echo "${ECHO_T}yes" >&6; }
52420 SET_MAKE=
52421 else
52422 { echo "$as_me:$LINENO: result: no" >&5
52423 echo "${ECHO_T}no" >&6; }
52424 SET_MAKE="MAKE=${MAKE-make}"
52425 fi
52426
52427
52428
52429 if test "x$SUNCXX" = "xyes"; then
52430 AR=$CXX
52431 AROPTIONS="-xar -o"
52432
52433 elif test "x$SGICC" = "xyes"; then
52434 AR=$CXX
52435 AROPTIONS="-ar -o"
52436
52437 else
52438 if test -n "$ac_tool_prefix"; then
52439 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
52440 set dummy ${ac_tool_prefix}ar; ac_word=$2
52441 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52442 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52443 if test "${ac_cv_prog_AR+set}" = set; then
52444 echo $ECHO_N "(cached) $ECHO_C" >&6
52445 else
52446 if test -n "$AR"; then
52447 ac_cv_prog_AR="$AR" # Let the user override the test.
52448 else
52449 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52450 for as_dir in $PATH
52451 do
52452 IFS=$as_save_IFS
52453 test -z "$as_dir" && as_dir=.
52454 for ac_exec_ext in '' $ac_executable_extensions; do
52455 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52456 ac_cv_prog_AR="${ac_tool_prefix}ar"
52457 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52458 break 2
52459 fi
52460 done
52461 done
52462 IFS=$as_save_IFS
52463
52464 fi
52465 fi
52466 AR=$ac_cv_prog_AR
52467 if test -n "$AR"; then
52468 { echo "$as_me:$LINENO: result: $AR" >&5
52469 echo "${ECHO_T}$AR" >&6; }
52470 else
52471 { echo "$as_me:$LINENO: result: no" >&5
52472 echo "${ECHO_T}no" >&6; }
52473 fi
52474
52475
52476 fi
52477 if test -z "$ac_cv_prog_AR"; then
52478 ac_ct_AR=$AR
52479 # Extract the first word of "ar", so it can be a program name with args.
52480 set dummy ar; ac_word=$2
52481 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52482 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52483 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
52484 echo $ECHO_N "(cached) $ECHO_C" >&6
52485 else
52486 if test -n "$ac_ct_AR"; then
52487 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
52488 else
52489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52490 for as_dir in $PATH
52491 do
52492 IFS=$as_save_IFS
52493 test -z "$as_dir" && as_dir=.
52494 for ac_exec_ext in '' $ac_executable_extensions; do
52495 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52496 ac_cv_prog_ac_ct_AR="ar"
52497 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52498 break 2
52499 fi
52500 done
52501 done
52502 IFS=$as_save_IFS
52503
52504 fi
52505 fi
52506 ac_ct_AR=$ac_cv_prog_ac_ct_AR
52507 if test -n "$ac_ct_AR"; then
52508 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
52509 echo "${ECHO_T}$ac_ct_AR" >&6; }
52510 else
52511 { echo "$as_me:$LINENO: result: no" >&5
52512 echo "${ECHO_T}no" >&6; }
52513 fi
52514
52515 if test "x$ac_ct_AR" = x; then
52516 AR="ar"
52517 else
52518 case $cross_compiling:$ac_tool_warned in
52519 yes:)
52520 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
52521 whose name does not start with the host triplet. If you think this
52522 configuration is useful to you, please write to autoconf@gnu.org." >&5
52523 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
52524 whose name does not start with the host triplet. If you think this
52525 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
52526 ac_tool_warned=yes ;;
52527 esac
52528 AR=$ac_ct_AR
52529 fi
52530 else
52531 AR="$ac_cv_prog_AR"
52532 fi
52533
52534 AROPTIONS=rcu
52535 fi
52536
52537
52538 if test -n "$ac_tool_prefix"; then
52539 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
52540 set dummy ${ac_tool_prefix}strip; ac_word=$2
52541 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52542 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52543 if test "${ac_cv_prog_STRIP+set}" = set; then
52544 echo $ECHO_N "(cached) $ECHO_C" >&6
52545 else
52546 if test -n "$STRIP"; then
52547 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
52548 else
52549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52550 for as_dir in $PATH
52551 do
52552 IFS=$as_save_IFS
52553 test -z "$as_dir" && as_dir=.
52554 for ac_exec_ext in '' $ac_executable_extensions; do
52555 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52556 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
52557 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52558 break 2
52559 fi
52560 done
52561 done
52562 IFS=$as_save_IFS
52563
52564 fi
52565 fi
52566 STRIP=$ac_cv_prog_STRIP
52567 if test -n "$STRIP"; then
52568 { echo "$as_me:$LINENO: result: $STRIP" >&5
52569 echo "${ECHO_T}$STRIP" >&6; }
52570 else
52571 { echo "$as_me:$LINENO: result: no" >&5
52572 echo "${ECHO_T}no" >&6; }
52573 fi
52574
52575
52576 fi
52577 if test -z "$ac_cv_prog_STRIP"; then
52578 ac_ct_STRIP=$STRIP
52579 # Extract the first word of "strip", so it can be a program name with args.
52580 set dummy strip; ac_word=$2
52581 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52582 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52583 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
52584 echo $ECHO_N "(cached) $ECHO_C" >&6
52585 else
52586 if test -n "$ac_ct_STRIP"; then
52587 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
52588 else
52589 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52590 for as_dir in $PATH
52591 do
52592 IFS=$as_save_IFS
52593 test -z "$as_dir" && as_dir=.
52594 for ac_exec_ext in '' $ac_executable_extensions; do
52595 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52596 ac_cv_prog_ac_ct_STRIP="strip"
52597 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52598 break 2
52599 fi
52600 done
52601 done
52602 IFS=$as_save_IFS
52603
52604 fi
52605 fi
52606 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
52607 if test -n "$ac_ct_STRIP"; then
52608 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
52609 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
52610 else
52611 { echo "$as_me:$LINENO: result: no" >&5
52612 echo "${ECHO_T}no" >&6; }
52613 fi
52614
52615 if test "x$ac_ct_STRIP" = x; then
52616 STRIP=":"
52617 else
52618 case $cross_compiling:$ac_tool_warned in
52619 yes:)
52620 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
52621 whose name does not start with the host triplet. If you think this
52622 configuration is useful to you, please write to autoconf@gnu.org." >&5
52623 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
52624 whose name does not start with the host triplet. If you think this
52625 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
52626 ac_tool_warned=yes ;;
52627 esac
52628 STRIP=$ac_ct_STRIP
52629 fi
52630 else
52631 STRIP="$ac_cv_prog_STRIP"
52632 fi
52633
52634 if test -n "$ac_tool_prefix"; then
52635 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
52636 set dummy ${ac_tool_prefix}nm; ac_word=$2
52637 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52638 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52639 if test "${ac_cv_prog_NM+set}" = set; then
52640 echo $ECHO_N "(cached) $ECHO_C" >&6
52641 else
52642 if test -n "$NM"; then
52643 ac_cv_prog_NM="$NM" # Let the user override the test.
52644 else
52645 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52646 for as_dir in $PATH
52647 do
52648 IFS=$as_save_IFS
52649 test -z "$as_dir" && as_dir=.
52650 for ac_exec_ext in '' $ac_executable_extensions; do
52651 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52652 ac_cv_prog_NM="${ac_tool_prefix}nm"
52653 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52654 break 2
52655 fi
52656 done
52657 done
52658 IFS=$as_save_IFS
52659
52660 fi
52661 fi
52662 NM=$ac_cv_prog_NM
52663 if test -n "$NM"; then
52664 { echo "$as_me:$LINENO: result: $NM" >&5
52665 echo "${ECHO_T}$NM" >&6; }
52666 else
52667 { echo "$as_me:$LINENO: result: no" >&5
52668 echo "${ECHO_T}no" >&6; }
52669 fi
52670
52671
52672 fi
52673 if test -z "$ac_cv_prog_NM"; then
52674 ac_ct_NM=$NM
52675 # Extract the first word of "nm", so it can be a program name with args.
52676 set dummy nm; ac_word=$2
52677 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52678 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52679 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
52680 echo $ECHO_N "(cached) $ECHO_C" >&6
52681 else
52682 if test -n "$ac_ct_NM"; then
52683 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
52684 else
52685 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52686 for as_dir in $PATH
52687 do
52688 IFS=$as_save_IFS
52689 test -z "$as_dir" && as_dir=.
52690 for ac_exec_ext in '' $ac_executable_extensions; do
52691 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52692 ac_cv_prog_ac_ct_NM="nm"
52693 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52694 break 2
52695 fi
52696 done
52697 done
52698 IFS=$as_save_IFS
52699
52700 fi
52701 fi
52702 ac_ct_NM=$ac_cv_prog_ac_ct_NM
52703 if test -n "$ac_ct_NM"; then
52704 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
52705 echo "${ECHO_T}$ac_ct_NM" >&6; }
52706 else
52707 { echo "$as_me:$LINENO: result: no" >&5
52708 echo "${ECHO_T}no" >&6; }
52709 fi
52710
52711 if test "x$ac_ct_NM" = x; then
52712 NM=":"
52713 else
52714 case $cross_compiling:$ac_tool_warned in
52715 yes:)
52716 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
52717 whose name does not start with the host triplet. If you think this
52718 configuration is useful to you, please write to autoconf@gnu.org." >&5
52719 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
52720 whose name does not start with the host triplet. If you think this
52721 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
52722 ac_tool_warned=yes ;;
52723 esac
52724 NM=$ac_ct_NM
52725 fi
52726 else
52727 NM="$ac_cv_prog_NM"
52728 fi
52729
52730
52731 INSTALL_DIR="mkdir -p"
52732
52733
52734 LDFLAGS_GUI=
52735 case ${BAKEFILE_HOST} in
52736 *-*-cygwin* | *-*-mingw32* )
52737 LDFLAGS_GUI="-mwindows"
52738 esac
52739
52740
52741 fi
52742
52743 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
52744 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
52745 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
52746 echo $ECHO_N "(cached) $ECHO_C" >&6
52747 else
52748
52749 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
52750 egrep -s GNU > /dev/null); then
52751 bakefile_cv_prog_makeisgnu="yes"
52752 else
52753 bakefile_cv_prog_makeisgnu="no"
52754 fi
52755
52756 fi
52757 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
52758 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
52759
52760 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
52761 IF_GNU_MAKE=""
52762 else
52763 IF_GNU_MAKE="#"
52764 fi
52765
52766
52767
52768 PLATFORM_UNIX=0
52769 PLATFORM_WIN32=0
52770 PLATFORM_MSDOS=0
52771 PLATFORM_MAC=0
52772 PLATFORM_MACOS=0
52773 PLATFORM_MACOSX=0
52774 PLATFORM_OS2=0
52775 PLATFORM_BEOS=0
52776
52777 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
52778 case "${BAKEFILE_HOST}" in
52779 *-*-mingw32* )
52780 PLATFORM_WIN32=1
52781 ;;
52782 *-pc-msdosdjgpp )
52783 PLATFORM_MSDOS=1
52784 ;;
52785 *-pc-os2_emx | *-pc-os2-emx )
52786 PLATFORM_OS2=1
52787 ;;
52788 *-*-darwin* )
52789 PLATFORM_MAC=1
52790 PLATFORM_MACOSX=1
52791 ;;
52792 *-*-beos* )
52793 PLATFORM_BEOS=1
52794 ;;
52795 powerpc-apple-macos* )
52796 PLATFORM_MAC=1
52797 PLATFORM_MACOS=1
52798 ;;
52799 * )
52800 PLATFORM_UNIX=1
52801 ;;
52802 esac
52803 else
52804 case "$BAKEFILE_FORCE_PLATFORM" in
52805 win32 )
52806 PLATFORM_WIN32=1
52807 ;;
52808 msdos )
52809 PLATFORM_MSDOS=1
52810 ;;
52811 os2 )
52812 PLATFORM_OS2=1
52813 ;;
52814 darwin )
52815 PLATFORM_MAC=1
52816 PLATFORM_MACOSX=1
52817 ;;
52818 unix )
52819 PLATFORM_UNIX=1
52820 ;;
52821 beos )
52822 PLATFORM_BEOS=1
52823 ;;
52824 * )
52825 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
52826 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
52827 { (exit 1); exit 1; }; }
52828 ;;
52829 esac
52830 fi
52831
52832
52833
52834
52835
52836
52837
52838
52839
52840
52841
52842 # Check whether --enable-omf was given.
52843 if test "${enable_omf+set}" = set; then
52844 enableval=$enable_omf; bk_os2_use_omf="$enableval"
52845 fi
52846
52847
52848 case "${BAKEFILE_HOST}" in
52849 *-*-darwin* )
52850 if test "x$GCC" = "xyes"; then
52851 CFLAGS="$CFLAGS -fno-common"
52852 CXXFLAGS="$CXXFLAGS -fno-common"
52853 fi
52854 if test "x$XLCC" = "xyes"; then
52855 CFLAGS="$CFLAGS -qnocommon"
52856 CXXFLAGS="$CXXFLAGS -qnocommon"
52857 fi
52858 ;;
52859
52860 *-pc-os2_emx | *-pc-os2-emx )
52861 if test "x$bk_os2_use_omf" = "xyes" ; then
52862 AR=emxomfar
52863 RANLIB=:
52864 LDFLAGS="-Zomf $LDFLAGS"
52865 CFLAGS="-Zomf $CFLAGS"
52866 CXXFLAGS="-Zomf $CXXFLAGS"
52867 OS2_LIBEXT="lib"
52868 else
52869 OS2_LIBEXT="a"
52870 fi
52871 ;;
52872
52873 i*86-*-beos* )
52874 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
52875 ;;
52876 esac
52877
52878
52879 SO_SUFFIX="so"
52880 SO_SUFFIX_MODULE="so"
52881 EXEEXT=""
52882 LIBPREFIX="lib"
52883 LIBEXT=".a"
52884 DLLPREFIX="lib"
52885 DLLPREFIX_MODULE=""
52886 DLLIMP_SUFFIX=""
52887 dlldir="$libdir"
52888
52889 case "${BAKEFILE_HOST}" in
52890 ia64-hp-hpux* )
52891 ;;
52892 *-hp-hpux* )
52893 SO_SUFFIX="sl"
52894 SO_SUFFIX_MODULE="sl"
52895 ;;
52896 *-*-aix* )
52897 SO_SUFFIX="a"
52898 SO_SUFFIX_MODULE="a"
52899 ;;
52900 *-*-cygwin* )
52901 SO_SUFFIX="dll"
52902 SO_SUFFIX_MODULE="dll"
52903 DLLIMP_SUFFIX="dll.a"
52904 EXEEXT=".exe"
52905 DLLPREFIX="cyg"
52906 dlldir="$bindir"
52907 ;;
52908 *-*-mingw32* )
52909 SO_SUFFIX="dll"
52910 SO_SUFFIX_MODULE="dll"
52911 DLLIMP_SUFFIX="dll.a"
52912 EXEEXT=".exe"
52913 DLLPREFIX=""
52914 dlldir="$bindir"
52915 ;;
52916 *-pc-msdosdjgpp )
52917 EXEEXT=".exe"
52918 DLLPREFIX=""
52919 dlldir="$bindir"
52920 ;;
52921 *-pc-os2_emx | *-pc-os2-emx )
52922 SO_SUFFIX="dll"
52923 SO_SUFFIX_MODULE="dll"
52924 DLLIMP_SUFFIX=$OS2_LIBEXT
52925 EXEEXT=".exe"
52926 DLLPREFIX=""
52927 LIBPREFIX=""
52928 LIBEXT=".$OS2_LIBEXT"
52929 dlldir="$bindir"
52930 ;;
52931 *-*-darwin* )
52932 SO_SUFFIX="dylib"
52933 SO_SUFFIX_MODULE="bundle"
52934 ;;
52935 esac
52936
52937 if test "x$DLLIMP_SUFFIX" = "x" ; then
52938 DLLIMP_SUFFIX="$SO_SUFFIX"
52939 fi
52940
52941
52942
52943
52944
52945
52946
52947
52948
52949
52950
52951
52952 PIC_FLAG=""
52953 if test "x$GCC" = "xyes"; then
52954 PIC_FLAG="-fPIC"
52955 fi
52956
52957 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
52958 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
52959 WINDOWS_IMPLIB=0
52960
52961 case "${BAKEFILE_HOST}" in
52962 *-hp-hpux* )
52963 if test "x$GCC" != "xyes"; then
52964 LDFLAGS="$LDFLAGS -L/usr/lib"
52965
52966 SHARED_LD_CC="${CC} -b -o"
52967 SHARED_LD_CXX="${CXX} -b -o"
52968 PIC_FLAG="+Z"
52969 fi
52970 ;;
52971
52972 *-*-linux* )
52973 if test "$INTELCC" = "yes" -a "$INTELCC8" != "yes"; then
52974 PIC_FLAG="-KPIC"
52975 elif test "x$SUNCXX" = "xyes"; then
52976 SHARED_LD_CC="${CC} -G -o"
52977 SHARED_LD_CXX="${CXX} -G -o"
52978 PIC_FLAG="-KPIC"
52979 fi
52980 ;;
52981
52982 *-*-solaris2* )
52983 if test "x$SUNCXX" = xyes ; then
52984 SHARED_LD_CC="${CC} -G -o"
52985 SHARED_LD_CXX="${CXX} -G -o"
52986 PIC_FLAG="-KPIC"
52987 fi
52988 ;;
52989
52990 *-*-darwin* )
52991
52992 D='$'
52993 cat <<EOF >shared-ld-sh
52994 #!/bin/sh
52995 #-----------------------------------------------------------------------------
52996 #-- Name: distrib/mac/shared-ld-sh
52997 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
52998 #-- Author: Gilles Depeyrot
52999 #-- Copyright: (c) 2002 Gilles Depeyrot
53000 #-- Licence: any use permitted
53001 #-----------------------------------------------------------------------------
53002
53003 verbose=0
53004 args=""
53005 objects=""
53006 linking_flag="-dynamiclib"
53007 ldargs="-r -keep_private_externs -nostdlib"
53008
53009 if test "x${D}CXX" = "x"; then
53010 CXX="c++"
53011 fi
53012
53013 while test ${D}# -gt 0; do
53014 case ${D}1 in
53015
53016 -v)
53017 verbose=1
53018 ;;
53019
53020 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
53021 # collect these options and values
53022 args="${D}{args} ${D}1 ${D}2"
53023 shift
53024 ;;
53025
53026 -arch|-isysroot)
53027 # collect these options and values
53028 ldargs="${D}{ldargs} ${D}1 ${D}2"
53029 shift
53030 ;;
53031
53032 -s|-Wl,*)
53033 # collect these load args
53034 ldargs="${D}{ldargs} ${D}1"
53035 ;;
53036
53037 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
53038 # collect these options
53039 args="${D}{args} ${D}1"
53040 ;;
53041
53042 -dynamiclib|-bundle)
53043 linking_flag="${D}1"
53044 ;;
53045
53046 -*)
53047 echo "shared-ld: unhandled option '${D}1'"
53048 exit 1
53049 ;;
53050
53051 *.o | *.a | *.dylib)
53052 # collect object files
53053 objects="${D}{objects} ${D}1"
53054 ;;
53055
53056 *)
53057 echo "shared-ld: unhandled argument '${D}1'"
53058 exit 1
53059 ;;
53060
53061 esac
53062 shift
53063 done
53064
53065 status=0
53066
53067 #
53068 # Link one module containing all the others
53069 #
53070 if test ${D}{verbose} = 1; then
53071 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
53072 fi
53073 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
53074 status=${D}?
53075
53076 #
53077 # Link the shared library from the single module created, but only if the
53078 # previous command didn't fail:
53079 #
53080 if test ${D}{status} = 0; then
53081 if test ${D}{verbose} = 1; then
53082 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
53083 fi
53084 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
53085 status=${D}?
53086 fi
53087
53088 #
53089 # Remove intermediate module
53090 #
53091 rm -f master.${D}${D}.o
53092
53093 exit ${D}status
53094 EOF
53095
53096 chmod +x shared-ld-sh
53097
53098 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
53099 SHARED_LD_MODULE_CXX="CXX=\"\$(CXX)\" $SHARED_LD_MODULE_CC"
53100
53101
53102 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
53103 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
53104 if test "${bakefile_cv_gcc31+set}" = set; then
53105 echo $ECHO_N "(cached) $ECHO_C" >&6
53106 else
53107
53108 cat >conftest.$ac_ext <<_ACEOF
53109 /* confdefs.h. */
53110 _ACEOF
53111 cat confdefs.h >>conftest.$ac_ext
53112 cat >>conftest.$ac_ext <<_ACEOF
53113 /* end confdefs.h. */
53114
53115 int
53116 main ()
53117 {
53118
53119 #if (__GNUC__ < 3) || \
53120 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
53121 This is old gcc
53122 #endif
53123
53124 ;
53125 return 0;
53126 }
53127 _ACEOF
53128 rm -f conftest.$ac_objext
53129 if { (ac_try="$ac_compile"
53130 case "(($ac_try" in
53131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
53132 *) ac_try_echo=$ac_try;;
53133 esac
53134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
53135 (eval "$ac_compile") 2>conftest.er1
53136 ac_status=$?
53137 grep -v '^ *+' conftest.er1 >conftest.err
53138 rm -f conftest.er1
53139 cat conftest.err >&5
53140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53141 (exit $ac_status); } && {
53142 test -z "$ac_c_werror_flag" ||
53143 test ! -s conftest.err
53144 } && test -s conftest.$ac_objext; then
53145
53146 bakefile_cv_gcc31=yes
53147
53148 else
53149 echo "$as_me: failed program was:" >&5
53150 sed 's/^/| /' conftest.$ac_ext >&5
53151
53152
53153 bakefile_cv_gcc31=no
53154
53155
53156 fi
53157
53158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53159
53160 fi
53161 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
53162 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
53163 if test "$bakefile_cv_gcc31" = "no"; then
53164 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
53165 SHARED_LD_CXX="$SHARED_LD_CC"
53166 else
53167 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
53168 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
53169 fi
53170
53171 if test "x$GCC" == "xyes"; then
53172 PIC_FLAG="-dynamic -fPIC"
53173 fi
53174 if test "x$XLCC" = "xyes"; then
53175 PIC_FLAG="-dynamic -DPIC"
53176 fi
53177 ;;
53178
53179 *-*-aix* )
53180 if test "x$GCC" = "xyes"; then
53181 PIC_FLAG=""
53182
53183 case "${BAKEFILE_HOST}" in
53184 *-*-aix5* )
53185 LD_EXPFULL="-Wl,-bexpfull"
53186 ;;
53187 esac
53188
53189 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
53190 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
53191 else
53192 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
53193 set dummy makeC++SharedLib; ac_word=$2
53194 { echo "$as_me:$LINENO: checking for $ac_word" >&5
53195 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
53196 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
53197 echo $ECHO_N "(cached) $ECHO_C" >&6
53198 else
53199 if test -n "$AIX_CXX_LD"; then
53200 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
53201 else
53202 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
53203 for as_dir in $PATH
53204 do
53205 IFS=$as_save_IFS
53206 test -z "$as_dir" && as_dir=.
53207 for ac_exec_ext in '' $ac_executable_extensions; do
53208 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
53209 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
53210 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
53211 break 2
53212 fi
53213 done
53214 done
53215 IFS=$as_save_IFS
53216
53217 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
53218 fi
53219 fi
53220 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
53221 if test -n "$AIX_CXX_LD"; then
53222 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
53223 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
53224 else
53225 { echo "$as_me:$LINENO: result: no" >&5
53226 echo "${ECHO_T}no" >&6; }
53227 fi
53228
53229
53230 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
53231 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
53232 fi
53233 ;;
53234
53235 *-*-beos* )
53236 SHARED_LD_CC="${LD} -nostart -o"
53237 SHARED_LD_CXX="${LD} -nostart -o"
53238 ;;
53239
53240 *-*-irix* )
53241 if test "x$GCC" != "xyes"; then
53242 PIC_FLAG="-KPIC"
53243 fi
53244 ;;
53245
53246 *-*-cygwin* | *-*-mingw32* )
53247 PIC_FLAG=""
53248 SHARED_LD_CC="\$(CC) -shared -o"
53249 SHARED_LD_CXX="\$(CXX) -shared -o"
53250 WINDOWS_IMPLIB=1
53251 ;;
53252
53253 *-pc-os2_emx | *-pc-os2-emx )
53254 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
53255 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
53256 PIC_FLAG=""
53257
53258 D='$'
53259 cat <<EOF >dllar.sh
53260 #!/bin/sh
53261 #
53262 # dllar - a tool to build both a .dll and an .a file
53263 # from a set of object (.o) files for EMX/OS2.
53264 #
53265 # Written by Andrew Zabolotny, bit@freya.etu.ru
53266 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
53267 #
53268 # This script will accept a set of files on the command line.
53269 # All the public symbols from the .o files will be exported into
53270 # a .DEF file, then linker will be run (through gcc) against them to
53271 # build a shared library consisting of all given .o files. All libraries
53272 # (.a) will be first decompressed into component .o files then act as
53273 # described above. You can optionally give a description (-d "description")
53274 # which will be put into .DLL. To see the list of accepted options (as well
53275 # as command-line format) simply run this program without options. The .DLL
53276 # is built to be imported by name (there is no guarantee that new versions
53277 # of the library you build will have same ordinals for same symbols).
53278 #
53279 # dllar is free software; you can redistribute it and/or modify
53280 # it under the terms of the GNU General Public License as published by
53281 # the Free Software Foundation; either version 2, or (at your option)
53282 # any later version.
53283 #
53284 # dllar is distributed in the hope that it will be useful,
53285 # but WITHOUT ANY WARRANTY; without even the implied warranty of
53286 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
53287 # GNU General Public License for more details.
53288 #
53289 # You should have received a copy of the GNU General Public License
53290 # along with dllar; see the file COPYING. If not, write to the Free
53291 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
53292 # 02111-1307, USA.
53293
53294 # To successfuly run this program you will need:
53295 # - Current drive should have LFN support (HPFS, ext2, network, etc)
53296 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
53297 # - gcc
53298 # (used to build the .dll)
53299 # - emxexp
53300 # (used to create .def file from .o files)
53301 # - emximp
53302 # (used to create .a file from .def file)
53303 # - GNU text utilites (cat, sort, uniq)
53304 # used to process emxexp output
53305 # - GNU file utilities (mv, rm)
53306 # - GNU sed
53307 # - lxlite (optional, see flag below)
53308 # (used for general .dll cleanup)
53309 #
53310
53311 flag_USE_LXLITE=1;
53312
53313 #
53314 # helper functions
53315 # basnam, variant of basename, which does _not_ remove the path, _iff_
53316 # second argument (suffix to remove) is given
53317 basnam(){
53318 case ${D}# in
53319 1)
53320 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
53321 ;;
53322 2)
53323 echo ${D}1 | sed 's/'${D}2'${D}//'
53324 ;;
53325 *)
53326 echo "error in basnam ${D}*"
53327 exit 8
53328 ;;
53329 esac
53330 }
53331
53332 # Cleanup temporary files and output
53333 CleanUp() {
53334 cd ${D}curDir
53335 for i in ${D}inputFiles ; do
53336 case ${D}i in
53337 *!)
53338 rm -rf \`basnam ${D}i !\`
53339 ;;
53340 *)
53341 ;;
53342 esac
53343 done
53344
53345 # Kill result in case of failure as there is just to many stupid make/nmake
53346 # things out there which doesn't do this.
53347 if [ ${D}# -eq 0 ]; then
53348 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
53349 fi
53350 }
53351
53352 # Print usage and exit script with rc=1.
53353 PrintHelp() {
53354 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
53355 echo ' [-name-mangler-script script.sh]'
53356 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
53357 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
53358 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
53359 echo ' [*.o] [*.a]'
53360 echo '*> "output_file" should have no extension.'
53361 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
53362 echo ' The import library name is derived from this and is set to "name".a,'
53363 echo ' unless overridden by -import'
53364 echo '*> "importlib_name" should have no extension.'
53365 echo ' If it has the .o, or .a extension, it is automatically removed.'
53366 echo ' This name is used as the import library name and may be longer and'
53367 echo ' more descriptive than the DLL name which has to follow the old '
53368 echo ' 8.3 convention of FAT.'
53369 echo '*> "script.sh may be given to override the output_file name by a'
53370 echo ' different name. It is mainly useful if the regular make process'
53371 echo ' of some package does not take into account OS/2 restriction of'
53372 echo ' DLL name lengths. It takes the importlib name as input and is'
53373 echo ' supposed to procude a shorter name as output. The script should'
53374 echo ' expect to get importlib_name without extension and should produce'
53375 echo ' a (max.) 8 letter name without extension.'
53376 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
53377 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
53378 echo ' These flags will be put at the start of GCC command line.'
53379 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
53380 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
53381 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
53382 echo ' If the last character of a symbol is "*", all symbols beginning'
53383 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
53384 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
53385 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
53386 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
53387 echo ' C runtime DLLs.'
53388 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
53389 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
53390 echo ' unchanged to GCC at the end of command line.'
53391 echo '*> If you create a DLL from a library and you do not specify -o,'
53392 echo ' the basename for DLL and import library will be set to library name,'
53393 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
53394 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
53395 echo ' library will be renamed into gcc_s.a.'
53396 echo '--------'
53397 echo 'Example:'
53398 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
53399 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
53400 CleanUp
53401 exit 1
53402 }
53403
53404 # Execute a command.
53405 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
53406 # @Uses Whatever CleanUp() uses.
53407 doCommand() {
53408 echo "${D}*"
53409 eval ${D}*
53410 rcCmd=${D}?
53411
53412 if [ ${D}rcCmd -ne 0 ]; then
53413 echo "command failed, exit code="${D}rcCmd
53414 CleanUp
53415 exit ${D}rcCmd
53416 fi
53417 }
53418
53419 # main routine
53420 # setup globals
53421 cmdLine=${D}*
53422 outFile=""
53423 outimpFile=""
53424 inputFiles=""
53425 renameScript=""
53426 description=""
53427 CC=gcc.exe
53428 CFLAGS="-s -Zcrtdll"
53429 EXTRA_CFLAGS=""
53430 EXPORT_BY_ORDINALS=0
53431 exclude_symbols=""
53432 library_flags=""
53433 curDir=\`pwd\`
53434 curDirS=curDir
53435 case ${D}curDirS in
53436 */)
53437 ;;
53438 *)
53439 curDirS=${D}{curDirS}"/"
53440 ;;
53441 esac
53442 # Parse commandline
53443 libsToLink=0
53444 omfLinking=0
53445 while [ ${D}1 ]; do
53446 case ${D}1 in
53447 -ord*)
53448 EXPORT_BY_ORDINALS=1;
53449 ;;
53450 -o*)
53451 shift
53452 outFile=${D}1
53453 ;;
53454 -i*)
53455 shift
53456 outimpFile=${D}1
53457 ;;
53458 -name-mangler-script)
53459 shift
53460 renameScript=${D}1
53461 ;;
53462 -d*)
53463 shift
53464 description=${D}1
53465 ;;
53466 -f*)
53467 shift
53468 CFLAGS=${D}1
53469 ;;
53470 -c*)
53471 shift
53472 CC=${D}1
53473 ;;
53474 -h*)
53475 PrintHelp
53476 ;;
53477 -ex*)
53478 shift
53479 exclude_symbols=${D}{exclude_symbols}${D}1" "
53480 ;;
53481 -libf*)
53482 shift
53483 library_flags=${D}{library_flags}${D}1" "
53484 ;;
53485 -nocrt*)
53486 CFLAGS="-s"
53487 ;;
53488 -nolxl*)
53489 flag_USE_LXLITE=0
53490 ;;
53491 -* | /*)
53492 case ${D}1 in
53493 -L* | -l*)
53494 libsToLink=1
53495 ;;
53496 -Zomf)
53497 omfLinking=1
53498 ;;
53499 *)
53500 ;;
53501 esac
53502 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
53503 ;;
53504 *.dll)
53505 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
53506 if [ ${D}omfLinking -eq 1 ]; then
53507 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
53508 else
53509 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
53510 fi
53511 ;;
53512 *)
53513 found=0;
53514 if [ ${D}libsToLink -ne 0 ]; then
53515 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
53516 else
53517 for file in ${D}1 ; do
53518 if [ -f ${D}file ]; then
53519 inputFiles="${D}{inputFiles} ${D}file"
53520 found=1
53521 fi
53522 done
53523 if [ ${D}found -eq 0 ]; then
53524 echo "ERROR: No file(s) found: "${D}1
53525 exit 8
53526 fi
53527 fi
53528 ;;
53529 esac
53530 shift
53531 done # iterate cmdline words
53532
53533 #
53534 if [ -z "${D}inputFiles" ]; then
53535 echo "dllar: no input files"
53536 PrintHelp
53537 fi
53538
53539 # Now extract all .o files from .a files
53540 newInputFiles=""
53541 for file in ${D}inputFiles ; do
53542 case ${D}file in
53543 *.a | *.lib)
53544 case ${D}file in
53545 *.a)
53546 suffix=".a"
53547 AR="ar"
53548 ;;
53549 *.lib)
53550 suffix=".lib"
53551 AR="emxomfar"
53552 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
53553 ;;
53554 *)
53555 ;;
53556 esac
53557 dirname=\`basnam ${D}file ${D}suffix\`"_%"
53558 mkdir ${D}dirname
53559 if [ ${D}? -ne 0 ]; then
53560 echo "Failed to create subdirectory ./${D}dirname"
53561 CleanUp
53562 exit 8;
53563 fi
53564 # Append '!' to indicate archive
53565 newInputFiles="${D}newInputFiles ${D}{dirname}!"
53566 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
53567 cd ${D}curDir
53568 found=0;
53569 for subfile in ${D}dirname/*.o* ; do
53570 if [ -f ${D}subfile ]; then
53571 found=1
53572 if [ -s ${D}subfile ]; then
53573 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
53574 newInputFiles="${D}newInputFiles ${D}subfile"
53575 fi
53576 fi
53577 done
53578 if [ ${D}found -eq 0 ]; then
53579 echo "WARNING: there are no files in archive \\'${D}file\\'"
53580 fi
53581 ;;
53582 *)
53583 newInputFiles="${D}{newInputFiles} ${D}file"
53584 ;;
53585 esac
53586 done
53587 inputFiles="${D}newInputFiles"
53588
53589 # Output filename(s).
53590 do_backup=0;
53591 if [ -z ${D}outFile ]; then
53592 do_backup=1;
53593 set outFile ${D}inputFiles; outFile=${D}2
53594 fi
53595
53596 # If it is an archive, remove the '!' and the '_%' suffixes
53597 case ${D}outFile in
53598 *_%!)
53599 outFile=\`basnam ${D}outFile _%!\`
53600 ;;
53601 *)
53602 ;;
53603 esac
53604 case ${D}outFile in
53605 *.dll)
53606 outFile=\`basnam ${D}outFile .dll\`
53607 ;;
53608 *.DLL)
53609 outFile=\`basnam ${D}outFile .DLL\`
53610 ;;
53611 *.o)
53612 outFile=\`basnam ${D}outFile .o\`
53613 ;;
53614 *.obj)
53615 outFile=\`basnam ${D}outFile .obj\`
53616 ;;
53617 *.a)
53618 outFile=\`basnam ${D}outFile .a\`
53619 ;;
53620 *.lib)
53621 outFile=\`basnam ${D}outFile .lib\`
53622 ;;
53623 *)
53624 ;;
53625 esac
53626 case ${D}outimpFile in
53627 *.a)
53628 outimpFile=\`basnam ${D}outimpFile .a\`
53629 ;;
53630 *.lib)
53631 outimpFile=\`basnam ${D}outimpFile .lib\`
53632 ;;
53633 *)
53634 ;;
53635 esac
53636 if [ -z ${D}outimpFile ]; then
53637 outimpFile=${D}outFile
53638 fi
53639 defFile="${D}{outFile}.def"
53640 arcFile="${D}{outimpFile}.a"
53641 arcFile2="${D}{outimpFile}.lib"
53642
53643 #create ${D}dllFile as something matching 8.3 restrictions,
53644 if [ -z ${D}renameScript ] ; then
53645 dllFile="${D}outFile"
53646 else
53647 dllFile=\`${D}renameScript ${D}outimpFile\`
53648 fi
53649
53650 if [ ${D}do_backup -ne 0 ] ; then
53651 if [ -f ${D}arcFile ] ; then
53652 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
53653 fi
53654 if [ -f ${D}arcFile2 ] ; then
53655 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
53656 fi
53657 fi
53658
53659 # Extract public symbols from all the object files.
53660 tmpdefFile=${D}{defFile}_%
53661 rm -f ${D}tmpdefFile
53662 for file in ${D}inputFiles ; do
53663 case ${D}file in
53664 *!)
53665 ;;
53666 *)
53667 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
53668 ;;
53669 esac
53670 done
53671
53672 # Create the def file.
53673 rm -f ${D}defFile
53674 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
53675 dllFile="${D}{dllFile}.dll"
53676 if [ ! -z ${D}description ]; then
53677 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
53678 fi
53679 echo "EXPORTS" >> ${D}defFile
53680
53681 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
53682 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
53683
53684 # Checks if the export is ok or not.
53685 for word in ${D}exclude_symbols; do
53686 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
53687 mv ${D}{tmpdefFile}% ${D}tmpdefFile
53688 done
53689
53690
53691 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
53692 sed "=" < ${D}tmpdefFile | \\
53693 sed '
53694 N
53695 : loop
53696 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
53697 t loop
53698 ' > ${D}{tmpdefFile}%
53699 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
53700 else
53701 rm -f ${D}{tmpdefFile}%
53702 fi
53703 cat ${D}tmpdefFile >> ${D}defFile
53704 rm -f ${D}tmpdefFile
53705
53706 # Do linking, create implib, and apply lxlite.
53707 gccCmdl="";
53708 for file in ${D}inputFiles ; do
53709 case ${D}file in
53710 *!)
53711 ;;
53712 *)
53713 gccCmdl="${D}gccCmdl ${D}file"
53714 ;;
53715 esac
53716 done
53717 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
53718 touch "${D}{outFile}.dll"
53719
53720 doCommand "emximp -o ${D}arcFile ${D}defFile"
53721 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
53722 add_flags="";
53723 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
53724 add_flags="-ynd"
53725 fi
53726 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
53727 fi
53728 doCommand "emxomf -s -l ${D}arcFile"
53729
53730 # Successful exit.
53731 CleanUp 1
53732 exit 0
53733 EOF
53734
53735 chmod +x dllar.sh
53736 ;;
53737
53738 powerpc-apple-macos* | \
53739 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
53740 *-*-mirbsd* | \
53741 *-*-sunos4* | \
53742 *-*-osf* | \
53743 *-*-dgux5* | \
53744 *-*-sysv5* | \
53745 *-pc-msdosdjgpp )
53746 ;;
53747
53748 *)
53749 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
53750 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
53751 { (exit 1); exit 1; }; }
53752 esac
53753
53754 if test "x$PIC_FLAG" != "x" ; then
53755 PIC_FLAG="$PIC_FLAG -DPIC"
53756 fi
53757
53758 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
53759 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
53760 fi
53761 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
53762 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
53763 fi
53764
53765
53766
53767
53768
53769
53770
53771
53772
53773 USE_SOVERSION=0
53774 USE_SOVERLINUX=0
53775 USE_SOVERSOLARIS=0
53776 USE_SOVERCYGWIN=0
53777 USE_SOTWOSYMLINKS=0
53778 USE_MACVERSION=0
53779 SONAME_FLAG=
53780
53781 case "${BAKEFILE_HOST}" in
53782 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
53783 *-*-k*bsd*-gnu | *-*-mirbsd* )
53784 if test "x$SUNCXX" = "xyes"; then
53785 SONAME_FLAG="-h "
53786 else
53787 SONAME_FLAG="-Wl,-soname,"
53788 fi
53789 USE_SOVERSION=1
53790 USE_SOVERLINUX=1
53791 USE_SOTWOSYMLINKS=1
53792 ;;
53793
53794 *-*-solaris2* )
53795 SONAME_FLAG="-h "
53796 USE_SOVERSION=1
53797 USE_SOVERSOLARIS=1
53798 ;;
53799
53800 *-*-darwin* )
53801 USE_MACVERSION=1
53802 USE_SOVERSION=1
53803 USE_SOTWOSYMLINKS=1
53804 ;;
53805
53806 *-*-cygwin* )
53807 USE_SOVERSION=1
53808 USE_SOVERCYGWIN=1
53809 ;;
53810 esac
53811
53812
53813
53814
53815
53816
53817
53818
53819
53820
53821 # Check whether --enable-dependency-tracking was given.
53822 if test "${enable_dependency_tracking+set}" = set; then
53823 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
53824 fi
53825
53826
53827 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
53828 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
53829
53830 BK_DEPS=""
53831 if test "x$bk_use_trackdeps" = "xno" ; then
53832 DEPS_TRACKING=0
53833 { echo "$as_me:$LINENO: result: disabled" >&5
53834 echo "${ECHO_T}disabled" >&6; }
53835 else
53836 DEPS_TRACKING=1
53837
53838 if test "x$GCC" = "xyes"; then
53839 DEPSMODE=gcc
53840 case "${BAKEFILE_HOST}" in
53841 *-*-darwin* )
53842 DEPSFLAG="-no-cpp-precomp -MMD"
53843 ;;
53844 * )
53845 DEPSFLAG="-MMD"
53846 ;;
53847 esac
53848 { echo "$as_me:$LINENO: result: gcc" >&5
53849 echo "${ECHO_T}gcc" >&6; }
53850 elif test "x$MWCC" = "xyes"; then
53851 DEPSMODE=mwcc
53852 DEPSFLAG="-MM"
53853 { echo "$as_me:$LINENO: result: mwcc" >&5
53854 echo "${ECHO_T}mwcc" >&6; }
53855 elif test "x$SUNCC" = "xyes"; then
53856 DEPSMODE=unixcc
53857 DEPSFLAG="-xM1"
53858 { echo "$as_me:$LINENO: result: Sun cc" >&5
53859 echo "${ECHO_T}Sun cc" >&6; }
53860 elif test "x$SGICC" = "xyes"; then
53861 DEPSMODE=unixcc
53862 DEPSFLAG="-M"
53863 { echo "$as_me:$LINENO: result: SGI cc" >&5
53864 echo "${ECHO_T}SGI cc" >&6; }
53865 elif test "x$HPCC" = "xyes"; then
53866 DEPSMODE=unixcc
53867 DEPSFLAG="+make"
53868 { echo "$as_me:$LINENO: result: HP cc" >&5
53869 echo "${ECHO_T}HP cc" >&6; }
53870 elif test "x$COMPAQCC" = "xyes"; then
53871 DEPSMODE=gcc
53872 DEPSFLAG="-MD"
53873 { echo "$as_me:$LINENO: result: Compaq cc" >&5
53874 echo "${ECHO_T}Compaq cc" >&6; }
53875 else
53876 DEPS_TRACKING=0
53877 { echo "$as_me:$LINENO: result: none" >&5
53878 echo "${ECHO_T}none" >&6; }
53879 fi
53880
53881 if test $DEPS_TRACKING = 1 ; then
53882
53883 D='$'
53884 cat <<EOF >bk-deps
53885 #!/bin/sh
53886
53887 # This script is part of Bakefile (http://www.bakefile.org) autoconf
53888 # script. It is used to track C/C++ files dependencies in portable way.
53889 #
53890 # Permission is given to use this file in any way.
53891
53892 DEPSMODE=${DEPSMODE}
53893 DEPSFLAG="${DEPSFLAG}"
53894 DEPSDIRBASE=.deps
53895
53896 if test ${D}DEPSMODE = gcc ; then
53897 ${D}* ${D}{DEPSFLAG}
53898 status=${D}?
53899
53900 # determine location of created files:
53901 while test ${D}# -gt 0; do
53902 case "${D}1" in
53903 -o )
53904 shift
53905 objfile=${D}1
53906 ;;
53907 -* )
53908 ;;
53909 * )
53910 srcfile=${D}1
53911 ;;
53912 esac
53913 shift
53914 done
53915 objfilebase=\`basename ${D}objfile\`
53916 builddir=\`dirname ${D}objfile\`
53917 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
53918 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
53919 depsdir=${D}builddir/${D}DEPSDIRBASE
53920 mkdir -p ${D}depsdir
53921
53922 # if the compiler failed, we're done:
53923 if test ${D}{status} != 0 ; then
53924 rm -f ${D}depfile
53925 exit ${D}{status}
53926 fi
53927
53928 # move created file to the location we want it in:
53929 if test -f ${D}depfile ; then
53930 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
53931 rm -f ${D}depfile
53932 else
53933 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
53934 depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\`
53935 if test ! -f ${D}depfile ; then
53936 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
53937 depfile="${D}objfile.d"
53938 fi
53939 if test -f ${D}depfile ; then
53940 sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
53941 rm -f ${D}depfile
53942 fi
53943 fi
53944 exit 0
53945
53946 elif test ${D}DEPSMODE = mwcc ; then
53947 ${D}* || exit ${D}?
53948 # Run mwcc again with -MM and redirect into the dep file we want
53949 # NOTE: We can't use shift here because we need ${D}* to be valid
53950 prevarg=
53951 for arg in ${D}* ; do
53952 if test "${D}prevarg" = "-o"; then
53953 objfile=${D}arg
53954 else
53955 case "${D}arg" in
53956 -* )
53957 ;;
53958 * )
53959 srcfile=${D}arg
53960 ;;
53961 esac
53962 fi
53963 prevarg="${D}arg"
53964 done
53965
53966 objfilebase=\`basename ${D}objfile\`
53967 builddir=\`dirname ${D}objfile\`
53968 depsdir=${D}builddir/${D}DEPSDIRBASE
53969 mkdir -p ${D}depsdir
53970
53971 ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
53972 exit 0
53973
53974 elif test ${D}DEPSMODE = unixcc; then
53975 ${D}* || exit ${D}?
53976 # Run compiler again with deps flag and redirect into the dep file.
53977 # It doesn't work if the '-o FILE' option is used, but without it the
53978 # dependency file will contain the wrong name for the object. So it is
53979 # removed from the command line, and the dep file is fixed with sed.
53980 cmd=""
53981 while test ${D}# -gt 0; do
53982 case "${D}1" in
53983 -o )
53984 shift
53985 objfile=${D}1
53986 ;;
53987 * )
53988 eval arg${D}#=\\${D}1
53989 cmd="${D}cmd \\${D}arg${D}#"
53990 ;;
53991 esac
53992 shift
53993 done
53994
53995 objfilebase=\`basename ${D}objfile\`
53996 builddir=\`dirname ${D}objfile\`
53997 depsdir=${D}builddir/${D}DEPSDIRBASE
53998 mkdir -p ${D}depsdir
53999
54000 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d
54001 exit 0
54002
54003 else
54004 ${D}*
54005 exit ${D}?
54006 fi
54007 EOF
54008
54009 chmod +x bk-deps
54010 BK_DEPS="`pwd`/bk-deps"
54011 fi
54012 fi
54013
54014
54015
54016
54017
54018 case ${BAKEFILE_HOST} in
54019 *-*-cygwin* | *-*-mingw32* )
54020 if test -n "$ac_tool_prefix"; then
54021 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
54022 set dummy ${ac_tool_prefix}windres; ac_word=$2
54023 { echo "$as_me:$LINENO: checking for $ac_word" >&5
54024 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
54025 if test "${ac_cv_prog_WINDRES+set}" = set; then
54026 echo $ECHO_N "(cached) $ECHO_C" >&6
54027 else
54028 if test -n "$WINDRES"; then
54029 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
54030 else
54031 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
54032 for as_dir in $PATH
54033 do
54034 IFS=$as_save_IFS
54035 test -z "$as_dir" && as_dir=.
54036 for ac_exec_ext in '' $ac_executable_extensions; do
54037 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
54038 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
54039 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
54040 break 2
54041 fi
54042 done
54043 done
54044 IFS=$as_save_IFS
54045
54046 fi
54047 fi
54048 WINDRES=$ac_cv_prog_WINDRES
54049 if test -n "$WINDRES"; then
54050 { echo "$as_me:$LINENO: result: $WINDRES" >&5
54051 echo "${ECHO_T}$WINDRES" >&6; }
54052 else
54053 { echo "$as_me:$LINENO: result: no" >&5
54054 echo "${ECHO_T}no" >&6; }
54055 fi
54056
54057
54058 fi
54059 if test -z "$ac_cv_prog_WINDRES"; then
54060 ac_ct_WINDRES=$WINDRES
54061 # Extract the first word of "windres", so it can be a program name with args.
54062 set dummy windres; ac_word=$2
54063 { echo "$as_me:$LINENO: checking for $ac_word" >&5
54064 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
54065 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
54066 echo $ECHO_N "(cached) $ECHO_C" >&6
54067 else
54068 if test -n "$ac_ct_WINDRES"; then
54069 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
54070 else
54071 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
54072 for as_dir in $PATH
54073 do
54074 IFS=$as_save_IFS
54075 test -z "$as_dir" && as_dir=.
54076 for ac_exec_ext in '' $ac_executable_extensions; do
54077 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
54078 ac_cv_prog_ac_ct_WINDRES="windres"
54079 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
54080 break 2
54081 fi
54082 done
54083 done
54084 IFS=$as_save_IFS
54085
54086 fi
54087 fi
54088 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
54089 if test -n "$ac_ct_WINDRES"; then
54090 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
54091 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
54092 else
54093 { echo "$as_me:$LINENO: result: no" >&5
54094 echo "${ECHO_T}no" >&6; }
54095 fi
54096
54097 if test "x$ac_ct_WINDRES" = x; then
54098 WINDRES=""
54099 else
54100 case $cross_compiling:$ac_tool_warned in
54101 yes:)
54102 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
54103 whose name does not start with the host triplet. If you think this
54104 configuration is useful to you, please write to autoconf@gnu.org." >&5
54105 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
54106 whose name does not start with the host triplet. If you think this
54107 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
54108 ac_tool_warned=yes ;;
54109 esac
54110 WINDRES=$ac_ct_WINDRES
54111 fi
54112 else
54113 WINDRES="$ac_cv_prog_WINDRES"
54114 fi
54115
54116 ;;
54117
54118 *-*-darwin* | powerpc-apple-macos* )
54119 # Extract the first word of "Rez", so it can be a program name with args.
54120 set dummy Rez; ac_word=$2
54121 { echo "$as_me:$LINENO: checking for $ac_word" >&5
54122 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
54123 if test "${ac_cv_prog_REZ+set}" = set; then
54124 echo $ECHO_N "(cached) $ECHO_C" >&6
54125 else
54126 if test -n "$REZ"; then
54127 ac_cv_prog_REZ="$REZ" # Let the user override the test.
54128 else
54129 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
54130 for as_dir in $PATH
54131 do
54132 IFS=$as_save_IFS
54133 test -z "$as_dir" && as_dir=.
54134 for ac_exec_ext in '' $ac_executable_extensions; do
54135 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
54136 ac_cv_prog_REZ="Rez"
54137 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
54138 break 2
54139 fi
54140 done
54141 done
54142 IFS=$as_save_IFS
54143
54144 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
54145 fi
54146 fi
54147 REZ=$ac_cv_prog_REZ
54148 if test -n "$REZ"; then
54149 { echo "$as_me:$LINENO: result: $REZ" >&5
54150 echo "${ECHO_T}$REZ" >&6; }
54151 else
54152 { echo "$as_me:$LINENO: result: no" >&5
54153 echo "${ECHO_T}no" >&6; }
54154 fi
54155
54156
54157 # Extract the first word of "SetFile", so it can be a program name with args.
54158 set dummy SetFile; ac_word=$2
54159 { echo "$as_me:$LINENO: checking for $ac_word" >&5
54160 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
54161 if test "${ac_cv_prog_SETFILE+set}" = set; then
54162 echo $ECHO_N "(cached) $ECHO_C" >&6
54163 else
54164 if test -n "$SETFILE"; then
54165 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
54166 else
54167 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
54168 for as_dir in $PATH
54169 do
54170 IFS=$as_save_IFS
54171 test -z "$as_dir" && as_dir=.
54172 for ac_exec_ext in '' $ac_executable_extensions; do
54173 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
54174 ac_cv_prog_SETFILE="SetFile"
54175 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
54176 break 2
54177 fi
54178 done
54179 done
54180 IFS=$as_save_IFS
54181
54182 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
54183 fi
54184 fi
54185 SETFILE=$ac_cv_prog_SETFILE
54186 if test -n "$SETFILE"; then
54187 { echo "$as_me:$LINENO: result: $SETFILE" >&5
54188 echo "${ECHO_T}$SETFILE" >&6; }
54189 else
54190 { echo "$as_me:$LINENO: result: no" >&5
54191 echo "${ECHO_T}no" >&6; }
54192 fi
54193
54194
54195 ;;
54196 esac
54197
54198
54199
54200
54201
54202
54203
54204
54205
54206 BAKEFILE_BAKEFILE_M4_VERSION="0.2.9"
54207
54208
54209 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.9"
54210
54211
54212
54213 # Check whether --enable-precomp-headers was given.
54214 if test "${enable_precomp_headers+set}" = set; then
54215 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
54216 fi
54217
54218
54219 GCC_PCH=0
54220 ICC_PCH=0
54221 USE_PCH=0
54222 BK_MAKE_PCH=""
54223
54224 case ${BAKEFILE_HOST} in
54225 *-*-cygwin* )
54226 bk_use_pch="no"
54227 ;;
54228 esac
54229
54230 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
54231 if test "x$GCC" = "xyes"; then
54232 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
54233 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
54234 cat >conftest.$ac_ext <<_ACEOF
54235 /* confdefs.h. */
54236 _ACEOF
54237 cat confdefs.h >>conftest.$ac_ext
54238 cat >>conftest.$ac_ext <<_ACEOF
54239 /* end confdefs.h. */
54240
54241 int
54242 main ()
54243 {
54244
54245 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
54246 There is no PCH support
54247 #endif
54248 #if (__GNUC__ < 3)
54249 There is no PCH support
54250 #endif
54251 #if (__GNUC__ == 3) && \
54252 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
54253 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
54254 ( defined(__INTEL_COMPILER) )
54255 There is no PCH support
54256 #endif
54257
54258 ;
54259 return 0;
54260 }
54261 _ACEOF
54262 rm -f conftest.$ac_objext
54263 if { (ac_try="$ac_compile"
54264 case "(($ac_try" in
54265 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
54266 *) ac_try_echo=$ac_try;;
54267 esac
54268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
54269 (eval "$ac_compile") 2>conftest.er1
54270 ac_status=$?
54271 grep -v '^ *+' conftest.er1 >conftest.err
54272 rm -f conftest.er1
54273 cat conftest.err >&5
54274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54275 (exit $ac_status); } && {
54276 test -z "$ac_c_werror_flag" ||
54277 test ! -s conftest.err
54278 } && test -s conftest.$ac_objext; then
54279
54280 { echo "$as_me:$LINENO: result: yes" >&5
54281 echo "${ECHO_T}yes" >&6; }
54282 GCC_PCH=1
54283
54284 else
54285 echo "$as_me: failed program was:" >&5
54286 sed 's/^/| /' conftest.$ac_ext >&5
54287
54288
54289 if test "$INTELCXX8" = "yes"; then
54290 { echo "$as_me:$LINENO: result: yes" >&5
54291 echo "${ECHO_T}yes" >&6; }
54292 ICC_PCH=1
54293 if test "$INTELCXX10" = "yes"; then
54294 ICC_PCH_CREATE_SWITCH="-pch-create"
54295 ICC_PCH_USE_SWITCH="-pch-use"
54296 else
54297 ICC_PCH_CREATE_SWITCH="-create-pch"
54298 ICC_PCH_USE_SWITCH="-use-pch"
54299 fi
54300 else
54301 { echo "$as_me:$LINENO: result: no" >&5
54302 echo "${ECHO_T}no" >&6; }
54303 fi
54304
54305 fi
54306
54307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54308 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
54309 USE_PCH=1
54310
54311 D='$'
54312 cat <<EOF >bk-make-pch
54313 #!/bin/sh
54314
54315 # This script is part of Bakefile (http://www.bakefile.org) autoconf
54316 # script. It is used to generated precompiled headers.
54317 #
54318 # Permission is given to use this file in any way.
54319
54320 outfile="${D}{1}"
54321 header="${D}{2}"
54322 shift
54323 shift
54324
54325 builddir=\`echo ${D}outfile | sed -e 's,/\\.pch/.*${D},,g'\`
54326
54327 compiler=""
54328 headerfile=""
54329
54330 while test ${D}{#} -gt 0; do
54331 add_to_cmdline=1
54332 case "${D}{1}" in
54333 -I* )
54334 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
54335 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
54336 headerfile="${D}{incdir}/${D}{header}"
54337 fi
54338 ;;
54339 -use-pch|-use_pch|-pch-use )
54340 shift
54341 add_to_cmdline=0
54342 ;;
54343 esac
54344 if test ${D}add_to_cmdline = 1 ; then
54345 compiler="${D}{compiler} ${D}{1}"
54346 fi
54347 shift
54348 done
54349
54350 if test "x${D}{headerfile}" = "x" ; then
54351 echo "error: can't find header ${D}{header} in include paths" >&2
54352 else
54353 if test -f ${D}{outfile} ; then
54354 rm -f ${D}{outfile}
54355 else
54356 mkdir -p \`dirname ${D}{outfile}\`
54357 fi
54358 depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
54359 mkdir -p ${D}{builddir}/.deps
54360 if test "x${GCC_PCH}" = "x1" ; then
54361 # can do this because gcc is >= 3.4:
54362 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
54363 elif test "x${ICC_PCH}" = "x1" ; then
54364 filename=pch_gen-${D}${D}
54365 file=${D}{filename}.c
54366 dfile=${D}{filename}.d
54367 cat > ${D}file <<EOT
54368 #include "${D}header"
54369 EOT
54370 # using -MF icc complains about differing command lines in creation/use
54371 ${D}compiler -c ${ICC_PCH_CREATE_SWITCH} ${D}outfile -MMD ${D}file && \\
54372 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
54373 rm -f ${D}file ${D}dfile ${D}{filename}.o
54374 fi
54375 exit ${D}{?}
54376 fi
54377 EOF
54378
54379 chmod +x bk-make-pch
54380 BK_MAKE_PCH="`pwd`/bk-make-pch"
54381 fi
54382 fi
54383 fi
54384
54385
54386
54387
54388
54389
54390
54391 COND_BUILD_DEBUG="#"
54392 if test "x$BUILD" = "xdebug" ; then
54393 COND_BUILD_DEBUG=""
54394 fi
54395
54396 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
54397 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
54398 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
54399 fi
54400
54401 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
54402 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
54403 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
54404 fi
54405
54406 COND_BUILD_DEBUG_UNICODE_0="#"
54407 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
54408 COND_BUILD_DEBUG_UNICODE_0=""
54409 fi
54410
54411 COND_BUILD_DEBUG_UNICODE_1="#"
54412 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
54413 COND_BUILD_DEBUG_UNICODE_1=""
54414 fi
54415
54416 COND_BUILD_RELEASE="#"
54417 if test "x$BUILD" = "xrelease" ; then
54418 COND_BUILD_RELEASE=""
54419 fi
54420
54421 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
54422 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
54423 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
54424 fi
54425
54426 COND_BUILD_RELEASE_UNICODE_0="#"
54427 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
54428 COND_BUILD_RELEASE_UNICODE_0=""
54429 fi
54430
54431 COND_BUILD_RELEASE_UNICODE_1="#"
54432 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
54433 COND_BUILD_RELEASE_UNICODE_1=""
54434 fi
54435
54436 COND_BUILD_debug="#"
54437 if test "x$BUILD" = "xdebug" ; then
54438 COND_BUILD_debug=""
54439 fi
54440
54441 COND_BUILD_debug_DEBUG_FLAG_default="#"
54442 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
54443 COND_BUILD_debug_DEBUG_FLAG_default=""
54444 fi
54445
54446 COND_BUILD_debug_DEBUG_INFO_default="#"
54447 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
54448 COND_BUILD_debug_DEBUG_INFO_default=""
54449 fi
54450
54451 COND_BUILD_debug_UNICODE_0="#"
54452 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
54453 COND_BUILD_debug_UNICODE_0=""
54454 fi
54455
54456 COND_BUILD_debug_UNICODE_1="#"
54457 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
54458 COND_BUILD_debug_UNICODE_1=""
54459 fi
54460
54461 COND_BUILD_release="#"
54462 if test "x$BUILD" = "xrelease" ; then
54463 COND_BUILD_release=""
54464 fi
54465
54466 COND_BUILD_release_DEBUG_INFO_default="#"
54467 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
54468 COND_BUILD_release_DEBUG_INFO_default=""
54469 fi
54470
54471 COND_BUILD_release_UNICODE_0="#"
54472 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
54473 COND_BUILD_release_UNICODE_0=""
54474 fi
54475
54476 COND_BUILD_release_UNICODE_1="#"
54477 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
54478 COND_BUILD_release_UNICODE_1=""
54479 fi
54480
54481 COND_DEBUG_FLAG_0="#"
54482 if test "x$DEBUG_FLAG" = "x0" ; then
54483 COND_DEBUG_FLAG_0=""
54484 fi
54485
54486 COND_DEBUG_FLAG_1="#"
54487 if test "x$DEBUG_FLAG" = "x1" ; then
54488 COND_DEBUG_FLAG_1=""
54489 fi
54490
54491 COND_DEBUG_INFO_0="#"
54492 if test "x$DEBUG_INFO" = "x0" ; then
54493 COND_DEBUG_INFO_0=""
54494 fi
54495
54496 COND_DEBUG_INFO_1="#"
54497 if test "x$DEBUG_INFO" = "x1" ; then
54498 COND_DEBUG_INFO_1=""
54499 fi
54500
54501 COND_DEPS_TRACKING_0="#"
54502 if test "x$DEPS_TRACKING" = "x0" ; then
54503 COND_DEPS_TRACKING_0=""
54504 fi
54505
54506 COND_DEPS_TRACKING_1="#"
54507 if test "x$DEPS_TRACKING" = "x1" ; then
54508 COND_DEPS_TRACKING_1=""
54509 fi
54510
54511 COND_GCC_PCH_1="#"
54512 if test "x$GCC_PCH" = "x1" ; then
54513 COND_GCC_PCH_1=""
54514 fi
54515
54516 COND_ICC_PCH_1="#"
54517 if test "x$ICC_PCH" = "x1" ; then
54518 COND_ICC_PCH_1=""
54519 fi
54520
54521 COND_MONOLITHIC_0="#"
54522 if test "x$MONOLITHIC" = "x0" ; then
54523 COND_MONOLITHIC_0=""
54524 fi
54525
54526 COND_MONOLITHIC_0_SHARED_0="#"
54527 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
54528 COND_MONOLITHIC_0_SHARED_0=""
54529 fi
54530
54531 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
54532 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
54533 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
54534 fi
54535
54536 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
54537 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
54538 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
54539 fi
54540
54541 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
54542 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
54543 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
54544 fi
54545
54546 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
54547 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
54548 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
54549 fi
54550
54551 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
54552 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
54553 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
54554 fi
54555
54556 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1="#"
54557 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_WEBVIEW" = "x1" ; then
54558 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1=""
54559 fi
54560
54561 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1="#"
54562 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
54563 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1=""
54564 fi
54565
54566 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1="#"
54567 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RIBBON" = "x1" ; then
54568 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1=""
54569 fi
54570
54571 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
54572 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
54573 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
54574 fi
54575
54576 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
54577 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
54578 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
54579 fi
54580
54581 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
54582 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
54583 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
54584 fi
54585
54586 COND_MONOLITHIC_0_SHARED_1="#"
54587 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
54588 COND_MONOLITHIC_0_SHARED_1=""
54589 fi
54590
54591 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
54592 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
54593 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
54594 fi
54595
54596 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
54597 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
54598 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
54599 fi
54600
54601 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
54602 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
54603 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
54604 fi
54605
54606 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
54607 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
54608 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
54609 fi
54610
54611 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
54612 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
54613 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
54614 fi
54615
54616 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1="#"
54617 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_WEBVIEW" = "x1" ; then
54618 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1=""
54619 fi
54620
54621 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1="#"
54622 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
54623 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1=""
54624 fi
54625
54626 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1="#"
54627 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RIBBON" = "x1" ; then
54628 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1=""
54629 fi
54630
54631 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
54632 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
54633 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
54634 fi
54635
54636 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
54637 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
54638 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
54639 fi
54640
54641 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
54642 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
54643 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
54644 fi
54645
54646 COND_MONOLITHIC_0_USE_AUI_1="#"
54647 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
54648 COND_MONOLITHIC_0_USE_AUI_1=""
54649 fi
54650
54651 COND_MONOLITHIC_0_USE_GUI_1="#"
54652 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
54653 COND_MONOLITHIC_0_USE_GUI_1=""
54654 fi
54655
54656 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
54657 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
54658 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
54659 fi
54660
54661 COND_MONOLITHIC_0_USE_HTML_1="#"
54662 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
54663 COND_MONOLITHIC_0_USE_HTML_1=""
54664 fi
54665
54666 COND_MONOLITHIC_0_USE_MEDIA_1="#"
54667 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
54668 COND_MONOLITHIC_0_USE_MEDIA_1=""
54669 fi
54670
54671 COND_MONOLITHIC_0_USE_PROPGRID_1="#"
54672 if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
54673 COND_MONOLITHIC_0_USE_PROPGRID_1=""
54674 fi
54675
54676 COND_MONOLITHIC_0_USE_QA_1="#"
54677 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
54678 COND_MONOLITHIC_0_USE_QA_1=""
54679 fi
54680
54681 COND_MONOLITHIC_0_USE_RIBBON_1="#"
54682 if test "x$MONOLITHIC" = "x0" -a "x$USE_RIBBON" = "x1" ; then
54683 COND_MONOLITHIC_0_USE_RIBBON_1=""
54684 fi
54685
54686 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
54687 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
54688 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
54689 fi
54690
54691 COND_MONOLITHIC_0_USE_STC_1="#"
54692 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
54693 COND_MONOLITHIC_0_USE_STC_1=""
54694 fi
54695
54696 COND_MONOLITHIC_0_USE_WEBVIEW_1="#"
54697 if test "x$MONOLITHIC" = "x0" -a "x$USE_WEBVIEW" = "x1" ; then
54698 COND_MONOLITHIC_0_USE_WEBVIEW_1=""
54699 fi
54700
54701 COND_MONOLITHIC_0_USE_XRC_1="#"
54702 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
54703 COND_MONOLITHIC_0_USE_XRC_1=""
54704 fi
54705
54706 COND_MONOLITHIC_1="#"
54707 if test "x$MONOLITHIC" = "x1" ; then
54708 COND_MONOLITHIC_1=""
54709 fi
54710
54711 COND_MONOLITHIC_1_SHARED_0="#"
54712 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
54713 COND_MONOLITHIC_1_SHARED_0=""
54714 fi
54715
54716 COND_MONOLITHIC_1_SHARED_1="#"
54717 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
54718 COND_MONOLITHIC_1_SHARED_1=""
54719 fi
54720
54721 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
54722 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
54723 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
54724 fi
54725
54726 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
54727 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
54728 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
54729 fi
54730
54731 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
54732 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
54733 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
54734 fi
54735
54736 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
54737 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
54738 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
54739 fi
54740
54741 COND_PLATFORM_MACOSX_1="#"
54742 if test "x$PLATFORM_MACOSX" = "x1" ; then
54743 COND_PLATFORM_MACOSX_1=""
54744 fi
54745
54746 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0="#"
54747 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
54748 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0=""
54749 fi
54750
54751 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0="#"
54752 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
54753 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0=""
54754 fi
54755
54756 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
54757 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
54758 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1=""
54759 fi
54760
54761 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0="#"
54762 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
54763 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0=""
54764 fi
54765
54766 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
54767 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
54768 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1=""
54769 fi
54770
54771 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0="#"
54772 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
54773 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0=""
54774 fi
54775
54776 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1="#"
54777 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
54778 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1=""
54779 fi
54780
54781 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0="#"
54782 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
54783 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0=""
54784 fi
54785
54786 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
54787 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
54788 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
54789 fi
54790
54791 COND_PLATFORM_MACOSX_1_USE_OPENGL_1="#"
54792 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
54793 COND_PLATFORM_MACOSX_1_USE_OPENGL_1=""
54794 fi
54795
54796 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
54797 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
54798 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
54799 fi
54800
54801 COND_PLATFORM_MACOS_1="#"
54802 if test "x$PLATFORM_MACOS" = "x1" ; then
54803 COND_PLATFORM_MACOS_1=""
54804 fi
54805
54806 COND_PLATFORM_MAC_0="#"
54807 if test "x$PLATFORM_MAC" = "x0" ; then
54808 COND_PLATFORM_MAC_0=""
54809 fi
54810
54811 COND_PLATFORM_MAC_1="#"
54812 if test "x$PLATFORM_MAC" = "x1" ; then
54813 COND_PLATFORM_MAC_1=""
54814 fi
54815
54816 COND_PLATFORM_MSDOS_0="#"
54817 if test "x$PLATFORM_MSDOS" = "x0" ; then
54818 COND_PLATFORM_MSDOS_0=""
54819 fi
54820
54821 COND_PLATFORM_MSDOS_1="#"
54822 if test "x$PLATFORM_MSDOS" = "x1" ; then
54823 COND_PLATFORM_MSDOS_1=""
54824 fi
54825
54826 COND_PLATFORM_OS2_1="#"
54827 if test "x$PLATFORM_OS2" = "x1" ; then
54828 COND_PLATFORM_OS2_1=""
54829 fi
54830
54831 COND_PLATFORM_UNIX_0="#"
54832 if test "x$PLATFORM_UNIX" = "x0" ; then
54833 COND_PLATFORM_UNIX_0=""
54834 fi
54835
54836 COND_PLATFORM_UNIX_1="#"
54837 if test "x$PLATFORM_UNIX" = "x1" ; then
54838 COND_PLATFORM_UNIX_1=""
54839 fi
54840
54841 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
54842 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
54843 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
54844 fi
54845
54846 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
54847 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
54848 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
54849 fi
54850
54851 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
54852 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
54853 COND_PLATFORM_UNIX_1_USE_GUI_1=""
54854 fi
54855
54856 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
54857 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
54858 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
54859 fi
54860
54861 COND_PLATFORM_WIN32_0="#"
54862 if test "x$PLATFORM_WIN32" = "x0" ; then
54863 COND_PLATFORM_WIN32_0=""
54864 fi
54865
54866 COND_PLATFORM_WIN32_1="#"
54867 if test "x$PLATFORM_WIN32" = "x1" ; then
54868 COND_PLATFORM_WIN32_1=""
54869 fi
54870
54871 COND_PLATFORM_WIN32_1_SHARED_0="#"
54872 if test "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
54873 COND_PLATFORM_WIN32_1_SHARED_0=""
54874 fi
54875
54876 COND_SHARED_0="#"
54877 if test "x$SHARED" = "x0" ; then
54878 COND_SHARED_0=""
54879 fi
54880
54881 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
54882 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
54883 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
54884 fi
54885
54886 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
54887 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
54888 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
54889 fi
54890
54891 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
54892 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
54893 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
54894 fi
54895
54896 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
54897 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
54898 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
54899 fi
54900
54901 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
54902 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
54903 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
54904 fi
54905
54906 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
54907 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
54908 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin=""
54909 fi
54910
54911 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
54912 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
54913 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
54914 fi
54915
54916 COND_SHARED_0_USE_STC_1="#"
54917 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
54918 COND_SHARED_0_USE_STC_1=""
54919 fi
54920
54921 COND_SHARED_0_wxUSE_EXPAT_builtin="#"
54922 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
54923 COND_SHARED_0_wxUSE_EXPAT_builtin=""
54924 fi
54925
54926 COND_SHARED_0_wxUSE_REGEX_builtin="#"
54927 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
54928 COND_SHARED_0_wxUSE_REGEX_builtin=""
54929 fi
54930
54931 COND_SHARED_0_wxUSE_ZLIB_builtin="#"
54932 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
54933 COND_SHARED_0_wxUSE_ZLIB_builtin=""
54934 fi
54935
54936 COND_SHARED_1="#"
54937 if test "x$SHARED" = "x1" ; then
54938 COND_SHARED_1=""
54939 fi
54940
54941 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
54942 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
54943 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
54944 fi
54945
54946 COND_TOOLKIT_="#"
54947 if test "x$TOOLKIT" = "x" ; then
54948 COND_TOOLKIT_=""
54949 fi
54950
54951 COND_TOOLKIT_COCOA="#"
54952 if test "x$TOOLKIT" = "xCOCOA" ; then
54953 COND_TOOLKIT_COCOA=""
54954 fi
54955
54956 COND_TOOLKIT_COCOA_USE_GUI_1="#"
54957 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
54958 COND_TOOLKIT_COCOA_USE_GUI_1=""
54959 fi
54960
54961 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
54962 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
54963 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
54964 fi
54965
54966 COND_TOOLKIT_DFB="#"
54967 if test "x$TOOLKIT" = "xDFB" ; then
54968 COND_TOOLKIT_DFB=""
54969 fi
54970
54971 COND_TOOLKIT_DFB_USE_GUI_1="#"
54972 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
54973 COND_TOOLKIT_DFB_USE_GUI_1=""
54974 fi
54975
54976 COND_TOOLKIT_GTK="#"
54977 if test "x$TOOLKIT" = "xGTK" ; then
54978 COND_TOOLKIT_GTK=""
54979 fi
54980
54981 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
54982 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
54983 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
54984 fi
54985
54986 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
54987 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
54988 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
54989 fi
54990
54991 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
54992 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
54993 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
54994 fi
54995
54996 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
54997 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
54998 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
54999 fi
55000
55001 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
55002 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
55003 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
55004 fi
55005
55006 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
55007 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
55008 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
55009 fi
55010
55011 COND_TOOLKIT_GTK_USE_GUI_1="#"
55012 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
55013 COND_TOOLKIT_GTK_USE_GUI_1=""
55014 fi
55015
55016 COND_TOOLKIT_MAC="#"
55017 if test "x$TOOLKIT" = "xMAC" ; then
55018 COND_TOOLKIT_MAC=""
55019 fi
55020
55021 COND_TOOLKIT_MGL="#"
55022 if test "x$TOOLKIT" = "xMGL" ; then
55023 COND_TOOLKIT_MGL=""
55024 fi
55025
55026 COND_TOOLKIT_MGL_USE_GUI_1="#"
55027 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
55028 COND_TOOLKIT_MGL_USE_GUI_1=""
55029 fi
55030
55031 COND_TOOLKIT_MOTIF="#"
55032 if test "x$TOOLKIT" = "xMOTIF" ; then
55033 COND_TOOLKIT_MOTIF=""
55034 fi
55035
55036 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
55037 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
55038 COND_TOOLKIT_MOTIF_USE_GUI_1=""
55039 fi
55040
55041 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
55042 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
55043 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
55044 fi
55045
55046 COND_TOOLKIT_MSW="#"
55047 if test "x$TOOLKIT" = "xMSW" ; then
55048 COND_TOOLKIT_MSW=""
55049 fi
55050
55051 COND_TOOLKIT_MSW_USE_GUI_1="#"
55052 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
55053 COND_TOOLKIT_MSW_USE_GUI_1=""
55054 fi
55055
55056 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
55057 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
55058 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
55059 fi
55060
55061 COND_TOOLKIT_MSW_WXUNIV_0="#"
55062 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
55063 COND_TOOLKIT_MSW_WXUNIV_0=""
55064 fi
55065
55066 COND_TOOLKIT_OSX_CARBON="#"
55067 if test "x$TOOLKIT" = "xOSX_CARBON" ; then
55068 COND_TOOLKIT_OSX_CARBON=""
55069 fi
55070
55071 COND_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
55072 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
55073 COND_TOOLKIT_OSX_CARBON_USE_GUI_1=""
55074 fi
55075
55076 COND_TOOLKIT_OSX_COCOA="#"
55077 if test "x$TOOLKIT" = "xOSX_COCOA" ; then
55078 COND_TOOLKIT_OSX_COCOA=""
55079 fi
55080
55081 COND_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
55082 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
55083 COND_TOOLKIT_OSX_COCOA_USE_GUI_1=""
55084 fi
55085
55086 COND_TOOLKIT_OSX_IPHONE="#"
55087 if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
55088 COND_TOOLKIT_OSX_IPHONE=""
55089 fi
55090
55091 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1="#"
55092 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
55093 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1=""
55094 fi
55095
55096 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0="#"
55097 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
55098 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0=""
55099 fi
55100
55101 COND_TOOLKIT_PM="#"
55102 if test "x$TOOLKIT" = "xPM" ; then
55103 COND_TOOLKIT_PM=""
55104 fi
55105
55106 COND_TOOLKIT_PM_USE_GUI_1="#"
55107 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
55108 COND_TOOLKIT_PM_USE_GUI_1=""
55109 fi
55110
55111 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
55112 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
55113 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
55114 fi
55115
55116 COND_TOOLKIT_WINCE="#"
55117 if test "x$TOOLKIT" = "xWINCE" ; then
55118 COND_TOOLKIT_WINCE=""
55119 fi
55120
55121 COND_TOOLKIT_WINCE_USE_GUI_1="#"
55122 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
55123 COND_TOOLKIT_WINCE_USE_GUI_1=""
55124 fi
55125
55126 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
55127 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
55128 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
55129 fi
55130
55131 COND_TOOLKIT_WINCE_WXUNIV_0="#"
55132 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
55133 COND_TOOLKIT_WINCE_WXUNIV_0=""
55134 fi
55135
55136 COND_TOOLKIT_X11="#"
55137 if test "x$TOOLKIT" = "xX11" ; then
55138 COND_TOOLKIT_X11=""
55139 fi
55140
55141 COND_TOOLKIT_X11_USE_GUI_1="#"
55142 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
55143 COND_TOOLKIT_X11_USE_GUI_1=""
55144 fi
55145
55146 COND_UNICODE_1="#"
55147 if test "x$UNICODE" = "x1" ; then
55148 COND_UNICODE_1=""
55149 fi
55150
55151 COND_USE_CAIRO_1="#"
55152 if test "x$USE_CAIRO" = "x1" ; then
55153 COND_USE_CAIRO_1=""
55154 fi
55155
55156 COND_USE_EXCEPTIONS_0="#"
55157 if test "x$USE_EXCEPTIONS" = "x0" ; then
55158 COND_USE_EXCEPTIONS_0=""
55159 fi
55160
55161 COND_USE_EXCEPTIONS_1="#"
55162 if test "x$USE_EXCEPTIONS" = "x1" ; then
55163 COND_USE_EXCEPTIONS_1=""
55164 fi
55165
55166 COND_USE_GUI_0="#"
55167 if test "x$USE_GUI" = "x0" ; then
55168 COND_USE_GUI_0=""
55169 fi
55170
55171 COND_USE_GUI_1="#"
55172 if test "x$USE_GUI" = "x1" ; then
55173 COND_USE_GUI_1=""
55174 fi
55175
55176 COND_USE_GUI_1_USE_OPENGL_1="#"
55177 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
55178 COND_USE_GUI_1_USE_OPENGL_1=""
55179 fi
55180
55181 COND_USE_GUI_1_WXUNIV_0="#"
55182 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
55183 COND_USE_GUI_1_WXUNIV_0=""
55184 fi
55185
55186 COND_USE_GUI_1_WXUNIV_1="#"
55187 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
55188 COND_USE_GUI_1_WXUNIV_1=""
55189 fi
55190
55191 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
55192 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
55193 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
55194 fi
55195
55196 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
55197 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
55198 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
55199 fi
55200
55201 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
55202 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
55203 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
55204 fi
55205
55206 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
55207 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
55208 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
55209 fi
55210
55211 COND_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
55212 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
55213 COND_USE_GUI_1_wxUSE_LIBPNG_builtin=""
55214 fi
55215
55216 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
55217 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
55218 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
55219 fi
55220
55221 COND_USE_OPENGL_1="#"
55222 if test "x$USE_OPENGL" = "x1" ; then
55223 COND_USE_OPENGL_1=""
55224 fi
55225
55226 COND_USE_PCH_1="#"
55227 if test "x$USE_PCH" = "x1" ; then
55228 COND_USE_PCH_1=""
55229 fi
55230
55231 COND_USE_PLUGINS_0="#"
55232 if test "x$USE_PLUGINS" = "x0" ; then
55233 COND_USE_PLUGINS_0=""
55234 fi
55235
55236 COND_USE_RTTI_0="#"
55237 if test "x$USE_RTTI" = "x0" ; then
55238 COND_USE_RTTI_0=""
55239 fi
55240
55241 COND_USE_RTTI_1="#"
55242 if test "x$USE_RTTI" = "x1" ; then
55243 COND_USE_RTTI_1=""
55244 fi
55245
55246 COND_USE_SOTWOSYMLINKS_1="#"
55247 if test "x$USE_SOTWOSYMLINKS" = "x1" ; then
55248 COND_USE_SOTWOSYMLINKS_1=""
55249 fi
55250
55251 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
55252 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
55253 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
55254 fi
55255
55256 COND_USE_SOVERLINUX_1="#"
55257 if test "x$USE_SOVERLINUX" = "x1" ; then
55258 COND_USE_SOVERLINUX_1=""
55259 fi
55260
55261 COND_USE_SOVERSION_0="#"
55262 if test "x$USE_SOVERSION" = "x0" ; then
55263 COND_USE_SOVERSION_0=""
55264 fi
55265
55266 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1="#"
55267 if test "x$USE_SOVERSION" = "x1" -a "x$USE_SOVERSOLARIS" = "x1" ; then
55268 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1=""
55269 fi
55270
55271 COND_USE_SOVERSOLARIS_1="#"
55272 if test "x$USE_SOVERSOLARIS" = "x1" ; then
55273 COND_USE_SOVERSOLARIS_1=""
55274 fi
55275
55276 COND_USE_STC_1="#"
55277 if test "x$USE_STC" = "x1" ; then
55278 COND_USE_STC_1=""
55279 fi
55280
55281 COND_USE_THREADS_0="#"
55282 if test "x$USE_THREADS" = "x0" ; then
55283 COND_USE_THREADS_0=""
55284 fi
55285
55286 COND_USE_THREADS_1="#"
55287 if test "x$USE_THREADS" = "x1" ; then
55288 COND_USE_THREADS_1=""
55289 fi
55290
55291 COND_USE_XRC_1="#"
55292 if test "x$USE_XRC" = "x1" ; then
55293 COND_USE_XRC_1=""
55294 fi
55295
55296 COND_WINDOWS_IMPLIB_1="#"
55297 if test "x$WINDOWS_IMPLIB" = "x1" ; then
55298 COND_WINDOWS_IMPLIB_1=""
55299 fi
55300
55301 COND_WITH_PLUGIN_SDL_1="#"
55302 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
55303 COND_WITH_PLUGIN_SDL_1=""
55304 fi
55305
55306 COND_WXUNIV_0="#"
55307 if test "x$WXUNIV" = "x0" ; then
55308 COND_WXUNIV_0=""
55309 fi
55310
55311 COND_WXUNIV_1="#"
55312 if test "x$WXUNIV" = "x1" ; then
55313 COND_WXUNIV_1=""
55314 fi
55315
55316 COND_WXUSE_EXPAT_BUILTIN="#"
55317 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
55318 COND_WXUSE_EXPAT_BUILTIN=""
55319 fi
55320
55321 COND_WXUSE_LIBJPEG_BUILTIN="#"
55322 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
55323 COND_WXUSE_LIBJPEG_BUILTIN=""
55324 fi
55325
55326 COND_WXUSE_LIBPNG_BUILTIN="#"
55327 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
55328 COND_WXUSE_LIBPNG_BUILTIN=""
55329 fi
55330
55331 COND_WXUSE_LIBTIFF_BUILTIN="#"
55332 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
55333 COND_WXUSE_LIBTIFF_BUILTIN=""
55334 fi
55335
55336 COND_WXUSE_REGEX_BUILTIN="#"
55337 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
55338 COND_WXUSE_REGEX_BUILTIN=""
55339 fi
55340
55341 COND_WXUSE_ZLIB_BUILTIN="#"
55342 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
55343 COND_WXUSE_ZLIB_BUILTIN=""
55344 fi
55345
55346 COND_wxUSE_EXPAT_builtin="#"
55347 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
55348 COND_wxUSE_EXPAT_builtin=""
55349 fi
55350
55351 COND_wxUSE_LIBJPEG_builtin="#"
55352 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
55353 COND_wxUSE_LIBJPEG_builtin=""
55354 fi
55355
55356 COND_wxUSE_LIBPNG_builtin="#"
55357 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
55358 COND_wxUSE_LIBPNG_builtin=""
55359 fi
55360
55361 COND_wxUSE_LIBTIFF_builtin="#"
55362 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
55363 COND_wxUSE_LIBTIFF_builtin=""
55364 fi
55365
55366 COND_wxUSE_REGEX_builtin="#"
55367 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
55368 COND_wxUSE_REGEX_builtin=""
55369 fi
55370
55371 COND_wxUSE_ZLIB_builtin="#"
55372 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
55373 COND_wxUSE_ZLIB_builtin=""
55374 fi
55375
55376
55377
55378 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
55379 { { 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
55380 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;}
55381 { (exit 1); exit 1; }; }
55382 fi
55383
55384 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
55385 { { 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
55386 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;}
55387 { (exit 1); exit 1; }; }
55388 fi
55389
55390
55391 case ${INSTALL} in
55392 /* ) # Absolute
55393 ;;
55394 ?:* ) # Drive letter, considered as absolute.
55395 ;;
55396 *)
55397 INSTALL=`pwd`/${INSTALL} ;;
55398 esac
55399
55400 if test "$wxUSE_GUI" = "yes"; then
55401
55402 if test "$wxUSE_MSW" = 1 ; then
55403 if test "x$WINDRES" = "x"; then
55404 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
55405 echo "$as_me: error: Required windres program not found" >&2;}
55406 { (exit 1); exit 1; }; }
55407 fi
55408
55409 RESCOMP="$WINDRES"
55410 fi
55411
55412 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
55413 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
55414 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
55415
55416 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
55417
55418 # Extract the first word of "DeRez", so it can be a program name with args.
55419 set dummy DeRez; ac_word=$2
55420 { echo "$as_me:$LINENO: checking for $ac_word" >&5
55421 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
55422 if test "${ac_cv_prog_DEREZ+set}" = set; then
55423 echo $ECHO_N "(cached) $ECHO_C" >&6
55424 else
55425 if test -n "$DEREZ"; then
55426 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
55427 else
55428 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
55429 for as_dir in $PATH
55430 do
55431 IFS=$as_save_IFS
55432 test -z "$as_dir" && as_dir=.
55433 for ac_exec_ext in '' $ac_executable_extensions; do
55434 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
55435 ac_cv_prog_DEREZ="DeRez"
55436 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
55437 break 2
55438 fi
55439 done
55440 done
55441 IFS=$as_save_IFS
55442
55443 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
55444 fi
55445 fi
55446 DEREZ=$ac_cv_prog_DEREZ
55447 if test -n "$DEREZ"; then
55448 { echo "$as_me:$LINENO: result: $DEREZ" >&5
55449 echo "${ECHO_T}$DEREZ" >&6; }
55450 else
55451 { echo "$as_me:$LINENO: result: no" >&5
55452 echo "${ECHO_T}no" >&6; }
55453 fi
55454
55455
55456
55457 MACSETFILE="\$(SETFILE)"
55458
55459 if test "$wxUSE_OSX_CARBON" = 1; then
55460 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
55461 RESCOMP="$REZ"
55462 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
55463 else
55464 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
55465 RESCOMP="cat /dev/null \| $REZ"
55466 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
55467 fi
55468
55469 else
55470 MACSETFILE="@true"
55471
55472 if test "$wxUSE_PM" = 1; then
55473 RESCOMP="emxbind"
55474 WXCONFIG_RESFLAGS="-ep"
55475
55476 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
55477 else
55478 POSTLINK_COMMAND="@true"
55479 fi
55480 fi
55481
55482 fi
55483
55484
55485 if test $GCC_PCH = 1
55486 then
55487 if test "$wx_cv_gcc_pch_bug" = yes; then
55488 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
55489 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
55490 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
55491 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
55492 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
55493 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
55494 fi
55495
55496 # Our WX_PRECOMP flag does not make sense for any language except C++ because
55497 # the headers that benefit from precompilation are mostly C++ headers.
55498 CXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
55499 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
55500 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
55501 fi
55502
55503
55504 if test "$wxUSE_MAC" = 1 ; then
55505 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
55506 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
55507 mv temp bk-deps
55508 chmod +x bk-deps
55509 fi
55510 fi
55511
55512 if test "$wxUSE_SHARED" = "yes"; then
55513 case "${host}" in
55514 *-pc-os2_emx | *-pc-os2-emx )
55515 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
55516 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
55517 cp -p ${srcdir}/src/os2/dllnames.sh .
55518 cp -p ${srcdir}/src/os2/dllar.sh .
55519 ;;
55520 esac
55521 fi
55522 if test "$wxUSE_OMF" = "yes"; then
55523 case "${host}" in
55524 *-pc-os2_emx | *-pc-os2-emx )
55525 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
55526 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
55527 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
55528 ;;
55529 esac
55530 fi
55531
55532 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
55533
55534
55535 case "${host}" in
55536 *-*-solaris2* )
55537 if test "$GCC" = yes; then
55538 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//g'`
55539 LIBS=`echo $LIBS | sed 's/-mt//g'`
55540 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//g'`
55541 fi
55542 ;;
55543
55544 *-*-linux* )
55545 if test "x$SUNCXX" = xyes; then
55546 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//g'`
55547 LIBS=`echo $LIBS | sed 's/-pthread//g'`
55548 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//g'`
55549 fi
55550 ;;
55551 esac
55552
55553 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
55554 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
55555 OBJCFLAGS="$OBJCFLAGS $CFLAGS_VISIBILITY"
55556 OBJCXXFLAGS="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
55557
55558 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
55559
55560
55561
55562
55563
55564
55565
55566
55567
55568
55569
55570
55571
55572
55573
55574
55575
55576
55577
55578
55579
55580
55581
55582
55583
55584
55585
55586
55587
55588
55589
55590
55591
55592
55593
55594
55595
55596
55597
55598
55599
55600
55601
55602
55603
55604
55605
55606
55607
55608
55609
55610
55611
55612
55613
55614
55615
55616
55617
55618
55619 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
55620 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
55621 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
55622 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
55623 echo $ECHO_N "(cached) $ECHO_C" >&6
55624 else
55625 cat >conftest.make <<\_ACEOF
55626 SHELL = /bin/sh
55627 all:
55628 @echo '@@@%%%=$(MAKE)=@@@%%%'
55629 _ACEOF
55630 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
55631 case `${MAKE-make} -f conftest.make 2>/dev/null` in
55632 *@@@%%%=?*=@@@%%%*)
55633 eval ac_cv_prog_make_${ac_make}_set=yes;;
55634 *)
55635 eval ac_cv_prog_make_${ac_make}_set=no;;
55636 esac
55637 rm -f conftest.make
55638 fi
55639 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
55640 { echo "$as_me:$LINENO: result: yes" >&5
55641 echo "${ECHO_T}yes" >&6; }
55642 SET_MAKE=
55643 else
55644 { echo "$as_me:$LINENO: result: no" >&5
55645 echo "${ECHO_T}no" >&6; }
55646 SET_MAKE="MAKE=${MAKE-make}"
55647 fi
55648
55649
55650
55651 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
55652
55653
55654 if test "$USE_WIN32" = 1; then
55655 ac_config_commands="$ac_config_commands rcdefs.h"
55656
55657 fi
55658
55659 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
55660
55661
55662 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
55663
55664
55665 ac_config_files="$ac_config_files utils/ifacecheck/rungccxml.sh"
55666
55667
55668 if test "$wx_cv_version_script" = "yes"; then
55669 ac_config_files="$ac_config_files version-script"
55670
55671 fi
55672 ac_config_files="$ac_config_files Makefile"
55673
55674
55675 ac_config_commands="$ac_config_commands wx-config"
55676
55677
55678
55679 if test "$wxWITH_SUBDIRS" != "no"; then
55680 if test "$wxUSE_GUI" = "yes"; then
55681 SUBDIRS="samples demos utils"
55682 else
55683 SUBDIRS="samples utils"
55684 fi
55685
55686
55687
55688 # Check whether --with-cppunit-prefix was given.
55689 if test "${with_cppunit_prefix+set}" = set; then
55690 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
55691 else
55692 cppunit_config_prefix=""
55693 fi
55694
55695
55696 # Check whether --with-cppunit-exec-prefix was given.
55697 if test "${with_cppunit_exec_prefix+set}" = set; then
55698 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
55699 else
55700 cppunit_config_exec_prefix=""
55701 fi
55702
55703
55704 if test x$cppunit_config_exec_prefix != x ; then
55705 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
55706 if test x${CPPUNIT_CONFIG+set} != xset ; then
55707 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
55708 fi
55709 fi
55710 if test x$cppunit_config_prefix != x ; then
55711 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
55712 if test x${CPPUNIT_CONFIG+set} != xset ; then
55713 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
55714 fi
55715 fi
55716
55717 # Extract the first word of "cppunit-config", so it can be a program name with args.
55718 set dummy cppunit-config; ac_word=$2
55719 { echo "$as_me:$LINENO: checking for $ac_word" >&5
55720 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
55721 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
55722 echo $ECHO_N "(cached) $ECHO_C" >&6
55723 else
55724 case $CPPUNIT_CONFIG in
55725 [\\/]* | ?:[\\/]*)
55726 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
55727 ;;
55728 *)
55729 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
55730 for as_dir in $PATH
55731 do
55732 IFS=$as_save_IFS
55733 test -z "$as_dir" && as_dir=.
55734 for ac_exec_ext in '' $ac_executable_extensions; do
55735 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
55736 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
55737 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
55738 break 2
55739 fi
55740 done
55741 done
55742 IFS=$as_save_IFS
55743
55744 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
55745 ;;
55746 esac
55747 fi
55748 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
55749 if test -n "$CPPUNIT_CONFIG"; then
55750 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
55751 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
55752 else
55753 { echo "$as_me:$LINENO: result: no" >&5
55754 echo "${ECHO_T}no" >&6; }
55755 fi
55756
55757
55758 cppunit_version_min=1.8.0
55759
55760 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
55761 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
55762 no_cppunit=""
55763 if test "$CPPUNIT_CONFIG" = "no" ; then
55764 { echo "$as_me:$LINENO: result: no" >&5
55765 echo "${ECHO_T}no" >&6; }
55766 no_cppunit=yes
55767 else
55768 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
55769 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
55770 cppunit_version=`$CPPUNIT_CONFIG --version`
55771
55772 cppunit_major_version=`echo $cppunit_version | \
55773 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
55774 cppunit_minor_version=`echo $cppunit_version | \
55775 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
55776 cppunit_micro_version=`echo $cppunit_version | \
55777 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
55778
55779 cppunit_major_min=`echo $cppunit_version_min | \
55780 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
55781 cppunit_minor_min=`echo $cppunit_version_min | \
55782 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
55783 cppunit_micro_min=`echo $cppunit_version_min | \
55784 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
55785
55786 cppunit_version_proper=`expr \
55787 $cppunit_major_version \> $cppunit_major_min \| \
55788 $cppunit_major_version \= $cppunit_major_min \& \
55789 $cppunit_minor_version \> $cppunit_minor_min \| \
55790 $cppunit_major_version \= $cppunit_major_min \& \
55791 $cppunit_minor_version \= $cppunit_minor_min \& \
55792 $cppunit_micro_version \>= $cppunit_micro_min `
55793
55794 if test "$cppunit_version_proper" = "1" ; then
55795 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
55796 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
55797 else
55798 { echo "$as_me:$LINENO: result: no" >&5
55799 echo "${ECHO_T}no" >&6; }
55800 no_cppunit=yes
55801 fi
55802 fi
55803
55804 if test "x$no_cppunit" = x ; then
55805 SUBDIRS="$SUBDIRS tests"
55806 else
55807 CPPUNIT_CFLAGS=""
55808 CPPUNIT_LIBS=""
55809 :
55810 fi
55811
55812
55813
55814
55815
55816 for subdir in $SUBDIRS; do
55817 if test -d ${srcdir}/${subdir} ; then
55818 if test "$wxUSE_GUI" = "yes"; then
55819 if test ${subdir} = "samples"; then
55820 makefiles="samples/Makefile.in $makefiles"
55821 for sample in $SAMPLES_SUBDIRS; do
55822 if test -d $srcdir/samples/$sample; then
55823 makefiles="samples/$sample/Makefile.in $makefiles"
55824 fi
55825 done
55826 else
55827 disabled_var=DISABLED_`echo $subdir | tr '[a-z]' '[A-Z]'`
55828 eval "disabled=\$$disabled_var"
55829 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
55830 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
55831 fi
55832 else
55833 if test ${subdir} = "samples"; then
55834 makefiles="samples/Makefile.in $makefiles"
55835 for sample in `echo $SAMPLES_SUBDIRS`; do
55836 if test -d $srcdir/samples/$sample; then
55837 makefiles="samples/$sample/Makefile.in $makefiles"
55838 fi
55839 done
55840 elif test ${subdir} = "utils"; then
55841 makefiles=""
55842 for util in ifacecheck ; do
55843 if test -d $srcdir/utils/$util ; then
55844 makefiles="utils/$util/src/Makefile.in \
55845 $makefiles"
55846 fi
55847 done
55848 else
55849 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
55850 fi
55851 fi
55852
55853 for mkin in $makefiles ; do
55854 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
55855 ac_config_files="$ac_config_files $mk"
55856
55857 done
55858 fi
55859 done
55860 fi
55861 cat >confcache <<\_ACEOF
55862 # This file is a shell script that caches the results of configure
55863 # tests run on this system so they can be shared between configure
55864 # scripts and configure runs, see configure's option --config-cache.
55865 # It is not useful on other systems. If it contains results you don't
55866 # want to keep, you may remove or edit it.
55867 #
55868 # config.status only pays attention to the cache file if you give it
55869 # the --recheck option to rerun configure.
55870 #
55871 # `ac_cv_env_foo' variables (set or unset) will be overridden when
55872 # loading this file, other *unset* `ac_cv_foo' will be assigned the
55873 # following values.
55874
55875 _ACEOF
55876
55877 # The following way of writing the cache mishandles newlines in values,
55878 # but we know of no workaround that is simple, portable, and efficient.
55879 # So, we kill variables containing newlines.
55880 # Ultrix sh set writes to stderr and can't be redirected directly,
55881 # and sets the high bit in the cache file unless we assign to the vars.
55882 (
55883 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
55884 eval ac_val=\$$ac_var
55885 case $ac_val in #(
55886 *${as_nl}*)
55887 case $ac_var in #(
55888 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
55889 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
55890 esac
55891 case $ac_var in #(
55892 _ | IFS | as_nl) ;; #(
55893 *) $as_unset $ac_var ;;
55894 esac ;;
55895 esac
55896 done
55897
55898 (set) 2>&1 |
55899 case $as_nl`(ac_space=' '; set) 2>&1` in #(
55900 *${as_nl}ac_space=\ *)
55901 # `set' does not quote correctly, so add quotes (double-quote
55902 # substitution turns \\\\ into \\, and sed turns \\ into \).
55903 sed -n \
55904 "s/'/'\\\\''/g;
55905 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
55906 ;; #(
55907 *)
55908 # `set' quotes correctly as required by POSIX, so do not add quotes.
55909 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
55910 ;;
55911 esac |
55912 sort
55913 ) |
55914 sed '
55915 /^ac_cv_env_/b end
55916 t clear
55917 :clear
55918 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
55919 t end
55920 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
55921 :end' >>confcache
55922 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
55923 if test -w "$cache_file"; then
55924 test "x$cache_file" != "x/dev/null" &&
55925 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
55926 echo "$as_me: updating cache $cache_file" >&6;}
55927 cat confcache >$cache_file
55928 else
55929 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
55930 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
55931 fi
55932 fi
55933 rm -f confcache
55934
55935 test "x$prefix" = xNONE && prefix=$ac_default_prefix
55936 # Let make expand exec_prefix.
55937 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
55938
55939 DEFS=-DHAVE_CONFIG_H
55940
55941 ac_libobjs=
55942 ac_ltlibobjs=
55943 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
55944 # 1. Remove the extension, and $U if already installed.
55945 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
55946 ac_i=`echo "$ac_i" | sed "$ac_script"`
55947 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
55948 # will be set to the directory where LIBOBJS objects are built.
55949 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
55950 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
55951 done
55952 LIBOBJS=$ac_libobjs
55953
55954 LTLIBOBJS=$ac_ltlibobjs
55955
55956
55957
55958 : ${CONFIG_STATUS=./config.status}
55959 ac_clean_files_save=$ac_clean_files
55960 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
55961 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
55962 echo "$as_me: creating $CONFIG_STATUS" >&6;}
55963 cat >$CONFIG_STATUS <<_ACEOF
55964 #! $SHELL
55965 # Generated by $as_me.
55966 # Run this file to recreate the current configuration.
55967 # Compiler output produced by configure, useful for debugging
55968 # configure, is in config.log if it exists.
55969
55970 debug=false
55971 ac_cs_recheck=false
55972 ac_cs_silent=false
55973 SHELL=\${CONFIG_SHELL-$SHELL}
55974 _ACEOF
55975
55976 cat >>$CONFIG_STATUS <<\_ACEOF
55977 ## --------------------- ##
55978 ## M4sh Initialization. ##
55979 ## --------------------- ##
55980
55981 # Be more Bourne compatible
55982 DUALCASE=1; export DUALCASE # for MKS sh
55983 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
55984 emulate sh
55985 NULLCMD=:
55986 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
55987 # is contrary to our usage. Disable this feature.
55988 alias -g '${1+"$@"}'='"$@"'
55989 setopt NO_GLOB_SUBST
55990 else
55991 case `(set -o) 2>/dev/null` in
55992 *posix*) set -o posix ;;
55993 esac
55994
55995 fi
55996
55997
55998
55999
56000 # PATH needs CR
56001 # Avoid depending upon Character Ranges.
56002 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
56003 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
56004 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
56005 as_cr_digits='0123456789'
56006 as_cr_alnum=$as_cr_Letters$as_cr_digits
56007
56008 # The user is always right.
56009 if test "${PATH_SEPARATOR+set}" != set; then
56010 echo "#! /bin/sh" >conf$$.sh
56011 echo "exit 0" >>conf$$.sh
56012 chmod +x conf$$.sh
56013 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
56014 PATH_SEPARATOR=';'
56015 else
56016 PATH_SEPARATOR=:
56017 fi
56018 rm -f conf$$.sh
56019 fi
56020
56021 # Support unset when possible.
56022 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
56023 as_unset=unset
56024 else
56025 as_unset=false
56026 fi
56027
56028
56029 # IFS
56030 # We need space, tab and new line, in precisely that order. Quoting is
56031 # there to prevent editors from complaining about space-tab.
56032 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
56033 # splitting by setting IFS to empty value.)
56034 as_nl='
56035 '
56036 IFS=" "" $as_nl"
56037
56038 # Find who we are. Look in the path if we contain no directory separator.
56039 case $0 in
56040 *[\\/]* ) as_myself=$0 ;;
56041 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
56042 for as_dir in $PATH
56043 do
56044 IFS=$as_save_IFS
56045 test -z "$as_dir" && as_dir=.
56046 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
56047 done
56048 IFS=$as_save_IFS
56049
56050 ;;
56051 esac
56052 # We did not find ourselves, most probably we were run as `sh COMMAND'
56053 # in which case we are not to be found in the path.
56054 if test "x$as_myself" = x; then
56055 as_myself=$0
56056 fi
56057 if test ! -f "$as_myself"; then
56058 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
56059 { (exit 1); exit 1; }
56060 fi
56061
56062 # Work around bugs in pre-3.0 UWIN ksh.
56063 for as_var in ENV MAIL MAILPATH
56064 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
56065 done
56066 PS1='$ '
56067 PS2='> '
56068 PS4='+ '
56069
56070 # NLS nuisances.
56071 for as_var in \
56072 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
56073 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
56074 LC_TELEPHONE LC_TIME
56075 do
56076 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
56077 eval $as_var=C; export $as_var
56078 else
56079 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
56080 fi
56081 done
56082
56083 # Required to use basename.
56084 if expr a : '\(a\)' >/dev/null 2>&1 &&
56085 test "X`expr 00001 : '.*\(...\)'`" = X001; then
56086 as_expr=expr
56087 else
56088 as_expr=false
56089 fi
56090
56091 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
56092 as_basename=basename
56093 else
56094 as_basename=false
56095 fi
56096
56097
56098 # Name of the executable.
56099 as_me=`$as_basename -- "$0" ||
56100 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
56101 X"$0" : 'X\(//\)$' \| \
56102 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
56103 echo X/"$0" |
56104 sed '/^.*\/\([^/][^/]*\)\/*$/{
56105 s//\1/
56106 q
56107 }
56108 /^X\/\(\/\/\)$/{
56109 s//\1/
56110 q
56111 }
56112 /^X\/\(\/\).*/{
56113 s//\1/
56114 q
56115 }
56116 s/.*/./; q'`
56117
56118 # CDPATH.
56119 $as_unset CDPATH
56120
56121
56122
56123 as_lineno_1=$LINENO
56124 as_lineno_2=$LINENO
56125 test "x$as_lineno_1" != "x$as_lineno_2" &&
56126 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
56127
56128 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
56129 # uniformly replaced by the line number. The first 'sed' inserts a
56130 # line-number line after each line using $LINENO; the second 'sed'
56131 # does the real work. The second script uses 'N' to pair each
56132 # line-number line with the line containing $LINENO, and appends
56133 # trailing '-' during substitution so that $LINENO is not a special
56134 # case at line end.
56135 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
56136 # scripts with optimization help from Paolo Bonzini. Blame Lee
56137 # E. McMahon (1931-1989) for sed's syntax. :-)
56138 sed -n '
56139 p
56140 /[$]LINENO/=
56141 ' <$as_myself |
56142 sed '
56143 s/[$]LINENO.*/&-/
56144 t lineno
56145 b
56146 :lineno
56147 N
56148 :loop
56149 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
56150 t loop
56151 s/-\n.*//
56152 ' >$as_me.lineno &&
56153 chmod +x "$as_me.lineno" ||
56154 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
56155 { (exit 1); exit 1; }; }
56156
56157 # Don't try to exec as it changes $[0], causing all sort of problems
56158 # (the dirname of $[0] is not the place where we might find the
56159 # original and so on. Autoconf is especially sensitive to this).
56160 . "./$as_me.lineno"
56161 # Exit status is that of the last command.
56162 exit
56163 }
56164
56165
56166 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
56167 as_dirname=dirname
56168 else
56169 as_dirname=false
56170 fi
56171
56172 ECHO_C= ECHO_N= ECHO_T=
56173 case `echo -n x` in
56174 -n*)
56175 case `echo 'x\c'` in
56176 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
56177 *) ECHO_C='\c';;
56178 esac;;
56179 *)
56180 ECHO_N='-n';;
56181 esac
56182
56183 if expr a : '\(a\)' >/dev/null 2>&1 &&
56184 test "X`expr 00001 : '.*\(...\)'`" = X001; then
56185 as_expr=expr
56186 else
56187 as_expr=false
56188 fi
56189
56190 rm -f conf$$ conf$$.exe conf$$.file
56191 if test -d conf$$.dir; then
56192 rm -f conf$$.dir/conf$$.file
56193 else
56194 rm -f conf$$.dir
56195 mkdir conf$$.dir
56196 fi
56197 echo >conf$$.file
56198 if ln -s conf$$.file conf$$ 2>/dev/null; then
56199 as_ln_s='ln -s'
56200 # ... but there are two gotchas:
56201 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
56202 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
56203 # In both cases, we have to default to `cp -p'.
56204 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
56205 as_ln_s='cp -p'
56206 elif ln conf$$.file conf$$ 2>/dev/null; then
56207 as_ln_s=ln
56208 else
56209 as_ln_s='cp -p'
56210 fi
56211 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
56212 rmdir conf$$.dir 2>/dev/null
56213
56214 if mkdir -p . 2>/dev/null; then
56215 as_mkdir_p=:
56216 else
56217 test -d ./-p && rmdir ./-p
56218 as_mkdir_p=false
56219 fi
56220
56221 if test -x / >/dev/null 2>&1; then
56222 as_test_x='test -x'
56223 else
56224 if ls -dL / >/dev/null 2>&1; then
56225 as_ls_L_option=L
56226 else
56227 as_ls_L_option=
56228 fi
56229 as_test_x='
56230 eval sh -c '\''
56231 if test -d "$1"; then
56232 test -d "$1/.";
56233 else
56234 case $1 in
56235 -*)set "./$1";;
56236 esac;
56237 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
56238 ???[sx]*):;;*)false;;esac;fi
56239 '\'' sh
56240 '
56241 fi
56242 as_executable_p=$as_test_x
56243
56244 # Sed expression to map a string onto a valid CPP name.
56245 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
56246
56247 # Sed expression to map a string onto a valid variable name.
56248 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
56249
56250
56251 exec 6>&1
56252
56253 # Save the log message, to keep $[0] and so on meaningful, and to
56254 # report actual input values of CONFIG_FILES etc. instead of their
56255 # values after options handling.
56256 ac_log="
56257 This file was extended by wxWidgets $as_me 2.9.4, which was
56258 generated by GNU Autoconf 2.61. Invocation command line was
56259
56260 CONFIG_FILES = $CONFIG_FILES
56261 CONFIG_HEADERS = $CONFIG_HEADERS
56262 CONFIG_LINKS = $CONFIG_LINKS
56263 CONFIG_COMMANDS = $CONFIG_COMMANDS
56264 $ $0 $@
56265
56266 on `(hostname || uname -n) 2>/dev/null | sed 1q`
56267 "
56268
56269 _ACEOF
56270
56271 cat >>$CONFIG_STATUS <<_ACEOF
56272 # Files that config.status was made for.
56273 config_files="$ac_config_files"
56274 config_headers="$ac_config_headers"
56275 config_commands="$ac_config_commands"
56276
56277 _ACEOF
56278
56279 cat >>$CONFIG_STATUS <<\_ACEOF
56280 ac_cs_usage="\
56281 \`$as_me' instantiates files from templates according to the
56282 current configuration.
56283
56284 Usage: $0 [OPTIONS] [FILE]...
56285
56286 -h, --help print this help, then exit
56287 -V, --version print version number and configuration settings, then exit
56288 -q, --quiet do not print progress messages
56289 -d, --debug don't remove temporary files
56290 --recheck update $as_me by reconfiguring in the same conditions
56291 --file=FILE[:TEMPLATE]
56292 instantiate the configuration file FILE
56293 --header=FILE[:TEMPLATE]
56294 instantiate the configuration header FILE
56295
56296 Configuration files:
56297 $config_files
56298
56299 Configuration headers:
56300 $config_headers
56301
56302 Configuration commands:
56303 $config_commands
56304
56305 Report bugs to <bug-autoconf@gnu.org>."
56306
56307 _ACEOF
56308 cat >>$CONFIG_STATUS <<_ACEOF
56309 ac_cs_version="\\
56310 wxWidgets config.status 2.9.4
56311 configured by $0, generated by GNU Autoconf 2.61,
56312 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
56313
56314 Copyright (C) 2006 Free Software Foundation, Inc.
56315 This config.status script is free software; the Free Software Foundation
56316 gives unlimited permission to copy, distribute and modify it."
56317
56318 ac_pwd='$ac_pwd'
56319 srcdir='$srcdir'
56320 INSTALL='$INSTALL'
56321 _ACEOF
56322
56323 cat >>$CONFIG_STATUS <<\_ACEOF
56324 # If no file are specified by the user, then we need to provide default
56325 # value. By we need to know if files were specified by the user.
56326 ac_need_defaults=:
56327 while test $# != 0
56328 do
56329 case $1 in
56330 --*=*)
56331 ac_option=`expr "X$1" : 'X\([^=]*\)='`
56332 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
56333 ac_shift=:
56334 ;;
56335 *)
56336 ac_option=$1
56337 ac_optarg=$2
56338 ac_shift=shift
56339 ;;
56340 esac
56341
56342 case $ac_option in
56343 # Handling of the options.
56344 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
56345 ac_cs_recheck=: ;;
56346 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
56347 echo "$ac_cs_version"; exit ;;
56348 --debug | --debu | --deb | --de | --d | -d )
56349 debug=: ;;
56350 --file | --fil | --fi | --f )
56351 $ac_shift
56352 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
56353 ac_need_defaults=false;;
56354 --header | --heade | --head | --hea )
56355 $ac_shift
56356 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
56357 ac_need_defaults=false;;
56358 --he | --h)
56359 # Conflict between --help and --header
56360 { echo "$as_me: error: ambiguous option: $1
56361 Try \`$0 --help' for more information." >&2
56362 { (exit 1); exit 1; }; };;
56363 --help | --hel | -h )
56364 echo "$ac_cs_usage"; exit ;;
56365 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
56366 | -silent | --silent | --silen | --sile | --sil | --si | --s)
56367 ac_cs_silent=: ;;
56368
56369 # This is an error.
56370 -*) { echo "$as_me: error: unrecognized option: $1
56371 Try \`$0 --help' for more information." >&2
56372 { (exit 1); exit 1; }; } ;;
56373
56374 *) ac_config_targets="$ac_config_targets $1"
56375 ac_need_defaults=false ;;
56376
56377 esac
56378 shift
56379 done
56380
56381 ac_configure_extra_args=
56382
56383 if $ac_cs_silent; then
56384 exec 6>/dev/null
56385 ac_configure_extra_args="$ac_configure_extra_args --silent"
56386 fi
56387
56388 _ACEOF
56389 cat >>$CONFIG_STATUS <<_ACEOF
56390 if \$ac_cs_recheck; then
56391 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
56392 CONFIG_SHELL=$SHELL
56393 export CONFIG_SHELL
56394 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
56395 fi
56396
56397 _ACEOF
56398 cat >>$CONFIG_STATUS <<\_ACEOF
56399 exec 5>>config.log
56400 {
56401 echo
56402 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
56403 ## Running $as_me. ##
56404 _ASBOX
56405 echo "$ac_log"
56406 } >&5
56407
56408 _ACEOF
56409 cat >>$CONFIG_STATUS <<_ACEOF
56410 #
56411 # INIT-COMMANDS
56412 #
56413
56414 CPP="$CPP"
56415 infile="$srcdir/include/wx/msw/genrcdefs.h"
56416 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
56417
56418
56419 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
56420 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
56421 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
56422 LN_S="${LN_S}"
56423
56424
56425 _ACEOF
56426
56427 cat >>$CONFIG_STATUS <<\_ACEOF
56428
56429 # Handling of arguments.
56430 for ac_config_target in $ac_config_targets
56431 do
56432 case $ac_config_target in
56433 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
56434 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
56435 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
56436 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
56437 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
56438 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
56439 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
56440 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
56441 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
56442
56443 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
56444 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
56445 { (exit 1); exit 1; }; };;
56446 esac
56447 done
56448
56449
56450 # If the user did not use the arguments to specify the items to instantiate,
56451 # then the envvar interface is used. Set only those that are not.
56452 # We use the long form for the default assignment because of an extremely
56453 # bizarre bug on SunOS 4.1.3.
56454 if $ac_need_defaults; then
56455 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
56456 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
56457 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
56458 fi
56459
56460 # Have a temporary directory for convenience. Make it in the build tree
56461 # simply because there is no reason against having it here, and in addition,
56462 # creating and moving files from /tmp can sometimes cause problems.
56463 # Hook for its removal unless debugging.
56464 # Note that there is a small window in which the directory will not be cleaned:
56465 # after its creation but before its name has been assigned to `$tmp'.
56466 $debug ||
56467 {
56468 tmp=
56469 trap 'exit_status=$?
56470 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
56471 ' 0
56472 trap '{ (exit 1); exit 1; }' 1 2 13 15
56473 }
56474 # Create a (secure) tmp directory for tmp files.
56475
56476 {
56477 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
56478 test -n "$tmp" && test -d "$tmp"
56479 } ||
56480 {
56481 tmp=./conf$$-$RANDOM
56482 (umask 077 && mkdir "$tmp")
56483 } ||
56484 {
56485 echo "$me: cannot create a temporary directory in ." >&2
56486 { (exit 1); exit 1; }
56487 }
56488
56489 #
56490 # Set up the sed scripts for CONFIG_FILES section.
56491 #
56492
56493 # No need to generate the scripts if there are no CONFIG_FILES.
56494 # This happens for instance when ./config.status config.h
56495 if test -n "$CONFIG_FILES"; then
56496
56497 _ACEOF
56498
56499
56500
56501 ac_delim='%!_!# '
56502 for ac_last_try in false false false false false :; do
56503 cat >conf$$subs.sed <<_ACEOF
56504 SHELL!$SHELL$ac_delim
56505 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
56506 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
56507 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
56508 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
56509 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
56510 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
56511 exec_prefix!$exec_prefix$ac_delim
56512 prefix!$prefix$ac_delim
56513 program_transform_name!$program_transform_name$ac_delim
56514 bindir!$bindir$ac_delim
56515 sbindir!$sbindir$ac_delim
56516 libexecdir!$libexecdir$ac_delim
56517 datarootdir!$datarootdir$ac_delim
56518 datadir!$datadir$ac_delim
56519 sysconfdir!$sysconfdir$ac_delim
56520 sharedstatedir!$sharedstatedir$ac_delim
56521 localstatedir!$localstatedir$ac_delim
56522 includedir!$includedir$ac_delim
56523 oldincludedir!$oldincludedir$ac_delim
56524 docdir!$docdir$ac_delim
56525 infodir!$infodir$ac_delim
56526 htmldir!$htmldir$ac_delim
56527 dvidir!$dvidir$ac_delim
56528 pdfdir!$pdfdir$ac_delim
56529 psdir!$psdir$ac_delim
56530 libdir!$libdir$ac_delim
56531 localedir!$localedir$ac_delim
56532 mandir!$mandir$ac_delim
56533 DEFS!$DEFS$ac_delim
56534 ECHO_C!$ECHO_C$ac_delim
56535 ECHO_N!$ECHO_N$ac_delim
56536 ECHO_T!$ECHO_T$ac_delim
56537 LIBS!$LIBS$ac_delim
56538 build_alias!$build_alias$ac_delim
56539 host_alias!$host_alias$ac_delim
56540 target_alias!$target_alias$ac_delim
56541 build!$build$ac_delim
56542 build_cpu!$build_cpu$ac_delim
56543 build_vendor!$build_vendor$ac_delim
56544 build_os!$build_os$ac_delim
56545 host!$host$ac_delim
56546 host_cpu!$host_cpu$ac_delim
56547 host_vendor!$host_vendor$ac_delim
56548 host_os!$host_os$ac_delim
56549 wx_top_builddir!$wx_top_builddir$ac_delim
56550 CC!$CC$ac_delim
56551 CFLAGS!$CFLAGS$ac_delim
56552 LDFLAGS!$LDFLAGS$ac_delim
56553 CPPFLAGS!$CPPFLAGS$ac_delim
56554 ac_ct_CC!$ac_ct_CC$ac_delim
56555 EXEEXT!$EXEEXT$ac_delim
56556 OBJEXT!$OBJEXT$ac_delim
56557 CPP!$CPP$ac_delim
56558 GREP!$GREP$ac_delim
56559 EGREP!$EGREP$ac_delim
56560 CXX!$CXX$ac_delim
56561 CXXFLAGS!$CXXFLAGS$ac_delim
56562 ac_ct_CXX!$ac_ct_CXX$ac_delim
56563 AR!$AR$ac_delim
56564 OSX_SW_VERS!$OSX_SW_VERS$ac_delim
56565 CXXCPP!$CXXCPP$ac_delim
56566 subdirs!$subdirs$ac_delim
56567 PKG_CONFIG!$PKG_CONFIG$ac_delim
56568 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
56569 GTK_LIBS!$GTK_LIBS$ac_delim
56570 GTK_CONFIG!$GTK_CONFIG$ac_delim
56571 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
56572 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
56573 XMKMF!$XMKMF$ac_delim
56574 X_CFLAGS!$X_CFLAGS$ac_delim
56575 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
56576 X_LIBS!$X_LIBS$ac_delim
56577 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
56578 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
56579 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
56580 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
56581 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
56582 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
56583 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
56584 Xinerama_CFLAGS!$Xinerama_CFLAGS$ac_delim
56585 Xinerama_LIBS!$Xinerama_LIBS$ac_delim
56586 Xxf86vm_CFLAGS!$Xxf86vm_CFLAGS$ac_delim
56587 Xxf86vm_LIBS!$Xxf86vm_LIBS$ac_delim
56588 SM_CFLAGS!$SM_CFLAGS$ac_delim
56589 SM_LIBS!$SM_LIBS$ac_delim
56590 GL_CFLAGS!$GL_CFLAGS$ac_delim
56591 GL_LIBS!$GL_LIBS$ac_delim
56592 GLU_CFLAGS!$GLU_CFLAGS$ac_delim
56593 GLU_LIBS!$GLU_LIBS$ac_delim
56594 MesaGL_CFLAGS!$MesaGL_CFLAGS$ac_delim
56595 MesaGL_LIBS!$MesaGL_LIBS$ac_delim
56596 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
56597 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
56598 LIBICONV!$LIBICONV$ac_delim
56599 GXX_VERSION!$GXX_VERSION$ac_delim
56600 SDL_CONFIG!$SDL_CONFIG$ac_delim
56601 _ACEOF
56602
56603 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
56604 break
56605 elif $ac_last_try; then
56606 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
56607 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
56608 { (exit 1); exit 1; }; }
56609 else
56610 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
56611 fi
56612 done
56613
56614 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
56615 if test -n "$ac_eof"; then
56616 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
56617 ac_eof=`expr $ac_eof + 1`
56618 fi
56619
56620 cat >>$CONFIG_STATUS <<_ACEOF
56621 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
56622 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
56623 _ACEOF
56624 sed '
56625 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
56626 s/^/s,@/; s/!/@,|#_!!_#|/
56627 :n
56628 t n
56629 s/'"$ac_delim"'$/,g/; t
56630 s/$/\\/; p
56631 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
56632 ' >>$CONFIG_STATUS <conf$$subs.sed
56633 rm -f conf$$subs.sed
56634 cat >>$CONFIG_STATUS <<_ACEOF
56635 CEOF$ac_eof
56636 _ACEOF
56637
56638
56639 ac_delim='%!_!# '
56640 for ac_last_try in false false false false false :; do
56641 cat >conf$$subs.sed <<_ACEOF
56642 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
56643 SDL_LIBS!$SDL_LIBS$ac_delim
56644 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
56645 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
56646 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
56647 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
56648 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
56649 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
56650 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
56651 HILDON_LIBS!$HILDON_LIBS$ac_delim
56652 HILDON2_CFLAGS!$HILDON2_CFLAGS$ac_delim
56653 HILDON2_LIBS!$HILDON2_LIBS$ac_delim
56654 PYTHON!$PYTHON$ac_delim
56655 COND_PYTHON!$COND_PYTHON$ac_delim
56656 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
56657 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
56658 GST_CFLAGS!$GST_CFLAGS$ac_delim
56659 GST_LIBS!$GST_LIBS$ac_delim
56660 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
56661 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
56662 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
56663 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
56664 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
56665 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
56666 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
56667 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
56668 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
56669 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
56670 VENDOR!$VENDOR$ac_delim
56671 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
56672 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
56673 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
56674 WXUNIV!$WXUNIV$ac_delim
56675 MONOLITHIC!$MONOLITHIC$ac_delim
56676 USE_PLUGINS!$USE_PLUGINS$ac_delim
56677 CXXWARNINGS!$CXXWARNINGS$ac_delim
56678 EXTRALIBS!$EXTRALIBS$ac_delim
56679 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
56680 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
56681 EXTRALIBS_MEDIA!$EXTRALIBS_MEDIA$ac_delim
56682 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
56683 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
56684 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
56685 EXTRALIBS_STC!$EXTRALIBS_STC$ac_delim
56686 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
56687 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
56688 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
56689 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
56690 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
56691 UNICODE!$UNICODE$ac_delim
56692 DEBUG_INFO!$DEBUG_INFO$ac_delim
56693 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
56694 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
56695 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
56696 DYLIB_RPATH_INSTALL!$DYLIB_RPATH_INSTALL$ac_delim
56697 DYLIB_RPATH_POSTLINK!$DYLIB_RPATH_POSTLINK$ac_delim
56698 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
56699 HEADER_PAD_OPTION!$HEADER_PAD_OPTION$ac_delim
56700 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
56701 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
56702 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
56703 RANLIB!$RANLIB$ac_delim
56704 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
56705 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
56706 INSTALL_DATA!$INSTALL_DATA$ac_delim
56707 LN_S!$LN_S$ac_delim
56708 SET_MAKE!$SET_MAKE$ac_delim
56709 MAKE_SET!$MAKE_SET$ac_delim
56710 AROPTIONS!$AROPTIONS$ac_delim
56711 STRIP!$STRIP$ac_delim
56712 NM!$NM$ac_delim
56713 INSTALL_DIR!$INSTALL_DIR$ac_delim
56714 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
56715 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
56716 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
56717 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
56718 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
56719 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
56720 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
56721 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
56722 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
56723 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
56724 SO_SUFFIX!$SO_SUFFIX$ac_delim
56725 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
56726 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
56727 LIBPREFIX!$LIBPREFIX$ac_delim
56728 LIBEXT!$LIBEXT$ac_delim
56729 DLLPREFIX!$DLLPREFIX$ac_delim
56730 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
56731 dlldir!$dlldir$ac_delim
56732 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
56733 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
56734 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
56735 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
56736 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
56737 PIC_FLAG!$PIC_FLAG$ac_delim
56738 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
56739 _ACEOF
56740
56741 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
56742 break
56743 elif $ac_last_try; then
56744 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
56745 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
56746 { (exit 1); exit 1; }; }
56747 else
56748 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
56749 fi
56750 done
56751
56752 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
56753 if test -n "$ac_eof"; then
56754 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
56755 ac_eof=`expr $ac_eof + 1`
56756 fi
56757
56758 cat >>$CONFIG_STATUS <<_ACEOF
56759 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
56760 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
56761 _ACEOF
56762 sed '
56763 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
56764 s/^/s,@/; s/!/@,|#_!!_#|/
56765 :n
56766 t n
56767 s/'"$ac_delim"'$/,g/; t
56768 s/$/\\/; p
56769 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
56770 ' >>$CONFIG_STATUS <conf$$subs.sed
56771 rm -f conf$$subs.sed
56772 cat >>$CONFIG_STATUS <<_ACEOF
56773 CEOF$ac_eof
56774 _ACEOF
56775
56776
56777 ac_delim='%!_!# '
56778 for ac_last_try in false false false false false :; do
56779 cat >conf$$subs.sed <<_ACEOF
56780 USE_SOVERSION!$USE_SOVERSION$ac_delim
56781 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
56782 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
56783 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
56784 USE_MACVERSION!$USE_MACVERSION$ac_delim
56785 USE_SOTWOSYMLINKS!$USE_SOTWOSYMLINKS$ac_delim
56786 SONAME_FLAG!$SONAME_FLAG$ac_delim
56787 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
56788 BK_DEPS!$BK_DEPS$ac_delim
56789 WINDRES!$WINDRES$ac_delim
56790 REZ!$REZ$ac_delim
56791 SETFILE!$SETFILE$ac_delim
56792 OBJCXXFLAGS!$OBJCXXFLAGS$ac_delim
56793 GCC_PCH!$GCC_PCH$ac_delim
56794 ICC_PCH!$ICC_PCH$ac_delim
56795 ICC_PCH_CREATE_SWITCH!$ICC_PCH_CREATE_SWITCH$ac_delim
56796 ICC_PCH_USE_SWITCH!$ICC_PCH_USE_SWITCH$ac_delim
56797 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
56798 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
56799 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
56800 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
56801 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
56802 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
56803 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
56804 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
56805 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
56806 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
56807 COND_BUILD_debug!$COND_BUILD_debug$ac_delim
56808 COND_BUILD_debug_DEBUG_FLAG_default!$COND_BUILD_debug_DEBUG_FLAG_default$ac_delim
56809 COND_BUILD_debug_DEBUG_INFO_default!$COND_BUILD_debug_DEBUG_INFO_default$ac_delim
56810 COND_BUILD_debug_UNICODE_0!$COND_BUILD_debug_UNICODE_0$ac_delim
56811 COND_BUILD_debug_UNICODE_1!$COND_BUILD_debug_UNICODE_1$ac_delim
56812 COND_BUILD_release!$COND_BUILD_release$ac_delim
56813 COND_BUILD_release_DEBUG_INFO_default!$COND_BUILD_release_DEBUG_INFO_default$ac_delim
56814 COND_BUILD_release_UNICODE_0!$COND_BUILD_release_UNICODE_0$ac_delim
56815 COND_BUILD_release_UNICODE_1!$COND_BUILD_release_UNICODE_1$ac_delim
56816 COND_DEBUG_FLAG_0!$COND_DEBUG_FLAG_0$ac_delim
56817 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
56818 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
56819 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
56820 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
56821 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
56822 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
56823 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
56824 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
56825 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
56826 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
56827 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
56828 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
56829 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
56830 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
56831 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1$ac_delim
56832 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1$ac_delim
56833 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1$ac_delim
56834 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
56835 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
56836 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
56837 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
56838 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
56839 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
56840 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
56841 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
56842 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
56843 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1$ac_delim
56844 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1$ac_delim
56845 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1$ac_delim
56846 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
56847 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
56848 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
56849 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
56850 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
56851 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
56852 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
56853 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
56854 COND_MONOLITHIC_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_USE_PROPGRID_1$ac_delim
56855 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
56856 COND_MONOLITHIC_0_USE_RIBBON_1!$COND_MONOLITHIC_0_USE_RIBBON_1$ac_delim
56857 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
56858 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
56859 COND_MONOLITHIC_0_USE_WEBVIEW_1!$COND_MONOLITHIC_0_USE_WEBVIEW_1$ac_delim
56860 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
56861 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
56862 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
56863 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
56864 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
56865 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
56866 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
56867 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
56868 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
56869 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0!$COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0$ac_delim
56870 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0!$COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0$ac_delim
56871 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
56872 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
56873 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
56874 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
56875 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1$ac_delim
56876 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
56877 _ACEOF
56878
56879 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
56880 break
56881 elif $ac_last_try; then
56882 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
56883 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
56884 { (exit 1); exit 1; }; }
56885 else
56886 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
56887 fi
56888 done
56889
56890 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
56891 if test -n "$ac_eof"; then
56892 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
56893 ac_eof=`expr $ac_eof + 1`
56894 fi
56895
56896 cat >>$CONFIG_STATUS <<_ACEOF
56897 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
56898 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
56899 _ACEOF
56900 sed '
56901 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
56902 s/^/s,@/; s/!/@,|#_!!_#|/
56903 :n
56904 t n
56905 s/'"$ac_delim"'$/,g/; t
56906 s/$/\\/; p
56907 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
56908 ' >>$CONFIG_STATUS <conf$$subs.sed
56909 rm -f conf$$subs.sed
56910 cat >>$CONFIG_STATUS <<_ACEOF
56911 CEOF$ac_eof
56912 _ACEOF
56913
56914
56915 ac_delim='%!_!# '
56916 for ac_last_try in false false false false false :; do
56917 cat >conf$$subs.sed <<_ACEOF
56918 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
56919 COND_PLATFORM_MACOSX_1_USE_OPENGL_1!$COND_PLATFORM_MACOSX_1_USE_OPENGL_1$ac_delim
56920 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
56921 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
56922 COND_PLATFORM_MAC_0!$COND_PLATFORM_MAC_0$ac_delim
56923 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
56924 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
56925 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
56926 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
56927 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
56928 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
56929 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
56930 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
56931 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
56932 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
56933 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
56934 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
56935 COND_PLATFORM_WIN32_1_SHARED_0!$COND_PLATFORM_WIN32_1_SHARED_0$ac_delim
56936 COND_SHARED_0!$COND_SHARED_0$ac_delim
56937 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
56938 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
56939 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
56940 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
56941 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
56942 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
56943 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
56944 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
56945 COND_SHARED_0_wxUSE_EXPAT_builtin!$COND_SHARED_0_wxUSE_EXPAT_builtin$ac_delim
56946 COND_SHARED_0_wxUSE_REGEX_builtin!$COND_SHARED_0_wxUSE_REGEX_builtin$ac_delim
56947 COND_SHARED_0_wxUSE_ZLIB_builtin!$COND_SHARED_0_wxUSE_ZLIB_builtin$ac_delim
56948 COND_SHARED_1!$COND_SHARED_1$ac_delim
56949 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
56950 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
56951 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
56952 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
56953 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
56954 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
56955 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
56956 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
56957 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
56958 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
56959 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
56960 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
56961 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
56962 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
56963 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
56964 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
56965 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
56966 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
56967 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
56968 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
56969 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
56970 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
56971 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
56972 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
56973 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
56974 COND_TOOLKIT_OSX_CARBON!$COND_TOOLKIT_OSX_CARBON$ac_delim
56975 COND_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
56976 COND_TOOLKIT_OSX_COCOA!$COND_TOOLKIT_OSX_COCOA$ac_delim
56977 COND_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
56978 COND_TOOLKIT_OSX_IPHONE!$COND_TOOLKIT_OSX_IPHONE$ac_delim
56979 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1!$COND_TOOLKIT_OSX_IPHONE_USE_GUI_1$ac_delim
56980 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0$ac_delim
56981 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
56982 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
56983 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
56984 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
56985 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
56986 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
56987 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
56988 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
56989 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
56990 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
56991 COND_USE_CAIRO_1!$COND_USE_CAIRO_1$ac_delim
56992 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
56993 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
56994 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
56995 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
56996 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
56997 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
56998 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
56999 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
57000 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
57001 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
57002 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
57003 COND_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
57004 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
57005 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
57006 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
57007 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
57008 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
57009 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
57010 COND_USE_SOTWOSYMLINKS_1!$COND_USE_SOTWOSYMLINKS_1$ac_delim
57011 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
57012 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
57013 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
57014 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1!$COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1$ac_delim
57015 _ACEOF
57016
57017 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
57018 break
57019 elif $ac_last_try; then
57020 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
57021 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
57022 { (exit 1); exit 1; }; }
57023 else
57024 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
57025 fi
57026 done
57027
57028 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
57029 if test -n "$ac_eof"; then
57030 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
57031 ac_eof=`expr $ac_eof + 1`
57032 fi
57033
57034 cat >>$CONFIG_STATUS <<_ACEOF
57035 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
57036 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
57037 _ACEOF
57038 sed '
57039 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
57040 s/^/s,@/; s/!/@,|#_!!_#|/
57041 :n
57042 t n
57043 s/'"$ac_delim"'$/,g/; t
57044 s/$/\\/; p
57045 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
57046 ' >>$CONFIG_STATUS <conf$$subs.sed
57047 rm -f conf$$subs.sed
57048 cat >>$CONFIG_STATUS <<_ACEOF
57049 CEOF$ac_eof
57050 _ACEOF
57051
57052
57053 ac_delim='%!_!# '
57054 for ac_last_try in false false false false false :; do
57055 cat >conf$$subs.sed <<_ACEOF
57056 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
57057 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
57058 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
57059 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
57060 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
57061 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
57062 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
57063 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
57064 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
57065 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
57066 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
57067 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
57068 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
57069 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
57070 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
57071 COND_wxUSE_EXPAT_builtin!$COND_wxUSE_EXPAT_builtin$ac_delim
57072 COND_wxUSE_LIBJPEG_builtin!$COND_wxUSE_LIBJPEG_builtin$ac_delim
57073 COND_wxUSE_LIBPNG_builtin!$COND_wxUSE_LIBPNG_builtin$ac_delim
57074 COND_wxUSE_LIBTIFF_builtin!$COND_wxUSE_LIBTIFF_builtin$ac_delim
57075 COND_wxUSE_REGEX_builtin!$COND_wxUSE_REGEX_builtin$ac_delim
57076 COND_wxUSE_ZLIB_builtin!$COND_wxUSE_ZLIB_builtin$ac_delim
57077 DEREZ!$DEREZ$ac_delim
57078 SHARED!$SHARED$ac_delim
57079 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
57080 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
57081 USE_GUI!$USE_GUI$ac_delim
57082 AFMINSTALL!$AFMINSTALL$ac_delim
57083 WIN32INSTALL!$WIN32INSTALL$ac_delim
57084 TOOLKIT!$TOOLKIT$ac_delim
57085 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
57086 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
57087 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
57088 cross_compiling!$cross_compiling$ac_delim
57089 WIDGET_SET!$WIDGET_SET$ac_delim
57090 WX_RELEASE!$WX_RELEASE$ac_delim
57091 WX_VERSION!$WX_VERSION$ac_delim
57092 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
57093 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
57094 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
57095 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
57096 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
57097 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
57098 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
57099 WXCONFIG_LDFLAGS!$WXCONFIG_LDFLAGS$ac_delim
57100 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
57101 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
57102 GUIDIST!$GUIDIST$ac_delim
57103 DISTDIR!$DISTDIR$ac_delim
57104 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
57105 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
57106 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
57107 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
57108 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
57109 RESCOMP!$RESCOMP$ac_delim
57110 RESFLAGS!$RESFLAGS$ac_delim
57111 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
57112 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
57113 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
57114 LIBWXMACRES!$LIBWXMACRES$ac_delim
57115 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
57116 MACSETFILE!$MACSETFILE$ac_delim
57117 GCC!$GCC$ac_delim
57118 DLLTOOL!$DLLTOOL$ac_delim
57119 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
57120 LIBOBJS!$LIBOBJS$ac_delim
57121 LTLIBOBJS!$LTLIBOBJS$ac_delim
57122 _ACEOF
57123
57124 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 66; then
57125 break
57126 elif $ac_last_try; then
57127 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
57128 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
57129 { (exit 1); exit 1; }; }
57130 else
57131 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
57132 fi
57133 done
57134
57135 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
57136 if test -n "$ac_eof"; then
57137 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
57138 ac_eof=`expr $ac_eof + 1`
57139 fi
57140
57141 cat >>$CONFIG_STATUS <<_ACEOF
57142 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
57143 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
57144 _ACEOF
57145 sed '
57146 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
57147 s/^/s,@/; s/!/@,|#_!!_#|/
57148 :n
57149 t n
57150 s/'"$ac_delim"'$/,g/; t
57151 s/$/\\/; p
57152 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
57153 ' >>$CONFIG_STATUS <conf$$subs.sed
57154 rm -f conf$$subs.sed
57155 cat >>$CONFIG_STATUS <<_ACEOF
57156 :end
57157 s/|#_!!_#|//g
57158 CEOF$ac_eof
57159 _ACEOF
57160
57161
57162 # VPATH may cause trouble with some makes, so we remove $(srcdir),
57163 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
57164 # trailing colons and then remove the whole line if VPATH becomes empty
57165 # (actually we leave an empty line to preserve line numbers).
57166 if test "x$srcdir" = x.; then
57167 ac_vpsub='/^[ ]*VPATH[ ]*=/{
57168 s/:*\$(srcdir):*/:/
57169 s/:*\${srcdir}:*/:/
57170 s/:*@srcdir@:*/:/
57171 s/^\([^=]*=[ ]*\):*/\1/
57172 s/:*$//
57173 s/^[^=]*=[ ]*$//
57174 }'
57175 fi
57176
57177 cat >>$CONFIG_STATUS <<\_ACEOF
57178 fi # test -n "$CONFIG_FILES"
57179
57180
57181 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
57182 do
57183 case $ac_tag in
57184 :[FHLC]) ac_mode=$ac_tag; continue;;
57185 esac
57186 case $ac_mode$ac_tag in
57187 :[FHL]*:*);;
57188 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
57189 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
57190 { (exit 1); exit 1; }; };;
57191 :[FH]-) ac_tag=-:-;;
57192 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
57193 esac
57194 ac_save_IFS=$IFS
57195 IFS=:
57196 set x $ac_tag
57197 IFS=$ac_save_IFS
57198 shift
57199 ac_file=$1
57200 shift
57201
57202 case $ac_mode in
57203 :L) ac_source=$1;;
57204 :[FH])
57205 ac_file_inputs=
57206 for ac_f
57207 do
57208 case $ac_f in
57209 -) ac_f="$tmp/stdin";;
57210 *) # Look for the file first in the build tree, then in the source tree
57211 # (if the path is not absolute). The absolute path cannot be DOS-style,
57212 # because $ac_f cannot contain `:'.
57213 test -f "$ac_f" ||
57214 case $ac_f in
57215 [\\/$]*) false;;
57216 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
57217 esac ||
57218 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
57219 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
57220 { (exit 1); exit 1; }; };;
57221 esac
57222 ac_file_inputs="$ac_file_inputs $ac_f"
57223 done
57224
57225 # Let's still pretend it is `configure' which instantiates (i.e., don't
57226 # use $as_me), people would be surprised to read:
57227 # /* config.h. Generated by config.status. */
57228 configure_input="Generated from "`IFS=:
57229 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
57230 if test x"$ac_file" != x-; then
57231 configure_input="$ac_file. $configure_input"
57232 { echo "$as_me:$LINENO: creating $ac_file" >&5
57233 echo "$as_me: creating $ac_file" >&6;}
57234 fi
57235
57236 case $ac_tag in
57237 *:-:* | *:-) cat >"$tmp/stdin";;
57238 esac
57239 ;;
57240 esac
57241
57242 ac_dir=`$as_dirname -- "$ac_file" ||
57243 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
57244 X"$ac_file" : 'X\(//\)[^/]' \| \
57245 X"$ac_file" : 'X\(//\)$' \| \
57246 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
57247 echo X"$ac_file" |
57248 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
57249 s//\1/
57250 q
57251 }
57252 /^X\(\/\/\)[^/].*/{
57253 s//\1/
57254 q
57255 }
57256 /^X\(\/\/\)$/{
57257 s//\1/
57258 q
57259 }
57260 /^X\(\/\).*/{
57261 s//\1/
57262 q
57263 }
57264 s/.*/./; q'`
57265 { as_dir="$ac_dir"
57266 case $as_dir in #(
57267 -*) as_dir=./$as_dir;;
57268 esac
57269 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
57270 as_dirs=
57271 while :; do
57272 case $as_dir in #(
57273 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
57274 *) as_qdir=$as_dir;;
57275 esac
57276 as_dirs="'$as_qdir' $as_dirs"
57277 as_dir=`$as_dirname -- "$as_dir" ||
57278 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
57279 X"$as_dir" : 'X\(//\)[^/]' \| \
57280 X"$as_dir" : 'X\(//\)$' \| \
57281 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
57282 echo X"$as_dir" |
57283 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
57284 s//\1/
57285 q
57286 }
57287 /^X\(\/\/\)[^/].*/{
57288 s//\1/
57289 q
57290 }
57291 /^X\(\/\/\)$/{
57292 s//\1/
57293 q
57294 }
57295 /^X\(\/\).*/{
57296 s//\1/
57297 q
57298 }
57299 s/.*/./; q'`
57300 test -d "$as_dir" && break
57301 done
57302 test -z "$as_dirs" || eval "mkdir $as_dirs"
57303 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
57304 echo "$as_me: error: cannot create directory $as_dir" >&2;}
57305 { (exit 1); exit 1; }; }; }
57306 ac_builddir=.
57307
57308 case "$ac_dir" in
57309 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
57310 *)
57311 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
57312 # A ".." for each directory in $ac_dir_suffix.
57313 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
57314 case $ac_top_builddir_sub in
57315 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
57316 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
57317 esac ;;
57318 esac
57319 ac_abs_top_builddir=$ac_pwd
57320 ac_abs_builddir=$ac_pwd$ac_dir_suffix
57321 # for backward compatibility:
57322 ac_top_builddir=$ac_top_build_prefix
57323
57324 case $srcdir in
57325 .) # We are building in place.
57326 ac_srcdir=.
57327 ac_top_srcdir=$ac_top_builddir_sub
57328 ac_abs_top_srcdir=$ac_pwd ;;
57329 [\\/]* | ?:[\\/]* ) # Absolute name.
57330 ac_srcdir=$srcdir$ac_dir_suffix;
57331 ac_top_srcdir=$srcdir
57332 ac_abs_top_srcdir=$srcdir ;;
57333 *) # Relative name.
57334 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
57335 ac_top_srcdir=$ac_top_build_prefix$srcdir
57336 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
57337 esac
57338 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
57339
57340
57341 case $ac_mode in
57342 :F)
57343 #
57344 # CONFIG_FILE
57345 #
57346
57347 case $INSTALL in
57348 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
57349 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
57350 esac
57351 _ACEOF
57352
57353 cat >>$CONFIG_STATUS <<\_ACEOF
57354 # If the template does not know about datarootdir, expand it.
57355 # FIXME: This hack should be removed a few years after 2.60.
57356 ac_datarootdir_hack=; ac_datarootdir_seen=
57357
57358 case `sed -n '/datarootdir/ {
57359 p
57360 q
57361 }
57362 /@datadir@/p
57363 /@docdir@/p
57364 /@infodir@/p
57365 /@localedir@/p
57366 /@mandir@/p
57367 ' $ac_file_inputs` in
57368 *datarootdir*) ac_datarootdir_seen=yes;;
57369 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
57370 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
57371 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
57372 _ACEOF
57373 cat >>$CONFIG_STATUS <<_ACEOF
57374 ac_datarootdir_hack='
57375 s&@datadir@&$datadir&g
57376 s&@docdir@&$docdir&g
57377 s&@infodir@&$infodir&g
57378 s&@localedir@&$localedir&g
57379 s&@mandir@&$mandir&g
57380 s&\\\${datarootdir}&$datarootdir&g' ;;
57381 esac
57382 _ACEOF
57383
57384 # Neutralize VPATH when `$srcdir' = `.'.
57385 # Shell code in configure.ac might set extrasub.
57386 # FIXME: do we really want to maintain this feature?
57387 cat >>$CONFIG_STATUS <<_ACEOF
57388 sed "$ac_vpsub
57389 $extrasub
57390 _ACEOF
57391 cat >>$CONFIG_STATUS <<\_ACEOF
57392 :t
57393 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
57394 s&@configure_input@&$configure_input&;t t
57395 s&@top_builddir@&$ac_top_builddir_sub&;t t
57396 s&@srcdir@&$ac_srcdir&;t t
57397 s&@abs_srcdir@&$ac_abs_srcdir&;t t
57398 s&@top_srcdir@&$ac_top_srcdir&;t t
57399 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
57400 s&@builddir@&$ac_builddir&;t t
57401 s&@abs_builddir@&$ac_abs_builddir&;t t
57402 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
57403 s&@INSTALL@&$ac_INSTALL&;t t
57404 $ac_datarootdir_hack
57405 " $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
57406
57407 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
57408 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
57409 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
57410 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
57411 which seems to be undefined. Please make sure it is defined." >&5
57412 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
57413 which seems to be undefined. Please make sure it is defined." >&2;}
57414
57415 rm -f "$tmp/stdin"
57416 case $ac_file in
57417 -) cat "$tmp/out"; rm -f "$tmp/out";;
57418 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
57419 esac
57420 ;;
57421 :H)
57422 #
57423 # CONFIG_HEADER
57424 #
57425 _ACEOF
57426
57427 # Transform confdefs.h into a sed script `conftest.defines', that
57428 # substitutes the proper values into config.h.in to produce config.h.
57429 rm -f conftest.defines conftest.tail
57430 # First, append a space to every undef/define line, to ease matching.
57431 echo 's/$/ /' >conftest.defines
57432 # Then, protect against being on the right side of a sed subst, or in
57433 # an unquoted here document, in config.status. If some macros were
57434 # called several times there might be several #defines for the same
57435 # symbol, which is useless. But do not sort them, since the last
57436 # AC_DEFINE must be honored.
57437 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
57438 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
57439 # NAME is the cpp macro being defined, VALUE is the value it is being given.
57440 # PARAMS is the parameter list in the macro definition--in most cases, it's
57441 # just an empty string.
57442 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
57443 ac_dB='\\)[ (].*,\\1define\\2'
57444 ac_dC=' '
57445 ac_dD=' ,'
57446
57447 uniq confdefs.h |
57448 sed -n '
57449 t rset
57450 :rset
57451 s/^[ ]*#[ ]*define[ ][ ]*//
57452 t ok
57453 d
57454 :ok
57455 s/[\\&,]/\\&/g
57456 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
57457 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
57458 ' >>conftest.defines
57459
57460 # Remove the space that was appended to ease matching.
57461 # Then replace #undef with comments. This is necessary, for
57462 # example, in the case of _POSIX_SOURCE, which is predefined and required
57463 # on some systems where configure will not decide to define it.
57464 # (The regexp can be short, since the line contains either #define or #undef.)
57465 echo 's/ $//
57466 s,^[ #]*u.*,/* & */,' >>conftest.defines
57467
57468 # Break up conftest.defines:
57469 ac_max_sed_lines=50
57470
57471 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
57472 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
57473 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
57474 # et cetera.
57475 ac_in='$ac_file_inputs'
57476 ac_out='"$tmp/out1"'
57477 ac_nxt='"$tmp/out2"'
57478
57479 while :
57480 do
57481 # Write a here document:
57482 cat >>$CONFIG_STATUS <<_ACEOF
57483 # First, check the format of the line:
57484 cat >"\$tmp/defines.sed" <<\\CEOF
57485 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
57486 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
57487 b
57488 :def
57489 _ACEOF
57490 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
57491 echo 'CEOF
57492 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
57493 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
57494 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
57495 grep . conftest.tail >/dev/null || break
57496 rm -f conftest.defines
57497 mv conftest.tail conftest.defines
57498 done
57499 rm -f conftest.defines conftest.tail
57500
57501 echo "ac_result=$ac_in" >>$CONFIG_STATUS
57502 cat >>$CONFIG_STATUS <<\_ACEOF
57503 if test x"$ac_file" != x-; then
57504 echo "/* $configure_input */" >"$tmp/config.h"
57505 cat "$ac_result" >>"$tmp/config.h"
57506 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
57507 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
57508 echo "$as_me: $ac_file is unchanged" >&6;}
57509 else
57510 rm -f $ac_file
57511 mv "$tmp/config.h" $ac_file
57512 fi
57513 else
57514 echo "/* $configure_input */"
57515 cat "$ac_result"
57516 fi
57517 rm -f "$tmp/out12"
57518 ;;
57519
57520 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
57521 echo "$as_me: executing $ac_file commands" >&6;}
57522 ;;
57523 esac
57524
57525
57526 case $ac_file$ac_mode in
57527 "rcdefs.h":C)
57528 mkdir -p $outdir &&
57529 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
57530 ;;
57531 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
57532 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
57533 "utils/ifacecheck/rungccxml.sh":F) chmod +x utils/ifacecheck/rungccxml.sh ;;
57534 "wx-config":C) rm -f wx-config
57535 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
57536 ;;
57537
57538 esac
57539 done # for ac_tag
57540
57541
57542 { (exit 0); exit 0; }
57543 _ACEOF
57544 chmod +x $CONFIG_STATUS
57545 ac_clean_files=$ac_clean_files_save
57546
57547
57548 # configure is writing to config.log, and then calls config.status.
57549 # config.status does its own redirection, appending to config.log.
57550 # Unfortunately, on DOS this fails, as config.log is still kept open
57551 # by configure, so config.status won't be able to write to it; its
57552 # output is simply discarded. So we exec the FD to /dev/null,
57553 # effectively closing config.log, so it can be properly (re)opened and
57554 # appended to by config.status. When coming back to configure, we
57555 # need to make the FD available again.
57556 if test "$no_create" != yes; then
57557 ac_cs_success=:
57558 ac_config_status_args=
57559 test "$silent" = yes &&
57560 ac_config_status_args="$ac_config_status_args --quiet"
57561 exec 5>/dev/null
57562 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
57563 exec 5>>config.log
57564 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
57565 # would make configure fail if this is the last instruction.
57566 $ac_cs_success || { (exit 1); exit 1; }
57567 fi
57568
57569 #
57570 # CONFIG_SUBDIRS section.
57571 #
57572 if test "$no_recursion" != yes; then
57573
57574 # Remove --cache-file and --srcdir arguments so they do not pile up.
57575 ac_sub_configure_args=
57576 ac_prev=
57577 eval "set x $ac_configure_args"
57578 shift
57579 for ac_arg
57580 do
57581 if test -n "$ac_prev"; then
57582 ac_prev=
57583 continue
57584 fi
57585 case $ac_arg in
57586 -cache-file | --cache-file | --cache-fil | --cache-fi \
57587 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
57588 ac_prev=cache_file ;;
57589 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
57590 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
57591 | --c=*)
57592 ;;
57593 --config-cache | -C)
57594 ;;
57595 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
57596 ac_prev=srcdir ;;
57597 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
57598 ;;
57599 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
57600 ac_prev=prefix ;;
57601 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
57602 ;;
57603 *)
57604 case $ac_arg in
57605 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
57606 esac
57607 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
57608 esac
57609 done
57610
57611 # Always prepend --prefix to ensure using the same prefix
57612 # in subdir configurations.
57613 ac_arg="--prefix=$prefix"
57614 case $ac_arg in
57615 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
57616 esac
57617 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
57618
57619 # Pass --silent
57620 if test "$silent" = yes; then
57621 ac_sub_configure_args="--silent $ac_sub_configure_args"
57622 fi
57623
57624 ac_popdir=`pwd`
57625 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
57626
57627 # Do not complain, so a configure script can configure whichever
57628 # parts of a large source tree are present.
57629 test -d "$srcdir/$ac_dir" || continue
57630
57631 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
57632 echo "$as_me:$LINENO: $ac_msg" >&5
57633 echo "$ac_msg" >&6
57634 { as_dir="$ac_dir"
57635 case $as_dir in #(
57636 -*) as_dir=./$as_dir;;
57637 esac
57638 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
57639 as_dirs=
57640 while :; do
57641 case $as_dir in #(
57642 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
57643 *) as_qdir=$as_dir;;
57644 esac
57645 as_dirs="'$as_qdir' $as_dirs"
57646 as_dir=`$as_dirname -- "$as_dir" ||
57647 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
57648 X"$as_dir" : 'X\(//\)[^/]' \| \
57649 X"$as_dir" : 'X\(//\)$' \| \
57650 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
57651 echo X"$as_dir" |
57652 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
57653 s//\1/
57654 q
57655 }
57656 /^X\(\/\/\)[^/].*/{
57657 s//\1/
57658 q
57659 }
57660 /^X\(\/\/\)$/{
57661 s//\1/
57662 q
57663 }
57664 /^X\(\/\).*/{
57665 s//\1/
57666 q
57667 }
57668 s/.*/./; q'`
57669 test -d "$as_dir" && break
57670 done
57671 test -z "$as_dirs" || eval "mkdir $as_dirs"
57672 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
57673 echo "$as_me: error: cannot create directory $as_dir" >&2;}
57674 { (exit 1); exit 1; }; }; }
57675 ac_builddir=.
57676
57677 case "$ac_dir" in
57678 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
57679 *)
57680 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
57681 # A ".." for each directory in $ac_dir_suffix.
57682 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
57683 case $ac_top_builddir_sub in
57684 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
57685 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
57686 esac ;;
57687 esac
57688 ac_abs_top_builddir=$ac_pwd
57689 ac_abs_builddir=$ac_pwd$ac_dir_suffix
57690 # for backward compatibility:
57691 ac_top_builddir=$ac_top_build_prefix
57692
57693 case $srcdir in
57694 .) # We are building in place.
57695 ac_srcdir=.
57696 ac_top_srcdir=$ac_top_builddir_sub
57697 ac_abs_top_srcdir=$ac_pwd ;;
57698 [\\/]* | ?:[\\/]* ) # Absolute name.
57699 ac_srcdir=$srcdir$ac_dir_suffix;
57700 ac_top_srcdir=$srcdir
57701 ac_abs_top_srcdir=$srcdir ;;
57702 *) # Relative name.
57703 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
57704 ac_top_srcdir=$ac_top_build_prefix$srcdir
57705 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
57706 esac
57707 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
57708
57709
57710 cd "$ac_dir"
57711
57712 # Check for guested configure; otherwise get Cygnus style configure.
57713 if test -f "$ac_srcdir/configure.gnu"; then
57714 ac_sub_configure=$ac_srcdir/configure.gnu
57715 elif test -f "$ac_srcdir/configure"; then
57716 ac_sub_configure=$ac_srcdir/configure
57717 elif test -f "$ac_srcdir/configure.in"; then
57718 # This should be Cygnus configure.
57719 ac_sub_configure=$ac_aux_dir/configure
57720 else
57721 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
57722 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
57723 ac_sub_configure=
57724 fi
57725
57726 # The recursion is here.
57727 if test -n "$ac_sub_configure"; then
57728 # Make the cache file name correct relative to the subdirectory.
57729 case $cache_file in
57730 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
57731 *) # Relative name.
57732 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
57733 esac
57734
57735 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
57736 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
57737 # The eval makes quoting arguments work.
57738 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
57739 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
57740 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
57741 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
57742 { (exit 1); exit 1; }; }
57743 fi
57744
57745 cd "$ac_popdir"
57746 done
57747 fi
57748
57749
57750 echo
57751 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
57752 echo ""
57753 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
57754 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
57755 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
57756 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
57757 if test "$wxUSE_UNICODE" = "yes"; then
57758 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
57759 echo " (using UTF-8)"
57760 else
57761 echo " (using wchar_t)"
57762 fi
57763 else
57764 echo
57765 fi
57766
57767 echo " What level of wxWidgets compatibility should be enabled?"
57768 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
57769 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
57770
57771 echo " Which libraries should wxWidgets use?"
57772 echo " STL ${wxUSE_STL}"
57773 echo " jpeg ${wxUSE_LIBJPEG-none}"
57774 echo " png ${wxUSE_LIBPNG-none}"
57775 echo " regex ${wxUSE_REGEX}"
57776 echo " tiff ${wxUSE_LIBTIFF-none}"
57777 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
57778 echo " xpm ${wxUSE_LIBXPM-none}"
57779 fi
57780 echo " zlib ${wxUSE_ZLIB}"
57781 echo " expat ${wxUSE_EXPAT}"
57782 echo " libmspack ${wxUSE_LIBMSPACK}"
57783 echo " sdl ${wxUSE_LIBSDL}"
57784
57785 echo ""
57786