]> git.saurik.com Git - wxWidgets.git/blob - configure
Add minimal support for building non-GUI parts of wxWidgets for Android.
[wxWidgets.git] / configure
1 #! /bin/sh
2 # From configure.in Id: configure.in 70353 2012-01-15 14:46:41Z VZ .
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 WEBKIT_CFLAGS
731 WEBKIT_LIBS
732 CAIRO_CFLAGS
733 CAIRO_LIBS
734 GST_CFLAGS
735 GST_LIBS
736 ALL_WX_LIBS
737 BUILT_WX_LIBS
738 STD_BASE_LIBS
739 STD_GUI_LIBS
740 wxUSE_ZLIB
741 wxUSE_REGEX
742 wxUSE_EXPAT
743 wxUSE_LIBJPEG
744 wxUSE_LIBPNG
745 wxUSE_LIBTIFF
746 VENDOR
747 OFFICIAL_BUILD
748 WX_FLAVOUR
749 WX_LIB_FLAVOUR
750 WXUNIV
751 MONOLITHIC
752 USE_PLUGINS
753 CXXWARNINGS
754 EXTRALIBS
755 EXTRALIBS_XML
756 EXTRALIBS_HTML
757 EXTRALIBS_MEDIA
758 EXTRALIBS_GUI
759 EXTRALIBS_OPENGL
760 EXTRALIBS_SDL
761 EXTRALIBS_STC
762 WITH_PLUGIN_SDL
763 EXTRALIBS_GTKPRINT
764 EXTRALIBS_GNOMEPRINT
765 EXTRALIBS_GNOMEVFS
766 EXTRALIBS_HILDON
767 UNICODE
768 DEBUG_INFO
769 DEBUG_FLAG
770 TOOLKIT_LOWERCASE
771 TOOLKIT_VERSION
772 DYLIB_RPATH_INSTALL
773 DYLIB_RPATH_POSTLINK
774 SAMPLES_RPATH_FLAG
775 HEADER_PAD_OPTION
776 HOST_SUFFIX
777 CPPUNIT_CFLAGS
778 CPPUNIT_LIBS
779 RANLIB
780 INSTALL_PROGRAM
781 INSTALL_SCRIPT
782 INSTALL_DATA
783 LN_S
784 SET_MAKE
785 MAKE_SET
786 AROPTIONS
787 STRIP
788 NM
789 INSTALL_DIR
790 LDFLAGS_GUI
791 IF_GNU_MAKE
792 PLATFORM_UNIX
793 PLATFORM_WIN32
794 PLATFORM_MSDOS
795 PLATFORM_MAC
796 PLATFORM_MACOS
797 PLATFORM_MACOSX
798 PLATFORM_OS2
799 PLATFORM_BEOS
800 SO_SUFFIX
801 SO_SUFFIX_MODULE
802 DLLIMP_SUFFIX
803 LIBPREFIX
804 LIBEXT
805 DLLPREFIX
806 DLLPREFIX_MODULE
807 dlldir
808 AIX_CXX_LD
809 SHARED_LD_CC
810 SHARED_LD_CXX
811 SHARED_LD_MODULE_CC
812 SHARED_LD_MODULE_CXX
813 PIC_FLAG
814 WINDOWS_IMPLIB
815 USE_SOVERSION
816 USE_SOVERLINUX
817 USE_SOVERSOLARIS
818 USE_SOVERCYGWIN
819 USE_MACVERSION
820 USE_SOTWOSYMLINKS
821 SONAME_FLAG
822 DEPS_TRACKING
823 BK_DEPS
824 WINDRES
825 REZ
826 SETFILE
827 OBJCXXFLAGS
828 GCC_PCH
829 ICC_PCH
830 ICC_PCH_CREATE_SWITCH
831 ICC_PCH_USE_SWITCH
832 BK_MAKE_PCH
833 COND_BUILD_DEBUG
834 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
835 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
836 COND_BUILD_DEBUG_UNICODE_0
837 COND_BUILD_DEBUG_UNICODE_1
838 COND_BUILD_RELEASE
839 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
840 COND_BUILD_RELEASE_UNICODE_0
841 COND_BUILD_RELEASE_UNICODE_1
842 COND_BUILD_debug
843 COND_BUILD_debug_DEBUG_FLAG_default
844 COND_BUILD_debug_DEBUG_INFO_default
845 COND_BUILD_debug_UNICODE_0
846 COND_BUILD_debug_UNICODE_1
847 COND_BUILD_release
848 COND_BUILD_release_DEBUG_INFO_default
849 COND_BUILD_release_UNICODE_0
850 COND_BUILD_release_UNICODE_1
851 COND_DEBUG_FLAG_0
852 COND_DEBUG_FLAG_1
853 COND_DEBUG_INFO_0
854 COND_DEBUG_INFO_1
855 COND_DEPS_TRACKING_0
856 COND_DEPS_TRACKING_1
857 COND_GCC_PCH_1
858 COND_ICC_PCH_1
859 COND_MONOLITHIC_0
860 COND_MONOLITHIC_0_SHARED_0
861 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
862 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
863 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
864 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
865 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
866 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1
867 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
868 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1
869 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
870 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
871 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
872 COND_MONOLITHIC_0_SHARED_1
873 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
874 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
875 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
876 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
877 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
878 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1
879 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
880 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1
881 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
882 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
883 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
884 COND_MONOLITHIC_0_USE_AUI_1
885 COND_MONOLITHIC_0_USE_GUI_1
886 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
887 COND_MONOLITHIC_0_USE_HTML_1
888 COND_MONOLITHIC_0_USE_MEDIA_1
889 COND_MONOLITHIC_0_USE_PROPGRID_1
890 COND_MONOLITHIC_0_USE_QA_1
891 COND_MONOLITHIC_0_USE_RIBBON_1
892 COND_MONOLITHIC_0_USE_RICHTEXT_1
893 COND_MONOLITHIC_0_USE_STC_1
894 COND_MONOLITHIC_0_USE_WEBVIEW_1
895 COND_MONOLITHIC_0_USE_XRC_1
896 COND_MONOLITHIC_1
897 COND_MONOLITHIC_1_SHARED_0
898 COND_MONOLITHIC_1_SHARED_1
899 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
900 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
901 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
902 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
903 COND_PLATFORM_MACOSX_1
904 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
905 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0
906 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
907 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
908 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
909 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
910 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1
911 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
912 COND_PLATFORM_MACOSX_1_USE_GUI_1
913 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
914 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
915 COND_PLATFORM_MACOS_1
916 COND_PLATFORM_MAC_0
917 COND_PLATFORM_MAC_1
918 COND_PLATFORM_MSDOS_0
919 COND_PLATFORM_MSDOS_1
920 COND_PLATFORM_OS2_1
921 COND_PLATFORM_UNIX_0
922 COND_PLATFORM_UNIX_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_MOTIF
958 COND_TOOLKIT_MOTIF_USE_GUI_1
959 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
960 COND_TOOLKIT_MSW
961 COND_TOOLKIT_MSW_USE_GUI_1
962 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
963 COND_TOOLKIT_MSW_WXUNIV_0
964 COND_TOOLKIT_OSX_CARBON
965 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
966 COND_TOOLKIT_OSX_COCOA
967 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
968 COND_TOOLKIT_OSX_IPHONE
969 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1
970 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
971 COND_TOOLKIT_PM
972 COND_TOOLKIT_PM_USE_GUI_1
973 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
974 COND_TOOLKIT_WINCE
975 COND_TOOLKIT_WINCE_USE_GUI_1
976 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
977 COND_TOOLKIT_WINCE_WXUNIV_0
978 COND_TOOLKIT_X11
979 COND_TOOLKIT_X11_USE_GUI_1
980 COND_UNICODE_1
981 COND_USE_CAIRO_1
982 COND_USE_EXCEPTIONS_0
983 COND_USE_EXCEPTIONS_1
984 COND_USE_GUI_0
985 COND_USE_GUI_1
986 COND_USE_GUI_1_USE_OPENGL_1
987 COND_USE_GUI_1_WXUNIV_0
988 COND_USE_GUI_1_WXUNIV_1
989 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
990 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
991 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
992 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
993 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
994 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
995 COND_USE_OPENGL_1
996 COND_USE_PCH_1
997 COND_USE_PLUGINS_0
998 COND_USE_RTTI_0
999 COND_USE_RTTI_1
1000 COND_USE_SOTWOSYMLINKS_1
1001 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
1002 COND_USE_SOVERLINUX_1
1003 COND_USE_SOVERSION_0
1004 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1
1005 COND_USE_SOVERSOLARIS_1
1006 COND_USE_STC_1
1007 COND_USE_THREADS_0
1008 COND_USE_THREADS_1
1009 COND_USE_XRC_1
1010 COND_WINDOWS_IMPLIB_1
1011 COND_WITH_PLUGIN_SDL_1
1012 COND_WXUNIV_0
1013 COND_WXUNIV_1
1014 COND_WXUSE_EXPAT_BUILTIN
1015 COND_WXUSE_LIBJPEG_BUILTIN
1016 COND_WXUSE_LIBPNG_BUILTIN
1017 COND_WXUSE_LIBTIFF_BUILTIN
1018 COND_WXUSE_REGEX_BUILTIN
1019 COND_WXUSE_ZLIB_BUILTIN
1020 COND_wxUSE_EXPAT_builtin
1021 COND_wxUSE_LIBJPEG_builtin
1022 COND_wxUSE_LIBPNG_builtin
1023 COND_wxUSE_LIBTIFF_builtin
1024 COND_wxUSE_REGEX_builtin
1025 COND_wxUSE_ZLIB_builtin
1026 DEREZ
1027 SHARED
1028 WX_LIBRARY_BASENAME_NOGUI
1029 WX_LIBRARY_BASENAME_GUI
1030 USE_GUI
1031 AFMINSTALL
1032 WIN32INSTALL
1033 TOOLKIT
1034 TOOLKIT_DIR
1035 TOOLCHAIN_NAME
1036 TOOLCHAIN_FULLNAME
1037 cross_compiling
1038 WIDGET_SET
1039 WX_RELEASE
1040 WX_VERSION
1041 WX_SUBVERSION
1042 WX_CHARTYPE
1043 WXCONFIG_CPPFLAGS
1044 WXCONFIG_CFLAGS
1045 WXCONFIG_CXXFLAGS
1046 WXCONFIG_LIBS
1047 WXCONFIG_RPATH
1048 WXCONFIG_LDFLAGS
1049 WXCONFIG_LDFLAGS_GUI
1050 WXCONFIG_RESFLAGS
1051 GUIDIST
1052 DISTDIR
1053 SAMPLES_SUBDIRS
1054 LDFLAGS_GL
1055 OPENGL_LIBS
1056 DMALLOC_LIBS
1057 WX_VERSION_TAG
1058 RESCOMP
1059 RESFLAGS
1060 RESPROGRAMOBJ
1061 WX_RESOURCES_MACOSX_ASCII
1062 WX_RESOURCES_MACOSX_DATA
1063 LIBWXMACRES
1064 POSTLINK_COMMAND
1065 MACSETFILE
1066 GCC
1067 DLLTOOL
1068 CPPUNIT_CONFIG
1069 LIBOBJS
1070 LTLIBOBJS'
1071 ac_subst_files=''
1072 ac_precious_vars='build_alias
1073 host_alias
1074 target_alias
1075 CC
1076 CFLAGS
1077 LDFLAGS
1078 LIBS
1079 CPPFLAGS
1080 CPP
1081 CXX
1082 CXXFLAGS
1083 CCC
1084 CXXCPP
1085 PKG_CONFIG
1086 DIRECTFB_CFLAGS
1087 DIRECTFB_LIBS
1088 XMKMF
1089 PANGOX_CFLAGS
1090 PANGOX_LIBS
1091 PANGOFT2_CFLAGS
1092 PANGOFT2_LIBS
1093 PANGOXFT_CFLAGS
1094 PANGOXFT_LIBS
1095 Xinerama_CFLAGS
1096 Xinerama_LIBS
1097 Xxf86vm_CFLAGS
1098 Xxf86vm_LIBS
1099 SM_CFLAGS
1100 SM_LIBS
1101 GL_CFLAGS
1102 GL_LIBS
1103 GLU_CFLAGS
1104 GLU_LIBS
1105 MesaGL_CFLAGS
1106 MesaGL_LIBS
1107 GTKPRINT_CFLAGS
1108 GTKPRINT_LIBS
1109 LIBGNOMEPRINTUI_CFLAGS
1110 LIBGNOMEPRINTUI_LIBS
1111 GNOMEVFS_CFLAGS
1112 GNOMEVFS_LIBS
1113 HILDON_CFLAGS
1114 HILDON_LIBS
1115 HILDON2_CFLAGS
1116 HILDON2_LIBS
1117 WEBKIT_CFLAGS
1118 WEBKIT_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-directfb use DirectFB
1984 --with-microwin use MicroWindows
1985 --with-x11 use X11
1986 --with-libpng use libpng (PNG image format)
1987 --with-libjpeg use libjpeg (JPEG file format)
1988 --with-libtiff use libtiff (TIFF file format)
1989 --with-libxpm use libxpm (XPM file format)
1990 --with-libiconv use libiconv (character conversion)
1991 --with-libmspack use libmspack (CHM help files loading)
1992 --without-gtkprint don't use GTK printing support
1993 --without-gnomeprint don't use GNOME printing libraries
1994 --with-gnomevfs use GNOME VFS for associating MIME types
1995 --with-hildon use Hildon framework for Nokia 770/800/810
1996 --with-opengl use OpenGL (or Mesa)
1997 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1998 --with-sdl use SDL for audio on Unix
1999 --with-regex enable support for wxRegEx class
2000 --with-zlib use zlib for LZW compression
2001 --with-expat enable XML support using expat parser
2002 --with-macosx-sdk=PATH use an OS X SDK at PATH
2003 --with-macosx-version-min=VER build binaries which require at least this OS X version
2004 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
2005 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
2006 --with-x use the X Window System
2007 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
2008 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
2009 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
2010 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
2011 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
2012
2013 Some influential environment variables:
2014 CC C compiler command
2015 CFLAGS C compiler flags
2016 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2017 nonstandard directory <lib dir>
2018 LIBS libraries to pass to the linker, e.g. -l<library>
2019 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
2020 you have headers in a nonstandard directory <include dir>
2021 CPP C preprocessor
2022 CXX C++ compiler command
2023 CXXFLAGS C++ compiler flags
2024 CXXCPP C++ preprocessor
2025 PKG_CONFIG path to pkg-config utility
2026 DIRECTFB_CFLAGS
2027 C compiler flags for DIRECTFB, overriding pkg-config
2028 DIRECTFB_LIBS
2029 linker flags for DIRECTFB, overriding pkg-config
2030 XMKMF Path to xmkmf, Makefile generator for X Window System
2031 PANGOX_CFLAGS
2032 C compiler flags for PANGOX, overriding pkg-config
2033 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
2034 PANGOFT2_CFLAGS
2035 C compiler flags for PANGOFT2, overriding pkg-config
2036 PANGOFT2_LIBS
2037 linker flags for PANGOFT2, overriding pkg-config
2038 PANGOXFT_CFLAGS
2039 C compiler flags for PANGOXFT, overriding pkg-config
2040 PANGOXFT_LIBS
2041 linker flags for PANGOXFT, overriding pkg-config
2042 Xinerama_CFLAGS
2043 C compiler flags for Xinerama, overriding pkg-config
2044 Xinerama_LIBS
2045 linker flags for Xinerama, overriding pkg-config
2046 Xxf86vm_CFLAGS
2047 C compiler flags for Xxf86vm, overriding pkg-config
2048 Xxf86vm_LIBS
2049 linker flags for Xxf86vm, overriding pkg-config
2050 SM_CFLAGS C compiler flags for SM, overriding pkg-config
2051 SM_LIBS linker flags for SM, overriding pkg-config
2052 GL_CFLAGS C compiler flags for GL, overriding pkg-config
2053 GL_LIBS linker flags for GL, overriding pkg-config
2054 GLU_CFLAGS C compiler flags for GLU, overriding pkg-config
2055 GLU_LIBS linker flags for GLU, overriding pkg-config
2056 MesaGL_CFLAGS
2057 C compiler flags for MesaGL, overriding pkg-config
2058 MesaGL_LIBS linker flags for MesaGL, overriding pkg-config
2059 GTKPRINT_CFLAGS
2060 C compiler flags for GTKPRINT, overriding pkg-config
2061 GTKPRINT_LIBS
2062 linker flags for GTKPRINT, overriding pkg-config
2063 LIBGNOMEPRINTUI_CFLAGS
2064 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
2065 LIBGNOMEPRINTUI_LIBS
2066 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
2067 GNOMEVFS_CFLAGS
2068 C compiler flags for GNOMEVFS, overriding pkg-config
2069 GNOMEVFS_LIBS
2070 linker flags for GNOMEVFS, overriding pkg-config
2071 HILDON_CFLAGS
2072 C compiler flags for HILDON, overriding pkg-config
2073 HILDON_LIBS linker flags for HILDON, overriding pkg-config
2074 HILDON2_CFLAGS
2075 C compiler flags for HILDON2, overriding pkg-config
2076 HILDON2_LIBS
2077 linker flags for HILDON2, overriding pkg-config
2078 WEBKIT_CFLAGS
2079 C compiler flags for WEBKIT, overriding pkg-config
2080 WEBKIT_LIBS linker flags for WEBKIT, overriding pkg-config
2081 CAIRO_CFLAGS
2082 C compiler flags for CAIRO, overriding pkg-config
2083 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
2084 GST_CFLAGS C compiler flags for GST, overriding pkg-config
2085 GST_LIBS linker flags for GST, overriding pkg-config
2086
2087 Use these variables to override the choices made by `configure' or to help
2088 it to find libraries and programs with nonstandard names/locations.
2089
2090 Report bugs to <wx-dev@lists.wxwidgets.org>.
2091 _ACEOF
2092 ac_status=$?
2093 fi
2094
2095 if test "$ac_init_help" = "recursive"; then
2096 # If there are subdirs, report their specific --help.
2097 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2098 test -d "$ac_dir" || continue
2099 ac_builddir=.
2100
2101 case "$ac_dir" in
2102 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2103 *)
2104 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2105 # A ".." for each directory in $ac_dir_suffix.
2106 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
2107 case $ac_top_builddir_sub in
2108 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2109 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2110 esac ;;
2111 esac
2112 ac_abs_top_builddir=$ac_pwd
2113 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2114 # for backward compatibility:
2115 ac_top_builddir=$ac_top_build_prefix
2116
2117 case $srcdir in
2118 .) # We are building in place.
2119 ac_srcdir=.
2120 ac_top_srcdir=$ac_top_builddir_sub
2121 ac_abs_top_srcdir=$ac_pwd ;;
2122 [\\/]* | ?:[\\/]* ) # Absolute name.
2123 ac_srcdir=$srcdir$ac_dir_suffix;
2124 ac_top_srcdir=$srcdir
2125 ac_abs_top_srcdir=$srcdir ;;
2126 *) # Relative name.
2127 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2128 ac_top_srcdir=$ac_top_build_prefix$srcdir
2129 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2130 esac
2131 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2132
2133 cd "$ac_dir" || { ac_status=$?; continue; }
2134 # Check for guested configure.
2135 if test -f "$ac_srcdir/configure.gnu"; then
2136 echo &&
2137 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2138 elif test -f "$ac_srcdir/configure"; then
2139 echo &&
2140 $SHELL "$ac_srcdir/configure" --help=recursive
2141 else
2142 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2143 fi || ac_status=$?
2144 cd "$ac_pwd" || { ac_status=$?; break; }
2145 done
2146 fi
2147
2148 test -n "$ac_init_help" && exit $ac_status
2149 if $ac_init_version; then
2150 cat <<\_ACEOF
2151 wxWidgets configure 2.9.4
2152 generated by GNU Autoconf 2.61
2153
2154 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2155 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
2156 This configure script is free software; the Free Software Foundation
2157 gives unlimited permission to copy, distribute and modify it.
2158 _ACEOF
2159 exit
2160 fi
2161 cat >config.log <<_ACEOF
2162 This file contains any messages produced by compilers while
2163 running configure, to aid debugging if configure makes a mistake.
2164
2165 It was created by wxWidgets $as_me 2.9.4, which was
2166 generated by GNU Autoconf 2.61. Invocation command line was
2167
2168 $ $0 $@
2169
2170 _ACEOF
2171 exec 5>>config.log
2172 {
2173 cat <<_ASUNAME
2174 ## --------- ##
2175 ## Platform. ##
2176 ## --------- ##
2177
2178 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2179 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2180 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2181 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2182 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2183
2184 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2185 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2186
2187 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2188 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2189 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2190 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2191 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2192 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2193 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2194
2195 _ASUNAME
2196
2197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2198 for as_dir in $PATH
2199 do
2200 IFS=$as_save_IFS
2201 test -z "$as_dir" && as_dir=.
2202 echo "PATH: $as_dir"
2203 done
2204 IFS=$as_save_IFS
2205
2206 } >&5
2207
2208 cat >&5 <<_ACEOF
2209
2210
2211 ## ----------- ##
2212 ## Core tests. ##
2213 ## ----------- ##
2214
2215 _ACEOF
2216
2217
2218 # Keep a trace of the command line.
2219 # Strip out --no-create and --no-recursion so they do not pile up.
2220 # Strip out --silent because we don't want to record it for future runs.
2221 # Also quote any args containing shell meta-characters.
2222 # Make two passes to allow for proper duplicate-argument suppression.
2223 ac_configure_args=
2224 ac_configure_args0=
2225 ac_configure_args1=
2226 ac_must_keep_next=false
2227 for ac_pass in 1 2
2228 do
2229 for ac_arg
2230 do
2231 case $ac_arg in
2232 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2233 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2234 | -silent | --silent | --silen | --sile | --sil)
2235 continue ;;
2236 *\'*)
2237 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2238 esac
2239 case $ac_pass in
2240 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2241 2)
2242 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2243 if test $ac_must_keep_next = true; then
2244 ac_must_keep_next=false # Got value, back to normal.
2245 else
2246 case $ac_arg in
2247 *=* | --config-cache | -C | -disable-* | --disable-* \
2248 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2249 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2250 | -with-* | --with-* | -without-* | --without-* | --x)
2251 case "$ac_configure_args0 " in
2252 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2253 esac
2254 ;;
2255 -* ) ac_must_keep_next=true ;;
2256 esac
2257 fi
2258 ac_configure_args="$ac_configure_args '$ac_arg'"
2259 ;;
2260 esac
2261 done
2262 done
2263 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2264 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2265
2266 # When interrupted or exit'd, cleanup temporary files, and complete
2267 # config.log. We remove comments because anyway the quotes in there
2268 # would cause problems or look ugly.
2269 # WARNING: Use '\'' to represent an apostrophe within the trap.
2270 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2271 trap 'exit_status=$?
2272 # Save into config.log some information that might help in debugging.
2273 {
2274 echo
2275
2276 cat <<\_ASBOX
2277 ## ---------------- ##
2278 ## Cache variables. ##
2279 ## ---------------- ##
2280 _ASBOX
2281 echo
2282 # The following way of writing the cache mishandles newlines in values,
2283 (
2284 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2285 eval ac_val=\$$ac_var
2286 case $ac_val in #(
2287 *${as_nl}*)
2288 case $ac_var in #(
2289 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2290 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2291 esac
2292 case $ac_var in #(
2293 _ | IFS | as_nl) ;; #(
2294 *) $as_unset $ac_var ;;
2295 esac ;;
2296 esac
2297 done
2298 (set) 2>&1 |
2299 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2300 *${as_nl}ac_space=\ *)
2301 sed -n \
2302 "s/'\''/'\''\\\\'\'''\''/g;
2303 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2304 ;; #(
2305 *)
2306 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2307 ;;
2308 esac |
2309 sort
2310 )
2311 echo
2312
2313 cat <<\_ASBOX
2314 ## ----------------- ##
2315 ## Output variables. ##
2316 ## ----------------- ##
2317 _ASBOX
2318 echo
2319 for ac_var in $ac_subst_vars
2320 do
2321 eval ac_val=\$$ac_var
2322 case $ac_val in
2323 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2324 esac
2325 echo "$ac_var='\''$ac_val'\''"
2326 done | sort
2327 echo
2328
2329 if test -n "$ac_subst_files"; then
2330 cat <<\_ASBOX
2331 ## ------------------- ##
2332 ## File substitutions. ##
2333 ## ------------------- ##
2334 _ASBOX
2335 echo
2336 for ac_var in $ac_subst_files
2337 do
2338 eval ac_val=\$$ac_var
2339 case $ac_val in
2340 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2341 esac
2342 echo "$ac_var='\''$ac_val'\''"
2343 done | sort
2344 echo
2345 fi
2346
2347 if test -s confdefs.h; then
2348 cat <<\_ASBOX
2349 ## ----------- ##
2350 ## confdefs.h. ##
2351 ## ----------- ##
2352 _ASBOX
2353 echo
2354 cat confdefs.h
2355 echo
2356 fi
2357 test "$ac_signal" != 0 &&
2358 echo "$as_me: caught signal $ac_signal"
2359 echo "$as_me: exit $exit_status"
2360 } >&5
2361 rm -f core *.core core.conftest.* &&
2362 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2363 exit $exit_status
2364 ' 0
2365 for ac_signal in 1 2 13 15; do
2366 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2367 done
2368 ac_signal=0
2369
2370 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2371 rm -f -r conftest* confdefs.h
2372
2373 # Predefined preprocessor variables.
2374
2375 cat >>confdefs.h <<_ACEOF
2376 #define PACKAGE_NAME "$PACKAGE_NAME"
2377 _ACEOF
2378
2379
2380 cat >>confdefs.h <<_ACEOF
2381 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2382 _ACEOF
2383
2384
2385 cat >>confdefs.h <<_ACEOF
2386 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2387 _ACEOF
2388
2389
2390 cat >>confdefs.h <<_ACEOF
2391 #define PACKAGE_STRING "$PACKAGE_STRING"
2392 _ACEOF
2393
2394
2395 cat >>confdefs.h <<_ACEOF
2396 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2397 _ACEOF
2398
2399
2400 # Let the site file select an alternate cache file if it wants to.
2401 # Prefer explicitly selected file to automatically selected ones.
2402 if test -n "$CONFIG_SITE"; then
2403 set x "$CONFIG_SITE"
2404 elif test "x$prefix" != xNONE; then
2405 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2406 else
2407 set x "$ac_default_prefix/share/config.site" \
2408 "$ac_default_prefix/etc/config.site"
2409 fi
2410 shift
2411 for ac_site_file
2412 do
2413 if test -r "$ac_site_file"; then
2414 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2415 echo "$as_me: loading site script $ac_site_file" >&6;}
2416 sed 's/^/| /' "$ac_site_file" >&5
2417 . "$ac_site_file"
2418 fi
2419 done
2420
2421 if test -r "$cache_file"; then
2422 # Some versions of bash will fail to source /dev/null (special
2423 # files actually), so we avoid doing that.
2424 if test -f "$cache_file"; then
2425 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2426 echo "$as_me: loading cache $cache_file" >&6;}
2427 case $cache_file in
2428 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2429 *) . "./$cache_file";;
2430 esac
2431 fi
2432 else
2433 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2434 echo "$as_me: creating cache $cache_file" >&6;}
2435 >$cache_file
2436 fi
2437
2438 # Check that the precious variables saved in the cache have kept the same
2439 # value.
2440 ac_cache_corrupted=false
2441 for ac_var in $ac_precious_vars; do
2442 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2443 eval ac_new_set=\$ac_env_${ac_var}_set
2444 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2445 eval ac_new_val=\$ac_env_${ac_var}_value
2446 case $ac_old_set,$ac_new_set in
2447 set,)
2448 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2449 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2450 ac_cache_corrupted=: ;;
2451 ,set)
2452 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2453 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2454 ac_cache_corrupted=: ;;
2455 ,);;
2456 *)
2457 if test "x$ac_old_val" != "x$ac_new_val"; then
2458 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2459 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2460 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2461 echo "$as_me: former value: $ac_old_val" >&2;}
2462 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2463 echo "$as_me: current value: $ac_new_val" >&2;}
2464 ac_cache_corrupted=:
2465 fi;;
2466 esac
2467 # Pass precious variables to config.status.
2468 if test "$ac_new_set" = set; then
2469 case $ac_new_val in
2470 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2471 *) ac_arg=$ac_var=$ac_new_val ;;
2472 esac
2473 case " $ac_configure_args " in
2474 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2475 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2476 esac
2477 fi
2478 done
2479 if $ac_cache_corrupted; then
2480 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2481 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2482 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2483 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2484 { (exit 1); exit 1; }; }
2485 fi
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511 ac_ext=c
2512 ac_cpp='$CPP $CPPFLAGS'
2513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2516
2517
2518
2519
2520
2521 ac_aux_dir=
2522 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2523 if test -f "$ac_dir/install-sh"; then
2524 ac_aux_dir=$ac_dir
2525 ac_install_sh="$ac_aux_dir/install-sh -c"
2526 break
2527 elif test -f "$ac_dir/install.sh"; then
2528 ac_aux_dir=$ac_dir
2529 ac_install_sh="$ac_aux_dir/install.sh -c"
2530 break
2531 elif test -f "$ac_dir/shtool"; then
2532 ac_aux_dir=$ac_dir
2533 ac_install_sh="$ac_aux_dir/shtool install -c"
2534 break
2535 fi
2536 done
2537 if test -z "$ac_aux_dir"; then
2538 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2539 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2540 { (exit 1); exit 1; }; }
2541 fi
2542
2543 # These three variables are undocumented and unsupported,
2544 # and are intended to be withdrawn in a future Autoconf release.
2545 # They can cause serious problems if a builder's source tree is in a directory
2546 # whose full name contains unusual characters.
2547 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2548 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2549 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2550
2551
2552 # Make sure we can run config.sub.
2553 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2554 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2555 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2556 { (exit 1); exit 1; }; }
2557
2558 { echo "$as_me:$LINENO: checking build system type" >&5
2559 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2560 if test "${ac_cv_build+set}" = set; then
2561 echo $ECHO_N "(cached) $ECHO_C" >&6
2562 else
2563 ac_build_alias=$build_alias
2564 test "x$ac_build_alias" = x &&
2565 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2566 test "x$ac_build_alias" = x &&
2567 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2568 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2569 { (exit 1); exit 1; }; }
2570 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2571 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2572 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2573 { (exit 1); exit 1; }; }
2574
2575 fi
2576 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2577 echo "${ECHO_T}$ac_cv_build" >&6; }
2578 case $ac_cv_build in
2579 *-*-*) ;;
2580 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2581 echo "$as_me: error: invalid value of canonical build" >&2;}
2582 { (exit 1); exit 1; }; };;
2583 esac
2584 build=$ac_cv_build
2585 ac_save_IFS=$IFS; IFS='-'
2586 set x $ac_cv_build
2587 shift
2588 build_cpu=$1
2589 build_vendor=$2
2590 shift; shift
2591 # Remember, the first character of IFS is used to create $*,
2592 # except with old shells:
2593 build_os=$*
2594 IFS=$ac_save_IFS
2595 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2596
2597
2598 { echo "$as_me:$LINENO: checking host system type" >&5
2599 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2600 if test "${ac_cv_host+set}" = set; then
2601 echo $ECHO_N "(cached) $ECHO_C" >&6
2602 else
2603 if test "x$host_alias" = x; then
2604 ac_cv_host=$ac_cv_build
2605 else
2606 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2607 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2608 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2609 { (exit 1); exit 1; }; }
2610 fi
2611
2612 fi
2613 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2614 echo "${ECHO_T}$ac_cv_host" >&6; }
2615 case $ac_cv_host in
2616 *-*-*) ;;
2617 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2618 echo "$as_me: error: invalid value of canonical host" >&2;}
2619 { (exit 1); exit 1; }; };;
2620 esac
2621 host=$ac_cv_host
2622 ac_save_IFS=$IFS; IFS='-'
2623 set x $ac_cv_host
2624 shift
2625 host_cpu=$1
2626 host_vendor=$2
2627 shift; shift
2628 # Remember, the first character of IFS is used to create $*,
2629 # except with old shells:
2630 host_os=$*
2631 IFS=$ac_save_IFS
2632 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2633
2634
2635
2636 if test "$cross_compiling" != "no"; then
2637 HOST_PREFIX="${host_alias}-"
2638 HOST_SUFFIX="-$host_alias"
2639 else
2640 HOST_PREFIX=
2641 HOST_SUFFIX=
2642 fi
2643
2644
2645 wx_major_version_number=2
2646 wx_minor_version_number=9
2647 wx_release_number=4
2648 wx_subrelease_number=0
2649
2650 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2651 WX_VERSION=$WX_RELEASE.$wx_release_number
2652 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2653
2654 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2655
2656
2657 wx_top_builddir="`pwd`"
2658
2659
2660
2661
2662 USE_UNIX=1
2663 USE_OS2=0
2664 USE_WIN32=0
2665 USE_DOS=0
2666 USE_BEOS=0
2667 USE_MAC=0
2668
2669 USE_AIX=
2670 USE_BSD= USE_DARWIN= USE_FREEBSD=
2671 USE_GNU= USE_HPUX=
2672 USE_LINUX=
2673 USE_NETBSD=
2674 USE_OPENBSD=
2675 USE_OSF= USE_SGI=
2676 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2677 USE_ULTRIX=
2678 USE_UNIXWARE=
2679
2680 USE_ALPHA=
2681
2682 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2683
2684 ALL_TOOLKITS="COCOA GTK OSX_CARBON OSX_COCOA OSX_IPHONE MICROWIN MOTIF MSW PM X11 DFB"
2685
2686 DEFAULT_wxUSE_OLD_COCOA=0
2687 DEFAULT_wxUSE_GTK=0
2688 DEFAULT_wxUSE_OSX_CARBON=0
2689 DEFAULT_wxUSE_OSX_COCOA=0
2690 DEFAULT_wxUSE_OSX_IPHONE=0
2691 DEFAULT_wxUSE_MICROWIN=0
2692 DEFAULT_wxUSE_MOTIF=0
2693 DEFAULT_wxUSE_MSW=0
2694 DEFAULT_wxUSE_PM=0
2695 DEFAULT_wxUSE_X11=0
2696 DEFAULT_wxUSE_DFB=0
2697
2698 DEFAULT_DEFAULT_wxUSE_OLD_COCOA=0
2699 DEFAULT_DEFAULT_wxUSE_GTK=0
2700 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=0
2701 DEFAULT_DEFAULT_wxUSE_OSX_COCOA=0
2702 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE=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 ;;
2940
2941 *-pc-os2_emx | *-pc-os2-emx )
2942 cat >>confdefs.h <<\_ACEOF
2943 #define __EMX__ 1
2944 _ACEOF
2945
2946 USE_OS2=1
2947 cat >>confdefs.h <<\_ACEOF
2948 #define __OS2__ 1
2949 _ACEOF
2950
2951 PROGRAM_EXT=".exe"
2952 DEFAULT_DEFAULT_wxUSE_PM=1
2953 CXX=gcc
2954 LDFLAGS="$LDFLAGS -Zcrtdll"
2955 ac_executable_extensions=".exe"
2956 export ac_executable_extensions
2957 ac_save_IFS="$IFS"
2958 IFS='\\'
2959 ac_TEMP_PATH=
2960 for ac_dir in $PATH; do
2961 IFS=$ac_save_IFS
2962 if test -z "$ac_TEMP_PATH"; then
2963 ac_TEMP_PATH="$ac_dir"
2964 else
2965 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2966 fi
2967 done
2968 export PATH="$ac_TEMP_PATH"
2969 unset ac_TEMP_PATH
2970 DEFAULT_STD_FLAG=no
2971 ;;
2972
2973 arm-apple-darwin*)
2974 USE_BSD=1
2975 USE_DARWIN=1
2976 cat >>confdefs.h <<\_ACEOF
2977 #define __BSD__ 1
2978 _ACEOF
2979
2980 cat >>confdefs.h <<\_ACEOF
2981 #define __DARWIN__ 1
2982 _ACEOF
2983
2984 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE=1
2985 ;;
2986
2987 *-*-darwin* )
2988 USE_BSD=1
2989 USE_DARWIN=1
2990 cat >>confdefs.h <<\_ACEOF
2991 #define __BSD__ 1
2992 _ACEOF
2993
2994 cat >>confdefs.h <<\_ACEOF
2995 #define __DARWIN__ 1
2996 _ACEOF
2997
2998 cat >>confdefs.h <<\_ACEOF
2999 #define TARGET_CARBON 1
3000 _ACEOF
3001
3002 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=1
3003 ;;
3004
3005 *-*-beos* )
3006 USE_BEOS=1
3007 cat >>confdefs.h <<\_ACEOF
3008 #define __BEOS__ 1
3009 _ACEOF
3010
3011 ;;
3012
3013 *)
3014 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
3015 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
3016 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
3017 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
3018
3019 DEFAULT_DEFAULT_wxUSE_X11=1
3020 DEFAULT_wxUSE_SHARED=no
3021 esac
3022
3023
3024
3025 DEFAULT_wxUSE_ALL_FEATURES=yes
3026
3027 DEFAULT_wxUSE_STD_CONTAINERS=no
3028 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
3029 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
3030
3031 DEFAULT_wxUSE_DMALLOC=no
3032 DEFAULT_wxUSE_LIBGNOMEVFS=no
3033 DEFAULT_wxUSE_LIBHILDON=no
3034 DEFAULT_wxUSE_LIBHILDON2=no
3035 DEFAULT_wxUSE_LIBMSPACK=no
3036 DEFAULT_wxUSE_LIBSDL=no
3037
3038 DEFAULT_wxUSE_ACCESSIBILITY=no
3039 DEFAULT_wxUSE_IPV6=no
3040 DEFAULT_wxUSE_GSTREAMER8=no
3041
3042 DEFAULT_wxUSE_ARTPROVIDER_TANGO=auto
3043 DEFAULT_wxUSE_UNICODE_UTF8=auto
3044 DEFAULT_wxUSE_OPENGL=auto
3045 DEFAULT_wxUSE_MEDIACTRL=auto
3046 DEFAULT_wxUSE_COMPILER_TLS=auto
3047 DEFAULT_wxUSE_HOTKEY=auto
3048 DEFAULT_wxUSE_METAFILE=auto
3049
3050 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
3051
3052 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
3053 DEFAULT_wxUSE_MAC_ARCH=no
3054
3055 DEFAULT_wxUSE_OFFICIAL_BUILD=no
3056
3057 DEFAULT_wxUSE_GTK2=yes
3058
3059 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
3060
3061
3062
3063
3064
3065 enablestring=disable
3066 defaultval=
3067 if test -z "$defaultval"; then
3068 if test x"$enablestring" = xdisable; then
3069 defaultval=yes
3070 else
3071 defaultval=no
3072 fi
3073 fi
3074
3075 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
3076 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
3077 # Check whether --enable-gui was given.
3078 if test "${enable_gui+set}" = set; then
3079 enableval=$enable_gui;
3080 if test "$enableval" = yes; then
3081 wx_cv_use_gui='wxUSE_GUI=yes'
3082 else
3083 wx_cv_use_gui='wxUSE_GUI=no'
3084 fi
3085
3086 else
3087
3088 wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
3089
3090 fi
3091
3092
3093 eval "$wx_cv_use_gui"
3094
3095 if test x"$enablestring" = xdisable; then
3096 if test $wxUSE_GUI = no; then
3097 result=yes
3098 else
3099 result=no
3100 fi
3101 else
3102 result=$wxUSE_GUI
3103 fi
3104
3105 { echo "$as_me:$LINENO: result: $result" >&5
3106 echo "${ECHO_T}$result" >&6; }
3107
3108
3109 enablestring=
3110 defaultval=
3111 if test -z "$defaultval"; then
3112 if test x"$enablestring" = xdisable; then
3113 defaultval=yes
3114 else
3115 defaultval=no
3116 fi
3117 fi
3118
3119 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3120 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3121 # Check whether --enable-monolithic was given.
3122 if test "${enable_monolithic+set}" = set; then
3123 enableval=$enable_monolithic;
3124 if test "$enableval" = yes; then
3125 wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3126 else
3127 wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3128 fi
3129
3130 else
3131
3132 wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3133
3134 fi
3135
3136
3137 eval "$wx_cv_use_monolithic"
3138
3139 if test x"$enablestring" = xdisable; then
3140 if test $wxUSE_MONOLITHIC = no; then
3141 result=yes
3142 else
3143 result=no
3144 fi
3145 else
3146 result=$wxUSE_MONOLITHIC
3147 fi
3148
3149 { echo "$as_me:$LINENO: result: $result" >&5
3150 echo "${ECHO_T}$result" >&6; }
3151
3152
3153 enablestring=
3154 defaultval=
3155 if test -z "$defaultval"; then
3156 if test x"$enablestring" = xdisable; then
3157 defaultval=yes
3158 else
3159 defaultval=no
3160 fi
3161 fi
3162
3163 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3164 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3165 # Check whether --enable-plugins was given.
3166 if test "${enable_plugins+set}" = set; then
3167 enableval=$enable_plugins;
3168 if test "$enableval" = yes; then
3169 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3170 else
3171 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3172 fi
3173
3174 else
3175
3176 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3177
3178 fi
3179
3180
3181 eval "$wx_cv_use_plugins"
3182
3183 if test x"$enablestring" = xdisable; then
3184 if test $wxUSE_PLUGINS = no; then
3185 result=yes
3186 else
3187 result=no
3188 fi
3189 else
3190 result=$wxUSE_PLUGINS
3191 fi
3192
3193 { echo "$as_me:$LINENO: result: $result" >&5
3194 echo "${ECHO_T}$result" >&6; }
3195
3196
3197 withstring=without
3198 defaultval=$wxUSE_ALL_FEATURES
3199 if test -z "$defaultval"; then
3200 if test x"$withstring" = xwithout; then
3201 defaultval=yes
3202 else
3203 defaultval=no
3204 fi
3205 fi
3206 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3207 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3208
3209 # Check whether --with-subdirs was given.
3210 if test "${with_subdirs+set}" = set; then
3211 withval=$with_subdirs;
3212 if test "$withval" = yes; then
3213 wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3214 else
3215 wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
3216 fi
3217
3218 else
3219
3220 wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3221
3222 fi
3223
3224
3225 eval "$wx_cv_use_subdirs"
3226
3227 if test x"$withstring" = xwithout; then
3228 if test $wxWITH_SUBDIRS = yes; then
3229 result=no
3230 else
3231 result=yes
3232 fi
3233 else
3234 result=$wxWITH_SUBDIRS
3235 fi
3236
3237 { echo "$as_me:$LINENO: result: $result" >&5
3238 echo "${ECHO_T}$result" >&6; }
3239
3240
3241 # Check whether --with-flavour was given.
3242 if test "${with_flavour+set}" = set; then
3243 withval=$with_flavour; WX_FLAVOUR="$withval"
3244 fi
3245
3246
3247 enablestring=
3248 defaultval=
3249 if test -z "$defaultval"; then
3250 if test x"$enablestring" = xdisable; then
3251 defaultval=yes
3252 else
3253 defaultval=no
3254 fi
3255 fi
3256
3257 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3258 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3259 # Check whether --enable-official_build was given.
3260 if test "${enable_official_build+set}" = set; then
3261 enableval=$enable_official_build;
3262 if test "$enableval" = yes; then
3263 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
3264 else
3265 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
3266 fi
3267
3268 else
3269
3270 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3271
3272 fi
3273
3274
3275 eval "$wx_cv_use_official_build"
3276
3277 if test x"$enablestring" = xdisable; then
3278 if test $wxUSE_OFFICIAL_BUILD = no; then
3279 result=yes
3280 else
3281 result=no
3282 fi
3283 else
3284 result=$wxUSE_OFFICIAL_BUILD
3285 fi
3286
3287 { echo "$as_me:$LINENO: result: $result" >&5
3288 echo "${ECHO_T}$result" >&6; }
3289
3290 # Check whether --enable-vendor was given.
3291 if test "${enable_vendor+set}" = set; then
3292 enableval=$enable_vendor; VENDOR="$enableval"
3293 fi
3294
3295 if test "x$VENDOR" = "x"; then
3296 VENDOR="custom"
3297 fi
3298
3299
3300 enablestring=disable
3301 defaultval=
3302 if test -z "$defaultval"; then
3303 if test x"$enablestring" = xdisable; then
3304 defaultval=yes
3305 else
3306 defaultval=no
3307 fi
3308 fi
3309
3310 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-all-features" >&5
3311 echo $ECHO_N "checking for --${enablestring:-enable}-all-features... $ECHO_C" >&6; }
3312 # Check whether --enable-all-features was given.
3313 if test "${enable_all_features+set}" = set; then
3314 enableval=$enable_all_features;
3315 if test "$enableval" = yes; then
3316 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3317 else
3318 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3319 fi
3320
3321 else
3322
3323 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3324
3325 fi
3326
3327
3328 eval "$wx_cv_use_all_features"
3329
3330 if test x"$enablestring" = xdisable; then
3331 if test $wxUSE_ALL_FEATURES = no; then
3332 result=yes
3333 else
3334 result=no
3335 fi
3336 else
3337 result=$wxUSE_ALL_FEATURES
3338 fi
3339
3340 { echo "$as_me:$LINENO: result: $result" >&5
3341 echo "${ECHO_T}$result" >&6; }
3342
3343
3344 if test "$wxUSE_ALL_FEATURES" = "no"; then
3345 DEFAULT_wxUSE_ARTPROVIDER_TANGO=no
3346 DEFAULT_wxUSE_MEDIACTRL=no
3347 fi
3348
3349
3350 if test "$wxUSE_GUI" = "yes"; then
3351
3352
3353 enablestring=
3354 defaultval=
3355 if test -z "$defaultval"; then
3356 if test x"$enablestring" = xdisable; then
3357 defaultval=yes
3358 else
3359 defaultval=no
3360 fi
3361 fi
3362
3363 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3364 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3365 # Check whether --enable-universal was given.
3366 if test "${enable_universal+set}" = set; then
3367 enableval=$enable_universal;
3368 if test "$enableval" = yes; then
3369 wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
3370 else
3371 wx_cv_use_universal='wxUSE_UNIVERSAL=no'
3372 fi
3373
3374 else
3375
3376 wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3377
3378 fi
3379
3380
3381 eval "$wx_cv_use_universal"
3382
3383 if test x"$enablestring" = xdisable; then
3384 if test $wxUSE_UNIVERSAL = no; then
3385 result=yes
3386 else
3387 result=no
3388 fi
3389 else
3390 result=$wxUSE_UNIVERSAL
3391 fi
3392
3393 { echo "$as_me:$LINENO: result: $result" >&5
3394 echo "${ECHO_T}$result" >&6; }
3395
3396 if test "$wxUSE_UNIVERSAL" = "yes"; then
3397
3398 # Check whether --with-themes was given.
3399 if test "${with_themes+set}" = set; then
3400 withval=$with_themes; wxUNIV_THEMES="$withval"
3401 fi
3402
3403 fi
3404
3405
3406 # Check whether --with-gtk was given.
3407 if test "${with_gtk+set}" = set; then
3408 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3409 fi
3410
3411
3412 # Check whether --with-motif was given.
3413 if test "${with_motif+set}" = set; then
3414 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3415 fi
3416
3417
3418 # Check whether --with-osx_carbon was given.
3419 if test "${with_osx_carbon+set}" = set; then
3420 withval=$with_osx_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3421 fi
3422
3423
3424 # Check whether --with-osx_cocoa was given.
3425 if test "${with_osx_cocoa+set}" = set; then
3426 withval=$with_osx_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3427 fi
3428
3429
3430 # Check whether --with-osx_iphone was given.
3431 if test "${with_osx_iphone+set}" = set; then
3432 withval=$with_osx_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
3433 fi
3434
3435
3436 # Check whether --with-osx was given.
3437 if test "${with_osx+set}" = set; then
3438 withval=$with_osx; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3439 fi
3440
3441
3442 # Check whether --with-carbon was given.
3443 if test "${with_carbon+set}" = set; then
3444 withval=$with_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3445 fi
3446
3447
3448 # Check whether --with-cocoa was given.
3449 if test "${with_cocoa+set}" = set; then
3450 withval=$with_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3451 fi
3452
3453
3454 # Check whether --with-iphone was given.
3455 if test "${with_iphone+set}" = set; then
3456 withval=$with_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
3457 fi
3458
3459
3460 # Check whether --with-mac was given.
3461 if test "${with_mac+set}" = set; then
3462 withval=$with_mac; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3463 fi
3464
3465
3466 # Check whether --with-old_cocoa was given.
3467 if test "${with_old_cocoa+set}" = set; then
3468 withval=$with_old_cocoa; wxUSE_OLD_COCOA="$withval" CACHE_OLD_COCOA=1 TOOLKIT_GIVEN=1
3469 fi
3470
3471
3472 # Check whether --with-wine was given.
3473 if test "${with_wine+set}" = set; then
3474 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3475 fi
3476
3477
3478 # Check whether --with-msw was given.
3479 if test "${with_msw+set}" = set; then
3480 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3481 fi
3482
3483
3484 # Check whether --with-pm was given.
3485 if test "${with_pm+set}" = set; then
3486 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3487 fi
3488
3489
3490 # Check whether --with-directfb was given.
3491 if test "${with_directfb+set}" = set; then
3492 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3493 fi
3494
3495
3496 # Check whether --with-microwin was given.
3497 if test "${with_microwin+set}" = set; then
3498 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3499 fi
3500
3501
3502 # Check whether --with-x11 was given.
3503 if test "${with_x11+set}" = set; then
3504 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3505 fi
3506
3507
3508 enablestring=
3509 defaultval=
3510 if test -z "$defaultval"; then
3511 if test x"$enablestring" = xdisable; then
3512 defaultval=yes
3513 else
3514 defaultval=no
3515 fi
3516 fi
3517
3518 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3519 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3520 # Check whether --enable-nanox was given.
3521 if test "${enable_nanox+set}" = set; then
3522 enableval=$enable_nanox;
3523 if test "$enableval" = yes; then
3524 wx_cv_use_nanox='wxUSE_NANOX=yes'
3525 else
3526 wx_cv_use_nanox='wxUSE_NANOX=no'
3527 fi
3528
3529 else
3530
3531 wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3532
3533 fi
3534
3535
3536 eval "$wx_cv_use_nanox"
3537
3538 if test x"$enablestring" = xdisable; then
3539 if test $wxUSE_NANOX = no; then
3540 result=yes
3541 else
3542 result=no
3543 fi
3544 else
3545 result=$wxUSE_NANOX
3546 fi
3547
3548 { echo "$as_me:$LINENO: result: $result" >&5
3549 echo "${ECHO_T}$result" >&6; }
3550
3551
3552 # Check whether --enable-gtk2 was given.
3553 if test "${enable_gtk2+set}" = set; then
3554 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3555 fi
3556
3557
3558 enablestring=
3559 defaultval=
3560 if test -z "$defaultval"; then
3561 if test x"$enablestring" = xdisable; then
3562 defaultval=yes
3563 else
3564 defaultval=no
3565 fi
3566 fi
3567
3568 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3569 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3570 # Check whether --enable-gpe was given.
3571 if test "${enable_gpe+set}" = set; then
3572 enableval=$enable_gpe;
3573 if test "$enableval" = yes; then
3574 wx_cv_use_gpe='wxUSE_GPE=yes'
3575 else
3576 wx_cv_use_gpe='wxUSE_GPE=no'
3577 fi
3578
3579 else
3580
3581 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3582
3583 fi
3584
3585
3586 eval "$wx_cv_use_gpe"
3587
3588 if test x"$enablestring" = xdisable; then
3589 if test $wxUSE_GPE = no; then
3590 result=yes
3591 else
3592 result=no
3593 fi
3594 else
3595 result=$wxUSE_GPE
3596 fi
3597
3598 { echo "$as_me:$LINENO: result: $result" >&5
3599 echo "${ECHO_T}$result" >&6; }
3600
3601
3602
3603 { echo "$as_me:$LINENO: checking for toolkit" >&5
3604 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
3605
3606
3607
3608 # In Wine, we need to default to MSW, not GTK or MOTIF
3609 if test "$wxUSE_WINE" = "yes"; then
3610 DEFAULT_DEFAULT_wxUSE_GTK=0
3611 DEFAULT_DEFAULT_wxUSE_MOTIF=0
3612 DEFAULT_DEFAULT_wxUSE_MSW=1
3613 wxUSE_SHARED=no
3614 CC=${CC:-winegcc}
3615 CXX=${CXX:-wineg++}
3616 fi
3617
3618
3619 if test "$wxUSE_GUI" = "yes"; then
3620
3621 if test "$USE_BEOS" = 1; then
3622 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
3623 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
3624 { (exit 1); exit 1; }; }
3625 fi
3626
3627 if test "$TOOLKIT_GIVEN" = 1; then
3628 for toolkit in $ALL_TOOLKITS; do
3629 var=wxUSE_$toolkit
3630 eval "value=\$${var}"
3631 if test "x$value" = "xno"; then
3632 eval "$var=0"
3633 elif test "x$value" != "x"; then
3634 eval "$var=1"
3635 fi
3636
3637 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
3638 eval "wx${toolkit}_VERSION=$value"
3639 fi
3640 done
3641 else
3642 for toolkit in $ALL_TOOLKITS; do
3643 var=DEFAULT_DEFAULT_wxUSE_$toolkit
3644 eval "wxUSE_$toolkit=\$${var}"
3645 done
3646 fi
3647
3648 NUM_TOOLKITS=`expr ${wxUSE_OLD_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_OSX_CARBON:-0} \
3649 + ${wxUSE_OSX_COCOA:-0} + ${wxUSE_OSX_IPHONE:-0} + ${wxUSE_DFB:-0} \
3650 + ${wxUSE_MICROWIN:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
3651
3652 case "${host}" in
3653 *-pc-os2_emx | *-pc-os2-emx )
3654 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
3655 esac
3656
3657 case "$NUM_TOOLKITS" in
3658 1)
3659 ;;
3660 0)
3661 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
3662 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
3663 { (exit 1); exit 1; }; }
3664 ;;
3665 *)
3666 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit" >&5
3667 echo "$as_me: error: Please specify at most one toolkit" >&2;}
3668 { (exit 1); exit 1; }; }
3669 esac
3670
3671 # to be removed when --disable-gtk2 isn't needed
3672 if test "x$wxUSE_GTK2" = "xyes"; then
3673 wxGTK_VERSION=2
3674 wxUSE_GTK1=0
3675 elif test "x$wxUSE_GTK2" = "xno"; then
3676 wxGTK_VERSION=1
3677 wxUSE_GTK1=1
3678 fi
3679
3680 for toolkit in $ALL_TOOLKITS; do
3681 var=wxUSE_$toolkit
3682 eval "value=\$${var}"
3683 if test "$value" = 1; then
3684 toolkit_echo=`echo $toolkit | tr '[A-Z]' '[a-z]'`
3685 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
3686 echo "${ECHO_T}$toolkit_echo" >&6; }
3687 fi
3688 done
3689 else
3690 if test "x$host_alias" != "x"; then
3691 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
3692 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
3693 else
3694 { echo "$as_me:$LINENO: result: base only" >&5
3695 echo "${ECHO_T}base only" >&6; }
3696 fi
3697 fi
3698
3699 wxUSE_MAC=0
3700 if test "$wxUSE_OSX_CARBON" = 1 \
3701 -o "$wxUSE_OSX_COCOA" = 1 \
3702 -o "$wxUSE_OSX_IPHONE" = 1; then
3703 wxUSE_MAC=1
3704 fi
3705
3706
3707
3708 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3709 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3710
3711 # Check whether --with-libpng was given.
3712 if test "${with_libpng+set}" = set; then
3713 withval=$with_libpng;
3714 if test "$withval" = yes; then
3715 wx_cv_use_libpng='wxUSE_LIBPNG=yes'
3716 elif test "$withval" = no; then
3717 wx_cv_use_libpng='wxUSE_LIBPNG=no'
3718 elif test "$withval" = sys; then
3719 wx_cv_use_libpng='wxUSE_LIBPNG=sys'
3720 elif test "$withval" = builtin; then
3721 wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
3722 else
3723 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3724 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3725 { (exit 1); exit 1; }; }
3726 fi
3727
3728 else
3729
3730 wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3731
3732 fi
3733
3734
3735 eval "$wx_cv_use_libpng"
3736
3737 if test "$wxUSE_LIBPNG" = yes; then
3738 { echo "$as_me:$LINENO: result: yes" >&5
3739 echo "${ECHO_T}yes" >&6; }
3740 elif test "$wxUSE_LIBPNG" = no; then
3741 { echo "$as_me:$LINENO: result: no" >&5
3742 echo "${ECHO_T}no" >&6; }
3743 elif test "$wxUSE_LIBPNG" = sys; then
3744 { echo "$as_me:$LINENO: result: system version" >&5
3745 echo "${ECHO_T}system version" >&6; }
3746 elif test "$wxUSE_LIBPNG" = builtin; then
3747 { echo "$as_me:$LINENO: result: builtin version" >&5
3748 echo "${ECHO_T}builtin version" >&6; }
3749 else
3750 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3751 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3752 { (exit 1); exit 1; }; }
3753 fi
3754
3755
3756 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3757 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3758
3759 # Check whether --with-libjpeg was given.
3760 if test "${with_libjpeg+set}" = set; then
3761 withval=$with_libjpeg;
3762 if test "$withval" = yes; then
3763 wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3764 elif test "$withval" = no; then
3765 wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3766 elif test "$withval" = sys; then
3767 wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3768 elif test "$withval" = builtin; then
3769 wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3770 else
3771 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3772 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3773 { (exit 1); exit 1; }; }
3774 fi
3775
3776 else
3777
3778 wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3779
3780 fi
3781
3782
3783 eval "$wx_cv_use_libjpeg"
3784
3785 if test "$wxUSE_LIBJPEG" = yes; then
3786 { echo "$as_me:$LINENO: result: yes" >&5
3787 echo "${ECHO_T}yes" >&6; }
3788 elif test "$wxUSE_LIBJPEG" = no; then
3789 { echo "$as_me:$LINENO: result: no" >&5
3790 echo "${ECHO_T}no" >&6; }
3791 elif test "$wxUSE_LIBJPEG" = sys; then
3792 { echo "$as_me:$LINENO: result: system version" >&5
3793 echo "${ECHO_T}system version" >&6; }
3794 elif test "$wxUSE_LIBJPEG" = builtin; then
3795 { echo "$as_me:$LINENO: result: builtin version" >&5
3796 echo "${ECHO_T}builtin version" >&6; }
3797 else
3798 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3799 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3800 { (exit 1); exit 1; }; }
3801 fi
3802
3803
3804 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3805 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3806
3807 # Check whether --with-libtiff was given.
3808 if test "${with_libtiff+set}" = set; then
3809 withval=$with_libtiff;
3810 if test "$withval" = yes; then
3811 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3812 elif test "$withval" = no; then
3813 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3814 elif test "$withval" = sys; then
3815 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3816 elif test "$withval" = builtin; then
3817 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3818 else
3819 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3820 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3821 { (exit 1); exit 1; }; }
3822 fi
3823
3824 else
3825
3826 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3827
3828 fi
3829
3830
3831 eval "$wx_cv_use_libtiff"
3832
3833 if test "$wxUSE_LIBTIFF" = yes; then
3834 { echo "$as_me:$LINENO: result: yes" >&5
3835 echo "${ECHO_T}yes" >&6; }
3836 elif test "$wxUSE_LIBTIFF" = no; then
3837 { echo "$as_me:$LINENO: result: no" >&5
3838 echo "${ECHO_T}no" >&6; }
3839 elif test "$wxUSE_LIBTIFF" = sys; then
3840 { echo "$as_me:$LINENO: result: system version" >&5
3841 echo "${ECHO_T}system version" >&6; }
3842 elif test "$wxUSE_LIBTIFF" = builtin; then
3843 { echo "$as_me:$LINENO: result: builtin version" >&5
3844 echo "${ECHO_T}builtin version" >&6; }
3845 else
3846 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3847 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3848 { (exit 1); exit 1; }; }
3849 fi
3850
3851
3852 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3853 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3854
3855 # Check whether --with-libxpm was given.
3856 if test "${with_libxpm+set}" = set; then
3857 withval=$with_libxpm;
3858 if test "$withval" = yes; then
3859 wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
3860 elif test "$withval" = no; then
3861 wx_cv_use_libxpm='wxUSE_LIBXPM=no'
3862 elif test "$withval" = sys; then
3863 wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
3864 elif test "$withval" = builtin; then
3865 wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3866 else
3867 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3868 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3869 { (exit 1); exit 1; }; }
3870 fi
3871
3872 else
3873
3874 wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3875
3876 fi
3877
3878
3879 eval "$wx_cv_use_libxpm"
3880
3881 if test "$wxUSE_LIBXPM" = yes; then
3882 { echo "$as_me:$LINENO: result: yes" >&5
3883 echo "${ECHO_T}yes" >&6; }
3884 elif test "$wxUSE_LIBXPM" = no; then
3885 { echo "$as_me:$LINENO: result: no" >&5
3886 echo "${ECHO_T}no" >&6; }
3887 elif test "$wxUSE_LIBXPM" = sys; then
3888 { echo "$as_me:$LINENO: result: system version" >&5
3889 echo "${ECHO_T}system version" >&6; }
3890 elif test "$wxUSE_LIBXPM" = builtin; then
3891 { echo "$as_me:$LINENO: result: builtin version" >&5
3892 echo "${ECHO_T}builtin version" >&6; }
3893 else
3894 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3895 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3896 { (exit 1); exit 1; }; }
3897 fi
3898
3899
3900 withstring=
3901 defaultval=$wxUSE_ALL_FEATURES
3902 if test -z "$defaultval"; then
3903 if test x"$withstring" = xwithout; then
3904 defaultval=yes
3905 else
3906 defaultval=no
3907 fi
3908 fi
3909 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libiconv" >&5
3910 echo $ECHO_N "checking for --${withstring:-with}-libiconv... $ECHO_C" >&6; }
3911
3912 # Check whether --with-libiconv was given.
3913 if test "${with_libiconv+set}" = set; then
3914 withval=$with_libiconv;
3915 if test "$withval" = yes; then
3916 wx_cv_use_libiconv='wxUSE_LIBICONV=yes'
3917 else
3918 wx_cv_use_libiconv='wxUSE_LIBICONV=no'
3919 fi
3920
3921 else
3922
3923 wx_cv_use_libiconv='wxUSE_LIBICONV=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
3924
3925 fi
3926
3927
3928 eval "$wx_cv_use_libiconv"
3929
3930 if test x"$withstring" = xwithout; then
3931 if test $wxUSE_LIBICONV = yes; then
3932 result=no
3933 else
3934 result=yes
3935 fi
3936 else
3937 result=$wxUSE_LIBICONV
3938 fi
3939
3940 { echo "$as_me:$LINENO: result: $result" >&5
3941 echo "${ECHO_T}$result" >&6; }
3942
3943
3944 withstring=
3945 defaultval=$wxUSE_ALL_FEATURES
3946 if test -z "$defaultval"; then
3947 if test x"$withstring" = xwithout; then
3948 defaultval=yes
3949 else
3950 defaultval=no
3951 fi
3952 fi
3953 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3954 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3955
3956 # Check whether --with-libmspack was given.
3957 if test "${with_libmspack+set}" = set; then
3958 withval=$with_libmspack;
3959 if test "$withval" = yes; then
3960 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3961 else
3962 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3963 fi
3964
3965 else
3966
3967 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3968
3969 fi
3970
3971
3972 eval "$wx_cv_use_libmspack"
3973
3974 if test x"$withstring" = xwithout; then
3975 if test $wxUSE_LIBMSPACK = yes; then
3976 result=no
3977 else
3978 result=yes
3979 fi
3980 else
3981 result=$wxUSE_LIBMSPACK
3982 fi
3983
3984 { echo "$as_me:$LINENO: result: $result" >&5
3985 echo "${ECHO_T}$result" >&6; }
3986
3987
3988 withstring=without
3989 defaultval=$wxUSE_ALL_FEATURES
3990 if test -z "$defaultval"; then
3991 if test x"$withstring" = xwithout; then
3992 defaultval=yes
3993 else
3994 defaultval=no
3995 fi
3996 fi
3997 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gtkprint" >&5
3998 echo $ECHO_N "checking for --${withstring:-with}-gtkprint... $ECHO_C" >&6; }
3999
4000 # Check whether --with-gtkprint was given.
4001 if test "${with_gtkprint+set}" = set; then
4002 withval=$with_gtkprint;
4003 if test "$withval" = yes; then
4004 wx_cv_use_gtkprint='wxUSE_GTKPRINT=yes'
4005 else
4006 wx_cv_use_gtkprint='wxUSE_GTKPRINT=no'
4007 fi
4008
4009 else
4010
4011 wx_cv_use_gtkprint='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
4012
4013 fi
4014
4015
4016 eval "$wx_cv_use_gtkprint"
4017
4018 if test x"$withstring" = xwithout; then
4019 if test $wxUSE_GTKPRINT = yes; then
4020 result=no
4021 else
4022 result=yes
4023 fi
4024 else
4025 result=$wxUSE_GTKPRINT
4026 fi
4027
4028 { echo "$as_me:$LINENO: result: $result" >&5
4029 echo "${ECHO_T}$result" >&6; }
4030
4031
4032 withstring=without
4033 defaultval=$wxUSE_ALL_FEATURES
4034 if test -z "$defaultval"; then
4035 if test x"$withstring" = xwithout; then
4036 defaultval=yes
4037 else
4038 defaultval=no
4039 fi
4040 fi
4041 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
4042 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
4043
4044 # Check whether --with-gnomeprint was given.
4045 if test "${with_gnomeprint+set}" = set; then
4046 withval=$with_gnomeprint;
4047 if test "$withval" = yes; then
4048 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
4049 else
4050 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
4051 fi
4052
4053 else
4054
4055 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
4056
4057 fi
4058
4059
4060 eval "$wx_cv_use_gnomeprint"
4061
4062 if test x"$withstring" = xwithout; then
4063 if test $wxUSE_LIBGNOMEPRINT = yes; then
4064 result=no
4065 else
4066 result=yes
4067 fi
4068 else
4069 result=$wxUSE_LIBGNOMEPRINT
4070 fi
4071
4072 { echo "$as_me:$LINENO: result: $result" >&5
4073 echo "${ECHO_T}$result" >&6; }
4074
4075
4076 withstring=
4077 defaultval=$wxUSE_ALL_FEATURES
4078 if test -z "$defaultval"; then
4079 if test x"$withstring" = xwithout; then
4080 defaultval=yes
4081 else
4082 defaultval=no
4083 fi
4084 fi
4085 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
4086 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
4087
4088 # Check whether --with-gnomevfs was given.
4089 if test "${with_gnomevfs+set}" = set; then
4090 withval=$with_gnomevfs;
4091 if test "$withval" = yes; then
4092 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
4093 else
4094 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
4095 fi
4096
4097 else
4098
4099 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
4100
4101 fi
4102
4103
4104 eval "$wx_cv_use_gnomevfs"
4105
4106 if test x"$withstring" = xwithout; then
4107 if test $wxUSE_LIBGNOMEVFS = yes; then
4108 result=no
4109 else
4110 result=yes
4111 fi
4112 else
4113 result=$wxUSE_LIBGNOMEVFS
4114 fi
4115
4116 { echo "$as_me:$LINENO: result: $result" >&5
4117 echo "${ECHO_T}$result" >&6; }
4118
4119
4120 withstring=
4121 defaultval=$wxUSE_ALL_FEATURES
4122 if test -z "$defaultval"; then
4123 if test x"$withstring" = xwithout; then
4124 defaultval=yes
4125 else
4126 defaultval=no
4127 fi
4128 fi
4129 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
4130 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
4131
4132 # Check whether --with-hildon was given.
4133 if test "${with_hildon+set}" = set; then
4134 withval=$with_hildon;
4135 if test "$withval" = yes; then
4136 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
4137 else
4138 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
4139 fi
4140
4141 else
4142
4143 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
4144
4145 fi
4146
4147
4148 eval "$wx_cv_use_hildon"
4149
4150 if test x"$withstring" = xwithout; then
4151 if test $wxUSE_LIBHILDON = yes; then
4152 result=no
4153 else
4154 result=yes
4155 fi
4156 else
4157 result=$wxUSE_LIBHILDON
4158 fi
4159
4160 { echo "$as_me:$LINENO: result: $result" >&5
4161 echo "${ECHO_T}$result" >&6; }
4162
4163
4164 withstring=
4165 defaultval=$wxUSE_ALL_FEATURES
4166 if test -z "$defaultval"; then
4167 if test x"$withstring" = xwithout; then
4168 defaultval=yes
4169 else
4170 defaultval=no
4171 fi
4172 fi
4173 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4174 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4175
4176 # Check whether --with-opengl was given.
4177 if test "${with_opengl+set}" = set; then
4178 withval=$with_opengl;
4179 if test "$withval" = yes; then
4180 wx_cv_use_opengl='wxUSE_OPENGL=yes'
4181 else
4182 wx_cv_use_opengl='wxUSE_OPENGL=no'
4183 fi
4184
4185 else
4186
4187 wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4188
4189 fi
4190
4191
4192 eval "$wx_cv_use_opengl"
4193
4194 if test x"$withstring" = xwithout; then
4195 if test $wxUSE_OPENGL = yes; then
4196 result=no
4197 else
4198 result=yes
4199 fi
4200 else
4201 result=$wxUSE_OPENGL
4202 fi
4203
4204 { echo "$as_me:$LINENO: result: $result" >&5
4205 echo "${ECHO_T}$result" >&6; }
4206
4207
4208 fi
4209
4210
4211 withstring=
4212 defaultval=$wxUSE_ALL_FEATURES
4213 if test -z "$defaultval"; then
4214 if test x"$withstring" = xwithout; then
4215 defaultval=yes
4216 else
4217 defaultval=no
4218 fi
4219 fi
4220 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4221 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4222
4223 # Check whether --with-dmalloc was given.
4224 if test "${with_dmalloc+set}" = set; then
4225 withval=$with_dmalloc;
4226 if test "$withval" = yes; then
4227 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4228 else
4229 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4230 fi
4231
4232 else
4233
4234 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4235
4236 fi
4237
4238
4239 eval "$wx_cv_use_dmalloc"
4240
4241 if test x"$withstring" = xwithout; then
4242 if test $wxUSE_DMALLOC = yes; then
4243 result=no
4244 else
4245 result=yes
4246 fi
4247 else
4248 result=$wxUSE_DMALLOC
4249 fi
4250
4251 { echo "$as_me:$LINENO: result: $result" >&5
4252 echo "${ECHO_T}$result" >&6; }
4253
4254
4255 withstring=
4256 defaultval=$wxUSE_ALL_FEATURES
4257 if test -z "$defaultval"; then
4258 if test x"$withstring" = xwithout; then
4259 defaultval=yes
4260 else
4261 defaultval=no
4262 fi
4263 fi
4264 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4265 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4266
4267 # Check whether --with-sdl was given.
4268 if test "${with_sdl+set}" = set; then
4269 withval=$with_sdl;
4270 if test "$withval" = yes; then
4271 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
4272 else
4273 wx_cv_use_sdl='wxUSE_LIBSDL=no'
4274 fi
4275
4276 else
4277
4278 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4279
4280 fi
4281
4282
4283 eval "$wx_cv_use_sdl"
4284
4285 if test x"$withstring" = xwithout; then
4286 if test $wxUSE_LIBSDL = yes; then
4287 result=no
4288 else
4289 result=yes
4290 fi
4291 else
4292 result=$wxUSE_LIBSDL
4293 fi
4294
4295 { echo "$as_me:$LINENO: result: $result" >&5
4296 echo "${ECHO_T}$result" >&6; }
4297
4298
4299 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4300 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4301
4302 # Check whether --with-regex was given.
4303 if test "${with_regex+set}" = set; then
4304 withval=$with_regex;
4305 if test "$withval" = yes; then
4306 wx_cv_use_regex='wxUSE_REGEX=yes'
4307 elif test "$withval" = no; then
4308 wx_cv_use_regex='wxUSE_REGEX=no'
4309 elif test "$withval" = sys; then
4310 wx_cv_use_regex='wxUSE_REGEX=sys'
4311 elif test "$withval" = builtin; then
4312 wx_cv_use_regex='wxUSE_REGEX=builtin'
4313 else
4314 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4315 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4316 { (exit 1); exit 1; }; }
4317 fi
4318
4319 else
4320
4321 wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4322
4323 fi
4324
4325
4326 eval "$wx_cv_use_regex"
4327
4328 if test "$wxUSE_REGEX" = yes; then
4329 { echo "$as_me:$LINENO: result: yes" >&5
4330 echo "${ECHO_T}yes" >&6; }
4331 elif test "$wxUSE_REGEX" = no; then
4332 { echo "$as_me:$LINENO: result: no" >&5
4333 echo "${ECHO_T}no" >&6; }
4334 elif test "$wxUSE_REGEX" = sys; then
4335 { echo "$as_me:$LINENO: result: system version" >&5
4336 echo "${ECHO_T}system version" >&6; }
4337 elif test "$wxUSE_REGEX" = builtin; then
4338 { echo "$as_me:$LINENO: result: builtin version" >&5
4339 echo "${ECHO_T}builtin version" >&6; }
4340 else
4341 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4342 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4343 { (exit 1); exit 1; }; }
4344 fi
4345
4346
4347 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4348 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4349
4350 # Check whether --with-zlib was given.
4351 if test "${with_zlib+set}" = set; then
4352 withval=$with_zlib;
4353 if test "$withval" = yes; then
4354 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4355 elif test "$withval" = no; then
4356 wx_cv_use_zlib='wxUSE_ZLIB=no'
4357 elif test "$withval" = sys; then
4358 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4359 elif test "$withval" = builtin; then
4360 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4361 else
4362 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4363 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4364 { (exit 1); exit 1; }; }
4365 fi
4366
4367 else
4368
4369 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4370
4371 fi
4372
4373
4374 eval "$wx_cv_use_zlib"
4375
4376 if test "$wxUSE_ZLIB" = yes; then
4377 { echo "$as_me:$LINENO: result: yes" >&5
4378 echo "${ECHO_T}yes" >&6; }
4379 elif test "$wxUSE_ZLIB" = no; then
4380 { echo "$as_me:$LINENO: result: no" >&5
4381 echo "${ECHO_T}no" >&6; }
4382 elif test "$wxUSE_ZLIB" = sys; then
4383 { echo "$as_me:$LINENO: result: system version" >&5
4384 echo "${ECHO_T}system version" >&6; }
4385 elif test "$wxUSE_ZLIB" = builtin; then
4386 { echo "$as_me:$LINENO: result: builtin version" >&5
4387 echo "${ECHO_T}builtin version" >&6; }
4388 else
4389 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4390 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4391 { (exit 1); exit 1; }; }
4392 fi
4393
4394
4395 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4396 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4397
4398 # Check whether --with-expat was given.
4399 if test "${with_expat+set}" = set; then
4400 withval=$with_expat;
4401 if test "$withval" = yes; then
4402 wx_cv_use_expat='wxUSE_EXPAT=yes'
4403 elif test "$withval" = no; then
4404 wx_cv_use_expat='wxUSE_EXPAT=no'
4405 elif test "$withval" = sys; then
4406 wx_cv_use_expat='wxUSE_EXPAT=sys'
4407 elif test "$withval" = builtin; then
4408 wx_cv_use_expat='wxUSE_EXPAT=builtin'
4409 else
4410 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4411 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4412 { (exit 1); exit 1; }; }
4413 fi
4414
4415 else
4416
4417 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4418
4419 fi
4420
4421
4422 eval "$wx_cv_use_expat"
4423
4424 if test "$wxUSE_EXPAT" = yes; then
4425 { echo "$as_me:$LINENO: result: yes" >&5
4426 echo "${ECHO_T}yes" >&6; }
4427 elif test "$wxUSE_EXPAT" = no; then
4428 { echo "$as_me:$LINENO: result: no" >&5
4429 echo "${ECHO_T}no" >&6; }
4430 elif test "$wxUSE_EXPAT" = sys; then
4431 { echo "$as_me:$LINENO: result: system version" >&5
4432 echo "${ECHO_T}system version" >&6; }
4433 elif test "$wxUSE_EXPAT" = builtin; then
4434 { echo "$as_me:$LINENO: result: builtin version" >&5
4435 echo "${ECHO_T}builtin version" >&6; }
4436 else
4437 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4438 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4439 { (exit 1); exit 1; }; }
4440 fi
4441
4442
4443 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4444 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4445
4446 # Check whether --with-macosx-sdk was given.
4447 if test "${with_macosx_sdk+set}" = set; then
4448 withval=$with_macosx_sdk;
4449 wxUSE_MACOSX_SDK=$withval
4450 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4451
4452 fi
4453
4454 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4455 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4456
4457 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4458 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4459
4460 # Check whether --with-macosx-version-min was given.
4461 if test "${with_macosx_version_min+set}" = set; then
4462 withval=$with_macosx_version_min;
4463 wxUSE_MACOSX_VERSION_MIN=$withval
4464 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4465
4466 fi
4467
4468 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4469 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4470
4471
4472 { echo "$as_me:$LINENO: checking for --enable-debug" >&5
4473 echo $ECHO_N "checking for --enable-debug... $ECHO_C" >&6; }
4474 # Check whether --enable-debug was given.
4475 if test "${enable_debug+set}" = set; then
4476 enableval=$enable_debug;
4477 if test "$enableval" = yes; then
4478 wxUSE_DEBUG=yes
4479 elif test "$enableval" = no; then
4480 wxUSE_DEBUG=no
4481 elif test "$enableval" = max; then
4482 wxUSE_DEBUG=yes
4483 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=2"
4484 else
4485 { { echo "$as_me:$LINENO: error: Invalid --enable-debug value, must be yes, no or max" >&5
4486 echo "$as_me: error: Invalid --enable-debug value, must be yes, no or max" >&2;}
4487 { (exit 1); exit 1; }; }
4488 fi
4489
4490 else
4491 wxUSE_DEBUG=default
4492
4493 fi
4494
4495 { echo "$as_me:$LINENO: result: ${enable_debug-default}" >&5
4496 echo "${ECHO_T}${enable_debug-default}" >&6; }
4497
4498 case "$wxUSE_DEBUG" in
4499 yes)
4500 DEFAULT_wxUSE_DEBUG_FLAG=yes
4501 DEFAULT_wxUSE_DEBUG_INFO=yes
4502
4503 DEFAULT_wxUSE_OPTIMISE=no
4504 ;;
4505
4506 no)
4507 DEFAULT_wxUSE_DEBUG_FLAG=no
4508 DEFAULT_wxUSE_DEBUG_INFO=no
4509 ;;
4510
4511 default)
4512 DEFAULT_wxUSE_DEBUG_FLAG=yes
4513 DEFAULT_wxUSE_DEBUG_INFO=no
4514 ;;
4515 esac
4516
4517
4518 enablestring=disable
4519 defaultval=
4520 if test -z "$defaultval"; then
4521 if test x"$enablestring" = xdisable; then
4522 defaultval=yes
4523 else
4524 defaultval=no
4525 fi
4526 fi
4527
4528 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4529 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4530 # Check whether --enable-debug_flag was given.
4531 if test "${enable_debug_flag+set}" = set; then
4532 enableval=$enable_debug_flag;
4533 if test "$enableval" = yes; then
4534 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4535 else
4536 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4537 fi
4538
4539 else
4540
4541 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
4542
4543 fi
4544
4545
4546 eval "$wx_cv_use_debug_flag"
4547
4548 if test x"$enablestring" = xdisable; then
4549 if test $wxUSE_DEBUG_FLAG = no; then
4550 result=yes
4551 else
4552 result=no
4553 fi
4554 else
4555 result=$wxUSE_DEBUG_FLAG
4556 fi
4557
4558 { echo "$as_me:$LINENO: result: $result" >&5
4559 echo "${ECHO_T}$result" >&6; }
4560
4561
4562 enablestring=
4563 defaultval=
4564 if test -z "$defaultval"; then
4565 if test x"$enablestring" = xdisable; then
4566 defaultval=yes
4567 else
4568 defaultval=no
4569 fi
4570 fi
4571
4572 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4573 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
4574 # Check whether --enable-debug_info was given.
4575 if test "${enable_debug_info+set}" = set; then
4576 enableval=$enable_debug_info;
4577 if test "$enableval" = yes; then
4578 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4579 else
4580 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4581 fi
4582
4583 else
4584
4585 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
4586
4587 fi
4588
4589
4590 eval "$wx_cv_use_debug_info"
4591
4592 if test x"$enablestring" = xdisable; then
4593 if test $wxUSE_DEBUG_INFO = no; then
4594 result=yes
4595 else
4596 result=no
4597 fi
4598 else
4599 result=$wxUSE_DEBUG_INFO
4600 fi
4601
4602 { echo "$as_me:$LINENO: result: $result" >&5
4603 echo "${ECHO_T}$result" >&6; }
4604
4605
4606
4607
4608 enablestring=
4609 defaultval=
4610 if test -z "$defaultval"; then
4611 if test x"$enablestring" = xdisable; then
4612 defaultval=yes
4613 else
4614 defaultval=no
4615 fi
4616 fi
4617
4618 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4619 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4620 # Check whether --enable-debug_gdb was given.
4621 if test "${enable_debug_gdb+set}" = set; then
4622 enableval=$enable_debug_gdb;
4623 if test "$enableval" = yes; then
4624 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4625 else
4626 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4627 fi
4628
4629 else
4630
4631 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
4632
4633 fi
4634
4635
4636 eval "$wx_cv_use_debug_gdb"
4637
4638 if test x"$enablestring" = xdisable; then
4639 if test $wxUSE_DEBUG_GDB = no; then
4640 result=yes
4641 else
4642 result=no
4643 fi
4644 else
4645 result=$wxUSE_DEBUG_GDB
4646 fi
4647
4648 { echo "$as_me:$LINENO: result: $result" >&5
4649 echo "${ECHO_T}$result" >&6; }
4650
4651
4652 enablestring=
4653 defaultval=
4654 if test -z "$defaultval"; then
4655 if test x"$enablestring" = xdisable; then
4656 defaultval=yes
4657 else
4658 defaultval=no
4659 fi
4660 fi
4661
4662 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4663 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
4664 # Check whether --enable-debug_cntxt was given.
4665 if test "${enable_debug_cntxt+set}" = set; then
4666 enableval=$enable_debug_cntxt;
4667 if test "$enableval" = yes; then
4668 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4669 else
4670 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4671 fi
4672
4673 else
4674
4675 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
4676
4677 fi
4678
4679
4680 eval "$wx_cv_use_debug_cntxt"
4681
4682 if test x"$enablestring" = xdisable; then
4683 if test $wxUSE_DEBUG_CONTEXT = no; then
4684 result=yes
4685 else
4686 result=no
4687 fi
4688 else
4689 result=$wxUSE_DEBUG_CONTEXT
4690 fi
4691
4692 { echo "$as_me:$LINENO: result: $result" >&5
4693 echo "${ECHO_T}$result" >&6; }
4694
4695
4696 enablestring=
4697 defaultval=
4698 if test -z "$defaultval"; then
4699 if test x"$enablestring" = xdisable; then
4700 defaultval=yes
4701 else
4702 defaultval=no
4703 fi
4704 fi
4705
4706 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4707 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
4708 # Check whether --enable-mem_tracing was given.
4709 if test "${enable_mem_tracing+set}" = set; then
4710 enableval=$enable_mem_tracing;
4711 if test "$enableval" = yes; then
4712 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4713 else
4714 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4715 fi
4716
4717 else
4718
4719 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
4720
4721 fi
4722
4723
4724 eval "$wx_cv_use_mem_tracing"
4725
4726 if test x"$enablestring" = xdisable; then
4727 if test $wxUSE_MEM_TRACING = no; then
4728 result=yes
4729 else
4730 result=no
4731 fi
4732 else
4733 result=$wxUSE_MEM_TRACING
4734 fi
4735
4736 { echo "$as_me:$LINENO: result: $result" >&5
4737 echo "${ECHO_T}$result" >&6; }
4738
4739
4740
4741
4742 enablestring=disable
4743 defaultval=
4744 if test -z "$defaultval"; then
4745 if test x"$enablestring" = xdisable; then
4746 defaultval=yes
4747 else
4748 defaultval=no
4749 fi
4750 fi
4751
4752 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4753 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4754 # Check whether --enable-shared was given.
4755 if test "${enable_shared+set}" = set; then
4756 enableval=$enable_shared;
4757 if test "$enableval" = yes; then
4758 wx_cv_use_shared='wxUSE_SHARED=yes'
4759 else
4760 wx_cv_use_shared='wxUSE_SHARED=no'
4761 fi
4762
4763 else
4764
4765 wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4766
4767 fi
4768
4769
4770 eval "$wx_cv_use_shared"
4771
4772 if test x"$enablestring" = xdisable; then
4773 if test $wxUSE_SHARED = no; then
4774 result=yes
4775 else
4776 result=no
4777 fi
4778 else
4779 result=$wxUSE_SHARED
4780 fi
4781
4782 { echo "$as_me:$LINENO: result: $result" >&5
4783 echo "${ECHO_T}$result" >&6; }
4784
4785
4786 enablestring=
4787 defaultval=
4788 if test -z "$defaultval"; then
4789 if test x"$enablestring" = xdisable; then
4790 defaultval=yes
4791 else
4792 defaultval=no
4793 fi
4794 fi
4795
4796 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4797 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4798 # Check whether --enable-stl was given.
4799 if test "${enable_stl+set}" = set; then
4800 enableval=$enable_stl;
4801 if test "$enableval" = yes; then
4802 wx_cv_use_stl='wxUSE_STL=yes'
4803 else
4804 wx_cv_use_stl='wxUSE_STL=no'
4805 fi
4806
4807 else
4808
4809 wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4810
4811 fi
4812
4813
4814 eval "$wx_cv_use_stl"
4815
4816 if test x"$enablestring" = xdisable; then
4817 if test $wxUSE_STL = no; then
4818 result=yes
4819 else
4820 result=no
4821 fi
4822 else
4823 result=$wxUSE_STL
4824 fi
4825
4826 { echo "$as_me:$LINENO: result: $result" >&5
4827 echo "${ECHO_T}$result" >&6; }
4828
4829 if test "$wxUSE_STL" = "yes"; then
4830 DEFAULT_wxUSE_STD_CONTAINERS=yes
4831 DEFAULT_wxUSE_STD_IOSTREAM=yes
4832 DEFAULT_wxUSE_STD_STRING=yes
4833 fi
4834
4835 enablestring=
4836 defaultval=
4837 if test -z "$defaultval"; then
4838 if test x"$enablestring" = xdisable; then
4839 defaultval=yes
4840 else
4841 defaultval=no
4842 fi
4843 fi
4844
4845 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_containers" >&5
4846 echo $ECHO_N "checking for --${enablestring:-enable}-std_containers... $ECHO_C" >&6; }
4847 # Check whether --enable-std_containers was given.
4848 if test "${enable_std_containers+set}" = set; then
4849 enableval=$enable_std_containers;
4850 if test "$enableval" = yes; then
4851 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=yes'
4852 else
4853 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=no'
4854 fi
4855
4856 else
4857
4858 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=${'DEFAULT_wxUSE_STD_CONTAINERS":-$defaultval}"
4859
4860 fi
4861
4862
4863 eval "$wx_cv_use_std_containers"
4864
4865 if test x"$enablestring" = xdisable; then
4866 if test $wxUSE_STD_CONTAINERS = no; then
4867 result=yes
4868 else
4869 result=no
4870 fi
4871 else
4872 result=$wxUSE_STD_CONTAINERS
4873 fi
4874
4875 { echo "$as_me:$LINENO: result: $result" >&5
4876 echo "${ECHO_T}$result" >&6; }
4877
4878
4879 enablestring=
4880 defaultval=
4881 if test -z "$defaultval"; then
4882 if test x"$enablestring" = xdisable; then
4883 defaultval=yes
4884 else
4885 defaultval=no
4886 fi
4887 fi
4888
4889 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4890 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4891 # Check whether --enable-std_iostreams was given.
4892 if test "${enable_std_iostreams+set}" = set; then
4893 enableval=$enable_std_iostreams;
4894 if test "$enableval" = yes; then
4895 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4896 else
4897 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4898 fi
4899
4900 else
4901
4902 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4903
4904 fi
4905
4906
4907 eval "$wx_cv_use_std_iostreams"
4908
4909 if test x"$enablestring" = xdisable; then
4910 if test $wxUSE_STD_IOSTREAM = no; then
4911 result=yes
4912 else
4913 result=no
4914 fi
4915 else
4916 result=$wxUSE_STD_IOSTREAM
4917 fi
4918
4919 { echo "$as_me:$LINENO: result: $result" >&5
4920 echo "${ECHO_T}$result" >&6; }
4921
4922
4923 enablestring=
4924 defaultval=
4925 if test -z "$defaultval"; then
4926 if test x"$enablestring" = xdisable; then
4927 defaultval=yes
4928 else
4929 defaultval=no
4930 fi
4931 fi
4932
4933 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4934 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4935 # Check whether --enable-std_string was given.
4936 if test "${enable_std_string+set}" = set; then
4937 enableval=$enable_std_string;
4938 if test "$enableval" = yes; then
4939 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4940 else
4941 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4942 fi
4943
4944 else
4945
4946 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4947
4948 fi
4949
4950
4951 eval "$wx_cv_use_std_string"
4952
4953 if test x"$enablestring" = xdisable; then
4954 if test $wxUSE_STD_STRING = no; then
4955 result=yes
4956 else
4957 result=no
4958 fi
4959 else
4960 result=$wxUSE_STD_STRING
4961 fi
4962
4963 { echo "$as_me:$LINENO: result: $result" >&5
4964 echo "${ECHO_T}$result" >&6; }
4965
4966
4967 enablestring=
4968 defaultval=
4969 if test -z "$defaultval"; then
4970 if test x"$enablestring" = xdisable; then
4971 defaultval=yes
4972 else
4973 defaultval=no
4974 fi
4975 fi
4976
4977 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string_conv_in_wxstring" >&5
4978 echo $ECHO_N "checking for --${enablestring:-enable}-std_string_conv_in_wxstring... $ECHO_C" >&6; }
4979 # Check whether --enable-std_string_conv_in_wxstring was given.
4980 if test "${enable_std_string_conv_in_wxstring+set}" = set; then
4981 enableval=$enable_std_string_conv_in_wxstring;
4982 if test "$enableval" = yes; then
4983 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=yes'
4984 else
4985 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=no'
4986 fi
4987
4988 else
4989
4990 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=${'DEFAULT_wxUSE_STD_STRING_CONV_IN_WXSTRING":-$defaultval}"
4991
4992 fi
4993
4994
4995 eval "$wx_cv_use_std_string_conv_in_wxstring"
4996
4997 if test x"$enablestring" = xdisable; then
4998 if test $wxUSE_STD_STRING_CONV_IN_WXSTRING = no; then
4999 result=yes
5000 else
5001 result=no
5002 fi
5003 else
5004 result=$wxUSE_STD_STRING_CONV_IN_WXSTRING
5005 fi
5006
5007 { echo "$as_me:$LINENO: result: $result" >&5
5008 echo "${ECHO_T}$result" >&6; }
5009
5010
5011 enablestring=disable
5012 defaultval=
5013 if test -z "$defaultval"; then
5014 if test x"$enablestring" = xdisable; then
5015 defaultval=yes
5016 else
5017 defaultval=no
5018 fi
5019 fi
5020
5021 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
5022 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
5023 # Check whether --enable-unicode was given.
5024 if test "${enable_unicode+set}" = set; then
5025 enableval=$enable_unicode;
5026 if test "$enableval" = yes; then
5027 wx_cv_use_unicode='wxUSE_UNICODE=yes'
5028 else
5029 wx_cv_use_unicode='wxUSE_UNICODE=no'
5030 fi
5031
5032 else
5033
5034 wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
5035
5036 fi
5037
5038
5039 eval "$wx_cv_use_unicode"
5040
5041 if test x"$enablestring" = xdisable; then
5042 if test $wxUSE_UNICODE = no; then
5043 result=yes
5044 else
5045 result=no
5046 fi
5047 else
5048 result=$wxUSE_UNICODE
5049 fi
5050
5051 { echo "$as_me:$LINENO: result: $result" >&5
5052 echo "${ECHO_T}$result" >&6; }
5053
5054
5055 enablestring=
5056 defaultval=
5057 if test -z "$defaultval"; then
5058 if test x"$enablestring" = xdisable; then
5059 defaultval=yes
5060 else
5061 defaultval=no
5062 fi
5063 fi
5064
5065 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5066 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
5067 # Check whether --enable-mslu was given.
5068 if test "${enable_mslu+set}" = set; then
5069 enableval=$enable_mslu;
5070 if test "$enableval" = yes; then
5071 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
5072 else
5073 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
5074 fi
5075
5076 else
5077
5078 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
5079
5080 fi
5081
5082
5083 eval "$wx_cv_use_mslu"
5084
5085 if test x"$enablestring" = xdisable; then
5086 if test $wxUSE_UNICODE_MSLU = no; then
5087 result=yes
5088 else
5089 result=no
5090 fi
5091 else
5092 result=$wxUSE_UNICODE_MSLU
5093 fi
5094
5095 { echo "$as_me:$LINENO: result: $result" >&5
5096 echo "${ECHO_T}$result" >&6; }
5097
5098
5099 enablestring=
5100 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
5101 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
5102 # Check whether --enable-utf8 was given.
5103 if test "${enable_utf8+set}" = set; then
5104 enableval=$enable_utf8;
5105 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
5106
5107 else
5108
5109 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
5110
5111 fi
5112
5113
5114 eval "$wx_cv_use_utf8"
5115
5116 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
5117 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
5118
5119
5120 enablestring=
5121 defaultval=
5122 if test -z "$defaultval"; then
5123 if test x"$enablestring" = xdisable; then
5124 defaultval=yes
5125 else
5126 defaultval=no
5127 fi
5128 fi
5129
5130 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
5131 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
5132 # Check whether --enable-utf8only was given.
5133 if test "${enable_utf8only+set}" = set; then
5134 enableval=$enable_utf8only;
5135 if test "$enableval" = yes; then
5136 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
5137 else
5138 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
5139 fi
5140
5141 else
5142
5143 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
5144
5145 fi
5146
5147
5148 eval "$wx_cv_use_utf8only"
5149
5150 if test x"$enablestring" = xdisable; then
5151 if test $wxUSE_UNICODE_UTF8_LOCALE = no; then
5152 result=yes
5153 else
5154 result=no
5155 fi
5156 else
5157 result=$wxUSE_UNICODE_UTF8_LOCALE
5158 fi
5159
5160 { echo "$as_me:$LINENO: result: $result" >&5
5161 echo "${ECHO_T}$result" >&6; }
5162
5163
5164 enablestring=
5165 defaultval=
5166 if test -z "$defaultval"; then
5167 if test x"$enablestring" = xdisable; then
5168 defaultval=yes
5169 else
5170 defaultval=no
5171 fi
5172 fi
5173
5174 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
5175 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
5176 # Check whether --enable-extended_rtti was given.
5177 if test "${enable_extended_rtti+set}" = set; then
5178 enableval=$enable_extended_rtti;
5179 if test "$enableval" = yes; then
5180 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
5181 else
5182 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
5183 fi
5184
5185 else
5186
5187 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
5188
5189 fi
5190
5191
5192 eval "$wx_cv_use_extended_rtti"
5193
5194 if test x"$enablestring" = xdisable; then
5195 if test $wxUSE_EXTENDED_RTTI = no; then
5196 result=yes
5197 else
5198 result=no
5199 fi
5200 else
5201 result=$wxUSE_EXTENDED_RTTI
5202 fi
5203
5204 { echo "$as_me:$LINENO: result: $result" >&5
5205 echo "${ECHO_T}$result" >&6; }
5206
5207 if test "$USE_OS2" = 1; then
5208 DEFAULT_wxUSE_OMF=no
5209
5210 enablestring=
5211 defaultval=
5212 if test -z "$defaultval"; then
5213 if test x"$enablestring" = xdisable; then
5214 defaultval=yes
5215 else
5216 defaultval=no
5217 fi
5218 fi
5219
5220 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
5221 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
5222 # Check whether --enable-omf was given.
5223 if test "${enable_omf+set}" = set; then
5224 enableval=$enable_omf;
5225 if test "$enableval" = yes; then
5226 wx_cv_use_omf='wxUSE_OMF=yes'
5227 else
5228 wx_cv_use_omf='wxUSE_OMF=no'
5229 fi
5230
5231 else
5232
5233 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
5234
5235 fi
5236
5237
5238 eval "$wx_cv_use_omf"
5239
5240 if test x"$enablestring" = xdisable; then
5241 if test $wxUSE_OMF = no; then
5242 result=yes
5243 else
5244 result=no
5245 fi
5246 else
5247 result=$wxUSE_OMF
5248 fi
5249
5250 { echo "$as_me:$LINENO: result: $result" >&5
5251 echo "${ECHO_T}$result" >&6; }
5252
5253 fi
5254
5255
5256 enablestring=disable
5257 defaultval=
5258 if test -z "$defaultval"; then
5259 if test x"$enablestring" = xdisable; then
5260 defaultval=yes
5261 else
5262 defaultval=no
5263 fi
5264 fi
5265
5266 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
5267 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
5268 # Check whether --enable-optimise was given.
5269 if test "${enable_optimise+set}" = set; then
5270 enableval=$enable_optimise;
5271 if test "$enableval" = yes; then
5272 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
5273 else
5274 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
5275 fi
5276
5277 else
5278
5279 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
5280
5281 fi
5282
5283
5284 eval "$wx_cv_use_optimise"
5285
5286 if test x"$enablestring" = xdisable; then
5287 if test $wxUSE_OPTIMISE = no; then
5288 result=yes
5289 else
5290 result=no
5291 fi
5292 else
5293 result=$wxUSE_OPTIMISE
5294 fi
5295
5296 { echo "$as_me:$LINENO: result: $result" >&5
5297 echo "${ECHO_T}$result" >&6; }
5298
5299
5300
5301 enablestring=
5302 defaultval=
5303 if test -z "$defaultval"; then
5304 if test x"$enablestring" = xdisable; then
5305 defaultval=yes
5306 else
5307 defaultval=no
5308 fi
5309 fi
5310
5311 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5312 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5313 # Check whether --enable-profile was given.
5314 if test "${enable_profile+set}" = set; then
5315 enableval=$enable_profile;
5316 if test "$enableval" = yes; then
5317 wx_cv_use_profile='wxUSE_PROFILE=yes'
5318 else
5319 wx_cv_use_profile='wxUSE_PROFILE=no'
5320 fi
5321
5322 else
5323
5324 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5325
5326 fi
5327
5328
5329 eval "$wx_cv_use_profile"
5330
5331 if test x"$enablestring" = xdisable; then
5332 if test $wxUSE_PROFILE = no; then
5333 result=yes
5334 else
5335 result=no
5336 fi
5337 else
5338 result=$wxUSE_PROFILE
5339 fi
5340
5341 { echo "$as_me:$LINENO: result: $result" >&5
5342 echo "${ECHO_T}$result" >&6; }
5343
5344
5345 enablestring=
5346 defaultval=
5347 if test -z "$defaultval"; then
5348 if test x"$enablestring" = xdisable; then
5349 defaultval=yes
5350 else
5351 defaultval=no
5352 fi
5353 fi
5354
5355 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5356 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5357 # Check whether --enable-no_rtti was given.
5358 if test "${enable_no_rtti+set}" = set; then
5359 enableval=$enable_no_rtti;
5360 if test "$enableval" = yes; then
5361 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5362 else
5363 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5364 fi
5365
5366 else
5367
5368 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5369
5370 fi
5371
5372
5373 eval "$wx_cv_use_no_rtti"
5374
5375 if test x"$enablestring" = xdisable; then
5376 if test $wxUSE_NO_RTTI = no; then
5377 result=yes
5378 else
5379 result=no
5380 fi
5381 else
5382 result=$wxUSE_NO_RTTI
5383 fi
5384
5385 { echo "$as_me:$LINENO: result: $result" >&5
5386 echo "${ECHO_T}$result" >&6; }
5387
5388
5389 enablestring=
5390 defaultval=
5391 if test -z "$defaultval"; then
5392 if test x"$enablestring" = xdisable; then
5393 defaultval=yes
5394 else
5395 defaultval=no
5396 fi
5397 fi
5398
5399 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5400 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5401 # Check whether --enable-no_exceptions was given.
5402 if test "${enable_no_exceptions+set}" = set; then
5403 enableval=$enable_no_exceptions;
5404 if test "$enableval" = yes; then
5405 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5406 else
5407 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5408 fi
5409
5410 else
5411
5412 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5413
5414 fi
5415
5416
5417 eval "$wx_cv_use_no_exceptions"
5418
5419 if test x"$enablestring" = xdisable; then
5420 if test $wxUSE_NO_EXCEPTIONS = no; then
5421 result=yes
5422 else
5423 result=no
5424 fi
5425 else
5426 result=$wxUSE_NO_EXCEPTIONS
5427 fi
5428
5429 { echo "$as_me:$LINENO: result: $result" >&5
5430 echo "${ECHO_T}$result" >&6; }
5431
5432
5433 enablestring=
5434 defaultval=
5435 if test -z "$defaultval"; then
5436 if test x"$enablestring" = xdisable; then
5437 defaultval=yes
5438 else
5439 defaultval=no
5440 fi
5441 fi
5442
5443 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5444 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5445 # Check whether --enable-permissive was given.
5446 if test "${enable_permissive+set}" = set; then
5447 enableval=$enable_permissive;
5448 if test "$enableval" = yes; then
5449 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5450 else
5451 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
5452 fi
5453
5454 else
5455
5456 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5457
5458 fi
5459
5460
5461 eval "$wx_cv_use_permissive"
5462
5463 if test x"$enablestring" = xdisable; then
5464 if test $wxUSE_PERMISSIVE = no; then
5465 result=yes
5466 else
5467 result=no
5468 fi
5469 else
5470 result=$wxUSE_PERMISSIVE
5471 fi
5472
5473 { echo "$as_me:$LINENO: result: $result" >&5
5474 echo "${ECHO_T}$result" >&6; }
5475
5476
5477 enablestring=
5478 defaultval=
5479 if test -z "$defaultval"; then
5480 if test x"$enablestring" = xdisable; then
5481 defaultval=yes
5482 else
5483 defaultval=no
5484 fi
5485 fi
5486
5487 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5488 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5489 # Check whether --enable-no_deps was given.
5490 if test "${enable_no_deps+set}" = set; then
5491 enableval=$enable_no_deps;
5492 if test "$enableval" = yes; then
5493 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5494 else
5495 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5496 fi
5497
5498 else
5499
5500 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5501
5502 fi
5503
5504
5505 eval "$wx_cv_use_no_deps"
5506
5507 if test x"$enablestring" = xdisable; then
5508 if test $wxUSE_NO_DEPS = no; then
5509 result=yes
5510 else
5511 result=no
5512 fi
5513 else
5514 result=$wxUSE_NO_DEPS
5515 fi
5516
5517 { echo "$as_me:$LINENO: result: $result" >&5
5518 echo "${ECHO_T}$result" >&6; }
5519
5520
5521 enablestring=disable
5522 defaultval=
5523 if test -z "$defaultval"; then
5524 if test x"$enablestring" = xdisable; then
5525 defaultval=yes
5526 else
5527 defaultval=no
5528 fi
5529 fi
5530
5531 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5532 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5533 # Check whether --enable-vararg_macros was given.
5534 if test "${enable_vararg_macros+set}" = set; then
5535 enableval=$enable_vararg_macros;
5536 if test "$enableval" = yes; then
5537 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5538 else
5539 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5540 fi
5541
5542 else
5543
5544 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5545
5546 fi
5547
5548
5549 eval "$wx_cv_use_vararg_macros"
5550
5551 if test x"$enablestring" = xdisable; then
5552 if test $wxUSE_VARARG_MACROS = no; then
5553 result=yes
5554 else
5555 result=no
5556 fi
5557 else
5558 result=$wxUSE_VARARG_MACROS
5559 fi
5560
5561 { echo "$as_me:$LINENO: result: $result" >&5
5562 echo "${ECHO_T}$result" >&6; }
5563
5564
5565
5566 enablestring=
5567 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5568 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5569 # Check whether --enable-universal_binary was given.
5570 if test "${enable_universal_binary+set}" = set; then
5571 enableval=$enable_universal_binary;
5572 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5573
5574 else
5575
5576 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5577
5578 fi
5579
5580
5581 eval "$wx_cv_use_universal_binary"
5582
5583 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5584 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5585
5586
5587 enablestring=
5588 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-macosx_arch" >&5
5589 echo $ECHO_N "checking for --${enablestring:-enable}-macosx_arch... $ECHO_C" >&6; }
5590 # Check whether --enable-macosx_arch was given.
5591 if test "${enable_macosx_arch+set}" = set; then
5592 enableval=$enable_macosx_arch;
5593 wx_cv_use_macosx_arch="wxUSE_MAC_ARCH='$enableval'"
5594
5595 else
5596
5597 wx_cv_use_macosx_arch='wxUSE_MAC_ARCH='$DEFAULT_wxUSE_MAC_ARCH
5598
5599 fi
5600
5601
5602 eval "$wx_cv_use_macosx_arch"
5603
5604 { echo "$as_me:$LINENO: result: $wxUSE_MAC_ARCH" >&5
5605 echo "${ECHO_T}$wxUSE_MAC_ARCH" >&6; }
5606
5607
5608
5609 enablestring=
5610 defaultval=
5611 if test -z "$defaultval"; then
5612 if test x"$enablestring" = xdisable; then
5613 defaultval=yes
5614 else
5615 defaultval=no
5616 fi
5617 fi
5618
5619 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5620 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5621 # Check whether --enable-compat26 was given.
5622 if test "${enable_compat26+set}" = set; then
5623 enableval=$enable_compat26;
5624 if test "$enableval" = yes; then
5625 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5626 else
5627 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5628 fi
5629
5630 else
5631
5632 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5633
5634 fi
5635
5636
5637 eval "$wx_cv_use_compat26"
5638
5639 if test x"$enablestring" = xdisable; then
5640 if test $WXWIN_COMPATIBILITY_2_6 = no; then
5641 result=yes
5642 else
5643 result=no
5644 fi
5645 else
5646 result=$WXWIN_COMPATIBILITY_2_6
5647 fi
5648
5649 { echo "$as_me:$LINENO: result: $result" >&5
5650 echo "${ECHO_T}$result" >&6; }
5651
5652
5653 enablestring=disable
5654 defaultval=
5655 if test -z "$defaultval"; then
5656 if test x"$enablestring" = xdisable; then
5657 defaultval=yes
5658 else
5659 defaultval=no
5660 fi
5661 fi
5662
5663 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5664 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5665 # Check whether --enable-compat28 was given.
5666 if test "${enable_compat28+set}" = set; then
5667 enableval=$enable_compat28;
5668 if test "$enableval" = yes; then
5669 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5670 else
5671 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5672 fi
5673
5674 else
5675
5676 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5677
5678 fi
5679
5680
5681 eval "$wx_cv_use_compat28"
5682
5683 if test x"$enablestring" = xdisable; then
5684 if test $WXWIN_COMPATIBILITY_2_8 = no; then
5685 result=yes
5686 else
5687 result=no
5688 fi
5689 else
5690 result=$WXWIN_COMPATIBILITY_2_8
5691 fi
5692
5693 { echo "$as_me:$LINENO: result: $result" >&5
5694 echo "${ECHO_T}$result" >&6; }
5695
5696
5697
5698 enablestring=disable
5699 defaultval=
5700 if test -z "$defaultval"; then
5701 if test x"$enablestring" = xdisable; then
5702 defaultval=yes
5703 else
5704 defaultval=no
5705 fi
5706 fi
5707
5708 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5709 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5710 # Check whether --enable-rpath was given.
5711 if test "${enable_rpath+set}" = set; then
5712 enableval=$enable_rpath;
5713 if test "$enableval" = yes; then
5714 wx_cv_use_rpath='wxUSE_RPATH=yes'
5715 else
5716 wx_cv_use_rpath='wxUSE_RPATH=no'
5717 fi
5718
5719 else
5720
5721 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5722
5723 fi
5724
5725
5726 eval "$wx_cv_use_rpath"
5727
5728 if test x"$enablestring" = xdisable; then
5729 if test $wxUSE_RPATH = no; then
5730 result=yes
5731 else
5732 result=no
5733 fi
5734 else
5735 result=$wxUSE_RPATH
5736 fi
5737
5738 { echo "$as_me:$LINENO: result: $result" >&5
5739 echo "${ECHO_T}$result" >&6; }
5740
5741
5742
5743 enablestring=
5744 defaultval=
5745 if test -z "$defaultval"; then
5746 if test x"$enablestring" = xdisable; then
5747 defaultval=yes
5748 else
5749 defaultval=no
5750 fi
5751 fi
5752
5753 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5754 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5755 # Check whether --enable-objc_uniquifying was given.
5756 if test "${enable_objc_uniquifying+set}" = set; then
5757 enableval=$enable_objc_uniquifying;
5758 if test "$enableval" = yes; then
5759 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
5760 else
5761 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
5762 fi
5763
5764 else
5765
5766 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5767
5768 fi
5769
5770
5771 eval "$wx_cv_use_objc_uniquifying"
5772
5773 if test x"$enablestring" = xdisable; then
5774 if test $wxUSE_OBJC_UNIQUIFYING = no; then
5775 result=yes
5776 else
5777 result=no
5778 fi
5779 else
5780 result=$wxUSE_OBJC_UNIQUIFYING
5781 fi
5782
5783 { echo "$as_me:$LINENO: result: $result" >&5
5784 echo "${ECHO_T}$result" >&6; }
5785
5786
5787
5788 enablestring=disable
5789 defaultval=
5790 if test -z "$defaultval"; then
5791 if test x"$enablestring" = xdisable; then
5792 defaultval=yes
5793 else
5794 defaultval=no
5795 fi
5796 fi
5797
5798 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
5799 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
5800 # Check whether --enable-visibility was given.
5801 if test "${enable_visibility+set}" = set; then
5802 enableval=$enable_visibility;
5803 if test "$enableval" = yes; then
5804 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
5805 else
5806 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
5807 fi
5808
5809 else
5810
5811 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5812
5813 fi
5814
5815
5816 eval "$wx_cv_use_visibility"
5817
5818 if test x"$enablestring" = xdisable; then
5819 if test $wxUSE_VISIBILITY = no; then
5820 result=yes
5821 else
5822 result=no
5823 fi
5824 else
5825 result=$wxUSE_VISIBILITY
5826 fi
5827
5828 { echo "$as_me:$LINENO: result: $result" >&5
5829 echo "${ECHO_T}$result" >&6; }
5830
5831
5832 enablestring=disable
5833 defaultval=
5834 if test -z "$defaultval"; then
5835 if test x"$enablestring" = xdisable; then
5836 defaultval=yes
5837 else
5838 defaultval=no
5839 fi
5840 fi
5841
5842 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tls" >&5
5843 echo $ECHO_N "checking for --${enablestring:-enable}-tls... $ECHO_C" >&6; }
5844 # Check whether --enable-tls was given.
5845 if test "${enable_tls+set}" = set; then
5846 enableval=$enable_tls;
5847 if test "$enableval" = yes; then
5848 wx_cv_use_tls='wxUSE_COMPILER_TLS=yes'
5849 else
5850 wx_cv_use_tls='wxUSE_COMPILER_TLS=no'
5851 fi
5852
5853 else
5854
5855 wx_cv_use_tls='wxUSE_COMPILER_TLS=${'DEFAULT_wxUSE_COMPILER_TLS":-$defaultval}"
5856
5857 fi
5858
5859
5860 eval "$wx_cv_use_tls"
5861
5862 if test x"$enablestring" = xdisable; then
5863 if test $wxUSE_COMPILER_TLS = no; then
5864 result=yes
5865 else
5866 result=no
5867 fi
5868 else
5869 result=$wxUSE_COMPILER_TLS
5870 fi
5871
5872 { echo "$as_me:$LINENO: result: $result" >&5
5873 echo "${ECHO_T}$result" >&6; }
5874
5875
5876
5877
5878 enablestring=
5879 defaultval=$wxUSE_ALL_FEATURES
5880 if test -z "$defaultval"; then
5881 if test x"$enablestring" = xdisable; then
5882 defaultval=yes
5883 else
5884 defaultval=no
5885 fi
5886 fi
5887
5888 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5889 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5890 # Check whether --enable-intl was given.
5891 if test "${enable_intl+set}" = set; then
5892 enableval=$enable_intl;
5893 if test "$enableval" = yes; then
5894 wx_cv_use_intl='wxUSE_INTL=yes'
5895 else
5896 wx_cv_use_intl='wxUSE_INTL=no'
5897 fi
5898
5899 else
5900
5901 wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5902
5903 fi
5904
5905
5906 eval "$wx_cv_use_intl"
5907
5908 if test x"$enablestring" = xdisable; then
5909 if test $wxUSE_INTL = no; then
5910 result=yes
5911 else
5912 result=no
5913 fi
5914 else
5915 result=$wxUSE_INTL
5916 fi
5917
5918 { echo "$as_me:$LINENO: result: $result" >&5
5919 echo "${ECHO_T}$result" >&6; }
5920
5921
5922 enablestring=
5923 defaultval=$wxUSE_ALL_FEATURES
5924 if test -z "$defaultval"; then
5925 if test x"$enablestring" = xdisable; then
5926 defaultval=yes
5927 else
5928 defaultval=no
5929 fi
5930 fi
5931
5932 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xlocale" >&5
5933 echo $ECHO_N "checking for --${enablestring:-enable}-xlocale... $ECHO_C" >&6; }
5934 # Check whether --enable-xlocale was given.
5935 if test "${enable_xlocale+set}" = set; then
5936 enableval=$enable_xlocale;
5937 if test "$enableval" = yes; then
5938 wx_cv_use_xlocale='wxUSE_XLOCALE=yes'
5939 else
5940 wx_cv_use_xlocale='wxUSE_XLOCALE=no'
5941 fi
5942
5943 else
5944
5945 wx_cv_use_xlocale='wxUSE_XLOCALE=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
5946
5947 fi
5948
5949
5950 eval "$wx_cv_use_xlocale"
5951
5952 if test x"$enablestring" = xdisable; then
5953 if test $wxUSE_XLOCALE = no; then
5954 result=yes
5955 else
5956 result=no
5957 fi
5958 else
5959 result=$wxUSE_XLOCALE
5960 fi
5961
5962 { echo "$as_me:$LINENO: result: $result" >&5
5963 echo "${ECHO_T}$result" >&6; }
5964
5965
5966 enablestring=
5967 defaultval=$wxUSE_ALL_FEATURES
5968 if test -z "$defaultval"; then
5969 if test x"$enablestring" = xdisable; then
5970 defaultval=yes
5971 else
5972 defaultval=no
5973 fi
5974 fi
5975
5976 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5977 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5978 # Check whether --enable-config was given.
5979 if test "${enable_config+set}" = set; then
5980 enableval=$enable_config;
5981 if test "$enableval" = yes; then
5982 wx_cv_use_config='wxUSE_CONFIG=yes'
5983 else
5984 wx_cv_use_config='wxUSE_CONFIG=no'
5985 fi
5986
5987 else
5988
5989 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5990
5991 fi
5992
5993
5994 eval "$wx_cv_use_config"
5995
5996 if test x"$enablestring" = xdisable; then
5997 if test $wxUSE_CONFIG = no; then
5998 result=yes
5999 else
6000 result=no
6001 fi
6002 else
6003 result=$wxUSE_CONFIG
6004 fi
6005
6006 { echo "$as_me:$LINENO: result: $result" >&5
6007 echo "${ECHO_T}$result" >&6; }
6008
6009
6010
6011 enablestring=
6012 defaultval=$wxUSE_ALL_FEATURES
6013 if test -z "$defaultval"; then
6014 if test x"$enablestring" = xdisable; then
6015 defaultval=yes
6016 else
6017 defaultval=no
6018 fi
6019 fi
6020
6021 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
6022 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
6023 # Check whether --enable-protocols was given.
6024 if test "${enable_protocols+set}" = set; then
6025 enableval=$enable_protocols;
6026 if test "$enableval" = yes; then
6027 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
6028 else
6029 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
6030 fi
6031
6032 else
6033
6034 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
6035
6036 fi
6037
6038
6039 eval "$wx_cv_use_protocols"
6040
6041 if test x"$enablestring" = xdisable; then
6042 if test $wxUSE_PROTOCOL = no; then
6043 result=yes
6044 else
6045 result=no
6046 fi
6047 else
6048 result=$wxUSE_PROTOCOL
6049 fi
6050
6051 { echo "$as_me:$LINENO: result: $result" >&5
6052 echo "${ECHO_T}$result" >&6; }
6053
6054
6055 enablestring=
6056 defaultval=$wxUSE_ALL_FEATURES
6057 if test -z "$defaultval"; then
6058 if test x"$enablestring" = xdisable; then
6059 defaultval=yes
6060 else
6061 defaultval=no
6062 fi
6063 fi
6064
6065 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
6066 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
6067 # Check whether --enable-ftp was given.
6068 if test "${enable_ftp+set}" = set; then
6069 enableval=$enable_ftp;
6070 if test "$enableval" = yes; then
6071 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
6072 else
6073 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
6074 fi
6075
6076 else
6077
6078 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
6079
6080 fi
6081
6082
6083 eval "$wx_cv_use_ftp"
6084
6085 if test x"$enablestring" = xdisable; then
6086 if test $wxUSE_PROTOCOL_FTP = no; then
6087 result=yes
6088 else
6089 result=no
6090 fi
6091 else
6092 result=$wxUSE_PROTOCOL_FTP
6093 fi
6094
6095 { echo "$as_me:$LINENO: result: $result" >&5
6096 echo "${ECHO_T}$result" >&6; }
6097
6098
6099 enablestring=
6100 defaultval=$wxUSE_ALL_FEATURES
6101 if test -z "$defaultval"; then
6102 if test x"$enablestring" = xdisable; then
6103 defaultval=yes
6104 else
6105 defaultval=no
6106 fi
6107 fi
6108
6109 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
6110 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
6111 # Check whether --enable-http was given.
6112 if test "${enable_http+set}" = set; then
6113 enableval=$enable_http;
6114 if test "$enableval" = yes; then
6115 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
6116 else
6117 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
6118 fi
6119
6120 else
6121
6122 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
6123
6124 fi
6125
6126
6127 eval "$wx_cv_use_http"
6128
6129 if test x"$enablestring" = xdisable; then
6130 if test $wxUSE_PROTOCOL_HTTP = no; then
6131 result=yes
6132 else
6133 result=no
6134 fi
6135 else
6136 result=$wxUSE_PROTOCOL_HTTP
6137 fi
6138
6139 { echo "$as_me:$LINENO: result: $result" >&5
6140 echo "${ECHO_T}$result" >&6; }
6141
6142
6143 enablestring=
6144 defaultval=$wxUSE_ALL_FEATURES
6145 if test -z "$defaultval"; then
6146 if test x"$enablestring" = xdisable; then
6147 defaultval=yes
6148 else
6149 defaultval=no
6150 fi
6151 fi
6152
6153 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
6154 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
6155 # Check whether --enable-fileproto was given.
6156 if test "${enable_fileproto+set}" = set; then
6157 enableval=$enable_fileproto;
6158 if test "$enableval" = yes; then
6159 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
6160 else
6161 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
6162 fi
6163
6164 else
6165
6166 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
6167
6168 fi
6169
6170
6171 eval "$wx_cv_use_fileproto"
6172
6173 if test x"$enablestring" = xdisable; then
6174 if test $wxUSE_PROTOCOL_FILE = no; then
6175 result=yes
6176 else
6177 result=no
6178 fi
6179 else
6180 result=$wxUSE_PROTOCOL_FILE
6181 fi
6182
6183 { echo "$as_me:$LINENO: result: $result" >&5
6184 echo "${ECHO_T}$result" >&6; }
6185
6186
6187 enablestring=
6188 defaultval=$wxUSE_ALL_FEATURES
6189 if test -z "$defaultval"; then
6190 if test x"$enablestring" = xdisable; then
6191 defaultval=yes
6192 else
6193 defaultval=no
6194 fi
6195 fi
6196
6197 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
6198 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
6199 # Check whether --enable-sockets was given.
6200 if test "${enable_sockets+set}" = set; then
6201 enableval=$enable_sockets;
6202 if test "$enableval" = yes; then
6203 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
6204 else
6205 wx_cv_use_sockets='wxUSE_SOCKETS=no'
6206 fi
6207
6208 else
6209
6210 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
6211
6212 fi
6213
6214
6215 eval "$wx_cv_use_sockets"
6216
6217 if test x"$enablestring" = xdisable; then
6218 if test $wxUSE_SOCKETS = no; then
6219 result=yes
6220 else
6221 result=no
6222 fi
6223 else
6224 result=$wxUSE_SOCKETS
6225 fi
6226
6227 { echo "$as_me:$LINENO: result: $result" >&5
6228 echo "${ECHO_T}$result" >&6; }
6229
6230
6231 enablestring=
6232 defaultval=$wxUSE_ALL_FEATURES
6233 if test -z "$defaultval"; then
6234 if test x"$enablestring" = xdisable; then
6235 defaultval=yes
6236 else
6237 defaultval=no
6238 fi
6239 fi
6240
6241 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipv6" >&5
6242 echo $ECHO_N "checking for --${enablestring:-enable}-ipv6... $ECHO_C" >&6; }
6243 # Check whether --enable-ipv6 was given.
6244 if test "${enable_ipv6+set}" = set; then
6245 enableval=$enable_ipv6;
6246 if test "$enableval" = yes; then
6247 wx_cv_use_ipv6='wxUSE_IPV6=yes'
6248 else
6249 wx_cv_use_ipv6='wxUSE_IPV6=no'
6250 fi
6251
6252 else
6253
6254 wx_cv_use_ipv6='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
6255
6256 fi
6257
6258
6259 eval "$wx_cv_use_ipv6"
6260
6261 if test x"$enablestring" = xdisable; then
6262 if test $wxUSE_IPV6 = no; then
6263 result=yes
6264 else
6265 result=no
6266 fi
6267 else
6268 result=$wxUSE_IPV6
6269 fi
6270
6271 { echo "$as_me:$LINENO: result: $result" >&5
6272 echo "${ECHO_T}$result" >&6; }
6273
6274
6275 enablestring=
6276 defaultval=$wxUSE_ALL_FEATURES
6277 if test -z "$defaultval"; then
6278 if test x"$enablestring" = xdisable; then
6279 defaultval=yes
6280 else
6281 defaultval=no
6282 fi
6283 fi
6284
6285 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
6286 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
6287 # Check whether --enable-ole was given.
6288 if test "${enable_ole+set}" = set; then
6289 enableval=$enable_ole;
6290 if test "$enableval" = yes; then
6291 wx_cv_use_ole='wxUSE_OLE=yes'
6292 else
6293 wx_cv_use_ole='wxUSE_OLE=no'
6294 fi
6295
6296 else
6297
6298 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6299
6300 fi
6301
6302
6303 eval "$wx_cv_use_ole"
6304
6305 if test x"$enablestring" = xdisable; then
6306 if test $wxUSE_OLE = no; then
6307 result=yes
6308 else
6309 result=no
6310 fi
6311 else
6312 result=$wxUSE_OLE
6313 fi
6314
6315 { echo "$as_me:$LINENO: result: $result" >&5
6316 echo "${ECHO_T}$result" >&6; }
6317
6318
6319 enablestring=
6320 defaultval=$wxUSE_ALL_FEATURES
6321 if test -z "$defaultval"; then
6322 if test x"$enablestring" = xdisable; then
6323 defaultval=yes
6324 else
6325 defaultval=no
6326 fi
6327 fi
6328
6329 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
6330 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
6331 # Check whether --enable-dataobj was given.
6332 if test "${enable_dataobj+set}" = set; then
6333 enableval=$enable_dataobj;
6334 if test "$enableval" = yes; then
6335 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6336 else
6337 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6338 fi
6339
6340 else
6341
6342 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6343
6344 fi
6345
6346
6347 eval "$wx_cv_use_dataobj"
6348
6349 if test x"$enablestring" = xdisable; then
6350 if test $wxUSE_DATAOBJ = no; then
6351 result=yes
6352 else
6353 result=no
6354 fi
6355 else
6356 result=$wxUSE_DATAOBJ
6357 fi
6358
6359 { echo "$as_me:$LINENO: result: $result" >&5
6360 echo "${ECHO_T}$result" >&6; }
6361
6362
6363
6364 enablestring=
6365 defaultval=$wxUSE_ALL_FEATURES
6366 if test -z "$defaultval"; then
6367 if test x"$enablestring" = xdisable; then
6368 defaultval=yes
6369 else
6370 defaultval=no
6371 fi
6372 fi
6373
6374 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6375 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6376 # Check whether --enable-ipc was given.
6377 if test "${enable_ipc+set}" = set; then
6378 enableval=$enable_ipc;
6379 if test "$enableval" = yes; then
6380 wx_cv_use_ipc='wxUSE_IPC=yes'
6381 else
6382 wx_cv_use_ipc='wxUSE_IPC=no'
6383 fi
6384
6385 else
6386
6387 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6388
6389 fi
6390
6391
6392 eval "$wx_cv_use_ipc"
6393
6394 if test x"$enablestring" = xdisable; then
6395 if test $wxUSE_IPC = no; then
6396 result=yes
6397 else
6398 result=no
6399 fi
6400 else
6401 result=$wxUSE_IPC
6402 fi
6403
6404 { echo "$as_me:$LINENO: result: $result" >&5
6405 echo "${ECHO_T}$result" >&6; }
6406
6407
6408
6409 enablestring=
6410 defaultval=$wxUSE_ALL_FEATURES
6411 if test -z "$defaultval"; then
6412 if test x"$enablestring" = xdisable; then
6413 defaultval=yes
6414 else
6415 defaultval=no
6416 fi
6417 fi
6418
6419 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6420 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6421 # Check whether --enable-baseevtloop was given.
6422 if test "${enable_baseevtloop+set}" = set; then
6423 enableval=$enable_baseevtloop;
6424 if test "$enableval" = yes; then
6425 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
6426 else
6427 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
6428 fi
6429
6430 else
6431
6432 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6433
6434 fi
6435
6436
6437 eval "$wx_cv_use_baseevtloop"
6438
6439 if test x"$enablestring" = xdisable; then
6440 if test $wxUSE_CONSOLE_EVENTLOOP = no; then
6441 result=yes
6442 else
6443 result=no
6444 fi
6445 else
6446 result=$wxUSE_CONSOLE_EVENTLOOP
6447 fi
6448
6449 { echo "$as_me:$LINENO: result: $result" >&5
6450 echo "${ECHO_T}$result" >&6; }
6451
6452
6453 enablestring=
6454 defaultval=$wxUSE_ALL_FEATURES
6455 if test -z "$defaultval"; then
6456 if test x"$enablestring" = xdisable; then
6457 defaultval=yes
6458 else
6459 defaultval=no
6460 fi
6461 fi
6462
6463 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-epollloop" >&5
6464 echo $ECHO_N "checking for --${enablestring:-enable}-epollloop... $ECHO_C" >&6; }
6465 # Check whether --enable-epollloop was given.
6466 if test "${enable_epollloop+set}" = set; then
6467 enableval=$enable_epollloop;
6468 if test "$enableval" = yes; then
6469 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
6470 else
6471 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
6472 fi
6473
6474 else
6475
6476 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6477
6478 fi
6479
6480
6481 eval "$wx_cv_use_epollloop"
6482
6483 if test x"$enablestring" = xdisable; then
6484 if test $wxUSE_EPOLL_DISPATCHER = no; then
6485 result=yes
6486 else
6487 result=no
6488 fi
6489 else
6490 result=$wxUSE_EPOLL_DISPATCHER
6491 fi
6492
6493 { echo "$as_me:$LINENO: result: $result" >&5
6494 echo "${ECHO_T}$result" >&6; }
6495
6496
6497 enablestring=
6498 defaultval=$wxUSE_ALL_FEATURES
6499 if test -z "$defaultval"; then
6500 if test x"$enablestring" = xdisable; then
6501 defaultval=yes
6502 else
6503 defaultval=no
6504 fi
6505 fi
6506
6507 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6508 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6509 # Check whether --enable-selectloop was given.
6510 if test "${enable_selectloop+set}" = set; then
6511 enableval=$enable_selectloop;
6512 if test "$enableval" = yes; then
6513 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
6514 else
6515 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
6516 fi
6517
6518 else
6519
6520 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6521
6522 fi
6523
6524
6525 eval "$wx_cv_use_selectloop"
6526
6527 if test x"$enablestring" = xdisable; then
6528 if test $wxUSE_SELECT_DISPATCHER = no; then
6529 result=yes
6530 else
6531 result=no
6532 fi
6533 else
6534 result=$wxUSE_SELECT_DISPATCHER
6535 fi
6536
6537 { echo "$as_me:$LINENO: result: $result" >&5
6538 echo "${ECHO_T}$result" >&6; }
6539
6540
6541
6542 enablestring=
6543 defaultval=$wxUSE_ALL_FEATURES
6544 if test -z "$defaultval"; then
6545 if test x"$enablestring" = xdisable; then
6546 defaultval=yes
6547 else
6548 defaultval=no
6549 fi
6550 fi
6551
6552 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-any" >&5
6553 echo $ECHO_N "checking for --${enablestring:-enable}-any... $ECHO_C" >&6; }
6554 # Check whether --enable-any was given.
6555 if test "${enable_any+set}" = set; then
6556 enableval=$enable_any;
6557 if test "$enableval" = yes; then
6558 wx_cv_use_any='wxUSE_ANY=yes'
6559 else
6560 wx_cv_use_any='wxUSE_ANY=no'
6561 fi
6562
6563 else
6564
6565 wx_cv_use_any='wxUSE_ANY=${'DEFAULT_wxUSE_ANY":-$defaultval}"
6566
6567 fi
6568
6569
6570 eval "$wx_cv_use_any"
6571
6572 if test x"$enablestring" = xdisable; then
6573 if test $wxUSE_ANY = no; then
6574 result=yes
6575 else
6576 result=no
6577 fi
6578 else
6579 result=$wxUSE_ANY
6580 fi
6581
6582 { echo "$as_me:$LINENO: result: $result" >&5
6583 echo "${ECHO_T}$result" >&6; }
6584
6585
6586 enablestring=
6587 defaultval=$wxUSE_ALL_FEATURES
6588 if test -z "$defaultval"; then
6589 if test x"$enablestring" = xdisable; then
6590 defaultval=yes
6591 else
6592 defaultval=no
6593 fi
6594 fi
6595
6596 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6597 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6598 # Check whether --enable-apple_ieee was given.
6599 if test "${enable_apple_ieee+set}" = set; then
6600 enableval=$enable_apple_ieee;
6601 if test "$enableval" = yes; then
6602 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6603 else
6604 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6605 fi
6606
6607 else
6608
6609 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6610
6611 fi
6612
6613
6614 eval "$wx_cv_use_apple_ieee"
6615
6616 if test x"$enablestring" = xdisable; then
6617 if test $wxUSE_APPLE_IEEE = no; then
6618 result=yes
6619 else
6620 result=no
6621 fi
6622 else
6623 result=$wxUSE_APPLE_IEEE
6624 fi
6625
6626 { echo "$as_me:$LINENO: result: $result" >&5
6627 echo "${ECHO_T}$result" >&6; }
6628
6629
6630 enablestring=
6631 defaultval=$wxUSE_ALL_FEATURES
6632 if test -z "$defaultval"; then
6633 if test x"$enablestring" = xdisable; then
6634 defaultval=yes
6635 else
6636 defaultval=no
6637 fi
6638 fi
6639
6640 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6641 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6642 # Check whether --enable-arcstream was given.
6643 if test "${enable_arcstream+set}" = set; then
6644 enableval=$enable_arcstream;
6645 if test "$enableval" = yes; then
6646 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6647 else
6648 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6649 fi
6650
6651 else
6652
6653 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6654
6655 fi
6656
6657
6658 eval "$wx_cv_use_arcstream"
6659
6660 if test x"$enablestring" = xdisable; then
6661 if test $wxUSE_ARCHIVE_STREAMS = no; then
6662 result=yes
6663 else
6664 result=no
6665 fi
6666 else
6667 result=$wxUSE_ARCHIVE_STREAMS
6668 fi
6669
6670 { echo "$as_me:$LINENO: result: $result" >&5
6671 echo "${ECHO_T}$result" >&6; }
6672
6673
6674 enablestring=
6675 defaultval=$wxUSE_ALL_FEATURES
6676 if test -z "$defaultval"; then
6677 if test x"$enablestring" = xdisable; then
6678 defaultval=yes
6679 else
6680 defaultval=no
6681 fi
6682 fi
6683
6684 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6685 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6686 # Check whether --enable-base64 was given.
6687 if test "${enable_base64+set}" = set; then
6688 enableval=$enable_base64;
6689 if test "$enableval" = yes; then
6690 wx_cv_use_base64='wxUSE_BASE64=yes'
6691 else
6692 wx_cv_use_base64='wxUSE_BASE64=no'
6693 fi
6694
6695 else
6696
6697 wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6698
6699 fi
6700
6701
6702 eval "$wx_cv_use_base64"
6703
6704 if test x"$enablestring" = xdisable; then
6705 if test $wxUSE_BASE64 = no; then
6706 result=yes
6707 else
6708 result=no
6709 fi
6710 else
6711 result=$wxUSE_BASE64
6712 fi
6713
6714 { echo "$as_me:$LINENO: result: $result" >&5
6715 echo "${ECHO_T}$result" >&6; }
6716
6717
6718 enablestring=
6719 defaultval=$wxUSE_ALL_FEATURES
6720 if test -z "$defaultval"; then
6721 if test x"$enablestring" = xdisable; then
6722 defaultval=yes
6723 else
6724 defaultval=no
6725 fi
6726 fi
6727
6728 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
6729 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
6730 # Check whether --enable-backtrace was given.
6731 if test "${enable_backtrace+set}" = set; then
6732 enableval=$enable_backtrace;
6733 if test "$enableval" = yes; then
6734 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
6735 else
6736 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
6737 fi
6738
6739 else
6740
6741 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6742
6743 fi
6744
6745
6746 eval "$wx_cv_use_backtrace"
6747
6748 if test x"$enablestring" = xdisable; then
6749 if test $wxUSE_STACKWALKER = no; then
6750 result=yes
6751 else
6752 result=no
6753 fi
6754 else
6755 result=$wxUSE_STACKWALKER
6756 fi
6757
6758 { echo "$as_me:$LINENO: result: $result" >&5
6759 echo "${ECHO_T}$result" >&6; }
6760
6761
6762 enablestring=
6763 defaultval=$wxUSE_ALL_FEATURES
6764 if test -z "$defaultval"; then
6765 if test x"$enablestring" = xdisable; then
6766 defaultval=yes
6767 else
6768 defaultval=no
6769 fi
6770 fi
6771
6772 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
6773 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
6774 # Check whether --enable-catch_segvs was given.
6775 if test "${enable_catch_segvs+set}" = set; then
6776 enableval=$enable_catch_segvs;
6777 if test "$enableval" = yes; then
6778 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
6779 else
6780 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
6781 fi
6782
6783 else
6784
6785 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6786
6787 fi
6788
6789
6790 eval "$wx_cv_use_catch_segvs"
6791
6792 if test x"$enablestring" = xdisable; then
6793 if test $wxUSE_ON_FATAL_EXCEPTION = no; then
6794 result=yes
6795 else
6796 result=no
6797 fi
6798 else
6799 result=$wxUSE_ON_FATAL_EXCEPTION
6800 fi
6801
6802 { echo "$as_me:$LINENO: result: $result" >&5
6803 echo "${ECHO_T}$result" >&6; }
6804
6805
6806 enablestring=
6807 defaultval=$wxUSE_ALL_FEATURES
6808 if test -z "$defaultval"; then
6809 if test x"$enablestring" = xdisable; then
6810 defaultval=yes
6811 else
6812 defaultval=no
6813 fi
6814 fi
6815
6816 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6817 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6818 # Check whether --enable-cmdline was given.
6819 if test "${enable_cmdline+set}" = set; then
6820 enableval=$enable_cmdline;
6821 if test "$enableval" = yes; then
6822 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
6823 else
6824 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
6825 fi
6826
6827 else
6828
6829 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6830
6831 fi
6832
6833
6834 eval "$wx_cv_use_cmdline"
6835
6836 if test x"$enablestring" = xdisable; then
6837 if test $wxUSE_CMDLINE_PARSER = no; then
6838 result=yes
6839 else
6840 result=no
6841 fi
6842 else
6843 result=$wxUSE_CMDLINE_PARSER
6844 fi
6845
6846 { echo "$as_me:$LINENO: result: $result" >&5
6847 echo "${ECHO_T}$result" >&6; }
6848
6849
6850 enablestring=
6851 defaultval=$wxUSE_ALL_FEATURES
6852 if test -z "$defaultval"; then
6853 if test x"$enablestring" = xdisable; then
6854 defaultval=yes
6855 else
6856 defaultval=no
6857 fi
6858 fi
6859
6860 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6861 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
6862 # Check whether --enable-datetime was given.
6863 if test "${enable_datetime+set}" = set; then
6864 enableval=$enable_datetime;
6865 if test "$enableval" = yes; then
6866 wx_cv_use_datetime='wxUSE_DATETIME=yes'
6867 else
6868 wx_cv_use_datetime='wxUSE_DATETIME=no'
6869 fi
6870
6871 else
6872
6873 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6874
6875 fi
6876
6877
6878 eval "$wx_cv_use_datetime"
6879
6880 if test x"$enablestring" = xdisable; then
6881 if test $wxUSE_DATETIME = no; then
6882 result=yes
6883 else
6884 result=no
6885 fi
6886 else
6887 result=$wxUSE_DATETIME
6888 fi
6889
6890 { echo "$as_me:$LINENO: result: $result" >&5
6891 echo "${ECHO_T}$result" >&6; }
6892
6893
6894 enablestring=
6895 defaultval=$wxUSE_ALL_FEATURES
6896 if test -z "$defaultval"; then
6897 if test x"$enablestring" = xdisable; then
6898 defaultval=yes
6899 else
6900 defaultval=no
6901 fi
6902 fi
6903
6904 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6905 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
6906 # Check whether --enable-debugreport was given.
6907 if test "${enable_debugreport+set}" = set; then
6908 enableval=$enable_debugreport;
6909 if test "$enableval" = yes; then
6910 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6911 else
6912 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6913 fi
6914
6915 else
6916
6917 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6918
6919 fi
6920
6921
6922 eval "$wx_cv_use_debugreport"
6923
6924 if test x"$enablestring" = xdisable; then
6925 if test $wxUSE_DEBUGREPORT = no; then
6926 result=yes
6927 else
6928 result=no
6929 fi
6930 else
6931 result=$wxUSE_DEBUGREPORT
6932 fi
6933
6934 { echo "$as_me:$LINENO: result: $result" >&5
6935 echo "${ECHO_T}$result" >&6; }
6936
6937
6938 enablestring=
6939 defaultval=$wxUSE_ALL_FEATURES
6940 if test -z "$defaultval"; then
6941 if test x"$enablestring" = xdisable; then
6942 defaultval=yes
6943 else
6944 defaultval=no
6945 fi
6946 fi
6947
6948 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6949 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6950 # Check whether --enable-dialupman was given.
6951 if test "${enable_dialupman+set}" = set; then
6952 enableval=$enable_dialupman;
6953 if test "$enableval" = yes; then
6954 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
6955 else
6956 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
6957 fi
6958
6959 else
6960
6961 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
6962
6963 fi
6964
6965
6966 eval "$wx_cv_use_dialupman"
6967
6968 if test x"$enablestring" = xdisable; then
6969 if test $wxUSE_DIALUP_MANAGER = no; then
6970 result=yes
6971 else
6972 result=no
6973 fi
6974 else
6975 result=$wxUSE_DIALUP_MANAGER
6976 fi
6977
6978 { echo "$as_me:$LINENO: result: $result" >&5
6979 echo "${ECHO_T}$result" >&6; }
6980
6981
6982 enablestring=
6983 defaultval=$wxUSE_ALL_FEATURES
6984 if test -z "$defaultval"; then
6985 if test x"$enablestring" = xdisable; then
6986 defaultval=yes
6987 else
6988 defaultval=no
6989 fi
6990 fi
6991
6992 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6993 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6994 # Check whether --enable-dynlib was given.
6995 if test "${enable_dynlib+set}" = set; then
6996 enableval=$enable_dynlib;
6997 if test "$enableval" = yes; then
6998 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6999 else
7000 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
7001 fi
7002
7003 else
7004
7005 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
7006
7007 fi
7008
7009
7010 eval "$wx_cv_use_dynlib"
7011
7012 if test x"$enablestring" = xdisable; then
7013 if test $wxUSE_DYNLIB_CLASS = no; then
7014 result=yes
7015 else
7016 result=no
7017 fi
7018 else
7019 result=$wxUSE_DYNLIB_CLASS
7020 fi
7021
7022 { echo "$as_me:$LINENO: result: $result" >&5
7023 echo "${ECHO_T}$result" >&6; }
7024
7025
7026 enablestring=
7027 defaultval=$wxUSE_ALL_FEATURES
7028 if test -z "$defaultval"; then
7029 if test x"$enablestring" = xdisable; then
7030 defaultval=yes
7031 else
7032 defaultval=no
7033 fi
7034 fi
7035
7036 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
7037 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
7038 # Check whether --enable-dynamicloader was given.
7039 if test "${enable_dynamicloader+set}" = set; then
7040 enableval=$enable_dynamicloader;
7041 if test "$enableval" = yes; then
7042 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
7043 else
7044 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
7045 fi
7046
7047 else
7048
7049 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
7050
7051 fi
7052
7053
7054 eval "$wx_cv_use_dynamicloader"
7055
7056 if test x"$enablestring" = xdisable; then
7057 if test $wxUSE_DYNAMIC_LOADER = no; then
7058 result=yes
7059 else
7060 result=no
7061 fi
7062 else
7063 result=$wxUSE_DYNAMIC_LOADER
7064 fi
7065
7066 { echo "$as_me:$LINENO: result: $result" >&5
7067 echo "${ECHO_T}$result" >&6; }
7068
7069
7070 enablestring=
7071 defaultval=$wxUSE_ALL_FEATURES
7072 if test -z "$defaultval"; then
7073 if test x"$enablestring" = xdisable; then
7074 defaultval=yes
7075 else
7076 defaultval=no
7077 fi
7078 fi
7079
7080 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
7081 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
7082 # Check whether --enable-exceptions was given.
7083 if test "${enable_exceptions+set}" = set; then
7084 enableval=$enable_exceptions;
7085 if test "$enableval" = yes; then
7086 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
7087 else
7088 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
7089 fi
7090
7091 else
7092
7093 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
7094
7095 fi
7096
7097
7098 eval "$wx_cv_use_exceptions"
7099
7100 if test x"$enablestring" = xdisable; then
7101 if test $wxUSE_EXCEPTIONS = no; then
7102 result=yes
7103 else
7104 result=no
7105 fi
7106 else
7107 result=$wxUSE_EXCEPTIONS
7108 fi
7109
7110 { echo "$as_me:$LINENO: result: $result" >&5
7111 echo "${ECHO_T}$result" >&6; }
7112
7113
7114 enablestring=
7115 defaultval=$wxUSE_ALL_FEATURES
7116 if test -z "$defaultval"; then
7117 if test x"$enablestring" = xdisable; then
7118 defaultval=yes
7119 else
7120 defaultval=no
7121 fi
7122 fi
7123
7124 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
7125 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
7126 # Check whether --enable-ffile was given.
7127 if test "${enable_ffile+set}" = set; then
7128 enableval=$enable_ffile;
7129 if test "$enableval" = yes; then
7130 wx_cv_use_ffile='wxUSE_FFILE=yes'
7131 else
7132 wx_cv_use_ffile='wxUSE_FFILE=no'
7133 fi
7134
7135 else
7136
7137 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
7138
7139 fi
7140
7141
7142 eval "$wx_cv_use_ffile"
7143
7144 if test x"$enablestring" = xdisable; then
7145 if test $wxUSE_FFILE = no; then
7146 result=yes
7147 else
7148 result=no
7149 fi
7150 else
7151 result=$wxUSE_FFILE
7152 fi
7153
7154 { echo "$as_me:$LINENO: result: $result" >&5
7155 echo "${ECHO_T}$result" >&6; }
7156
7157
7158 enablestring=
7159 defaultval=$wxUSE_ALL_FEATURES
7160 if test -z "$defaultval"; then
7161 if test x"$enablestring" = xdisable; then
7162 defaultval=yes
7163 else
7164 defaultval=no
7165 fi
7166 fi
7167
7168 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
7169 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
7170 # Check whether --enable-file was given.
7171 if test "${enable_file+set}" = set; then
7172 enableval=$enable_file;
7173 if test "$enableval" = yes; then
7174 wx_cv_use_file='wxUSE_FILE=yes'
7175 else
7176 wx_cv_use_file='wxUSE_FILE=no'
7177 fi
7178
7179 else
7180
7181 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
7182
7183 fi
7184
7185
7186 eval "$wx_cv_use_file"
7187
7188 if test x"$enablestring" = xdisable; then
7189 if test $wxUSE_FILE = no; then
7190 result=yes
7191 else
7192 result=no
7193 fi
7194 else
7195 result=$wxUSE_FILE
7196 fi
7197
7198 { echo "$as_me:$LINENO: result: $result" >&5
7199 echo "${ECHO_T}$result" >&6; }
7200
7201
7202 enablestring=
7203 defaultval=$wxUSE_ALL_FEATURES
7204 if test -z "$defaultval"; then
7205 if test x"$enablestring" = xdisable; then
7206 defaultval=yes
7207 else
7208 defaultval=no
7209 fi
7210 fi
7211
7212 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filehistory" >&5
7213 echo $ECHO_N "checking for --${enablestring:-enable}-filehistory... $ECHO_C" >&6; }
7214 # Check whether --enable-filehistory was given.
7215 if test "${enable_filehistory+set}" = set; then
7216 enableval=$enable_filehistory;
7217 if test "$enableval" = yes; then
7218 wx_cv_use_filehistory='wxUSE_FILE_HISTORY=yes'
7219 else
7220 wx_cv_use_filehistory='wxUSE_FILE_HISTORY=no'
7221 fi
7222
7223 else
7224
7225 wx_cv_use_filehistory='wxUSE_FILE_HISTORY=${'DEFAULT_wxUSE_FILE_HISTORY":-$defaultval}"
7226
7227 fi
7228
7229
7230 eval "$wx_cv_use_filehistory"
7231
7232 if test x"$enablestring" = xdisable; then
7233 if test $wxUSE_FILE_HISTORY = no; then
7234 result=yes
7235 else
7236 result=no
7237 fi
7238 else
7239 result=$wxUSE_FILE_HISTORY
7240 fi
7241
7242 { echo "$as_me:$LINENO: result: $result" >&5
7243 echo "${ECHO_T}$result" >&6; }
7244
7245
7246 enablestring=
7247 defaultval=$wxUSE_ALL_FEATURES
7248 if test -z "$defaultval"; then
7249 if test x"$enablestring" = xdisable; then
7250 defaultval=yes
7251 else
7252 defaultval=no
7253 fi
7254 fi
7255
7256 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
7257 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
7258 # Check whether --enable-filesystem was given.
7259 if test "${enable_filesystem+set}" = set; then
7260 enableval=$enable_filesystem;
7261 if test "$enableval" = yes; then
7262 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
7263 else
7264 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
7265 fi
7266
7267 else
7268
7269 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
7270
7271 fi
7272
7273
7274 eval "$wx_cv_use_filesystem"
7275
7276 if test x"$enablestring" = xdisable; then
7277 if test $wxUSE_FILESYSTEM = no; then
7278 result=yes
7279 else
7280 result=no
7281 fi
7282 else
7283 result=$wxUSE_FILESYSTEM
7284 fi
7285
7286 { echo "$as_me:$LINENO: result: $result" >&5
7287 echo "${ECHO_T}$result" >&6; }
7288
7289
7290 enablestring=
7291 defaultval=$wxUSE_ALL_FEATURES
7292 if test -z "$defaultval"; then
7293 if test x"$enablestring" = xdisable; then
7294 defaultval=yes
7295 else
7296 defaultval=no
7297 fi
7298 fi
7299
7300 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
7301 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
7302 # Check whether --enable-fontenum was given.
7303 if test "${enable_fontenum+set}" = set; then
7304 enableval=$enable_fontenum;
7305 if test "$enableval" = yes; then
7306 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
7307 else
7308 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
7309 fi
7310
7311 else
7312
7313 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
7314
7315 fi
7316
7317
7318 eval "$wx_cv_use_fontenum"
7319
7320 if test x"$enablestring" = xdisable; then
7321 if test $wxUSE_FONTENUM = no; then
7322 result=yes
7323 else
7324 result=no
7325 fi
7326 else
7327 result=$wxUSE_FONTENUM
7328 fi
7329
7330 { echo "$as_me:$LINENO: result: $result" >&5
7331 echo "${ECHO_T}$result" >&6; }
7332
7333
7334 enablestring=
7335 defaultval=$wxUSE_ALL_FEATURES
7336 if test -z "$defaultval"; then
7337 if test x"$enablestring" = xdisable; then
7338 defaultval=yes
7339 else
7340 defaultval=no
7341 fi
7342 fi
7343
7344 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
7345 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
7346 # Check whether --enable-fontmap was given.
7347 if test "${enable_fontmap+set}" = set; then
7348 enableval=$enable_fontmap;
7349 if test "$enableval" = yes; then
7350 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
7351 else
7352 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
7353 fi
7354
7355 else
7356
7357 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
7358
7359 fi
7360
7361
7362 eval "$wx_cv_use_fontmap"
7363
7364 if test x"$enablestring" = xdisable; then
7365 if test $wxUSE_FONTMAP = no; then
7366 result=yes
7367 else
7368 result=no
7369 fi
7370 else
7371 result=$wxUSE_FONTMAP
7372 fi
7373
7374 { echo "$as_me:$LINENO: result: $result" >&5
7375 echo "${ECHO_T}$result" >&6; }
7376
7377
7378 enablestring=
7379 defaultval=$wxUSE_ALL_FEATURES
7380 if test -z "$defaultval"; then
7381 if test x"$enablestring" = xdisable; then
7382 defaultval=yes
7383 else
7384 defaultval=no
7385 fi
7386 fi
7387
7388 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7389 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7390 # Check whether --enable-fs_archive was given.
7391 if test "${enable_fs_archive+set}" = set; then
7392 enableval=$enable_fs_archive;
7393 if test "$enableval" = yes; then
7394 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
7395 else
7396 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
7397 fi
7398
7399 else
7400
7401 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7402
7403 fi
7404
7405
7406 eval "$wx_cv_use_fs_archive"
7407
7408 if test x"$enablestring" = xdisable; then
7409 if test $wxUSE_FS_ARCHIVE = no; then
7410 result=yes
7411 else
7412 result=no
7413 fi
7414 else
7415 result=$wxUSE_FS_ARCHIVE
7416 fi
7417
7418 { echo "$as_me:$LINENO: result: $result" >&5
7419 echo "${ECHO_T}$result" >&6; }
7420
7421
7422 enablestring=
7423 defaultval=$wxUSE_ALL_FEATURES
7424 if test -z "$defaultval"; then
7425 if test x"$enablestring" = xdisable; then
7426 defaultval=yes
7427 else
7428 defaultval=no
7429 fi
7430 fi
7431
7432 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
7433 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
7434 # Check whether --enable-fs_inet was given.
7435 if test "${enable_fs_inet+set}" = set; then
7436 enableval=$enable_fs_inet;
7437 if test "$enableval" = yes; then
7438 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
7439 else
7440 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
7441 fi
7442
7443 else
7444
7445 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7446
7447 fi
7448
7449
7450 eval "$wx_cv_use_fs_inet"
7451
7452 if test x"$enablestring" = xdisable; then
7453 if test $wxUSE_FS_INET = no; then
7454 result=yes
7455 else
7456 result=no
7457 fi
7458 else
7459 result=$wxUSE_FS_INET
7460 fi
7461
7462 { echo "$as_me:$LINENO: result: $result" >&5
7463 echo "${ECHO_T}$result" >&6; }
7464
7465
7466 enablestring=
7467 defaultval=$wxUSE_ALL_FEATURES
7468 if test -z "$defaultval"; then
7469 if test x"$enablestring" = xdisable; then
7470 defaultval=yes
7471 else
7472 defaultval=no
7473 fi
7474 fi
7475
7476 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
7477 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
7478 # Check whether --enable-fs_zip was given.
7479 if test "${enable_fs_zip+set}" = set; then
7480 enableval=$enable_fs_zip;
7481 if test "$enableval" = yes; then
7482 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
7483 else
7484 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
7485 fi
7486
7487 else
7488
7489 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7490
7491 fi
7492
7493
7494 eval "$wx_cv_use_fs_zip"
7495
7496 if test x"$enablestring" = xdisable; then
7497 if test $wxUSE_FS_ZIP = no; then
7498 result=yes
7499 else
7500 result=no
7501 fi
7502 else
7503 result=$wxUSE_FS_ZIP
7504 fi
7505
7506 { echo "$as_me:$LINENO: result: $result" >&5
7507 echo "${ECHO_T}$result" >&6; }
7508
7509
7510 enablestring=
7511 defaultval=$wxUSE_ALL_FEATURES
7512 if test -z "$defaultval"; then
7513 if test x"$enablestring" = xdisable; then
7514 defaultval=yes
7515 else
7516 defaultval=no
7517 fi
7518 fi
7519
7520 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fswatcher" >&5
7521 echo $ECHO_N "checking for --${enablestring:-enable}-fswatcher... $ECHO_C" >&6; }
7522 # Check whether --enable-fswatcher was given.
7523 if test "${enable_fswatcher+set}" = set; then
7524 enableval=$enable_fswatcher;
7525 if test "$enableval" = yes; then
7526 wx_cv_use_fswatcher='wxUSE_FSWATCHER=yes'
7527 else
7528 wx_cv_use_fswatcher='wxUSE_FSWATCHER=no'
7529 fi
7530
7531 else
7532
7533 wx_cv_use_fswatcher='wxUSE_FSWATCHER=${'DEFAULT_wxUSE_FSWATCHER":-$defaultval}"
7534
7535 fi
7536
7537
7538 eval "$wx_cv_use_fswatcher"
7539
7540 if test x"$enablestring" = xdisable; then
7541 if test $wxUSE_FSWATCHER = no; then
7542 result=yes
7543 else
7544 result=no
7545 fi
7546 else
7547 result=$wxUSE_FSWATCHER
7548 fi
7549
7550 { echo "$as_me:$LINENO: result: $result" >&5
7551 echo "${ECHO_T}$result" >&6; }
7552
7553
7554 enablestring=
7555 defaultval=$wxUSE_ALL_FEATURES
7556 if test -z "$defaultval"; then
7557 if test x"$enablestring" = xdisable; then
7558 defaultval=yes
7559 else
7560 defaultval=no
7561 fi
7562 fi
7563
7564 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
7565 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
7566 # Check whether --enable-geometry was given.
7567 if test "${enable_geometry+set}" = set; then
7568 enableval=$enable_geometry;
7569 if test "$enableval" = yes; then
7570 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
7571 else
7572 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
7573 fi
7574
7575 else
7576
7577 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7578
7579 fi
7580
7581
7582 eval "$wx_cv_use_geometry"
7583
7584 if test x"$enablestring" = xdisable; then
7585 if test $wxUSE_GEOMETRY = no; then
7586 result=yes
7587 else
7588 result=no
7589 fi
7590 else
7591 result=$wxUSE_GEOMETRY
7592 fi
7593
7594 { echo "$as_me:$LINENO: result: $result" >&5
7595 echo "${ECHO_T}$result" >&6; }
7596
7597
7598 enablestring=
7599 defaultval=$wxUSE_ALL_FEATURES
7600 if test -z "$defaultval"; then
7601 if test x"$enablestring" = xdisable; then
7602 defaultval=yes
7603 else
7604 defaultval=no
7605 fi
7606 fi
7607
7608 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
7609 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
7610 # Check whether --enable-log was given.
7611 if test "${enable_log+set}" = set; then
7612 enableval=$enable_log;
7613 if test "$enableval" = yes; then
7614 wx_cv_use_log='wxUSE_LOG=yes'
7615 else
7616 wx_cv_use_log='wxUSE_LOG=no'
7617 fi
7618
7619 else
7620
7621 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7622
7623 fi
7624
7625
7626 eval "$wx_cv_use_log"
7627
7628 if test x"$enablestring" = xdisable; then
7629 if test $wxUSE_LOG = no; then
7630 result=yes
7631 else
7632 result=no
7633 fi
7634 else
7635 result=$wxUSE_LOG
7636 fi
7637
7638 { echo "$as_me:$LINENO: result: $result" >&5
7639 echo "${ECHO_T}$result" >&6; }
7640
7641
7642 enablestring=
7643 defaultval=$wxUSE_ALL_FEATURES
7644 if test -z "$defaultval"; then
7645 if test x"$enablestring" = xdisable; then
7646 defaultval=yes
7647 else
7648 defaultval=no
7649 fi
7650 fi
7651
7652 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
7653 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
7654 # Check whether --enable-longlong was given.
7655 if test "${enable_longlong+set}" = set; then
7656 enableval=$enable_longlong;
7657 if test "$enableval" = yes; then
7658 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
7659 else
7660 wx_cv_use_longlong='wxUSE_LONGLONG=no'
7661 fi
7662
7663 else
7664
7665 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7666
7667 fi
7668
7669
7670 eval "$wx_cv_use_longlong"
7671
7672 if test x"$enablestring" = xdisable; then
7673 if test $wxUSE_LONGLONG = no; then
7674 result=yes
7675 else
7676 result=no
7677 fi
7678 else
7679 result=$wxUSE_LONGLONG
7680 fi
7681
7682 { echo "$as_me:$LINENO: result: $result" >&5
7683 echo "${ECHO_T}$result" >&6; }
7684
7685
7686 enablestring=
7687 defaultval=$wxUSE_ALL_FEATURES
7688 if test -z "$defaultval"; then
7689 if test x"$enablestring" = xdisable; then
7690 defaultval=yes
7691 else
7692 defaultval=no
7693 fi
7694 fi
7695
7696 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
7697 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
7698 # Check whether --enable-mimetype was given.
7699 if test "${enable_mimetype+set}" = set; then
7700 enableval=$enable_mimetype;
7701 if test "$enableval" = yes; then
7702 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
7703 else
7704 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
7705 fi
7706
7707 else
7708
7709 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7710
7711 fi
7712
7713
7714 eval "$wx_cv_use_mimetype"
7715
7716 if test x"$enablestring" = xdisable; then
7717 if test $wxUSE_MIMETYPE = no; then
7718 result=yes
7719 else
7720 result=no
7721 fi
7722 else
7723 result=$wxUSE_MIMETYPE
7724 fi
7725
7726 { echo "$as_me:$LINENO: result: $result" >&5
7727 echo "${ECHO_T}$result" >&6; }
7728
7729
7730 enablestring=
7731 defaultval=$wxUSE_ALL_FEATURES
7732 if test -z "$defaultval"; then
7733 if test x"$enablestring" = xdisable; then
7734 defaultval=yes
7735 else
7736 defaultval=no
7737 fi
7738 fi
7739
7740 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7741 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7742 # Check whether --enable-printfposparam was given.
7743 if test "${enable_printfposparam+set}" = set; then
7744 enableval=$enable_printfposparam;
7745 if test "$enableval" = yes; then
7746 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
7747 else
7748 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
7749 fi
7750
7751 else
7752
7753 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
7754
7755 fi
7756
7757
7758 eval "$wx_cv_use_printfposparam"
7759
7760 if test x"$enablestring" = xdisable; then
7761 if test $wxUSE_PRINTF_POS_PARAMS = no; then
7762 result=yes
7763 else
7764 result=no
7765 fi
7766 else
7767 result=$wxUSE_PRINTF_POS_PARAMS
7768 fi
7769
7770 { echo "$as_me:$LINENO: result: $result" >&5
7771 echo "${ECHO_T}$result" >&6; }
7772
7773
7774 enablestring=
7775 defaultval=$wxUSE_ALL_FEATURES
7776 if test -z "$defaultval"; then
7777 if test x"$enablestring" = xdisable; then
7778 defaultval=yes
7779 else
7780 defaultval=no
7781 fi
7782 fi
7783
7784 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
7785 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
7786 # Check whether --enable-snglinst was given.
7787 if test "${enable_snglinst+set}" = set; then
7788 enableval=$enable_snglinst;
7789 if test "$enableval" = yes; then
7790 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
7791 else
7792 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
7793 fi
7794
7795 else
7796
7797 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7798
7799 fi
7800
7801
7802 eval "$wx_cv_use_snglinst"
7803
7804 if test x"$enablestring" = xdisable; then
7805 if test $wxUSE_SNGLINST_CHECKER = no; then
7806 result=yes
7807 else
7808 result=no
7809 fi
7810 else
7811 result=$wxUSE_SNGLINST_CHECKER
7812 fi
7813
7814 { echo "$as_me:$LINENO: result: $result" >&5
7815 echo "${ECHO_T}$result" >&6; }
7816
7817
7818 enablestring=
7819 defaultval=$wxUSE_ALL_FEATURES
7820 if test -z "$defaultval"; then
7821 if test x"$enablestring" = xdisable; then
7822 defaultval=yes
7823 else
7824 defaultval=no
7825 fi
7826 fi
7827
7828 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7829 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7830 # Check whether --enable-sound was given.
7831 if test "${enable_sound+set}" = set; then
7832 enableval=$enable_sound;
7833 if test "$enableval" = yes; then
7834 wx_cv_use_sound='wxUSE_SOUND=yes'
7835 else
7836 wx_cv_use_sound='wxUSE_SOUND=no'
7837 fi
7838
7839 else
7840
7841 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
7842
7843 fi
7844
7845
7846 eval "$wx_cv_use_sound"
7847
7848 if test x"$enablestring" = xdisable; then
7849 if test $wxUSE_SOUND = no; then
7850 result=yes
7851 else
7852 result=no
7853 fi
7854 else
7855 result=$wxUSE_SOUND
7856 fi
7857
7858 { echo "$as_me:$LINENO: result: $result" >&5
7859 echo "${ECHO_T}$result" >&6; }
7860
7861
7862 enablestring=
7863 defaultval=$wxUSE_ALL_FEATURES
7864 if test -z "$defaultval"; then
7865 if test x"$enablestring" = xdisable; then
7866 defaultval=yes
7867 else
7868 defaultval=no
7869 fi
7870 fi
7871
7872 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7873 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
7874 # Check whether --enable-stdpaths was given.
7875 if test "${enable_stdpaths+set}" = set; then
7876 enableval=$enable_stdpaths;
7877 if test "$enableval" = yes; then
7878 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
7879 else
7880 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
7881 fi
7882
7883 else
7884
7885 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7886
7887 fi
7888
7889
7890 eval "$wx_cv_use_stdpaths"
7891
7892 if test x"$enablestring" = xdisable; then
7893 if test $wxUSE_STDPATHS = no; then
7894 result=yes
7895 else
7896 result=no
7897 fi
7898 else
7899 result=$wxUSE_STDPATHS
7900 fi
7901
7902 { echo "$as_me:$LINENO: result: $result" >&5
7903 echo "${ECHO_T}$result" >&6; }
7904
7905
7906 enablestring=
7907 defaultval=$wxUSE_ALL_FEATURES
7908 if test -z "$defaultval"; then
7909 if test x"$enablestring" = xdisable; then
7910 defaultval=yes
7911 else
7912 defaultval=no
7913 fi
7914 fi
7915
7916 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
7917 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
7918 # Check whether --enable-stopwatch was given.
7919 if test "${enable_stopwatch+set}" = set; then
7920 enableval=$enable_stopwatch;
7921 if test "$enableval" = yes; then
7922 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
7923 else
7924 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
7925 fi
7926
7927 else
7928
7929 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7930
7931 fi
7932
7933
7934 eval "$wx_cv_use_stopwatch"
7935
7936 if test x"$enablestring" = xdisable; then
7937 if test $wxUSE_STOPWATCH = no; then
7938 result=yes
7939 else
7940 result=no
7941 fi
7942 else
7943 result=$wxUSE_STOPWATCH
7944 fi
7945
7946 { echo "$as_me:$LINENO: result: $result" >&5
7947 echo "${ECHO_T}$result" >&6; }
7948
7949
7950 enablestring=
7951 defaultval=$wxUSE_ALL_FEATURES
7952 if test -z "$defaultval"; then
7953 if test x"$enablestring" = xdisable; then
7954 defaultval=yes
7955 else
7956 defaultval=no
7957 fi
7958 fi
7959
7960 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
7961 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
7962 # Check whether --enable-streams was given.
7963 if test "${enable_streams+set}" = set; then
7964 enableval=$enable_streams;
7965 if test "$enableval" = yes; then
7966 wx_cv_use_streams='wxUSE_STREAMS=yes'
7967 else
7968 wx_cv_use_streams='wxUSE_STREAMS=no'
7969 fi
7970
7971 else
7972
7973 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7974
7975 fi
7976
7977
7978 eval "$wx_cv_use_streams"
7979
7980 if test x"$enablestring" = xdisable; then
7981 if test $wxUSE_STREAMS = no; then
7982 result=yes
7983 else
7984 result=no
7985 fi
7986 else
7987 result=$wxUSE_STREAMS
7988 fi
7989
7990 { echo "$as_me:$LINENO: result: $result" >&5
7991 echo "${ECHO_T}$result" >&6; }
7992
7993
7994 enablestring=
7995 defaultval=$wxUSE_ALL_FEATURES
7996 if test -z "$defaultval"; then
7997 if test x"$enablestring" = xdisable; then
7998 defaultval=yes
7999 else
8000 defaultval=no
8001 fi
8002 fi
8003
8004 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sysoptions" >&5
8005 echo $ECHO_N "checking for --${enablestring:-enable}-sysoptions... $ECHO_C" >&6; }
8006 # Check whether --enable-sysoptions was given.
8007 if test "${enable_sysoptions+set}" = set; then
8008 enableval=$enable_sysoptions;
8009 if test "$enableval" = yes; then
8010 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=yes'
8011 else
8012 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=no'
8013 fi
8014
8015 else
8016
8017 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
8018
8019 fi
8020
8021
8022 eval "$wx_cv_use_sysoptions"
8023
8024 if test x"$enablestring" = xdisable; then
8025 if test $wxUSE_SYSTEM_OPTIONS = no; then
8026 result=yes
8027 else
8028 result=no
8029 fi
8030 else
8031 result=$wxUSE_SYSTEM_OPTIONS
8032 fi
8033
8034 { echo "$as_me:$LINENO: result: $result" >&5
8035 echo "${ECHO_T}$result" >&6; }
8036
8037
8038 enablestring=
8039 defaultval=$wxUSE_ALL_FEATURES
8040 if test -z "$defaultval"; then
8041 if test x"$enablestring" = xdisable; then
8042 defaultval=yes
8043 else
8044 defaultval=no
8045 fi
8046 fi
8047
8048 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
8049 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
8050 # Check whether --enable-tarstream was given.
8051 if test "${enable_tarstream+set}" = set; then
8052 enableval=$enable_tarstream;
8053 if test "$enableval" = yes; then
8054 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
8055 else
8056 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
8057 fi
8058
8059 else
8060
8061 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
8062
8063 fi
8064
8065
8066 eval "$wx_cv_use_tarstream"
8067
8068 if test x"$enablestring" = xdisable; then
8069 if test $wxUSE_TARSTREAM = no; then
8070 result=yes
8071 else
8072 result=no
8073 fi
8074 else
8075 result=$wxUSE_TARSTREAM
8076 fi
8077
8078 { echo "$as_me:$LINENO: result: $result" >&5
8079 echo "${ECHO_T}$result" >&6; }
8080
8081
8082 enablestring=
8083 defaultval=$wxUSE_ALL_FEATURES
8084 if test -z "$defaultval"; then
8085 if test x"$enablestring" = xdisable; then
8086 defaultval=yes
8087 else
8088 defaultval=no
8089 fi
8090 fi
8091
8092 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
8093 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
8094 # Check whether --enable-textbuf was given.
8095 if test "${enable_textbuf+set}" = set; then
8096 enableval=$enable_textbuf;
8097 if test "$enableval" = yes; then
8098 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
8099 else
8100 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
8101 fi
8102
8103 else
8104
8105 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
8106
8107 fi
8108
8109
8110 eval "$wx_cv_use_textbuf"
8111
8112 if test x"$enablestring" = xdisable; then
8113 if test $wxUSE_TEXTBUFFER = no; then
8114 result=yes
8115 else
8116 result=no
8117 fi
8118 else
8119 result=$wxUSE_TEXTBUFFER
8120 fi
8121
8122 { echo "$as_me:$LINENO: result: $result" >&5
8123 echo "${ECHO_T}$result" >&6; }
8124
8125
8126 enablestring=
8127 defaultval=$wxUSE_ALL_FEATURES
8128 if test -z "$defaultval"; then
8129 if test x"$enablestring" = xdisable; then
8130 defaultval=yes
8131 else
8132 defaultval=no
8133 fi
8134 fi
8135
8136 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
8137 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
8138 # Check whether --enable-textfile was given.
8139 if test "${enable_textfile+set}" = set; then
8140 enableval=$enable_textfile;
8141 if test "$enableval" = yes; then
8142 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
8143 else
8144 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
8145 fi
8146
8147 else
8148
8149 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
8150
8151 fi
8152
8153
8154 eval "$wx_cv_use_textfile"
8155
8156 if test x"$enablestring" = xdisable; then
8157 if test $wxUSE_TEXTFILE = no; then
8158 result=yes
8159 else
8160 result=no
8161 fi
8162 else
8163 result=$wxUSE_TEXTFILE
8164 fi
8165
8166 { echo "$as_me:$LINENO: result: $result" >&5
8167 echo "${ECHO_T}$result" >&6; }
8168
8169
8170 enablestring=
8171 defaultval=$wxUSE_ALL_FEATURES
8172 if test -z "$defaultval"; then
8173 if test x"$enablestring" = xdisable; then
8174 defaultval=yes
8175 else
8176 defaultval=no
8177 fi
8178 fi
8179
8180 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
8181 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
8182 # Check whether --enable-timer was given.
8183 if test "${enable_timer+set}" = set; then
8184 enableval=$enable_timer;
8185 if test "$enableval" = yes; then
8186 wx_cv_use_timer='wxUSE_TIMER=yes'
8187 else
8188 wx_cv_use_timer='wxUSE_TIMER=no'
8189 fi
8190
8191 else
8192
8193 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
8194
8195 fi
8196
8197
8198 eval "$wx_cv_use_timer"
8199
8200 if test x"$enablestring" = xdisable; then
8201 if test $wxUSE_TIMER = no; then
8202 result=yes
8203 else
8204 result=no
8205 fi
8206 else
8207 result=$wxUSE_TIMER
8208 fi
8209
8210 { echo "$as_me:$LINENO: result: $result" >&5
8211 echo "${ECHO_T}$result" >&6; }
8212
8213
8214 enablestring=
8215 defaultval=$wxUSE_ALL_FEATURES
8216 if test -z "$defaultval"; then
8217 if test x"$enablestring" = xdisable; then
8218 defaultval=yes
8219 else
8220 defaultval=no
8221 fi
8222 fi
8223
8224 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
8225 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
8226 # Check whether --enable-variant was given.
8227 if test "${enable_variant+set}" = set; then
8228 enableval=$enable_variant;
8229 if test "$enableval" = yes; then
8230 wx_cv_use_variant='wxUSE_VARIANT=yes'
8231 else
8232 wx_cv_use_variant='wxUSE_VARIANT=no'
8233 fi
8234
8235 else
8236
8237 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
8238
8239 fi
8240
8241
8242 eval "$wx_cv_use_variant"
8243
8244 if test x"$enablestring" = xdisable; then
8245 if test $wxUSE_VARIANT = no; then
8246 result=yes
8247 else
8248 result=no
8249 fi
8250 else
8251 result=$wxUSE_VARIANT
8252 fi
8253
8254 { echo "$as_me:$LINENO: result: $result" >&5
8255 echo "${ECHO_T}$result" >&6; }
8256
8257
8258 enablestring=
8259 defaultval=$wxUSE_ALL_FEATURES
8260 if test -z "$defaultval"; then
8261 if test x"$enablestring" = xdisable; then
8262 defaultval=yes
8263 else
8264 defaultval=no
8265 fi
8266 fi
8267
8268 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
8269 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
8270 # Check whether --enable-zipstream was given.
8271 if test "${enable_zipstream+set}" = set; then
8272 enableval=$enable_zipstream;
8273 if test "$enableval" = yes; then
8274 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
8275 else
8276 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
8277 fi
8278
8279 else
8280
8281 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
8282
8283 fi
8284
8285
8286 eval "$wx_cv_use_zipstream"
8287
8288 if test x"$enablestring" = xdisable; then
8289 if test $wxUSE_ZIPSTREAM = no; then
8290 result=yes
8291 else
8292 result=no
8293 fi
8294 else
8295 result=$wxUSE_ZIPSTREAM
8296 fi
8297
8298 { echo "$as_me:$LINENO: result: $result" >&5
8299 echo "${ECHO_T}$result" >&6; }
8300
8301
8302
8303 enablestring=
8304 defaultval=$wxUSE_ALL_FEATURES
8305 if test -z "$defaultval"; then
8306 if test x"$enablestring" = xdisable; then
8307 defaultval=yes
8308 else
8309 defaultval=no
8310 fi
8311 fi
8312
8313 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
8314 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
8315 # Check whether --enable-url was given.
8316 if test "${enable_url+set}" = set; then
8317 enableval=$enable_url;
8318 if test "$enableval" = yes; then
8319 wx_cv_use_url='wxUSE_URL=yes'
8320 else
8321 wx_cv_use_url='wxUSE_URL=no'
8322 fi
8323
8324 else
8325
8326 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
8327
8328 fi
8329
8330
8331 eval "$wx_cv_use_url"
8332
8333 if test x"$enablestring" = xdisable; then
8334 if test $wxUSE_URL = no; then
8335 result=yes
8336 else
8337 result=no
8338 fi
8339 else
8340 result=$wxUSE_URL
8341 fi
8342
8343 { echo "$as_me:$LINENO: result: $result" >&5
8344 echo "${ECHO_T}$result" >&6; }
8345
8346
8347 enablestring=
8348 defaultval=$wxUSE_ALL_FEATURES
8349 if test -z "$defaultval"; then
8350 if test x"$enablestring" = xdisable; then
8351 defaultval=yes
8352 else
8353 defaultval=no
8354 fi
8355 fi
8356
8357 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
8358 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
8359 # Check whether --enable-protocol was given.
8360 if test "${enable_protocol+set}" = set; then
8361 enableval=$enable_protocol;
8362 if test "$enableval" = yes; then
8363 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
8364 else
8365 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
8366 fi
8367
8368 else
8369
8370 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
8371
8372 fi
8373
8374
8375 eval "$wx_cv_use_protocol"
8376
8377 if test x"$enablestring" = xdisable; then
8378 if test $wxUSE_PROTOCOL = no; then
8379 result=yes
8380 else
8381 result=no
8382 fi
8383 else
8384 result=$wxUSE_PROTOCOL
8385 fi
8386
8387 { echo "$as_me:$LINENO: result: $result" >&5
8388 echo "${ECHO_T}$result" >&6; }
8389
8390
8391 enablestring=
8392 defaultval=$wxUSE_ALL_FEATURES
8393 if test -z "$defaultval"; then
8394 if test x"$enablestring" = xdisable; then
8395 defaultval=yes
8396 else
8397 defaultval=no
8398 fi
8399 fi
8400
8401 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
8402 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
8403 # Check whether --enable-protocol_http was given.
8404 if test "${enable_protocol_http+set}" = set; then
8405 enableval=$enable_protocol_http;
8406 if test "$enableval" = yes; then
8407 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
8408 else
8409 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
8410 fi
8411
8412 else
8413
8414 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
8415
8416 fi
8417
8418
8419 eval "$wx_cv_use_protocol_http"
8420
8421 if test x"$enablestring" = xdisable; then
8422 if test $wxUSE_PROTOCOL_HTTP = no; then
8423 result=yes
8424 else
8425 result=no
8426 fi
8427 else
8428 result=$wxUSE_PROTOCOL_HTTP
8429 fi
8430
8431 { echo "$as_me:$LINENO: result: $result" >&5
8432 echo "${ECHO_T}$result" >&6; }
8433
8434
8435 enablestring=
8436 defaultval=$wxUSE_ALL_FEATURES
8437 if test -z "$defaultval"; then
8438 if test x"$enablestring" = xdisable; then
8439 defaultval=yes
8440 else
8441 defaultval=no
8442 fi
8443 fi
8444
8445 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
8446 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
8447 # Check whether --enable-protocol_ftp was given.
8448 if test "${enable_protocol_ftp+set}" = set; then
8449 enableval=$enable_protocol_ftp;
8450 if test "$enableval" = yes; then
8451 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
8452 else
8453 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
8454 fi
8455
8456 else
8457
8458 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
8459
8460 fi
8461
8462
8463 eval "$wx_cv_use_protocol_ftp"
8464
8465 if test x"$enablestring" = xdisable; then
8466 if test $wxUSE_PROTOCOL_FTP = no; then
8467 result=yes
8468 else
8469 result=no
8470 fi
8471 else
8472 result=$wxUSE_PROTOCOL_FTP
8473 fi
8474
8475 { echo "$as_me:$LINENO: result: $result" >&5
8476 echo "${ECHO_T}$result" >&6; }
8477
8478
8479 enablestring=
8480 defaultval=$wxUSE_ALL_FEATURES
8481 if test -z "$defaultval"; then
8482 if test x"$enablestring" = xdisable; then
8483 defaultval=yes
8484 else
8485 defaultval=no
8486 fi
8487 fi
8488
8489 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
8490 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
8491 # Check whether --enable-protocol_file was given.
8492 if test "${enable_protocol_file+set}" = set; then
8493 enableval=$enable_protocol_file;
8494 if test "$enableval" = yes; then
8495 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
8496 else
8497 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
8498 fi
8499
8500 else
8501
8502 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
8503
8504 fi
8505
8506
8507 eval "$wx_cv_use_protocol_file"
8508
8509 if test x"$enablestring" = xdisable; then
8510 if test $wxUSE_PROTOCOL_FILE = no; then
8511 result=yes
8512 else
8513 result=no
8514 fi
8515 else
8516 result=$wxUSE_PROTOCOL_FILE
8517 fi
8518
8519 { echo "$as_me:$LINENO: result: $result" >&5
8520 echo "${ECHO_T}$result" >&6; }
8521
8522
8523
8524 enablestring=
8525 defaultval=$wxUSE_ALL_FEATURES
8526 if test -z "$defaultval"; then
8527 if test x"$enablestring" = xdisable; then
8528 defaultval=yes
8529 else
8530 defaultval=no
8531 fi
8532 fi
8533
8534 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
8535 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
8536 # Check whether --enable-threads was given.
8537 if test "${enable_threads+set}" = set; then
8538 enableval=$enable_threads;
8539 if test "$enableval" = yes; then
8540 wx_cv_use_threads='wxUSE_THREADS=yes'
8541 else
8542 wx_cv_use_threads='wxUSE_THREADS=no'
8543 fi
8544
8545 else
8546
8547 wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8548
8549 fi
8550
8551
8552 eval "$wx_cv_use_threads"
8553
8554 if test x"$enablestring" = xdisable; then
8555 if test $wxUSE_THREADS = no; then
8556 result=yes
8557 else
8558 result=no
8559 fi
8560 else
8561 result=$wxUSE_THREADS
8562 fi
8563
8564 { echo "$as_me:$LINENO: result: $result" >&5
8565 echo "${ECHO_T}$result" >&6; }
8566
8567
8568
8569 enablestring=
8570 defaultval=
8571 if test -z "$defaultval"; then
8572 if test x"$enablestring" = xdisable; then
8573 defaultval=yes
8574 else
8575 defaultval=no
8576 fi
8577 fi
8578
8579 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iniconf" >&5
8580 echo $ECHO_N "checking for --${enablestring:-enable}-iniconf... $ECHO_C" >&6; }
8581 # Check whether --enable-iniconf was given.
8582 if test "${enable_iniconf+set}" = set; then
8583 enableval=$enable_iniconf;
8584 if test "$enableval" = yes; then
8585 wx_cv_use_iniconf='wxUSE_INICONF=yes'
8586 else
8587 wx_cv_use_iniconf='wxUSE_INICONF=no'
8588 fi
8589
8590 else
8591
8592 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
8593
8594 fi
8595
8596
8597 eval "$wx_cv_use_iniconf"
8598
8599 if test x"$enablestring" = xdisable; then
8600 if test $wxUSE_INICONF = no; then
8601 result=yes
8602 else
8603 result=no
8604 fi
8605 else
8606 result=$wxUSE_INICONF
8607 fi
8608
8609 { echo "$as_me:$LINENO: result: $result" >&5
8610 echo "${ECHO_T}$result" >&6; }
8611
8612
8613 enablestring=
8614 defaultval=$wxUSE_ALL_FEATURES
8615 if test -z "$defaultval"; then
8616 if test x"$enablestring" = xdisable; then
8617 defaultval=yes
8618 else
8619 defaultval=no
8620 fi
8621 fi
8622
8623 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
8624 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
8625 # Check whether --enable-regkey was given.
8626 if test "${enable_regkey+set}" = set; then
8627 enableval=$enable_regkey;
8628 if test "$enableval" = yes; then
8629 wx_cv_use_regkey='wxUSE_REGKEY=yes'
8630 else
8631 wx_cv_use_regkey='wxUSE_REGKEY=no'
8632 fi
8633
8634 else
8635
8636 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
8637
8638 fi
8639
8640
8641 eval "$wx_cv_use_regkey"
8642
8643 if test x"$enablestring" = xdisable; then
8644 if test $wxUSE_REGKEY = no; then
8645 result=yes
8646 else
8647 result=no
8648 fi
8649 else
8650 result=$wxUSE_REGKEY
8651 fi
8652
8653 { echo "$as_me:$LINENO: result: $result" >&5
8654 echo "${ECHO_T}$result" >&6; }
8655
8656
8657 if test "$wxUSE_GUI" = "yes"; then
8658
8659
8660
8661 enablestring=
8662 defaultval=$wxUSE_ALL_FEATURES
8663 if test -z "$defaultval"; then
8664 if test x"$enablestring" = xdisable; then
8665 defaultval=yes
8666 else
8667 defaultval=no
8668 fi
8669 fi
8670
8671 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
8672 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
8673 # Check whether --enable-docview was given.
8674 if test "${enable_docview+set}" = set; then
8675 enableval=$enable_docview;
8676 if test "$enableval" = yes; then
8677 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
8678 else
8679 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
8680 fi
8681
8682 else
8683
8684 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8685
8686 fi
8687
8688
8689 eval "$wx_cv_use_docview"
8690
8691 if test x"$enablestring" = xdisable; then
8692 if test $wxUSE_DOC_VIEW_ARCHITECTURE = no; then
8693 result=yes
8694 else
8695 result=no
8696 fi
8697 else
8698 result=$wxUSE_DOC_VIEW_ARCHITECTURE
8699 fi
8700
8701 { echo "$as_me:$LINENO: result: $result" >&5
8702 echo "${ECHO_T}$result" >&6; }
8703
8704
8705 enablestring=
8706 defaultval=$wxUSE_ALL_FEATURES
8707 if test -z "$defaultval"; then
8708 if test x"$enablestring" = xdisable; then
8709 defaultval=yes
8710 else
8711 defaultval=no
8712 fi
8713 fi
8714
8715 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
8716 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
8717 # Check whether --enable-help was given.
8718 if test "${enable_help+set}" = set; then
8719 enableval=$enable_help;
8720 if test "$enableval" = yes; then
8721 wx_cv_use_help='wxUSE_HELP=yes'
8722 else
8723 wx_cv_use_help='wxUSE_HELP=no'
8724 fi
8725
8726 else
8727
8728 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8729
8730 fi
8731
8732
8733 eval "$wx_cv_use_help"
8734
8735 if test x"$enablestring" = xdisable; then
8736 if test $wxUSE_HELP = no; then
8737 result=yes
8738 else
8739 result=no
8740 fi
8741 else
8742 result=$wxUSE_HELP
8743 fi
8744
8745 { echo "$as_me:$LINENO: result: $result" >&5
8746 echo "${ECHO_T}$result" >&6; }
8747
8748
8749 enablestring=
8750 defaultval=$wxUSE_ALL_FEATURES
8751 if test -z "$defaultval"; then
8752 if test x"$enablestring" = xdisable; then
8753 defaultval=yes
8754 else
8755 defaultval=no
8756 fi
8757 fi
8758
8759 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
8760 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
8761 # Check whether --enable-mshtmlhelp was given.
8762 if test "${enable_mshtmlhelp+set}" = set; then
8763 enableval=$enable_mshtmlhelp;
8764 if test "$enableval" = yes; then
8765 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
8766 else
8767 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
8768 fi
8769
8770 else
8771
8772 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
8773
8774 fi
8775
8776
8777 eval "$wx_cv_use_mshtmlhelp"
8778
8779 if test x"$enablestring" = xdisable; then
8780 if test $wxUSE_MS_HTML_HELP = no; then
8781 result=yes
8782 else
8783 result=no
8784 fi
8785 else
8786 result=$wxUSE_MS_HTML_HELP
8787 fi
8788
8789 { echo "$as_me:$LINENO: result: $result" >&5
8790 echo "${ECHO_T}$result" >&6; }
8791
8792
8793 enablestring=
8794 defaultval=$wxUSE_ALL_FEATURES
8795 if test -z "$defaultval"; then
8796 if test x"$enablestring" = xdisable; then
8797 defaultval=yes
8798 else
8799 defaultval=no
8800 fi
8801 fi
8802
8803 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
8804 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
8805 # Check whether --enable-html was given.
8806 if test "${enable_html+set}" = set; then
8807 enableval=$enable_html;
8808 if test "$enableval" = yes; then
8809 wx_cv_use_html='wxUSE_HTML=yes'
8810 else
8811 wx_cv_use_html='wxUSE_HTML=no'
8812 fi
8813
8814 else
8815
8816 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
8817
8818 fi
8819
8820
8821 eval "$wx_cv_use_html"
8822
8823 if test x"$enablestring" = xdisable; then
8824 if test $wxUSE_HTML = no; then
8825 result=yes
8826 else
8827 result=no
8828 fi
8829 else
8830 result=$wxUSE_HTML
8831 fi
8832
8833 { echo "$as_me:$LINENO: result: $result" >&5
8834 echo "${ECHO_T}$result" >&6; }
8835
8836
8837 enablestring=
8838 defaultval=$wxUSE_ALL_FEATURES
8839 if test -z "$defaultval"; then
8840 if test x"$enablestring" = xdisable; then
8841 defaultval=yes
8842 else
8843 defaultval=no
8844 fi
8845 fi
8846
8847 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
8848 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
8849 # Check whether --enable-htmlhelp was given.
8850 if test "${enable_htmlhelp+set}" = set; then
8851 enableval=$enable_htmlhelp;
8852 if test "$enableval" = yes; then
8853 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
8854 else
8855 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
8856 fi
8857
8858 else
8859
8860 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
8861
8862 fi
8863
8864
8865 eval "$wx_cv_use_htmlhelp"
8866
8867 if test x"$enablestring" = xdisable; then
8868 if test $wxUSE_WXHTML_HELP = no; then
8869 result=yes
8870 else
8871 result=no
8872 fi
8873 else
8874 result=$wxUSE_WXHTML_HELP
8875 fi
8876
8877 { echo "$as_me:$LINENO: result: $result" >&5
8878 echo "${ECHO_T}$result" >&6; }
8879
8880
8881 enablestring=
8882 defaultval=$wxUSE_ALL_FEATURES
8883 if test -z "$defaultval"; then
8884 if test x"$enablestring" = xdisable; then
8885 defaultval=yes
8886 else
8887 defaultval=no
8888 fi
8889 fi
8890
8891 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
8892 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
8893 # Check whether --enable-xrc was given.
8894 if test "${enable_xrc+set}" = set; then
8895 enableval=$enable_xrc;
8896 if test "$enableval" = yes; then
8897 wx_cv_use_xrc='wxUSE_XRC=yes'
8898 else
8899 wx_cv_use_xrc='wxUSE_XRC=no'
8900 fi
8901
8902 else
8903
8904 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
8905
8906 fi
8907
8908
8909 eval "$wx_cv_use_xrc"
8910
8911 if test x"$enablestring" = xdisable; then
8912 if test $wxUSE_XRC = no; then
8913 result=yes
8914 else
8915 result=no
8916 fi
8917 else
8918 result=$wxUSE_XRC
8919 fi
8920
8921 { echo "$as_me:$LINENO: result: $result" >&5
8922 echo "${ECHO_T}$result" >&6; }
8923
8924
8925 enablestring=
8926 defaultval=$wxUSE_ALL_FEATURES
8927 if test -z "$defaultval"; then
8928 if test x"$enablestring" = xdisable; then
8929 defaultval=yes
8930 else
8931 defaultval=no
8932 fi
8933 fi
8934
8935 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8936 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
8937 # Check whether --enable-aui was given.
8938 if test "${enable_aui+set}" = set; then
8939 enableval=$enable_aui;
8940 if test "$enableval" = yes; then
8941 wx_cv_use_aui='wxUSE_AUI=yes'
8942 else
8943 wx_cv_use_aui='wxUSE_AUI=no'
8944 fi
8945
8946 else
8947
8948 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
8949
8950 fi
8951
8952
8953 eval "$wx_cv_use_aui"
8954
8955 if test x"$enablestring" = xdisable; then
8956 if test $wxUSE_AUI = no; then
8957 result=yes
8958 else
8959 result=no
8960 fi
8961 else
8962 result=$wxUSE_AUI
8963 fi
8964
8965 { echo "$as_me:$LINENO: result: $result" >&5
8966 echo "${ECHO_T}$result" >&6; }
8967
8968
8969 enablestring=
8970 defaultval=$wxUSE_ALL_FEATURES
8971 if test -z "$defaultval"; then
8972 if test x"$enablestring" = xdisable; then
8973 defaultval=yes
8974 else
8975 defaultval=no
8976 fi
8977 fi
8978
8979 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-propgrid" >&5
8980 echo $ECHO_N "checking for --${enablestring:-enable}-propgrid... $ECHO_C" >&6; }
8981 # Check whether --enable-propgrid was given.
8982 if test "${enable_propgrid+set}" = set; then
8983 enableval=$enable_propgrid;
8984 if test "$enableval" = yes; then
8985 wx_cv_use_propgrid='wxUSE_PROPGRID=yes'
8986 else
8987 wx_cv_use_propgrid='wxUSE_PROPGRID=no'
8988 fi
8989
8990 else
8991
8992 wx_cv_use_propgrid='wxUSE_PROPGRID=${'DEFAULT_wxUSE_PROPGRID":-$defaultval}"
8993
8994 fi
8995
8996
8997 eval "$wx_cv_use_propgrid"
8998
8999 if test x"$enablestring" = xdisable; then
9000 if test $wxUSE_PROPGRID = no; then
9001 result=yes
9002 else
9003 result=no
9004 fi
9005 else
9006 result=$wxUSE_PROPGRID
9007 fi
9008
9009 { echo "$as_me:$LINENO: result: $result" >&5
9010 echo "${ECHO_T}$result" >&6; }
9011
9012
9013 enablestring=
9014 defaultval=$wxUSE_ALL_FEATURES
9015 if test -z "$defaultval"; then
9016 if test x"$enablestring" = xdisable; then
9017 defaultval=yes
9018 else
9019 defaultval=no
9020 fi
9021 fi
9022
9023 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ribbon" >&5
9024 echo $ECHO_N "checking for --${enablestring:-enable}-ribbon... $ECHO_C" >&6; }
9025 # Check whether --enable-ribbon was given.
9026 if test "${enable_ribbon+set}" = set; then
9027 enableval=$enable_ribbon;
9028 if test "$enableval" = yes; then
9029 wx_cv_use_ribbon='wxUSE_RIBBON=yes'
9030 else
9031 wx_cv_use_ribbon='wxUSE_RIBBON=no'
9032 fi
9033
9034 else
9035
9036 wx_cv_use_ribbon='wxUSE_RIBBON=${'DEFAULT_wxUSE_RIBBON":-$defaultval}"
9037
9038 fi
9039
9040
9041 eval "$wx_cv_use_ribbon"
9042
9043 if test x"$enablestring" = xdisable; then
9044 if test $wxUSE_RIBBON = no; then
9045 result=yes
9046 else
9047 result=no
9048 fi
9049 else
9050 result=$wxUSE_RIBBON
9051 fi
9052
9053 { echo "$as_me:$LINENO: result: $result" >&5
9054 echo "${ECHO_T}$result" >&6; }
9055
9056
9057 enablestring=
9058 defaultval=$wxUSE_ALL_FEATURES
9059 if test -z "$defaultval"; then
9060 if test x"$enablestring" = xdisable; then
9061 defaultval=yes
9062 else
9063 defaultval=no
9064 fi
9065 fi
9066
9067 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
9068 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
9069 # Check whether --enable-stc was given.
9070 if test "${enable_stc+set}" = set; then
9071 enableval=$enable_stc;
9072 if test "$enableval" = yes; then
9073 wx_cv_use_stc='wxUSE_STC=yes'
9074 else
9075 wx_cv_use_stc='wxUSE_STC=no'
9076 fi
9077
9078 else
9079
9080 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
9081
9082 fi
9083
9084
9085 eval "$wx_cv_use_stc"
9086
9087 if test x"$enablestring" = xdisable; then
9088 if test $wxUSE_STC = no; then
9089 result=yes
9090 else
9091 result=no
9092 fi
9093 else
9094 result=$wxUSE_STC
9095 fi
9096
9097 { echo "$as_me:$LINENO: result: $result" >&5
9098 echo "${ECHO_T}$result" >&6; }
9099
9100
9101 enablestring=
9102 defaultval=$wxUSE_ALL_FEATURES
9103 if test -z "$defaultval"; then
9104 if test x"$enablestring" = xdisable; then
9105 defaultval=yes
9106 else
9107 defaultval=no
9108 fi
9109 fi
9110
9111 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
9112 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
9113 # Check whether --enable-constraints was given.
9114 if test "${enable_constraints+set}" = set; then
9115 enableval=$enable_constraints;
9116 if test "$enableval" = yes; then
9117 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
9118 else
9119 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
9120 fi
9121
9122 else
9123
9124 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
9125
9126 fi
9127
9128
9129 eval "$wx_cv_use_constraints"
9130
9131 if test x"$enablestring" = xdisable; then
9132 if test $wxUSE_CONSTRAINTS = no; then
9133 result=yes
9134 else
9135 result=no
9136 fi
9137 else
9138 result=$wxUSE_CONSTRAINTS
9139 fi
9140
9141 { echo "$as_me:$LINENO: result: $result" >&5
9142 echo "${ECHO_T}$result" >&6; }
9143
9144
9145 enablestring=
9146 defaultval=$wxUSE_ALL_FEATURES
9147 if test -z "$defaultval"; then
9148 if test x"$enablestring" = xdisable; then
9149 defaultval=yes
9150 else
9151 defaultval=no
9152 fi
9153 fi
9154
9155 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
9156 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
9157 # Check whether --enable-loggui was given.
9158 if test "${enable_loggui+set}" = set; then
9159 enableval=$enable_loggui;
9160 if test "$enableval" = yes; then
9161 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
9162 else
9163 wx_cv_use_loggui='wxUSE_LOGGUI=no'
9164 fi
9165
9166 else
9167
9168 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
9169
9170 fi
9171
9172
9173 eval "$wx_cv_use_loggui"
9174
9175 if test x"$enablestring" = xdisable; then
9176 if test $wxUSE_LOGGUI = no; then
9177 result=yes
9178 else
9179 result=no
9180 fi
9181 else
9182 result=$wxUSE_LOGGUI
9183 fi
9184
9185 { echo "$as_me:$LINENO: result: $result" >&5
9186 echo "${ECHO_T}$result" >&6; }
9187
9188
9189 enablestring=
9190 defaultval=$wxUSE_ALL_FEATURES
9191 if test -z "$defaultval"; then
9192 if test x"$enablestring" = xdisable; then
9193 defaultval=yes
9194 else
9195 defaultval=no
9196 fi
9197 fi
9198
9199 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
9200 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
9201 # Check whether --enable-logwin was given.
9202 if test "${enable_logwin+set}" = set; then
9203 enableval=$enable_logwin;
9204 if test "$enableval" = yes; then
9205 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
9206 else
9207 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
9208 fi
9209
9210 else
9211
9212 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
9213
9214 fi
9215
9216
9217 eval "$wx_cv_use_logwin"
9218
9219 if test x"$enablestring" = xdisable; then
9220 if test $wxUSE_LOGWINDOW = no; then
9221 result=yes
9222 else
9223 result=no
9224 fi
9225 else
9226 result=$wxUSE_LOGWINDOW
9227 fi
9228
9229 { echo "$as_me:$LINENO: result: $result" >&5
9230 echo "${ECHO_T}$result" >&6; }
9231
9232
9233 enablestring=
9234 defaultval=$wxUSE_ALL_FEATURES
9235 if test -z "$defaultval"; then
9236 if test x"$enablestring" = xdisable; then
9237 defaultval=yes
9238 else
9239 defaultval=no
9240 fi
9241 fi
9242
9243 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
9244 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
9245 # Check whether --enable-logdialog was given.
9246 if test "${enable_logdialog+set}" = set; then
9247 enableval=$enable_logdialog;
9248 if test "$enableval" = yes; then
9249 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
9250 else
9251 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
9252 fi
9253
9254 else
9255
9256 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
9257
9258 fi
9259
9260
9261 eval "$wx_cv_use_logdialog"
9262
9263 if test x"$enablestring" = xdisable; then
9264 if test $wxUSE_LOGDIALOG = no; then
9265 result=yes
9266 else
9267 result=no
9268 fi
9269 else
9270 result=$wxUSE_LOGDIALOG
9271 fi
9272
9273 { echo "$as_me:$LINENO: result: $result" >&5
9274 echo "${ECHO_T}$result" >&6; }
9275
9276
9277 enablestring=
9278 defaultval=$wxUSE_ALL_FEATURES
9279 if test -z "$defaultval"; then
9280 if test x"$enablestring" = xdisable; then
9281 defaultval=yes
9282 else
9283 defaultval=no
9284 fi
9285 fi
9286
9287 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
9288 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
9289 # Check whether --enable-mdi was given.
9290 if test "${enable_mdi+set}" = set; then
9291 enableval=$enable_mdi;
9292 if test "$enableval" = yes; then
9293 wx_cv_use_mdi='wxUSE_MDI=yes'
9294 else
9295 wx_cv_use_mdi='wxUSE_MDI=no'
9296 fi
9297
9298 else
9299
9300 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
9301
9302 fi
9303
9304
9305 eval "$wx_cv_use_mdi"
9306
9307 if test x"$enablestring" = xdisable; then
9308 if test $wxUSE_MDI = no; then
9309 result=yes
9310 else
9311 result=no
9312 fi
9313 else
9314 result=$wxUSE_MDI
9315 fi
9316
9317 { echo "$as_me:$LINENO: result: $result" >&5
9318 echo "${ECHO_T}$result" >&6; }
9319
9320
9321 enablestring=
9322 defaultval=$wxUSE_ALL_FEATURES
9323 if test -z "$defaultval"; then
9324 if test x"$enablestring" = xdisable; then
9325 defaultval=yes
9326 else
9327 defaultval=no
9328 fi
9329 fi
9330
9331 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
9332 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
9333 # Check whether --enable-mdidoc was given.
9334 if test "${enable_mdidoc+set}" = set; then
9335 enableval=$enable_mdidoc;
9336 if test "$enableval" = yes; then
9337 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
9338 else
9339 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
9340 fi
9341
9342 else
9343
9344 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
9345
9346 fi
9347
9348
9349 eval "$wx_cv_use_mdidoc"
9350
9351 if test x"$enablestring" = xdisable; then
9352 if test $wxUSE_MDI_ARCHITECTURE = no; then
9353 result=yes
9354 else
9355 result=no
9356 fi
9357 else
9358 result=$wxUSE_MDI_ARCHITECTURE
9359 fi
9360
9361 { echo "$as_me:$LINENO: result: $result" >&5
9362 echo "${ECHO_T}$result" >&6; }
9363
9364
9365 enablestring=
9366 defaultval=$wxUSE_ALL_FEATURES
9367 if test -z "$defaultval"; then
9368 if test x"$enablestring" = xdisable; then
9369 defaultval=yes
9370 else
9371 defaultval=no
9372 fi
9373 fi
9374
9375 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
9376 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
9377 # Check whether --enable-mediactrl was given.
9378 if test "${enable_mediactrl+set}" = set; then
9379 enableval=$enable_mediactrl;
9380 if test "$enableval" = yes; then
9381 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
9382 else
9383 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
9384 fi
9385
9386 else
9387
9388 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
9389
9390 fi
9391
9392
9393 eval "$wx_cv_use_mediactrl"
9394
9395 if test x"$enablestring" = xdisable; then
9396 if test $wxUSE_MEDIACTRL = no; then
9397 result=yes
9398 else
9399 result=no
9400 fi
9401 else
9402 result=$wxUSE_MEDIACTRL
9403 fi
9404
9405 { echo "$as_me:$LINENO: result: $result" >&5
9406 echo "${ECHO_T}$result" >&6; }
9407
9408
9409 enablestring=
9410 defaultval=$wxUSE_ALL_FEATURES
9411 if test -z "$defaultval"; then
9412 if test x"$enablestring" = xdisable; then
9413 defaultval=yes
9414 else
9415 defaultval=no
9416 fi
9417 fi
9418
9419 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
9420 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
9421 # Check whether --enable-gstreamer8 was given.
9422 if test "${enable_gstreamer8+set}" = set; then
9423 enableval=$enable_gstreamer8;
9424 if test "$enableval" = yes; then
9425 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
9426 else
9427 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
9428 fi
9429
9430 else
9431
9432 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
9433
9434 fi
9435
9436
9437 eval "$wx_cv_use_gstreamer8"
9438
9439 if test x"$enablestring" = xdisable; then
9440 if test $wxUSE_GSTREAMER8 = no; then
9441 result=yes
9442 else
9443 result=no
9444 fi
9445 else
9446 result=$wxUSE_GSTREAMER8
9447 fi
9448
9449 { echo "$as_me:$LINENO: result: $result" >&5
9450 echo "${ECHO_T}$result" >&6; }
9451
9452
9453 enablestring=
9454 defaultval=$wxUSE_ALL_FEATURES
9455 if test -z "$defaultval"; then
9456 if test x"$enablestring" = xdisable; then
9457 defaultval=yes
9458 else
9459 defaultval=no
9460 fi
9461 fi
9462
9463 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
9464 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
9465 # Check whether --enable-richtext was given.
9466 if test "${enable_richtext+set}" = set; then
9467 enableval=$enable_richtext;
9468 if test "$enableval" = yes; then
9469 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
9470 else
9471 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
9472 fi
9473
9474 else
9475
9476 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
9477
9478 fi
9479
9480
9481 eval "$wx_cv_use_richtext"
9482
9483 if test x"$enablestring" = xdisable; then
9484 if test $wxUSE_RICHTEXT = no; then
9485 result=yes
9486 else
9487 result=no
9488 fi
9489 else
9490 result=$wxUSE_RICHTEXT
9491 fi
9492
9493 { echo "$as_me:$LINENO: result: $result" >&5
9494 echo "${ECHO_T}$result" >&6; }
9495
9496
9497 enablestring=
9498 defaultval=$wxUSE_ALL_FEATURES
9499 if test -z "$defaultval"; then
9500 if test x"$enablestring" = xdisable; then
9501 defaultval=yes
9502 else
9503 defaultval=no
9504 fi
9505 fi
9506
9507 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
9508 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
9509 # Check whether --enable-postscript was given.
9510 if test "${enable_postscript+set}" = set; then
9511 enableval=$enable_postscript;
9512 if test "$enableval" = yes; then
9513 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
9514 else
9515 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
9516 fi
9517
9518 else
9519
9520 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
9521
9522 fi
9523
9524
9525 eval "$wx_cv_use_postscript"
9526
9527 if test x"$enablestring" = xdisable; then
9528 if test $wxUSE_POSTSCRIPT = no; then
9529 result=yes
9530 else
9531 result=no
9532 fi
9533 else
9534 result=$wxUSE_POSTSCRIPT
9535 fi
9536
9537 { echo "$as_me:$LINENO: result: $result" >&5
9538 echo "${ECHO_T}$result" >&6; }
9539
9540
9541 enablestring=
9542 defaultval=$wxUSE_ALL_FEATURES
9543 if test -z "$defaultval"; then
9544 if test x"$enablestring" = xdisable; then
9545 defaultval=yes
9546 else
9547 defaultval=no
9548 fi
9549 fi
9550
9551 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
9552 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
9553 # Check whether --enable-printarch was given.
9554 if test "${enable_printarch+set}" = set; then
9555 enableval=$enable_printarch;
9556 if test "$enableval" = yes; then
9557 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
9558 else
9559 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
9560 fi
9561
9562 else
9563
9564 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
9565
9566 fi
9567
9568
9569 eval "$wx_cv_use_printarch"
9570
9571 if test x"$enablestring" = xdisable; then
9572 if test $wxUSE_PRINTING_ARCHITECTURE = no; then
9573 result=yes
9574 else
9575 result=no
9576 fi
9577 else
9578 result=$wxUSE_PRINTING_ARCHITECTURE
9579 fi
9580
9581 { echo "$as_me:$LINENO: result: $result" >&5
9582 echo "${ECHO_T}$result" >&6; }
9583
9584
9585 enablestring=
9586 defaultval=$wxUSE_ALL_FEATURES
9587 if test -z "$defaultval"; then
9588 if test x"$enablestring" = xdisable; then
9589 defaultval=yes
9590 else
9591 defaultval=no
9592 fi
9593 fi
9594
9595 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
9596 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
9597 # Check whether --enable-svg was given.
9598 if test "${enable_svg+set}" = set; then
9599 enableval=$enable_svg;
9600 if test "$enableval" = yes; then
9601 wx_cv_use_svg='wxUSE_SVG=yes'
9602 else
9603 wx_cv_use_svg='wxUSE_SVG=no'
9604 fi
9605
9606 else
9607
9608 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
9609
9610 fi
9611
9612
9613 eval "$wx_cv_use_svg"
9614
9615 if test x"$enablestring" = xdisable; then
9616 if test $wxUSE_SVG = no; then
9617 result=yes
9618 else
9619 result=no
9620 fi
9621 else
9622 result=$wxUSE_SVG
9623 fi
9624
9625 { echo "$as_me:$LINENO: result: $result" >&5
9626 echo "${ECHO_T}$result" >&6; }
9627
9628
9629 enablestring=
9630 defaultval=$wxUSE_ALL_FEATURES
9631 if test -z "$defaultval"; then
9632 if test x"$enablestring" = xdisable; then
9633 defaultval=yes
9634 else
9635 defaultval=no
9636 fi
9637 fi
9638
9639 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
9640 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
9641 # Check whether --enable-webkit was given.
9642 if test "${enable_webkit+set}" = set; then
9643 enableval=$enable_webkit;
9644 if test "$enableval" = yes; then
9645 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
9646 else
9647 wx_cv_use_webkit='wxUSE_WEBKIT=no'
9648 fi
9649
9650 else
9651
9652 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
9653
9654 fi
9655
9656
9657 eval "$wx_cv_use_webkit"
9658
9659 if test x"$enablestring" = xdisable; then
9660 if test $wxUSE_WEBKIT = no; then
9661 result=yes
9662 else
9663 result=no
9664 fi
9665 else
9666 result=$wxUSE_WEBKIT
9667 fi
9668
9669 { echo "$as_me:$LINENO: result: $result" >&5
9670 echo "${ECHO_T}$result" >&6; }
9671
9672
9673 enablestring=
9674 defaultval=$wxUSE_ALL_FEATURES
9675 if test -z "$defaultval"; then
9676 if test x"$enablestring" = xdisable; then
9677 defaultval=yes
9678 else
9679 defaultval=no
9680 fi
9681 fi
9682
9683 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webview" >&5
9684 echo $ECHO_N "checking for --${enablestring:-enable}-webview... $ECHO_C" >&6; }
9685 # Check whether --enable-webview was given.
9686 if test "${enable_webview+set}" = set; then
9687 enableval=$enable_webview;
9688 if test "$enableval" = yes; then
9689 wx_cv_use_webview='wxUSE_WEBVIEW=yes'
9690 else
9691 wx_cv_use_webview='wxUSE_WEBVIEW=no'
9692 fi
9693
9694 else
9695
9696 wx_cv_use_webview='wxUSE_WEBVIEW=${'DEFAULT_wxUSE_WEBVIEW":-$defaultval}"
9697
9698 fi
9699
9700
9701 eval "$wx_cv_use_webview"
9702
9703 if test x"$enablestring" = xdisable; then
9704 if test $wxUSE_WEBVIEW = no; then
9705 result=yes
9706 else
9707 result=no
9708 fi
9709 else
9710 result=$wxUSE_WEBVIEW
9711 fi
9712
9713 { echo "$as_me:$LINENO: result: $result" >&5
9714 echo "${ECHO_T}$result" >&6; }
9715
9716
9717 if test "$wxUSE_MAC" != 1; then
9718
9719 enablestring=
9720 defaultval=$wxUSE_ALL_FEATURES
9721 if test -z "$defaultval"; then
9722 if test x"$enablestring" = xdisable; then
9723 defaultval=yes
9724 else
9725 defaultval=no
9726 fi
9727 fi
9728
9729 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
9730 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
9731 # Check whether --enable-graphics_ctx was given.
9732 if test "${enable_graphics_ctx+set}" = set; then
9733 enableval=$enable_graphics_ctx;
9734 if test "$enableval" = yes; then
9735 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
9736 else
9737 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
9738 fi
9739
9740 else
9741
9742 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
9743
9744 fi
9745
9746
9747 eval "$wx_cv_use_graphics_ctx"
9748
9749 if test x"$enablestring" = xdisable; then
9750 if test $wxUSE_GRAPHICS_CONTEXT = no; then
9751 result=yes
9752 else
9753 result=no
9754 fi
9755 else
9756 result=$wxUSE_GRAPHICS_CONTEXT
9757 fi
9758
9759 { echo "$as_me:$LINENO: result: $result" >&5
9760 echo "${ECHO_T}$result" >&6; }
9761
9762 fi
9763
9764
9765
9766 enablestring=
9767 defaultval=$wxUSE_ALL_FEATURES
9768 if test -z "$defaultval"; then
9769 if test x"$enablestring" = xdisable; then
9770 defaultval=yes
9771 else
9772 defaultval=no
9773 fi
9774 fi
9775
9776 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
9777 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
9778 # Check whether --enable-clipboard was given.
9779 if test "${enable_clipboard+set}" = set; then
9780 enableval=$enable_clipboard;
9781 if test "$enableval" = yes; then
9782 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
9783 else
9784 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
9785 fi
9786
9787 else
9788
9789 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
9790
9791 fi
9792
9793
9794 eval "$wx_cv_use_clipboard"
9795
9796 if test x"$enablestring" = xdisable; then
9797 if test $wxUSE_CLIPBOARD = no; then
9798 result=yes
9799 else
9800 result=no
9801 fi
9802 else
9803 result=$wxUSE_CLIPBOARD
9804 fi
9805
9806 { echo "$as_me:$LINENO: result: $result" >&5
9807 echo "${ECHO_T}$result" >&6; }
9808
9809
9810 enablestring=
9811 defaultval=$wxUSE_ALL_FEATURES
9812 if test -z "$defaultval"; then
9813 if test x"$enablestring" = xdisable; then
9814 defaultval=yes
9815 else
9816 defaultval=no
9817 fi
9818 fi
9819
9820 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
9821 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
9822 # Check whether --enable-dnd was given.
9823 if test "${enable_dnd+set}" = set; then
9824 enableval=$enable_dnd;
9825 if test "$enableval" = yes; then
9826 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
9827 else
9828 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
9829 fi
9830
9831 else
9832
9833 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
9834
9835 fi
9836
9837
9838 eval "$wx_cv_use_dnd"
9839
9840 if test x"$enablestring" = xdisable; then
9841 if test $wxUSE_DRAG_AND_DROP = no; then
9842 result=yes
9843 else
9844 result=no
9845 fi
9846 else
9847 result=$wxUSE_DRAG_AND_DROP
9848 fi
9849
9850 { echo "$as_me:$LINENO: result: $result" >&5
9851 echo "${ECHO_T}$result" >&6; }
9852
9853
9854
9855 DEFAULT_wxUSE_CONTROLS=none
9856
9857 enablestring=disable
9858 defaultval=
9859 if test -z "$defaultval"; then
9860 if test x"$enablestring" = xdisable; then
9861 defaultval=yes
9862 else
9863 defaultval=no
9864 fi
9865 fi
9866
9867 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
9868 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
9869 # Check whether --enable-controls was given.
9870 if test "${enable_controls+set}" = set; then
9871 enableval=$enable_controls;
9872 if test "$enableval" = yes; then
9873 wx_cv_use_controls='wxUSE_CONTROLS=yes'
9874 else
9875 wx_cv_use_controls='wxUSE_CONTROLS=no'
9876 fi
9877
9878 else
9879
9880 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
9881
9882 fi
9883
9884
9885 eval "$wx_cv_use_controls"
9886
9887 if test x"$enablestring" = xdisable; then
9888 if test $wxUSE_CONTROLS = no; then
9889 result=yes
9890 else
9891 result=no
9892 fi
9893 else
9894 result=$wxUSE_CONTROLS
9895 fi
9896
9897 { echo "$as_me:$LINENO: result: $result" >&5
9898 echo "${ECHO_T}$result" >&6; }
9899
9900
9901 if test "$wxUSE_CONTROLS" = "no"; then
9902 DEFAULT_wxUSE_ACCEL=no
9903 DEFAULT_wxUSE_ANIMATIONCTRL=no
9904 DEFAULT_wxUSE_BANNERWINDOW=no
9905 DEFAULT_wxUSE_BMPBUTTON=no
9906 DEFAULT_wxUSE_BUTTON=no
9907 DEFAULT_wxUSE_CALCTRL=no
9908 DEFAULT_wxUSE_CARET=no
9909 DEFAULT_wxUSE_CHECKBOX=no
9910 DEFAULT_wxUSE_CHECKLISTBOX=no
9911 DEFAULT_wxUSE_CHOICE=no
9912 DEFAULT_wxUSE_CHOICEBOOK=no
9913 DEFAULT_wxUSE_COLLPANE=no
9914 DEFAULT_wxUSE_COLOURPICKERCTRL=no
9915 DEFAULT_wxUSE_COMBOBOX=no
9916 DEFAULT_wxUSE_COMBOBOX=no
9917 DEFAULT_wxUSE_COMMANDLINKBUTTON=no
9918 DEFAULT_wxUSE_DATAVIEWCTRL=no
9919 DEFAULT_wxUSE_DATEPICKCTRL=no
9920 DEFAULT_wxUSE_DETECT_SM=no
9921 DEFAULT_wxUSE_DIRPICKERCTRL=no
9922 DEFAULT_wxUSE_DISPLAY=no
9923 DEFAULT_wxUSE_FILECTRL=no
9924 DEFAULT_wxUSE_FILEPICKERCTRL=no
9925 DEFAULT_wxUSE_FONTPICKERCTRL=no
9926 DEFAULT_wxUSE_GAUGE=no
9927 DEFAULT_wxUSE_GRID=no
9928 DEFAULT_wxUSE_HEADERCTRL=no
9929 DEFAULT_wxUSE_HYPERLINKCTRL=no
9930 DEFAULT_wxUSE_IMAGLIST=no
9931 DEFAULT_wxUSE_LISTBOOK=no
9932 DEFAULT_wxUSE_LISTBOX=no
9933 DEFAULT_wxUSE_LISTCTRL=no
9934 DEFAULT_wxUSE_MARKUP=no
9935 DEFAULT_wxUSE_NOTEBOOK=no
9936 DEFAULT_wxUSE_POPUPWIN=no
9937 DEFAULT_wxUSE_RADIOBOX=no
9938 DEFAULT_wxUSE_RADIOBTN=no
9939 DEFAULT_wxUSE_RICHMSGDLG=no
9940 DEFAULT_wxUSE_RICHTOOLTIP=no
9941 DEFAULT_wxUSE_REARRANGECTRL=no
9942 DEFAULT_wxUSE_SASH=no
9943 DEFAULT_wxUSE_SCROLLBAR=no
9944 DEFAULT_wxUSE_SEARCHCTRL=no
9945 DEFAULT_wxUSE_SLIDER=no
9946 DEFAULT_wxUSE_SPINBTN=no
9947 DEFAULT_wxUSE_SPINCTRL=no
9948 DEFAULT_wxUSE_SPLITTER=no
9949 DEFAULT_wxUSE_STATBMP=no
9950 DEFAULT_wxUSE_STATBOX=no
9951 DEFAULT_wxUSE_STATLINE=no
9952 DEFAULT_wxUSE_STATUSBAR=no
9953 DEFAULT_wxUSE_TIMEPICKCTRL=no
9954 DEFAULT_wxUSE_TIPWINDOW=no
9955 DEFAULT_wxUSE_TOGGLEBTN=no
9956 DEFAULT_wxUSE_TOOLBAR=no
9957 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
9958 DEFAULT_wxUSE_TOOLBOOK=no
9959 DEFAULT_wxUSE_TOOLTIPS=no
9960 DEFAULT_wxUSE_TREEBOOK=no
9961 DEFAULT_wxUSE_TREECTRL=no
9962 DEFAULT_wxUSE_TREELISTCTRL=no
9963 fi
9964
9965
9966 enablestring=
9967 defaultval=$wxUSE_ALL_FEATURES
9968 if test -z "$defaultval"; then
9969 if test x"$enablestring" = xdisable; then
9970 defaultval=yes
9971 else
9972 defaultval=no
9973 fi
9974 fi
9975
9976 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-markup" >&5
9977 echo $ECHO_N "checking for --${enablestring:-enable}-markup... $ECHO_C" >&6; }
9978 # Check whether --enable-markup was given.
9979 if test "${enable_markup+set}" = set; then
9980 enableval=$enable_markup;
9981 if test "$enableval" = yes; then
9982 wx_cv_use_markup='wxUSE_MARKUP=yes'
9983 else
9984 wx_cv_use_markup='wxUSE_MARKUP=no'
9985 fi
9986
9987 else
9988
9989 wx_cv_use_markup='wxUSE_MARKUP=${'DEFAULT_wxUSE_MARKUP":-$defaultval}"
9990
9991 fi
9992
9993
9994 eval "$wx_cv_use_markup"
9995
9996 if test x"$enablestring" = xdisable; then
9997 if test $wxUSE_MARKUP = no; then
9998 result=yes
9999 else
10000 result=no
10001 fi
10002 else
10003 result=$wxUSE_MARKUP
10004 fi
10005
10006 { echo "$as_me:$LINENO: result: $result" >&5
10007 echo "${ECHO_T}$result" >&6; }
10008
10009
10010
10011 enablestring=
10012 defaultval=$wxUSE_ALL_FEATURES
10013 if test -z "$defaultval"; then
10014 if test x"$enablestring" = xdisable; then
10015 defaultval=yes
10016 else
10017 defaultval=no
10018 fi
10019 fi
10020
10021 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
10022 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
10023 # Check whether --enable-accel was given.
10024 if test "${enable_accel+set}" = set; then
10025 enableval=$enable_accel;
10026 if test "$enableval" = yes; then
10027 wx_cv_use_accel='wxUSE_ACCEL=yes'
10028 else
10029 wx_cv_use_accel='wxUSE_ACCEL=no'
10030 fi
10031
10032 else
10033
10034 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
10035
10036 fi
10037
10038
10039 eval "$wx_cv_use_accel"
10040
10041 if test x"$enablestring" = xdisable; then
10042 if test $wxUSE_ACCEL = no; then
10043 result=yes
10044 else
10045 result=no
10046 fi
10047 else
10048 result=$wxUSE_ACCEL
10049 fi
10050
10051 { echo "$as_me:$LINENO: result: $result" >&5
10052 echo "${ECHO_T}$result" >&6; }
10053
10054
10055 enablestring=
10056 defaultval=$wxUSE_ALL_FEATURES
10057 if test -z "$defaultval"; then
10058 if test x"$enablestring" = xdisable; then
10059 defaultval=yes
10060 else
10061 defaultval=no
10062 fi
10063 fi
10064
10065 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
10066 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
10067 # Check whether --enable-animatectrl was given.
10068 if test "${enable_animatectrl+set}" = set; then
10069 enableval=$enable_animatectrl;
10070 if test "$enableval" = yes; then
10071 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
10072 else
10073 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
10074 fi
10075
10076 else
10077
10078 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
10079
10080 fi
10081
10082
10083 eval "$wx_cv_use_animatectrl"
10084
10085 if test x"$enablestring" = xdisable; then
10086 if test $wxUSE_ANIMATIONCTRL = no; then
10087 result=yes
10088 else
10089 result=no
10090 fi
10091 else
10092 result=$wxUSE_ANIMATIONCTRL
10093 fi
10094
10095 { echo "$as_me:$LINENO: result: $result" >&5
10096 echo "${ECHO_T}$result" >&6; }
10097
10098
10099 enablestring=
10100 defaultval=$wxUSE_ALL_FEATURES
10101 if test -z "$defaultval"; then
10102 if test x"$enablestring" = xdisable; then
10103 defaultval=yes
10104 else
10105 defaultval=no
10106 fi
10107 fi
10108
10109 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bannerwindow" >&5
10110 echo $ECHO_N "checking for --${enablestring:-enable}-bannerwindow... $ECHO_C" >&6; }
10111 # Check whether --enable-bannerwindow was given.
10112 if test "${enable_bannerwindow+set}" = set; then
10113 enableval=$enable_bannerwindow;
10114 if test "$enableval" = yes; then
10115 wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW=yes'
10116 else
10117 wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW=no'
10118 fi
10119
10120 else
10121
10122 wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW=${'DEFAULT_wxUSE_BANNERWINDOW":-$defaultval}"
10123
10124 fi
10125
10126
10127 eval "$wx_cv_use_bannerwindow"
10128
10129 if test x"$enablestring" = xdisable; then
10130 if test $wxUSE_BANNERWINDOW = no; then
10131 result=yes
10132 else
10133 result=no
10134 fi
10135 else
10136 result=$wxUSE_BANNERWINDOW
10137 fi
10138
10139 { echo "$as_me:$LINENO: result: $result" >&5
10140 echo "${ECHO_T}$result" >&6; }
10141
10142
10143 enablestring=
10144 defaultval=$wxUSE_ALL_FEATURES
10145 if test -z "$defaultval"; then
10146 if test x"$enablestring" = xdisable; then
10147 defaultval=yes
10148 else
10149 defaultval=no
10150 fi
10151 fi
10152
10153 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-artstd" >&5
10154 echo $ECHO_N "checking for --${enablestring:-enable}-artstd... $ECHO_C" >&6; }
10155 # Check whether --enable-artstd was given.
10156 if test "${enable_artstd+set}" = set; then
10157 enableval=$enable_artstd;
10158 if test "$enableval" = yes; then
10159 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=yes'
10160 else
10161 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=no'
10162 fi
10163
10164 else
10165
10166 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=${'DEFAULT_wxUSE_ARTPROVIDER_STD":-$defaultval}"
10167
10168 fi
10169
10170
10171 eval "$wx_cv_use_artstd"
10172
10173 if test x"$enablestring" = xdisable; then
10174 if test $wxUSE_ARTPROVIDER_STD = no; then
10175 result=yes
10176 else
10177 result=no
10178 fi
10179 else
10180 result=$wxUSE_ARTPROVIDER_STD
10181 fi
10182
10183 { echo "$as_me:$LINENO: result: $result" >&5
10184 echo "${ECHO_T}$result" >&6; }
10185
10186
10187 enablestring=
10188 defaultval=$wxUSE_ALL_FEATURES
10189 if test -z "$defaultval"; then
10190 if test x"$enablestring" = xdisable; then
10191 defaultval=yes
10192 else
10193 defaultval=no
10194 fi
10195 fi
10196
10197 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arttango" >&5
10198 echo $ECHO_N "checking for --${enablestring:-enable}-arttango... $ECHO_C" >&6; }
10199 # Check whether --enable-arttango was given.
10200 if test "${enable_arttango+set}" = set; then
10201 enableval=$enable_arttango;
10202 if test "$enableval" = yes; then
10203 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=yes'
10204 else
10205 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=no'
10206 fi
10207
10208 else
10209
10210 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=${'DEFAULT_wxUSE_ARTPROVIDER_TANGO":-$defaultval}"
10211
10212 fi
10213
10214
10215 eval "$wx_cv_use_arttango"
10216
10217 if test x"$enablestring" = xdisable; then
10218 if test $wxUSE_ARTPROVIDER_TANGO = no; then
10219 result=yes
10220 else
10221 result=no
10222 fi
10223 else
10224 result=$wxUSE_ARTPROVIDER_TANGO
10225 fi
10226
10227 { echo "$as_me:$LINENO: result: $result" >&5
10228 echo "${ECHO_T}$result" >&6; }
10229
10230
10231 enablestring=
10232 defaultval=$wxUSE_ALL_FEATURES
10233 if test -z "$defaultval"; then
10234 if test x"$enablestring" = xdisable; then
10235 defaultval=yes
10236 else
10237 defaultval=no
10238 fi
10239 fi
10240
10241 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
10242 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
10243 # Check whether --enable-bmpbutton was given.
10244 if test "${enable_bmpbutton+set}" = set; then
10245 enableval=$enable_bmpbutton;
10246 if test "$enableval" = yes; then
10247 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
10248 else
10249 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
10250 fi
10251
10252 else
10253
10254 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
10255
10256 fi
10257
10258
10259 eval "$wx_cv_use_bmpbutton"
10260
10261 if test x"$enablestring" = xdisable; then
10262 if test $wxUSE_BMPBUTTON = no; then
10263 result=yes
10264 else
10265 result=no
10266 fi
10267 else
10268 result=$wxUSE_BMPBUTTON
10269 fi
10270
10271 { echo "$as_me:$LINENO: result: $result" >&5
10272 echo "${ECHO_T}$result" >&6; }
10273
10274
10275 enablestring=
10276 defaultval=$wxUSE_ALL_FEATURES
10277 if test -z "$defaultval"; then
10278 if test x"$enablestring" = xdisable; then
10279 defaultval=yes
10280 else
10281 defaultval=no
10282 fi
10283 fi
10284
10285 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
10286 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
10287 # Check whether --enable-bmpcombobox was given.
10288 if test "${enable_bmpcombobox+set}" = set; then
10289 enableval=$enable_bmpcombobox;
10290 if test "$enableval" = yes; then
10291 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
10292 else
10293 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
10294 fi
10295
10296 else
10297
10298 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
10299
10300 fi
10301
10302
10303 eval "$wx_cv_use_bmpcombobox"
10304
10305 if test x"$enablestring" = xdisable; then
10306 if test $wxUSE_BITMAPCOMBOBOX = no; then
10307 result=yes
10308 else
10309 result=no
10310 fi
10311 else
10312 result=$wxUSE_BITMAPCOMBOBOX
10313 fi
10314
10315 { echo "$as_me:$LINENO: result: $result" >&5
10316 echo "${ECHO_T}$result" >&6; }
10317
10318
10319 enablestring=
10320 defaultval=$wxUSE_ALL_FEATURES
10321 if test -z "$defaultval"; then
10322 if test x"$enablestring" = xdisable; then
10323 defaultval=yes
10324 else
10325 defaultval=no
10326 fi
10327 fi
10328
10329 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
10330 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
10331 # Check whether --enable-button was given.
10332 if test "${enable_button+set}" = set; then
10333 enableval=$enable_button;
10334 if test "$enableval" = yes; then
10335 wx_cv_use_button='wxUSE_BUTTON=yes'
10336 else
10337 wx_cv_use_button='wxUSE_BUTTON=no'
10338 fi
10339
10340 else
10341
10342 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
10343
10344 fi
10345
10346
10347 eval "$wx_cv_use_button"
10348
10349 if test x"$enablestring" = xdisable; then
10350 if test $wxUSE_BUTTON = no; then
10351 result=yes
10352 else
10353 result=no
10354 fi
10355 else
10356 result=$wxUSE_BUTTON
10357 fi
10358
10359 { echo "$as_me:$LINENO: result: $result" >&5
10360 echo "${ECHO_T}$result" >&6; }
10361
10362
10363 enablestring=
10364 defaultval=$wxUSE_ALL_FEATURES
10365 if test -z "$defaultval"; then
10366 if test x"$enablestring" = xdisable; then
10367 defaultval=yes
10368 else
10369 defaultval=no
10370 fi
10371 fi
10372
10373 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
10374 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
10375 # Check whether --enable-calendar was given.
10376 if test "${enable_calendar+set}" = set; then
10377 enableval=$enable_calendar;
10378 if test "$enableval" = yes; then
10379 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
10380 else
10381 wx_cv_use_calendar='wxUSE_CALCTRL=no'
10382 fi
10383
10384 else
10385
10386 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
10387
10388 fi
10389
10390
10391 eval "$wx_cv_use_calendar"
10392
10393 if test x"$enablestring" = xdisable; then
10394 if test $wxUSE_CALCTRL = no; then
10395 result=yes
10396 else
10397 result=no
10398 fi
10399 else
10400 result=$wxUSE_CALCTRL
10401 fi
10402
10403 { echo "$as_me:$LINENO: result: $result" >&5
10404 echo "${ECHO_T}$result" >&6; }
10405
10406
10407 enablestring=
10408 defaultval=$wxUSE_ALL_FEATURES
10409 if test -z "$defaultval"; then
10410 if test x"$enablestring" = xdisable; then
10411 defaultval=yes
10412 else
10413 defaultval=no
10414 fi
10415 fi
10416
10417 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
10418 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
10419 # Check whether --enable-caret was given.
10420 if test "${enable_caret+set}" = set; then
10421 enableval=$enable_caret;
10422 if test "$enableval" = yes; then
10423 wx_cv_use_caret='wxUSE_CARET=yes'
10424 else
10425 wx_cv_use_caret='wxUSE_CARET=no'
10426 fi
10427
10428 else
10429
10430 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
10431
10432 fi
10433
10434
10435 eval "$wx_cv_use_caret"
10436
10437 if test x"$enablestring" = xdisable; then
10438 if test $wxUSE_CARET = no; then
10439 result=yes
10440 else
10441 result=no
10442 fi
10443 else
10444 result=$wxUSE_CARET
10445 fi
10446
10447 { echo "$as_me:$LINENO: result: $result" >&5
10448 echo "${ECHO_T}$result" >&6; }
10449
10450
10451 enablestring=
10452 defaultval=$wxUSE_ALL_FEATURES
10453 if test -z "$defaultval"; then
10454 if test x"$enablestring" = xdisable; then
10455 defaultval=yes
10456 else
10457 defaultval=no
10458 fi
10459 fi
10460
10461 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
10462 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
10463 # Check whether --enable-checkbox was given.
10464 if test "${enable_checkbox+set}" = set; then
10465 enableval=$enable_checkbox;
10466 if test "$enableval" = yes; then
10467 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
10468 else
10469 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
10470 fi
10471
10472 else
10473
10474 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
10475
10476 fi
10477
10478
10479 eval "$wx_cv_use_checkbox"
10480
10481 if test x"$enablestring" = xdisable; then
10482 if test $wxUSE_CHECKBOX = no; then
10483 result=yes
10484 else
10485 result=no
10486 fi
10487 else
10488 result=$wxUSE_CHECKBOX
10489 fi
10490
10491 { echo "$as_me:$LINENO: result: $result" >&5
10492 echo "${ECHO_T}$result" >&6; }
10493
10494
10495 enablestring=
10496 defaultval=$wxUSE_ALL_FEATURES
10497 if test -z "$defaultval"; then
10498 if test x"$enablestring" = xdisable; then
10499 defaultval=yes
10500 else
10501 defaultval=no
10502 fi
10503 fi
10504
10505 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
10506 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
10507 # Check whether --enable-checklst was given.
10508 if test "${enable_checklst+set}" = set; then
10509 enableval=$enable_checklst;
10510 if test "$enableval" = yes; then
10511 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
10512 else
10513 wx_cv_use_checklst='wxUSE_CHECKLST=no'
10514 fi
10515
10516 else
10517
10518 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
10519
10520 fi
10521
10522
10523 eval "$wx_cv_use_checklst"
10524
10525 if test x"$enablestring" = xdisable; then
10526 if test $wxUSE_CHECKLST = no; then
10527 result=yes
10528 else
10529 result=no
10530 fi
10531 else
10532 result=$wxUSE_CHECKLST
10533 fi
10534
10535 { echo "$as_me:$LINENO: result: $result" >&5
10536 echo "${ECHO_T}$result" >&6; }
10537
10538
10539 enablestring=
10540 defaultval=$wxUSE_ALL_FEATURES
10541 if test -z "$defaultval"; then
10542 if test x"$enablestring" = xdisable; then
10543 defaultval=yes
10544 else
10545 defaultval=no
10546 fi
10547 fi
10548
10549 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
10550 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
10551 # Check whether --enable-choice was given.
10552 if test "${enable_choice+set}" = set; then
10553 enableval=$enable_choice;
10554 if test "$enableval" = yes; then
10555 wx_cv_use_choice='wxUSE_CHOICE=yes'
10556 else
10557 wx_cv_use_choice='wxUSE_CHOICE=no'
10558 fi
10559
10560 else
10561
10562 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
10563
10564 fi
10565
10566
10567 eval "$wx_cv_use_choice"
10568
10569 if test x"$enablestring" = xdisable; then
10570 if test $wxUSE_CHOICE = no; then
10571 result=yes
10572 else
10573 result=no
10574 fi
10575 else
10576 result=$wxUSE_CHOICE
10577 fi
10578
10579 { echo "$as_me:$LINENO: result: $result" >&5
10580 echo "${ECHO_T}$result" >&6; }
10581
10582
10583 enablestring=
10584 defaultval=$wxUSE_ALL_FEATURES
10585 if test -z "$defaultval"; then
10586 if test x"$enablestring" = xdisable; then
10587 defaultval=yes
10588 else
10589 defaultval=no
10590 fi
10591 fi
10592
10593 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
10594 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
10595 # Check whether --enable-choicebook was given.
10596 if test "${enable_choicebook+set}" = set; then
10597 enableval=$enable_choicebook;
10598 if test "$enableval" = yes; then
10599 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
10600 else
10601 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
10602 fi
10603
10604 else
10605
10606 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
10607
10608 fi
10609
10610
10611 eval "$wx_cv_use_choicebook"
10612
10613 if test x"$enablestring" = xdisable; then
10614 if test $wxUSE_CHOICEBOOK = no; then
10615 result=yes
10616 else
10617 result=no
10618 fi
10619 else
10620 result=$wxUSE_CHOICEBOOK
10621 fi
10622
10623 { echo "$as_me:$LINENO: result: $result" >&5
10624 echo "${ECHO_T}$result" >&6; }
10625
10626
10627 enablestring=
10628 defaultval=$wxUSE_ALL_FEATURES
10629 if test -z "$defaultval"; then
10630 if test x"$enablestring" = xdisable; then
10631 defaultval=yes
10632 else
10633 defaultval=no
10634 fi
10635 fi
10636
10637 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
10638 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
10639 # Check whether --enable-collpane was given.
10640 if test "${enable_collpane+set}" = set; then
10641 enableval=$enable_collpane;
10642 if test "$enableval" = yes; then
10643 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
10644 else
10645 wx_cv_use_collpane='wxUSE_COLLPANE=no'
10646 fi
10647
10648 else
10649
10650 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
10651
10652 fi
10653
10654
10655 eval "$wx_cv_use_collpane"
10656
10657 if test x"$enablestring" = xdisable; then
10658 if test $wxUSE_COLLPANE = no; then
10659 result=yes
10660 else
10661 result=no
10662 fi
10663 else
10664 result=$wxUSE_COLLPANE
10665 fi
10666
10667 { echo "$as_me:$LINENO: result: $result" >&5
10668 echo "${ECHO_T}$result" >&6; }
10669
10670
10671 enablestring=
10672 defaultval=$wxUSE_ALL_FEATURES
10673 if test -z "$defaultval"; then
10674 if test x"$enablestring" = xdisable; then
10675 defaultval=yes
10676 else
10677 defaultval=no
10678 fi
10679 fi
10680
10681 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
10682 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
10683 # Check whether --enable-colourpicker was given.
10684 if test "${enable_colourpicker+set}" = set; then
10685 enableval=$enable_colourpicker;
10686 if test "$enableval" = yes; then
10687 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
10688 else
10689 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
10690 fi
10691
10692 else
10693
10694 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
10695
10696 fi
10697
10698
10699 eval "$wx_cv_use_colourpicker"
10700
10701 if test x"$enablestring" = xdisable; then
10702 if test $wxUSE_COLOURPICKERCTRL = no; then
10703 result=yes
10704 else
10705 result=no
10706 fi
10707 else
10708 result=$wxUSE_COLOURPICKERCTRL
10709 fi
10710
10711 { echo "$as_me:$LINENO: result: $result" >&5
10712 echo "${ECHO_T}$result" >&6; }
10713
10714
10715 enablestring=
10716 defaultval=$wxUSE_ALL_FEATURES
10717 if test -z "$defaultval"; then
10718 if test x"$enablestring" = xdisable; then
10719 defaultval=yes
10720 else
10721 defaultval=no
10722 fi
10723 fi
10724
10725 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
10726 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
10727 # Check whether --enable-combobox was given.
10728 if test "${enable_combobox+set}" = set; then
10729 enableval=$enable_combobox;
10730 if test "$enableval" = yes; then
10731 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
10732 else
10733 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
10734 fi
10735
10736 else
10737
10738 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
10739
10740 fi
10741
10742
10743 eval "$wx_cv_use_combobox"
10744
10745 if test x"$enablestring" = xdisable; then
10746 if test $wxUSE_COMBOBOX = no; then
10747 result=yes
10748 else
10749 result=no
10750 fi
10751 else
10752 result=$wxUSE_COMBOBOX
10753 fi
10754
10755 { echo "$as_me:$LINENO: result: $result" >&5
10756 echo "${ECHO_T}$result" >&6; }
10757
10758
10759 enablestring=
10760 defaultval=$wxUSE_ALL_FEATURES
10761 if test -z "$defaultval"; then
10762 if test x"$enablestring" = xdisable; then
10763 defaultval=yes
10764 else
10765 defaultval=no
10766 fi
10767 fi
10768
10769 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
10770 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
10771 # Check whether --enable-comboctrl was given.
10772 if test "${enable_comboctrl+set}" = set; then
10773 enableval=$enable_comboctrl;
10774 if test "$enableval" = yes; then
10775 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
10776 else
10777 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
10778 fi
10779
10780 else
10781
10782 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
10783
10784 fi
10785
10786
10787 eval "$wx_cv_use_comboctrl"
10788
10789 if test x"$enablestring" = xdisable; then
10790 if test $wxUSE_COMBOCTRL = no; then
10791 result=yes
10792 else
10793 result=no
10794 fi
10795 else
10796 result=$wxUSE_COMBOCTRL
10797 fi
10798
10799 { echo "$as_me:$LINENO: result: $result" >&5
10800 echo "${ECHO_T}$result" >&6; }
10801
10802
10803 enablestring=
10804 defaultval=$wxUSE_ALL_FEATURES
10805 if test -z "$defaultval"; then
10806 if test x"$enablestring" = xdisable; then
10807 defaultval=yes
10808 else
10809 defaultval=no
10810 fi
10811 fi
10812
10813 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commandlinkbutton" >&5
10814 echo $ECHO_N "checking for --${enablestring:-enable}-commandlinkbutton... $ECHO_C" >&6; }
10815 # Check whether --enable-commandlinkbutton was given.
10816 if test "${enable_commandlinkbutton+set}" = set; then
10817 enableval=$enable_commandlinkbutton;
10818 if test "$enableval" = yes; then
10819 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=yes'
10820 else
10821 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=no'
10822 fi
10823
10824 else
10825
10826 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=${'DEFAULT_wxUSE_COMMANDLINKBUTTON":-$defaultval}"
10827
10828 fi
10829
10830
10831 eval "$wx_cv_use_commandlinkbutton"
10832
10833 if test x"$enablestring" = xdisable; then
10834 if test $wxUSE_COMMANDLINKBUTTON = no; then
10835 result=yes
10836 else
10837 result=no
10838 fi
10839 else
10840 result=$wxUSE_COMMANDLINKBUTTON
10841 fi
10842
10843 { echo "$as_me:$LINENO: result: $result" >&5
10844 echo "${ECHO_T}$result" >&6; }
10845
10846
10847 enablestring=
10848 defaultval=$wxUSE_ALL_FEATURES
10849 if test -z "$defaultval"; then
10850 if test x"$enablestring" = xdisable; then
10851 defaultval=yes
10852 else
10853 defaultval=no
10854 fi
10855 fi
10856
10857 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
10858 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
10859 # Check whether --enable-dataviewctrl was given.
10860 if test "${enable_dataviewctrl+set}" = set; then
10861 enableval=$enable_dataviewctrl;
10862 if test "$enableval" = yes; then
10863 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
10864 else
10865 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
10866 fi
10867
10868 else
10869
10870 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
10871
10872 fi
10873
10874
10875 eval "$wx_cv_use_dataviewctrl"
10876
10877 if test x"$enablestring" = xdisable; then
10878 if test $wxUSE_DATAVIEWCTRL = no; then
10879 result=yes
10880 else
10881 result=no
10882 fi
10883 else
10884 result=$wxUSE_DATAVIEWCTRL
10885 fi
10886
10887 { echo "$as_me:$LINENO: result: $result" >&5
10888 echo "${ECHO_T}$result" >&6; }
10889
10890
10891 enablestring=
10892 defaultval=$wxUSE_ALL_FEATURES
10893 if test -z "$defaultval"; then
10894 if test x"$enablestring" = xdisable; then
10895 defaultval=yes
10896 else
10897 defaultval=no
10898 fi
10899 fi
10900
10901 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
10902 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
10903 # Check whether --enable-datepick was given.
10904 if test "${enable_datepick+set}" = set; then
10905 enableval=$enable_datepick;
10906 if test "$enableval" = yes; then
10907 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
10908 else
10909 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
10910 fi
10911
10912 else
10913
10914 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
10915
10916 fi
10917
10918
10919 eval "$wx_cv_use_datepick"
10920
10921 if test x"$enablestring" = xdisable; then
10922 if test $wxUSE_DATEPICKCTRL = no; then
10923 result=yes
10924 else
10925 result=no
10926 fi
10927 else
10928 result=$wxUSE_DATEPICKCTRL
10929 fi
10930
10931 { echo "$as_me:$LINENO: result: $result" >&5
10932 echo "${ECHO_T}$result" >&6; }
10933
10934
10935 enablestring=
10936 defaultval=$wxUSE_ALL_FEATURES
10937 if test -z "$defaultval"; then
10938 if test x"$enablestring" = xdisable; then
10939 defaultval=yes
10940 else
10941 defaultval=no
10942 fi
10943 fi
10944
10945 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
10946 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
10947 # Check whether --enable-detect_sm was given.
10948 if test "${enable_detect_sm+set}" = set; then
10949 enableval=$enable_detect_sm;
10950 if test "$enableval" = yes; then
10951 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
10952 else
10953 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
10954 fi
10955
10956 else
10957
10958 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
10959
10960 fi
10961
10962
10963 eval "$wx_cv_use_detect_sm"
10964
10965 if test x"$enablestring" = xdisable; then
10966 if test $wxUSE_DETECT_SM = no; then
10967 result=yes
10968 else
10969 result=no
10970 fi
10971 else
10972 result=$wxUSE_DETECT_SM
10973 fi
10974
10975 { echo "$as_me:$LINENO: result: $result" >&5
10976 echo "${ECHO_T}$result" >&6; }
10977
10978
10979 enablestring=
10980 defaultval=$wxUSE_ALL_FEATURES
10981 if test -z "$defaultval"; then
10982 if test x"$enablestring" = xdisable; then
10983 defaultval=yes
10984 else
10985 defaultval=no
10986 fi
10987 fi
10988
10989 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
10990 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
10991 # Check whether --enable-dirpicker was given.
10992 if test "${enable_dirpicker+set}" = set; then
10993 enableval=$enable_dirpicker;
10994 if test "$enableval" = yes; then
10995 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
10996 else
10997 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
10998 fi
10999
11000 else
11001
11002 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
11003
11004 fi
11005
11006
11007 eval "$wx_cv_use_dirpicker"
11008
11009 if test x"$enablestring" = xdisable; then
11010 if test $wxUSE_DIRPICKERCTRL = no; then
11011 result=yes
11012 else
11013 result=no
11014 fi
11015 else
11016 result=$wxUSE_DIRPICKERCTRL
11017 fi
11018
11019 { echo "$as_me:$LINENO: result: $result" >&5
11020 echo "${ECHO_T}$result" >&6; }
11021
11022
11023 enablestring=
11024 defaultval=$wxUSE_ALL_FEATURES
11025 if test -z "$defaultval"; then
11026 if test x"$enablestring" = xdisable; then
11027 defaultval=yes
11028 else
11029 defaultval=no
11030 fi
11031 fi
11032
11033 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
11034 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
11035 # Check whether --enable-display was given.
11036 if test "${enable_display+set}" = set; then
11037 enableval=$enable_display;
11038 if test "$enableval" = yes; then
11039 wx_cv_use_display='wxUSE_DISPLAY=yes'
11040 else
11041 wx_cv_use_display='wxUSE_DISPLAY=no'
11042 fi
11043
11044 else
11045
11046 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
11047
11048 fi
11049
11050
11051 eval "$wx_cv_use_display"
11052
11053 if test x"$enablestring" = xdisable; then
11054 if test $wxUSE_DISPLAY = no; then
11055 result=yes
11056 else
11057 result=no
11058 fi
11059 else
11060 result=$wxUSE_DISPLAY
11061 fi
11062
11063 { echo "$as_me:$LINENO: result: $result" >&5
11064 echo "${ECHO_T}$result" >&6; }
11065
11066
11067 enablestring=
11068 defaultval=$wxUSE_ALL_FEATURES
11069 if test -z "$defaultval"; then
11070 if test x"$enablestring" = xdisable; then
11071 defaultval=yes
11072 else
11073 defaultval=no
11074 fi
11075 fi
11076
11077 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
11078 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
11079 # Check whether --enable-editablebox was given.
11080 if test "${enable_editablebox+set}" = set; then
11081 enableval=$enable_editablebox;
11082 if test "$enableval" = yes; then
11083 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
11084 else
11085 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
11086 fi
11087
11088 else
11089
11090 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
11091
11092 fi
11093
11094
11095 eval "$wx_cv_use_editablebox"
11096
11097 if test x"$enablestring" = xdisable; then
11098 if test $wxUSE_EDITABLELISTBOX = no; then
11099 result=yes
11100 else
11101 result=no
11102 fi
11103 else
11104 result=$wxUSE_EDITABLELISTBOX
11105 fi
11106
11107 { echo "$as_me:$LINENO: result: $result" >&5
11108 echo "${ECHO_T}$result" >&6; }
11109
11110
11111 enablestring=
11112 defaultval=$wxUSE_ALL_FEATURES
11113 if test -z "$defaultval"; then
11114 if test x"$enablestring" = xdisable; then
11115 defaultval=yes
11116 else
11117 defaultval=no
11118 fi
11119 fi
11120
11121 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filectrl" >&5
11122 echo $ECHO_N "checking for --${enablestring:-enable}-filectrl... $ECHO_C" >&6; }
11123 # Check whether --enable-filectrl was given.
11124 if test "${enable_filectrl+set}" = set; then
11125 enableval=$enable_filectrl;
11126 if test "$enableval" = yes; then
11127 wx_cv_use_filectrl='wxUSE_FILECTRL=yes'
11128 else
11129 wx_cv_use_filectrl='wxUSE_FILECTRL=no'
11130 fi
11131
11132 else
11133
11134 wx_cv_use_filectrl='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
11135
11136 fi
11137
11138
11139 eval "$wx_cv_use_filectrl"
11140
11141 if test x"$enablestring" = xdisable; then
11142 if test $wxUSE_FILECTRL = no; then
11143 result=yes
11144 else
11145 result=no
11146 fi
11147 else
11148 result=$wxUSE_FILECTRL
11149 fi
11150
11151 { echo "$as_me:$LINENO: result: $result" >&5
11152 echo "${ECHO_T}$result" >&6; }
11153
11154
11155 enablestring=
11156 defaultval=$wxUSE_ALL_FEATURES
11157 if test -z "$defaultval"; then
11158 if test x"$enablestring" = xdisable; then
11159 defaultval=yes
11160 else
11161 defaultval=no
11162 fi
11163 fi
11164
11165 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
11166 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
11167 # Check whether --enable-filepicker was given.
11168 if test "${enable_filepicker+set}" = set; then
11169 enableval=$enable_filepicker;
11170 if test "$enableval" = yes; then
11171 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
11172 else
11173 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
11174 fi
11175
11176 else
11177
11178 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
11179
11180 fi
11181
11182
11183 eval "$wx_cv_use_filepicker"
11184
11185 if test x"$enablestring" = xdisable; then
11186 if test $wxUSE_FILEPICKERCTRL = no; then
11187 result=yes
11188 else
11189 result=no
11190 fi
11191 else
11192 result=$wxUSE_FILEPICKERCTRL
11193 fi
11194
11195 { echo "$as_me:$LINENO: result: $result" >&5
11196 echo "${ECHO_T}$result" >&6; }
11197
11198
11199 enablestring=
11200 defaultval=$wxUSE_ALL_FEATURES
11201 if test -z "$defaultval"; then
11202 if test x"$enablestring" = xdisable; then
11203 defaultval=yes
11204 else
11205 defaultval=no
11206 fi
11207 fi
11208
11209 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
11210 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
11211 # Check whether --enable-fontpicker was given.
11212 if test "${enable_fontpicker+set}" = set; then
11213 enableval=$enable_fontpicker;
11214 if test "$enableval" = yes; then
11215 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
11216 else
11217 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
11218 fi
11219
11220 else
11221
11222 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
11223
11224 fi
11225
11226
11227 eval "$wx_cv_use_fontpicker"
11228
11229 if test x"$enablestring" = xdisable; then
11230 if test $wxUSE_FONTPICKERCTRL = no; then
11231 result=yes
11232 else
11233 result=no
11234 fi
11235 else
11236 result=$wxUSE_FONTPICKERCTRL
11237 fi
11238
11239 { echo "$as_me:$LINENO: result: $result" >&5
11240 echo "${ECHO_T}$result" >&6; }
11241
11242
11243 enablestring=
11244 defaultval=$wxUSE_ALL_FEATURES
11245 if test -z "$defaultval"; then
11246 if test x"$enablestring" = xdisable; then
11247 defaultval=yes
11248 else
11249 defaultval=no
11250 fi
11251 fi
11252
11253 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
11254 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
11255 # Check whether --enable-gauge was given.
11256 if test "${enable_gauge+set}" = set; then
11257 enableval=$enable_gauge;
11258 if test "$enableval" = yes; then
11259 wx_cv_use_gauge='wxUSE_GAUGE=yes'
11260 else
11261 wx_cv_use_gauge='wxUSE_GAUGE=no'
11262 fi
11263
11264 else
11265
11266 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
11267
11268 fi
11269
11270
11271 eval "$wx_cv_use_gauge"
11272
11273 if test x"$enablestring" = xdisable; then
11274 if test $wxUSE_GAUGE = no; then
11275 result=yes
11276 else
11277 result=no
11278 fi
11279 else
11280 result=$wxUSE_GAUGE
11281 fi
11282
11283 { echo "$as_me:$LINENO: result: $result" >&5
11284 echo "${ECHO_T}$result" >&6; }
11285
11286
11287 enablestring=
11288 defaultval=$wxUSE_ALL_FEATURES
11289 if test -z "$defaultval"; then
11290 if test x"$enablestring" = xdisable; then
11291 defaultval=yes
11292 else
11293 defaultval=no
11294 fi
11295 fi
11296
11297 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
11298 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
11299 # Check whether --enable-grid was given.
11300 if test "${enable_grid+set}" = set; then
11301 enableval=$enable_grid;
11302 if test "$enableval" = yes; then
11303 wx_cv_use_grid='wxUSE_GRID=yes'
11304 else
11305 wx_cv_use_grid='wxUSE_GRID=no'
11306 fi
11307
11308 else
11309
11310 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
11311
11312 fi
11313
11314
11315 eval "$wx_cv_use_grid"
11316
11317 if test x"$enablestring" = xdisable; then
11318 if test $wxUSE_GRID = no; then
11319 result=yes
11320 else
11321 result=no
11322 fi
11323 else
11324 result=$wxUSE_GRID
11325 fi
11326
11327 { echo "$as_me:$LINENO: result: $result" >&5
11328 echo "${ECHO_T}$result" >&6; }
11329
11330
11331 enablestring=
11332 defaultval=$wxUSE_ALL_FEATURES
11333 if test -z "$defaultval"; then
11334 if test x"$enablestring" = xdisable; then
11335 defaultval=yes
11336 else
11337 defaultval=no
11338 fi
11339 fi
11340
11341 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-headerctrl" >&5
11342 echo $ECHO_N "checking for --${enablestring:-enable}-headerctrl... $ECHO_C" >&6; }
11343 # Check whether --enable-headerctrl was given.
11344 if test "${enable_headerctrl+set}" = set; then
11345 enableval=$enable_headerctrl;
11346 if test "$enableval" = yes; then
11347 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=yes'
11348 else
11349 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=no'
11350 fi
11351
11352 else
11353
11354 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=${'DEFAULT_wxUSE_HEADERCTRL":-$defaultval}"
11355
11356 fi
11357
11358
11359 eval "$wx_cv_use_headerctrl"
11360
11361 if test x"$enablestring" = xdisable; then
11362 if test $wxUSE_HEADERCTRL = no; then
11363 result=yes
11364 else
11365 result=no
11366 fi
11367 else
11368 result=$wxUSE_HEADERCTRL
11369 fi
11370
11371 { echo "$as_me:$LINENO: result: $result" >&5
11372 echo "${ECHO_T}$result" >&6; }
11373
11374
11375 enablestring=
11376 defaultval=$wxUSE_ALL_FEATURES
11377 if test -z "$defaultval"; then
11378 if test x"$enablestring" = xdisable; then
11379 defaultval=yes
11380 else
11381 defaultval=no
11382 fi
11383 fi
11384
11385 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
11386 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
11387 # Check whether --enable-hyperlink was given.
11388 if test "${enable_hyperlink+set}" = set; then
11389 enableval=$enable_hyperlink;
11390 if test "$enableval" = yes; then
11391 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
11392 else
11393 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
11394 fi
11395
11396 else
11397
11398 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
11399
11400 fi
11401
11402
11403 eval "$wx_cv_use_hyperlink"
11404
11405 if test x"$enablestring" = xdisable; then
11406 if test $wxUSE_HYPERLINKCTRL = no; then
11407 result=yes
11408 else
11409 result=no
11410 fi
11411 else
11412 result=$wxUSE_HYPERLINKCTRL
11413 fi
11414
11415 { echo "$as_me:$LINENO: result: $result" >&5
11416 echo "${ECHO_T}$result" >&6; }
11417
11418
11419 enablestring=
11420 defaultval=$wxUSE_ALL_FEATURES
11421 if test -z "$defaultval"; then
11422 if test x"$enablestring" = xdisable; then
11423 defaultval=yes
11424 else
11425 defaultval=no
11426 fi
11427 fi
11428
11429 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
11430 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
11431 # Check whether --enable-imaglist was given.
11432 if test "${enable_imaglist+set}" = set; then
11433 enableval=$enable_imaglist;
11434 if test "$enableval" = yes; then
11435 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
11436 else
11437 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
11438 fi
11439
11440 else
11441
11442 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
11443
11444 fi
11445
11446
11447 eval "$wx_cv_use_imaglist"
11448
11449 if test x"$enablestring" = xdisable; then
11450 if test $wxUSE_IMAGLIST = no; then
11451 result=yes
11452 else
11453 result=no
11454 fi
11455 else
11456 result=$wxUSE_IMAGLIST
11457 fi
11458
11459 { echo "$as_me:$LINENO: result: $result" >&5
11460 echo "${ECHO_T}$result" >&6; }
11461
11462
11463 enablestring=
11464 defaultval=$wxUSE_ALL_FEATURES
11465 if test -z "$defaultval"; then
11466 if test x"$enablestring" = xdisable; then
11467 defaultval=yes
11468 else
11469 defaultval=no
11470 fi
11471 fi
11472
11473 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-infobar" >&5
11474 echo $ECHO_N "checking for --${enablestring:-enable}-infobar... $ECHO_C" >&6; }
11475 # Check whether --enable-infobar was given.
11476 if test "${enable_infobar+set}" = set; then
11477 enableval=$enable_infobar;
11478 if test "$enableval" = yes; then
11479 wx_cv_use_infobar='wxUSE_INFOBAR=yes'
11480 else
11481 wx_cv_use_infobar='wxUSE_INFOBAR=no'
11482 fi
11483
11484 else
11485
11486 wx_cv_use_infobar='wxUSE_INFOBAR=${'DEFAULT_wxUSE_INFOBAR":-$defaultval}"
11487
11488 fi
11489
11490
11491 eval "$wx_cv_use_infobar"
11492
11493 if test x"$enablestring" = xdisable; then
11494 if test $wxUSE_INFOBAR = no; then
11495 result=yes
11496 else
11497 result=no
11498 fi
11499 else
11500 result=$wxUSE_INFOBAR
11501 fi
11502
11503 { echo "$as_me:$LINENO: result: $result" >&5
11504 echo "${ECHO_T}$result" >&6; }
11505
11506
11507 enablestring=
11508 defaultval=$wxUSE_ALL_FEATURES
11509 if test -z "$defaultval"; then
11510 if test x"$enablestring" = xdisable; then
11511 defaultval=yes
11512 else
11513 defaultval=no
11514 fi
11515 fi
11516
11517 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
11518 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
11519 # Check whether --enable-listbook was given.
11520 if test "${enable_listbook+set}" = set; then
11521 enableval=$enable_listbook;
11522 if test "$enableval" = yes; then
11523 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
11524 else
11525 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
11526 fi
11527
11528 else
11529
11530 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
11531
11532 fi
11533
11534
11535 eval "$wx_cv_use_listbook"
11536
11537 if test x"$enablestring" = xdisable; then
11538 if test $wxUSE_LISTBOOK = no; then
11539 result=yes
11540 else
11541 result=no
11542 fi
11543 else
11544 result=$wxUSE_LISTBOOK
11545 fi
11546
11547 { echo "$as_me:$LINENO: result: $result" >&5
11548 echo "${ECHO_T}$result" >&6; }
11549
11550
11551 enablestring=
11552 defaultval=$wxUSE_ALL_FEATURES
11553 if test -z "$defaultval"; then
11554 if test x"$enablestring" = xdisable; then
11555 defaultval=yes
11556 else
11557 defaultval=no
11558 fi
11559 fi
11560
11561 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
11562 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
11563 # Check whether --enable-listbox was given.
11564 if test "${enable_listbox+set}" = set; then
11565 enableval=$enable_listbox;
11566 if test "$enableval" = yes; then
11567 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
11568 else
11569 wx_cv_use_listbox='wxUSE_LISTBOX=no'
11570 fi
11571
11572 else
11573
11574 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
11575
11576 fi
11577
11578
11579 eval "$wx_cv_use_listbox"
11580
11581 if test x"$enablestring" = xdisable; then
11582 if test $wxUSE_LISTBOX = no; then
11583 result=yes
11584 else
11585 result=no
11586 fi
11587 else
11588 result=$wxUSE_LISTBOX
11589 fi
11590
11591 { echo "$as_me:$LINENO: result: $result" >&5
11592 echo "${ECHO_T}$result" >&6; }
11593
11594
11595 enablestring=
11596 defaultval=$wxUSE_ALL_FEATURES
11597 if test -z "$defaultval"; then
11598 if test x"$enablestring" = xdisable; then
11599 defaultval=yes
11600 else
11601 defaultval=no
11602 fi
11603 fi
11604
11605 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
11606 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
11607 # Check whether --enable-listctrl was given.
11608 if test "${enable_listctrl+set}" = set; then
11609 enableval=$enable_listctrl;
11610 if test "$enableval" = yes; then
11611 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
11612 else
11613 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
11614 fi
11615
11616 else
11617
11618 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
11619
11620 fi
11621
11622
11623 eval "$wx_cv_use_listctrl"
11624
11625 if test x"$enablestring" = xdisable; then
11626 if test $wxUSE_LISTCTRL = no; then
11627 result=yes
11628 else
11629 result=no
11630 fi
11631 else
11632 result=$wxUSE_LISTCTRL
11633 fi
11634
11635 { echo "$as_me:$LINENO: result: $result" >&5
11636 echo "${ECHO_T}$result" >&6; }
11637
11638
11639 enablestring=
11640 defaultval=$wxUSE_ALL_FEATURES
11641 if test -z "$defaultval"; then
11642 if test x"$enablestring" = xdisable; then
11643 defaultval=yes
11644 else
11645 defaultval=no
11646 fi
11647 fi
11648
11649 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
11650 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
11651 # Check whether --enable-notebook was given.
11652 if test "${enable_notebook+set}" = set; then
11653 enableval=$enable_notebook;
11654 if test "$enableval" = yes; then
11655 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
11656 else
11657 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
11658 fi
11659
11660 else
11661
11662 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
11663
11664 fi
11665
11666
11667 eval "$wx_cv_use_notebook"
11668
11669 if test x"$enablestring" = xdisable; then
11670 if test $wxUSE_NOTEBOOK = no; then
11671 result=yes
11672 else
11673 result=no
11674 fi
11675 else
11676 result=$wxUSE_NOTEBOOK
11677 fi
11678
11679 { echo "$as_me:$LINENO: result: $result" >&5
11680 echo "${ECHO_T}$result" >&6; }
11681
11682
11683 enablestring=
11684 defaultval=$wxUSE_ALL_FEATURES
11685 if test -z "$defaultval"; then
11686 if test x"$enablestring" = xdisable; then
11687 defaultval=yes
11688 else
11689 defaultval=no
11690 fi
11691 fi
11692
11693 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notifmsg" >&5
11694 echo $ECHO_N "checking for --${enablestring:-enable}-notifmsg... $ECHO_C" >&6; }
11695 # Check whether --enable-notifmsg was given.
11696 if test "${enable_notifmsg+set}" = set; then
11697 enableval=$enable_notifmsg;
11698 if test "$enableval" = yes; then
11699 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=yes'
11700 else
11701 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=no'
11702 fi
11703
11704 else
11705
11706 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
11707
11708 fi
11709
11710
11711 eval "$wx_cv_use_notifmsg"
11712
11713 if test x"$enablestring" = xdisable; then
11714 if test $wxUSE_NOTIFICATION_MESSAGE = no; then
11715 result=yes
11716 else
11717 result=no
11718 fi
11719 else
11720 result=$wxUSE_NOTIFICATION_MESSAGE
11721 fi
11722
11723 { echo "$as_me:$LINENO: result: $result" >&5
11724 echo "${ECHO_T}$result" >&6; }
11725
11726
11727 enablestring=
11728 defaultval=$wxUSE_ALL_FEATURES
11729 if test -z "$defaultval"; then
11730 if test x"$enablestring" = xdisable; then
11731 defaultval=yes
11732 else
11733 defaultval=no
11734 fi
11735 fi
11736
11737 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
11738 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
11739 # Check whether --enable-odcombobox was given.
11740 if test "${enable_odcombobox+set}" = set; then
11741 enableval=$enable_odcombobox;
11742 if test "$enableval" = yes; then
11743 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
11744 else
11745 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
11746 fi
11747
11748 else
11749
11750 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
11751
11752 fi
11753
11754
11755 eval "$wx_cv_use_odcombobox"
11756
11757 if test x"$enablestring" = xdisable; then
11758 if test $wxUSE_ODCOMBOBOX = no; then
11759 result=yes
11760 else
11761 result=no
11762 fi
11763 else
11764 result=$wxUSE_ODCOMBOBOX
11765 fi
11766
11767 { echo "$as_me:$LINENO: result: $result" >&5
11768 echo "${ECHO_T}$result" >&6; }
11769
11770
11771 enablestring=
11772 defaultval=$wxUSE_ALL_FEATURES
11773 if test -z "$defaultval"; then
11774 if test x"$enablestring" = xdisable; then
11775 defaultval=yes
11776 else
11777 defaultval=no
11778 fi
11779 fi
11780
11781 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
11782 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
11783 # Check whether --enable-popupwin was given.
11784 if test "${enable_popupwin+set}" = set; then
11785 enableval=$enable_popupwin;
11786 if test "$enableval" = yes; then
11787 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
11788 else
11789 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
11790 fi
11791
11792 else
11793
11794 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
11795
11796 fi
11797
11798
11799 eval "$wx_cv_use_popupwin"
11800
11801 if test x"$enablestring" = xdisable; then
11802 if test $wxUSE_POPUPWIN = no; then
11803 result=yes
11804 else
11805 result=no
11806 fi
11807 else
11808 result=$wxUSE_POPUPWIN
11809 fi
11810
11811 { echo "$as_me:$LINENO: result: $result" >&5
11812 echo "${ECHO_T}$result" >&6; }
11813
11814
11815 enablestring=
11816 defaultval=$wxUSE_ALL_FEATURES
11817 if test -z "$defaultval"; then
11818 if test x"$enablestring" = xdisable; then
11819 defaultval=yes
11820 else
11821 defaultval=no
11822 fi
11823 fi
11824
11825 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
11826 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
11827 # Check whether --enable-radiobox was given.
11828 if test "${enable_radiobox+set}" = set; then
11829 enableval=$enable_radiobox;
11830 if test "$enableval" = yes; then
11831 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
11832 else
11833 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
11834 fi
11835
11836 else
11837
11838 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
11839
11840 fi
11841
11842
11843 eval "$wx_cv_use_radiobox"
11844
11845 if test x"$enablestring" = xdisable; then
11846 if test $wxUSE_RADIOBOX = no; then
11847 result=yes
11848 else
11849 result=no
11850 fi
11851 else
11852 result=$wxUSE_RADIOBOX
11853 fi
11854
11855 { echo "$as_me:$LINENO: result: $result" >&5
11856 echo "${ECHO_T}$result" >&6; }
11857
11858
11859 enablestring=
11860 defaultval=$wxUSE_ALL_FEATURES
11861 if test -z "$defaultval"; then
11862 if test x"$enablestring" = xdisable; then
11863 defaultval=yes
11864 else
11865 defaultval=no
11866 fi
11867 fi
11868
11869 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
11870 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
11871 # Check whether --enable-radiobtn was given.
11872 if test "${enable_radiobtn+set}" = set; then
11873 enableval=$enable_radiobtn;
11874 if test "$enableval" = yes; then
11875 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
11876 else
11877 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
11878 fi
11879
11880 else
11881
11882 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
11883
11884 fi
11885
11886
11887 eval "$wx_cv_use_radiobtn"
11888
11889 if test x"$enablestring" = xdisable; then
11890 if test $wxUSE_RADIOBTN = no; then
11891 result=yes
11892 else
11893 result=no
11894 fi
11895 else
11896 result=$wxUSE_RADIOBTN
11897 fi
11898
11899 { echo "$as_me:$LINENO: result: $result" >&5
11900 echo "${ECHO_T}$result" >&6; }
11901
11902
11903 enablestring=
11904 defaultval=$wxUSE_ALL_FEATURES
11905 if test -z "$defaultval"; then
11906 if test x"$enablestring" = xdisable; then
11907 defaultval=yes
11908 else
11909 defaultval=no
11910 fi
11911 fi
11912
11913 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richmsgdlg" >&5
11914 echo $ECHO_N "checking for --${enablestring:-enable}-richmsgdlg... $ECHO_C" >&6; }
11915 # Check whether --enable-richmsgdlg was given.
11916 if test "${enable_richmsgdlg+set}" = set; then
11917 enableval=$enable_richmsgdlg;
11918 if test "$enableval" = yes; then
11919 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=yes'
11920 else
11921 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=no'
11922 fi
11923
11924 else
11925
11926 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=${'DEFAULT_wxUSE_RICHMSGDLG":-$defaultval}"
11927
11928 fi
11929
11930
11931 eval "$wx_cv_use_richmsgdlg"
11932
11933 if test x"$enablestring" = xdisable; then
11934 if test $wxUSE_RICHMSGDLG = no; then
11935 result=yes
11936 else
11937 result=no
11938 fi
11939 else
11940 result=$wxUSE_RICHMSGDLG
11941 fi
11942
11943 { echo "$as_me:$LINENO: result: $result" >&5
11944 echo "${ECHO_T}$result" >&6; }
11945
11946
11947 enablestring=
11948 defaultval=$wxUSE_ALL_FEATURES
11949 if test -z "$defaultval"; then
11950 if test x"$enablestring" = xdisable; then
11951 defaultval=yes
11952 else
11953 defaultval=no
11954 fi
11955 fi
11956
11957 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtooltip" >&5
11958 echo $ECHO_N "checking for --${enablestring:-enable}-richtooltip... $ECHO_C" >&6; }
11959 # Check whether --enable-richtooltip was given.
11960 if test "${enable_richtooltip+set}" = set; then
11961 enableval=$enable_richtooltip;
11962 if test "$enableval" = yes; then
11963 wx_cv_use_richtooltip='wxUSE_RICHTOOLTIP=yes'
11964 else
11965 wx_cv_use_richtooltip='wxUSE_RICHTOOLTIP=no'
11966 fi
11967
11968 else
11969
11970 wx_cv_use_richtooltip='wxUSE_RICHTOOLTIP=${'DEFAULT_wxUSE_RICHTOOLTIP":-$defaultval}"
11971
11972 fi
11973
11974
11975 eval "$wx_cv_use_richtooltip"
11976
11977 if test x"$enablestring" = xdisable; then
11978 if test $wxUSE_RICHTOOLTIP = no; then
11979 result=yes
11980 else
11981 result=no
11982 fi
11983 else
11984 result=$wxUSE_RICHTOOLTIP
11985 fi
11986
11987 { echo "$as_me:$LINENO: result: $result" >&5
11988 echo "${ECHO_T}$result" >&6; }
11989
11990
11991 enablestring=
11992 defaultval=$wxUSE_ALL_FEATURES
11993 if test -z "$defaultval"; then
11994 if test x"$enablestring" = xdisable; then
11995 defaultval=yes
11996 else
11997 defaultval=no
11998 fi
11999 fi
12000
12001 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rearrangectrl" >&5
12002 echo $ECHO_N "checking for --${enablestring:-enable}-rearrangectrl... $ECHO_C" >&6; }
12003 # Check whether --enable-rearrangectrl was given.
12004 if test "${enable_rearrangectrl+set}" = set; then
12005 enableval=$enable_rearrangectrl;
12006 if test "$enableval" = yes; then
12007 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=yes'
12008 else
12009 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=no'
12010 fi
12011
12012 else
12013
12014 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=${'DEFAULT_wxUSE_REARRANGECTRL":-$defaultval}"
12015
12016 fi
12017
12018
12019 eval "$wx_cv_use_rearrangectrl"
12020
12021 if test x"$enablestring" = xdisable; then
12022 if test $wxUSE_REARRANGECTRL = no; then
12023 result=yes
12024 else
12025 result=no
12026 fi
12027 else
12028 result=$wxUSE_REARRANGECTRL
12029 fi
12030
12031 { echo "$as_me:$LINENO: result: $result" >&5
12032 echo "${ECHO_T}$result" >&6; }
12033
12034
12035 enablestring=
12036 defaultval=$wxUSE_ALL_FEATURES
12037 if test -z "$defaultval"; then
12038 if test x"$enablestring" = xdisable; then
12039 defaultval=yes
12040 else
12041 defaultval=no
12042 fi
12043 fi
12044
12045 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
12046 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
12047 # Check whether --enable-sash was given.
12048 if test "${enable_sash+set}" = set; then
12049 enableval=$enable_sash;
12050 if test "$enableval" = yes; then
12051 wx_cv_use_sash='wxUSE_SASH=yes'
12052 else
12053 wx_cv_use_sash='wxUSE_SASH=no'
12054 fi
12055
12056 else
12057
12058 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
12059
12060 fi
12061
12062
12063 eval "$wx_cv_use_sash"
12064
12065 if test x"$enablestring" = xdisable; then
12066 if test $wxUSE_SASH = no; then
12067 result=yes
12068 else
12069 result=no
12070 fi
12071 else
12072 result=$wxUSE_SASH
12073 fi
12074
12075 { echo "$as_me:$LINENO: result: $result" >&5
12076 echo "${ECHO_T}$result" >&6; }
12077
12078
12079 enablestring=
12080 defaultval=$wxUSE_ALL_FEATURES
12081 if test -z "$defaultval"; then
12082 if test x"$enablestring" = xdisable; then
12083 defaultval=yes
12084 else
12085 defaultval=no
12086 fi
12087 fi
12088
12089 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
12090 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
12091 # Check whether --enable-scrollbar was given.
12092 if test "${enable_scrollbar+set}" = set; then
12093 enableval=$enable_scrollbar;
12094 if test "$enableval" = yes; then
12095 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
12096 else
12097 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
12098 fi
12099
12100 else
12101
12102 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
12103
12104 fi
12105
12106
12107 eval "$wx_cv_use_scrollbar"
12108
12109 if test x"$enablestring" = xdisable; then
12110 if test $wxUSE_SCROLLBAR = no; then
12111 result=yes
12112 else
12113 result=no
12114 fi
12115 else
12116 result=$wxUSE_SCROLLBAR
12117 fi
12118
12119 { echo "$as_me:$LINENO: result: $result" >&5
12120 echo "${ECHO_T}$result" >&6; }
12121
12122
12123 enablestring=
12124 defaultval=$wxUSE_ALL_FEATURES
12125 if test -z "$defaultval"; then
12126 if test x"$enablestring" = xdisable; then
12127 defaultval=yes
12128 else
12129 defaultval=no
12130 fi
12131 fi
12132
12133 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
12134 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
12135 # Check whether --enable-searchctrl was given.
12136 if test "${enable_searchctrl+set}" = set; then
12137 enableval=$enable_searchctrl;
12138 if test "$enableval" = yes; then
12139 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
12140 else
12141 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
12142 fi
12143
12144 else
12145
12146 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
12147
12148 fi
12149
12150
12151 eval "$wx_cv_use_searchctrl"
12152
12153 if test x"$enablestring" = xdisable; then
12154 if test $wxUSE_SEARCHCTRL = no; then
12155 result=yes
12156 else
12157 result=no
12158 fi
12159 else
12160 result=$wxUSE_SEARCHCTRL
12161 fi
12162
12163 { echo "$as_me:$LINENO: result: $result" >&5
12164 echo "${ECHO_T}$result" >&6; }
12165
12166
12167 enablestring=
12168 defaultval=$wxUSE_ALL_FEATURES
12169 if test -z "$defaultval"; then
12170 if test x"$enablestring" = xdisable; then
12171 defaultval=yes
12172 else
12173 defaultval=no
12174 fi
12175 fi
12176
12177 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
12178 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
12179 # Check whether --enable-slider was given.
12180 if test "${enable_slider+set}" = set; then
12181 enableval=$enable_slider;
12182 if test "$enableval" = yes; then
12183 wx_cv_use_slider='wxUSE_SLIDER=yes'
12184 else
12185 wx_cv_use_slider='wxUSE_SLIDER=no'
12186 fi
12187
12188 else
12189
12190 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
12191
12192 fi
12193
12194
12195 eval "$wx_cv_use_slider"
12196
12197 if test x"$enablestring" = xdisable; then
12198 if test $wxUSE_SLIDER = no; then
12199 result=yes
12200 else
12201 result=no
12202 fi
12203 else
12204 result=$wxUSE_SLIDER
12205 fi
12206
12207 { echo "$as_me:$LINENO: result: $result" >&5
12208 echo "${ECHO_T}$result" >&6; }
12209
12210
12211 enablestring=
12212 defaultval=$wxUSE_ALL_FEATURES
12213 if test -z "$defaultval"; then
12214 if test x"$enablestring" = xdisable; then
12215 defaultval=yes
12216 else
12217 defaultval=no
12218 fi
12219 fi
12220
12221 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
12222 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
12223 # Check whether --enable-spinbtn was given.
12224 if test "${enable_spinbtn+set}" = set; then
12225 enableval=$enable_spinbtn;
12226 if test "$enableval" = yes; then
12227 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
12228 else
12229 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
12230 fi
12231
12232 else
12233
12234 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
12235
12236 fi
12237
12238
12239 eval "$wx_cv_use_spinbtn"
12240
12241 if test x"$enablestring" = xdisable; then
12242 if test $wxUSE_SPINBTN = no; then
12243 result=yes
12244 else
12245 result=no
12246 fi
12247 else
12248 result=$wxUSE_SPINBTN
12249 fi
12250
12251 { echo "$as_me:$LINENO: result: $result" >&5
12252 echo "${ECHO_T}$result" >&6; }
12253
12254
12255 enablestring=
12256 defaultval=$wxUSE_ALL_FEATURES
12257 if test -z "$defaultval"; then
12258 if test x"$enablestring" = xdisable; then
12259 defaultval=yes
12260 else
12261 defaultval=no
12262 fi
12263 fi
12264
12265 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
12266 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
12267 # Check whether --enable-spinctrl was given.
12268 if test "${enable_spinctrl+set}" = set; then
12269 enableval=$enable_spinctrl;
12270 if test "$enableval" = yes; then
12271 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
12272 else
12273 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
12274 fi
12275
12276 else
12277
12278 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
12279
12280 fi
12281
12282
12283 eval "$wx_cv_use_spinctrl"
12284
12285 if test x"$enablestring" = xdisable; then
12286 if test $wxUSE_SPINCTRL = no; then
12287 result=yes
12288 else
12289 result=no
12290 fi
12291 else
12292 result=$wxUSE_SPINCTRL
12293 fi
12294
12295 { echo "$as_me:$LINENO: result: $result" >&5
12296 echo "${ECHO_T}$result" >&6; }
12297
12298
12299 enablestring=
12300 defaultval=$wxUSE_ALL_FEATURES
12301 if test -z "$defaultval"; then
12302 if test x"$enablestring" = xdisable; then
12303 defaultval=yes
12304 else
12305 defaultval=no
12306 fi
12307 fi
12308
12309 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
12310 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
12311 # Check whether --enable-splitter was given.
12312 if test "${enable_splitter+set}" = set; then
12313 enableval=$enable_splitter;
12314 if test "$enableval" = yes; then
12315 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
12316 else
12317 wx_cv_use_splitter='wxUSE_SPLITTER=no'
12318 fi
12319
12320 else
12321
12322 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
12323
12324 fi
12325
12326
12327 eval "$wx_cv_use_splitter"
12328
12329 if test x"$enablestring" = xdisable; then
12330 if test $wxUSE_SPLITTER = no; then
12331 result=yes
12332 else
12333 result=no
12334 fi
12335 else
12336 result=$wxUSE_SPLITTER
12337 fi
12338
12339 { echo "$as_me:$LINENO: result: $result" >&5
12340 echo "${ECHO_T}$result" >&6; }
12341
12342
12343 enablestring=
12344 defaultval=$wxUSE_ALL_FEATURES
12345 if test -z "$defaultval"; then
12346 if test x"$enablestring" = xdisable; then
12347 defaultval=yes
12348 else
12349 defaultval=no
12350 fi
12351 fi
12352
12353 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
12354 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
12355 # Check whether --enable-statbmp was given.
12356 if test "${enable_statbmp+set}" = set; then
12357 enableval=$enable_statbmp;
12358 if test "$enableval" = yes; then
12359 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
12360 else
12361 wx_cv_use_statbmp='wxUSE_STATBMP=no'
12362 fi
12363
12364 else
12365
12366 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
12367
12368 fi
12369
12370
12371 eval "$wx_cv_use_statbmp"
12372
12373 if test x"$enablestring" = xdisable; then
12374 if test $wxUSE_STATBMP = no; then
12375 result=yes
12376 else
12377 result=no
12378 fi
12379 else
12380 result=$wxUSE_STATBMP
12381 fi
12382
12383 { echo "$as_me:$LINENO: result: $result" >&5
12384 echo "${ECHO_T}$result" >&6; }
12385
12386
12387 enablestring=
12388 defaultval=$wxUSE_ALL_FEATURES
12389 if test -z "$defaultval"; then
12390 if test x"$enablestring" = xdisable; then
12391 defaultval=yes
12392 else
12393 defaultval=no
12394 fi
12395 fi
12396
12397 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
12398 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
12399 # Check whether --enable-statbox was given.
12400 if test "${enable_statbox+set}" = set; then
12401 enableval=$enable_statbox;
12402 if test "$enableval" = yes; then
12403 wx_cv_use_statbox='wxUSE_STATBOX=yes'
12404 else
12405 wx_cv_use_statbox='wxUSE_STATBOX=no'
12406 fi
12407
12408 else
12409
12410 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
12411
12412 fi
12413
12414
12415 eval "$wx_cv_use_statbox"
12416
12417 if test x"$enablestring" = xdisable; then
12418 if test $wxUSE_STATBOX = no; then
12419 result=yes
12420 else
12421 result=no
12422 fi
12423 else
12424 result=$wxUSE_STATBOX
12425 fi
12426
12427 { echo "$as_me:$LINENO: result: $result" >&5
12428 echo "${ECHO_T}$result" >&6; }
12429
12430
12431 enablestring=
12432 defaultval=$wxUSE_ALL_FEATURES
12433 if test -z "$defaultval"; then
12434 if test x"$enablestring" = xdisable; then
12435 defaultval=yes
12436 else
12437 defaultval=no
12438 fi
12439 fi
12440
12441 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
12442 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
12443 # Check whether --enable-statline was given.
12444 if test "${enable_statline+set}" = set; then
12445 enableval=$enable_statline;
12446 if test "$enableval" = yes; then
12447 wx_cv_use_statline='wxUSE_STATLINE=yes'
12448 else
12449 wx_cv_use_statline='wxUSE_STATLINE=no'
12450 fi
12451
12452 else
12453
12454 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
12455
12456 fi
12457
12458
12459 eval "$wx_cv_use_statline"
12460
12461 if test x"$enablestring" = xdisable; then
12462 if test $wxUSE_STATLINE = no; then
12463 result=yes
12464 else
12465 result=no
12466 fi
12467 else
12468 result=$wxUSE_STATLINE
12469 fi
12470
12471 { echo "$as_me:$LINENO: result: $result" >&5
12472 echo "${ECHO_T}$result" >&6; }
12473
12474
12475 enablestring=
12476 defaultval=$wxUSE_ALL_FEATURES
12477 if test -z "$defaultval"; then
12478 if test x"$enablestring" = xdisable; then
12479 defaultval=yes
12480 else
12481 defaultval=no
12482 fi
12483 fi
12484
12485 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
12486 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
12487 # Check whether --enable-stattext was given.
12488 if test "${enable_stattext+set}" = set; then
12489 enableval=$enable_stattext;
12490 if test "$enableval" = yes; then
12491 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
12492 else
12493 wx_cv_use_stattext='wxUSE_STATTEXT=no'
12494 fi
12495
12496 else
12497
12498 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
12499
12500 fi
12501
12502
12503 eval "$wx_cv_use_stattext"
12504
12505 if test x"$enablestring" = xdisable; then
12506 if test $wxUSE_STATTEXT = no; then
12507 result=yes
12508 else
12509 result=no
12510 fi
12511 else
12512 result=$wxUSE_STATTEXT
12513 fi
12514
12515 { echo "$as_me:$LINENO: result: $result" >&5
12516 echo "${ECHO_T}$result" >&6; }
12517
12518
12519 enablestring=
12520 defaultval=$wxUSE_ALL_FEATURES
12521 if test -z "$defaultval"; then
12522 if test x"$enablestring" = xdisable; then
12523 defaultval=yes
12524 else
12525 defaultval=no
12526 fi
12527 fi
12528
12529 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
12530 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
12531 # Check whether --enable-statusbar was given.
12532 if test "${enable_statusbar+set}" = set; then
12533 enableval=$enable_statusbar;
12534 if test "$enableval" = yes; then
12535 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
12536 else
12537 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
12538 fi
12539
12540 else
12541
12542 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
12543
12544 fi
12545
12546
12547 eval "$wx_cv_use_statusbar"
12548
12549 if test x"$enablestring" = xdisable; then
12550 if test $wxUSE_STATUSBAR = no; then
12551 result=yes
12552 else
12553 result=no
12554 fi
12555 else
12556 result=$wxUSE_STATUSBAR
12557 fi
12558
12559 { echo "$as_me:$LINENO: result: $result" >&5
12560 echo "${ECHO_T}$result" >&6; }
12561
12562
12563 enablestring=
12564 defaultval=$wxUSE_ALL_FEATURES
12565 if test -z "$defaultval"; then
12566 if test x"$enablestring" = xdisable; then
12567 defaultval=yes
12568 else
12569 defaultval=no
12570 fi
12571 fi
12572
12573 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
12574 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
12575 # Check whether --enable-taskbaricon was given.
12576 if test "${enable_taskbaricon+set}" = set; then
12577 enableval=$enable_taskbaricon;
12578 if test "$enableval" = yes; then
12579 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
12580 else
12581 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
12582 fi
12583
12584 else
12585
12586 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
12587
12588 fi
12589
12590
12591 eval "$wx_cv_use_taskbaricon"
12592
12593 if test x"$enablestring" = xdisable; then
12594 if test $wxUSE_TASKBARICON = no; then
12595 result=yes
12596 else
12597 result=no
12598 fi
12599 else
12600 result=$wxUSE_TASKBARICON
12601 fi
12602
12603 { echo "$as_me:$LINENO: result: $result" >&5
12604 echo "${ECHO_T}$result" >&6; }
12605
12606
12607 enablestring=
12608 defaultval=$wxUSE_ALL_FEATURES
12609 if test -z "$defaultval"; then
12610 if test x"$enablestring" = xdisable; then
12611 defaultval=yes
12612 else
12613 defaultval=no
12614 fi
12615 fi
12616
12617 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
12618 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
12619 # Check whether --enable-tbarnative was given.
12620 if test "${enable_tbarnative+set}" = set; then
12621 enableval=$enable_tbarnative;
12622 if test "$enableval" = yes; then
12623 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
12624 else
12625 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
12626 fi
12627
12628 else
12629
12630 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
12631
12632 fi
12633
12634
12635 eval "$wx_cv_use_tbarnative"
12636
12637 if test x"$enablestring" = xdisable; then
12638 if test $wxUSE_TOOLBAR_NATIVE = no; then
12639 result=yes
12640 else
12641 result=no
12642 fi
12643 else
12644 result=$wxUSE_TOOLBAR_NATIVE
12645 fi
12646
12647 { echo "$as_me:$LINENO: result: $result" >&5
12648 echo "${ECHO_T}$result" >&6; }
12649
12650
12651 enablestring=
12652 defaultval=$wxUSE_ALL_FEATURES
12653 if test -z "$defaultval"; then
12654 if test x"$enablestring" = xdisable; then
12655 defaultval=yes
12656 else
12657 defaultval=no
12658 fi
12659 fi
12660
12661 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
12662 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
12663 # Check whether --enable-textctrl was given.
12664 if test "${enable_textctrl+set}" = set; then
12665 enableval=$enable_textctrl;
12666 if test "$enableval" = yes; then
12667 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
12668 else
12669 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
12670 fi
12671
12672 else
12673
12674 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
12675
12676 fi
12677
12678
12679 eval "$wx_cv_use_textctrl"
12680
12681 if test x"$enablestring" = xdisable; then
12682 if test $wxUSE_TEXTCTRL = no; then
12683 result=yes
12684 else
12685 result=no
12686 fi
12687 else
12688 result=$wxUSE_TEXTCTRL
12689 fi
12690
12691 { echo "$as_me:$LINENO: result: $result" >&5
12692 echo "${ECHO_T}$result" >&6; }
12693
12694
12695 enablestring=
12696 defaultval=$wxUSE_ALL_FEATURES
12697 if test -z "$defaultval"; then
12698 if test x"$enablestring" = xdisable; then
12699 defaultval=yes
12700 else
12701 defaultval=no
12702 fi
12703 fi
12704
12705 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
12706 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
12707 # Check whether --enable-datepick was given.
12708 if test "${enable_datepick+set}" = set; then
12709 enableval=$enable_datepick;
12710 if test "$enableval" = yes; then
12711 wx_cv_use_datepick='wxUSE_TIMEPICKCTRL=yes'
12712 else
12713 wx_cv_use_datepick='wxUSE_TIMEPICKCTRL=no'
12714 fi
12715
12716 else
12717
12718 wx_cv_use_datepick='wxUSE_TIMEPICKCTRL=${'DEFAULT_wxUSE_TIMEPICKCTRL":-$defaultval}"
12719
12720 fi
12721
12722
12723 eval "$wx_cv_use_datepick"
12724
12725 if test x"$enablestring" = xdisable; then
12726 if test $wxUSE_TIMEPICKCTRL = no; then
12727 result=yes
12728 else
12729 result=no
12730 fi
12731 else
12732 result=$wxUSE_TIMEPICKCTRL
12733 fi
12734
12735 { echo "$as_me:$LINENO: result: $result" >&5
12736 echo "${ECHO_T}$result" >&6; }
12737
12738
12739 enablestring=
12740 defaultval=$wxUSE_ALL_FEATURES
12741 if test -z "$defaultval"; then
12742 if test x"$enablestring" = xdisable; then
12743 defaultval=yes
12744 else
12745 defaultval=no
12746 fi
12747 fi
12748
12749 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
12750 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
12751 # Check whether --enable-tipwindow was given.
12752 if test "${enable_tipwindow+set}" = set; then
12753 enableval=$enable_tipwindow;
12754 if test "$enableval" = yes; then
12755 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
12756 else
12757 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
12758 fi
12759
12760 else
12761
12762 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
12763
12764 fi
12765
12766
12767 eval "$wx_cv_use_tipwindow"
12768
12769 if test x"$enablestring" = xdisable; then
12770 if test $wxUSE_TIPWINDOW = no; then
12771 result=yes
12772 else
12773 result=no
12774 fi
12775 else
12776 result=$wxUSE_TIPWINDOW
12777 fi
12778
12779 { echo "$as_me:$LINENO: result: $result" >&5
12780 echo "${ECHO_T}$result" >&6; }
12781
12782
12783 enablestring=
12784 defaultval=$wxUSE_ALL_FEATURES
12785 if test -z "$defaultval"; then
12786 if test x"$enablestring" = xdisable; then
12787 defaultval=yes
12788 else
12789 defaultval=no
12790 fi
12791 fi
12792
12793 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
12794 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
12795 # Check whether --enable-togglebtn was given.
12796 if test "${enable_togglebtn+set}" = set; then
12797 enableval=$enable_togglebtn;
12798 if test "$enableval" = yes; then
12799 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
12800 else
12801 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
12802 fi
12803
12804 else
12805
12806 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
12807
12808 fi
12809
12810
12811 eval "$wx_cv_use_togglebtn"
12812
12813 if test x"$enablestring" = xdisable; then
12814 if test $wxUSE_TOGGLEBTN = no; then
12815 result=yes
12816 else
12817 result=no
12818 fi
12819 else
12820 result=$wxUSE_TOGGLEBTN
12821 fi
12822
12823 { echo "$as_me:$LINENO: result: $result" >&5
12824 echo "${ECHO_T}$result" >&6; }
12825
12826
12827 enablestring=
12828 defaultval=$wxUSE_ALL_FEATURES
12829 if test -z "$defaultval"; then
12830 if test x"$enablestring" = xdisable; then
12831 defaultval=yes
12832 else
12833 defaultval=no
12834 fi
12835 fi
12836
12837 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
12838 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
12839 # Check whether --enable-toolbar was given.
12840 if test "${enable_toolbar+set}" = set; then
12841 enableval=$enable_toolbar;
12842 if test "$enableval" = yes; then
12843 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
12844 else
12845 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
12846 fi
12847
12848 else
12849
12850 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
12851
12852 fi
12853
12854
12855 eval "$wx_cv_use_toolbar"
12856
12857 if test x"$enablestring" = xdisable; then
12858 if test $wxUSE_TOOLBAR = no; then
12859 result=yes
12860 else
12861 result=no
12862 fi
12863 else
12864 result=$wxUSE_TOOLBAR
12865 fi
12866
12867 { echo "$as_me:$LINENO: result: $result" >&5
12868 echo "${ECHO_T}$result" >&6; }
12869
12870
12871 enablestring=
12872 defaultval=$wxUSE_ALL_FEATURES
12873 if test -z "$defaultval"; then
12874 if test x"$enablestring" = xdisable; then
12875 defaultval=yes
12876 else
12877 defaultval=no
12878 fi
12879 fi
12880
12881 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
12882 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
12883 # Check whether --enable-toolbook was given.
12884 if test "${enable_toolbook+set}" = set; then
12885 enableval=$enable_toolbook;
12886 if test "$enableval" = yes; then
12887 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
12888 else
12889 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
12890 fi
12891
12892 else
12893
12894 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
12895
12896 fi
12897
12898
12899 eval "$wx_cv_use_toolbook"
12900
12901 if test x"$enablestring" = xdisable; then
12902 if test $wxUSE_TOOLBOOK = no; then
12903 result=yes
12904 else
12905 result=no
12906 fi
12907 else
12908 result=$wxUSE_TOOLBOOK
12909 fi
12910
12911 { echo "$as_me:$LINENO: result: $result" >&5
12912 echo "${ECHO_T}$result" >&6; }
12913
12914
12915 enablestring=
12916 defaultval=$wxUSE_ALL_FEATURES
12917 if test -z "$defaultval"; then
12918 if test x"$enablestring" = xdisable; then
12919 defaultval=yes
12920 else
12921 defaultval=no
12922 fi
12923 fi
12924
12925 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
12926 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
12927 # Check whether --enable-treebook was given.
12928 if test "${enable_treebook+set}" = set; then
12929 enableval=$enable_treebook;
12930 if test "$enableval" = yes; then
12931 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
12932 else
12933 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
12934 fi
12935
12936 else
12937
12938 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
12939
12940 fi
12941
12942
12943 eval "$wx_cv_use_treebook"
12944
12945 if test x"$enablestring" = xdisable; then
12946 if test $wxUSE_TREEBOOK = no; then
12947 result=yes
12948 else
12949 result=no
12950 fi
12951 else
12952 result=$wxUSE_TREEBOOK
12953 fi
12954
12955 { echo "$as_me:$LINENO: result: $result" >&5
12956 echo "${ECHO_T}$result" >&6; }
12957
12958
12959 enablestring=
12960 defaultval=$wxUSE_ALL_FEATURES
12961 if test -z "$defaultval"; then
12962 if test x"$enablestring" = xdisable; then
12963 defaultval=yes
12964 else
12965 defaultval=no
12966 fi
12967 fi
12968
12969 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
12970 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
12971 # Check whether --enable-treectrl was given.
12972 if test "${enable_treectrl+set}" = set; then
12973 enableval=$enable_treectrl;
12974 if test "$enableval" = yes; then
12975 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
12976 else
12977 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
12978 fi
12979
12980 else
12981
12982 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
12983
12984 fi
12985
12986
12987 eval "$wx_cv_use_treectrl"
12988
12989 if test x"$enablestring" = xdisable; then
12990 if test $wxUSE_TREECTRL = no; then
12991 result=yes
12992 else
12993 result=no
12994 fi
12995 else
12996 result=$wxUSE_TREECTRL
12997 fi
12998
12999 { echo "$as_me:$LINENO: result: $result" >&5
13000 echo "${ECHO_T}$result" >&6; }
13001
13002
13003 enablestring=
13004 defaultval=$wxUSE_ALL_FEATURES
13005 if test -z "$defaultval"; then
13006 if test x"$enablestring" = xdisable; then
13007 defaultval=yes
13008 else
13009 defaultval=no
13010 fi
13011 fi
13012
13013 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treelist" >&5
13014 echo $ECHO_N "checking for --${enablestring:-enable}-treelist... $ECHO_C" >&6; }
13015 # Check whether --enable-treelist was given.
13016 if test "${enable_treelist+set}" = set; then
13017 enableval=$enable_treelist;
13018 if test "$enableval" = yes; then
13019 wx_cv_use_treelist='wxUSE_TREELISTCTRL=yes'
13020 else
13021 wx_cv_use_treelist='wxUSE_TREELISTCTRL=no'
13022 fi
13023
13024 else
13025
13026 wx_cv_use_treelist='wxUSE_TREELISTCTRL=${'DEFAULT_wxUSE_TREELISTCTRL":-$defaultval}"
13027
13028 fi
13029
13030
13031 eval "$wx_cv_use_treelist"
13032
13033 if test x"$enablestring" = xdisable; then
13034 if test $wxUSE_TREELISTCTRL = no; then
13035 result=yes
13036 else
13037 result=no
13038 fi
13039 else
13040 result=$wxUSE_TREELISTCTRL
13041 fi
13042
13043 { echo "$as_me:$LINENO: result: $result" >&5
13044 echo "${ECHO_T}$result" >&6; }
13045
13046
13047
13048
13049 enablestring=
13050 defaultval=$wxUSE_ALL_FEATURES
13051 if test -z "$defaultval"; then
13052 if test x"$enablestring" = xdisable; then
13053 defaultval=yes
13054 else
13055 defaultval=no
13056 fi
13057 fi
13058
13059 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
13060 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
13061 # Check whether --enable-commondlg was given.
13062 if test "${enable_commondlg+set}" = set; then
13063 enableval=$enable_commondlg;
13064 if test "$enableval" = yes; then
13065 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
13066 else
13067 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
13068 fi
13069
13070 else
13071
13072 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
13073
13074 fi
13075
13076
13077 eval "$wx_cv_use_commondlg"
13078
13079 if test x"$enablestring" = xdisable; then
13080 if test $wxUSE_COMMONDLGS = no; then
13081 result=yes
13082 else
13083 result=no
13084 fi
13085 else
13086 result=$wxUSE_COMMONDLGS
13087 fi
13088
13089 { echo "$as_me:$LINENO: result: $result" >&5
13090 echo "${ECHO_T}$result" >&6; }
13091
13092
13093 enablestring=
13094 defaultval=$wxUSE_ALL_FEATURES
13095 if test -z "$defaultval"; then
13096 if test x"$enablestring" = xdisable; then
13097 defaultval=yes
13098 else
13099 defaultval=no
13100 fi
13101 fi
13102
13103 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
13104 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
13105 # Check whether --enable-aboutdlg was given.
13106 if test "${enable_aboutdlg+set}" = set; then
13107 enableval=$enable_aboutdlg;
13108 if test "$enableval" = yes; then
13109 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
13110 else
13111 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
13112 fi
13113
13114 else
13115
13116 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
13117
13118 fi
13119
13120
13121 eval "$wx_cv_use_aboutdlg"
13122
13123 if test x"$enablestring" = xdisable; then
13124 if test $wxUSE_ABOUTDLG = no; then
13125 result=yes
13126 else
13127 result=no
13128 fi
13129 else
13130 result=$wxUSE_ABOUTDLG
13131 fi
13132
13133 { echo "$as_me:$LINENO: result: $result" >&5
13134 echo "${ECHO_T}$result" >&6; }
13135
13136
13137 enablestring=
13138 defaultval=$wxUSE_ALL_FEATURES
13139 if test -z "$defaultval"; then
13140 if test x"$enablestring" = xdisable; then
13141 defaultval=yes
13142 else
13143 defaultval=no
13144 fi
13145 fi
13146
13147 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
13148 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
13149 # Check whether --enable-choicedlg was given.
13150 if test "${enable_choicedlg+set}" = set; then
13151 enableval=$enable_choicedlg;
13152 if test "$enableval" = yes; then
13153 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
13154 else
13155 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
13156 fi
13157
13158 else
13159
13160 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
13161
13162 fi
13163
13164
13165 eval "$wx_cv_use_choicedlg"
13166
13167 if test x"$enablestring" = xdisable; then
13168 if test $wxUSE_CHOICEDLG = no; then
13169 result=yes
13170 else
13171 result=no
13172 fi
13173 else
13174 result=$wxUSE_CHOICEDLG
13175 fi
13176
13177 { echo "$as_me:$LINENO: result: $result" >&5
13178 echo "${ECHO_T}$result" >&6; }
13179
13180
13181 enablestring=
13182 defaultval=$wxUSE_ALL_FEATURES
13183 if test -z "$defaultval"; then
13184 if test x"$enablestring" = xdisable; then
13185 defaultval=yes
13186 else
13187 defaultval=no
13188 fi
13189 fi
13190
13191 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
13192 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
13193 # Check whether --enable-coldlg was given.
13194 if test "${enable_coldlg+set}" = set; then
13195 enableval=$enable_coldlg;
13196 if test "$enableval" = yes; then
13197 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
13198 else
13199 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
13200 fi
13201
13202 else
13203
13204 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
13205
13206 fi
13207
13208
13209 eval "$wx_cv_use_coldlg"
13210
13211 if test x"$enablestring" = xdisable; then
13212 if test $wxUSE_COLOURDLG = no; then
13213 result=yes
13214 else
13215 result=no
13216 fi
13217 else
13218 result=$wxUSE_COLOURDLG
13219 fi
13220
13221 { echo "$as_me:$LINENO: result: $result" >&5
13222 echo "${ECHO_T}$result" >&6; }
13223
13224
13225 enablestring=
13226 defaultval=$wxUSE_ALL_FEATURES
13227 if test -z "$defaultval"; then
13228 if test x"$enablestring" = xdisable; then
13229 defaultval=yes
13230 else
13231 defaultval=no
13232 fi
13233 fi
13234
13235 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
13236 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
13237 # Check whether --enable-filedlg was given.
13238 if test "${enable_filedlg+set}" = set; then
13239 enableval=$enable_filedlg;
13240 if test "$enableval" = yes; then
13241 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
13242 else
13243 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
13244 fi
13245
13246 else
13247
13248 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
13249
13250 fi
13251
13252
13253 eval "$wx_cv_use_filedlg"
13254
13255 if test x"$enablestring" = xdisable; then
13256 if test $wxUSE_FILEDLG = no; then
13257 result=yes
13258 else
13259 result=no
13260 fi
13261 else
13262 result=$wxUSE_FILEDLG
13263 fi
13264
13265 { echo "$as_me:$LINENO: result: $result" >&5
13266 echo "${ECHO_T}$result" >&6; }
13267
13268
13269 enablestring=
13270 defaultval=$wxUSE_ALL_FEATURES
13271 if test -z "$defaultval"; then
13272 if test x"$enablestring" = xdisable; then
13273 defaultval=yes
13274 else
13275 defaultval=no
13276 fi
13277 fi
13278
13279 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
13280 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
13281 # Check whether --enable-finddlg was given.
13282 if test "${enable_finddlg+set}" = set; then
13283 enableval=$enable_finddlg;
13284 if test "$enableval" = yes; then
13285 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
13286 else
13287 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
13288 fi
13289
13290 else
13291
13292 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
13293
13294 fi
13295
13296
13297 eval "$wx_cv_use_finddlg"
13298
13299 if test x"$enablestring" = xdisable; then
13300 if test $wxUSE_FINDREPLDLG = no; then
13301 result=yes
13302 else
13303 result=no
13304 fi
13305 else
13306 result=$wxUSE_FINDREPLDLG
13307 fi
13308
13309 { echo "$as_me:$LINENO: result: $result" >&5
13310 echo "${ECHO_T}$result" >&6; }
13311
13312
13313 enablestring=
13314 defaultval=$wxUSE_ALL_FEATURES
13315 if test -z "$defaultval"; then
13316 if test x"$enablestring" = xdisable; then
13317 defaultval=yes
13318 else
13319 defaultval=no
13320 fi
13321 fi
13322
13323 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
13324 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
13325 # Check whether --enable-fontdlg was given.
13326 if test "${enable_fontdlg+set}" = set; then
13327 enableval=$enable_fontdlg;
13328 if test "$enableval" = yes; then
13329 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
13330 else
13331 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
13332 fi
13333
13334 else
13335
13336 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
13337
13338 fi
13339
13340
13341 eval "$wx_cv_use_fontdlg"
13342
13343 if test x"$enablestring" = xdisable; then
13344 if test $wxUSE_FONTDLG = no; then
13345 result=yes
13346 else
13347 result=no
13348 fi
13349 else
13350 result=$wxUSE_FONTDLG
13351 fi
13352
13353 { echo "$as_me:$LINENO: result: $result" >&5
13354 echo "${ECHO_T}$result" >&6; }
13355
13356
13357 enablestring=
13358 defaultval=$wxUSE_ALL_FEATURES
13359 if test -z "$defaultval"; then
13360 if test x"$enablestring" = xdisable; then
13361 defaultval=yes
13362 else
13363 defaultval=no
13364 fi
13365 fi
13366
13367 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
13368 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
13369 # Check whether --enable-dirdlg was given.
13370 if test "${enable_dirdlg+set}" = set; then
13371 enableval=$enable_dirdlg;
13372 if test "$enableval" = yes; then
13373 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
13374 else
13375 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
13376 fi
13377
13378 else
13379
13380 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
13381
13382 fi
13383
13384
13385 eval "$wx_cv_use_dirdlg"
13386
13387 if test x"$enablestring" = xdisable; then
13388 if test $wxUSE_DIRDLG = no; then
13389 result=yes
13390 else
13391 result=no
13392 fi
13393 else
13394 result=$wxUSE_DIRDLG
13395 fi
13396
13397 { echo "$as_me:$LINENO: result: $result" >&5
13398 echo "${ECHO_T}$result" >&6; }
13399
13400
13401 enablestring=
13402 defaultval=$wxUSE_ALL_FEATURES
13403 if test -z "$defaultval"; then
13404 if test x"$enablestring" = xdisable; then
13405 defaultval=yes
13406 else
13407 defaultval=no
13408 fi
13409 fi
13410
13411 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
13412 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
13413 # Check whether --enable-msgdlg was given.
13414 if test "${enable_msgdlg+set}" = set; then
13415 enableval=$enable_msgdlg;
13416 if test "$enableval" = yes; then
13417 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
13418 else
13419 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
13420 fi
13421
13422 else
13423
13424 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
13425
13426 fi
13427
13428
13429 eval "$wx_cv_use_msgdlg"
13430
13431 if test x"$enablestring" = xdisable; then
13432 if test $wxUSE_MSGDLG = no; then
13433 result=yes
13434 else
13435 result=no
13436 fi
13437 else
13438 result=$wxUSE_MSGDLG
13439 fi
13440
13441 { echo "$as_me:$LINENO: result: $result" >&5
13442 echo "${ECHO_T}$result" >&6; }
13443
13444
13445 enablestring=
13446 defaultval=$wxUSE_ALL_FEATURES
13447 if test -z "$defaultval"; then
13448 if test x"$enablestring" = xdisable; then
13449 defaultval=yes
13450 else
13451 defaultval=no
13452 fi
13453 fi
13454
13455 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
13456 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
13457 # Check whether --enable-numberdlg was given.
13458 if test "${enable_numberdlg+set}" = set; then
13459 enableval=$enable_numberdlg;
13460 if test "$enableval" = yes; then
13461 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
13462 else
13463 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
13464 fi
13465
13466 else
13467
13468 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
13469
13470 fi
13471
13472
13473 eval "$wx_cv_use_numberdlg"
13474
13475 if test x"$enablestring" = xdisable; then
13476 if test $wxUSE_NUMBERDLG = no; then
13477 result=yes
13478 else
13479 result=no
13480 fi
13481 else
13482 result=$wxUSE_NUMBERDLG
13483 fi
13484
13485 { echo "$as_me:$LINENO: result: $result" >&5
13486 echo "${ECHO_T}$result" >&6; }
13487
13488
13489 enablestring=
13490 defaultval=$wxUSE_ALL_FEATURES
13491 if test -z "$defaultval"; then
13492 if test x"$enablestring" = xdisable; then
13493 defaultval=yes
13494 else
13495 defaultval=no
13496 fi
13497 fi
13498
13499 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
13500 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
13501 # Check whether --enable-splash was given.
13502 if test "${enable_splash+set}" = set; then
13503 enableval=$enable_splash;
13504 if test "$enableval" = yes; then
13505 wx_cv_use_splash='wxUSE_SPLASH=yes'
13506 else
13507 wx_cv_use_splash='wxUSE_SPLASH=no'
13508 fi
13509
13510 else
13511
13512 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
13513
13514 fi
13515
13516
13517 eval "$wx_cv_use_splash"
13518
13519 if test x"$enablestring" = xdisable; then
13520 if test $wxUSE_SPLASH = no; then
13521 result=yes
13522 else
13523 result=no
13524 fi
13525 else
13526 result=$wxUSE_SPLASH
13527 fi
13528
13529 { echo "$as_me:$LINENO: result: $result" >&5
13530 echo "${ECHO_T}$result" >&6; }
13531
13532
13533 enablestring=
13534 defaultval=$wxUSE_ALL_FEATURES
13535 if test -z "$defaultval"; then
13536 if test x"$enablestring" = xdisable; then
13537 defaultval=yes
13538 else
13539 defaultval=no
13540 fi
13541 fi
13542
13543 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
13544 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
13545 # Check whether --enable-textdlg was given.
13546 if test "${enable_textdlg+set}" = set; then
13547 enableval=$enable_textdlg;
13548 if test "$enableval" = yes; then
13549 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
13550 else
13551 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
13552 fi
13553
13554 else
13555
13556 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
13557
13558 fi
13559
13560
13561 eval "$wx_cv_use_textdlg"
13562
13563 if test x"$enablestring" = xdisable; then
13564 if test $wxUSE_TEXTDLG = no; then
13565 result=yes
13566 else
13567 result=no
13568 fi
13569 else
13570 result=$wxUSE_TEXTDLG
13571 fi
13572
13573 { echo "$as_me:$LINENO: result: $result" >&5
13574 echo "${ECHO_T}$result" >&6; }
13575
13576
13577 enablestring=
13578 defaultval=$wxUSE_ALL_FEATURES
13579 if test -z "$defaultval"; then
13580 if test x"$enablestring" = xdisable; then
13581 defaultval=yes
13582 else
13583 defaultval=no
13584 fi
13585 fi
13586
13587 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
13588 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
13589 # Check whether --enable-tipdlg was given.
13590 if test "${enable_tipdlg+set}" = set; then
13591 enableval=$enable_tipdlg;
13592 if test "$enableval" = yes; then
13593 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
13594 else
13595 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
13596 fi
13597
13598 else
13599
13600 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
13601
13602 fi
13603
13604
13605 eval "$wx_cv_use_tipdlg"
13606
13607 if test x"$enablestring" = xdisable; then
13608 if test $wxUSE_STARTUP_TIPS = no; then
13609 result=yes
13610 else
13611 result=no
13612 fi
13613 else
13614 result=$wxUSE_STARTUP_TIPS
13615 fi
13616
13617 { echo "$as_me:$LINENO: result: $result" >&5
13618 echo "${ECHO_T}$result" >&6; }
13619
13620
13621 enablestring=
13622 defaultval=$wxUSE_ALL_FEATURES
13623 if test -z "$defaultval"; then
13624 if test x"$enablestring" = xdisable; then
13625 defaultval=yes
13626 else
13627 defaultval=no
13628 fi
13629 fi
13630
13631 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
13632 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
13633 # Check whether --enable-progressdlg was given.
13634 if test "${enable_progressdlg+set}" = set; then
13635 enableval=$enable_progressdlg;
13636 if test "$enableval" = yes; then
13637 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
13638 else
13639 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
13640 fi
13641
13642 else
13643
13644 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
13645
13646 fi
13647
13648
13649 eval "$wx_cv_use_progressdlg"
13650
13651 if test x"$enablestring" = xdisable; then
13652 if test $wxUSE_PROGRESSDLG = no; then
13653 result=yes
13654 else
13655 result=no
13656 fi
13657 else
13658 result=$wxUSE_PROGRESSDLG
13659 fi
13660
13661 { echo "$as_me:$LINENO: result: $result" >&5
13662 echo "${ECHO_T}$result" >&6; }
13663
13664
13665 enablestring=
13666 defaultval=$wxUSE_ALL_FEATURES
13667 if test -z "$defaultval"; then
13668 if test x"$enablestring" = xdisable; then
13669 defaultval=yes
13670 else
13671 defaultval=no
13672 fi
13673 fi
13674
13675 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
13676 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
13677 # Check whether --enable-wizarddlg was given.
13678 if test "${enable_wizarddlg+set}" = set; then
13679 enableval=$enable_wizarddlg;
13680 if test "$enableval" = yes; then
13681 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
13682 else
13683 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
13684 fi
13685
13686 else
13687
13688 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
13689
13690 fi
13691
13692
13693 eval "$wx_cv_use_wizarddlg"
13694
13695 if test x"$enablestring" = xdisable; then
13696 if test $wxUSE_WIZARDDLG = no; then
13697 result=yes
13698 else
13699 result=no
13700 fi
13701 else
13702 result=$wxUSE_WIZARDDLG
13703 fi
13704
13705 { echo "$as_me:$LINENO: result: $result" >&5
13706 echo "${ECHO_T}$result" >&6; }
13707
13708
13709
13710
13711 enablestring=
13712 defaultval=$wxUSE_ALL_FEATURES
13713 if test -z "$defaultval"; then
13714 if test x"$enablestring" = xdisable; then
13715 defaultval=yes
13716 else
13717 defaultval=no
13718 fi
13719 fi
13720
13721 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
13722 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
13723 # Check whether --enable-menus was given.
13724 if test "${enable_menus+set}" = set; then
13725 enableval=$enable_menus;
13726 if test "$enableval" = yes; then
13727 wx_cv_use_menus='wxUSE_MENUS=yes'
13728 else
13729 wx_cv_use_menus='wxUSE_MENUS=no'
13730 fi
13731
13732 else
13733
13734 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
13735
13736 fi
13737
13738
13739 eval "$wx_cv_use_menus"
13740
13741 if test x"$enablestring" = xdisable; then
13742 if test $wxUSE_MENUS = no; then
13743 result=yes
13744 else
13745 result=no
13746 fi
13747 else
13748 result=$wxUSE_MENUS
13749 fi
13750
13751 { echo "$as_me:$LINENO: result: $result" >&5
13752 echo "${ECHO_T}$result" >&6; }
13753
13754
13755 enablestring=
13756 defaultval=$wxUSE_ALL_FEATURES
13757 if test -z "$defaultval"; then
13758 if test x"$enablestring" = xdisable; then
13759 defaultval=yes
13760 else
13761 defaultval=no
13762 fi
13763 fi
13764
13765 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
13766 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
13767 # Check whether --enable-miniframe was given.
13768 if test "${enable_miniframe+set}" = set; then
13769 enableval=$enable_miniframe;
13770 if test "$enableval" = yes; then
13771 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
13772 else
13773 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
13774 fi
13775
13776 else
13777
13778 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
13779
13780 fi
13781
13782
13783 eval "$wx_cv_use_miniframe"
13784
13785 if test x"$enablestring" = xdisable; then
13786 if test $wxUSE_MINIFRAME = no; then
13787 result=yes
13788 else
13789 result=no
13790 fi
13791 else
13792 result=$wxUSE_MINIFRAME
13793 fi
13794
13795 { echo "$as_me:$LINENO: result: $result" >&5
13796 echo "${ECHO_T}$result" >&6; }
13797
13798
13799 enablestring=
13800 defaultval=$wxUSE_ALL_FEATURES
13801 if test -z "$defaultval"; then
13802 if test x"$enablestring" = xdisable; then
13803 defaultval=yes
13804 else
13805 defaultval=no
13806 fi
13807 fi
13808
13809 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
13810 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
13811 # Check whether --enable-tooltips was given.
13812 if test "${enable_tooltips+set}" = set; then
13813 enableval=$enable_tooltips;
13814 if test "$enableval" = yes; then
13815 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
13816 else
13817 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
13818 fi
13819
13820 else
13821
13822 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
13823
13824 fi
13825
13826
13827 eval "$wx_cv_use_tooltips"
13828
13829 if test x"$enablestring" = xdisable; then
13830 if test $wxUSE_TOOLTIPS = no; then
13831 result=yes
13832 else
13833 result=no
13834 fi
13835 else
13836 result=$wxUSE_TOOLTIPS
13837 fi
13838
13839 { echo "$as_me:$LINENO: result: $result" >&5
13840 echo "${ECHO_T}$result" >&6; }
13841
13842
13843 enablestring=
13844 defaultval=$wxUSE_ALL_FEATURES
13845 if test -z "$defaultval"; then
13846 if test x"$enablestring" = xdisable; then
13847 defaultval=yes
13848 else
13849 defaultval=no
13850 fi
13851 fi
13852
13853 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
13854 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
13855 # Check whether --enable-splines was given.
13856 if test "${enable_splines+set}" = set; then
13857 enableval=$enable_splines;
13858 if test "$enableval" = yes; then
13859 wx_cv_use_splines='wxUSE_SPLINES=yes'
13860 else
13861 wx_cv_use_splines='wxUSE_SPLINES=no'
13862 fi
13863
13864 else
13865
13866 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
13867
13868 fi
13869
13870
13871 eval "$wx_cv_use_splines"
13872
13873 if test x"$enablestring" = xdisable; then
13874 if test $wxUSE_SPLINES = no; then
13875 result=yes
13876 else
13877 result=no
13878 fi
13879 else
13880 result=$wxUSE_SPLINES
13881 fi
13882
13883 { echo "$as_me:$LINENO: result: $result" >&5
13884 echo "${ECHO_T}$result" >&6; }
13885
13886
13887 enablestring=
13888 defaultval=$wxUSE_ALL_FEATURES
13889 if test -z "$defaultval"; then
13890 if test x"$enablestring" = xdisable; then
13891 defaultval=yes
13892 else
13893 defaultval=no
13894 fi
13895 fi
13896
13897 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
13898 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
13899 # Check whether --enable-mousewheel was given.
13900 if test "${enable_mousewheel+set}" = set; then
13901 enableval=$enable_mousewheel;
13902 if test "$enableval" = yes; then
13903 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
13904 else
13905 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
13906 fi
13907
13908 else
13909
13910 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
13911
13912 fi
13913
13914
13915 eval "$wx_cv_use_mousewheel"
13916
13917 if test x"$enablestring" = xdisable; then
13918 if test $wxUSE_MOUSEWHEEL = no; then
13919 result=yes
13920 else
13921 result=no
13922 fi
13923 else
13924 result=$wxUSE_MOUSEWHEEL
13925 fi
13926
13927 { echo "$as_me:$LINENO: result: $result" >&5
13928 echo "${ECHO_T}$result" >&6; }
13929
13930
13931 enablestring=
13932 defaultval=$wxUSE_ALL_FEATURES
13933 if test -z "$defaultval"; then
13934 if test x"$enablestring" = xdisable; then
13935 defaultval=yes
13936 else
13937 defaultval=no
13938 fi
13939 fi
13940
13941 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
13942 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
13943 # Check whether --enable-validators was given.
13944 if test "${enable_validators+set}" = set; then
13945 enableval=$enable_validators;
13946 if test "$enableval" = yes; then
13947 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
13948 else
13949 wx_cv_use_validators='wxUSE_VALIDATORS=no'
13950 fi
13951
13952 else
13953
13954 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
13955
13956 fi
13957
13958
13959 eval "$wx_cv_use_validators"
13960
13961 if test x"$enablestring" = xdisable; then
13962 if test $wxUSE_VALIDATORS = no; then
13963 result=yes
13964 else
13965 result=no
13966 fi
13967 else
13968 result=$wxUSE_VALIDATORS
13969 fi
13970
13971 { echo "$as_me:$LINENO: result: $result" >&5
13972 echo "${ECHO_T}$result" >&6; }
13973
13974
13975 enablestring=
13976 defaultval=$wxUSE_ALL_FEATURES
13977 if test -z "$defaultval"; then
13978 if test x"$enablestring" = xdisable; then
13979 defaultval=yes
13980 else
13981 defaultval=no
13982 fi
13983 fi
13984
13985 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
13986 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
13987 # Check whether --enable-busyinfo was given.
13988 if test "${enable_busyinfo+set}" = set; then
13989 enableval=$enable_busyinfo;
13990 if test "$enableval" = yes; then
13991 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
13992 else
13993 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
13994 fi
13995
13996 else
13997
13998 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
13999
14000 fi
14001
14002
14003 eval "$wx_cv_use_busyinfo"
14004
14005 if test x"$enablestring" = xdisable; then
14006 if test $wxUSE_BUSYINFO = no; then
14007 result=yes
14008 else
14009 result=no
14010 fi
14011 else
14012 result=$wxUSE_BUSYINFO
14013 fi
14014
14015 { echo "$as_me:$LINENO: result: $result" >&5
14016 echo "${ECHO_T}$result" >&6; }
14017
14018
14019 enablestring=
14020 defaultval=$wxUSE_ALL_FEATURES
14021 if test -z "$defaultval"; then
14022 if test x"$enablestring" = xdisable; then
14023 defaultval=yes
14024 else
14025 defaultval=no
14026 fi
14027 fi
14028
14029 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hotkey" >&5
14030 echo $ECHO_N "checking for --${enablestring:-enable}-hotkey... $ECHO_C" >&6; }
14031 # Check whether --enable-hotkey was given.
14032 if test "${enable_hotkey+set}" = set; then
14033 enableval=$enable_hotkey;
14034 if test "$enableval" = yes; then
14035 wx_cv_use_hotkey='wxUSE_HOTKEY=yes'
14036 else
14037 wx_cv_use_hotkey='wxUSE_HOTKEY=no'
14038 fi
14039
14040 else
14041
14042 wx_cv_use_hotkey='wxUSE_HOTKEY=${'DEFAULT_wxUSE_HOTKEY":-$defaultval}"
14043
14044 fi
14045
14046
14047 eval "$wx_cv_use_hotkey"
14048
14049 if test x"$enablestring" = xdisable; then
14050 if test $wxUSE_HOTKEY = no; then
14051 result=yes
14052 else
14053 result=no
14054 fi
14055 else
14056 result=$wxUSE_HOTKEY
14057 fi
14058
14059 { echo "$as_me:$LINENO: result: $result" >&5
14060 echo "${ECHO_T}$result" >&6; }
14061
14062
14063 enablestring=
14064 defaultval=$wxUSE_ALL_FEATURES
14065 if test -z "$defaultval"; then
14066 if test x"$enablestring" = xdisable; then
14067 defaultval=yes
14068 else
14069 defaultval=no
14070 fi
14071 fi
14072
14073 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
14074 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
14075 # Check whether --enable-joystick was given.
14076 if test "${enable_joystick+set}" = set; then
14077 enableval=$enable_joystick;
14078 if test "$enableval" = yes; then
14079 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
14080 else
14081 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
14082 fi
14083
14084 else
14085
14086 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
14087
14088 fi
14089
14090
14091 eval "$wx_cv_use_joystick"
14092
14093 if test x"$enablestring" = xdisable; then
14094 if test $wxUSE_JOYSTICK = no; then
14095 result=yes
14096 else
14097 result=no
14098 fi
14099 else
14100 result=$wxUSE_JOYSTICK
14101 fi
14102
14103 { echo "$as_me:$LINENO: result: $result" >&5
14104 echo "${ECHO_T}$result" >&6; }
14105
14106
14107 enablestring=
14108 defaultval=$wxUSE_ALL_FEATURES
14109 if test -z "$defaultval"; then
14110 if test x"$enablestring" = xdisable; then
14111 defaultval=yes
14112 else
14113 defaultval=no
14114 fi
14115 fi
14116
14117 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
14118 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
14119 # Check whether --enable-metafile was given.
14120 if test "${enable_metafile+set}" = set; then
14121 enableval=$enable_metafile;
14122 if test "$enableval" = yes; then
14123 wx_cv_use_metafile='wxUSE_METAFILE=yes'
14124 else
14125 wx_cv_use_metafile='wxUSE_METAFILE=no'
14126 fi
14127
14128 else
14129
14130 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
14131
14132 fi
14133
14134
14135 eval "$wx_cv_use_metafile"
14136
14137 if test x"$enablestring" = xdisable; then
14138 if test $wxUSE_METAFILE = no; then
14139 result=yes
14140 else
14141 result=no
14142 fi
14143 else
14144 result=$wxUSE_METAFILE
14145 fi
14146
14147 { echo "$as_me:$LINENO: result: $result" >&5
14148 echo "${ECHO_T}$result" >&6; }
14149
14150
14151 enablestring=
14152 defaultval=$wxUSE_ALL_FEATURES
14153 if test -z "$defaultval"; then
14154 if test x"$enablestring" = xdisable; then
14155 defaultval=yes
14156 else
14157 defaultval=no
14158 fi
14159 fi
14160
14161 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
14162 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
14163 # Check whether --enable-dragimage was given.
14164 if test "${enable_dragimage+set}" = set; then
14165 enableval=$enable_dragimage;
14166 if test "$enableval" = yes; then
14167 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
14168 else
14169 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
14170 fi
14171
14172 else
14173
14174 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
14175
14176 fi
14177
14178
14179 eval "$wx_cv_use_dragimage"
14180
14181 if test x"$enablestring" = xdisable; then
14182 if test $wxUSE_DRAGIMAGE = no; then
14183 result=yes
14184 else
14185 result=no
14186 fi
14187 else
14188 result=$wxUSE_DRAGIMAGE
14189 fi
14190
14191 { echo "$as_me:$LINENO: result: $result" >&5
14192 echo "${ECHO_T}$result" >&6; }
14193
14194
14195 enablestring=
14196 defaultval=$wxUSE_ALL_FEATURES
14197 if test -z "$defaultval"; then
14198 if test x"$enablestring" = xdisable; then
14199 defaultval=yes
14200 else
14201 defaultval=no
14202 fi
14203 fi
14204
14205 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
14206 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
14207 # Check whether --enable-accessibility was given.
14208 if test "${enable_accessibility+set}" = set; then
14209 enableval=$enable_accessibility;
14210 if test "$enableval" = yes; then
14211 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
14212 else
14213 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
14214 fi
14215
14216 else
14217
14218 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
14219
14220 fi
14221
14222
14223 eval "$wx_cv_use_accessibility"
14224
14225 if test x"$enablestring" = xdisable; then
14226 if test $wxUSE_ACCESSIBILITY = no; then
14227 result=yes
14228 else
14229 result=no
14230 fi
14231 else
14232 result=$wxUSE_ACCESSIBILITY
14233 fi
14234
14235 { echo "$as_me:$LINENO: result: $result" >&5
14236 echo "${ECHO_T}$result" >&6; }
14237
14238
14239 enablestring=
14240 defaultval=$wxUSE_ALL_FEATURES
14241 if test -z "$defaultval"; then
14242 if test x"$enablestring" = xdisable; then
14243 defaultval=yes
14244 else
14245 defaultval=no
14246 fi
14247 fi
14248
14249 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uiactionsim" >&5
14250 echo $ECHO_N "checking for --${enablestring:-enable}-uiactionsim... $ECHO_C" >&6; }
14251 # Check whether --enable-uiactionsim was given.
14252 if test "${enable_uiactionsim+set}" = set; then
14253 enableval=$enable_uiactionsim;
14254 if test "$enableval" = yes; then
14255 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=yes'
14256 else
14257 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=no'
14258 fi
14259
14260 else
14261
14262 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=${'DEFAULT_wxUSE_UIACTIONSIMULATOR":-$defaultval}"
14263
14264 fi
14265
14266
14267 eval "$wx_cv_use_uiactionsim"
14268
14269 if test x"$enablestring" = xdisable; then
14270 if test $wxUSE_UIACTIONSIMULATOR = no; then
14271 result=yes
14272 else
14273 result=no
14274 fi
14275 else
14276 result=$wxUSE_UIACTIONSIMULATOR
14277 fi
14278
14279 { echo "$as_me:$LINENO: result: $result" >&5
14280 echo "${ECHO_T}$result" >&6; }
14281
14282
14283 enablestring=
14284 defaultval=$wxUSE_ALL_FEATURES
14285 if test -z "$defaultval"; then
14286 if test x"$enablestring" = xdisable; then
14287 defaultval=yes
14288 else
14289 defaultval=no
14290 fi
14291 fi
14292
14293 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dctransform" >&5
14294 echo $ECHO_N "checking for --${enablestring:-enable}-dctransform... $ECHO_C" >&6; }
14295 # Check whether --enable-dctransform was given.
14296 if test "${enable_dctransform+set}" = set; then
14297 enableval=$enable_dctransform;
14298 if test "$enableval" = yes; then
14299 wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX=yes'
14300 else
14301 wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX=no'
14302 fi
14303
14304 else
14305
14306 wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX=${'DEFAULT_wxUSE_DC_TRANSFORM_MATRIX":-$defaultval}"
14307
14308 fi
14309
14310
14311 eval "$wx_cv_use_dctransform"
14312
14313 if test x"$enablestring" = xdisable; then
14314 if test $wxUSE_DC_TRANSFORM_MATRIX = no; then
14315 result=yes
14316 else
14317 result=no
14318 fi
14319 else
14320 result=$wxUSE_DC_TRANSFORM_MATRIX
14321 fi
14322
14323 { echo "$as_me:$LINENO: result: $result" >&5
14324 echo "${ECHO_T}$result" >&6; }
14325
14326
14327 enablestring=
14328 defaultval=$wxUSE_ALL_FEATURES
14329 if test -z "$defaultval"; then
14330 if test x"$enablestring" = xdisable; then
14331 defaultval=yes
14332 else
14333 defaultval=no
14334 fi
14335 fi
14336
14337 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webviewwebkit" >&5
14338 echo $ECHO_N "checking for --${enablestring:-enable}-webviewwebkit... $ECHO_C" >&6; }
14339 # Check whether --enable-webviewwebkit was given.
14340 if test "${enable_webviewwebkit+set}" = set; then
14341 enableval=$enable_webviewwebkit;
14342 if test "$enableval" = yes; then
14343 wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT=yes'
14344 else
14345 wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT=no'
14346 fi
14347
14348 else
14349
14350 wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT=${'DEFAULT_wxUSE_WEBVIEW_WEBKIT":-$defaultval}"
14351
14352 fi
14353
14354
14355 eval "$wx_cv_use_webviewwebkit"
14356
14357 if test x"$enablestring" = xdisable; then
14358 if test $wxUSE_WEBVIEW_WEBKIT = no; then
14359 result=yes
14360 else
14361 result=no
14362 fi
14363 else
14364 result=$wxUSE_WEBVIEW_WEBKIT
14365 fi
14366
14367 { echo "$as_me:$LINENO: result: $result" >&5
14368 echo "${ECHO_T}$result" >&6; }
14369
14370
14371
14372
14373 enablestring=
14374 defaultval=$wxUSE_ALL_FEATURES
14375 if test -z "$defaultval"; then
14376 if test x"$enablestring" = xdisable; then
14377 defaultval=yes
14378 else
14379 defaultval=no
14380 fi
14381 fi
14382
14383 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
14384 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
14385 # Check whether --enable-palette was given.
14386 if test "${enable_palette+set}" = set; then
14387 enableval=$enable_palette;
14388 if test "$enableval" = yes; then
14389 wx_cv_use_palette='wxUSE_PALETTE=yes'
14390 else
14391 wx_cv_use_palette='wxUSE_PALETTE=no'
14392 fi
14393
14394 else
14395
14396 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
14397
14398 fi
14399
14400
14401 eval "$wx_cv_use_palette"
14402
14403 if test x"$enablestring" = xdisable; then
14404 if test $wxUSE_PALETTE = no; then
14405 result=yes
14406 else
14407 result=no
14408 fi
14409 else
14410 result=$wxUSE_PALETTE
14411 fi
14412
14413 { echo "$as_me:$LINENO: result: $result" >&5
14414 echo "${ECHO_T}$result" >&6; }
14415
14416
14417 enablestring=
14418 defaultval=$wxUSE_ALL_FEATURES
14419 if test -z "$defaultval"; then
14420 if test x"$enablestring" = xdisable; then
14421 defaultval=yes
14422 else
14423 defaultval=no
14424 fi
14425 fi
14426
14427 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
14428 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
14429 # Check whether --enable-image was given.
14430 if test "${enable_image+set}" = set; then
14431 enableval=$enable_image;
14432 if test "$enableval" = yes; then
14433 wx_cv_use_image='wxUSE_IMAGE=yes'
14434 else
14435 wx_cv_use_image='wxUSE_IMAGE=no'
14436 fi
14437
14438 else
14439
14440 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
14441
14442 fi
14443
14444
14445 eval "$wx_cv_use_image"
14446
14447 if test x"$enablestring" = xdisable; then
14448 if test $wxUSE_IMAGE = no; then
14449 result=yes
14450 else
14451 result=no
14452 fi
14453 else
14454 result=$wxUSE_IMAGE
14455 fi
14456
14457 { echo "$as_me:$LINENO: result: $result" >&5
14458 echo "${ECHO_T}$result" >&6; }
14459
14460
14461 enablestring=
14462 defaultval=$wxUSE_ALL_FEATURES
14463 if test -z "$defaultval"; then
14464 if test x"$enablestring" = xdisable; then
14465 defaultval=yes
14466 else
14467 defaultval=no
14468 fi
14469 fi
14470
14471 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
14472 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
14473 # Check whether --enable-gif was given.
14474 if test "${enable_gif+set}" = set; then
14475 enableval=$enable_gif;
14476 if test "$enableval" = yes; then
14477 wx_cv_use_gif='wxUSE_GIF=yes'
14478 else
14479 wx_cv_use_gif='wxUSE_GIF=no'
14480 fi
14481
14482 else
14483
14484 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
14485
14486 fi
14487
14488
14489 eval "$wx_cv_use_gif"
14490
14491 if test x"$enablestring" = xdisable; then
14492 if test $wxUSE_GIF = no; then
14493 result=yes
14494 else
14495 result=no
14496 fi
14497 else
14498 result=$wxUSE_GIF
14499 fi
14500
14501 { echo "$as_me:$LINENO: result: $result" >&5
14502 echo "${ECHO_T}$result" >&6; }
14503
14504
14505 enablestring=
14506 defaultval=$wxUSE_ALL_FEATURES
14507 if test -z "$defaultval"; then
14508 if test x"$enablestring" = xdisable; then
14509 defaultval=yes
14510 else
14511 defaultval=no
14512 fi
14513 fi
14514
14515 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
14516 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
14517 # Check whether --enable-pcx was given.
14518 if test "${enable_pcx+set}" = set; then
14519 enableval=$enable_pcx;
14520 if test "$enableval" = yes; then
14521 wx_cv_use_pcx='wxUSE_PCX=yes'
14522 else
14523 wx_cv_use_pcx='wxUSE_PCX=no'
14524 fi
14525
14526 else
14527
14528 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
14529
14530 fi
14531
14532
14533 eval "$wx_cv_use_pcx"
14534
14535 if test x"$enablestring" = xdisable; then
14536 if test $wxUSE_PCX = no; then
14537 result=yes
14538 else
14539 result=no
14540 fi
14541 else
14542 result=$wxUSE_PCX
14543 fi
14544
14545 { echo "$as_me:$LINENO: result: $result" >&5
14546 echo "${ECHO_T}$result" >&6; }
14547
14548
14549 enablestring=
14550 defaultval=$wxUSE_ALL_FEATURES
14551 if test -z "$defaultval"; then
14552 if test x"$enablestring" = xdisable; then
14553 defaultval=yes
14554 else
14555 defaultval=no
14556 fi
14557 fi
14558
14559 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
14560 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
14561 # Check whether --enable-tga was given.
14562 if test "${enable_tga+set}" = set; then
14563 enableval=$enable_tga;
14564 if test "$enableval" = yes; then
14565 wx_cv_use_tga='wxUSE_TGA=yes'
14566 else
14567 wx_cv_use_tga='wxUSE_TGA=no'
14568 fi
14569
14570 else
14571
14572 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
14573
14574 fi
14575
14576
14577 eval "$wx_cv_use_tga"
14578
14579 if test x"$enablestring" = xdisable; then
14580 if test $wxUSE_TGA = no; then
14581 result=yes
14582 else
14583 result=no
14584 fi
14585 else
14586 result=$wxUSE_TGA
14587 fi
14588
14589 { echo "$as_me:$LINENO: result: $result" >&5
14590 echo "${ECHO_T}$result" >&6; }
14591
14592
14593 enablestring=
14594 defaultval=$wxUSE_ALL_FEATURES
14595 if test -z "$defaultval"; then
14596 if test x"$enablestring" = xdisable; then
14597 defaultval=yes
14598 else
14599 defaultval=no
14600 fi
14601 fi
14602
14603 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
14604 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
14605 # Check whether --enable-iff was given.
14606 if test "${enable_iff+set}" = set; then
14607 enableval=$enable_iff;
14608 if test "$enableval" = yes; then
14609 wx_cv_use_iff='wxUSE_IFF=yes'
14610 else
14611 wx_cv_use_iff='wxUSE_IFF=no'
14612 fi
14613
14614 else
14615
14616 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
14617
14618 fi
14619
14620
14621 eval "$wx_cv_use_iff"
14622
14623 if test x"$enablestring" = xdisable; then
14624 if test $wxUSE_IFF = no; then
14625 result=yes
14626 else
14627 result=no
14628 fi
14629 else
14630 result=$wxUSE_IFF
14631 fi
14632
14633 { echo "$as_me:$LINENO: result: $result" >&5
14634 echo "${ECHO_T}$result" >&6; }
14635
14636
14637 enablestring=
14638 defaultval=$wxUSE_ALL_FEATURES
14639 if test -z "$defaultval"; then
14640 if test x"$enablestring" = xdisable; then
14641 defaultval=yes
14642 else
14643 defaultval=no
14644 fi
14645 fi
14646
14647 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
14648 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
14649 # Check whether --enable-pnm was given.
14650 if test "${enable_pnm+set}" = set; then
14651 enableval=$enable_pnm;
14652 if test "$enableval" = yes; then
14653 wx_cv_use_pnm='wxUSE_PNM=yes'
14654 else
14655 wx_cv_use_pnm='wxUSE_PNM=no'
14656 fi
14657
14658 else
14659
14660 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
14661
14662 fi
14663
14664
14665 eval "$wx_cv_use_pnm"
14666
14667 if test x"$enablestring" = xdisable; then
14668 if test $wxUSE_PNM = no; then
14669 result=yes
14670 else
14671 result=no
14672 fi
14673 else
14674 result=$wxUSE_PNM
14675 fi
14676
14677 { echo "$as_me:$LINENO: result: $result" >&5
14678 echo "${ECHO_T}$result" >&6; }
14679
14680
14681 enablestring=
14682 defaultval=$wxUSE_ALL_FEATURES
14683 if test -z "$defaultval"; then
14684 if test x"$enablestring" = xdisable; then
14685 defaultval=yes
14686 else
14687 defaultval=no
14688 fi
14689 fi
14690
14691 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
14692 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
14693 # Check whether --enable-xpm was given.
14694 if test "${enable_xpm+set}" = set; then
14695 enableval=$enable_xpm;
14696 if test "$enableval" = yes; then
14697 wx_cv_use_xpm='wxUSE_XPM=yes'
14698 else
14699 wx_cv_use_xpm='wxUSE_XPM=no'
14700 fi
14701
14702 else
14703
14704 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
14705
14706 fi
14707
14708
14709 eval "$wx_cv_use_xpm"
14710
14711 if test x"$enablestring" = xdisable; then
14712 if test $wxUSE_XPM = no; then
14713 result=yes
14714 else
14715 result=no
14716 fi
14717 else
14718 result=$wxUSE_XPM
14719 fi
14720
14721 { echo "$as_me:$LINENO: result: $result" >&5
14722 echo "${ECHO_T}$result" >&6; }
14723
14724
14725 enablestring=
14726 defaultval=$wxUSE_ALL_FEATURES
14727 if test -z "$defaultval"; then
14728 if test x"$enablestring" = xdisable; then
14729 defaultval=yes
14730 else
14731 defaultval=no
14732 fi
14733 fi
14734
14735 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
14736 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
14737 # Check whether --enable-ico_cur was given.
14738 if test "${enable_ico_cur+set}" = set; then
14739 enableval=$enable_ico_cur;
14740 if test "$enableval" = yes; then
14741 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
14742 else
14743 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
14744 fi
14745
14746 else
14747
14748 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
14749
14750 fi
14751
14752
14753 eval "$wx_cv_use_ico_cur"
14754
14755 if test x"$enablestring" = xdisable; then
14756 if test $wxUSE_ICO_CUR = no; then
14757 result=yes
14758 else
14759 result=no
14760 fi
14761 else
14762 result=$wxUSE_ICO_CUR
14763 fi
14764
14765 { echo "$as_me:$LINENO: result: $result" >&5
14766 echo "${ECHO_T}$result" >&6; }
14767
14768
14769
14770
14771 enablestring=
14772 defaultval=$wxUSE_ALL_FEATURES
14773 if test -z "$defaultval"; then
14774 if test x"$enablestring" = xdisable; then
14775 defaultval=yes
14776 else
14777 defaultval=no
14778 fi
14779 fi
14780
14781 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
14782 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
14783 # Check whether --enable-dccache was given.
14784 if test "${enable_dccache+set}" = set; then
14785 enableval=$enable_dccache;
14786 if test "$enableval" = yes; then
14787 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
14788 else
14789 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
14790 fi
14791
14792 else
14793
14794 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
14795
14796 fi
14797
14798
14799 eval "$wx_cv_use_dccache"
14800
14801 if test x"$enablestring" = xdisable; then
14802 if test $wxUSE_DC_CACHEING = no; then
14803 result=yes
14804 else
14805 result=no
14806 fi
14807 else
14808 result=$wxUSE_DC_CACHEING
14809 fi
14810
14811 { echo "$as_me:$LINENO: result: $result" >&5
14812 echo "${ECHO_T}$result" >&6; }
14813
14814
14815 enablestring=
14816 defaultval=$wxUSE_ALL_FEATURES
14817 if test -z "$defaultval"; then
14818 if test x"$enablestring" = xdisable; then
14819 defaultval=yes
14820 else
14821 defaultval=no
14822 fi
14823 fi
14824
14825 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
14826 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
14827 # Check whether --enable-ps-in-msw was given.
14828 if test "${enable_ps_in_msw+set}" = set; then
14829 enableval=$enable_ps_in_msw;
14830 if test "$enableval" = yes; then
14831 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
14832 else
14833 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
14834 fi
14835
14836 else
14837
14838 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
14839
14840 fi
14841
14842
14843 eval "$wx_cv_use_ps_in_msw"
14844
14845 if test x"$enablestring" = xdisable; then
14846 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = no; then
14847 result=yes
14848 else
14849 result=no
14850 fi
14851 else
14852 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
14853 fi
14854
14855 { echo "$as_me:$LINENO: result: $result" >&5
14856 echo "${ECHO_T}$result" >&6; }
14857
14858
14859 enablestring=
14860 defaultval=$wxUSE_ALL_FEATURES
14861 if test -z "$defaultval"; then
14862 if test x"$enablestring" = xdisable; then
14863 defaultval=yes
14864 else
14865 defaultval=no
14866 fi
14867 fi
14868
14869 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
14870 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
14871 # Check whether --enable-ownerdrawn was given.
14872 if test "${enable_ownerdrawn+set}" = set; then
14873 enableval=$enable_ownerdrawn;
14874 if test "$enableval" = yes; then
14875 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
14876 else
14877 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
14878 fi
14879
14880 else
14881
14882 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
14883
14884 fi
14885
14886
14887 eval "$wx_cv_use_ownerdrawn"
14888
14889 if test x"$enablestring" = xdisable; then
14890 if test $wxUSE_OWNER_DRAWN = no; then
14891 result=yes
14892 else
14893 result=no
14894 fi
14895 else
14896 result=$wxUSE_OWNER_DRAWN
14897 fi
14898
14899 { echo "$as_me:$LINENO: result: $result" >&5
14900 echo "${ECHO_T}$result" >&6; }
14901
14902
14903 enablestring=
14904 defaultval=$wxUSE_ALL_FEATURES
14905 if test -z "$defaultval"; then
14906 if test x"$enablestring" = xdisable; then
14907 defaultval=yes
14908 else
14909 defaultval=no
14910 fi
14911 fi
14912
14913 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
14914 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
14915 # Check whether --enable-uxtheme was given.
14916 if test "${enable_uxtheme+set}" = set; then
14917 enableval=$enable_uxtheme;
14918 if test "$enableval" = yes; then
14919 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
14920 else
14921 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
14922 fi
14923
14924 else
14925
14926 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
14927
14928 fi
14929
14930
14931 eval "$wx_cv_use_uxtheme"
14932
14933 if test x"$enablestring" = xdisable; then
14934 if test $wxUSE_UXTHEME = no; then
14935 result=yes
14936 else
14937 result=no
14938 fi
14939 else
14940 result=$wxUSE_UXTHEME
14941 fi
14942
14943 { echo "$as_me:$LINENO: result: $result" >&5
14944 echo "${ECHO_T}$result" >&6; }
14945
14946
14947 enablestring=
14948 defaultval=$wxUSE_ALL_FEATURES
14949 if test -z "$defaultval"; then
14950 if test x"$enablestring" = xdisable; then
14951 defaultval=yes
14952 else
14953 defaultval=no
14954 fi
14955 fi
14956
14957 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
14958 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
14959 # Check whether --enable-wxdib was given.
14960 if test "${enable_wxdib+set}" = set; then
14961 enableval=$enable_wxdib;
14962 if test "$enableval" = yes; then
14963 wx_cv_use_wxdib='wxUSE_DIB=yes'
14964 else
14965 wx_cv_use_wxdib='wxUSE_DIB=no'
14966 fi
14967
14968 else
14969
14970 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
14971
14972 fi
14973
14974
14975 eval "$wx_cv_use_wxdib"
14976
14977 if test x"$enablestring" = xdisable; then
14978 if test $wxUSE_DIB = no; then
14979 result=yes
14980 else
14981 result=no
14982 fi
14983 else
14984 result=$wxUSE_DIB
14985 fi
14986
14987 { echo "$as_me:$LINENO: result: $result" >&5
14988 echo "${ECHO_T}$result" >&6; }
14989
14990
14991 enablestring=
14992 defaultval=$wxUSE_ALL_FEATURES
14993 if test -z "$defaultval"; then
14994 if test x"$enablestring" = xdisable; then
14995 defaultval=yes
14996 else
14997 defaultval=no
14998 fi
14999 fi
15000
15001 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webviewie" >&5
15002 echo $ECHO_N "checking for --${enablestring:-enable}-webviewie... $ECHO_C" >&6; }
15003 # Check whether --enable-webviewie was given.
15004 if test "${enable_webviewie+set}" = set; then
15005 enableval=$enable_webviewie;
15006 if test "$enableval" = yes; then
15007 wx_cv_use_webviewie='wxUSE_WEBVIEW_IE=yes'
15008 else
15009 wx_cv_use_webviewie='wxUSE_WEBVIEW_IE=no'
15010 fi
15011
15012 else
15013
15014 wx_cv_use_webviewie='wxUSE_WEBVIEW_IE=${'DEFAULT_wxUSE_WEBVIEW_IE":-$defaultval}"
15015
15016 fi
15017
15018
15019 eval "$wx_cv_use_webviewie"
15020
15021 if test x"$enablestring" = xdisable; then
15022 if test $wxUSE_WEBVIEW_IE = no; then
15023 result=yes
15024 else
15025 result=no
15026 fi
15027 else
15028 result=$wxUSE_WEBVIEW_IE
15029 fi
15030
15031 { echo "$as_me:$LINENO: result: $result" >&5
15032 echo "${ECHO_T}$result" >&6; }
15033
15034
15035 if test "$wxUSE_MSW" != 1; then
15036 DEFAULT_wxUSE_AUTOID_MANAGEMENT=no
15037 fi
15038
15039
15040 enablestring=
15041 defaultval=$wxUSE_ALL_FEATURES
15042 if test -z "$defaultval"; then
15043 if test x"$enablestring" = xdisable; then
15044 defaultval=yes
15045 else
15046 defaultval=no
15047 fi
15048 fi
15049
15050 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-autoidman" >&5
15051 echo $ECHO_N "checking for --${enablestring:-enable}-autoidman... $ECHO_C" >&6; }
15052 # Check whether --enable-autoidman was given.
15053 if test "${enable_autoidman+set}" = set; then
15054 enableval=$enable_autoidman;
15055 if test "$enableval" = yes; then
15056 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=yes'
15057 else
15058 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=no'
15059 fi
15060
15061 else
15062
15063 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
15064
15065 fi
15066
15067
15068 eval "$wx_cv_use_autoidman"
15069
15070 if test x"$enablestring" = xdisable; then
15071 if test $wxUSE_AUTOID_MANAGEMENT = no; then
15072 result=yes
15073 else
15074 result=no
15075 fi
15076 else
15077 result=$wxUSE_AUTOID_MANAGEMENT
15078 fi
15079
15080 { echo "$as_me:$LINENO: result: $result" >&5
15081 echo "${ECHO_T}$result" >&6; }
15082
15083
15084 fi
15085
15086
15087 cat >confcache <<\_ACEOF
15088 # This file is a shell script that caches the results of configure
15089 # tests run on this system so they can be shared between configure
15090 # scripts and configure runs, see configure's option --config-cache.
15091 # It is not useful on other systems. If it contains results you don't
15092 # want to keep, you may remove or edit it.
15093 #
15094 # config.status only pays attention to the cache file if you give it
15095 # the --recheck option to rerun configure.
15096 #
15097 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15098 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15099 # following values.
15100
15101 _ACEOF
15102
15103 # The following way of writing the cache mishandles newlines in values,
15104 # but we know of no workaround that is simple, portable, and efficient.
15105 # So, we kill variables containing newlines.
15106 # Ultrix sh set writes to stderr and can't be redirected directly,
15107 # and sets the high bit in the cache file unless we assign to the vars.
15108 (
15109 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15110 eval ac_val=\$$ac_var
15111 case $ac_val in #(
15112 *${as_nl}*)
15113 case $ac_var in #(
15114 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
15115 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
15116 esac
15117 case $ac_var in #(
15118 _ | IFS | as_nl) ;; #(
15119 *) $as_unset $ac_var ;;
15120 esac ;;
15121 esac
15122 done
15123
15124 (set) 2>&1 |
15125 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15126 *${as_nl}ac_space=\ *)
15127 # `set' does not quote correctly, so add quotes (double-quote
15128 # substitution turns \\\\ into \\, and sed turns \\ into \).
15129 sed -n \
15130 "s/'/'\\\\''/g;
15131 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15132 ;; #(
15133 *)
15134 # `set' quotes correctly as required by POSIX, so do not add quotes.
15135 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15136 ;;
15137 esac |
15138 sort
15139 ) |
15140 sed '
15141 /^ac_cv_env_/b end
15142 t clear
15143 :clear
15144 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15145 t end
15146 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15147 :end' >>confcache
15148 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15149 if test -w "$cache_file"; then
15150 test "x$cache_file" != "x/dev/null" &&
15151 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
15152 echo "$as_me: updating cache $cache_file" >&6;}
15153 cat confcache >$cache_file
15154 else
15155 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
15156 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15157 fi
15158 fi
15159 rm -f confcache
15160
15161 CFLAGS=${CFLAGS:=}
15162 ac_ext=c
15163 ac_cpp='$CPP $CPPFLAGS'
15164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15167 if test -n "$ac_tool_prefix"; then
15168 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
15169 set dummy ${ac_tool_prefix}gcc; ac_word=$2
15170 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15171 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15172 if test "${ac_cv_prog_CC+set}" = set; then
15173 echo $ECHO_N "(cached) $ECHO_C" >&6
15174 else
15175 if test -n "$CC"; then
15176 ac_cv_prog_CC="$CC" # Let the user override the test.
15177 else
15178 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15179 for as_dir in $PATH
15180 do
15181 IFS=$as_save_IFS
15182 test -z "$as_dir" && as_dir=.
15183 for ac_exec_ext in '' $ac_executable_extensions; do
15184 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15185 ac_cv_prog_CC="${ac_tool_prefix}gcc"
15186 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15187 break 2
15188 fi
15189 done
15190 done
15191 IFS=$as_save_IFS
15192
15193 fi
15194 fi
15195 CC=$ac_cv_prog_CC
15196 if test -n "$CC"; then
15197 { echo "$as_me:$LINENO: result: $CC" >&5
15198 echo "${ECHO_T}$CC" >&6; }
15199 else
15200 { echo "$as_me:$LINENO: result: no" >&5
15201 echo "${ECHO_T}no" >&6; }
15202 fi
15203
15204
15205 fi
15206 if test -z "$ac_cv_prog_CC"; then
15207 ac_ct_CC=$CC
15208 # Extract the first word of "gcc", so it can be a program name with args.
15209 set dummy gcc; ac_word=$2
15210 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15211 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15212 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
15213 echo $ECHO_N "(cached) $ECHO_C" >&6
15214 else
15215 if test -n "$ac_ct_CC"; then
15216 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
15217 else
15218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15219 for as_dir in $PATH
15220 do
15221 IFS=$as_save_IFS
15222 test -z "$as_dir" && as_dir=.
15223 for ac_exec_ext in '' $ac_executable_extensions; do
15224 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15225 ac_cv_prog_ac_ct_CC="gcc"
15226 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15227 break 2
15228 fi
15229 done
15230 done
15231 IFS=$as_save_IFS
15232
15233 fi
15234 fi
15235 ac_ct_CC=$ac_cv_prog_ac_ct_CC
15236 if test -n "$ac_ct_CC"; then
15237 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
15238 echo "${ECHO_T}$ac_ct_CC" >&6; }
15239 else
15240 { echo "$as_me:$LINENO: result: no" >&5
15241 echo "${ECHO_T}no" >&6; }
15242 fi
15243
15244 if test "x$ac_ct_CC" = x; then
15245 CC=""
15246 else
15247 case $cross_compiling:$ac_tool_warned in
15248 yes:)
15249 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15250 whose name does not start with the host triplet. If you think this
15251 configuration is useful to you, please write to autoconf@gnu.org." >&5
15252 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15253 whose name does not start with the host triplet. If you think this
15254 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15255 ac_tool_warned=yes ;;
15256 esac
15257 CC=$ac_ct_CC
15258 fi
15259 else
15260 CC="$ac_cv_prog_CC"
15261 fi
15262
15263 if test -z "$CC"; then
15264 if test -n "$ac_tool_prefix"; then
15265 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
15266 set dummy ${ac_tool_prefix}cc; ac_word=$2
15267 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15268 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15269 if test "${ac_cv_prog_CC+set}" = set; then
15270 echo $ECHO_N "(cached) $ECHO_C" >&6
15271 else
15272 if test -n "$CC"; then
15273 ac_cv_prog_CC="$CC" # Let the user override the test.
15274 else
15275 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15276 for as_dir in $PATH
15277 do
15278 IFS=$as_save_IFS
15279 test -z "$as_dir" && as_dir=.
15280 for ac_exec_ext in '' $ac_executable_extensions; do
15281 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15282 ac_cv_prog_CC="${ac_tool_prefix}cc"
15283 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15284 break 2
15285 fi
15286 done
15287 done
15288 IFS=$as_save_IFS
15289
15290 fi
15291 fi
15292 CC=$ac_cv_prog_CC
15293 if test -n "$CC"; then
15294 { echo "$as_me:$LINENO: result: $CC" >&5
15295 echo "${ECHO_T}$CC" >&6; }
15296 else
15297 { echo "$as_me:$LINENO: result: no" >&5
15298 echo "${ECHO_T}no" >&6; }
15299 fi
15300
15301
15302 fi
15303 fi
15304 if test -z "$CC"; then
15305 # Extract the first word of "cc", so it can be a program name with args.
15306 set dummy cc; ac_word=$2
15307 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15308 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15309 if test "${ac_cv_prog_CC+set}" = set; then
15310 echo $ECHO_N "(cached) $ECHO_C" >&6
15311 else
15312 if test -n "$CC"; then
15313 ac_cv_prog_CC="$CC" # Let the user override the test.
15314 else
15315 ac_prog_rejected=no
15316 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15317 for as_dir in $PATH
15318 do
15319 IFS=$as_save_IFS
15320 test -z "$as_dir" && as_dir=.
15321 for ac_exec_ext in '' $ac_executable_extensions; do
15322 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15323 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
15324 ac_prog_rejected=yes
15325 continue
15326 fi
15327 ac_cv_prog_CC="cc"
15328 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15329 break 2
15330 fi
15331 done
15332 done
15333 IFS=$as_save_IFS
15334
15335 if test $ac_prog_rejected = yes; then
15336 # We found a bogon in the path, so make sure we never use it.
15337 set dummy $ac_cv_prog_CC
15338 shift
15339 if test $# != 0; then
15340 # We chose a different compiler from the bogus one.
15341 # However, it has the same basename, so the bogon will be chosen
15342 # first if we set CC to just the basename; use the full file name.
15343 shift
15344 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
15345 fi
15346 fi
15347 fi
15348 fi
15349 CC=$ac_cv_prog_CC
15350 if test -n "$CC"; then
15351 { echo "$as_me:$LINENO: result: $CC" >&5
15352 echo "${ECHO_T}$CC" >&6; }
15353 else
15354 { echo "$as_me:$LINENO: result: no" >&5
15355 echo "${ECHO_T}no" >&6; }
15356 fi
15357
15358
15359 fi
15360 if test -z "$CC"; then
15361 if test -n "$ac_tool_prefix"; then
15362 for ac_prog in cl.exe
15363 do
15364 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
15365 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
15366 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15367 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15368 if test "${ac_cv_prog_CC+set}" = set; then
15369 echo $ECHO_N "(cached) $ECHO_C" >&6
15370 else
15371 if test -n "$CC"; then
15372 ac_cv_prog_CC="$CC" # Let the user override the test.
15373 else
15374 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15375 for as_dir in $PATH
15376 do
15377 IFS=$as_save_IFS
15378 test -z "$as_dir" && as_dir=.
15379 for ac_exec_ext in '' $ac_executable_extensions; do
15380 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15381 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
15382 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15383 break 2
15384 fi
15385 done
15386 done
15387 IFS=$as_save_IFS
15388
15389 fi
15390 fi
15391 CC=$ac_cv_prog_CC
15392 if test -n "$CC"; then
15393 { echo "$as_me:$LINENO: result: $CC" >&5
15394 echo "${ECHO_T}$CC" >&6; }
15395 else
15396 { echo "$as_me:$LINENO: result: no" >&5
15397 echo "${ECHO_T}no" >&6; }
15398 fi
15399
15400
15401 test -n "$CC" && break
15402 done
15403 fi
15404 if test -z "$CC"; then
15405 ac_ct_CC=$CC
15406 for ac_prog in cl.exe
15407 do
15408 # Extract the first word of "$ac_prog", so it can be a program name with args.
15409 set dummy $ac_prog; ac_word=$2
15410 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15411 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15412 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
15413 echo $ECHO_N "(cached) $ECHO_C" >&6
15414 else
15415 if test -n "$ac_ct_CC"; then
15416 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
15417 else
15418 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15419 for as_dir in $PATH
15420 do
15421 IFS=$as_save_IFS
15422 test -z "$as_dir" && as_dir=.
15423 for ac_exec_ext in '' $ac_executable_extensions; do
15424 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15425 ac_cv_prog_ac_ct_CC="$ac_prog"
15426 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15427 break 2
15428 fi
15429 done
15430 done
15431 IFS=$as_save_IFS
15432
15433 fi
15434 fi
15435 ac_ct_CC=$ac_cv_prog_ac_ct_CC
15436 if test -n "$ac_ct_CC"; then
15437 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
15438 echo "${ECHO_T}$ac_ct_CC" >&6; }
15439 else
15440 { echo "$as_me:$LINENO: result: no" >&5
15441 echo "${ECHO_T}no" >&6; }
15442 fi
15443
15444
15445 test -n "$ac_ct_CC" && break
15446 done
15447
15448 if test "x$ac_ct_CC" = x; then
15449 CC=""
15450 else
15451 case $cross_compiling:$ac_tool_warned in
15452 yes:)
15453 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15454 whose name does not start with the host triplet. If you think this
15455 configuration is useful to you, please write to autoconf@gnu.org." >&5
15456 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15457 whose name does not start with the host triplet. If you think this
15458 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15459 ac_tool_warned=yes ;;
15460 esac
15461 CC=$ac_ct_CC
15462 fi
15463 fi
15464
15465 fi
15466
15467
15468 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
15469 See \`config.log' for more details." >&5
15470 echo "$as_me: error: no acceptable C compiler found in \$PATH
15471 See \`config.log' for more details." >&2;}
15472 { (exit 1); exit 1; }; }
15473
15474 # Provide some information about the compiler.
15475 echo "$as_me:$LINENO: checking for C compiler version" >&5
15476 ac_compiler=`set X $ac_compile; echo $2`
15477 { (ac_try="$ac_compiler --version >&5"
15478 case "(($ac_try" in
15479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15480 *) ac_try_echo=$ac_try;;
15481 esac
15482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15483 (eval "$ac_compiler --version >&5") 2>&5
15484 ac_status=$?
15485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15486 (exit $ac_status); }
15487 { (ac_try="$ac_compiler -v >&5"
15488 case "(($ac_try" in
15489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15490 *) ac_try_echo=$ac_try;;
15491 esac
15492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15493 (eval "$ac_compiler -v >&5") 2>&5
15494 ac_status=$?
15495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15496 (exit $ac_status); }
15497 { (ac_try="$ac_compiler -V >&5"
15498 case "(($ac_try" in
15499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15500 *) ac_try_echo=$ac_try;;
15501 esac
15502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15503 (eval "$ac_compiler -V >&5") 2>&5
15504 ac_status=$?
15505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15506 (exit $ac_status); }
15507
15508 cat >conftest.$ac_ext <<_ACEOF
15509 /* confdefs.h. */
15510 _ACEOF
15511 cat confdefs.h >>conftest.$ac_ext
15512 cat >>conftest.$ac_ext <<_ACEOF
15513 /* end confdefs.h. */
15514
15515 int
15516 main ()
15517 {
15518
15519 ;
15520 return 0;
15521 }
15522 _ACEOF
15523 ac_clean_files_save=$ac_clean_files
15524 ac_clean_files="$ac_clean_files a.out a.exe b.out"
15525 # Try to create an executable without -o first, disregard a.out.
15526 # It will help us diagnose broken compilers, and finding out an intuition
15527 # of exeext.
15528 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
15529 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
15530 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
15531 #
15532 # List of possible output files, starting from the most likely.
15533 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
15534 # only as a last resort. b.out is created by i960 compilers.
15535 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
15536 #
15537 # The IRIX 6 linker writes into existing files which may not be
15538 # executable, retaining their permissions. Remove them first so a
15539 # subsequent execution test works.
15540 ac_rmfiles=
15541 for ac_file in $ac_files
15542 do
15543 case $ac_file in
15544 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
15545 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
15546 esac
15547 done
15548 rm -f $ac_rmfiles
15549
15550 if { (ac_try="$ac_link_default"
15551 case "(($ac_try" in
15552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15553 *) ac_try_echo=$ac_try;;
15554 esac
15555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15556 (eval "$ac_link_default") 2>&5
15557 ac_status=$?
15558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15559 (exit $ac_status); }; then
15560 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
15561 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
15562 # in a Makefile. We should not override ac_cv_exeext if it was cached,
15563 # so that the user can short-circuit this test for compilers unknown to
15564 # Autoconf.
15565 for ac_file in $ac_files ''
15566 do
15567 test -f "$ac_file" || continue
15568 case $ac_file in
15569 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
15570 ;;
15571 [ab].out )
15572 # We found the default executable, but exeext='' is most
15573 # certainly right.
15574 break;;
15575 *.* )
15576 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
15577 then :; else
15578 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
15579 fi
15580 # We set ac_cv_exeext here because the later test for it is not
15581 # safe: cross compilers may not add the suffix if given an `-o'
15582 # argument, so we may need to know it at that point already.
15583 # Even if this section looks crufty: it has the advantage of
15584 # actually working.
15585 break;;
15586 * )
15587 break;;
15588 esac
15589 done
15590 test "$ac_cv_exeext" = no && ac_cv_exeext=
15591
15592 else
15593 ac_file=''
15594 fi
15595
15596 { echo "$as_me:$LINENO: result: $ac_file" >&5
15597 echo "${ECHO_T}$ac_file" >&6; }
15598 if test -z "$ac_file"; then
15599 echo "$as_me: failed program was:" >&5
15600 sed 's/^/| /' conftest.$ac_ext >&5
15601
15602 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
15603 See \`config.log' for more details." >&5
15604 echo "$as_me: error: C compiler cannot create executables
15605 See \`config.log' for more details." >&2;}
15606 { (exit 77); exit 77; }; }
15607 fi
15608
15609 ac_exeext=$ac_cv_exeext
15610
15611 # Check that the compiler produces executables we can run. If not, either
15612 # the compiler is broken, or we cross compile.
15613 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
15614 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
15615 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
15616 # If not cross compiling, check that we can run a simple program.
15617 if test "$cross_compiling" != yes; then
15618 if { ac_try='./$ac_file'
15619 { (case "(($ac_try" in
15620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15621 *) ac_try_echo=$ac_try;;
15622 esac
15623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15624 (eval "$ac_try") 2>&5
15625 ac_status=$?
15626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15627 (exit $ac_status); }; }; then
15628 cross_compiling=no
15629 else
15630 if test "$cross_compiling" = maybe; then
15631 cross_compiling=yes
15632 else
15633 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
15634 If you meant to cross compile, use \`--host'.
15635 See \`config.log' for more details." >&5
15636 echo "$as_me: error: cannot run C compiled programs.
15637 If you meant to cross compile, use \`--host'.
15638 See \`config.log' for more details." >&2;}
15639 { (exit 1); exit 1; }; }
15640 fi
15641 fi
15642 fi
15643 { echo "$as_me:$LINENO: result: yes" >&5
15644 echo "${ECHO_T}yes" >&6; }
15645
15646 rm -f a.out a.exe conftest$ac_cv_exeext b.out
15647 ac_clean_files=$ac_clean_files_save
15648 # Check that the compiler produces executables we can run. If not, either
15649 # the compiler is broken, or we cross compile.
15650 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
15651 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
15652 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
15653 echo "${ECHO_T}$cross_compiling" >&6; }
15654
15655 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
15656 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
15657 if { (ac_try="$ac_link"
15658 case "(($ac_try" in
15659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15660 *) ac_try_echo=$ac_try;;
15661 esac
15662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15663 (eval "$ac_link") 2>&5
15664 ac_status=$?
15665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15666 (exit $ac_status); }; then
15667 # If both `conftest.exe' and `conftest' are `present' (well, observable)
15668 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
15669 # work properly (i.e., refer to `conftest.exe'), while it won't with
15670 # `rm'.
15671 for ac_file in conftest.exe conftest conftest.*; do
15672 test -f "$ac_file" || continue
15673 case $ac_file in
15674 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
15675 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
15676 break;;
15677 * ) break;;
15678 esac
15679 done
15680 else
15681 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
15682 See \`config.log' for more details." >&5
15683 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
15684 See \`config.log' for more details." >&2;}
15685 { (exit 1); exit 1; }; }
15686 fi
15687
15688 rm -f conftest$ac_cv_exeext
15689 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
15690 echo "${ECHO_T}$ac_cv_exeext" >&6; }
15691
15692 rm -f conftest.$ac_ext
15693 EXEEXT=$ac_cv_exeext
15694 ac_exeext=$EXEEXT
15695 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
15696 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
15697 if test "${ac_cv_objext+set}" = set; then
15698 echo $ECHO_N "(cached) $ECHO_C" >&6
15699 else
15700 cat >conftest.$ac_ext <<_ACEOF
15701 /* confdefs.h. */
15702 _ACEOF
15703 cat confdefs.h >>conftest.$ac_ext
15704 cat >>conftest.$ac_ext <<_ACEOF
15705 /* end confdefs.h. */
15706
15707 int
15708 main ()
15709 {
15710
15711 ;
15712 return 0;
15713 }
15714 _ACEOF
15715 rm -f conftest.o conftest.obj
15716 if { (ac_try="$ac_compile"
15717 case "(($ac_try" in
15718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15719 *) ac_try_echo=$ac_try;;
15720 esac
15721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15722 (eval "$ac_compile") 2>&5
15723 ac_status=$?
15724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15725 (exit $ac_status); }; then
15726 for ac_file in conftest.o conftest.obj conftest.*; do
15727 test -f "$ac_file" || continue;
15728 case $ac_file in
15729 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
15730 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
15731 break;;
15732 esac
15733 done
15734 else
15735 echo "$as_me: failed program was:" >&5
15736 sed 's/^/| /' conftest.$ac_ext >&5
15737
15738 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
15739 See \`config.log' for more details." >&5
15740 echo "$as_me: error: cannot compute suffix of object files: cannot compile
15741 See \`config.log' for more details." >&2;}
15742 { (exit 1); exit 1; }; }
15743 fi
15744
15745 rm -f conftest.$ac_cv_objext conftest.$ac_ext
15746 fi
15747 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
15748 echo "${ECHO_T}$ac_cv_objext" >&6; }
15749 OBJEXT=$ac_cv_objext
15750 ac_objext=$OBJEXT
15751 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
15752 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
15753 if test "${ac_cv_c_compiler_gnu+set}" = set; then
15754 echo $ECHO_N "(cached) $ECHO_C" >&6
15755 else
15756 cat >conftest.$ac_ext <<_ACEOF
15757 /* confdefs.h. */
15758 _ACEOF
15759 cat confdefs.h >>conftest.$ac_ext
15760 cat >>conftest.$ac_ext <<_ACEOF
15761 /* end confdefs.h. */
15762
15763 int
15764 main ()
15765 {
15766 #ifndef __GNUC__
15767 choke me
15768 #endif
15769
15770 ;
15771 return 0;
15772 }
15773 _ACEOF
15774 rm -f conftest.$ac_objext
15775 if { (ac_try="$ac_compile"
15776 case "(($ac_try" in
15777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15778 *) ac_try_echo=$ac_try;;
15779 esac
15780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15781 (eval "$ac_compile") 2>conftest.er1
15782 ac_status=$?
15783 grep -v '^ *+' conftest.er1 >conftest.err
15784 rm -f conftest.er1
15785 cat conftest.err >&5
15786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15787 (exit $ac_status); } && {
15788 test -z "$ac_c_werror_flag" ||
15789 test ! -s conftest.err
15790 } && test -s conftest.$ac_objext; then
15791 ac_compiler_gnu=yes
15792 else
15793 echo "$as_me: failed program was:" >&5
15794 sed 's/^/| /' conftest.$ac_ext >&5
15795
15796 ac_compiler_gnu=no
15797 fi
15798
15799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15800 ac_cv_c_compiler_gnu=$ac_compiler_gnu
15801
15802 fi
15803 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
15804 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
15805 GCC=`test $ac_compiler_gnu = yes && echo yes`
15806 ac_test_CFLAGS=${CFLAGS+set}
15807 ac_save_CFLAGS=$CFLAGS
15808 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15809 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15810 if test "${ac_cv_prog_cc_g+set}" = set; then
15811 echo $ECHO_N "(cached) $ECHO_C" >&6
15812 else
15813 ac_save_c_werror_flag=$ac_c_werror_flag
15814 ac_c_werror_flag=yes
15815 ac_cv_prog_cc_g=no
15816 CFLAGS="-g"
15817 cat >conftest.$ac_ext <<_ACEOF
15818 /* confdefs.h. */
15819 _ACEOF
15820 cat confdefs.h >>conftest.$ac_ext
15821 cat >>conftest.$ac_ext <<_ACEOF
15822 /* end confdefs.h. */
15823
15824 int
15825 main ()
15826 {
15827
15828 ;
15829 return 0;
15830 }
15831 _ACEOF
15832 rm -f conftest.$ac_objext
15833 if { (ac_try="$ac_compile"
15834 case "(($ac_try" in
15835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15836 *) ac_try_echo=$ac_try;;
15837 esac
15838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15839 (eval "$ac_compile") 2>conftest.er1
15840 ac_status=$?
15841 grep -v '^ *+' conftest.er1 >conftest.err
15842 rm -f conftest.er1
15843 cat conftest.err >&5
15844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15845 (exit $ac_status); } && {
15846 test -z "$ac_c_werror_flag" ||
15847 test ! -s conftest.err
15848 } && test -s conftest.$ac_objext; then
15849 ac_cv_prog_cc_g=yes
15850 else
15851 echo "$as_me: failed program was:" >&5
15852 sed 's/^/| /' conftest.$ac_ext >&5
15853
15854 CFLAGS=""
15855 cat >conftest.$ac_ext <<_ACEOF
15856 /* confdefs.h. */
15857 _ACEOF
15858 cat confdefs.h >>conftest.$ac_ext
15859 cat >>conftest.$ac_ext <<_ACEOF
15860 /* end confdefs.h. */
15861
15862 int
15863 main ()
15864 {
15865
15866 ;
15867 return 0;
15868 }
15869 _ACEOF
15870 rm -f conftest.$ac_objext
15871 if { (ac_try="$ac_compile"
15872 case "(($ac_try" in
15873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15874 *) ac_try_echo=$ac_try;;
15875 esac
15876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15877 (eval "$ac_compile") 2>conftest.er1
15878 ac_status=$?
15879 grep -v '^ *+' conftest.er1 >conftest.err
15880 rm -f conftest.er1
15881 cat conftest.err >&5
15882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15883 (exit $ac_status); } && {
15884 test -z "$ac_c_werror_flag" ||
15885 test ! -s conftest.err
15886 } && test -s conftest.$ac_objext; then
15887 :
15888 else
15889 echo "$as_me: failed program was:" >&5
15890 sed 's/^/| /' conftest.$ac_ext >&5
15891
15892 ac_c_werror_flag=$ac_save_c_werror_flag
15893 CFLAGS="-g"
15894 cat >conftest.$ac_ext <<_ACEOF
15895 /* confdefs.h. */
15896 _ACEOF
15897 cat confdefs.h >>conftest.$ac_ext
15898 cat >>conftest.$ac_ext <<_ACEOF
15899 /* end confdefs.h. */
15900
15901 int
15902 main ()
15903 {
15904
15905 ;
15906 return 0;
15907 }
15908 _ACEOF
15909 rm -f conftest.$ac_objext
15910 if { (ac_try="$ac_compile"
15911 case "(($ac_try" in
15912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15913 *) ac_try_echo=$ac_try;;
15914 esac
15915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15916 (eval "$ac_compile") 2>conftest.er1
15917 ac_status=$?
15918 grep -v '^ *+' conftest.er1 >conftest.err
15919 rm -f conftest.er1
15920 cat conftest.err >&5
15921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15922 (exit $ac_status); } && {
15923 test -z "$ac_c_werror_flag" ||
15924 test ! -s conftest.err
15925 } && test -s conftest.$ac_objext; then
15926 ac_cv_prog_cc_g=yes
15927 else
15928 echo "$as_me: failed program was:" >&5
15929 sed 's/^/| /' conftest.$ac_ext >&5
15930
15931
15932 fi
15933
15934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15935 fi
15936
15937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15938 fi
15939
15940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15941 ac_c_werror_flag=$ac_save_c_werror_flag
15942 fi
15943 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15944 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15945 if test "$ac_test_CFLAGS" = set; then
15946 CFLAGS=$ac_save_CFLAGS
15947 elif test $ac_cv_prog_cc_g = yes; then
15948 if test "$GCC" = yes; then
15949 CFLAGS="-g -O2"
15950 else
15951 CFLAGS="-g"
15952 fi
15953 else
15954 if test "$GCC" = yes; then
15955 CFLAGS="-O2"
15956 else
15957 CFLAGS=
15958 fi
15959 fi
15960 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
15961 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
15962 if test "${ac_cv_prog_cc_c89+set}" = set; then
15963 echo $ECHO_N "(cached) $ECHO_C" >&6
15964 else
15965 ac_cv_prog_cc_c89=no
15966 ac_save_CC=$CC
15967 cat >conftest.$ac_ext <<_ACEOF
15968 /* confdefs.h. */
15969 _ACEOF
15970 cat confdefs.h >>conftest.$ac_ext
15971 cat >>conftest.$ac_ext <<_ACEOF
15972 /* end confdefs.h. */
15973 #include <stdarg.h>
15974 #include <stdio.h>
15975 #include <sys/types.h>
15976 #include <sys/stat.h>
15977 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
15978 struct buf { int x; };
15979 FILE * (*rcsopen) (struct buf *, struct stat *, int);
15980 static char *e (p, i)
15981 char **p;
15982 int i;
15983 {
15984 return p[i];
15985 }
15986 static char *f (char * (*g) (char **, int), char **p, ...)
15987 {
15988 char *s;
15989 va_list v;
15990 va_start (v,p);
15991 s = g (p, va_arg (v,int));
15992 va_end (v);
15993 return s;
15994 }
15995
15996 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
15997 function prototypes and stuff, but not '\xHH' hex character constants.
15998 These don't provoke an error unfortunately, instead are silently treated
15999 as 'x'. The following induces an error, until -std is added to get
16000 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
16001 array size at least. It's necessary to write '\x00'==0 to get something
16002 that's true only with -std. */
16003 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
16004
16005 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
16006 inside strings and character constants. */
16007 #define FOO(x) 'x'
16008 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
16009
16010 int test (int i, double x);
16011 struct s1 {int (*f) (int a);};
16012 struct s2 {int (*f) (double a);};
16013 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
16014 int argc;
16015 char **argv;
16016 int
16017 main ()
16018 {
16019 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
16020 ;
16021 return 0;
16022 }
16023 _ACEOF
16024 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
16025 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
16026 do
16027 CC="$ac_save_CC $ac_arg"
16028 rm -f conftest.$ac_objext
16029 if { (ac_try="$ac_compile"
16030 case "(($ac_try" in
16031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16032 *) ac_try_echo=$ac_try;;
16033 esac
16034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16035 (eval "$ac_compile") 2>conftest.er1
16036 ac_status=$?
16037 grep -v '^ *+' conftest.er1 >conftest.err
16038 rm -f conftest.er1
16039 cat conftest.err >&5
16040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16041 (exit $ac_status); } && {
16042 test -z "$ac_c_werror_flag" ||
16043 test ! -s conftest.err
16044 } && test -s conftest.$ac_objext; then
16045 ac_cv_prog_cc_c89=$ac_arg
16046 else
16047 echo "$as_me: failed program was:" >&5
16048 sed 's/^/| /' conftest.$ac_ext >&5
16049
16050
16051 fi
16052
16053 rm -f core conftest.err conftest.$ac_objext
16054 test "x$ac_cv_prog_cc_c89" != "xno" && break
16055 done
16056 rm -f conftest.$ac_ext
16057 CC=$ac_save_CC
16058
16059 fi
16060 # AC_CACHE_VAL
16061 case "x$ac_cv_prog_cc_c89" in
16062 x)
16063 { echo "$as_me:$LINENO: result: none needed" >&5
16064 echo "${ECHO_T}none needed" >&6; } ;;
16065 xno)
16066 { echo "$as_me:$LINENO: result: unsupported" >&5
16067 echo "${ECHO_T}unsupported" >&6; } ;;
16068 *)
16069 CC="$CC $ac_cv_prog_cc_c89"
16070 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
16071 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
16072 esac
16073
16074
16075 ac_ext=c
16076 ac_cpp='$CPP $CPPFLAGS'
16077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16080
16081
16082
16083
16084
16085
16086
16087
16088 ac_ext=c
16089 ac_cpp='$CPP $CPPFLAGS'
16090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16093
16094 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
16095 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6; }
16096 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
16097 echo $ECHO_N "(cached) $ECHO_C" >&6
16098 else
16099 cat >conftest.$ac_ext <<_ACEOF
16100 /* confdefs.h. */
16101 _ACEOF
16102 cat confdefs.h >>conftest.$ac_ext
16103 cat >>conftest.$ac_ext <<_ACEOF
16104 /* end confdefs.h. */
16105
16106 int
16107 main ()
16108 {
16109
16110 #ifndef __INTEL_COMPILER
16111 choke me
16112 #endif
16113
16114 ;
16115 return 0;
16116 }
16117 _ACEOF
16118 rm -f conftest.$ac_objext
16119 if { (ac_try="$ac_compile"
16120 case "(($ac_try" in
16121 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16122 *) ac_try_echo=$ac_try;;
16123 esac
16124 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16125 (eval "$ac_compile") 2>conftest.er1
16126 ac_status=$?
16127 grep -v '^ *+' conftest.er1 >conftest.err
16128 rm -f conftest.er1
16129 cat conftest.err >&5
16130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16131 (exit $ac_status); } && {
16132 test -z "$ac_c_werror_flag" ||
16133 test ! -s conftest.err
16134 } && test -s conftest.$ac_objext; then
16135 bakefile_cv_c_compiler___INTEL_COMPILER=yes
16136 else
16137 echo "$as_me: failed program was:" >&5
16138 sed 's/^/| /' conftest.$ac_ext >&5
16139
16140 bakefile_cv_c_compiler___INTEL_COMPILER=no
16141
16142 fi
16143
16144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16145
16146
16147 fi
16148 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
16149 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
16150 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
16151 :; INTELCC=yes
16152 else
16153 :;
16154 fi
16155 ac_ext=c
16156 ac_cpp='$CPP $CPPFLAGS'
16157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16160
16161
16162
16163
16164 if test "$INTELCC" = "yes"; then
16165
16166
16167 ac_ext=c
16168 ac_cpp='$CPP $CPPFLAGS'
16169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16172
16173 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v8 or later" >&5
16174 echo $ECHO_N "checking whether we are using Intel C compiler v8 or later... $ECHO_C" >&6; }
16175 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_800+set}" = set; then
16176 echo $ECHO_N "(cached) $ECHO_C" >&6
16177 else
16178 cat >conftest.$ac_ext <<_ACEOF
16179 /* confdefs.h. */
16180 _ACEOF
16181 cat confdefs.h >>conftest.$ac_ext
16182 cat >>conftest.$ac_ext <<_ACEOF
16183 /* end confdefs.h. */
16184
16185 int
16186 main ()
16187 {
16188
16189 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
16190 choke me
16191 #endif
16192
16193 ;
16194 return 0;
16195 }
16196 _ACEOF
16197 rm -f conftest.$ac_objext
16198 if { (ac_try="$ac_compile"
16199 case "(($ac_try" in
16200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16201 *) ac_try_echo=$ac_try;;
16202 esac
16203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16204 (eval "$ac_compile") 2>conftest.er1
16205 ac_status=$?
16206 grep -v '^ *+' conftest.er1 >conftest.err
16207 rm -f conftest.er1
16208 cat conftest.err >&5
16209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16210 (exit $ac_status); } && {
16211 test -z "$ac_c_werror_flag" ||
16212 test ! -s conftest.err
16213 } && test -s conftest.$ac_objext; then
16214 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=yes
16215 else
16216 echo "$as_me: failed program was:" >&5
16217 sed 's/^/| /' conftest.$ac_ext >&5
16218
16219 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=no
16220
16221 fi
16222
16223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16224
16225
16226 fi
16227 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&5
16228 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&6; }
16229 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
16230 :; INTELCC8=yes
16231 else
16232 :;
16233 fi
16234 ac_ext=c
16235 ac_cpp='$CPP $CPPFLAGS'
16236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16239
16240
16241
16242
16243
16244 ac_ext=c
16245 ac_cpp='$CPP $CPPFLAGS'
16246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16249
16250 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v10 or later" >&5
16251 echo $ECHO_N "checking whether we are using Intel C compiler v10 or later... $ECHO_C" >&6; }
16252 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
16253 echo $ECHO_N "(cached) $ECHO_C" >&6
16254 else
16255 cat >conftest.$ac_ext <<_ACEOF
16256 /* confdefs.h. */
16257 _ACEOF
16258 cat confdefs.h >>conftest.$ac_ext
16259 cat >>conftest.$ac_ext <<_ACEOF
16260 /* end confdefs.h. */
16261
16262 int
16263 main ()
16264 {
16265
16266 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
16267 choke me
16268 #endif
16269
16270 ;
16271 return 0;
16272 }
16273 _ACEOF
16274 rm -f conftest.$ac_objext
16275 if { (ac_try="$ac_compile"
16276 case "(($ac_try" in
16277 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16278 *) ac_try_echo=$ac_try;;
16279 esac
16280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16281 (eval "$ac_compile") 2>conftest.er1
16282 ac_status=$?
16283 grep -v '^ *+' conftest.er1 >conftest.err
16284 rm -f conftest.er1
16285 cat conftest.err >&5
16286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16287 (exit $ac_status); } && {
16288 test -z "$ac_c_werror_flag" ||
16289 test ! -s conftest.err
16290 } && test -s conftest.$ac_objext; then
16291 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=yes
16292 else
16293 echo "$as_me: failed program was:" >&5
16294 sed 's/^/| /' conftest.$ac_ext >&5
16295
16296 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=no
16297
16298 fi
16299
16300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16301
16302
16303 fi
16304 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&5
16305 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&6; }
16306 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
16307 :; INTELCC10=yes
16308 else
16309 :;
16310 fi
16311 ac_ext=c
16312 ac_cpp='$CPP $CPPFLAGS'
16313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16316
16317
16318
16319 fi
16320
16321 if test "x$GCC" != "xyes"; then
16322 if test "xCC" = "xC"; then
16323 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
16324 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
16325 if test "${bakefile_cv_c_exto+set}" = set; then
16326 echo $ECHO_N "(cached) $ECHO_C" >&6
16327 else
16328 cat >conftest.$ac_ext <<_ACEOF
16329 /* confdefs.h. */
16330 _ACEOF
16331 cat confdefs.h >>conftest.$ac_ext
16332 cat >>conftest.$ac_ext <<_ACEOF
16333 /* end confdefs.h. */
16334
16335 int
16336 main ()
16337 {
16338
16339 ;
16340 return 0;
16341 }
16342 _ACEOF
16343 rm -f conftest.$ac_objext conftest.$ac_ext.o
16344 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16345 (eval $ac_compile) 2>&5
16346 ac_status=$?
16347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16348 (exit $ac_status); }; then
16349 for ac_file in `(ls conftest.* 2>/dev/null)`; do
16350 case $ac_file in
16351 conftest.$ac_ext.o)
16352 bakefile_cv_c_exto="-ext o"
16353 ;;
16354 *)
16355 ;;
16356 esac
16357 done
16358 else
16359 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
16360 See \`config.log' for more details." >&5
16361 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
16362 See \`config.log' for more details." >&2;}
16363 { (exit 1); exit 1; }; }
16364
16365 fi
16366
16367 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
16368
16369 fi
16370 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
16371 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
16372 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16373 if test "c" = "c"; then
16374 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
16375 fi
16376 if test "c" = "cxx"; then
16377 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
16378 fi
16379 fi
16380
16381 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16382 unset ac_cv_prog_cc_g
16383 ac_test_CFLAGS=${CFLAGS+set}
16384 ac_save_CFLAGS=$CFLAGS
16385 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
16386 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
16387 if test "${ac_cv_prog_cc_g+set}" = set; then
16388 echo $ECHO_N "(cached) $ECHO_C" >&6
16389 else
16390 ac_save_c_werror_flag=$ac_c_werror_flag
16391 ac_c_werror_flag=yes
16392 ac_cv_prog_cc_g=no
16393 CFLAGS="-g"
16394 cat >conftest.$ac_ext <<_ACEOF
16395 /* confdefs.h. */
16396 _ACEOF
16397 cat confdefs.h >>conftest.$ac_ext
16398 cat >>conftest.$ac_ext <<_ACEOF
16399 /* end confdefs.h. */
16400
16401 int
16402 main ()
16403 {
16404
16405 ;
16406 return 0;
16407 }
16408 _ACEOF
16409 rm -f conftest.$ac_objext
16410 if { (ac_try="$ac_compile"
16411 case "(($ac_try" in
16412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16413 *) ac_try_echo=$ac_try;;
16414 esac
16415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16416 (eval "$ac_compile") 2>conftest.er1
16417 ac_status=$?
16418 grep -v '^ *+' conftest.er1 >conftest.err
16419 rm -f conftest.er1
16420 cat conftest.err >&5
16421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16422 (exit $ac_status); } && {
16423 test -z "$ac_c_werror_flag" ||
16424 test ! -s conftest.err
16425 } && test -s conftest.$ac_objext; then
16426 ac_cv_prog_cc_g=yes
16427 else
16428 echo "$as_me: failed program was:" >&5
16429 sed 's/^/| /' conftest.$ac_ext >&5
16430
16431 CFLAGS=""
16432 cat >conftest.$ac_ext <<_ACEOF
16433 /* confdefs.h. */
16434 _ACEOF
16435 cat confdefs.h >>conftest.$ac_ext
16436 cat >>conftest.$ac_ext <<_ACEOF
16437 /* end confdefs.h. */
16438
16439 int
16440 main ()
16441 {
16442
16443 ;
16444 return 0;
16445 }
16446 _ACEOF
16447 rm -f conftest.$ac_objext
16448 if { (ac_try="$ac_compile"
16449 case "(($ac_try" in
16450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16451 *) ac_try_echo=$ac_try;;
16452 esac
16453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16454 (eval "$ac_compile") 2>conftest.er1
16455 ac_status=$?
16456 grep -v '^ *+' conftest.er1 >conftest.err
16457 rm -f conftest.er1
16458 cat conftest.err >&5
16459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16460 (exit $ac_status); } && {
16461 test -z "$ac_c_werror_flag" ||
16462 test ! -s conftest.err
16463 } && test -s conftest.$ac_objext; then
16464 :
16465 else
16466 echo "$as_me: failed program was:" >&5
16467 sed 's/^/| /' conftest.$ac_ext >&5
16468
16469 ac_c_werror_flag=$ac_save_c_werror_flag
16470 CFLAGS="-g"
16471 cat >conftest.$ac_ext <<_ACEOF
16472 /* confdefs.h. */
16473 _ACEOF
16474 cat confdefs.h >>conftest.$ac_ext
16475 cat >>conftest.$ac_ext <<_ACEOF
16476 /* end confdefs.h. */
16477
16478 int
16479 main ()
16480 {
16481
16482 ;
16483 return 0;
16484 }
16485 _ACEOF
16486 rm -f conftest.$ac_objext
16487 if { (ac_try="$ac_compile"
16488 case "(($ac_try" in
16489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16490 *) ac_try_echo=$ac_try;;
16491 esac
16492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16493 (eval "$ac_compile") 2>conftest.er1
16494 ac_status=$?
16495 grep -v '^ *+' conftest.er1 >conftest.err
16496 rm -f conftest.er1
16497 cat conftest.err >&5
16498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16499 (exit $ac_status); } && {
16500 test -z "$ac_c_werror_flag" ||
16501 test ! -s conftest.err
16502 } && test -s conftest.$ac_objext; then
16503 ac_cv_prog_cc_g=yes
16504 else
16505 echo "$as_me: failed program was:" >&5
16506 sed 's/^/| /' conftest.$ac_ext >&5
16507
16508
16509 fi
16510
16511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16512 fi
16513
16514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16515 fi
16516
16517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16518 ac_c_werror_flag=$ac_save_c_werror_flag
16519 fi
16520 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
16521 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
16522 if test "$ac_test_CFLAGS" = set; then
16523 CFLAGS=$ac_save_CFLAGS
16524 elif test $ac_cv_prog_cc_g = yes; then
16525 if test "$GCC" = yes; then
16526 CFLAGS="-g -O2"
16527 else
16528 CFLAGS="-g"
16529 fi
16530 else
16531 if test "$GCC" = yes; then
16532 CFLAGS="-O2"
16533 else
16534 CFLAGS=
16535 fi
16536 fi
16537 fi
16538 fi
16539
16540 case `uname -s` in
16541 AIX*)
16542
16543
16544 ac_ext=c
16545 ac_cpp='$CPP $CPPFLAGS'
16546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16549
16550 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
16551 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
16552 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
16553 echo $ECHO_N "(cached) $ECHO_C" >&6
16554 else
16555 cat >conftest.$ac_ext <<_ACEOF
16556 /* confdefs.h. */
16557 _ACEOF
16558 cat confdefs.h >>conftest.$ac_ext
16559 cat >>conftest.$ac_ext <<_ACEOF
16560 /* end confdefs.h. */
16561
16562 int
16563 main ()
16564 {
16565
16566 #ifndef __xlC__
16567 choke me
16568 #endif
16569
16570 ;
16571 return 0;
16572 }
16573 _ACEOF
16574 rm -f conftest.$ac_objext
16575 if { (ac_try="$ac_compile"
16576 case "(($ac_try" in
16577 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16578 *) ac_try_echo=$ac_try;;
16579 esac
16580 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16581 (eval "$ac_compile") 2>conftest.er1
16582 ac_status=$?
16583 grep -v '^ *+' conftest.er1 >conftest.err
16584 rm -f conftest.er1
16585 cat conftest.err >&5
16586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16587 (exit $ac_status); } && {
16588 test -z "$ac_c_werror_flag" ||
16589 test ! -s conftest.err
16590 } && test -s conftest.$ac_objext; then
16591 bakefile_cv_c_compiler___xlC__=yes
16592 else
16593 echo "$as_me: failed program was:" >&5
16594 sed 's/^/| /' conftest.$ac_ext >&5
16595
16596 bakefile_cv_c_compiler___xlC__=no
16597
16598 fi
16599
16600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16601
16602
16603 fi
16604 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
16605 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
16606 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
16607 :; XLCC=yes
16608 else
16609 :;
16610 fi
16611 ac_ext=c
16612 ac_cpp='$CPP $CPPFLAGS'
16613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16616
16617
16618
16619 ;;
16620
16621 Darwin)
16622
16623
16624 ac_ext=c
16625 ac_cpp='$CPP $CPPFLAGS'
16626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16629
16630 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
16631 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
16632 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
16633 echo $ECHO_N "(cached) $ECHO_C" >&6
16634 else
16635 cat >conftest.$ac_ext <<_ACEOF
16636 /* confdefs.h. */
16637 _ACEOF
16638 cat confdefs.h >>conftest.$ac_ext
16639 cat >>conftest.$ac_ext <<_ACEOF
16640 /* end confdefs.h. */
16641
16642 int
16643 main ()
16644 {
16645
16646 #ifndef __MWERKS__
16647 choke me
16648 #endif
16649
16650 ;
16651 return 0;
16652 }
16653 _ACEOF
16654 rm -f conftest.$ac_objext
16655 if { (ac_try="$ac_compile"
16656 case "(($ac_try" in
16657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16658 *) ac_try_echo=$ac_try;;
16659 esac
16660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16661 (eval "$ac_compile") 2>conftest.er1
16662 ac_status=$?
16663 grep -v '^ *+' conftest.er1 >conftest.err
16664 rm -f conftest.er1
16665 cat conftest.err >&5
16666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16667 (exit $ac_status); } && {
16668 test -z "$ac_c_werror_flag" ||
16669 test ! -s conftest.err
16670 } && test -s conftest.$ac_objext; then
16671 bakefile_cv_c_compiler___MWERKS__=yes
16672 else
16673 echo "$as_me: failed program was:" >&5
16674 sed 's/^/| /' conftest.$ac_ext >&5
16675
16676 bakefile_cv_c_compiler___MWERKS__=no
16677
16678 fi
16679
16680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16681
16682
16683 fi
16684 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
16685 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
16686 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
16687 :; MWCC=yes
16688 else
16689 :;
16690 fi
16691 ac_ext=c
16692 ac_cpp='$CPP $CPPFLAGS'
16693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16696
16697
16698
16699 if test "$MWCC" != "yes"; then
16700
16701
16702 ac_ext=c
16703 ac_cpp='$CPP $CPPFLAGS'
16704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16707
16708 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
16709 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
16710 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
16711 echo $ECHO_N "(cached) $ECHO_C" >&6
16712 else
16713 cat >conftest.$ac_ext <<_ACEOF
16714 /* confdefs.h. */
16715 _ACEOF
16716 cat confdefs.h >>conftest.$ac_ext
16717 cat >>conftest.$ac_ext <<_ACEOF
16718 /* end confdefs.h. */
16719
16720 int
16721 main ()
16722 {
16723
16724 #ifndef __xlC__
16725 choke me
16726 #endif
16727
16728 ;
16729 return 0;
16730 }
16731 _ACEOF
16732 rm -f conftest.$ac_objext
16733 if { (ac_try="$ac_compile"
16734 case "(($ac_try" in
16735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16736 *) ac_try_echo=$ac_try;;
16737 esac
16738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16739 (eval "$ac_compile") 2>conftest.er1
16740 ac_status=$?
16741 grep -v '^ *+' conftest.er1 >conftest.err
16742 rm -f conftest.er1
16743 cat conftest.err >&5
16744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16745 (exit $ac_status); } && {
16746 test -z "$ac_c_werror_flag" ||
16747 test ! -s conftest.err
16748 } && test -s conftest.$ac_objext; then
16749 bakefile_cv_c_compiler___xlC__=yes
16750 else
16751 echo "$as_me: failed program was:" >&5
16752 sed 's/^/| /' conftest.$ac_ext >&5
16753
16754 bakefile_cv_c_compiler___xlC__=no
16755
16756 fi
16757
16758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16759
16760
16761 fi
16762 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
16763 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
16764 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
16765 :; XLCC=yes
16766 else
16767 :;
16768 fi
16769 ac_ext=c
16770 ac_cpp='$CPP $CPPFLAGS'
16771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16774
16775
16776
16777 fi
16778 ;;
16779
16780 IRIX*)
16781
16782
16783 ac_ext=c
16784 ac_cpp='$CPP $CPPFLAGS'
16785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16788
16789 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
16790 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
16791 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
16792 echo $ECHO_N "(cached) $ECHO_C" >&6
16793 else
16794 cat >conftest.$ac_ext <<_ACEOF
16795 /* confdefs.h. */
16796 _ACEOF
16797 cat confdefs.h >>conftest.$ac_ext
16798 cat >>conftest.$ac_ext <<_ACEOF
16799 /* end confdefs.h. */
16800
16801 int
16802 main ()
16803 {
16804
16805 #ifndef _SGI_COMPILER_VERSION
16806 choke me
16807 #endif
16808
16809 ;
16810 return 0;
16811 }
16812 _ACEOF
16813 rm -f conftest.$ac_objext
16814 if { (ac_try="$ac_compile"
16815 case "(($ac_try" in
16816 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16817 *) ac_try_echo=$ac_try;;
16818 esac
16819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16820 (eval "$ac_compile") 2>conftest.er1
16821 ac_status=$?
16822 grep -v '^ *+' conftest.er1 >conftest.err
16823 rm -f conftest.er1
16824 cat conftest.err >&5
16825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16826 (exit $ac_status); } && {
16827 test -z "$ac_c_werror_flag" ||
16828 test ! -s conftest.err
16829 } && test -s conftest.$ac_objext; then
16830 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
16831 else
16832 echo "$as_me: failed program was:" >&5
16833 sed 's/^/| /' conftest.$ac_ext >&5
16834
16835 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
16836
16837 fi
16838
16839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16840
16841
16842 fi
16843 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
16844 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
16845 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
16846 :; SGICC=yes
16847 else
16848 :;
16849 fi
16850 ac_ext=c
16851 ac_cpp='$CPP $CPPFLAGS'
16852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16855
16856
16857
16858 ;;
16859
16860 Linux*)
16861 if test "$INTELCC" != "yes"; then
16862
16863
16864 ac_ext=c
16865 ac_cpp='$CPP $CPPFLAGS'
16866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16869
16870 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
16871 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
16872 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
16873 echo $ECHO_N "(cached) $ECHO_C" >&6
16874 else
16875 cat >conftest.$ac_ext <<_ACEOF
16876 /* confdefs.h. */
16877 _ACEOF
16878 cat confdefs.h >>conftest.$ac_ext
16879 cat >>conftest.$ac_ext <<_ACEOF
16880 /* end confdefs.h. */
16881
16882 int
16883 main ()
16884 {
16885
16886 #ifndef __SUNPRO_C
16887 choke me
16888 #endif
16889
16890 ;
16891 return 0;
16892 }
16893 _ACEOF
16894 rm -f conftest.$ac_objext
16895 if { (ac_try="$ac_compile"
16896 case "(($ac_try" in
16897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16898 *) ac_try_echo=$ac_try;;
16899 esac
16900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16901 (eval "$ac_compile") 2>conftest.er1
16902 ac_status=$?
16903 grep -v '^ *+' conftest.er1 >conftest.err
16904 rm -f conftest.er1
16905 cat conftest.err >&5
16906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16907 (exit $ac_status); } && {
16908 test -z "$ac_c_werror_flag" ||
16909 test ! -s conftest.err
16910 } && test -s conftest.$ac_objext; then
16911 bakefile_cv_c_compiler___SUNPRO_C=yes
16912 else
16913 echo "$as_me: failed program was:" >&5
16914 sed 's/^/| /' conftest.$ac_ext >&5
16915
16916 bakefile_cv_c_compiler___SUNPRO_C=no
16917
16918 fi
16919
16920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16921
16922
16923 fi
16924 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16925 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16926 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16927 :; SUNCC=yes
16928 else
16929 :;
16930 fi
16931 ac_ext=c
16932 ac_cpp='$CPP $CPPFLAGS'
16933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16936
16937
16938
16939 fi
16940 ;;
16941
16942 HP-UX*)
16943
16944
16945 ac_ext=c
16946 ac_cpp='$CPP $CPPFLAGS'
16947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16950
16951 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
16952 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
16953 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
16954 echo $ECHO_N "(cached) $ECHO_C" >&6
16955 else
16956 cat >conftest.$ac_ext <<_ACEOF
16957 /* confdefs.h. */
16958 _ACEOF
16959 cat confdefs.h >>conftest.$ac_ext
16960 cat >>conftest.$ac_ext <<_ACEOF
16961 /* end confdefs.h. */
16962
16963 int
16964 main ()
16965 {
16966
16967 #ifndef __HP_cc
16968 choke me
16969 #endif
16970
16971 ;
16972 return 0;
16973 }
16974 _ACEOF
16975 rm -f conftest.$ac_objext
16976 if { (ac_try="$ac_compile"
16977 case "(($ac_try" in
16978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16979 *) ac_try_echo=$ac_try;;
16980 esac
16981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16982 (eval "$ac_compile") 2>conftest.er1
16983 ac_status=$?
16984 grep -v '^ *+' conftest.er1 >conftest.err
16985 rm -f conftest.er1
16986 cat conftest.err >&5
16987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16988 (exit $ac_status); } && {
16989 test -z "$ac_c_werror_flag" ||
16990 test ! -s conftest.err
16991 } && test -s conftest.$ac_objext; then
16992 bakefile_cv_c_compiler___HP_cc=yes
16993 else
16994 echo "$as_me: failed program was:" >&5
16995 sed 's/^/| /' conftest.$ac_ext >&5
16996
16997 bakefile_cv_c_compiler___HP_cc=no
16998
16999 fi
17000
17001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17002
17003
17004 fi
17005 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
17006 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
17007 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
17008 :; HPCC=yes
17009 else
17010 :;
17011 fi
17012 ac_ext=c
17013 ac_cpp='$CPP $CPPFLAGS'
17014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17017
17018
17019
17020 ;;
17021
17022 OSF1)
17023
17024
17025 ac_ext=c
17026 ac_cpp='$CPP $CPPFLAGS'
17027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17030
17031 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
17032 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
17033 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
17034 echo $ECHO_N "(cached) $ECHO_C" >&6
17035 else
17036 cat >conftest.$ac_ext <<_ACEOF
17037 /* confdefs.h. */
17038 _ACEOF
17039 cat confdefs.h >>conftest.$ac_ext
17040 cat >>conftest.$ac_ext <<_ACEOF
17041 /* end confdefs.h. */
17042
17043 int
17044 main ()
17045 {
17046
17047 #ifndef __DECC
17048 choke me
17049 #endif
17050
17051 ;
17052 return 0;
17053 }
17054 _ACEOF
17055 rm -f conftest.$ac_objext
17056 if { (ac_try="$ac_compile"
17057 case "(($ac_try" in
17058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17059 *) ac_try_echo=$ac_try;;
17060 esac
17061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17062 (eval "$ac_compile") 2>conftest.er1
17063 ac_status=$?
17064 grep -v '^ *+' conftest.er1 >conftest.err
17065 rm -f conftest.er1
17066 cat conftest.err >&5
17067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17068 (exit $ac_status); } && {
17069 test -z "$ac_c_werror_flag" ||
17070 test ! -s conftest.err
17071 } && test -s conftest.$ac_objext; then
17072 bakefile_cv_c_compiler___DECC=yes
17073 else
17074 echo "$as_me: failed program was:" >&5
17075 sed 's/^/| /' conftest.$ac_ext >&5
17076
17077 bakefile_cv_c_compiler___DECC=no
17078
17079 fi
17080
17081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17082
17083
17084 fi
17085 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
17086 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
17087 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
17088 :; COMPAQCC=yes
17089 else
17090 :;
17091 fi
17092 ac_ext=c
17093 ac_cpp='$CPP $CPPFLAGS'
17094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17097
17098
17099
17100 ;;
17101
17102 SunOS)
17103
17104
17105 ac_ext=c
17106 ac_cpp='$CPP $CPPFLAGS'
17107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17110
17111 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
17112 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
17113 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
17114 echo $ECHO_N "(cached) $ECHO_C" >&6
17115 else
17116 cat >conftest.$ac_ext <<_ACEOF
17117 /* confdefs.h. */
17118 _ACEOF
17119 cat confdefs.h >>conftest.$ac_ext
17120 cat >>conftest.$ac_ext <<_ACEOF
17121 /* end confdefs.h. */
17122
17123 int
17124 main ()
17125 {
17126
17127 #ifndef __SUNPRO_C
17128 choke me
17129 #endif
17130
17131 ;
17132 return 0;
17133 }
17134 _ACEOF
17135 rm -f conftest.$ac_objext
17136 if { (ac_try="$ac_compile"
17137 case "(($ac_try" in
17138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17139 *) ac_try_echo=$ac_try;;
17140 esac
17141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17142 (eval "$ac_compile") 2>conftest.er1
17143 ac_status=$?
17144 grep -v '^ *+' conftest.er1 >conftest.err
17145 rm -f conftest.er1
17146 cat conftest.err >&5
17147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17148 (exit $ac_status); } && {
17149 test -z "$ac_c_werror_flag" ||
17150 test ! -s conftest.err
17151 } && test -s conftest.$ac_objext; then
17152 bakefile_cv_c_compiler___SUNPRO_C=yes
17153 else
17154 echo "$as_me: failed program was:" >&5
17155 sed 's/^/| /' conftest.$ac_ext >&5
17156
17157 bakefile_cv_c_compiler___SUNPRO_C=no
17158
17159 fi
17160
17161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17162
17163
17164 fi
17165 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
17166 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
17167 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
17168 :; SUNCC=yes
17169 else
17170 :;
17171 fi
17172 ac_ext=c
17173 ac_cpp='$CPP $CPPFLAGS'
17174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17177
17178
17179
17180 ;;
17181 esac
17182 fi
17183
17184
17185
17186 ac_ext=c
17187 ac_cpp='$CPP $CPPFLAGS'
17188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17191 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
17192 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
17193 # On Suns, sometimes $CPP names a directory.
17194 if test -n "$CPP" && test -d "$CPP"; then
17195 CPP=
17196 fi
17197 if test -z "$CPP"; then
17198 if test "${ac_cv_prog_CPP+set}" = set; then
17199 echo $ECHO_N "(cached) $ECHO_C" >&6
17200 else
17201 # Double quotes because CPP needs to be expanded
17202 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
17203 do
17204 ac_preproc_ok=false
17205 for ac_c_preproc_warn_flag in '' yes
17206 do
17207 # Use a header file that comes with gcc, so configuring glibc
17208 # with a fresh cross-compiler works.
17209 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17210 # <limits.h> exists even on freestanding compilers.
17211 # On the NeXT, cc -E runs the code through the compiler's parser,
17212 # not just through cpp. "Syntax error" is here to catch this case.
17213 cat >conftest.$ac_ext <<_ACEOF
17214 /* confdefs.h. */
17215 _ACEOF
17216 cat confdefs.h >>conftest.$ac_ext
17217 cat >>conftest.$ac_ext <<_ACEOF
17218 /* end confdefs.h. */
17219 #ifdef __STDC__
17220 # include <limits.h>
17221 #else
17222 # include <assert.h>
17223 #endif
17224 Syntax error
17225 _ACEOF
17226 if { (ac_try="$ac_cpp conftest.$ac_ext"
17227 case "(($ac_try" in
17228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17229 *) ac_try_echo=$ac_try;;
17230 esac
17231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17232 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17233 ac_status=$?
17234 grep -v '^ *+' conftest.er1 >conftest.err
17235 rm -f conftest.er1
17236 cat conftest.err >&5
17237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17238 (exit $ac_status); } >/dev/null && {
17239 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17240 test ! -s conftest.err
17241 }; then
17242 :
17243 else
17244 echo "$as_me: failed program was:" >&5
17245 sed 's/^/| /' conftest.$ac_ext >&5
17246
17247 # Broken: fails on valid input.
17248 continue
17249 fi
17250
17251 rm -f conftest.err conftest.$ac_ext
17252
17253 # OK, works on sane cases. Now check whether nonexistent headers
17254 # can be detected and how.
17255 cat >conftest.$ac_ext <<_ACEOF
17256 /* confdefs.h. */
17257 _ACEOF
17258 cat confdefs.h >>conftest.$ac_ext
17259 cat >>conftest.$ac_ext <<_ACEOF
17260 /* end confdefs.h. */
17261 #include <ac_nonexistent.h>
17262 _ACEOF
17263 if { (ac_try="$ac_cpp conftest.$ac_ext"
17264 case "(($ac_try" in
17265 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17266 *) ac_try_echo=$ac_try;;
17267 esac
17268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17269 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17270 ac_status=$?
17271 grep -v '^ *+' conftest.er1 >conftest.err
17272 rm -f conftest.er1
17273 cat conftest.err >&5
17274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17275 (exit $ac_status); } >/dev/null && {
17276 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17277 test ! -s conftest.err
17278 }; then
17279 # Broken: success on invalid input.
17280 continue
17281 else
17282 echo "$as_me: failed program was:" >&5
17283 sed 's/^/| /' conftest.$ac_ext >&5
17284
17285 # Passes both tests.
17286 ac_preproc_ok=:
17287 break
17288 fi
17289
17290 rm -f conftest.err conftest.$ac_ext
17291
17292 done
17293 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17294 rm -f conftest.err conftest.$ac_ext
17295 if $ac_preproc_ok; then
17296 break
17297 fi
17298
17299 done
17300 ac_cv_prog_CPP=$CPP
17301
17302 fi
17303 CPP=$ac_cv_prog_CPP
17304 else
17305 ac_cv_prog_CPP=$CPP
17306 fi
17307 { echo "$as_me:$LINENO: result: $CPP" >&5
17308 echo "${ECHO_T}$CPP" >&6; }
17309 ac_preproc_ok=false
17310 for ac_c_preproc_warn_flag in '' yes
17311 do
17312 # Use a header file that comes with gcc, so configuring glibc
17313 # with a fresh cross-compiler works.
17314 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17315 # <limits.h> exists even on freestanding compilers.
17316 # On the NeXT, cc -E runs the code through the compiler's parser,
17317 # not just through cpp. "Syntax error" is here to catch this case.
17318 cat >conftest.$ac_ext <<_ACEOF
17319 /* confdefs.h. */
17320 _ACEOF
17321 cat confdefs.h >>conftest.$ac_ext
17322 cat >>conftest.$ac_ext <<_ACEOF
17323 /* end confdefs.h. */
17324 #ifdef __STDC__
17325 # include <limits.h>
17326 #else
17327 # include <assert.h>
17328 #endif
17329 Syntax error
17330 _ACEOF
17331 if { (ac_try="$ac_cpp conftest.$ac_ext"
17332 case "(($ac_try" in
17333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17334 *) ac_try_echo=$ac_try;;
17335 esac
17336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17337 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17338 ac_status=$?
17339 grep -v '^ *+' conftest.er1 >conftest.err
17340 rm -f conftest.er1
17341 cat conftest.err >&5
17342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17343 (exit $ac_status); } >/dev/null && {
17344 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17345 test ! -s conftest.err
17346 }; then
17347 :
17348 else
17349 echo "$as_me: failed program was:" >&5
17350 sed 's/^/| /' conftest.$ac_ext >&5
17351
17352 # Broken: fails on valid input.
17353 continue
17354 fi
17355
17356 rm -f conftest.err conftest.$ac_ext
17357
17358 # OK, works on sane cases. Now check whether nonexistent headers
17359 # can be detected and how.
17360 cat >conftest.$ac_ext <<_ACEOF
17361 /* confdefs.h. */
17362 _ACEOF
17363 cat confdefs.h >>conftest.$ac_ext
17364 cat >>conftest.$ac_ext <<_ACEOF
17365 /* end confdefs.h. */
17366 #include <ac_nonexistent.h>
17367 _ACEOF
17368 if { (ac_try="$ac_cpp conftest.$ac_ext"
17369 case "(($ac_try" in
17370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17371 *) ac_try_echo=$ac_try;;
17372 esac
17373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17374 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17375 ac_status=$?
17376 grep -v '^ *+' conftest.er1 >conftest.err
17377 rm -f conftest.er1
17378 cat conftest.err >&5
17379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17380 (exit $ac_status); } >/dev/null && {
17381 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17382 test ! -s conftest.err
17383 }; then
17384 # Broken: success on invalid input.
17385 continue
17386 else
17387 echo "$as_me: failed program was:" >&5
17388 sed 's/^/| /' conftest.$ac_ext >&5
17389
17390 # Passes both tests.
17391 ac_preproc_ok=:
17392 break
17393 fi
17394
17395 rm -f conftest.err conftest.$ac_ext
17396
17397 done
17398 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17399 rm -f conftest.err conftest.$ac_ext
17400 if $ac_preproc_ok; then
17401 :
17402 else
17403 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
17404 See \`config.log' for more details." >&5
17405 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
17406 See \`config.log' for more details." >&2;}
17407 { (exit 1); exit 1; }; }
17408 fi
17409
17410 ac_ext=c
17411 ac_cpp='$CPP $CPPFLAGS'
17412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17415
17416
17417 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
17418 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
17419 if test "${ac_cv_path_GREP+set}" = set; then
17420 echo $ECHO_N "(cached) $ECHO_C" >&6
17421 else
17422 # Extract the first word of "grep ggrep" to use in msg output
17423 if test -z "$GREP"; then
17424 set dummy grep ggrep; ac_prog_name=$2
17425 if test "${ac_cv_path_GREP+set}" = set; then
17426 echo $ECHO_N "(cached) $ECHO_C" >&6
17427 else
17428 ac_path_GREP_found=false
17429 # Loop through the user's path and test for each of PROGNAME-LIST
17430 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17431 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
17432 do
17433 IFS=$as_save_IFS
17434 test -z "$as_dir" && as_dir=.
17435 for ac_prog in grep ggrep; do
17436 for ac_exec_ext in '' $ac_executable_extensions; do
17437 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
17438 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
17439 # Check for GNU ac_path_GREP and select it if it is found.
17440 # Check for GNU $ac_path_GREP
17441 case `"$ac_path_GREP" --version 2>&1` in
17442 *GNU*)
17443 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
17444 *)
17445 ac_count=0
17446 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
17447 while :
17448 do
17449 cat "conftest.in" "conftest.in" >"conftest.tmp"
17450 mv "conftest.tmp" "conftest.in"
17451 cp "conftest.in" "conftest.nl"
17452 echo 'GREP' >> "conftest.nl"
17453 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
17454 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
17455 ac_count=`expr $ac_count + 1`
17456 if test $ac_count -gt ${ac_path_GREP_max-0}; then
17457 # Best one so far, save it but keep looking for a better one
17458 ac_cv_path_GREP="$ac_path_GREP"
17459 ac_path_GREP_max=$ac_count
17460 fi
17461 # 10*(2^10) chars as input seems more than enough
17462 test $ac_count -gt 10 && break
17463 done
17464 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
17465 esac
17466
17467
17468 $ac_path_GREP_found && break 3
17469 done
17470 done
17471
17472 done
17473 IFS=$as_save_IFS
17474
17475
17476 fi
17477
17478 GREP="$ac_cv_path_GREP"
17479 if test -z "$GREP"; then
17480 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
17481 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
17482 { (exit 1); exit 1; }; }
17483 fi
17484
17485 else
17486 ac_cv_path_GREP=$GREP
17487 fi
17488
17489
17490 fi
17491 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
17492 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
17493 GREP="$ac_cv_path_GREP"
17494
17495
17496 { echo "$as_me:$LINENO: checking for egrep" >&5
17497 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
17498 if test "${ac_cv_path_EGREP+set}" = set; then
17499 echo $ECHO_N "(cached) $ECHO_C" >&6
17500 else
17501 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
17502 then ac_cv_path_EGREP="$GREP -E"
17503 else
17504 # Extract the first word of "egrep" to use in msg output
17505 if test -z "$EGREP"; then
17506 set dummy egrep; ac_prog_name=$2
17507 if test "${ac_cv_path_EGREP+set}" = set; then
17508 echo $ECHO_N "(cached) $ECHO_C" >&6
17509 else
17510 ac_path_EGREP_found=false
17511 # Loop through the user's path and test for each of PROGNAME-LIST
17512 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17513 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
17514 do
17515 IFS=$as_save_IFS
17516 test -z "$as_dir" && as_dir=.
17517 for ac_prog in egrep; do
17518 for ac_exec_ext in '' $ac_executable_extensions; do
17519 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
17520 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
17521 # Check for GNU ac_path_EGREP and select it if it is found.
17522 # Check for GNU $ac_path_EGREP
17523 case `"$ac_path_EGREP" --version 2>&1` in
17524 *GNU*)
17525 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
17526 *)
17527 ac_count=0
17528 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
17529 while :
17530 do
17531 cat "conftest.in" "conftest.in" >"conftest.tmp"
17532 mv "conftest.tmp" "conftest.in"
17533 cp "conftest.in" "conftest.nl"
17534 echo 'EGREP' >> "conftest.nl"
17535 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
17536 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
17537 ac_count=`expr $ac_count + 1`
17538 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
17539 # Best one so far, save it but keep looking for a better one
17540 ac_cv_path_EGREP="$ac_path_EGREP"
17541 ac_path_EGREP_max=$ac_count
17542 fi
17543 # 10*(2^10) chars as input seems more than enough
17544 test $ac_count -gt 10 && break
17545 done
17546 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
17547 esac
17548
17549
17550 $ac_path_EGREP_found && break 3
17551 done
17552 done
17553
17554 done
17555 IFS=$as_save_IFS
17556
17557
17558 fi
17559
17560 EGREP="$ac_cv_path_EGREP"
17561 if test -z "$EGREP"; then
17562 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
17563 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
17564 { (exit 1); exit 1; }; }
17565 fi
17566
17567 else
17568 ac_cv_path_EGREP=$EGREP
17569 fi
17570
17571
17572 fi
17573 fi
17574 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
17575 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
17576 EGREP="$ac_cv_path_EGREP"
17577
17578
17579 if test $ac_cv_c_compiler_gnu = yes; then
17580 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
17581 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
17582 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
17583 echo $ECHO_N "(cached) $ECHO_C" >&6
17584 else
17585 ac_pattern="Autoconf.*'x'"
17586 cat >conftest.$ac_ext <<_ACEOF
17587 /* confdefs.h. */
17588 _ACEOF
17589 cat confdefs.h >>conftest.$ac_ext
17590 cat >>conftest.$ac_ext <<_ACEOF
17591 /* end confdefs.h. */
17592 #include <sgtty.h>
17593 Autoconf TIOCGETP
17594 _ACEOF
17595 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17596 $EGREP "$ac_pattern" >/dev/null 2>&1; then
17597 ac_cv_prog_gcc_traditional=yes
17598 else
17599 ac_cv_prog_gcc_traditional=no
17600 fi
17601 rm -f conftest*
17602
17603
17604 if test $ac_cv_prog_gcc_traditional = no; then
17605 cat >conftest.$ac_ext <<_ACEOF
17606 /* confdefs.h. */
17607 _ACEOF
17608 cat confdefs.h >>conftest.$ac_ext
17609 cat >>conftest.$ac_ext <<_ACEOF
17610 /* end confdefs.h. */
17611 #include <termio.h>
17612 Autoconf TCGETA
17613 _ACEOF
17614 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17615 $EGREP "$ac_pattern" >/dev/null 2>&1; then
17616 ac_cv_prog_gcc_traditional=yes
17617 fi
17618 rm -f conftest*
17619
17620 fi
17621 fi
17622 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
17623 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
17624 if test $ac_cv_prog_gcc_traditional = yes; then
17625 CC="$CC -traditional"
17626 fi
17627 fi
17628
17629
17630 CXXFLAGS=${CXXFLAGS:=}
17631 ac_ext=cpp
17632 ac_cpp='$CXXCPP $CPPFLAGS'
17633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17636 if test -z "$CXX"; then
17637 if test -n "$CCC"; then
17638 CXX=$CCC
17639 else
17640 if test -n "$ac_tool_prefix"; then
17641 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
17642 do
17643 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
17644 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
17645 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17646 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17647 if test "${ac_cv_prog_CXX+set}" = set; then
17648 echo $ECHO_N "(cached) $ECHO_C" >&6
17649 else
17650 if test -n "$CXX"; then
17651 ac_cv_prog_CXX="$CXX" # Let the user override the test.
17652 else
17653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17654 for as_dir in $PATH
17655 do
17656 IFS=$as_save_IFS
17657 test -z "$as_dir" && as_dir=.
17658 for ac_exec_ext in '' $ac_executable_extensions; do
17659 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17660 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
17661 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17662 break 2
17663 fi
17664 done
17665 done
17666 IFS=$as_save_IFS
17667
17668 fi
17669 fi
17670 CXX=$ac_cv_prog_CXX
17671 if test -n "$CXX"; then
17672 { echo "$as_me:$LINENO: result: $CXX" >&5
17673 echo "${ECHO_T}$CXX" >&6; }
17674 else
17675 { echo "$as_me:$LINENO: result: no" >&5
17676 echo "${ECHO_T}no" >&6; }
17677 fi
17678
17679
17680 test -n "$CXX" && break
17681 done
17682 fi
17683 if test -z "$CXX"; then
17684 ac_ct_CXX=$CXX
17685 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
17686 do
17687 # Extract the first word of "$ac_prog", so it can be a program name with args.
17688 set dummy $ac_prog; ac_word=$2
17689 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17690 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17691 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
17692 echo $ECHO_N "(cached) $ECHO_C" >&6
17693 else
17694 if test -n "$ac_ct_CXX"; then
17695 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
17696 else
17697 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17698 for as_dir in $PATH
17699 do
17700 IFS=$as_save_IFS
17701 test -z "$as_dir" && as_dir=.
17702 for ac_exec_ext in '' $ac_executable_extensions; do
17703 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17704 ac_cv_prog_ac_ct_CXX="$ac_prog"
17705 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17706 break 2
17707 fi
17708 done
17709 done
17710 IFS=$as_save_IFS
17711
17712 fi
17713 fi
17714 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
17715 if test -n "$ac_ct_CXX"; then
17716 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
17717 echo "${ECHO_T}$ac_ct_CXX" >&6; }
17718 else
17719 { echo "$as_me:$LINENO: result: no" >&5
17720 echo "${ECHO_T}no" >&6; }
17721 fi
17722
17723
17724 test -n "$ac_ct_CXX" && break
17725 done
17726
17727 if test "x$ac_ct_CXX" = x; then
17728 CXX="g++"
17729 else
17730 case $cross_compiling:$ac_tool_warned in
17731 yes:)
17732 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
17733 whose name does not start with the host triplet. If you think this
17734 configuration is useful to you, please write to autoconf@gnu.org." >&5
17735 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
17736 whose name does not start with the host triplet. If you think this
17737 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
17738 ac_tool_warned=yes ;;
17739 esac
17740 CXX=$ac_ct_CXX
17741 fi
17742 fi
17743
17744 fi
17745 fi
17746 # Provide some information about the compiler.
17747 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
17748 ac_compiler=`set X $ac_compile; echo $2`
17749 { (ac_try="$ac_compiler --version >&5"
17750 case "(($ac_try" in
17751 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17752 *) ac_try_echo=$ac_try;;
17753 esac
17754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17755 (eval "$ac_compiler --version >&5") 2>&5
17756 ac_status=$?
17757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17758 (exit $ac_status); }
17759 { (ac_try="$ac_compiler -v >&5"
17760 case "(($ac_try" in
17761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17762 *) ac_try_echo=$ac_try;;
17763 esac
17764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17765 (eval "$ac_compiler -v >&5") 2>&5
17766 ac_status=$?
17767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17768 (exit $ac_status); }
17769 { (ac_try="$ac_compiler -V >&5"
17770 case "(($ac_try" in
17771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17772 *) ac_try_echo=$ac_try;;
17773 esac
17774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17775 (eval "$ac_compiler -V >&5") 2>&5
17776 ac_status=$?
17777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17778 (exit $ac_status); }
17779
17780 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
17781 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
17782 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
17783 echo $ECHO_N "(cached) $ECHO_C" >&6
17784 else
17785 cat >conftest.$ac_ext <<_ACEOF
17786 /* confdefs.h. */
17787 _ACEOF
17788 cat confdefs.h >>conftest.$ac_ext
17789 cat >>conftest.$ac_ext <<_ACEOF
17790 /* end confdefs.h. */
17791
17792 int
17793 main ()
17794 {
17795 #ifndef __GNUC__
17796 choke me
17797 #endif
17798
17799 ;
17800 return 0;
17801 }
17802 _ACEOF
17803 rm -f conftest.$ac_objext
17804 if { (ac_try="$ac_compile"
17805 case "(($ac_try" in
17806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17807 *) ac_try_echo=$ac_try;;
17808 esac
17809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17810 (eval "$ac_compile") 2>conftest.er1
17811 ac_status=$?
17812 grep -v '^ *+' conftest.er1 >conftest.err
17813 rm -f conftest.er1
17814 cat conftest.err >&5
17815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17816 (exit $ac_status); } && {
17817 test -z "$ac_cxx_werror_flag" ||
17818 test ! -s conftest.err
17819 } && test -s conftest.$ac_objext; then
17820 ac_compiler_gnu=yes
17821 else
17822 echo "$as_me: failed program was:" >&5
17823 sed 's/^/| /' conftest.$ac_ext >&5
17824
17825 ac_compiler_gnu=no
17826 fi
17827
17828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17829 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
17830
17831 fi
17832 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
17833 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
17834 GXX=`test $ac_compiler_gnu = yes && echo yes`
17835 ac_test_CXXFLAGS=${CXXFLAGS+set}
17836 ac_save_CXXFLAGS=$CXXFLAGS
17837 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
17838 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
17839 if test "${ac_cv_prog_cxx_g+set}" = set; then
17840 echo $ECHO_N "(cached) $ECHO_C" >&6
17841 else
17842 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
17843 ac_cxx_werror_flag=yes
17844 ac_cv_prog_cxx_g=no
17845 CXXFLAGS="-g"
17846 cat >conftest.$ac_ext <<_ACEOF
17847 /* confdefs.h. */
17848 _ACEOF
17849 cat confdefs.h >>conftest.$ac_ext
17850 cat >>conftest.$ac_ext <<_ACEOF
17851 /* end confdefs.h. */
17852
17853 int
17854 main ()
17855 {
17856
17857 ;
17858 return 0;
17859 }
17860 _ACEOF
17861 rm -f conftest.$ac_objext
17862 if { (ac_try="$ac_compile"
17863 case "(($ac_try" in
17864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17865 *) ac_try_echo=$ac_try;;
17866 esac
17867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17868 (eval "$ac_compile") 2>conftest.er1
17869 ac_status=$?
17870 grep -v '^ *+' conftest.er1 >conftest.err
17871 rm -f conftest.er1
17872 cat conftest.err >&5
17873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17874 (exit $ac_status); } && {
17875 test -z "$ac_cxx_werror_flag" ||
17876 test ! -s conftest.err
17877 } && test -s conftest.$ac_objext; then
17878 ac_cv_prog_cxx_g=yes
17879 else
17880 echo "$as_me: failed program was:" >&5
17881 sed 's/^/| /' conftest.$ac_ext >&5
17882
17883 CXXFLAGS=""
17884 cat >conftest.$ac_ext <<_ACEOF
17885 /* confdefs.h. */
17886 _ACEOF
17887 cat confdefs.h >>conftest.$ac_ext
17888 cat >>conftest.$ac_ext <<_ACEOF
17889 /* end confdefs.h. */
17890
17891 int
17892 main ()
17893 {
17894
17895 ;
17896 return 0;
17897 }
17898 _ACEOF
17899 rm -f conftest.$ac_objext
17900 if { (ac_try="$ac_compile"
17901 case "(($ac_try" in
17902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17903 *) ac_try_echo=$ac_try;;
17904 esac
17905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17906 (eval "$ac_compile") 2>conftest.er1
17907 ac_status=$?
17908 grep -v '^ *+' conftest.er1 >conftest.err
17909 rm -f conftest.er1
17910 cat conftest.err >&5
17911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17912 (exit $ac_status); } && {
17913 test -z "$ac_cxx_werror_flag" ||
17914 test ! -s conftest.err
17915 } && test -s conftest.$ac_objext; then
17916 :
17917 else
17918 echo "$as_me: failed program was:" >&5
17919 sed 's/^/| /' conftest.$ac_ext >&5
17920
17921 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
17922 CXXFLAGS="-g"
17923 cat >conftest.$ac_ext <<_ACEOF
17924 /* confdefs.h. */
17925 _ACEOF
17926 cat confdefs.h >>conftest.$ac_ext
17927 cat >>conftest.$ac_ext <<_ACEOF
17928 /* end confdefs.h. */
17929
17930 int
17931 main ()
17932 {
17933
17934 ;
17935 return 0;
17936 }
17937 _ACEOF
17938 rm -f conftest.$ac_objext
17939 if { (ac_try="$ac_compile"
17940 case "(($ac_try" in
17941 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17942 *) ac_try_echo=$ac_try;;
17943 esac
17944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17945 (eval "$ac_compile") 2>conftest.er1
17946 ac_status=$?
17947 grep -v '^ *+' conftest.er1 >conftest.err
17948 rm -f conftest.er1
17949 cat conftest.err >&5
17950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17951 (exit $ac_status); } && {
17952 test -z "$ac_cxx_werror_flag" ||
17953 test ! -s conftest.err
17954 } && test -s conftest.$ac_objext; then
17955 ac_cv_prog_cxx_g=yes
17956 else
17957 echo "$as_me: failed program was:" >&5
17958 sed 's/^/| /' conftest.$ac_ext >&5
17959
17960
17961 fi
17962
17963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17964 fi
17965
17966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17967 fi
17968
17969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17970 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
17971 fi
17972 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
17973 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
17974 if test "$ac_test_CXXFLAGS" = set; then
17975 CXXFLAGS=$ac_save_CXXFLAGS
17976 elif test $ac_cv_prog_cxx_g = yes; then
17977 if test "$GXX" = yes; then
17978 CXXFLAGS="-g -O2"
17979 else
17980 CXXFLAGS="-g"
17981 fi
17982 else
17983 if test "$GXX" = yes; then
17984 CXXFLAGS="-O2"
17985 else
17986 CXXFLAGS=
17987 fi
17988 fi
17989 ac_ext=c
17990 ac_cpp='$CPP $CPPFLAGS'
17991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17994
17995
17996
17997
17998
17999
18000
18001
18002 ac_ext=cpp
18003 ac_cpp='$CXXCPP $CPPFLAGS'
18004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18007
18008 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
18009 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
18010 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
18011 echo $ECHO_N "(cached) $ECHO_C" >&6
18012 else
18013 cat >conftest.$ac_ext <<_ACEOF
18014 /* confdefs.h. */
18015 _ACEOF
18016 cat confdefs.h >>conftest.$ac_ext
18017 cat >>conftest.$ac_ext <<_ACEOF
18018 /* end confdefs.h. */
18019
18020 int
18021 main ()
18022 {
18023
18024 #ifndef __INTEL_COMPILER
18025 choke me
18026 #endif
18027
18028 ;
18029 return 0;
18030 }
18031 _ACEOF
18032 rm -f conftest.$ac_objext
18033 if { (ac_try="$ac_compile"
18034 case "(($ac_try" in
18035 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18036 *) ac_try_echo=$ac_try;;
18037 esac
18038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18039 (eval "$ac_compile") 2>conftest.er1
18040 ac_status=$?
18041 grep -v '^ *+' conftest.er1 >conftest.err
18042 rm -f conftest.er1
18043 cat conftest.err >&5
18044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18045 (exit $ac_status); } && {
18046 test -z "$ac_cxx_werror_flag" ||
18047 test ! -s conftest.err
18048 } && test -s conftest.$ac_objext; then
18049 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
18050 else
18051 echo "$as_me: failed program was:" >&5
18052 sed 's/^/| /' conftest.$ac_ext >&5
18053
18054 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
18055
18056 fi
18057
18058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18059
18060
18061 fi
18062 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
18063 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
18064 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
18065 :; INTELCXX=yes
18066 else
18067 :;
18068 fi
18069 ac_ext=c
18070 ac_cpp='$CPP $CPPFLAGS'
18071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18074
18075
18076
18077
18078 if test "$INTELCXX" = "yes"; then
18079
18080
18081 ac_ext=cpp
18082 ac_cpp='$CXXCPP $CPPFLAGS'
18083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18086
18087 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v8 or later" >&5
18088 echo $ECHO_N "checking whether we are using Intel C++ compiler v8 or later... $ECHO_C" >&6; }
18089 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800+set}" = set; then
18090 echo $ECHO_N "(cached) $ECHO_C" >&6
18091 else
18092 cat >conftest.$ac_ext <<_ACEOF
18093 /* confdefs.h. */
18094 _ACEOF
18095 cat confdefs.h >>conftest.$ac_ext
18096 cat >>conftest.$ac_ext <<_ACEOF
18097 /* end confdefs.h. */
18098
18099 int
18100 main ()
18101 {
18102
18103 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
18104 choke me
18105 #endif
18106
18107 ;
18108 return 0;
18109 }
18110 _ACEOF
18111 rm -f conftest.$ac_objext
18112 if { (ac_try="$ac_compile"
18113 case "(($ac_try" in
18114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18115 *) ac_try_echo=$ac_try;;
18116 esac
18117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18118 (eval "$ac_compile") 2>conftest.er1
18119 ac_status=$?
18120 grep -v '^ *+' conftest.er1 >conftest.err
18121 rm -f conftest.er1
18122 cat conftest.err >&5
18123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18124 (exit $ac_status); } && {
18125 test -z "$ac_cxx_werror_flag" ||
18126 test ! -s conftest.err
18127 } && test -s conftest.$ac_objext; then
18128 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=yes
18129 else
18130 echo "$as_me: failed program was:" >&5
18131 sed 's/^/| /' conftest.$ac_ext >&5
18132
18133 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=no
18134
18135 fi
18136
18137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18138
18139
18140 fi
18141 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&5
18142 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&6; }
18143 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
18144 :; INTELCXX8=yes
18145 else
18146 :;
18147 fi
18148 ac_ext=c
18149 ac_cpp='$CPP $CPPFLAGS'
18150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18153
18154
18155
18156
18157
18158 ac_ext=cpp
18159 ac_cpp='$CXXCPP $CPPFLAGS'
18160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18163
18164 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v10 or later" >&5
18165 echo $ECHO_N "checking whether we are using Intel C++ compiler v10 or later... $ECHO_C" >&6; }
18166 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
18167 echo $ECHO_N "(cached) $ECHO_C" >&6
18168 else
18169 cat >conftest.$ac_ext <<_ACEOF
18170 /* confdefs.h. */
18171 _ACEOF
18172 cat confdefs.h >>conftest.$ac_ext
18173 cat >>conftest.$ac_ext <<_ACEOF
18174 /* end confdefs.h. */
18175
18176 int
18177 main ()
18178 {
18179
18180 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
18181 choke me
18182 #endif
18183
18184 ;
18185 return 0;
18186 }
18187 _ACEOF
18188 rm -f conftest.$ac_objext
18189 if { (ac_try="$ac_compile"
18190 case "(($ac_try" in
18191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18192 *) ac_try_echo=$ac_try;;
18193 esac
18194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18195 (eval "$ac_compile") 2>conftest.er1
18196 ac_status=$?
18197 grep -v '^ *+' conftest.er1 >conftest.err
18198 rm -f conftest.er1
18199 cat conftest.err >&5
18200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18201 (exit $ac_status); } && {
18202 test -z "$ac_cxx_werror_flag" ||
18203 test ! -s conftest.err
18204 } && test -s conftest.$ac_objext; then
18205 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=yes
18206 else
18207 echo "$as_me: failed program was:" >&5
18208 sed 's/^/| /' conftest.$ac_ext >&5
18209
18210 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=no
18211
18212 fi
18213
18214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18215
18216
18217 fi
18218 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&5
18219 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&6; }
18220 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
18221 :; INTELCXX10=yes
18222 else
18223 :;
18224 fi
18225 ac_ext=c
18226 ac_cpp='$CPP $CPPFLAGS'
18227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18230
18231
18232
18233 fi
18234
18235 if test "x$GCXX" != "xyes"; then
18236 if test "xCXX" = "xC"; then
18237 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
18238 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
18239 if test "${bakefile_cv_c_exto+set}" = set; then
18240 echo $ECHO_N "(cached) $ECHO_C" >&6
18241 else
18242 cat >conftest.$ac_ext <<_ACEOF
18243 /* confdefs.h. */
18244 _ACEOF
18245 cat confdefs.h >>conftest.$ac_ext
18246 cat >>conftest.$ac_ext <<_ACEOF
18247 /* end confdefs.h. */
18248
18249 int
18250 main ()
18251 {
18252
18253 ;
18254 return 0;
18255 }
18256 _ACEOF
18257 rm -f conftest.$ac_objext conftest.$ac_ext.o
18258 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18259 (eval $ac_compile) 2>&5
18260 ac_status=$?
18261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18262 (exit $ac_status); }; then
18263 for ac_file in `(ls conftest.* 2>/dev/null)`; do
18264 case $ac_file in
18265 conftest.$ac_ext.o)
18266 bakefile_cv_c_exto="-ext o"
18267 ;;
18268 *)
18269 ;;
18270 esac
18271 done
18272 else
18273 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
18274 See \`config.log' for more details." >&5
18275 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
18276 See \`config.log' for more details." >&2;}
18277 { (exit 1); exit 1; }; }
18278
18279 fi
18280
18281 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
18282
18283 fi
18284 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
18285 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
18286 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18287 if test "c" = "c"; then
18288 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
18289 fi
18290 if test "c" = "cxx"; then
18291 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
18292 fi
18293 fi
18294
18295 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18296 unset ac_cv_prog_cc_g
18297 ac_test_CFLAGS=${CFLAGS+set}
18298 ac_save_CFLAGS=$CFLAGS
18299 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
18300 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
18301 if test "${ac_cv_prog_cc_g+set}" = set; then
18302 echo $ECHO_N "(cached) $ECHO_C" >&6
18303 else
18304 ac_save_c_werror_flag=$ac_c_werror_flag
18305 ac_c_werror_flag=yes
18306 ac_cv_prog_cc_g=no
18307 CFLAGS="-g"
18308 cat >conftest.$ac_ext <<_ACEOF
18309 /* confdefs.h. */
18310 _ACEOF
18311 cat confdefs.h >>conftest.$ac_ext
18312 cat >>conftest.$ac_ext <<_ACEOF
18313 /* end confdefs.h. */
18314
18315 int
18316 main ()
18317 {
18318
18319 ;
18320 return 0;
18321 }
18322 _ACEOF
18323 rm -f conftest.$ac_objext
18324 if { (ac_try="$ac_compile"
18325 case "(($ac_try" in
18326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18327 *) ac_try_echo=$ac_try;;
18328 esac
18329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18330 (eval "$ac_compile") 2>conftest.er1
18331 ac_status=$?
18332 grep -v '^ *+' conftest.er1 >conftest.err
18333 rm -f conftest.er1
18334 cat conftest.err >&5
18335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18336 (exit $ac_status); } && {
18337 test -z "$ac_c_werror_flag" ||
18338 test ! -s conftest.err
18339 } && test -s conftest.$ac_objext; then
18340 ac_cv_prog_cc_g=yes
18341 else
18342 echo "$as_me: failed program was:" >&5
18343 sed 's/^/| /' conftest.$ac_ext >&5
18344
18345 CFLAGS=""
18346 cat >conftest.$ac_ext <<_ACEOF
18347 /* confdefs.h. */
18348 _ACEOF
18349 cat confdefs.h >>conftest.$ac_ext
18350 cat >>conftest.$ac_ext <<_ACEOF
18351 /* end confdefs.h. */
18352
18353 int
18354 main ()
18355 {
18356
18357 ;
18358 return 0;
18359 }
18360 _ACEOF
18361 rm -f conftest.$ac_objext
18362 if { (ac_try="$ac_compile"
18363 case "(($ac_try" in
18364 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18365 *) ac_try_echo=$ac_try;;
18366 esac
18367 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18368 (eval "$ac_compile") 2>conftest.er1
18369 ac_status=$?
18370 grep -v '^ *+' conftest.er1 >conftest.err
18371 rm -f conftest.er1
18372 cat conftest.err >&5
18373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18374 (exit $ac_status); } && {
18375 test -z "$ac_c_werror_flag" ||
18376 test ! -s conftest.err
18377 } && test -s conftest.$ac_objext; then
18378 :
18379 else
18380 echo "$as_me: failed program was:" >&5
18381 sed 's/^/| /' conftest.$ac_ext >&5
18382
18383 ac_c_werror_flag=$ac_save_c_werror_flag
18384 CFLAGS="-g"
18385 cat >conftest.$ac_ext <<_ACEOF
18386 /* confdefs.h. */
18387 _ACEOF
18388 cat confdefs.h >>conftest.$ac_ext
18389 cat >>conftest.$ac_ext <<_ACEOF
18390 /* end confdefs.h. */
18391
18392 int
18393 main ()
18394 {
18395
18396 ;
18397 return 0;
18398 }
18399 _ACEOF
18400 rm -f conftest.$ac_objext
18401 if { (ac_try="$ac_compile"
18402 case "(($ac_try" in
18403 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18404 *) ac_try_echo=$ac_try;;
18405 esac
18406 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18407 (eval "$ac_compile") 2>conftest.er1
18408 ac_status=$?
18409 grep -v '^ *+' conftest.er1 >conftest.err
18410 rm -f conftest.er1
18411 cat conftest.err >&5
18412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18413 (exit $ac_status); } && {
18414 test -z "$ac_c_werror_flag" ||
18415 test ! -s conftest.err
18416 } && test -s conftest.$ac_objext; then
18417 ac_cv_prog_cc_g=yes
18418 else
18419 echo "$as_me: failed program was:" >&5
18420 sed 's/^/| /' conftest.$ac_ext >&5
18421
18422
18423 fi
18424
18425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18426 fi
18427
18428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18429 fi
18430
18431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18432 ac_c_werror_flag=$ac_save_c_werror_flag
18433 fi
18434 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
18435 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
18436 if test "$ac_test_CFLAGS" = set; then
18437 CFLAGS=$ac_save_CFLAGS
18438 elif test $ac_cv_prog_cc_g = yes; then
18439 if test "$GCC" = yes; then
18440 CFLAGS="-g -O2"
18441 else
18442 CFLAGS="-g"
18443 fi
18444 else
18445 if test "$GCC" = yes; then
18446 CFLAGS="-O2"
18447 else
18448 CFLAGS=
18449 fi
18450 fi
18451 fi
18452 fi
18453
18454 case `uname -s` in
18455 AIX*)
18456
18457
18458 ac_ext=cpp
18459 ac_cpp='$CXXCPP $CPPFLAGS'
18460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18463
18464 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
18465 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
18466 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
18467 echo $ECHO_N "(cached) $ECHO_C" >&6
18468 else
18469 cat >conftest.$ac_ext <<_ACEOF
18470 /* confdefs.h. */
18471 _ACEOF
18472 cat confdefs.h >>conftest.$ac_ext
18473 cat >>conftest.$ac_ext <<_ACEOF
18474 /* end confdefs.h. */
18475
18476 int
18477 main ()
18478 {
18479
18480 #ifndef __xlC__
18481 choke me
18482 #endif
18483
18484 ;
18485 return 0;
18486 }
18487 _ACEOF
18488 rm -f conftest.$ac_objext
18489 if { (ac_try="$ac_compile"
18490 case "(($ac_try" in
18491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18492 *) ac_try_echo=$ac_try;;
18493 esac
18494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18495 (eval "$ac_compile") 2>conftest.er1
18496 ac_status=$?
18497 grep -v '^ *+' conftest.er1 >conftest.err
18498 rm -f conftest.er1
18499 cat conftest.err >&5
18500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18501 (exit $ac_status); } && {
18502 test -z "$ac_cxx_werror_flag" ||
18503 test ! -s conftest.err
18504 } && test -s conftest.$ac_objext; then
18505 bakefile_cv_cxx_compiler___xlC__=yes
18506 else
18507 echo "$as_me: failed program was:" >&5
18508 sed 's/^/| /' conftest.$ac_ext >&5
18509
18510 bakefile_cv_cxx_compiler___xlC__=no
18511
18512 fi
18513
18514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18515
18516
18517 fi
18518 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18519 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
18520 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18521 :; XLCXX=yes
18522 else
18523 :;
18524 fi
18525 ac_ext=c
18526 ac_cpp='$CPP $CPPFLAGS'
18527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18530
18531
18532
18533 ;;
18534
18535 Darwin)
18536
18537
18538 ac_ext=cpp
18539 ac_cpp='$CXXCPP $CPPFLAGS'
18540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18543
18544 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
18545 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
18546 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
18547 echo $ECHO_N "(cached) $ECHO_C" >&6
18548 else
18549 cat >conftest.$ac_ext <<_ACEOF
18550 /* confdefs.h. */
18551 _ACEOF
18552 cat confdefs.h >>conftest.$ac_ext
18553 cat >>conftest.$ac_ext <<_ACEOF
18554 /* end confdefs.h. */
18555
18556 int
18557 main ()
18558 {
18559
18560 #ifndef __MWERKS__
18561 choke me
18562 #endif
18563
18564 ;
18565 return 0;
18566 }
18567 _ACEOF
18568 rm -f conftest.$ac_objext
18569 if { (ac_try="$ac_compile"
18570 case "(($ac_try" in
18571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18572 *) ac_try_echo=$ac_try;;
18573 esac
18574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18575 (eval "$ac_compile") 2>conftest.er1
18576 ac_status=$?
18577 grep -v '^ *+' conftest.er1 >conftest.err
18578 rm -f conftest.er1
18579 cat conftest.err >&5
18580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18581 (exit $ac_status); } && {
18582 test -z "$ac_cxx_werror_flag" ||
18583 test ! -s conftest.err
18584 } && test -s conftest.$ac_objext; then
18585 bakefile_cv_cxx_compiler___MWERKS__=yes
18586 else
18587 echo "$as_me: failed program was:" >&5
18588 sed 's/^/| /' conftest.$ac_ext >&5
18589
18590 bakefile_cv_cxx_compiler___MWERKS__=no
18591
18592 fi
18593
18594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18595
18596
18597 fi
18598 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
18599 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
18600 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
18601 :; MWCXX=yes
18602 else
18603 :;
18604 fi
18605 ac_ext=c
18606 ac_cpp='$CPP $CPPFLAGS'
18607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18610
18611
18612
18613 if test "$MWCXX" != "yes"; then
18614
18615
18616 ac_ext=cpp
18617 ac_cpp='$CXXCPP $CPPFLAGS'
18618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18621
18622 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
18623 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
18624 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
18625 echo $ECHO_N "(cached) $ECHO_C" >&6
18626 else
18627 cat >conftest.$ac_ext <<_ACEOF
18628 /* confdefs.h. */
18629 _ACEOF
18630 cat confdefs.h >>conftest.$ac_ext
18631 cat >>conftest.$ac_ext <<_ACEOF
18632 /* end confdefs.h. */
18633
18634 int
18635 main ()
18636 {
18637
18638 #ifndef __xlC__
18639 choke me
18640 #endif
18641
18642 ;
18643 return 0;
18644 }
18645 _ACEOF
18646 rm -f conftest.$ac_objext
18647 if { (ac_try="$ac_compile"
18648 case "(($ac_try" in
18649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18650 *) ac_try_echo=$ac_try;;
18651 esac
18652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18653 (eval "$ac_compile") 2>conftest.er1
18654 ac_status=$?
18655 grep -v '^ *+' conftest.er1 >conftest.err
18656 rm -f conftest.er1
18657 cat conftest.err >&5
18658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18659 (exit $ac_status); } && {
18660 test -z "$ac_cxx_werror_flag" ||
18661 test ! -s conftest.err
18662 } && test -s conftest.$ac_objext; then
18663 bakefile_cv_cxx_compiler___xlC__=yes
18664 else
18665 echo "$as_me: failed program was:" >&5
18666 sed 's/^/| /' conftest.$ac_ext >&5
18667
18668 bakefile_cv_cxx_compiler___xlC__=no
18669
18670 fi
18671
18672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18673
18674
18675 fi
18676 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18677 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
18678 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18679 :; XLCXX=yes
18680 else
18681 :;
18682 fi
18683 ac_ext=c
18684 ac_cpp='$CPP $CPPFLAGS'
18685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18688
18689
18690
18691 fi
18692 ;;
18693
18694 IRIX*)
18695
18696
18697 ac_ext=cpp
18698 ac_cpp='$CXXCPP $CPPFLAGS'
18699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18702
18703 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
18704 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
18705 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
18706 echo $ECHO_N "(cached) $ECHO_C" >&6
18707 else
18708 cat >conftest.$ac_ext <<_ACEOF
18709 /* confdefs.h. */
18710 _ACEOF
18711 cat confdefs.h >>conftest.$ac_ext
18712 cat >>conftest.$ac_ext <<_ACEOF
18713 /* end confdefs.h. */
18714
18715 int
18716 main ()
18717 {
18718
18719 #ifndef _SGI_COMPILER_VERSION
18720 choke me
18721 #endif
18722
18723 ;
18724 return 0;
18725 }
18726 _ACEOF
18727 rm -f conftest.$ac_objext
18728 if { (ac_try="$ac_compile"
18729 case "(($ac_try" in
18730 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18731 *) ac_try_echo=$ac_try;;
18732 esac
18733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18734 (eval "$ac_compile") 2>conftest.er1
18735 ac_status=$?
18736 grep -v '^ *+' conftest.er1 >conftest.err
18737 rm -f conftest.er1
18738 cat conftest.err >&5
18739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18740 (exit $ac_status); } && {
18741 test -z "$ac_cxx_werror_flag" ||
18742 test ! -s conftest.err
18743 } && test -s conftest.$ac_objext; then
18744 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
18745 else
18746 echo "$as_me: failed program was:" >&5
18747 sed 's/^/| /' conftest.$ac_ext >&5
18748
18749 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
18750
18751 fi
18752
18753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18754
18755
18756 fi
18757 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
18758 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
18759 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
18760 :; SGICXX=yes
18761 else
18762 :;
18763 fi
18764 ac_ext=c
18765 ac_cpp='$CPP $CPPFLAGS'
18766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18769
18770
18771
18772 ;;
18773
18774 Linux*)
18775 if test "$INTELCXX" != "yes"; then
18776
18777
18778 ac_ext=cpp
18779 ac_cpp='$CXXCPP $CPPFLAGS'
18780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18783
18784 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
18785 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
18786 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
18787 echo $ECHO_N "(cached) $ECHO_C" >&6
18788 else
18789 cat >conftest.$ac_ext <<_ACEOF
18790 /* confdefs.h. */
18791 _ACEOF
18792 cat confdefs.h >>conftest.$ac_ext
18793 cat >>conftest.$ac_ext <<_ACEOF
18794 /* end confdefs.h. */
18795
18796 int
18797 main ()
18798 {
18799
18800 #ifndef __SUNPRO_CC
18801 choke me
18802 #endif
18803
18804 ;
18805 return 0;
18806 }
18807 _ACEOF
18808 rm -f conftest.$ac_objext
18809 if { (ac_try="$ac_compile"
18810 case "(($ac_try" in
18811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18812 *) ac_try_echo=$ac_try;;
18813 esac
18814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18815 (eval "$ac_compile") 2>conftest.er1
18816 ac_status=$?
18817 grep -v '^ *+' conftest.er1 >conftest.err
18818 rm -f conftest.er1
18819 cat conftest.err >&5
18820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18821 (exit $ac_status); } && {
18822 test -z "$ac_cxx_werror_flag" ||
18823 test ! -s conftest.err
18824 } && test -s conftest.$ac_objext; then
18825 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
18826 else
18827 echo "$as_me: failed program was:" >&5
18828 sed 's/^/| /' conftest.$ac_ext >&5
18829
18830 bakefile_cv_cxx_compiler___SUNPRO_CC=no
18831
18832 fi
18833
18834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18835
18836
18837 fi
18838 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
18839 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
18840 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
18841 :; SUNCXX=yes
18842 else
18843 :;
18844 fi
18845 ac_ext=c
18846 ac_cpp='$CPP $CPPFLAGS'
18847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18850
18851
18852
18853 fi
18854 ;;
18855
18856 HP-UX*)
18857
18858
18859 ac_ext=cpp
18860 ac_cpp='$CXXCPP $CPPFLAGS'
18861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18864
18865 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
18866 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
18867 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
18868 echo $ECHO_N "(cached) $ECHO_C" >&6
18869 else
18870 cat >conftest.$ac_ext <<_ACEOF
18871 /* confdefs.h. */
18872 _ACEOF
18873 cat confdefs.h >>conftest.$ac_ext
18874 cat >>conftest.$ac_ext <<_ACEOF
18875 /* end confdefs.h. */
18876
18877 int
18878 main ()
18879 {
18880
18881 #ifndef __HP_aCC
18882 choke me
18883 #endif
18884
18885 ;
18886 return 0;
18887 }
18888 _ACEOF
18889 rm -f conftest.$ac_objext
18890 if { (ac_try="$ac_compile"
18891 case "(($ac_try" in
18892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18893 *) ac_try_echo=$ac_try;;
18894 esac
18895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18896 (eval "$ac_compile") 2>conftest.er1
18897 ac_status=$?
18898 grep -v '^ *+' conftest.er1 >conftest.err
18899 rm -f conftest.er1
18900 cat conftest.err >&5
18901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18902 (exit $ac_status); } && {
18903 test -z "$ac_cxx_werror_flag" ||
18904 test ! -s conftest.err
18905 } && test -s conftest.$ac_objext; then
18906 bakefile_cv_cxx_compiler___HP_aCC=yes
18907 else
18908 echo "$as_me: failed program was:" >&5
18909 sed 's/^/| /' conftest.$ac_ext >&5
18910
18911 bakefile_cv_cxx_compiler___HP_aCC=no
18912
18913 fi
18914
18915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18916
18917
18918 fi
18919 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
18920 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
18921 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
18922 :; HPCXX=yes
18923 else
18924 :;
18925 fi
18926 ac_ext=c
18927 ac_cpp='$CPP $CPPFLAGS'
18928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18931
18932
18933
18934 ;;
18935
18936 OSF1)
18937
18938
18939 ac_ext=cpp
18940 ac_cpp='$CXXCPP $CPPFLAGS'
18941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18944
18945 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
18946 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
18947 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
18948 echo $ECHO_N "(cached) $ECHO_C" >&6
18949 else
18950 cat >conftest.$ac_ext <<_ACEOF
18951 /* confdefs.h. */
18952 _ACEOF
18953 cat confdefs.h >>conftest.$ac_ext
18954 cat >>conftest.$ac_ext <<_ACEOF
18955 /* end confdefs.h. */
18956
18957 int
18958 main ()
18959 {
18960
18961 #ifndef __DECCXX
18962 choke me
18963 #endif
18964
18965 ;
18966 return 0;
18967 }
18968 _ACEOF
18969 rm -f conftest.$ac_objext
18970 if { (ac_try="$ac_compile"
18971 case "(($ac_try" in
18972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18973 *) ac_try_echo=$ac_try;;
18974 esac
18975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18976 (eval "$ac_compile") 2>conftest.er1
18977 ac_status=$?
18978 grep -v '^ *+' conftest.er1 >conftest.err
18979 rm -f conftest.er1
18980 cat conftest.err >&5
18981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18982 (exit $ac_status); } && {
18983 test -z "$ac_cxx_werror_flag" ||
18984 test ! -s conftest.err
18985 } && test -s conftest.$ac_objext; then
18986 bakefile_cv_cxx_compiler___DECCXX=yes
18987 else
18988 echo "$as_me: failed program was:" >&5
18989 sed 's/^/| /' conftest.$ac_ext >&5
18990
18991 bakefile_cv_cxx_compiler___DECCXX=no
18992
18993 fi
18994
18995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18996
18997
18998 fi
18999 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
19000 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
19001 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
19002 :; COMPAQCXX=yes
19003 else
19004 :;
19005 fi
19006 ac_ext=c
19007 ac_cpp='$CPP $CPPFLAGS'
19008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19011
19012
19013
19014 ;;
19015
19016 SunOS)
19017
19018
19019 ac_ext=cpp
19020 ac_cpp='$CXXCPP $CPPFLAGS'
19021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19024
19025 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
19026 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
19027 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
19028 echo $ECHO_N "(cached) $ECHO_C" >&6
19029 else
19030 cat >conftest.$ac_ext <<_ACEOF
19031 /* confdefs.h. */
19032 _ACEOF
19033 cat confdefs.h >>conftest.$ac_ext
19034 cat >>conftest.$ac_ext <<_ACEOF
19035 /* end confdefs.h. */
19036
19037 int
19038 main ()
19039 {
19040
19041 #ifndef __SUNPRO_CC
19042 choke me
19043 #endif
19044
19045 ;
19046 return 0;
19047 }
19048 _ACEOF
19049 rm -f conftest.$ac_objext
19050 if { (ac_try="$ac_compile"
19051 case "(($ac_try" in
19052 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19053 *) ac_try_echo=$ac_try;;
19054 esac
19055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19056 (eval "$ac_compile") 2>conftest.er1
19057 ac_status=$?
19058 grep -v '^ *+' conftest.er1 >conftest.err
19059 rm -f conftest.er1
19060 cat conftest.err >&5
19061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19062 (exit $ac_status); } && {
19063 test -z "$ac_cxx_werror_flag" ||
19064 test ! -s conftest.err
19065 } && test -s conftest.$ac_objext; then
19066 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
19067 else
19068 echo "$as_me: failed program was:" >&5
19069 sed 's/^/| /' conftest.$ac_ext >&5
19070
19071 bakefile_cv_cxx_compiler___SUNPRO_CC=no
19072
19073 fi
19074
19075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19076
19077
19078 fi
19079 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
19080 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
19081 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
19082 :; SUNCXX=yes
19083 else
19084 :;
19085 fi
19086 ac_ext=c
19087 ac_cpp='$CPP $CPPFLAGS'
19088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19091
19092
19093
19094 ;;
19095 esac
19096 fi
19097
19098
19099
19100 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
19101 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
19102 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
19103 { (exit 1); exit 1; }; }
19104 fi
19105
19106 if test "x$SUNCXX" != xyes; then
19107 if test -n "$ac_tool_prefix"; then
19108 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
19109 set dummy ${ac_tool_prefix}ar; ac_word=$2
19110 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19111 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19112 if test "${ac_cv_prog_AR+set}" = set; then
19113 echo $ECHO_N "(cached) $ECHO_C" >&6
19114 else
19115 if test -n "$AR"; then
19116 ac_cv_prog_AR="$AR" # Let the user override the test.
19117 else
19118 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19119 for as_dir in $PATH
19120 do
19121 IFS=$as_save_IFS
19122 test -z "$as_dir" && as_dir=.
19123 for ac_exec_ext in '' $ac_executable_extensions; do
19124 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19125 ac_cv_prog_AR="${ac_tool_prefix}ar"
19126 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19127 break 2
19128 fi
19129 done
19130 done
19131 IFS=$as_save_IFS
19132
19133 fi
19134 fi
19135 AR=$ac_cv_prog_AR
19136 if test -n "$AR"; then
19137 { echo "$as_me:$LINENO: result: $AR" >&5
19138 echo "${ECHO_T}$AR" >&6; }
19139 else
19140 { echo "$as_me:$LINENO: result: no" >&5
19141 echo "${ECHO_T}no" >&6; }
19142 fi
19143
19144
19145 fi
19146 if test -z "$ac_cv_prog_AR"; then
19147 ac_ct_AR=$AR
19148 # Extract the first word of "ar", so it can be a program name with args.
19149 set dummy ar; ac_word=$2
19150 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19151 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19152 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
19153 echo $ECHO_N "(cached) $ECHO_C" >&6
19154 else
19155 if test -n "$ac_ct_AR"; then
19156 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
19157 else
19158 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19159 for as_dir in $PATH
19160 do
19161 IFS=$as_save_IFS
19162 test -z "$as_dir" && as_dir=.
19163 for ac_exec_ext in '' $ac_executable_extensions; do
19164 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19165 ac_cv_prog_ac_ct_AR="ar"
19166 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19167 break 2
19168 fi
19169 done
19170 done
19171 IFS=$as_save_IFS
19172
19173 fi
19174 fi
19175 ac_ct_AR=$ac_cv_prog_ac_ct_AR
19176 if test -n "$ac_ct_AR"; then
19177 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
19178 echo "${ECHO_T}$ac_ct_AR" >&6; }
19179 else
19180 { echo "$as_me:$LINENO: result: no" >&5
19181 echo "${ECHO_T}no" >&6; }
19182 fi
19183
19184 if test "x$ac_ct_AR" = x; then
19185 AR=""
19186 else
19187 case $cross_compiling:$ac_tool_warned in
19188 yes:)
19189 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19190 whose name does not start with the host triplet. If you think this
19191 configuration is useful to you, please write to autoconf@gnu.org." >&5
19192 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19193 whose name does not start with the host triplet. If you think this
19194 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19195 ac_tool_warned=yes ;;
19196 esac
19197 AR=$ac_ct_AR
19198 fi
19199 else
19200 AR="$ac_cv_prog_AR"
19201 fi
19202
19203 if test "x$AR" = "x" ; then
19204 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
19205 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
19206 { (exit 1); exit 1; }; }
19207 fi
19208 fi
19209
19210
19211 if test "$wxUSE_MAC" = 1; then
19212
19213 retest_macosx_linking=no
19214
19215 OSX_ARCH_OPTS=""
19216 if test "x$wxUSE_MAC_ARCH" != xno; then
19217 OSX_ARCH_OPTS="-arch $wxUSE_MAC_ARCH"
19218 fi
19219
19220 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
19221 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
19222 # Implicitly turn on the new --with-macosx-sdk using the default
19223 # SDK which provides the behaviour this option has always had.
19224 if test "x$wxUSE_MACOSX_SDK" = "x"; then
19225 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
19226 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
19227 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
19228 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
19229 wxUSE_MACOSX_SDK=yes
19230 fi
19231 else
19232 # Complain to user if he specified an argument to --enable-universal_binary
19233 # and also 1) specified --with-macosx-sdk using the default (yes) or
19234 # 2) specified --with-macosx-sdk using a path or 3) specified
19235 # --without-macosx-sdk (no).
19236 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
19237 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
19238 See \`config.log' for more details." >&5
19239 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
19240 See \`config.log' for more details." >&2;}
19241 { (exit 1); exit 1; }; }
19242 else
19243 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
19244 # special-case the empty string because the below test simply
19245 # converts "no" to the empty string anyway.
19246 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
19247 { echo "$as_me:$LINENO: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&5
19248 echo "$as_me: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&2;}
19249 fi
19250 fi
19251 OSX_ARCH_OPTS="-arch ppc -arch i386"
19252 if test "$wxUSE_OSX_COCOA" = 1; then
19253 OSX_ARCH_OPTS="$OSX_ARCH_OPTS -arch x86_64"
19254 fi
19255 { echo "$as_me:$LINENO: checking for universal binary architectures" >&5
19256 echo $ECHO_N "checking for universal binary architectures... $ECHO_C" >&6; }
19257 { echo "$as_me:$LINENO: result: $OSX_ARCH_OPTS" >&5
19258 echo "${ECHO_T}$OSX_ARCH_OPTS" >&6; }
19259
19260 retest_macosx_linking=yes
19261
19262 { echo "$as_me:$LINENO: WARNING: Disabling precompiled headers due to universal binary build." >&5
19263 echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
19264 bk_use_pch=no
19265 fi
19266
19267 CXXFLAGS="$OSX_ARCH_OPTS $CXXFLAGS"
19268 CFLAGS="$OSX_ARCH_OPTS $CFLAGS"
19269 OBJCXXFLAGS="$OSX_ARCH_OPTS $OBJCXXFLAGS"
19270 OBJCFLAGS="$OSX_ARCH_OPTS $OBJCFLAGS"
19271 LDFLAGS="$OSX_ARCH_OPTS $LDFLAGS"
19272
19273 if test "x$wxUSE_MACOSX_SDK" = "xno"; then
19274 wxUSE_MACOSX_SDK=
19275 elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
19276 # TODO: Search for most recent SDK and use it.
19277 wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
19278 fi
19279
19280
19281 if test "x$wxUSE_MACOSX_SDK" != "x"; then
19282 { echo "$as_me:$LINENO: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
19283 echo $ECHO_N "checking for SDK directory $wxUSE_MACOSX_SDK... $ECHO_C" >&6; }
19284 if ! test -d "$wxUSE_MACOSX_SDK"; then
19285 { { echo "$as_me:$LINENO: error: not found
19286 See \`config.log' for more details." >&5
19287 echo "$as_me: error: not found
19288 See \`config.log' for more details." >&2;}
19289 { (exit 1); exit 1; }; }
19290 else
19291 { echo "$as_me:$LINENO: result: exists" >&5
19292 echo "${ECHO_T}exists" >&6; }
19293 fi
19294 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
19295 retest_macosx_linking=yes
19296 fi
19297
19298 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
19299 wxUSE_MACOSX_VERSION_MIN=
19300 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
19301 if test "x$wxUSE_MACOSX_SDK" != "x"; then
19302 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
19303 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
19304
19305 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/'`
19306
19307 # If that failed, try again with the new key
19308 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
19309
19310 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/'`
19311
19312 fi
19313
19314 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
19315 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
19316 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
19317 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
19318 else
19319 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
19320 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
19321 wxUSE_MACOSX_VERSION_MIN=
19322 fi
19323 else
19324 wxUSE_MACOSX_VERSION_MIN=
19325 fi
19326 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
19327 for ac_prog in sw_vers
19328 do
19329 # Extract the first word of "$ac_prog", so it can be a program name with args.
19330 set dummy $ac_prog; ac_word=$2
19331 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19332 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19333 if test "${ac_cv_prog_OSX_SW_VERS+set}" = set; then
19334 echo $ECHO_N "(cached) $ECHO_C" >&6
19335 else
19336 if test -n "$OSX_SW_VERS"; then
19337 ac_cv_prog_OSX_SW_VERS="$OSX_SW_VERS" # Let the user override the test.
19338 else
19339 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19340 for as_dir in $PATH
19341 do
19342 IFS=$as_save_IFS
19343 test -z "$as_dir" && as_dir=.
19344 for ac_exec_ext in '' $ac_executable_extensions; do
19345 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19346 ac_cv_prog_OSX_SW_VERS="$ac_prog"
19347 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19348 break 2
19349 fi
19350 done
19351 done
19352 IFS=$as_save_IFS
19353
19354 fi
19355 fi
19356 OSX_SW_VERS=$ac_cv_prog_OSX_SW_VERS
19357 if test -n "$OSX_SW_VERS"; then
19358 { echo "$as_me:$LINENO: result: $OSX_SW_VERS" >&5
19359 echo "${ECHO_T}$OSX_SW_VERS" >&6; }
19360 else
19361 { echo "$as_me:$LINENO: result: no" >&5
19362 echo "${ECHO_T}no" >&6; }
19363 fi
19364
19365
19366 test -n "$OSX_SW_VERS" && break
19367 done
19368
19369 if test "$OSX_SW_VERS" != ""; then
19370 OSX_VERSION=`sw_vers -productVersion | grep 10.[0-9]`
19371 else
19372 { echo "$as_me:$LINENO: WARNING: Assuming OS X 10.4, use --with-macosx-version-min to override." >&5
19373 echo "$as_me: WARNING: Assuming OS X 10.4, use --with-macosx-version-min to override." >&2;}
19374 OSX_VERSION="10.4"
19375 fi
19376
19377 case "$OSX_VERSION" in
19378 10.4* )
19379 wxUSE_MACOSX_VERSION_MIN=10.4
19380 ;;
19381
19382 * )
19383 if test "$wxUSE_OSX_CARBON" = 1; then
19384 # otherwise configure stops on leopard for universal_binary
19385 wxUSE_MACOSX_VERSION_MIN=10.4
19386 else
19387 # for Cocoa, use 10.5 to be able to compile it in 64 bits too
19388 wxUSE_MACOSX_VERSION_MIN=10.5
19389 fi
19390 ;;
19391 esac
19392 fi
19393
19394 NEEDS_GCC40="no"
19395 if test "x$wxUSE_MACOSX_VERSION_MIN" == "x10.4"; then
19396 NEEDS_GCC40="yes"
19397 fi
19398
19399 if test "$wxUSE_OSX_CARBON" = 1; then
19400 NEEDS_GCC40="yes"
19401 fi
19402
19403 if test "x$NEEDS_GCC40" == "xyes"; then
19404 # gcc 4.2 cannot compile 10.4 compatible code, so if the user is using it
19405 # and wants 10.4 compatible code, then 'downgrade' to 4.0
19406 # This is also the simplest way to get 32-bit binaries on Snow Leopard.
19407 if test "x$CC" = "xgcc"; then
19408 CCVERSION=`$CC --version | grep 4.[2-9].`
19409 if test "x$CCVERSION" != "x"; then
19410 echo "$as_me:$LINENO: WARNING: gcc >= 4.2 cannot compile 10.4 compatible code. Using gcc 4.0 instead."
19411 CC="gcc-4.0"
19412 fi
19413 fi
19414
19415 if test "x$CXX" = "xg++"; then
19416 CCVERSION=`$CXX --version | grep 4.[2-9].`
19417 if test "x$CCVERSION" != "x"; then
19418 CXX="g++-4.0"
19419 fi
19420 fi
19421 fi
19422
19423 if test "x$MACOSX_SDK_OPTS" != "x"; then
19424 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
19425 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
19426 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
19427 fi
19428
19429 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
19430 if test "$wxUSE_OSX_IPHONE" = 1; then
19431 MACOSX_VERSION_MIN_OPTS="-miphoneos-version-min=$wxUSE_MACOSX_VERSION_MIN"
19432 else
19433 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
19434 fi
19435 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
19436 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
19437 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
19438 retest_macosx_linking=yes
19439 fi
19440
19441 if test "x$retest_macosx_linking" = "xyes"; then
19442 ac_ext=c
19443 ac_cpp='$CPP $CPPFLAGS'
19444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19447
19448 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
19449 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
19450 cat >conftest.$ac_ext <<_ACEOF
19451 /* confdefs.h. */
19452 _ACEOF
19453 cat confdefs.h >>conftest.$ac_ext
19454 cat >>conftest.$ac_ext <<_ACEOF
19455 /* end confdefs.h. */
19456
19457 int
19458 main ()
19459 {
19460
19461 ;
19462 return 0;
19463 }
19464 _ACEOF
19465 rm -f conftest.$ac_objext conftest$ac_exeext
19466 if { (ac_try="$ac_link"
19467 case "(($ac_try" in
19468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19469 *) ac_try_echo=$ac_try;;
19470 esac
19471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19472 (eval "$ac_link") 2>conftest.er1
19473 ac_status=$?
19474 grep -v '^ *+' conftest.er1 >conftest.err
19475 rm -f conftest.er1
19476 cat conftest.err >&5
19477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19478 (exit $ac_status); } && {
19479 test -z "$ac_c_werror_flag" ||
19480 test ! -s conftest.err
19481 } && test -s conftest$ac_exeext &&
19482 $as_test_x conftest$ac_exeext; then
19483 { echo "$as_me:$LINENO: result: yes" >&5
19484 echo "${ECHO_T}yes" >&6; }
19485 else
19486 echo "$as_me: failed program was:" >&5
19487 sed 's/^/| /' conftest.$ac_ext >&5
19488
19489 { { echo "$as_me:$LINENO: error: no. Try a different SDK
19490 See \`config.log' for more details." >&5
19491 echo "$as_me: error: no. Try a different SDK
19492 See \`config.log' for more details." >&2;}
19493 { (exit 1); exit 1; }; }; exit 1
19494 fi
19495
19496 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19497 conftest$ac_exeext conftest.$ac_ext
19498 ac_ext=c
19499 ac_cpp='$CPP $CPPFLAGS'
19500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19503
19504
19505 ac_ext=cpp
19506 ac_cpp='$CXXCPP $CPPFLAGS'
19507 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19508 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19509 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19510
19511 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
19512 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
19513 cat >conftest.$ac_ext <<_ACEOF
19514 /* confdefs.h. */
19515 _ACEOF
19516 cat confdefs.h >>conftest.$ac_ext
19517 cat >>conftest.$ac_ext <<_ACEOF
19518 /* end confdefs.h. */
19519
19520 int
19521 main ()
19522 {
19523
19524 ;
19525 return 0;
19526 }
19527 _ACEOF
19528 rm -f conftest.$ac_objext conftest$ac_exeext
19529 if { (ac_try="$ac_link"
19530 case "(($ac_try" in
19531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19532 *) ac_try_echo=$ac_try;;
19533 esac
19534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19535 (eval "$ac_link") 2>conftest.er1
19536 ac_status=$?
19537 grep -v '^ *+' conftest.er1 >conftest.err
19538 rm -f conftest.er1
19539 cat conftest.err >&5
19540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19541 (exit $ac_status); } && {
19542 test -z "$ac_cxx_werror_flag" ||
19543 test ! -s conftest.err
19544 } && test -s conftest$ac_exeext &&
19545 $as_test_x conftest$ac_exeext; then
19546 { echo "$as_me:$LINENO: result: yes" >&5
19547 echo "${ECHO_T}yes" >&6; }
19548 else
19549 echo "$as_me: failed program was:" >&5
19550 sed 's/^/| /' conftest.$ac_ext >&5
19551
19552 { { echo "$as_me:$LINENO: error: no. Try a different SDK
19553 See \`config.log' for more details." >&5
19554 echo "$as_me: error: no. Try a different SDK
19555 See \`config.log' for more details." >&2;}
19556 { (exit 1); exit 1; }; }; exit 1
19557 fi
19558
19559 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19560 conftest$ac_exeext conftest.$ac_ext
19561 ac_ext=c
19562 ac_cpp='$CPP $CPPFLAGS'
19563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19566
19567 fi
19568
19569 fi
19570 case "${host}" in
19571
19572 *-*-darwin* )
19573 INSTALL_PROGRAM="cp -fp"
19574 INSTALL_DATA="cp -fp"
19575 ;;
19576 *)
19577 ;;
19578 esac
19579
19580
19581 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
19582 cat >>confdefs.h <<\_ACEOF
19583 #define _GNU_SOURCE 1
19584 _ACEOF
19585
19586
19587 GNU_SOURCE_FLAG="-D_GNU_SOURCE"
19588 CFLAGS="$GNU_SOURCE_FLAG $CFLAGS"
19589 fi
19590
19591 if test "x$USE_AIX" = "x1"; then
19592 if test "x$XLCXX" = "xyes"; then
19593 CXXFLAGS="-qunique $CXXFLAGS"
19594 fi
19595
19596 CPPFLAGS="-D_LINUX_SOURCE_COMPAT $CPPFLAGS"
19597 fi
19598
19599 case "${host}" in
19600 powerpc-*-darwin* )
19601 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
19602 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
19603 cat >conftest.$ac_ext <<_ACEOF
19604 /* confdefs.h. */
19605 _ACEOF
19606 cat confdefs.h >>conftest.$ac_ext
19607 cat >>conftest.$ac_ext <<_ACEOF
19608 /* end confdefs.h. */
19609
19610 int
19611 main ()
19612 {
19613 #ifndef __POWERPC__
19614 choke me for lack of PowerPC
19615 #endif
19616
19617 ;
19618 return 0;
19619 }
19620 _ACEOF
19621 rm -f conftest.$ac_objext
19622 if { (ac_try="$ac_compile"
19623 case "(($ac_try" in
19624 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19625 *) ac_try_echo=$ac_try;;
19626 esac
19627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19628 (eval "$ac_compile") 2>conftest.er1
19629 ac_status=$?
19630 grep -v '^ *+' conftest.er1 >conftest.err
19631 rm -f conftest.er1
19632 cat conftest.err >&5
19633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19634 (exit $ac_status); } && {
19635 test -z "$ac_c_werror_flag" ||
19636 test ! -s conftest.err
19637 } && test -s conftest.$ac_objext; then
19638 { echo "$as_me:$LINENO: result: yes" >&5
19639 echo "${ECHO_T}yes" >&6; }
19640 else
19641 echo "$as_me: failed program was:" >&5
19642 sed 's/^/| /' conftest.$ac_ext >&5
19643
19644 { echo "$as_me:$LINENO: result: no" >&5
19645 echo "${ECHO_T}no" >&6; }
19646 cat >>confdefs.h <<\_ACEOF
19647 #define __POWERPC__ 1
19648 _ACEOF
19649
19650
19651 fi
19652
19653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19654 ;;
19655 esac
19656
19657 case "${host}" in
19658 *-*-darwin* )
19659 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
19660 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
19661 cat >conftest.$ac_ext <<_ACEOF
19662 /* confdefs.h. */
19663 _ACEOF
19664 cat confdefs.h >>conftest.$ac_ext
19665 cat >>conftest.$ac_ext <<_ACEOF
19666 /* end confdefs.h. */
19667 #include <CoreFoundation/CFBase.h>
19668
19669 int
19670 main ()
19671 {
19672
19673 ;
19674 return 0;
19675 }
19676 _ACEOF
19677 rm -f conftest.$ac_objext
19678 if { (ac_try="$ac_compile"
19679 case "(($ac_try" in
19680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19681 *) ac_try_echo=$ac_try;;
19682 esac
19683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19684 (eval "$ac_compile") 2>conftest.er1
19685 ac_status=$?
19686 grep -v '^ *+' conftest.er1 >conftest.err
19687 rm -f conftest.er1
19688 cat conftest.err >&5
19689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19690 (exit $ac_status); } && {
19691 test -z "$ac_c_werror_flag" ||
19692 test ! -s conftest.err
19693 } && test -s conftest.$ac_objext; then
19694 { echo "$as_me:$LINENO: result: yes" >&5
19695 echo "${ECHO_T}yes" >&6; }
19696 else
19697 echo "$as_me: failed program was:" >&5
19698 sed 's/^/| /' conftest.$ac_ext >&5
19699
19700 { echo "$as_me:$LINENO: result: no" >&5
19701 echo "${ECHO_T}no" >&6; }
19702 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
19703 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
19704 cat >conftest.$ac_ext <<_ACEOF
19705 /* confdefs.h. */
19706 _ACEOF
19707 cat confdefs.h >>conftest.$ac_ext
19708 cat >>conftest.$ac_ext <<_ACEOF
19709 /* end confdefs.h. */
19710 #define __CF_USE_FRAMEWORK_INCLUDES__
19711 #include <CoreFoundation/CFBase.h>
19712
19713 int
19714 main ()
19715 {
19716
19717 ;
19718 return 0;
19719 }
19720 _ACEOF
19721 rm -f conftest.$ac_objext
19722 if { (ac_try="$ac_compile"
19723 case "(($ac_try" in
19724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19725 *) ac_try_echo=$ac_try;;
19726 esac
19727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19728 (eval "$ac_compile") 2>conftest.er1
19729 ac_status=$?
19730 grep -v '^ *+' conftest.er1 >conftest.err
19731 rm -f conftest.er1
19732 cat conftest.err >&5
19733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19734 (exit $ac_status); } && {
19735 test -z "$ac_c_werror_flag" ||
19736 test ! -s conftest.err
19737 } && test -s conftest.$ac_objext; then
19738 { echo "$as_me:$LINENO: result: yes" >&5
19739 echo "${ECHO_T}yes" >&6; }
19740 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
19741 else
19742 echo "$as_me: failed program was:" >&5
19743 sed 's/^/| /' conftest.$ac_ext >&5
19744
19745 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
19746 See \`config.log' for more details." >&5
19747 echo "$as_me: error: no. CoreFoundation not available.
19748 See \`config.log' for more details." >&2;}
19749 { (exit 1); exit 1; }; }
19750
19751 fi
19752
19753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19754
19755
19756 fi
19757
19758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19759 ;;
19760 esac
19761
19762 wants_win32=0
19763 doesnt_want_win32=0
19764 case "${host}" in
19765 *-*-cygwin*)
19766 if test "$wxUSE_MSW" = 1 ; then
19767 wants_win32=1
19768 else
19769 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
19770 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
19771 if test "${wx_cv_nocygwin+set}" = set; then
19772 echo $ECHO_N "(cached) $ECHO_C" >&6
19773 else
19774
19775 cat >conftest.$ac_ext <<_ACEOF
19776 /* confdefs.h. */
19777 _ACEOF
19778 cat confdefs.h >>conftest.$ac_ext
19779 cat >>conftest.$ac_ext <<_ACEOF
19780 /* end confdefs.h. */
19781
19782 int
19783 main ()
19784 {
19785
19786 #ifdef __MINGW32__
19787 choke me
19788 #endif
19789
19790 ;
19791 return 0;
19792 }
19793 _ACEOF
19794 rm -f conftest.$ac_objext
19795 if { (ac_try="$ac_compile"
19796 case "(($ac_try" in
19797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19798 *) ac_try_echo=$ac_try;;
19799 esac
19800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19801 (eval "$ac_compile") 2>conftest.er1
19802 ac_status=$?
19803 grep -v '^ *+' conftest.er1 >conftest.err
19804 rm -f conftest.er1
19805 cat conftest.err >&5
19806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19807 (exit $ac_status); } && {
19808 test -z "$ac_c_werror_flag" ||
19809 test ! -s conftest.err
19810 } && test -s conftest.$ac_objext; then
19811 wx_cv_nocygwin=no
19812 else
19813 echo "$as_me: failed program was:" >&5
19814 sed 's/^/| /' conftest.$ac_ext >&5
19815
19816 wx_cv_nocygwin=yes
19817
19818 fi
19819
19820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19821
19822
19823 fi
19824 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
19825 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
19826
19827 if test "$wx_cv_nocygwin" = "yes"; then
19828 wants_win32=1
19829 else
19830 doesnt_want_win32=1
19831 fi
19832 fi
19833 if test "$wants_win32" = 1 ; then
19834 BAKEFILE_FORCE_PLATFORM=win32
19835 fi
19836 ;;
19837 *-*-mingw*)
19838 wants_win32=1
19839 ;;
19840 esac
19841
19842 if test "$wxUSE_WINE" = "yes"; then
19843 wants_win32=1
19844 LDFLAGS_GUI="-mwindows"
19845 fi
19846
19847 if test "$wants_win32" = 1 ; then
19848 USE_UNIX=0
19849 USE_WIN32=1
19850 cat >>confdefs.h <<\_ACEOF
19851 #define __WIN32__ 1
19852 _ACEOF
19853
19854 cat >>confdefs.h <<\_ACEOF
19855 #define __WIN95__ 1
19856 _ACEOF
19857
19858 cat >>confdefs.h <<\_ACEOF
19859 #define __WINDOWS__ 1
19860 _ACEOF
19861
19862 cat >>confdefs.h <<\_ACEOF
19863 #define __GNUWIN32__ 1
19864 _ACEOF
19865
19866 cat >>confdefs.h <<\_ACEOF
19867 #define STRICT 1
19868 _ACEOF
19869
19870 fi
19871 if test "$doesnt_want_win32" = 1 ; then
19872 USE_UNIX=1
19873 USE_WIN32=0
19874 fi
19875
19876 if test "$USE_UNIX" = 1 ; then
19877 wxUSE_UNIX=yes
19878 cat >>confdefs.h <<\_ACEOF
19879 #define __UNIX__ 1
19880 _ACEOF
19881
19882 fi
19883
19884 case "${host}" in
19885 *-pc-os2_emx | *-pc-os2-emx )
19886 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
19887 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
19888 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
19889 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
19890 echo $ECHO_N "(cached) $ECHO_C" >&6
19891 else
19892 ac_check_lib_save_LIBS=$LIBS
19893 LIBS="-lcExt $LIBS"
19894 cat >conftest.$ac_ext <<_ACEOF
19895 /* confdefs.h. */
19896 _ACEOF
19897 cat confdefs.h >>conftest.$ac_ext
19898 cat >>conftest.$ac_ext <<_ACEOF
19899 /* end confdefs.h. */
19900
19901 /* Override any GCC internal prototype to avoid an error.
19902 Use char because int might match the return type of a GCC
19903 builtin and then its argument prototype would still apply. */
19904 #ifdef __cplusplus
19905 extern "C"
19906 #endif
19907 char drand48 ();
19908 int
19909 main ()
19910 {
19911 return drand48 ();
19912 ;
19913 return 0;
19914 }
19915 _ACEOF
19916 rm -f conftest.$ac_objext conftest$ac_exeext
19917 if { (ac_try="$ac_link"
19918 case "(($ac_try" in
19919 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19920 *) ac_try_echo=$ac_try;;
19921 esac
19922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19923 (eval "$ac_link") 2>conftest.er1
19924 ac_status=$?
19925 grep -v '^ *+' conftest.er1 >conftest.err
19926 rm -f conftest.er1
19927 cat conftest.err >&5
19928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19929 (exit $ac_status); } && {
19930 test -z "$ac_c_werror_flag" ||
19931 test ! -s conftest.err
19932 } && test -s conftest$ac_exeext &&
19933 $as_test_x conftest$ac_exeext; then
19934 ac_cv_lib_cExt_drand48=yes
19935 else
19936 echo "$as_me: failed program was:" >&5
19937 sed 's/^/| /' conftest.$ac_ext >&5
19938
19939 ac_cv_lib_cExt_drand48=no
19940 fi
19941
19942 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19943 conftest$ac_exeext conftest.$ac_ext
19944 LIBS=$ac_check_lib_save_LIBS
19945 fi
19946 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
19947 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
19948 if test $ac_cv_lib_cExt_drand48 = yes; then
19949 LIBS="$LIBS -lcExt"
19950 fi
19951
19952 else
19953 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
19954 fi
19955 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
19956 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
19957 if test "${wx_cv_gccversion+set}" = set; then
19958 echo $ECHO_N "(cached) $ECHO_C" >&6
19959 else
19960
19961 if test "$cross_compiling" = yes; then
19962 wx_cv_gccversion="EMX2"
19963
19964 else
19965 cat >conftest.$ac_ext <<_ACEOF
19966 /* confdefs.h. */
19967 _ACEOF
19968 cat confdefs.h >>conftest.$ac_ext
19969 cat >>conftest.$ac_ext <<_ACEOF
19970 /* end confdefs.h. */
19971
19972 #include <stdio.h>
19973
19974 int main()
19975 {
19976 FILE *f=fopen("conftestval", "w");
19977 if (!f) exit(1);
19978 fprintf(f,
19979 #if (__GNUC__ < 3)
19980 "EMX2"
19981 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
19982 "EMX3"
19983 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
19984 "Innotek5"
19985 #else
19986 "Innotek6"
19987 #endif
19988 );
19989 exit(0);
19990 }
19991
19992 _ACEOF
19993 rm -f conftest$ac_exeext
19994 if { (ac_try="$ac_link"
19995 case "(($ac_try" in
19996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19997 *) ac_try_echo=$ac_try;;
19998 esac
19999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20000 (eval "$ac_link") 2>&5
20001 ac_status=$?
20002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20003 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20004 { (case "(($ac_try" in
20005 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20006 *) ac_try_echo=$ac_try;;
20007 esac
20008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20009 (eval "$ac_try") 2>&5
20010 ac_status=$?
20011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20012 (exit $ac_status); }; }; then
20013 wx_cv_gccversion=`cat conftestval`
20014 else
20015 echo "$as_me: program exited with status $ac_status" >&5
20016 echo "$as_me: failed program was:" >&5
20017 sed 's/^/| /' conftest.$ac_ext >&5
20018
20019 ( exit $ac_status )
20020 wx_cv_gccversion="EMX2"
20021 fi
20022 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20023 fi
20024
20025
20026
20027 fi
20028 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
20029 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
20030 if test "$wx_cv_gccversion" = "EMX2"; then
20031 LIBS="$LIBS -lstdcpp"
20032 LDFLAGS="$LDFLAGS -Zsysv-signals"
20033 else
20034 if test "$wx_cv_gccversion" = "EMX3"; then
20035 LIBS="$LIBS -lstdcxx -lgcc"
20036 LDFLAGS="$LDFLAGS -Zsysv-signals"
20037 else
20038 LIBS="$LIBS -lstdc++"
20039 fi
20040 fi
20041 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
20042 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
20043 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
20044 wxUSE_OMF=yes
20045 enable_omf=yes
20046 fi
20047 ;;
20048 *)
20049
20050 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
20051 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
20052 if test "${ac_cv_string_strcasecmp+set}" = set; then
20053 echo $ECHO_N "(cached) $ECHO_C" >&6
20054 else
20055
20056 cat >conftest.$ac_ext <<_ACEOF
20057 /* confdefs.h. */
20058 _ACEOF
20059 cat confdefs.h >>conftest.$ac_ext
20060 cat >>conftest.$ac_ext <<_ACEOF
20061 /* end confdefs.h. */
20062
20063 #include <string.h>
20064
20065 int
20066 main ()
20067 {
20068
20069 strcasecmp("foo", "bar");
20070
20071 ;
20072 return 0;
20073 }
20074 _ACEOF
20075 rm -f conftest.$ac_objext conftest$ac_exeext
20076 if { (ac_try="$ac_link"
20077 case "(($ac_try" in
20078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20079 *) ac_try_echo=$ac_try;;
20080 esac
20081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20082 (eval "$ac_link") 2>conftest.er1
20083 ac_status=$?
20084 grep -v '^ *+' conftest.er1 >conftest.err
20085 rm -f conftest.er1
20086 cat conftest.err >&5
20087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20088 (exit $ac_status); } && {
20089 test -z "$ac_c_werror_flag" ||
20090 test ! -s conftest.err
20091 } && test -s conftest$ac_exeext &&
20092 $as_test_x conftest$ac_exeext; then
20093 ac_cv_string_strcasecmp=yes
20094 else
20095 echo "$as_me: failed program was:" >&5
20096 sed 's/^/| /' conftest.$ac_ext >&5
20097
20098 ac_cv_string_strcasecmp=no
20099
20100 fi
20101
20102 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20103 conftest$ac_exeext conftest.$ac_ext
20104
20105 fi
20106 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
20107 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
20108
20109 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
20110 cat >>confdefs.h <<\_ACEOF
20111 #define HAVE_STRCASECMP_IN_STRING_H 1
20112 _ACEOF
20113
20114 else
20115 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
20116 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
20117 if test "${ac_cv_strings_strcasecmp+set}" = set; then
20118 echo $ECHO_N "(cached) $ECHO_C" >&6
20119 else
20120
20121 cat >conftest.$ac_ext <<_ACEOF
20122 /* confdefs.h. */
20123 _ACEOF
20124 cat confdefs.h >>conftest.$ac_ext
20125 cat >>conftest.$ac_ext <<_ACEOF
20126 /* end confdefs.h. */
20127
20128 #include <strings.h>
20129
20130 int
20131 main ()
20132 {
20133
20134 strcasecmp("foo", "bar");
20135
20136 ;
20137 return 0;
20138 }
20139 _ACEOF
20140 rm -f conftest.$ac_objext conftest$ac_exeext
20141 if { (ac_try="$ac_link"
20142 case "(($ac_try" in
20143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20144 *) ac_try_echo=$ac_try;;
20145 esac
20146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20147 (eval "$ac_link") 2>conftest.er1
20148 ac_status=$?
20149 grep -v '^ *+' conftest.er1 >conftest.err
20150 rm -f conftest.er1
20151 cat conftest.err >&5
20152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20153 (exit $ac_status); } && {
20154 test -z "$ac_c_werror_flag" ||
20155 test ! -s conftest.err
20156 } && test -s conftest$ac_exeext &&
20157 $as_test_x conftest$ac_exeext; then
20158 ac_cv_strings_strcasecmp=yes
20159 else
20160 echo "$as_me: failed program was:" >&5
20161 sed 's/^/| /' conftest.$ac_ext >&5
20162
20163 ac_cv_strings_strcasecmp=no
20164
20165 fi
20166
20167 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20168 conftest$ac_exeext conftest.$ac_ext
20169
20170 fi
20171 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
20172 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
20173
20174 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
20175 cat >>confdefs.h <<\_ACEOF
20176 #define HAVE_STRCASECMP_IN_STRINGS_H 1
20177 _ACEOF
20178
20179 else
20180 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
20181 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
20182 { (exit 1); exit 1; }; }
20183 fi
20184 fi
20185
20186 ;;
20187 esac
20188
20189
20190 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
20191 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
20192 if test "${ac_cv_header_stdc+set}" = set; then
20193 echo $ECHO_N "(cached) $ECHO_C" >&6
20194 else
20195 cat >conftest.$ac_ext <<_ACEOF
20196 /* confdefs.h. */
20197 _ACEOF
20198 cat confdefs.h >>conftest.$ac_ext
20199 cat >>conftest.$ac_ext <<_ACEOF
20200 /* end confdefs.h. */
20201 #include <stdlib.h>
20202 #include <stdarg.h>
20203 #include <string.h>
20204 #include <float.h>
20205
20206 int
20207 main ()
20208 {
20209
20210 ;
20211 return 0;
20212 }
20213 _ACEOF
20214 rm -f conftest.$ac_objext
20215 if { (ac_try="$ac_compile"
20216 case "(($ac_try" in
20217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20218 *) ac_try_echo=$ac_try;;
20219 esac
20220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20221 (eval "$ac_compile") 2>conftest.er1
20222 ac_status=$?
20223 grep -v '^ *+' conftest.er1 >conftest.err
20224 rm -f conftest.er1
20225 cat conftest.err >&5
20226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20227 (exit $ac_status); } && {
20228 test -z "$ac_c_werror_flag" ||
20229 test ! -s conftest.err
20230 } && test -s conftest.$ac_objext; then
20231 ac_cv_header_stdc=yes
20232 else
20233 echo "$as_me: failed program was:" >&5
20234 sed 's/^/| /' conftest.$ac_ext >&5
20235
20236 ac_cv_header_stdc=no
20237 fi
20238
20239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20240
20241 if test $ac_cv_header_stdc = yes; then
20242 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
20243 cat >conftest.$ac_ext <<_ACEOF
20244 /* confdefs.h. */
20245 _ACEOF
20246 cat confdefs.h >>conftest.$ac_ext
20247 cat >>conftest.$ac_ext <<_ACEOF
20248 /* end confdefs.h. */
20249 #include <string.h>
20250
20251 _ACEOF
20252 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20253 $EGREP "memchr" >/dev/null 2>&1; then
20254 :
20255 else
20256 ac_cv_header_stdc=no
20257 fi
20258 rm -f conftest*
20259
20260 fi
20261
20262 if test $ac_cv_header_stdc = yes; then
20263 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
20264 cat >conftest.$ac_ext <<_ACEOF
20265 /* confdefs.h. */
20266 _ACEOF
20267 cat confdefs.h >>conftest.$ac_ext
20268 cat >>conftest.$ac_ext <<_ACEOF
20269 /* end confdefs.h. */
20270 #include <stdlib.h>
20271
20272 _ACEOF
20273 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20274 $EGREP "free" >/dev/null 2>&1; then
20275 :
20276 else
20277 ac_cv_header_stdc=no
20278 fi
20279 rm -f conftest*
20280
20281 fi
20282
20283 if test $ac_cv_header_stdc = yes; then
20284 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
20285 if test "$cross_compiling" = yes; then
20286 :
20287 else
20288 cat >conftest.$ac_ext <<_ACEOF
20289 /* confdefs.h. */
20290 _ACEOF
20291 cat confdefs.h >>conftest.$ac_ext
20292 cat >>conftest.$ac_ext <<_ACEOF
20293 /* end confdefs.h. */
20294 #include <ctype.h>
20295 #include <stdlib.h>
20296 #if ((' ' & 0x0FF) == 0x020)
20297 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
20298 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
20299 #else
20300 # define ISLOWER(c) \
20301 (('a' <= (c) && (c) <= 'i') \
20302 || ('j' <= (c) && (c) <= 'r') \
20303 || ('s' <= (c) && (c) <= 'z'))
20304 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
20305 #endif
20306
20307 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
20308 int
20309 main ()
20310 {
20311 int i;
20312 for (i = 0; i < 256; i++)
20313 if (XOR (islower (i), ISLOWER (i))
20314 || toupper (i) != TOUPPER (i))
20315 return 2;
20316 return 0;
20317 }
20318 _ACEOF
20319 rm -f conftest$ac_exeext
20320 if { (ac_try="$ac_link"
20321 case "(($ac_try" in
20322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20323 *) ac_try_echo=$ac_try;;
20324 esac
20325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20326 (eval "$ac_link") 2>&5
20327 ac_status=$?
20328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20329 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20330 { (case "(($ac_try" in
20331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20332 *) ac_try_echo=$ac_try;;
20333 esac
20334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20335 (eval "$ac_try") 2>&5
20336 ac_status=$?
20337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20338 (exit $ac_status); }; }; then
20339 :
20340 else
20341 echo "$as_me: program exited with status $ac_status" >&5
20342 echo "$as_me: failed program was:" >&5
20343 sed 's/^/| /' conftest.$ac_ext >&5
20344
20345 ( exit $ac_status )
20346 ac_cv_header_stdc=no
20347 fi
20348 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20349 fi
20350
20351
20352 fi
20353 fi
20354 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
20355 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
20356 if test $ac_cv_header_stdc = yes; then
20357
20358 cat >>confdefs.h <<\_ACEOF
20359 #define STDC_HEADERS 1
20360 _ACEOF
20361
20362 fi
20363
20364 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
20365
20366
20367
20368
20369
20370
20371
20372
20373
20374 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
20375 inttypes.h stdint.h unistd.h
20376 do
20377 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20378 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20379 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20380 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20381 echo $ECHO_N "(cached) $ECHO_C" >&6
20382 else
20383 cat >conftest.$ac_ext <<_ACEOF
20384 /* confdefs.h. */
20385 _ACEOF
20386 cat confdefs.h >>conftest.$ac_ext
20387 cat >>conftest.$ac_ext <<_ACEOF
20388 /* end confdefs.h. */
20389 $ac_includes_default
20390
20391 #include <$ac_header>
20392 _ACEOF
20393 rm -f conftest.$ac_objext
20394 if { (ac_try="$ac_compile"
20395 case "(($ac_try" in
20396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20397 *) ac_try_echo=$ac_try;;
20398 esac
20399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20400 (eval "$ac_compile") 2>conftest.er1
20401 ac_status=$?
20402 grep -v '^ *+' conftest.er1 >conftest.err
20403 rm -f conftest.er1
20404 cat conftest.err >&5
20405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20406 (exit $ac_status); } && {
20407 test -z "$ac_c_werror_flag" ||
20408 test ! -s conftest.err
20409 } && test -s conftest.$ac_objext; then
20410 eval "$as_ac_Header=yes"
20411 else
20412 echo "$as_me: failed program was:" >&5
20413 sed 's/^/| /' conftest.$ac_ext >&5
20414
20415 eval "$as_ac_Header=no"
20416 fi
20417
20418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20419 fi
20420 ac_res=`eval echo '${'$as_ac_Header'}'`
20421 { echo "$as_me:$LINENO: result: $ac_res" >&5
20422 echo "${ECHO_T}$ac_res" >&6; }
20423 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20424 cat >>confdefs.h <<_ACEOF
20425 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20426 _ACEOF
20427
20428 fi
20429
20430 done
20431
20432
20433
20434
20435 for ac_header in langinfo.h wchar.h
20436 do
20437 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20438 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20439 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20440 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20441 echo $ECHO_N "(cached) $ECHO_C" >&6
20442 else
20443 cat >conftest.$ac_ext <<_ACEOF
20444 /* confdefs.h. */
20445 _ACEOF
20446 cat confdefs.h >>conftest.$ac_ext
20447 cat >>conftest.$ac_ext <<_ACEOF
20448 /* end confdefs.h. */
20449 $ac_includes_default
20450
20451 #include <$ac_header>
20452 _ACEOF
20453 rm -f conftest.$ac_objext
20454 if { (ac_try="$ac_compile"
20455 case "(($ac_try" in
20456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20457 *) ac_try_echo=$ac_try;;
20458 esac
20459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20460 (eval "$ac_compile") 2>conftest.er1
20461 ac_status=$?
20462 grep -v '^ *+' conftest.er1 >conftest.err
20463 rm -f conftest.er1
20464 cat conftest.err >&5
20465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20466 (exit $ac_status); } && {
20467 test -z "$ac_c_werror_flag" ||
20468 test ! -s conftest.err
20469 } && test -s conftest.$ac_objext; then
20470 eval "$as_ac_Header=yes"
20471 else
20472 echo "$as_me: failed program was:" >&5
20473 sed 's/^/| /' conftest.$ac_ext >&5
20474
20475 eval "$as_ac_Header=no"
20476 fi
20477
20478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20479 fi
20480 ac_res=`eval echo '${'$as_ac_Header'}'`
20481 { echo "$as_me:$LINENO: result: $ac_res" >&5
20482 echo "${ECHO_T}$ac_res" >&6; }
20483 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20484 cat >>confdefs.h <<_ACEOF
20485 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20486 _ACEOF
20487
20488 fi
20489
20490 done
20491
20492
20493 if test "$ac_cv_header_wchar_h" != "yes"; then
20494
20495 for ac_header in wcstr.h
20496 do
20497 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20498 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20499 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20500 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20501 echo $ECHO_N "(cached) $ECHO_C" >&6
20502 else
20503 cat >conftest.$ac_ext <<_ACEOF
20504 /* confdefs.h. */
20505 _ACEOF
20506 cat confdefs.h >>conftest.$ac_ext
20507 cat >>conftest.$ac_ext <<_ACEOF
20508 /* end confdefs.h. */
20509 $ac_includes_default
20510
20511 #include <$ac_header>
20512 _ACEOF
20513 rm -f conftest.$ac_objext
20514 if { (ac_try="$ac_compile"
20515 case "(($ac_try" in
20516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20517 *) ac_try_echo=$ac_try;;
20518 esac
20519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20520 (eval "$ac_compile") 2>conftest.er1
20521 ac_status=$?
20522 grep -v '^ *+' conftest.er1 >conftest.err
20523 rm -f conftest.er1
20524 cat conftest.err >&5
20525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20526 (exit $ac_status); } && {
20527 test -z "$ac_c_werror_flag" ||
20528 test ! -s conftest.err
20529 } && test -s conftest.$ac_objext; then
20530 eval "$as_ac_Header=yes"
20531 else
20532 echo "$as_me: failed program was:" >&5
20533 sed 's/^/| /' conftest.$ac_ext >&5
20534
20535 eval "$as_ac_Header=no"
20536 fi
20537
20538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20539 fi
20540 ac_res=`eval echo '${'$as_ac_Header'}'`
20541 { echo "$as_me:$LINENO: result: $ac_res" >&5
20542 echo "${ECHO_T}$ac_res" >&6; }
20543 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20544 cat >>confdefs.h <<_ACEOF
20545 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20546 _ACEOF
20547
20548 fi
20549
20550 done
20551
20552 fi
20553
20554 case "${host}" in
20555 *-pc-os2_emx | *-pc-os2-emx )
20556 if test $ac_cv_header_langinfo_h = "yes" \
20557 -a \( "$wx_cv_gccversion" = "EMX2" \
20558 -o "$wx_cv_gccversion" = "EMX3" \
20559 -o "$wx_cv_gccversion" = "Innotek5" \); then
20560 LIBS="$LIBS -lintl"
20561 fi
20562 ;;
20563 esac
20564
20565 if test "$USE_UNIX" = 1 ; then
20566
20567 for ac_header in sys/select.h
20568 do
20569 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20570 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20571 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20572 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20573 echo $ECHO_N "(cached) $ECHO_C" >&6
20574 else
20575 cat >conftest.$ac_ext <<_ACEOF
20576 /* confdefs.h. */
20577 _ACEOF
20578 cat confdefs.h >>conftest.$ac_ext
20579 cat >>conftest.$ac_ext <<_ACEOF
20580 /* end confdefs.h. */
20581 $ac_includes_default
20582
20583 #include <$ac_header>
20584 _ACEOF
20585 rm -f conftest.$ac_objext
20586 if { (ac_try="$ac_compile"
20587 case "(($ac_try" in
20588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20589 *) ac_try_echo=$ac_try;;
20590 esac
20591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20592 (eval "$ac_compile") 2>conftest.er1
20593 ac_status=$?
20594 grep -v '^ *+' conftest.er1 >conftest.err
20595 rm -f conftest.er1
20596 cat conftest.err >&5
20597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20598 (exit $ac_status); } && {
20599 test -z "$ac_c_werror_flag" ||
20600 test ! -s conftest.err
20601 } && test -s conftest.$ac_objext; then
20602 eval "$as_ac_Header=yes"
20603 else
20604 echo "$as_me: failed program was:" >&5
20605 sed 's/^/| /' conftest.$ac_ext >&5
20606
20607 eval "$as_ac_Header=no"
20608 fi
20609
20610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20611 fi
20612 ac_res=`eval echo '${'$as_ac_Header'}'`
20613 { echo "$as_me:$LINENO: result: $ac_res" >&5
20614 echo "${ECHO_T}$ac_res" >&6; }
20615 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20616 cat >>confdefs.h <<_ACEOF
20617 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20618 _ACEOF
20619
20620 fi
20621
20622 done
20623
20624 fi
20625
20626
20627 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
20628 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
20629 if test "${ac_cv_c_const+set}" = set; then
20630 echo $ECHO_N "(cached) $ECHO_C" >&6
20631 else
20632 cat >conftest.$ac_ext <<_ACEOF
20633 /* confdefs.h. */
20634 _ACEOF
20635 cat confdefs.h >>conftest.$ac_ext
20636 cat >>conftest.$ac_ext <<_ACEOF
20637 /* end confdefs.h. */
20638
20639 int
20640 main ()
20641 {
20642 /* FIXME: Include the comments suggested by Paul. */
20643 #ifndef __cplusplus
20644 /* Ultrix mips cc rejects this. */
20645 typedef int charset[2];
20646 const charset cs;
20647 /* SunOS 4.1.1 cc rejects this. */
20648 char const *const *pcpcc;
20649 char **ppc;
20650 /* NEC SVR4.0.2 mips cc rejects this. */
20651 struct point {int x, y;};
20652 static struct point const zero = {0,0};
20653 /* AIX XL C 1.02.0.0 rejects this.
20654 It does not let you subtract one const X* pointer from another in
20655 an arm of an if-expression whose if-part is not a constant
20656 expression */
20657 const char *g = "string";
20658 pcpcc = &g + (g ? g-g : 0);
20659 /* HPUX 7.0 cc rejects these. */
20660 ++pcpcc;
20661 ppc = (char**) pcpcc;
20662 pcpcc = (char const *const *) ppc;
20663 { /* SCO 3.2v4 cc rejects this. */
20664 char *t;
20665 char const *s = 0 ? (char *) 0 : (char const *) 0;
20666
20667 *t++ = 0;
20668 if (s) return 0;
20669 }
20670 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
20671 int x[] = {25, 17};
20672 const int *foo = &x[0];
20673 ++foo;
20674 }
20675 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
20676 typedef const int *iptr;
20677 iptr p = 0;
20678 ++p;
20679 }
20680 { /* AIX XL C 1.02.0.0 rejects this saying
20681 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
20682 struct s { int j; const int *ap[3]; };
20683 struct s *b; b->j = 5;
20684 }
20685 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
20686 const int foo = 10;
20687 if (!foo) return 0;
20688 }
20689 return !cs[0] && !zero.x;
20690 #endif
20691
20692 ;
20693 return 0;
20694 }
20695 _ACEOF
20696 rm -f conftest.$ac_objext
20697 if { (ac_try="$ac_compile"
20698 case "(($ac_try" in
20699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20700 *) ac_try_echo=$ac_try;;
20701 esac
20702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20703 (eval "$ac_compile") 2>conftest.er1
20704 ac_status=$?
20705 grep -v '^ *+' conftest.er1 >conftest.err
20706 rm -f conftest.er1
20707 cat conftest.err >&5
20708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20709 (exit $ac_status); } && {
20710 test -z "$ac_c_werror_flag" ||
20711 test ! -s conftest.err
20712 } && test -s conftest.$ac_objext; then
20713 ac_cv_c_const=yes
20714 else
20715 echo "$as_me: failed program was:" >&5
20716 sed 's/^/| /' conftest.$ac_ext >&5
20717
20718 ac_cv_c_const=no
20719 fi
20720
20721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20722 fi
20723 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
20724 echo "${ECHO_T}$ac_cv_c_const" >&6; }
20725 if test $ac_cv_c_const = no; then
20726
20727 cat >>confdefs.h <<\_ACEOF
20728 #define const
20729 _ACEOF
20730
20731 fi
20732
20733 { echo "$as_me:$LINENO: checking for inline" >&5
20734 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
20735 if test "${ac_cv_c_inline+set}" = set; then
20736 echo $ECHO_N "(cached) $ECHO_C" >&6
20737 else
20738 ac_cv_c_inline=no
20739 for ac_kw in inline __inline__ __inline; do
20740 cat >conftest.$ac_ext <<_ACEOF
20741 /* confdefs.h. */
20742 _ACEOF
20743 cat confdefs.h >>conftest.$ac_ext
20744 cat >>conftest.$ac_ext <<_ACEOF
20745 /* end confdefs.h. */
20746 #ifndef __cplusplus
20747 typedef int foo_t;
20748 static $ac_kw foo_t static_foo () {return 0; }
20749 $ac_kw foo_t foo () {return 0; }
20750 #endif
20751
20752 _ACEOF
20753 rm -f conftest.$ac_objext
20754 if { (ac_try="$ac_compile"
20755 case "(($ac_try" in
20756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20757 *) ac_try_echo=$ac_try;;
20758 esac
20759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20760 (eval "$ac_compile") 2>conftest.er1
20761 ac_status=$?
20762 grep -v '^ *+' conftest.er1 >conftest.err
20763 rm -f conftest.er1
20764 cat conftest.err >&5
20765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20766 (exit $ac_status); } && {
20767 test -z "$ac_c_werror_flag" ||
20768 test ! -s conftest.err
20769 } && test -s conftest.$ac_objext; then
20770 ac_cv_c_inline=$ac_kw
20771 else
20772 echo "$as_me: failed program was:" >&5
20773 sed 's/^/| /' conftest.$ac_ext >&5
20774
20775
20776 fi
20777
20778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20779 test "$ac_cv_c_inline" != no && break
20780 done
20781
20782 fi
20783 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
20784 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
20785
20786
20787 case $ac_cv_c_inline in
20788 inline | yes) ;;
20789 *)
20790 case $ac_cv_c_inline in
20791 no) ac_val=;;
20792 *) ac_val=$ac_cv_c_inline;;
20793 esac
20794 cat >>confdefs.h <<_ACEOF
20795 #ifndef __cplusplus
20796 #define inline $ac_val
20797 #endif
20798 _ACEOF
20799 ;;
20800 esac
20801
20802
20803 { echo "$as_me:$LINENO: checking for short" >&5
20804 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
20805 if test "${ac_cv_type_short+set}" = set; then
20806 echo $ECHO_N "(cached) $ECHO_C" >&6
20807 else
20808 cat >conftest.$ac_ext <<_ACEOF
20809 /* confdefs.h. */
20810 _ACEOF
20811 cat confdefs.h >>conftest.$ac_ext
20812 cat >>conftest.$ac_ext <<_ACEOF
20813 /* end confdefs.h. */
20814 $ac_includes_default
20815 typedef short ac__type_new_;
20816 int
20817 main ()
20818 {
20819 if ((ac__type_new_ *) 0)
20820 return 0;
20821 if (sizeof (ac__type_new_))
20822 return 0;
20823 ;
20824 return 0;
20825 }
20826 _ACEOF
20827 rm -f conftest.$ac_objext
20828 if { (ac_try="$ac_compile"
20829 case "(($ac_try" in
20830 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20831 *) ac_try_echo=$ac_try;;
20832 esac
20833 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20834 (eval "$ac_compile") 2>conftest.er1
20835 ac_status=$?
20836 grep -v '^ *+' conftest.er1 >conftest.err
20837 rm -f conftest.er1
20838 cat conftest.err >&5
20839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20840 (exit $ac_status); } && {
20841 test -z "$ac_c_werror_flag" ||
20842 test ! -s conftest.err
20843 } && test -s conftest.$ac_objext; then
20844 ac_cv_type_short=yes
20845 else
20846 echo "$as_me: failed program was:" >&5
20847 sed 's/^/| /' conftest.$ac_ext >&5
20848
20849 ac_cv_type_short=no
20850 fi
20851
20852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20853 fi
20854 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
20855 echo "${ECHO_T}$ac_cv_type_short" >&6; }
20856
20857 # The cast to long int works around a bug in the HP C Compiler
20858 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20859 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20860 # This bug is HP SR number 8606223364.
20861 { echo "$as_me:$LINENO: checking size of short" >&5
20862 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
20863 if test "${ac_cv_sizeof_short+set}" = set; then
20864 echo $ECHO_N "(cached) $ECHO_C" >&6
20865 else
20866 if test "$cross_compiling" = yes; then
20867 # Depending upon the size, compute the lo and hi bounds.
20868 cat >conftest.$ac_ext <<_ACEOF
20869 /* confdefs.h. */
20870 _ACEOF
20871 cat confdefs.h >>conftest.$ac_ext
20872 cat >>conftest.$ac_ext <<_ACEOF
20873 /* end confdefs.h. */
20874 $ac_includes_default
20875 typedef short ac__type_sizeof_;
20876 int
20877 main ()
20878 {
20879 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20880 test_array [0] = 0
20881
20882 ;
20883 return 0;
20884 }
20885 _ACEOF
20886 rm -f conftest.$ac_objext
20887 if { (ac_try="$ac_compile"
20888 case "(($ac_try" in
20889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20890 *) ac_try_echo=$ac_try;;
20891 esac
20892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20893 (eval "$ac_compile") 2>conftest.er1
20894 ac_status=$?
20895 grep -v '^ *+' conftest.er1 >conftest.err
20896 rm -f conftest.er1
20897 cat conftest.err >&5
20898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20899 (exit $ac_status); } && {
20900 test -z "$ac_c_werror_flag" ||
20901 test ! -s conftest.err
20902 } && test -s conftest.$ac_objext; then
20903 ac_lo=0 ac_mid=0
20904 while :; do
20905 cat >conftest.$ac_ext <<_ACEOF
20906 /* confdefs.h. */
20907 _ACEOF
20908 cat confdefs.h >>conftest.$ac_ext
20909 cat >>conftest.$ac_ext <<_ACEOF
20910 /* end confdefs.h. */
20911 $ac_includes_default
20912 typedef short ac__type_sizeof_;
20913 int
20914 main ()
20915 {
20916 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20917 test_array [0] = 0
20918
20919 ;
20920 return 0;
20921 }
20922 _ACEOF
20923 rm -f conftest.$ac_objext
20924 if { (ac_try="$ac_compile"
20925 case "(($ac_try" in
20926 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20927 *) ac_try_echo=$ac_try;;
20928 esac
20929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20930 (eval "$ac_compile") 2>conftest.er1
20931 ac_status=$?
20932 grep -v '^ *+' conftest.er1 >conftest.err
20933 rm -f conftest.er1
20934 cat conftest.err >&5
20935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20936 (exit $ac_status); } && {
20937 test -z "$ac_c_werror_flag" ||
20938 test ! -s conftest.err
20939 } && test -s conftest.$ac_objext; then
20940 ac_hi=$ac_mid; break
20941 else
20942 echo "$as_me: failed program was:" >&5
20943 sed 's/^/| /' conftest.$ac_ext >&5
20944
20945 ac_lo=`expr $ac_mid + 1`
20946 if test $ac_lo -le $ac_mid; then
20947 ac_lo= ac_hi=
20948 break
20949 fi
20950 ac_mid=`expr 2 '*' $ac_mid + 1`
20951 fi
20952
20953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20954 done
20955 else
20956 echo "$as_me: failed program was:" >&5
20957 sed 's/^/| /' conftest.$ac_ext >&5
20958
20959 cat >conftest.$ac_ext <<_ACEOF
20960 /* confdefs.h. */
20961 _ACEOF
20962 cat confdefs.h >>conftest.$ac_ext
20963 cat >>conftest.$ac_ext <<_ACEOF
20964 /* end confdefs.h. */
20965 $ac_includes_default
20966 typedef short ac__type_sizeof_;
20967 int
20968 main ()
20969 {
20970 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20971 test_array [0] = 0
20972
20973 ;
20974 return 0;
20975 }
20976 _ACEOF
20977 rm -f conftest.$ac_objext
20978 if { (ac_try="$ac_compile"
20979 case "(($ac_try" in
20980 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20981 *) ac_try_echo=$ac_try;;
20982 esac
20983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20984 (eval "$ac_compile") 2>conftest.er1
20985 ac_status=$?
20986 grep -v '^ *+' conftest.er1 >conftest.err
20987 rm -f conftest.er1
20988 cat conftest.err >&5
20989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20990 (exit $ac_status); } && {
20991 test -z "$ac_c_werror_flag" ||
20992 test ! -s conftest.err
20993 } && test -s conftest.$ac_objext; then
20994 ac_hi=-1 ac_mid=-1
20995 while :; do
20996 cat >conftest.$ac_ext <<_ACEOF
20997 /* confdefs.h. */
20998 _ACEOF
20999 cat confdefs.h >>conftest.$ac_ext
21000 cat >>conftest.$ac_ext <<_ACEOF
21001 /* end confdefs.h. */
21002 $ac_includes_default
21003 typedef short ac__type_sizeof_;
21004 int
21005 main ()
21006 {
21007 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21008 test_array [0] = 0
21009
21010 ;
21011 return 0;
21012 }
21013 _ACEOF
21014 rm -f conftest.$ac_objext
21015 if { (ac_try="$ac_compile"
21016 case "(($ac_try" in
21017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21018 *) ac_try_echo=$ac_try;;
21019 esac
21020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21021 (eval "$ac_compile") 2>conftest.er1
21022 ac_status=$?
21023 grep -v '^ *+' conftest.er1 >conftest.err
21024 rm -f conftest.er1
21025 cat conftest.err >&5
21026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21027 (exit $ac_status); } && {
21028 test -z "$ac_c_werror_flag" ||
21029 test ! -s conftest.err
21030 } && test -s conftest.$ac_objext; then
21031 ac_lo=$ac_mid; break
21032 else
21033 echo "$as_me: failed program was:" >&5
21034 sed 's/^/| /' conftest.$ac_ext >&5
21035
21036 ac_hi=`expr '(' $ac_mid ')' - 1`
21037 if test $ac_mid -le $ac_hi; then
21038 ac_lo= ac_hi=
21039 break
21040 fi
21041 ac_mid=`expr 2 '*' $ac_mid`
21042 fi
21043
21044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21045 done
21046 else
21047 echo "$as_me: failed program was:" >&5
21048 sed 's/^/| /' conftest.$ac_ext >&5
21049
21050 ac_lo= ac_hi=
21051 fi
21052
21053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21054 fi
21055
21056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21057 # Binary search between lo and hi bounds.
21058 while test "x$ac_lo" != "x$ac_hi"; do
21059 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21060 cat >conftest.$ac_ext <<_ACEOF
21061 /* confdefs.h. */
21062 _ACEOF
21063 cat confdefs.h >>conftest.$ac_ext
21064 cat >>conftest.$ac_ext <<_ACEOF
21065 /* end confdefs.h. */
21066 $ac_includes_default
21067 typedef short ac__type_sizeof_;
21068 int
21069 main ()
21070 {
21071 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21072 test_array [0] = 0
21073
21074 ;
21075 return 0;
21076 }
21077 _ACEOF
21078 rm -f conftest.$ac_objext
21079 if { (ac_try="$ac_compile"
21080 case "(($ac_try" in
21081 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21082 *) ac_try_echo=$ac_try;;
21083 esac
21084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21085 (eval "$ac_compile") 2>conftest.er1
21086 ac_status=$?
21087 grep -v '^ *+' conftest.er1 >conftest.err
21088 rm -f conftest.er1
21089 cat conftest.err >&5
21090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21091 (exit $ac_status); } && {
21092 test -z "$ac_c_werror_flag" ||
21093 test ! -s conftest.err
21094 } && test -s conftest.$ac_objext; then
21095 ac_hi=$ac_mid
21096 else
21097 echo "$as_me: failed program was:" >&5
21098 sed 's/^/| /' conftest.$ac_ext >&5
21099
21100 ac_lo=`expr '(' $ac_mid ')' + 1`
21101 fi
21102
21103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21104 done
21105 case $ac_lo in
21106 ?*) ac_cv_sizeof_short=$ac_lo;;
21107 '') if test "$ac_cv_type_short" = yes; then
21108 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
21109 See \`config.log' for more details." >&5
21110 echo "$as_me: error: cannot compute sizeof (short)
21111 See \`config.log' for more details." >&2;}
21112 { (exit 77); exit 77; }; }
21113 else
21114 ac_cv_sizeof_short=0
21115 fi ;;
21116 esac
21117 else
21118 cat >conftest.$ac_ext <<_ACEOF
21119 /* confdefs.h. */
21120 _ACEOF
21121 cat confdefs.h >>conftest.$ac_ext
21122 cat >>conftest.$ac_ext <<_ACEOF
21123 /* end confdefs.h. */
21124 $ac_includes_default
21125 typedef short ac__type_sizeof_;
21126 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21127 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21128 #include <stdio.h>
21129 #include <stdlib.h>
21130 int
21131 main ()
21132 {
21133
21134 FILE *f = fopen ("conftest.val", "w");
21135 if (! f)
21136 return 1;
21137 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21138 {
21139 long int i = longval ();
21140 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21141 return 1;
21142 fprintf (f, "%ld\n", i);
21143 }
21144 else
21145 {
21146 unsigned long int i = ulongval ();
21147 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21148 return 1;
21149 fprintf (f, "%lu\n", i);
21150 }
21151 return ferror (f) || fclose (f) != 0;
21152
21153 ;
21154 return 0;
21155 }
21156 _ACEOF
21157 rm -f conftest$ac_exeext
21158 if { (ac_try="$ac_link"
21159 case "(($ac_try" in
21160 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21161 *) ac_try_echo=$ac_try;;
21162 esac
21163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21164 (eval "$ac_link") 2>&5
21165 ac_status=$?
21166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21167 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21168 { (case "(($ac_try" in
21169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21170 *) ac_try_echo=$ac_try;;
21171 esac
21172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21173 (eval "$ac_try") 2>&5
21174 ac_status=$?
21175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21176 (exit $ac_status); }; }; then
21177 ac_cv_sizeof_short=`cat conftest.val`
21178 else
21179 echo "$as_me: program exited with status $ac_status" >&5
21180 echo "$as_me: failed program was:" >&5
21181 sed 's/^/| /' conftest.$ac_ext >&5
21182
21183 ( exit $ac_status )
21184 if test "$ac_cv_type_short" = yes; then
21185 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
21186 See \`config.log' for more details." >&5
21187 echo "$as_me: error: cannot compute sizeof (short)
21188 See \`config.log' for more details." >&2;}
21189 { (exit 77); exit 77; }; }
21190 else
21191 ac_cv_sizeof_short=0
21192 fi
21193 fi
21194 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21195 fi
21196 rm -f conftest.val
21197 fi
21198 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
21199 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
21200
21201
21202
21203 cat >>confdefs.h <<_ACEOF
21204 #define SIZEOF_SHORT $ac_cv_sizeof_short
21205 _ACEOF
21206
21207
21208 { echo "$as_me:$LINENO: checking for void *" >&5
21209 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
21210 if test "${ac_cv_type_void_p+set}" = set; then
21211 echo $ECHO_N "(cached) $ECHO_C" >&6
21212 else
21213 cat >conftest.$ac_ext <<_ACEOF
21214 /* confdefs.h. */
21215 _ACEOF
21216 cat confdefs.h >>conftest.$ac_ext
21217 cat >>conftest.$ac_ext <<_ACEOF
21218 /* end confdefs.h. */
21219 $ac_includes_default
21220 typedef void * ac__type_new_;
21221 int
21222 main ()
21223 {
21224 if ((ac__type_new_ *) 0)
21225 return 0;
21226 if (sizeof (ac__type_new_))
21227 return 0;
21228 ;
21229 return 0;
21230 }
21231 _ACEOF
21232 rm -f conftest.$ac_objext
21233 if { (ac_try="$ac_compile"
21234 case "(($ac_try" in
21235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21236 *) ac_try_echo=$ac_try;;
21237 esac
21238 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21239 (eval "$ac_compile") 2>conftest.er1
21240 ac_status=$?
21241 grep -v '^ *+' conftest.er1 >conftest.err
21242 rm -f conftest.er1
21243 cat conftest.err >&5
21244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21245 (exit $ac_status); } && {
21246 test -z "$ac_c_werror_flag" ||
21247 test ! -s conftest.err
21248 } && test -s conftest.$ac_objext; then
21249 ac_cv_type_void_p=yes
21250 else
21251 echo "$as_me: failed program was:" >&5
21252 sed 's/^/| /' conftest.$ac_ext >&5
21253
21254 ac_cv_type_void_p=no
21255 fi
21256
21257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21258 fi
21259 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
21260 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
21261
21262 # The cast to long int works around a bug in the HP C Compiler
21263 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21264 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21265 # This bug is HP SR number 8606223364.
21266 { echo "$as_me:$LINENO: checking size of void *" >&5
21267 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
21268 if test "${ac_cv_sizeof_void_p+set}" = set; then
21269 echo $ECHO_N "(cached) $ECHO_C" >&6
21270 else
21271 if test "$cross_compiling" = yes; then
21272 # Depending upon the size, compute the lo and hi bounds.
21273 cat >conftest.$ac_ext <<_ACEOF
21274 /* confdefs.h. */
21275 _ACEOF
21276 cat confdefs.h >>conftest.$ac_ext
21277 cat >>conftest.$ac_ext <<_ACEOF
21278 /* end confdefs.h. */
21279 $ac_includes_default
21280 typedef void * ac__type_sizeof_;
21281 int
21282 main ()
21283 {
21284 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21285 test_array [0] = 0
21286
21287 ;
21288 return 0;
21289 }
21290 _ACEOF
21291 rm -f conftest.$ac_objext
21292 if { (ac_try="$ac_compile"
21293 case "(($ac_try" in
21294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21295 *) ac_try_echo=$ac_try;;
21296 esac
21297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21298 (eval "$ac_compile") 2>conftest.er1
21299 ac_status=$?
21300 grep -v '^ *+' conftest.er1 >conftest.err
21301 rm -f conftest.er1
21302 cat conftest.err >&5
21303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21304 (exit $ac_status); } && {
21305 test -z "$ac_c_werror_flag" ||
21306 test ! -s conftest.err
21307 } && test -s conftest.$ac_objext; then
21308 ac_lo=0 ac_mid=0
21309 while :; do
21310 cat >conftest.$ac_ext <<_ACEOF
21311 /* confdefs.h. */
21312 _ACEOF
21313 cat confdefs.h >>conftest.$ac_ext
21314 cat >>conftest.$ac_ext <<_ACEOF
21315 /* end confdefs.h. */
21316 $ac_includes_default
21317 typedef void * ac__type_sizeof_;
21318 int
21319 main ()
21320 {
21321 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21322 test_array [0] = 0
21323
21324 ;
21325 return 0;
21326 }
21327 _ACEOF
21328 rm -f conftest.$ac_objext
21329 if { (ac_try="$ac_compile"
21330 case "(($ac_try" in
21331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21332 *) ac_try_echo=$ac_try;;
21333 esac
21334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21335 (eval "$ac_compile") 2>conftest.er1
21336 ac_status=$?
21337 grep -v '^ *+' conftest.er1 >conftest.err
21338 rm -f conftest.er1
21339 cat conftest.err >&5
21340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21341 (exit $ac_status); } && {
21342 test -z "$ac_c_werror_flag" ||
21343 test ! -s conftest.err
21344 } && test -s conftest.$ac_objext; then
21345 ac_hi=$ac_mid; break
21346 else
21347 echo "$as_me: failed program was:" >&5
21348 sed 's/^/| /' conftest.$ac_ext >&5
21349
21350 ac_lo=`expr $ac_mid + 1`
21351 if test $ac_lo -le $ac_mid; then
21352 ac_lo= ac_hi=
21353 break
21354 fi
21355 ac_mid=`expr 2 '*' $ac_mid + 1`
21356 fi
21357
21358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21359 done
21360 else
21361 echo "$as_me: failed program was:" >&5
21362 sed 's/^/| /' conftest.$ac_ext >&5
21363
21364 cat >conftest.$ac_ext <<_ACEOF
21365 /* confdefs.h. */
21366 _ACEOF
21367 cat confdefs.h >>conftest.$ac_ext
21368 cat >>conftest.$ac_ext <<_ACEOF
21369 /* end confdefs.h. */
21370 $ac_includes_default
21371 typedef void * ac__type_sizeof_;
21372 int
21373 main ()
21374 {
21375 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21376 test_array [0] = 0
21377
21378 ;
21379 return 0;
21380 }
21381 _ACEOF
21382 rm -f conftest.$ac_objext
21383 if { (ac_try="$ac_compile"
21384 case "(($ac_try" in
21385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21386 *) ac_try_echo=$ac_try;;
21387 esac
21388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21389 (eval "$ac_compile") 2>conftest.er1
21390 ac_status=$?
21391 grep -v '^ *+' conftest.er1 >conftest.err
21392 rm -f conftest.er1
21393 cat conftest.err >&5
21394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21395 (exit $ac_status); } && {
21396 test -z "$ac_c_werror_flag" ||
21397 test ! -s conftest.err
21398 } && test -s conftest.$ac_objext; then
21399 ac_hi=-1 ac_mid=-1
21400 while :; do
21401 cat >conftest.$ac_ext <<_ACEOF
21402 /* confdefs.h. */
21403 _ACEOF
21404 cat confdefs.h >>conftest.$ac_ext
21405 cat >>conftest.$ac_ext <<_ACEOF
21406 /* end confdefs.h. */
21407 $ac_includes_default
21408 typedef void * ac__type_sizeof_;
21409 int
21410 main ()
21411 {
21412 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21413 test_array [0] = 0
21414
21415 ;
21416 return 0;
21417 }
21418 _ACEOF
21419 rm -f conftest.$ac_objext
21420 if { (ac_try="$ac_compile"
21421 case "(($ac_try" in
21422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21423 *) ac_try_echo=$ac_try;;
21424 esac
21425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21426 (eval "$ac_compile") 2>conftest.er1
21427 ac_status=$?
21428 grep -v '^ *+' conftest.er1 >conftest.err
21429 rm -f conftest.er1
21430 cat conftest.err >&5
21431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21432 (exit $ac_status); } && {
21433 test -z "$ac_c_werror_flag" ||
21434 test ! -s conftest.err
21435 } && test -s conftest.$ac_objext; then
21436 ac_lo=$ac_mid; break
21437 else
21438 echo "$as_me: failed program was:" >&5
21439 sed 's/^/| /' conftest.$ac_ext >&5
21440
21441 ac_hi=`expr '(' $ac_mid ')' - 1`
21442 if test $ac_mid -le $ac_hi; then
21443 ac_lo= ac_hi=
21444 break
21445 fi
21446 ac_mid=`expr 2 '*' $ac_mid`
21447 fi
21448
21449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21450 done
21451 else
21452 echo "$as_me: failed program was:" >&5
21453 sed 's/^/| /' conftest.$ac_ext >&5
21454
21455 ac_lo= ac_hi=
21456 fi
21457
21458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21459 fi
21460
21461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21462 # Binary search between lo and hi bounds.
21463 while test "x$ac_lo" != "x$ac_hi"; do
21464 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21465 cat >conftest.$ac_ext <<_ACEOF
21466 /* confdefs.h. */
21467 _ACEOF
21468 cat confdefs.h >>conftest.$ac_ext
21469 cat >>conftest.$ac_ext <<_ACEOF
21470 /* end confdefs.h. */
21471 $ac_includes_default
21472 typedef void * ac__type_sizeof_;
21473 int
21474 main ()
21475 {
21476 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21477 test_array [0] = 0
21478
21479 ;
21480 return 0;
21481 }
21482 _ACEOF
21483 rm -f conftest.$ac_objext
21484 if { (ac_try="$ac_compile"
21485 case "(($ac_try" in
21486 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21487 *) ac_try_echo=$ac_try;;
21488 esac
21489 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21490 (eval "$ac_compile") 2>conftest.er1
21491 ac_status=$?
21492 grep -v '^ *+' conftest.er1 >conftest.err
21493 rm -f conftest.er1
21494 cat conftest.err >&5
21495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21496 (exit $ac_status); } && {
21497 test -z "$ac_c_werror_flag" ||
21498 test ! -s conftest.err
21499 } && test -s conftest.$ac_objext; then
21500 ac_hi=$ac_mid
21501 else
21502 echo "$as_me: failed program was:" >&5
21503 sed 's/^/| /' conftest.$ac_ext >&5
21504
21505 ac_lo=`expr '(' $ac_mid ')' + 1`
21506 fi
21507
21508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21509 done
21510 case $ac_lo in
21511 ?*) ac_cv_sizeof_void_p=$ac_lo;;
21512 '') if test "$ac_cv_type_void_p" = yes; then
21513 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
21514 See \`config.log' for more details." >&5
21515 echo "$as_me: error: cannot compute sizeof (void *)
21516 See \`config.log' for more details." >&2;}
21517 { (exit 77); exit 77; }; }
21518 else
21519 ac_cv_sizeof_void_p=0
21520 fi ;;
21521 esac
21522 else
21523 cat >conftest.$ac_ext <<_ACEOF
21524 /* confdefs.h. */
21525 _ACEOF
21526 cat confdefs.h >>conftest.$ac_ext
21527 cat >>conftest.$ac_ext <<_ACEOF
21528 /* end confdefs.h. */
21529 $ac_includes_default
21530 typedef void * ac__type_sizeof_;
21531 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21532 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21533 #include <stdio.h>
21534 #include <stdlib.h>
21535 int
21536 main ()
21537 {
21538
21539 FILE *f = fopen ("conftest.val", "w");
21540 if (! f)
21541 return 1;
21542 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21543 {
21544 long int i = longval ();
21545 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21546 return 1;
21547 fprintf (f, "%ld\n", i);
21548 }
21549 else
21550 {
21551 unsigned long int i = ulongval ();
21552 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21553 return 1;
21554 fprintf (f, "%lu\n", i);
21555 }
21556 return ferror (f) || fclose (f) != 0;
21557
21558 ;
21559 return 0;
21560 }
21561 _ACEOF
21562 rm -f conftest$ac_exeext
21563 if { (ac_try="$ac_link"
21564 case "(($ac_try" in
21565 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21566 *) ac_try_echo=$ac_try;;
21567 esac
21568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21569 (eval "$ac_link") 2>&5
21570 ac_status=$?
21571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21572 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21573 { (case "(($ac_try" in
21574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21575 *) ac_try_echo=$ac_try;;
21576 esac
21577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21578 (eval "$ac_try") 2>&5
21579 ac_status=$?
21580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21581 (exit $ac_status); }; }; then
21582 ac_cv_sizeof_void_p=`cat conftest.val`
21583 else
21584 echo "$as_me: program exited with status $ac_status" >&5
21585 echo "$as_me: failed program was:" >&5
21586 sed 's/^/| /' conftest.$ac_ext >&5
21587
21588 ( exit $ac_status )
21589 if test "$ac_cv_type_void_p" = yes; then
21590 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
21591 See \`config.log' for more details." >&5
21592 echo "$as_me: error: cannot compute sizeof (void *)
21593 See \`config.log' for more details." >&2;}
21594 { (exit 77); exit 77; }; }
21595 else
21596 ac_cv_sizeof_void_p=0
21597 fi
21598 fi
21599 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21600 fi
21601 rm -f conftest.val
21602 fi
21603 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
21604 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
21605
21606
21607
21608 cat >>confdefs.h <<_ACEOF
21609 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
21610 _ACEOF
21611
21612
21613 { echo "$as_me:$LINENO: checking for int" >&5
21614 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
21615 if test "${ac_cv_type_int+set}" = set; then
21616 echo $ECHO_N "(cached) $ECHO_C" >&6
21617 else
21618 cat >conftest.$ac_ext <<_ACEOF
21619 /* confdefs.h. */
21620 _ACEOF
21621 cat confdefs.h >>conftest.$ac_ext
21622 cat >>conftest.$ac_ext <<_ACEOF
21623 /* end confdefs.h. */
21624 $ac_includes_default
21625 typedef int ac__type_new_;
21626 int
21627 main ()
21628 {
21629 if ((ac__type_new_ *) 0)
21630 return 0;
21631 if (sizeof (ac__type_new_))
21632 return 0;
21633 ;
21634 return 0;
21635 }
21636 _ACEOF
21637 rm -f conftest.$ac_objext
21638 if { (ac_try="$ac_compile"
21639 case "(($ac_try" in
21640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21641 *) ac_try_echo=$ac_try;;
21642 esac
21643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21644 (eval "$ac_compile") 2>conftest.er1
21645 ac_status=$?
21646 grep -v '^ *+' conftest.er1 >conftest.err
21647 rm -f conftest.er1
21648 cat conftest.err >&5
21649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21650 (exit $ac_status); } && {
21651 test -z "$ac_c_werror_flag" ||
21652 test ! -s conftest.err
21653 } && test -s conftest.$ac_objext; then
21654 ac_cv_type_int=yes
21655 else
21656 echo "$as_me: failed program was:" >&5
21657 sed 's/^/| /' conftest.$ac_ext >&5
21658
21659 ac_cv_type_int=no
21660 fi
21661
21662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21663 fi
21664 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
21665 echo "${ECHO_T}$ac_cv_type_int" >&6; }
21666
21667 # The cast to long int works around a bug in the HP C Compiler
21668 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21669 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21670 # This bug is HP SR number 8606223364.
21671 { echo "$as_me:$LINENO: checking size of int" >&5
21672 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
21673 if test "${ac_cv_sizeof_int+set}" = set; then
21674 echo $ECHO_N "(cached) $ECHO_C" >&6
21675 else
21676 if test "$cross_compiling" = yes; then
21677 # Depending upon the size, compute the lo and hi bounds.
21678 cat >conftest.$ac_ext <<_ACEOF
21679 /* confdefs.h. */
21680 _ACEOF
21681 cat confdefs.h >>conftest.$ac_ext
21682 cat >>conftest.$ac_ext <<_ACEOF
21683 /* end confdefs.h. */
21684 $ac_includes_default
21685 typedef int ac__type_sizeof_;
21686 int
21687 main ()
21688 {
21689 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21690 test_array [0] = 0
21691
21692 ;
21693 return 0;
21694 }
21695 _ACEOF
21696 rm -f conftest.$ac_objext
21697 if { (ac_try="$ac_compile"
21698 case "(($ac_try" in
21699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21700 *) ac_try_echo=$ac_try;;
21701 esac
21702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21703 (eval "$ac_compile") 2>conftest.er1
21704 ac_status=$?
21705 grep -v '^ *+' conftest.er1 >conftest.err
21706 rm -f conftest.er1
21707 cat conftest.err >&5
21708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21709 (exit $ac_status); } && {
21710 test -z "$ac_c_werror_flag" ||
21711 test ! -s conftest.err
21712 } && test -s conftest.$ac_objext; then
21713 ac_lo=0 ac_mid=0
21714 while :; do
21715 cat >conftest.$ac_ext <<_ACEOF
21716 /* confdefs.h. */
21717 _ACEOF
21718 cat confdefs.h >>conftest.$ac_ext
21719 cat >>conftest.$ac_ext <<_ACEOF
21720 /* end confdefs.h. */
21721 $ac_includes_default
21722 typedef int ac__type_sizeof_;
21723 int
21724 main ()
21725 {
21726 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21727 test_array [0] = 0
21728
21729 ;
21730 return 0;
21731 }
21732 _ACEOF
21733 rm -f conftest.$ac_objext
21734 if { (ac_try="$ac_compile"
21735 case "(($ac_try" in
21736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21737 *) ac_try_echo=$ac_try;;
21738 esac
21739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21740 (eval "$ac_compile") 2>conftest.er1
21741 ac_status=$?
21742 grep -v '^ *+' conftest.er1 >conftest.err
21743 rm -f conftest.er1
21744 cat conftest.err >&5
21745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21746 (exit $ac_status); } && {
21747 test -z "$ac_c_werror_flag" ||
21748 test ! -s conftest.err
21749 } && test -s conftest.$ac_objext; then
21750 ac_hi=$ac_mid; break
21751 else
21752 echo "$as_me: failed program was:" >&5
21753 sed 's/^/| /' conftest.$ac_ext >&5
21754
21755 ac_lo=`expr $ac_mid + 1`
21756 if test $ac_lo -le $ac_mid; then
21757 ac_lo= ac_hi=
21758 break
21759 fi
21760 ac_mid=`expr 2 '*' $ac_mid + 1`
21761 fi
21762
21763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21764 done
21765 else
21766 echo "$as_me: failed program was:" >&5
21767 sed 's/^/| /' conftest.$ac_ext >&5
21768
21769 cat >conftest.$ac_ext <<_ACEOF
21770 /* confdefs.h. */
21771 _ACEOF
21772 cat confdefs.h >>conftest.$ac_ext
21773 cat >>conftest.$ac_ext <<_ACEOF
21774 /* end confdefs.h. */
21775 $ac_includes_default
21776 typedef int ac__type_sizeof_;
21777 int
21778 main ()
21779 {
21780 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21781 test_array [0] = 0
21782
21783 ;
21784 return 0;
21785 }
21786 _ACEOF
21787 rm -f conftest.$ac_objext
21788 if { (ac_try="$ac_compile"
21789 case "(($ac_try" in
21790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21791 *) ac_try_echo=$ac_try;;
21792 esac
21793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21794 (eval "$ac_compile") 2>conftest.er1
21795 ac_status=$?
21796 grep -v '^ *+' conftest.er1 >conftest.err
21797 rm -f conftest.er1
21798 cat conftest.err >&5
21799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21800 (exit $ac_status); } && {
21801 test -z "$ac_c_werror_flag" ||
21802 test ! -s conftest.err
21803 } && test -s conftest.$ac_objext; then
21804 ac_hi=-1 ac_mid=-1
21805 while :; do
21806 cat >conftest.$ac_ext <<_ACEOF
21807 /* confdefs.h. */
21808 _ACEOF
21809 cat confdefs.h >>conftest.$ac_ext
21810 cat >>conftest.$ac_ext <<_ACEOF
21811 /* end confdefs.h. */
21812 $ac_includes_default
21813 typedef int ac__type_sizeof_;
21814 int
21815 main ()
21816 {
21817 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21818 test_array [0] = 0
21819
21820 ;
21821 return 0;
21822 }
21823 _ACEOF
21824 rm -f conftest.$ac_objext
21825 if { (ac_try="$ac_compile"
21826 case "(($ac_try" in
21827 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21828 *) ac_try_echo=$ac_try;;
21829 esac
21830 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21831 (eval "$ac_compile") 2>conftest.er1
21832 ac_status=$?
21833 grep -v '^ *+' conftest.er1 >conftest.err
21834 rm -f conftest.er1
21835 cat conftest.err >&5
21836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21837 (exit $ac_status); } && {
21838 test -z "$ac_c_werror_flag" ||
21839 test ! -s conftest.err
21840 } && test -s conftest.$ac_objext; then
21841 ac_lo=$ac_mid; break
21842 else
21843 echo "$as_me: failed program was:" >&5
21844 sed 's/^/| /' conftest.$ac_ext >&5
21845
21846 ac_hi=`expr '(' $ac_mid ')' - 1`
21847 if test $ac_mid -le $ac_hi; then
21848 ac_lo= ac_hi=
21849 break
21850 fi
21851 ac_mid=`expr 2 '*' $ac_mid`
21852 fi
21853
21854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21855 done
21856 else
21857 echo "$as_me: failed program was:" >&5
21858 sed 's/^/| /' conftest.$ac_ext >&5
21859
21860 ac_lo= ac_hi=
21861 fi
21862
21863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21864 fi
21865
21866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21867 # Binary search between lo and hi bounds.
21868 while test "x$ac_lo" != "x$ac_hi"; do
21869 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21870 cat >conftest.$ac_ext <<_ACEOF
21871 /* confdefs.h. */
21872 _ACEOF
21873 cat confdefs.h >>conftest.$ac_ext
21874 cat >>conftest.$ac_ext <<_ACEOF
21875 /* end confdefs.h. */
21876 $ac_includes_default
21877 typedef int ac__type_sizeof_;
21878 int
21879 main ()
21880 {
21881 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21882 test_array [0] = 0
21883
21884 ;
21885 return 0;
21886 }
21887 _ACEOF
21888 rm -f conftest.$ac_objext
21889 if { (ac_try="$ac_compile"
21890 case "(($ac_try" in
21891 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21892 *) ac_try_echo=$ac_try;;
21893 esac
21894 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21895 (eval "$ac_compile") 2>conftest.er1
21896 ac_status=$?
21897 grep -v '^ *+' conftest.er1 >conftest.err
21898 rm -f conftest.er1
21899 cat conftest.err >&5
21900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21901 (exit $ac_status); } && {
21902 test -z "$ac_c_werror_flag" ||
21903 test ! -s conftest.err
21904 } && test -s conftest.$ac_objext; then
21905 ac_hi=$ac_mid
21906 else
21907 echo "$as_me: failed program was:" >&5
21908 sed 's/^/| /' conftest.$ac_ext >&5
21909
21910 ac_lo=`expr '(' $ac_mid ')' + 1`
21911 fi
21912
21913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21914 done
21915 case $ac_lo in
21916 ?*) ac_cv_sizeof_int=$ac_lo;;
21917 '') if test "$ac_cv_type_int" = yes; then
21918 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
21919 See \`config.log' for more details." >&5
21920 echo "$as_me: error: cannot compute sizeof (int)
21921 See \`config.log' for more details." >&2;}
21922 { (exit 77); exit 77; }; }
21923 else
21924 ac_cv_sizeof_int=0
21925 fi ;;
21926 esac
21927 else
21928 cat >conftest.$ac_ext <<_ACEOF
21929 /* confdefs.h. */
21930 _ACEOF
21931 cat confdefs.h >>conftest.$ac_ext
21932 cat >>conftest.$ac_ext <<_ACEOF
21933 /* end confdefs.h. */
21934 $ac_includes_default
21935 typedef int ac__type_sizeof_;
21936 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21937 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21938 #include <stdio.h>
21939 #include <stdlib.h>
21940 int
21941 main ()
21942 {
21943
21944 FILE *f = fopen ("conftest.val", "w");
21945 if (! f)
21946 return 1;
21947 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21948 {
21949 long int i = longval ();
21950 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21951 return 1;
21952 fprintf (f, "%ld\n", i);
21953 }
21954 else
21955 {
21956 unsigned long int i = ulongval ();
21957 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21958 return 1;
21959 fprintf (f, "%lu\n", i);
21960 }
21961 return ferror (f) || fclose (f) != 0;
21962
21963 ;
21964 return 0;
21965 }
21966 _ACEOF
21967 rm -f conftest$ac_exeext
21968 if { (ac_try="$ac_link"
21969 case "(($ac_try" in
21970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21971 *) ac_try_echo=$ac_try;;
21972 esac
21973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21974 (eval "$ac_link") 2>&5
21975 ac_status=$?
21976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21977 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21978 { (case "(($ac_try" in
21979 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21980 *) ac_try_echo=$ac_try;;
21981 esac
21982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21983 (eval "$ac_try") 2>&5
21984 ac_status=$?
21985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21986 (exit $ac_status); }; }; then
21987 ac_cv_sizeof_int=`cat conftest.val`
21988 else
21989 echo "$as_me: program exited with status $ac_status" >&5
21990 echo "$as_me: failed program was:" >&5
21991 sed 's/^/| /' conftest.$ac_ext >&5
21992
21993 ( exit $ac_status )
21994 if test "$ac_cv_type_int" = yes; then
21995 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
21996 See \`config.log' for more details." >&5
21997 echo "$as_me: error: cannot compute sizeof (int)
21998 See \`config.log' for more details." >&2;}
21999 { (exit 77); exit 77; }; }
22000 else
22001 ac_cv_sizeof_int=0
22002 fi
22003 fi
22004 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22005 fi
22006 rm -f conftest.val
22007 fi
22008 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
22009 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
22010
22011
22012
22013 cat >>confdefs.h <<_ACEOF
22014 #define SIZEOF_INT $ac_cv_sizeof_int
22015 _ACEOF
22016
22017
22018 { echo "$as_me:$LINENO: checking for long" >&5
22019 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
22020 if test "${ac_cv_type_long+set}" = set; then
22021 echo $ECHO_N "(cached) $ECHO_C" >&6
22022 else
22023 cat >conftest.$ac_ext <<_ACEOF
22024 /* confdefs.h. */
22025 _ACEOF
22026 cat confdefs.h >>conftest.$ac_ext
22027 cat >>conftest.$ac_ext <<_ACEOF
22028 /* end confdefs.h. */
22029 $ac_includes_default
22030 typedef long ac__type_new_;
22031 int
22032 main ()
22033 {
22034 if ((ac__type_new_ *) 0)
22035 return 0;
22036 if (sizeof (ac__type_new_))
22037 return 0;
22038 ;
22039 return 0;
22040 }
22041 _ACEOF
22042 rm -f conftest.$ac_objext
22043 if { (ac_try="$ac_compile"
22044 case "(($ac_try" in
22045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22046 *) ac_try_echo=$ac_try;;
22047 esac
22048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22049 (eval "$ac_compile") 2>conftest.er1
22050 ac_status=$?
22051 grep -v '^ *+' conftest.er1 >conftest.err
22052 rm -f conftest.er1
22053 cat conftest.err >&5
22054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22055 (exit $ac_status); } && {
22056 test -z "$ac_c_werror_flag" ||
22057 test ! -s conftest.err
22058 } && test -s conftest.$ac_objext; then
22059 ac_cv_type_long=yes
22060 else
22061 echo "$as_me: failed program was:" >&5
22062 sed 's/^/| /' conftest.$ac_ext >&5
22063
22064 ac_cv_type_long=no
22065 fi
22066
22067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22068 fi
22069 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
22070 echo "${ECHO_T}$ac_cv_type_long" >&6; }
22071
22072 # The cast to long int works around a bug in the HP C Compiler
22073 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22074 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22075 # This bug is HP SR number 8606223364.
22076 { echo "$as_me:$LINENO: checking size of long" >&5
22077 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
22078 if test "${ac_cv_sizeof_long+set}" = set; then
22079 echo $ECHO_N "(cached) $ECHO_C" >&6
22080 else
22081 if test "$cross_compiling" = yes; then
22082 # Depending upon the size, compute the lo and hi bounds.
22083 cat >conftest.$ac_ext <<_ACEOF
22084 /* confdefs.h. */
22085 _ACEOF
22086 cat confdefs.h >>conftest.$ac_ext
22087 cat >>conftest.$ac_ext <<_ACEOF
22088 /* end confdefs.h. */
22089 $ac_includes_default
22090 typedef long ac__type_sizeof_;
22091 int
22092 main ()
22093 {
22094 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22095 test_array [0] = 0
22096
22097 ;
22098 return 0;
22099 }
22100 _ACEOF
22101 rm -f conftest.$ac_objext
22102 if { (ac_try="$ac_compile"
22103 case "(($ac_try" in
22104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22105 *) ac_try_echo=$ac_try;;
22106 esac
22107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22108 (eval "$ac_compile") 2>conftest.er1
22109 ac_status=$?
22110 grep -v '^ *+' conftest.er1 >conftest.err
22111 rm -f conftest.er1
22112 cat conftest.err >&5
22113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22114 (exit $ac_status); } && {
22115 test -z "$ac_c_werror_flag" ||
22116 test ! -s conftest.err
22117 } && test -s conftest.$ac_objext; then
22118 ac_lo=0 ac_mid=0
22119 while :; do
22120 cat >conftest.$ac_ext <<_ACEOF
22121 /* confdefs.h. */
22122 _ACEOF
22123 cat confdefs.h >>conftest.$ac_ext
22124 cat >>conftest.$ac_ext <<_ACEOF
22125 /* end confdefs.h. */
22126 $ac_includes_default
22127 typedef long ac__type_sizeof_;
22128 int
22129 main ()
22130 {
22131 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22132 test_array [0] = 0
22133
22134 ;
22135 return 0;
22136 }
22137 _ACEOF
22138 rm -f conftest.$ac_objext
22139 if { (ac_try="$ac_compile"
22140 case "(($ac_try" in
22141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22142 *) ac_try_echo=$ac_try;;
22143 esac
22144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22145 (eval "$ac_compile") 2>conftest.er1
22146 ac_status=$?
22147 grep -v '^ *+' conftest.er1 >conftest.err
22148 rm -f conftest.er1
22149 cat conftest.err >&5
22150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22151 (exit $ac_status); } && {
22152 test -z "$ac_c_werror_flag" ||
22153 test ! -s conftest.err
22154 } && test -s conftest.$ac_objext; then
22155 ac_hi=$ac_mid; break
22156 else
22157 echo "$as_me: failed program was:" >&5
22158 sed 's/^/| /' conftest.$ac_ext >&5
22159
22160 ac_lo=`expr $ac_mid + 1`
22161 if test $ac_lo -le $ac_mid; then
22162 ac_lo= ac_hi=
22163 break
22164 fi
22165 ac_mid=`expr 2 '*' $ac_mid + 1`
22166 fi
22167
22168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22169 done
22170 else
22171 echo "$as_me: failed program was:" >&5
22172 sed 's/^/| /' conftest.$ac_ext >&5
22173
22174 cat >conftest.$ac_ext <<_ACEOF
22175 /* confdefs.h. */
22176 _ACEOF
22177 cat confdefs.h >>conftest.$ac_ext
22178 cat >>conftest.$ac_ext <<_ACEOF
22179 /* end confdefs.h. */
22180 $ac_includes_default
22181 typedef long ac__type_sizeof_;
22182 int
22183 main ()
22184 {
22185 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22186 test_array [0] = 0
22187
22188 ;
22189 return 0;
22190 }
22191 _ACEOF
22192 rm -f conftest.$ac_objext
22193 if { (ac_try="$ac_compile"
22194 case "(($ac_try" in
22195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22196 *) ac_try_echo=$ac_try;;
22197 esac
22198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22199 (eval "$ac_compile") 2>conftest.er1
22200 ac_status=$?
22201 grep -v '^ *+' conftest.er1 >conftest.err
22202 rm -f conftest.er1
22203 cat conftest.err >&5
22204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22205 (exit $ac_status); } && {
22206 test -z "$ac_c_werror_flag" ||
22207 test ! -s conftest.err
22208 } && test -s conftest.$ac_objext; then
22209 ac_hi=-1 ac_mid=-1
22210 while :; do
22211 cat >conftest.$ac_ext <<_ACEOF
22212 /* confdefs.h. */
22213 _ACEOF
22214 cat confdefs.h >>conftest.$ac_ext
22215 cat >>conftest.$ac_ext <<_ACEOF
22216 /* end confdefs.h. */
22217 $ac_includes_default
22218 typedef long ac__type_sizeof_;
22219 int
22220 main ()
22221 {
22222 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22223 test_array [0] = 0
22224
22225 ;
22226 return 0;
22227 }
22228 _ACEOF
22229 rm -f conftest.$ac_objext
22230 if { (ac_try="$ac_compile"
22231 case "(($ac_try" in
22232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22233 *) ac_try_echo=$ac_try;;
22234 esac
22235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22236 (eval "$ac_compile") 2>conftest.er1
22237 ac_status=$?
22238 grep -v '^ *+' conftest.er1 >conftest.err
22239 rm -f conftest.er1
22240 cat conftest.err >&5
22241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22242 (exit $ac_status); } && {
22243 test -z "$ac_c_werror_flag" ||
22244 test ! -s conftest.err
22245 } && test -s conftest.$ac_objext; then
22246 ac_lo=$ac_mid; break
22247 else
22248 echo "$as_me: failed program was:" >&5
22249 sed 's/^/| /' conftest.$ac_ext >&5
22250
22251 ac_hi=`expr '(' $ac_mid ')' - 1`
22252 if test $ac_mid -le $ac_hi; then
22253 ac_lo= ac_hi=
22254 break
22255 fi
22256 ac_mid=`expr 2 '*' $ac_mid`
22257 fi
22258
22259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22260 done
22261 else
22262 echo "$as_me: failed program was:" >&5
22263 sed 's/^/| /' conftest.$ac_ext >&5
22264
22265 ac_lo= ac_hi=
22266 fi
22267
22268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22269 fi
22270
22271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22272 # Binary search between lo and hi bounds.
22273 while test "x$ac_lo" != "x$ac_hi"; do
22274 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22275 cat >conftest.$ac_ext <<_ACEOF
22276 /* confdefs.h. */
22277 _ACEOF
22278 cat confdefs.h >>conftest.$ac_ext
22279 cat >>conftest.$ac_ext <<_ACEOF
22280 /* end confdefs.h. */
22281 $ac_includes_default
22282 typedef long ac__type_sizeof_;
22283 int
22284 main ()
22285 {
22286 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22287 test_array [0] = 0
22288
22289 ;
22290 return 0;
22291 }
22292 _ACEOF
22293 rm -f conftest.$ac_objext
22294 if { (ac_try="$ac_compile"
22295 case "(($ac_try" in
22296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22297 *) ac_try_echo=$ac_try;;
22298 esac
22299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22300 (eval "$ac_compile") 2>conftest.er1
22301 ac_status=$?
22302 grep -v '^ *+' conftest.er1 >conftest.err
22303 rm -f conftest.er1
22304 cat conftest.err >&5
22305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22306 (exit $ac_status); } && {
22307 test -z "$ac_c_werror_flag" ||
22308 test ! -s conftest.err
22309 } && test -s conftest.$ac_objext; then
22310 ac_hi=$ac_mid
22311 else
22312 echo "$as_me: failed program was:" >&5
22313 sed 's/^/| /' conftest.$ac_ext >&5
22314
22315 ac_lo=`expr '(' $ac_mid ')' + 1`
22316 fi
22317
22318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22319 done
22320 case $ac_lo in
22321 ?*) ac_cv_sizeof_long=$ac_lo;;
22322 '') if test "$ac_cv_type_long" = yes; then
22323 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
22324 See \`config.log' for more details." >&5
22325 echo "$as_me: error: cannot compute sizeof (long)
22326 See \`config.log' for more details." >&2;}
22327 { (exit 77); exit 77; }; }
22328 else
22329 ac_cv_sizeof_long=0
22330 fi ;;
22331 esac
22332 else
22333 cat >conftest.$ac_ext <<_ACEOF
22334 /* confdefs.h. */
22335 _ACEOF
22336 cat confdefs.h >>conftest.$ac_ext
22337 cat >>conftest.$ac_ext <<_ACEOF
22338 /* end confdefs.h. */
22339 $ac_includes_default
22340 typedef long ac__type_sizeof_;
22341 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22342 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22343 #include <stdio.h>
22344 #include <stdlib.h>
22345 int
22346 main ()
22347 {
22348
22349 FILE *f = fopen ("conftest.val", "w");
22350 if (! f)
22351 return 1;
22352 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22353 {
22354 long int i = longval ();
22355 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22356 return 1;
22357 fprintf (f, "%ld\n", i);
22358 }
22359 else
22360 {
22361 unsigned long int i = ulongval ();
22362 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22363 return 1;
22364 fprintf (f, "%lu\n", i);
22365 }
22366 return ferror (f) || fclose (f) != 0;
22367
22368 ;
22369 return 0;
22370 }
22371 _ACEOF
22372 rm -f conftest$ac_exeext
22373 if { (ac_try="$ac_link"
22374 case "(($ac_try" in
22375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22376 *) ac_try_echo=$ac_try;;
22377 esac
22378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22379 (eval "$ac_link") 2>&5
22380 ac_status=$?
22381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22382 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22383 { (case "(($ac_try" in
22384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22385 *) ac_try_echo=$ac_try;;
22386 esac
22387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22388 (eval "$ac_try") 2>&5
22389 ac_status=$?
22390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22391 (exit $ac_status); }; }; then
22392 ac_cv_sizeof_long=`cat conftest.val`
22393 else
22394 echo "$as_me: program exited with status $ac_status" >&5
22395 echo "$as_me: failed program was:" >&5
22396 sed 's/^/| /' conftest.$ac_ext >&5
22397
22398 ( exit $ac_status )
22399 if test "$ac_cv_type_long" = yes; then
22400 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
22401 See \`config.log' for more details." >&5
22402 echo "$as_me: error: cannot compute sizeof (long)
22403 See \`config.log' for more details." >&2;}
22404 { (exit 77); exit 77; }; }
22405 else
22406 ac_cv_sizeof_long=0
22407 fi
22408 fi
22409 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22410 fi
22411 rm -f conftest.val
22412 fi
22413 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
22414 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
22415
22416
22417
22418 cat >>confdefs.h <<_ACEOF
22419 #define SIZEOF_LONG $ac_cv_sizeof_long
22420 _ACEOF
22421
22422
22423 { echo "$as_me:$LINENO: checking for size_t" >&5
22424 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
22425 if test "${ac_cv_type_size_t+set}" = set; then
22426 echo $ECHO_N "(cached) $ECHO_C" >&6
22427 else
22428 cat >conftest.$ac_ext <<_ACEOF
22429 /* confdefs.h. */
22430 _ACEOF
22431 cat confdefs.h >>conftest.$ac_ext
22432 cat >>conftest.$ac_ext <<_ACEOF
22433 /* end confdefs.h. */
22434 $ac_includes_default
22435 typedef size_t ac__type_new_;
22436 int
22437 main ()
22438 {
22439 if ((ac__type_new_ *) 0)
22440 return 0;
22441 if (sizeof (ac__type_new_))
22442 return 0;
22443 ;
22444 return 0;
22445 }
22446 _ACEOF
22447 rm -f conftest.$ac_objext
22448 if { (ac_try="$ac_compile"
22449 case "(($ac_try" in
22450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22451 *) ac_try_echo=$ac_try;;
22452 esac
22453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22454 (eval "$ac_compile") 2>conftest.er1
22455 ac_status=$?
22456 grep -v '^ *+' conftest.er1 >conftest.err
22457 rm -f conftest.er1
22458 cat conftest.err >&5
22459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22460 (exit $ac_status); } && {
22461 test -z "$ac_c_werror_flag" ||
22462 test ! -s conftest.err
22463 } && test -s conftest.$ac_objext; then
22464 ac_cv_type_size_t=yes
22465 else
22466 echo "$as_me: failed program was:" >&5
22467 sed 's/^/| /' conftest.$ac_ext >&5
22468
22469 ac_cv_type_size_t=no
22470 fi
22471
22472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22473 fi
22474 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
22475 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
22476
22477 # The cast to long int works around a bug in the HP C Compiler
22478 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22479 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22480 # This bug is HP SR number 8606223364.
22481 { echo "$as_me:$LINENO: checking size of size_t" >&5
22482 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
22483 if test "${ac_cv_sizeof_size_t+set}" = set; then
22484 echo $ECHO_N "(cached) $ECHO_C" >&6
22485 else
22486 if test "$cross_compiling" = yes; then
22487 # Depending upon the size, compute the lo and hi bounds.
22488 cat >conftest.$ac_ext <<_ACEOF
22489 /* confdefs.h. */
22490 _ACEOF
22491 cat confdefs.h >>conftest.$ac_ext
22492 cat >>conftest.$ac_ext <<_ACEOF
22493 /* end confdefs.h. */
22494 $ac_includes_default
22495 typedef size_t ac__type_sizeof_;
22496 int
22497 main ()
22498 {
22499 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22500 test_array [0] = 0
22501
22502 ;
22503 return 0;
22504 }
22505 _ACEOF
22506 rm -f conftest.$ac_objext
22507 if { (ac_try="$ac_compile"
22508 case "(($ac_try" in
22509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22510 *) ac_try_echo=$ac_try;;
22511 esac
22512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22513 (eval "$ac_compile") 2>conftest.er1
22514 ac_status=$?
22515 grep -v '^ *+' conftest.er1 >conftest.err
22516 rm -f conftest.er1
22517 cat conftest.err >&5
22518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22519 (exit $ac_status); } && {
22520 test -z "$ac_c_werror_flag" ||
22521 test ! -s conftest.err
22522 } && test -s conftest.$ac_objext; then
22523 ac_lo=0 ac_mid=0
22524 while :; do
22525 cat >conftest.$ac_ext <<_ACEOF
22526 /* confdefs.h. */
22527 _ACEOF
22528 cat confdefs.h >>conftest.$ac_ext
22529 cat >>conftest.$ac_ext <<_ACEOF
22530 /* end confdefs.h. */
22531 $ac_includes_default
22532 typedef size_t ac__type_sizeof_;
22533 int
22534 main ()
22535 {
22536 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22537 test_array [0] = 0
22538
22539 ;
22540 return 0;
22541 }
22542 _ACEOF
22543 rm -f conftest.$ac_objext
22544 if { (ac_try="$ac_compile"
22545 case "(($ac_try" in
22546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22547 *) ac_try_echo=$ac_try;;
22548 esac
22549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22550 (eval "$ac_compile") 2>conftest.er1
22551 ac_status=$?
22552 grep -v '^ *+' conftest.er1 >conftest.err
22553 rm -f conftest.er1
22554 cat conftest.err >&5
22555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22556 (exit $ac_status); } && {
22557 test -z "$ac_c_werror_flag" ||
22558 test ! -s conftest.err
22559 } && test -s conftest.$ac_objext; then
22560 ac_hi=$ac_mid; break
22561 else
22562 echo "$as_me: failed program was:" >&5
22563 sed 's/^/| /' conftest.$ac_ext >&5
22564
22565 ac_lo=`expr $ac_mid + 1`
22566 if test $ac_lo -le $ac_mid; then
22567 ac_lo= ac_hi=
22568 break
22569 fi
22570 ac_mid=`expr 2 '*' $ac_mid + 1`
22571 fi
22572
22573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22574 done
22575 else
22576 echo "$as_me: failed program was:" >&5
22577 sed 's/^/| /' conftest.$ac_ext >&5
22578
22579 cat >conftest.$ac_ext <<_ACEOF
22580 /* confdefs.h. */
22581 _ACEOF
22582 cat confdefs.h >>conftest.$ac_ext
22583 cat >>conftest.$ac_ext <<_ACEOF
22584 /* end confdefs.h. */
22585 $ac_includes_default
22586 typedef size_t ac__type_sizeof_;
22587 int
22588 main ()
22589 {
22590 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22591 test_array [0] = 0
22592
22593 ;
22594 return 0;
22595 }
22596 _ACEOF
22597 rm -f conftest.$ac_objext
22598 if { (ac_try="$ac_compile"
22599 case "(($ac_try" in
22600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22601 *) ac_try_echo=$ac_try;;
22602 esac
22603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22604 (eval "$ac_compile") 2>conftest.er1
22605 ac_status=$?
22606 grep -v '^ *+' conftest.er1 >conftest.err
22607 rm -f conftest.er1
22608 cat conftest.err >&5
22609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22610 (exit $ac_status); } && {
22611 test -z "$ac_c_werror_flag" ||
22612 test ! -s conftest.err
22613 } && test -s conftest.$ac_objext; then
22614 ac_hi=-1 ac_mid=-1
22615 while :; do
22616 cat >conftest.$ac_ext <<_ACEOF
22617 /* confdefs.h. */
22618 _ACEOF
22619 cat confdefs.h >>conftest.$ac_ext
22620 cat >>conftest.$ac_ext <<_ACEOF
22621 /* end confdefs.h. */
22622 $ac_includes_default
22623 typedef size_t ac__type_sizeof_;
22624 int
22625 main ()
22626 {
22627 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22628 test_array [0] = 0
22629
22630 ;
22631 return 0;
22632 }
22633 _ACEOF
22634 rm -f conftest.$ac_objext
22635 if { (ac_try="$ac_compile"
22636 case "(($ac_try" in
22637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22638 *) ac_try_echo=$ac_try;;
22639 esac
22640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22641 (eval "$ac_compile") 2>conftest.er1
22642 ac_status=$?
22643 grep -v '^ *+' conftest.er1 >conftest.err
22644 rm -f conftest.er1
22645 cat conftest.err >&5
22646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22647 (exit $ac_status); } && {
22648 test -z "$ac_c_werror_flag" ||
22649 test ! -s conftest.err
22650 } && test -s conftest.$ac_objext; then
22651 ac_lo=$ac_mid; break
22652 else
22653 echo "$as_me: failed program was:" >&5
22654 sed 's/^/| /' conftest.$ac_ext >&5
22655
22656 ac_hi=`expr '(' $ac_mid ')' - 1`
22657 if test $ac_mid -le $ac_hi; then
22658 ac_lo= ac_hi=
22659 break
22660 fi
22661 ac_mid=`expr 2 '*' $ac_mid`
22662 fi
22663
22664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22665 done
22666 else
22667 echo "$as_me: failed program was:" >&5
22668 sed 's/^/| /' conftest.$ac_ext >&5
22669
22670 ac_lo= ac_hi=
22671 fi
22672
22673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22674 fi
22675
22676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22677 # Binary search between lo and hi bounds.
22678 while test "x$ac_lo" != "x$ac_hi"; do
22679 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22680 cat >conftest.$ac_ext <<_ACEOF
22681 /* confdefs.h. */
22682 _ACEOF
22683 cat confdefs.h >>conftest.$ac_ext
22684 cat >>conftest.$ac_ext <<_ACEOF
22685 /* end confdefs.h. */
22686 $ac_includes_default
22687 typedef size_t ac__type_sizeof_;
22688 int
22689 main ()
22690 {
22691 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22692 test_array [0] = 0
22693
22694 ;
22695 return 0;
22696 }
22697 _ACEOF
22698 rm -f conftest.$ac_objext
22699 if { (ac_try="$ac_compile"
22700 case "(($ac_try" in
22701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22702 *) ac_try_echo=$ac_try;;
22703 esac
22704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22705 (eval "$ac_compile") 2>conftest.er1
22706 ac_status=$?
22707 grep -v '^ *+' conftest.er1 >conftest.err
22708 rm -f conftest.er1
22709 cat conftest.err >&5
22710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22711 (exit $ac_status); } && {
22712 test -z "$ac_c_werror_flag" ||
22713 test ! -s conftest.err
22714 } && test -s conftest.$ac_objext; then
22715 ac_hi=$ac_mid
22716 else
22717 echo "$as_me: failed program was:" >&5
22718 sed 's/^/| /' conftest.$ac_ext >&5
22719
22720 ac_lo=`expr '(' $ac_mid ')' + 1`
22721 fi
22722
22723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22724 done
22725 case $ac_lo in
22726 ?*) ac_cv_sizeof_size_t=$ac_lo;;
22727 '') if test "$ac_cv_type_size_t" = yes; then
22728 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
22729 See \`config.log' for more details." >&5
22730 echo "$as_me: error: cannot compute sizeof (size_t)
22731 See \`config.log' for more details." >&2;}
22732 { (exit 77); exit 77; }; }
22733 else
22734 ac_cv_sizeof_size_t=0
22735 fi ;;
22736 esac
22737 else
22738 cat >conftest.$ac_ext <<_ACEOF
22739 /* confdefs.h. */
22740 _ACEOF
22741 cat confdefs.h >>conftest.$ac_ext
22742 cat >>conftest.$ac_ext <<_ACEOF
22743 /* end confdefs.h. */
22744 $ac_includes_default
22745 typedef size_t ac__type_sizeof_;
22746 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22747 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22748 #include <stdio.h>
22749 #include <stdlib.h>
22750 int
22751 main ()
22752 {
22753
22754 FILE *f = fopen ("conftest.val", "w");
22755 if (! f)
22756 return 1;
22757 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22758 {
22759 long int i = longval ();
22760 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22761 return 1;
22762 fprintf (f, "%ld\n", i);
22763 }
22764 else
22765 {
22766 unsigned long int i = ulongval ();
22767 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22768 return 1;
22769 fprintf (f, "%lu\n", i);
22770 }
22771 return ferror (f) || fclose (f) != 0;
22772
22773 ;
22774 return 0;
22775 }
22776 _ACEOF
22777 rm -f conftest$ac_exeext
22778 if { (ac_try="$ac_link"
22779 case "(($ac_try" in
22780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22781 *) ac_try_echo=$ac_try;;
22782 esac
22783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22784 (eval "$ac_link") 2>&5
22785 ac_status=$?
22786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22787 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22788 { (case "(($ac_try" in
22789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22790 *) ac_try_echo=$ac_try;;
22791 esac
22792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22793 (eval "$ac_try") 2>&5
22794 ac_status=$?
22795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22796 (exit $ac_status); }; }; then
22797 ac_cv_sizeof_size_t=`cat conftest.val`
22798 else
22799 echo "$as_me: program exited with status $ac_status" >&5
22800 echo "$as_me: failed program was:" >&5
22801 sed 's/^/| /' conftest.$ac_ext >&5
22802
22803 ( exit $ac_status )
22804 if test "$ac_cv_type_size_t" = yes; then
22805 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
22806 See \`config.log' for more details." >&5
22807 echo "$as_me: error: cannot compute sizeof (size_t)
22808 See \`config.log' for more details." >&2;}
22809 { (exit 77); exit 77; }; }
22810 else
22811 ac_cv_sizeof_size_t=0
22812 fi
22813 fi
22814 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22815 fi
22816 rm -f conftest.val
22817 fi
22818 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
22819 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
22820
22821
22822
22823 cat >>confdefs.h <<_ACEOF
22824 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
22825 _ACEOF
22826
22827
22828
22829 case "${host}" in
22830 arm-*-linux* )
22831 { echo "$as_me:$LINENO: checking for long long" >&5
22832 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22833 if test "${ac_cv_type_long_long+set}" = set; then
22834 echo $ECHO_N "(cached) $ECHO_C" >&6
22835 else
22836 cat >conftest.$ac_ext <<_ACEOF
22837 /* confdefs.h. */
22838 _ACEOF
22839 cat confdefs.h >>conftest.$ac_ext
22840 cat >>conftest.$ac_ext <<_ACEOF
22841 /* end confdefs.h. */
22842 $ac_includes_default
22843 typedef long long ac__type_new_;
22844 int
22845 main ()
22846 {
22847 if ((ac__type_new_ *) 0)
22848 return 0;
22849 if (sizeof (ac__type_new_))
22850 return 0;
22851 ;
22852 return 0;
22853 }
22854 _ACEOF
22855 rm -f conftest.$ac_objext
22856 if { (ac_try="$ac_compile"
22857 case "(($ac_try" in
22858 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22859 *) ac_try_echo=$ac_try;;
22860 esac
22861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22862 (eval "$ac_compile") 2>conftest.er1
22863 ac_status=$?
22864 grep -v '^ *+' conftest.er1 >conftest.err
22865 rm -f conftest.er1
22866 cat conftest.err >&5
22867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22868 (exit $ac_status); } && {
22869 test -z "$ac_c_werror_flag" ||
22870 test ! -s conftest.err
22871 } && test -s conftest.$ac_objext; then
22872 ac_cv_type_long_long=yes
22873 else
22874 echo "$as_me: failed program was:" >&5
22875 sed 's/^/| /' conftest.$ac_ext >&5
22876
22877 ac_cv_type_long_long=no
22878 fi
22879
22880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22881 fi
22882 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22883 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22884
22885 # The cast to long int works around a bug in the HP C Compiler
22886 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22887 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22888 # This bug is HP SR number 8606223364.
22889 { echo "$as_me:$LINENO: checking size of long long" >&5
22890 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22891 if test "${ac_cv_sizeof_long_long+set}" = set; then
22892 echo $ECHO_N "(cached) $ECHO_C" >&6
22893 else
22894 if test "$cross_compiling" = yes; then
22895 # Depending upon the size, compute the lo and hi bounds.
22896 cat >conftest.$ac_ext <<_ACEOF
22897 /* confdefs.h. */
22898 _ACEOF
22899 cat confdefs.h >>conftest.$ac_ext
22900 cat >>conftest.$ac_ext <<_ACEOF
22901 /* end confdefs.h. */
22902 $ac_includes_default
22903 typedef long long ac__type_sizeof_;
22904 int
22905 main ()
22906 {
22907 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22908 test_array [0] = 0
22909
22910 ;
22911 return 0;
22912 }
22913 _ACEOF
22914 rm -f conftest.$ac_objext
22915 if { (ac_try="$ac_compile"
22916 case "(($ac_try" in
22917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22918 *) ac_try_echo=$ac_try;;
22919 esac
22920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22921 (eval "$ac_compile") 2>conftest.er1
22922 ac_status=$?
22923 grep -v '^ *+' conftest.er1 >conftest.err
22924 rm -f conftest.er1
22925 cat conftest.err >&5
22926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22927 (exit $ac_status); } && {
22928 test -z "$ac_c_werror_flag" ||
22929 test ! -s conftest.err
22930 } && test -s conftest.$ac_objext; then
22931 ac_lo=0 ac_mid=0
22932 while :; do
22933 cat >conftest.$ac_ext <<_ACEOF
22934 /* confdefs.h. */
22935 _ACEOF
22936 cat confdefs.h >>conftest.$ac_ext
22937 cat >>conftest.$ac_ext <<_ACEOF
22938 /* end confdefs.h. */
22939 $ac_includes_default
22940 typedef long long ac__type_sizeof_;
22941 int
22942 main ()
22943 {
22944 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22945 test_array [0] = 0
22946
22947 ;
22948 return 0;
22949 }
22950 _ACEOF
22951 rm -f conftest.$ac_objext
22952 if { (ac_try="$ac_compile"
22953 case "(($ac_try" in
22954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22955 *) ac_try_echo=$ac_try;;
22956 esac
22957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22958 (eval "$ac_compile") 2>conftest.er1
22959 ac_status=$?
22960 grep -v '^ *+' conftest.er1 >conftest.err
22961 rm -f conftest.er1
22962 cat conftest.err >&5
22963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22964 (exit $ac_status); } && {
22965 test -z "$ac_c_werror_flag" ||
22966 test ! -s conftest.err
22967 } && test -s conftest.$ac_objext; then
22968 ac_hi=$ac_mid; break
22969 else
22970 echo "$as_me: failed program was:" >&5
22971 sed 's/^/| /' conftest.$ac_ext >&5
22972
22973 ac_lo=`expr $ac_mid + 1`
22974 if test $ac_lo -le $ac_mid; then
22975 ac_lo= ac_hi=
22976 break
22977 fi
22978 ac_mid=`expr 2 '*' $ac_mid + 1`
22979 fi
22980
22981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22982 done
22983 else
22984 echo "$as_me: failed program was:" >&5
22985 sed 's/^/| /' conftest.$ac_ext >&5
22986
22987 cat >conftest.$ac_ext <<_ACEOF
22988 /* confdefs.h. */
22989 _ACEOF
22990 cat confdefs.h >>conftest.$ac_ext
22991 cat >>conftest.$ac_ext <<_ACEOF
22992 /* end confdefs.h. */
22993 $ac_includes_default
22994 typedef long long ac__type_sizeof_;
22995 int
22996 main ()
22997 {
22998 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22999 test_array [0] = 0
23000
23001 ;
23002 return 0;
23003 }
23004 _ACEOF
23005 rm -f conftest.$ac_objext
23006 if { (ac_try="$ac_compile"
23007 case "(($ac_try" in
23008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23009 *) ac_try_echo=$ac_try;;
23010 esac
23011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23012 (eval "$ac_compile") 2>conftest.er1
23013 ac_status=$?
23014 grep -v '^ *+' conftest.er1 >conftest.err
23015 rm -f conftest.er1
23016 cat conftest.err >&5
23017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23018 (exit $ac_status); } && {
23019 test -z "$ac_c_werror_flag" ||
23020 test ! -s conftest.err
23021 } && test -s conftest.$ac_objext; then
23022 ac_hi=-1 ac_mid=-1
23023 while :; do
23024 cat >conftest.$ac_ext <<_ACEOF
23025 /* confdefs.h. */
23026 _ACEOF
23027 cat confdefs.h >>conftest.$ac_ext
23028 cat >>conftest.$ac_ext <<_ACEOF
23029 /* end confdefs.h. */
23030 $ac_includes_default
23031 typedef long long ac__type_sizeof_;
23032 int
23033 main ()
23034 {
23035 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23036 test_array [0] = 0
23037
23038 ;
23039 return 0;
23040 }
23041 _ACEOF
23042 rm -f conftest.$ac_objext
23043 if { (ac_try="$ac_compile"
23044 case "(($ac_try" in
23045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23046 *) ac_try_echo=$ac_try;;
23047 esac
23048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23049 (eval "$ac_compile") 2>conftest.er1
23050 ac_status=$?
23051 grep -v '^ *+' conftest.er1 >conftest.err
23052 rm -f conftest.er1
23053 cat conftest.err >&5
23054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23055 (exit $ac_status); } && {
23056 test -z "$ac_c_werror_flag" ||
23057 test ! -s conftest.err
23058 } && test -s conftest.$ac_objext; then
23059 ac_lo=$ac_mid; break
23060 else
23061 echo "$as_me: failed program was:" >&5
23062 sed 's/^/| /' conftest.$ac_ext >&5
23063
23064 ac_hi=`expr '(' $ac_mid ')' - 1`
23065 if test $ac_mid -le $ac_hi; then
23066 ac_lo= ac_hi=
23067 break
23068 fi
23069 ac_mid=`expr 2 '*' $ac_mid`
23070 fi
23071
23072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23073 done
23074 else
23075 echo "$as_me: failed program was:" >&5
23076 sed 's/^/| /' conftest.$ac_ext >&5
23077
23078 ac_lo= ac_hi=
23079 fi
23080
23081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23082 fi
23083
23084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23085 # Binary search between lo and hi bounds.
23086 while test "x$ac_lo" != "x$ac_hi"; do
23087 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23088 cat >conftest.$ac_ext <<_ACEOF
23089 /* confdefs.h. */
23090 _ACEOF
23091 cat confdefs.h >>conftest.$ac_ext
23092 cat >>conftest.$ac_ext <<_ACEOF
23093 /* end confdefs.h. */
23094 $ac_includes_default
23095 typedef long long ac__type_sizeof_;
23096 int
23097 main ()
23098 {
23099 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23100 test_array [0] = 0
23101
23102 ;
23103 return 0;
23104 }
23105 _ACEOF
23106 rm -f conftest.$ac_objext
23107 if { (ac_try="$ac_compile"
23108 case "(($ac_try" in
23109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23110 *) ac_try_echo=$ac_try;;
23111 esac
23112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23113 (eval "$ac_compile") 2>conftest.er1
23114 ac_status=$?
23115 grep -v '^ *+' conftest.er1 >conftest.err
23116 rm -f conftest.er1
23117 cat conftest.err >&5
23118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23119 (exit $ac_status); } && {
23120 test -z "$ac_c_werror_flag" ||
23121 test ! -s conftest.err
23122 } && test -s conftest.$ac_objext; then
23123 ac_hi=$ac_mid
23124 else
23125 echo "$as_me: failed program was:" >&5
23126 sed 's/^/| /' conftest.$ac_ext >&5
23127
23128 ac_lo=`expr '(' $ac_mid ')' + 1`
23129 fi
23130
23131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23132 done
23133 case $ac_lo in
23134 ?*) ac_cv_sizeof_long_long=$ac_lo;;
23135 '') if test "$ac_cv_type_long_long" = yes; then
23136 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23137 See \`config.log' for more details." >&5
23138 echo "$as_me: error: cannot compute sizeof (long long)
23139 See \`config.log' for more details." >&2;}
23140 { (exit 77); exit 77; }; }
23141 else
23142 ac_cv_sizeof_long_long=0
23143 fi ;;
23144 esac
23145 else
23146 cat >conftest.$ac_ext <<_ACEOF
23147 /* confdefs.h. */
23148 _ACEOF
23149 cat confdefs.h >>conftest.$ac_ext
23150 cat >>conftest.$ac_ext <<_ACEOF
23151 /* end confdefs.h. */
23152 $ac_includes_default
23153 typedef long long ac__type_sizeof_;
23154 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23155 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23156 #include <stdio.h>
23157 #include <stdlib.h>
23158 int
23159 main ()
23160 {
23161
23162 FILE *f = fopen ("conftest.val", "w");
23163 if (! f)
23164 return 1;
23165 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23166 {
23167 long int i = longval ();
23168 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23169 return 1;
23170 fprintf (f, "%ld\n", i);
23171 }
23172 else
23173 {
23174 unsigned long int i = ulongval ();
23175 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23176 return 1;
23177 fprintf (f, "%lu\n", i);
23178 }
23179 return ferror (f) || fclose (f) != 0;
23180
23181 ;
23182 return 0;
23183 }
23184 _ACEOF
23185 rm -f conftest$ac_exeext
23186 if { (ac_try="$ac_link"
23187 case "(($ac_try" in
23188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23189 *) ac_try_echo=$ac_try;;
23190 esac
23191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23192 (eval "$ac_link") 2>&5
23193 ac_status=$?
23194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23195 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23196 { (case "(($ac_try" in
23197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23198 *) ac_try_echo=$ac_try;;
23199 esac
23200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23201 (eval "$ac_try") 2>&5
23202 ac_status=$?
23203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23204 (exit $ac_status); }; }; then
23205 ac_cv_sizeof_long_long=`cat conftest.val`
23206 else
23207 echo "$as_me: program exited with status $ac_status" >&5
23208 echo "$as_me: failed program was:" >&5
23209 sed 's/^/| /' conftest.$ac_ext >&5
23210
23211 ( exit $ac_status )
23212 if test "$ac_cv_type_long_long" = yes; then
23213 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23214 See \`config.log' for more details." >&5
23215 echo "$as_me: error: cannot compute sizeof (long long)
23216 See \`config.log' for more details." >&2;}
23217 { (exit 77); exit 77; }; }
23218 else
23219 ac_cv_sizeof_long_long=0
23220 fi
23221 fi
23222 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23223 fi
23224 rm -f conftest.val
23225 fi
23226 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
23227 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
23228
23229
23230
23231 cat >>confdefs.h <<_ACEOF
23232 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
23233 _ACEOF
23234
23235
23236 ;;
23237 *-hp-hpux* )
23238 { echo "$as_me:$LINENO: checking for long long" >&5
23239 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
23240 if test "${ac_cv_type_long_long+set}" = set; then
23241 echo $ECHO_N "(cached) $ECHO_C" >&6
23242 else
23243 cat >conftest.$ac_ext <<_ACEOF
23244 /* confdefs.h. */
23245 _ACEOF
23246 cat confdefs.h >>conftest.$ac_ext
23247 cat >>conftest.$ac_ext <<_ACEOF
23248 /* end confdefs.h. */
23249 $ac_includes_default
23250 typedef long long ac__type_new_;
23251 int
23252 main ()
23253 {
23254 if ((ac__type_new_ *) 0)
23255 return 0;
23256 if (sizeof (ac__type_new_))
23257 return 0;
23258 ;
23259 return 0;
23260 }
23261 _ACEOF
23262 rm -f conftest.$ac_objext
23263 if { (ac_try="$ac_compile"
23264 case "(($ac_try" in
23265 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23266 *) ac_try_echo=$ac_try;;
23267 esac
23268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23269 (eval "$ac_compile") 2>conftest.er1
23270 ac_status=$?
23271 grep -v '^ *+' conftest.er1 >conftest.err
23272 rm -f conftest.er1
23273 cat conftest.err >&5
23274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23275 (exit $ac_status); } && {
23276 test -z "$ac_c_werror_flag" ||
23277 test ! -s conftest.err
23278 } && test -s conftest.$ac_objext; then
23279 ac_cv_type_long_long=yes
23280 else
23281 echo "$as_me: failed program was:" >&5
23282 sed 's/^/| /' conftest.$ac_ext >&5
23283
23284 ac_cv_type_long_long=no
23285 fi
23286
23287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23288 fi
23289 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
23290 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
23291
23292 # The cast to long int works around a bug in the HP C Compiler
23293 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23294 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23295 # This bug is HP SR number 8606223364.
23296 { echo "$as_me:$LINENO: checking size of long long" >&5
23297 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
23298 if test "${ac_cv_sizeof_long_long+set}" = set; then
23299 echo $ECHO_N "(cached) $ECHO_C" >&6
23300 else
23301 if test "$cross_compiling" = yes; then
23302 # Depending upon the size, compute the lo and hi bounds.
23303 cat >conftest.$ac_ext <<_ACEOF
23304 /* confdefs.h. */
23305 _ACEOF
23306 cat confdefs.h >>conftest.$ac_ext
23307 cat >>conftest.$ac_ext <<_ACEOF
23308 /* end confdefs.h. */
23309 $ac_includes_default
23310 typedef long long ac__type_sizeof_;
23311 int
23312 main ()
23313 {
23314 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23315 test_array [0] = 0
23316
23317 ;
23318 return 0;
23319 }
23320 _ACEOF
23321 rm -f conftest.$ac_objext
23322 if { (ac_try="$ac_compile"
23323 case "(($ac_try" in
23324 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23325 *) ac_try_echo=$ac_try;;
23326 esac
23327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23328 (eval "$ac_compile") 2>conftest.er1
23329 ac_status=$?
23330 grep -v '^ *+' conftest.er1 >conftest.err
23331 rm -f conftest.er1
23332 cat conftest.err >&5
23333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23334 (exit $ac_status); } && {
23335 test -z "$ac_c_werror_flag" ||
23336 test ! -s conftest.err
23337 } && test -s conftest.$ac_objext; then
23338 ac_lo=0 ac_mid=0
23339 while :; do
23340 cat >conftest.$ac_ext <<_ACEOF
23341 /* confdefs.h. */
23342 _ACEOF
23343 cat confdefs.h >>conftest.$ac_ext
23344 cat >>conftest.$ac_ext <<_ACEOF
23345 /* end confdefs.h. */
23346 $ac_includes_default
23347 typedef long long ac__type_sizeof_;
23348 int
23349 main ()
23350 {
23351 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23352 test_array [0] = 0
23353
23354 ;
23355 return 0;
23356 }
23357 _ACEOF
23358 rm -f conftest.$ac_objext
23359 if { (ac_try="$ac_compile"
23360 case "(($ac_try" in
23361 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23362 *) ac_try_echo=$ac_try;;
23363 esac
23364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23365 (eval "$ac_compile") 2>conftest.er1
23366 ac_status=$?
23367 grep -v '^ *+' conftest.er1 >conftest.err
23368 rm -f conftest.er1
23369 cat conftest.err >&5
23370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23371 (exit $ac_status); } && {
23372 test -z "$ac_c_werror_flag" ||
23373 test ! -s conftest.err
23374 } && test -s conftest.$ac_objext; then
23375 ac_hi=$ac_mid; break
23376 else
23377 echo "$as_me: failed program was:" >&5
23378 sed 's/^/| /' conftest.$ac_ext >&5
23379
23380 ac_lo=`expr $ac_mid + 1`
23381 if test $ac_lo -le $ac_mid; then
23382 ac_lo= ac_hi=
23383 break
23384 fi
23385 ac_mid=`expr 2 '*' $ac_mid + 1`
23386 fi
23387
23388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23389 done
23390 else
23391 echo "$as_me: failed program was:" >&5
23392 sed 's/^/| /' conftest.$ac_ext >&5
23393
23394 cat >conftest.$ac_ext <<_ACEOF
23395 /* confdefs.h. */
23396 _ACEOF
23397 cat confdefs.h >>conftest.$ac_ext
23398 cat >>conftest.$ac_ext <<_ACEOF
23399 /* end confdefs.h. */
23400 $ac_includes_default
23401 typedef long long ac__type_sizeof_;
23402 int
23403 main ()
23404 {
23405 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23406 test_array [0] = 0
23407
23408 ;
23409 return 0;
23410 }
23411 _ACEOF
23412 rm -f conftest.$ac_objext
23413 if { (ac_try="$ac_compile"
23414 case "(($ac_try" in
23415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23416 *) ac_try_echo=$ac_try;;
23417 esac
23418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23419 (eval "$ac_compile") 2>conftest.er1
23420 ac_status=$?
23421 grep -v '^ *+' conftest.er1 >conftest.err
23422 rm -f conftest.er1
23423 cat conftest.err >&5
23424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23425 (exit $ac_status); } && {
23426 test -z "$ac_c_werror_flag" ||
23427 test ! -s conftest.err
23428 } && test -s conftest.$ac_objext; then
23429 ac_hi=-1 ac_mid=-1
23430 while :; do
23431 cat >conftest.$ac_ext <<_ACEOF
23432 /* confdefs.h. */
23433 _ACEOF
23434 cat confdefs.h >>conftest.$ac_ext
23435 cat >>conftest.$ac_ext <<_ACEOF
23436 /* end confdefs.h. */
23437 $ac_includes_default
23438 typedef long long ac__type_sizeof_;
23439 int
23440 main ()
23441 {
23442 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23443 test_array [0] = 0
23444
23445 ;
23446 return 0;
23447 }
23448 _ACEOF
23449 rm -f conftest.$ac_objext
23450 if { (ac_try="$ac_compile"
23451 case "(($ac_try" in
23452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23453 *) ac_try_echo=$ac_try;;
23454 esac
23455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23456 (eval "$ac_compile") 2>conftest.er1
23457 ac_status=$?
23458 grep -v '^ *+' conftest.er1 >conftest.err
23459 rm -f conftest.er1
23460 cat conftest.err >&5
23461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23462 (exit $ac_status); } && {
23463 test -z "$ac_c_werror_flag" ||
23464 test ! -s conftest.err
23465 } && test -s conftest.$ac_objext; then
23466 ac_lo=$ac_mid; break
23467 else
23468 echo "$as_me: failed program was:" >&5
23469 sed 's/^/| /' conftest.$ac_ext >&5
23470
23471 ac_hi=`expr '(' $ac_mid ')' - 1`
23472 if test $ac_mid -le $ac_hi; then
23473 ac_lo= ac_hi=
23474 break
23475 fi
23476 ac_mid=`expr 2 '*' $ac_mid`
23477 fi
23478
23479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23480 done
23481 else
23482 echo "$as_me: failed program was:" >&5
23483 sed 's/^/| /' conftest.$ac_ext >&5
23484
23485 ac_lo= ac_hi=
23486 fi
23487
23488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23489 fi
23490
23491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23492 # Binary search between lo and hi bounds.
23493 while test "x$ac_lo" != "x$ac_hi"; do
23494 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23495 cat >conftest.$ac_ext <<_ACEOF
23496 /* confdefs.h. */
23497 _ACEOF
23498 cat confdefs.h >>conftest.$ac_ext
23499 cat >>conftest.$ac_ext <<_ACEOF
23500 /* end confdefs.h. */
23501 $ac_includes_default
23502 typedef long long ac__type_sizeof_;
23503 int
23504 main ()
23505 {
23506 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23507 test_array [0] = 0
23508
23509 ;
23510 return 0;
23511 }
23512 _ACEOF
23513 rm -f conftest.$ac_objext
23514 if { (ac_try="$ac_compile"
23515 case "(($ac_try" in
23516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23517 *) ac_try_echo=$ac_try;;
23518 esac
23519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23520 (eval "$ac_compile") 2>conftest.er1
23521 ac_status=$?
23522 grep -v '^ *+' conftest.er1 >conftest.err
23523 rm -f conftest.er1
23524 cat conftest.err >&5
23525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23526 (exit $ac_status); } && {
23527 test -z "$ac_c_werror_flag" ||
23528 test ! -s conftest.err
23529 } && test -s conftest.$ac_objext; then
23530 ac_hi=$ac_mid
23531 else
23532 echo "$as_me: failed program was:" >&5
23533 sed 's/^/| /' conftest.$ac_ext >&5
23534
23535 ac_lo=`expr '(' $ac_mid ')' + 1`
23536 fi
23537
23538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23539 done
23540 case $ac_lo in
23541 ?*) ac_cv_sizeof_long_long=$ac_lo;;
23542 '') if test "$ac_cv_type_long_long" = yes; then
23543 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23544 See \`config.log' for more details." >&5
23545 echo "$as_me: error: cannot compute sizeof (long long)
23546 See \`config.log' for more details." >&2;}
23547 { (exit 77); exit 77; }; }
23548 else
23549 ac_cv_sizeof_long_long=0
23550 fi ;;
23551 esac
23552 else
23553 cat >conftest.$ac_ext <<_ACEOF
23554 /* confdefs.h. */
23555 _ACEOF
23556 cat confdefs.h >>conftest.$ac_ext
23557 cat >>conftest.$ac_ext <<_ACEOF
23558 /* end confdefs.h. */
23559 $ac_includes_default
23560 typedef long long ac__type_sizeof_;
23561 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23562 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23563 #include <stdio.h>
23564 #include <stdlib.h>
23565 int
23566 main ()
23567 {
23568
23569 FILE *f = fopen ("conftest.val", "w");
23570 if (! f)
23571 return 1;
23572 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23573 {
23574 long int i = longval ();
23575 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23576 return 1;
23577 fprintf (f, "%ld\n", i);
23578 }
23579 else
23580 {
23581 unsigned long int i = ulongval ();
23582 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23583 return 1;
23584 fprintf (f, "%lu\n", i);
23585 }
23586 return ferror (f) || fclose (f) != 0;
23587
23588 ;
23589 return 0;
23590 }
23591 _ACEOF
23592 rm -f conftest$ac_exeext
23593 if { (ac_try="$ac_link"
23594 case "(($ac_try" in
23595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23596 *) ac_try_echo=$ac_try;;
23597 esac
23598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23599 (eval "$ac_link") 2>&5
23600 ac_status=$?
23601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23602 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23603 { (case "(($ac_try" in
23604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23605 *) ac_try_echo=$ac_try;;
23606 esac
23607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23608 (eval "$ac_try") 2>&5
23609 ac_status=$?
23610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23611 (exit $ac_status); }; }; then
23612 ac_cv_sizeof_long_long=`cat conftest.val`
23613 else
23614 echo "$as_me: program exited with status $ac_status" >&5
23615 echo "$as_me: failed program was:" >&5
23616 sed 's/^/| /' conftest.$ac_ext >&5
23617
23618 ( exit $ac_status )
23619 if test "$ac_cv_type_long_long" = yes; then
23620 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23621 See \`config.log' for more details." >&5
23622 echo "$as_me: error: cannot compute sizeof (long long)
23623 See \`config.log' for more details." >&2;}
23624 { (exit 77); exit 77; }; }
23625 else
23626 ac_cv_sizeof_long_long=0
23627 fi
23628 fi
23629 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23630 fi
23631 rm -f conftest.val
23632 fi
23633 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
23634 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
23635
23636
23637
23638 cat >>confdefs.h <<_ACEOF
23639 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
23640 _ACEOF
23641
23642
23643 if test "$ac_cv_sizeof_long_long" != 0; then
23644 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
23645 fi
23646 ;;
23647 * )
23648 { echo "$as_me:$LINENO: checking for long long" >&5
23649 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
23650 if test "${ac_cv_type_long_long+set}" = set; then
23651 echo $ECHO_N "(cached) $ECHO_C" >&6
23652 else
23653 cat >conftest.$ac_ext <<_ACEOF
23654 /* confdefs.h. */
23655 _ACEOF
23656 cat confdefs.h >>conftest.$ac_ext
23657 cat >>conftest.$ac_ext <<_ACEOF
23658 /* end confdefs.h. */
23659 $ac_includes_default
23660 typedef long long ac__type_new_;
23661 int
23662 main ()
23663 {
23664 if ((ac__type_new_ *) 0)
23665 return 0;
23666 if (sizeof (ac__type_new_))
23667 return 0;
23668 ;
23669 return 0;
23670 }
23671 _ACEOF
23672 rm -f conftest.$ac_objext
23673 if { (ac_try="$ac_compile"
23674 case "(($ac_try" in
23675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23676 *) ac_try_echo=$ac_try;;
23677 esac
23678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23679 (eval "$ac_compile") 2>conftest.er1
23680 ac_status=$?
23681 grep -v '^ *+' conftest.er1 >conftest.err
23682 rm -f conftest.er1
23683 cat conftest.err >&5
23684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23685 (exit $ac_status); } && {
23686 test -z "$ac_c_werror_flag" ||
23687 test ! -s conftest.err
23688 } && test -s conftest.$ac_objext; then
23689 ac_cv_type_long_long=yes
23690 else
23691 echo "$as_me: failed program was:" >&5
23692 sed 's/^/| /' conftest.$ac_ext >&5
23693
23694 ac_cv_type_long_long=no
23695 fi
23696
23697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23698 fi
23699 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
23700 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
23701
23702 # The cast to long int works around a bug in the HP C Compiler
23703 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23704 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23705 # This bug is HP SR number 8606223364.
23706 { echo "$as_me:$LINENO: checking size of long long" >&5
23707 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
23708 if test "${ac_cv_sizeof_long_long+set}" = set; then
23709 echo $ECHO_N "(cached) $ECHO_C" >&6
23710 else
23711 if test "$cross_compiling" = yes; then
23712 # Depending upon the size, compute the lo and hi bounds.
23713 cat >conftest.$ac_ext <<_ACEOF
23714 /* confdefs.h. */
23715 _ACEOF
23716 cat confdefs.h >>conftest.$ac_ext
23717 cat >>conftest.$ac_ext <<_ACEOF
23718 /* end confdefs.h. */
23719 $ac_includes_default
23720 typedef long long ac__type_sizeof_;
23721 int
23722 main ()
23723 {
23724 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23725 test_array [0] = 0
23726
23727 ;
23728 return 0;
23729 }
23730 _ACEOF
23731 rm -f conftest.$ac_objext
23732 if { (ac_try="$ac_compile"
23733 case "(($ac_try" in
23734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23735 *) ac_try_echo=$ac_try;;
23736 esac
23737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23738 (eval "$ac_compile") 2>conftest.er1
23739 ac_status=$?
23740 grep -v '^ *+' conftest.er1 >conftest.err
23741 rm -f conftest.er1
23742 cat conftest.err >&5
23743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23744 (exit $ac_status); } && {
23745 test -z "$ac_c_werror_flag" ||
23746 test ! -s conftest.err
23747 } && test -s conftest.$ac_objext; then
23748 ac_lo=0 ac_mid=0
23749 while :; do
23750 cat >conftest.$ac_ext <<_ACEOF
23751 /* confdefs.h. */
23752 _ACEOF
23753 cat confdefs.h >>conftest.$ac_ext
23754 cat >>conftest.$ac_ext <<_ACEOF
23755 /* end confdefs.h. */
23756 $ac_includes_default
23757 typedef long long ac__type_sizeof_;
23758 int
23759 main ()
23760 {
23761 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23762 test_array [0] = 0
23763
23764 ;
23765 return 0;
23766 }
23767 _ACEOF
23768 rm -f conftest.$ac_objext
23769 if { (ac_try="$ac_compile"
23770 case "(($ac_try" in
23771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23772 *) ac_try_echo=$ac_try;;
23773 esac
23774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23775 (eval "$ac_compile") 2>conftest.er1
23776 ac_status=$?
23777 grep -v '^ *+' conftest.er1 >conftest.err
23778 rm -f conftest.er1
23779 cat conftest.err >&5
23780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23781 (exit $ac_status); } && {
23782 test -z "$ac_c_werror_flag" ||
23783 test ! -s conftest.err
23784 } && test -s conftest.$ac_objext; then
23785 ac_hi=$ac_mid; break
23786 else
23787 echo "$as_me: failed program was:" >&5
23788 sed 's/^/| /' conftest.$ac_ext >&5
23789
23790 ac_lo=`expr $ac_mid + 1`
23791 if test $ac_lo -le $ac_mid; then
23792 ac_lo= ac_hi=
23793 break
23794 fi
23795 ac_mid=`expr 2 '*' $ac_mid + 1`
23796 fi
23797
23798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23799 done
23800 else
23801 echo "$as_me: failed program was:" >&5
23802 sed 's/^/| /' conftest.$ac_ext >&5
23803
23804 cat >conftest.$ac_ext <<_ACEOF
23805 /* confdefs.h. */
23806 _ACEOF
23807 cat confdefs.h >>conftest.$ac_ext
23808 cat >>conftest.$ac_ext <<_ACEOF
23809 /* end confdefs.h. */
23810 $ac_includes_default
23811 typedef long long ac__type_sizeof_;
23812 int
23813 main ()
23814 {
23815 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23816 test_array [0] = 0
23817
23818 ;
23819 return 0;
23820 }
23821 _ACEOF
23822 rm -f conftest.$ac_objext
23823 if { (ac_try="$ac_compile"
23824 case "(($ac_try" in
23825 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23826 *) ac_try_echo=$ac_try;;
23827 esac
23828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23829 (eval "$ac_compile") 2>conftest.er1
23830 ac_status=$?
23831 grep -v '^ *+' conftest.er1 >conftest.err
23832 rm -f conftest.er1
23833 cat conftest.err >&5
23834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23835 (exit $ac_status); } && {
23836 test -z "$ac_c_werror_flag" ||
23837 test ! -s conftest.err
23838 } && test -s conftest.$ac_objext; then
23839 ac_hi=-1 ac_mid=-1
23840 while :; do
23841 cat >conftest.$ac_ext <<_ACEOF
23842 /* confdefs.h. */
23843 _ACEOF
23844 cat confdefs.h >>conftest.$ac_ext
23845 cat >>conftest.$ac_ext <<_ACEOF
23846 /* end confdefs.h. */
23847 $ac_includes_default
23848 typedef long long ac__type_sizeof_;
23849 int
23850 main ()
23851 {
23852 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23853 test_array [0] = 0
23854
23855 ;
23856 return 0;
23857 }
23858 _ACEOF
23859 rm -f conftest.$ac_objext
23860 if { (ac_try="$ac_compile"
23861 case "(($ac_try" in
23862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23863 *) ac_try_echo=$ac_try;;
23864 esac
23865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23866 (eval "$ac_compile") 2>conftest.er1
23867 ac_status=$?
23868 grep -v '^ *+' conftest.er1 >conftest.err
23869 rm -f conftest.er1
23870 cat conftest.err >&5
23871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23872 (exit $ac_status); } && {
23873 test -z "$ac_c_werror_flag" ||
23874 test ! -s conftest.err
23875 } && test -s conftest.$ac_objext; then
23876 ac_lo=$ac_mid; break
23877 else
23878 echo "$as_me: failed program was:" >&5
23879 sed 's/^/| /' conftest.$ac_ext >&5
23880
23881 ac_hi=`expr '(' $ac_mid ')' - 1`
23882 if test $ac_mid -le $ac_hi; then
23883 ac_lo= ac_hi=
23884 break
23885 fi
23886 ac_mid=`expr 2 '*' $ac_mid`
23887 fi
23888
23889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23890 done
23891 else
23892 echo "$as_me: failed program was:" >&5
23893 sed 's/^/| /' conftest.$ac_ext >&5
23894
23895 ac_lo= ac_hi=
23896 fi
23897
23898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23899 fi
23900
23901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23902 # Binary search between lo and hi bounds.
23903 while test "x$ac_lo" != "x$ac_hi"; do
23904 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23905 cat >conftest.$ac_ext <<_ACEOF
23906 /* confdefs.h. */
23907 _ACEOF
23908 cat confdefs.h >>conftest.$ac_ext
23909 cat >>conftest.$ac_ext <<_ACEOF
23910 /* end confdefs.h. */
23911 $ac_includes_default
23912 typedef long long ac__type_sizeof_;
23913 int
23914 main ()
23915 {
23916 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23917 test_array [0] = 0
23918
23919 ;
23920 return 0;
23921 }
23922 _ACEOF
23923 rm -f conftest.$ac_objext
23924 if { (ac_try="$ac_compile"
23925 case "(($ac_try" in
23926 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23927 *) ac_try_echo=$ac_try;;
23928 esac
23929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23930 (eval "$ac_compile") 2>conftest.er1
23931 ac_status=$?
23932 grep -v '^ *+' conftest.er1 >conftest.err
23933 rm -f conftest.er1
23934 cat conftest.err >&5
23935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23936 (exit $ac_status); } && {
23937 test -z "$ac_c_werror_flag" ||
23938 test ! -s conftest.err
23939 } && test -s conftest.$ac_objext; then
23940 ac_hi=$ac_mid
23941 else
23942 echo "$as_me: failed program was:" >&5
23943 sed 's/^/| /' conftest.$ac_ext >&5
23944
23945 ac_lo=`expr '(' $ac_mid ')' + 1`
23946 fi
23947
23948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23949 done
23950 case $ac_lo in
23951 ?*) ac_cv_sizeof_long_long=$ac_lo;;
23952 '') if test "$ac_cv_type_long_long" = yes; then
23953 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23954 See \`config.log' for more details." >&5
23955 echo "$as_me: error: cannot compute sizeof (long long)
23956 See \`config.log' for more details." >&2;}
23957 { (exit 77); exit 77; }; }
23958 else
23959 ac_cv_sizeof_long_long=0
23960 fi ;;
23961 esac
23962 else
23963 cat >conftest.$ac_ext <<_ACEOF
23964 /* confdefs.h. */
23965 _ACEOF
23966 cat confdefs.h >>conftest.$ac_ext
23967 cat >>conftest.$ac_ext <<_ACEOF
23968 /* end confdefs.h. */
23969 $ac_includes_default
23970 typedef long long ac__type_sizeof_;
23971 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23972 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23973 #include <stdio.h>
23974 #include <stdlib.h>
23975 int
23976 main ()
23977 {
23978
23979 FILE *f = fopen ("conftest.val", "w");
23980 if (! f)
23981 return 1;
23982 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23983 {
23984 long int i = longval ();
23985 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23986 return 1;
23987 fprintf (f, "%ld\n", i);
23988 }
23989 else
23990 {
23991 unsigned long int i = ulongval ();
23992 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23993 return 1;
23994 fprintf (f, "%lu\n", i);
23995 }
23996 return ferror (f) || fclose (f) != 0;
23997
23998 ;
23999 return 0;
24000 }
24001 _ACEOF
24002 rm -f conftest$ac_exeext
24003 if { (ac_try="$ac_link"
24004 case "(($ac_try" in
24005 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24006 *) ac_try_echo=$ac_try;;
24007 esac
24008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24009 (eval "$ac_link") 2>&5
24010 ac_status=$?
24011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24012 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24013 { (case "(($ac_try" in
24014 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24015 *) ac_try_echo=$ac_try;;
24016 esac
24017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24018 (eval "$ac_try") 2>&5
24019 ac_status=$?
24020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24021 (exit $ac_status); }; }; then
24022 ac_cv_sizeof_long_long=`cat conftest.val`
24023 else
24024 echo "$as_me: program exited with status $ac_status" >&5
24025 echo "$as_me: failed program was:" >&5
24026 sed 's/^/| /' conftest.$ac_ext >&5
24027
24028 ( exit $ac_status )
24029 if test "$ac_cv_type_long_long" = yes; then
24030 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24031 See \`config.log' for more details." >&5
24032 echo "$as_me: error: cannot compute sizeof (long long)
24033 See \`config.log' for more details." >&2;}
24034 { (exit 77); exit 77; }; }
24035 else
24036 ac_cv_sizeof_long_long=0
24037 fi
24038 fi
24039 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24040 fi
24041 rm -f conftest.val
24042 fi
24043 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
24044 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
24045
24046
24047
24048 cat >>confdefs.h <<_ACEOF
24049 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
24050 _ACEOF
24051
24052
24053 esac
24054
24055 { echo "$as_me:$LINENO: checking for wchar_t" >&5
24056 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
24057 if test "${ac_cv_type_wchar_t+set}" = set; then
24058 echo $ECHO_N "(cached) $ECHO_C" >&6
24059 else
24060 cat >conftest.$ac_ext <<_ACEOF
24061 /* confdefs.h. */
24062 _ACEOF
24063 cat confdefs.h >>conftest.$ac_ext
24064 cat >>conftest.$ac_ext <<_ACEOF
24065 /* end confdefs.h. */
24066
24067 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24068 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24069 # error "fake wchar_t"
24070 #endif
24071 #ifdef HAVE_WCHAR_H
24072 # ifdef __CYGWIN__
24073 # include <stddef.h>
24074 # endif
24075 # include <wchar.h>
24076 #endif
24077 #ifdef HAVE_STDLIB_H
24078 # include <stdlib.h>
24079 #endif
24080 #include <stdio.h>
24081
24082
24083
24084 typedef wchar_t ac__type_new_;
24085 int
24086 main ()
24087 {
24088 if ((ac__type_new_ *) 0)
24089 return 0;
24090 if (sizeof (ac__type_new_))
24091 return 0;
24092 ;
24093 return 0;
24094 }
24095 _ACEOF
24096 rm -f conftest.$ac_objext
24097 if { (ac_try="$ac_compile"
24098 case "(($ac_try" in
24099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24100 *) ac_try_echo=$ac_try;;
24101 esac
24102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24103 (eval "$ac_compile") 2>conftest.er1
24104 ac_status=$?
24105 grep -v '^ *+' conftest.er1 >conftest.err
24106 rm -f conftest.er1
24107 cat conftest.err >&5
24108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24109 (exit $ac_status); } && {
24110 test -z "$ac_c_werror_flag" ||
24111 test ! -s conftest.err
24112 } && test -s conftest.$ac_objext; then
24113 ac_cv_type_wchar_t=yes
24114 else
24115 echo "$as_me: failed program was:" >&5
24116 sed 's/^/| /' conftest.$ac_ext >&5
24117
24118 ac_cv_type_wchar_t=no
24119 fi
24120
24121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24122 fi
24123 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
24124 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
24125
24126 # The cast to long int works around a bug in the HP C Compiler
24127 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24128 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24129 # This bug is HP SR number 8606223364.
24130 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
24131 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
24132 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
24133 echo $ECHO_N "(cached) $ECHO_C" >&6
24134 else
24135 if test "$cross_compiling" = yes; then
24136 # Depending upon the size, compute the lo and hi bounds.
24137 cat >conftest.$ac_ext <<_ACEOF
24138 /* confdefs.h. */
24139 _ACEOF
24140 cat confdefs.h >>conftest.$ac_ext
24141 cat >>conftest.$ac_ext <<_ACEOF
24142 /* end confdefs.h. */
24143
24144 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24145 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24146 # error "fake wchar_t"
24147 #endif
24148 #ifdef HAVE_WCHAR_H
24149 # ifdef __CYGWIN__
24150 # include <stddef.h>
24151 # endif
24152 # include <wchar.h>
24153 #endif
24154 #ifdef HAVE_STDLIB_H
24155 # include <stdlib.h>
24156 #endif
24157 #include <stdio.h>
24158
24159
24160
24161 typedef wchar_t ac__type_sizeof_;
24162 int
24163 main ()
24164 {
24165 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
24166 test_array [0] = 0
24167
24168 ;
24169 return 0;
24170 }
24171 _ACEOF
24172 rm -f conftest.$ac_objext
24173 if { (ac_try="$ac_compile"
24174 case "(($ac_try" in
24175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24176 *) ac_try_echo=$ac_try;;
24177 esac
24178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24179 (eval "$ac_compile") 2>conftest.er1
24180 ac_status=$?
24181 grep -v '^ *+' conftest.er1 >conftest.err
24182 rm -f conftest.er1
24183 cat conftest.err >&5
24184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24185 (exit $ac_status); } && {
24186 test -z "$ac_c_werror_flag" ||
24187 test ! -s conftest.err
24188 } && test -s conftest.$ac_objext; then
24189 ac_lo=0 ac_mid=0
24190 while :; do
24191 cat >conftest.$ac_ext <<_ACEOF
24192 /* confdefs.h. */
24193 _ACEOF
24194 cat confdefs.h >>conftest.$ac_ext
24195 cat >>conftest.$ac_ext <<_ACEOF
24196 /* end confdefs.h. */
24197
24198 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24199 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24200 # error "fake wchar_t"
24201 #endif
24202 #ifdef HAVE_WCHAR_H
24203 # ifdef __CYGWIN__
24204 # include <stddef.h>
24205 # endif
24206 # include <wchar.h>
24207 #endif
24208 #ifdef HAVE_STDLIB_H
24209 # include <stdlib.h>
24210 #endif
24211 #include <stdio.h>
24212
24213
24214
24215 typedef wchar_t ac__type_sizeof_;
24216 int
24217 main ()
24218 {
24219 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24220 test_array [0] = 0
24221
24222 ;
24223 return 0;
24224 }
24225 _ACEOF
24226 rm -f conftest.$ac_objext
24227 if { (ac_try="$ac_compile"
24228 case "(($ac_try" in
24229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24230 *) ac_try_echo=$ac_try;;
24231 esac
24232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24233 (eval "$ac_compile") 2>conftest.er1
24234 ac_status=$?
24235 grep -v '^ *+' conftest.er1 >conftest.err
24236 rm -f conftest.er1
24237 cat conftest.err >&5
24238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24239 (exit $ac_status); } && {
24240 test -z "$ac_c_werror_flag" ||
24241 test ! -s conftest.err
24242 } && test -s conftest.$ac_objext; then
24243 ac_hi=$ac_mid; break
24244 else
24245 echo "$as_me: failed program was:" >&5
24246 sed 's/^/| /' conftest.$ac_ext >&5
24247
24248 ac_lo=`expr $ac_mid + 1`
24249 if test $ac_lo -le $ac_mid; then
24250 ac_lo= ac_hi=
24251 break
24252 fi
24253 ac_mid=`expr 2 '*' $ac_mid + 1`
24254 fi
24255
24256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24257 done
24258 else
24259 echo "$as_me: failed program was:" >&5
24260 sed 's/^/| /' conftest.$ac_ext >&5
24261
24262 cat >conftest.$ac_ext <<_ACEOF
24263 /* confdefs.h. */
24264 _ACEOF
24265 cat confdefs.h >>conftest.$ac_ext
24266 cat >>conftest.$ac_ext <<_ACEOF
24267 /* end confdefs.h. */
24268
24269 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24270 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24271 # error "fake wchar_t"
24272 #endif
24273 #ifdef HAVE_WCHAR_H
24274 # ifdef __CYGWIN__
24275 # include <stddef.h>
24276 # endif
24277 # include <wchar.h>
24278 #endif
24279 #ifdef HAVE_STDLIB_H
24280 # include <stdlib.h>
24281 #endif
24282 #include <stdio.h>
24283
24284
24285
24286 typedef wchar_t ac__type_sizeof_;
24287 int
24288 main ()
24289 {
24290 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24291 test_array [0] = 0
24292
24293 ;
24294 return 0;
24295 }
24296 _ACEOF
24297 rm -f conftest.$ac_objext
24298 if { (ac_try="$ac_compile"
24299 case "(($ac_try" in
24300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24301 *) ac_try_echo=$ac_try;;
24302 esac
24303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24304 (eval "$ac_compile") 2>conftest.er1
24305 ac_status=$?
24306 grep -v '^ *+' conftest.er1 >conftest.err
24307 rm -f conftest.er1
24308 cat conftest.err >&5
24309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24310 (exit $ac_status); } && {
24311 test -z "$ac_c_werror_flag" ||
24312 test ! -s conftest.err
24313 } && test -s conftest.$ac_objext; then
24314 ac_hi=-1 ac_mid=-1
24315 while :; do
24316 cat >conftest.$ac_ext <<_ACEOF
24317 /* confdefs.h. */
24318 _ACEOF
24319 cat confdefs.h >>conftest.$ac_ext
24320 cat >>conftest.$ac_ext <<_ACEOF
24321 /* end confdefs.h. */
24322
24323 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24324 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24325 # error "fake wchar_t"
24326 #endif
24327 #ifdef HAVE_WCHAR_H
24328 # ifdef __CYGWIN__
24329 # include <stddef.h>
24330 # endif
24331 # include <wchar.h>
24332 #endif
24333 #ifdef HAVE_STDLIB_H
24334 # include <stdlib.h>
24335 #endif
24336 #include <stdio.h>
24337
24338
24339
24340 typedef wchar_t ac__type_sizeof_;
24341 int
24342 main ()
24343 {
24344 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24345 test_array [0] = 0
24346
24347 ;
24348 return 0;
24349 }
24350 _ACEOF
24351 rm -f conftest.$ac_objext
24352 if { (ac_try="$ac_compile"
24353 case "(($ac_try" in
24354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24355 *) ac_try_echo=$ac_try;;
24356 esac
24357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24358 (eval "$ac_compile") 2>conftest.er1
24359 ac_status=$?
24360 grep -v '^ *+' conftest.er1 >conftest.err
24361 rm -f conftest.er1
24362 cat conftest.err >&5
24363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24364 (exit $ac_status); } && {
24365 test -z "$ac_c_werror_flag" ||
24366 test ! -s conftest.err
24367 } && test -s conftest.$ac_objext; then
24368 ac_lo=$ac_mid; break
24369 else
24370 echo "$as_me: failed program was:" >&5
24371 sed 's/^/| /' conftest.$ac_ext >&5
24372
24373 ac_hi=`expr '(' $ac_mid ')' - 1`
24374 if test $ac_mid -le $ac_hi; then
24375 ac_lo= ac_hi=
24376 break
24377 fi
24378 ac_mid=`expr 2 '*' $ac_mid`
24379 fi
24380
24381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24382 done
24383 else
24384 echo "$as_me: failed program was:" >&5
24385 sed 's/^/| /' conftest.$ac_ext >&5
24386
24387 ac_lo= ac_hi=
24388 fi
24389
24390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24391 fi
24392
24393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24394 # Binary search between lo and hi bounds.
24395 while test "x$ac_lo" != "x$ac_hi"; do
24396 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24397 cat >conftest.$ac_ext <<_ACEOF
24398 /* confdefs.h. */
24399 _ACEOF
24400 cat confdefs.h >>conftest.$ac_ext
24401 cat >>conftest.$ac_ext <<_ACEOF
24402 /* end confdefs.h. */
24403
24404 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24405 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24406 # error "fake wchar_t"
24407 #endif
24408 #ifdef HAVE_WCHAR_H
24409 # ifdef __CYGWIN__
24410 # include <stddef.h>
24411 # endif
24412 # include <wchar.h>
24413 #endif
24414 #ifdef HAVE_STDLIB_H
24415 # include <stdlib.h>
24416 #endif
24417 #include <stdio.h>
24418
24419
24420
24421 typedef wchar_t ac__type_sizeof_;
24422 int
24423 main ()
24424 {
24425 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24426 test_array [0] = 0
24427
24428 ;
24429 return 0;
24430 }
24431 _ACEOF
24432 rm -f conftest.$ac_objext
24433 if { (ac_try="$ac_compile"
24434 case "(($ac_try" in
24435 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24436 *) ac_try_echo=$ac_try;;
24437 esac
24438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24439 (eval "$ac_compile") 2>conftest.er1
24440 ac_status=$?
24441 grep -v '^ *+' conftest.er1 >conftest.err
24442 rm -f conftest.er1
24443 cat conftest.err >&5
24444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24445 (exit $ac_status); } && {
24446 test -z "$ac_c_werror_flag" ||
24447 test ! -s conftest.err
24448 } && test -s conftest.$ac_objext; then
24449 ac_hi=$ac_mid
24450 else
24451 echo "$as_me: failed program was:" >&5
24452 sed 's/^/| /' conftest.$ac_ext >&5
24453
24454 ac_lo=`expr '(' $ac_mid ')' + 1`
24455 fi
24456
24457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24458 done
24459 case $ac_lo in
24460 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
24461 '') if test "$ac_cv_type_wchar_t" = yes; then
24462 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
24463 See \`config.log' for more details." >&5
24464 echo "$as_me: error: cannot compute sizeof (wchar_t)
24465 See \`config.log' for more details." >&2;}
24466 { (exit 77); exit 77; }; }
24467 else
24468 ac_cv_sizeof_wchar_t=0
24469 fi ;;
24470 esac
24471 else
24472 cat >conftest.$ac_ext <<_ACEOF
24473 /* confdefs.h. */
24474 _ACEOF
24475 cat confdefs.h >>conftest.$ac_ext
24476 cat >>conftest.$ac_ext <<_ACEOF
24477 /* end confdefs.h. */
24478
24479 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24480 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24481 # error "fake wchar_t"
24482 #endif
24483 #ifdef HAVE_WCHAR_H
24484 # ifdef __CYGWIN__
24485 # include <stddef.h>
24486 # endif
24487 # include <wchar.h>
24488 #endif
24489 #ifdef HAVE_STDLIB_H
24490 # include <stdlib.h>
24491 #endif
24492 #include <stdio.h>
24493
24494
24495
24496 typedef wchar_t ac__type_sizeof_;
24497 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24498 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24499 #include <stdio.h>
24500 #include <stdlib.h>
24501 int
24502 main ()
24503 {
24504
24505 FILE *f = fopen ("conftest.val", "w");
24506 if (! f)
24507 return 1;
24508 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24509 {
24510 long int i = longval ();
24511 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24512 return 1;
24513 fprintf (f, "%ld\n", i);
24514 }
24515 else
24516 {
24517 unsigned long int i = ulongval ();
24518 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24519 return 1;
24520 fprintf (f, "%lu\n", i);
24521 }
24522 return ferror (f) || fclose (f) != 0;
24523
24524 ;
24525 return 0;
24526 }
24527 _ACEOF
24528 rm -f conftest$ac_exeext
24529 if { (ac_try="$ac_link"
24530 case "(($ac_try" in
24531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24532 *) ac_try_echo=$ac_try;;
24533 esac
24534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24535 (eval "$ac_link") 2>&5
24536 ac_status=$?
24537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24538 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24539 { (case "(($ac_try" in
24540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24541 *) ac_try_echo=$ac_try;;
24542 esac
24543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24544 (eval "$ac_try") 2>&5
24545 ac_status=$?
24546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24547 (exit $ac_status); }; }; then
24548 ac_cv_sizeof_wchar_t=`cat conftest.val`
24549 else
24550 echo "$as_me: program exited with status $ac_status" >&5
24551 echo "$as_me: failed program was:" >&5
24552 sed 's/^/| /' conftest.$ac_ext >&5
24553
24554 ( exit $ac_status )
24555 if test "$ac_cv_type_wchar_t" = yes; then
24556 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
24557 See \`config.log' for more details." >&5
24558 echo "$as_me: error: cannot compute sizeof (wchar_t)
24559 See \`config.log' for more details." >&2;}
24560 { (exit 77); exit 77; }; }
24561 else
24562 ac_cv_sizeof_wchar_t=0
24563 fi
24564 fi
24565 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24566 fi
24567 rm -f conftest.val
24568 fi
24569 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
24570 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
24571
24572
24573
24574 cat >>confdefs.h <<_ACEOF
24575 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
24576 _ACEOF
24577
24578
24579 if test "$ac_cv_sizeof_wchar_t" = 0; then
24580 { { echo "$as_me:$LINENO: error: wxWidgets requires wchar_t support." >&5
24581 echo "$as_me: error: wxWidgets requires wchar_t support." >&2;}
24582 { (exit 1); exit 1; }; }
24583 fi
24584 cat >>confdefs.h <<\_ACEOF
24585 #define wxUSE_WCHAR_T 1
24586 _ACEOF
24587
24588
24589 { echo "$as_me:$LINENO: checking for va_copy" >&5
24590 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
24591 if test "${wx_cv_func_va_copy+set}" = set; then
24592 echo $ECHO_N "(cached) $ECHO_C" >&6
24593 else
24594
24595 ac_ext=cpp
24596 ac_cpp='$CXXCPP $CPPFLAGS'
24597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24600
24601 cat >conftest.$ac_ext <<_ACEOF
24602
24603 /* confdefs.h. */
24604 _ACEOF
24605 cat confdefs.h >>conftest.$ac_ext
24606 cat >>conftest.$ac_ext <<_ACEOF
24607 /* end confdefs.h. */
24608
24609 #include <stdarg.h>
24610 void foo(char *f, ...)
24611 {
24612 va_list ap1, ap2;
24613 va_start(ap1, f);
24614 va_copy(ap2, ap1);
24615 va_end(ap2);
24616 va_end(ap1);
24617 }
24618 int main()
24619 {
24620 foo("hi", 17);
24621 return 0;
24622 }
24623
24624 _ACEOF
24625 rm -f conftest.$ac_objext conftest$ac_exeext
24626 if { (ac_try="$ac_link"
24627 case "(($ac_try" in
24628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24629 *) ac_try_echo=$ac_try;;
24630 esac
24631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24632 (eval "$ac_link") 2>conftest.er1
24633 ac_status=$?
24634 grep -v '^ *+' conftest.er1 >conftest.err
24635 rm -f conftest.er1
24636 cat conftest.err >&5
24637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24638 (exit $ac_status); } && {
24639 test -z "$ac_cxx_werror_flag" ||
24640 test ! -s conftest.err
24641 } && test -s conftest$ac_exeext &&
24642 $as_test_x conftest$ac_exeext; then
24643 wx_cv_func_va_copy=yes
24644 else
24645 echo "$as_me: failed program was:" >&5
24646 sed 's/^/| /' conftest.$ac_ext >&5
24647
24648 wx_cv_func_va_copy=no
24649
24650 fi
24651
24652 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24653 conftest$ac_exeext conftest.$ac_ext
24654 ac_ext=c
24655 ac_cpp='$CPP $CPPFLAGS'
24656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24659
24660
24661
24662 fi
24663 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
24664 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
24665
24666 if test $wx_cv_func_va_copy = "yes"; then
24667 cat >>confdefs.h <<\_ACEOF
24668 #define HAVE_VA_COPY 1
24669 _ACEOF
24670
24671 else
24672 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
24673 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
24674 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
24675 echo $ECHO_N "(cached) $ECHO_C" >&6
24676 else
24677
24678 if test "$cross_compiling" = yes; then
24679 wx_cv_type_va_list_lvalue=yes
24680
24681 else
24682 cat >conftest.$ac_ext <<_ACEOF
24683
24684 /* confdefs.h. */
24685 _ACEOF
24686 cat confdefs.h >>conftest.$ac_ext
24687 cat >>conftest.$ac_ext <<_ACEOF
24688 /* end confdefs.h. */
24689
24690 #include <stdarg.h>
24691 int foo(char *f, ...)
24692 {
24693 va_list ap1, ap2;
24694 va_start(ap1, f);
24695 ap2 = ap1;
24696 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
24697 return 1;
24698 va_end(ap2);
24699 va_end(ap1);
24700 return 0;
24701 }
24702 int main()
24703 {
24704 return foo("hi", 17);
24705 }
24706
24707 _ACEOF
24708 rm -f conftest$ac_exeext
24709 if { (ac_try="$ac_link"
24710 case "(($ac_try" in
24711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24712 *) ac_try_echo=$ac_try;;
24713 esac
24714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24715 (eval "$ac_link") 2>&5
24716 ac_status=$?
24717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24718 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24719 { (case "(($ac_try" in
24720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24721 *) ac_try_echo=$ac_try;;
24722 esac
24723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24724 (eval "$ac_try") 2>&5
24725 ac_status=$?
24726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24727 (exit $ac_status); }; }; then
24728 wx_cv_type_va_list_lvalue=yes
24729 else
24730 echo "$as_me: program exited with status $ac_status" >&5
24731 echo "$as_me: failed program was:" >&5
24732 sed 's/^/| /' conftest.$ac_ext >&5
24733
24734 ( exit $ac_status )
24735 wx_cv_type_va_list_lvalue=no
24736 fi
24737 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24738 fi
24739
24740
24741
24742
24743 fi
24744 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
24745 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
24746
24747 if test $wx_cv_type_va_list_lvalue != "yes"; then
24748 cat >>confdefs.h <<\_ACEOF
24749 #define VA_LIST_IS_ARRAY 1
24750 _ACEOF
24751
24752 fi
24753 fi
24754
24755 if test "$wxUSE_VARARG_MACROS" = "yes"; then
24756
24757 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
24758 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
24759 if test "${wx_cv_have_variadic_macros+set}" = set; then
24760 echo $ECHO_N "(cached) $ECHO_C" >&6
24761 else
24762
24763 ac_ext=cpp
24764 ac_cpp='$CXXCPP $CPPFLAGS'
24765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24768
24769 cat >conftest.$ac_ext <<_ACEOF
24770
24771 /* confdefs.h. */
24772 _ACEOF
24773 cat confdefs.h >>conftest.$ac_ext
24774 cat >>conftest.$ac_ext <<_ACEOF
24775 /* end confdefs.h. */
24776
24777 #include <stdio.h>
24778 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
24779
24780 int
24781 main ()
24782 {
24783
24784 test("%s %d %p", "test", 1, 0);
24785
24786
24787 ;
24788 return 0;
24789 }
24790 _ACEOF
24791 rm -f conftest.$ac_objext
24792 if { (ac_try="$ac_compile"
24793 case "(($ac_try" in
24794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24795 *) ac_try_echo=$ac_try;;
24796 esac
24797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24798 (eval "$ac_compile") 2>conftest.er1
24799 ac_status=$?
24800 grep -v '^ *+' conftest.er1 >conftest.err
24801 rm -f conftest.er1
24802 cat conftest.err >&5
24803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24804 (exit $ac_status); } && {
24805 test -z "$ac_cxx_werror_flag" ||
24806 test ! -s conftest.err
24807 } && test -s conftest.$ac_objext; then
24808 wx_cv_have_variadic_macros=yes
24809 else
24810 echo "$as_me: failed program was:" >&5
24811 sed 's/^/| /' conftest.$ac_ext >&5
24812
24813 wx_cv_have_variadic_macros=no
24814
24815 fi
24816
24817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24818 ac_ext=c
24819 ac_cpp='$CPP $CPPFLAGS'
24820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24823
24824
24825
24826 fi
24827 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
24828 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
24829
24830 if test $wx_cv_have_variadic_macros = "yes"; then
24831 cat >>confdefs.h <<\_ACEOF
24832 #define HAVE_VARIADIC_MACROS 1
24833 _ACEOF
24834
24835 fi
24836
24837 fi
24838
24839 LARGEFILE_CPPFLAGS=
24840 # Check whether --enable-largefile was given.
24841 if test "${enable_largefile+set}" = set; then
24842 enableval=$enable_largefile;
24843 fi
24844
24845 if test "$enable_largefile" != no; then
24846 wx_largefile=no
24847
24848 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
24849 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
24850 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
24851 echo $ECHO_N "(cached) $ECHO_C" >&6
24852 else
24853
24854 cat >conftest.$ac_ext <<_ACEOF
24855 /* confdefs.h. */
24856 _ACEOF
24857 cat confdefs.h >>conftest.$ac_ext
24858 cat >>conftest.$ac_ext <<_ACEOF
24859 /* end confdefs.h. */
24860 #define _FILE_OFFSET_BITS 64
24861 #include <sys/types.h>
24862 int
24863 main ()
24864 {
24865 typedef struct {
24866 unsigned int field: sizeof(off_t) == 8;
24867 } wxlf;
24868
24869 ;
24870 return 0;
24871 }
24872 _ACEOF
24873 rm -f conftest.$ac_objext
24874 if { (ac_try="$ac_compile"
24875 case "(($ac_try" in
24876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24877 *) ac_try_echo=$ac_try;;
24878 esac
24879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24880 (eval "$ac_compile") 2>conftest.er1
24881 ac_status=$?
24882 grep -v '^ *+' conftest.er1 >conftest.err
24883 rm -f conftest.er1
24884 cat conftest.err >&5
24885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24886 (exit $ac_status); } && {
24887 test -z "$ac_c_werror_flag" ||
24888 test ! -s conftest.err
24889 } && test -s conftest.$ac_objext; then
24890 ac_cv_sys_file_offset_bits=64
24891 else
24892 echo "$as_me: failed program was:" >&5
24893 sed 's/^/| /' conftest.$ac_ext >&5
24894
24895 ac_cv_sys_file_offset_bits=no
24896 fi
24897
24898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24899
24900
24901 fi
24902 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
24903 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
24904
24905 if test "$ac_cv_sys_file_offset_bits" != no; then
24906 wx_largefile=yes
24907 cat >>confdefs.h <<_ACEOF
24908 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
24909 _ACEOF
24910
24911 fi
24912
24913 if test "x$wx_largefile" != "xyes"; then
24914
24915 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
24916 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
24917 if test "${ac_cv_sys_large_files+set}" = set; then
24918 echo $ECHO_N "(cached) $ECHO_C" >&6
24919 else
24920
24921 cat >conftest.$ac_ext <<_ACEOF
24922 /* confdefs.h. */
24923 _ACEOF
24924 cat confdefs.h >>conftest.$ac_ext
24925 cat >>conftest.$ac_ext <<_ACEOF
24926 /* end confdefs.h. */
24927 #define _LARGE_FILES 1
24928 #include <sys/types.h>
24929 int
24930 main ()
24931 {
24932 typedef struct {
24933 unsigned int field: sizeof(off_t) == 8;
24934 } wxlf;
24935
24936 ;
24937 return 0;
24938 }
24939 _ACEOF
24940 rm -f conftest.$ac_objext
24941 if { (ac_try="$ac_compile"
24942 case "(($ac_try" in
24943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24944 *) ac_try_echo=$ac_try;;
24945 esac
24946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24947 (eval "$ac_compile") 2>conftest.er1
24948 ac_status=$?
24949 grep -v '^ *+' conftest.er1 >conftest.err
24950 rm -f conftest.er1
24951 cat conftest.err >&5
24952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24953 (exit $ac_status); } && {
24954 test -z "$ac_c_werror_flag" ||
24955 test ! -s conftest.err
24956 } && test -s conftest.$ac_objext; then
24957 ac_cv_sys_large_files=1
24958 else
24959 echo "$as_me: failed program was:" >&5
24960 sed 's/^/| /' conftest.$ac_ext >&5
24961
24962 ac_cv_sys_large_files=no
24963 fi
24964
24965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24966
24967
24968 fi
24969 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
24970 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
24971
24972 if test "$ac_cv_sys_large_files" != no; then
24973 wx_largefile=yes
24974 cat >>confdefs.h <<_ACEOF
24975 #define _LARGE_FILES $ac_cv_sys_large_files
24976 _ACEOF
24977
24978 fi
24979
24980 fi
24981
24982 { echo "$as_me:$LINENO: checking if large file support is available" >&5
24983 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
24984 if test "x$wx_largefile" = "xyes"; then
24985 cat >>confdefs.h <<\_ACEOF
24986 #define HAVE_LARGEFILE_SUPPORT 1
24987 _ACEOF
24988
24989 fi
24990 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
24991 echo "${ECHO_T}$wx_largefile" >&6; }
24992 fi
24993
24994 if test "$ac_cv_sys_file_offset_bits" = "64"; then
24995 LARGEFILE_CPPFLAGS="-D_FILE_OFFSET_BITS=64"
24996 elif test "$ac_cv_sys_large_files" = 1; then
24997 LARGEFILE_CPPFLAGS="-D_LARGE_FILES"
24998 fi
24999
25000 if test -n "$LARGEFILE_CPPFLAGS"; then
25001 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $LARGEFILE_CPPFLAGS"
25002
25003 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
25004 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
25005 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
25006 if test "${wx_cv_STDC_EXT_required+set}" = set; then
25007 echo $ECHO_N "(cached) $ECHO_C" >&6
25008 else
25009
25010 ac_ext=cpp
25011 ac_cpp='$CXXCPP $CPPFLAGS'
25012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25015
25016 cat >conftest.$ac_ext <<_ACEOF
25017 /* confdefs.h. */
25018 _ACEOF
25019 cat confdefs.h >>conftest.$ac_ext
25020 cat >>conftest.$ac_ext <<_ACEOF
25021 /* end confdefs.h. */
25022
25023 int
25024 main ()
25025 {
25026
25027 #ifndef __STDC_EXT__
25028 choke me
25029 #endif
25030
25031 ;
25032 return 0;
25033 }
25034 _ACEOF
25035 rm -f conftest.$ac_objext
25036 if { (ac_try="$ac_compile"
25037 case "(($ac_try" in
25038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25039 *) ac_try_echo=$ac_try;;
25040 esac
25041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25042 (eval "$ac_compile") 2>conftest.er1
25043 ac_status=$?
25044 grep -v '^ *+' conftest.er1 >conftest.err
25045 rm -f conftest.er1
25046 cat conftest.err >&5
25047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25048 (exit $ac_status); } && {
25049 test -z "$ac_cxx_werror_flag" ||
25050 test ! -s conftest.err
25051 } && test -s conftest.$ac_objext; then
25052 wx_cv_STDC_EXT_required=no
25053 else
25054 echo "$as_me: failed program was:" >&5
25055 sed 's/^/| /' conftest.$ac_ext >&5
25056
25057 wx_cv_STDC_EXT_required=yes
25058
25059 fi
25060
25061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25062 ac_ext=c
25063 ac_cpp='$CPP $CPPFLAGS'
25064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25067
25068
25069
25070 fi
25071 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
25072 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
25073 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
25074 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
25075 fi
25076 fi
25077 fi
25078
25079 ac_ext=cpp
25080 ac_cpp='$CXXCPP $CPPFLAGS'
25081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25084
25085 old_CPPFLAGS="$CPPFLAGS"
25086 CPPFLAGS="$CPPFLAGS $LARGEFILE_CPPFLAGS"
25087 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
25088 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
25089 if test "${ac_cv_sys_largefile_source+set}" = set; then
25090 echo $ECHO_N "(cached) $ECHO_C" >&6
25091 else
25092 while :; do
25093 cat >conftest.$ac_ext <<_ACEOF
25094 /* confdefs.h. */
25095 _ACEOF
25096 cat confdefs.h >>conftest.$ac_ext
25097 cat >>conftest.$ac_ext <<_ACEOF
25098 /* end confdefs.h. */
25099 #include <sys/types.h> /* for off_t */
25100 #include <stdio.h>
25101 int
25102 main ()
25103 {
25104 int (*fp) (FILE *, off_t, int) = fseeko;
25105 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
25106 ;
25107 return 0;
25108 }
25109 _ACEOF
25110 rm -f conftest.$ac_objext conftest$ac_exeext
25111 if { (ac_try="$ac_link"
25112 case "(($ac_try" in
25113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25114 *) ac_try_echo=$ac_try;;
25115 esac
25116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25117 (eval "$ac_link") 2>conftest.er1
25118 ac_status=$?
25119 grep -v '^ *+' conftest.er1 >conftest.err
25120 rm -f conftest.er1
25121 cat conftest.err >&5
25122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25123 (exit $ac_status); } && {
25124 test -z "$ac_cxx_werror_flag" ||
25125 test ! -s conftest.err
25126 } && test -s conftest$ac_exeext &&
25127 $as_test_x conftest$ac_exeext; then
25128 ac_cv_sys_largefile_source=no; break
25129 else
25130 echo "$as_me: failed program was:" >&5
25131 sed 's/^/| /' conftest.$ac_ext >&5
25132
25133
25134 fi
25135
25136 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25137 conftest$ac_exeext conftest.$ac_ext
25138 cat >conftest.$ac_ext <<_ACEOF
25139 /* confdefs.h. */
25140 _ACEOF
25141 cat confdefs.h >>conftest.$ac_ext
25142 cat >>conftest.$ac_ext <<_ACEOF
25143 /* end confdefs.h. */
25144 #define _LARGEFILE_SOURCE 1
25145 #include <sys/types.h> /* for off_t */
25146 #include <stdio.h>
25147 int
25148 main ()
25149 {
25150 int (*fp) (FILE *, off_t, int) = fseeko;
25151 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
25152 ;
25153 return 0;
25154 }
25155 _ACEOF
25156 rm -f conftest.$ac_objext conftest$ac_exeext
25157 if { (ac_try="$ac_link"
25158 case "(($ac_try" in
25159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25160 *) ac_try_echo=$ac_try;;
25161 esac
25162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25163 (eval "$ac_link") 2>conftest.er1
25164 ac_status=$?
25165 grep -v '^ *+' conftest.er1 >conftest.err
25166 rm -f conftest.er1
25167 cat conftest.err >&5
25168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25169 (exit $ac_status); } && {
25170 test -z "$ac_cxx_werror_flag" ||
25171 test ! -s conftest.err
25172 } && test -s conftest$ac_exeext &&
25173 $as_test_x conftest$ac_exeext; then
25174 ac_cv_sys_largefile_source=1; break
25175 else
25176 echo "$as_me: failed program was:" >&5
25177 sed 's/^/| /' conftest.$ac_ext >&5
25178
25179
25180 fi
25181
25182 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25183 conftest$ac_exeext conftest.$ac_ext
25184 ac_cv_sys_largefile_source=unknown
25185 break
25186 done
25187 fi
25188 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
25189 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
25190 case $ac_cv_sys_largefile_source in #(
25191 no | unknown) ;;
25192 *)
25193 cat >>confdefs.h <<_ACEOF
25194 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
25195 _ACEOF
25196 ;;
25197 esac
25198 rm -f conftest*
25199
25200 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
25201 # in glibc 2.1.3, but that breaks too many other things.
25202 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
25203 if test $ac_cv_sys_largefile_source != unknown; then
25204
25205 cat >>confdefs.h <<\_ACEOF
25206 #define HAVE_FSEEKO 1
25207 _ACEOF
25208
25209 fi
25210
25211 CPPFLAGS="$old_CPPFLAGS"
25212 ac_ext=c
25213 ac_cpp='$CPP $CPPFLAGS'
25214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25217
25218 if test "$ac_cv_sys_largefile_source" != no; then
25219 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
25220 fi
25221
25222 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
25223 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
25224 if test "${ac_cv_c_bigendian+set}" = set; then
25225 echo $ECHO_N "(cached) $ECHO_C" >&6
25226 else
25227 ac_cv_c_bigendian=unknown
25228 # See if sys/param.h defines the BYTE_ORDER macro.
25229 cat >conftest.$ac_ext <<_ACEOF
25230 /* confdefs.h. */
25231 _ACEOF
25232 cat confdefs.h >>conftest.$ac_ext
25233 cat >>conftest.$ac_ext <<_ACEOF
25234 /* end confdefs.h. */
25235 #include <sys/types.h>
25236 #include <sys/param.h>
25237 int
25238 main ()
25239 {
25240
25241 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
25242 bogus endian macros
25243 #endif
25244 ;
25245 return 0;
25246 }
25247 _ACEOF
25248 rm -f conftest.$ac_objext
25249 if { (ac_try="$ac_compile"
25250 case "(($ac_try" in
25251 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25252 *) ac_try_echo=$ac_try;;
25253 esac
25254 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25255 (eval "$ac_compile") 2>conftest.er1
25256 ac_status=$?
25257 grep -v '^ *+' conftest.er1 >conftest.err
25258 rm -f conftest.er1
25259 cat conftest.err >&5
25260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25261 (exit $ac_status); } && {
25262 test -z "$ac_c_werror_flag" ||
25263 test ! -s conftest.err
25264 } && test -s conftest.$ac_objext; then
25265 # It does; now see whether it defined to BIG_ENDIAN or not.
25266 cat >conftest.$ac_ext <<_ACEOF
25267 /* confdefs.h. */
25268 _ACEOF
25269 cat confdefs.h >>conftest.$ac_ext
25270 cat >>conftest.$ac_ext <<_ACEOF
25271 /* end confdefs.h. */
25272 #include <sys/types.h>
25273 #include <sys/param.h>
25274 int
25275 main ()
25276 {
25277
25278 #if BYTE_ORDER != BIG_ENDIAN
25279 not big endian
25280 #endif
25281 ;
25282 return 0;
25283 }
25284 _ACEOF
25285 rm -f conftest.$ac_objext
25286 if { (ac_try="$ac_compile"
25287 case "(($ac_try" in
25288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25289 *) ac_try_echo=$ac_try;;
25290 esac
25291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25292 (eval "$ac_compile") 2>conftest.er1
25293 ac_status=$?
25294 grep -v '^ *+' conftest.er1 >conftest.err
25295 rm -f conftest.er1
25296 cat conftest.err >&5
25297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25298 (exit $ac_status); } && {
25299 test -z "$ac_c_werror_flag" ||
25300 test ! -s conftest.err
25301 } && test -s conftest.$ac_objext; then
25302 ac_cv_c_bigendian=yes
25303 else
25304 echo "$as_me: failed program was:" >&5
25305 sed 's/^/| /' conftest.$ac_ext >&5
25306
25307 ac_cv_c_bigendian=no
25308 fi
25309
25310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25311 else
25312 echo "$as_me: failed program was:" >&5
25313 sed 's/^/| /' conftest.$ac_ext >&5
25314
25315
25316 fi
25317
25318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25319 if test $ac_cv_c_bigendian = unknown; then
25320 if test "$cross_compiling" = yes; then
25321 ac_cv_c_bigendian=unknown
25322 else
25323 cat >conftest.$ac_ext <<_ACEOF
25324 /* confdefs.h. */
25325 _ACEOF
25326 cat confdefs.h >>conftest.$ac_ext
25327 cat >>conftest.$ac_ext <<_ACEOF
25328 /* end confdefs.h. */
25329 main () {
25330 /* Are we little or big endian? From Harbison&Steele. */
25331 union
25332 {
25333 long l;
25334 char c[sizeof (long)];
25335 } u;
25336 u.l = 1;
25337 exit (u.c[sizeof (long) - 1] == 1);
25338 }
25339 _ACEOF
25340 rm -f conftest$ac_exeext
25341 if { (ac_try="$ac_link"
25342 case "(($ac_try" in
25343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25344 *) ac_try_echo=$ac_try;;
25345 esac
25346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25347 (eval "$ac_link") 2>&5
25348 ac_status=$?
25349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25350 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25351 { (case "(($ac_try" in
25352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25353 *) ac_try_echo=$ac_try;;
25354 esac
25355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25356 (eval "$ac_try") 2>&5
25357 ac_status=$?
25358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25359 (exit $ac_status); }; }; then
25360 ac_cv_c_bigendian=no
25361 else
25362 echo "$as_me: program exited with status $ac_status" >&5
25363 echo "$as_me: failed program was:" >&5
25364 sed 's/^/| /' conftest.$ac_ext >&5
25365
25366 ( exit $ac_status )
25367 ac_cv_c_bigendian=yes
25368 fi
25369 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25370 fi
25371
25372
25373 fi
25374 fi
25375 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
25376 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
25377 if test $ac_cv_c_bigendian = unknown; then
25378 { 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
25379 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;}
25380 fi
25381 if test $ac_cv_c_bigendian = yes; then
25382 cat >>confdefs.h <<\_ACEOF
25383 #define WORDS_BIGENDIAN 1
25384 _ACEOF
25385
25386 fi
25387
25388
25389
25390
25391 ac_ext=cpp
25392 ac_cpp='$CXXCPP $CPPFLAGS'
25393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25396
25397
25398
25399 for ac_header in iostream
25400 do
25401 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
25402 { echo "$as_me:$LINENO: checking for $ac_header" >&5
25403 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
25404 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25405 echo $ECHO_N "(cached) $ECHO_C" >&6
25406 else
25407 cat >conftest.$ac_ext <<_ACEOF
25408 /* confdefs.h. */
25409 _ACEOF
25410 cat confdefs.h >>conftest.$ac_ext
25411 cat >>conftest.$ac_ext <<_ACEOF
25412 /* end confdefs.h. */
25413
25414
25415 #include <$ac_header>
25416 _ACEOF
25417 rm -f conftest.$ac_objext
25418 if { (ac_try="$ac_compile"
25419 case "(($ac_try" in
25420 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25421 *) ac_try_echo=$ac_try;;
25422 esac
25423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25424 (eval "$ac_compile") 2>conftest.er1
25425 ac_status=$?
25426 grep -v '^ *+' conftest.er1 >conftest.err
25427 rm -f conftest.er1
25428 cat conftest.err >&5
25429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25430 (exit $ac_status); } && {
25431 test -z "$ac_cxx_werror_flag" ||
25432 test ! -s conftest.err
25433 } && test -s conftest.$ac_objext; then
25434 eval "$as_ac_Header=yes"
25435 else
25436 echo "$as_me: failed program was:" >&5
25437 sed 's/^/| /' conftest.$ac_ext >&5
25438
25439 eval "$as_ac_Header=no"
25440 fi
25441
25442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25443 fi
25444 ac_res=`eval echo '${'$as_ac_Header'}'`
25445 { echo "$as_me:$LINENO: result: $ac_res" >&5
25446 echo "${ECHO_T}$ac_res" >&6; }
25447 if test `eval echo '${'$as_ac_Header'}'` = yes; then
25448 cat >>confdefs.h <<_ACEOF
25449 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
25450 _ACEOF
25451
25452 fi
25453
25454 done
25455
25456
25457 if test "$ac_cv_header_iostream" = "yes" ; then
25458 :
25459 else
25460 cat >>confdefs.h <<\_ACEOF
25461 #define wxUSE_IOSTREAMH 1
25462 _ACEOF
25463
25464 fi
25465
25466 ac_ext=c
25467 ac_cpp='$CPP $CPPFLAGS'
25468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25471
25472
25473
25474
25475 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
25476 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
25477 if test "${wx_cv_explicit+set}" = set; then
25478 echo $ECHO_N "(cached) $ECHO_C" >&6
25479 else
25480
25481
25482 ac_ext=cpp
25483 ac_cpp='$CXXCPP $CPPFLAGS'
25484 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25485 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25486 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25487
25488
25489 cat >conftest.$ac_ext <<_ACEOF
25490 /* confdefs.h. */
25491 _ACEOF
25492 cat confdefs.h >>conftest.$ac_ext
25493 cat >>conftest.$ac_ext <<_ACEOF
25494 /* end confdefs.h. */
25495
25496 class Foo { public: explicit Foo(int) {} };
25497
25498 int
25499 main ()
25500 {
25501
25502 return 0;
25503
25504 ;
25505 return 0;
25506 }
25507 _ACEOF
25508 rm -f conftest.$ac_objext
25509 if { (ac_try="$ac_compile"
25510 case "(($ac_try" in
25511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25512 *) ac_try_echo=$ac_try;;
25513 esac
25514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25515 (eval "$ac_compile") 2>conftest.er1
25516 ac_status=$?
25517 grep -v '^ *+' conftest.er1 >conftest.err
25518 rm -f conftest.er1
25519 cat conftest.err >&5
25520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25521 (exit $ac_status); } && {
25522 test -z "$ac_cxx_werror_flag" ||
25523 test ! -s conftest.err
25524 } && test -s conftest.$ac_objext; then
25525
25526 cat >conftest.$ac_ext <<_ACEOF
25527 /* confdefs.h. */
25528 _ACEOF
25529 cat confdefs.h >>conftest.$ac_ext
25530 cat >>conftest.$ac_ext <<_ACEOF
25531 /* end confdefs.h. */
25532
25533 class Foo { public: explicit Foo(int) {} };
25534 static void TakeFoo(const Foo& foo) { }
25535
25536 int
25537 main ()
25538 {
25539
25540 TakeFoo(17);
25541 return 0;
25542
25543 ;
25544 return 0;
25545 }
25546 _ACEOF
25547 rm -f conftest.$ac_objext
25548 if { (ac_try="$ac_compile"
25549 case "(($ac_try" in
25550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25551 *) ac_try_echo=$ac_try;;
25552 esac
25553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25554 (eval "$ac_compile") 2>conftest.er1
25555 ac_status=$?
25556 grep -v '^ *+' conftest.er1 >conftest.err
25557 rm -f conftest.er1
25558 cat conftest.err >&5
25559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25560 (exit $ac_status); } && {
25561 test -z "$ac_cxx_werror_flag" ||
25562 test ! -s conftest.err
25563 } && test -s conftest.$ac_objext; then
25564 wx_cv_explicit=no
25565 else
25566 echo "$as_me: failed program was:" >&5
25567 sed 's/^/| /' conftest.$ac_ext >&5
25568
25569 wx_cv_explicit=yes
25570
25571 fi
25572
25573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25574
25575 else
25576 echo "$as_me: failed program was:" >&5
25577 sed 's/^/| /' conftest.$ac_ext >&5
25578
25579 wx_cv_explicit=no
25580
25581 fi
25582
25583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25584
25585 ac_ext=c
25586 ac_cpp='$CPP $CPPFLAGS'
25587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25590
25591
25592 fi
25593 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
25594 echo "${ECHO_T}$wx_cv_explicit" >&6; }
25595
25596 if test "$wx_cv_explicit" = "yes"; then
25597 cat >>confdefs.h <<\_ACEOF
25598 #define HAVE_EXPLICIT 1
25599 _ACEOF
25600
25601 fi
25602
25603
25604 if test "x$SUNCXX" = xyes; then
25605 CXXFLAGS="-features=tmplife $GNU_SOURCE_FLAG $CXXFLAGS"
25606 fi
25607
25608 if test "x$SUNCC" = xyes; then
25609 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
25610 fi
25611
25612 if test "x$SGICC" = "xyes"; then
25613 { echo "$as_me:$LINENO: checking if cc version is 7.4.4 or greater" >&5
25614 echo $ECHO_N "checking if cc version is 7.4.4 or greater... $ECHO_C" >&6; }
25615 if test "${wx_cv_prog_sgicc744+set}" = set; then
25616 echo $ECHO_N "(cached) $ECHO_C" >&6
25617 else
25618
25619 cat >conftest.$ac_ext <<_ACEOF
25620 /* confdefs.h. */
25621 _ACEOF
25622 cat confdefs.h >>conftest.$ac_ext
25623 cat >>conftest.$ac_ext <<_ACEOF
25624 /* end confdefs.h. */
25625
25626 int
25627 main ()
25628 {
25629
25630 #if _SGI_COMPILER_VERSION >= 744
25631 chock me: mipsPro is 7.4.4 or later
25632 #endif
25633
25634 ;
25635 return 0;
25636 }
25637 _ACEOF
25638 rm -f conftest.$ac_objext
25639 if { (ac_try="$ac_compile"
25640 case "(($ac_try" in
25641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25642 *) ac_try_echo=$ac_try;;
25643 esac
25644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25645 (eval "$ac_compile") 2>conftest.er1
25646 ac_status=$?
25647 grep -v '^ *+' conftest.er1 >conftest.err
25648 rm -f conftest.er1
25649 cat conftest.err >&5
25650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25651 (exit $ac_status); } && {
25652 test -z "$ac_c_werror_flag" ||
25653 test ! -s conftest.err
25654 } && test -s conftest.$ac_objext; then
25655 wx_cv_prog_sgicc744=no
25656 else
25657 echo "$as_me: failed program was:" >&5
25658 sed 's/^/| /' conftest.$ac_ext >&5
25659
25660 wx_cv_prog_sgicc744=yes
25661
25662 fi
25663
25664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25665
25666
25667 fi
25668 { echo "$as_me:$LINENO: result: $wx_cv_prog_sgicc744" >&5
25669 echo "${ECHO_T}$wx_cv_prog_sgicc744" >&6; }
25670
25671 if test "x$wx_cv_prog_sgicc744" = "xyes"; then
25672 CFLAGS="-woff 3970 $CFLAGS"
25673 fi
25674 fi
25675 if test "x$SGICXX" = "xyes"; then
25676 { echo "$as_me:$LINENO: checking if CC version is 7.4.4 or greater" >&5
25677 echo $ECHO_N "checking if CC version is 7.4.4 or greater... $ECHO_C" >&6; }
25678 if test "${wx_cv_prog_sgicxx744+set}" = set; then
25679 echo $ECHO_N "(cached) $ECHO_C" >&6
25680 else
25681
25682 ac_ext=cpp
25683 ac_cpp='$CXXCPP $CPPFLAGS'
25684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25687
25688 cat >conftest.$ac_ext <<_ACEOF
25689 /* confdefs.h. */
25690 _ACEOF
25691 cat confdefs.h >>conftest.$ac_ext
25692 cat >>conftest.$ac_ext <<_ACEOF
25693 /* end confdefs.h. */
25694
25695 int
25696 main ()
25697 {
25698
25699 #if _SGI_COMPILER_VERSION >= 744
25700 chock me: mipsPro is 7.4.4 or later
25701 #endif
25702
25703 ;
25704 return 0;
25705 }
25706 _ACEOF
25707 rm -f conftest.$ac_objext
25708 if { (ac_try="$ac_compile"
25709 case "(($ac_try" in
25710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25711 *) ac_try_echo=$ac_try;;
25712 esac
25713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25714 (eval "$ac_compile") 2>conftest.er1
25715 ac_status=$?
25716 grep -v '^ *+' conftest.er1 >conftest.err
25717 rm -f conftest.er1
25718 cat conftest.err >&5
25719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25720 (exit $ac_status); } && {
25721 test -z "$ac_cxx_werror_flag" ||
25722 test ! -s conftest.err
25723 } && test -s conftest.$ac_objext; then
25724 wx_cv_prog_sgicxx744=no
25725 else
25726 echo "$as_me: failed program was:" >&5
25727 sed 's/^/| /' conftest.$ac_ext >&5
25728
25729 wx_cv_prog_sgicxx744=yes
25730
25731 fi
25732
25733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25734 ac_ext=c
25735 ac_cpp='$CPP $CPPFLAGS'
25736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25739
25740
25741
25742 fi
25743 { echo "$as_me:$LINENO: result: $wx_cv_prog_sgicxx744" >&5
25744 echo "${ECHO_T}$wx_cv_prog_sgicxx744" >&6; }
25745
25746 if test "x$wx_cv_prog_sgicxx744" = "xyes"; then
25747 CXXFLAGS="-woff 3970 $CXXFLAGS"
25748 fi
25749 fi
25750
25751 if test "x$HPCC" = "xyes"; then
25752 CFLAGS="+W 2011,2450 $CFLAGS"
25753 fi
25754 if test "x$HPCXX" = "xyes"; then
25755 CXXFLAGS="+W 2340,4232 $CXXFLAGS"
25756 fi
25757
25758 if test "x$COMPAQCXX" = "xyes"; then
25759 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
25760 fi
25761
25762 ac_ext=cpp
25763 ac_cpp='$CXXCPP $CPPFLAGS'
25764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25767
25768
25769 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
25770 if test "$wxUSE_UNICODE" = "yes"; then
25771 std_string="std::wstring"
25772 char_type="wchar_t"
25773 else
25774 std_string="std::string"
25775 char_type="char"
25776 fi
25777
25778 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
25779 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
25780 if test "${wx_cv_class_stdstring+set}" = set; then
25781 echo $ECHO_N "(cached) $ECHO_C" >&6
25782 else
25783
25784 cat >conftest.$ac_ext <<_ACEOF
25785 /* confdefs.h. */
25786 _ACEOF
25787 cat confdefs.h >>conftest.$ac_ext
25788 cat >>conftest.$ac_ext <<_ACEOF
25789 /* end confdefs.h. */
25790 #include <string>
25791 int
25792 main ()
25793 {
25794 $std_string foo;
25795 ;
25796 return 0;
25797 }
25798 _ACEOF
25799 rm -f conftest.$ac_objext
25800 if { (ac_try="$ac_compile"
25801 case "(($ac_try" in
25802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25803 *) ac_try_echo=$ac_try;;
25804 esac
25805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25806 (eval "$ac_compile") 2>conftest.er1
25807 ac_status=$?
25808 grep -v '^ *+' conftest.er1 >conftest.err
25809 rm -f conftest.er1
25810 cat conftest.err >&5
25811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25812 (exit $ac_status); } && {
25813 test -z "$ac_cxx_werror_flag" ||
25814 test ! -s conftest.err
25815 } && test -s conftest.$ac_objext; then
25816 wx_cv_class_stdstring=yes
25817 else
25818 echo "$as_me: failed program was:" >&5
25819 sed 's/^/| /' conftest.$ac_ext >&5
25820
25821 wx_cv_class_stdstring=no
25822
25823 fi
25824
25825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25826
25827
25828 fi
25829 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
25830 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
25831
25832 if test "$wx_cv_class_stdstring" = yes; then
25833 if test "$wxUSE_UNICODE" = "yes"; then
25834 cat >>confdefs.h <<\_ACEOF
25835 #define HAVE_STD_WSTRING 1
25836 _ACEOF
25837
25838 fi
25839 else
25840 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
25841 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
25842 if test "${wx_cv_class_stdbasicstring+set}" = set; then
25843 echo $ECHO_N "(cached) $ECHO_C" >&6
25844 else
25845
25846 cat >conftest.$ac_ext <<_ACEOF
25847 /* confdefs.h. */
25848 _ACEOF
25849 cat confdefs.h >>conftest.$ac_ext
25850 cat >>conftest.$ac_ext <<_ACEOF
25851 /* end confdefs.h. */
25852
25853 #ifdef HAVE_WCHAR_H
25854 # ifdef __CYGWIN__
25855 # include <stddef.h>
25856 # endif
25857 # include <wchar.h>
25858 #endif
25859 #ifdef HAVE_STDLIB_H
25860 # include <stdlib.h>
25861 #endif
25862 #include <stdio.h>
25863 #include <string>
25864
25865 int
25866 main ()
25867 {
25868 std::basic_string<$char_type> foo;
25869 const $char_type* dummy = foo.c_str();
25870 ;
25871 return 0;
25872 }
25873 _ACEOF
25874 rm -f conftest.$ac_objext
25875 if { (ac_try="$ac_compile"
25876 case "(($ac_try" in
25877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25878 *) ac_try_echo=$ac_try;;
25879 esac
25880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25881 (eval "$ac_compile") 2>conftest.er1
25882 ac_status=$?
25883 grep -v '^ *+' conftest.er1 >conftest.err
25884 rm -f conftest.er1
25885 cat conftest.err >&5
25886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25887 (exit $ac_status); } && {
25888 test -z "$ac_cxx_werror_flag" ||
25889 test ! -s conftest.err
25890 } && test -s conftest.$ac_objext; then
25891 wx_cv_class_stdbasicstring=yes
25892 else
25893 echo "$as_me: failed program was:" >&5
25894 sed 's/^/| /' conftest.$ac_ext >&5
25895
25896 wx_cv_class_stdbasicstring=no
25897
25898 fi
25899
25900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25901
25902
25903 fi
25904 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
25905 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
25906
25907 if test "$wx_cv_class_stdbasicstring" != yes; then
25908 if test "$wxUSE_STL" = "yes"; then
25909 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
25910 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
25911 { (exit 1); exit 1; }; }
25912 elif test "$wxUSE_STD_STRING" = "yes"; then
25913 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
25914 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
25915 { (exit 1); exit 1; }; }
25916 else
25917 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
25918 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
25919 wxUSE_STD_STRING=no
25920 fi
25921 fi
25922 fi
25923 fi
25924
25925 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
25926 { echo "$as_me:$LINENO: checking for std::istream" >&5
25927 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
25928 if test "${ac_cv_type_std__istream+set}" = set; then
25929 echo $ECHO_N "(cached) $ECHO_C" >&6
25930 else
25931 cat >conftest.$ac_ext <<_ACEOF
25932 /* confdefs.h. */
25933 _ACEOF
25934 cat confdefs.h >>conftest.$ac_ext
25935 cat >>conftest.$ac_ext <<_ACEOF
25936 /* end confdefs.h. */
25937 #include <iostream>
25938
25939 typedef std::istream ac__type_new_;
25940 int
25941 main ()
25942 {
25943 if ((ac__type_new_ *) 0)
25944 return 0;
25945 if (sizeof (ac__type_new_))
25946 return 0;
25947 ;
25948 return 0;
25949 }
25950 _ACEOF
25951 rm -f conftest.$ac_objext
25952 if { (ac_try="$ac_compile"
25953 case "(($ac_try" in
25954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25955 *) ac_try_echo=$ac_try;;
25956 esac
25957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25958 (eval "$ac_compile") 2>conftest.er1
25959 ac_status=$?
25960 grep -v '^ *+' conftest.er1 >conftest.err
25961 rm -f conftest.er1
25962 cat conftest.err >&5
25963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25964 (exit $ac_status); } && {
25965 test -z "$ac_cxx_werror_flag" ||
25966 test ! -s conftest.err
25967 } && test -s conftest.$ac_objext; then
25968 ac_cv_type_std__istream=yes
25969 else
25970 echo "$as_me: failed program was:" >&5
25971 sed 's/^/| /' conftest.$ac_ext >&5
25972
25973 ac_cv_type_std__istream=no
25974 fi
25975
25976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25977 fi
25978 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
25979 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
25980 if test $ac_cv_type_std__istream = yes; then
25981
25982 cat >>confdefs.h <<_ACEOF
25983 #define HAVE_STD__ISTREAM 1
25984 _ACEOF
25985
25986
25987 else
25988 wxUSE_STD_IOSTREAM=no
25989 fi
25990 { echo "$as_me:$LINENO: checking for std::ostream" >&5
25991 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
25992 if test "${ac_cv_type_std__ostream+set}" = set; then
25993 echo $ECHO_N "(cached) $ECHO_C" >&6
25994 else
25995 cat >conftest.$ac_ext <<_ACEOF
25996 /* confdefs.h. */
25997 _ACEOF
25998 cat confdefs.h >>conftest.$ac_ext
25999 cat >>conftest.$ac_ext <<_ACEOF
26000 /* end confdefs.h. */
26001 #include <iostream>
26002
26003 typedef std::ostream ac__type_new_;
26004 int
26005 main ()
26006 {
26007 if ((ac__type_new_ *) 0)
26008 return 0;
26009 if (sizeof (ac__type_new_))
26010 return 0;
26011 ;
26012 return 0;
26013 }
26014 _ACEOF
26015 rm -f conftest.$ac_objext
26016 if { (ac_try="$ac_compile"
26017 case "(($ac_try" in
26018 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26019 *) ac_try_echo=$ac_try;;
26020 esac
26021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26022 (eval "$ac_compile") 2>conftest.er1
26023 ac_status=$?
26024 grep -v '^ *+' conftest.er1 >conftest.err
26025 rm -f conftest.er1
26026 cat conftest.err >&5
26027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26028 (exit $ac_status); } && {
26029 test -z "$ac_cxx_werror_flag" ||
26030 test ! -s conftest.err
26031 } && test -s conftest.$ac_objext; then
26032 ac_cv_type_std__ostream=yes
26033 else
26034 echo "$as_me: failed program was:" >&5
26035 sed 's/^/| /' conftest.$ac_ext >&5
26036
26037 ac_cv_type_std__ostream=no
26038 fi
26039
26040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26041 fi
26042 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
26043 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
26044 if test $ac_cv_type_std__ostream = yes; then
26045
26046 cat >>confdefs.h <<_ACEOF
26047 #define HAVE_STD__OSTREAM 1
26048 _ACEOF
26049
26050
26051 else
26052 wxUSE_STD_IOSTREAM=no
26053 fi
26054
26055
26056 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
26057 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
26058 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
26059 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
26060 { (exit 1); exit 1; }; }
26061 else
26062 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
26063 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
26064 fi
26065 fi
26066 fi
26067
26068 if test "$wxUSE_STL" = "yes"; then
26069 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
26070 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
26071 if test "${wx_cv_lib_stl+set}" = set; then
26072 echo $ECHO_N "(cached) $ECHO_C" >&6
26073 else
26074 cat >conftest.$ac_ext <<_ACEOF
26075 /* confdefs.h. */
26076 _ACEOF
26077 cat confdefs.h >>conftest.$ac_ext
26078 cat >>conftest.$ac_ext <<_ACEOF
26079 /* end confdefs.h. */
26080 #include <string>
26081 #include <functional>
26082 #include <algorithm>
26083 #include <vector>
26084 #include <list>
26085 int
26086 main ()
26087 {
26088 std::vector<int> moo;
26089 std::list<int> foo;
26090 std::vector<int>::iterator it =
26091 std::find_if(moo.begin(), moo.end(),
26092 std::bind2nd(std::less<int>(), 3));
26093 ;
26094 return 0;
26095 }
26096 _ACEOF
26097 rm -f conftest.$ac_objext
26098 if { (ac_try="$ac_compile"
26099 case "(($ac_try" in
26100 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26101 *) ac_try_echo=$ac_try;;
26102 esac
26103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26104 (eval "$ac_compile") 2>conftest.er1
26105 ac_status=$?
26106 grep -v '^ *+' conftest.er1 >conftest.err
26107 rm -f conftest.er1
26108 cat conftest.err >&5
26109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26110 (exit $ac_status); } && {
26111 test -z "$ac_cxx_werror_flag" ||
26112 test ! -s conftest.err
26113 } && test -s conftest.$ac_objext; then
26114 wx_cv_lib_stl=yes
26115 else
26116 echo "$as_me: failed program was:" >&5
26117 sed 's/^/| /' conftest.$ac_ext >&5
26118
26119 wx_cv_lib_stl=no
26120
26121 fi
26122
26123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26124
26125 fi
26126 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
26127 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
26128
26129 if test "$wx_cv_lib_stl" != yes; then
26130 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
26131 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
26132 { (exit 1); exit 1; }; }
26133 fi
26134
26135 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
26136 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
26137 if test "${wx_cv_func_stdstring_compare+set}" = set; then
26138 echo $ECHO_N "(cached) $ECHO_C" >&6
26139 else
26140 cat >conftest.$ac_ext <<_ACEOF
26141 /* confdefs.h. */
26142 _ACEOF
26143 cat confdefs.h >>conftest.$ac_ext
26144 cat >>conftest.$ac_ext <<_ACEOF
26145 /* end confdefs.h. */
26146 #include <string>
26147 int
26148 main ()
26149 {
26150 std::string foo, bar;
26151 foo.compare(bar);
26152 foo.compare(1, 1, bar);
26153 foo.compare(1, 1, bar, 1, 1);
26154 foo.compare("");
26155 foo.compare(1, 1, "");
26156 foo.compare(1, 1, "", 2);
26157 ;
26158 return 0;
26159 }
26160 _ACEOF
26161 rm -f conftest.$ac_objext
26162 if { (ac_try="$ac_compile"
26163 case "(($ac_try" in
26164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26165 *) ac_try_echo=$ac_try;;
26166 esac
26167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26168 (eval "$ac_compile") 2>conftest.er1
26169 ac_status=$?
26170 grep -v '^ *+' conftest.er1 >conftest.err
26171 rm -f conftest.er1
26172 cat conftest.err >&5
26173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26174 (exit $ac_status); } && {
26175 test -z "$ac_cxx_werror_flag" ||
26176 test ! -s conftest.err
26177 } && test -s conftest.$ac_objext; then
26178 wx_cv_func_stdstring_compare=yes
26179 else
26180 echo "$as_me: failed program was:" >&5
26181 sed 's/^/| /' conftest.$ac_ext >&5
26182
26183 wx_cv_func_stdstring_compare=no
26184
26185 fi
26186
26187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26188
26189 fi
26190 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
26191 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
26192
26193 if test "$wx_cv_func_stdstring_compare" = yes; then
26194 cat >>confdefs.h <<\_ACEOF
26195 #define HAVE_STD_STRING_COMPARE 1
26196 _ACEOF
26197
26198 fi
26199
26200 if test "$wx_cv_class_gnuhashmapset" = yes; then
26201 cat >>confdefs.h <<\_ACEOF
26202 #define HAVE_EXT_HASH_MAP 1
26203 _ACEOF
26204
26205 cat >>confdefs.h <<\_ACEOF
26206 #define HAVE_GNU_CXX_HASH_MAP 1
26207 _ACEOF
26208
26209 fi
26210
26211 { echo "$as_me:$LINENO: checking for unordered_map" >&5
26212 echo $ECHO_N "checking for unordered_map... $ECHO_C" >&6; }
26213 if test "${ac_cv_header_unordered_map+set}" = set; then
26214 echo $ECHO_N "(cached) $ECHO_C" >&6
26215 else
26216 cat >conftest.$ac_ext <<_ACEOF
26217 /* confdefs.h. */
26218 _ACEOF
26219 cat confdefs.h >>conftest.$ac_ext
26220 cat >>conftest.$ac_ext <<_ACEOF
26221 /* end confdefs.h. */
26222
26223
26224
26225 #include <unordered_map>
26226 _ACEOF
26227 rm -f conftest.$ac_objext
26228 if { (ac_try="$ac_compile"
26229 case "(($ac_try" in
26230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26231 *) ac_try_echo=$ac_try;;
26232 esac
26233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26234 (eval "$ac_compile") 2>conftest.er1
26235 ac_status=$?
26236 grep -v '^ *+' conftest.er1 >conftest.err
26237 rm -f conftest.er1
26238 cat conftest.err >&5
26239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26240 (exit $ac_status); } && {
26241 test -z "$ac_cxx_werror_flag" ||
26242 test ! -s conftest.err
26243 } && test -s conftest.$ac_objext; then
26244 ac_cv_header_unordered_map=yes
26245 else
26246 echo "$as_me: failed program was:" >&5
26247 sed 's/^/| /' conftest.$ac_ext >&5
26248
26249 ac_cv_header_unordered_map=no
26250 fi
26251
26252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26253 fi
26254 { echo "$as_me:$LINENO: result: $ac_cv_header_unordered_map" >&5
26255 echo "${ECHO_T}$ac_cv_header_unordered_map" >&6; }
26256 if test $ac_cv_header_unordered_map = yes; then
26257 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std" >&5
26258 echo $ECHO_N "checking for unordered_map and unordered_set in std... $ECHO_C" >&6; }
26259 if test "${wx_cv_class_stdunorderedmapset+set}" = set; then
26260 echo $ECHO_N "(cached) $ECHO_C" >&6
26261 else
26262 cat >conftest.$ac_ext <<_ACEOF
26263 /* confdefs.h. */
26264 _ACEOF
26265 cat confdefs.h >>conftest.$ac_ext
26266 cat >>conftest.$ac_ext <<_ACEOF
26267 /* end confdefs.h. */
26268 #include <unordered_map>
26269 #include <unordered_set>
26270 int
26271 main ()
26272 {
26273 std::unordered_map<double*, char*> test1;
26274 std::unordered_set<char*> test2;
26275 ;
26276 return 0;
26277 }
26278 _ACEOF
26279 rm -f conftest.$ac_objext
26280 if { (ac_try="$ac_compile"
26281 case "(($ac_try" in
26282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26283 *) ac_try_echo=$ac_try;;
26284 esac
26285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26286 (eval "$ac_compile") 2>conftest.er1
26287 ac_status=$?
26288 grep -v '^ *+' conftest.er1 >conftest.err
26289 rm -f conftest.er1
26290 cat conftest.err >&5
26291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26292 (exit $ac_status); } && {
26293 test -z "$ac_cxx_werror_flag" ||
26294 test ! -s conftest.err
26295 } && test -s conftest.$ac_objext; then
26296 wx_cv_class_stdunorderedmapset=yes
26297 else
26298 echo "$as_me: failed program was:" >&5
26299 sed 's/^/| /' conftest.$ac_ext >&5
26300
26301 wx_cv_class_stdunorderedmapset=no
26302 fi
26303
26304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26305
26306
26307 fi
26308 { echo "$as_me:$LINENO: result: $wx_cv_class_stdunorderedmapset" >&5
26309 echo "${ECHO_T}$wx_cv_class_stdunorderedmapset" >&6; }
26310 fi
26311
26312
26313
26314 if test "$wx_cv_class_stdunorderedmapset" = yes; then
26315 cat >>confdefs.h <<\_ACEOF
26316 #define HAVE_STD_UNORDERED_MAP 1
26317 _ACEOF
26318
26319 cat >>confdefs.h <<\_ACEOF
26320 #define HAVE_STD_UNORDERED_SET 1
26321 _ACEOF
26322
26323 else
26324 { echo "$as_me:$LINENO: checking for tr1/unordered_map" >&5
26325 echo $ECHO_N "checking for tr1/unordered_map... $ECHO_C" >&6; }
26326 if test "${ac_cv_header_tr1_unordered_map+set}" = set; then
26327 echo $ECHO_N "(cached) $ECHO_C" >&6
26328 else
26329 cat >conftest.$ac_ext <<_ACEOF
26330 /* confdefs.h. */
26331 _ACEOF
26332 cat confdefs.h >>conftest.$ac_ext
26333 cat >>conftest.$ac_ext <<_ACEOF
26334 /* end confdefs.h. */
26335
26336
26337
26338 #include <tr1/unordered_map>
26339 _ACEOF
26340 rm -f conftest.$ac_objext
26341 if { (ac_try="$ac_compile"
26342 case "(($ac_try" in
26343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26344 *) ac_try_echo=$ac_try;;
26345 esac
26346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26347 (eval "$ac_compile") 2>conftest.er1
26348 ac_status=$?
26349 grep -v '^ *+' conftest.er1 >conftest.err
26350 rm -f conftest.er1
26351 cat conftest.err >&5
26352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26353 (exit $ac_status); } && {
26354 test -z "$ac_cxx_werror_flag" ||
26355 test ! -s conftest.err
26356 } && test -s conftest.$ac_objext; then
26357 ac_cv_header_tr1_unordered_map=yes
26358 else
26359 echo "$as_me: failed program was:" >&5
26360 sed 's/^/| /' conftest.$ac_ext >&5
26361
26362 ac_cv_header_tr1_unordered_map=no
26363 fi
26364
26365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26366 fi
26367 { echo "$as_me:$LINENO: result: $ac_cv_header_tr1_unordered_map" >&5
26368 echo "${ECHO_T}$ac_cv_header_tr1_unordered_map" >&6; }
26369 if test $ac_cv_header_tr1_unordered_map = yes; then
26370 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std::tr1" >&5
26371 echo $ECHO_N "checking for unordered_map and unordered_set in std::tr1... $ECHO_C" >&6; }
26372 if test "${wx_cv_class_tr1unorderedmapset+set}" = set; then
26373 echo $ECHO_N "(cached) $ECHO_C" >&6
26374 else
26375 cat >conftest.$ac_ext <<_ACEOF
26376 /* confdefs.h. */
26377 _ACEOF
26378 cat confdefs.h >>conftest.$ac_ext
26379 cat >>conftest.$ac_ext <<_ACEOF
26380 /* end confdefs.h. */
26381 #include <tr1/unordered_map>
26382 #include <tr1/unordered_set>
26383 int
26384 main ()
26385 {
26386 std::tr1::unordered_map<double*, char*> test1;
26387 std::tr1::unordered_set<char*> test2;
26388 #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
26389 #error can't use unordered_{map,set} with gcc-4.[01]: http://gcc.gnu.org/PR24389
26390 #endif
26391 ;
26392 return 0;
26393 }
26394 _ACEOF
26395 rm -f conftest.$ac_objext
26396 if { (ac_try="$ac_compile"
26397 case "(($ac_try" in
26398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26399 *) ac_try_echo=$ac_try;;
26400 esac
26401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26402 (eval "$ac_compile") 2>conftest.er1
26403 ac_status=$?
26404 grep -v '^ *+' conftest.er1 >conftest.err
26405 rm -f conftest.er1
26406 cat conftest.err >&5
26407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26408 (exit $ac_status); } && {
26409 test -z "$ac_cxx_werror_flag" ||
26410 test ! -s conftest.err
26411 } && test -s conftest.$ac_objext; then
26412 wx_cv_class_tr1unorderedmapset=yes
26413 else
26414 echo "$as_me: failed program was:" >&5
26415 sed 's/^/| /' conftest.$ac_ext >&5
26416
26417 wx_cv_class_tr1unorderedmapset=no
26418 fi
26419
26420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26421
26422
26423 fi
26424 { echo "$as_me:$LINENO: result: $wx_cv_class_tr1unorderedmapset" >&5
26425 echo "${ECHO_T}$wx_cv_class_tr1unorderedmapset" >&6; }
26426 fi
26427
26428
26429
26430 if test "$wx_cv_class_tr1unorderedmapset" = yes; then
26431 cat >>confdefs.h <<\_ACEOF
26432 #define HAVE_TR1_UNORDERED_MAP 1
26433 _ACEOF
26434
26435 cat >>confdefs.h <<\_ACEOF
26436 #define HAVE_TR1_UNORDERED_SET 1
26437 _ACEOF
26438
26439 else
26440 { echo "$as_me:$LINENO: checking for hash_map" >&5
26441 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
26442 if test "${ac_cv_header_hash_map+set}" = set; then
26443 echo $ECHO_N "(cached) $ECHO_C" >&6
26444 else
26445 cat >conftest.$ac_ext <<_ACEOF
26446 /* confdefs.h. */
26447 _ACEOF
26448 cat confdefs.h >>conftest.$ac_ext
26449 cat >>conftest.$ac_ext <<_ACEOF
26450 /* end confdefs.h. */
26451
26452
26453
26454 #include <hash_map>
26455 _ACEOF
26456 rm -f conftest.$ac_objext
26457 if { (ac_try="$ac_compile"
26458 case "(($ac_try" in
26459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26460 *) ac_try_echo=$ac_try;;
26461 esac
26462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26463 (eval "$ac_compile") 2>conftest.er1
26464 ac_status=$?
26465 grep -v '^ *+' conftest.er1 >conftest.err
26466 rm -f conftest.er1
26467 cat conftest.err >&5
26468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26469 (exit $ac_status); } && {
26470 test -z "$ac_cxx_werror_flag" ||
26471 test ! -s conftest.err
26472 } && test -s conftest.$ac_objext; then
26473 ac_cv_header_hash_map=yes
26474 else
26475 echo "$as_me: failed program was:" >&5
26476 sed 's/^/| /' conftest.$ac_ext >&5
26477
26478 ac_cv_header_hash_map=no
26479 fi
26480
26481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26482 fi
26483 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
26484 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
26485 if test $ac_cv_header_hash_map = yes; then
26486 { echo "$as_me:$LINENO: checking for std::hash_map and hash_set" >&5
26487 echo $ECHO_N "checking for std::hash_map and hash_set... $ECHO_C" >&6; }
26488 if test "${wx_cv_class_stdhashmapset+set}" = set; then
26489 echo $ECHO_N "(cached) $ECHO_C" >&6
26490 else
26491 cat >conftest.$ac_ext <<_ACEOF
26492 /* confdefs.h. */
26493 _ACEOF
26494 cat confdefs.h >>conftest.$ac_ext
26495 cat >>conftest.$ac_ext <<_ACEOF
26496 /* end confdefs.h. */
26497 #include <hash_map>
26498 #include <hash_set>
26499 int
26500 main ()
26501 {
26502 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
26503 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
26504 ;
26505 return 0;
26506 }
26507 _ACEOF
26508 rm -f conftest.$ac_objext
26509 if { (ac_try="$ac_compile"
26510 case "(($ac_try" in
26511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26512 *) ac_try_echo=$ac_try;;
26513 esac
26514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26515 (eval "$ac_compile") 2>conftest.er1
26516 ac_status=$?
26517 grep -v '^ *+' conftest.er1 >conftest.err
26518 rm -f conftest.er1
26519 cat conftest.err >&5
26520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26521 (exit $ac_status); } && {
26522 test -z "$ac_cxx_werror_flag" ||
26523 test ! -s conftest.err
26524 } && test -s conftest.$ac_objext; then
26525 wx_cv_class_stdhashmapset=yes
26526 else
26527 echo "$as_me: failed program was:" >&5
26528 sed 's/^/| /' conftest.$ac_ext >&5
26529
26530 wx_cv_class_stdhashmapset=no
26531 fi
26532
26533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26534
26535
26536 fi
26537 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
26538 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
26539 fi
26540
26541
26542
26543 if test "$wx_cv_class_stdhashmapset" = yes; then
26544 cat >>confdefs.h <<\_ACEOF
26545 #define HAVE_HASH_MAP 1
26546 _ACEOF
26547
26548 cat >>confdefs.h <<\_ACEOF
26549 #define HAVE_STD_HASH_MAP 1
26550 _ACEOF
26551
26552 fi
26553
26554 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
26555 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
26556 if test "${ac_cv_header_ext_hash_map+set}" = set; then
26557 echo $ECHO_N "(cached) $ECHO_C" >&6
26558 else
26559 cat >conftest.$ac_ext <<_ACEOF
26560 /* confdefs.h. */
26561 _ACEOF
26562 cat confdefs.h >>conftest.$ac_ext
26563 cat >>conftest.$ac_ext <<_ACEOF
26564 /* end confdefs.h. */
26565
26566
26567
26568 #include <ext/hash_map>
26569 _ACEOF
26570 rm -f conftest.$ac_objext
26571 if { (ac_try="$ac_compile"
26572 case "(($ac_try" in
26573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26574 *) ac_try_echo=$ac_try;;
26575 esac
26576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26577 (eval "$ac_compile") 2>conftest.er1
26578 ac_status=$?
26579 grep -v '^ *+' conftest.er1 >conftest.err
26580 rm -f conftest.er1
26581 cat conftest.err >&5
26582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26583 (exit $ac_status); } && {
26584 test -z "$ac_cxx_werror_flag" ||
26585 test ! -s conftest.err
26586 } && test -s conftest.$ac_objext; then
26587 ac_cv_header_ext_hash_map=yes
26588 else
26589 echo "$as_me: failed program was:" >&5
26590 sed 's/^/| /' conftest.$ac_ext >&5
26591
26592 ac_cv_header_ext_hash_map=no
26593 fi
26594
26595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26596 fi
26597 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
26598 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
26599 if test $ac_cv_header_ext_hash_map = yes; then
26600 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
26601 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
26602 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
26603 echo $ECHO_N "(cached) $ECHO_C" >&6
26604 else
26605 cat >conftest.$ac_ext <<_ACEOF
26606 /* confdefs.h. */
26607 _ACEOF
26608 cat confdefs.h >>conftest.$ac_ext
26609 cat >>conftest.$ac_ext <<_ACEOF
26610 /* end confdefs.h. */
26611 #include <ext/hash_map>
26612 #include <ext/hash_set>
26613 int
26614 main ()
26615 {
26616 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
26617 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
26618 ;
26619 return 0;
26620 }
26621 _ACEOF
26622 rm -f conftest.$ac_objext
26623 if { (ac_try="$ac_compile"
26624 case "(($ac_try" in
26625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26626 *) ac_try_echo=$ac_try;;
26627 esac
26628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26629 (eval "$ac_compile") 2>conftest.er1
26630 ac_status=$?
26631 grep -v '^ *+' conftest.er1 >conftest.err
26632 rm -f conftest.er1
26633 cat conftest.err >&5
26634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26635 (exit $ac_status); } && {
26636 test -z "$ac_cxx_werror_flag" ||
26637 test ! -s conftest.err
26638 } && test -s conftest.$ac_objext; then
26639 wx_cv_class_gnuhashmapset=yes
26640 else
26641 echo "$as_me: failed program was:" >&5
26642 sed 's/^/| /' conftest.$ac_ext >&5
26643
26644 wx_cv_class_gnuhashmapset=no
26645 fi
26646
26647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26648
26649
26650 fi
26651 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
26652 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
26653 fi
26654
26655
26656
26657 fi
26658 fi
26659 fi
26660
26661 ac_ext=cpp
26662 ac_cpp='$CXXCPP $CPPFLAGS'
26663 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26664 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26665 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26666 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
26667 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
26668 if test -z "$CXXCPP"; then
26669 if test "${ac_cv_prog_CXXCPP+set}" = set; then
26670 echo $ECHO_N "(cached) $ECHO_C" >&6
26671 else
26672 # Double quotes because CXXCPP needs to be expanded
26673 for CXXCPP in "$CXX -E" "/lib/cpp"
26674 do
26675 ac_preproc_ok=false
26676 for ac_cxx_preproc_warn_flag in '' yes
26677 do
26678 # Use a header file that comes with gcc, so configuring glibc
26679 # with a fresh cross-compiler works.
26680 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26681 # <limits.h> exists even on freestanding compilers.
26682 # On the NeXT, cc -E runs the code through the compiler's parser,
26683 # not just through cpp. "Syntax error" is here to catch this case.
26684 cat >conftest.$ac_ext <<_ACEOF
26685 /* confdefs.h. */
26686 _ACEOF
26687 cat confdefs.h >>conftest.$ac_ext
26688 cat >>conftest.$ac_ext <<_ACEOF
26689 /* end confdefs.h. */
26690 #ifdef __STDC__
26691 # include <limits.h>
26692 #else
26693 # include <assert.h>
26694 #endif
26695 Syntax error
26696 _ACEOF
26697 if { (ac_try="$ac_cpp conftest.$ac_ext"
26698 case "(($ac_try" in
26699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26700 *) ac_try_echo=$ac_try;;
26701 esac
26702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26703 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26704 ac_status=$?
26705 grep -v '^ *+' conftest.er1 >conftest.err
26706 rm -f conftest.er1
26707 cat conftest.err >&5
26708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26709 (exit $ac_status); } >/dev/null && {
26710 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26711 test ! -s conftest.err
26712 }; then
26713 :
26714 else
26715 echo "$as_me: failed program was:" >&5
26716 sed 's/^/| /' conftest.$ac_ext >&5
26717
26718 # Broken: fails on valid input.
26719 continue
26720 fi
26721
26722 rm -f conftest.err conftest.$ac_ext
26723
26724 # OK, works on sane cases. Now check whether nonexistent headers
26725 # can be detected and how.
26726 cat >conftest.$ac_ext <<_ACEOF
26727 /* confdefs.h. */
26728 _ACEOF
26729 cat confdefs.h >>conftest.$ac_ext
26730 cat >>conftest.$ac_ext <<_ACEOF
26731 /* end confdefs.h. */
26732 #include <ac_nonexistent.h>
26733 _ACEOF
26734 if { (ac_try="$ac_cpp conftest.$ac_ext"
26735 case "(($ac_try" in
26736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26737 *) ac_try_echo=$ac_try;;
26738 esac
26739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26740 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26741 ac_status=$?
26742 grep -v '^ *+' conftest.er1 >conftest.err
26743 rm -f conftest.er1
26744 cat conftest.err >&5
26745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26746 (exit $ac_status); } >/dev/null && {
26747 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26748 test ! -s conftest.err
26749 }; then
26750 # Broken: success on invalid input.
26751 continue
26752 else
26753 echo "$as_me: failed program was:" >&5
26754 sed 's/^/| /' conftest.$ac_ext >&5
26755
26756 # Passes both tests.
26757 ac_preproc_ok=:
26758 break
26759 fi
26760
26761 rm -f conftest.err conftest.$ac_ext
26762
26763 done
26764 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
26765 rm -f conftest.err conftest.$ac_ext
26766 if $ac_preproc_ok; then
26767 break
26768 fi
26769
26770 done
26771 ac_cv_prog_CXXCPP=$CXXCPP
26772
26773 fi
26774 CXXCPP=$ac_cv_prog_CXXCPP
26775 else
26776 ac_cv_prog_CXXCPP=$CXXCPP
26777 fi
26778 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
26779 echo "${ECHO_T}$CXXCPP" >&6; }
26780 ac_preproc_ok=false
26781 for ac_cxx_preproc_warn_flag in '' yes
26782 do
26783 # Use a header file that comes with gcc, so configuring glibc
26784 # with a fresh cross-compiler works.
26785 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26786 # <limits.h> exists even on freestanding compilers.
26787 # On the NeXT, cc -E runs the code through the compiler's parser,
26788 # not just through cpp. "Syntax error" is here to catch this case.
26789 cat >conftest.$ac_ext <<_ACEOF
26790 /* confdefs.h. */
26791 _ACEOF
26792 cat confdefs.h >>conftest.$ac_ext
26793 cat >>conftest.$ac_ext <<_ACEOF
26794 /* end confdefs.h. */
26795 #ifdef __STDC__
26796 # include <limits.h>
26797 #else
26798 # include <assert.h>
26799 #endif
26800 Syntax error
26801 _ACEOF
26802 if { (ac_try="$ac_cpp conftest.$ac_ext"
26803 case "(($ac_try" in
26804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26805 *) ac_try_echo=$ac_try;;
26806 esac
26807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26808 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26809 ac_status=$?
26810 grep -v '^ *+' conftest.er1 >conftest.err
26811 rm -f conftest.er1
26812 cat conftest.err >&5
26813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26814 (exit $ac_status); } >/dev/null && {
26815 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26816 test ! -s conftest.err
26817 }; then
26818 :
26819 else
26820 echo "$as_me: failed program was:" >&5
26821 sed 's/^/| /' conftest.$ac_ext >&5
26822
26823 # Broken: fails on valid input.
26824 continue
26825 fi
26826
26827 rm -f conftest.err conftest.$ac_ext
26828
26829 # OK, works on sane cases. Now check whether nonexistent headers
26830 # can be detected and how.
26831 cat >conftest.$ac_ext <<_ACEOF
26832 /* confdefs.h. */
26833 _ACEOF
26834 cat confdefs.h >>conftest.$ac_ext
26835 cat >>conftest.$ac_ext <<_ACEOF
26836 /* end confdefs.h. */
26837 #include <ac_nonexistent.h>
26838 _ACEOF
26839 if { (ac_try="$ac_cpp conftest.$ac_ext"
26840 case "(($ac_try" in
26841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26842 *) ac_try_echo=$ac_try;;
26843 esac
26844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26845 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26846 ac_status=$?
26847 grep -v '^ *+' conftest.er1 >conftest.err
26848 rm -f conftest.er1
26849 cat conftest.err >&5
26850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26851 (exit $ac_status); } >/dev/null && {
26852 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26853 test ! -s conftest.err
26854 }; then
26855 # Broken: success on invalid input.
26856 continue
26857 else
26858 echo "$as_me: failed program was:" >&5
26859 sed 's/^/| /' conftest.$ac_ext >&5
26860
26861 # Passes both tests.
26862 ac_preproc_ok=:
26863 break
26864 fi
26865
26866 rm -f conftest.err conftest.$ac_ext
26867
26868 done
26869 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
26870 rm -f conftest.err conftest.$ac_ext
26871 if $ac_preproc_ok; then
26872 :
26873 else
26874 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
26875 See \`config.log' for more details." >&5
26876 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
26877 See \`config.log' for more details." >&2;}
26878 { (exit 1); exit 1; }; }
26879 fi
26880
26881 ac_ext=cpp
26882 ac_cpp='$CXXCPP $CPPFLAGS'
26883 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26884 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26885 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26886
26887
26888
26889
26890 for ac_header in type_traits tr1/type_traits
26891 do
26892 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26893 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26894 { echo "$as_me:$LINENO: checking for $ac_header" >&5
26895 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
26896 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26897 echo $ECHO_N "(cached) $ECHO_C" >&6
26898 fi
26899 ac_res=`eval echo '${'$as_ac_Header'}'`
26900 { echo "$as_me:$LINENO: result: $ac_res" >&5
26901 echo "${ECHO_T}$ac_res" >&6; }
26902 else
26903 # Is the header compilable?
26904 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
26905 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
26906 cat >conftest.$ac_ext <<_ACEOF
26907 /* confdefs.h. */
26908 _ACEOF
26909 cat confdefs.h >>conftest.$ac_ext
26910 cat >>conftest.$ac_ext <<_ACEOF
26911 /* end confdefs.h. */
26912 $ac_includes_default
26913 #include <$ac_header>
26914 _ACEOF
26915 rm -f conftest.$ac_objext
26916 if { (ac_try="$ac_compile"
26917 case "(($ac_try" in
26918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26919 *) ac_try_echo=$ac_try;;
26920 esac
26921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26922 (eval "$ac_compile") 2>conftest.er1
26923 ac_status=$?
26924 grep -v '^ *+' conftest.er1 >conftest.err
26925 rm -f conftest.er1
26926 cat conftest.err >&5
26927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26928 (exit $ac_status); } && {
26929 test -z "$ac_cxx_werror_flag" ||
26930 test ! -s conftest.err
26931 } && test -s conftest.$ac_objext; then
26932 ac_header_compiler=yes
26933 else
26934 echo "$as_me: failed program was:" >&5
26935 sed 's/^/| /' conftest.$ac_ext >&5
26936
26937 ac_header_compiler=no
26938 fi
26939
26940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26941 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26942 echo "${ECHO_T}$ac_header_compiler" >&6; }
26943
26944 # Is the header present?
26945 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
26946 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
26947 cat >conftest.$ac_ext <<_ACEOF
26948 /* confdefs.h. */
26949 _ACEOF
26950 cat confdefs.h >>conftest.$ac_ext
26951 cat >>conftest.$ac_ext <<_ACEOF
26952 /* end confdefs.h. */
26953 #include <$ac_header>
26954 _ACEOF
26955 if { (ac_try="$ac_cpp conftest.$ac_ext"
26956 case "(($ac_try" in
26957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26958 *) ac_try_echo=$ac_try;;
26959 esac
26960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26961 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26962 ac_status=$?
26963 grep -v '^ *+' conftest.er1 >conftest.err
26964 rm -f conftest.er1
26965 cat conftest.err >&5
26966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26967 (exit $ac_status); } >/dev/null && {
26968 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26969 test ! -s conftest.err
26970 }; then
26971 ac_header_preproc=yes
26972 else
26973 echo "$as_me: failed program was:" >&5
26974 sed 's/^/| /' conftest.$ac_ext >&5
26975
26976 ac_header_preproc=no
26977 fi
26978
26979 rm -f conftest.err conftest.$ac_ext
26980 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26981 echo "${ECHO_T}$ac_header_preproc" >&6; }
26982
26983 # So? What about this header?
26984 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26985 yes:no: )
26986 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
26987 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
26988 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
26989 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
26990 ac_header_preproc=yes
26991 ;;
26992 no:yes:* )
26993 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
26994 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
26995 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
26996 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
26997 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
26998 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
26999 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27000 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27001 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27002 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27003 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27004 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27005 ( cat <<\_ASBOX
27006 ## ----------------------------------------- ##
27007 ## Report this to wx-dev@lists.wxwidgets.org ##
27008 ## ----------------------------------------- ##
27009 _ASBOX
27010 ) | sed "s/^/$as_me: WARNING: /" >&2
27011 ;;
27012 esac
27013 { echo "$as_me:$LINENO: checking for $ac_header" >&5
27014 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
27015 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27016 echo $ECHO_N "(cached) $ECHO_C" >&6
27017 else
27018 eval "$as_ac_Header=\$ac_header_preproc"
27019 fi
27020 ac_res=`eval echo '${'$as_ac_Header'}'`
27021 { echo "$as_me:$LINENO: result: $ac_res" >&5
27022 echo "${ECHO_T}$ac_res" >&6; }
27023
27024 fi
27025 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27026 cat >>confdefs.h <<_ACEOF
27027 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27028 _ACEOF
27029
27030 fi
27031
27032 done
27033
27034
27035
27036
27037 if test -n "$GCC"; then
27038 { echo "$as_me:$LINENO: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
27039 echo $ECHO_N "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... $ECHO_C" >&6; }
27040 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
27041 echo $ECHO_N "(cached) $ECHO_C" >&6
27042 else
27043
27044 cat >conftest.$ac_ext <<_ACEOF
27045 /* confdefs.h. */
27046 _ACEOF
27047 cat confdefs.h >>conftest.$ac_ext
27048 cat >>conftest.$ac_ext <<_ACEOF
27049 /* end confdefs.h. */
27050
27051 int
27052 main ()
27053 {
27054
27055 unsigned int value=0;
27056 /* wxAtomicInc doesn't use return value here */
27057 __sync_fetch_and_add(&value, 2);
27058 __sync_sub_and_fetch(&value, 1);
27059 /* but wxAtomicDec does, so mimic that: */
27060 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
27061
27062 ;
27063 return 0;
27064 }
27065 _ACEOF
27066 rm -f conftest.$ac_objext conftest$ac_exeext
27067 if { (ac_try="$ac_link"
27068 case "(($ac_try" in
27069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27070 *) ac_try_echo=$ac_try;;
27071 esac
27072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27073 (eval "$ac_link") 2>conftest.er1
27074 ac_status=$?
27075 grep -v '^ *+' conftest.er1 >conftest.err
27076 rm -f conftest.er1
27077 cat conftest.err >&5
27078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27079 (exit $ac_status); } && {
27080 test -z "$ac_cxx_werror_flag" ||
27081 test ! -s conftest.err
27082 } && test -s conftest$ac_exeext &&
27083 $as_test_x conftest$ac_exeext; then
27084 wx_cv_cc_gcc_atomic_builtins=yes
27085 else
27086 echo "$as_me: failed program was:" >&5
27087 sed 's/^/| /' conftest.$ac_ext >&5
27088
27089 wx_cv_cc_gcc_atomic_builtins=no
27090 fi
27091
27092 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27093 conftest$ac_exeext conftest.$ac_ext
27094
27095 fi
27096
27097 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
27098 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
27099 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
27100 cat >>confdefs.h <<\_ACEOF
27101 #define HAVE_GCC_ATOMIC_BUILTINS 1
27102 _ACEOF
27103
27104 fi
27105 fi
27106
27107
27108 ac_ext=c
27109 ac_cpp='$CPP $CPPFLAGS'
27110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27113
27114
27115
27116 SEARCH_INCLUDE="\
27117 /usr/local/include \
27118 /usr/local/X11/include \
27119 /usr/local/include/X11 \
27120 /usr/local/X11R7/include \
27121 /usr/local/X11R6/include \
27122 /usr/local/include/X11R7 \
27123 /usr/local/include/X11R6 \
27124 \
27125 /usr/Motif-2.1/include \
27126 /usr/Motif-1.2/include \
27127 /usr/include/Motif1.2 \
27128 \
27129 /usr/dt/include \
27130 /usr/openwin/include \
27131 \
27132 /usr/include/Xm \
27133 \
27134 /usr/X11R7/include \
27135 /usr/X11R6/include \
27136 /usr/X11R6.4/include \
27137 \
27138 /usr/include/X11R7 \
27139 /usr/include/X11R6 \
27140 \
27141 /usr/X11/include \
27142 /usr/include/X11 \
27143 \
27144 /usr/XFree86/include/X11 \
27145 /usr/pkg/include \
27146 \
27147 /usr/local/X1R5/include \
27148 /usr/local/include/X11R5 \
27149 /usr/X11R5/include \
27150 /usr/include/X11R5 \
27151 \
27152 /usr/local/X11R4/include \
27153 /usr/local/include/X11R4 \
27154 /usr/X11R4/include \
27155 /usr/include/X11R4 \
27156 \
27157 /usr/openwin/share/include"
27158
27159 { echo "$as_me:$LINENO: checking for libraries directories" >&5
27160 echo $ECHO_N "checking for libraries directories... $ECHO_C" >&6; }
27161
27162 case "${host}" in
27163 *-*-irix6* )
27164 if test "${wx_cv_std_libpath+set}" = set; then
27165 echo $ECHO_N "(cached) $ECHO_C" >&6
27166 else
27167
27168 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
27169 for e in a so sl dylib dll.a; do
27170 libc="$d/libc.$e"
27171 if test -f $libc; then
27172 save_LIBS="$LIBS"
27173 LIBS="$libc"
27174 cat >conftest.$ac_ext <<_ACEOF
27175
27176 /* confdefs.h. */
27177 _ACEOF
27178 cat confdefs.h >>conftest.$ac_ext
27179 cat >>conftest.$ac_ext <<_ACEOF
27180 /* end confdefs.h. */
27181 int main() { return 0; }
27182
27183 _ACEOF
27184 rm -f conftest.$ac_objext conftest$ac_exeext
27185 if { (ac_try="$ac_link"
27186 case "(($ac_try" in
27187 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27188 *) ac_try_echo=$ac_try;;
27189 esac
27190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27191 (eval "$ac_link") 2>conftest.er1
27192 ac_status=$?
27193 grep -v '^ *+' conftest.er1 >conftest.err
27194 rm -f conftest.er1
27195 cat conftest.err >&5
27196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27197 (exit $ac_status); } && {
27198 test -z "$ac_c_werror_flag" ||
27199 test ! -s conftest.err
27200 } && test -s conftest$ac_exeext &&
27201 $as_test_x conftest$ac_exeext; then
27202 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
27203 else
27204 echo "$as_me: failed program was:" >&5
27205 sed 's/^/| /' conftest.$ac_ext >&5
27206
27207
27208 fi
27209
27210 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27211 conftest$ac_exeext conftest.$ac_ext
27212 LIBS="$save_LIBS"
27213 if test "x$wx_cv_std_libpath" != "x"; then
27214 break 2
27215 fi
27216 fi
27217 done
27218 done
27219
27220
27221 fi
27222
27223 ;;
27224
27225 *-*-solaris2* )
27226 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
27227 wx_cv_std_libpath="lib/64"
27228 fi
27229 ;;
27230
27231 *-*-linux* )
27232 if test "$ac_cv_sizeof_void_p" = 8; then
27233 if test -d "/usr/lib/`uname -m`-linux-gnu"; then
27234 wx_cv_std_libfullpath="/usr/lib/`uname -m`-linux-gnu"
27235 elif test -d "/usr/lib64" -a ! -h "/usr/lib64"; then
27236 wx_cv_std_libpath="lib64"
27237 fi
27238 else
27239 case "${host}" in
27240 i*86-*-linux* )
27241 if test -d '/usr/lib/i386-linux-gnu'; then
27242 wx_cv_std_libfullpath='/usr/lib/i386-linux-gnu'
27243 fi
27244 esac
27245 fi
27246
27247 if test -n "$wx_cv_std_libfullpath" -a -d "/usr/lib"; then
27248 wx_cv_std_libfullpath="$wx_cv_std_libfullpath /usr/lib"
27249 fi
27250 ;;
27251 esac
27252
27253 if test -z "$wx_cv_std_libpath"; then
27254 wx_cv_std_libpath="lib"
27255 fi
27256
27257 if test -z "$wx_cv_std_libfullpath"; then
27258 wx_cv_std_libfullpath="/usr/$wx_cv_std_libpath"
27259 fi
27260
27261
27262 { echo "$as_me:$LINENO: result: $wx_cv_std_libfullpath" >&5
27263 echo "${ECHO_T}$wx_cv_std_libfullpath" >&6; }
27264
27265 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` $wx_cv_std_libfullpath"
27266
27267 if test "$build" != "$host" -a "$GCC" = yes; then
27268 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
27269 cross_root=`dirname $cross_root`
27270 cross_root=`dirname $cross_root`
27271
27272 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
27273 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
27274 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
27275
27276 if test -z "$PKG_CONFIG_PATH"; then
27277 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
27278 export PKG_CONFIG_PATH
27279 fi
27280
27281 if test -z "$x_includes" -o "$x_includes" = NONE; then
27282
27283 ac_find_includes=
27284 for ac_dir in $SEARCH_INCLUDE /usr/include
27285 do
27286 if test -f "$ac_dir/X11/Intrinsic.h"; then
27287 ac_find_includes=$ac_dir
27288 break
27289 fi
27290 done
27291
27292 x_includes=$ac_find_includes
27293 fi
27294 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
27295
27296 ac_find_libraries=
27297 for ac_dir in $SEARCH_LIB
27298 do
27299 for ac_extension in a so sl dylib dll.a; do
27300 if test -f "$ac_dir/libXt.$ac_extension"; then
27301 ac_find_libraries=$ac_dir
27302 break 2
27303 fi
27304 done
27305 done
27306
27307 x_libraries=$ac_find_libraries
27308 fi
27309 fi
27310 fi
27311
27312
27313 cat >confcache <<\_ACEOF
27314 # This file is a shell script that caches the results of configure
27315 # tests run on this system so they can be shared between configure
27316 # scripts and configure runs, see configure's option --config-cache.
27317 # It is not useful on other systems. If it contains results you don't
27318 # want to keep, you may remove or edit it.
27319 #
27320 # config.status only pays attention to the cache file if you give it
27321 # the --recheck option to rerun configure.
27322 #
27323 # `ac_cv_env_foo' variables (set or unset) will be overridden when
27324 # loading this file, other *unset* `ac_cv_foo' will be assigned the
27325 # following values.
27326
27327 _ACEOF
27328
27329 # The following way of writing the cache mishandles newlines in values,
27330 # but we know of no workaround that is simple, portable, and efficient.
27331 # So, we kill variables containing newlines.
27332 # Ultrix sh set writes to stderr and can't be redirected directly,
27333 # and sets the high bit in the cache file unless we assign to the vars.
27334 (
27335 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
27336 eval ac_val=\$$ac_var
27337 case $ac_val in #(
27338 *${as_nl}*)
27339 case $ac_var in #(
27340 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
27341 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
27342 esac
27343 case $ac_var in #(
27344 _ | IFS | as_nl) ;; #(
27345 *) $as_unset $ac_var ;;
27346 esac ;;
27347 esac
27348 done
27349
27350 (set) 2>&1 |
27351 case $as_nl`(ac_space=' '; set) 2>&1` in #(
27352 *${as_nl}ac_space=\ *)
27353 # `set' does not quote correctly, so add quotes (double-quote
27354 # substitution turns \\\\ into \\, and sed turns \\ into \).
27355 sed -n \
27356 "s/'/'\\\\''/g;
27357 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
27358 ;; #(
27359 *)
27360 # `set' quotes correctly as required by POSIX, so do not add quotes.
27361 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
27362 ;;
27363 esac |
27364 sort
27365 ) |
27366 sed '
27367 /^ac_cv_env_/b end
27368 t clear
27369 :clear
27370 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
27371 t end
27372 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
27373 :end' >>confcache
27374 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
27375 if test -w "$cache_file"; then
27376 test "x$cache_file" != "x/dev/null" &&
27377 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
27378 echo "$as_me: updating cache $cache_file" >&6;}
27379 cat confcache >$cache_file
27380 else
27381 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
27382 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
27383 fi
27384 fi
27385 rm -f confcache
27386
27387 have_cos=0
27388 have_floor=0
27389
27390 for ac_func in cos
27391 do
27392 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27393 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27394 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27395 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27396 echo $ECHO_N "(cached) $ECHO_C" >&6
27397 else
27398 cat >conftest.$ac_ext <<_ACEOF
27399 /* confdefs.h. */
27400 _ACEOF
27401 cat confdefs.h >>conftest.$ac_ext
27402 cat >>conftest.$ac_ext <<_ACEOF
27403 /* end confdefs.h. */
27404 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27405 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27406 #define $ac_func innocuous_$ac_func
27407
27408 /* System header to define __stub macros and hopefully few prototypes,
27409 which can conflict with char $ac_func (); below.
27410 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27411 <limits.h> exists even on freestanding compilers. */
27412
27413 #ifdef __STDC__
27414 # include <limits.h>
27415 #else
27416 # include <assert.h>
27417 #endif
27418
27419 #undef $ac_func
27420
27421 /* Override any GCC internal prototype to avoid an error.
27422 Use char because int might match the return type of a GCC
27423 builtin and then its argument prototype would still apply. */
27424 #ifdef __cplusplus
27425 extern "C"
27426 #endif
27427 char $ac_func ();
27428 /* The GNU C library defines this for functions which it implements
27429 to always fail with ENOSYS. Some functions are actually named
27430 something starting with __ and the normal name is an alias. */
27431 #if defined __stub_$ac_func || defined __stub___$ac_func
27432 choke me
27433 #endif
27434
27435 int
27436 main ()
27437 {
27438 return $ac_func ();
27439 ;
27440 return 0;
27441 }
27442 _ACEOF
27443 rm -f conftest.$ac_objext conftest$ac_exeext
27444 if { (ac_try="$ac_link"
27445 case "(($ac_try" in
27446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27447 *) ac_try_echo=$ac_try;;
27448 esac
27449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27450 (eval "$ac_link") 2>conftest.er1
27451 ac_status=$?
27452 grep -v '^ *+' conftest.er1 >conftest.err
27453 rm -f conftest.er1
27454 cat conftest.err >&5
27455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27456 (exit $ac_status); } && {
27457 test -z "$ac_c_werror_flag" ||
27458 test ! -s conftest.err
27459 } && test -s conftest$ac_exeext &&
27460 $as_test_x conftest$ac_exeext; then
27461 eval "$as_ac_var=yes"
27462 else
27463 echo "$as_me: failed program was:" >&5
27464 sed 's/^/| /' conftest.$ac_ext >&5
27465
27466 eval "$as_ac_var=no"
27467 fi
27468
27469 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27470 conftest$ac_exeext conftest.$ac_ext
27471 fi
27472 ac_res=`eval echo '${'$as_ac_var'}'`
27473 { echo "$as_me:$LINENO: result: $ac_res" >&5
27474 echo "${ECHO_T}$ac_res" >&6; }
27475 if test `eval echo '${'$as_ac_var'}'` = yes; then
27476 cat >>confdefs.h <<_ACEOF
27477 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27478 _ACEOF
27479 have_cos=1
27480 fi
27481 done
27482
27483
27484 for ac_func in floor
27485 do
27486 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27487 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27488 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27489 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27490 echo $ECHO_N "(cached) $ECHO_C" >&6
27491 else
27492 cat >conftest.$ac_ext <<_ACEOF
27493 /* confdefs.h. */
27494 _ACEOF
27495 cat confdefs.h >>conftest.$ac_ext
27496 cat >>conftest.$ac_ext <<_ACEOF
27497 /* end confdefs.h. */
27498 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27499 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27500 #define $ac_func innocuous_$ac_func
27501
27502 /* System header to define __stub macros and hopefully few prototypes,
27503 which can conflict with char $ac_func (); below.
27504 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27505 <limits.h> exists even on freestanding compilers. */
27506
27507 #ifdef __STDC__
27508 # include <limits.h>
27509 #else
27510 # include <assert.h>
27511 #endif
27512
27513 #undef $ac_func
27514
27515 /* Override any GCC internal prototype to avoid an error.
27516 Use char because int might match the return type of a GCC
27517 builtin and then its argument prototype would still apply. */
27518 #ifdef __cplusplus
27519 extern "C"
27520 #endif
27521 char $ac_func ();
27522 /* The GNU C library defines this for functions which it implements
27523 to always fail with ENOSYS. Some functions are actually named
27524 something starting with __ and the normal name is an alias. */
27525 #if defined __stub_$ac_func || defined __stub___$ac_func
27526 choke me
27527 #endif
27528
27529 int
27530 main ()
27531 {
27532 return $ac_func ();
27533 ;
27534 return 0;
27535 }
27536 _ACEOF
27537 rm -f conftest.$ac_objext conftest$ac_exeext
27538 if { (ac_try="$ac_link"
27539 case "(($ac_try" in
27540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27541 *) ac_try_echo=$ac_try;;
27542 esac
27543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27544 (eval "$ac_link") 2>conftest.er1
27545 ac_status=$?
27546 grep -v '^ *+' conftest.er1 >conftest.err
27547 rm -f conftest.er1
27548 cat conftest.err >&5
27549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27550 (exit $ac_status); } && {
27551 test -z "$ac_c_werror_flag" ||
27552 test ! -s conftest.err
27553 } && test -s conftest$ac_exeext &&
27554 $as_test_x conftest$ac_exeext; then
27555 eval "$as_ac_var=yes"
27556 else
27557 echo "$as_me: failed program was:" >&5
27558 sed 's/^/| /' conftest.$ac_ext >&5
27559
27560 eval "$as_ac_var=no"
27561 fi
27562
27563 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27564 conftest$ac_exeext conftest.$ac_ext
27565 fi
27566 ac_res=`eval echo '${'$as_ac_var'}'`
27567 { echo "$as_me:$LINENO: result: $ac_res" >&5
27568 echo "${ECHO_T}$ac_res" >&6; }
27569 if test `eval echo '${'$as_ac_var'}'` = yes; then
27570 cat >>confdefs.h <<_ACEOF
27571 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27572 _ACEOF
27573 have_floor=1
27574 fi
27575 done
27576
27577 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
27578 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
27579 if test "$have_cos" = 1 -a "$have_floor" = 1; then
27580 { echo "$as_me:$LINENO: result: yes" >&5
27581 echo "${ECHO_T}yes" >&6; }
27582 else
27583 { echo "$as_me:$LINENO: result: no" >&5
27584 echo "${ECHO_T}no" >&6; }
27585 LIBS="$LIBS -lm"
27586 # use different functions to avoid configure caching
27587 have_sin=0
27588 have_ceil=0
27589
27590 for ac_func in sin
27591 do
27592 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27593 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27594 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27595 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27596 echo $ECHO_N "(cached) $ECHO_C" >&6
27597 else
27598 cat >conftest.$ac_ext <<_ACEOF
27599 /* confdefs.h. */
27600 _ACEOF
27601 cat confdefs.h >>conftest.$ac_ext
27602 cat >>conftest.$ac_ext <<_ACEOF
27603 /* end confdefs.h. */
27604 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27605 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27606 #define $ac_func innocuous_$ac_func
27607
27608 /* System header to define __stub macros and hopefully few prototypes,
27609 which can conflict with char $ac_func (); below.
27610 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27611 <limits.h> exists even on freestanding compilers. */
27612
27613 #ifdef __STDC__
27614 # include <limits.h>
27615 #else
27616 # include <assert.h>
27617 #endif
27618
27619 #undef $ac_func
27620
27621 /* Override any GCC internal prototype to avoid an error.
27622 Use char because int might match the return type of a GCC
27623 builtin and then its argument prototype would still apply. */
27624 #ifdef __cplusplus
27625 extern "C"
27626 #endif
27627 char $ac_func ();
27628 /* The GNU C library defines this for functions which it implements
27629 to always fail with ENOSYS. Some functions are actually named
27630 something starting with __ and the normal name is an alias. */
27631 #if defined __stub_$ac_func || defined __stub___$ac_func
27632 choke me
27633 #endif
27634
27635 int
27636 main ()
27637 {
27638 return $ac_func ();
27639 ;
27640 return 0;
27641 }
27642 _ACEOF
27643 rm -f conftest.$ac_objext conftest$ac_exeext
27644 if { (ac_try="$ac_link"
27645 case "(($ac_try" in
27646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27647 *) ac_try_echo=$ac_try;;
27648 esac
27649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27650 (eval "$ac_link") 2>conftest.er1
27651 ac_status=$?
27652 grep -v '^ *+' conftest.er1 >conftest.err
27653 rm -f conftest.er1
27654 cat conftest.err >&5
27655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27656 (exit $ac_status); } && {
27657 test -z "$ac_c_werror_flag" ||
27658 test ! -s conftest.err
27659 } && test -s conftest$ac_exeext &&
27660 $as_test_x conftest$ac_exeext; then
27661 eval "$as_ac_var=yes"
27662 else
27663 echo "$as_me: failed program was:" >&5
27664 sed 's/^/| /' conftest.$ac_ext >&5
27665
27666 eval "$as_ac_var=no"
27667 fi
27668
27669 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27670 conftest$ac_exeext conftest.$ac_ext
27671 fi
27672 ac_res=`eval echo '${'$as_ac_var'}'`
27673 { echo "$as_me:$LINENO: result: $ac_res" >&5
27674 echo "${ECHO_T}$ac_res" >&6; }
27675 if test `eval echo '${'$as_ac_var'}'` = yes; then
27676 cat >>confdefs.h <<_ACEOF
27677 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27678 _ACEOF
27679 have_sin=1
27680 fi
27681 done
27682
27683
27684 for ac_func in ceil
27685 do
27686 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27687 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27688 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27689 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27690 echo $ECHO_N "(cached) $ECHO_C" >&6
27691 else
27692 cat >conftest.$ac_ext <<_ACEOF
27693 /* confdefs.h. */
27694 _ACEOF
27695 cat confdefs.h >>conftest.$ac_ext
27696 cat >>conftest.$ac_ext <<_ACEOF
27697 /* end confdefs.h. */
27698 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27699 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27700 #define $ac_func innocuous_$ac_func
27701
27702 /* System header to define __stub macros and hopefully few prototypes,
27703 which can conflict with char $ac_func (); below.
27704 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27705 <limits.h> exists even on freestanding compilers. */
27706
27707 #ifdef __STDC__
27708 # include <limits.h>
27709 #else
27710 # include <assert.h>
27711 #endif
27712
27713 #undef $ac_func
27714
27715 /* Override any GCC internal prototype to avoid an error.
27716 Use char because int might match the return type of a GCC
27717 builtin and then its argument prototype would still apply. */
27718 #ifdef __cplusplus
27719 extern "C"
27720 #endif
27721 char $ac_func ();
27722 /* The GNU C library defines this for functions which it implements
27723 to always fail with ENOSYS. Some functions are actually named
27724 something starting with __ and the normal name is an alias. */
27725 #if defined __stub_$ac_func || defined __stub___$ac_func
27726 choke me
27727 #endif
27728
27729 int
27730 main ()
27731 {
27732 return $ac_func ();
27733 ;
27734 return 0;
27735 }
27736 _ACEOF
27737 rm -f conftest.$ac_objext conftest$ac_exeext
27738 if { (ac_try="$ac_link"
27739 case "(($ac_try" in
27740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27741 *) ac_try_echo=$ac_try;;
27742 esac
27743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27744 (eval "$ac_link") 2>conftest.er1
27745 ac_status=$?
27746 grep -v '^ *+' conftest.er1 >conftest.err
27747 rm -f conftest.er1
27748 cat conftest.err >&5
27749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27750 (exit $ac_status); } && {
27751 test -z "$ac_c_werror_flag" ||
27752 test ! -s conftest.err
27753 } && test -s conftest$ac_exeext &&
27754 $as_test_x conftest$ac_exeext; then
27755 eval "$as_ac_var=yes"
27756 else
27757 echo "$as_me: failed program was:" >&5
27758 sed 's/^/| /' conftest.$ac_ext >&5
27759
27760 eval "$as_ac_var=no"
27761 fi
27762
27763 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27764 conftest$ac_exeext conftest.$ac_ext
27765 fi
27766 ac_res=`eval echo '${'$as_ac_var'}'`
27767 { echo "$as_me:$LINENO: result: $ac_res" >&5
27768 echo "${ECHO_T}$ac_res" >&6; }
27769 if test `eval echo '${'$as_ac_var'}'` = yes; then
27770 cat >>confdefs.h <<_ACEOF
27771 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27772 _ACEOF
27773 have_ceil=1
27774 fi
27775 done
27776
27777 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
27778 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
27779 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
27780 { echo "$as_me:$LINENO: result: yes" >&5
27781 echo "${ECHO_T}yes" >&6; }
27782 else
27783 { echo "$as_me:$LINENO: result: no" >&5
27784 echo "${ECHO_T}no" >&6; }
27785 # not sure we should warn the user, crash, etc.
27786 fi
27787 fi
27788
27789 ac_ext=cpp
27790 ac_cpp='$CXXCPP $CPPFLAGS'
27791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27794
27795 if test "wxUSE_UNICODE" = "yes"; then
27796
27797 for wx_func in wcstoull
27798 do
27799 { echo "$as_me:$LINENO: checking for $wx_func" >&5
27800 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
27801 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
27802 echo $ECHO_N "(cached) $ECHO_C" >&6
27803 else
27804
27805 cat >conftest.$ac_ext <<_ACEOF
27806
27807 /* confdefs.h. */
27808 _ACEOF
27809 cat confdefs.h >>conftest.$ac_ext
27810 cat >>conftest.$ac_ext <<_ACEOF
27811 /* end confdefs.h. */
27812
27813
27814 $ac_includes_default
27815
27816 int
27817 main ()
27818 {
27819
27820 #ifndef $wx_func
27821 &$wx_func;
27822 #endif
27823
27824
27825 ;
27826 return 0;
27827 }
27828
27829 _ACEOF
27830 rm -f conftest.$ac_objext conftest$ac_exeext
27831 if { (ac_try="$ac_link"
27832 case "(($ac_try" in
27833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27834 *) ac_try_echo=$ac_try;;
27835 esac
27836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27837 (eval "$ac_link") 2>conftest.er1
27838 ac_status=$?
27839 grep -v '^ *+' conftest.er1 >conftest.err
27840 rm -f conftest.er1
27841 cat conftest.err >&5
27842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27843 (exit $ac_status); } && {
27844 test -z "$ac_cxx_werror_flag" ||
27845 test ! -s conftest.err
27846 } && test -s conftest$ac_exeext &&
27847 $as_test_x conftest$ac_exeext; then
27848 eval wx_cv_func_$wx_func=yes
27849 else
27850 echo "$as_me: failed program was:" >&5
27851 sed 's/^/| /' conftest.$ac_ext >&5
27852
27853 eval wx_cv_func_$wx_func=no
27854 fi
27855
27856 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27857 conftest$ac_exeext conftest.$ac_ext
27858
27859 fi
27860 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
27861 { echo "$as_me:$LINENO: result: $ac_res" >&5
27862 echo "${ECHO_T}$ac_res" >&6; }
27863
27864 if eval test \$wx_cv_func_$wx_func = yes
27865 then
27866 cat >>confdefs.h <<_ACEOF
27867 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
27868 _ACEOF
27869
27870
27871 else
27872 :
27873
27874 fi
27875 done
27876
27877 else
27878
27879 for wx_func in strtoull
27880 do
27881 { echo "$as_me:$LINENO: checking for $wx_func" >&5
27882 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
27883 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
27884 echo $ECHO_N "(cached) $ECHO_C" >&6
27885 else
27886
27887 cat >conftest.$ac_ext <<_ACEOF
27888
27889 /* confdefs.h. */
27890 _ACEOF
27891 cat confdefs.h >>conftest.$ac_ext
27892 cat >>conftest.$ac_ext <<_ACEOF
27893 /* end confdefs.h. */
27894
27895
27896 $ac_includes_default
27897
27898 int
27899 main ()
27900 {
27901
27902 #ifndef $wx_func
27903 &$wx_func;
27904 #endif
27905
27906
27907 ;
27908 return 0;
27909 }
27910
27911 _ACEOF
27912 rm -f conftest.$ac_objext conftest$ac_exeext
27913 if { (ac_try="$ac_link"
27914 case "(($ac_try" in
27915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27916 *) ac_try_echo=$ac_try;;
27917 esac
27918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27919 (eval "$ac_link") 2>conftest.er1
27920 ac_status=$?
27921 grep -v '^ *+' conftest.er1 >conftest.err
27922 rm -f conftest.er1
27923 cat conftest.err >&5
27924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27925 (exit $ac_status); } && {
27926 test -z "$ac_cxx_werror_flag" ||
27927 test ! -s conftest.err
27928 } && test -s conftest$ac_exeext &&
27929 $as_test_x conftest$ac_exeext; then
27930 eval wx_cv_func_$wx_func=yes
27931 else
27932 echo "$as_me: failed program was:" >&5
27933 sed 's/^/| /' conftest.$ac_ext >&5
27934
27935 eval wx_cv_func_$wx_func=no
27936 fi
27937
27938 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27939 conftest$ac_exeext conftest.$ac_ext
27940
27941 fi
27942 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
27943 { echo "$as_me:$LINENO: result: $ac_res" >&5
27944 echo "${ECHO_T}$ac_res" >&6; }
27945
27946 if eval test \$wx_cv_func_$wx_func = yes
27947 then
27948 cat >>confdefs.h <<_ACEOF
27949 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
27950 _ACEOF
27951
27952
27953 else
27954 :
27955
27956 fi
27957 done
27958
27959 fi
27960 ac_ext=c
27961 ac_cpp='$CPP $CPPFLAGS'
27962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27965
27966
27967
27968
27969 if test "$wxUSE_REGEX" != "no"; then
27970 cat >>confdefs.h <<\_ACEOF
27971 #define wxUSE_REGEX 1
27972 _ACEOF
27973
27974
27975 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
27976 { echo "$as_me:$LINENO: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
27977 echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
27978 wxUSE_REGEX=builtin
27979 fi
27980
27981 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
27982 { echo "$as_me:$LINENO: checking for regex.h" >&5
27983 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
27984 if test "${ac_cv_header_regex_h+set}" = set; then
27985 echo $ECHO_N "(cached) $ECHO_C" >&6
27986 else
27987 cat >conftest.$ac_ext <<_ACEOF
27988 /* confdefs.h. */
27989 _ACEOF
27990 cat confdefs.h >>conftest.$ac_ext
27991 cat >>conftest.$ac_ext <<_ACEOF
27992 /* end confdefs.h. */
27993
27994
27995 #include <regex.h>
27996 _ACEOF
27997 rm -f conftest.$ac_objext
27998 if { (ac_try="$ac_compile"
27999 case "(($ac_try" in
28000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28001 *) ac_try_echo=$ac_try;;
28002 esac
28003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28004 (eval "$ac_compile") 2>conftest.er1
28005 ac_status=$?
28006 grep -v '^ *+' conftest.er1 >conftest.err
28007 rm -f conftest.er1
28008 cat conftest.err >&5
28009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28010 (exit $ac_status); } && {
28011 test -z "$ac_c_werror_flag" ||
28012 test ! -s conftest.err
28013 } && test -s conftest.$ac_objext; then
28014 ac_cv_header_regex_h=yes
28015 else
28016 echo "$as_me: failed program was:" >&5
28017 sed 's/^/| /' conftest.$ac_ext >&5
28018
28019 ac_cv_header_regex_h=no
28020 fi
28021
28022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28023 fi
28024 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
28025 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
28026 if test $ac_cv_header_regex_h = yes; then
28027
28028
28029 for ac_func in regcomp re_search
28030 do
28031 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28032 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28033 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28034 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28035 echo $ECHO_N "(cached) $ECHO_C" >&6
28036 else
28037 cat >conftest.$ac_ext <<_ACEOF
28038 /* confdefs.h. */
28039 _ACEOF
28040 cat confdefs.h >>conftest.$ac_ext
28041 cat >>conftest.$ac_ext <<_ACEOF
28042 /* end confdefs.h. */
28043 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28044 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28045 #define $ac_func innocuous_$ac_func
28046
28047 /* System header to define __stub macros and hopefully few prototypes,
28048 which can conflict with char $ac_func (); below.
28049 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28050 <limits.h> exists even on freestanding compilers. */
28051
28052 #ifdef __STDC__
28053 # include <limits.h>
28054 #else
28055 # include <assert.h>
28056 #endif
28057
28058 #undef $ac_func
28059
28060 /* Override any GCC internal prototype to avoid an error.
28061 Use char because int might match the return type of a GCC
28062 builtin and then its argument prototype would still apply. */
28063 #ifdef __cplusplus
28064 extern "C"
28065 #endif
28066 char $ac_func ();
28067 /* The GNU C library defines this for functions which it implements
28068 to always fail with ENOSYS. Some functions are actually named
28069 something starting with __ and the normal name is an alias. */
28070 #if defined __stub_$ac_func || defined __stub___$ac_func
28071 choke me
28072 #endif
28073
28074 int
28075 main ()
28076 {
28077 return $ac_func ();
28078 ;
28079 return 0;
28080 }
28081 _ACEOF
28082 rm -f conftest.$ac_objext conftest$ac_exeext
28083 if { (ac_try="$ac_link"
28084 case "(($ac_try" in
28085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28086 *) ac_try_echo=$ac_try;;
28087 esac
28088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28089 (eval "$ac_link") 2>conftest.er1
28090 ac_status=$?
28091 grep -v '^ *+' conftest.er1 >conftest.err
28092 rm -f conftest.er1
28093 cat conftest.err >&5
28094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28095 (exit $ac_status); } && {
28096 test -z "$ac_c_werror_flag" ||
28097 test ! -s conftest.err
28098 } && test -s conftest$ac_exeext &&
28099 $as_test_x conftest$ac_exeext; then
28100 eval "$as_ac_var=yes"
28101 else
28102 echo "$as_me: failed program was:" >&5
28103 sed 's/^/| /' conftest.$ac_ext >&5
28104
28105 eval "$as_ac_var=no"
28106 fi
28107
28108 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28109 conftest$ac_exeext conftest.$ac_ext
28110 fi
28111 ac_res=`eval echo '${'$as_ac_var'}'`
28112 { echo "$as_me:$LINENO: result: $ac_res" >&5
28113 echo "${ECHO_T}$ac_res" >&6; }
28114 if test `eval echo '${'$as_ac_var'}'` = yes; then
28115 cat >>confdefs.h <<_ACEOF
28116 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28117 _ACEOF
28118
28119 fi
28120 done
28121
28122 fi
28123
28124
28125
28126 if test "x$ac_cv_func_regcomp" != "xyes"; then
28127 if test "$wxUSE_REGEX" = "sys" ; then
28128 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
28129 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
28130 { (exit 1); exit 1; }; }
28131 else
28132 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
28133 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
28134 wxUSE_REGEX=builtin
28135 fi
28136 else
28137 wxUSE_REGEX=sys
28138 cat >>confdefs.h <<\_ACEOF
28139 #define WX_NO_REGEX_ADVANCED 1
28140 _ACEOF
28141
28142 fi
28143 fi
28144 fi
28145
28146
28147 ZLIB_LINK=
28148 if test "$wxUSE_ZLIB" != "no" ; then
28149 cat >>confdefs.h <<\_ACEOF
28150 #define wxUSE_ZLIB 1
28151 _ACEOF
28152
28153
28154 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
28155 if test "$USE_DARWIN" = 1; then
28156 system_zlib_h_ok="yes"
28157 else
28158 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
28159 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
28160 if test "${ac_cv_header_zlib_h+set}" = set; then
28161 echo $ECHO_N "(cached) $ECHO_C" >&6
28162 else
28163 if test "$cross_compiling" = yes; then
28164 unset ac_cv_header_zlib_h
28165
28166 else
28167 cat >conftest.$ac_ext <<_ACEOF
28168 /* confdefs.h. */
28169 _ACEOF
28170 cat confdefs.h >>conftest.$ac_ext
28171 cat >>conftest.$ac_ext <<_ACEOF
28172 /* end confdefs.h. */
28173
28174 #include <zlib.h>
28175 #include <stdio.h>
28176
28177 int main()
28178 {
28179 FILE *f=fopen("conftestval", "w");
28180 if (!f) exit(1);
28181 fprintf(f, "%s",
28182 ZLIB_VERSION[0] == '1' &&
28183 (ZLIB_VERSION[2] > '1' ||
28184 (ZLIB_VERSION[2] == '1' &&
28185 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
28186 exit(0);
28187 }
28188
28189 _ACEOF
28190 rm -f conftest$ac_exeext
28191 if { (ac_try="$ac_link"
28192 case "(($ac_try" in
28193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28194 *) ac_try_echo=$ac_try;;
28195 esac
28196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28197 (eval "$ac_link") 2>&5
28198 ac_status=$?
28199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28200 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28201 { (case "(($ac_try" in
28202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28203 *) ac_try_echo=$ac_try;;
28204 esac
28205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28206 (eval "$ac_try") 2>&5
28207 ac_status=$?
28208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28209 (exit $ac_status); }; }; then
28210 ac_cv_header_zlib_h=`cat conftestval`
28211 else
28212 echo "$as_me: program exited with status $ac_status" >&5
28213 echo "$as_me: failed program was:" >&5
28214 sed 's/^/| /' conftest.$ac_ext >&5
28215
28216 ( exit $ac_status )
28217 ac_cv_header_zlib_h=no
28218 fi
28219 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28220 fi
28221
28222
28223
28224 fi
28225 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28226 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28227 { echo "$as_me:$LINENO: checking for zlib.h" >&5
28228 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
28229 if test "${ac_cv_header_zlib_h+set}" = set; then
28230 echo $ECHO_N "(cached) $ECHO_C" >&6
28231 else
28232 cat >conftest.$ac_ext <<_ACEOF
28233 /* confdefs.h. */
28234 _ACEOF
28235 cat confdefs.h >>conftest.$ac_ext
28236 cat >>conftest.$ac_ext <<_ACEOF
28237 /* end confdefs.h. */
28238
28239
28240 #include <zlib.h>
28241 _ACEOF
28242 rm -f conftest.$ac_objext
28243 if { (ac_try="$ac_compile"
28244 case "(($ac_try" in
28245 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28246 *) ac_try_echo=$ac_try;;
28247 esac
28248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28249 (eval "$ac_compile") 2>conftest.er1
28250 ac_status=$?
28251 grep -v '^ *+' conftest.er1 >conftest.err
28252 rm -f conftest.er1
28253 cat conftest.err >&5
28254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28255 (exit $ac_status); } && {
28256 test -z "$ac_c_werror_flag" ||
28257 test ! -s conftest.err
28258 } && test -s conftest.$ac_objext; then
28259 ac_cv_header_zlib_h=yes
28260 else
28261 echo "$as_me: failed program was:" >&5
28262 sed 's/^/| /' conftest.$ac_ext >&5
28263
28264 ac_cv_header_zlib_h=no
28265 fi
28266
28267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28268 fi
28269 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28270 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28271
28272
28273
28274 system_zlib_h_ok=$ac_cv_header_zlib_h
28275 fi
28276
28277 if test "$system_zlib_h_ok" = "yes"; then
28278 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
28279 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
28280 if test "${ac_cv_lib_z_deflate+set}" = set; then
28281 echo $ECHO_N "(cached) $ECHO_C" >&6
28282 else
28283 ac_check_lib_save_LIBS=$LIBS
28284 LIBS="-lz $LIBS"
28285 cat >conftest.$ac_ext <<_ACEOF
28286 /* confdefs.h. */
28287 _ACEOF
28288 cat confdefs.h >>conftest.$ac_ext
28289 cat >>conftest.$ac_ext <<_ACEOF
28290 /* end confdefs.h. */
28291
28292 /* Override any GCC internal prototype to avoid an error.
28293 Use char because int might match the return type of a GCC
28294 builtin and then its argument prototype would still apply. */
28295 #ifdef __cplusplus
28296 extern "C"
28297 #endif
28298 char deflate ();
28299 int
28300 main ()
28301 {
28302 return deflate ();
28303 ;
28304 return 0;
28305 }
28306 _ACEOF
28307 rm -f conftest.$ac_objext conftest$ac_exeext
28308 if { (ac_try="$ac_link"
28309 case "(($ac_try" in
28310 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28311 *) ac_try_echo=$ac_try;;
28312 esac
28313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28314 (eval "$ac_link") 2>conftest.er1
28315 ac_status=$?
28316 grep -v '^ *+' conftest.er1 >conftest.err
28317 rm -f conftest.er1
28318 cat conftest.err >&5
28319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28320 (exit $ac_status); } && {
28321 test -z "$ac_c_werror_flag" ||
28322 test ! -s conftest.err
28323 } && test -s conftest$ac_exeext &&
28324 $as_test_x conftest$ac_exeext; then
28325 ac_cv_lib_z_deflate=yes
28326 else
28327 echo "$as_me: failed program was:" >&5
28328 sed 's/^/| /' conftest.$ac_ext >&5
28329
28330 ac_cv_lib_z_deflate=no
28331 fi
28332
28333 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28334 conftest$ac_exeext conftest.$ac_ext
28335 LIBS=$ac_check_lib_save_LIBS
28336 fi
28337 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
28338 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
28339 if test $ac_cv_lib_z_deflate = yes; then
28340 ZLIB_LINK=" -lz"
28341 fi
28342
28343 fi
28344
28345 if test "x$ZLIB_LINK" = "x" ; then
28346 if test "$wxUSE_ZLIB" = "sys" ; then
28347 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
28348 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
28349 { (exit 1); exit 1; }; }
28350 else
28351 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
28352 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
28353 wxUSE_ZLIB=builtin
28354 fi
28355 else
28356 wxUSE_ZLIB=sys
28357 fi
28358 fi
28359 fi
28360
28361
28362 PNG_LINK=
28363 if test "$wxUSE_LIBPNG" != "no" ; then
28364 cat >>confdefs.h <<\_ACEOF
28365 #define wxUSE_LIBPNG 1
28366 _ACEOF
28367
28368
28369 if test "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
28370 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
28371 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
28372 wxUSE_LIBPNG=builtin
28373 fi
28374
28375 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
28376 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
28377 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
28378 if test "${ac_cv_header_png_h+set}" = set; then
28379 echo $ECHO_N "(cached) $ECHO_C" >&6
28380 else
28381 if test "$cross_compiling" = yes; then
28382 unset ac_cv_header_png_h
28383
28384 else
28385 cat >conftest.$ac_ext <<_ACEOF
28386 /* confdefs.h. */
28387 _ACEOF
28388 cat confdefs.h >>conftest.$ac_ext
28389 cat >>conftest.$ac_ext <<_ACEOF
28390 /* end confdefs.h. */
28391
28392 #include <png.h>
28393 #include <stdio.h>
28394
28395 int main()
28396 {
28397 FILE *f=fopen("conftestval", "w");
28398 if (!f) exit(1);
28399 fprintf(f, "%s",
28400 PNG_LIBPNG_VER > 90 ? "yes" : "no");
28401 exit(0);
28402 }
28403
28404 _ACEOF
28405 rm -f conftest$ac_exeext
28406 if { (ac_try="$ac_link"
28407 case "(($ac_try" in
28408 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28409 *) ac_try_echo=$ac_try;;
28410 esac
28411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28412 (eval "$ac_link") 2>&5
28413 ac_status=$?
28414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28415 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28416 { (case "(($ac_try" in
28417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28418 *) ac_try_echo=$ac_try;;
28419 esac
28420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28421 (eval "$ac_try") 2>&5
28422 ac_status=$?
28423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28424 (exit $ac_status); }; }; then
28425 ac_cv_header_png_h=`cat conftestval`
28426 else
28427 echo "$as_me: program exited with status $ac_status" >&5
28428 echo "$as_me: failed program was:" >&5
28429 sed 's/^/| /' conftest.$ac_ext >&5
28430
28431 ( exit $ac_status )
28432 ac_cv_header_png_h=no
28433 fi
28434 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28435 fi
28436
28437
28438
28439 fi
28440 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
28441 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
28442 { echo "$as_me:$LINENO: checking for png.h" >&5
28443 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
28444 if test "${ac_cv_header_png_h+set}" = set; then
28445 echo $ECHO_N "(cached) $ECHO_C" >&6
28446 else
28447 cat >conftest.$ac_ext <<_ACEOF
28448 /* confdefs.h. */
28449 _ACEOF
28450 cat confdefs.h >>conftest.$ac_ext
28451 cat >>conftest.$ac_ext <<_ACEOF
28452 /* end confdefs.h. */
28453
28454
28455 #include <png.h>
28456 _ACEOF
28457 rm -f conftest.$ac_objext
28458 if { (ac_try="$ac_compile"
28459 case "(($ac_try" in
28460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28461 *) ac_try_echo=$ac_try;;
28462 esac
28463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28464 (eval "$ac_compile") 2>conftest.er1
28465 ac_status=$?
28466 grep -v '^ *+' conftest.er1 >conftest.err
28467 rm -f conftest.er1
28468 cat conftest.err >&5
28469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28470 (exit $ac_status); } && {
28471 test -z "$ac_c_werror_flag" ||
28472 test ! -s conftest.err
28473 } && test -s conftest.$ac_objext; then
28474 ac_cv_header_png_h=yes
28475 else
28476 echo "$as_me: failed program was:" >&5
28477 sed 's/^/| /' conftest.$ac_ext >&5
28478
28479 ac_cv_header_png_h=no
28480 fi
28481
28482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28483 fi
28484 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
28485 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
28486
28487
28488
28489 if test "$ac_cv_header_png_h" = "yes"; then
28490 { echo "$as_me:$LINENO: checking for png_sig_cmp in -lpng" >&5
28491 echo $ECHO_N "checking for png_sig_cmp in -lpng... $ECHO_C" >&6; }
28492 if test "${ac_cv_lib_png_png_sig_cmp+set}" = set; then
28493 echo $ECHO_N "(cached) $ECHO_C" >&6
28494 else
28495 ac_check_lib_save_LIBS=$LIBS
28496 LIBS="-lpng -lz -lm $LIBS"
28497 cat >conftest.$ac_ext <<_ACEOF
28498 /* confdefs.h. */
28499 _ACEOF
28500 cat confdefs.h >>conftest.$ac_ext
28501 cat >>conftest.$ac_ext <<_ACEOF
28502 /* end confdefs.h. */
28503
28504 /* Override any GCC internal prototype to avoid an error.
28505 Use char because int might match the return type of a GCC
28506 builtin and then its argument prototype would still apply. */
28507 #ifdef __cplusplus
28508 extern "C"
28509 #endif
28510 char png_sig_cmp ();
28511 int
28512 main ()
28513 {
28514 return png_sig_cmp ();
28515 ;
28516 return 0;
28517 }
28518 _ACEOF
28519 rm -f conftest.$ac_objext conftest$ac_exeext
28520 if { (ac_try="$ac_link"
28521 case "(($ac_try" in
28522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28523 *) ac_try_echo=$ac_try;;
28524 esac
28525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28526 (eval "$ac_link") 2>conftest.er1
28527 ac_status=$?
28528 grep -v '^ *+' conftest.er1 >conftest.err
28529 rm -f conftest.er1
28530 cat conftest.err >&5
28531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28532 (exit $ac_status); } && {
28533 test -z "$ac_c_werror_flag" ||
28534 test ! -s conftest.err
28535 } && test -s conftest$ac_exeext &&
28536 $as_test_x conftest$ac_exeext; then
28537 ac_cv_lib_png_png_sig_cmp=yes
28538 else
28539 echo "$as_me: failed program was:" >&5
28540 sed 's/^/| /' conftest.$ac_ext >&5
28541
28542 ac_cv_lib_png_png_sig_cmp=no
28543 fi
28544
28545 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28546 conftest$ac_exeext conftest.$ac_ext
28547 LIBS=$ac_check_lib_save_LIBS
28548 fi
28549 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_sig_cmp" >&5
28550 echo "${ECHO_T}$ac_cv_lib_png_png_sig_cmp" >&6; }
28551 if test $ac_cv_lib_png_png_sig_cmp = yes; then
28552 PNG_LINK=" -lpng -lz"
28553 fi
28554
28555 fi
28556
28557 if test "x$PNG_LINK" = "x" ; then
28558 if test "$wxUSE_LIBPNG" = "sys" ; then
28559 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
28560 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
28561 { (exit 1); exit 1; }; }
28562 else
28563 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
28564 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
28565 wxUSE_LIBPNG=builtin
28566 fi
28567 else
28568 wxUSE_LIBPNG=sys
28569 fi
28570 fi
28571 fi
28572
28573
28574 JPEG_LINK=
28575 if test "$wxUSE_LIBJPEG" != "no" ; then
28576 cat >>confdefs.h <<\_ACEOF
28577 #define wxUSE_LIBJPEG 1
28578 _ACEOF
28579
28580
28581 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
28582 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
28583 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
28584 if test "${ac_cv_header_jpeglib_h+set}" = set; then
28585 echo $ECHO_N "(cached) $ECHO_C" >&6
28586 else
28587 cat >conftest.$ac_ext <<_ACEOF
28588 /* confdefs.h. */
28589 _ACEOF
28590 cat confdefs.h >>conftest.$ac_ext
28591 cat >>conftest.$ac_ext <<_ACEOF
28592 /* end confdefs.h. */
28593
28594 #undef HAVE_STDLIB_H
28595 #include <stdio.h>
28596 #include <jpeglib.h>
28597
28598 int
28599 main ()
28600 {
28601
28602
28603 ;
28604 return 0;
28605 }
28606 _ACEOF
28607 rm -f conftest.$ac_objext
28608 if { (ac_try="$ac_compile"
28609 case "(($ac_try" in
28610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28611 *) ac_try_echo=$ac_try;;
28612 esac
28613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28614 (eval "$ac_compile") 2>conftest.er1
28615 ac_status=$?
28616 grep -v '^ *+' conftest.er1 >conftest.err
28617 rm -f conftest.er1
28618 cat conftest.err >&5
28619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28620 (exit $ac_status); } && {
28621 test -z "$ac_c_werror_flag" ||
28622 test ! -s conftest.err
28623 } && test -s conftest.$ac_objext; then
28624 ac_cv_header_jpeglib_h=yes
28625 else
28626 echo "$as_me: failed program was:" >&5
28627 sed 's/^/| /' conftest.$ac_ext >&5
28628
28629 ac_cv_header_jpeglib_h=no
28630
28631 fi
28632
28633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28634
28635 fi
28636
28637 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
28638 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
28639
28640 if test "$ac_cv_header_jpeglib_h" = "yes"; then
28641 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
28642 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
28643 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
28644 echo $ECHO_N "(cached) $ECHO_C" >&6
28645 else
28646 ac_check_lib_save_LIBS=$LIBS
28647 LIBS="-ljpeg $LIBS"
28648 cat >conftest.$ac_ext <<_ACEOF
28649 /* confdefs.h. */
28650 _ACEOF
28651 cat confdefs.h >>conftest.$ac_ext
28652 cat >>conftest.$ac_ext <<_ACEOF
28653 /* end confdefs.h. */
28654
28655 /* Override any GCC internal prototype to avoid an error.
28656 Use char because int might match the return type of a GCC
28657 builtin and then its argument prototype would still apply. */
28658 #ifdef __cplusplus
28659 extern "C"
28660 #endif
28661 char jpeg_read_header ();
28662 int
28663 main ()
28664 {
28665 return jpeg_read_header ();
28666 ;
28667 return 0;
28668 }
28669 _ACEOF
28670 rm -f conftest.$ac_objext conftest$ac_exeext
28671 if { (ac_try="$ac_link"
28672 case "(($ac_try" in
28673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28674 *) ac_try_echo=$ac_try;;
28675 esac
28676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28677 (eval "$ac_link") 2>conftest.er1
28678 ac_status=$?
28679 grep -v '^ *+' conftest.er1 >conftest.err
28680 rm -f conftest.er1
28681 cat conftest.err >&5
28682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28683 (exit $ac_status); } && {
28684 test -z "$ac_c_werror_flag" ||
28685 test ! -s conftest.err
28686 } && test -s conftest$ac_exeext &&
28687 $as_test_x conftest$ac_exeext; then
28688 ac_cv_lib_jpeg_jpeg_read_header=yes
28689 else
28690 echo "$as_me: failed program was:" >&5
28691 sed 's/^/| /' conftest.$ac_ext >&5
28692
28693 ac_cv_lib_jpeg_jpeg_read_header=no
28694 fi
28695
28696 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28697 conftest$ac_exeext conftest.$ac_ext
28698 LIBS=$ac_check_lib_save_LIBS
28699 fi
28700 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
28701 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
28702 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
28703 JPEG_LINK=" -ljpeg"
28704 fi
28705
28706 fi
28707
28708 if test "x$JPEG_LINK" = "x" ; then
28709 if test "$wxUSE_LIBJPEG" = "sys" ; then
28710 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
28711 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
28712 { (exit 1); exit 1; }; }
28713 else
28714 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
28715 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
28716 wxUSE_LIBJPEG=builtin
28717 fi
28718 else
28719 wxUSE_LIBJPEG=sys
28720
28721 if test "$wxUSE_MSW" = 1; then
28722 { echo "$as_me:$LINENO: checking for boolean" >&5
28723 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
28724 if test "${ac_cv_type_boolean+set}" = set; then
28725 echo $ECHO_N "(cached) $ECHO_C" >&6
28726 else
28727 cat >conftest.$ac_ext <<_ACEOF
28728 /* confdefs.h. */
28729 _ACEOF
28730 cat confdefs.h >>conftest.$ac_ext
28731 cat >>conftest.$ac_ext <<_ACEOF
28732 /* end confdefs.h. */
28733 #include <windows.h>
28734
28735 typedef boolean ac__type_new_;
28736 int
28737 main ()
28738 {
28739 if ((ac__type_new_ *) 0)
28740 return 0;
28741 if (sizeof (ac__type_new_))
28742 return 0;
28743 ;
28744 return 0;
28745 }
28746 _ACEOF
28747 rm -f conftest.$ac_objext
28748 if { (ac_try="$ac_compile"
28749 case "(($ac_try" in
28750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28751 *) ac_try_echo=$ac_try;;
28752 esac
28753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28754 (eval "$ac_compile") 2>conftest.er1
28755 ac_status=$?
28756 grep -v '^ *+' conftest.er1 >conftest.err
28757 rm -f conftest.er1
28758 cat conftest.err >&5
28759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28760 (exit $ac_status); } && {
28761 test -z "$ac_c_werror_flag" ||
28762 test ! -s conftest.err
28763 } && test -s conftest.$ac_objext; then
28764 ac_cv_type_boolean=yes
28765 else
28766 echo "$as_me: failed program was:" >&5
28767 sed 's/^/| /' conftest.$ac_ext >&5
28768
28769 ac_cv_type_boolean=no
28770 fi
28771
28772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28773 fi
28774 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
28775 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
28776 if test $ac_cv_type_boolean = yes; then
28777
28778 cat >>confdefs.h <<_ACEOF
28779 #define HAVE_BOOLEAN 1
28780 _ACEOF
28781
28782
28783 { echo "$as_me:$LINENO: checking for boolean" >&5
28784 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
28785 if test "${ac_cv_type_boolean+set}" = set; then
28786 echo $ECHO_N "(cached) $ECHO_C" >&6
28787 else
28788 cat >conftest.$ac_ext <<_ACEOF
28789 /* confdefs.h. */
28790 _ACEOF
28791 cat confdefs.h >>conftest.$ac_ext
28792 cat >>conftest.$ac_ext <<_ACEOF
28793 /* end confdefs.h. */
28794
28795 #undef HAVE_BOOLEAN
28796 #include <stdio.h>
28797 #include <jpeglib.h>
28798
28799
28800 typedef boolean ac__type_new_;
28801 int
28802 main ()
28803 {
28804 if ((ac__type_new_ *) 0)
28805 return 0;
28806 if (sizeof (ac__type_new_))
28807 return 0;
28808 ;
28809 return 0;
28810 }
28811 _ACEOF
28812 rm -f conftest.$ac_objext
28813 if { (ac_try="$ac_compile"
28814 case "(($ac_try" in
28815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28816 *) ac_try_echo=$ac_try;;
28817 esac
28818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28819 (eval "$ac_compile") 2>conftest.er1
28820 ac_status=$?
28821 grep -v '^ *+' conftest.er1 >conftest.err
28822 rm -f conftest.er1
28823 cat conftest.err >&5
28824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28825 (exit $ac_status); } && {
28826 test -z "$ac_c_werror_flag" ||
28827 test ! -s conftest.err
28828 } && test -s conftest.$ac_objext; then
28829 ac_cv_type_boolean=yes
28830 else
28831 echo "$as_me: failed program was:" >&5
28832 sed 's/^/| /' conftest.$ac_ext >&5
28833
28834 ac_cv_type_boolean=no
28835 fi
28836
28837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28838 fi
28839 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
28840 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
28841
28842 # The cast to long int works around a bug in the HP C Compiler
28843 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
28844 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
28845 # This bug is HP SR number 8606223364.
28846 { echo "$as_me:$LINENO: checking size of boolean" >&5
28847 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
28848 if test "${ac_cv_sizeof_boolean+set}" = set; then
28849 echo $ECHO_N "(cached) $ECHO_C" >&6
28850 else
28851 if test "$cross_compiling" = yes; then
28852 # Depending upon the size, compute the lo and hi bounds.
28853 cat >conftest.$ac_ext <<_ACEOF
28854 /* confdefs.h. */
28855 _ACEOF
28856 cat confdefs.h >>conftest.$ac_ext
28857 cat >>conftest.$ac_ext <<_ACEOF
28858 /* end confdefs.h. */
28859
28860 #undef HAVE_BOOLEAN
28861 #include <stdio.h>
28862 #include <jpeglib.h>
28863
28864
28865 typedef boolean ac__type_sizeof_;
28866 int
28867 main ()
28868 {
28869 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
28870 test_array [0] = 0
28871
28872 ;
28873 return 0;
28874 }
28875 _ACEOF
28876 rm -f conftest.$ac_objext
28877 if { (ac_try="$ac_compile"
28878 case "(($ac_try" in
28879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28880 *) ac_try_echo=$ac_try;;
28881 esac
28882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28883 (eval "$ac_compile") 2>conftest.er1
28884 ac_status=$?
28885 grep -v '^ *+' conftest.er1 >conftest.err
28886 rm -f conftest.er1
28887 cat conftest.err >&5
28888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28889 (exit $ac_status); } && {
28890 test -z "$ac_c_werror_flag" ||
28891 test ! -s conftest.err
28892 } && test -s conftest.$ac_objext; then
28893 ac_lo=0 ac_mid=0
28894 while :; do
28895 cat >conftest.$ac_ext <<_ACEOF
28896 /* confdefs.h. */
28897 _ACEOF
28898 cat confdefs.h >>conftest.$ac_ext
28899 cat >>conftest.$ac_ext <<_ACEOF
28900 /* end confdefs.h. */
28901
28902 #undef HAVE_BOOLEAN
28903 #include <stdio.h>
28904 #include <jpeglib.h>
28905
28906
28907 typedef boolean ac__type_sizeof_;
28908 int
28909 main ()
28910 {
28911 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
28912 test_array [0] = 0
28913
28914 ;
28915 return 0;
28916 }
28917 _ACEOF
28918 rm -f conftest.$ac_objext
28919 if { (ac_try="$ac_compile"
28920 case "(($ac_try" in
28921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28922 *) ac_try_echo=$ac_try;;
28923 esac
28924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28925 (eval "$ac_compile") 2>conftest.er1
28926 ac_status=$?
28927 grep -v '^ *+' conftest.er1 >conftest.err
28928 rm -f conftest.er1
28929 cat conftest.err >&5
28930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28931 (exit $ac_status); } && {
28932 test -z "$ac_c_werror_flag" ||
28933 test ! -s conftest.err
28934 } && test -s conftest.$ac_objext; then
28935 ac_hi=$ac_mid; break
28936 else
28937 echo "$as_me: failed program was:" >&5
28938 sed 's/^/| /' conftest.$ac_ext >&5
28939
28940 ac_lo=`expr $ac_mid + 1`
28941 if test $ac_lo -le $ac_mid; then
28942 ac_lo= ac_hi=
28943 break
28944 fi
28945 ac_mid=`expr 2 '*' $ac_mid + 1`
28946 fi
28947
28948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28949 done
28950 else
28951 echo "$as_me: failed program was:" >&5
28952 sed 's/^/| /' conftest.$ac_ext >&5
28953
28954 cat >conftest.$ac_ext <<_ACEOF
28955 /* confdefs.h. */
28956 _ACEOF
28957 cat confdefs.h >>conftest.$ac_ext
28958 cat >>conftest.$ac_ext <<_ACEOF
28959 /* end confdefs.h. */
28960
28961 #undef HAVE_BOOLEAN
28962 #include <stdio.h>
28963 #include <jpeglib.h>
28964
28965
28966 typedef boolean ac__type_sizeof_;
28967 int
28968 main ()
28969 {
28970 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
28971 test_array [0] = 0
28972
28973 ;
28974 return 0;
28975 }
28976 _ACEOF
28977 rm -f conftest.$ac_objext
28978 if { (ac_try="$ac_compile"
28979 case "(($ac_try" in
28980 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28981 *) ac_try_echo=$ac_try;;
28982 esac
28983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28984 (eval "$ac_compile") 2>conftest.er1
28985 ac_status=$?
28986 grep -v '^ *+' conftest.er1 >conftest.err
28987 rm -f conftest.er1
28988 cat conftest.err >&5
28989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28990 (exit $ac_status); } && {
28991 test -z "$ac_c_werror_flag" ||
28992 test ! -s conftest.err
28993 } && test -s conftest.$ac_objext; then
28994 ac_hi=-1 ac_mid=-1
28995 while :; do
28996 cat >conftest.$ac_ext <<_ACEOF
28997 /* confdefs.h. */
28998 _ACEOF
28999 cat confdefs.h >>conftest.$ac_ext
29000 cat >>conftest.$ac_ext <<_ACEOF
29001 /* end confdefs.h. */
29002
29003 #undef HAVE_BOOLEAN
29004 #include <stdio.h>
29005 #include <jpeglib.h>
29006
29007
29008 typedef boolean ac__type_sizeof_;
29009 int
29010 main ()
29011 {
29012 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
29013 test_array [0] = 0
29014
29015 ;
29016 return 0;
29017 }
29018 _ACEOF
29019 rm -f conftest.$ac_objext
29020 if { (ac_try="$ac_compile"
29021 case "(($ac_try" in
29022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29023 *) ac_try_echo=$ac_try;;
29024 esac
29025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29026 (eval "$ac_compile") 2>conftest.er1
29027 ac_status=$?
29028 grep -v '^ *+' conftest.er1 >conftest.err
29029 rm -f conftest.er1
29030 cat conftest.err >&5
29031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29032 (exit $ac_status); } && {
29033 test -z "$ac_c_werror_flag" ||
29034 test ! -s conftest.err
29035 } && test -s conftest.$ac_objext; then
29036 ac_lo=$ac_mid; break
29037 else
29038 echo "$as_me: failed program was:" >&5
29039 sed 's/^/| /' conftest.$ac_ext >&5
29040
29041 ac_hi=`expr '(' $ac_mid ')' - 1`
29042 if test $ac_mid -le $ac_hi; then
29043 ac_lo= ac_hi=
29044 break
29045 fi
29046 ac_mid=`expr 2 '*' $ac_mid`
29047 fi
29048
29049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29050 done
29051 else
29052 echo "$as_me: failed program was:" >&5
29053 sed 's/^/| /' conftest.$ac_ext >&5
29054
29055 ac_lo= ac_hi=
29056 fi
29057
29058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29059 fi
29060
29061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29062 # Binary search between lo and hi bounds.
29063 while test "x$ac_lo" != "x$ac_hi"; do
29064 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
29065 cat >conftest.$ac_ext <<_ACEOF
29066 /* confdefs.h. */
29067 _ACEOF
29068 cat confdefs.h >>conftest.$ac_ext
29069 cat >>conftest.$ac_ext <<_ACEOF
29070 /* end confdefs.h. */
29071
29072 #undef HAVE_BOOLEAN
29073 #include <stdio.h>
29074 #include <jpeglib.h>
29075
29076
29077 typedef boolean ac__type_sizeof_;
29078 int
29079 main ()
29080 {
29081 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
29082 test_array [0] = 0
29083
29084 ;
29085 return 0;
29086 }
29087 _ACEOF
29088 rm -f conftest.$ac_objext
29089 if { (ac_try="$ac_compile"
29090 case "(($ac_try" in
29091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29092 *) ac_try_echo=$ac_try;;
29093 esac
29094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29095 (eval "$ac_compile") 2>conftest.er1
29096 ac_status=$?
29097 grep -v '^ *+' conftest.er1 >conftest.err
29098 rm -f conftest.er1
29099 cat conftest.err >&5
29100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29101 (exit $ac_status); } && {
29102 test -z "$ac_c_werror_flag" ||
29103 test ! -s conftest.err
29104 } && test -s conftest.$ac_objext; then
29105 ac_hi=$ac_mid
29106 else
29107 echo "$as_me: failed program was:" >&5
29108 sed 's/^/| /' conftest.$ac_ext >&5
29109
29110 ac_lo=`expr '(' $ac_mid ')' + 1`
29111 fi
29112
29113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29114 done
29115 case $ac_lo in
29116 ?*) ac_cv_sizeof_boolean=$ac_lo;;
29117 '') if test "$ac_cv_type_boolean" = yes; then
29118 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
29119 See \`config.log' for more details." >&5
29120 echo "$as_me: error: cannot compute sizeof (boolean)
29121 See \`config.log' for more details." >&2;}
29122 { (exit 77); exit 77; }; }
29123 else
29124 ac_cv_sizeof_boolean=0
29125 fi ;;
29126 esac
29127 else
29128 cat >conftest.$ac_ext <<_ACEOF
29129 /* confdefs.h. */
29130 _ACEOF
29131 cat confdefs.h >>conftest.$ac_ext
29132 cat >>conftest.$ac_ext <<_ACEOF
29133 /* end confdefs.h. */
29134
29135 #undef HAVE_BOOLEAN
29136 #include <stdio.h>
29137 #include <jpeglib.h>
29138
29139
29140 typedef boolean ac__type_sizeof_;
29141 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
29142 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
29143 #include <stdio.h>
29144 #include <stdlib.h>
29145 int
29146 main ()
29147 {
29148
29149 FILE *f = fopen ("conftest.val", "w");
29150 if (! f)
29151 return 1;
29152 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
29153 {
29154 long int i = longval ();
29155 if (i != ((long int) (sizeof (ac__type_sizeof_))))
29156 return 1;
29157 fprintf (f, "%ld\n", i);
29158 }
29159 else
29160 {
29161 unsigned long int i = ulongval ();
29162 if (i != ((long int) (sizeof (ac__type_sizeof_))))
29163 return 1;
29164 fprintf (f, "%lu\n", i);
29165 }
29166 return ferror (f) || fclose (f) != 0;
29167
29168 ;
29169 return 0;
29170 }
29171 _ACEOF
29172 rm -f conftest$ac_exeext
29173 if { (ac_try="$ac_link"
29174 case "(($ac_try" in
29175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29176 *) ac_try_echo=$ac_try;;
29177 esac
29178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29179 (eval "$ac_link") 2>&5
29180 ac_status=$?
29181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29182 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29183 { (case "(($ac_try" in
29184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29185 *) ac_try_echo=$ac_try;;
29186 esac
29187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29188 (eval "$ac_try") 2>&5
29189 ac_status=$?
29190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29191 (exit $ac_status); }; }; then
29192 ac_cv_sizeof_boolean=`cat conftest.val`
29193 else
29194 echo "$as_me: program exited with status $ac_status" >&5
29195 echo "$as_me: failed program was:" >&5
29196 sed 's/^/| /' conftest.$ac_ext >&5
29197
29198 ( exit $ac_status )
29199 if test "$ac_cv_type_boolean" = yes; then
29200 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
29201 See \`config.log' for more details." >&5
29202 echo "$as_me: error: cannot compute sizeof (boolean)
29203 See \`config.log' for more details." >&2;}
29204 { (exit 77); exit 77; }; }
29205 else
29206 ac_cv_sizeof_boolean=0
29207 fi
29208 fi
29209 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29210 fi
29211 rm -f conftest.val
29212 fi
29213 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
29214 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
29215
29216
29217
29218 cat >>confdefs.h <<_ACEOF
29219 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
29220 _ACEOF
29221
29222
29223 cat >>confdefs.h <<_ACEOF
29224 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
29225 _ACEOF
29226
29227
29228 fi
29229
29230 fi
29231 fi
29232 fi
29233 fi
29234
29235
29236 TIFF_LINK=
29237 TIFF_PREREQ_LINKS=-lm
29238 if test "$wxUSE_LIBTIFF" != "no" ; then
29239 cat >>confdefs.h <<\_ACEOF
29240 #define wxUSE_LIBTIFF 1
29241 _ACEOF
29242
29243
29244 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
29245 if test "$wxUSE_LIBJPEG" = "sys"; then
29246 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
29247 fi
29248 if test "$wxUSE_ZLIB" = "sys"; then
29249 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
29250 fi
29251 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
29252 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
29253 if test "${ac_cv_header_tiffio_h+set}" = set; then
29254 echo $ECHO_N "(cached) $ECHO_C" >&6
29255 else
29256 cat >conftest.$ac_ext <<_ACEOF
29257 /* confdefs.h. */
29258 _ACEOF
29259 cat confdefs.h >>conftest.$ac_ext
29260 cat >>conftest.$ac_ext <<_ACEOF
29261 /* end confdefs.h. */
29262
29263
29264
29265 #include <tiffio.h>
29266 _ACEOF
29267 rm -f conftest.$ac_objext
29268 if { (ac_try="$ac_compile"
29269 case "(($ac_try" in
29270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29271 *) ac_try_echo=$ac_try;;
29272 esac
29273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29274 (eval "$ac_compile") 2>conftest.er1
29275 ac_status=$?
29276 grep -v '^ *+' conftest.er1 >conftest.err
29277 rm -f conftest.er1
29278 cat conftest.err >&5
29279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29280 (exit $ac_status); } && {
29281 test -z "$ac_c_werror_flag" ||
29282 test ! -s conftest.err
29283 } && test -s conftest.$ac_objext; then
29284 ac_cv_header_tiffio_h=yes
29285 else
29286 echo "$as_me: failed program was:" >&5
29287 sed 's/^/| /' conftest.$ac_ext >&5
29288
29289 ac_cv_header_tiffio_h=no
29290 fi
29291
29292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29293 fi
29294 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
29295 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
29296 if test $ac_cv_header_tiffio_h = yes; then
29297
29298 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
29299 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
29300 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
29301 echo $ECHO_N "(cached) $ECHO_C" >&6
29302 else
29303 ac_check_lib_save_LIBS=$LIBS
29304 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
29305 cat >conftest.$ac_ext <<_ACEOF
29306 /* confdefs.h. */
29307 _ACEOF
29308 cat confdefs.h >>conftest.$ac_ext
29309 cat >>conftest.$ac_ext <<_ACEOF
29310 /* end confdefs.h. */
29311
29312 /* Override any GCC internal prototype to avoid an error.
29313 Use char because int might match the return type of a GCC
29314 builtin and then its argument prototype would still apply. */
29315 #ifdef __cplusplus
29316 extern "C"
29317 #endif
29318 char TIFFError ();
29319 int
29320 main ()
29321 {
29322 return TIFFError ();
29323 ;
29324 return 0;
29325 }
29326 _ACEOF
29327 rm -f conftest.$ac_objext conftest$ac_exeext
29328 if { (ac_try="$ac_link"
29329 case "(($ac_try" in
29330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29331 *) ac_try_echo=$ac_try;;
29332 esac
29333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29334 (eval "$ac_link") 2>conftest.er1
29335 ac_status=$?
29336 grep -v '^ *+' conftest.er1 >conftest.err
29337 rm -f conftest.er1
29338 cat conftest.err >&5
29339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29340 (exit $ac_status); } && {
29341 test -z "$ac_c_werror_flag" ||
29342 test ! -s conftest.err
29343 } && test -s conftest$ac_exeext &&
29344 $as_test_x conftest$ac_exeext; then
29345 ac_cv_lib_tiff_TIFFError=yes
29346 else
29347 echo "$as_me: failed program was:" >&5
29348 sed 's/^/| /' conftest.$ac_ext >&5
29349
29350 ac_cv_lib_tiff_TIFFError=no
29351 fi
29352
29353 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29354 conftest$ac_exeext conftest.$ac_ext
29355 LIBS=$ac_check_lib_save_LIBS
29356 fi
29357 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
29358 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
29359 if test $ac_cv_lib_tiff_TIFFError = yes; then
29360 TIFF_LINK=" -ltiff"
29361 fi
29362
29363
29364 fi
29365
29366
29367
29368 if test "x$TIFF_LINK" = "x" ; then
29369 if test "$wxUSE_LIBTIFF" = "sys" ; then
29370 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
29371 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
29372 { (exit 1); exit 1; }; }
29373 else
29374 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
29375 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
29376 wxUSE_LIBTIFF=builtin
29377 fi
29378 else
29379 wxUSE_LIBTIFF=sys
29380 fi
29381 fi
29382 if test "$wxUSE_LIBTIFF" = "builtin" ; then
29383 if test "$wxUSE_LIBJPEG" = "no"; then
29384 ac_configure_args="$ac_configure_args --disable-jpeg"
29385 fi
29386 subdirs="$subdirs src/tiff"
29387
29388 fi
29389 fi
29390
29391
29392 if test "$wxUSE_EXPAT" != "no"; then
29393 wxUSE_XML=yes
29394 cat >>confdefs.h <<\_ACEOF
29395 #define wxUSE_EXPAT 1
29396 _ACEOF
29397
29398 cat >>confdefs.h <<\_ACEOF
29399 #define wxUSE_XML 1
29400 _ACEOF
29401
29402
29403 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
29404 { echo "$as_me:$LINENO: checking for expat.h" >&5
29405 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
29406 if test "${ac_cv_header_expat_h+set}" = set; then
29407 echo $ECHO_N "(cached) $ECHO_C" >&6
29408 else
29409 cat >conftest.$ac_ext <<_ACEOF
29410 /* confdefs.h. */
29411 _ACEOF
29412 cat confdefs.h >>conftest.$ac_ext
29413 cat >>conftest.$ac_ext <<_ACEOF
29414 /* end confdefs.h. */
29415
29416
29417 #include <expat.h>
29418 _ACEOF
29419 rm -f conftest.$ac_objext
29420 if { (ac_try="$ac_compile"
29421 case "(($ac_try" in
29422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29423 *) ac_try_echo=$ac_try;;
29424 esac
29425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29426 (eval "$ac_compile") 2>conftest.er1
29427 ac_status=$?
29428 grep -v '^ *+' conftest.er1 >conftest.err
29429 rm -f conftest.er1
29430 cat conftest.err >&5
29431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29432 (exit $ac_status); } && {
29433 test -z "$ac_c_werror_flag" ||
29434 test ! -s conftest.err
29435 } && test -s conftest.$ac_objext; then
29436 ac_cv_header_expat_h=yes
29437 else
29438 echo "$as_me: failed program was:" >&5
29439 sed 's/^/| /' conftest.$ac_ext >&5
29440
29441 ac_cv_header_expat_h=no
29442 fi
29443
29444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29445 fi
29446 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
29447 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
29448 if test $ac_cv_header_expat_h = yes; then
29449 found_expat_h=1
29450 fi
29451
29452
29453 if test "x$found_expat_h" = "x1"; then
29454 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
29455 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
29456 if test "${wx_cv_expat_is_not_broken+set}" = set; then
29457 echo $ECHO_N "(cached) $ECHO_C" >&6
29458 else
29459
29460 ac_ext=cpp
29461 ac_cpp='$CXXCPP $CPPFLAGS'
29462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29465
29466 cat >conftest.$ac_ext <<_ACEOF
29467 /* confdefs.h. */
29468 _ACEOF
29469 cat confdefs.h >>conftest.$ac_ext
29470 cat >>conftest.$ac_ext <<_ACEOF
29471 /* end confdefs.h. */
29472 #include <expat.h>
29473 int
29474 main ()
29475 {
29476
29477 ;
29478 return 0;
29479 }
29480 _ACEOF
29481 rm -f conftest.$ac_objext
29482 if { (ac_try="$ac_compile"
29483 case "(($ac_try" in
29484 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29485 *) ac_try_echo=$ac_try;;
29486 esac
29487 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29488 (eval "$ac_compile") 2>conftest.er1
29489 ac_status=$?
29490 grep -v '^ *+' conftest.er1 >conftest.err
29491 rm -f conftest.er1
29492 cat conftest.err >&5
29493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29494 (exit $ac_status); } && {
29495 test -z "$ac_cxx_werror_flag" ||
29496 test ! -s conftest.err
29497 } && test -s conftest.$ac_objext; then
29498 wx_cv_expat_is_not_broken=yes
29499 else
29500 echo "$as_me: failed program was:" >&5
29501 sed 's/^/| /' conftest.$ac_ext >&5
29502
29503 wx_cv_expat_is_not_broken=no
29504
29505 fi
29506
29507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29508 ac_ext=c
29509 ac_cpp='$CPP $CPPFLAGS'
29510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29513
29514
29515
29516 fi
29517 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
29518 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
29519 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
29520 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
29521 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
29522 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
29523 echo $ECHO_N "(cached) $ECHO_C" >&6
29524 else
29525 ac_check_lib_save_LIBS=$LIBS
29526 LIBS="-lexpat $LIBS"
29527 cat >conftest.$ac_ext <<_ACEOF
29528 /* confdefs.h. */
29529 _ACEOF
29530 cat confdefs.h >>conftest.$ac_ext
29531 cat >>conftest.$ac_ext <<_ACEOF
29532 /* end confdefs.h. */
29533
29534 /* Override any GCC internal prototype to avoid an error.
29535 Use char because int might match the return type of a GCC
29536 builtin and then its argument prototype would still apply. */
29537 #ifdef __cplusplus
29538 extern "C"
29539 #endif
29540 char XML_ParserCreate ();
29541 int
29542 main ()
29543 {
29544 return XML_ParserCreate ();
29545 ;
29546 return 0;
29547 }
29548 _ACEOF
29549 rm -f conftest.$ac_objext conftest$ac_exeext
29550 if { (ac_try="$ac_link"
29551 case "(($ac_try" in
29552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29553 *) ac_try_echo=$ac_try;;
29554 esac
29555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29556 (eval "$ac_link") 2>conftest.er1
29557 ac_status=$?
29558 grep -v '^ *+' conftest.er1 >conftest.err
29559 rm -f conftest.er1
29560 cat conftest.err >&5
29561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29562 (exit $ac_status); } && {
29563 test -z "$ac_c_werror_flag" ||
29564 test ! -s conftest.err
29565 } && test -s conftest$ac_exeext &&
29566 $as_test_x conftest$ac_exeext; then
29567 ac_cv_lib_expat_XML_ParserCreate=yes
29568 else
29569 echo "$as_me: failed program was:" >&5
29570 sed 's/^/| /' conftest.$ac_ext >&5
29571
29572 ac_cv_lib_expat_XML_ParserCreate=no
29573 fi
29574
29575 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29576 conftest$ac_exeext conftest.$ac_ext
29577 LIBS=$ac_check_lib_save_LIBS
29578 fi
29579 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
29580 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
29581 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
29582 EXPAT_LINK=" -lexpat"
29583 fi
29584
29585 fi
29586 fi
29587 if test "x$EXPAT_LINK" = "x" ; then
29588 if test "$wxUSE_EXPAT" = "sys" ; then
29589 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
29590 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
29591 { (exit 1); exit 1; }; }
29592 else
29593 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
29594 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
29595 wxUSE_EXPAT=builtin
29596 fi
29597 else
29598 wxUSE_EXPAT=sys
29599 fi
29600 fi
29601 if test "$wxUSE_EXPAT" = "builtin" ; then
29602 subdirs="$subdirs src/expat"
29603
29604 fi
29605 fi
29606
29607
29608
29609 if test "$wxUSE_LIBMSPACK" != "no"; then
29610 { echo "$as_me:$LINENO: checking for mspack.h" >&5
29611 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
29612 if test "${ac_cv_header_mspack_h+set}" = set; then
29613 echo $ECHO_N "(cached) $ECHO_C" >&6
29614 else
29615 cat >conftest.$ac_ext <<_ACEOF
29616 /* confdefs.h. */
29617 _ACEOF
29618 cat confdefs.h >>conftest.$ac_ext
29619 cat >>conftest.$ac_ext <<_ACEOF
29620 /* end confdefs.h. */
29621
29622
29623 #include <mspack.h>
29624 _ACEOF
29625 rm -f conftest.$ac_objext
29626 if { (ac_try="$ac_compile"
29627 case "(($ac_try" in
29628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29629 *) ac_try_echo=$ac_try;;
29630 esac
29631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29632 (eval "$ac_compile") 2>conftest.er1
29633 ac_status=$?
29634 grep -v '^ *+' conftest.er1 >conftest.err
29635 rm -f conftest.er1
29636 cat conftest.err >&5
29637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29638 (exit $ac_status); } && {
29639 test -z "$ac_c_werror_flag" ||
29640 test ! -s conftest.err
29641 } && test -s conftest.$ac_objext; then
29642 ac_cv_header_mspack_h=yes
29643 else
29644 echo "$as_me: failed program was:" >&5
29645 sed 's/^/| /' conftest.$ac_ext >&5
29646
29647 ac_cv_header_mspack_h=no
29648 fi
29649
29650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29651 fi
29652 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
29653 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
29654 if test $ac_cv_header_mspack_h = yes; then
29655 found_mspack_h=1
29656 fi
29657
29658
29659 if test "x$found_mspack_h" = "x1"; then
29660 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
29661 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
29662 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
29663 echo $ECHO_N "(cached) $ECHO_C" >&6
29664 else
29665 ac_check_lib_save_LIBS=$LIBS
29666 LIBS="-lmspack $LIBS"
29667 cat >conftest.$ac_ext <<_ACEOF
29668 /* confdefs.h. */
29669 _ACEOF
29670 cat confdefs.h >>conftest.$ac_ext
29671 cat >>conftest.$ac_ext <<_ACEOF
29672 /* end confdefs.h. */
29673
29674 /* Override any GCC internal prototype to avoid an error.
29675 Use char because int might match the return type of a GCC
29676 builtin and then its argument prototype would still apply. */
29677 #ifdef __cplusplus
29678 extern "C"
29679 #endif
29680 char mspack_create_chm_decompressor ();
29681 int
29682 main ()
29683 {
29684 return mspack_create_chm_decompressor ();
29685 ;
29686 return 0;
29687 }
29688 _ACEOF
29689 rm -f conftest.$ac_objext conftest$ac_exeext
29690 if { (ac_try="$ac_link"
29691 case "(($ac_try" in
29692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29693 *) ac_try_echo=$ac_try;;
29694 esac
29695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29696 (eval "$ac_link") 2>conftest.er1
29697 ac_status=$?
29698 grep -v '^ *+' conftest.er1 >conftest.err
29699 rm -f conftest.er1
29700 cat conftest.err >&5
29701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29702 (exit $ac_status); } && {
29703 test -z "$ac_c_werror_flag" ||
29704 test ! -s conftest.err
29705 } && test -s conftest$ac_exeext &&
29706 $as_test_x conftest$ac_exeext; then
29707 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
29708 else
29709 echo "$as_me: failed program was:" >&5
29710 sed 's/^/| /' conftest.$ac_ext >&5
29711
29712 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
29713 fi
29714
29715 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29716 conftest$ac_exeext conftest.$ac_ext
29717 LIBS=$ac_check_lib_save_LIBS
29718 fi
29719 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
29720 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
29721 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
29722 MSPACK_LINK=" -lmspack"
29723 fi
29724
29725 fi
29726 if test "x$MSPACK_LINK" = "x" ; then
29727 wxUSE_LIBMSPACK=no
29728 fi
29729 fi
29730
29731 if test "$wxUSE_LIBMSPACK" != "no"; then
29732 cat >>confdefs.h <<\_ACEOF
29733 #define wxUSE_LIBMSPACK 1
29734 _ACEOF
29735
29736 fi
29737
29738
29739
29740 AFMINSTALL=
29741 WIN32INSTALL=
29742
29743 TOOLKIT=
29744 TOOLKIT_INCLUDE=
29745 WIDGET_SET=
29746
29747 if test "$USE_WIN32" = 1 ; then
29748
29749 for ac_header in w32api.h
29750 do
29751 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29752 { echo "$as_me:$LINENO: checking for $ac_header" >&5
29753 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
29754 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29755 echo $ECHO_N "(cached) $ECHO_C" >&6
29756 else
29757 cat >conftest.$ac_ext <<_ACEOF
29758 /* confdefs.h. */
29759 _ACEOF
29760 cat confdefs.h >>conftest.$ac_ext
29761 cat >>conftest.$ac_ext <<_ACEOF
29762 /* end confdefs.h. */
29763
29764
29765 #include <$ac_header>
29766 _ACEOF
29767 rm -f conftest.$ac_objext
29768 if { (ac_try="$ac_compile"
29769 case "(($ac_try" in
29770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29771 *) ac_try_echo=$ac_try;;
29772 esac
29773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29774 (eval "$ac_compile") 2>conftest.er1
29775 ac_status=$?
29776 grep -v '^ *+' conftest.er1 >conftest.err
29777 rm -f conftest.er1
29778 cat conftest.err >&5
29779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29780 (exit $ac_status); } && {
29781 test -z "$ac_c_werror_flag" ||
29782 test ! -s conftest.err
29783 } && test -s conftest.$ac_objext; then
29784 eval "$as_ac_Header=yes"
29785 else
29786 echo "$as_me: failed program was:" >&5
29787 sed 's/^/| /' conftest.$ac_ext >&5
29788
29789 eval "$as_ac_Header=no"
29790 fi
29791
29792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29793 fi
29794 ac_res=`eval echo '${'$as_ac_Header'}'`
29795 { echo "$as_me:$LINENO: result: $ac_res" >&5
29796 echo "${ECHO_T}$ac_res" >&6; }
29797 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29798 cat >>confdefs.h <<_ACEOF
29799 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29800 _ACEOF
29801
29802 fi
29803
29804 done
29805
29806 { echo "$as_me:$LINENO: checking for windows.h" >&5
29807 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
29808 if test "${ac_cv_header_windows_h+set}" = set; then
29809 echo $ECHO_N "(cached) $ECHO_C" >&6
29810 else
29811 cat >conftest.$ac_ext <<_ACEOF
29812 /* confdefs.h. */
29813 _ACEOF
29814 cat confdefs.h >>conftest.$ac_ext
29815 cat >>conftest.$ac_ext <<_ACEOF
29816 /* end confdefs.h. */
29817
29818
29819 #include <windows.h>
29820 _ACEOF
29821 rm -f conftest.$ac_objext
29822 if { (ac_try="$ac_compile"
29823 case "(($ac_try" in
29824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29825 *) ac_try_echo=$ac_try;;
29826 esac
29827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29828 (eval "$ac_compile") 2>conftest.er1
29829 ac_status=$?
29830 grep -v '^ *+' conftest.er1 >conftest.err
29831 rm -f conftest.er1
29832 cat conftest.err >&5
29833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29834 (exit $ac_status); } && {
29835 test -z "$ac_c_werror_flag" ||
29836 test ! -s conftest.err
29837 } && test -s conftest.$ac_objext; then
29838 ac_cv_header_windows_h=yes
29839 else
29840 echo "$as_me: failed program was:" >&5
29841 sed 's/^/| /' conftest.$ac_ext >&5
29842
29843 ac_cv_header_windows_h=no
29844 fi
29845
29846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29847 fi
29848 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
29849 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
29850 if test $ac_cv_header_windows_h = yes; then
29851 :
29852 else
29853
29854 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
29855 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
29856 { (exit 1); exit 1; }; }
29857
29858 fi
29859
29860
29861
29862 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -ladvapi32 -lwsock32 -lgdi32"
29863 case "${host}" in
29864 x86_64-*-mingw32* )
29865 WINDRES_CPU_DEFINE="--define WX_CPU_AMD64"
29866 ;;
29867 esac
29868 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
29869 LIBS="$LIBS -loleacc"
29870 fi
29871
29872 case "${host}" in
29873 *-*-cygwin* )
29874 LIBS="$LIBS -lkernel32 -luser32"
29875 esac
29876
29877 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__ $WINDRES_CPU_DEFINE"
29878 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
29879
29880 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__ $WINDRES_CPU_DEFINE"
29881
29882 WIN32INSTALL=win32install
29883 fi
29884
29885 if test "$wxUSE_GUI" = "yes"; then
29886 USE_GUI=1
29887
29888 GUI_TK_LIBRARY=
29889
29890 WXGTK127=
29891 WXGTK2=
29892 WXGPE=
29893
29894 if test "$wxUSE_OLD_COCOA" = 1 ; then
29895 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
29896 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
29897 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
29898 wxUSE_PRINTING_ARCHITECTURE=no
29899 fi
29900 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
29901 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
29902 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
29903 wxUSE_DRAG_AND_DROP=no
29904 fi
29905 if test "$wxUSE_DRAGIMAGE" = "yes"; then
29906 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
29907 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
29908 wxUSE_DRAGIMAGE=no
29909 fi
29910 fi
29911
29912 if test "$wxUSE_MSW" = 1 ; then
29913 TOOLKIT=MSW
29914 GUIDIST=MSW_DIST
29915
29916 case "${host}" in
29917 *-*-mingw32* )
29918 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
29919 esac
29920 fi
29921
29922 if test "$wxUSE_GTK" = 1; then
29923 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
29924 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
29925
29926 gtk_version_cached=1
29927 if test "${wx_cv_lib_gtk+set}" = set; then
29928 echo $ECHO_N "(cached) $ECHO_C" >&6
29929 else
29930
29931 gtk_version_cached=0
29932 { echo "$as_me:$LINENO: result: " >&5
29933 echo "${ECHO_T}" >&6; }
29934
29935 GTK_MODULES=
29936 if test "$wxUSE_THREADS" = "yes"; then
29937 GTK_MODULES=gthread
29938 fi
29939
29940 wx_cv_lib_gtk=
29941 if test "x$wxGTK_VERSION" != "x1"
29942 then
29943 case "${host}" in
29944 *-*-solaris2* )
29945 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
29946 enable_gtktest=no
29947 fi
29948 esac
29949
29950 # Check whether --enable-gtktest was given.
29951 if test "${enable_gtktest+set}" = set; then
29952 enableval=$enable_gtktest;
29953 else
29954 enable_gtktest=yes
29955 fi
29956
29957
29958 pkg_config_args=gtk+-2.0
29959 for module in . $GTK_MODULES
29960 do
29961 case "$module" in
29962 gthread)
29963 pkg_config_args="$pkg_config_args gthread-2.0"
29964 ;;
29965 esac
29966 done
29967
29968 no_gtk=""
29969
29970 # Extract the first word of "pkg-config", so it can be a program name with args.
29971 set dummy pkg-config; ac_word=$2
29972 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29973 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29974 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29975 echo $ECHO_N "(cached) $ECHO_C" >&6
29976 else
29977 case $PKG_CONFIG in
29978 [\\/]* | ?:[\\/]*)
29979 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29980 ;;
29981 *)
29982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29983 for as_dir in $PATH
29984 do
29985 IFS=$as_save_IFS
29986 test -z "$as_dir" && as_dir=.
29987 for ac_exec_ext in '' $ac_executable_extensions; do
29988 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29989 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29990 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29991 break 2
29992 fi
29993 done
29994 done
29995 IFS=$as_save_IFS
29996
29997 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
29998 ;;
29999 esac
30000 fi
30001 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
30002 if test -n "$PKG_CONFIG"; then
30003 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30004 echo "${ECHO_T}$PKG_CONFIG" >&6; }
30005 else
30006 { echo "$as_me:$LINENO: result: no" >&5
30007 echo "${ECHO_T}no" >&6; }
30008 fi
30009
30010
30011
30012 if test x$PKG_CONFIG != xno ; then
30013 if pkg-config --atleast-pkgconfig-version 0.7 ; then
30014 :
30015 else
30016 echo "*** pkg-config too old; version 0.7 or better required."
30017 no_gtk=yes
30018 PKG_CONFIG=no
30019 fi
30020 else
30021 no_gtk=yes
30022 fi
30023
30024 min_gtk_version=2.4.0
30025 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
30026 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
30027
30028 if test x$PKG_CONFIG != xno ; then
30029 ## don't try to run the test against uninstalled libtool libs
30030 if $PKG_CONFIG --uninstalled $pkg_config_args; then
30031 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
30032 enable_gtktest=no
30033 fi
30034
30035 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
30036 :
30037 else
30038 no_gtk=yes
30039 fi
30040 fi
30041
30042 if test x"$no_gtk" = x ; then
30043 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
30044 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
30045 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30046 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30047 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30048 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30049 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30050 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30051 if test "x$enable_gtktest" = "xyes" ; then
30052 ac_save_CFLAGS="$CFLAGS"
30053 ac_save_LIBS="$LIBS"
30054 CFLAGS="$CFLAGS $GTK_CFLAGS"
30055 LIBS="$GTK_LIBS $LIBS"
30056 rm -f conf.gtktest
30057 if test "$cross_compiling" = yes; then
30058 echo $ac_n "cross compiling; assumed OK... $ac_c"
30059 else
30060 cat >conftest.$ac_ext <<_ACEOF
30061 /* confdefs.h. */
30062 _ACEOF
30063 cat confdefs.h >>conftest.$ac_ext
30064 cat >>conftest.$ac_ext <<_ACEOF
30065 /* end confdefs.h. */
30066
30067 #include <gtk/gtk.h>
30068 #include <stdio.h>
30069 #include <stdlib.h>
30070
30071 int
30072 main ()
30073 {
30074 int major, minor, micro;
30075 char *tmp_version;
30076
30077 system ("touch conf.gtktest");
30078
30079 /* HP/UX 9 (%@#!) writes to sscanf strings */
30080 tmp_version = g_strdup("$min_gtk_version");
30081 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
30082 printf("%s, bad version string\n", "$min_gtk_version");
30083 exit(1);
30084 }
30085
30086 if ((gtk_major_version != $gtk_config_major_version) ||
30087 (gtk_minor_version != $gtk_config_minor_version) ||
30088 (gtk_micro_version != $gtk_config_micro_version))
30089 {
30090 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30091 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30092 gtk_major_version, gtk_minor_version, gtk_micro_version);
30093 printf ("*** was found! If pkg-config was correct, then it is best\n");
30094 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30095 printf("*** by modifying your LD_LIBRARY_PATH environment variable, or by editing\n");
30096 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30097 printf("*** required on your system.\n");
30098 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
30099 printf("*** to point to the correct configuration files\n");
30100 }
30101 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30102 (gtk_minor_version != GTK_MINOR_VERSION) ||
30103 (gtk_micro_version != GTK_MICRO_VERSION))
30104 {
30105 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30106 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30107 printf("*** library (version %d.%d.%d)\n",
30108 gtk_major_version, gtk_minor_version, gtk_micro_version);
30109 }
30110 else
30111 {
30112 if ((gtk_major_version > major) ||
30113 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30114 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30115 {
30116 return 0;
30117 }
30118 else
30119 {
30120 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30121 gtk_major_version, gtk_minor_version, gtk_micro_version);
30122 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30123 major, minor, micro);
30124 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30125 printf("***\n");
30126 printf("*** If you have already installed a sufficiently new version, this error\n");
30127 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
30128 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30129 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
30130 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
30131 printf("*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf\n");
30132 printf("*** so that the correct libraries are found at run-time))\n");
30133 }
30134 }
30135 return 1;
30136 }
30137
30138 _ACEOF
30139 rm -f conftest$ac_exeext
30140 if { (ac_try="$ac_link"
30141 case "(($ac_try" in
30142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30143 *) ac_try_echo=$ac_try;;
30144 esac
30145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30146 (eval "$ac_link") 2>&5
30147 ac_status=$?
30148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30149 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30150 { (case "(($ac_try" in
30151 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30152 *) ac_try_echo=$ac_try;;
30153 esac
30154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30155 (eval "$ac_try") 2>&5
30156 ac_status=$?
30157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30158 (exit $ac_status); }; }; then
30159 :
30160 else
30161 echo "$as_me: program exited with status $ac_status" >&5
30162 echo "$as_me: failed program was:" >&5
30163 sed 's/^/| /' conftest.$ac_ext >&5
30164
30165 ( exit $ac_status )
30166 no_gtk=yes
30167 fi
30168 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30169 fi
30170
30171
30172 CFLAGS="$ac_save_CFLAGS"
30173 LIBS="$ac_save_LIBS"
30174 fi
30175 fi
30176 if test "x$no_gtk" = x ; then
30177 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
30178 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
30179 wx_cv_lib_gtk=2.0
30180 else
30181 { echo "$as_me:$LINENO: result: no" >&5
30182 echo "${ECHO_T}no" >&6; }
30183 if test "$PKG_CONFIG" = "no" ; then
30184 echo "*** A new enough version of pkg-config was not found."
30185 echo "*** See http://pkgconfig.sourceforge.net"
30186 else
30187 if test -f conf.gtktest ; then
30188 :
30189 else
30190 echo "*** Could not run GTK+ test program, checking why..."
30191 ac_save_CFLAGS="$CFLAGS"
30192 ac_save_LIBS="$LIBS"
30193 CFLAGS="$CFLAGS $GTK_CFLAGS"
30194 LIBS="$LIBS $GTK_LIBS"
30195 cat >conftest.$ac_ext <<_ACEOF
30196 /* confdefs.h. */
30197 _ACEOF
30198 cat confdefs.h >>conftest.$ac_ext
30199 cat >>conftest.$ac_ext <<_ACEOF
30200 /* end confdefs.h. */
30201
30202 #include <gtk/gtk.h>
30203 #include <stdio.h>
30204
30205 int
30206 main ()
30207 {
30208 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30209 ;
30210 return 0;
30211 }
30212 _ACEOF
30213 rm -f conftest.$ac_objext conftest$ac_exeext
30214 if { (ac_try="$ac_link"
30215 case "(($ac_try" in
30216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30217 *) ac_try_echo=$ac_try;;
30218 esac
30219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30220 (eval "$ac_link") 2>conftest.er1
30221 ac_status=$?
30222 grep -v '^ *+' conftest.er1 >conftest.err
30223 rm -f conftest.er1
30224 cat conftest.err >&5
30225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30226 (exit $ac_status); } && {
30227 test -z "$ac_c_werror_flag" ||
30228 test ! -s conftest.err
30229 } && test -s conftest$ac_exeext &&
30230 $as_test_x conftest$ac_exeext; then
30231 echo "*** The test program compiled, but did not run. This usually means"
30232 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
30233 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
30234 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30235 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30236 echo "*** is required on your system"
30237 echo "***"
30238 echo "*** If you have an old version installed, it is best to remove it, although"
30239 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30240 else
30241 echo "$as_me: failed program was:" >&5
30242 sed 's/^/| /' conftest.$ac_ext >&5
30243
30244 echo "*** The test program failed to compile or link. See the file config.log for the"
30245 echo "*** exact error that occurred. This usually means GTK+ is incorrectly installed."
30246 fi
30247
30248 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30249 conftest$ac_exeext conftest.$ac_ext
30250 CFLAGS="$ac_save_CFLAGS"
30251 LIBS="$ac_save_LIBS"
30252 fi
30253 fi
30254 GTK_CFLAGS=""
30255 GTK_LIBS=""
30256 :
30257 fi
30258
30259
30260 rm -f conf.gtktest
30261
30262 fi
30263
30264 if test -z "$wx_cv_lib_gtk"; then
30265 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
30266
30267 # Check whether --with-gtk-prefix was given.
30268 if test "${with_gtk_prefix+set}" = set; then
30269 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
30270 else
30271 gtk_config_prefix=""
30272 fi
30273
30274
30275 # Check whether --with-gtk-exec-prefix was given.
30276 if test "${with_gtk_exec_prefix+set}" = set; then
30277 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
30278 else
30279 gtk_config_exec_prefix=""
30280 fi
30281
30282 # Check whether --enable-gtktest was given.
30283 if test "${enable_gtktest+set}" = set; then
30284 enableval=$enable_gtktest;
30285 else
30286 enable_gtktest=yes
30287 fi
30288
30289
30290 for module in . $GTK_MODULES
30291 do
30292 case "$module" in
30293 gthread)
30294 gtk_config_args="$gtk_config_args gthread"
30295 ;;
30296 esac
30297 done
30298
30299 if test x$gtk_config_exec_prefix != x ; then
30300 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
30301 if test x${GTK_CONFIG+set} != xset ; then
30302 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
30303 fi
30304 fi
30305 if test x$gtk_config_prefix != x ; then
30306 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
30307 if test x${GTK_CONFIG+set} != xset ; then
30308 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
30309 fi
30310 fi
30311
30312 # Extract the first word of "gtk-config", so it can be a program name with args.
30313 set dummy gtk-config; ac_word=$2
30314 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30315 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30316 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
30317 echo $ECHO_N "(cached) $ECHO_C" >&6
30318 else
30319 case $GTK_CONFIG in
30320 [\\/]* | ?:[\\/]*)
30321 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
30322 ;;
30323 *)
30324 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30325 for as_dir in $PATH
30326 do
30327 IFS=$as_save_IFS
30328 test -z "$as_dir" && as_dir=.
30329 for ac_exec_ext in '' $ac_executable_extensions; do
30330 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30331 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30332 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30333 break 2
30334 fi
30335 done
30336 done
30337 IFS=$as_save_IFS
30338
30339 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
30340 ;;
30341 esac
30342 fi
30343 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
30344 if test -n "$GTK_CONFIG"; then
30345 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
30346 echo "${ECHO_T}$GTK_CONFIG" >&6; }
30347 else
30348 { echo "$as_me:$LINENO: result: no" >&5
30349 echo "${ECHO_T}no" >&6; }
30350 fi
30351
30352
30353 min_gtk_version=1.2.7
30354 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
30355 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
30356 no_gtk=""
30357 if test "$GTK_CONFIG" = "no" ; then
30358 no_gtk=yes
30359 else
30360 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
30361 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
30362 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
30363 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30364 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
30365 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30366 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
30367 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30368 if test "x$enable_gtktest" = "xyes" ; then
30369 ac_save_CFLAGS="$CFLAGS"
30370 ac_save_LIBS="$LIBS"
30371 CFLAGS="$CFLAGS $GTK_CFLAGS"
30372 LIBS="$GTK_LIBS $LIBS"
30373 rm -f conf.gtktest
30374 if test "$cross_compiling" = yes; then
30375 echo $ac_n "cross compiling; assumed OK... $ac_c"
30376 else
30377 cat >conftest.$ac_ext <<_ACEOF
30378 /* confdefs.h. */
30379 _ACEOF
30380 cat confdefs.h >>conftest.$ac_ext
30381 cat >>conftest.$ac_ext <<_ACEOF
30382 /* end confdefs.h. */
30383
30384 #include <gtk/gtk.h>
30385 #include <stdio.h>
30386 #include <stdlib.h>
30387
30388 int
30389 main ()
30390 {
30391 int major, minor, micro;
30392 char *tmp_version;
30393
30394 system ("touch conf.gtktest");
30395
30396 /* HP/UX 9 (%@#!) writes to sscanf strings */
30397 tmp_version = g_strdup("$min_gtk_version");
30398 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
30399 printf("%s, bad version string\n", "$min_gtk_version");
30400 exit(1);
30401 }
30402
30403 if ((gtk_major_version != $gtk_config_major_version) ||
30404 (gtk_minor_version != $gtk_config_minor_version) ||
30405 (gtk_micro_version != $gtk_config_micro_version))
30406 {
30407 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30408 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30409 gtk_major_version, gtk_minor_version, gtk_micro_version);
30410 printf ("*** was found! If gtk-config was correct, then it is best\n");
30411 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30412 printf("*** by modifying your LD_LIBRARY_PATH environment variable, or by editing\n");
30413 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30414 printf("*** required on your system.\n");
30415 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
30416 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
30417 printf("*** before re-running configure\n");
30418 }
30419 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
30420 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30421 (gtk_minor_version != GTK_MINOR_VERSION) ||
30422 (gtk_micro_version != GTK_MICRO_VERSION))
30423 {
30424 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30425 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30426 printf("*** library (version %d.%d.%d)\n",
30427 gtk_major_version, gtk_minor_version, gtk_micro_version);
30428 }
30429 #endif /* defined (GTK_MAJOR_VERSION) ... */
30430 else
30431 {
30432 if ((gtk_major_version > major) ||
30433 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30434 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30435 {
30436 return 0;
30437 }
30438 else
30439 {
30440 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30441 gtk_major_version, gtk_minor_version, gtk_micro_version);
30442 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30443 major, minor, micro);
30444 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30445 printf("***\n");
30446 printf("*** If you have already installed a sufficiently new version, this error\n");
30447 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
30448 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30449 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
30450 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
30451 printf("*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf\n");
30452 printf("*** so that the correct libraries are found at run-time))\n");
30453 }
30454 }
30455 return 1;
30456 }
30457
30458 _ACEOF
30459 rm -f conftest$ac_exeext
30460 if { (ac_try="$ac_link"
30461 case "(($ac_try" in
30462 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30463 *) ac_try_echo=$ac_try;;
30464 esac
30465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30466 (eval "$ac_link") 2>&5
30467 ac_status=$?
30468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30469 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30470 { (case "(($ac_try" in
30471 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30472 *) ac_try_echo=$ac_try;;
30473 esac
30474 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30475 (eval "$ac_try") 2>&5
30476 ac_status=$?
30477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30478 (exit $ac_status); }; }; then
30479 :
30480 else
30481 echo "$as_me: program exited with status $ac_status" >&5
30482 echo "$as_me: failed program was:" >&5
30483 sed 's/^/| /' conftest.$ac_ext >&5
30484
30485 ( exit $ac_status )
30486 no_gtk=yes
30487 fi
30488 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30489 fi
30490
30491
30492 CFLAGS="$ac_save_CFLAGS"
30493 LIBS="$ac_save_LIBS"
30494 fi
30495 fi
30496 if test "x$no_gtk" = x ; then
30497 { echo "$as_me:$LINENO: result: yes" >&5
30498 echo "${ECHO_T}yes" >&6; }
30499 wx_cv_lib_gtk=1.2.7
30500 else
30501 { echo "$as_me:$LINENO: result: no" >&5
30502 echo "${ECHO_T}no" >&6; }
30503 if test "$GTK_CONFIG" = "no" ; then
30504 echo "*** The gtk-config script installed by GTK could not be found"
30505 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
30506 echo "*** your path, or set the GTK_CONFIG environment variable to the"
30507 echo "*** full path to gtk-config."
30508 else
30509 if test -f conf.gtktest ; then
30510 :
30511 else
30512 echo "*** Could not run GTK test program, checking why..."
30513 CFLAGS="$CFLAGS $GTK_CFLAGS"
30514 LIBS="$LIBS $GTK_LIBS"
30515 cat >conftest.$ac_ext <<_ACEOF
30516 /* confdefs.h. */
30517 _ACEOF
30518 cat confdefs.h >>conftest.$ac_ext
30519 cat >>conftest.$ac_ext <<_ACEOF
30520 /* end confdefs.h. */
30521
30522 #include <gtk/gtk.h>
30523 #include <stdio.h>
30524
30525 int
30526 main ()
30527 {
30528 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30529 ;
30530 return 0;
30531 }
30532 _ACEOF
30533 rm -f conftest.$ac_objext conftest$ac_exeext
30534 if { (ac_try="$ac_link"
30535 case "(($ac_try" in
30536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30537 *) ac_try_echo=$ac_try;;
30538 esac
30539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30540 (eval "$ac_link") 2>conftest.er1
30541 ac_status=$?
30542 grep -v '^ *+' conftest.er1 >conftest.err
30543 rm -f conftest.er1
30544 cat conftest.err >&5
30545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30546 (exit $ac_status); } && {
30547 test -z "$ac_c_werror_flag" ||
30548 test ! -s conftest.err
30549 } && test -s conftest$ac_exeext &&
30550 $as_test_x conftest$ac_exeext; then
30551 echo "*** The test program compiled, but did not run. This usually means"
30552 echo "*** that the run-time linker is not finding GTK or finding the wrong"
30553 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
30554 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30555 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30556 echo "*** is required on your system"
30557 echo "***"
30558 echo "*** If you have an old version installed, it is best to remove it, although"
30559 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30560 echo "***"
30561 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
30562 echo "*** came with the system with the command"
30563 echo "***"
30564 echo "*** rpm --erase --nodeps gtk gtk-devel"
30565 else
30566 echo "$as_me: failed program was:" >&5
30567 sed 's/^/| /' conftest.$ac_ext >&5
30568
30569 echo "*** The test program failed to compile or link. See the file config.log for the"
30570 echo "*** exact error that occurred. This usually means GTK was incorrectly installed"
30571 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
30572 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
30573 fi
30574
30575 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30576 conftest$ac_exeext conftest.$ac_ext
30577 CFLAGS="$ac_save_CFLAGS"
30578 LIBS="$ac_save_LIBS"
30579 fi
30580 fi
30581 GTK_CFLAGS=""
30582 GTK_LIBS=""
30583 :
30584 fi
30585
30586
30587 rm -f conf.gtktest
30588
30589
30590 if test -z "$wx_cv_lib_gtk"; then
30591
30592 # Check whether --with-gtk-prefix was given.
30593 if test "${with_gtk_prefix+set}" = set; then
30594 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
30595 else
30596 gtk_config_prefix=""
30597 fi
30598
30599
30600 # Check whether --with-gtk-exec-prefix was given.
30601 if test "${with_gtk_exec_prefix+set}" = set; then
30602 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
30603 else
30604 gtk_config_exec_prefix=""
30605 fi
30606
30607 # Check whether --enable-gtktest was given.
30608 if test "${enable_gtktest+set}" = set; then
30609 enableval=$enable_gtktest;
30610 else
30611 enable_gtktest=yes
30612 fi
30613
30614
30615 for module in . $GTK_MODULES
30616 do
30617 case "$module" in
30618 gthread)
30619 gtk_config_args="$gtk_config_args gthread"
30620 ;;
30621 esac
30622 done
30623
30624 if test x$gtk_config_exec_prefix != x ; then
30625 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
30626 if test x${GTK_CONFIG+set} != xset ; then
30627 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
30628 fi
30629 fi
30630 if test x$gtk_config_prefix != x ; then
30631 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
30632 if test x${GTK_CONFIG+set} != xset ; then
30633 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
30634 fi
30635 fi
30636
30637 # Extract the first word of "gtk-config", so it can be a program name with args.
30638 set dummy gtk-config; ac_word=$2
30639 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30640 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30641 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
30642 echo $ECHO_N "(cached) $ECHO_C" >&6
30643 else
30644 case $GTK_CONFIG in
30645 [\\/]* | ?:[\\/]*)
30646 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
30647 ;;
30648 *)
30649 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30650 for as_dir in $PATH
30651 do
30652 IFS=$as_save_IFS
30653 test -z "$as_dir" && as_dir=.
30654 for ac_exec_ext in '' $ac_executable_extensions; do
30655 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30656 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30657 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30658 break 2
30659 fi
30660 done
30661 done
30662 IFS=$as_save_IFS
30663
30664 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
30665 ;;
30666 esac
30667 fi
30668 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
30669 if test -n "$GTK_CONFIG"; then
30670 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
30671 echo "${ECHO_T}$GTK_CONFIG" >&6; }
30672 else
30673 { echo "$as_me:$LINENO: result: no" >&5
30674 echo "${ECHO_T}no" >&6; }
30675 fi
30676
30677
30678 min_gtk_version=1.2.3
30679 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
30680 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
30681 no_gtk=""
30682 if test "$GTK_CONFIG" = "no" ; then
30683 no_gtk=yes
30684 else
30685 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
30686 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
30687 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
30688 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30689 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
30690 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30691 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
30692 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30693 if test "x$enable_gtktest" = "xyes" ; then
30694 ac_save_CFLAGS="$CFLAGS"
30695 ac_save_LIBS="$LIBS"
30696 CFLAGS="$CFLAGS $GTK_CFLAGS"
30697 LIBS="$GTK_LIBS $LIBS"
30698 rm -f conf.gtktest
30699 if test "$cross_compiling" = yes; then
30700 echo $ac_n "cross compiling; assumed OK... $ac_c"
30701 else
30702 cat >conftest.$ac_ext <<_ACEOF
30703 /* confdefs.h. */
30704 _ACEOF
30705 cat confdefs.h >>conftest.$ac_ext
30706 cat >>conftest.$ac_ext <<_ACEOF
30707 /* end confdefs.h. */
30708
30709 #include <gtk/gtk.h>
30710 #include <stdio.h>
30711 #include <stdlib.h>
30712
30713 int
30714 main ()
30715 {
30716 int major, minor, micro;
30717 char *tmp_version;
30718
30719 system ("touch conf.gtktest");
30720
30721 /* HP/UX 9 (%@#!) writes to sscanf strings */
30722 tmp_version = g_strdup("$min_gtk_version");
30723 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
30724 printf("%s, bad version string\n", "$min_gtk_version");
30725 exit(1);
30726 }
30727
30728 if ((gtk_major_version != $gtk_config_major_version) ||
30729 (gtk_minor_version != $gtk_config_minor_version) ||
30730 (gtk_micro_version != $gtk_config_micro_version))
30731 {
30732 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30733 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30734 gtk_major_version, gtk_minor_version, gtk_micro_version);
30735 printf ("*** was found! If gtk-config was correct, then it is best\n");
30736 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30737 printf("*** by modifying your LD_LIBRARY_PATH environment variable, or by editing\n");
30738 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30739 printf("*** required on your system.\n");
30740 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
30741 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
30742 printf("*** before re-running configure\n");
30743 }
30744 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
30745 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30746 (gtk_minor_version != GTK_MINOR_VERSION) ||
30747 (gtk_micro_version != GTK_MICRO_VERSION))
30748 {
30749 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30750 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30751 printf("*** library (version %d.%d.%d)\n",
30752 gtk_major_version, gtk_minor_version, gtk_micro_version);
30753 }
30754 #endif /* defined (GTK_MAJOR_VERSION) ... */
30755 else
30756 {
30757 if ((gtk_major_version > major) ||
30758 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30759 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30760 {
30761 return 0;
30762 }
30763 else
30764 {
30765 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30766 gtk_major_version, gtk_minor_version, gtk_micro_version);
30767 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30768 major, minor, micro);
30769 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30770 printf("***\n");
30771 printf("*** If you have already installed a sufficiently new version, this error\n");
30772 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
30773 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30774 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
30775 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
30776 printf("*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf\n");
30777 printf("*** so that the correct libraries are found at run-time))\n");
30778 }
30779 }
30780 return 1;
30781 }
30782
30783 _ACEOF
30784 rm -f conftest$ac_exeext
30785 if { (ac_try="$ac_link"
30786 case "(($ac_try" in
30787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30788 *) ac_try_echo=$ac_try;;
30789 esac
30790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30791 (eval "$ac_link") 2>&5
30792 ac_status=$?
30793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30794 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30795 { (case "(($ac_try" in
30796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30797 *) ac_try_echo=$ac_try;;
30798 esac
30799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30800 (eval "$ac_try") 2>&5
30801 ac_status=$?
30802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30803 (exit $ac_status); }; }; then
30804 :
30805 else
30806 echo "$as_me: program exited with status $ac_status" >&5
30807 echo "$as_me: failed program was:" >&5
30808 sed 's/^/| /' conftest.$ac_ext >&5
30809
30810 ( exit $ac_status )
30811 no_gtk=yes
30812 fi
30813 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30814 fi
30815
30816
30817 CFLAGS="$ac_save_CFLAGS"
30818 LIBS="$ac_save_LIBS"
30819 fi
30820 fi
30821 if test "x$no_gtk" = x ; then
30822 { echo "$as_me:$LINENO: result: yes" >&5
30823 echo "${ECHO_T}yes" >&6; }
30824 wx_cv_lib_gtk=1.2.3
30825 else
30826 { echo "$as_me:$LINENO: result: no" >&5
30827 echo "${ECHO_T}no" >&6; }
30828 if test "$GTK_CONFIG" = "no" ; then
30829 echo "*** The gtk-config script installed by GTK could not be found"
30830 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
30831 echo "*** your path, or set the GTK_CONFIG environment variable to the"
30832 echo "*** full path to gtk-config."
30833 else
30834 if test -f conf.gtktest ; then
30835 :
30836 else
30837 echo "*** Could not run GTK test program, checking why..."
30838 CFLAGS="$CFLAGS $GTK_CFLAGS"
30839 LIBS="$LIBS $GTK_LIBS"
30840 cat >conftest.$ac_ext <<_ACEOF
30841 /* confdefs.h. */
30842 _ACEOF
30843 cat confdefs.h >>conftest.$ac_ext
30844 cat >>conftest.$ac_ext <<_ACEOF
30845 /* end confdefs.h. */
30846
30847 #include <gtk/gtk.h>
30848 #include <stdio.h>
30849
30850 int
30851 main ()
30852 {
30853 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30854 ;
30855 return 0;
30856 }
30857 _ACEOF
30858 rm -f conftest.$ac_objext conftest$ac_exeext
30859 if { (ac_try="$ac_link"
30860 case "(($ac_try" in
30861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30862 *) ac_try_echo=$ac_try;;
30863 esac
30864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30865 (eval "$ac_link") 2>conftest.er1
30866 ac_status=$?
30867 grep -v '^ *+' conftest.er1 >conftest.err
30868 rm -f conftest.er1
30869 cat conftest.err >&5
30870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30871 (exit $ac_status); } && {
30872 test -z "$ac_c_werror_flag" ||
30873 test ! -s conftest.err
30874 } && test -s conftest$ac_exeext &&
30875 $as_test_x conftest$ac_exeext; then
30876 echo "*** The test program compiled, but did not run. This usually means"
30877 echo "*** that the run-time linker is not finding GTK or finding the wrong"
30878 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
30879 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30880 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30881 echo "*** is required on your system"
30882 echo "***"
30883 echo "*** If you have an old version installed, it is best to remove it, although"
30884 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30885 echo "***"
30886 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
30887 echo "*** came with the system with the command"
30888 echo "***"
30889 echo "*** rpm --erase --nodeps gtk gtk-devel"
30890 else
30891 echo "$as_me: failed program was:" >&5
30892 sed 's/^/| /' conftest.$ac_ext >&5
30893
30894 echo "*** The test program failed to compile or link. See the file config.log for the"
30895 echo "*** exact error that occurred. This usually means GTK was incorrectly installed"
30896 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
30897 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
30898 fi
30899
30900 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30901 conftest$ac_exeext conftest.$ac_ext
30902 CFLAGS="$ac_save_CFLAGS"
30903 LIBS="$ac_save_LIBS"
30904 fi
30905 fi
30906 GTK_CFLAGS=""
30907 GTK_LIBS=""
30908 :
30909 fi
30910
30911
30912 rm -f conf.gtktest
30913
30914 fi
30915 fi
30916 fi
30917
30918 if test -z "$wx_cv_lib_gtk"; then
30919 wx_cv_lib_gtk=none
30920 else
30921 GTK_LIBS="$GTK_LIBS -lX11"
30922
30923 wx_cv_cflags_gtk=$GTK_CFLAGS
30924 wx_cv_libs_gtk=$GTK_LIBS
30925 fi
30926
30927
30928 fi
30929
30930
30931 if test "$gtk_version_cached" = 1; then
30932 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
30933 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
30934 fi
30935
30936 case "$wx_cv_lib_gtk" in
30937 2.0) WXGTK2=1
30938 TOOLKIT_VERSION=2
30939 ;;
30940 1.2.7) WXGTK127=1
30941 ;;
30942 1.2*) ;;
30943 *) { { echo "$as_me:$LINENO: error:
30944 The development files for GTK+ were not found. For GTK+ 2, please
30945 ensure that pkg-config is in the path and that gtk+-2.0.pc is
30946 installed. For GTK+ 1.2 please check that gtk-config is in the path,
30947 and that the version is 1.2.3 or above. Also check that the
30948 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
30949 --libs' are in the LD_LIBRARY_PATH or equivalent.
30950 " >&5
30951 echo "$as_me: error:
30952 The development files for GTK+ were not found. For GTK+ 2, please
30953 ensure that pkg-config is in the path and that gtk+-2.0.pc is
30954 installed. For GTK+ 1.2 please check that gtk-config is in the path,
30955 and that the version is 1.2.3 or above. Also check that the
30956 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
30957 --libs' are in the LD_LIBRARY_PATH or equivalent.
30958 " >&2;}
30959 { (exit 1); exit 1; }; }
30960 ;;
30961 esac
30962
30963 if test "$WXGTK2" = 1; then
30964 save_CFLAGS="$CFLAGS"
30965 save_LIBS="$LIBS"
30966 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
30967 LIBS="$LIBS $wx_cv_libs_gtk"
30968
30969 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.18" >&5
30970 echo $ECHO_N "checking if GTK+ is version >= 2.18... $ECHO_C" >&6; }
30971 cat >conftest.$ac_ext <<_ACEOF
30972 /* confdefs.h. */
30973 _ACEOF
30974 cat confdefs.h >>conftest.$ac_ext
30975 cat >>conftest.$ac_ext <<_ACEOF
30976 /* end confdefs.h. */
30977
30978 #include <gtk/gtk.h>
30979
30980 int
30981 main ()
30982 {
30983
30984 #if !GTK_CHECK_VERSION(2,18,0)
30985 Not GTK+ 2.18
30986 #endif
30987
30988 ;
30989 return 0;
30990 }
30991 _ACEOF
30992 rm -f conftest.$ac_objext
30993 if { (ac_try="$ac_compile"
30994 case "(($ac_try" in
30995 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30996 *) ac_try_echo=$ac_try;;
30997 esac
30998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30999 (eval "$ac_compile") 2>conftest.er1
31000 ac_status=$?
31001 grep -v '^ *+' conftest.er1 >conftest.err
31002 rm -f conftest.er1
31003 cat conftest.err >&5
31004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31005 (exit $ac_status); } && {
31006 test -z "$ac_c_werror_flag" ||
31007 test ! -s conftest.err
31008 } && test -s conftest.$ac_objext; then
31009
31010 cat >>confdefs.h <<\_ACEOF
31011 #define __WXGTK218__ 1
31012 _ACEOF
31013
31014 cat >>confdefs.h <<\_ACEOF
31015 #define __WXGTK210__ 1
31016 _ACEOF
31017
31018 cat >>confdefs.h <<\_ACEOF
31019 #define __WXGTK26__ 1
31020 _ACEOF
31021
31022 { echo "$as_me:$LINENO: result: yes" >&5
31023 echo "${ECHO_T}yes" >&6; }
31024 ac_wxgtk218=1
31025
31026 else
31027 echo "$as_me: failed program was:" >&5
31028 sed 's/^/| /' conftest.$ac_ext >&5
31029
31030
31031 { echo "$as_me:$LINENO: result: no" >&5
31032 echo "${ECHO_T}no" >&6; }
31033 ac_wxgtk218=0
31034
31035 fi
31036
31037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31038
31039 if test "$ac_wxgtk218" = 0; then
31040 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
31041 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
31042 cat >conftest.$ac_ext <<_ACEOF
31043 /* confdefs.h. */
31044 _ACEOF
31045 cat confdefs.h >>conftest.$ac_ext
31046 cat >>conftest.$ac_ext <<_ACEOF
31047 /* end confdefs.h. */
31048
31049 #include <gtk/gtk.h>
31050
31051 int
31052 main ()
31053 {
31054
31055 #if !GTK_CHECK_VERSION(2,10,0)
31056 Not GTK+ 2.10
31057 #endif
31058
31059 ;
31060 return 0;
31061 }
31062 _ACEOF
31063 rm -f conftest.$ac_objext
31064 if { (ac_try="$ac_compile"
31065 case "(($ac_try" in
31066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31067 *) ac_try_echo=$ac_try;;
31068 esac
31069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31070 (eval "$ac_compile") 2>conftest.er1
31071 ac_status=$?
31072 grep -v '^ *+' conftest.er1 >conftest.err
31073 rm -f conftest.er1
31074 cat conftest.err >&5
31075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31076 (exit $ac_status); } && {
31077 test -z "$ac_c_werror_flag" ||
31078 test ! -s conftest.err
31079 } && test -s conftest.$ac_objext; then
31080
31081 cat >>confdefs.h <<\_ACEOF
31082 #define __WXGTK210__ 1
31083 _ACEOF
31084
31085 cat >>confdefs.h <<\_ACEOF
31086 #define __WXGTK26__ 1
31087 _ACEOF
31088
31089 { echo "$as_me:$LINENO: result: yes" >&5
31090 echo "${ECHO_T}yes" >&6; }
31091 ac_wxgtk210=1
31092
31093 else
31094 echo "$as_me: failed program was:" >&5
31095 sed 's/^/| /' conftest.$ac_ext >&5
31096
31097
31098 { echo "$as_me:$LINENO: result: no" >&5
31099 echo "${ECHO_T}no" >&6; }
31100 ac_wxgtk210=0
31101
31102 fi
31103
31104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31105
31106 if test "$ac_wxgtk210" = 0; then
31107 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
31108 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
31109 cat >conftest.$ac_ext <<_ACEOF
31110 /* confdefs.h. */
31111 _ACEOF
31112 cat confdefs.h >>conftest.$ac_ext
31113 cat >>conftest.$ac_ext <<_ACEOF
31114 /* end confdefs.h. */
31115
31116 #include <gtk/gtk.h>
31117
31118 int
31119 main ()
31120 {
31121
31122 #if !GTK_CHECK_VERSION(2,6,0)
31123 Not GTK+ 2.6
31124 #endif
31125
31126 ;
31127 return 0;
31128 }
31129 _ACEOF
31130 rm -f conftest.$ac_objext
31131 if { (ac_try="$ac_compile"
31132 case "(($ac_try" in
31133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31134 *) ac_try_echo=$ac_try;;
31135 esac
31136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31137 (eval "$ac_compile") 2>conftest.er1
31138 ac_status=$?
31139 grep -v '^ *+' conftest.er1 >conftest.err
31140 rm -f conftest.er1
31141 cat conftest.err >&5
31142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31143 (exit $ac_status); } && {
31144 test -z "$ac_c_werror_flag" ||
31145 test ! -s conftest.err
31146 } && test -s conftest.$ac_objext; then
31147
31148 cat >>confdefs.h <<\_ACEOF
31149 #define __WXGTK26__ 1
31150 _ACEOF
31151
31152 { echo "$as_me:$LINENO: result: yes" >&5
31153 echo "${ECHO_T}yes" >&6; }
31154 ac_wxgtk26=1
31155
31156 else
31157 echo "$as_me: failed program was:" >&5
31158 sed 's/^/| /' conftest.$ac_ext >&5
31159
31160
31161 { echo "$as_me:$LINENO: result: no" >&5
31162 echo "${ECHO_T}no" >&6; }
31163 ac_wxgtk26=0
31164
31165 fi
31166
31167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31168 fi
31169 fi
31170
31171 CFLAGS="$save_CFLAGS"
31172 LIBS="$save_LIBS"
31173 else
31174 if test "$wxUSE_UNICODE" = "yes"; then
31175 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
31176 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
31177 wxUSE_UNICODE=no
31178 fi
31179
31180 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
31181 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
31182 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
31183 echo $ECHO_N "(cached) $ECHO_C" >&6
31184 else
31185 ac_check_lib_save_LIBS=$LIBS
31186 LIBS="-lgdk $LIBS"
31187 cat >conftest.$ac_ext <<_ACEOF
31188 /* confdefs.h. */
31189 _ACEOF
31190 cat confdefs.h >>conftest.$ac_ext
31191 cat >>conftest.$ac_ext <<_ACEOF
31192 /* end confdefs.h. */
31193
31194 /* Override any GCC internal prototype to avoid an error.
31195 Use char because int might match the return type of a GCC
31196 builtin and then its argument prototype would still apply. */
31197 #ifdef __cplusplus
31198 extern "C"
31199 #endif
31200 char gdk_im_open ();
31201 int
31202 main ()
31203 {
31204 return gdk_im_open ();
31205 ;
31206 return 0;
31207 }
31208 _ACEOF
31209 rm -f conftest.$ac_objext conftest$ac_exeext
31210 if { (ac_try="$ac_link"
31211 case "(($ac_try" in
31212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31213 *) ac_try_echo=$ac_try;;
31214 esac
31215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31216 (eval "$ac_link") 2>conftest.er1
31217 ac_status=$?
31218 grep -v '^ *+' conftest.er1 >conftest.err
31219 rm -f conftest.er1
31220 cat conftest.err >&5
31221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31222 (exit $ac_status); } && {
31223 test -z "$ac_c_werror_flag" ||
31224 test ! -s conftest.err
31225 } && test -s conftest$ac_exeext &&
31226 $as_test_x conftest$ac_exeext; then
31227 ac_cv_lib_gdk_gdk_im_open=yes
31228 else
31229 echo "$as_me: failed program was:" >&5
31230 sed 's/^/| /' conftest.$ac_ext >&5
31231
31232 ac_cv_lib_gdk_gdk_im_open=no
31233 fi
31234
31235 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31236 conftest$ac_exeext conftest.$ac_ext
31237 LIBS=$ac_check_lib_save_LIBS
31238 fi
31239 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
31240 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
31241 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
31242 cat >>confdefs.h <<\_ACEOF
31243 #define HAVE_XIM 1
31244 _ACEOF
31245
31246 fi
31247
31248
31249 if test "$USE_DARWIN" != 1; then
31250
31251 for ac_func in poll
31252 do
31253 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31254 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31255 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31256 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31257 echo $ECHO_N "(cached) $ECHO_C" >&6
31258 else
31259 cat >conftest.$ac_ext <<_ACEOF
31260 /* confdefs.h. */
31261 _ACEOF
31262 cat confdefs.h >>conftest.$ac_ext
31263 cat >>conftest.$ac_ext <<_ACEOF
31264 /* end confdefs.h. */
31265 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31266 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31267 #define $ac_func innocuous_$ac_func
31268
31269 /* System header to define __stub macros and hopefully few prototypes,
31270 which can conflict with char $ac_func (); below.
31271 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31272 <limits.h> exists even on freestanding compilers. */
31273
31274 #ifdef __STDC__
31275 # include <limits.h>
31276 #else
31277 # include <assert.h>
31278 #endif
31279
31280 #undef $ac_func
31281
31282 /* Override any GCC internal prototype to avoid an error.
31283 Use char because int might match the return type of a GCC
31284 builtin and then its argument prototype would still apply. */
31285 #ifdef __cplusplus
31286 extern "C"
31287 #endif
31288 char $ac_func ();
31289 /* The GNU C library defines this for functions which it implements
31290 to always fail with ENOSYS. Some functions are actually named
31291 something starting with __ and the normal name is an alias. */
31292 #if defined __stub_$ac_func || defined __stub___$ac_func
31293 choke me
31294 #endif
31295
31296 int
31297 main ()
31298 {
31299 return $ac_func ();
31300 ;
31301 return 0;
31302 }
31303 _ACEOF
31304 rm -f conftest.$ac_objext conftest$ac_exeext
31305 if { (ac_try="$ac_link"
31306 case "(($ac_try" in
31307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31308 *) ac_try_echo=$ac_try;;
31309 esac
31310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31311 (eval "$ac_link") 2>conftest.er1
31312 ac_status=$?
31313 grep -v '^ *+' conftest.er1 >conftest.err
31314 rm -f conftest.er1
31315 cat conftest.err >&5
31316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31317 (exit $ac_status); } && {
31318 test -z "$ac_c_werror_flag" ||
31319 test ! -s conftest.err
31320 } && test -s conftest$ac_exeext &&
31321 $as_test_x conftest$ac_exeext; then
31322 eval "$as_ac_var=yes"
31323 else
31324 echo "$as_me: failed program was:" >&5
31325 sed 's/^/| /' conftest.$ac_ext >&5
31326
31327 eval "$as_ac_var=no"
31328 fi
31329
31330 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31331 conftest$ac_exeext conftest.$ac_ext
31332 fi
31333 ac_res=`eval echo '${'$as_ac_var'}'`
31334 { echo "$as_me:$LINENO: result: $ac_res" >&5
31335 echo "${ECHO_T}$ac_res" >&6; }
31336 if test `eval echo '${'$as_ac_var'}'` = yes; then
31337 cat >>confdefs.h <<_ACEOF
31338 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31339 _ACEOF
31340
31341 fi
31342 done
31343
31344 fi
31345 fi
31346
31347 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
31348 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
31349 AFMINSTALL=afminstall
31350 TOOLKIT=GTK
31351 GUIDIST=GTK_DIST
31352
31353 if test "$wxUSE_GPE" = "yes"; then
31354 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
31355 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
31356
31357 ac_find_libraries=
31358 for ac_dir in $SEARCH_LIB
31359 do
31360 for ac_extension in a so sl dylib dll.a; do
31361 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
31362 ac_find_libraries=$ac_dir
31363 break 2
31364 fi
31365 done
31366 done
31367
31368 if test "$ac_find_libraries" != "" ; then
31369
31370 if test "$ac_find_libraries" = "default location"; then
31371 ac_path_to_link=""
31372 else
31373 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31374 result=$?
31375 if test $result = 0; then
31376 ac_path_to_link=""
31377 else
31378 ac_path_to_link=" -L$ac_find_libraries"
31379 fi
31380 fi
31381
31382 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
31383 WXGPE=1
31384 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31385 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31386 else
31387 { echo "$as_me:$LINENO: result: not found" >&5
31388 echo "${ECHO_T}not found" >&6; }
31389 fi
31390
31391 fi
31392 fi
31393
31394 if test "$wxUSE_DFB" = 1; then
31395
31396
31397 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31398 if test -n "$ac_tool_prefix"; then
31399 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31400 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
31401 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31402 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31403 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31404 echo $ECHO_N "(cached) $ECHO_C" >&6
31405 else
31406 case $PKG_CONFIG in
31407 [\\/]* | ?:[\\/]*)
31408 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
31409 ;;
31410 *)
31411 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31412 for as_dir in $PATH
31413 do
31414 IFS=$as_save_IFS
31415 test -z "$as_dir" && as_dir=.
31416 for ac_exec_ext in '' $ac_executable_extensions; do
31417 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31418 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31419 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31420 break 2
31421 fi
31422 done
31423 done
31424 IFS=$as_save_IFS
31425
31426 ;;
31427 esac
31428 fi
31429 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
31430 if test -n "$PKG_CONFIG"; then
31431 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31432 echo "${ECHO_T}$PKG_CONFIG" >&6; }
31433 else
31434 { echo "$as_me:$LINENO: result: no" >&5
31435 echo "${ECHO_T}no" >&6; }
31436 fi
31437
31438
31439 fi
31440 if test -z "$ac_cv_path_PKG_CONFIG"; then
31441 ac_pt_PKG_CONFIG=$PKG_CONFIG
31442 # Extract the first word of "pkg-config", so it can be a program name with args.
31443 set dummy pkg-config; ac_word=$2
31444 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31445 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31446 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31447 echo $ECHO_N "(cached) $ECHO_C" >&6
31448 else
31449 case $ac_pt_PKG_CONFIG in
31450 [\\/]* | ?:[\\/]*)
31451 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31452 ;;
31453 *)
31454 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31455 for as_dir in $PATH
31456 do
31457 IFS=$as_save_IFS
31458 test -z "$as_dir" && as_dir=.
31459 for ac_exec_ext in '' $ac_executable_extensions; do
31460 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31461 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31462 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31463 break 2
31464 fi
31465 done
31466 done
31467 IFS=$as_save_IFS
31468
31469 ;;
31470 esac
31471 fi
31472 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
31473 if test -n "$ac_pt_PKG_CONFIG"; then
31474 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31475 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
31476 else
31477 { echo "$as_me:$LINENO: result: no" >&5
31478 echo "${ECHO_T}no" >&6; }
31479 fi
31480
31481 if test "x$ac_pt_PKG_CONFIG" = x; then
31482 PKG_CONFIG=""
31483 else
31484 case $cross_compiling:$ac_tool_warned in
31485 yes:)
31486 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
31487 whose name does not start with the host triplet. If you think this
31488 configuration is useful to you, please write to autoconf@gnu.org." >&5
31489 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
31490 whose name does not start with the host triplet. If you think this
31491 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
31492 ac_tool_warned=yes ;;
31493 esac
31494 PKG_CONFIG=$ac_pt_PKG_CONFIG
31495 fi
31496 else
31497 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
31498 fi
31499
31500 fi
31501 if test -n "$PKG_CONFIG"; then
31502 _pkg_min_version=0.9.0
31503 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31504 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
31505 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31506 { echo "$as_me:$LINENO: result: yes" >&5
31507 echo "${ECHO_T}yes" >&6; }
31508 else
31509 { echo "$as_me:$LINENO: result: no" >&5
31510 echo "${ECHO_T}no" >&6; }
31511 PKG_CONFIG=""
31512 fi
31513
31514 fi
31515
31516
31517 pkg_failed=no
31518 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
31519 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
31520
31521 if test -n "$PKG_CONFIG"; then
31522 if test -n "$DIRECTFB_CFLAGS"; then
31523 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
31524 else
31525 if test -n "$PKG_CONFIG" && \
31526 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
31527 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
31528 ac_status=$?
31529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31530 (exit $ac_status); }; then
31531 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
31532 else
31533 pkg_failed=yes
31534 fi
31535 fi
31536 else
31537 pkg_failed=untried
31538 fi
31539 if test -n "$PKG_CONFIG"; then
31540 if test -n "$DIRECTFB_LIBS"; then
31541 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
31542 else
31543 if test -n "$PKG_CONFIG" && \
31544 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
31545 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
31546 ac_status=$?
31547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31548 (exit $ac_status); }; then
31549 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
31550 else
31551 pkg_failed=yes
31552 fi
31553 fi
31554 else
31555 pkg_failed=untried
31556 fi
31557
31558
31559
31560 if test $pkg_failed = yes; then
31561
31562 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31563 _pkg_short_errors_supported=yes
31564 else
31565 _pkg_short_errors_supported=no
31566 fi
31567 if test $_pkg_short_errors_supported = yes; then
31568 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
31569 else
31570 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
31571 fi
31572 # Put the nasty error message in config.log where it belongs
31573 echo "$DIRECTFB_PKG_ERRORS" >&5
31574
31575
31576 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
31577 echo "$as_me: error: DirectFB not found." >&2;}
31578 { (exit 1); exit 1; }; }
31579
31580
31581 elif test $pkg_failed = untried; then
31582
31583 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
31584 echo "$as_me: error: DirectFB not found." >&2;}
31585 { (exit 1); exit 1; }; }
31586
31587
31588 else
31589 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
31590 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
31591 { echo "$as_me:$LINENO: result: yes" >&5
31592 echo "${ECHO_T}yes" >&6; }
31593
31594 wxUSE_UNIVERSAL="yes"
31595 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
31596 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
31597 TOOLKIT=DFB
31598 GUIDIST=DFB_DIST
31599
31600 fi
31601 fi
31602
31603 if test "$wxUSE_MICROWIN" = 1; then
31604 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
31605 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
31606 if test "x$MICROWINDOWS" = x ; then
31607 { echo "$as_me:$LINENO: result: not found" >&5
31608 echo "${ECHO_T}not found" >&6; }
31609 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
31610 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
31611 { (exit 1); exit 1; }; }
31612 else
31613 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
31614 echo "${ECHO_T}$MICROWINDOWS" >&6; }
31615 fi
31616
31617 if test -f $MICROWINDOWS/lib/libmwin.a; then
31618 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
31619 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
31620 else
31621 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
31622 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
31623 { (exit 1); exit 1; }; }
31624 fi
31625
31626 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
31627 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
31628
31629 wxUSE_UNIVERSAL="yes"
31630
31631 AFMINSTALL=afminstall
31632 TOOLKIT=MICROWIN
31633 GUIDIST=MICROWIN_DIST
31634
31635 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
31636 fi
31637
31638 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31639 { echo "$as_me:$LINENO: checking for X" >&5
31640 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
31641
31642
31643 # Check whether --with-x was given.
31644 if test "${with_x+set}" = set; then
31645 withval=$with_x;
31646 fi
31647
31648 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
31649 if test "x$with_x" = xno; then
31650 # The user explicitly disabled X.
31651 have_x=disabled
31652 else
31653 case $x_includes,$x_libraries in #(
31654 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
31655 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
31656 { (exit 1); exit 1; }; };; #(
31657 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
31658 echo $ECHO_N "(cached) $ECHO_C" >&6
31659 else
31660 # One or both of the vars are not set, and there is no cached value.
31661 ac_x_includes=no ac_x_libraries=no
31662 rm -f -r conftest.dir
31663 if mkdir conftest.dir; then
31664 cd conftest.dir
31665 cat >Imakefile <<'_ACEOF'
31666 incroot:
31667 @echo incroot='${INCROOT}'
31668 usrlibdir:
31669 @echo usrlibdir='${USRLIBDIR}'
31670 libdir:
31671 @echo libdir='${LIBDIR}'
31672 _ACEOF
31673 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
31674 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
31675 for ac_var in incroot usrlibdir libdir; do
31676 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
31677 done
31678 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
31679 for ac_extension in a so sl; do
31680 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
31681 test -f "$ac_im_libdir/libX11.$ac_extension"; then
31682 ac_im_usrlibdir=$ac_im_libdir; break
31683 fi
31684 done
31685 # Screen out bogus values from the imake configuration. They are
31686 # bogus both because they are the default anyway, and because
31687 # using them would break gcc on systems where it needs fixed includes.
31688 case $ac_im_incroot in
31689 /usr/include) ac_x_includes= ;;
31690 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
31691 esac
31692 case $ac_im_usrlibdir in
31693 /usr/lib | /lib) ;;
31694 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
31695 esac
31696 fi
31697 cd ..
31698 rm -f -r conftest.dir
31699 fi
31700
31701 # Standard set of common directories for X headers.
31702 # Check X11 before X11Rn because it is often a symlink to the current release.
31703 ac_x_header_dirs='
31704 /usr/X11/include
31705 /usr/X11R6/include
31706 /usr/X11R5/include
31707 /usr/X11R4/include
31708
31709 /usr/include/X11
31710 /usr/include/X11R6
31711 /usr/include/X11R5
31712 /usr/include/X11R4
31713
31714 /usr/local/X11/include
31715 /usr/local/X11R6/include
31716 /usr/local/X11R5/include
31717 /usr/local/X11R4/include
31718
31719 /usr/local/include/X11
31720 /usr/local/include/X11R6
31721 /usr/local/include/X11R5
31722 /usr/local/include/X11R4
31723
31724 /usr/X386/include
31725 /usr/x386/include
31726 /usr/XFree86/include/X11
31727
31728 /usr/include
31729 /usr/local/include
31730 /usr/unsupported/include
31731 /usr/athena/include
31732 /usr/local/x11r5/include
31733 /usr/lpp/Xamples/include
31734
31735 /usr/openwin/include
31736 /usr/openwin/share/include'
31737
31738 if test "$ac_x_includes" = no; then
31739 # Guess where to find include files, by looking for Xlib.h.
31740 # First, try using that file with no special directory specified.
31741 cat >conftest.$ac_ext <<_ACEOF
31742 /* confdefs.h. */
31743 _ACEOF
31744 cat confdefs.h >>conftest.$ac_ext
31745 cat >>conftest.$ac_ext <<_ACEOF
31746 /* end confdefs.h. */
31747 #include <X11/Xlib.h>
31748 _ACEOF
31749 if { (ac_try="$ac_cpp conftest.$ac_ext"
31750 case "(($ac_try" in
31751 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31752 *) ac_try_echo=$ac_try;;
31753 esac
31754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31755 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
31756 ac_status=$?
31757 grep -v '^ *+' conftest.er1 >conftest.err
31758 rm -f conftest.er1
31759 cat conftest.err >&5
31760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31761 (exit $ac_status); } >/dev/null && {
31762 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
31763 test ! -s conftest.err
31764 }; then
31765 # We can compile using X headers with no special include directory.
31766 ac_x_includes=
31767 else
31768 echo "$as_me: failed program was:" >&5
31769 sed 's/^/| /' conftest.$ac_ext >&5
31770
31771 for ac_dir in $ac_x_header_dirs; do
31772 if test -r "$ac_dir/X11/Xlib.h"; then
31773 ac_x_includes=$ac_dir
31774 break
31775 fi
31776 done
31777 fi
31778
31779 rm -f conftest.err conftest.$ac_ext
31780 fi # $ac_x_includes = no
31781
31782 if test "$ac_x_libraries" = no; then
31783 # Check for the libraries.
31784 # See if we find them without any special options.
31785 # Don't add to $LIBS permanently.
31786 ac_save_LIBS=$LIBS
31787 LIBS="-lX11 $LIBS"
31788 cat >conftest.$ac_ext <<_ACEOF
31789 /* confdefs.h. */
31790 _ACEOF
31791 cat confdefs.h >>conftest.$ac_ext
31792 cat >>conftest.$ac_ext <<_ACEOF
31793 /* end confdefs.h. */
31794 #include <X11/Xlib.h>
31795 int
31796 main ()
31797 {
31798 XrmInitialize ()
31799 ;
31800 return 0;
31801 }
31802 _ACEOF
31803 rm -f conftest.$ac_objext conftest$ac_exeext
31804 if { (ac_try="$ac_link"
31805 case "(($ac_try" in
31806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31807 *) ac_try_echo=$ac_try;;
31808 esac
31809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31810 (eval "$ac_link") 2>conftest.er1
31811 ac_status=$?
31812 grep -v '^ *+' conftest.er1 >conftest.err
31813 rm -f conftest.er1
31814 cat conftest.err >&5
31815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31816 (exit $ac_status); } && {
31817 test -z "$ac_c_werror_flag" ||
31818 test ! -s conftest.err
31819 } && test -s conftest$ac_exeext &&
31820 $as_test_x conftest$ac_exeext; then
31821 LIBS=$ac_save_LIBS
31822 # We can link X programs with no special library path.
31823 ac_x_libraries=
31824 else
31825 echo "$as_me: failed program was:" >&5
31826 sed 's/^/| /' conftest.$ac_ext >&5
31827
31828 LIBS=$ac_save_LIBS
31829 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
31830 do
31831 # Don't even attempt the hair of trying to link an X program!
31832 for ac_extension in a so sl; do
31833 if test -r "$ac_dir/libX11.$ac_extension"; then
31834 ac_x_libraries=$ac_dir
31835 break 2
31836 fi
31837 done
31838 done
31839 fi
31840
31841 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31842 conftest$ac_exeext conftest.$ac_ext
31843 fi # $ac_x_libraries = no
31844
31845 case $ac_x_includes,$ac_x_libraries in #(
31846 no,* | *,no | *\'*)
31847 # Didn't find X, or a directory has "'" in its name.
31848 ac_cv_have_x="have_x=no";; #(
31849 *)
31850 # Record where we found X for the cache.
31851 ac_cv_have_x="have_x=yes\
31852 ac_x_includes='$ac_x_includes'\
31853 ac_x_libraries='$ac_x_libraries'"
31854 esac
31855 fi
31856 ;; #(
31857 *) have_x=yes;;
31858 esac
31859 eval "$ac_cv_have_x"
31860 fi # $with_x != no
31861
31862 if test "$have_x" != yes; then
31863 { echo "$as_me:$LINENO: result: $have_x" >&5
31864 echo "${ECHO_T}$have_x" >&6; }
31865 no_x=yes
31866 else
31867 # If each of the values was on the command line, it overrides each guess.
31868 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
31869 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
31870 # Update the cache value to reflect the command line values.
31871 ac_cv_have_x="have_x=yes\
31872 ac_x_includes='$x_includes'\
31873 ac_x_libraries='$x_libraries'"
31874 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
31875 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
31876 fi
31877
31878 if test "$no_x" = yes; then
31879 # Not all programs may use this symbol, but it does not hurt to define it.
31880
31881 cat >>confdefs.h <<\_ACEOF
31882 #define X_DISPLAY_MISSING 1
31883 _ACEOF
31884
31885 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
31886 else
31887 if test -n "$x_includes"; then
31888 X_CFLAGS="$X_CFLAGS -I$x_includes"
31889 fi
31890
31891 # It would also be nice to do this for all -L options, not just this one.
31892 if test -n "$x_libraries"; then
31893 X_LIBS="$X_LIBS -L$x_libraries"
31894 # For Solaris; some versions of Sun CC require a space after -R and
31895 # others require no space. Words are not sufficient . . . .
31896 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
31897 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
31898 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
31899 ac_xsave_c_werror_flag=$ac_c_werror_flag
31900 ac_c_werror_flag=yes
31901 cat >conftest.$ac_ext <<_ACEOF
31902 /* confdefs.h. */
31903 _ACEOF
31904 cat confdefs.h >>conftest.$ac_ext
31905 cat >>conftest.$ac_ext <<_ACEOF
31906 /* end confdefs.h. */
31907
31908 int
31909 main ()
31910 {
31911
31912 ;
31913 return 0;
31914 }
31915 _ACEOF
31916 rm -f conftest.$ac_objext conftest$ac_exeext
31917 if { (ac_try="$ac_link"
31918 case "(($ac_try" in
31919 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31920 *) ac_try_echo=$ac_try;;
31921 esac
31922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31923 (eval "$ac_link") 2>conftest.er1
31924 ac_status=$?
31925 grep -v '^ *+' conftest.er1 >conftest.err
31926 rm -f conftest.er1
31927 cat conftest.err >&5
31928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31929 (exit $ac_status); } && {
31930 test -z "$ac_c_werror_flag" ||
31931 test ! -s conftest.err
31932 } && test -s conftest$ac_exeext &&
31933 $as_test_x conftest$ac_exeext; then
31934 { echo "$as_me:$LINENO: result: no" >&5
31935 echo "${ECHO_T}no" >&6; }
31936 X_LIBS="$X_LIBS -R$x_libraries"
31937 else
31938 echo "$as_me: failed program was:" >&5
31939 sed 's/^/| /' conftest.$ac_ext >&5
31940
31941 LIBS="$ac_xsave_LIBS -R $x_libraries"
31942 cat >conftest.$ac_ext <<_ACEOF
31943 /* confdefs.h. */
31944 _ACEOF
31945 cat confdefs.h >>conftest.$ac_ext
31946 cat >>conftest.$ac_ext <<_ACEOF
31947 /* end confdefs.h. */
31948
31949 int
31950 main ()
31951 {
31952
31953 ;
31954 return 0;
31955 }
31956 _ACEOF
31957 rm -f conftest.$ac_objext conftest$ac_exeext
31958 if { (ac_try="$ac_link"
31959 case "(($ac_try" in
31960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31961 *) ac_try_echo=$ac_try;;
31962 esac
31963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31964 (eval "$ac_link") 2>conftest.er1
31965 ac_status=$?
31966 grep -v '^ *+' conftest.er1 >conftest.err
31967 rm -f conftest.er1
31968 cat conftest.err >&5
31969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31970 (exit $ac_status); } && {
31971 test -z "$ac_c_werror_flag" ||
31972 test ! -s conftest.err
31973 } && test -s conftest$ac_exeext &&
31974 $as_test_x conftest$ac_exeext; then
31975 { echo "$as_me:$LINENO: result: yes" >&5
31976 echo "${ECHO_T}yes" >&6; }
31977 X_LIBS="$X_LIBS -R $x_libraries"
31978 else
31979 echo "$as_me: failed program was:" >&5
31980 sed 's/^/| /' conftest.$ac_ext >&5
31981
31982 { echo "$as_me:$LINENO: result: neither works" >&5
31983 echo "${ECHO_T}neither works" >&6; }
31984 fi
31985
31986 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31987 conftest$ac_exeext conftest.$ac_ext
31988 fi
31989
31990 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31991 conftest$ac_exeext conftest.$ac_ext
31992 ac_c_werror_flag=$ac_xsave_c_werror_flag
31993 LIBS=$ac_xsave_LIBS
31994 fi
31995
31996 # Check for system-dependent libraries X programs must link with.
31997 # Do this before checking for the system-independent R6 libraries
31998 # (-lICE), since we may need -lsocket or whatever for X linking.
31999
32000 if test "$ISC" = yes; then
32001 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
32002 else
32003 # Martyn Johnson says this is needed for Ultrix, if the X
32004 # libraries were built with DECnet support. And Karl Berry says
32005 # the Alpha needs dnet_stub (dnet does not exist).
32006 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
32007 cat >conftest.$ac_ext <<_ACEOF
32008 /* confdefs.h. */
32009 _ACEOF
32010 cat confdefs.h >>conftest.$ac_ext
32011 cat >>conftest.$ac_ext <<_ACEOF
32012 /* end confdefs.h. */
32013
32014 /* Override any GCC internal prototype to avoid an error.
32015 Use char because int might match the return type of a GCC
32016 builtin and then its argument prototype would still apply. */
32017 #ifdef __cplusplus
32018 extern "C"
32019 #endif
32020 char XOpenDisplay ();
32021 int
32022 main ()
32023 {
32024 return XOpenDisplay ();
32025 ;
32026 return 0;
32027 }
32028 _ACEOF
32029 rm -f conftest.$ac_objext conftest$ac_exeext
32030 if { (ac_try="$ac_link"
32031 case "(($ac_try" in
32032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32033 *) ac_try_echo=$ac_try;;
32034 esac
32035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32036 (eval "$ac_link") 2>conftest.er1
32037 ac_status=$?
32038 grep -v '^ *+' conftest.er1 >conftest.err
32039 rm -f conftest.er1
32040 cat conftest.err >&5
32041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32042 (exit $ac_status); } && {
32043 test -z "$ac_c_werror_flag" ||
32044 test ! -s conftest.err
32045 } && test -s conftest$ac_exeext &&
32046 $as_test_x conftest$ac_exeext; then
32047 :
32048 else
32049 echo "$as_me: failed program was:" >&5
32050 sed 's/^/| /' conftest.$ac_ext >&5
32051
32052 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
32053 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
32054 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
32055 echo $ECHO_N "(cached) $ECHO_C" >&6
32056 else
32057 ac_check_lib_save_LIBS=$LIBS
32058 LIBS="-ldnet $LIBS"
32059 cat >conftest.$ac_ext <<_ACEOF
32060 /* confdefs.h. */
32061 _ACEOF
32062 cat confdefs.h >>conftest.$ac_ext
32063 cat >>conftest.$ac_ext <<_ACEOF
32064 /* end confdefs.h. */
32065
32066 /* Override any GCC internal prototype to avoid an error.
32067 Use char because int might match the return type of a GCC
32068 builtin and then its argument prototype would still apply. */
32069 #ifdef __cplusplus
32070 extern "C"
32071 #endif
32072 char dnet_ntoa ();
32073 int
32074 main ()
32075 {
32076 return dnet_ntoa ();
32077 ;
32078 return 0;
32079 }
32080 _ACEOF
32081 rm -f conftest.$ac_objext conftest$ac_exeext
32082 if { (ac_try="$ac_link"
32083 case "(($ac_try" in
32084 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32085 *) ac_try_echo=$ac_try;;
32086 esac
32087 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32088 (eval "$ac_link") 2>conftest.er1
32089 ac_status=$?
32090 grep -v '^ *+' conftest.er1 >conftest.err
32091 rm -f conftest.er1
32092 cat conftest.err >&5
32093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32094 (exit $ac_status); } && {
32095 test -z "$ac_c_werror_flag" ||
32096 test ! -s conftest.err
32097 } && test -s conftest$ac_exeext &&
32098 $as_test_x conftest$ac_exeext; then
32099 ac_cv_lib_dnet_dnet_ntoa=yes
32100 else
32101 echo "$as_me: failed program was:" >&5
32102 sed 's/^/| /' conftest.$ac_ext >&5
32103
32104 ac_cv_lib_dnet_dnet_ntoa=no
32105 fi
32106
32107 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32108 conftest$ac_exeext conftest.$ac_ext
32109 LIBS=$ac_check_lib_save_LIBS
32110 fi
32111 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
32112 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
32113 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
32114 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
32115 fi
32116
32117 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
32118 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
32119 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
32120 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
32121 echo $ECHO_N "(cached) $ECHO_C" >&6
32122 else
32123 ac_check_lib_save_LIBS=$LIBS
32124 LIBS="-ldnet_stub $LIBS"
32125 cat >conftest.$ac_ext <<_ACEOF
32126 /* confdefs.h. */
32127 _ACEOF
32128 cat confdefs.h >>conftest.$ac_ext
32129 cat >>conftest.$ac_ext <<_ACEOF
32130 /* end confdefs.h. */
32131
32132 /* Override any GCC internal prototype to avoid an error.
32133 Use char because int might match the return type of a GCC
32134 builtin and then its argument prototype would still apply. */
32135 #ifdef __cplusplus
32136 extern "C"
32137 #endif
32138 char dnet_ntoa ();
32139 int
32140 main ()
32141 {
32142 return dnet_ntoa ();
32143 ;
32144 return 0;
32145 }
32146 _ACEOF
32147 rm -f conftest.$ac_objext conftest$ac_exeext
32148 if { (ac_try="$ac_link"
32149 case "(($ac_try" in
32150 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32151 *) ac_try_echo=$ac_try;;
32152 esac
32153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32154 (eval "$ac_link") 2>conftest.er1
32155 ac_status=$?
32156 grep -v '^ *+' conftest.er1 >conftest.err
32157 rm -f conftest.er1
32158 cat conftest.err >&5
32159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32160 (exit $ac_status); } && {
32161 test -z "$ac_c_werror_flag" ||
32162 test ! -s conftest.err
32163 } && test -s conftest$ac_exeext &&
32164 $as_test_x conftest$ac_exeext; then
32165 ac_cv_lib_dnet_stub_dnet_ntoa=yes
32166 else
32167 echo "$as_me: failed program was:" >&5
32168 sed 's/^/| /' conftest.$ac_ext >&5
32169
32170 ac_cv_lib_dnet_stub_dnet_ntoa=no
32171 fi
32172
32173 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32174 conftest$ac_exeext conftest.$ac_ext
32175 LIBS=$ac_check_lib_save_LIBS
32176 fi
32177 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
32178 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
32179 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
32180 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
32181 fi
32182
32183 fi
32184 fi
32185
32186 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32187 conftest$ac_exeext conftest.$ac_ext
32188 LIBS="$ac_xsave_LIBS"
32189
32190 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
32191 # to get the SysV transport functions.
32192 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
32193 # needs -lnsl.
32194 # The nsl library prevents programs from opening the X display
32195 # on Irix 5.2, according to T.E. Dickey.
32196 # The functions gethostbyname, getservbyname, and inet_addr are
32197 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
32198 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
32199 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
32200 if test "${ac_cv_func_gethostbyname+set}" = set; then
32201 echo $ECHO_N "(cached) $ECHO_C" >&6
32202 else
32203 cat >conftest.$ac_ext <<_ACEOF
32204 /* confdefs.h. */
32205 _ACEOF
32206 cat confdefs.h >>conftest.$ac_ext
32207 cat >>conftest.$ac_ext <<_ACEOF
32208 /* end confdefs.h. */
32209 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
32210 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32211 #define gethostbyname innocuous_gethostbyname
32212
32213 /* System header to define __stub macros and hopefully few prototypes,
32214 which can conflict with char gethostbyname (); below.
32215 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32216 <limits.h> exists even on freestanding compilers. */
32217
32218 #ifdef __STDC__
32219 # include <limits.h>
32220 #else
32221 # include <assert.h>
32222 #endif
32223
32224 #undef gethostbyname
32225
32226 /* Override any GCC internal prototype to avoid an error.
32227 Use char because int might match the return type of a GCC
32228 builtin and then its argument prototype would still apply. */
32229 #ifdef __cplusplus
32230 extern "C"
32231 #endif
32232 char gethostbyname ();
32233 /* The GNU C library defines this for functions which it implements
32234 to always fail with ENOSYS. Some functions are actually named
32235 something starting with __ and the normal name is an alias. */
32236 #if defined __stub_gethostbyname || defined __stub___gethostbyname
32237 choke me
32238 #endif
32239
32240 int
32241 main ()
32242 {
32243 return gethostbyname ();
32244 ;
32245 return 0;
32246 }
32247 _ACEOF
32248 rm -f conftest.$ac_objext conftest$ac_exeext
32249 if { (ac_try="$ac_link"
32250 case "(($ac_try" in
32251 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32252 *) ac_try_echo=$ac_try;;
32253 esac
32254 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32255 (eval "$ac_link") 2>conftest.er1
32256 ac_status=$?
32257 grep -v '^ *+' conftest.er1 >conftest.err
32258 rm -f conftest.er1
32259 cat conftest.err >&5
32260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32261 (exit $ac_status); } && {
32262 test -z "$ac_c_werror_flag" ||
32263 test ! -s conftest.err
32264 } && test -s conftest$ac_exeext &&
32265 $as_test_x conftest$ac_exeext; then
32266 ac_cv_func_gethostbyname=yes
32267 else
32268 echo "$as_me: failed program was:" >&5
32269 sed 's/^/| /' conftest.$ac_ext >&5
32270
32271 ac_cv_func_gethostbyname=no
32272 fi
32273
32274 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32275 conftest$ac_exeext conftest.$ac_ext
32276 fi
32277 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
32278 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
32279
32280 if test $ac_cv_func_gethostbyname = no; then
32281 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
32282 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
32283 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
32284 echo $ECHO_N "(cached) $ECHO_C" >&6
32285 else
32286 ac_check_lib_save_LIBS=$LIBS
32287 LIBS="-lnsl $LIBS"
32288 cat >conftest.$ac_ext <<_ACEOF
32289 /* confdefs.h. */
32290 _ACEOF
32291 cat confdefs.h >>conftest.$ac_ext
32292 cat >>conftest.$ac_ext <<_ACEOF
32293 /* end confdefs.h. */
32294
32295 /* Override any GCC internal prototype to avoid an error.
32296 Use char because int might match the return type of a GCC
32297 builtin and then its argument prototype would still apply. */
32298 #ifdef __cplusplus
32299 extern "C"
32300 #endif
32301 char gethostbyname ();
32302 int
32303 main ()
32304 {
32305 return gethostbyname ();
32306 ;
32307 return 0;
32308 }
32309 _ACEOF
32310 rm -f conftest.$ac_objext conftest$ac_exeext
32311 if { (ac_try="$ac_link"
32312 case "(($ac_try" in
32313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32314 *) ac_try_echo=$ac_try;;
32315 esac
32316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32317 (eval "$ac_link") 2>conftest.er1
32318 ac_status=$?
32319 grep -v '^ *+' conftest.er1 >conftest.err
32320 rm -f conftest.er1
32321 cat conftest.err >&5
32322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32323 (exit $ac_status); } && {
32324 test -z "$ac_c_werror_flag" ||
32325 test ! -s conftest.err
32326 } && test -s conftest$ac_exeext &&
32327 $as_test_x conftest$ac_exeext; then
32328 ac_cv_lib_nsl_gethostbyname=yes
32329 else
32330 echo "$as_me: failed program was:" >&5
32331 sed 's/^/| /' conftest.$ac_ext >&5
32332
32333 ac_cv_lib_nsl_gethostbyname=no
32334 fi
32335
32336 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32337 conftest$ac_exeext conftest.$ac_ext
32338 LIBS=$ac_check_lib_save_LIBS
32339 fi
32340 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
32341 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
32342 if test $ac_cv_lib_nsl_gethostbyname = yes; then
32343 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
32344 fi
32345
32346 if test $ac_cv_lib_nsl_gethostbyname = no; then
32347 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
32348 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
32349 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
32350 echo $ECHO_N "(cached) $ECHO_C" >&6
32351 else
32352 ac_check_lib_save_LIBS=$LIBS
32353 LIBS="-lbsd $LIBS"
32354 cat >conftest.$ac_ext <<_ACEOF
32355 /* confdefs.h. */
32356 _ACEOF
32357 cat confdefs.h >>conftest.$ac_ext
32358 cat >>conftest.$ac_ext <<_ACEOF
32359 /* end confdefs.h. */
32360
32361 /* Override any GCC internal prototype to avoid an error.
32362 Use char because int might match the return type of a GCC
32363 builtin and then its argument prototype would still apply. */
32364 #ifdef __cplusplus
32365 extern "C"
32366 #endif
32367 char gethostbyname ();
32368 int
32369 main ()
32370 {
32371 return gethostbyname ();
32372 ;
32373 return 0;
32374 }
32375 _ACEOF
32376 rm -f conftest.$ac_objext conftest$ac_exeext
32377 if { (ac_try="$ac_link"
32378 case "(($ac_try" in
32379 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32380 *) ac_try_echo=$ac_try;;
32381 esac
32382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32383 (eval "$ac_link") 2>conftest.er1
32384 ac_status=$?
32385 grep -v '^ *+' conftest.er1 >conftest.err
32386 rm -f conftest.er1
32387 cat conftest.err >&5
32388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32389 (exit $ac_status); } && {
32390 test -z "$ac_c_werror_flag" ||
32391 test ! -s conftest.err
32392 } && test -s conftest$ac_exeext &&
32393 $as_test_x conftest$ac_exeext; then
32394 ac_cv_lib_bsd_gethostbyname=yes
32395 else
32396 echo "$as_me: failed program was:" >&5
32397 sed 's/^/| /' conftest.$ac_ext >&5
32398
32399 ac_cv_lib_bsd_gethostbyname=no
32400 fi
32401
32402 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32403 conftest$ac_exeext conftest.$ac_ext
32404 LIBS=$ac_check_lib_save_LIBS
32405 fi
32406 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
32407 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
32408 if test $ac_cv_lib_bsd_gethostbyname = yes; then
32409 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
32410 fi
32411
32412 fi
32413 fi
32414
32415 # lieder@skyler.mavd.honeywell.com says without -lsocket,
32416 # socket/setsockopt and other routines are undefined under SCO ODT
32417 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
32418 # on later versions), says Simon Leinen: it contains gethostby*
32419 # variants that don't use the name server (or something). -lsocket
32420 # must be given before -lnsl if both are needed. We assume that
32421 # if connect needs -lnsl, so does gethostbyname.
32422 { echo "$as_me:$LINENO: checking for connect" >&5
32423 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
32424 if test "${ac_cv_func_connect+set}" = set; then
32425 echo $ECHO_N "(cached) $ECHO_C" >&6
32426 else
32427 cat >conftest.$ac_ext <<_ACEOF
32428 /* confdefs.h. */
32429 _ACEOF
32430 cat confdefs.h >>conftest.$ac_ext
32431 cat >>conftest.$ac_ext <<_ACEOF
32432 /* end confdefs.h. */
32433 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
32434 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32435 #define connect innocuous_connect
32436
32437 /* System header to define __stub macros and hopefully few prototypes,
32438 which can conflict with char connect (); below.
32439 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32440 <limits.h> exists even on freestanding compilers. */
32441
32442 #ifdef __STDC__
32443 # include <limits.h>
32444 #else
32445 # include <assert.h>
32446 #endif
32447
32448 #undef connect
32449
32450 /* Override any GCC internal prototype to avoid an error.
32451 Use char because int might match the return type of a GCC
32452 builtin and then its argument prototype would still apply. */
32453 #ifdef __cplusplus
32454 extern "C"
32455 #endif
32456 char connect ();
32457 /* The GNU C library defines this for functions which it implements
32458 to always fail with ENOSYS. Some functions are actually named
32459 something starting with __ and the normal name is an alias. */
32460 #if defined __stub_connect || defined __stub___connect
32461 choke me
32462 #endif
32463
32464 int
32465 main ()
32466 {
32467 return connect ();
32468 ;
32469 return 0;
32470 }
32471 _ACEOF
32472 rm -f conftest.$ac_objext conftest$ac_exeext
32473 if { (ac_try="$ac_link"
32474 case "(($ac_try" in
32475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32476 *) ac_try_echo=$ac_try;;
32477 esac
32478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32479 (eval "$ac_link") 2>conftest.er1
32480 ac_status=$?
32481 grep -v '^ *+' conftest.er1 >conftest.err
32482 rm -f conftest.er1
32483 cat conftest.err >&5
32484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32485 (exit $ac_status); } && {
32486 test -z "$ac_c_werror_flag" ||
32487 test ! -s conftest.err
32488 } && test -s conftest$ac_exeext &&
32489 $as_test_x conftest$ac_exeext; then
32490 ac_cv_func_connect=yes
32491 else
32492 echo "$as_me: failed program was:" >&5
32493 sed 's/^/| /' conftest.$ac_ext >&5
32494
32495 ac_cv_func_connect=no
32496 fi
32497
32498 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32499 conftest$ac_exeext conftest.$ac_ext
32500 fi
32501 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
32502 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
32503
32504 if test $ac_cv_func_connect = no; then
32505 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
32506 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
32507 if test "${ac_cv_lib_socket_connect+set}" = set; then
32508 echo $ECHO_N "(cached) $ECHO_C" >&6
32509 else
32510 ac_check_lib_save_LIBS=$LIBS
32511 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
32512 cat >conftest.$ac_ext <<_ACEOF
32513 /* confdefs.h. */
32514 _ACEOF
32515 cat confdefs.h >>conftest.$ac_ext
32516 cat >>conftest.$ac_ext <<_ACEOF
32517 /* end confdefs.h. */
32518
32519 /* Override any GCC internal prototype to avoid an error.
32520 Use char because int might match the return type of a GCC
32521 builtin and then its argument prototype would still apply. */
32522 #ifdef __cplusplus
32523 extern "C"
32524 #endif
32525 char connect ();
32526 int
32527 main ()
32528 {
32529 return connect ();
32530 ;
32531 return 0;
32532 }
32533 _ACEOF
32534 rm -f conftest.$ac_objext conftest$ac_exeext
32535 if { (ac_try="$ac_link"
32536 case "(($ac_try" in
32537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32538 *) ac_try_echo=$ac_try;;
32539 esac
32540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32541 (eval "$ac_link") 2>conftest.er1
32542 ac_status=$?
32543 grep -v '^ *+' conftest.er1 >conftest.err
32544 rm -f conftest.er1
32545 cat conftest.err >&5
32546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32547 (exit $ac_status); } && {
32548 test -z "$ac_c_werror_flag" ||
32549 test ! -s conftest.err
32550 } && test -s conftest$ac_exeext &&
32551 $as_test_x conftest$ac_exeext; then
32552 ac_cv_lib_socket_connect=yes
32553 else
32554 echo "$as_me: failed program was:" >&5
32555 sed 's/^/| /' conftest.$ac_ext >&5
32556
32557 ac_cv_lib_socket_connect=no
32558 fi
32559
32560 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32561 conftest$ac_exeext conftest.$ac_ext
32562 LIBS=$ac_check_lib_save_LIBS
32563 fi
32564 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
32565 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
32566 if test $ac_cv_lib_socket_connect = yes; then
32567 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
32568 fi
32569
32570 fi
32571
32572 # Guillermo Gomez says -lposix is necessary on A/UX.
32573 { echo "$as_me:$LINENO: checking for remove" >&5
32574 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
32575 if test "${ac_cv_func_remove+set}" = set; then
32576 echo $ECHO_N "(cached) $ECHO_C" >&6
32577 else
32578 cat >conftest.$ac_ext <<_ACEOF
32579 /* confdefs.h. */
32580 _ACEOF
32581 cat confdefs.h >>conftest.$ac_ext
32582 cat >>conftest.$ac_ext <<_ACEOF
32583 /* end confdefs.h. */
32584 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
32585 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32586 #define remove innocuous_remove
32587
32588 /* System header to define __stub macros and hopefully few prototypes,
32589 which can conflict with char remove (); below.
32590 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32591 <limits.h> exists even on freestanding compilers. */
32592
32593 #ifdef __STDC__
32594 # include <limits.h>
32595 #else
32596 # include <assert.h>
32597 #endif
32598
32599 #undef remove
32600
32601 /* Override any GCC internal prototype to avoid an error.
32602 Use char because int might match the return type of a GCC
32603 builtin and then its argument prototype would still apply. */
32604 #ifdef __cplusplus
32605 extern "C"
32606 #endif
32607 char remove ();
32608 /* The GNU C library defines this for functions which it implements
32609 to always fail with ENOSYS. Some functions are actually named
32610 something starting with __ and the normal name is an alias. */
32611 #if defined __stub_remove || defined __stub___remove
32612 choke me
32613 #endif
32614
32615 int
32616 main ()
32617 {
32618 return remove ();
32619 ;
32620 return 0;
32621 }
32622 _ACEOF
32623 rm -f conftest.$ac_objext conftest$ac_exeext
32624 if { (ac_try="$ac_link"
32625 case "(($ac_try" in
32626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32627 *) ac_try_echo=$ac_try;;
32628 esac
32629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32630 (eval "$ac_link") 2>conftest.er1
32631 ac_status=$?
32632 grep -v '^ *+' conftest.er1 >conftest.err
32633 rm -f conftest.er1
32634 cat conftest.err >&5
32635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32636 (exit $ac_status); } && {
32637 test -z "$ac_c_werror_flag" ||
32638 test ! -s conftest.err
32639 } && test -s conftest$ac_exeext &&
32640 $as_test_x conftest$ac_exeext; then
32641 ac_cv_func_remove=yes
32642 else
32643 echo "$as_me: failed program was:" >&5
32644 sed 's/^/| /' conftest.$ac_ext >&5
32645
32646 ac_cv_func_remove=no
32647 fi
32648
32649 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32650 conftest$ac_exeext conftest.$ac_ext
32651 fi
32652 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
32653 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
32654
32655 if test $ac_cv_func_remove = no; then
32656 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
32657 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
32658 if test "${ac_cv_lib_posix_remove+set}" = set; then
32659 echo $ECHO_N "(cached) $ECHO_C" >&6
32660 else
32661 ac_check_lib_save_LIBS=$LIBS
32662 LIBS="-lposix $LIBS"
32663 cat >conftest.$ac_ext <<_ACEOF
32664 /* confdefs.h. */
32665 _ACEOF
32666 cat confdefs.h >>conftest.$ac_ext
32667 cat >>conftest.$ac_ext <<_ACEOF
32668 /* end confdefs.h. */
32669
32670 /* Override any GCC internal prototype to avoid an error.
32671 Use char because int might match the return type of a GCC
32672 builtin and then its argument prototype would still apply. */
32673 #ifdef __cplusplus
32674 extern "C"
32675 #endif
32676 char remove ();
32677 int
32678 main ()
32679 {
32680 return remove ();
32681 ;
32682 return 0;
32683 }
32684 _ACEOF
32685 rm -f conftest.$ac_objext conftest$ac_exeext
32686 if { (ac_try="$ac_link"
32687 case "(($ac_try" in
32688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32689 *) ac_try_echo=$ac_try;;
32690 esac
32691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32692 (eval "$ac_link") 2>conftest.er1
32693 ac_status=$?
32694 grep -v '^ *+' conftest.er1 >conftest.err
32695 rm -f conftest.er1
32696 cat conftest.err >&5
32697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32698 (exit $ac_status); } && {
32699 test -z "$ac_c_werror_flag" ||
32700 test ! -s conftest.err
32701 } && test -s conftest$ac_exeext &&
32702 $as_test_x conftest$ac_exeext; then
32703 ac_cv_lib_posix_remove=yes
32704 else
32705 echo "$as_me: failed program was:" >&5
32706 sed 's/^/| /' conftest.$ac_ext >&5
32707
32708 ac_cv_lib_posix_remove=no
32709 fi
32710
32711 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32712 conftest$ac_exeext conftest.$ac_ext
32713 LIBS=$ac_check_lib_save_LIBS
32714 fi
32715 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
32716 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
32717 if test $ac_cv_lib_posix_remove = yes; then
32718 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
32719 fi
32720
32721 fi
32722
32723 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
32724 { echo "$as_me:$LINENO: checking for shmat" >&5
32725 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
32726 if test "${ac_cv_func_shmat+set}" = set; then
32727 echo $ECHO_N "(cached) $ECHO_C" >&6
32728 else
32729 cat >conftest.$ac_ext <<_ACEOF
32730 /* confdefs.h. */
32731 _ACEOF
32732 cat confdefs.h >>conftest.$ac_ext
32733 cat >>conftest.$ac_ext <<_ACEOF
32734 /* end confdefs.h. */
32735 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
32736 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32737 #define shmat innocuous_shmat
32738
32739 /* System header to define __stub macros and hopefully few prototypes,
32740 which can conflict with char shmat (); below.
32741 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32742 <limits.h> exists even on freestanding compilers. */
32743
32744 #ifdef __STDC__
32745 # include <limits.h>
32746 #else
32747 # include <assert.h>
32748 #endif
32749
32750 #undef shmat
32751
32752 /* Override any GCC internal prototype to avoid an error.
32753 Use char because int might match the return type of a GCC
32754 builtin and then its argument prototype would still apply. */
32755 #ifdef __cplusplus
32756 extern "C"
32757 #endif
32758 char shmat ();
32759 /* The GNU C library defines this for functions which it implements
32760 to always fail with ENOSYS. Some functions are actually named
32761 something starting with __ and the normal name is an alias. */
32762 #if defined __stub_shmat || defined __stub___shmat
32763 choke me
32764 #endif
32765
32766 int
32767 main ()
32768 {
32769 return shmat ();
32770 ;
32771 return 0;
32772 }
32773 _ACEOF
32774 rm -f conftest.$ac_objext conftest$ac_exeext
32775 if { (ac_try="$ac_link"
32776 case "(($ac_try" in
32777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32778 *) ac_try_echo=$ac_try;;
32779 esac
32780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32781 (eval "$ac_link") 2>conftest.er1
32782 ac_status=$?
32783 grep -v '^ *+' conftest.er1 >conftest.err
32784 rm -f conftest.er1
32785 cat conftest.err >&5
32786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32787 (exit $ac_status); } && {
32788 test -z "$ac_c_werror_flag" ||
32789 test ! -s conftest.err
32790 } && test -s conftest$ac_exeext &&
32791 $as_test_x conftest$ac_exeext; then
32792 ac_cv_func_shmat=yes
32793 else
32794 echo "$as_me: failed program was:" >&5
32795 sed 's/^/| /' conftest.$ac_ext >&5
32796
32797 ac_cv_func_shmat=no
32798 fi
32799
32800 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32801 conftest$ac_exeext conftest.$ac_ext
32802 fi
32803 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
32804 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
32805
32806 if test $ac_cv_func_shmat = no; then
32807 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
32808 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
32809 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
32810 echo $ECHO_N "(cached) $ECHO_C" >&6
32811 else
32812 ac_check_lib_save_LIBS=$LIBS
32813 LIBS="-lipc $LIBS"
32814 cat >conftest.$ac_ext <<_ACEOF
32815 /* confdefs.h. */
32816 _ACEOF
32817 cat confdefs.h >>conftest.$ac_ext
32818 cat >>conftest.$ac_ext <<_ACEOF
32819 /* end confdefs.h. */
32820
32821 /* Override any GCC internal prototype to avoid an error.
32822 Use char because int might match the return type of a GCC
32823 builtin and then its argument prototype would still apply. */
32824 #ifdef __cplusplus
32825 extern "C"
32826 #endif
32827 char shmat ();
32828 int
32829 main ()
32830 {
32831 return shmat ();
32832 ;
32833 return 0;
32834 }
32835 _ACEOF
32836 rm -f conftest.$ac_objext conftest$ac_exeext
32837 if { (ac_try="$ac_link"
32838 case "(($ac_try" in
32839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32840 *) ac_try_echo=$ac_try;;
32841 esac
32842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32843 (eval "$ac_link") 2>conftest.er1
32844 ac_status=$?
32845 grep -v '^ *+' conftest.er1 >conftest.err
32846 rm -f conftest.er1
32847 cat conftest.err >&5
32848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32849 (exit $ac_status); } && {
32850 test -z "$ac_c_werror_flag" ||
32851 test ! -s conftest.err
32852 } && test -s conftest$ac_exeext &&
32853 $as_test_x conftest$ac_exeext; then
32854 ac_cv_lib_ipc_shmat=yes
32855 else
32856 echo "$as_me: failed program was:" >&5
32857 sed 's/^/| /' conftest.$ac_ext >&5
32858
32859 ac_cv_lib_ipc_shmat=no
32860 fi
32861
32862 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32863 conftest$ac_exeext conftest.$ac_ext
32864 LIBS=$ac_check_lib_save_LIBS
32865 fi
32866 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
32867 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
32868 if test $ac_cv_lib_ipc_shmat = yes; then
32869 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
32870 fi
32871
32872 fi
32873 fi
32874
32875 # Check for libraries that X11R6 Xt/Xaw programs need.
32876 ac_save_LDFLAGS=$LDFLAGS
32877 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
32878 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
32879 # check for ICE first), but we must link in the order -lSM -lICE or
32880 # we get undefined symbols. So assume we have SM if we have ICE.
32881 # These have to be linked with before -lX11, unlike the other
32882 # libraries we check for below, so use a different variable.
32883 # John Interrante, Karl Berry
32884 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
32885 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
32886 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
32887 echo $ECHO_N "(cached) $ECHO_C" >&6
32888 else
32889 ac_check_lib_save_LIBS=$LIBS
32890 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
32891 cat >conftest.$ac_ext <<_ACEOF
32892 /* confdefs.h. */
32893 _ACEOF
32894 cat confdefs.h >>conftest.$ac_ext
32895 cat >>conftest.$ac_ext <<_ACEOF
32896 /* end confdefs.h. */
32897
32898 /* Override any GCC internal prototype to avoid an error.
32899 Use char because int might match the return type of a GCC
32900 builtin and then its argument prototype would still apply. */
32901 #ifdef __cplusplus
32902 extern "C"
32903 #endif
32904 char IceConnectionNumber ();
32905 int
32906 main ()
32907 {
32908 return IceConnectionNumber ();
32909 ;
32910 return 0;
32911 }
32912 _ACEOF
32913 rm -f conftest.$ac_objext conftest$ac_exeext
32914 if { (ac_try="$ac_link"
32915 case "(($ac_try" in
32916 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32917 *) ac_try_echo=$ac_try;;
32918 esac
32919 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32920 (eval "$ac_link") 2>conftest.er1
32921 ac_status=$?
32922 grep -v '^ *+' conftest.er1 >conftest.err
32923 rm -f conftest.er1
32924 cat conftest.err >&5
32925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32926 (exit $ac_status); } && {
32927 test -z "$ac_c_werror_flag" ||
32928 test ! -s conftest.err
32929 } && test -s conftest$ac_exeext &&
32930 $as_test_x conftest$ac_exeext; then
32931 ac_cv_lib_ICE_IceConnectionNumber=yes
32932 else
32933 echo "$as_me: failed program was:" >&5
32934 sed 's/^/| /' conftest.$ac_ext >&5
32935
32936 ac_cv_lib_ICE_IceConnectionNumber=no
32937 fi
32938
32939 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32940 conftest$ac_exeext conftest.$ac_ext
32941 LIBS=$ac_check_lib_save_LIBS
32942 fi
32943 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
32944 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
32945 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
32946 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
32947 fi
32948
32949 LDFLAGS=$ac_save_LDFLAGS
32950
32951 fi
32952
32953
32954 if test "$no_x" = "yes"; then
32955 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
32956 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
32957 { (exit 1); exit 1; }; }
32958 fi
32959
32960 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
32961 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
32962 AFMINSTALL=afminstall
32963 COMPILED_X_PROGRAM=0
32964
32965 fi
32966
32967 if test "$wxUSE_X11" = 1; then
32968 if test "$wxUSE_NANOX" = "yes"; then
32969 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
32970 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
32971 if test "x$MICROWIN" = x ; then
32972 { echo "$as_me:$LINENO: result: not found" >&5
32973 echo "${ECHO_T}not found" >&6; }
32974 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
32975 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
32976 { (exit 1); exit 1; }; }
32977 else
32978 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
32979 echo "${ECHO_T}$MICROWIN" >&6; }
32980 cat >>confdefs.h <<\_ACEOF
32981 #define wxUSE_NANOX 1
32982 _ACEOF
32983
32984 fi
32985 fi
32986
32987 if test "$wxUSE_UNICODE" = "yes"; then
32988
32989
32990 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
32991 if test -n "$ac_tool_prefix"; then
32992 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
32993 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
32994 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32995 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32996 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
32997 echo $ECHO_N "(cached) $ECHO_C" >&6
32998 else
32999 case $PKG_CONFIG in
33000 [\\/]* | ?:[\\/]*)
33001 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
33002 ;;
33003 *)
33004 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33005 for as_dir in $PATH
33006 do
33007 IFS=$as_save_IFS
33008 test -z "$as_dir" && as_dir=.
33009 for ac_exec_ext in '' $ac_executable_extensions; do
33010 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33011 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33012 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33013 break 2
33014 fi
33015 done
33016 done
33017 IFS=$as_save_IFS
33018
33019 ;;
33020 esac
33021 fi
33022 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
33023 if test -n "$PKG_CONFIG"; then
33024 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
33025 echo "${ECHO_T}$PKG_CONFIG" >&6; }
33026 else
33027 { echo "$as_me:$LINENO: result: no" >&5
33028 echo "${ECHO_T}no" >&6; }
33029 fi
33030
33031
33032 fi
33033 if test -z "$ac_cv_path_PKG_CONFIG"; then
33034 ac_pt_PKG_CONFIG=$PKG_CONFIG
33035 # Extract the first word of "pkg-config", so it can be a program name with args.
33036 set dummy pkg-config; ac_word=$2
33037 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33038 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33039 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
33040 echo $ECHO_N "(cached) $ECHO_C" >&6
33041 else
33042 case $ac_pt_PKG_CONFIG in
33043 [\\/]* | ?:[\\/]*)
33044 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
33045 ;;
33046 *)
33047 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33048 for as_dir in $PATH
33049 do
33050 IFS=$as_save_IFS
33051 test -z "$as_dir" && as_dir=.
33052 for ac_exec_ext in '' $ac_executable_extensions; do
33053 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33054 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33055 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33056 break 2
33057 fi
33058 done
33059 done
33060 IFS=$as_save_IFS
33061
33062 ;;
33063 esac
33064 fi
33065 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
33066 if test -n "$ac_pt_PKG_CONFIG"; then
33067 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
33068 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
33069 else
33070 { echo "$as_me:$LINENO: result: no" >&5
33071 echo "${ECHO_T}no" >&6; }
33072 fi
33073
33074 if test "x$ac_pt_PKG_CONFIG" = x; then
33075 PKG_CONFIG=""
33076 else
33077 case $cross_compiling:$ac_tool_warned in
33078 yes:)
33079 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
33080 whose name does not start with the host triplet. If you think this
33081 configuration is useful to you, please write to autoconf@gnu.org." >&5
33082 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
33083 whose name does not start with the host triplet. If you think this
33084 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
33085 ac_tool_warned=yes ;;
33086 esac
33087 PKG_CONFIG=$ac_pt_PKG_CONFIG
33088 fi
33089 else
33090 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
33091 fi
33092
33093 fi
33094 if test -n "$PKG_CONFIG"; then
33095 _pkg_min_version=0.9.0
33096 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
33097 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
33098 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
33099 { echo "$as_me:$LINENO: result: yes" >&5
33100 echo "${ECHO_T}yes" >&6; }
33101 else
33102 { echo "$as_me:$LINENO: result: no" >&5
33103 echo "${ECHO_T}no" >&6; }
33104 PKG_CONFIG=""
33105 fi
33106
33107 fi
33108
33109
33110 pkg_failed=no
33111 { echo "$as_me:$LINENO: checking for PANGOX" >&5
33112 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
33113
33114 if test -n "$PKG_CONFIG"; then
33115 if test -n "$PANGOX_CFLAGS"; then
33116 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
33117 else
33118 if test -n "$PKG_CONFIG" && \
33119 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
33120 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
33121 ac_status=$?
33122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33123 (exit $ac_status); }; then
33124 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
33125 else
33126 pkg_failed=yes
33127 fi
33128 fi
33129 else
33130 pkg_failed=untried
33131 fi
33132 if test -n "$PKG_CONFIG"; then
33133 if test -n "$PANGOX_LIBS"; then
33134 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
33135 else
33136 if test -n "$PKG_CONFIG" && \
33137 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
33138 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
33139 ac_status=$?
33140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33141 (exit $ac_status); }; then
33142 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
33143 else
33144 pkg_failed=yes
33145 fi
33146 fi
33147 else
33148 pkg_failed=untried
33149 fi
33150
33151
33152
33153 if test $pkg_failed = yes; then
33154
33155 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33156 _pkg_short_errors_supported=yes
33157 else
33158 _pkg_short_errors_supported=no
33159 fi
33160 if test $_pkg_short_errors_supported = yes; then
33161 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
33162 else
33163 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
33164 fi
33165 # Put the nasty error message in config.log where it belongs
33166 echo "$PANGOX_PKG_ERRORS" >&5
33167
33168
33169 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
33170 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
33171 { (exit 1); exit 1; }; }
33172
33173
33174 elif test $pkg_failed = untried; then
33175
33176 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
33177 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
33178 { (exit 1); exit 1; }; }
33179
33180
33181 else
33182 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
33183 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
33184 { echo "$as_me:$LINENO: result: yes" >&5
33185 echo "${ECHO_T}yes" >&6; }
33186
33187 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
33188 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
33189 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
33190
33191 fi
33192
33193 pkg_failed=no
33194 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
33195 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
33196
33197 if test -n "$PKG_CONFIG"; then
33198 if test -n "$PANGOFT2_CFLAGS"; then
33199 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
33200 else
33201 if test -n "$PKG_CONFIG" && \
33202 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
33203 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
33204 ac_status=$?
33205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33206 (exit $ac_status); }; then
33207 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
33208 else
33209 pkg_failed=yes
33210 fi
33211 fi
33212 else
33213 pkg_failed=untried
33214 fi
33215 if test -n "$PKG_CONFIG"; then
33216 if test -n "$PANGOFT2_LIBS"; then
33217 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
33218 else
33219 if test -n "$PKG_CONFIG" && \
33220 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
33221 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
33222 ac_status=$?
33223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33224 (exit $ac_status); }; then
33225 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
33226 else
33227 pkg_failed=yes
33228 fi
33229 fi
33230 else
33231 pkg_failed=untried
33232 fi
33233
33234
33235
33236 if test $pkg_failed = yes; then
33237
33238 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33239 _pkg_short_errors_supported=yes
33240 else
33241 _pkg_short_errors_supported=no
33242 fi
33243 if test $_pkg_short_errors_supported = yes; then
33244 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
33245 else
33246 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
33247 fi
33248 # Put the nasty error message in config.log where it belongs
33249 echo "$PANGOFT2_PKG_ERRORS" >&5
33250
33251
33252 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
33253 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
33254 wxUSE_PRINTING_ARCHITECTURE="no"
33255
33256
33257 elif test $pkg_failed = untried; then
33258
33259 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
33260 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
33261 wxUSE_PRINTING_ARCHITECTURE="no"
33262
33263
33264 else
33265 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
33266 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
33267 { echo "$as_me:$LINENO: result: yes" >&5
33268 echo "${ECHO_T}yes" >&6; }
33269
33270 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
33271 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
33272 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
33273
33274 fi
33275
33276 pkg_failed=no
33277 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
33278 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
33279
33280 if test -n "$PKG_CONFIG"; then
33281 if test -n "$PANGOXFT_CFLAGS"; then
33282 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
33283 else
33284 if test -n "$PKG_CONFIG" && \
33285 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
33286 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
33287 ac_status=$?
33288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33289 (exit $ac_status); }; then
33290 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
33291 else
33292 pkg_failed=yes
33293 fi
33294 fi
33295 else
33296 pkg_failed=untried
33297 fi
33298 if test -n "$PKG_CONFIG"; then
33299 if test -n "$PANGOXFT_LIBS"; then
33300 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
33301 else
33302 if test -n "$PKG_CONFIG" && \
33303 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
33304 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
33305 ac_status=$?
33306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33307 (exit $ac_status); }; then
33308 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
33309 else
33310 pkg_failed=yes
33311 fi
33312 fi
33313 else
33314 pkg_failed=untried
33315 fi
33316
33317
33318
33319 if test $pkg_failed = yes; then
33320
33321 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33322 _pkg_short_errors_supported=yes
33323 else
33324 _pkg_short_errors_supported=no
33325 fi
33326 if test $_pkg_short_errors_supported = yes; then
33327 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
33328 else
33329 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
33330 fi
33331 # Put the nasty error message in config.log where it belongs
33332 echo "$PANGOXFT_PKG_ERRORS" >&5
33333
33334
33335 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
33336 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
33337
33338
33339 elif test $pkg_failed = untried; then
33340
33341 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
33342 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
33343
33344
33345 else
33346 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
33347 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
33348 { echo "$as_me:$LINENO: result: yes" >&5
33349 echo "${ECHO_T}yes" >&6; }
33350
33351 cat >>confdefs.h <<\_ACEOF
33352 #define HAVE_PANGO_XFT 1
33353 _ACEOF
33354
33355 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
33356 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
33357 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
33358
33359 fi
33360 save_LIBS="$LIBS"
33361 LIBS="$LIBS $PANGOX_LIBS"
33362
33363 for ac_func in pango_font_family_is_monospace
33364 do
33365 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33366 { echo "$as_me:$LINENO: checking for $ac_func" >&5
33367 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
33368 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
33369 echo $ECHO_N "(cached) $ECHO_C" >&6
33370 else
33371 cat >conftest.$ac_ext <<_ACEOF
33372 /* confdefs.h. */
33373 _ACEOF
33374 cat confdefs.h >>conftest.$ac_ext
33375 cat >>conftest.$ac_ext <<_ACEOF
33376 /* end confdefs.h. */
33377 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33378 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33379 #define $ac_func innocuous_$ac_func
33380
33381 /* System header to define __stub macros and hopefully few prototypes,
33382 which can conflict with char $ac_func (); below.
33383 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33384 <limits.h> exists even on freestanding compilers. */
33385
33386 #ifdef __STDC__
33387 # include <limits.h>
33388 #else
33389 # include <assert.h>
33390 #endif
33391
33392 #undef $ac_func
33393
33394 /* Override any GCC internal prototype to avoid an error.
33395 Use char because int might match the return type of a GCC
33396 builtin and then its argument prototype would still apply. */
33397 #ifdef __cplusplus
33398 extern "C"
33399 #endif
33400 char $ac_func ();
33401 /* The GNU C library defines this for functions which it implements
33402 to always fail with ENOSYS. Some functions are actually named
33403 something starting with __ and the normal name is an alias. */
33404 #if defined __stub_$ac_func || defined __stub___$ac_func
33405 choke me
33406 #endif
33407
33408 int
33409 main ()
33410 {
33411 return $ac_func ();
33412 ;
33413 return 0;
33414 }
33415 _ACEOF
33416 rm -f conftest.$ac_objext conftest$ac_exeext
33417 if { (ac_try="$ac_link"
33418 case "(($ac_try" in
33419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33420 *) ac_try_echo=$ac_try;;
33421 esac
33422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33423 (eval "$ac_link") 2>conftest.er1
33424 ac_status=$?
33425 grep -v '^ *+' conftest.er1 >conftest.err
33426 rm -f conftest.er1
33427 cat conftest.err >&5
33428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33429 (exit $ac_status); } && {
33430 test -z "$ac_c_werror_flag" ||
33431 test ! -s conftest.err
33432 } && test -s conftest$ac_exeext &&
33433 $as_test_x conftest$ac_exeext; then
33434 eval "$as_ac_var=yes"
33435 else
33436 echo "$as_me: failed program was:" >&5
33437 sed 's/^/| /' conftest.$ac_ext >&5
33438
33439 eval "$as_ac_var=no"
33440 fi
33441
33442 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33443 conftest$ac_exeext conftest.$ac_ext
33444 fi
33445 ac_res=`eval echo '${'$as_ac_var'}'`
33446 { echo "$as_me:$LINENO: result: $ac_res" >&5
33447 echo "${ECHO_T}$ac_res" >&6; }
33448 if test `eval echo '${'$as_ac_var'}'` = yes; then
33449 cat >>confdefs.h <<_ACEOF
33450 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33451 _ACEOF
33452
33453 fi
33454 done
33455
33456 LIBS="$save_LIBS"
33457 fi
33458
33459 wxUSE_UNIVERSAL="yes"
33460
33461 if test "$wxUSE_NANOX" = "yes"; then
33462 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
33463 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"
33464 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
33465 else
33466 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
33467 fi
33468
33469 TOOLKIT=X11
33470 GUIDIST=X11_DIST
33471 fi
33472
33473 if test "$wxUSE_MOTIF" = 1; then
33474 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
33475 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
33476
33477 ac_find_includes=
33478 for ac_dir in $SEARCH_INCLUDE /usr/include
33479 do
33480 if test -f "$ac_dir/Xm/Xm.h"; then
33481 ac_find_includes=$ac_dir
33482 break
33483 fi
33484 done
33485
33486 if test "$ac_find_includes" != "" ; then
33487 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33488 echo "${ECHO_T}found in $ac_find_includes" >&6; }
33489
33490 if test "x$ac_find_includes" = "x/usr/include"; then
33491 ac_path_to_include=""
33492 else
33493 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
33494 result=$?
33495 if test $result = 0; then
33496 ac_path_to_include=""
33497 else
33498 ac_path_to_include=" -I$ac_find_includes"
33499 fi
33500 fi
33501
33502 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
33503 else
33504 save_CFLAGS=$CFLAGS
33505 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33506
33507 cat >conftest.$ac_ext <<_ACEOF
33508 /* confdefs.h. */
33509 _ACEOF
33510 cat confdefs.h >>conftest.$ac_ext
33511 cat >>conftest.$ac_ext <<_ACEOF
33512 /* end confdefs.h. */
33513
33514 #include <Xm/Xm.h>
33515
33516 int
33517 main ()
33518 {
33519
33520 int version;
33521 version = xmUseVersion;
33522
33523 ;
33524 return 0;
33525 }
33526 _ACEOF
33527 rm -f conftest.$ac_objext
33528 if { (ac_try="$ac_compile"
33529 case "(($ac_try" in
33530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33531 *) ac_try_echo=$ac_try;;
33532 esac
33533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33534 (eval "$ac_compile") 2>conftest.er1
33535 ac_status=$?
33536 grep -v '^ *+' conftest.er1 >conftest.err
33537 rm -f conftest.er1
33538 cat conftest.err >&5
33539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33540 (exit $ac_status); } && {
33541 test -z "$ac_c_werror_flag" ||
33542 test ! -s conftest.err
33543 } && test -s conftest.$ac_objext; then
33544
33545 { echo "$as_me:$LINENO: result: found in default search path" >&5
33546 echo "${ECHO_T}found in default search path" >&6; }
33547 COMPILED_X_PROGRAM=1
33548
33549 else
33550 echo "$as_me: failed program was:" >&5
33551 sed 's/^/| /' conftest.$ac_ext >&5
33552
33553
33554 { echo "$as_me:$LINENO: result: no" >&5
33555 echo "${ECHO_T}no" >&6; }
33556 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
33557 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
33558 { (exit 1); exit 1; }; }
33559
33560
33561 fi
33562
33563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33564
33565 CFLAGS=$save_CFLAGS
33566 fi
33567
33568
33569 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
33570 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
33571
33572 ac_find_libraries=
33573 for ac_dir in $SEARCH_LIB
33574 do
33575 for ac_extension in a so sl dylib dll.a; do
33576 if test -f "$ac_dir/libXm.$ac_extension"; then
33577 ac_find_libraries=$ac_dir
33578 break 2
33579 fi
33580 done
33581 done
33582
33583
33584 if test "x$ac_find_libraries" != "x" ; then
33585 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33586 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33587
33588
33589 if test "$ac_find_libraries" = "default location"; then
33590 ac_path_to_link=""
33591 else
33592 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
33593 result=$?
33594 if test $result = 0; then
33595 ac_path_to_link=""
33596 else
33597 ac_path_to_link=" -L$ac_find_libraries"
33598 fi
33599 fi
33600
33601 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
33602 else
33603 save_CFLAGS=$CFLAGS
33604 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33605 save_LIBS="$LIBS"
33606 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
33607
33608 cat >conftest.$ac_ext <<_ACEOF
33609 /* confdefs.h. */
33610 _ACEOF
33611 cat confdefs.h >>conftest.$ac_ext
33612 cat >>conftest.$ac_ext <<_ACEOF
33613 /* end confdefs.h. */
33614
33615 #include <Xm/Xm.h>
33616
33617 int
33618 main ()
33619 {
33620
33621 int version;
33622 version = xmUseVersion;
33623
33624 ;
33625 return 0;
33626 }
33627 _ACEOF
33628 rm -f conftest.$ac_objext conftest$ac_exeext
33629 if { (ac_try="$ac_link"
33630 case "(($ac_try" in
33631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33632 *) ac_try_echo=$ac_try;;
33633 esac
33634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33635 (eval "$ac_link") 2>conftest.er1
33636 ac_status=$?
33637 grep -v '^ *+' conftest.er1 >conftest.err
33638 rm -f conftest.er1
33639 cat conftest.err >&5
33640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33641 (exit $ac_status); } && {
33642 test -z "$ac_c_werror_flag" ||
33643 test ! -s conftest.err
33644 } && test -s conftest$ac_exeext &&
33645 $as_test_x conftest$ac_exeext; then
33646
33647 { echo "$as_me:$LINENO: result: found in default search path" >&5
33648 echo "${ECHO_T}found in default search path" >&6; }
33649 COMPILED_X_PROGRAM=1
33650
33651 else
33652 echo "$as_me: failed program was:" >&5
33653 sed 's/^/| /' conftest.$ac_ext >&5
33654
33655
33656 { echo "$as_me:$LINENO: result: no" >&5
33657 echo "${ECHO_T}no" >&6; }
33658 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
33659 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
33660 { (exit 1); exit 1; }; }
33661
33662
33663 fi
33664
33665 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33666 conftest$ac_exeext conftest.$ac_ext
33667
33668 CFLAGS=$save_CFLAGS
33669 LIBS="$save_LIBS"
33670 fi
33671
33672 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
33673 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
33674 libp_link=""
33675 libsm_ice_link=""
33676 libs_found=0
33677 for libp in "" " -lXp"; do
33678 if test "$libs_found" = 0; then
33679 for libsm_ice in "" " -lSM -lICE"; do
33680 if test "$libs_found" = 0; then
33681 save_LIBS="$LIBS"
33682 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
33683 save_CFLAGS=$CFLAGS
33684 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33685
33686 cat >conftest.$ac_ext <<_ACEOF
33687 /* confdefs.h. */
33688 _ACEOF
33689 cat confdefs.h >>conftest.$ac_ext
33690 cat >>conftest.$ac_ext <<_ACEOF
33691 /* end confdefs.h. */
33692
33693 #include <Xm/Xm.h>
33694 #include <Xm/List.h>
33695
33696 int
33697 main ()
33698 {
33699
33700 XmString string = NULL;
33701 Widget w = NULL;
33702 int position = 0;
33703 XmListAddItem(w, string, position);
33704
33705 ;
33706 return 0;
33707 }
33708 _ACEOF
33709 rm -f conftest.$ac_objext conftest$ac_exeext
33710 if { (ac_try="$ac_link"
33711 case "(($ac_try" in
33712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33713 *) ac_try_echo=$ac_try;;
33714 esac
33715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33716 (eval "$ac_link") 2>conftest.er1
33717 ac_status=$?
33718 grep -v '^ *+' conftest.er1 >conftest.err
33719 rm -f conftest.er1
33720 cat conftest.err >&5
33721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33722 (exit $ac_status); } && {
33723 test -z "$ac_c_werror_flag" ||
33724 test ! -s conftest.err
33725 } && test -s conftest$ac_exeext &&
33726 $as_test_x conftest$ac_exeext; then
33727
33728 libp_link="$libp"
33729 libsm_ice_link="$libsm_ice"
33730 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
33731 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
33732 libs_found=1
33733
33734 else
33735 echo "$as_me: failed program was:" >&5
33736 sed 's/^/| /' conftest.$ac_ext >&5
33737
33738
33739
33740 fi
33741
33742 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33743 conftest$ac_exeext conftest.$ac_ext
33744
33745 LIBS="$save_LIBS"
33746 CFLAGS=$save_CFLAGS
33747 fi
33748 done
33749 fi
33750 done
33751
33752 if test "$libs_found" = 0; then
33753 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
33754 echo "${ECHO_T}can't find the right libraries" >&6; }
33755 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
33756 echo "$as_me: error: can't link a simple motif program" >&2;}
33757 { (exit 1); exit 1; }; }
33758 fi
33759
33760 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
33761 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
33762 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
33763 echo $ECHO_N "(cached) $ECHO_C" >&6
33764 else
33765 ac_check_lib_save_LIBS=$LIBS
33766 LIBS="-lSgm $LIBS"
33767 cat >conftest.$ac_ext <<_ACEOF
33768 /* confdefs.h. */
33769 _ACEOF
33770 cat confdefs.h >>conftest.$ac_ext
33771 cat >>conftest.$ac_ext <<_ACEOF
33772 /* end confdefs.h. */
33773
33774 /* Override any GCC internal prototype to avoid an error.
33775 Use char because int might match the return type of a GCC
33776 builtin and then its argument prototype would still apply. */
33777 #ifdef __cplusplus
33778 extern "C"
33779 #endif
33780 char SgCreateList ();
33781 int
33782 main ()
33783 {
33784 return SgCreateList ();
33785 ;
33786 return 0;
33787 }
33788 _ACEOF
33789 rm -f conftest.$ac_objext conftest$ac_exeext
33790 if { (ac_try="$ac_link"
33791 case "(($ac_try" in
33792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33793 *) ac_try_echo=$ac_try;;
33794 esac
33795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33796 (eval "$ac_link") 2>conftest.er1
33797 ac_status=$?
33798 grep -v '^ *+' conftest.er1 >conftest.err
33799 rm -f conftest.er1
33800 cat conftest.err >&5
33801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33802 (exit $ac_status); } && {
33803 test -z "$ac_c_werror_flag" ||
33804 test ! -s conftest.err
33805 } && test -s conftest$ac_exeext &&
33806 $as_test_x conftest$ac_exeext; then
33807 ac_cv_lib_Sgm_SgCreateList=yes
33808 else
33809 echo "$as_me: failed program was:" >&5
33810 sed 's/^/| /' conftest.$ac_ext >&5
33811
33812 ac_cv_lib_Sgm_SgCreateList=no
33813 fi
33814
33815 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33816 conftest$ac_exeext conftest.$ac_ext
33817 LIBS=$ac_check_lib_save_LIBS
33818 fi
33819 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
33820 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
33821 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
33822 libsgm_link=" -lSgm"
33823 fi
33824
33825
33826 save_CFLAGS=$CFLAGS
33827 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33828
33829 { echo "$as_me:$LINENO: checking for Motif 2" >&5
33830 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
33831 if test "${wx_cv_lib_motif2+set}" = set; then
33832 echo $ECHO_N "(cached) $ECHO_C" >&6
33833 else
33834 cat >conftest.$ac_ext <<_ACEOF
33835 /* confdefs.h. */
33836 _ACEOF
33837 cat confdefs.h >>conftest.$ac_ext
33838 cat >>conftest.$ac_ext <<_ACEOF
33839 /* end confdefs.h. */
33840
33841 #include <Xm/Xm.h>
33842
33843 int
33844 main ()
33845 {
33846
33847 #if XmVersion < 2000
33848 Not Motif 2
33849 #endif
33850
33851 ;
33852 return 0;
33853 }
33854 _ACEOF
33855 rm -f conftest.$ac_objext
33856 if { (ac_try="$ac_compile"
33857 case "(($ac_try" in
33858 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33859 *) ac_try_echo=$ac_try;;
33860 esac
33861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33862 (eval "$ac_compile") 2>conftest.er1
33863 ac_status=$?
33864 grep -v '^ *+' conftest.er1 >conftest.err
33865 rm -f conftest.er1
33866 cat conftest.err >&5
33867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33868 (exit $ac_status); } && {
33869 test -z "$ac_c_werror_flag" ||
33870 test ! -s conftest.err
33871 } && test -s conftest.$ac_objext; then
33872 wx_cv_lib_motif2="yes"
33873 else
33874 echo "$as_me: failed program was:" >&5
33875 sed 's/^/| /' conftest.$ac_ext >&5
33876
33877 wx_cv_lib_motif2="no"
33878 fi
33879
33880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33881 fi
33882 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
33883 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
33884 if test "$wx_cv_lib_motif2" = "yes"; then
33885 cat >>confdefs.h <<\_ACEOF
33886 #define __WXMOTIF20__ 1
33887 _ACEOF
33888
33889 else
33890 cat >>confdefs.h <<\_ACEOF
33891 #define __WXMOTIF20__ 0
33892 _ACEOF
33893
33894 fi
33895
33896 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
33897 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
33898 if test "${wx_cv_lib_lesstif+set}" = set; then
33899 echo $ECHO_N "(cached) $ECHO_C" >&6
33900 else
33901 cat >conftest.$ac_ext <<_ACEOF
33902 /* confdefs.h. */
33903 _ACEOF
33904 cat confdefs.h >>conftest.$ac_ext
33905 cat >>conftest.$ac_ext <<_ACEOF
33906 /* end confdefs.h. */
33907
33908 #include <Xm/Xm.h>
33909
33910 int
33911 main ()
33912 {
33913
33914 #if !defined(LesstifVersion) || LesstifVersion <= 0
33915 Not Lesstif
33916 #endif
33917
33918 ;
33919 return 0;
33920 }
33921 _ACEOF
33922 rm -f conftest.$ac_objext
33923 if { (ac_try="$ac_compile"
33924 case "(($ac_try" in
33925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33926 *) ac_try_echo=$ac_try;;
33927 esac
33928 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33929 (eval "$ac_compile") 2>conftest.er1
33930 ac_status=$?
33931 grep -v '^ *+' conftest.er1 >conftest.err
33932 rm -f conftest.er1
33933 cat conftest.err >&5
33934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33935 (exit $ac_status); } && {
33936 test -z "$ac_c_werror_flag" ||
33937 test ! -s conftest.err
33938 } && test -s conftest.$ac_objext; then
33939 wx_cv_lib_lesstif="yes"
33940 else
33941 echo "$as_me: failed program was:" >&5
33942 sed 's/^/| /' conftest.$ac_ext >&5
33943
33944 wx_cv_lib_lesstif="no"
33945 fi
33946
33947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33948
33949 fi
33950 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
33951 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
33952 if test "$wx_cv_lib_lesstif" = "yes"; then
33953 cat >>confdefs.h <<\_ACEOF
33954 #define __WXLESSTIF__ 1
33955 _ACEOF
33956
33957 else
33958 cat >>confdefs.h <<\_ACEOF
33959 #define __WXLESSTIF__ 0
33960 _ACEOF
33961
33962 fi
33963
33964 CFLAGS=$save_CFLAGS
33965
33966 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
33967 TOOLKIT=MOTIF
33968 GUIDIST=MOTIF_DIST
33969 fi
33970
33971 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
33972 if test "$wxUSE_LIBXPM" = "sys"; then
33973 { echo "$as_me:$LINENO: checking for Xpm library" >&5
33974 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
33975
33976 ac_find_libraries=
33977 for ac_dir in $SEARCH_LIB
33978 do
33979 for ac_extension in a so sl dylib dll.a; do
33980 if test -f "$ac_dir/libXpm.$ac_extension"; then
33981 ac_find_libraries=$ac_dir
33982 break 2
33983 fi
33984 done
33985 done
33986
33987 if test "$ac_find_libraries" != "" ; then
33988
33989 if test "$ac_find_libraries" = "default location"; then
33990 ac_path_to_link=""
33991 else
33992 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
33993 result=$?
33994 if test $result = 0; then
33995 ac_path_to_link=""
33996 else
33997 ac_path_to_link=" -L$ac_find_libraries"
33998 fi
33999 fi
34000
34001 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
34002 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
34003 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
34004
34005 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
34006 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
34007 if test "${wx_cv_x11_xpm_h+set}" = set; then
34008 echo $ECHO_N "(cached) $ECHO_C" >&6
34009 else
34010
34011 save_CFLAGS=$CFLAGS
34012 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34013
34014 cat >conftest.$ac_ext <<_ACEOF
34015 /* confdefs.h. */
34016 _ACEOF
34017 cat confdefs.h >>conftest.$ac_ext
34018 cat >>conftest.$ac_ext <<_ACEOF
34019 /* end confdefs.h. */
34020
34021 #include <X11/xpm.h>
34022
34023 int
34024 main ()
34025 {
34026
34027 int version;
34028 version = XpmLibraryVersion();
34029
34030 ;
34031 return 0;
34032 }
34033 _ACEOF
34034 rm -f conftest.$ac_objext
34035 if { (ac_try="$ac_compile"
34036 case "(($ac_try" in
34037 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34038 *) ac_try_echo=$ac_try;;
34039 esac
34040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34041 (eval "$ac_compile") 2>conftest.er1
34042 ac_status=$?
34043 grep -v '^ *+' conftest.er1 >conftest.err
34044 rm -f conftest.er1
34045 cat conftest.err >&5
34046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34047 (exit $ac_status); } && {
34048 test -z "$ac_c_werror_flag" ||
34049 test ! -s conftest.err
34050 } && test -s conftest.$ac_objext; then
34051 wx_cv_x11_xpm_h=yes
34052 else
34053 echo "$as_me: failed program was:" >&5
34054 sed 's/^/| /' conftest.$ac_ext >&5
34055
34056 wx_cv_x11_xpm_h=no
34057
34058 fi
34059
34060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34061
34062 CFLAGS=$save_CFLAGS
34063
34064
34065 fi
34066 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
34067 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
34068
34069 if test $wx_cv_x11_xpm_h = "yes"; then
34070 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
34071 cat >>confdefs.h <<\_ACEOF
34072 #define wxHAVE_LIB_XPM 1
34073 _ACEOF
34074
34075 else
34076 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
34077 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
34078 fi
34079 fi
34080
34081 fi
34082
34083 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
34084 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
34085 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
34086 echo $ECHO_N "(cached) $ECHO_C" >&6
34087 else
34088 ac_check_lib_save_LIBS=$LIBS
34089 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
34090 cat >conftest.$ac_ext <<_ACEOF
34091 /* confdefs.h. */
34092 _ACEOF
34093 cat confdefs.h >>conftest.$ac_ext
34094 cat >>conftest.$ac_ext <<_ACEOF
34095 /* end confdefs.h. */
34096
34097 /* Override any GCC internal prototype to avoid an error.
34098 Use char because int might match the return type of a GCC
34099 builtin and then its argument prototype would still apply. */
34100 #ifdef __cplusplus
34101 extern "C"
34102 #endif
34103 char XShapeQueryExtension ();
34104 int
34105 main ()
34106 {
34107 return XShapeQueryExtension ();
34108 ;
34109 return 0;
34110 }
34111 _ACEOF
34112 rm -f conftest.$ac_objext conftest$ac_exeext
34113 if { (ac_try="$ac_link"
34114 case "(($ac_try" in
34115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34116 *) ac_try_echo=$ac_try;;
34117 esac
34118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34119 (eval "$ac_link") 2>conftest.er1
34120 ac_status=$?
34121 grep -v '^ *+' conftest.er1 >conftest.err
34122 rm -f conftest.er1
34123 cat conftest.err >&5
34124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34125 (exit $ac_status); } && {
34126 test -z "$ac_c_werror_flag" ||
34127 test ! -s conftest.err
34128 } && test -s conftest$ac_exeext &&
34129 $as_test_x conftest$ac_exeext; then
34130 ac_cv_lib_Xext_XShapeQueryExtension=yes
34131 else
34132 echo "$as_me: failed program was:" >&5
34133 sed 's/^/| /' conftest.$ac_ext >&5
34134
34135 ac_cv_lib_Xext_XShapeQueryExtension=no
34136 fi
34137
34138 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34139 conftest$ac_exeext conftest.$ac_ext
34140 LIBS=$ac_check_lib_save_LIBS
34141 fi
34142 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
34143 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
34144 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
34145
34146 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
34147 wxHAVE_XEXT_LIB=1
34148
34149 fi
34150
34151
34152 if test "$wxHAVE_XEXT_LIB" = 1; then
34153 save_CFLAGS="$CFLAGS"
34154 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34155
34156 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
34157 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
34158 cat >conftest.$ac_ext <<_ACEOF
34159 /* confdefs.h. */
34160 _ACEOF
34161 cat confdefs.h >>conftest.$ac_ext
34162 cat >>conftest.$ac_ext <<_ACEOF
34163 /* end confdefs.h. */
34164
34165 #include <X11/Xlib.h>
34166 #include <X11/extensions/shape.h>
34167
34168 int
34169 main ()
34170 {
34171
34172 int dummy1, dummy2;
34173 XShapeQueryExtension((Display*)NULL,
34174 (int*)NULL, (int*)NULL);
34175
34176 ;
34177 return 0;
34178 }
34179 _ACEOF
34180 rm -f conftest.$ac_objext
34181 if { (ac_try="$ac_compile"
34182 case "(($ac_try" in
34183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34184 *) ac_try_echo=$ac_try;;
34185 esac
34186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34187 (eval "$ac_compile") 2>conftest.er1
34188 ac_status=$?
34189 grep -v '^ *+' conftest.er1 >conftest.err
34190 rm -f conftest.er1
34191 cat conftest.err >&5
34192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34193 (exit $ac_status); } && {
34194 test -z "$ac_c_werror_flag" ||
34195 test ! -s conftest.err
34196 } && test -s conftest.$ac_objext; then
34197
34198 cat >>confdefs.h <<\_ACEOF
34199 #define HAVE_XSHAPE 1
34200 _ACEOF
34201
34202 { echo "$as_me:$LINENO: result: found" >&5
34203 echo "${ECHO_T}found" >&6; }
34204
34205 else
34206 echo "$as_me: failed program was:" >&5
34207 sed 's/^/| /' conftest.$ac_ext >&5
34208
34209
34210 { echo "$as_me:$LINENO: result: not found" >&5
34211 echo "${ECHO_T}not found" >&6; }
34212
34213 fi
34214
34215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34216 CFLAGS="$save_CFLAGS"
34217
34218 fi
34219 fi
34220
34221 if test "$wxUSE_OSX_CARBON" = 1; then
34222 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
34223 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
34224 if test "$GCC" = yes; then
34225 { echo "$as_me:$LINENO: result: gcc" >&5
34226 echo "${ECHO_T}gcc" >&6; }
34227 CPPFLAGS_PASCAL="-fpascal-strings"
34228 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
34229 { echo "$as_me:$LINENO: result: xlc" >&5
34230 echo "${ECHO_T}xlc" >&6; }
34231 CPPFLAGS_PASCAL="-qmacpstr"
34232 else
34233 { echo "$as_me:$LINENO: result: none" >&5
34234 echo "${ECHO_T}none" >&6; }
34235 fi
34236
34237 if test "x$wxUSE_UNIX" = "xyes"; then
34238 CPPFLAGS="$CPPFLAGS_PASCAL -I/Developer/Headers/FlatCarbon $CPPFLAGS"
34239 else
34240 CPPFLAGS="$CPPFLAGS_PASCAL -DTARGET_CARBON $CPPFLAGS"
34241 fi
34242
34243 TOOLKIT=OSX_CARBON
34244 GUIDIST=OSX_CARBON_DIST
34245 WXBASEPORT="_carbon"
34246
34247 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
34248 fi
34249
34250 if test "$wxUSE_OSX_COCOA" = 1; then
34251 TOOLKIT=OSX_COCOA
34252 GUIDIST=OSX_COCOA_DIST
34253
34254 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
34255 fi
34256
34257 if test "$wxUSE_OSX_IPHONE" = 1; then
34258 TOOLKIT=OSX_IPHONE
34259 fi
34260
34261 if test "$wxUSE_OLD_COCOA" = 1; then
34262 TOOLKIT=COCOA
34263 GUIDIST=COCOA_DIST
34264 fi
34265
34266 if test "$wxUSE_PM" = 1; then
34267 TOOLKIT=PM
34268 GUIDIST=PM_DIST
34269 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
34270 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
34271 if test "${wx_cv_spbcdata+set}" = set; then
34272 echo $ECHO_N "(cached) $ECHO_C" >&6
34273 else
34274
34275 cat >conftest.$ac_ext <<_ACEOF
34276 /* confdefs.h. */
34277 _ACEOF
34278 cat confdefs.h >>conftest.$ac_ext
34279 cat >>conftest.$ac_ext <<_ACEOF
34280 /* end confdefs.h. */
34281
34282 #define INCL_PM
34283 #include <os2.h>
34284
34285 int
34286 main ()
34287 {
34288
34289 SPBCDATA test;
34290
34291 ;
34292 return 0;
34293 }
34294 _ACEOF
34295 rm -f conftest.$ac_objext
34296 if { (ac_try="$ac_compile"
34297 case "(($ac_try" in
34298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34299 *) ac_try_echo=$ac_try;;
34300 esac
34301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34302 (eval "$ac_compile") 2>conftest.er1
34303 ac_status=$?
34304 grep -v '^ *+' conftest.er1 >conftest.err
34305 rm -f conftest.er1
34306 cat conftest.err >&5
34307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34308 (exit $ac_status); } && {
34309 test -z "$ac_c_werror_flag" ||
34310 test ! -s conftest.err
34311 } && test -s conftest.$ac_objext; then
34312 wx_cv_spbcdata=yes
34313 else
34314 echo "$as_me: failed program was:" >&5
34315 sed 's/^/| /' conftest.$ac_ext >&5
34316
34317 wx_cv_spbcdata=no
34318
34319 fi
34320
34321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34322
34323
34324 fi
34325 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
34326 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
34327
34328 if test $wx_cv_spbcdata = "yes"; then
34329 cat >>confdefs.h <<\_ACEOF
34330 #define HAVE_SPBCDATA 1
34331 _ACEOF
34332
34333 fi
34334 fi
34335
34336 if test "$TOOLKIT" = "PM" ; then
34337 TOOLKIT_DIR="os2"
34338 else
34339 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
34340 fi
34341
34342 if test "$wxUSE_UNIVERSAL" = "yes"; then
34343 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
34344 WIDGET_SET=univ
34345 fi
34346
34347 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
34348 DISTDIR="wx\$(TOOLKIT)"
34349 else
34350 USE_GUI=0
34351
34352 TOOLKIT_DIR="base"
34353
34354 if test "$USE_WIN32" = 1 ; then
34355 TOOLKIT="MSW"
34356 fi
34357
34358 GUIDIST="BASE_DIST"
34359 DISTDIR="wxBase"
34360 fi
34361
34362
34363
34364 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
34365 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
34366 wxUSE_UNICODE_UTF8=yes
34367 elif test "$USE_OS2" = 1 ; then
34368 wxUSE_UNICODE_UTF8=yes
34369 else
34370 wxUSE_UNICODE_UTF8=no
34371 fi
34372 fi
34373
34374
34375 if test "$wxUSE_GUI" = "yes"; then
34376 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
34377
34378 for ac_header in X11/Xlib.h
34379 do
34380 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34381 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34382 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34383 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34384 echo $ECHO_N "(cached) $ECHO_C" >&6
34385 else
34386 cat >conftest.$ac_ext <<_ACEOF
34387 /* confdefs.h. */
34388 _ACEOF
34389 cat confdefs.h >>conftest.$ac_ext
34390 cat >>conftest.$ac_ext <<_ACEOF
34391 /* end confdefs.h. */
34392
34393
34394 #include <$ac_header>
34395 _ACEOF
34396 rm -f conftest.$ac_objext
34397 if { (ac_try="$ac_compile"
34398 case "(($ac_try" in
34399 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34400 *) ac_try_echo=$ac_try;;
34401 esac
34402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34403 (eval "$ac_compile") 2>conftest.er1
34404 ac_status=$?
34405 grep -v '^ *+' conftest.er1 >conftest.err
34406 rm -f conftest.er1
34407 cat conftest.err >&5
34408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34409 (exit $ac_status); } && {
34410 test -z "$ac_c_werror_flag" ||
34411 test ! -s conftest.err
34412 } && test -s conftest.$ac_objext; then
34413 eval "$as_ac_Header=yes"
34414 else
34415 echo "$as_me: failed program was:" >&5
34416 sed 's/^/| /' conftest.$ac_ext >&5
34417
34418 eval "$as_ac_Header=no"
34419 fi
34420
34421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34422 fi
34423 ac_res=`eval echo '${'$as_ac_Header'}'`
34424 { echo "$as_me:$LINENO: result: $ac_res" >&5
34425 echo "${ECHO_T}$ac_res" >&6; }
34426 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34427 cat >>confdefs.h <<_ACEOF
34428 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34429 _ACEOF
34430
34431 fi
34432
34433 done
34434
34435
34436 for ac_header in X11/XKBlib.h
34437 do
34438 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34439 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34440 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34441 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34442 echo $ECHO_N "(cached) $ECHO_C" >&6
34443 else
34444 cat >conftest.$ac_ext <<_ACEOF
34445 /* confdefs.h. */
34446 _ACEOF
34447 cat confdefs.h >>conftest.$ac_ext
34448 cat >>conftest.$ac_ext <<_ACEOF
34449 /* end confdefs.h. */
34450
34451 #if HAVE_X11_XLIB_H
34452 #include <X11/Xlib.h>
34453 #endif
34454
34455
34456 #include <$ac_header>
34457 _ACEOF
34458 rm -f conftest.$ac_objext
34459 if { (ac_try="$ac_compile"
34460 case "(($ac_try" in
34461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34462 *) ac_try_echo=$ac_try;;
34463 esac
34464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34465 (eval "$ac_compile") 2>conftest.er1
34466 ac_status=$?
34467 grep -v '^ *+' conftest.er1 >conftest.err
34468 rm -f conftest.er1
34469 cat conftest.err >&5
34470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34471 (exit $ac_status); } && {
34472 test -z "$ac_c_werror_flag" ||
34473 test ! -s conftest.err
34474 } && test -s conftest.$ac_objext; then
34475 eval "$as_ac_Header=yes"
34476 else
34477 echo "$as_me: failed program was:" >&5
34478 sed 's/^/| /' conftest.$ac_ext >&5
34479
34480 eval "$as_ac_Header=no"
34481 fi
34482
34483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34484 fi
34485 ac_res=`eval echo '${'$as_ac_Header'}'`
34486 { echo "$as_me:$LINENO: result: $ac_res" >&5
34487 echo "${ECHO_T}$ac_res" >&6; }
34488 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34489 cat >>confdefs.h <<_ACEOF
34490 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34491 _ACEOF
34492
34493 fi
34494
34495 done
34496
34497 fi
34498 fi
34499
34500
34501
34502 USE_XINERAMA=0
34503 if test "$wxUSE_DISPLAY" = "yes"; then
34504 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK1" = 1; then
34505
34506 ac_find_libraries=
34507
34508 fl_pkgname=`echo "Xinerama" | tr [:upper:] [:lower:]`
34509
34510
34511 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
34512 if test -n "$ac_tool_prefix"; then
34513 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
34514 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
34515 { echo "$as_me:$LINENO: checking for $ac_word" >&5
34516 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
34517 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
34518 echo $ECHO_N "(cached) $ECHO_C" >&6
34519 else
34520 case $PKG_CONFIG in
34521 [\\/]* | ?:[\\/]*)
34522 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
34523 ;;
34524 *)
34525 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34526 for as_dir in $PATH
34527 do
34528 IFS=$as_save_IFS
34529 test -z "$as_dir" && as_dir=.
34530 for ac_exec_ext in '' $ac_executable_extensions; do
34531 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
34532 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
34533 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34534 break 2
34535 fi
34536 done
34537 done
34538 IFS=$as_save_IFS
34539
34540 ;;
34541 esac
34542 fi
34543 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
34544 if test -n "$PKG_CONFIG"; then
34545 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
34546 echo "${ECHO_T}$PKG_CONFIG" >&6; }
34547 else
34548 { echo "$as_me:$LINENO: result: no" >&5
34549 echo "${ECHO_T}no" >&6; }
34550 fi
34551
34552
34553 fi
34554 if test -z "$ac_cv_path_PKG_CONFIG"; then
34555 ac_pt_PKG_CONFIG=$PKG_CONFIG
34556 # Extract the first word of "pkg-config", so it can be a program name with args.
34557 set dummy pkg-config; ac_word=$2
34558 { echo "$as_me:$LINENO: checking for $ac_word" >&5
34559 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
34560 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
34561 echo $ECHO_N "(cached) $ECHO_C" >&6
34562 else
34563 case $ac_pt_PKG_CONFIG in
34564 [\\/]* | ?:[\\/]*)
34565 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
34566 ;;
34567 *)
34568 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34569 for as_dir in $PATH
34570 do
34571 IFS=$as_save_IFS
34572 test -z "$as_dir" && as_dir=.
34573 for ac_exec_ext in '' $ac_executable_extensions; do
34574 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
34575 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
34576 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34577 break 2
34578 fi
34579 done
34580 done
34581 IFS=$as_save_IFS
34582
34583 ;;
34584 esac
34585 fi
34586 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
34587 if test -n "$ac_pt_PKG_CONFIG"; then
34588 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
34589 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
34590 else
34591 { echo "$as_me:$LINENO: result: no" >&5
34592 echo "${ECHO_T}no" >&6; }
34593 fi
34594
34595 if test "x$ac_pt_PKG_CONFIG" = x; then
34596 PKG_CONFIG=""
34597 else
34598 case $cross_compiling:$ac_tool_warned in
34599 yes:)
34600 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
34601 whose name does not start with the host triplet. If you think this
34602 configuration is useful to you, please write to autoconf@gnu.org." >&5
34603 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
34604 whose name does not start with the host triplet. If you think this
34605 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
34606 ac_tool_warned=yes ;;
34607 esac
34608 PKG_CONFIG=$ac_pt_PKG_CONFIG
34609 fi
34610 else
34611 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
34612 fi
34613
34614 fi
34615 if test -n "$PKG_CONFIG"; then
34616 _pkg_min_version=0.9.0
34617 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
34618 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
34619 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
34620 { echo "$as_me:$LINENO: result: yes" >&5
34621 echo "${ECHO_T}yes" >&6; }
34622 else
34623 { echo "$as_me:$LINENO: result: no" >&5
34624 echo "${ECHO_T}no" >&6; }
34625 PKG_CONFIG=""
34626 fi
34627
34628 fi 6> /dev/null
34629
34630 pkg_failed=no
34631 { echo "$as_me:$LINENO: checking for Xinerama" >&5
34632 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
34633
34634 if test -n "$PKG_CONFIG"; then
34635 if test -n "$Xinerama_CFLAGS"; then
34636 pkg_cv_Xinerama_CFLAGS="$Xinerama_CFLAGS"
34637 else
34638 if test -n "$PKG_CONFIG" && \
34639 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\"") >&5
34640 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
34641 ac_status=$?
34642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34643 (exit $ac_status); }; then
34644 pkg_cv_Xinerama_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
34645 else
34646 pkg_failed=yes
34647 fi
34648 fi
34649 else
34650 pkg_failed=untried
34651 fi
34652 if test -n "$PKG_CONFIG"; then
34653 if test -n "$Xinerama_LIBS"; then
34654 pkg_cv_Xinerama_LIBS="$Xinerama_LIBS"
34655 else
34656 if test -n "$PKG_CONFIG" && \
34657 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\"") >&5
34658 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
34659 ac_status=$?
34660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34661 (exit $ac_status); }; then
34662 pkg_cv_Xinerama_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
34663 else
34664 pkg_failed=yes
34665 fi
34666 fi
34667 else
34668 pkg_failed=untried
34669 fi
34670
34671
34672
34673 if test $pkg_failed = yes; then
34674
34675 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34676 _pkg_short_errors_supported=yes
34677 else
34678 _pkg_short_errors_supported=no
34679 fi
34680 if test $_pkg_short_errors_supported = yes; then
34681 Xinerama_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
34682 else
34683 Xinerama_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
34684 fi
34685 # Put the nasty error message in config.log where it belongs
34686 echo "$Xinerama_PKG_ERRORS" >&5
34687
34688
34689 if test "x$ac_find_libraries" = "x"; then
34690 if test "xXineramaQueryScreens" != "x"; then
34691 { echo "$as_me:$LINENO: checking for XineramaQueryScreens in -lXinerama" >&5
34692 echo $ECHO_N "checking for XineramaQueryScreens in -lXinerama... $ECHO_C" >&6; }
34693 if test "${ac_cv_lib_Xinerama_XineramaQueryScreens+set}" = set; then
34694 echo $ECHO_N "(cached) $ECHO_C" >&6
34695 else
34696 ac_check_lib_save_LIBS=$LIBS
34697 LIBS="-lXinerama $LIBS"
34698 cat >conftest.$ac_ext <<_ACEOF
34699 /* confdefs.h. */
34700 _ACEOF
34701 cat confdefs.h >>conftest.$ac_ext
34702 cat >>conftest.$ac_ext <<_ACEOF
34703 /* end confdefs.h. */
34704
34705 /* Override any GCC internal prototype to avoid an error.
34706 Use char because int might match the return type of a GCC
34707 builtin and then its argument prototype would still apply. */
34708 #ifdef __cplusplus
34709 extern "C"
34710 #endif
34711 char XineramaQueryScreens ();
34712 int
34713 main ()
34714 {
34715 return XineramaQueryScreens ();
34716 ;
34717 return 0;
34718 }
34719 _ACEOF
34720 rm -f conftest.$ac_objext conftest$ac_exeext
34721 if { (ac_try="$ac_link"
34722 case "(($ac_try" in
34723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34724 *) ac_try_echo=$ac_try;;
34725 esac
34726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34727 (eval "$ac_link") 2>conftest.er1
34728 ac_status=$?
34729 grep -v '^ *+' conftest.er1 >conftest.err
34730 rm -f conftest.er1
34731 cat conftest.err >&5
34732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34733 (exit $ac_status); } && {
34734 test -z "$ac_c_werror_flag" ||
34735 test ! -s conftest.err
34736 } && test -s conftest$ac_exeext &&
34737 $as_test_x conftest$ac_exeext; then
34738 ac_cv_lib_Xinerama_XineramaQueryScreens=yes
34739 else
34740 echo "$as_me: failed program was:" >&5
34741 sed 's/^/| /' conftest.$ac_ext >&5
34742
34743 ac_cv_lib_Xinerama_XineramaQueryScreens=no
34744 fi
34745
34746 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34747 conftest$ac_exeext conftest.$ac_ext
34748 LIBS=$ac_check_lib_save_LIBS
34749 fi
34750 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xinerama_XineramaQueryScreens" >&5
34751 echo "${ECHO_T}$ac_cv_lib_Xinerama_XineramaQueryScreens" >&6; }
34752 if test $ac_cv_lib_Xinerama_XineramaQueryScreens = yes; then
34753 ac_find_libraries="std"
34754 fi
34755
34756 fi
34757 fi
34758
34759 if test "x$ac_find_libraries" = "x"; then
34760 { echo "$as_me:$LINENO: checking elsewhere" >&5
34761 echo $ECHO_N "checking elsewhere... $ECHO_C" >&6; }
34762
34763 ac_find_libraries=
34764 for ac_dir in $SEARCH_LIB
34765 do
34766 for ac_extension in a so sl dylib dll.a; do
34767 if test -f "$ac_dir/libXinerama.$ac_extension"; then
34768 ac_find_libraries=$ac_dir
34769 break 2
34770 fi
34771 done
34772 done
34773
34774 if test "x$ac_find_libraries" != "x"; then
34775 { echo "$as_me:$LINENO: result: yes" >&5
34776 echo "${ECHO_T}yes" >&6; }
34777 else
34778 { echo "$as_me:$LINENO: result: no" >&5
34779 echo "${ECHO_T}no" >&6; }
34780 fi
34781 fi
34782
34783 elif test $pkg_failed = untried; then
34784
34785 if test "x$ac_find_libraries" = "x"; then
34786 if test "xXineramaQueryScreens" != "x"; then
34787 { echo "$as_me:$LINENO: checking for XineramaQueryScreens in -lXinerama" >&5
34788 echo $ECHO_N "checking for XineramaQueryScreens in -lXinerama... $ECHO_C" >&6; }
34789 if test "${ac_cv_lib_Xinerama_XineramaQueryScreens+set}" = set; then
34790 echo $ECHO_N "(cached) $ECHO_C" >&6
34791 else
34792 ac_check_lib_save_LIBS=$LIBS
34793 LIBS="-lXinerama $LIBS"
34794 cat >conftest.$ac_ext <<_ACEOF
34795 /* confdefs.h. */
34796 _ACEOF
34797 cat confdefs.h >>conftest.$ac_ext
34798 cat >>conftest.$ac_ext <<_ACEOF
34799 /* end confdefs.h. */
34800
34801 /* Override any GCC internal prototype to avoid an error.
34802 Use char because int might match the return type of a GCC
34803 builtin and then its argument prototype would still apply. */
34804 #ifdef __cplusplus
34805 extern "C"
34806 #endif
34807 char XineramaQueryScreens ();
34808 int
34809 main ()
34810 {
34811 return XineramaQueryScreens ();
34812 ;
34813 return 0;
34814 }
34815 _ACEOF
34816 rm -f conftest.$ac_objext conftest$ac_exeext
34817 if { (ac_try="$ac_link"
34818 case "(($ac_try" in
34819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34820 *) ac_try_echo=$ac_try;;
34821 esac
34822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34823 (eval "$ac_link") 2>conftest.er1
34824 ac_status=$?
34825 grep -v '^ *+' conftest.er1 >conftest.err
34826 rm -f conftest.er1
34827 cat conftest.err >&5
34828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34829 (exit $ac_status); } && {
34830 test -z "$ac_c_werror_flag" ||
34831 test ! -s conftest.err
34832 } && test -s conftest$ac_exeext &&
34833 $as_test_x conftest$ac_exeext; then
34834 ac_cv_lib_Xinerama_XineramaQueryScreens=yes
34835 else
34836 echo "$as_me: failed program was:" >&5
34837 sed 's/^/| /' conftest.$ac_ext >&5
34838
34839 ac_cv_lib_Xinerama_XineramaQueryScreens=no
34840 fi
34841
34842 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34843 conftest$ac_exeext conftest.$ac_ext
34844 LIBS=$ac_check_lib_save_LIBS
34845 fi
34846 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xinerama_XineramaQueryScreens" >&5
34847 echo "${ECHO_T}$ac_cv_lib_Xinerama_XineramaQueryScreens" >&6; }
34848 if test $ac_cv_lib_Xinerama_XineramaQueryScreens = yes; then
34849 ac_find_libraries="std"
34850 fi
34851
34852 fi
34853 fi
34854
34855 if test "x$ac_find_libraries" = "x"; then
34856 { echo "$as_me:$LINENO: checking elsewhere" >&5
34857 echo $ECHO_N "checking elsewhere... $ECHO_C" >&6; }
34858
34859 ac_find_libraries=
34860 for ac_dir in $SEARCH_LIB
34861 do
34862 for ac_extension in a so sl dylib dll.a; do
34863 if test -f "$ac_dir/libXinerama.$ac_extension"; then
34864 ac_find_libraries=$ac_dir
34865 break 2
34866 fi
34867 done
34868 done
34869
34870 if test "x$ac_find_libraries" != "x"; then
34871 { echo "$as_me:$LINENO: result: yes" >&5
34872 echo "${ECHO_T}yes" >&6; }
34873 else
34874 { echo "$as_me:$LINENO: result: no" >&5
34875 echo "${ECHO_T}no" >&6; }
34876 fi
34877 fi
34878
34879 else
34880 Xinerama_CFLAGS=$pkg_cv_Xinerama_CFLAGS
34881 Xinerama_LIBS=$pkg_cv_Xinerama_LIBS
34882 { echo "$as_me:$LINENO: result: yes" >&5
34883 echo "${ECHO_T}yes" >&6; }
34884
34885 ac_find_libraries="std"
34886
34887 eval ac_find_cflags=\$Xinerama_CFLAGS
34888 eval fl_libs=\$Xinerama_LIBS
34889
34890 for fl_path in $fl_libs
34891 do
34892 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
34893 ac_find_libraries=`echo "$fl_path" | cut -c 3-`
34894 fi
34895 done
34896
34897 fi
34898
34899 if test "$ac_find_libraries" != "" ; then
34900 if test "$ac_find_libraries" != "std" ; then
34901
34902 if test "$ac_find_libraries" = "default location"; then
34903 ac_path_to_link=""
34904 else
34905 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34906 result=$?
34907 if test $result = 0; then
34908 ac_path_to_link=""
34909 else
34910 ac_path_to_link=" -L$ac_find_libraries"
34911 fi
34912 fi
34913
34914 if test "$ac_path_to_link" != " -L/usr/lib" ; then
34915 LDFLAGS="$LDFLAGS $ac_path_to_link"
34916 fi
34917 fi
34918 USE_XINERAMA=1
34919 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
34920 else
34921 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
34922 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
34923 wxUSE_DISPLAY="no"
34924 fi
34925 elif test "$wxUSE_MSW" = 1; then
34926 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
34927 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
34928 if test "${ac_cv_header_ddraw_h+set}" = set; then
34929 echo $ECHO_N "(cached) $ECHO_C" >&6
34930 else
34931 cat >conftest.$ac_ext <<_ACEOF
34932 /* confdefs.h. */
34933 _ACEOF
34934 cat confdefs.h >>conftest.$ac_ext
34935 cat >>conftest.$ac_ext <<_ACEOF
34936 /* end confdefs.h. */
34937 #include <windows.h>
34938
34939 #include <ddraw.h>
34940 _ACEOF
34941 rm -f conftest.$ac_objext
34942 if { (ac_try="$ac_compile"
34943 case "(($ac_try" in
34944 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34945 *) ac_try_echo=$ac_try;;
34946 esac
34947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34948 (eval "$ac_compile") 2>conftest.er1
34949 ac_status=$?
34950 grep -v '^ *+' conftest.er1 >conftest.err
34951 rm -f conftest.er1
34952 cat conftest.err >&5
34953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34954 (exit $ac_status); } && {
34955 test -z "$ac_c_werror_flag" ||
34956 test ! -s conftest.err
34957 } && test -s conftest.$ac_objext; then
34958 ac_cv_header_ddraw_h=yes
34959 else
34960 echo "$as_me: failed program was:" >&5
34961 sed 's/^/| /' conftest.$ac_ext >&5
34962
34963 ac_cv_header_ddraw_h=no
34964 fi
34965
34966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34967 fi
34968 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
34969 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
34970
34971
34972 fi
34973 fi
34974
34975 if test "$wxUSE_DISPLAY" = "yes"; then
34976 if test "$USE_XINERAMA" = 1 -o "$wxUSE_GTK" = 1; then
34977
34978 ac_find_libraries=
34979
34980 fl_pkgname=`echo "Xxf86vm" | tr [:upper:] [:lower:]`
34981
34982
34983 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
34984 if test -n "$ac_tool_prefix"; then
34985 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
34986 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
34987 { echo "$as_me:$LINENO: checking for $ac_word" >&5
34988 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
34989 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
34990 echo $ECHO_N "(cached) $ECHO_C" >&6
34991 else
34992 case $PKG_CONFIG in
34993 [\\/]* | ?:[\\/]*)
34994 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
34995 ;;
34996 *)
34997 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34998 for as_dir in $PATH
34999 do
35000 IFS=$as_save_IFS
35001 test -z "$as_dir" && as_dir=.
35002 for ac_exec_ext in '' $ac_executable_extensions; do
35003 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
35004 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
35005 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35006 break 2
35007 fi
35008 done
35009 done
35010 IFS=$as_save_IFS
35011
35012 ;;
35013 esac
35014 fi
35015 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
35016 if test -n "$PKG_CONFIG"; then
35017 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
35018 echo "${ECHO_T}$PKG_CONFIG" >&6; }
35019 else
35020 { echo "$as_me:$LINENO: result: no" >&5
35021 echo "${ECHO_T}no" >&6; }
35022 fi
35023
35024
35025 fi
35026 if test -z "$ac_cv_path_PKG_CONFIG"; then
35027 ac_pt_PKG_CONFIG=$PKG_CONFIG
35028 # Extract the first word of "pkg-config", so it can be a program name with args.
35029 set dummy pkg-config; ac_word=$2
35030 { echo "$as_me:$LINENO: checking for $ac_word" >&5
35031 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
35032 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
35033 echo $ECHO_N "(cached) $ECHO_C" >&6
35034 else
35035 case $ac_pt_PKG_CONFIG in
35036 [\\/]* | ?:[\\/]*)
35037 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
35038 ;;
35039 *)
35040 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35041 for as_dir in $PATH
35042 do
35043 IFS=$as_save_IFS
35044 test -z "$as_dir" && as_dir=.
35045 for ac_exec_ext in '' $ac_executable_extensions; do
35046 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
35047 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
35048 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35049 break 2
35050 fi
35051 done
35052 done
35053 IFS=$as_save_IFS
35054
35055 ;;
35056 esac
35057 fi
35058 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
35059 if test -n "$ac_pt_PKG_CONFIG"; then
35060 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
35061 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
35062 else
35063 { echo "$as_me:$LINENO: result: no" >&5
35064 echo "${ECHO_T}no" >&6; }
35065 fi
35066
35067 if test "x$ac_pt_PKG_CONFIG" = x; then
35068 PKG_CONFIG=""
35069 else
35070 case $cross_compiling:$ac_tool_warned in
35071 yes:)
35072 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
35073 whose name does not start with the host triplet. If you think this
35074 configuration is useful to you, please write to autoconf@gnu.org." >&5
35075 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
35076 whose name does not start with the host triplet. If you think this
35077 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
35078 ac_tool_warned=yes ;;
35079 esac
35080 PKG_CONFIG=$ac_pt_PKG_CONFIG
35081 fi
35082 else
35083 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
35084 fi
35085
35086 fi
35087 if test -n "$PKG_CONFIG"; then
35088 _pkg_min_version=0.9.0
35089 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
35090 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
35091 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
35092 { echo "$as_me:$LINENO: result: yes" >&5
35093 echo "${ECHO_T}yes" >&6; }
35094 else
35095 { echo "$as_me:$LINENO: result: no" >&5
35096 echo "${ECHO_T}no" >&6; }
35097 PKG_CONFIG=""
35098 fi
35099
35100 fi 6> /dev/null
35101
35102 pkg_failed=no
35103 { echo "$as_me:$LINENO: checking for Xxf86vm" >&5
35104 echo $ECHO_N "checking for Xxf86vm... $ECHO_C" >&6; }
35105
35106 if test -n "$PKG_CONFIG"; then
35107 if test -n "$Xxf86vm_CFLAGS"; then
35108 pkg_cv_Xxf86vm_CFLAGS="$Xxf86vm_CFLAGS"
35109 else
35110 if test -n "$PKG_CONFIG" && \
35111 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\"") >&5
35112 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
35113 ac_status=$?
35114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35115 (exit $ac_status); }; then
35116 pkg_cv_Xxf86vm_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
35117 else
35118 pkg_failed=yes
35119 fi
35120 fi
35121 else
35122 pkg_failed=untried
35123 fi
35124 if test -n "$PKG_CONFIG"; then
35125 if test -n "$Xxf86vm_LIBS"; then
35126 pkg_cv_Xxf86vm_LIBS="$Xxf86vm_LIBS"
35127 else
35128 if test -n "$PKG_CONFIG" && \
35129 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\"") >&5
35130 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
35131 ac_status=$?
35132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35133 (exit $ac_status); }; then
35134 pkg_cv_Xxf86vm_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
35135 else
35136 pkg_failed=yes
35137 fi
35138 fi
35139 else
35140 pkg_failed=untried
35141 fi
35142
35143
35144
35145 if test $pkg_failed = yes; then
35146
35147 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
35148 _pkg_short_errors_supported=yes
35149 else
35150 _pkg_short_errors_supported=no
35151 fi
35152 if test $_pkg_short_errors_supported = yes; then
35153 Xxf86vm_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
35154 else
35155 Xxf86vm_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
35156 fi
35157 # Put the nasty error message in config.log where it belongs
35158 echo "$Xxf86vm_PKG_ERRORS" >&5
35159
35160
35161 if test "x$ac_find_libraries" = "x"; then
35162 if test "xXF86VidModeQueryExtension" != "x"; then
35163 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
35164 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
35165 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
35166 echo $ECHO_N "(cached) $ECHO_C" >&6
35167 else
35168 ac_check_lib_save_LIBS=$LIBS
35169 LIBS="-lXxf86vm $LIBS"
35170 cat >conftest.$ac_ext <<_ACEOF
35171 /* confdefs.h. */
35172 _ACEOF
35173 cat confdefs.h >>conftest.$ac_ext
35174 cat >>conftest.$ac_ext <<_ACEOF
35175 /* end confdefs.h. */
35176
35177 /* Override any GCC internal prototype to avoid an error.
35178 Use char because int might match the return type of a GCC
35179 builtin and then its argument prototype would still apply. */
35180 #ifdef __cplusplus
35181 extern "C"
35182 #endif
35183 char XF86VidModeQueryExtension ();
35184 int
35185 main ()
35186 {
35187 return XF86VidModeQueryExtension ();
35188 ;
35189 return 0;
35190 }
35191 _ACEOF
35192 rm -f conftest.$ac_objext conftest$ac_exeext
35193 if { (ac_try="$ac_link"
35194 case "(($ac_try" in
35195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35196 *) ac_try_echo=$ac_try;;
35197 esac
35198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35199 (eval "$ac_link") 2>conftest.er1
35200 ac_status=$?
35201 grep -v '^ *+' conftest.er1 >conftest.err
35202 rm -f conftest.er1
35203 cat conftest.err >&5
35204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35205 (exit $ac_status); } && {
35206 test -z "$ac_c_werror_flag" ||
35207 test ! -s conftest.err
35208 } && test -s conftest$ac_exeext &&
35209 $as_test_x conftest$ac_exeext; then
35210 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
35211 else
35212 echo "$as_me: failed program was:" >&5
35213 sed 's/^/| /' conftest.$ac_ext >&5
35214
35215 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
35216 fi
35217
35218 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35219 conftest$ac_exeext conftest.$ac_ext
35220 LIBS=$ac_check_lib_save_LIBS
35221 fi
35222 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
35223 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
35224 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
35225 ac_find_libraries="std"
35226 fi
35227
35228 fi
35229 fi
35230
35231 if test "x$ac_find_libraries" = "x"; then
35232 { echo "$as_me:$LINENO: checking elsewhere" >&5
35233 echo $ECHO_N "checking elsewhere... $ECHO_C" >&6; }
35234
35235 ac_find_libraries=
35236 for ac_dir in $SEARCH_LIB
35237 do
35238 for ac_extension in a so sl dylib dll.a; do
35239 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
35240 ac_find_libraries=$ac_dir
35241 break 2
35242 fi
35243 done
35244 done
35245
35246 if test "x$ac_find_libraries" != "x"; then
35247 { echo "$as_me:$LINENO: result: yes" >&5
35248 echo "${ECHO_T}yes" >&6; }
35249 else
35250 { echo "$as_me:$LINENO: result: no" >&5
35251 echo "${ECHO_T}no" >&6; }
35252 fi
35253 fi
35254
35255 elif test $pkg_failed = untried; then
35256
35257 if test "x$ac_find_libraries" = "x"; then
35258 if test "xXF86VidModeQueryExtension" != "x"; then
35259 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
35260 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
35261 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
35262 echo $ECHO_N "(cached) $ECHO_C" >&6
35263 else
35264 ac_check_lib_save_LIBS=$LIBS
35265 LIBS="-lXxf86vm $LIBS"
35266 cat >conftest.$ac_ext <<_ACEOF
35267 /* confdefs.h. */
35268 _ACEOF
35269 cat confdefs.h >>conftest.$ac_ext
35270 cat >>conftest.$ac_ext <<_ACEOF
35271 /* end confdefs.h. */
35272
35273 /* Override any GCC internal prototype to avoid an error.
35274 Use char because int might match the return type of a GCC
35275 builtin and then its argument prototype would still apply. */
35276 #ifdef __cplusplus
35277 extern "C"
35278 #endif
35279 char XF86VidModeQueryExtension ();
35280 int
35281 main ()
35282 {
35283 return XF86VidModeQueryExtension ();
35284 ;
35285 return 0;
35286 }
35287 _ACEOF
35288 rm -f conftest.$ac_objext conftest$ac_exeext
35289 if { (ac_try="$ac_link"
35290 case "(($ac_try" in
35291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35292 *) ac_try_echo=$ac_try;;
35293 esac
35294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35295 (eval "$ac_link") 2>conftest.er1
35296 ac_status=$?
35297 grep -v '^ *+' conftest.er1 >conftest.err
35298 rm -f conftest.er1
35299 cat conftest.err >&5
35300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35301 (exit $ac_status); } && {
35302 test -z "$ac_c_werror_flag" ||
35303 test ! -s conftest.err
35304 } && test -s conftest$ac_exeext &&
35305 $as_test_x conftest$ac_exeext; then
35306 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
35307 else
35308 echo "$as_me: failed program was:" >&5
35309 sed 's/^/| /' conftest.$ac_ext >&5
35310
35311 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
35312 fi
35313
35314 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35315 conftest$ac_exeext conftest.$ac_ext
35316 LIBS=$ac_check_lib_save_LIBS
35317 fi
35318 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
35319 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
35320 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
35321 ac_find_libraries="std"
35322 fi
35323
35324 fi
35325 fi
35326
35327 if test "x$ac_find_libraries" = "x"; then
35328 { echo "$as_me:$LINENO: checking elsewhere" >&5
35329 echo $ECHO_N "checking elsewhere... $ECHO_C" >&6; }
35330
35331 ac_find_libraries=
35332 for ac_dir in $SEARCH_LIB
35333 do
35334 for ac_extension in a so sl dylib dll.a; do
35335 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
35336 ac_find_libraries=$ac_dir
35337 break 2
35338 fi
35339 done
35340 done
35341
35342 if test "x$ac_find_libraries" != "x"; then
35343 { echo "$as_me:$LINENO: result: yes" >&5
35344 echo "${ECHO_T}yes" >&6; }
35345 else
35346 { echo "$as_me:$LINENO: result: no" >&5
35347 echo "${ECHO_T}no" >&6; }
35348 fi
35349 fi
35350
35351 else
35352 Xxf86vm_CFLAGS=$pkg_cv_Xxf86vm_CFLAGS
35353 Xxf86vm_LIBS=$pkg_cv_Xxf86vm_LIBS
35354 { echo "$as_me:$LINENO: result: yes" >&5
35355 echo "${ECHO_T}yes" >&6; }
35356
35357 ac_find_libraries="std"
35358
35359 eval ac_find_cflags=\$Xxf86vm_CFLAGS
35360 eval fl_libs=\$Xxf86vm_LIBS
35361
35362 for fl_path in $fl_libs
35363 do
35364 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
35365 ac_find_libraries=`echo "$fl_path" | cut -c 3-`
35366 fi
35367 done
35368
35369 fi
35370
35371 if test "$ac_find_libraries" != "" ; then
35372
35373 for ac_header in X11/extensions/xf86vmode.h
35374 do
35375 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35376 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35377 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35378 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35379 echo $ECHO_N "(cached) $ECHO_C" >&6
35380 else
35381 cat >conftest.$ac_ext <<_ACEOF
35382 /* confdefs.h. */
35383 _ACEOF
35384 cat confdefs.h >>conftest.$ac_ext
35385 cat >>conftest.$ac_ext <<_ACEOF
35386 /* end confdefs.h. */
35387
35388 #if HAVE_X11_XLIB_H
35389 #include <X11/Xlib.h>
35390 #endif
35391
35392
35393 #include <$ac_header>
35394 _ACEOF
35395 rm -f conftest.$ac_objext
35396 if { (ac_try="$ac_compile"
35397 case "(($ac_try" in
35398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35399 *) ac_try_echo=$ac_try;;
35400 esac
35401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35402 (eval "$ac_compile") 2>conftest.er1
35403 ac_status=$?
35404 grep -v '^ *+' conftest.er1 >conftest.err
35405 rm -f conftest.er1
35406 cat conftest.err >&5
35407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35408 (exit $ac_status); } && {
35409 test -z "$ac_c_werror_flag" ||
35410 test ! -s conftest.err
35411 } && test -s conftest.$ac_objext; then
35412 eval "$as_ac_Header=yes"
35413 else
35414 echo "$as_me: failed program was:" >&5
35415 sed 's/^/| /' conftest.$ac_ext >&5
35416
35417 eval "$as_ac_Header=no"
35418 fi
35419
35420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35421 fi
35422 ac_res=`eval echo '${'$as_ac_Header'}'`
35423 { echo "$as_me:$LINENO: result: $ac_res" >&5
35424 echo "${ECHO_T}$ac_res" >&6; }
35425 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35426 cat >>confdefs.h <<_ACEOF
35427 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35428 _ACEOF
35429
35430 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
35431
35432 fi
35433
35434 done
35435
35436 fi
35437 fi
35438 fi
35439
35440 if test "$wxUSE_DETECT_SM" = "yes"; then
35441 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1; then
35442
35443 ac_find_libraries=
35444
35445 fl_pkgname=`echo "SM" | tr [:upper:] [:lower:]`
35446
35447
35448 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
35449 if test -n "$ac_tool_prefix"; then
35450 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
35451 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
35452 { echo "$as_me:$LINENO: checking for $ac_word" >&5
35453 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
35454 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
35455 echo $ECHO_N "(cached) $ECHO_C" >&6
35456 else
35457 case $PKG_CONFIG in
35458 [\\/]* | ?:[\\/]*)
35459 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
35460 ;;
35461 *)
35462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35463 for as_dir in $PATH
35464 do
35465 IFS=$as_save_IFS
35466 test -z "$as_dir" && as_dir=.
35467 for ac_exec_ext in '' $ac_executable_extensions; do
35468 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
35469 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
35470 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35471 break 2
35472 fi
35473 done
35474 done
35475 IFS=$as_save_IFS
35476
35477 ;;
35478 esac
35479 fi
35480 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
35481 if test -n "$PKG_CONFIG"; then
35482 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
35483 echo "${ECHO_T}$PKG_CONFIG" >&6; }
35484 else
35485 { echo "$as_me:$LINENO: result: no" >&5
35486 echo "${ECHO_T}no" >&6; }
35487 fi
35488
35489
35490 fi
35491 if test -z "$ac_cv_path_PKG_CONFIG"; then
35492 ac_pt_PKG_CONFIG=$PKG_CONFIG
35493 # Extract the first word of "pkg-config", so it can be a program name with args.
35494 set dummy pkg-config; ac_word=$2
35495 { echo "$as_me:$LINENO: checking for $ac_word" >&5
35496 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
35497 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
35498 echo $ECHO_N "(cached) $ECHO_C" >&6
35499 else
35500 case $ac_pt_PKG_CONFIG in
35501 [\\/]* | ?:[\\/]*)
35502 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
35503 ;;
35504 *)
35505 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35506 for as_dir in $PATH
35507 do
35508 IFS=$as_save_IFS
35509 test -z "$as_dir" && as_dir=.
35510 for ac_exec_ext in '' $ac_executable_extensions; do
35511 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
35512 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
35513 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35514 break 2
35515 fi
35516 done
35517 done
35518 IFS=$as_save_IFS
35519
35520 ;;
35521 esac
35522 fi
35523 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
35524 if test -n "$ac_pt_PKG_CONFIG"; then
35525 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
35526 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
35527 else
35528 { echo "$as_me:$LINENO: result: no" >&5
35529 echo "${ECHO_T}no" >&6; }
35530 fi
35531
35532 if test "x$ac_pt_PKG_CONFIG" = x; then
35533 PKG_CONFIG=""
35534 else
35535 case $cross_compiling:$ac_tool_warned in
35536 yes:)
35537 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
35538 whose name does not start with the host triplet. If you think this
35539 configuration is useful to you, please write to autoconf@gnu.org." >&5
35540 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
35541 whose name does not start with the host triplet. If you think this
35542 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
35543 ac_tool_warned=yes ;;
35544 esac
35545 PKG_CONFIG=$ac_pt_PKG_CONFIG
35546 fi
35547 else
35548 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
35549 fi
35550
35551 fi
35552 if test -n "$PKG_CONFIG"; then
35553 _pkg_min_version=0.9.0
35554 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
35555 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
35556 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
35557 { echo "$as_me:$LINENO: result: yes" >&5
35558 echo "${ECHO_T}yes" >&6; }
35559 else
35560 { echo "$as_me:$LINENO: result: no" >&5
35561 echo "${ECHO_T}no" >&6; }
35562 PKG_CONFIG=""
35563 fi
35564
35565 fi 6> /dev/null
35566
35567 pkg_failed=no
35568 { echo "$as_me:$LINENO: checking for SM" >&5
35569 echo $ECHO_N "checking for SM... $ECHO_C" >&6; }
35570
35571 if test -n "$PKG_CONFIG"; then
35572 if test -n "$SM_CFLAGS"; then
35573 pkg_cv_SM_CFLAGS="$SM_CFLAGS"
35574 else
35575 if test -n "$PKG_CONFIG" && \
35576 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\"") >&5
35577 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
35578 ac_status=$?
35579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35580 (exit $ac_status); }; then
35581 pkg_cv_SM_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
35582 else
35583 pkg_failed=yes
35584 fi
35585 fi
35586 else
35587 pkg_failed=untried
35588 fi
35589 if test -n "$PKG_CONFIG"; then
35590 if test -n "$SM_LIBS"; then
35591 pkg_cv_SM_LIBS="$SM_LIBS"
35592 else
35593 if test -n "$PKG_CONFIG" && \
35594 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\"") >&5
35595 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
35596 ac_status=$?
35597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35598 (exit $ac_status); }; then
35599 pkg_cv_SM_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
35600 else
35601 pkg_failed=yes
35602 fi
35603 fi
35604 else
35605 pkg_failed=untried
35606 fi
35607
35608
35609
35610 if test $pkg_failed = yes; then
35611
35612 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
35613 _pkg_short_errors_supported=yes
35614 else
35615 _pkg_short_errors_supported=no
35616 fi
35617 if test $_pkg_short_errors_supported = yes; then
35618 SM_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
35619 else
35620 SM_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
35621 fi
35622 # Put the nasty error message in config.log where it belongs
35623 echo "$SM_PKG_ERRORS" >&5
35624
35625
35626 if test "x$ac_find_libraries" = "x"; then
35627 if test "xSmcOpenConnection" != "x"; then
35628 { echo "$as_me:$LINENO: checking for SmcOpenConnection in -lSM" >&5
35629 echo $ECHO_N "checking for SmcOpenConnection in -lSM... $ECHO_C" >&6; }
35630 if test "${ac_cv_lib_SM_SmcOpenConnection+set}" = set; then
35631 echo $ECHO_N "(cached) $ECHO_C" >&6
35632 else
35633 ac_check_lib_save_LIBS=$LIBS
35634 LIBS="-lSM $LIBS"
35635 cat >conftest.$ac_ext <<_ACEOF
35636 /* confdefs.h. */
35637 _ACEOF
35638 cat confdefs.h >>conftest.$ac_ext
35639 cat >>conftest.$ac_ext <<_ACEOF
35640 /* end confdefs.h. */
35641
35642 /* Override any GCC internal prototype to avoid an error.
35643 Use char because int might match the return type of a GCC
35644 builtin and then its argument prototype would still apply. */
35645 #ifdef __cplusplus
35646 extern "C"
35647 #endif
35648 char SmcOpenConnection ();
35649 int
35650 main ()
35651 {
35652 return SmcOpenConnection ();
35653 ;
35654 return 0;
35655 }
35656 _ACEOF
35657 rm -f conftest.$ac_objext conftest$ac_exeext
35658 if { (ac_try="$ac_link"
35659 case "(($ac_try" in
35660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35661 *) ac_try_echo=$ac_try;;
35662 esac
35663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35664 (eval "$ac_link") 2>conftest.er1
35665 ac_status=$?
35666 grep -v '^ *+' conftest.er1 >conftest.err
35667 rm -f conftest.er1
35668 cat conftest.err >&5
35669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35670 (exit $ac_status); } && {
35671 test -z "$ac_c_werror_flag" ||
35672 test ! -s conftest.err
35673 } && test -s conftest$ac_exeext &&
35674 $as_test_x conftest$ac_exeext; then
35675 ac_cv_lib_SM_SmcOpenConnection=yes
35676 else
35677 echo "$as_me: failed program was:" >&5
35678 sed 's/^/| /' conftest.$ac_ext >&5
35679
35680 ac_cv_lib_SM_SmcOpenConnection=no
35681 fi
35682
35683 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35684 conftest$ac_exeext conftest.$ac_ext
35685 LIBS=$ac_check_lib_save_LIBS
35686 fi
35687 { echo "$as_me:$LINENO: result: $ac_cv_lib_SM_SmcOpenConnection" >&5
35688 echo "${ECHO_T}$ac_cv_lib_SM_SmcOpenConnection" >&6; }
35689 if test $ac_cv_lib_SM_SmcOpenConnection = yes; then
35690 ac_find_libraries="std"
35691 fi
35692
35693 fi
35694 fi
35695
35696 if test "x$ac_find_libraries" = "x"; then
35697 { echo "$as_me:$LINENO: checking elsewhere" >&5
35698 echo $ECHO_N "checking elsewhere... $ECHO_C" >&6; }
35699
35700 ac_find_libraries=
35701 for ac_dir in $SEARCH_LIB
35702 do
35703 for ac_extension in a so sl dylib dll.a; do
35704 if test -f "$ac_dir/libSM.$ac_extension"; then
35705 ac_find_libraries=$ac_dir
35706 break 2
35707 fi
35708 done
35709 done
35710
35711 if test "x$ac_find_libraries" != "x"; then
35712 { echo "$as_me:$LINENO: result: yes" >&5
35713 echo "${ECHO_T}yes" >&6; }
35714 else
35715 { echo "$as_me:$LINENO: result: no" >&5
35716 echo "${ECHO_T}no" >&6; }
35717 fi
35718 fi
35719
35720 elif test $pkg_failed = untried; then
35721
35722 if test "x$ac_find_libraries" = "x"; then
35723 if test "xSmcOpenConnection" != "x"; then
35724 { echo "$as_me:$LINENO: checking for SmcOpenConnection in -lSM" >&5
35725 echo $ECHO_N "checking for SmcOpenConnection in -lSM... $ECHO_C" >&6; }
35726 if test "${ac_cv_lib_SM_SmcOpenConnection+set}" = set; then
35727 echo $ECHO_N "(cached) $ECHO_C" >&6
35728 else
35729 ac_check_lib_save_LIBS=$LIBS
35730 LIBS="-lSM $LIBS"
35731 cat >conftest.$ac_ext <<_ACEOF
35732 /* confdefs.h. */
35733 _ACEOF
35734 cat confdefs.h >>conftest.$ac_ext
35735 cat >>conftest.$ac_ext <<_ACEOF
35736 /* end confdefs.h. */
35737
35738 /* Override any GCC internal prototype to avoid an error.
35739 Use char because int might match the return type of a GCC
35740 builtin and then its argument prototype would still apply. */
35741 #ifdef __cplusplus
35742 extern "C"
35743 #endif
35744 char SmcOpenConnection ();
35745 int
35746 main ()
35747 {
35748 return SmcOpenConnection ();
35749 ;
35750 return 0;
35751 }
35752 _ACEOF
35753 rm -f conftest.$ac_objext conftest$ac_exeext
35754 if { (ac_try="$ac_link"
35755 case "(($ac_try" in
35756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35757 *) ac_try_echo=$ac_try;;
35758 esac
35759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35760 (eval "$ac_link") 2>conftest.er1
35761 ac_status=$?
35762 grep -v '^ *+' conftest.er1 >conftest.err
35763 rm -f conftest.er1
35764 cat conftest.err >&5
35765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35766 (exit $ac_status); } && {
35767 test -z "$ac_c_werror_flag" ||
35768 test ! -s conftest.err
35769 } && test -s conftest$ac_exeext &&
35770 $as_test_x conftest$ac_exeext; then
35771 ac_cv_lib_SM_SmcOpenConnection=yes
35772 else
35773 echo "$as_me: failed program was:" >&5
35774 sed 's/^/| /' conftest.$ac_ext >&5
35775
35776 ac_cv_lib_SM_SmcOpenConnection=no
35777 fi
35778
35779 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35780 conftest$ac_exeext conftest.$ac_ext
35781 LIBS=$ac_check_lib_save_LIBS
35782 fi
35783 { echo "$as_me:$LINENO: result: $ac_cv_lib_SM_SmcOpenConnection" >&5
35784 echo "${ECHO_T}$ac_cv_lib_SM_SmcOpenConnection" >&6; }
35785 if test $ac_cv_lib_SM_SmcOpenConnection = yes; then
35786 ac_find_libraries="std"
35787 fi
35788
35789 fi
35790 fi
35791
35792 if test "x$ac_find_libraries" = "x"; then
35793 { echo "$as_me:$LINENO: checking elsewhere" >&5
35794 echo $ECHO_N "checking elsewhere... $ECHO_C" >&6; }
35795
35796 ac_find_libraries=
35797 for ac_dir in $SEARCH_LIB
35798 do
35799 for ac_extension in a so sl dylib dll.a; do
35800 if test -f "$ac_dir/libSM.$ac_extension"; then
35801 ac_find_libraries=$ac_dir
35802 break 2
35803 fi
35804 done
35805 done
35806
35807 if test "x$ac_find_libraries" != "x"; then
35808 { echo "$as_me:$LINENO: result: yes" >&5
35809 echo "${ECHO_T}yes" >&6; }
35810 else
35811 { echo "$as_me:$LINENO: result: no" >&5
35812 echo "${ECHO_T}no" >&6; }
35813 fi
35814 fi
35815
35816 else
35817 SM_CFLAGS=$pkg_cv_SM_CFLAGS
35818 SM_LIBS=$pkg_cv_SM_LIBS
35819 { echo "$as_me:$LINENO: result: yes" >&5
35820 echo "${ECHO_T}yes" >&6; }
35821
35822 ac_find_libraries="std"
35823
35824 eval ac_find_cflags=\$SM_CFLAGS
35825 eval fl_libs=\$SM_LIBS
35826
35827 for fl_path in $fl_libs
35828 do
35829 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
35830 ac_find_libraries=`echo "$fl_path" | cut -c 3-`
35831 fi
35832 done
35833
35834 fi
35835
35836 if test "$ac_find_libraries" != "" ; then
35837 if test "$ac_find_libraries" != "std" ; then
35838
35839 if test "$ac_find_libraries" = "default location"; then
35840 ac_path_to_link=""
35841 else
35842 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35843 result=$?
35844 if test $result = 0; then
35845 ac_path_to_link=""
35846 else
35847 ac_path_to_link=" -L$ac_find_libraries"
35848 fi
35849 fi
35850
35851 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35852 LDFLAGS="$LDFLAGS $ac_path_to_link"
35853 fi
35854 fi
35855 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
35856 else
35857 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
35858 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
35859 wxUSE_DETECT_SM="no"
35860 fi
35861 else
35862 wxUSE_DETECT_SM="no"
35863 fi
35864 fi
35865
35866
35867
35868 USE_OPENGL=0
35869 if test "$wxUSE_OPENGL" = "yes" -o "$wxUSE_OPENGL" = "auto"; then
35870
35871
35872 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
35873 OPENGL_LIBS="-framework OpenGL -framework AGL"
35874 elif test "$wxUSE_MSW" = 1; then
35875 OPENGL_LIBS="-lopengl32 -lglu32"
35876 elif test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK2" = 1 -o "$wxUSE_GTK" = 1; then
35877
35878 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
35879 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
35880
35881 ac_find_includes=
35882 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include
35883 do
35884 if test -f "$ac_dir/GL/gl.h"; then
35885 ac_find_includes=$ac_dir
35886 break
35887 fi
35888 done
35889
35890 if test "$ac_find_includes" != "" ; then
35891 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
35892 echo "${ECHO_T}found in $ac_find_includes" >&6; }
35893
35894 if test "x$ac_find_includes" = "x/usr/include"; then
35895 ac_path_to_include=""
35896 else
35897 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
35898 result=$?
35899 if test $result = 0; then
35900 ac_path_to_include=""
35901 else
35902 ac_path_to_include=" -I$ac_find_includes"
35903 fi
35904 fi
35905
35906 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
35907 else
35908 { echo "$as_me:$LINENO: result: not found" >&5
35909 echo "${ECHO_T}not found" >&6; }
35910 fi
35911
35912 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
35913 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
35914 if test "${ac_cv_header_GL_gl_h+set}" = set; then
35915 echo $ECHO_N "(cached) $ECHO_C" >&6
35916 else
35917 cat >conftest.$ac_ext <<_ACEOF
35918 /* confdefs.h. */
35919 _ACEOF
35920 cat confdefs.h >>conftest.$ac_ext
35921 cat >>conftest.$ac_ext <<_ACEOF
35922 /* end confdefs.h. */
35923
35924
35925 #include <GL/gl.h>
35926 _ACEOF
35927 rm -f conftest.$ac_objext
35928 if { (ac_try="$ac_compile"
35929 case "(($ac_try" in
35930 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35931 *) ac_try_echo=$ac_try;;
35932 esac
35933 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35934 (eval "$ac_compile") 2>conftest.er1
35935 ac_status=$?
35936 grep -v '^ *+' conftest.er1 >conftest.err
35937 rm -f conftest.er1
35938 cat conftest.err >&5
35939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35940 (exit $ac_status); } && {
35941 test -z "$ac_c_werror_flag" ||
35942 test ! -s conftest.err
35943 } && test -s conftest.$ac_objext; then
35944 ac_cv_header_GL_gl_h=yes
35945 else
35946 echo "$as_me: failed program was:" >&5
35947 sed 's/^/| /' conftest.$ac_ext >&5
35948
35949 ac_cv_header_GL_gl_h=no
35950 fi
35951
35952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35953 fi
35954 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
35955 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
35956 if test $ac_cv_header_GL_gl_h = yes; then
35957
35958 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
35959 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
35960 if test "${ac_cv_header_GL_glu_h+set}" = set; then
35961 echo $ECHO_N "(cached) $ECHO_C" >&6
35962 else
35963 cat >conftest.$ac_ext <<_ACEOF
35964 /* confdefs.h. */
35965 _ACEOF
35966 cat confdefs.h >>conftest.$ac_ext
35967 cat >>conftest.$ac_ext <<_ACEOF
35968 /* end confdefs.h. */
35969
35970
35971 #include <GL/glu.h>
35972 _ACEOF
35973 rm -f conftest.$ac_objext
35974 if { (ac_try="$ac_compile"
35975 case "(($ac_try" in
35976 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35977 *) ac_try_echo=$ac_try;;
35978 esac
35979 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35980 (eval "$ac_compile") 2>conftest.er1
35981 ac_status=$?
35982 grep -v '^ *+' conftest.er1 >conftest.err
35983 rm -f conftest.er1
35984 cat conftest.err >&5
35985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35986 (exit $ac_status); } && {
35987 test -z "$ac_c_werror_flag" ||
35988 test ! -s conftest.err
35989 } && test -s conftest.$ac_objext; then
35990 ac_cv_header_GL_glu_h=yes
35991 else
35992 echo "$as_me: failed program was:" >&5
35993 sed 's/^/| /' conftest.$ac_ext >&5
35994
35995 ac_cv_header_GL_glu_h=no
35996 fi
35997
35998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35999 fi
36000 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
36001 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
36002 if test $ac_cv_header_GL_glu_h = yes; then
36003
36004 found_gl=0
36005
36006
36007 ac_find_libraries=
36008
36009 fl_pkgname=`echo "GL" | tr [:upper:] [:lower:]`
36010
36011
36012 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
36013 if test -n "$ac_tool_prefix"; then
36014 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
36015 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
36016 { echo "$as_me:$LINENO: checking for $ac_word" >&5
36017 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
36018 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
36019 echo $ECHO_N "(cached) $ECHO_C" >&6
36020 else
36021 case $PKG_CONFIG in
36022 [\\/]* | ?:[\\/]*)
36023 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
36024 ;;
36025 *)
36026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36027 for as_dir in $PATH
36028 do
36029 IFS=$as_save_IFS
36030 test -z "$as_dir" && as_dir=.
36031 for ac_exec_ext in '' $ac_executable_extensions; do
36032 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36033 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
36034 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36035 break 2
36036 fi
36037 done
36038 done
36039 IFS=$as_save_IFS
36040
36041 ;;
36042 esac
36043 fi
36044 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
36045 if test -n "$PKG_CONFIG"; then
36046 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
36047 echo "${ECHO_T}$PKG_CONFIG" >&6; }
36048 else
36049 { echo "$as_me:$LINENO: result: no" >&5
36050 echo "${ECHO_T}no" >&6; }
36051 fi
36052
36053
36054 fi
36055 if test -z "$ac_cv_path_PKG_CONFIG"; then
36056 ac_pt_PKG_CONFIG=$PKG_CONFIG
36057 # Extract the first word of "pkg-config", so it can be a program name with args.
36058 set dummy pkg-config; ac_word=$2
36059 { echo "$as_me:$LINENO: checking for $ac_word" >&5
36060 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
36061 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
36062 echo $ECHO_N "(cached) $ECHO_C" >&6
36063 else
36064 case $ac_pt_PKG_CONFIG in
36065 [\\/]* | ?:[\\/]*)
36066 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
36067 ;;
36068 *)
36069 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36070 for as_dir in $PATH
36071 do
36072 IFS=$as_save_IFS
36073 test -z "$as_dir" && as_dir=.
36074 for ac_exec_ext in '' $ac_executable_extensions; do
36075 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36076 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
36077 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36078 break 2
36079 fi
36080 done
36081 done
36082 IFS=$as_save_IFS
36083
36084 ;;
36085 esac
36086 fi
36087 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
36088 if test -n "$ac_pt_PKG_CONFIG"; then
36089 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
36090 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
36091 else
36092 { echo "$as_me:$LINENO: result: no" >&5
36093 echo "${ECHO_T}no" >&6; }
36094 fi
36095
36096 if test "x$ac_pt_PKG_CONFIG" = x; then
36097 PKG_CONFIG=""
36098 else
36099 case $cross_compiling:$ac_tool_warned in
36100 yes:)
36101 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
36102 whose name does not start with the host triplet. If you think this
36103 configuration is useful to you, please write to autoconf@gnu.org." >&5
36104 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
36105 whose name does not start with the host triplet. If you think this
36106 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
36107 ac_tool_warned=yes ;;
36108 esac
36109 PKG_CONFIG=$ac_pt_PKG_CONFIG
36110 fi
36111 else
36112 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
36113 fi
36114
36115 fi
36116 if test -n "$PKG_CONFIG"; then
36117 _pkg_min_version=0.9.0
36118 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
36119 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
36120 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
36121 { echo "$as_me:$LINENO: result: yes" >&5
36122 echo "${ECHO_T}yes" >&6; }
36123 else
36124 { echo "$as_me:$LINENO: result: no" >&5
36125 echo "${ECHO_T}no" >&6; }
36126 PKG_CONFIG=""
36127 fi
36128
36129 fi 6> /dev/null
36130
36131 pkg_failed=no
36132 { echo "$as_me:$LINENO: checking for GL" >&5
36133 echo $ECHO_N "checking for GL... $ECHO_C" >&6; }
36134
36135 if test -n "$PKG_CONFIG"; then
36136 if test -n "$GL_CFLAGS"; then
36137 pkg_cv_GL_CFLAGS="$GL_CFLAGS"
36138 else
36139 if test -n "$PKG_CONFIG" && \
36140 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\"") >&5
36141 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
36142 ac_status=$?
36143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36144 (exit $ac_status); }; then
36145 pkg_cv_GL_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
36146 else
36147 pkg_failed=yes
36148 fi
36149 fi
36150 else
36151 pkg_failed=untried
36152 fi
36153 if test -n "$PKG_CONFIG"; then
36154 if test -n "$GL_LIBS"; then
36155 pkg_cv_GL_LIBS="$GL_LIBS"
36156 else
36157 if test -n "$PKG_CONFIG" && \
36158 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\"") >&5
36159 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
36160 ac_status=$?
36161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36162 (exit $ac_status); }; then
36163 pkg_cv_GL_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
36164 else
36165 pkg_failed=yes
36166 fi
36167 fi
36168 else
36169 pkg_failed=untried
36170 fi
36171
36172
36173
36174 if test $pkg_failed = yes; then
36175
36176 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
36177 _pkg_short_errors_supported=yes
36178 else
36179 _pkg_short_errors_supported=no
36180 fi
36181 if test $_pkg_short_errors_supported = yes; then
36182 GL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
36183 else
36184 GL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
36185 fi
36186 # Put the nasty error message in config.log where it belongs
36187 echo "$GL_PKG_ERRORS" >&5
36188
36189
36190 if test "x$ac_find_libraries" = "x"; then
36191 if test "xglBegin" != "x"; then
36192 { echo "$as_me:$LINENO: checking for glBegin in -lGL" >&5
36193 echo $ECHO_N "checking for glBegin in -lGL... $ECHO_C" >&6; }
36194 if test "${ac_cv_lib_GL_glBegin+set}" = set; then
36195 echo $ECHO_N "(cached) $ECHO_C" >&6
36196 else
36197 ac_check_lib_save_LIBS=$LIBS
36198 LIBS="-lGL $LIBS"
36199 cat >conftest.$ac_ext <<_ACEOF
36200 /* confdefs.h. */
36201 _ACEOF
36202 cat confdefs.h >>conftest.$ac_ext
36203 cat >>conftest.$ac_ext <<_ACEOF
36204 /* end confdefs.h. */
36205
36206 /* Override any GCC internal prototype to avoid an error.
36207 Use char because int might match the return type of a GCC
36208 builtin and then its argument prototype would still apply. */
36209 #ifdef __cplusplus
36210 extern "C"
36211 #endif
36212 char glBegin ();
36213 int
36214 main ()
36215 {
36216 return glBegin ();
36217 ;
36218 return 0;
36219 }
36220 _ACEOF
36221 rm -f conftest.$ac_objext conftest$ac_exeext
36222 if { (ac_try="$ac_link"
36223 case "(($ac_try" in
36224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36225 *) ac_try_echo=$ac_try;;
36226 esac
36227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36228 (eval "$ac_link") 2>conftest.er1
36229 ac_status=$?
36230 grep -v '^ *+' conftest.er1 >conftest.err
36231 rm -f conftest.er1
36232 cat conftest.err >&5
36233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36234 (exit $ac_status); } && {
36235 test -z "$ac_c_werror_flag" ||
36236 test ! -s conftest.err
36237 } && test -s conftest$ac_exeext &&
36238 $as_test_x conftest$ac_exeext; then
36239 ac_cv_lib_GL_glBegin=yes
36240 else
36241 echo "$as_me: failed program was:" >&5
36242 sed 's/^/| /' conftest.$ac_ext >&5
36243
36244 ac_cv_lib_GL_glBegin=no
36245 fi
36246
36247 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36248 conftest$ac_exeext conftest.$ac_ext
36249 LIBS=$ac_check_lib_save_LIBS
36250 fi
36251 { echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glBegin" >&5
36252 echo "${ECHO_T}$ac_cv_lib_GL_glBegin" >&6; }
36253 if test $ac_cv_lib_GL_glBegin = yes; then
36254 ac_find_libraries="std"
36255 fi
36256
36257 fi
36258 fi
36259
36260 if test "x$ac_find_libraries" = "x"; then
36261 { echo "$as_me:$LINENO: checking elsewhere" >&5
36262 echo $ECHO_N "checking elsewhere... $ECHO_C" >&6; }
36263
36264 ac_find_libraries=
36265 for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
36266 do
36267 for ac_extension in a so sl dylib dll.a; do
36268 if test -f "$ac_dir/libGL.$ac_extension"; then
36269 ac_find_libraries=$ac_dir
36270 break 2
36271 fi
36272 done
36273 done
36274
36275 if test "x$ac_find_libraries" != "x"; then
36276 { echo "$as_me:$LINENO: result: yes" >&5
36277 echo "${ECHO_T}yes" >&6; }
36278 else
36279 { echo "$as_me:$LINENO: result: no" >&5
36280 echo "${ECHO_T}no" >&6; }
36281 fi
36282 fi
36283
36284 elif test $pkg_failed = untried; then
36285
36286 if test "x$ac_find_libraries" = "x"; then
36287 if test "xglBegin" != "x"; then
36288 { echo "$as_me:$LINENO: checking for glBegin in -lGL" >&5
36289 echo $ECHO_N "checking for glBegin in -lGL... $ECHO_C" >&6; }
36290 if test "${ac_cv_lib_GL_glBegin+set}" = set; then
36291 echo $ECHO_N "(cached) $ECHO_C" >&6
36292 else
36293 ac_check_lib_save_LIBS=$LIBS
36294 LIBS="-lGL $LIBS"
36295 cat >conftest.$ac_ext <<_ACEOF
36296 /* confdefs.h. */
36297 _ACEOF
36298 cat confdefs.h >>conftest.$ac_ext
36299 cat >>conftest.$ac_ext <<_ACEOF
36300 /* end confdefs.h. */
36301
36302 /* Override any GCC internal prototype to avoid an error.
36303 Use char because int might match the return type of a GCC
36304 builtin and then its argument prototype would still apply. */
36305 #ifdef __cplusplus
36306 extern "C"
36307 #endif
36308 char glBegin ();
36309 int
36310 main ()
36311 {
36312 return glBegin ();
36313 ;
36314 return 0;
36315 }
36316 _ACEOF
36317 rm -f conftest.$ac_objext conftest$ac_exeext
36318 if { (ac_try="$ac_link"
36319 case "(($ac_try" in
36320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36321 *) ac_try_echo=$ac_try;;
36322 esac
36323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36324 (eval "$ac_link") 2>conftest.er1
36325 ac_status=$?
36326 grep -v '^ *+' conftest.er1 >conftest.err
36327 rm -f conftest.er1
36328 cat conftest.err >&5
36329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36330 (exit $ac_status); } && {
36331 test -z "$ac_c_werror_flag" ||
36332 test ! -s conftest.err
36333 } && test -s conftest$ac_exeext &&
36334 $as_test_x conftest$ac_exeext; then
36335 ac_cv_lib_GL_glBegin=yes
36336 else
36337 echo "$as_me: failed program was:" >&5
36338 sed 's/^/| /' conftest.$ac_ext >&5
36339
36340 ac_cv_lib_GL_glBegin=no
36341 fi
36342
36343 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36344 conftest$ac_exeext conftest.$ac_ext
36345 LIBS=$ac_check_lib_save_LIBS
36346 fi
36347 { echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glBegin" >&5
36348 echo "${ECHO_T}$ac_cv_lib_GL_glBegin" >&6; }
36349 if test $ac_cv_lib_GL_glBegin = yes; then
36350 ac_find_libraries="std"
36351 fi
36352
36353 fi
36354 fi
36355
36356 if test "x$ac_find_libraries" = "x"; then
36357 { echo "$as_me:$LINENO: checking elsewhere" >&5
36358 echo $ECHO_N "checking elsewhere... $ECHO_C" >&6; }
36359
36360 ac_find_libraries=
36361 for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
36362 do
36363 for ac_extension in a so sl dylib dll.a; do
36364 if test -f "$ac_dir/libGL.$ac_extension"; then
36365 ac_find_libraries=$ac_dir
36366 break 2
36367 fi
36368 done
36369 done
36370
36371 if test "x$ac_find_libraries" != "x"; then
36372 { echo "$as_me:$LINENO: result: yes" >&5
36373 echo "${ECHO_T}yes" >&6; }
36374 else
36375 { echo "$as_me:$LINENO: result: no" >&5
36376 echo "${ECHO_T}no" >&6; }
36377 fi
36378 fi
36379
36380 else
36381 GL_CFLAGS=$pkg_cv_GL_CFLAGS
36382 GL_LIBS=$pkg_cv_GL_LIBS
36383 { echo "$as_me:$LINENO: result: yes" >&5
36384 echo "${ECHO_T}yes" >&6; }
36385
36386 ac_find_libraries="std"
36387
36388 eval ac_find_cflags=\$GL_CFLAGS
36389 eval fl_libs=\$GL_LIBS
36390
36391 for fl_path in $fl_libs
36392 do
36393 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
36394 ac_find_libraries=`echo "$fl_path" | cut -c 3-`
36395 fi
36396 done
36397
36398 fi
36399
36400 if test "$ac_find_libraries" != "" ; then
36401 if test "$ac_find_libraries" != "std" ; then
36402
36403 if test "$ac_find_libraries" = "default location"; then
36404 ac_path_to_link=""
36405 else
36406 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
36407 result=$?
36408 if test $result = 0; then
36409 ac_path_to_link=""
36410 else
36411 ac_path_to_link=" -L$ac_find_libraries"
36412 fi
36413 fi
36414
36415 if test "$ac_path_to_link" != " -L/usr/lib" ; then
36416 LDFLAGS_GL="$ac_path_to_link"
36417 fi
36418 fi
36419
36420
36421 ac_find_libraries=
36422
36423 fl_pkgname=`echo "GLU" | tr [:upper:] [:lower:]`
36424
36425
36426 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
36427 if test -n "$ac_tool_prefix"; then
36428 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
36429 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
36430 { echo "$as_me:$LINENO: checking for $ac_word" >&5
36431 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
36432 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
36433 echo $ECHO_N "(cached) $ECHO_C" >&6
36434 else
36435 case $PKG_CONFIG in
36436 [\\/]* | ?:[\\/]*)
36437 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
36438 ;;
36439 *)
36440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36441 for as_dir in $PATH
36442 do
36443 IFS=$as_save_IFS
36444 test -z "$as_dir" && as_dir=.
36445 for ac_exec_ext in '' $ac_executable_extensions; do
36446 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36447 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
36448 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36449 break 2
36450 fi
36451 done
36452 done
36453 IFS=$as_save_IFS
36454
36455 ;;
36456 esac
36457 fi
36458 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
36459 if test -n "$PKG_CONFIG"; then
36460 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
36461 echo "${ECHO_T}$PKG_CONFIG" >&6; }
36462 else
36463 { echo "$as_me:$LINENO: result: no" >&5
36464 echo "${ECHO_T}no" >&6; }
36465 fi
36466
36467
36468 fi
36469 if test -z "$ac_cv_path_PKG_CONFIG"; then
36470 ac_pt_PKG_CONFIG=$PKG_CONFIG
36471 # Extract the first word of "pkg-config", so it can be a program name with args.
36472 set dummy pkg-config; ac_word=$2
36473 { echo "$as_me:$LINENO: checking for $ac_word" >&5
36474 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
36475 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
36476 echo $ECHO_N "(cached) $ECHO_C" >&6
36477 else
36478 case $ac_pt_PKG_CONFIG in
36479 [\\/]* | ?:[\\/]*)
36480 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
36481 ;;
36482 *)
36483 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36484 for as_dir in $PATH
36485 do
36486 IFS=$as_save_IFS
36487 test -z "$as_dir" && as_dir=.
36488 for ac_exec_ext in '' $ac_executable_extensions; do
36489 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36490 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
36491 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36492 break 2
36493 fi
36494 done
36495 done
36496 IFS=$as_save_IFS
36497
36498 ;;
36499 esac
36500 fi
36501 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
36502 if test -n "$ac_pt_PKG_CONFIG"; then
36503 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
36504 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
36505 else
36506 { echo "$as_me:$LINENO: result: no" >&5
36507 echo "${ECHO_T}no" >&6; }
36508 fi
36509
36510 if test "x$ac_pt_PKG_CONFIG" = x; then
36511 PKG_CONFIG=""
36512 else
36513 case $cross_compiling:$ac_tool_warned in
36514 yes:)
36515 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
36516 whose name does not start with the host triplet. If you think this
36517 configuration is useful to you, please write to autoconf@gnu.org." >&5
36518 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
36519 whose name does not start with the host triplet. If you think this
36520 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
36521 ac_tool_warned=yes ;;
36522 esac
36523 PKG_CONFIG=$ac_pt_PKG_CONFIG
36524 fi
36525 else
36526 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
36527 fi
36528
36529 fi
36530 if test -n "$PKG_CONFIG"; then
36531 _pkg_min_version=0.9.0
36532 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
36533 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
36534 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
36535 { echo "$as_me:$LINENO: result: yes" >&5
36536 echo "${ECHO_T}yes" >&6; }
36537 else
36538 { echo "$as_me:$LINENO: result: no" >&5
36539 echo "${ECHO_T}no" >&6; }
36540 PKG_CONFIG=""
36541 fi
36542
36543 fi 6> /dev/null
36544
36545 pkg_failed=no
36546 { echo "$as_me:$LINENO: checking for GLU" >&5
36547 echo $ECHO_N "checking for GLU... $ECHO_C" >&6; }
36548
36549 if test -n "$PKG_CONFIG"; then
36550 if test -n "$GLU_CFLAGS"; then
36551 pkg_cv_GLU_CFLAGS="$GLU_CFLAGS"
36552 else
36553 if test -n "$PKG_CONFIG" && \
36554 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\"") >&5
36555 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
36556 ac_status=$?
36557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36558 (exit $ac_status); }; then
36559 pkg_cv_GLU_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
36560 else
36561 pkg_failed=yes
36562 fi
36563 fi
36564 else
36565 pkg_failed=untried
36566 fi
36567 if test -n "$PKG_CONFIG"; then
36568 if test -n "$GLU_LIBS"; then
36569 pkg_cv_GLU_LIBS="$GLU_LIBS"
36570 else
36571 if test -n "$PKG_CONFIG" && \
36572 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\"") >&5
36573 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
36574 ac_status=$?
36575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36576 (exit $ac_status); }; then
36577 pkg_cv_GLU_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
36578 else
36579 pkg_failed=yes
36580 fi
36581 fi
36582 else
36583 pkg_failed=untried
36584 fi
36585
36586
36587
36588 if test $pkg_failed = yes; then
36589
36590 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
36591 _pkg_short_errors_supported=yes
36592 else
36593 _pkg_short_errors_supported=no
36594 fi
36595 if test $_pkg_short_errors_supported = yes; then
36596 GLU_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
36597 else
36598 GLU_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
36599 fi
36600 # Put the nasty error message in config.log where it belongs
36601 echo "$GLU_PKG_ERRORS" >&5
36602
36603
36604 if test "x$ac_find_libraries" = "x"; then
36605 if test "xgluBeginCurve" != "x"; then
36606 { echo "$as_me:$LINENO: checking for gluBeginCurve in -lGLU" >&5
36607 echo $ECHO_N "checking for gluBeginCurve in -lGLU... $ECHO_C" >&6; }
36608 if test "${ac_cv_lib_GLU_gluBeginCurve+set}" = set; then
36609 echo $ECHO_N "(cached) $ECHO_C" >&6
36610 else
36611 ac_check_lib_save_LIBS=$LIBS
36612 LIBS="-lGLU $LIBS"
36613 cat >conftest.$ac_ext <<_ACEOF
36614 /* confdefs.h. */
36615 _ACEOF
36616 cat confdefs.h >>conftest.$ac_ext
36617 cat >>conftest.$ac_ext <<_ACEOF
36618 /* end confdefs.h. */
36619
36620 /* Override any GCC internal prototype to avoid an error.
36621 Use char because int might match the return type of a GCC
36622 builtin and then its argument prototype would still apply. */
36623 #ifdef __cplusplus
36624 extern "C"
36625 #endif
36626 char gluBeginCurve ();
36627 int
36628 main ()
36629 {
36630 return gluBeginCurve ();
36631 ;
36632 return 0;
36633 }
36634 _ACEOF
36635 rm -f conftest.$ac_objext conftest$ac_exeext
36636 if { (ac_try="$ac_link"
36637 case "(($ac_try" in
36638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36639 *) ac_try_echo=$ac_try;;
36640 esac
36641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36642 (eval "$ac_link") 2>conftest.er1
36643 ac_status=$?
36644 grep -v '^ *+' conftest.er1 >conftest.err
36645 rm -f conftest.er1
36646 cat conftest.err >&5
36647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36648 (exit $ac_status); } && {
36649 test -z "$ac_c_werror_flag" ||
36650 test ! -s conftest.err
36651 } && test -s conftest$ac_exeext &&
36652 $as_test_x conftest$ac_exeext; then
36653 ac_cv_lib_GLU_gluBeginCurve=yes
36654 else
36655 echo "$as_me: failed program was:" >&5
36656 sed 's/^/| /' conftest.$ac_ext >&5
36657
36658 ac_cv_lib_GLU_gluBeginCurve=no
36659 fi
36660
36661 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36662 conftest$ac_exeext conftest.$ac_ext
36663 LIBS=$ac_check_lib_save_LIBS
36664 fi
36665 { echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluBeginCurve" >&5
36666 echo "${ECHO_T}$ac_cv_lib_GLU_gluBeginCurve" >&6; }
36667 if test $ac_cv_lib_GLU_gluBeginCurve = yes; then
36668 ac_find_libraries="std"
36669 fi
36670
36671 fi
36672 fi
36673
36674 if test "x$ac_find_libraries" = "x"; then
36675 { echo "$as_me:$LINENO: checking elsewhere" >&5
36676 echo $ECHO_N "checking elsewhere... $ECHO_C" >&6; }
36677
36678 ac_find_libraries=
36679 for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
36680 do
36681 for ac_extension in a so sl dylib dll.a; do
36682 if test -f "$ac_dir/libGLU.$ac_extension"; then
36683 ac_find_libraries=$ac_dir
36684 break 2
36685 fi
36686 done
36687 done
36688
36689 if test "x$ac_find_libraries" != "x"; then
36690 { echo "$as_me:$LINENO: result: yes" >&5
36691 echo "${ECHO_T}yes" >&6; }
36692 else
36693 { echo "$as_me:$LINENO: result: no" >&5
36694 echo "${ECHO_T}no" >&6; }
36695 fi
36696 fi
36697
36698 elif test $pkg_failed = untried; then
36699
36700 if test "x$ac_find_libraries" = "x"; then
36701 if test "xgluBeginCurve" != "x"; then
36702 { echo "$as_me:$LINENO: checking for gluBeginCurve in -lGLU" >&5
36703 echo $ECHO_N "checking for gluBeginCurve in -lGLU... $ECHO_C" >&6; }
36704 if test "${ac_cv_lib_GLU_gluBeginCurve+set}" = set; then
36705 echo $ECHO_N "(cached) $ECHO_C" >&6
36706 else
36707 ac_check_lib_save_LIBS=$LIBS
36708 LIBS="-lGLU $LIBS"
36709 cat >conftest.$ac_ext <<_ACEOF
36710 /* confdefs.h. */
36711 _ACEOF
36712 cat confdefs.h >>conftest.$ac_ext
36713 cat >>conftest.$ac_ext <<_ACEOF
36714 /* end confdefs.h. */
36715
36716 /* Override any GCC internal prototype to avoid an error.
36717 Use char because int might match the return type of a GCC
36718 builtin and then its argument prototype would still apply. */
36719 #ifdef __cplusplus
36720 extern "C"
36721 #endif
36722 char gluBeginCurve ();
36723 int
36724 main ()
36725 {
36726 return gluBeginCurve ();
36727 ;
36728 return 0;
36729 }
36730 _ACEOF
36731 rm -f conftest.$ac_objext conftest$ac_exeext
36732 if { (ac_try="$ac_link"
36733 case "(($ac_try" in
36734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36735 *) ac_try_echo=$ac_try;;
36736 esac
36737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36738 (eval "$ac_link") 2>conftest.er1
36739 ac_status=$?
36740 grep -v '^ *+' conftest.er1 >conftest.err
36741 rm -f conftest.er1
36742 cat conftest.err >&5
36743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36744 (exit $ac_status); } && {
36745 test -z "$ac_c_werror_flag" ||
36746 test ! -s conftest.err
36747 } && test -s conftest$ac_exeext &&
36748 $as_test_x conftest$ac_exeext; then
36749 ac_cv_lib_GLU_gluBeginCurve=yes
36750 else
36751 echo "$as_me: failed program was:" >&5
36752 sed 's/^/| /' conftest.$ac_ext >&5
36753
36754 ac_cv_lib_GLU_gluBeginCurve=no
36755 fi
36756
36757 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36758 conftest$ac_exeext conftest.$ac_ext
36759 LIBS=$ac_check_lib_save_LIBS
36760 fi
36761 { echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluBeginCurve" >&5
36762 echo "${ECHO_T}$ac_cv_lib_GLU_gluBeginCurve" >&6; }
36763 if test $ac_cv_lib_GLU_gluBeginCurve = yes; then
36764 ac_find_libraries="std"
36765 fi
36766
36767 fi
36768 fi
36769
36770 if test "x$ac_find_libraries" = "x"; then
36771 { echo "$as_me:$LINENO: checking elsewhere" >&5
36772 echo $ECHO_N "checking elsewhere... $ECHO_C" >&6; }
36773
36774 ac_find_libraries=
36775 for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
36776 do
36777 for ac_extension in a so sl dylib dll.a; do
36778 if test -f "$ac_dir/libGLU.$ac_extension"; then
36779 ac_find_libraries=$ac_dir
36780 break 2
36781 fi
36782 done
36783 done
36784
36785 if test "x$ac_find_libraries" != "x"; then
36786 { echo "$as_me:$LINENO: result: yes" >&5
36787 echo "${ECHO_T}yes" >&6; }
36788 else
36789 { echo "$as_me:$LINENO: result: no" >&5
36790 echo "${ECHO_T}no" >&6; }
36791 fi
36792 fi
36793
36794 else
36795 GLU_CFLAGS=$pkg_cv_GLU_CFLAGS
36796 GLU_LIBS=$pkg_cv_GLU_LIBS
36797 { echo "$as_me:$LINENO: result: yes" >&5
36798 echo "${ECHO_T}yes" >&6; }
36799
36800 ac_find_libraries="std"
36801
36802 eval ac_find_cflags=\$GLU_CFLAGS
36803 eval fl_libs=\$GLU_LIBS
36804
36805 for fl_path in $fl_libs
36806 do
36807 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
36808 ac_find_libraries=`echo "$fl_path" | cut -c 3-`
36809 fi
36810 done
36811
36812 fi
36813
36814 if test "$ac_find_libraries" != "" ; then
36815 if test "$ac_find_libraries" != "std" ; then
36816
36817 if test "$ac_find_libraries" = "default location"; then
36818 ac_path_to_link=""
36819 else
36820 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
36821 result=$?
36822 if test $result = 0; then
36823 ac_path_to_link=""
36824 else
36825 ac_path_to_link=" -L$ac_find_libraries"
36826 fi
36827 fi
36828
36829 if test "$ac_path_to_link" != " -L/usr/lib" -a \
36830 "$ac_path_to_link" != "$LDFLAGS_GL" ; then
36831 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
36832 fi
36833 fi
36834
36835 found_gl=1
36836 OPENGL_LIBS="-lGL -lGLU"
36837 fi
36838 fi
36839
36840 if test "$found_gl" != 1; then
36841
36842 ac_find_libraries=
36843
36844 fl_pkgname=`echo "MesaGL" | tr [:upper:] [:lower:]`
36845
36846
36847 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
36848 if test -n "$ac_tool_prefix"; then
36849 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
36850 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
36851 { echo "$as_me:$LINENO: checking for $ac_word" >&5
36852 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
36853 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
36854 echo $ECHO_N "(cached) $ECHO_C" >&6
36855 else
36856 case $PKG_CONFIG in
36857 [\\/]* | ?:[\\/]*)
36858 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
36859 ;;
36860 *)
36861 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36862 for as_dir in $PATH
36863 do
36864 IFS=$as_save_IFS
36865 test -z "$as_dir" && as_dir=.
36866 for ac_exec_ext in '' $ac_executable_extensions; do
36867 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36868 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
36869 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36870 break 2
36871 fi
36872 done
36873 done
36874 IFS=$as_save_IFS
36875
36876 ;;
36877 esac
36878 fi
36879 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
36880 if test -n "$PKG_CONFIG"; then
36881 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
36882 echo "${ECHO_T}$PKG_CONFIG" >&6; }
36883 else
36884 { echo "$as_me:$LINENO: result: no" >&5
36885 echo "${ECHO_T}no" >&6; }
36886 fi
36887
36888
36889 fi
36890 if test -z "$ac_cv_path_PKG_CONFIG"; then
36891 ac_pt_PKG_CONFIG=$PKG_CONFIG
36892 # Extract the first word of "pkg-config", so it can be a program name with args.
36893 set dummy pkg-config; ac_word=$2
36894 { echo "$as_me:$LINENO: checking for $ac_word" >&5
36895 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
36896 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
36897 echo $ECHO_N "(cached) $ECHO_C" >&6
36898 else
36899 case $ac_pt_PKG_CONFIG in
36900 [\\/]* | ?:[\\/]*)
36901 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
36902 ;;
36903 *)
36904 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36905 for as_dir in $PATH
36906 do
36907 IFS=$as_save_IFS
36908 test -z "$as_dir" && as_dir=.
36909 for ac_exec_ext in '' $ac_executable_extensions; do
36910 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36911 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
36912 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36913 break 2
36914 fi
36915 done
36916 done
36917 IFS=$as_save_IFS
36918
36919 ;;
36920 esac
36921 fi
36922 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
36923 if test -n "$ac_pt_PKG_CONFIG"; then
36924 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
36925 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
36926 else
36927 { echo "$as_me:$LINENO: result: no" >&5
36928 echo "${ECHO_T}no" >&6; }
36929 fi
36930
36931 if test "x$ac_pt_PKG_CONFIG" = x; then
36932 PKG_CONFIG=""
36933 else
36934 case $cross_compiling:$ac_tool_warned in
36935 yes:)
36936 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
36937 whose name does not start with the host triplet. If you think this
36938 configuration is useful to you, please write to autoconf@gnu.org." >&5
36939 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
36940 whose name does not start with the host triplet. If you think this
36941 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
36942 ac_tool_warned=yes ;;
36943 esac
36944 PKG_CONFIG=$ac_pt_PKG_CONFIG
36945 fi
36946 else
36947 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
36948 fi
36949
36950 fi
36951 if test -n "$PKG_CONFIG"; then
36952 _pkg_min_version=0.9.0
36953 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
36954 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
36955 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
36956 { echo "$as_me:$LINENO: result: yes" >&5
36957 echo "${ECHO_T}yes" >&6; }
36958 else
36959 { echo "$as_me:$LINENO: result: no" >&5
36960 echo "${ECHO_T}no" >&6; }
36961 PKG_CONFIG=""
36962 fi
36963
36964 fi 6> /dev/null
36965
36966 pkg_failed=no
36967 { echo "$as_me:$LINENO: checking for MesaGL" >&5
36968 echo $ECHO_N "checking for MesaGL... $ECHO_C" >&6; }
36969
36970 if test -n "$PKG_CONFIG"; then
36971 if test -n "$MesaGL_CFLAGS"; then
36972 pkg_cv_MesaGL_CFLAGS="$MesaGL_CFLAGS"
36973 else
36974 if test -n "$PKG_CONFIG" && \
36975 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\"") >&5
36976 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
36977 ac_status=$?
36978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36979 (exit $ac_status); }; then
36980 pkg_cv_MesaGL_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
36981 else
36982 pkg_failed=yes
36983 fi
36984 fi
36985 else
36986 pkg_failed=untried
36987 fi
36988 if test -n "$PKG_CONFIG"; then
36989 if test -n "$MesaGL_LIBS"; then
36990 pkg_cv_MesaGL_LIBS="$MesaGL_LIBS"
36991 else
36992 if test -n "$PKG_CONFIG" && \
36993 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\"") >&5
36994 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
36995 ac_status=$?
36996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36997 (exit $ac_status); }; then
36998 pkg_cv_MesaGL_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
36999 else
37000 pkg_failed=yes
37001 fi
37002 fi
37003 else
37004 pkg_failed=untried
37005 fi
37006
37007
37008
37009 if test $pkg_failed = yes; then
37010
37011 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
37012 _pkg_short_errors_supported=yes
37013 else
37014 _pkg_short_errors_supported=no
37015 fi
37016 if test $_pkg_short_errors_supported = yes; then
37017 MesaGL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
37018 else
37019 MesaGL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
37020 fi
37021 # Put the nasty error message in config.log where it belongs
37022 echo "$MesaGL_PKG_ERRORS" >&5
37023
37024
37025 if test "x$ac_find_libraries" = "x"; then
37026 if test "xglEnable" != "x"; then
37027 { echo "$as_me:$LINENO: checking for glEnable in -lMesaGL" >&5
37028 echo $ECHO_N "checking for glEnable in -lMesaGL... $ECHO_C" >&6; }
37029 if test "${ac_cv_lib_MesaGL_glEnable+set}" = set; then
37030 echo $ECHO_N "(cached) $ECHO_C" >&6
37031 else
37032 ac_check_lib_save_LIBS=$LIBS
37033 LIBS="-lMesaGL $LIBS"
37034 cat >conftest.$ac_ext <<_ACEOF
37035 /* confdefs.h. */
37036 _ACEOF
37037 cat confdefs.h >>conftest.$ac_ext
37038 cat >>conftest.$ac_ext <<_ACEOF
37039 /* end confdefs.h. */
37040
37041 /* Override any GCC internal prototype to avoid an error.
37042 Use char because int might match the return type of a GCC
37043 builtin and then its argument prototype would still apply. */
37044 #ifdef __cplusplus
37045 extern "C"
37046 #endif
37047 char glEnable ();
37048 int
37049 main ()
37050 {
37051 return glEnable ();
37052 ;
37053 return 0;
37054 }
37055 _ACEOF
37056 rm -f conftest.$ac_objext conftest$ac_exeext
37057 if { (ac_try="$ac_link"
37058 case "(($ac_try" in
37059 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37060 *) ac_try_echo=$ac_try;;
37061 esac
37062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37063 (eval "$ac_link") 2>conftest.er1
37064 ac_status=$?
37065 grep -v '^ *+' conftest.er1 >conftest.err
37066 rm -f conftest.er1
37067 cat conftest.err >&5
37068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37069 (exit $ac_status); } && {
37070 test -z "$ac_c_werror_flag" ||
37071 test ! -s conftest.err
37072 } && test -s conftest$ac_exeext &&
37073 $as_test_x conftest$ac_exeext; then
37074 ac_cv_lib_MesaGL_glEnable=yes
37075 else
37076 echo "$as_me: failed program was:" >&5
37077 sed 's/^/| /' conftest.$ac_ext >&5
37078
37079 ac_cv_lib_MesaGL_glEnable=no
37080 fi
37081
37082 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37083 conftest$ac_exeext conftest.$ac_ext
37084 LIBS=$ac_check_lib_save_LIBS
37085 fi
37086 { echo "$as_me:$LINENO: result: $ac_cv_lib_MesaGL_glEnable" >&5
37087 echo "${ECHO_T}$ac_cv_lib_MesaGL_glEnable" >&6; }
37088 if test $ac_cv_lib_MesaGL_glEnable = yes; then
37089 ac_find_libraries="std"
37090 fi
37091
37092 fi
37093 fi
37094
37095 if test "x$ac_find_libraries" = "x"; then
37096 { echo "$as_me:$LINENO: checking elsewhere" >&5
37097 echo $ECHO_N "checking elsewhere... $ECHO_C" >&6; }
37098
37099 ac_find_libraries=
37100 for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
37101 do
37102 for ac_extension in a so sl dylib dll.a; do
37103 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
37104 ac_find_libraries=$ac_dir
37105 break 2
37106 fi
37107 done
37108 done
37109
37110 if test "x$ac_find_libraries" != "x"; then
37111 { echo "$as_me:$LINENO: result: yes" >&5
37112 echo "${ECHO_T}yes" >&6; }
37113 else
37114 { echo "$as_me:$LINENO: result: no" >&5
37115 echo "${ECHO_T}no" >&6; }
37116 fi
37117 fi
37118
37119 elif test $pkg_failed = untried; then
37120
37121 if test "x$ac_find_libraries" = "x"; then
37122 if test "xglEnable" != "x"; then
37123 { echo "$as_me:$LINENO: checking for glEnable in -lMesaGL" >&5
37124 echo $ECHO_N "checking for glEnable in -lMesaGL... $ECHO_C" >&6; }
37125 if test "${ac_cv_lib_MesaGL_glEnable+set}" = set; then
37126 echo $ECHO_N "(cached) $ECHO_C" >&6
37127 else
37128 ac_check_lib_save_LIBS=$LIBS
37129 LIBS="-lMesaGL $LIBS"
37130 cat >conftest.$ac_ext <<_ACEOF
37131 /* confdefs.h. */
37132 _ACEOF
37133 cat confdefs.h >>conftest.$ac_ext
37134 cat >>conftest.$ac_ext <<_ACEOF
37135 /* end confdefs.h. */
37136
37137 /* Override any GCC internal prototype to avoid an error.
37138 Use char because int might match the return type of a GCC
37139 builtin and then its argument prototype would still apply. */
37140 #ifdef __cplusplus
37141 extern "C"
37142 #endif
37143 char glEnable ();
37144 int
37145 main ()
37146 {
37147 return glEnable ();
37148 ;
37149 return 0;
37150 }
37151 _ACEOF
37152 rm -f conftest.$ac_objext conftest$ac_exeext
37153 if { (ac_try="$ac_link"
37154 case "(($ac_try" in
37155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37156 *) ac_try_echo=$ac_try;;
37157 esac
37158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37159 (eval "$ac_link") 2>conftest.er1
37160 ac_status=$?
37161 grep -v '^ *+' conftest.er1 >conftest.err
37162 rm -f conftest.er1
37163 cat conftest.err >&5
37164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37165 (exit $ac_status); } && {
37166 test -z "$ac_c_werror_flag" ||
37167 test ! -s conftest.err
37168 } && test -s conftest$ac_exeext &&
37169 $as_test_x conftest$ac_exeext; then
37170 ac_cv_lib_MesaGL_glEnable=yes
37171 else
37172 echo "$as_me: failed program was:" >&5
37173 sed 's/^/| /' conftest.$ac_ext >&5
37174
37175 ac_cv_lib_MesaGL_glEnable=no
37176 fi
37177
37178 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37179 conftest$ac_exeext conftest.$ac_ext
37180 LIBS=$ac_check_lib_save_LIBS
37181 fi
37182 { echo "$as_me:$LINENO: result: $ac_cv_lib_MesaGL_glEnable" >&5
37183 echo "${ECHO_T}$ac_cv_lib_MesaGL_glEnable" >&6; }
37184 if test $ac_cv_lib_MesaGL_glEnable = yes; then
37185 ac_find_libraries="std"
37186 fi
37187
37188 fi
37189 fi
37190
37191 if test "x$ac_find_libraries" = "x"; then
37192 { echo "$as_me:$LINENO: checking elsewhere" >&5
37193 echo $ECHO_N "checking elsewhere... $ECHO_C" >&6; }
37194
37195 ac_find_libraries=
37196 for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
37197 do
37198 for ac_extension in a so sl dylib dll.a; do
37199 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
37200 ac_find_libraries=$ac_dir
37201 break 2
37202 fi
37203 done
37204 done
37205
37206 if test "x$ac_find_libraries" != "x"; then
37207 { echo "$as_me:$LINENO: result: yes" >&5
37208 echo "${ECHO_T}yes" >&6; }
37209 else
37210 { echo "$as_me:$LINENO: result: no" >&5
37211 echo "${ECHO_T}no" >&6; }
37212 fi
37213 fi
37214
37215 else
37216 MesaGL_CFLAGS=$pkg_cv_MesaGL_CFLAGS
37217 MesaGL_LIBS=$pkg_cv_MesaGL_LIBS
37218 { echo "$as_me:$LINENO: result: yes" >&5
37219 echo "${ECHO_T}yes" >&6; }
37220
37221 ac_find_libraries="std"
37222
37223 eval ac_find_cflags=\$MesaGL_CFLAGS
37224 eval fl_libs=\$MesaGL_LIBS
37225
37226 for fl_path in $fl_libs
37227 do
37228 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
37229 ac_find_libraries=`echo "$fl_path" | cut -c 3-`
37230 fi
37231 done
37232
37233 fi
37234
37235 if test "$ac_find_libraries" != "" ; then
37236 if test "$ac_find_libraries" != "std" ; then
37237
37238 if test "$ac_find_libraries" = "default location"; then
37239 ac_path_to_link=""
37240 else
37241 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
37242 result=$?
37243 if test $result = 0; then
37244 ac_path_to_link=""
37245 else
37246 ac_path_to_link=" -L$ac_find_libraries"
37247 fi
37248 fi
37249
37250 if test "$ac_path_to_link" != " -L/usr/lib" ; then
37251 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
37252 fi
37253 fi
37254 OPENGL_LIBS="-lMesaGL -lMesaGLU"
37255 fi
37256 fi
37257
37258 fi
37259
37260
37261
37262 fi
37263
37264
37265
37266 if test "x$OPENGL_LIBS" = "x"; then
37267 if test "$wxUSE_OPENGL" = "yes"; then
37268 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
37269 echo "$as_me: error: OpenGL libraries not available" >&2;}
37270 { (exit 1); exit 1; }; }
37271 else
37272 { echo "$as_me:$LINENO: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&5
37273 echo "$as_me: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&2;}
37274 wxUSE_OPENGL=no
37275 USE_OPENGL=0
37276 fi
37277 fi
37278 else
37279 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
37280 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
37281 wxUSE_OPENGL="no"
37282 fi
37283
37284 if test "$wxUSE_OPENGL" = "auto"; then
37285 wxUSE_OPENGL=yes
37286 fi
37287
37288 if test "$wxUSE_OPENGL" = "yes"; then
37289 USE_OPENGL=1
37290 cat >>confdefs.h <<\_ACEOF
37291 #define wxUSE_OPENGL 1
37292 _ACEOF
37293
37294 cat >>confdefs.h <<\_ACEOF
37295 #define wxUSE_GLCANVAS 1
37296 _ACEOF
37297
37298 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
37299 fi
37300 fi
37301
37302
37303 if test -n "$TOOLKIT" ; then
37304 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
37305 fi
37306
37307
37308
37309 if test "$wxUSE_SHARED" = "yes"; then
37310 case "${host}" in
37311 *-pc-msdosdjgpp )
37312 wxUSE_SHARED=no
37313 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
37314 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
37315 ;;
37316 esac
37317 fi
37318
37319 if test "$wxUSE_SHARED" = "yes"; then
37320
37321
37322 case "${host}" in
37323 *-*-cygwin* | *-*-mingw* )
37324 wx_cv_version_script=no
37325 ;;
37326
37327 *)
37328 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
37329 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
37330 if test "${wx_cv_version_script+set}" = set; then
37331 echo $ECHO_N "(cached) $ECHO_C" >&6
37332 else
37333
37334 echo "VER_1 { *; };" >conftest.sym
37335 echo "int main() { return 0; }" >conftest.cpp
37336
37337 if { ac_try='
37338 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
37339 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
37340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37341 (eval $ac_try) 2>&5
37342 ac_status=$?
37343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37344 (exit $ac_status); }; } ; then
37345 if test -s conftest.stderr ; then
37346 wx_cv_version_script=no
37347 else
37348 wx_cv_version_script=yes
37349 fi
37350 else
37351 wx_cv_version_script=no
37352 fi
37353
37354 if test $wx_cv_version_script = yes
37355 then
37356 echo "struct B { virtual ~B() { } }; \
37357 struct D : public B { }; \
37358 void F() { D d; }" > conftest.cpp
37359
37360 if { ac_try='
37361 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
37362 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
37363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37364 (eval $ac_try) 2>&5
37365 ac_status=$?
37366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37367 (exit $ac_status); }; } &&
37368 { ac_try='
37369 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
37370 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
37371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37372 (eval $ac_try) 2>&5
37373 ac_status=$?
37374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37375 (exit $ac_status); }; }
37376 then
37377 if { ac_try='
37378 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
37379 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
37380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37381 (eval $ac_try) 2>&5
37382 ac_status=$?
37383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37384 (exit $ac_status); }; }
37385 then
37386 wx_cv_version_script=yes
37387 else
37388 wx_cv_version_script=no
37389 fi
37390 fi
37391 fi
37392
37393 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
37394 rm -f conftest1.output conftest2.output conftest3.output
37395
37396 fi
37397 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
37398 echo "${ECHO_T}$wx_cv_version_script" >&6; }
37399
37400 if test $wx_cv_version_script = yes ; then
37401 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
37402 fi
37403 ;;
37404 esac
37405
37406
37407 if test "$wxUSE_VISIBILITY" != "no"; then
37408
37409
37410 if test -n "$GCC"; then
37411 CFLAGS_VISIBILITY="-fvisibility=hidden"
37412 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
37413 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
37414 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
37415 if test "${wx_cv_cc_visibility+set}" = set; then
37416 echo $ECHO_N "(cached) $ECHO_C" >&6
37417 else
37418
37419 wx_save_CXXFLAGS="$CXXFLAGS"
37420 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
37421 ac_ext=cpp
37422 ac_cpp='$CXXCPP $CPPFLAGS'
37423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37426
37427 cat >conftest.$ac_ext <<_ACEOF
37428 /* confdefs.h. */
37429 _ACEOF
37430 cat confdefs.h >>conftest.$ac_ext
37431 cat >>conftest.$ac_ext <<_ACEOF
37432 /* end confdefs.h. */
37433
37434 /* we need gcc >= 4.0, older versions with visibility support
37435 didn't have class visibility: */
37436 #if defined(__GNUC__) && __GNUC__ < 4
37437 error this gcc is too old;
37438 #endif
37439
37440 /* visibility only makes sense for ELF shared libs: */
37441 #if !defined(__ELF__) && !defined(__APPLE__)
37442 error this platform has no visibility;
37443 #endif
37444
37445 /* at the time of Xcode 4.1 / Clang 3, Clang++ still didn't have the bugs sorted out: */
37446 #if defined(__clang__)
37447 clang compiler is still broken w.r.t. visibility;
37448 #endif
37449
37450 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
37451 extern __attribute__((__visibility__("default"))) int exportedvar;
37452 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
37453 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
37454 class __attribute__((__visibility__("default"))) Foo {
37455 Foo() {}
37456 };
37457
37458 int
37459 main ()
37460 {
37461
37462 ;
37463 return 0;
37464 }
37465 _ACEOF
37466 rm -f conftest.$ac_objext
37467 if { (ac_try="$ac_compile"
37468 case "(($ac_try" in
37469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37470 *) ac_try_echo=$ac_try;;
37471 esac
37472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37473 (eval "$ac_compile") 2>conftest.er1
37474 ac_status=$?
37475 grep -v '^ *+' conftest.er1 >conftest.err
37476 rm -f conftest.er1
37477 cat conftest.err >&5
37478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37479 (exit $ac_status); } && {
37480 test -z "$ac_cxx_werror_flag" ||
37481 test ! -s conftest.err
37482 } && test -s conftest.$ac_objext; then
37483 wx_cv_cc_visibility=yes
37484 else
37485 echo "$as_me: failed program was:" >&5
37486 sed 's/^/| /' conftest.$ac_ext >&5
37487
37488 wx_cv_cc_visibility=no
37489 fi
37490
37491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37492 ac_ext=c
37493 ac_cpp='$CPP $CPPFLAGS'
37494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37497
37498 CXXFLAGS="$wx_save_CXXFLAGS"
37499 fi
37500
37501 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
37502 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
37503 if test $wx_cv_cc_visibility = yes; then
37504 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
37505 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
37506 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
37507 echo $ECHO_N "(cached) $ECHO_C" >&6
37508 else
37509
37510 wx_save_CXXFLAGS="$CXXFLAGS"
37511 wx_save_LDFLAGS="$LDFLAGS"
37512 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
37513 LDFLAGS="$LDFLAGS -shared -fPIC"
37514 ac_ext=cpp
37515 ac_cpp='$CXXCPP $CPPFLAGS'
37516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37519
37520 cat >conftest.$ac_ext <<_ACEOF
37521 /* confdefs.h. */
37522 _ACEOF
37523 cat confdefs.h >>conftest.$ac_ext
37524 cat >>conftest.$ac_ext <<_ACEOF
37525 /* end confdefs.h. */
37526
37527 #include <string>
37528
37529 int
37530 main ()
37531 {
37532
37533 std::string s("hello");
37534 return s.length();
37535
37536 ;
37537 return 0;
37538 }
37539 _ACEOF
37540 rm -f conftest.$ac_objext conftest$ac_exeext
37541 if { (ac_try="$ac_link"
37542 case "(($ac_try" in
37543 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37544 *) ac_try_echo=$ac_try;;
37545 esac
37546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37547 (eval "$ac_link") 2>conftest.er1
37548 ac_status=$?
37549 grep -v '^ *+' conftest.er1 >conftest.err
37550 rm -f conftest.er1
37551 cat conftest.err >&5
37552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37553 (exit $ac_status); } && {
37554 test -z "$ac_cxx_werror_flag" ||
37555 test ! -s conftest.err
37556 } && test -s conftest$ac_exeext &&
37557 $as_test_x conftest$ac_exeext; then
37558 wx_cv_cc_broken_libstdcxx_visibility=no
37559 else
37560 echo "$as_me: failed program was:" >&5
37561 sed 's/^/| /' conftest.$ac_ext >&5
37562
37563 wx_cv_cc_broken_libstdcxx_visibility=yes
37564 fi
37565
37566 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37567 conftest$ac_exeext conftest.$ac_ext
37568 ac_ext=c
37569 ac_cpp='$CPP $CPPFLAGS'
37570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37573
37574 CXXFLAGS="$wx_save_CXXFLAGS"
37575 LDFLAGS="$wx_save_LDFLAGS"
37576 fi
37577
37578 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
37579 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
37580
37581 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
37582 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
37583 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
37584 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
37585 echo $ECHO_N "(cached) $ECHO_C" >&6
37586 else
37587
37588 ac_ext=cpp
37589 ac_cpp='$CXXCPP $CPPFLAGS'
37590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37593
37594 cat >conftest.$ac_ext <<_ACEOF
37595 /* confdefs.h. */
37596 _ACEOF
37597 cat confdefs.h >>conftest.$ac_ext
37598 cat >>conftest.$ac_ext <<_ACEOF
37599 /* end confdefs.h. */
37600
37601 #pragma GCC visibility push(default)
37602 #include <string>
37603 #pragma GCC visibility pop
37604
37605 int
37606 main ()
37607 {
37608
37609 std::string s("hello");
37610 return s.length();
37611
37612 ;
37613 return 0;
37614 }
37615 _ACEOF
37616 rm -f conftest.$ac_objext conftest$ac_exeext
37617 if { (ac_try="$ac_link"
37618 case "(($ac_try" in
37619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37620 *) ac_try_echo=$ac_try;;
37621 esac
37622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37623 (eval "$ac_link") 2>conftest.er1
37624 ac_status=$?
37625 grep -v '^ *+' conftest.er1 >conftest.err
37626 rm -f conftest.er1
37627 cat conftest.err >&5
37628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37629 (exit $ac_status); } && {
37630 test -z "$ac_cxx_werror_flag" ||
37631 test ! -s conftest.err
37632 } && test -s conftest$ac_exeext &&
37633 $as_test_x conftest$ac_exeext; then
37634 wx_cv_cc_visibility_workaround=no
37635 else
37636 echo "$as_me: failed program was:" >&5
37637 sed 's/^/| /' conftest.$ac_ext >&5
37638
37639 wx_cv_cc_visibility_workaround=yes
37640 fi
37641
37642 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37643 conftest$ac_exeext conftest.$ac_ext
37644 ac_ext=c
37645 ac_cpp='$CPP $CPPFLAGS'
37646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37649
37650
37651 fi
37652
37653 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
37654 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
37655
37656 if test $wx_cv_cc_visibility_workaround = no; then
37657 wx_cv_cc_visibility=no
37658 fi
37659 fi
37660 fi
37661
37662 if test $wx_cv_cc_visibility = yes; then
37663 cat >>confdefs.h <<\_ACEOF
37664 #define HAVE_VISIBILITY 1
37665 _ACEOF
37666
37667 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
37668 cat >>confdefs.h <<\_ACEOF
37669 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
37670 _ACEOF
37671
37672 fi
37673 else
37674 CFLAGS_VISIBILITY=""
37675 CXXFLAGS_VISIBILITY=""
37676 fi
37677
37678
37679 fi
37680
37681 fi
37682
37683 if test "x$SUNCXX" = xyes; then
37684 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
37685 WXCONFIG_RPATH="-R\$libdir"
37686 else
37687 case "${host}" in
37688 *-*-linux* | *-*-gnu* )
37689 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
37690 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
37691 ;;
37692
37693 *-*-solaris2* )
37694
37695 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
37696
37697 saveLdflags="$LDFLAGS"
37698 LDFLAGS="$saveLdflags -Wl,-rpath,/"
37699 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
37700 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
37701 cat >conftest.$ac_ext <<_ACEOF
37702 /* confdefs.h. */
37703 _ACEOF
37704 cat confdefs.h >>conftest.$ac_ext
37705 cat >>conftest.$ac_ext <<_ACEOF
37706 /* end confdefs.h. */
37707
37708 int
37709 main ()
37710 {
37711
37712 ;
37713 return 0;
37714 }
37715 _ACEOF
37716 rm -f conftest.$ac_objext conftest$ac_exeext
37717 if { (ac_try="$ac_link"
37718 case "(($ac_try" in
37719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37720 *) ac_try_echo=$ac_try;;
37721 esac
37722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37723 (eval "$ac_link") 2>conftest.er1
37724 ac_status=$?
37725 grep -v '^ *+' conftest.er1 >conftest.err
37726 rm -f conftest.er1
37727 cat conftest.err >&5
37728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37729 (exit $ac_status); } && {
37730 test -z "$ac_c_werror_flag" ||
37731 test ! -s conftest.err
37732 } && test -s conftest$ac_exeext &&
37733 $as_test_x conftest$ac_exeext; then
37734
37735 { echo "$as_me:$LINENO: result: yes" >&5
37736 echo "${ECHO_T}yes" >&6; }
37737 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
37738 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
37739
37740 else
37741 echo "$as_me: failed program was:" >&5
37742 sed 's/^/| /' conftest.$ac_ext >&5
37743
37744
37745 { echo "$as_me:$LINENO: result: no" >&5
37746 echo "${ECHO_T}no" >&6; }
37747 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
37748 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
37749 LDFLAGS="$saveLdflags -Wl,-R,/"
37750 cat >conftest.$ac_ext <<_ACEOF
37751 /* confdefs.h. */
37752 _ACEOF
37753 cat confdefs.h >>conftest.$ac_ext
37754 cat >>conftest.$ac_ext <<_ACEOF
37755 /* end confdefs.h. */
37756
37757 int
37758 main ()
37759 {
37760
37761 ;
37762 return 0;
37763 }
37764 _ACEOF
37765 rm -f conftest.$ac_objext conftest$ac_exeext
37766 if { (ac_try="$ac_link"
37767 case "(($ac_try" in
37768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37769 *) ac_try_echo=$ac_try;;
37770 esac
37771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37772 (eval "$ac_link") 2>conftest.er1
37773 ac_status=$?
37774 grep -v '^ *+' conftest.er1 >conftest.err
37775 rm -f conftest.er1
37776 cat conftest.err >&5
37777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37778 (exit $ac_status); } && {
37779 test -z "$ac_c_werror_flag" ||
37780 test ! -s conftest.err
37781 } && test -s conftest$ac_exeext &&
37782 $as_test_x conftest$ac_exeext; then
37783
37784 { echo "$as_me:$LINENO: result: yes" >&5
37785 echo "${ECHO_T}yes" >&6; }
37786 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
37787 WXCONFIG_RPATH="-Wl,-R,\$libdir"
37788
37789 else
37790 echo "$as_me: failed program was:" >&5
37791 sed 's/^/| /' conftest.$ac_ext >&5
37792
37793
37794 { echo "$as_me:$LINENO: result: no" >&5
37795 echo "${ECHO_T}no" >&6; }
37796
37797 fi
37798
37799 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37800 conftest$ac_exeext conftest.$ac_ext
37801
37802 fi
37803
37804 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37805 conftest$ac_exeext conftest.$ac_ext
37806 LDFLAGS="$saveLdflags"
37807 ;;
37808
37809 *-*-darwin* )
37810 install_name_tool=`which ${HOST_PREFIX}install_name_tool`
37811 if test "$install_name_tool" -a -x "$install_name_tool"; then
37812 DYLIB_RPATH_POSTLINK="${HOST_PREFIX}install_name_tool -id \$@ \$@"
37813 cat <<EOF >change-install-names
37814 #!/bin/sh
37815 libnames=\`cd \${2} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
37816 for i in \${libnames} ; do
37817 ${HOST_PREFIX}install_name_tool -id \${3}/\${i} \${1}/\${i}
37818 for dep in \${libnames} ; do
37819 ${HOST_PREFIX}install_name_tool -change \${2}/\${dep} \${3}/\${dep} \${1}/\${i}
37820 done
37821 done
37822 EOF
37823 chmod +x change-install-names
37824 DYLIB_RPATH_INSTALL="\$(wx_top_builddir)/change-install-names \${DESTDIR}\${libdir} \$(wx_top_builddir)/lib \${libdir}"
37825 fi
37826
37827 HEADER_PAD_OPTION="-headerpad_max_install_names"
37828 ;;
37829
37830 *-*-cygwin* | *-*-mingw32* )
37831 ;;
37832
37833 *-*-hpux* )
37834 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
37835 WXCONFIG_RPATH="-Wl,+b,\$libdir"
37836 ;;
37837
37838 esac
37839 fi
37840
37841 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
37842
37843 if test $wxUSE_RPATH = "no"; then
37844 SAMPLES_RPATH_FLAG=''
37845 DYLIB_PATH_POSTLINK=''
37846 WXCONFIG_RPATH=''
37847 fi
37848
37849 SHARED=1
37850
37851 else
37852
37853 config_linkage_component="-static"
37854 SHARED=0
37855
37856 fi
37857
37858
37859 UNICODE=0
37860 lib_unicode_suffix=
37861 WX_CHARTYPE="ansi"
37862 if test "$wxUSE_UNICODE" = "yes"; then
37863 lib_unicode_suffix=u
37864 WX_CHARTYPE="unicode"
37865 UNICODE=1
37866 fi
37867
37868 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
37869 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
37870
37871 DEBUG_INFO=0
37872 if test "$wxUSE_DEBUG_INFO" = "yes"; then
37873 DEBUG_INFO=1
37874 fi
37875
37876 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
37877
37878 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
37879
37880 TOOLCHAIN_FULLNAME="${HOST_PREFIX}${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
37881
37882
37883 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
37884 WX_LIBRARY_BASENAME_NOGUI="wx_base${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
37885 else
37886 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
37887 fi
37888 if test "${TOOLKIT_DIR}" = "os2"; then
37889 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
37890 else
37891 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
37892 fi
37893
37894
37895
37896 if test "$wxUSE_OLD_COCOA" = 1; then
37897
37898 ac_ext=c
37899 ac_cpp='$CPP $CPPFLAGS'
37900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37903
37904 ac_ext=m
37905
37906 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
37907 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
37908 cat >conftest.$ac_ext <<_ACEOF
37909 /* confdefs.h. */
37910 _ACEOF
37911 cat confdefs.h >>conftest.$ac_ext
37912 cat >>conftest.$ac_ext <<_ACEOF
37913 /* end confdefs.h. */
37914 #include <AppKit/NSEvent.h>
37915 #include <CoreFoundation/CoreFoundation.h>
37916
37917 int
37918 main ()
37919 {
37920
37921 ;
37922 return 0;
37923 }
37924 _ACEOF
37925 rm -f conftest.$ac_objext
37926 if { (ac_try="$ac_compile"
37927 case "(($ac_try" in
37928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37929 *) ac_try_echo=$ac_try;;
37930 esac
37931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37932 (eval "$ac_compile") 2>conftest.er1
37933 ac_status=$?
37934 grep -v '^ *+' conftest.er1 >conftest.err
37935 rm -f conftest.er1
37936 cat conftest.err >&5
37937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37938 (exit $ac_status); } && {
37939 test -z "$ac_c_werror_flag" ||
37940 test ! -s conftest.err
37941 } && test -s conftest.$ac_objext; then
37942 { echo "$as_me:$LINENO: result: no" >&5
37943 echo "${ECHO_T}no" >&6; }
37944 else
37945 echo "$as_me: failed program was:" >&5
37946 sed 's/^/| /' conftest.$ac_ext >&5
37947
37948 { echo "$as_me:$LINENO: result: yes" >&5
37949 echo "${ECHO_T}yes" >&6; }
37950 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
37951 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
37952 cat >conftest.$ac_ext <<_ACEOF
37953 /* confdefs.h. */
37954 _ACEOF
37955 cat confdefs.h >>conftest.$ac_ext
37956 cat >>conftest.$ac_ext <<_ACEOF
37957 /* end confdefs.h. */
37958 #define __Point__ 1
37959 #include <AppKit/NSEvent.h>
37960 #include <CoreFoundation/CoreFoundation.h>
37961
37962 int
37963 main ()
37964 {
37965
37966 ;
37967 return 0;
37968 }
37969 _ACEOF
37970 rm -f conftest.$ac_objext
37971 if { (ac_try="$ac_compile"
37972 case "(($ac_try" in
37973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37974 *) ac_try_echo=$ac_try;;
37975 esac
37976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37977 (eval "$ac_compile") 2>conftest.er1
37978 ac_status=$?
37979 grep -v '^ *+' conftest.er1 >conftest.err
37980 rm -f conftest.er1
37981 cat conftest.err >&5
37982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37983 (exit $ac_status); } && {
37984 test -z "$ac_c_werror_flag" ||
37985 test ! -s conftest.err
37986 } && test -s conftest.$ac_objext; then
37987 { echo "$as_me:$LINENO: result: yes" >&5
37988 echo "${ECHO_T}yes" >&6; }
37989 cat >>confdefs.h <<\_ACEOF
37990 #define __Point__ 1
37991 _ACEOF
37992
37993
37994 else
37995 echo "$as_me: failed program was:" >&5
37996 sed 's/^/| /' conftest.$ac_ext >&5
37997
37998 { { echo "$as_me:$LINENO: error: no
37999 See \`config.log' for more details." >&5
38000 echo "$as_me: error: no
38001 See \`config.log' for more details." >&2;}
38002 { (exit 1); exit 1; }; }
38003
38004 fi
38005
38006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38007
38008 fi
38009
38010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38011 ac_ext=c
38012 ac_cpp='$CPP $CPPFLAGS'
38013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38016
38017 fi
38018
38019
38020 { echo "$as_me:$LINENO: checking for mode_t" >&5
38021 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
38022 if test "${ac_cv_type_mode_t+set}" = set; then
38023 echo $ECHO_N "(cached) $ECHO_C" >&6
38024 else
38025 cat >conftest.$ac_ext <<_ACEOF
38026 /* confdefs.h. */
38027 _ACEOF
38028 cat confdefs.h >>conftest.$ac_ext
38029 cat >>conftest.$ac_ext <<_ACEOF
38030 /* end confdefs.h. */
38031 $ac_includes_default
38032 typedef mode_t ac__type_new_;
38033 int
38034 main ()
38035 {
38036 if ((ac__type_new_ *) 0)
38037 return 0;
38038 if (sizeof (ac__type_new_))
38039 return 0;
38040 ;
38041 return 0;
38042 }
38043 _ACEOF
38044 rm -f conftest.$ac_objext
38045 if { (ac_try="$ac_compile"
38046 case "(($ac_try" in
38047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38048 *) ac_try_echo=$ac_try;;
38049 esac
38050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38051 (eval "$ac_compile") 2>conftest.er1
38052 ac_status=$?
38053 grep -v '^ *+' conftest.er1 >conftest.err
38054 rm -f conftest.er1
38055 cat conftest.err >&5
38056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38057 (exit $ac_status); } && {
38058 test -z "$ac_c_werror_flag" ||
38059 test ! -s conftest.err
38060 } && test -s conftest.$ac_objext; then
38061 ac_cv_type_mode_t=yes
38062 else
38063 echo "$as_me: failed program was:" >&5
38064 sed 's/^/| /' conftest.$ac_ext >&5
38065
38066 ac_cv_type_mode_t=no
38067 fi
38068
38069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38070 fi
38071 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
38072 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
38073 if test $ac_cv_type_mode_t = yes; then
38074 :
38075 else
38076
38077 cat >>confdefs.h <<_ACEOF
38078 #define mode_t int
38079 _ACEOF
38080
38081 fi
38082
38083 { echo "$as_me:$LINENO: checking for off_t" >&5
38084 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
38085 if test "${ac_cv_type_off_t+set}" = set; then
38086 echo $ECHO_N "(cached) $ECHO_C" >&6
38087 else
38088 cat >conftest.$ac_ext <<_ACEOF
38089 /* confdefs.h. */
38090 _ACEOF
38091 cat confdefs.h >>conftest.$ac_ext
38092 cat >>conftest.$ac_ext <<_ACEOF
38093 /* end confdefs.h. */
38094 $ac_includes_default
38095 typedef off_t ac__type_new_;
38096 int
38097 main ()
38098 {
38099 if ((ac__type_new_ *) 0)
38100 return 0;
38101 if (sizeof (ac__type_new_))
38102 return 0;
38103 ;
38104 return 0;
38105 }
38106 _ACEOF
38107 rm -f conftest.$ac_objext
38108 if { (ac_try="$ac_compile"
38109 case "(($ac_try" in
38110 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38111 *) ac_try_echo=$ac_try;;
38112 esac
38113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38114 (eval "$ac_compile") 2>conftest.er1
38115 ac_status=$?
38116 grep -v '^ *+' conftest.er1 >conftest.err
38117 rm -f conftest.er1
38118 cat conftest.err >&5
38119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38120 (exit $ac_status); } && {
38121 test -z "$ac_c_werror_flag" ||
38122 test ! -s conftest.err
38123 } && test -s conftest.$ac_objext; then
38124 ac_cv_type_off_t=yes
38125 else
38126 echo "$as_me: failed program was:" >&5
38127 sed 's/^/| /' conftest.$ac_ext >&5
38128
38129 ac_cv_type_off_t=no
38130 fi
38131
38132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38133 fi
38134 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
38135 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
38136 if test $ac_cv_type_off_t = yes; then
38137 :
38138 else
38139
38140 cat >>confdefs.h <<_ACEOF
38141 #define off_t long int
38142 _ACEOF
38143
38144 fi
38145
38146 { echo "$as_me:$LINENO: checking for pid_t" >&5
38147 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
38148 if test "${ac_cv_type_pid_t+set}" = set; then
38149 echo $ECHO_N "(cached) $ECHO_C" >&6
38150 else
38151 cat >conftest.$ac_ext <<_ACEOF
38152 /* confdefs.h. */
38153 _ACEOF
38154 cat confdefs.h >>conftest.$ac_ext
38155 cat >>conftest.$ac_ext <<_ACEOF
38156 /* end confdefs.h. */
38157 $ac_includes_default
38158 typedef pid_t ac__type_new_;
38159 int
38160 main ()
38161 {
38162 if ((ac__type_new_ *) 0)
38163 return 0;
38164 if (sizeof (ac__type_new_))
38165 return 0;
38166 ;
38167 return 0;
38168 }
38169 _ACEOF
38170 rm -f conftest.$ac_objext
38171 if { (ac_try="$ac_compile"
38172 case "(($ac_try" in
38173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38174 *) ac_try_echo=$ac_try;;
38175 esac
38176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38177 (eval "$ac_compile") 2>conftest.er1
38178 ac_status=$?
38179 grep -v '^ *+' conftest.er1 >conftest.err
38180 rm -f conftest.er1
38181 cat conftest.err >&5
38182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38183 (exit $ac_status); } && {
38184 test -z "$ac_c_werror_flag" ||
38185 test ! -s conftest.err
38186 } && test -s conftest.$ac_objext; then
38187 ac_cv_type_pid_t=yes
38188 else
38189 echo "$as_me: failed program was:" >&5
38190 sed 's/^/| /' conftest.$ac_ext >&5
38191
38192 ac_cv_type_pid_t=no
38193 fi
38194
38195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38196 fi
38197 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
38198 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
38199 if test $ac_cv_type_pid_t = yes; then
38200 :
38201 else
38202
38203 cat >>confdefs.h <<_ACEOF
38204 #define pid_t int
38205 _ACEOF
38206
38207 fi
38208
38209 { echo "$as_me:$LINENO: checking for size_t" >&5
38210 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
38211 if test "${ac_cv_type_size_t+set}" = set; then
38212 echo $ECHO_N "(cached) $ECHO_C" >&6
38213 else
38214 cat >conftest.$ac_ext <<_ACEOF
38215 /* confdefs.h. */
38216 _ACEOF
38217 cat confdefs.h >>conftest.$ac_ext
38218 cat >>conftest.$ac_ext <<_ACEOF
38219 /* end confdefs.h. */
38220 $ac_includes_default
38221 typedef size_t ac__type_new_;
38222 int
38223 main ()
38224 {
38225 if ((ac__type_new_ *) 0)
38226 return 0;
38227 if (sizeof (ac__type_new_))
38228 return 0;
38229 ;
38230 return 0;
38231 }
38232 _ACEOF
38233 rm -f conftest.$ac_objext
38234 if { (ac_try="$ac_compile"
38235 case "(($ac_try" in
38236 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38237 *) ac_try_echo=$ac_try;;
38238 esac
38239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38240 (eval "$ac_compile") 2>conftest.er1
38241 ac_status=$?
38242 grep -v '^ *+' conftest.er1 >conftest.err
38243 rm -f conftest.er1
38244 cat conftest.err >&5
38245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38246 (exit $ac_status); } && {
38247 test -z "$ac_c_werror_flag" ||
38248 test ! -s conftest.err
38249 } && test -s conftest.$ac_objext; then
38250 ac_cv_type_size_t=yes
38251 else
38252 echo "$as_me: failed program was:" >&5
38253 sed 's/^/| /' conftest.$ac_ext >&5
38254
38255 ac_cv_type_size_t=no
38256 fi
38257
38258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38259 fi
38260 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
38261 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
38262 if test $ac_cv_type_size_t = yes; then
38263 :
38264 else
38265
38266 cat >>confdefs.h <<_ACEOF
38267 #define size_t unsigned int
38268 _ACEOF
38269
38270 fi
38271
38272
38273 { echo "$as_me:$LINENO: checking for ssize_t" >&5
38274 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
38275 if test "${ac_cv_type_ssize_t+set}" = set; then
38276 echo $ECHO_N "(cached) $ECHO_C" >&6
38277 else
38278 cat >conftest.$ac_ext <<_ACEOF
38279 /* confdefs.h. */
38280 _ACEOF
38281 cat confdefs.h >>conftest.$ac_ext
38282 cat >>conftest.$ac_ext <<_ACEOF
38283 /* end confdefs.h. */
38284 $ac_includes_default
38285 typedef ssize_t ac__type_new_;
38286 int
38287 main ()
38288 {
38289 if ((ac__type_new_ *) 0)
38290 return 0;
38291 if (sizeof (ac__type_new_))
38292 return 0;
38293 ;
38294 return 0;
38295 }
38296 _ACEOF
38297 rm -f conftest.$ac_objext
38298 if { (ac_try="$ac_compile"
38299 case "(($ac_try" in
38300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38301 *) ac_try_echo=$ac_try;;
38302 esac
38303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38304 (eval "$ac_compile") 2>conftest.er1
38305 ac_status=$?
38306 grep -v '^ *+' conftest.er1 >conftest.err
38307 rm -f conftest.er1
38308 cat conftest.err >&5
38309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38310 (exit $ac_status); } && {
38311 test -z "$ac_c_werror_flag" ||
38312 test ! -s conftest.err
38313 } && test -s conftest.$ac_objext; then
38314 ac_cv_type_ssize_t=yes
38315 else
38316 echo "$as_me: failed program was:" >&5
38317 sed 's/^/| /' conftest.$ac_ext >&5
38318
38319 ac_cv_type_ssize_t=no
38320 fi
38321
38322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38323 fi
38324 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
38325 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
38326 if test $ac_cv_type_ssize_t = yes; then
38327
38328 cat >>confdefs.h <<_ACEOF
38329 #define HAVE_SSIZE_T 1
38330 _ACEOF
38331
38332
38333 fi
38334
38335
38336 ac_ext=cpp
38337 ac_cpp='$CXXCPP $CPPFLAGS'
38338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38341 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
38342 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
38343 if test "${wx_cv_size_t_is_uint+set}" = set; then
38344 echo $ECHO_N "(cached) $ECHO_C" >&6
38345 else
38346
38347 cat >conftest.$ac_ext <<_ACEOF
38348 /* confdefs.h. */
38349 _ACEOF
38350 cat confdefs.h >>conftest.$ac_ext
38351 cat >>conftest.$ac_ext <<_ACEOF
38352 /* end confdefs.h. */
38353 #include <stddef.h>
38354 int
38355 main ()
38356 {
38357
38358 return 0; }
38359
38360 struct Foo { void foo(size_t); void foo(unsigned int); };
38361
38362 int bar() {
38363
38364 ;
38365 return 0;
38366 }
38367 _ACEOF
38368 rm -f conftest.$ac_objext
38369 if { (ac_try="$ac_compile"
38370 case "(($ac_try" in
38371 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38372 *) ac_try_echo=$ac_try;;
38373 esac
38374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38375 (eval "$ac_compile") 2>conftest.er1
38376 ac_status=$?
38377 grep -v '^ *+' conftest.er1 >conftest.err
38378 rm -f conftest.er1
38379 cat conftest.err >&5
38380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38381 (exit $ac_status); } && {
38382 test -z "$ac_cxx_werror_flag" ||
38383 test ! -s conftest.err
38384 } && test -s conftest.$ac_objext; then
38385 wx_cv_size_t_is_uint=no
38386 else
38387 echo "$as_me: failed program was:" >&5
38388 sed 's/^/| /' conftest.$ac_ext >&5
38389
38390 wx_cv_size_t_is_uint=yes
38391
38392 fi
38393
38394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38395
38396
38397 fi
38398 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
38399 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
38400
38401 if test "$wx_cv_size_t_is_uint" = "yes"; then
38402 cat >>confdefs.h <<\_ACEOF
38403 #define wxSIZE_T_IS_UINT 1
38404 _ACEOF
38405
38406 else
38407 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
38408 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
38409 if test "${wx_cv_size_t_is_ulong+set}" = set; then
38410 echo $ECHO_N "(cached) $ECHO_C" >&6
38411 else
38412 cat >conftest.$ac_ext <<_ACEOF
38413 /* confdefs.h. */
38414 _ACEOF
38415 cat confdefs.h >>conftest.$ac_ext
38416 cat >>conftest.$ac_ext <<_ACEOF
38417 /* end confdefs.h. */
38418 #include <stddef.h>
38419 int
38420 main ()
38421 {
38422
38423 return 0; }
38424
38425 struct Foo { void foo(size_t); void foo(unsigned long); };
38426
38427 int bar() {
38428
38429 ;
38430 return 0;
38431 }
38432 _ACEOF
38433 rm -f conftest.$ac_objext
38434 if { (ac_try="$ac_compile"
38435 case "(($ac_try" in
38436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38437 *) ac_try_echo=$ac_try;;
38438 esac
38439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38440 (eval "$ac_compile") 2>conftest.er1
38441 ac_status=$?
38442 grep -v '^ *+' conftest.er1 >conftest.err
38443 rm -f conftest.er1
38444 cat conftest.err >&5
38445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38446 (exit $ac_status); } && {
38447 test -z "$ac_cxx_werror_flag" ||
38448 test ! -s conftest.err
38449 } && test -s conftest.$ac_objext; then
38450 wx_cv_size_t_is_ulong=no
38451 else
38452 echo "$as_me: failed program was:" >&5
38453 sed 's/^/| /' conftest.$ac_ext >&5
38454
38455 wx_cv_size_t_is_ulong=yes
38456
38457 fi
38458
38459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38460
38461 fi
38462 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
38463 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
38464
38465 if test "$wx_cv_size_t_is_ulong" = "yes"; then
38466 cat >>confdefs.h <<\_ACEOF
38467 #define wxSIZE_T_IS_ULONG 1
38468 _ACEOF
38469
38470 fi
38471 fi
38472
38473 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
38474 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
38475 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
38476 echo $ECHO_N "(cached) $ECHO_C" >&6
38477 else
38478 cat >conftest.$ac_ext <<_ACEOF
38479 /* confdefs.h. */
38480 _ACEOF
38481 cat confdefs.h >>conftest.$ac_ext
38482 cat >>conftest.$ac_ext <<_ACEOF
38483 /* end confdefs.h. */
38484 #include <wchar.h>
38485 int
38486 main ()
38487 {
38488
38489 return 0; }
38490
38491 struct Foo { void foo(wchar_t);
38492 void foo(unsigned short);
38493 void foo(unsigned int);
38494 void foo(unsigned long); };
38495
38496 int bar() {
38497
38498 ;
38499 return 0;
38500 }
38501 _ACEOF
38502 rm -f conftest.$ac_objext
38503 if { (ac_try="$ac_compile"
38504 case "(($ac_try" in
38505 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38506 *) ac_try_echo=$ac_try;;
38507 esac
38508 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38509 (eval "$ac_compile") 2>conftest.er1
38510 ac_status=$?
38511 grep -v '^ *+' conftest.er1 >conftest.err
38512 rm -f conftest.er1
38513 cat conftest.err >&5
38514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38515 (exit $ac_status); } && {
38516 test -z "$ac_cxx_werror_flag" ||
38517 test ! -s conftest.err
38518 } && test -s conftest.$ac_objext; then
38519 wx_cv_wchar_t_is_separate_type=yes
38520 else
38521 echo "$as_me: failed program was:" >&5
38522 sed 's/^/| /' conftest.$ac_ext >&5
38523
38524 wx_cv_wchar_t_is_separate_type=no
38525
38526 fi
38527
38528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38529
38530 fi
38531 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
38532 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
38533
38534 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
38535 cat >>confdefs.h <<\_ACEOF
38536 #define wxWCHAR_T_IS_REAL_TYPE 1
38537 _ACEOF
38538
38539 else
38540 cat >>confdefs.h <<\_ACEOF
38541 #define wxWCHAR_T_IS_REAL_TYPE 0
38542 _ACEOF
38543
38544 fi
38545
38546 ac_ext=c
38547 ac_cpp='$CPP $CPPFLAGS'
38548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38551
38552
38553 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
38554 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
38555 if test "${wx_cv_struct_pw_gecos+set}" = set; then
38556 echo $ECHO_N "(cached) $ECHO_C" >&6
38557 else
38558
38559 cat >conftest.$ac_ext <<_ACEOF
38560 /* confdefs.h. */
38561 _ACEOF
38562 cat confdefs.h >>conftest.$ac_ext
38563 cat >>conftest.$ac_ext <<_ACEOF
38564 /* end confdefs.h. */
38565 #include <pwd.h>
38566 int
38567 main ()
38568 {
38569
38570 char *p;
38571 struct passwd *pw;
38572 p = pw->pw_gecos;
38573
38574 ;
38575 return 0;
38576 }
38577 _ACEOF
38578 rm -f conftest.$ac_objext
38579 if { (ac_try="$ac_compile"
38580 case "(($ac_try" in
38581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38582 *) ac_try_echo=$ac_try;;
38583 esac
38584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38585 (eval "$ac_compile") 2>conftest.er1
38586 ac_status=$?
38587 grep -v '^ *+' conftest.er1 >conftest.err
38588 rm -f conftest.er1
38589 cat conftest.err >&5
38590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38591 (exit $ac_status); } && {
38592 test -z "$ac_c_werror_flag" ||
38593 test ! -s conftest.err
38594 } && test -s conftest.$ac_objext; then
38595
38596 wx_cv_struct_pw_gecos=yes
38597
38598 else
38599 echo "$as_me: failed program was:" >&5
38600 sed 's/^/| /' conftest.$ac_ext >&5
38601
38602
38603 wx_cv_struct_pw_gecos=no
38604
38605
38606 fi
38607
38608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38609
38610
38611 fi
38612 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
38613 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
38614
38615 if test "$wx_cv_struct_pw_gecos" = "yes"; then
38616 cat >>confdefs.h <<\_ACEOF
38617 #define HAVE_PW_GECOS 1
38618 _ACEOF
38619
38620 fi
38621
38622
38623 WCSLEN_FOUND=0
38624 WCHAR_LINK=
38625
38626 for ac_func in wcslen
38627 do
38628 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38629 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38630 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38631 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38632 echo $ECHO_N "(cached) $ECHO_C" >&6
38633 else
38634 cat >conftest.$ac_ext <<_ACEOF
38635 /* confdefs.h. */
38636 _ACEOF
38637 cat confdefs.h >>conftest.$ac_ext
38638 cat >>conftest.$ac_ext <<_ACEOF
38639 /* end confdefs.h. */
38640 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38641 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38642 #define $ac_func innocuous_$ac_func
38643
38644 /* System header to define __stub macros and hopefully few prototypes,
38645 which can conflict with char $ac_func (); below.
38646 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38647 <limits.h> exists even on freestanding compilers. */
38648
38649 #ifdef __STDC__
38650 # include <limits.h>
38651 #else
38652 # include <assert.h>
38653 #endif
38654
38655 #undef $ac_func
38656
38657 /* Override any GCC internal prototype to avoid an error.
38658 Use char because int might match the return type of a GCC
38659 builtin and then its argument prototype would still apply. */
38660 #ifdef __cplusplus
38661 extern "C"
38662 #endif
38663 char $ac_func ();
38664 /* The GNU C library defines this for functions which it implements
38665 to always fail with ENOSYS. Some functions are actually named
38666 something starting with __ and the normal name is an alias. */
38667 #if defined __stub_$ac_func || defined __stub___$ac_func
38668 choke me
38669 #endif
38670
38671 int
38672 main ()
38673 {
38674 return $ac_func ();
38675 ;
38676 return 0;
38677 }
38678 _ACEOF
38679 rm -f conftest.$ac_objext conftest$ac_exeext
38680 if { (ac_try="$ac_link"
38681 case "(($ac_try" in
38682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38683 *) ac_try_echo=$ac_try;;
38684 esac
38685 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38686 (eval "$ac_link") 2>conftest.er1
38687 ac_status=$?
38688 grep -v '^ *+' conftest.er1 >conftest.err
38689 rm -f conftest.er1
38690 cat conftest.err >&5
38691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38692 (exit $ac_status); } && {
38693 test -z "$ac_c_werror_flag" ||
38694 test ! -s conftest.err
38695 } && test -s conftest$ac_exeext &&
38696 $as_test_x conftest$ac_exeext; then
38697 eval "$as_ac_var=yes"
38698 else
38699 echo "$as_me: failed program was:" >&5
38700 sed 's/^/| /' conftest.$ac_ext >&5
38701
38702 eval "$as_ac_var=no"
38703 fi
38704
38705 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38706 conftest$ac_exeext conftest.$ac_ext
38707 fi
38708 ac_res=`eval echo '${'$as_ac_var'}'`
38709 { echo "$as_me:$LINENO: result: $ac_res" >&5
38710 echo "${ECHO_T}$ac_res" >&6; }
38711 if test `eval echo '${'$as_ac_var'}'` = yes; then
38712 cat >>confdefs.h <<_ACEOF
38713 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38714 _ACEOF
38715 WCSLEN_FOUND=1
38716 fi
38717 done
38718
38719
38720 if test "$WCSLEN_FOUND" = 0; then
38721 if test "$TOOLKIT" = "MSW"; then
38722 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
38723 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
38724 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
38725 echo $ECHO_N "(cached) $ECHO_C" >&6
38726 else
38727 ac_check_lib_save_LIBS=$LIBS
38728 LIBS="-lmsvcrt $LIBS"
38729 cat >conftest.$ac_ext <<_ACEOF
38730 /* confdefs.h. */
38731 _ACEOF
38732 cat confdefs.h >>conftest.$ac_ext
38733 cat >>conftest.$ac_ext <<_ACEOF
38734 /* end confdefs.h. */
38735
38736 /* Override any GCC internal prototype to avoid an error.
38737 Use char because int might match the return type of a GCC
38738 builtin and then its argument prototype would still apply. */
38739 #ifdef __cplusplus
38740 extern "C"
38741 #endif
38742 char wcslen ();
38743 int
38744 main ()
38745 {
38746 return wcslen ();
38747 ;
38748 return 0;
38749 }
38750 _ACEOF
38751 rm -f conftest.$ac_objext conftest$ac_exeext
38752 if { (ac_try="$ac_link"
38753 case "(($ac_try" in
38754 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38755 *) ac_try_echo=$ac_try;;
38756 esac
38757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38758 (eval "$ac_link") 2>conftest.er1
38759 ac_status=$?
38760 grep -v '^ *+' conftest.er1 >conftest.err
38761 rm -f conftest.er1
38762 cat conftest.err >&5
38763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38764 (exit $ac_status); } && {
38765 test -z "$ac_c_werror_flag" ||
38766 test ! -s conftest.err
38767 } && test -s conftest$ac_exeext &&
38768 $as_test_x conftest$ac_exeext; then
38769 ac_cv_lib_msvcrt_wcslen=yes
38770 else
38771 echo "$as_me: failed program was:" >&5
38772 sed 's/^/| /' conftest.$ac_ext >&5
38773
38774 ac_cv_lib_msvcrt_wcslen=no
38775 fi
38776
38777 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38778 conftest$ac_exeext conftest.$ac_ext
38779 LIBS=$ac_check_lib_save_LIBS
38780 fi
38781 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
38782 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
38783 if test $ac_cv_lib_msvcrt_wcslen = yes; then
38784 WCHAR_OK=1
38785 fi
38786
38787 else
38788 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
38789 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
38790 if test "${ac_cv_lib_w_wcslen+set}" = set; then
38791 echo $ECHO_N "(cached) $ECHO_C" >&6
38792 else
38793 ac_check_lib_save_LIBS=$LIBS
38794 LIBS="-lw $LIBS"
38795 cat >conftest.$ac_ext <<_ACEOF
38796 /* confdefs.h. */
38797 _ACEOF
38798 cat confdefs.h >>conftest.$ac_ext
38799 cat >>conftest.$ac_ext <<_ACEOF
38800 /* end confdefs.h. */
38801
38802 /* Override any GCC internal prototype to avoid an error.
38803 Use char because int might match the return type of a GCC
38804 builtin and then its argument prototype would still apply. */
38805 #ifdef __cplusplus
38806 extern "C"
38807 #endif
38808 char wcslen ();
38809 int
38810 main ()
38811 {
38812 return wcslen ();
38813 ;
38814 return 0;
38815 }
38816 _ACEOF
38817 rm -f conftest.$ac_objext conftest$ac_exeext
38818 if { (ac_try="$ac_link"
38819 case "(($ac_try" in
38820 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38821 *) ac_try_echo=$ac_try;;
38822 esac
38823 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38824 (eval "$ac_link") 2>conftest.er1
38825 ac_status=$?
38826 grep -v '^ *+' conftest.er1 >conftest.err
38827 rm -f conftest.er1
38828 cat conftest.err >&5
38829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38830 (exit $ac_status); } && {
38831 test -z "$ac_c_werror_flag" ||
38832 test ! -s conftest.err
38833 } && test -s conftest$ac_exeext &&
38834 $as_test_x conftest$ac_exeext; then
38835 ac_cv_lib_w_wcslen=yes
38836 else
38837 echo "$as_me: failed program was:" >&5
38838 sed 's/^/| /' conftest.$ac_ext >&5
38839
38840 ac_cv_lib_w_wcslen=no
38841 fi
38842
38843 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38844 conftest$ac_exeext conftest.$ac_ext
38845 LIBS=$ac_check_lib_save_LIBS
38846 fi
38847 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
38848 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
38849 if test $ac_cv_lib_w_wcslen = yes; then
38850
38851 WCHAR_LINK=" -lw"
38852 WCSLEN_FOUND=1
38853
38854 fi
38855
38856 fi
38857 fi
38858
38859 if test "$WCSLEN_FOUND" = 1; then
38860 cat >>confdefs.h <<\_ACEOF
38861 #define HAVE_WCSLEN 1
38862 _ACEOF
38863
38864 fi
38865
38866
38867
38868
38869
38870
38871
38872 for ac_func in wcsdup wcsftime strnlen wcsnlen wcscasecmp wcsncasecmp
38873 do
38874 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38875 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38876 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38877 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38878 echo $ECHO_N "(cached) $ECHO_C" >&6
38879 else
38880 cat >conftest.$ac_ext <<_ACEOF
38881 /* confdefs.h. */
38882 _ACEOF
38883 cat confdefs.h >>conftest.$ac_ext
38884 cat >>conftest.$ac_ext <<_ACEOF
38885 /* end confdefs.h. */
38886 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38887 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38888 #define $ac_func innocuous_$ac_func
38889
38890 /* System header to define __stub macros and hopefully few prototypes,
38891 which can conflict with char $ac_func (); below.
38892 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38893 <limits.h> exists even on freestanding compilers. */
38894
38895 #ifdef __STDC__
38896 # include <limits.h>
38897 #else
38898 # include <assert.h>
38899 #endif
38900
38901 #undef $ac_func
38902
38903 /* Override any GCC internal prototype to avoid an error.
38904 Use char because int might match the return type of a GCC
38905 builtin and then its argument prototype would still apply. */
38906 #ifdef __cplusplus
38907 extern "C"
38908 #endif
38909 char $ac_func ();
38910 /* The GNU C library defines this for functions which it implements
38911 to always fail with ENOSYS. Some functions are actually named
38912 something starting with __ and the normal name is an alias. */
38913 #if defined __stub_$ac_func || defined __stub___$ac_func
38914 choke me
38915 #endif
38916
38917 int
38918 main ()
38919 {
38920 return $ac_func ();
38921 ;
38922 return 0;
38923 }
38924 _ACEOF
38925 rm -f conftest.$ac_objext conftest$ac_exeext
38926 if { (ac_try="$ac_link"
38927 case "(($ac_try" in
38928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38929 *) ac_try_echo=$ac_try;;
38930 esac
38931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38932 (eval "$ac_link") 2>conftest.er1
38933 ac_status=$?
38934 grep -v '^ *+' conftest.er1 >conftest.err
38935 rm -f conftest.er1
38936 cat conftest.err >&5
38937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38938 (exit $ac_status); } && {
38939 test -z "$ac_c_werror_flag" ||
38940 test ! -s conftest.err
38941 } && test -s conftest$ac_exeext &&
38942 $as_test_x conftest$ac_exeext; then
38943 eval "$as_ac_var=yes"
38944 else
38945 echo "$as_me: failed program was:" >&5
38946 sed 's/^/| /' conftest.$ac_ext >&5
38947
38948 eval "$as_ac_var=no"
38949 fi
38950
38951 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38952 conftest$ac_exeext conftest.$ac_ext
38953 fi
38954 ac_res=`eval echo '${'$as_ac_var'}'`
38955 { echo "$as_me:$LINENO: result: $ac_res" >&5
38956 echo "${ECHO_T}$ac_res" >&6; }
38957 if test `eval echo '${'$as_ac_var'}'` = yes; then
38958 cat >>confdefs.h <<_ACEOF
38959 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38960 _ACEOF
38961
38962 fi
38963 done
38964
38965
38966 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
38967 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
38968 fi
38969
38970 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
38971 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
38972 if test "${ac_cv_type_mbstate_t+set}" = set; then
38973 echo $ECHO_N "(cached) $ECHO_C" >&6
38974 else
38975 cat >conftest.$ac_ext <<_ACEOF
38976 /* confdefs.h. */
38977 _ACEOF
38978 cat confdefs.h >>conftest.$ac_ext
38979 cat >>conftest.$ac_ext <<_ACEOF
38980 /* end confdefs.h. */
38981 #include <wchar.h>
38982
38983 typedef mbstate_t ac__type_new_;
38984 int
38985 main ()
38986 {
38987 if ((ac__type_new_ *) 0)
38988 return 0;
38989 if (sizeof (ac__type_new_))
38990 return 0;
38991 ;
38992 return 0;
38993 }
38994 _ACEOF
38995 rm -f conftest.$ac_objext
38996 if { (ac_try="$ac_compile"
38997 case "(($ac_try" in
38998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38999 *) ac_try_echo=$ac_try;;
39000 esac
39001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39002 (eval "$ac_compile") 2>conftest.er1
39003 ac_status=$?
39004 grep -v '^ *+' conftest.er1 >conftest.err
39005 rm -f conftest.er1
39006 cat conftest.err >&5
39007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39008 (exit $ac_status); } && {
39009 test -z "$ac_c_werror_flag" ||
39010 test ! -s conftest.err
39011 } && test -s conftest.$ac_objext; then
39012 ac_cv_type_mbstate_t=yes
39013 else
39014 echo "$as_me: failed program was:" >&5
39015 sed 's/^/| /' conftest.$ac_ext >&5
39016
39017 ac_cv_type_mbstate_t=no
39018 fi
39019
39020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39021 fi
39022 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
39023 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
39024 if test $ac_cv_type_mbstate_t = yes; then
39025
39026 cat >>confdefs.h <<_ACEOF
39027 #define HAVE_MBSTATE_T 1
39028 _ACEOF
39029
39030
39031 for ac_func in wcsrtombs
39032 do
39033 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39034 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39035 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39036 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39037 echo $ECHO_N "(cached) $ECHO_C" >&6
39038 else
39039 cat >conftest.$ac_ext <<_ACEOF
39040 /* confdefs.h. */
39041 _ACEOF
39042 cat confdefs.h >>conftest.$ac_ext
39043 cat >>conftest.$ac_ext <<_ACEOF
39044 /* end confdefs.h. */
39045 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39046 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39047 #define $ac_func innocuous_$ac_func
39048
39049 /* System header to define __stub macros and hopefully few prototypes,
39050 which can conflict with char $ac_func (); below.
39051 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39052 <limits.h> exists even on freestanding compilers. */
39053
39054 #ifdef __STDC__
39055 # include <limits.h>
39056 #else
39057 # include <assert.h>
39058 #endif
39059
39060 #undef $ac_func
39061
39062 /* Override any GCC internal prototype to avoid an error.
39063 Use char because int might match the return type of a GCC
39064 builtin and then its argument prototype would still apply. */
39065 #ifdef __cplusplus
39066 extern "C"
39067 #endif
39068 char $ac_func ();
39069 /* The GNU C library defines this for functions which it implements
39070 to always fail with ENOSYS. Some functions are actually named
39071 something starting with __ and the normal name is an alias. */
39072 #if defined __stub_$ac_func || defined __stub___$ac_func
39073 choke me
39074 #endif
39075
39076 int
39077 main ()
39078 {
39079 return $ac_func ();
39080 ;
39081 return 0;
39082 }
39083 _ACEOF
39084 rm -f conftest.$ac_objext conftest$ac_exeext
39085 if { (ac_try="$ac_link"
39086 case "(($ac_try" in
39087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39088 *) ac_try_echo=$ac_try;;
39089 esac
39090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39091 (eval "$ac_link") 2>conftest.er1
39092 ac_status=$?
39093 grep -v '^ *+' conftest.er1 >conftest.err
39094 rm -f conftest.er1
39095 cat conftest.err >&5
39096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39097 (exit $ac_status); } && {
39098 test -z "$ac_c_werror_flag" ||
39099 test ! -s conftest.err
39100 } && test -s conftest$ac_exeext &&
39101 $as_test_x conftest$ac_exeext; then
39102 eval "$as_ac_var=yes"
39103 else
39104 echo "$as_me: failed program was:" >&5
39105 sed 's/^/| /' conftest.$ac_ext >&5
39106
39107 eval "$as_ac_var=no"
39108 fi
39109
39110 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39111 conftest$ac_exeext conftest.$ac_ext
39112 fi
39113 ac_res=`eval echo '${'$as_ac_var'}'`
39114 { echo "$as_me:$LINENO: result: $ac_res" >&5
39115 echo "${ECHO_T}$ac_res" >&6; }
39116 if test `eval echo '${'$as_ac_var'}'` = yes; then
39117 cat >>confdefs.h <<_ACEOF
39118 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39119 _ACEOF
39120
39121 fi
39122 done
39123
39124 fi
39125
39126
39127
39128
39129
39130 for ac_func in snprintf vsnprintf vsscanf
39131 do
39132 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39133 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39134 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39135 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39136 echo $ECHO_N "(cached) $ECHO_C" >&6
39137 else
39138 cat >conftest.$ac_ext <<_ACEOF
39139 /* confdefs.h. */
39140 _ACEOF
39141 cat confdefs.h >>conftest.$ac_ext
39142 cat >>conftest.$ac_ext <<_ACEOF
39143 /* end confdefs.h. */
39144 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39145 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39146 #define $ac_func innocuous_$ac_func
39147
39148 /* System header to define __stub macros and hopefully few prototypes,
39149 which can conflict with char $ac_func (); below.
39150 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39151 <limits.h> exists even on freestanding compilers. */
39152
39153 #ifdef __STDC__
39154 # include <limits.h>
39155 #else
39156 # include <assert.h>
39157 #endif
39158
39159 #undef $ac_func
39160
39161 /* Override any GCC internal prototype to avoid an error.
39162 Use char because int might match the return type of a GCC
39163 builtin and then its argument prototype would still apply. */
39164 #ifdef __cplusplus
39165 extern "C"
39166 #endif
39167 char $ac_func ();
39168 /* The GNU C library defines this for functions which it implements
39169 to always fail with ENOSYS. Some functions are actually named
39170 something starting with __ and the normal name is an alias. */
39171 #if defined __stub_$ac_func || defined __stub___$ac_func
39172 choke me
39173 #endif
39174
39175 int
39176 main ()
39177 {
39178 return $ac_func ();
39179 ;
39180 return 0;
39181 }
39182 _ACEOF
39183 rm -f conftest.$ac_objext conftest$ac_exeext
39184 if { (ac_try="$ac_link"
39185 case "(($ac_try" in
39186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39187 *) ac_try_echo=$ac_try;;
39188 esac
39189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39190 (eval "$ac_link") 2>conftest.er1
39191 ac_status=$?
39192 grep -v '^ *+' conftest.er1 >conftest.err
39193 rm -f conftest.er1
39194 cat conftest.err >&5
39195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39196 (exit $ac_status); } && {
39197 test -z "$ac_c_werror_flag" ||
39198 test ! -s conftest.err
39199 } && test -s conftest$ac_exeext &&
39200 $as_test_x conftest$ac_exeext; then
39201 eval "$as_ac_var=yes"
39202 else
39203 echo "$as_me: failed program was:" >&5
39204 sed 's/^/| /' conftest.$ac_ext >&5
39205
39206 eval "$as_ac_var=no"
39207 fi
39208
39209 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39210 conftest$ac_exeext conftest.$ac_ext
39211 fi
39212 ac_res=`eval echo '${'$as_ac_var'}'`
39213 { echo "$as_me:$LINENO: result: $ac_res" >&5
39214 echo "${ECHO_T}$ac_res" >&6; }
39215 if test `eval echo '${'$as_ac_var'}'` = yes; then
39216 cat >>confdefs.h <<_ACEOF
39217 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39218 _ACEOF
39219
39220 fi
39221 done
39222
39223
39224 ac_ext=cpp
39225 ac_cpp='$CXXCPP $CPPFLAGS'
39226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39229
39230 if test "$ac_cv_func_vsnprintf" = "yes"; then
39231 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
39232 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
39233 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
39234 echo $ECHO_N "(cached) $ECHO_C" >&6
39235 else
39236
39237 cat >conftest.$ac_ext <<_ACEOF
39238 /* confdefs.h. */
39239 _ACEOF
39240 cat confdefs.h >>conftest.$ac_ext
39241 cat >>conftest.$ac_ext <<_ACEOF
39242 /* end confdefs.h. */
39243
39244 #include <stdio.h>
39245 #include <stdarg.h>
39246 #ifdef __MSL__
39247 #if __MSL__ >= 0x6000
39248 namespace std {}
39249 using namespace std;
39250 #endif
39251 #endif
39252
39253 int
39254 main ()
39255 {
39256
39257 char *buf;
39258 va_list ap;
39259 vsnprintf(buf, 10u, "%s", ap);
39260
39261 ;
39262 return 0;
39263 }
39264 _ACEOF
39265 rm -f conftest.$ac_objext
39266 if { (ac_try="$ac_compile"
39267 case "(($ac_try" in
39268 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39269 *) ac_try_echo=$ac_try;;
39270 esac
39271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39272 (eval "$ac_compile") 2>conftest.er1
39273 ac_status=$?
39274 grep -v '^ *+' conftest.er1 >conftest.err
39275 rm -f conftest.er1
39276 cat conftest.err >&5
39277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39278 (exit $ac_status); } && {
39279 test -z "$ac_cxx_werror_flag" ||
39280 test ! -s conftest.err
39281 } && test -s conftest.$ac_objext; then
39282 wx_cv_func_vsnprintf_decl=yes
39283 else
39284 echo "$as_me: failed program was:" >&5
39285 sed 's/^/| /' conftest.$ac_ext >&5
39286
39287 wx_cv_func_vsnprintf_decl=no
39288
39289 fi
39290
39291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39292
39293
39294 fi
39295 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
39296 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
39297
39298 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
39299 cat >>confdefs.h <<\_ACEOF
39300 #define HAVE_VSNPRINTF_DECL 1
39301 _ACEOF
39302
39303
39304 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
39305 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
39306 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
39307 echo $ECHO_N "(cached) $ECHO_C" >&6
39308 else
39309
39310 cat >conftest.$ac_ext <<_ACEOF
39311 /* confdefs.h. */
39312 _ACEOF
39313 cat confdefs.h >>conftest.$ac_ext
39314 cat >>conftest.$ac_ext <<_ACEOF
39315 /* end confdefs.h. */
39316
39317 #include <stdio.h>
39318 #include <stdarg.h>
39319 #ifdef __MSL__
39320 #if __MSL__ >= 0x6000
39321 namespace std {}
39322 using namespace std;
39323 #endif
39324 #endif
39325
39326 int
39327 main ()
39328 {
39329
39330 char *buf;
39331 va_list ap;
39332 const char *fmt = "%s";
39333 vsnprintf(buf, 10u, fmt, ap);
39334
39335 ;
39336 return 0;
39337 }
39338 _ACEOF
39339 rm -f conftest.$ac_objext
39340 if { (ac_try="$ac_compile"
39341 case "(($ac_try" in
39342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39343 *) ac_try_echo=$ac_try;;
39344 esac
39345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39346 (eval "$ac_compile") 2>conftest.er1
39347 ac_status=$?
39348 grep -v '^ *+' conftest.er1 >conftest.err
39349 rm -f conftest.er1
39350 cat conftest.err >&5
39351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39352 (exit $ac_status); } && {
39353 test -z "$ac_cxx_werror_flag" ||
39354 test ! -s conftest.err
39355 } && test -s conftest.$ac_objext; then
39356 wx_cv_func_broken_vsnprintf_decl=no
39357 else
39358 echo "$as_me: failed program was:" >&5
39359 sed 's/^/| /' conftest.$ac_ext >&5
39360
39361 wx_cv_func_broken_vsnprintf_decl=yes
39362
39363 fi
39364
39365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39366
39367
39368 fi
39369 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
39370 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
39371
39372 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
39373 cat >>confdefs.h <<\_ACEOF
39374 #define HAVE_BROKEN_VSNPRINTF_DECL 1
39375 _ACEOF
39376
39377 fi
39378 fi
39379 fi
39380
39381 if test "$ac_cv_func_snprintf" = "yes"; then
39382 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
39383 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
39384 if test "${wx_cv_func_snprintf_decl+set}" = set; then
39385 echo $ECHO_N "(cached) $ECHO_C" >&6
39386 else
39387
39388 cat >conftest.$ac_ext <<_ACEOF
39389 /* confdefs.h. */
39390 _ACEOF
39391 cat confdefs.h >>conftest.$ac_ext
39392 cat >>conftest.$ac_ext <<_ACEOF
39393 /* end confdefs.h. */
39394
39395 #include <stdio.h>
39396 #include <stdarg.h>
39397 #ifdef __MSL__
39398 #if __MSL__ >= 0x6000
39399 namespace std {}
39400 using namespace std;
39401 #endif
39402 #endif
39403
39404 int
39405 main ()
39406 {
39407
39408 char *buf;
39409 snprintf(buf, 10u, "%s", "wx");
39410
39411 ;
39412 return 0;
39413 }
39414 _ACEOF
39415 rm -f conftest.$ac_objext
39416 if { (ac_try="$ac_compile"
39417 case "(($ac_try" in
39418 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39419 *) ac_try_echo=$ac_try;;
39420 esac
39421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39422 (eval "$ac_compile") 2>conftest.er1
39423 ac_status=$?
39424 grep -v '^ *+' conftest.er1 >conftest.err
39425 rm -f conftest.er1
39426 cat conftest.err >&5
39427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39428 (exit $ac_status); } && {
39429 test -z "$ac_cxx_werror_flag" ||
39430 test ! -s conftest.err
39431 } && test -s conftest.$ac_objext; then
39432 wx_cv_func_snprintf_decl=yes
39433 else
39434 echo "$as_me: failed program was:" >&5
39435 sed 's/^/| /' conftest.$ac_ext >&5
39436
39437 wx_cv_func_snprintf_decl=no
39438
39439 fi
39440
39441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39442
39443
39444 fi
39445 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
39446 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
39447
39448 if test "$wx_cv_func_snprintf_decl" = "yes"; then
39449 cat >>confdefs.h <<\_ACEOF
39450 #define HAVE_SNPRINTF_DECL 1
39451 _ACEOF
39452
39453 fi
39454
39455 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
39456
39457 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
39458 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
39459 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
39460 echo $ECHO_N "(cached) $ECHO_C" >&6
39461 else
39462
39463 if test "$cross_compiling" = yes; then
39464
39465 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
39466 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
39467 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
39468 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
39469 wx_cv_func_snprintf_pos_params=no
39470
39471
39472 else
39473 cat >conftest.$ac_ext <<_ACEOF
39474 /* confdefs.h. */
39475 _ACEOF
39476 cat confdefs.h >>conftest.$ac_ext
39477 cat >>conftest.$ac_ext <<_ACEOF
39478 /* end confdefs.h. */
39479
39480 #include <stdio.h>
39481
39482 int main (void)
39483 {
39484 char buffer[128];
39485 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
39486 if (strcmp ("2 3 1", buffer) == 0)
39487 exit (0);
39488 exit (1);
39489 }
39490
39491 _ACEOF
39492 rm -f conftest$ac_exeext
39493 if { (ac_try="$ac_link"
39494 case "(($ac_try" in
39495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39496 *) ac_try_echo=$ac_try;;
39497 esac
39498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39499 (eval "$ac_link") 2>&5
39500 ac_status=$?
39501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39502 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
39503 { (case "(($ac_try" in
39504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39505 *) ac_try_echo=$ac_try;;
39506 esac
39507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39508 (eval "$ac_try") 2>&5
39509 ac_status=$?
39510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39511 (exit $ac_status); }; }; then
39512 wx_cv_func_snprintf_pos_params=no
39513 else
39514 echo "$as_me: program exited with status $ac_status" >&5
39515 echo "$as_me: failed program was:" >&5
39516 sed 's/^/| /' conftest.$ac_ext >&5
39517
39518 ( exit $ac_status )
39519 wx_cv_func_snprintf_pos_params=yes
39520 fi
39521 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
39522 fi
39523
39524
39525
39526
39527 fi
39528 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
39529 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
39530
39531 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
39532 cat >>confdefs.h <<\_ACEOF
39533 #define HAVE_UNIX98_PRINTF 1
39534 _ACEOF
39535
39536 fi
39537 fi
39538 fi
39539
39540 if test "$ac_cv_func_vsscanf" = "yes"; then
39541 { echo "$as_me:$LINENO: checking for vsscanf declaration" >&5
39542 echo $ECHO_N "checking for vsscanf declaration... $ECHO_C" >&6; }
39543 if test "${wx_cv_func_vsscanf_decl+set}" = set; then
39544 echo $ECHO_N "(cached) $ECHO_C" >&6
39545 else
39546
39547 cat >conftest.$ac_ext <<_ACEOF
39548 /* confdefs.h. */
39549 _ACEOF
39550 cat confdefs.h >>conftest.$ac_ext
39551 cat >>conftest.$ac_ext <<_ACEOF
39552 /* end confdefs.h. */
39553
39554 #include <stdio.h>
39555 #include <stdarg.h>
39556 #ifdef __MSL__
39557 #if __MSL__ >= 0x6000
39558 namespace std {}
39559 using namespace std;
39560 #endif
39561 #endif
39562
39563 int
39564 main ()
39565 {
39566
39567 char *buf;
39568 va_list args;
39569 vsscanf(buf, "%s", args);
39570
39571 ;
39572 return 0;
39573 }
39574 _ACEOF
39575 rm -f conftest.$ac_objext
39576 if { (ac_try="$ac_compile"
39577 case "(($ac_try" in
39578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39579 *) ac_try_echo=$ac_try;;
39580 esac
39581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39582 (eval "$ac_compile") 2>conftest.er1
39583 ac_status=$?
39584 grep -v '^ *+' conftest.er1 >conftest.err
39585 rm -f conftest.er1
39586 cat conftest.err >&5
39587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39588 (exit $ac_status); } && {
39589 test -z "$ac_cxx_werror_flag" ||
39590 test ! -s conftest.err
39591 } && test -s conftest.$ac_objext; then
39592 wx_cv_func_vsscanf_decl=yes
39593 else
39594 echo "$as_me: failed program was:" >&5
39595 sed 's/^/| /' conftest.$ac_ext >&5
39596
39597 wx_cv_func_vsscanf_decl=no
39598
39599 fi
39600
39601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39602
39603
39604 fi
39605 { echo "$as_me:$LINENO: result: $wx_cv_func_vsscanf_decl" >&5
39606 echo "${ECHO_T}$wx_cv_func_vsscanf_decl" >&6; }
39607
39608 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
39609 cat >>confdefs.h <<\_ACEOF
39610 #define HAVE_VSSCANF_DECL 1
39611 _ACEOF
39612
39613 fi
39614 fi
39615 ac_ext=c
39616 ac_cpp='$CPP $CPPFLAGS'
39617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39620
39621
39622 if test "$wxUSE_UNICODE" = yes; then
39623
39624 wchar_headers="#include <stdio.h>
39625 #include <wchar.h>"
39626 case "${host}" in
39627 *-*-solaris2* )
39628
39629 for ac_header in widec.h
39630 do
39631 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39632 { echo "$as_me:$LINENO: checking for $ac_header" >&5
39633 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
39634 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
39635 echo $ECHO_N "(cached) $ECHO_C" >&6
39636 else
39637 cat >conftest.$ac_ext <<_ACEOF
39638 /* confdefs.h. */
39639 _ACEOF
39640 cat confdefs.h >>conftest.$ac_ext
39641 cat >>conftest.$ac_ext <<_ACEOF
39642 /* end confdefs.h. */
39643 $ac_includes_default
39644
39645 #include <$ac_header>
39646 _ACEOF
39647 rm -f conftest.$ac_objext
39648 if { (ac_try="$ac_compile"
39649 case "(($ac_try" in
39650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39651 *) ac_try_echo=$ac_try;;
39652 esac
39653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39654 (eval "$ac_compile") 2>conftest.er1
39655 ac_status=$?
39656 grep -v '^ *+' conftest.er1 >conftest.err
39657 rm -f conftest.er1
39658 cat conftest.err >&5
39659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39660 (exit $ac_status); } && {
39661 test -z "$ac_c_werror_flag" ||
39662 test ! -s conftest.err
39663 } && test -s conftest.$ac_objext; then
39664 eval "$as_ac_Header=yes"
39665 else
39666 echo "$as_me: failed program was:" >&5
39667 sed 's/^/| /' conftest.$ac_ext >&5
39668
39669 eval "$as_ac_Header=no"
39670 fi
39671
39672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39673 fi
39674 ac_res=`eval echo '${'$as_ac_Header'}'`
39675 { echo "$as_me:$LINENO: result: $ac_res" >&5
39676 echo "${ECHO_T}$ac_res" >&6; }
39677 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39678 cat >>confdefs.h <<_ACEOF
39679 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39680 _ACEOF
39681
39682 fi
39683
39684 done
39685
39686 if test "$ac_cv_header_widec_h" = "yes"; then
39687 wchar_headers="$wchar_headers
39688 #include <widec.h>"
39689 fi
39690 esac
39691
39692
39693 for wx_func in putws fputws wprintf vswprintf vswscanf
39694 do
39695 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39696 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39697 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39698 echo $ECHO_N "(cached) $ECHO_C" >&6
39699 else
39700
39701 cat >conftest.$ac_ext <<_ACEOF
39702
39703 /* confdefs.h. */
39704 _ACEOF
39705 cat confdefs.h >>conftest.$ac_ext
39706 cat >>conftest.$ac_ext <<_ACEOF
39707 /* end confdefs.h. */
39708
39709 $wchar_headers
39710 $ac_includes_default
39711
39712 int
39713 main ()
39714 {
39715
39716 #ifndef $wx_func
39717 &$wx_func;
39718 #endif
39719
39720
39721 ;
39722 return 0;
39723 }
39724
39725 _ACEOF
39726 rm -f conftest.$ac_objext conftest$ac_exeext
39727 if { (ac_try="$ac_link"
39728 case "(($ac_try" in
39729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39730 *) ac_try_echo=$ac_try;;
39731 esac
39732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39733 (eval "$ac_link") 2>conftest.er1
39734 ac_status=$?
39735 grep -v '^ *+' conftest.er1 >conftest.err
39736 rm -f conftest.er1
39737 cat conftest.err >&5
39738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39739 (exit $ac_status); } && {
39740 test -z "$ac_c_werror_flag" ||
39741 test ! -s conftest.err
39742 } && test -s conftest$ac_exeext &&
39743 $as_test_x conftest$ac_exeext; then
39744 eval wx_cv_func_$wx_func=yes
39745 else
39746 echo "$as_me: failed program was:" >&5
39747 sed 's/^/| /' conftest.$ac_ext >&5
39748
39749 eval wx_cv_func_$wx_func=no
39750 fi
39751
39752 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39753 conftest$ac_exeext conftest.$ac_ext
39754
39755 fi
39756 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39757 { echo "$as_me:$LINENO: result: $ac_res" >&5
39758 echo "${ECHO_T}$ac_res" >&6; }
39759
39760 if eval test \$wx_cv_func_$wx_func = yes
39761 then
39762 cat >>confdefs.h <<_ACEOF
39763 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39764 _ACEOF
39765
39766
39767 else
39768 :
39769
39770 fi
39771 done
39772
39773
39774 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
39775 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
39776 cat >conftest.$ac_ext <<_ACEOF
39777 /* confdefs.h. */
39778 _ACEOF
39779 cat confdefs.h >>conftest.$ac_ext
39780 cat >>conftest.$ac_ext <<_ACEOF
39781 /* end confdefs.h. */
39782 #include <wchar.h>
39783 int
39784 main ()
39785 {
39786 &_vsnwprintf;
39787 ;
39788 return 0;
39789 }
39790 _ACEOF
39791 rm -f conftest.$ac_objext
39792 if { (ac_try="$ac_compile"
39793 case "(($ac_try" in
39794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39795 *) ac_try_echo=$ac_try;;
39796 esac
39797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39798 (eval "$ac_compile") 2>conftest.er1
39799 ac_status=$?
39800 grep -v '^ *+' conftest.er1 >conftest.err
39801 rm -f conftest.er1
39802 cat conftest.err >&5
39803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39804 (exit $ac_status); } && {
39805 test -z "$ac_c_werror_flag" ||
39806 test ! -s conftest.err
39807 } && test -s conftest.$ac_objext; then
39808 { echo "$as_me:$LINENO: result: yes" >&5
39809 echo "${ECHO_T}yes" >&6; }
39810 cat >>confdefs.h <<\_ACEOF
39811 #define HAVE__VSNWPRINTF 1
39812 _ACEOF
39813
39814 else
39815 echo "$as_me: failed program was:" >&5
39816 sed 's/^/| /' conftest.$ac_ext >&5
39817
39818 { echo "$as_me:$LINENO: result: no" >&5
39819 echo "${ECHO_T}no" >&6; }
39820 fi
39821
39822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
39823 fi
39824
39825 if test "$wxUSE_FILE" = "yes"; then
39826
39827 for wx_func in fsync
39828 do
39829 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39830 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39831 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39832 echo $ECHO_N "(cached) $ECHO_C" >&6
39833 else
39834
39835 cat >conftest.$ac_ext <<_ACEOF
39836
39837 /* confdefs.h. */
39838 _ACEOF
39839 cat confdefs.h >>conftest.$ac_ext
39840 cat >>conftest.$ac_ext <<_ACEOF
39841 /* end confdefs.h. */
39842
39843
39844 $ac_includes_default
39845
39846 int
39847 main ()
39848 {
39849
39850 #ifndef $wx_func
39851 &$wx_func;
39852 #endif
39853
39854
39855 ;
39856 return 0;
39857 }
39858
39859 _ACEOF
39860 rm -f conftest.$ac_objext conftest$ac_exeext
39861 if { (ac_try="$ac_link"
39862 case "(($ac_try" in
39863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39864 *) ac_try_echo=$ac_try;;
39865 esac
39866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39867 (eval "$ac_link") 2>conftest.er1
39868 ac_status=$?
39869 grep -v '^ *+' conftest.er1 >conftest.err
39870 rm -f conftest.er1
39871 cat conftest.err >&5
39872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39873 (exit $ac_status); } && {
39874 test -z "$ac_c_werror_flag" ||
39875 test ! -s conftest.err
39876 } && test -s conftest$ac_exeext &&
39877 $as_test_x conftest$ac_exeext; then
39878 eval wx_cv_func_$wx_func=yes
39879 else
39880 echo "$as_me: failed program was:" >&5
39881 sed 's/^/| /' conftest.$ac_ext >&5
39882
39883 eval wx_cv_func_$wx_func=no
39884 fi
39885
39886 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39887 conftest$ac_exeext conftest.$ac_ext
39888
39889 fi
39890 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39891 { echo "$as_me:$LINENO: result: $ac_res" >&5
39892 echo "${ECHO_T}$ac_res" >&6; }
39893
39894 if eval test \$wx_cv_func_$wx_func = yes
39895 then
39896 cat >>confdefs.h <<_ACEOF
39897 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39898 _ACEOF
39899
39900
39901 else
39902 :
39903
39904 fi
39905 done
39906
39907 fi
39908
39909 ac_ext=cpp
39910 ac_cpp='$CXXCPP $CPPFLAGS'
39911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39914
39915
39916 for wx_func in round
39917 do
39918 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39919 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39920 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39921 echo $ECHO_N "(cached) $ECHO_C" >&6
39922 else
39923
39924 cat >conftest.$ac_ext <<_ACEOF
39925
39926 /* confdefs.h. */
39927 _ACEOF
39928 cat confdefs.h >>conftest.$ac_ext
39929 cat >>conftest.$ac_ext <<_ACEOF
39930 /* end confdefs.h. */
39931
39932 #include <math.h>
39933 $ac_includes_default
39934
39935 int
39936 main ()
39937 {
39938
39939 #ifndef $wx_func
39940 &$wx_func;
39941 #endif
39942
39943
39944 ;
39945 return 0;
39946 }
39947
39948 _ACEOF
39949 rm -f conftest.$ac_objext conftest$ac_exeext
39950 if { (ac_try="$ac_link"
39951 case "(($ac_try" in
39952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39953 *) ac_try_echo=$ac_try;;
39954 esac
39955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39956 (eval "$ac_link") 2>conftest.er1
39957 ac_status=$?
39958 grep -v '^ *+' conftest.er1 >conftest.err
39959 rm -f conftest.er1
39960 cat conftest.err >&5
39961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39962 (exit $ac_status); } && {
39963 test -z "$ac_cxx_werror_flag" ||
39964 test ! -s conftest.err
39965 } && test -s conftest$ac_exeext &&
39966 $as_test_x conftest$ac_exeext; then
39967 eval wx_cv_func_$wx_func=yes
39968 else
39969 echo "$as_me: failed program was:" >&5
39970 sed 's/^/| /' conftest.$ac_ext >&5
39971
39972 eval wx_cv_func_$wx_func=no
39973 fi
39974
39975 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39976 conftest$ac_exeext conftest.$ac_ext
39977
39978 fi
39979 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39980 { echo "$as_me:$LINENO: result: $ac_res" >&5
39981 echo "${ECHO_T}$ac_res" >&6; }
39982
39983 if eval test \$wx_cv_func_$wx_func = yes
39984 then
39985 cat >>confdefs.h <<_ACEOF
39986 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39987 _ACEOF
39988
39989
39990 else
39991 :
39992
39993 fi
39994 done
39995
39996 ac_ext=c
39997 ac_cpp='$CPP $CPPFLAGS'
39998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40001
40002
40003 if test "$TOOLKIT" != "MSW"; then
40004
40005 if test "$wxUSE_LIBICONV" != "no" ; then
40006
40007
40008
40009 # Check whether --with-libiconv-prefix was given.
40010 if test "${with_libiconv_prefix+set}" = set; then
40011 withval=$with_libiconv_prefix;
40012 for dir in `echo "$withval" | tr : ' '`; do
40013 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
40014 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
40015 done
40016
40017 fi
40018
40019
40020 { echo "$as_me:$LINENO: checking for iconv" >&5
40021 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
40022 if test "${am_cv_func_iconv+set}" = set; then
40023 echo $ECHO_N "(cached) $ECHO_C" >&6
40024 else
40025
40026 am_cv_func_iconv="no, consider installing GNU libiconv"
40027 am_cv_lib_iconv=no
40028 cat >conftest.$ac_ext <<_ACEOF
40029 /* confdefs.h. */
40030 _ACEOF
40031 cat confdefs.h >>conftest.$ac_ext
40032 cat >>conftest.$ac_ext <<_ACEOF
40033 /* end confdefs.h. */
40034 #include <stdlib.h>
40035 #include <iconv.h>
40036 int
40037 main ()
40038 {
40039 iconv_t cd = iconv_open("","");
40040 iconv(cd,NULL,NULL,NULL,NULL);
40041 iconv_close(cd);
40042 ;
40043 return 0;
40044 }
40045 _ACEOF
40046 rm -f conftest.$ac_objext conftest$ac_exeext
40047 if { (ac_try="$ac_link"
40048 case "(($ac_try" in
40049 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40050 *) ac_try_echo=$ac_try;;
40051 esac
40052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40053 (eval "$ac_link") 2>conftest.er1
40054 ac_status=$?
40055 grep -v '^ *+' conftest.er1 >conftest.err
40056 rm -f conftest.er1
40057 cat conftest.err >&5
40058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40059 (exit $ac_status); } && {
40060 test -z "$ac_c_werror_flag" ||
40061 test ! -s conftest.err
40062 } && test -s conftest$ac_exeext &&
40063 $as_test_x conftest$ac_exeext; then
40064 am_cv_func_iconv=yes
40065 else
40066 echo "$as_me: failed program was:" >&5
40067 sed 's/^/| /' conftest.$ac_ext >&5
40068
40069
40070 fi
40071
40072 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40073 conftest$ac_exeext conftest.$ac_ext
40074 if test "$am_cv_func_iconv" != yes; then
40075 am_save_LIBS="$LIBS"
40076 LIBS="$LIBS -liconv"
40077 cat >conftest.$ac_ext <<_ACEOF
40078 /* confdefs.h. */
40079 _ACEOF
40080 cat confdefs.h >>conftest.$ac_ext
40081 cat >>conftest.$ac_ext <<_ACEOF
40082 /* end confdefs.h. */
40083 #include <stdlib.h>
40084 #include <iconv.h>
40085 int
40086 main ()
40087 {
40088 iconv_t cd = iconv_open("","");
40089 iconv(cd,NULL,NULL,NULL,NULL);
40090 iconv_close(cd);
40091 ;
40092 return 0;
40093 }
40094 _ACEOF
40095 rm -f conftest.$ac_objext conftest$ac_exeext
40096 if { (ac_try="$ac_link"
40097 case "(($ac_try" in
40098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40099 *) ac_try_echo=$ac_try;;
40100 esac
40101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40102 (eval "$ac_link") 2>conftest.er1
40103 ac_status=$?
40104 grep -v '^ *+' conftest.er1 >conftest.err
40105 rm -f conftest.er1
40106 cat conftest.err >&5
40107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40108 (exit $ac_status); } && {
40109 test -z "$ac_c_werror_flag" ||
40110 test ! -s conftest.err
40111 } && test -s conftest$ac_exeext &&
40112 $as_test_x conftest$ac_exeext; then
40113 am_cv_lib_iconv=yes
40114 am_cv_func_iconv=yes
40115 else
40116 echo "$as_me: failed program was:" >&5
40117 sed 's/^/| /' conftest.$ac_ext >&5
40118
40119
40120 fi
40121
40122 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40123 conftest$ac_exeext conftest.$ac_ext
40124 LIBS="$am_save_LIBS"
40125 fi
40126
40127 fi
40128 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
40129 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
40130 if test "$am_cv_func_iconv" = yes; then
40131
40132 cat >>confdefs.h <<\_ACEOF
40133 #define HAVE_ICONV 1
40134 _ACEOF
40135
40136 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
40137 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
40138 if test "${wx_cv_func_iconv_const+set}" = set; then
40139 echo $ECHO_N "(cached) $ECHO_C" >&6
40140 else
40141 cat >conftest.$ac_ext <<_ACEOF
40142 /* confdefs.h. */
40143 _ACEOF
40144 cat confdefs.h >>conftest.$ac_ext
40145 cat >>conftest.$ac_ext <<_ACEOF
40146 /* end confdefs.h. */
40147
40148 #include <stdlib.h>
40149 #include <iconv.h>
40150 extern
40151 #ifdef __cplusplus
40152 "C"
40153 #endif
40154 #if defined(__STDC__) || defined(__cplusplus)
40155 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
40156 #else
40157 size_t iconv();
40158 #endif
40159
40160 int
40161 main ()
40162 {
40163
40164 ;
40165 return 0;
40166 }
40167 _ACEOF
40168 rm -f conftest.$ac_objext
40169 if { (ac_try="$ac_compile"
40170 case "(($ac_try" in
40171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40172 *) ac_try_echo=$ac_try;;
40173 esac
40174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40175 (eval "$ac_compile") 2>conftest.er1
40176 ac_status=$?
40177 grep -v '^ *+' conftest.er1 >conftest.err
40178 rm -f conftest.er1
40179 cat conftest.err >&5
40180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40181 (exit $ac_status); } && {
40182 test -z "$ac_c_werror_flag" ||
40183 test ! -s conftest.err
40184 } && test -s conftest.$ac_objext; then
40185 wx_cv_func_iconv_const="no"
40186 else
40187 echo "$as_me: failed program was:" >&5
40188 sed 's/^/| /' conftest.$ac_ext >&5
40189
40190 wx_cv_func_iconv_const="yes"
40191
40192 fi
40193
40194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40195
40196 fi
40197 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
40198 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
40199
40200 iconv_const=
40201 if test "x$wx_cv_func_iconv_const" = "xyes"; then
40202 iconv_const="const"
40203 fi
40204
40205
40206 cat >>confdefs.h <<_ACEOF
40207 #define ICONV_CONST $iconv_const
40208 _ACEOF
40209
40210 fi
40211 LIBICONV=
40212 if test "$am_cv_lib_iconv" = yes; then
40213 LIBICONV="-liconv"
40214 fi
40215
40216
40217 LIBS="$LIBICONV $LIBS"
40218 fi
40219
40220 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
40221
40222 for ac_func in sigaction
40223 do
40224 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40225 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40226 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40227 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40228 echo $ECHO_N "(cached) $ECHO_C" >&6
40229 else
40230 cat >conftest.$ac_ext <<_ACEOF
40231 /* confdefs.h. */
40232 _ACEOF
40233 cat confdefs.h >>conftest.$ac_ext
40234 cat >>conftest.$ac_ext <<_ACEOF
40235 /* end confdefs.h. */
40236 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40237 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40238 #define $ac_func innocuous_$ac_func
40239
40240 /* System header to define __stub macros and hopefully few prototypes,
40241 which can conflict with char $ac_func (); below.
40242 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40243 <limits.h> exists even on freestanding compilers. */
40244
40245 #ifdef __STDC__
40246 # include <limits.h>
40247 #else
40248 # include <assert.h>
40249 #endif
40250
40251 #undef $ac_func
40252
40253 /* Override any GCC internal prototype to avoid an error.
40254 Use char because int might match the return type of a GCC
40255 builtin and then its argument prototype would still apply. */
40256 #ifdef __cplusplus
40257 extern "C"
40258 #endif
40259 char $ac_func ();
40260 /* The GNU C library defines this for functions which it implements
40261 to always fail with ENOSYS. Some functions are actually named
40262 something starting with __ and the normal name is an alias. */
40263 #if defined __stub_$ac_func || defined __stub___$ac_func
40264 choke me
40265 #endif
40266
40267 int
40268 main ()
40269 {
40270 return $ac_func ();
40271 ;
40272 return 0;
40273 }
40274 _ACEOF
40275 rm -f conftest.$ac_objext conftest$ac_exeext
40276 if { (ac_try="$ac_link"
40277 case "(($ac_try" in
40278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40279 *) ac_try_echo=$ac_try;;
40280 esac
40281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40282 (eval "$ac_link") 2>conftest.er1
40283 ac_status=$?
40284 grep -v '^ *+' conftest.er1 >conftest.err
40285 rm -f conftest.er1
40286 cat conftest.err >&5
40287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40288 (exit $ac_status); } && {
40289 test -z "$ac_c_werror_flag" ||
40290 test ! -s conftest.err
40291 } && test -s conftest$ac_exeext &&
40292 $as_test_x conftest$ac_exeext; then
40293 eval "$as_ac_var=yes"
40294 else
40295 echo "$as_me: failed program was:" >&5
40296 sed 's/^/| /' conftest.$ac_ext >&5
40297
40298 eval "$as_ac_var=no"
40299 fi
40300
40301 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40302 conftest$ac_exeext conftest.$ac_ext
40303 fi
40304 ac_res=`eval echo '${'$as_ac_var'}'`
40305 { echo "$as_me:$LINENO: result: $ac_res" >&5
40306 echo "${ECHO_T}$ac_res" >&6; }
40307 if test `eval echo '${'$as_ac_var'}'` = yes; then
40308 cat >>confdefs.h <<_ACEOF
40309 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40310 _ACEOF
40311
40312 fi
40313 done
40314
40315
40316 if test "$ac_cv_func_sigaction" = "no"; then
40317 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
40318 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
40319 wxUSE_ON_FATAL_EXCEPTION=no
40320 fi
40321
40322 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
40323 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
40324 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
40325 if test "${wx_cv_type_sa_handler+set}" = set; then
40326 echo $ECHO_N "(cached) $ECHO_C" >&6
40327 else
40328
40329 ac_ext=cpp
40330 ac_cpp='$CXXCPP $CPPFLAGS'
40331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40334
40335 cat >conftest.$ac_ext <<_ACEOF
40336 /* confdefs.h. */
40337 _ACEOF
40338 cat confdefs.h >>conftest.$ac_ext
40339 cat >>conftest.$ac_ext <<_ACEOF
40340 /* end confdefs.h. */
40341 #include <signal.h>
40342 int
40343 main ()
40344 {
40345
40346 extern void testSigHandler(int);
40347
40348 struct sigaction sa;
40349 sa.sa_handler = testSigHandler;
40350
40351 ;
40352 return 0;
40353 }
40354 _ACEOF
40355 rm -f conftest.$ac_objext
40356 if { (ac_try="$ac_compile"
40357 case "(($ac_try" in
40358 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40359 *) ac_try_echo=$ac_try;;
40360 esac
40361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40362 (eval "$ac_compile") 2>conftest.er1
40363 ac_status=$?
40364 grep -v '^ *+' conftest.er1 >conftest.err
40365 rm -f conftest.er1
40366 cat conftest.err >&5
40367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40368 (exit $ac_status); } && {
40369 test -z "$ac_cxx_werror_flag" ||
40370 test ! -s conftest.err
40371 } && test -s conftest.$ac_objext; then
40372
40373 wx_cv_type_sa_handler=int
40374
40375 else
40376 echo "$as_me: failed program was:" >&5
40377 sed 's/^/| /' conftest.$ac_ext >&5
40378
40379
40380 wx_cv_type_sa_handler=void
40381
40382 fi
40383
40384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40385 ac_ext=c
40386 ac_cpp='$CPP $CPPFLAGS'
40387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40390
40391
40392 fi
40393 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
40394 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
40395
40396 cat >>confdefs.h <<_ACEOF
40397 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
40398 _ACEOF
40399
40400 fi
40401 fi
40402
40403 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
40404 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
40405 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
40406 if test "${wx_cv_func_backtrace+set}" = set; then
40407 echo $ECHO_N "(cached) $ECHO_C" >&6
40408 else
40409
40410 ac_ext=cpp
40411 ac_cpp='$CXXCPP $CPPFLAGS'
40412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40415
40416 cat >conftest.$ac_ext <<_ACEOF
40417 /* confdefs.h. */
40418 _ACEOF
40419 cat confdefs.h >>conftest.$ac_ext
40420 cat >>conftest.$ac_ext <<_ACEOF
40421 /* end confdefs.h. */
40422 #include <execinfo.h>
40423 int
40424 main ()
40425 {
40426
40427 void *trace[1];
40428 char **messages;
40429
40430 backtrace(trace, 1);
40431 messages = backtrace_symbols(trace, 1);
40432
40433 ;
40434 return 0;
40435 }
40436 _ACEOF
40437 rm -f conftest.$ac_objext
40438 if { (ac_try="$ac_compile"
40439 case "(($ac_try" in
40440 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40441 *) ac_try_echo=$ac_try;;
40442 esac
40443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40444 (eval "$ac_compile") 2>conftest.er1
40445 ac_status=$?
40446 grep -v '^ *+' conftest.er1 >conftest.err
40447 rm -f conftest.er1
40448 cat conftest.err >&5
40449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40450 (exit $ac_status); } && {
40451 test -z "$ac_cxx_werror_flag" ||
40452 test ! -s conftest.err
40453 } && test -s conftest.$ac_objext; then
40454 wx_cv_func_backtrace=yes
40455 else
40456 echo "$as_me: failed program was:" >&5
40457 sed 's/^/| /' conftest.$ac_ext >&5
40458
40459 wx_cv_func_backtrace=no
40460
40461 fi
40462
40463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40464 ac_ext=c
40465 ac_cpp='$CPP $CPPFLAGS'
40466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40469
40470
40471
40472 fi
40473 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
40474 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
40475
40476
40477 if test "$wx_cv_func_backtrace" = "no"; then
40478 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
40479 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
40480 wxUSE_STACKWALKER=no
40481 else
40482 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
40483 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
40484 if test "${wx_cv_func_cxa_demangle+set}" = set; then
40485 echo $ECHO_N "(cached) $ECHO_C" >&6
40486 else
40487
40488 ac_ext=cpp
40489 ac_cpp='$CXXCPP $CPPFLAGS'
40490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40493
40494 cat >conftest.$ac_ext <<_ACEOF
40495 /* confdefs.h. */
40496 _ACEOF
40497 cat confdefs.h >>conftest.$ac_ext
40498 cat >>conftest.$ac_ext <<_ACEOF
40499 /* end confdefs.h. */
40500 #include <cxxabi.h>
40501 int
40502 main ()
40503 {
40504
40505 int rc;
40506 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
40507
40508 ;
40509 return 0;
40510 }
40511 _ACEOF
40512 rm -f conftest.$ac_objext conftest$ac_exeext
40513 if { (ac_try="$ac_link"
40514 case "(($ac_try" in
40515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40516 *) ac_try_echo=$ac_try;;
40517 esac
40518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40519 (eval "$ac_link") 2>conftest.er1
40520 ac_status=$?
40521 grep -v '^ *+' conftest.er1 >conftest.err
40522 rm -f conftest.er1
40523 cat conftest.err >&5
40524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40525 (exit $ac_status); } && {
40526 test -z "$ac_cxx_werror_flag" ||
40527 test ! -s conftest.err
40528 } && test -s conftest$ac_exeext &&
40529 $as_test_x conftest$ac_exeext; then
40530 wx_cv_func_cxa_demangle=yes
40531 else
40532 echo "$as_me: failed program was:" >&5
40533 sed 's/^/| /' conftest.$ac_ext >&5
40534
40535 wx_cv_func_cxa_demangle=no
40536
40537 fi
40538
40539 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40540 conftest$ac_exeext conftest.$ac_ext
40541 ac_ext=c
40542 ac_cpp='$CPP $CPPFLAGS'
40543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40546
40547
40548
40549 fi
40550 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
40551 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
40552
40553 if test "$wx_cv_func_cxa_demangle" = "yes"; then
40554 cat >>confdefs.h <<\_ACEOF
40555 #define HAVE_CXA_DEMANGLE 1
40556 _ACEOF
40557
40558 fi
40559 fi
40560 fi
40561
40562 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
40563 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
40564 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
40565 wxUSE_STACKWALKER=no
40566 fi
40567
40568
40569
40570
40571 for ac_func in mkstemp mktemp
40572 do
40573 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40574 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40575 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40576 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40577 echo $ECHO_N "(cached) $ECHO_C" >&6
40578 else
40579 cat >conftest.$ac_ext <<_ACEOF
40580 /* confdefs.h. */
40581 _ACEOF
40582 cat confdefs.h >>conftest.$ac_ext
40583 cat >>conftest.$ac_ext <<_ACEOF
40584 /* end confdefs.h. */
40585 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40586 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40587 #define $ac_func innocuous_$ac_func
40588
40589 /* System header to define __stub macros and hopefully few prototypes,
40590 which can conflict with char $ac_func (); below.
40591 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40592 <limits.h> exists even on freestanding compilers. */
40593
40594 #ifdef __STDC__
40595 # include <limits.h>
40596 #else
40597 # include <assert.h>
40598 #endif
40599
40600 #undef $ac_func
40601
40602 /* Override any GCC internal prototype to avoid an error.
40603 Use char because int might match the return type of a GCC
40604 builtin and then its argument prototype would still apply. */
40605 #ifdef __cplusplus
40606 extern "C"
40607 #endif
40608 char $ac_func ();
40609 /* The GNU C library defines this for functions which it implements
40610 to always fail with ENOSYS. Some functions are actually named
40611 something starting with __ and the normal name is an alias. */
40612 #if defined __stub_$ac_func || defined __stub___$ac_func
40613 choke me
40614 #endif
40615
40616 int
40617 main ()
40618 {
40619 return $ac_func ();
40620 ;
40621 return 0;
40622 }
40623 _ACEOF
40624 rm -f conftest.$ac_objext conftest$ac_exeext
40625 if { (ac_try="$ac_link"
40626 case "(($ac_try" in
40627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40628 *) ac_try_echo=$ac_try;;
40629 esac
40630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40631 (eval "$ac_link") 2>conftest.er1
40632 ac_status=$?
40633 grep -v '^ *+' conftest.er1 >conftest.err
40634 rm -f conftest.er1
40635 cat conftest.err >&5
40636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40637 (exit $ac_status); } && {
40638 test -z "$ac_c_werror_flag" ||
40639 test ! -s conftest.err
40640 } && test -s conftest$ac_exeext &&
40641 $as_test_x conftest$ac_exeext; then
40642 eval "$as_ac_var=yes"
40643 else
40644 echo "$as_me: failed program was:" >&5
40645 sed 's/^/| /' conftest.$ac_ext >&5
40646
40647 eval "$as_ac_var=no"
40648 fi
40649
40650 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40651 conftest$ac_exeext conftest.$ac_ext
40652 fi
40653 ac_res=`eval echo '${'$as_ac_var'}'`
40654 { echo "$as_me:$LINENO: result: $ac_res" >&5
40655 echo "${ECHO_T}$ac_res" >&6; }
40656 if test `eval echo '${'$as_ac_var'}'` = yes; then
40657 cat >>confdefs.h <<_ACEOF
40658 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40659 _ACEOF
40660 break
40661 fi
40662 done
40663
40664
40665 { echo "$as_me:$LINENO: checking for statfs" >&5
40666 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
40667 if test "${wx_cv_func_statfs+set}" = set; then
40668 echo $ECHO_N "(cached) $ECHO_C" >&6
40669 else
40670 cat >conftest.$ac_ext <<_ACEOF
40671 /* confdefs.h. */
40672 _ACEOF
40673 cat confdefs.h >>conftest.$ac_ext
40674 cat >>conftest.$ac_ext <<_ACEOF
40675 /* end confdefs.h. */
40676
40677 #if defined(__BSD__)
40678 #include <sys/param.h>
40679 #include <sys/mount.h>
40680 #else
40681 #include <sys/vfs.h>
40682 #endif
40683
40684 int
40685 main ()
40686 {
40687
40688 long l;
40689 struct statfs fs;
40690 statfs("/", &fs);
40691 l = fs.f_bsize;
40692 l += fs.f_blocks;
40693 l += fs.f_bavail;
40694
40695 ;
40696 return 0;
40697 }
40698 _ACEOF
40699 rm -f conftest.$ac_objext
40700 if { (ac_try="$ac_compile"
40701 case "(($ac_try" in
40702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40703 *) ac_try_echo=$ac_try;;
40704 esac
40705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40706 (eval "$ac_compile") 2>conftest.er1
40707 ac_status=$?
40708 grep -v '^ *+' conftest.er1 >conftest.err
40709 rm -f conftest.er1
40710 cat conftest.err >&5
40711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40712 (exit $ac_status); } && {
40713 test -z "$ac_c_werror_flag" ||
40714 test ! -s conftest.err
40715 } && test -s conftest.$ac_objext; then
40716 wx_cv_func_statfs=yes
40717 else
40718 echo "$as_me: failed program was:" >&5
40719 sed 's/^/| /' conftest.$ac_ext >&5
40720
40721 wx_cv_func_statfs=no
40722
40723 fi
40724
40725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40726
40727 fi
40728 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
40729 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
40730
40731 if test "$wx_cv_func_statfs" = "yes"; then
40732 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
40733 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
40734 if test "${wx_cv_func_statfs_decl+set}" = set; then
40735 echo $ECHO_N "(cached) $ECHO_C" >&6
40736 else
40737 ac_ext=cpp
40738 ac_cpp='$CXXCPP $CPPFLAGS'
40739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40742
40743 cat >conftest.$ac_ext <<_ACEOF
40744 /* confdefs.h. */
40745 _ACEOF
40746 cat confdefs.h >>conftest.$ac_ext
40747 cat >>conftest.$ac_ext <<_ACEOF
40748 /* end confdefs.h. */
40749
40750 #if defined(__BSD__)
40751 #include <sys/param.h>
40752 #include <sys/mount.h>
40753 #else
40754 #include <sys/vfs.h>
40755 #endif
40756
40757 int
40758 main ()
40759 {
40760
40761 struct statfs fs;
40762 statfs("", &fs);
40763
40764 ;
40765 return 0;
40766 }
40767 _ACEOF
40768 rm -f conftest.$ac_objext
40769 if { (ac_try="$ac_compile"
40770 case "(($ac_try" in
40771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40772 *) ac_try_echo=$ac_try;;
40773 esac
40774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40775 (eval "$ac_compile") 2>conftest.er1
40776 ac_status=$?
40777 grep -v '^ *+' conftest.er1 >conftest.err
40778 rm -f conftest.er1
40779 cat conftest.err >&5
40780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40781 (exit $ac_status); } && {
40782 test -z "$ac_cxx_werror_flag" ||
40783 test ! -s conftest.err
40784 } && test -s conftest.$ac_objext; then
40785 wx_cv_func_statfs_decl=yes
40786 else
40787 echo "$as_me: failed program was:" >&5
40788 sed 's/^/| /' conftest.$ac_ext >&5
40789
40790 wx_cv_func_statfs_decl=no
40791
40792 fi
40793
40794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40795 ac_ext=c
40796 ac_cpp='$CPP $CPPFLAGS'
40797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40800
40801
40802 fi
40803 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
40804 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
40805
40806 if test "$wx_cv_func_statfs_decl" = "yes"; then
40807 cat >>confdefs.h <<\_ACEOF
40808 #define HAVE_STATFS_DECL 1
40809 _ACEOF
40810
40811 fi
40812
40813 wx_cv_type_statvfs_t="struct statfs"
40814 cat >>confdefs.h <<\_ACEOF
40815 #define HAVE_STATFS 1
40816 _ACEOF
40817
40818 else
40819 { echo "$as_me:$LINENO: checking for statvfs" >&5
40820 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
40821 if test "${wx_cv_func_statvfs+set}" = set; then
40822 echo $ECHO_N "(cached) $ECHO_C" >&6
40823 else
40824 cat >conftest.$ac_ext <<_ACEOF
40825 /* confdefs.h. */
40826 _ACEOF
40827 cat confdefs.h >>conftest.$ac_ext
40828 cat >>conftest.$ac_ext <<_ACEOF
40829 /* end confdefs.h. */
40830
40831 #include <stddef.h>
40832 #include <sys/statvfs.h>
40833
40834 int
40835 main ()
40836 {
40837
40838 statvfs("/", NULL);
40839
40840 ;
40841 return 0;
40842 }
40843 _ACEOF
40844 rm -f conftest.$ac_objext
40845 if { (ac_try="$ac_compile"
40846 case "(($ac_try" in
40847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40848 *) ac_try_echo=$ac_try;;
40849 esac
40850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40851 (eval "$ac_compile") 2>conftest.er1
40852 ac_status=$?
40853 grep -v '^ *+' conftest.er1 >conftest.err
40854 rm -f conftest.er1
40855 cat conftest.err >&5
40856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40857 (exit $ac_status); } && {
40858 test -z "$ac_c_werror_flag" ||
40859 test ! -s conftest.err
40860 } && test -s conftest.$ac_objext; then
40861 wx_cv_func_statvfs=yes
40862 else
40863 echo "$as_me: failed program was:" >&5
40864 sed 's/^/| /' conftest.$ac_ext >&5
40865
40866 wx_cv_func_statvfs=no
40867
40868 fi
40869
40870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40871
40872 fi
40873 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
40874 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
40875
40876 if test "$wx_cv_func_statvfs" = "yes"; then
40877 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
40878 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
40879 if test "${wx_cv_type_statvfs_t+set}" = set; then
40880 echo $ECHO_N "(cached) $ECHO_C" >&6
40881 else
40882 ac_ext=cpp
40883 ac_cpp='$CXXCPP $CPPFLAGS'
40884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40887
40888 cat >conftest.$ac_ext <<_ACEOF
40889 /* confdefs.h. */
40890 _ACEOF
40891 cat confdefs.h >>conftest.$ac_ext
40892 cat >>conftest.$ac_ext <<_ACEOF
40893 /* end confdefs.h. */
40894
40895 #include <sys/statvfs.h>
40896
40897 int
40898 main ()
40899 {
40900
40901 long l;
40902 statvfs_t fs;
40903 statvfs("/", &fs);
40904 l = fs.f_bsize;
40905 l += fs.f_blocks;
40906 l += fs.f_bavail;
40907
40908 ;
40909 return 0;
40910 }
40911 _ACEOF
40912 rm -f conftest.$ac_objext
40913 if { (ac_try="$ac_compile"
40914 case "(($ac_try" in
40915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40916 *) ac_try_echo=$ac_try;;
40917 esac
40918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40919 (eval "$ac_compile") 2>conftest.er1
40920 ac_status=$?
40921 grep -v '^ *+' conftest.er1 >conftest.err
40922 rm -f conftest.er1
40923 cat conftest.err >&5
40924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40925 (exit $ac_status); } && {
40926 test -z "$ac_cxx_werror_flag" ||
40927 test ! -s conftest.err
40928 } && test -s conftest.$ac_objext; then
40929 wx_cv_type_statvfs_t=statvfs_t
40930 else
40931 echo "$as_me: failed program was:" >&5
40932 sed 's/^/| /' conftest.$ac_ext >&5
40933
40934
40935 cat >conftest.$ac_ext <<_ACEOF
40936 /* confdefs.h. */
40937 _ACEOF
40938 cat confdefs.h >>conftest.$ac_ext
40939 cat >>conftest.$ac_ext <<_ACEOF
40940 /* end confdefs.h. */
40941
40942 #include <sys/statvfs.h>
40943
40944 int
40945 main ()
40946 {
40947
40948 long l;
40949 struct statvfs fs;
40950 statvfs("/", &fs);
40951 l = fs.f_bsize;
40952 l += fs.f_blocks;
40953 l += fs.f_bavail;
40954
40955 ;
40956 return 0;
40957 }
40958 _ACEOF
40959 rm -f conftest.$ac_objext
40960 if { (ac_try="$ac_compile"
40961 case "(($ac_try" in
40962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40963 *) ac_try_echo=$ac_try;;
40964 esac
40965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40966 (eval "$ac_compile") 2>conftest.er1
40967 ac_status=$?
40968 grep -v '^ *+' conftest.er1 >conftest.err
40969 rm -f conftest.er1
40970 cat conftest.err >&5
40971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40972 (exit $ac_status); } && {
40973 test -z "$ac_cxx_werror_flag" ||
40974 test ! -s conftest.err
40975 } && test -s conftest.$ac_objext; then
40976 wx_cv_type_statvfs_t="struct statvfs"
40977 else
40978 echo "$as_me: failed program was:" >&5
40979 sed 's/^/| /' conftest.$ac_ext >&5
40980
40981 wx_cv_type_statvfs_t="unknown"
40982
40983 fi
40984
40985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40986
40987
40988 fi
40989
40990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40991 ac_ext=c
40992 ac_cpp='$CPP $CPPFLAGS'
40993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40996
40997
40998 fi
40999 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
41000 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
41001
41002 if test "$wx_cv_type_statvfs_t" != "unknown"; then
41003 cat >>confdefs.h <<\_ACEOF
41004 #define HAVE_STATVFS 1
41005 _ACEOF
41006
41007 fi
41008 else
41009 wx_cv_type_statvfs_t="unknown"
41010 fi
41011 fi
41012
41013 if test "$wx_cv_type_statvfs_t" != "unknown"; then
41014 cat >>confdefs.h <<_ACEOF
41015 #define WX_STATFS_T $wx_cv_type_statvfs_t
41016 _ACEOF
41017
41018 else
41019 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
41020 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
41021 fi
41022
41023 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
41024
41025
41026 for ac_func in fcntl flock
41027 do
41028 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41029 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41030 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41031 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41032 echo $ECHO_N "(cached) $ECHO_C" >&6
41033 else
41034 cat >conftest.$ac_ext <<_ACEOF
41035 /* confdefs.h. */
41036 _ACEOF
41037 cat confdefs.h >>conftest.$ac_ext
41038 cat >>conftest.$ac_ext <<_ACEOF
41039 /* end confdefs.h. */
41040 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41041 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41042 #define $ac_func innocuous_$ac_func
41043
41044 /* System header to define __stub macros and hopefully few prototypes,
41045 which can conflict with char $ac_func (); below.
41046 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41047 <limits.h> exists even on freestanding compilers. */
41048
41049 #ifdef __STDC__
41050 # include <limits.h>
41051 #else
41052 # include <assert.h>
41053 #endif
41054
41055 #undef $ac_func
41056
41057 /* Override any GCC internal prototype to avoid an error.
41058 Use char because int might match the return type of a GCC
41059 builtin and then its argument prototype would still apply. */
41060 #ifdef __cplusplus
41061 extern "C"
41062 #endif
41063 char $ac_func ();
41064 /* The GNU C library defines this for functions which it implements
41065 to always fail with ENOSYS. Some functions are actually named
41066 something starting with __ and the normal name is an alias. */
41067 #if defined __stub_$ac_func || defined __stub___$ac_func
41068 choke me
41069 #endif
41070
41071 int
41072 main ()
41073 {
41074 return $ac_func ();
41075 ;
41076 return 0;
41077 }
41078 _ACEOF
41079 rm -f conftest.$ac_objext conftest$ac_exeext
41080 if { (ac_try="$ac_link"
41081 case "(($ac_try" in
41082 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41083 *) ac_try_echo=$ac_try;;
41084 esac
41085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41086 (eval "$ac_link") 2>conftest.er1
41087 ac_status=$?
41088 grep -v '^ *+' conftest.er1 >conftest.err
41089 rm -f conftest.er1
41090 cat conftest.err >&5
41091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41092 (exit $ac_status); } && {
41093 test -z "$ac_c_werror_flag" ||
41094 test ! -s conftest.err
41095 } && test -s conftest$ac_exeext &&
41096 $as_test_x conftest$ac_exeext; then
41097 eval "$as_ac_var=yes"
41098 else
41099 echo "$as_me: failed program was:" >&5
41100 sed 's/^/| /' conftest.$ac_ext >&5
41101
41102 eval "$as_ac_var=no"
41103 fi
41104
41105 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41106 conftest$ac_exeext conftest.$ac_ext
41107 fi
41108 ac_res=`eval echo '${'$as_ac_var'}'`
41109 { echo "$as_me:$LINENO: result: $ac_res" >&5
41110 echo "${ECHO_T}$ac_res" >&6; }
41111 if test `eval echo '${'$as_ac_var'}'` = yes; then
41112 cat >>confdefs.h <<_ACEOF
41113 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41114 _ACEOF
41115 break
41116 fi
41117 done
41118
41119
41120 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
41121 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
41122 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
41123 wxUSE_SNGLINST_CHECKER=no
41124 fi
41125 fi
41126
41127
41128
41129 for ac_func in setenv putenv
41130 do
41131 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41132 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41133 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41134 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41135 echo $ECHO_N "(cached) $ECHO_C" >&6
41136 else
41137 cat >conftest.$ac_ext <<_ACEOF
41138 /* confdefs.h. */
41139 _ACEOF
41140 cat confdefs.h >>conftest.$ac_ext
41141 cat >>conftest.$ac_ext <<_ACEOF
41142 /* end confdefs.h. */
41143 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41144 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41145 #define $ac_func innocuous_$ac_func
41146
41147 /* System header to define __stub macros and hopefully few prototypes,
41148 which can conflict with char $ac_func (); below.
41149 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41150 <limits.h> exists even on freestanding compilers. */
41151
41152 #ifdef __STDC__
41153 # include <limits.h>
41154 #else
41155 # include <assert.h>
41156 #endif
41157
41158 #undef $ac_func
41159
41160 /* Override any GCC internal prototype to avoid an error.
41161 Use char because int might match the return type of a GCC
41162 builtin and then its argument prototype would still apply. */
41163 #ifdef __cplusplus
41164 extern "C"
41165 #endif
41166 char $ac_func ();
41167 /* The GNU C library defines this for functions which it implements
41168 to always fail with ENOSYS. Some functions are actually named
41169 something starting with __ and the normal name is an alias. */
41170 #if defined __stub_$ac_func || defined __stub___$ac_func
41171 choke me
41172 #endif
41173
41174 int
41175 main ()
41176 {
41177 return $ac_func ();
41178 ;
41179 return 0;
41180 }
41181 _ACEOF
41182 rm -f conftest.$ac_objext conftest$ac_exeext
41183 if { (ac_try="$ac_link"
41184 case "(($ac_try" in
41185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41186 *) ac_try_echo=$ac_try;;
41187 esac
41188 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41189 (eval "$ac_link") 2>conftest.er1
41190 ac_status=$?
41191 grep -v '^ *+' conftest.er1 >conftest.err
41192 rm -f conftest.er1
41193 cat conftest.err >&5
41194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41195 (exit $ac_status); } && {
41196 test -z "$ac_c_werror_flag" ||
41197 test ! -s conftest.err
41198 } && test -s conftest$ac_exeext &&
41199 $as_test_x conftest$ac_exeext; then
41200 eval "$as_ac_var=yes"
41201 else
41202 echo "$as_me: failed program was:" >&5
41203 sed 's/^/| /' conftest.$ac_ext >&5
41204
41205 eval "$as_ac_var=no"
41206 fi
41207
41208 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41209 conftest$ac_exeext conftest.$ac_ext
41210 fi
41211 ac_res=`eval echo '${'$as_ac_var'}'`
41212 { echo "$as_me:$LINENO: result: $ac_res" >&5
41213 echo "${ECHO_T}$ac_res" >&6; }
41214 if test `eval echo '${'$as_ac_var'}'` = yes; then
41215 cat >>confdefs.h <<_ACEOF
41216 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41217 _ACEOF
41218 break
41219 fi
41220 done
41221
41222 if test "$ac_cv_func_setenv" = "yes"; then
41223
41224 for ac_func in unsetenv
41225 do
41226 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41227 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41228 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41229 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41230 echo $ECHO_N "(cached) $ECHO_C" >&6
41231 else
41232 cat >conftest.$ac_ext <<_ACEOF
41233 /* confdefs.h. */
41234 _ACEOF
41235 cat confdefs.h >>conftest.$ac_ext
41236 cat >>conftest.$ac_ext <<_ACEOF
41237 /* end confdefs.h. */
41238 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41239 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41240 #define $ac_func innocuous_$ac_func
41241
41242 /* System header to define __stub macros and hopefully few prototypes,
41243 which can conflict with char $ac_func (); below.
41244 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41245 <limits.h> exists even on freestanding compilers. */
41246
41247 #ifdef __STDC__
41248 # include <limits.h>
41249 #else
41250 # include <assert.h>
41251 #endif
41252
41253 #undef $ac_func
41254
41255 /* Override any GCC internal prototype to avoid an error.
41256 Use char because int might match the return type of a GCC
41257 builtin and then its argument prototype would still apply. */
41258 #ifdef __cplusplus
41259 extern "C"
41260 #endif
41261 char $ac_func ();
41262 /* The GNU C library defines this for functions which it implements
41263 to always fail with ENOSYS. Some functions are actually named
41264 something starting with __ and the normal name is an alias. */
41265 #if defined __stub_$ac_func || defined __stub___$ac_func
41266 choke me
41267 #endif
41268
41269 int
41270 main ()
41271 {
41272 return $ac_func ();
41273 ;
41274 return 0;
41275 }
41276 _ACEOF
41277 rm -f conftest.$ac_objext conftest$ac_exeext
41278 if { (ac_try="$ac_link"
41279 case "(($ac_try" in
41280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41281 *) ac_try_echo=$ac_try;;
41282 esac
41283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41284 (eval "$ac_link") 2>conftest.er1
41285 ac_status=$?
41286 grep -v '^ *+' conftest.er1 >conftest.err
41287 rm -f conftest.er1
41288 cat conftest.err >&5
41289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41290 (exit $ac_status); } && {
41291 test -z "$ac_c_werror_flag" ||
41292 test ! -s conftest.err
41293 } && test -s conftest$ac_exeext &&
41294 $as_test_x conftest$ac_exeext; then
41295 eval "$as_ac_var=yes"
41296 else
41297 echo "$as_me: failed program was:" >&5
41298 sed 's/^/| /' conftest.$ac_ext >&5
41299
41300 eval "$as_ac_var=no"
41301 fi
41302
41303 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41304 conftest$ac_exeext conftest.$ac_ext
41305 fi
41306 ac_res=`eval echo '${'$as_ac_var'}'`
41307 { echo "$as_me:$LINENO: result: $ac_res" >&5
41308 echo "${ECHO_T}$ac_res" >&6; }
41309 if test `eval echo '${'$as_ac_var'}'` = yes; then
41310 cat >>confdefs.h <<_ACEOF
41311 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41312 _ACEOF
41313
41314 fi
41315 done
41316
41317 fi
41318
41319 HAVE_SOME_SLEEP_FUNC=0
41320 if test "$USE_BEOS" = 1; then
41321 cat >>confdefs.h <<\_ACEOF
41322 #define HAVE_SLEEP 1
41323 _ACEOF
41324
41325 HAVE_SOME_SLEEP_FUNC=1
41326 fi
41327
41328 if test "$USE_DARWIN" = 1; then
41329 cat >>confdefs.h <<\_ACEOF
41330 #define HAVE_USLEEP 1
41331 _ACEOF
41332
41333 HAVE_SOME_SLEEP_FUNC=1
41334 fi
41335
41336 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
41337 POSIX4_LINK=
41338
41339 for ac_func in nanosleep
41340 do
41341 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41342 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41343 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41344 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41345 echo $ECHO_N "(cached) $ECHO_C" >&6
41346 else
41347 cat >conftest.$ac_ext <<_ACEOF
41348 /* confdefs.h. */
41349 _ACEOF
41350 cat confdefs.h >>conftest.$ac_ext
41351 cat >>conftest.$ac_ext <<_ACEOF
41352 /* end confdefs.h. */
41353 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41354 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41355 #define $ac_func innocuous_$ac_func
41356
41357 /* System header to define __stub macros and hopefully few prototypes,
41358 which can conflict with char $ac_func (); below.
41359 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41360 <limits.h> exists even on freestanding compilers. */
41361
41362 #ifdef __STDC__
41363 # include <limits.h>
41364 #else
41365 # include <assert.h>
41366 #endif
41367
41368 #undef $ac_func
41369
41370 /* Override any GCC internal prototype to avoid an error.
41371 Use char because int might match the return type of a GCC
41372 builtin and then its argument prototype would still apply. */
41373 #ifdef __cplusplus
41374 extern "C"
41375 #endif
41376 char $ac_func ();
41377 /* The GNU C library defines this for functions which it implements
41378 to always fail with ENOSYS. Some functions are actually named
41379 something starting with __ and the normal name is an alias. */
41380 #if defined __stub_$ac_func || defined __stub___$ac_func
41381 choke me
41382 #endif
41383
41384 int
41385 main ()
41386 {
41387 return $ac_func ();
41388 ;
41389 return 0;
41390 }
41391 _ACEOF
41392 rm -f conftest.$ac_objext conftest$ac_exeext
41393 if { (ac_try="$ac_link"
41394 case "(($ac_try" in
41395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41396 *) ac_try_echo=$ac_try;;
41397 esac
41398 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41399 (eval "$ac_link") 2>conftest.er1
41400 ac_status=$?
41401 grep -v '^ *+' conftest.er1 >conftest.err
41402 rm -f conftest.er1
41403 cat conftest.err >&5
41404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41405 (exit $ac_status); } && {
41406 test -z "$ac_c_werror_flag" ||
41407 test ! -s conftest.err
41408 } && test -s conftest$ac_exeext &&
41409 $as_test_x conftest$ac_exeext; then
41410 eval "$as_ac_var=yes"
41411 else
41412 echo "$as_me: failed program was:" >&5
41413 sed 's/^/| /' conftest.$ac_ext >&5
41414
41415 eval "$as_ac_var=no"
41416 fi
41417
41418 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41419 conftest$ac_exeext conftest.$ac_ext
41420 fi
41421 ac_res=`eval echo '${'$as_ac_var'}'`
41422 { echo "$as_me:$LINENO: result: $ac_res" >&5
41423 echo "${ECHO_T}$ac_res" >&6; }
41424 if test `eval echo '${'$as_ac_var'}'` = yes; then
41425 cat >>confdefs.h <<_ACEOF
41426 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41427 _ACEOF
41428 cat >>confdefs.h <<\_ACEOF
41429 #define HAVE_NANOSLEEP 1
41430 _ACEOF
41431
41432 else
41433
41434 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
41435 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
41436 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
41437 echo $ECHO_N "(cached) $ECHO_C" >&6
41438 else
41439 ac_check_lib_save_LIBS=$LIBS
41440 LIBS="-lposix4 $LIBS"
41441 cat >conftest.$ac_ext <<_ACEOF
41442 /* confdefs.h. */
41443 _ACEOF
41444 cat confdefs.h >>conftest.$ac_ext
41445 cat >>conftest.$ac_ext <<_ACEOF
41446 /* end confdefs.h. */
41447
41448 /* Override any GCC internal prototype to avoid an error.
41449 Use char because int might match the return type of a GCC
41450 builtin and then its argument prototype would still apply. */
41451 #ifdef __cplusplus
41452 extern "C"
41453 #endif
41454 char nanosleep ();
41455 int
41456 main ()
41457 {
41458 return nanosleep ();
41459 ;
41460 return 0;
41461 }
41462 _ACEOF
41463 rm -f conftest.$ac_objext conftest$ac_exeext
41464 if { (ac_try="$ac_link"
41465 case "(($ac_try" in
41466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41467 *) ac_try_echo=$ac_try;;
41468 esac
41469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41470 (eval "$ac_link") 2>conftest.er1
41471 ac_status=$?
41472 grep -v '^ *+' conftest.er1 >conftest.err
41473 rm -f conftest.er1
41474 cat conftest.err >&5
41475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41476 (exit $ac_status); } && {
41477 test -z "$ac_c_werror_flag" ||
41478 test ! -s conftest.err
41479 } && test -s conftest$ac_exeext &&
41480 $as_test_x conftest$ac_exeext; then
41481 ac_cv_lib_posix4_nanosleep=yes
41482 else
41483 echo "$as_me: failed program was:" >&5
41484 sed 's/^/| /' conftest.$ac_ext >&5
41485
41486 ac_cv_lib_posix4_nanosleep=no
41487 fi
41488
41489 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41490 conftest$ac_exeext conftest.$ac_ext
41491 LIBS=$ac_check_lib_save_LIBS
41492 fi
41493 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
41494 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
41495 if test $ac_cv_lib_posix4_nanosleep = yes; then
41496
41497 cat >>confdefs.h <<\_ACEOF
41498 #define HAVE_NANOSLEEP 1
41499 _ACEOF
41500
41501 POSIX4_LINK=" -lposix4"
41502
41503 else
41504
41505
41506 for wx_func in usleep
41507 do
41508 { echo "$as_me:$LINENO: checking for $wx_func" >&5
41509 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
41510 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
41511 echo $ECHO_N "(cached) $ECHO_C" >&6
41512 else
41513
41514 cat >conftest.$ac_ext <<_ACEOF
41515
41516 /* confdefs.h. */
41517 _ACEOF
41518 cat confdefs.h >>conftest.$ac_ext
41519 cat >>conftest.$ac_ext <<_ACEOF
41520 /* end confdefs.h. */
41521
41522
41523 $ac_includes_default
41524
41525 int
41526 main ()
41527 {
41528
41529 #ifndef $wx_func
41530 &$wx_func;
41531 #endif
41532
41533
41534 ;
41535 return 0;
41536 }
41537
41538 _ACEOF
41539 rm -f conftest.$ac_objext conftest$ac_exeext
41540 if { (ac_try="$ac_link"
41541 case "(($ac_try" in
41542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41543 *) ac_try_echo=$ac_try;;
41544 esac
41545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41546 (eval "$ac_link") 2>conftest.er1
41547 ac_status=$?
41548 grep -v '^ *+' conftest.er1 >conftest.err
41549 rm -f conftest.er1
41550 cat conftest.err >&5
41551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41552 (exit $ac_status); } && {
41553 test -z "$ac_c_werror_flag" ||
41554 test ! -s conftest.err
41555 } && test -s conftest$ac_exeext &&
41556 $as_test_x conftest$ac_exeext; then
41557 eval wx_cv_func_$wx_func=yes
41558 else
41559 echo "$as_me: failed program was:" >&5
41560 sed 's/^/| /' conftest.$ac_ext >&5
41561
41562 eval wx_cv_func_$wx_func=no
41563 fi
41564
41565 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41566 conftest$ac_exeext conftest.$ac_ext
41567
41568 fi
41569 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
41570 { echo "$as_me:$LINENO: result: $ac_res" >&5
41571 echo "${ECHO_T}$ac_res" >&6; }
41572
41573 if eval test \$wx_cv_func_$wx_func = yes
41574 then
41575 cat >>confdefs.h <<_ACEOF
41576 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
41577 _ACEOF
41578
41579
41580 else
41581 :
41582 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
41583 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
41584
41585 fi
41586 done
41587
41588
41589
41590 fi
41591
41592
41593
41594 fi
41595 done
41596
41597 fi
41598
41599
41600 for wx_func in uname
41601 do
41602 { echo "$as_me:$LINENO: checking for $wx_func" >&5
41603 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
41604 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
41605 echo $ECHO_N "(cached) $ECHO_C" >&6
41606 else
41607
41608 cat >conftest.$ac_ext <<_ACEOF
41609
41610 /* confdefs.h. */
41611 _ACEOF
41612 cat confdefs.h >>conftest.$ac_ext
41613 cat >>conftest.$ac_ext <<_ACEOF
41614 /* end confdefs.h. */
41615
41616 #include <sys/utsname.h>
41617 $ac_includes_default
41618
41619 int
41620 main ()
41621 {
41622
41623 #ifndef $wx_func
41624 &$wx_func;
41625 #endif
41626
41627
41628 ;
41629 return 0;
41630 }
41631
41632 _ACEOF
41633 rm -f conftest.$ac_objext conftest$ac_exeext
41634 if { (ac_try="$ac_link"
41635 case "(($ac_try" in
41636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41637 *) ac_try_echo=$ac_try;;
41638 esac
41639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41640 (eval "$ac_link") 2>conftest.er1
41641 ac_status=$?
41642 grep -v '^ *+' conftest.er1 >conftest.err
41643 rm -f conftest.er1
41644 cat conftest.err >&5
41645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41646 (exit $ac_status); } && {
41647 test -z "$ac_c_werror_flag" ||
41648 test ! -s conftest.err
41649 } && test -s conftest$ac_exeext &&
41650 $as_test_x conftest$ac_exeext; then
41651 eval wx_cv_func_$wx_func=yes
41652 else
41653 echo "$as_me: failed program was:" >&5
41654 sed 's/^/| /' conftest.$ac_ext >&5
41655
41656 eval wx_cv_func_$wx_func=no
41657 fi
41658
41659 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41660 conftest$ac_exeext conftest.$ac_ext
41661
41662 fi
41663 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
41664 { echo "$as_me:$LINENO: result: $ac_res" >&5
41665 echo "${ECHO_T}$ac_res" >&6; }
41666
41667 if eval test \$wx_cv_func_$wx_func = yes
41668 then
41669 cat >>confdefs.h <<_ACEOF
41670 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
41671 _ACEOF
41672
41673
41674 else
41675 :
41676
41677 fi
41678 done
41679
41680 if test "$wx_cv_func_uname" != yes; then
41681
41682 for wx_func in gethostname
41683 do
41684 { echo "$as_me:$LINENO: checking for $wx_func" >&5
41685 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
41686 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
41687 echo $ECHO_N "(cached) $ECHO_C" >&6
41688 else
41689
41690 cat >conftest.$ac_ext <<_ACEOF
41691
41692 /* confdefs.h. */
41693 _ACEOF
41694 cat confdefs.h >>conftest.$ac_ext
41695 cat >>conftest.$ac_ext <<_ACEOF
41696 /* end confdefs.h. */
41697
41698
41699 $ac_includes_default
41700
41701 int
41702 main ()
41703 {
41704
41705 #ifndef $wx_func
41706 &$wx_func;
41707 #endif
41708
41709
41710 ;
41711 return 0;
41712 }
41713
41714 _ACEOF
41715 rm -f conftest.$ac_objext conftest$ac_exeext
41716 if { (ac_try="$ac_link"
41717 case "(($ac_try" in
41718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41719 *) ac_try_echo=$ac_try;;
41720 esac
41721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41722 (eval "$ac_link") 2>conftest.er1
41723 ac_status=$?
41724 grep -v '^ *+' conftest.er1 >conftest.err
41725 rm -f conftest.er1
41726 cat conftest.err >&5
41727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41728 (exit $ac_status); } && {
41729 test -z "$ac_c_werror_flag" ||
41730 test ! -s conftest.err
41731 } && test -s conftest$ac_exeext &&
41732 $as_test_x conftest$ac_exeext; then
41733 eval wx_cv_func_$wx_func=yes
41734 else
41735 echo "$as_me: failed program was:" >&5
41736 sed 's/^/| /' conftest.$ac_ext >&5
41737
41738 eval wx_cv_func_$wx_func=no
41739 fi
41740
41741 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41742 conftest$ac_exeext conftest.$ac_ext
41743
41744 fi
41745 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
41746 { echo "$as_me:$LINENO: result: $ac_res" >&5
41747 echo "${ECHO_T}$ac_res" >&6; }
41748
41749 if eval test \$wx_cv_func_$wx_func = yes
41750 then
41751 cat >>confdefs.h <<_ACEOF
41752 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
41753 _ACEOF
41754
41755
41756 else
41757 :
41758
41759 fi
41760 done
41761
41762 fi
41763
41764
41765 for wx_func in strtok_r
41766 do
41767 { echo "$as_me:$LINENO: checking for $wx_func" >&5
41768 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
41769 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
41770 echo $ECHO_N "(cached) $ECHO_C" >&6
41771 else
41772
41773 cat >conftest.$ac_ext <<_ACEOF
41774
41775 /* confdefs.h. */
41776 _ACEOF
41777 cat confdefs.h >>conftest.$ac_ext
41778 cat >>conftest.$ac_ext <<_ACEOF
41779 /* end confdefs.h. */
41780
41781 #define _REENTRANT
41782 $ac_includes_default
41783
41784 int
41785 main ()
41786 {
41787
41788 #ifndef $wx_func
41789 &$wx_func;
41790 #endif
41791
41792
41793 ;
41794 return 0;
41795 }
41796
41797 _ACEOF
41798 rm -f conftest.$ac_objext conftest$ac_exeext
41799 if { (ac_try="$ac_link"
41800 case "(($ac_try" in
41801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41802 *) ac_try_echo=$ac_try;;
41803 esac
41804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41805 (eval "$ac_link") 2>conftest.er1
41806 ac_status=$?
41807 grep -v '^ *+' conftest.er1 >conftest.err
41808 rm -f conftest.er1
41809 cat conftest.err >&5
41810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41811 (exit $ac_status); } && {
41812 test -z "$ac_c_werror_flag" ||
41813 test ! -s conftest.err
41814 } && test -s conftest$ac_exeext &&
41815 $as_test_x conftest$ac_exeext; then
41816 eval wx_cv_func_$wx_func=yes
41817 else
41818 echo "$as_me: failed program was:" >&5
41819 sed 's/^/| /' conftest.$ac_ext >&5
41820
41821 eval wx_cv_func_$wx_func=no
41822 fi
41823
41824 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41825 conftest$ac_exeext conftest.$ac_ext
41826
41827 fi
41828 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
41829 { echo "$as_me:$LINENO: result: $ac_res" >&5
41830 echo "${ECHO_T}$ac_res" >&6; }
41831
41832 if eval test \$wx_cv_func_$wx_func = yes
41833 then
41834 cat >>confdefs.h <<_ACEOF
41835 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
41836 _ACEOF
41837
41838
41839 else
41840 :
41841
41842 fi
41843 done
41844
41845
41846 INET_LINK=
41847
41848 for ac_func in inet_addr
41849 do
41850 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41851 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41852 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41853 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41854 echo $ECHO_N "(cached) $ECHO_C" >&6
41855 else
41856 cat >conftest.$ac_ext <<_ACEOF
41857 /* confdefs.h. */
41858 _ACEOF
41859 cat confdefs.h >>conftest.$ac_ext
41860 cat >>conftest.$ac_ext <<_ACEOF
41861 /* end confdefs.h. */
41862 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41863 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41864 #define $ac_func innocuous_$ac_func
41865
41866 /* System header to define __stub macros and hopefully few prototypes,
41867 which can conflict with char $ac_func (); below.
41868 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41869 <limits.h> exists even on freestanding compilers. */
41870
41871 #ifdef __STDC__
41872 # include <limits.h>
41873 #else
41874 # include <assert.h>
41875 #endif
41876
41877 #undef $ac_func
41878
41879 /* Override any GCC internal prototype to avoid an error.
41880 Use char because int might match the return type of a GCC
41881 builtin and then its argument prototype would still apply. */
41882 #ifdef __cplusplus
41883 extern "C"
41884 #endif
41885 char $ac_func ();
41886 /* The GNU C library defines this for functions which it implements
41887 to always fail with ENOSYS. Some functions are actually named
41888 something starting with __ and the normal name is an alias. */
41889 #if defined __stub_$ac_func || defined __stub___$ac_func
41890 choke me
41891 #endif
41892
41893 int
41894 main ()
41895 {
41896 return $ac_func ();
41897 ;
41898 return 0;
41899 }
41900 _ACEOF
41901 rm -f conftest.$ac_objext conftest$ac_exeext
41902 if { (ac_try="$ac_link"
41903 case "(($ac_try" in
41904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41905 *) ac_try_echo=$ac_try;;
41906 esac
41907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41908 (eval "$ac_link") 2>conftest.er1
41909 ac_status=$?
41910 grep -v '^ *+' conftest.er1 >conftest.err
41911 rm -f conftest.er1
41912 cat conftest.err >&5
41913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41914 (exit $ac_status); } && {
41915 test -z "$ac_c_werror_flag" ||
41916 test ! -s conftest.err
41917 } && test -s conftest$ac_exeext &&
41918 $as_test_x conftest$ac_exeext; then
41919 eval "$as_ac_var=yes"
41920 else
41921 echo "$as_me: failed program was:" >&5
41922 sed 's/^/| /' conftest.$ac_ext >&5
41923
41924 eval "$as_ac_var=no"
41925 fi
41926
41927 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41928 conftest$ac_exeext conftest.$ac_ext
41929 fi
41930 ac_res=`eval echo '${'$as_ac_var'}'`
41931 { echo "$as_me:$LINENO: result: $ac_res" >&5
41932 echo "${ECHO_T}$ac_res" >&6; }
41933 if test `eval echo '${'$as_ac_var'}'` = yes; then
41934 cat >>confdefs.h <<_ACEOF
41935 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41936 _ACEOF
41937 cat >>confdefs.h <<\_ACEOF
41938 #define HAVE_INET_ADDR 1
41939 _ACEOF
41940
41941 else
41942
41943 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
41944 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
41945 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
41946 echo $ECHO_N "(cached) $ECHO_C" >&6
41947 else
41948 ac_check_lib_save_LIBS=$LIBS
41949 LIBS="-lnsl $LIBS"
41950 cat >conftest.$ac_ext <<_ACEOF
41951 /* confdefs.h. */
41952 _ACEOF
41953 cat confdefs.h >>conftest.$ac_ext
41954 cat >>conftest.$ac_ext <<_ACEOF
41955 /* end confdefs.h. */
41956
41957 /* Override any GCC internal prototype to avoid an error.
41958 Use char because int might match the return type of a GCC
41959 builtin and then its argument prototype would still apply. */
41960 #ifdef __cplusplus
41961 extern "C"
41962 #endif
41963 char inet_addr ();
41964 int
41965 main ()
41966 {
41967 return inet_addr ();
41968 ;
41969 return 0;
41970 }
41971 _ACEOF
41972 rm -f conftest.$ac_objext conftest$ac_exeext
41973 if { (ac_try="$ac_link"
41974 case "(($ac_try" in
41975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41976 *) ac_try_echo=$ac_try;;
41977 esac
41978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41979 (eval "$ac_link") 2>conftest.er1
41980 ac_status=$?
41981 grep -v '^ *+' conftest.er1 >conftest.err
41982 rm -f conftest.er1
41983 cat conftest.err >&5
41984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41985 (exit $ac_status); } && {
41986 test -z "$ac_c_werror_flag" ||
41987 test ! -s conftest.err
41988 } && test -s conftest$ac_exeext &&
41989 $as_test_x conftest$ac_exeext; then
41990 ac_cv_lib_nsl_inet_addr=yes
41991 else
41992 echo "$as_me: failed program was:" >&5
41993 sed 's/^/| /' conftest.$ac_ext >&5
41994
41995 ac_cv_lib_nsl_inet_addr=no
41996 fi
41997
41998 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41999 conftest$ac_exeext conftest.$ac_ext
42000 LIBS=$ac_check_lib_save_LIBS
42001 fi
42002 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
42003 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
42004 if test $ac_cv_lib_nsl_inet_addr = yes; then
42005 INET_LINK="nsl"
42006 else
42007
42008 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
42009 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
42010 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
42011 echo $ECHO_N "(cached) $ECHO_C" >&6
42012 else
42013 ac_check_lib_save_LIBS=$LIBS
42014 LIBS="-lresolv $LIBS"
42015 cat >conftest.$ac_ext <<_ACEOF
42016 /* confdefs.h. */
42017 _ACEOF
42018 cat confdefs.h >>conftest.$ac_ext
42019 cat >>conftest.$ac_ext <<_ACEOF
42020 /* end confdefs.h. */
42021
42022 /* Override any GCC internal prototype to avoid an error.
42023 Use char because int might match the return type of a GCC
42024 builtin and then its argument prototype would still apply. */
42025 #ifdef __cplusplus
42026 extern "C"
42027 #endif
42028 char inet_addr ();
42029 int
42030 main ()
42031 {
42032 return inet_addr ();
42033 ;
42034 return 0;
42035 }
42036 _ACEOF
42037 rm -f conftest.$ac_objext conftest$ac_exeext
42038 if { (ac_try="$ac_link"
42039 case "(($ac_try" in
42040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42041 *) ac_try_echo=$ac_try;;
42042 esac
42043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42044 (eval "$ac_link") 2>conftest.er1
42045 ac_status=$?
42046 grep -v '^ *+' conftest.er1 >conftest.err
42047 rm -f conftest.er1
42048 cat conftest.err >&5
42049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42050 (exit $ac_status); } && {
42051 test -z "$ac_c_werror_flag" ||
42052 test ! -s conftest.err
42053 } && test -s conftest$ac_exeext &&
42054 $as_test_x conftest$ac_exeext; then
42055 ac_cv_lib_resolv_inet_addr=yes
42056 else
42057 echo "$as_me: failed program was:" >&5
42058 sed 's/^/| /' conftest.$ac_ext >&5
42059
42060 ac_cv_lib_resolv_inet_addr=no
42061 fi
42062
42063 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42064 conftest$ac_exeext conftest.$ac_ext
42065 LIBS=$ac_check_lib_save_LIBS
42066 fi
42067 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
42068 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
42069 if test $ac_cv_lib_resolv_inet_addr = yes; then
42070 INET_LINK="resolv"
42071 else
42072
42073 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
42074 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
42075 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
42076 echo $ECHO_N "(cached) $ECHO_C" >&6
42077 else
42078 ac_check_lib_save_LIBS=$LIBS
42079 LIBS="-lsocket $LIBS"
42080 cat >conftest.$ac_ext <<_ACEOF
42081 /* confdefs.h. */
42082 _ACEOF
42083 cat confdefs.h >>conftest.$ac_ext
42084 cat >>conftest.$ac_ext <<_ACEOF
42085 /* end confdefs.h. */
42086
42087 /* Override any GCC internal prototype to avoid an error.
42088 Use char because int might match the return type of a GCC
42089 builtin and then its argument prototype would still apply. */
42090 #ifdef __cplusplus
42091 extern "C"
42092 #endif
42093 char inet_addr ();
42094 int
42095 main ()
42096 {
42097 return inet_addr ();
42098 ;
42099 return 0;
42100 }
42101 _ACEOF
42102 rm -f conftest.$ac_objext conftest$ac_exeext
42103 if { (ac_try="$ac_link"
42104 case "(($ac_try" in
42105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42106 *) ac_try_echo=$ac_try;;
42107 esac
42108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42109 (eval "$ac_link") 2>conftest.er1
42110 ac_status=$?
42111 grep -v '^ *+' conftest.er1 >conftest.err
42112 rm -f conftest.er1
42113 cat conftest.err >&5
42114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42115 (exit $ac_status); } && {
42116 test -z "$ac_c_werror_flag" ||
42117 test ! -s conftest.err
42118 } && test -s conftest$ac_exeext &&
42119 $as_test_x conftest$ac_exeext; then
42120 ac_cv_lib_socket_inet_addr=yes
42121 else
42122 echo "$as_me: failed program was:" >&5
42123 sed 's/^/| /' conftest.$ac_ext >&5
42124
42125 ac_cv_lib_socket_inet_addr=no
42126 fi
42127
42128 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42129 conftest$ac_exeext conftest.$ac_ext
42130 LIBS=$ac_check_lib_save_LIBS
42131 fi
42132 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
42133 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
42134 if test $ac_cv_lib_socket_inet_addr = yes; then
42135 INET_LINK="socket"
42136
42137 fi
42138
42139
42140
42141 fi
42142
42143
42144
42145 fi
42146
42147
42148
42149 fi
42150 done
42151
42152
42153
42154 for ac_func in inet_aton
42155 do
42156 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42157 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42158 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42159 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42160 echo $ECHO_N "(cached) $ECHO_C" >&6
42161 else
42162 cat >conftest.$ac_ext <<_ACEOF
42163 /* confdefs.h. */
42164 _ACEOF
42165 cat confdefs.h >>conftest.$ac_ext
42166 cat >>conftest.$ac_ext <<_ACEOF
42167 /* end confdefs.h. */
42168 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42169 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42170 #define $ac_func innocuous_$ac_func
42171
42172 /* System header to define __stub macros and hopefully few prototypes,
42173 which can conflict with char $ac_func (); below.
42174 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42175 <limits.h> exists even on freestanding compilers. */
42176
42177 #ifdef __STDC__
42178 # include <limits.h>
42179 #else
42180 # include <assert.h>
42181 #endif
42182
42183 #undef $ac_func
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 $ac_func ();
42192 /* The GNU C library defines this for functions which it implements
42193 to always fail with ENOSYS. Some functions are actually named
42194 something starting with __ and the normal name is an alias. */
42195 #if defined __stub_$ac_func || defined __stub___$ac_func
42196 choke me
42197 #endif
42198
42199 int
42200 main ()
42201 {
42202 return $ac_func ();
42203 ;
42204 return 0;
42205 }
42206 _ACEOF
42207 rm -f conftest.$ac_objext conftest$ac_exeext
42208 if { (ac_try="$ac_link"
42209 case "(($ac_try" in
42210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42211 *) ac_try_echo=$ac_try;;
42212 esac
42213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42214 (eval "$ac_link") 2>conftest.er1
42215 ac_status=$?
42216 grep -v '^ *+' conftest.er1 >conftest.err
42217 rm -f conftest.er1
42218 cat conftest.err >&5
42219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42220 (exit $ac_status); } && {
42221 test -z "$ac_c_werror_flag" ||
42222 test ! -s conftest.err
42223 } && test -s conftest$ac_exeext &&
42224 $as_test_x conftest$ac_exeext; then
42225 eval "$as_ac_var=yes"
42226 else
42227 echo "$as_me: failed program was:" >&5
42228 sed 's/^/| /' conftest.$ac_ext >&5
42229
42230 eval "$as_ac_var=no"
42231 fi
42232
42233 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42234 conftest$ac_exeext conftest.$ac_ext
42235 fi
42236 ac_res=`eval echo '${'$as_ac_var'}'`
42237 { echo "$as_me:$LINENO: result: $ac_res" >&5
42238 echo "${ECHO_T}$ac_res" >&6; }
42239 if test `eval echo '${'$as_ac_var'}'` = yes; then
42240 cat >>confdefs.h <<_ACEOF
42241 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42242 _ACEOF
42243 cat >>confdefs.h <<\_ACEOF
42244 #define HAVE_INET_ATON 1
42245 _ACEOF
42246
42247 else
42248
42249 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
42250 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
42251 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
42252 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
42253 echo $ECHO_N "(cached) $ECHO_C" >&6
42254 else
42255 ac_check_lib_save_LIBS=$LIBS
42256 LIBS="-l$INET_LINK $LIBS"
42257 cat >conftest.$ac_ext <<_ACEOF
42258 /* confdefs.h. */
42259 _ACEOF
42260 cat confdefs.h >>conftest.$ac_ext
42261 cat >>conftest.$ac_ext <<_ACEOF
42262 /* end confdefs.h. */
42263
42264 /* Override any GCC internal prototype to avoid an error.
42265 Use char because int might match the return type of a GCC
42266 builtin and then its argument prototype would still apply. */
42267 #ifdef __cplusplus
42268 extern "C"
42269 #endif
42270 char inet_aton ();
42271 int
42272 main ()
42273 {
42274 return inet_aton ();
42275 ;
42276 return 0;
42277 }
42278 _ACEOF
42279 rm -f conftest.$ac_objext conftest$ac_exeext
42280 if { (ac_try="$ac_link"
42281 case "(($ac_try" in
42282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42283 *) ac_try_echo=$ac_try;;
42284 esac
42285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42286 (eval "$ac_link") 2>conftest.er1
42287 ac_status=$?
42288 grep -v '^ *+' conftest.er1 >conftest.err
42289 rm -f conftest.er1
42290 cat conftest.err >&5
42291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42292 (exit $ac_status); } && {
42293 test -z "$ac_c_werror_flag" ||
42294 test ! -s conftest.err
42295 } && test -s conftest$ac_exeext &&
42296 $as_test_x conftest$ac_exeext; then
42297 eval "$as_ac_Lib=yes"
42298 else
42299 echo "$as_me: failed program was:" >&5
42300 sed 's/^/| /' conftest.$ac_ext >&5
42301
42302 eval "$as_ac_Lib=no"
42303 fi
42304
42305 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42306 conftest$ac_exeext conftest.$ac_ext
42307 LIBS=$ac_check_lib_save_LIBS
42308 fi
42309 ac_res=`eval echo '${'$as_ac_Lib'}'`
42310 { echo "$as_me:$LINENO: result: $ac_res" >&5
42311 echo "${ECHO_T}$ac_res" >&6; }
42312 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
42313 cat >>confdefs.h <<\_ACEOF
42314 #define HAVE_INET_ATON 1
42315 _ACEOF
42316
42317 fi
42318
42319
42320 fi
42321 done
42322
42323
42324 if test "x$INET_LINK" != "x"; then
42325 cat >>confdefs.h <<\_ACEOF
42326 #define HAVE_INET_ADDR 1
42327 _ACEOF
42328
42329 INET_LINK=" -l$INET_LINK"
42330 fi
42331
42332
42333 for wx_func in fdopen
42334 do
42335 { echo "$as_me:$LINENO: checking for $wx_func" >&5
42336 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
42337 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
42338 echo $ECHO_N "(cached) $ECHO_C" >&6
42339 else
42340
42341 cat >conftest.$ac_ext <<_ACEOF
42342
42343 /* confdefs.h. */
42344 _ACEOF
42345 cat confdefs.h >>conftest.$ac_ext
42346 cat >>conftest.$ac_ext <<_ACEOF
42347 /* end confdefs.h. */
42348
42349
42350 $ac_includes_default
42351
42352 int
42353 main ()
42354 {
42355
42356 #ifndef $wx_func
42357 &$wx_func;
42358 #endif
42359
42360
42361 ;
42362 return 0;
42363 }
42364
42365 _ACEOF
42366 rm -f conftest.$ac_objext conftest$ac_exeext
42367 if { (ac_try="$ac_link"
42368 case "(($ac_try" in
42369 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42370 *) ac_try_echo=$ac_try;;
42371 esac
42372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42373 (eval "$ac_link") 2>conftest.er1
42374 ac_status=$?
42375 grep -v '^ *+' conftest.er1 >conftest.err
42376 rm -f conftest.er1
42377 cat conftest.err >&5
42378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42379 (exit $ac_status); } && {
42380 test -z "$ac_c_werror_flag" ||
42381 test ! -s conftest.err
42382 } && test -s conftest$ac_exeext &&
42383 $as_test_x conftest$ac_exeext; then
42384 eval wx_cv_func_$wx_func=yes
42385 else
42386 echo "$as_me: failed program was:" >&5
42387 sed 's/^/| /' conftest.$ac_ext >&5
42388
42389 eval wx_cv_func_$wx_func=no
42390 fi
42391
42392 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42393 conftest$ac_exeext conftest.$ac_ext
42394
42395 fi
42396 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
42397 { echo "$as_me:$LINENO: result: $ac_res" >&5
42398 echo "${ECHO_T}$ac_res" >&6; }
42399
42400 if eval test \$wx_cv_func_$wx_func = yes
42401 then
42402 cat >>confdefs.h <<_ACEOF
42403 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
42404 _ACEOF
42405
42406
42407 else
42408 :
42409
42410 fi
42411 done
42412
42413
42414 if test "$wxUSE_TARSTREAM" = "yes"; then
42415
42416 for wx_func in sysconf
42417 do
42418 { echo "$as_me:$LINENO: checking for $wx_func" >&5
42419 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
42420 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
42421 echo $ECHO_N "(cached) $ECHO_C" >&6
42422 else
42423
42424 cat >conftest.$ac_ext <<_ACEOF
42425
42426 /* confdefs.h. */
42427 _ACEOF
42428 cat confdefs.h >>conftest.$ac_ext
42429 cat >>conftest.$ac_ext <<_ACEOF
42430 /* end confdefs.h. */
42431
42432
42433 $ac_includes_default
42434
42435 int
42436 main ()
42437 {
42438
42439 #ifndef $wx_func
42440 &$wx_func;
42441 #endif
42442
42443
42444 ;
42445 return 0;
42446 }
42447
42448 _ACEOF
42449 rm -f conftest.$ac_objext conftest$ac_exeext
42450 if { (ac_try="$ac_link"
42451 case "(($ac_try" in
42452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42453 *) ac_try_echo=$ac_try;;
42454 esac
42455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42456 (eval "$ac_link") 2>conftest.er1
42457 ac_status=$?
42458 grep -v '^ *+' conftest.er1 >conftest.err
42459 rm -f conftest.er1
42460 cat conftest.err >&5
42461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42462 (exit $ac_status); } && {
42463 test -z "$ac_c_werror_flag" ||
42464 test ! -s conftest.err
42465 } && test -s conftest$ac_exeext &&
42466 $as_test_x conftest$ac_exeext; then
42467 eval wx_cv_func_$wx_func=yes
42468 else
42469 echo "$as_me: failed program was:" >&5
42470 sed 's/^/| /' conftest.$ac_ext >&5
42471
42472 eval wx_cv_func_$wx_func=no
42473 fi
42474
42475 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42476 conftest$ac_exeext conftest.$ac_ext
42477
42478 fi
42479 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
42480 { echo "$as_me:$LINENO: result: $ac_res" >&5
42481 echo "${ECHO_T}$ac_res" >&6; }
42482
42483 if eval test \$wx_cv_func_$wx_func = yes
42484 then
42485 cat >>confdefs.h <<_ACEOF
42486 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
42487 _ACEOF
42488
42489
42490 else
42491 :
42492
42493 fi
42494 done
42495
42496
42497
42498 for wx_func in getpwuid_r
42499 do
42500 { echo "$as_me:$LINENO: checking for $wx_func" >&5
42501 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
42502 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
42503 echo $ECHO_N "(cached) $ECHO_C" >&6
42504 else
42505
42506 cat >conftest.$ac_ext <<_ACEOF
42507
42508 /* confdefs.h. */
42509 _ACEOF
42510 cat confdefs.h >>conftest.$ac_ext
42511 cat >>conftest.$ac_ext <<_ACEOF
42512 /* end confdefs.h. */
42513
42514
42515 #define _REENTRANT
42516 #include <pwd.h>
42517
42518 $ac_includes_default
42519
42520 int
42521 main ()
42522 {
42523
42524 #ifndef $wx_func
42525 &$wx_func;
42526 #endif
42527
42528 struct passwd pw, *ppw;
42529 char buf[1024];
42530 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
42531
42532
42533 ;
42534 return 0;
42535 }
42536
42537 _ACEOF
42538 rm -f conftest.$ac_objext conftest$ac_exeext
42539 if { (ac_try="$ac_link"
42540 case "(($ac_try" in
42541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42542 *) ac_try_echo=$ac_try;;
42543 esac
42544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42545 (eval "$ac_link") 2>conftest.er1
42546 ac_status=$?
42547 grep -v '^ *+' conftest.er1 >conftest.err
42548 rm -f conftest.er1
42549 cat conftest.err >&5
42550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42551 (exit $ac_status); } && {
42552 test -z "$ac_c_werror_flag" ||
42553 test ! -s conftest.err
42554 } && test -s conftest$ac_exeext &&
42555 $as_test_x conftest$ac_exeext; then
42556 eval wx_cv_func_$wx_func=yes
42557 else
42558 echo "$as_me: failed program was:" >&5
42559 sed 's/^/| /' conftest.$ac_ext >&5
42560
42561 eval wx_cv_func_$wx_func=no
42562 fi
42563
42564 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42565 conftest$ac_exeext conftest.$ac_ext
42566
42567 fi
42568 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
42569 { echo "$as_me:$LINENO: result: $ac_res" >&5
42570 echo "${ECHO_T}$ac_res" >&6; }
42571
42572 if eval test \$wx_cv_func_$wx_func = yes
42573 then
42574 cat >>confdefs.h <<_ACEOF
42575 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
42576 _ACEOF
42577
42578
42579 else
42580 :
42581
42582 fi
42583 done
42584
42585
42586
42587 for wx_func in getgrgid_r
42588 do
42589 { echo "$as_me:$LINENO: checking for $wx_func" >&5
42590 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
42591 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
42592 echo $ECHO_N "(cached) $ECHO_C" >&6
42593 else
42594
42595 cat >conftest.$ac_ext <<_ACEOF
42596
42597 /* confdefs.h. */
42598 _ACEOF
42599 cat confdefs.h >>conftest.$ac_ext
42600 cat >>conftest.$ac_ext <<_ACEOF
42601 /* end confdefs.h. */
42602
42603
42604 #define _REENTRANT
42605 #include <grp.h>
42606
42607 $ac_includes_default
42608
42609 int
42610 main ()
42611 {
42612
42613 #ifndef $wx_func
42614 &$wx_func;
42615 #endif
42616
42617 struct group grp, *pgrp;
42618 char buf[1024];
42619 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
42620
42621
42622 ;
42623 return 0;
42624 }
42625
42626 _ACEOF
42627 rm -f conftest.$ac_objext conftest$ac_exeext
42628 if { (ac_try="$ac_link"
42629 case "(($ac_try" in
42630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42631 *) ac_try_echo=$ac_try;;
42632 esac
42633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42634 (eval "$ac_link") 2>conftest.er1
42635 ac_status=$?
42636 grep -v '^ *+' conftest.er1 >conftest.err
42637 rm -f conftest.er1
42638 cat conftest.err >&5
42639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42640 (exit $ac_status); } && {
42641 test -z "$ac_c_werror_flag" ||
42642 test ! -s conftest.err
42643 } && test -s conftest$ac_exeext &&
42644 $as_test_x conftest$ac_exeext; then
42645 eval wx_cv_func_$wx_func=yes
42646 else
42647 echo "$as_me: failed program was:" >&5
42648 sed 's/^/| /' conftest.$ac_ext >&5
42649
42650 eval wx_cv_func_$wx_func=no
42651 fi
42652
42653 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42654 conftest$ac_exeext conftest.$ac_ext
42655
42656 fi
42657 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
42658 { echo "$as_me:$LINENO: result: $ac_res" >&5
42659 echo "${ECHO_T}$ac_res" >&6; }
42660
42661 if eval test \$wx_cv_func_$wx_func = yes
42662 then
42663 cat >>confdefs.h <<_ACEOF
42664 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
42665 _ACEOF
42666
42667
42668 else
42669 :
42670
42671 fi
42672 done
42673
42674 fi
42675
42676 fi
42677
42678
42679
42680 cat >confcache <<\_ACEOF
42681 # This file is a shell script that caches the results of configure
42682 # tests run on this system so they can be shared between configure
42683 # scripts and configure runs, see configure's option --config-cache.
42684 # It is not useful on other systems. If it contains results you don't
42685 # want to keep, you may remove or edit it.
42686 #
42687 # config.status only pays attention to the cache file if you give it
42688 # the --recheck option to rerun configure.
42689 #
42690 # `ac_cv_env_foo' variables (set or unset) will be overridden when
42691 # loading this file, other *unset* `ac_cv_foo' will be assigned the
42692 # following values.
42693
42694 _ACEOF
42695
42696 # The following way of writing the cache mishandles newlines in values,
42697 # but we know of no workaround that is simple, portable, and efficient.
42698 # So, we kill variables containing newlines.
42699 # Ultrix sh set writes to stderr and can't be redirected directly,
42700 # and sets the high bit in the cache file unless we assign to the vars.
42701 (
42702 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
42703 eval ac_val=\$$ac_var
42704 case $ac_val in #(
42705 *${as_nl}*)
42706 case $ac_var in #(
42707 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
42708 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
42709 esac
42710 case $ac_var in #(
42711 _ | IFS | as_nl) ;; #(
42712 *) $as_unset $ac_var ;;
42713 esac ;;
42714 esac
42715 done
42716
42717 (set) 2>&1 |
42718 case $as_nl`(ac_space=' '; set) 2>&1` in #(
42719 *${as_nl}ac_space=\ *)
42720 # `set' does not quote correctly, so add quotes (double-quote
42721 # substitution turns \\\\ into \\, and sed turns \\ into \).
42722 sed -n \
42723 "s/'/'\\\\''/g;
42724 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
42725 ;; #(
42726 *)
42727 # `set' quotes correctly as required by POSIX, so do not add quotes.
42728 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
42729 ;;
42730 esac |
42731 sort
42732 ) |
42733 sed '
42734 /^ac_cv_env_/b end
42735 t clear
42736 :clear
42737 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
42738 t end
42739 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
42740 :end' >>confcache
42741 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
42742 if test -w "$cache_file"; then
42743 test "x$cache_file" != "x/dev/null" &&
42744 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
42745 echo "$as_me: updating cache $cache_file" >&6;}
42746 cat confcache >$cache_file
42747 else
42748 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
42749 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
42750 fi
42751 fi
42752 rm -f confcache
42753
42754
42755 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
42756
42757
42758 THREADS_LINK=
42759 THREADS_CFLAGS=
42760
42761 if test "$wxUSE_THREADS" = "yes" ; then
42762 if test "$USE_BEOS" = 1; then
42763 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
42764 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
42765 wxUSE_THREADS="no"
42766 fi
42767 fi
42768
42769 if test "$wxUSE_THREADS" = "yes" ; then
42770
42771
42772 THREAD_OPTS="-pthread"
42773 if test "x$SUNCXX" = xyes; then
42774 THREAD_OPTS="-mt lthread $THREAD_OPTS"
42775 fi
42776
42777 case "${host}" in
42778 *-*-solaris2* | *-*-sunos4* )
42779 if test "x$GCC" = "xyes"; then
42780 THREAD_OPTS="-pthreads $THREAD_OPTS"
42781 fi
42782 ;;
42783 *-*-freebsd*)
42784 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
42785 ;;
42786 *-*-darwin* | *-*-cygwin* )
42787 THREAD_OPTS=""
42788 ;;
42789 *-*-aix*)
42790 THREAD_OPTS="pthreads"
42791 ;;
42792 *-hp-hpux* )
42793 if test "x$GCC" = "xyes"; then
42794 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
42795 THREAD_OPTS=""
42796 else
42797 THREAD_OPTS="-mt"
42798 fi
42799 ;;
42800
42801 *-*-irix* )
42802 if test "x$GCC" = "xyes"; then
42803 THREAD_OPTS=""
42804 fi
42805 ;;
42806
42807 *-*-qnx*)
42808 THREAD_OPTS=""
42809 ;;
42810
42811 *-*-*UnixWare*)
42812 if test "x$GCC" != "xyes"; then
42813 THREAD_OPTS="-Ethread"
42814 fi
42815 ;;
42816 esac
42817
42818 case "${host}" in
42819 *-*-qnx*)
42820 THREAD_OPTS="none pthread"
42821 ;;
42822
42823 *)
42824 THREAD_OPTS="$THREAD_OPTS pthread none"
42825 ;;
42826 esac
42827
42828 THREADS_OK=no
42829 for flag in $THREAD_OPTS; do
42830 case $flag in
42831 none)
42832 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
42833 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
42834 ;;
42835
42836 -*)
42837 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
42838 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
42839 THREADS_CFLAGS="$flag"
42840 ;;
42841
42842 *)
42843 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
42844 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
42845 THREADS_LINK="-l$flag"
42846 ;;
42847 esac
42848
42849 save_LIBS="$LIBS"
42850 save_CFLAGS="$CFLAGS"
42851 LIBS="$THREADS_LINK $LIBS"
42852 CFLAGS="$THREADS_CFLAGS $CFLAGS"
42853
42854 cat >conftest.$ac_ext <<_ACEOF
42855 /* confdefs.h. */
42856 _ACEOF
42857 cat confdefs.h >>conftest.$ac_ext
42858 cat >>conftest.$ac_ext <<_ACEOF
42859 /* end confdefs.h. */
42860 #include <pthread.h>
42861 int
42862 main ()
42863 {
42864 pthread_create(0,0,0,0);
42865 ;
42866 return 0;
42867 }
42868 _ACEOF
42869 rm -f conftest.$ac_objext conftest$ac_exeext
42870 if { (ac_try="$ac_link"
42871 case "(($ac_try" in
42872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42873 *) ac_try_echo=$ac_try;;
42874 esac
42875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42876 (eval "$ac_link") 2>conftest.er1
42877 ac_status=$?
42878 grep -v '^ *+' conftest.er1 >conftest.err
42879 rm -f conftest.er1
42880 cat conftest.err >&5
42881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42882 (exit $ac_status); } && {
42883 test -z "$ac_c_werror_flag" ||
42884 test ! -s conftest.err
42885 } && test -s conftest$ac_exeext &&
42886 $as_test_x conftest$ac_exeext; then
42887 THREADS_OK=yes
42888 else
42889 echo "$as_me: failed program was:" >&5
42890 sed 's/^/| /' conftest.$ac_ext >&5
42891
42892
42893 fi
42894
42895 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42896 conftest$ac_exeext conftest.$ac_ext
42897
42898 LIBS="$save_LIBS"
42899 CFLAGS="$save_CFLAGS"
42900
42901 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
42902 echo "${ECHO_T}$THREADS_OK" >&6; }
42903 if test "x$THREADS_OK" = "xyes"; then
42904 break;
42905 fi
42906
42907 THREADS_LINK=""
42908 THREADS_CFLAGS=""
42909 done
42910
42911 if test "x$THREADS_OK" != "xyes"; then
42912 wxUSE_THREADS=no
42913 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
42914 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
42915 else
42916 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
42917 WXCONFIG_LDFLAGS="$THREADS_CFLAGS $WXCONFIG_LDFLAGS"
42918 LIBS="$THREADS_LINK $LIBS"
42919
42920 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
42921 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
42922 flag=no
42923 case "${host}" in
42924 *-aix*)
42925 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
42926 WXCONFIG_LDFLAGS="-L/usr/lib/threads $WXCONFIG_LDFLAGS"
42927 flag="-D_THREAD_SAFE"
42928 ;;
42929 *-freebsd*)
42930 flag="-D_THREAD_SAFE"
42931 ;;
42932 *-hp-hpux* )
42933 flag="-D_REENTRANT"
42934 if test "x$GCC" != "xyes"; then
42935 flag="$flag -D_RWSTD_MULTI_THREAD"
42936 fi
42937 ;;
42938 *solaris* | alpha*-osf*)
42939 flag="-D_REENTRANT"
42940 ;;
42941 esac
42942 { echo "$as_me:$LINENO: result: ${flag}" >&5
42943 echo "${ECHO_T}${flag}" >&6; }
42944 if test "x$flag" != xno; then
42945 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
42946 fi
42947
42948 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
42949 fi
42950 fi
42951
42952 if test "$wxUSE_THREADS" = "yes" ; then
42953
42954 for ac_func in thr_setconcurrency
42955 do
42956 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42957 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42958 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42959 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42960 echo $ECHO_N "(cached) $ECHO_C" >&6
42961 else
42962 cat >conftest.$ac_ext <<_ACEOF
42963 /* confdefs.h. */
42964 _ACEOF
42965 cat confdefs.h >>conftest.$ac_ext
42966 cat >>conftest.$ac_ext <<_ACEOF
42967 /* end confdefs.h. */
42968 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42969 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42970 #define $ac_func innocuous_$ac_func
42971
42972 /* System header to define __stub macros and hopefully few prototypes,
42973 which can conflict with char $ac_func (); below.
42974 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42975 <limits.h> exists even on freestanding compilers. */
42976
42977 #ifdef __STDC__
42978 # include <limits.h>
42979 #else
42980 # include <assert.h>
42981 #endif
42982
42983 #undef $ac_func
42984
42985 /* Override any GCC internal prototype to avoid an error.
42986 Use char because int might match the return type of a GCC
42987 builtin and then its argument prototype would still apply. */
42988 #ifdef __cplusplus
42989 extern "C"
42990 #endif
42991 char $ac_func ();
42992 /* The GNU C library defines this for functions which it implements
42993 to always fail with ENOSYS. Some functions are actually named
42994 something starting with __ and the normal name is an alias. */
42995 #if defined __stub_$ac_func || defined __stub___$ac_func
42996 choke me
42997 #endif
42998
42999 int
43000 main ()
43001 {
43002 return $ac_func ();
43003 ;
43004 return 0;
43005 }
43006 _ACEOF
43007 rm -f conftest.$ac_objext conftest$ac_exeext
43008 if { (ac_try="$ac_link"
43009 case "(($ac_try" in
43010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43011 *) ac_try_echo=$ac_try;;
43012 esac
43013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43014 (eval "$ac_link") 2>conftest.er1
43015 ac_status=$?
43016 grep -v '^ *+' conftest.er1 >conftest.err
43017 rm -f conftest.er1
43018 cat conftest.err >&5
43019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43020 (exit $ac_status); } && {
43021 test -z "$ac_c_werror_flag" ||
43022 test ! -s conftest.err
43023 } && test -s conftest$ac_exeext &&
43024 $as_test_x conftest$ac_exeext; then
43025 eval "$as_ac_var=yes"
43026 else
43027 echo "$as_me: failed program was:" >&5
43028 sed 's/^/| /' conftest.$ac_ext >&5
43029
43030 eval "$as_ac_var=no"
43031 fi
43032
43033 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43034 conftest$ac_exeext conftest.$ac_ext
43035 fi
43036 ac_res=`eval echo '${'$as_ac_var'}'`
43037 { echo "$as_me:$LINENO: result: $ac_res" >&5
43038 echo "${ECHO_T}$ac_res" >&6; }
43039 if test `eval echo '${'$as_ac_var'}'` = yes; then
43040 cat >>confdefs.h <<_ACEOF
43041 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43042 _ACEOF
43043
43044 fi
43045 done
43046
43047
43048 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
43049 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
43050 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
43051 echo $ECHO_N "(cached) $ECHO_C" >&6
43052 else
43053
43054 ac_ext=cpp
43055 ac_cpp='$CXXCPP $CPPFLAGS'
43056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43059
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 #include <pthread.h>
43067 void ThreadCleanupFunc(void *p);
43068
43069 int
43070 main ()
43071 {
43072
43073 void *p;
43074 pthread_cleanup_push(ThreadCleanupFunc, p);
43075 pthread_cleanup_pop(0);
43076
43077 ;
43078 return 0;
43079 }
43080 _ACEOF
43081 rm -f conftest.$ac_objext
43082 if { (ac_try="$ac_compile"
43083 case "(($ac_try" in
43084 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43085 *) ac_try_echo=$ac_try;;
43086 esac
43087 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43088 (eval "$ac_compile") 2>conftest.er1
43089 ac_status=$?
43090 grep -v '^ *+' conftest.er1 >conftest.err
43091 rm -f conftest.er1
43092 cat conftest.err >&5
43093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43094 (exit $ac_status); } && {
43095 test -z "$ac_cxx_werror_flag" ||
43096 test ! -s conftest.err
43097 } && test -s conftest.$ac_objext; then
43098
43099 wx_cv_func_pthread_cleanup=yes
43100
43101 else
43102 echo "$as_me: failed program was:" >&5
43103 sed 's/^/| /' conftest.$ac_ext >&5
43104
43105
43106 wx_cv_func_pthread_cleanup=no
43107
43108
43109 fi
43110
43111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43112 ac_ext=c
43113 ac_cpp='$CPP $CPPFLAGS'
43114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43117
43118
43119 fi
43120 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
43121 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
43122 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
43123 cat >>confdefs.h <<\_ACEOF
43124 #define wxHAVE_PTHREAD_CLEANUP 1
43125 _ACEOF
43126
43127 fi
43128
43129
43130 for ac_header in sched.h
43131 do
43132 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43133 { echo "$as_me:$LINENO: checking for $ac_header" >&5
43134 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
43135 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
43136 echo $ECHO_N "(cached) $ECHO_C" >&6
43137 else
43138 cat >conftest.$ac_ext <<_ACEOF
43139 /* confdefs.h. */
43140 _ACEOF
43141 cat confdefs.h >>conftest.$ac_ext
43142 cat >>conftest.$ac_ext <<_ACEOF
43143 /* end confdefs.h. */
43144 $ac_includes_default
43145
43146 #include <$ac_header>
43147 _ACEOF
43148 rm -f conftest.$ac_objext
43149 if { (ac_try="$ac_compile"
43150 case "(($ac_try" in
43151 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43152 *) ac_try_echo=$ac_try;;
43153 esac
43154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43155 (eval "$ac_compile") 2>conftest.er1
43156 ac_status=$?
43157 grep -v '^ *+' conftest.er1 >conftest.err
43158 rm -f conftest.er1
43159 cat conftest.err >&5
43160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43161 (exit $ac_status); } && {
43162 test -z "$ac_c_werror_flag" ||
43163 test ! -s conftest.err
43164 } && test -s conftest.$ac_objext; then
43165 eval "$as_ac_Header=yes"
43166 else
43167 echo "$as_me: failed program was:" >&5
43168 sed 's/^/| /' conftest.$ac_ext >&5
43169
43170 eval "$as_ac_Header=no"
43171 fi
43172
43173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43174 fi
43175 ac_res=`eval echo '${'$as_ac_Header'}'`
43176 { echo "$as_me:$LINENO: result: $ac_res" >&5
43177 echo "${ECHO_T}$ac_res" >&6; }
43178 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43179 cat >>confdefs.h <<_ACEOF
43180 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43181 _ACEOF
43182
43183 fi
43184
43185 done
43186
43187 if test "$ac_cv_header_sched_h" = "yes"; then
43188 { echo "$as_me:$LINENO: checking for sched_yield" >&5
43189 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
43190 if test "${ac_cv_func_sched_yield+set}" = set; then
43191 echo $ECHO_N "(cached) $ECHO_C" >&6
43192 else
43193 cat >conftest.$ac_ext <<_ACEOF
43194 /* confdefs.h. */
43195 _ACEOF
43196 cat confdefs.h >>conftest.$ac_ext
43197 cat >>conftest.$ac_ext <<_ACEOF
43198 /* end confdefs.h. */
43199 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
43200 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43201 #define sched_yield innocuous_sched_yield
43202
43203 /* System header to define __stub macros and hopefully few prototypes,
43204 which can conflict with char sched_yield (); below.
43205 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43206 <limits.h> exists even on freestanding compilers. */
43207
43208 #ifdef __STDC__
43209 # include <limits.h>
43210 #else
43211 # include <assert.h>
43212 #endif
43213
43214 #undef sched_yield
43215
43216 /* Override any GCC internal prototype to avoid an error.
43217 Use char because int might match the return type of a GCC
43218 builtin and then its argument prototype would still apply. */
43219 #ifdef __cplusplus
43220 extern "C"
43221 #endif
43222 char sched_yield ();
43223 /* The GNU C library defines this for functions which it implements
43224 to always fail with ENOSYS. Some functions are actually named
43225 something starting with __ and the normal name is an alias. */
43226 #if defined __stub_sched_yield || defined __stub___sched_yield
43227 choke me
43228 #endif
43229
43230 int
43231 main ()
43232 {
43233 return sched_yield ();
43234 ;
43235 return 0;
43236 }
43237 _ACEOF
43238 rm -f conftest.$ac_objext conftest$ac_exeext
43239 if { (ac_try="$ac_link"
43240 case "(($ac_try" in
43241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43242 *) ac_try_echo=$ac_try;;
43243 esac
43244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43245 (eval "$ac_link") 2>conftest.er1
43246 ac_status=$?
43247 grep -v '^ *+' conftest.er1 >conftest.err
43248 rm -f conftest.er1
43249 cat conftest.err >&5
43250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43251 (exit $ac_status); } && {
43252 test -z "$ac_c_werror_flag" ||
43253 test ! -s conftest.err
43254 } && test -s conftest$ac_exeext &&
43255 $as_test_x conftest$ac_exeext; then
43256 ac_cv_func_sched_yield=yes
43257 else
43258 echo "$as_me: failed program was:" >&5
43259 sed 's/^/| /' conftest.$ac_ext >&5
43260
43261 ac_cv_func_sched_yield=no
43262 fi
43263
43264 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43265 conftest$ac_exeext conftest.$ac_ext
43266 fi
43267 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
43268 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
43269 if test $ac_cv_func_sched_yield = yes; then
43270 cat >>confdefs.h <<\_ACEOF
43271 #define HAVE_SCHED_YIELD 1
43272 _ACEOF
43273
43274 else
43275
43276 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
43277 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
43278 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
43279 echo $ECHO_N "(cached) $ECHO_C" >&6
43280 else
43281 ac_check_lib_save_LIBS=$LIBS
43282 LIBS="-lposix4 $LIBS"
43283 cat >conftest.$ac_ext <<_ACEOF
43284 /* confdefs.h. */
43285 _ACEOF
43286 cat confdefs.h >>conftest.$ac_ext
43287 cat >>conftest.$ac_ext <<_ACEOF
43288 /* end confdefs.h. */
43289
43290 /* Override any GCC internal prototype to avoid an error.
43291 Use char because int might match the return type of a GCC
43292 builtin and then its argument prototype would still apply. */
43293 #ifdef __cplusplus
43294 extern "C"
43295 #endif
43296 char sched_yield ();
43297 int
43298 main ()
43299 {
43300 return sched_yield ();
43301 ;
43302 return 0;
43303 }
43304 _ACEOF
43305 rm -f conftest.$ac_objext conftest$ac_exeext
43306 if { (ac_try="$ac_link"
43307 case "(($ac_try" in
43308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43309 *) ac_try_echo=$ac_try;;
43310 esac
43311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43312 (eval "$ac_link") 2>conftest.er1
43313 ac_status=$?
43314 grep -v '^ *+' conftest.er1 >conftest.err
43315 rm -f conftest.er1
43316 cat conftest.err >&5
43317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43318 (exit $ac_status); } && {
43319 test -z "$ac_c_werror_flag" ||
43320 test ! -s conftest.err
43321 } && test -s conftest$ac_exeext &&
43322 $as_test_x conftest$ac_exeext; then
43323 ac_cv_lib_posix4_sched_yield=yes
43324 else
43325 echo "$as_me: failed program was:" >&5
43326 sed 's/^/| /' conftest.$ac_ext >&5
43327
43328 ac_cv_lib_posix4_sched_yield=no
43329 fi
43330
43331 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43332 conftest$ac_exeext conftest.$ac_ext
43333 LIBS=$ac_check_lib_save_LIBS
43334 fi
43335 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
43336 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
43337 if test $ac_cv_lib_posix4_sched_yield = yes; then
43338 cat >>confdefs.h <<\_ACEOF
43339 #define HAVE_SCHED_YIELD 1
43340 _ACEOF
43341 POSIX4_LINK=" -lposix4"
43342 else
43343 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
43344 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
43345
43346 fi
43347
43348
43349
43350 fi
43351
43352 fi
43353
43354 HAVE_PRIOR_FUNCS=0
43355 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
43356 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
43357 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
43358 echo $ECHO_N "(cached) $ECHO_C" >&6
43359 else
43360 cat >conftest.$ac_ext <<_ACEOF
43361 /* confdefs.h. */
43362 _ACEOF
43363 cat confdefs.h >>conftest.$ac_ext
43364 cat >>conftest.$ac_ext <<_ACEOF
43365 /* end confdefs.h. */
43366 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
43367 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43368 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
43369
43370 /* System header to define __stub macros and hopefully few prototypes,
43371 which can conflict with char pthread_attr_getschedpolicy (); below.
43372 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43373 <limits.h> exists even on freestanding compilers. */
43374
43375 #ifdef __STDC__
43376 # include <limits.h>
43377 #else
43378 # include <assert.h>
43379 #endif
43380
43381 #undef pthread_attr_getschedpolicy
43382
43383 /* Override any GCC internal prototype to avoid an error.
43384 Use char because int might match the return type of a GCC
43385 builtin and then its argument prototype would still apply. */
43386 #ifdef __cplusplus
43387 extern "C"
43388 #endif
43389 char pthread_attr_getschedpolicy ();
43390 /* The GNU C library defines this for functions which it implements
43391 to always fail with ENOSYS. Some functions are actually named
43392 something starting with __ and the normal name is an alias. */
43393 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
43394 choke me
43395 #endif
43396
43397 int
43398 main ()
43399 {
43400 return pthread_attr_getschedpolicy ();
43401 ;
43402 return 0;
43403 }
43404 _ACEOF
43405 rm -f conftest.$ac_objext conftest$ac_exeext
43406 if { (ac_try="$ac_link"
43407 case "(($ac_try" in
43408 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43409 *) ac_try_echo=$ac_try;;
43410 esac
43411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43412 (eval "$ac_link") 2>conftest.er1
43413 ac_status=$?
43414 grep -v '^ *+' conftest.er1 >conftest.err
43415 rm -f conftest.er1
43416 cat conftest.err >&5
43417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43418 (exit $ac_status); } && {
43419 test -z "$ac_c_werror_flag" ||
43420 test ! -s conftest.err
43421 } && test -s conftest$ac_exeext &&
43422 $as_test_x conftest$ac_exeext; then
43423 ac_cv_func_pthread_attr_getschedpolicy=yes
43424 else
43425 echo "$as_me: failed program was:" >&5
43426 sed 's/^/| /' conftest.$ac_ext >&5
43427
43428 ac_cv_func_pthread_attr_getschedpolicy=no
43429 fi
43430
43431 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43432 conftest$ac_exeext conftest.$ac_ext
43433 fi
43434 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
43435 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
43436 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
43437 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
43438 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
43439 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
43440 echo $ECHO_N "(cached) $ECHO_C" >&6
43441 else
43442 cat >conftest.$ac_ext <<_ACEOF
43443 /* confdefs.h. */
43444 _ACEOF
43445 cat confdefs.h >>conftest.$ac_ext
43446 cat >>conftest.$ac_ext <<_ACEOF
43447 /* end confdefs.h. */
43448 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
43449 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43450 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
43451
43452 /* System header to define __stub macros and hopefully few prototypes,
43453 which can conflict with char pthread_attr_setschedparam (); below.
43454 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43455 <limits.h> exists even on freestanding compilers. */
43456
43457 #ifdef __STDC__
43458 # include <limits.h>
43459 #else
43460 # include <assert.h>
43461 #endif
43462
43463 #undef pthread_attr_setschedparam
43464
43465 /* Override any GCC internal prototype to avoid an error.
43466 Use char because int might match the return type of a GCC
43467 builtin and then its argument prototype would still apply. */
43468 #ifdef __cplusplus
43469 extern "C"
43470 #endif
43471 char pthread_attr_setschedparam ();
43472 /* The GNU C library defines this for functions which it implements
43473 to always fail with ENOSYS. Some functions are actually named
43474 something starting with __ and the normal name is an alias. */
43475 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
43476 choke me
43477 #endif
43478
43479 int
43480 main ()
43481 {
43482 return pthread_attr_setschedparam ();
43483 ;
43484 return 0;
43485 }
43486 _ACEOF
43487 rm -f conftest.$ac_objext conftest$ac_exeext
43488 if { (ac_try="$ac_link"
43489 case "(($ac_try" in
43490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43491 *) ac_try_echo=$ac_try;;
43492 esac
43493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43494 (eval "$ac_link") 2>conftest.er1
43495 ac_status=$?
43496 grep -v '^ *+' conftest.er1 >conftest.err
43497 rm -f conftest.er1
43498 cat conftest.err >&5
43499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43500 (exit $ac_status); } && {
43501 test -z "$ac_c_werror_flag" ||
43502 test ! -s conftest.err
43503 } && test -s conftest$ac_exeext &&
43504 $as_test_x conftest$ac_exeext; then
43505 ac_cv_func_pthread_attr_setschedparam=yes
43506 else
43507 echo "$as_me: failed program was:" >&5
43508 sed 's/^/| /' conftest.$ac_ext >&5
43509
43510 ac_cv_func_pthread_attr_setschedparam=no
43511 fi
43512
43513 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43514 conftest$ac_exeext conftest.$ac_ext
43515 fi
43516 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
43517 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
43518 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
43519 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
43520 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
43521 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
43522 echo $ECHO_N "(cached) $ECHO_C" >&6
43523 else
43524 cat >conftest.$ac_ext <<_ACEOF
43525 /* confdefs.h. */
43526 _ACEOF
43527 cat confdefs.h >>conftest.$ac_ext
43528 cat >>conftest.$ac_ext <<_ACEOF
43529 /* end confdefs.h. */
43530 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
43531 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43532 #define sched_get_priority_max innocuous_sched_get_priority_max
43533
43534 /* System header to define __stub macros and hopefully few prototypes,
43535 which can conflict with char sched_get_priority_max (); below.
43536 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43537 <limits.h> exists even on freestanding compilers. */
43538
43539 #ifdef __STDC__
43540 # include <limits.h>
43541 #else
43542 # include <assert.h>
43543 #endif
43544
43545 #undef sched_get_priority_max
43546
43547 /* Override any GCC internal prototype to avoid an error.
43548 Use char because int might match the return type of a GCC
43549 builtin and then its argument prototype would still apply. */
43550 #ifdef __cplusplus
43551 extern "C"
43552 #endif
43553 char sched_get_priority_max ();
43554 /* The GNU C library defines this for functions which it implements
43555 to always fail with ENOSYS. Some functions are actually named
43556 something starting with __ and the normal name is an alias. */
43557 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
43558 choke me
43559 #endif
43560
43561 int
43562 main ()
43563 {
43564 return sched_get_priority_max ();
43565 ;
43566 return 0;
43567 }
43568 _ACEOF
43569 rm -f conftest.$ac_objext conftest$ac_exeext
43570 if { (ac_try="$ac_link"
43571 case "(($ac_try" in
43572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43573 *) ac_try_echo=$ac_try;;
43574 esac
43575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43576 (eval "$ac_link") 2>conftest.er1
43577 ac_status=$?
43578 grep -v '^ *+' conftest.er1 >conftest.err
43579 rm -f conftest.er1
43580 cat conftest.err >&5
43581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43582 (exit $ac_status); } && {
43583 test -z "$ac_c_werror_flag" ||
43584 test ! -s conftest.err
43585 } && test -s conftest$ac_exeext &&
43586 $as_test_x conftest$ac_exeext; then
43587 ac_cv_func_sched_get_priority_max=yes
43588 else
43589 echo "$as_me: failed program was:" >&5
43590 sed 's/^/| /' conftest.$ac_ext >&5
43591
43592 ac_cv_func_sched_get_priority_max=no
43593 fi
43594
43595 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43596 conftest$ac_exeext conftest.$ac_ext
43597 fi
43598 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
43599 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
43600 if test $ac_cv_func_sched_get_priority_max = yes; then
43601 HAVE_PRIOR_FUNCS=1
43602 else
43603 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
43604 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
43605 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
43606 echo $ECHO_N "(cached) $ECHO_C" >&6
43607 else
43608 ac_check_lib_save_LIBS=$LIBS
43609 LIBS="-lposix4 $LIBS"
43610 cat >conftest.$ac_ext <<_ACEOF
43611 /* confdefs.h. */
43612 _ACEOF
43613 cat confdefs.h >>conftest.$ac_ext
43614 cat >>conftest.$ac_ext <<_ACEOF
43615 /* end confdefs.h. */
43616
43617 /* Override any GCC internal prototype to avoid an error.
43618 Use char because int might match the return type of a GCC
43619 builtin and then its argument prototype would still apply. */
43620 #ifdef __cplusplus
43621 extern "C"
43622 #endif
43623 char sched_get_priority_max ();
43624 int
43625 main ()
43626 {
43627 return sched_get_priority_max ();
43628 ;
43629 return 0;
43630 }
43631 _ACEOF
43632 rm -f conftest.$ac_objext conftest$ac_exeext
43633 if { (ac_try="$ac_link"
43634 case "(($ac_try" in
43635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43636 *) ac_try_echo=$ac_try;;
43637 esac
43638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43639 (eval "$ac_link") 2>conftest.er1
43640 ac_status=$?
43641 grep -v '^ *+' conftest.er1 >conftest.err
43642 rm -f conftest.er1
43643 cat conftest.err >&5
43644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43645 (exit $ac_status); } && {
43646 test -z "$ac_c_werror_flag" ||
43647 test ! -s conftest.err
43648 } && test -s conftest$ac_exeext &&
43649 $as_test_x conftest$ac_exeext; then
43650 ac_cv_lib_posix4_sched_get_priority_max=yes
43651 else
43652 echo "$as_me: failed program was:" >&5
43653 sed 's/^/| /' conftest.$ac_ext >&5
43654
43655 ac_cv_lib_posix4_sched_get_priority_max=no
43656 fi
43657
43658 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43659 conftest$ac_exeext conftest.$ac_ext
43660 LIBS=$ac_check_lib_save_LIBS
43661 fi
43662 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
43663 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
43664 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
43665
43666 HAVE_PRIOR_FUNCS=1
43667 POSIX4_LINK=" -lposix4"
43668
43669 fi
43670
43671
43672 fi
43673
43674
43675 fi
43676
43677
43678 fi
43679
43680
43681 if test "$HAVE_PRIOR_FUNCS" = 1; then
43682 cat >>confdefs.h <<\_ACEOF
43683 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
43684 _ACEOF
43685
43686 else
43687 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
43688 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
43689 fi
43690
43691 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
43692 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
43693 if test "${ac_cv_func_pthread_cancel+set}" = set; then
43694 echo $ECHO_N "(cached) $ECHO_C" >&6
43695 else
43696 cat >conftest.$ac_ext <<_ACEOF
43697 /* confdefs.h. */
43698 _ACEOF
43699 cat confdefs.h >>conftest.$ac_ext
43700 cat >>conftest.$ac_ext <<_ACEOF
43701 /* end confdefs.h. */
43702 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
43703 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43704 #define pthread_cancel innocuous_pthread_cancel
43705
43706 /* System header to define __stub macros and hopefully few prototypes,
43707 which can conflict with char pthread_cancel (); below.
43708 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43709 <limits.h> exists even on freestanding compilers. */
43710
43711 #ifdef __STDC__
43712 # include <limits.h>
43713 #else
43714 # include <assert.h>
43715 #endif
43716
43717 #undef pthread_cancel
43718
43719 /* Override any GCC internal prototype to avoid an error.
43720 Use char because int might match the return type of a GCC
43721 builtin and then its argument prototype would still apply. */
43722 #ifdef __cplusplus
43723 extern "C"
43724 #endif
43725 char pthread_cancel ();
43726 /* The GNU C library defines this for functions which it implements
43727 to always fail with ENOSYS. Some functions are actually named
43728 something starting with __ and the normal name is an alias. */
43729 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
43730 choke me
43731 #endif
43732
43733 int
43734 main ()
43735 {
43736 return pthread_cancel ();
43737 ;
43738 return 0;
43739 }
43740 _ACEOF
43741 rm -f conftest.$ac_objext conftest$ac_exeext
43742 if { (ac_try="$ac_link"
43743 case "(($ac_try" in
43744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43745 *) ac_try_echo=$ac_try;;
43746 esac
43747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43748 (eval "$ac_link") 2>conftest.er1
43749 ac_status=$?
43750 grep -v '^ *+' conftest.er1 >conftest.err
43751 rm -f conftest.er1
43752 cat conftest.err >&5
43753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43754 (exit $ac_status); } && {
43755 test -z "$ac_c_werror_flag" ||
43756 test ! -s conftest.err
43757 } && test -s conftest$ac_exeext &&
43758 $as_test_x conftest$ac_exeext; then
43759 ac_cv_func_pthread_cancel=yes
43760 else
43761 echo "$as_me: failed program was:" >&5
43762 sed 's/^/| /' conftest.$ac_ext >&5
43763
43764 ac_cv_func_pthread_cancel=no
43765 fi
43766
43767 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43768 conftest$ac_exeext conftest.$ac_ext
43769 fi
43770 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
43771 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
43772 if test $ac_cv_func_pthread_cancel = yes; then
43773 cat >>confdefs.h <<\_ACEOF
43774 #define HAVE_PTHREAD_CANCEL 1
43775 _ACEOF
43776
43777 else
43778 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
43779 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
43780 fi
43781
43782
43783 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
43784 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
43785 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
43786 echo $ECHO_N "(cached) $ECHO_C" >&6
43787 else
43788 cat >conftest.$ac_ext <<_ACEOF
43789 /* confdefs.h. */
43790 _ACEOF
43791 cat confdefs.h >>conftest.$ac_ext
43792 cat >>conftest.$ac_ext <<_ACEOF
43793 /* end confdefs.h. */
43794 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
43795 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43796 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
43797
43798 /* System header to define __stub macros and hopefully few prototypes,
43799 which can conflict with char pthread_mutex_timedlock (); below.
43800 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43801 <limits.h> exists even on freestanding compilers. */
43802
43803 #ifdef __STDC__
43804 # include <limits.h>
43805 #else
43806 # include <assert.h>
43807 #endif
43808
43809 #undef pthread_mutex_timedlock
43810
43811 /* Override any GCC internal prototype to avoid an error.
43812 Use char because int might match the return type of a GCC
43813 builtin and then its argument prototype would still apply. */
43814 #ifdef __cplusplus
43815 extern "C"
43816 #endif
43817 char pthread_mutex_timedlock ();
43818 /* The GNU C library defines this for functions which it implements
43819 to always fail with ENOSYS. Some functions are actually named
43820 something starting with __ and the normal name is an alias. */
43821 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
43822 choke me
43823 #endif
43824
43825 int
43826 main ()
43827 {
43828 return pthread_mutex_timedlock ();
43829 ;
43830 return 0;
43831 }
43832 _ACEOF
43833 rm -f conftest.$ac_objext conftest$ac_exeext
43834 if { (ac_try="$ac_link"
43835 case "(($ac_try" in
43836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43837 *) ac_try_echo=$ac_try;;
43838 esac
43839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43840 (eval "$ac_link") 2>conftest.er1
43841 ac_status=$?
43842 grep -v '^ *+' conftest.er1 >conftest.err
43843 rm -f conftest.er1
43844 cat conftest.err >&5
43845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43846 (exit $ac_status); } && {
43847 test -z "$ac_c_werror_flag" ||
43848 test ! -s conftest.err
43849 } && test -s conftest$ac_exeext &&
43850 $as_test_x conftest$ac_exeext; then
43851 ac_cv_func_pthread_mutex_timedlock=yes
43852 else
43853 echo "$as_me: failed program was:" >&5
43854 sed 's/^/| /' conftest.$ac_ext >&5
43855
43856 ac_cv_func_pthread_mutex_timedlock=no
43857 fi
43858
43859 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43860 conftest$ac_exeext conftest.$ac_ext
43861 fi
43862 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
43863 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
43864 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
43865 cat >>confdefs.h <<\_ACEOF
43866 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
43867 _ACEOF
43868
43869 else
43870 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
43871 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
43872 fi
43873
43874
43875 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
43876 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
43877 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
43878 echo $ECHO_N "(cached) $ECHO_C" >&6
43879 else
43880 cat >conftest.$ac_ext <<_ACEOF
43881 /* confdefs.h. */
43882 _ACEOF
43883 cat confdefs.h >>conftest.$ac_ext
43884 cat >>conftest.$ac_ext <<_ACEOF
43885 /* end confdefs.h. */
43886 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
43887 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43888 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
43889
43890 /* System header to define __stub macros and hopefully few prototypes,
43891 which can conflict with char pthread_attr_setstacksize (); below.
43892 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43893 <limits.h> exists even on freestanding compilers. */
43894
43895 #ifdef __STDC__
43896 # include <limits.h>
43897 #else
43898 # include <assert.h>
43899 #endif
43900
43901 #undef pthread_attr_setstacksize
43902
43903 /* Override any GCC internal prototype to avoid an error.
43904 Use char because int might match the return type of a GCC
43905 builtin and then its argument prototype would still apply. */
43906 #ifdef __cplusplus
43907 extern "C"
43908 #endif
43909 char pthread_attr_setstacksize ();
43910 /* The GNU C library defines this for functions which it implements
43911 to always fail with ENOSYS. Some functions are actually named
43912 something starting with __ and the normal name is an alias. */
43913 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
43914 choke me
43915 #endif
43916
43917 int
43918 main ()
43919 {
43920 return pthread_attr_setstacksize ();
43921 ;
43922 return 0;
43923 }
43924 _ACEOF
43925 rm -f conftest.$ac_objext conftest$ac_exeext
43926 if { (ac_try="$ac_link"
43927 case "(($ac_try" in
43928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43929 *) ac_try_echo=$ac_try;;
43930 esac
43931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43932 (eval "$ac_link") 2>conftest.er1
43933 ac_status=$?
43934 grep -v '^ *+' conftest.er1 >conftest.err
43935 rm -f conftest.er1
43936 cat conftest.err >&5
43937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43938 (exit $ac_status); } && {
43939 test -z "$ac_c_werror_flag" ||
43940 test ! -s conftest.err
43941 } && test -s conftest$ac_exeext &&
43942 $as_test_x conftest$ac_exeext; then
43943 ac_cv_func_pthread_attr_setstacksize=yes
43944 else
43945 echo "$as_me: failed program was:" >&5
43946 sed 's/^/| /' conftest.$ac_ext >&5
43947
43948 ac_cv_func_pthread_attr_setstacksize=no
43949 fi
43950
43951 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43952 conftest$ac_exeext conftest.$ac_ext
43953 fi
43954 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
43955 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
43956 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
43957 cat >>confdefs.h <<\_ACEOF
43958 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
43959 _ACEOF
43960
43961 fi
43962
43963
43964
43965 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
43966 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
43967 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
43968 echo $ECHO_N "(cached) $ECHO_C" >&6
43969 else
43970
43971 cat >conftest.$ac_ext <<_ACEOF
43972 /* confdefs.h. */
43973 _ACEOF
43974 cat confdefs.h >>conftest.$ac_ext
43975 cat >>conftest.$ac_ext <<_ACEOF
43976 /* end confdefs.h. */
43977 #include <pthread.h>
43978 int
43979 main ()
43980 {
43981
43982 pthread_mutexattr_t attr;
43983 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
43984
43985 ;
43986 return 0;
43987 }
43988 _ACEOF
43989 rm -f conftest.$ac_objext
43990 if { (ac_try="$ac_compile"
43991 case "(($ac_try" in
43992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43993 *) ac_try_echo=$ac_try;;
43994 esac
43995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43996 (eval "$ac_compile") 2>conftest.er1
43997 ac_status=$?
43998 grep -v '^ *+' conftest.er1 >conftest.err
43999 rm -f conftest.er1
44000 cat conftest.err >&5
44001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44002 (exit $ac_status); } && {
44003 test -z "$ac_c_werror_flag" ||
44004 test ! -s conftest.err
44005 } && test -s conftest.$ac_objext; then
44006 wx_cv_type_pthread_mutexattr_t=yes
44007 else
44008 echo "$as_me: failed program was:" >&5
44009 sed 's/^/| /' conftest.$ac_ext >&5
44010
44011 wx_cv_type_pthread_mutexattr_t=no
44012
44013 fi
44014
44015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44016
44017 fi
44018 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
44019 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
44020
44021 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
44022 cat >>confdefs.h <<\_ACEOF
44023 #define HAVE_PTHREAD_MUTEXATTR_T 1
44024 _ACEOF
44025
44026
44027 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
44028 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
44029 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
44030 echo $ECHO_N "(cached) $ECHO_C" >&6
44031 else
44032
44033 cat >conftest.$ac_ext <<_ACEOF
44034 /* confdefs.h. */
44035 _ACEOF
44036 cat confdefs.h >>conftest.$ac_ext
44037 cat >>conftest.$ac_ext <<_ACEOF
44038 /* end confdefs.h. */
44039 #include <pthread.h>
44040 int
44041 main ()
44042 {
44043
44044 pthread_mutexattr_t attr;
44045 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
44046
44047 ;
44048 return 0;
44049 }
44050 _ACEOF
44051 rm -f conftest.$ac_objext
44052 if { (ac_try="$ac_compile"
44053 case "(($ac_try" in
44054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44055 *) ac_try_echo=$ac_try;;
44056 esac
44057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44058 (eval "$ac_compile") 2>conftest.er1
44059 ac_status=$?
44060 grep -v '^ *+' conftest.er1 >conftest.err
44061 rm -f conftest.er1
44062 cat conftest.err >&5
44063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44064 (exit $ac_status); } && {
44065 test -z "$ac_c_werror_flag" ||
44066 test ! -s conftest.err
44067 } && test -s conftest.$ac_objext; then
44068 wx_cv_func_pthread_mutexattr_settype_decl=yes
44069 else
44070 echo "$as_me: failed program was:" >&5
44071 sed 's/^/| /' conftest.$ac_ext >&5
44072
44073 wx_cv_func_pthread_mutexattr_settype_decl=no
44074
44075 fi
44076
44077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44078
44079 fi
44080 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
44081 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
44082 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
44083 cat >>confdefs.h <<\_ACEOF
44084 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
44085 _ACEOF
44086
44087 fi
44088 else
44089 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
44090 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
44091 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
44092 echo $ECHO_N "(cached) $ECHO_C" >&6
44093 else
44094
44095 cat >conftest.$ac_ext <<_ACEOF
44096 /* confdefs.h. */
44097 _ACEOF
44098 cat confdefs.h >>conftest.$ac_ext
44099 cat >>conftest.$ac_ext <<_ACEOF
44100 /* end confdefs.h. */
44101 #include <pthread.h>
44102 int
44103 main ()
44104 {
44105
44106 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
44107
44108 ;
44109 return 0;
44110 }
44111 _ACEOF
44112 rm -f conftest.$ac_objext
44113 if { (ac_try="$ac_compile"
44114 case "(($ac_try" in
44115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44116 *) ac_try_echo=$ac_try;;
44117 esac
44118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44119 (eval "$ac_compile") 2>conftest.er1
44120 ac_status=$?
44121 grep -v '^ *+' conftest.er1 >conftest.err
44122 rm -f conftest.er1
44123 cat conftest.err >&5
44124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44125 (exit $ac_status); } && {
44126 test -z "$ac_c_werror_flag" ||
44127 test ! -s conftest.err
44128 } && test -s conftest.$ac_objext; then
44129
44130 wx_cv_type_pthread_rec_mutex_init=yes
44131
44132 else
44133 echo "$as_me: failed program was:" >&5
44134 sed 's/^/| /' conftest.$ac_ext >&5
44135
44136
44137 wx_cv_type_pthread_rec_mutex_init=no
44138
44139
44140 fi
44141
44142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44143
44144 fi
44145 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
44146 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
44147 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
44148 cat >>confdefs.h <<\_ACEOF
44149 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
44150 _ACEOF
44151
44152 else
44153 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
44154 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
44155 fi
44156 fi
44157
44158 if test "$wxUSE_COMPILER_TLS" = "auto"; then
44159 if test "$USE_NETBSD" = 1; then
44160 { echo "$as_me:$LINENO: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&5
44161 echo "$as_me: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&2;}
44162 wxUSE_COMPILER_TLS=no
44163 else
44164 wxUSE_COMPILER_TLS=yes
44165 fi
44166 fi
44167
44168 if test "$wxUSE_COMPILER_TLS" = "yes"; then
44169 { echo "$as_me:$LINENO: checking for __thread keyword" >&5
44170 echo $ECHO_N "checking for __thread keyword... $ECHO_C" >&6; }
44171 if test "${wx_cv_cc___thread+set}" = set; then
44172 echo $ECHO_N "(cached) $ECHO_C" >&6
44173 else
44174
44175 cat >conftest.$ac_ext <<_ACEOF
44176 /* confdefs.h. */
44177 _ACEOF
44178 cat confdefs.h >>conftest.$ac_ext
44179 cat >>conftest.$ac_ext <<_ACEOF
44180 /* end confdefs.h. */
44181 #include <pthread.h>
44182 int
44183 main ()
44184 {
44185
44186 static __thread int n = 0;
44187 static __thread int *p = 0;
44188
44189 ;
44190 return 0;
44191 }
44192 _ACEOF
44193 rm -f conftest.$ac_objext
44194 if { (ac_try="$ac_compile"
44195 case "(($ac_try" in
44196 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44197 *) ac_try_echo=$ac_try;;
44198 esac
44199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44200 (eval "$ac_compile") 2>conftest.er1
44201 ac_status=$?
44202 grep -v '^ *+' conftest.er1 >conftest.err
44203 rm -f conftest.er1
44204 cat conftest.err >&5
44205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44206 (exit $ac_status); } && {
44207 test -z "$ac_c_werror_flag" ||
44208 test ! -s conftest.err
44209 } && test -s conftest.$ac_objext; then
44210 wx_cv_cc___thread=yes
44211 else
44212 echo "$as_me: failed program was:" >&5
44213 sed 's/^/| /' conftest.$ac_ext >&5
44214
44215 wx_cv_cc___thread=no
44216
44217 fi
44218
44219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44220
44221
44222 fi
44223 { echo "$as_me:$LINENO: result: $wx_cv_cc___thread" >&5
44224 echo "${ECHO_T}$wx_cv_cc___thread" >&6; }
44225
44226 if test "$wx_cv_cc___thread" = "yes"; then
44227
44228 GXX_VERSION=""
44229
44230
44231
44232 { echo "$as_me:$LINENO: checking if gcc accepts -dumpversion option" >&5
44233 echo $ECHO_N "checking if gcc accepts -dumpversion option... $ECHO_C" >&6; }
44234
44235 if test "x$GCC" = "xyes" ; then
44236
44237 if test -z "" ; then
44238
44239 ax_gcc_option_test="int main()
44240 {
44241 return 0;
44242 }"
44243
44244 else
44245
44246 ax_gcc_option_test=""
44247
44248 fi
44249
44250
44251 # Dump the test program to file
44252 cat <<EOF > conftest.c
44253 $ax_gcc_option_test
44254 EOF
44255
44256 # Dump back the file to the log, useful for debugging purposes
44257 { ac_try='cat conftest.c 1>&5'
44258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44259 (eval $ac_try) 2>&5
44260 ac_status=$?
44261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44262 (exit $ac_status); }; }
44263
44264 if { ac_try='$CC -dumpversion -c conftest.c 1>&5'
44265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44266 (eval $ac_try) 2>&5
44267 ac_status=$?
44268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44269 (exit $ac_status); }; } ; then
44270
44271 { echo "$as_me:$LINENO: result: yes" >&5
44272 echo "${ECHO_T}yes" >&6; }
44273
44274 ax_gcc_version_option=yes
44275
44276
44277 else
44278
44279 { echo "$as_me:$LINENO: result: no" >&5
44280 echo "${ECHO_T}no" >&6; }
44281
44282 ax_gcc_version_option=no
44283
44284
44285 fi
44286
44287
44288 else
44289
44290 { echo "$as_me:$LINENO: result: no gcc available" >&5
44291 echo "${ECHO_T}no gcc available" >&6; }
44292
44293 fi
44294
44295
44296 if test "x$GXX" = "xyes"; then
44297
44298 if test "x$ax_gxx_version_option" != "no"; then
44299
44300 { echo "$as_me:$LINENO: checking gxx version" >&5
44301 echo $ECHO_N "checking gxx version... $ECHO_C" >&6; }
44302 if test "${ax_cv_gxx_version+set}" = set; then
44303 echo $ECHO_N "(cached) $ECHO_C" >&6
44304 else
44305
44306 ax_cv_gxx_version="`$CXX -dumpversion`"
44307 if test "x$ax_cv_gxx_version" = "x"; then
44308
44309 ax_cv_gxx_version=""
44310
44311 fi
44312
44313
44314 fi
44315 { echo "$as_me:$LINENO: result: $ax_cv_gxx_version" >&5
44316 echo "${ECHO_T}$ax_cv_gxx_version" >&6; }
44317 GXX_VERSION=$ax_cv_gxx_version
44318
44319 fi
44320
44321
44322 fi
44323
44324
44325
44326 if test -n "$ax_cv_gxx_version"; then
44327 { echo "$as_me:$LINENO: checking whether __thread support in g++ is usable" >&5
44328 echo $ECHO_N "checking whether __thread support in g++ is usable... $ECHO_C" >&6; }
44329 case "$ax_cv_gxx_version" in
44330 1.* | 2.* | 3.* )
44331 { echo "$as_me:$LINENO: result: no, it's broken" >&5
44332 echo "${ECHO_T}no, it's broken" >&6; }
44333 wx_cv_cc___thread=no
44334 ;;
44335 *)
44336 { echo "$as_me:$LINENO: result: yes, it works" >&5
44337 echo "${ECHO_T}yes, it works" >&6; }
44338 ;;
44339 esac
44340 fi
44341 fi
44342
44343 if test "$wx_cv_cc___thread" = "yes"; then
44344 cat >>confdefs.h <<\_ACEOF
44345 #define HAVE___THREAD_KEYWORD 1
44346 _ACEOF
44347
44348 fi
44349 fi
44350 fi
44351
44352 else
44353 if test "$wxUSE_THREADS" = "yes" ; then
44354 case "${host}" in
44355 x86_64-*-mingw32* )
44356 ;;
44357 *-*-mingw32* )
44358 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
44359 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
44360 if test "${wx_cv_cflags_mthread+set}" = set; then
44361 echo $ECHO_N "(cached) $ECHO_C" >&6
44362 else
44363
44364 CFLAGS_OLD="$CFLAGS"
44365 CFLAGS="-mthreads $CFLAGS"
44366 cat >conftest.$ac_ext <<_ACEOF
44367 /* confdefs.h. */
44368 _ACEOF
44369 cat confdefs.h >>conftest.$ac_ext
44370 cat >>conftest.$ac_ext <<_ACEOF
44371 /* end confdefs.h. */
44372
44373 int
44374 main ()
44375 {
44376
44377 ;
44378 return 0;
44379 }
44380 _ACEOF
44381 rm -f conftest.$ac_objext
44382 if { (ac_try="$ac_compile"
44383 case "(($ac_try" in
44384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44385 *) ac_try_echo=$ac_try;;
44386 esac
44387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44388 (eval "$ac_compile") 2>conftest.er1
44389 ac_status=$?
44390 grep -v '^ *+' conftest.er1 >conftest.err
44391 rm -f conftest.er1
44392 cat conftest.err >&5
44393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44394 (exit $ac_status); } && {
44395 test -z "$ac_c_werror_flag" ||
44396 test ! -s conftest.err
44397 } && test -s conftest.$ac_objext; then
44398 wx_cv_cflags_mthread=yes
44399 else
44400 echo "$as_me: failed program was:" >&5
44401 sed 's/^/| /' conftest.$ac_ext >&5
44402
44403 wx_cv_cflags_mthread=no
44404
44405 fi
44406
44407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44408
44409
44410 fi
44411 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
44412 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
44413
44414 if test "$wx_cv_cflags_mthread" = "yes"; then
44415 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
44416 LDFLAGS="$LDFLAGS -mthreads"
44417 else
44418 CFLAGS="$CFLAGS_OLD"
44419 fi
44420 ;;
44421 *-pc-os2*emx )
44422 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
44423 LDFLAGS="$LDFLAGS -Zmt"
44424 ;;
44425 esac
44426 fi
44427 fi
44428
44429 { echo "$as_me:$LINENO: checking for localtime_r" >&5
44430 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
44431 if test "${ac_cv_func_localtime_r+set}" = set; then
44432 echo $ECHO_N "(cached) $ECHO_C" >&6
44433 else
44434 cat >conftest.$ac_ext <<_ACEOF
44435 /* confdefs.h. */
44436 _ACEOF
44437 cat confdefs.h >>conftest.$ac_ext
44438 cat >>conftest.$ac_ext <<_ACEOF
44439 /* end confdefs.h. */
44440 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
44441 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44442 #define localtime_r innocuous_localtime_r
44443
44444 /* System header to define __stub macros and hopefully few prototypes,
44445 which can conflict with char localtime_r (); below.
44446 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44447 <limits.h> exists even on freestanding compilers. */
44448
44449 #ifdef __STDC__
44450 # include <limits.h>
44451 #else
44452 # include <assert.h>
44453 #endif
44454
44455 #undef localtime_r
44456
44457 /* Override any GCC internal prototype to avoid an error.
44458 Use char because int might match the return type of a GCC
44459 builtin and then its argument prototype would still apply. */
44460 #ifdef __cplusplus
44461 extern "C"
44462 #endif
44463 char localtime_r ();
44464 /* The GNU C library defines this for functions which it implements
44465 to always fail with ENOSYS. Some functions are actually named
44466 something starting with __ and the normal name is an alias. */
44467 #if defined __stub_localtime_r || defined __stub___localtime_r
44468 choke me
44469 #endif
44470
44471 int
44472 main ()
44473 {
44474 return localtime_r ();
44475 ;
44476 return 0;
44477 }
44478 _ACEOF
44479 rm -f conftest.$ac_objext conftest$ac_exeext
44480 if { (ac_try="$ac_link"
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_link") 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_exeext &&
44496 $as_test_x conftest$ac_exeext; then
44497 ac_cv_func_localtime_r=yes
44498 else
44499 echo "$as_me: failed program was:" >&5
44500 sed 's/^/| /' conftest.$ac_ext >&5
44501
44502 ac_cv_func_localtime_r=no
44503 fi
44504
44505 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44506 conftest$ac_exeext conftest.$ac_ext
44507 fi
44508 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
44509 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
44510 if test $ac_cv_func_localtime_r = yes; then
44511 cat >>confdefs.h <<\_ACEOF
44512 #define HAVE_LOCALTIME_R 1
44513 _ACEOF
44514
44515 fi
44516
44517 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
44518 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
44519 if test "${ac_cv_func_gmtime_r+set}" = set; then
44520 echo $ECHO_N "(cached) $ECHO_C" >&6
44521 else
44522 cat >conftest.$ac_ext <<_ACEOF
44523 /* confdefs.h. */
44524 _ACEOF
44525 cat confdefs.h >>conftest.$ac_ext
44526 cat >>conftest.$ac_ext <<_ACEOF
44527 /* end confdefs.h. */
44528 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
44529 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44530 #define gmtime_r innocuous_gmtime_r
44531
44532 /* System header to define __stub macros and hopefully few prototypes,
44533 which can conflict with char gmtime_r (); below.
44534 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44535 <limits.h> exists even on freestanding compilers. */
44536
44537 #ifdef __STDC__
44538 # include <limits.h>
44539 #else
44540 # include <assert.h>
44541 #endif
44542
44543 #undef gmtime_r
44544
44545 /* Override any GCC internal prototype to avoid an error.
44546 Use char because int might match the return type of a GCC
44547 builtin and then its argument prototype would still apply. */
44548 #ifdef __cplusplus
44549 extern "C"
44550 #endif
44551 char gmtime_r ();
44552 /* The GNU C library defines this for functions which it implements
44553 to always fail with ENOSYS. Some functions are actually named
44554 something starting with __ and the normal name is an alias. */
44555 #if defined __stub_gmtime_r || defined __stub___gmtime_r
44556 choke me
44557 #endif
44558
44559 int
44560 main ()
44561 {
44562 return gmtime_r ();
44563 ;
44564 return 0;
44565 }
44566 _ACEOF
44567 rm -f conftest.$ac_objext conftest$ac_exeext
44568 if { (ac_try="$ac_link"
44569 case "(($ac_try" in
44570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44571 *) ac_try_echo=$ac_try;;
44572 esac
44573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44574 (eval "$ac_link") 2>conftest.er1
44575 ac_status=$?
44576 grep -v '^ *+' conftest.er1 >conftest.err
44577 rm -f conftest.er1
44578 cat conftest.err >&5
44579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44580 (exit $ac_status); } && {
44581 test -z "$ac_c_werror_flag" ||
44582 test ! -s conftest.err
44583 } && test -s conftest$ac_exeext &&
44584 $as_test_x conftest$ac_exeext; then
44585 ac_cv_func_gmtime_r=yes
44586 else
44587 echo "$as_me: failed program was:" >&5
44588 sed 's/^/| /' conftest.$ac_ext >&5
44589
44590 ac_cv_func_gmtime_r=no
44591 fi
44592
44593 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44594 conftest$ac_exeext conftest.$ac_ext
44595 fi
44596 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
44597 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
44598 if test $ac_cv_func_gmtime_r = yes; then
44599 cat >>confdefs.h <<\_ACEOF
44600 #define HAVE_GMTIME_R 1
44601 _ACEOF
44602
44603 fi
44604
44605
44606
44607
44608 ac_ext=c
44609 ac_cpp='$CPP $CPPFLAGS'
44610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44613
44614 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
44615 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
44616
44617 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
44618 echo $ECHO_N "(cached) $ECHO_C" >&6
44619 else
44620
44621
44622 ################################################################
44623
44624 ac_cv_func_which_gethostbyname_r=unknown
44625
44626 #
44627 # ONE ARGUMENT (sanity check)
44628 #
44629
44630 # This should fail, as there is no variant of gethostbyname_r() that takes
44631 # a single argument. If it actually compiles, then we can assume that
44632 # netdb.h is not declaring the function, and the compiler is thereby
44633 # assuming an implicit prototype. In which case, we're out of luck.
44634 #
44635 cat >conftest.$ac_ext <<_ACEOF
44636 /* confdefs.h. */
44637 _ACEOF
44638 cat confdefs.h >>conftest.$ac_ext
44639 cat >>conftest.$ac_ext <<_ACEOF
44640 /* end confdefs.h. */
44641 #include <netdb.h>
44642 int
44643 main ()
44644 {
44645
44646 char *name = "www.gnu.org";
44647 (void)gethostbyname_r(name) /* ; */
44648
44649
44650 ;
44651 return 0;
44652 }
44653 _ACEOF
44654 rm -f conftest.$ac_objext
44655 if { (ac_try="$ac_compile"
44656 case "(($ac_try" in
44657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44658 *) ac_try_echo=$ac_try;;
44659 esac
44660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44661 (eval "$ac_compile") 2>conftest.er1
44662 ac_status=$?
44663 grep -v '^ *+' conftest.er1 >conftest.err
44664 rm -f conftest.er1
44665 cat conftest.err >&5
44666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44667 (exit $ac_status); } && {
44668 test -z "$ac_c_werror_flag" ||
44669 test ! -s conftest.err
44670 } && test -s conftest.$ac_objext; then
44671 ac_cv_func_which_gethostbyname_r=no
44672
44673 else
44674 echo "$as_me: failed program was:" >&5
44675 sed 's/^/| /' conftest.$ac_ext >&5
44676
44677
44678 fi
44679
44680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44681
44682 #
44683 # SIX ARGUMENTS
44684 # (e.g. Linux)
44685 #
44686
44687 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
44688
44689 cat >conftest.$ac_ext <<_ACEOF
44690 /* confdefs.h. */
44691 _ACEOF
44692 cat confdefs.h >>conftest.$ac_ext
44693 cat >>conftest.$ac_ext <<_ACEOF
44694 /* end confdefs.h. */
44695 #include <netdb.h>
44696 int
44697 main ()
44698 {
44699
44700 char *name = "www.gnu.org";
44701 struct hostent ret, *retp;
44702 char buf[1024];
44703 int buflen = 1024;
44704 int my_h_errno;
44705 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
44706
44707
44708 ;
44709 return 0;
44710 }
44711 _ACEOF
44712 rm -f conftest.$ac_objext
44713 if { (ac_try="$ac_compile"
44714 case "(($ac_try" in
44715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44716 *) ac_try_echo=$ac_try;;
44717 esac
44718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44719 (eval "$ac_compile") 2>conftest.er1
44720 ac_status=$?
44721 grep -v '^ *+' conftest.er1 >conftest.err
44722 rm -f conftest.er1
44723 cat conftest.err >&5
44724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44725 (exit $ac_status); } && {
44726 test -z "$ac_c_werror_flag" ||
44727 test ! -s conftest.err
44728 } && test -s conftest.$ac_objext; then
44729 ac_cv_func_which_gethostbyname_r=six
44730
44731 else
44732 echo "$as_me: failed program was:" >&5
44733 sed 's/^/| /' conftest.$ac_ext >&5
44734
44735
44736 fi
44737
44738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44739
44740 fi
44741
44742 #
44743 # FIVE ARGUMENTS
44744 # (e.g. Solaris)
44745 #
44746
44747 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
44748
44749 cat >conftest.$ac_ext <<_ACEOF
44750 /* confdefs.h. */
44751 _ACEOF
44752 cat confdefs.h >>conftest.$ac_ext
44753 cat >>conftest.$ac_ext <<_ACEOF
44754 /* end confdefs.h. */
44755 #include <netdb.h>
44756 int
44757 main ()
44758 {
44759
44760 char *name = "www.gnu.org";
44761 struct hostent ret;
44762 char buf[1024];
44763 int buflen = 1024;
44764 int my_h_errno;
44765 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
44766
44767
44768 ;
44769 return 0;
44770 }
44771 _ACEOF
44772 rm -f conftest.$ac_objext
44773 if { (ac_try="$ac_compile"
44774 case "(($ac_try" in
44775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44776 *) ac_try_echo=$ac_try;;
44777 esac
44778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44779 (eval "$ac_compile") 2>conftest.er1
44780 ac_status=$?
44781 grep -v '^ *+' conftest.er1 >conftest.err
44782 rm -f conftest.er1
44783 cat conftest.err >&5
44784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44785 (exit $ac_status); } && {
44786 test -z "$ac_c_werror_flag" ||
44787 test ! -s conftest.err
44788 } && test -s conftest.$ac_objext; then
44789 ac_cv_func_which_gethostbyname_r=five
44790
44791 else
44792 echo "$as_me: failed program was:" >&5
44793 sed 's/^/| /' conftest.$ac_ext >&5
44794
44795
44796 fi
44797
44798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44799
44800 fi
44801
44802 #
44803 # THREE ARGUMENTS
44804 # (e.g. AIX, HP-UX, Tru64)
44805 #
44806
44807 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
44808
44809 cat >conftest.$ac_ext <<_ACEOF
44810 /* confdefs.h. */
44811 _ACEOF
44812 cat confdefs.h >>conftest.$ac_ext
44813 cat >>conftest.$ac_ext <<_ACEOF
44814 /* end confdefs.h. */
44815 #include <netdb.h>
44816 int
44817 main ()
44818 {
44819
44820 char *name = "www.gnu.org";
44821 struct hostent ret;
44822 struct hostent_data data;
44823 (void)gethostbyname_r(name, &ret, &data) /* ; */
44824
44825
44826 ;
44827 return 0;
44828 }
44829 _ACEOF
44830 rm -f conftest.$ac_objext
44831 if { (ac_try="$ac_compile"
44832 case "(($ac_try" in
44833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44834 *) ac_try_echo=$ac_try;;
44835 esac
44836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44837 (eval "$ac_compile") 2>conftest.er1
44838 ac_status=$?
44839 grep -v '^ *+' conftest.er1 >conftest.err
44840 rm -f conftest.er1
44841 cat conftest.err >&5
44842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44843 (exit $ac_status); } && {
44844 test -z "$ac_c_werror_flag" ||
44845 test ! -s conftest.err
44846 } && test -s conftest.$ac_objext; then
44847 ac_cv_func_which_gethostbyname_r=three
44848
44849 else
44850 echo "$as_me: failed program was:" >&5
44851 sed 's/^/| /' conftest.$ac_ext >&5
44852
44853
44854 fi
44855
44856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44857
44858 fi
44859
44860 ################################################################
44861
44862
44863 fi
44864
44865 case "$ac_cv_func_which_gethostbyname_r" in
44866 three)
44867 { echo "$as_me:$LINENO: result: three" >&5
44868 echo "${ECHO_T}three" >&6; }
44869 cat >>confdefs.h <<\_ACEOF
44870 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
44871 _ACEOF
44872
44873 ;;
44874
44875 five)
44876 { echo "$as_me:$LINENO: result: five" >&5
44877 echo "${ECHO_T}five" >&6; }
44878 cat >>confdefs.h <<\_ACEOF
44879 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
44880 _ACEOF
44881
44882 ;;
44883
44884 six)
44885 { echo "$as_me:$LINENO: result: six" >&5
44886 echo "${ECHO_T}six" >&6; }
44887 cat >>confdefs.h <<\_ACEOF
44888 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
44889 _ACEOF
44890
44891 ;;
44892
44893 no)
44894 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
44895 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
44896 ;;
44897
44898 unknown)
44899 { echo "$as_me:$LINENO: result: can't tell" >&5
44900 echo "${ECHO_T}can't tell" >&6; }
44901 ;;
44902
44903 *)
44904 { { echo "$as_me:$LINENO: error: internal error" >&5
44905 echo "$as_me: error: internal error" >&2;}
44906 { (exit 1); exit 1; }; }
44907 ;;
44908 esac
44909
44910 ac_ext=c
44911 ac_cpp='$CPP $CPPFLAGS'
44912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44915
44916
44917
44918 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
44919 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
44920 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
44921 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
44922 if test "${ac_cv_func_gethostbyname+set}" = set; then
44923 echo $ECHO_N "(cached) $ECHO_C" >&6
44924 else
44925 cat >conftest.$ac_ext <<_ACEOF
44926 /* confdefs.h. */
44927 _ACEOF
44928 cat confdefs.h >>conftest.$ac_ext
44929 cat >>conftest.$ac_ext <<_ACEOF
44930 /* end confdefs.h. */
44931 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
44932 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44933 #define gethostbyname innocuous_gethostbyname
44934
44935 /* System header to define __stub macros and hopefully few prototypes,
44936 which can conflict with char gethostbyname (); below.
44937 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44938 <limits.h> exists even on freestanding compilers. */
44939
44940 #ifdef __STDC__
44941 # include <limits.h>
44942 #else
44943 # include <assert.h>
44944 #endif
44945
44946 #undef gethostbyname
44947
44948 /* Override any GCC internal prototype to avoid an error.
44949 Use char because int might match the return type of a GCC
44950 builtin and then its argument prototype would still apply. */
44951 #ifdef __cplusplus
44952 extern "C"
44953 #endif
44954 char gethostbyname ();
44955 /* The GNU C library defines this for functions which it implements
44956 to always fail with ENOSYS. Some functions are actually named
44957 something starting with __ and the normal name is an alias. */
44958 #if defined __stub_gethostbyname || defined __stub___gethostbyname
44959 choke me
44960 #endif
44961
44962 int
44963 main ()
44964 {
44965 return gethostbyname ();
44966 ;
44967 return 0;
44968 }
44969 _ACEOF
44970 rm -f conftest.$ac_objext conftest$ac_exeext
44971 if { (ac_try="$ac_link"
44972 case "(($ac_try" in
44973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44974 *) ac_try_echo=$ac_try;;
44975 esac
44976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44977 (eval "$ac_link") 2>conftest.er1
44978 ac_status=$?
44979 grep -v '^ *+' conftest.er1 >conftest.err
44980 rm -f conftest.er1
44981 cat conftest.err >&5
44982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44983 (exit $ac_status); } && {
44984 test -z "$ac_c_werror_flag" ||
44985 test ! -s conftest.err
44986 } && test -s conftest$ac_exeext &&
44987 $as_test_x conftest$ac_exeext; then
44988 ac_cv_func_gethostbyname=yes
44989 else
44990 echo "$as_me: failed program was:" >&5
44991 sed 's/^/| /' conftest.$ac_ext >&5
44992
44993 ac_cv_func_gethostbyname=no
44994 fi
44995
44996 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44997 conftest$ac_exeext conftest.$ac_ext
44998 fi
44999 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
45000 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
45001 if test $ac_cv_func_gethostbyname = yes; then
45002 cat >>confdefs.h <<\_ACEOF
45003 #define HAVE_GETHOSTBYNAME 1
45004 _ACEOF
45005
45006 fi
45007
45008 fi
45009
45010 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
45011 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
45012 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
45013 echo $ECHO_N "(cached) $ECHO_C" >&6
45014 else
45015
45016 ac_ext=cpp
45017 ac_cpp='$CXXCPP $CPPFLAGS'
45018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45021
45022
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 #include <netdb.h>
45030 int
45031 main ()
45032 {
45033
45034 char *name;
45035 char *proto;
45036 struct servent *se, *res;
45037 char buffer[2048];
45038 int buflen = 2048;
45039 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
45040
45041 ;
45042 return 0;
45043 }
45044 _ACEOF
45045 rm -f conftest.$ac_objext
45046 if { (ac_try="$ac_compile"
45047 case "(($ac_try" in
45048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45049 *) ac_try_echo=$ac_try;;
45050 esac
45051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45052 (eval "$ac_compile") 2>conftest.er1
45053 ac_status=$?
45054 grep -v '^ *+' conftest.er1 >conftest.err
45055 rm -f conftest.er1
45056 cat conftest.err >&5
45057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45058 (exit $ac_status); } && {
45059 test -z "$ac_cxx_werror_flag" ||
45060 test ! -s conftest.err
45061 } && test -s conftest.$ac_objext; then
45062 ac_cv_func_which_getservbyname_r=six
45063 else
45064 echo "$as_me: failed program was:" >&5
45065 sed 's/^/| /' conftest.$ac_ext >&5
45066
45067
45068 cat >conftest.$ac_ext <<_ACEOF
45069 /* confdefs.h. */
45070 _ACEOF
45071 cat confdefs.h >>conftest.$ac_ext
45072 cat >>conftest.$ac_ext <<_ACEOF
45073 /* end confdefs.h. */
45074 #include <netdb.h>
45075 int
45076 main ()
45077 {
45078
45079 char *name;
45080 char *proto;
45081 struct servent *se;
45082 char buffer[2048];
45083 int buflen = 2048;
45084 (void) getservbyname_r(name, proto, se, buffer, buflen)
45085
45086 ;
45087 return 0;
45088 }
45089 _ACEOF
45090 rm -f conftest.$ac_objext
45091 if { (ac_try="$ac_compile"
45092 case "(($ac_try" in
45093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45094 *) ac_try_echo=$ac_try;;
45095 esac
45096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45097 (eval "$ac_compile") 2>conftest.er1
45098 ac_status=$?
45099 grep -v '^ *+' conftest.er1 >conftest.err
45100 rm -f conftest.er1
45101 cat conftest.err >&5
45102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45103 (exit $ac_status); } && {
45104 test -z "$ac_cxx_werror_flag" ||
45105 test ! -s conftest.err
45106 } && test -s conftest.$ac_objext; then
45107 ac_cv_func_which_getservbyname_r=five
45108 else
45109 echo "$as_me: failed program was:" >&5
45110 sed 's/^/| /' conftest.$ac_ext >&5
45111
45112
45113 cat >conftest.$ac_ext <<_ACEOF
45114 /* confdefs.h. */
45115 _ACEOF
45116 cat confdefs.h >>conftest.$ac_ext
45117 cat >>conftest.$ac_ext <<_ACEOF
45118 /* end confdefs.h. */
45119 #include <netdb.h>
45120 int
45121 main ()
45122 {
45123
45124 char *name;
45125 char *proto;
45126 struct servent *se;
45127 struct servent_data data;
45128 (void) getservbyname_r(name, proto, se, &data);
45129
45130 ;
45131 return 0;
45132 }
45133 _ACEOF
45134 rm -f conftest.$ac_objext
45135 if { (ac_try="$ac_compile"
45136 case "(($ac_try" in
45137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45138 *) ac_try_echo=$ac_try;;
45139 esac
45140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45141 (eval "$ac_compile") 2>conftest.er1
45142 ac_status=$?
45143 grep -v '^ *+' conftest.er1 >conftest.err
45144 rm -f conftest.er1
45145 cat conftest.err >&5
45146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45147 (exit $ac_status); } && {
45148 test -z "$ac_cxx_werror_flag" ||
45149 test ! -s conftest.err
45150 } && test -s conftest.$ac_objext; then
45151 ac_cv_func_which_getservbyname_r=four
45152 else
45153 echo "$as_me: failed program was:" >&5
45154 sed 's/^/| /' conftest.$ac_ext >&5
45155
45156 ac_cv_func_which_getservbyname_r=no
45157
45158 fi
45159
45160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45161
45162
45163 fi
45164
45165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45166
45167
45168 fi
45169
45170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45171 ac_ext=c
45172 ac_cpp='$CPP $CPPFLAGS'
45173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45176
45177
45178
45179 fi
45180 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
45181 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
45182
45183 if test $ac_cv_func_which_getservbyname_r = six; then
45184 cat >>confdefs.h <<\_ACEOF
45185 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
45186 _ACEOF
45187
45188 elif test $ac_cv_func_which_getservbyname_r = five; then
45189 cat >>confdefs.h <<\_ACEOF
45190 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
45191 _ACEOF
45192
45193 elif test $ac_cv_func_which_getservbyname_r = four; then
45194 cat >>confdefs.h <<\_ACEOF
45195 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
45196 _ACEOF
45197
45198 fi
45199
45200
45201 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
45202 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
45203
45204 for ac_func in getservbyname
45205 do
45206 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45207 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45208 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45209 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45210 echo $ECHO_N "(cached) $ECHO_C" >&6
45211 else
45212 cat >conftest.$ac_ext <<_ACEOF
45213 /* confdefs.h. */
45214 _ACEOF
45215 cat confdefs.h >>conftest.$ac_ext
45216 cat >>conftest.$ac_ext <<_ACEOF
45217 /* end confdefs.h. */
45218 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45219 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45220 #define $ac_func innocuous_$ac_func
45221
45222 /* System header to define __stub macros and hopefully few prototypes,
45223 which can conflict with char $ac_func (); below.
45224 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45225 <limits.h> exists even on freestanding compilers. */
45226
45227 #ifdef __STDC__
45228 # include <limits.h>
45229 #else
45230 # include <assert.h>
45231 #endif
45232
45233 #undef $ac_func
45234
45235 /* Override any GCC internal prototype to avoid an error.
45236 Use char because int might match the return type of a GCC
45237 builtin and then its argument prototype would still apply. */
45238 #ifdef __cplusplus
45239 extern "C"
45240 #endif
45241 char $ac_func ();
45242 /* The GNU C library defines this for functions which it implements
45243 to always fail with ENOSYS. Some functions are actually named
45244 something starting with __ and the normal name is an alias. */
45245 #if defined __stub_$ac_func || defined __stub___$ac_func
45246 choke me
45247 #endif
45248
45249 int
45250 main ()
45251 {
45252 return $ac_func ();
45253 ;
45254 return 0;
45255 }
45256 _ACEOF
45257 rm -f conftest.$ac_objext conftest$ac_exeext
45258 if { (ac_try="$ac_link"
45259 case "(($ac_try" in
45260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45261 *) ac_try_echo=$ac_try;;
45262 esac
45263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45264 (eval "$ac_link") 2>conftest.er1
45265 ac_status=$?
45266 grep -v '^ *+' conftest.er1 >conftest.err
45267 rm -f conftest.er1
45268 cat conftest.err >&5
45269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45270 (exit $ac_status); } && {
45271 test -z "$ac_c_werror_flag" ||
45272 test ! -s conftest.err
45273 } && test -s conftest$ac_exeext &&
45274 $as_test_x conftest$ac_exeext; then
45275 eval "$as_ac_var=yes"
45276 else
45277 echo "$as_me: failed program was:" >&5
45278 sed 's/^/| /' conftest.$ac_ext >&5
45279
45280 eval "$as_ac_var=no"
45281 fi
45282
45283 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45284 conftest$ac_exeext conftest.$ac_ext
45285 fi
45286 ac_res=`eval echo '${'$as_ac_var'}'`
45287 { echo "$as_me:$LINENO: result: $ac_res" >&5
45288 echo "${ECHO_T}$ac_res" >&6; }
45289 if test `eval echo '${'$as_ac_var'}'` = yes; then
45290 cat >>confdefs.h <<_ACEOF
45291 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45292 _ACEOF
45293 cat >>confdefs.h <<\_ACEOF
45294 #define HAVE_GETSERVBYNAME 1
45295 _ACEOF
45296
45297 fi
45298 done
45299
45300 fi
45301
45302 if test "$wxUSE_THREADS" = "yes"; then
45303 cat >>confdefs.h <<\_ACEOF
45304 #define wxUSE_THREADS 1
45305 _ACEOF
45306
45307
45308 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
45309 else
45310 if test "$wx_cv_func_strtok_r" = "yes"; then
45311 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
45312 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
45313 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
45314 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
45315 { echo "$as_me:$LINENO: result: yes" >&5
45316 echo "${ECHO_T}yes" >&6; }
45317 else
45318 { echo "$as_me:$LINENO: result: no" >&5
45319 echo "${ECHO_T}no" >&6; }
45320 fi
45321 fi
45322 fi
45323
45324 if test "$WXGTK2" = 1 ; then
45325 cat >>confdefs.h <<_ACEOF
45326 #define __WXGTK20__ $WXGTK2
45327 _ACEOF
45328
45329 fi
45330
45331 if test "$WXGTK127" = 1 ; then
45332 cat >>confdefs.h <<_ACEOF
45333 #define __WXGTK127__ $WXGTK127
45334 _ACEOF
45335
45336 fi
45337
45338 if test "$WXGPE" = 1 ; then
45339 cat >>confdefs.h <<_ACEOF
45340 #define __WXGPE__ $WXGPE
45341 _ACEOF
45342
45343 fi
45344
45345 DEBUG_CFLAGS=
45346 if `echo $CXXFLAGS $CFLAGS | grep " -g" >/dev/null`; then
45347 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&5
45348 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&2;}
45349 elif test "$wxUSE_DEBUG_INFO" = "yes" ; then
45350 DEBUG_CFLAGS="-g"
45351 fi
45352
45353 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
45354 wxUSE_DEBUG_INFO=yes
45355 if test "$GCC" = yes; then
45356 DEBUG_CFLAGS="-ggdb"
45357 fi
45358 fi
45359
45360 if test "$wxUSE_DEBUG_FLAG" = "no" ; then
45361 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=0"
45362
45363 if test "$wxUSE_GTK" = 1 ; then
45364 if test "x$wxGTK_VERSION" = "x1" ; then
45365 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
45366 else
45367 CPPFLAGS="$CPPFLAGS -DG_DISABLE_CAST_CHECKS"
45368 fi
45369 fi
45370 fi
45371
45372 if test "$wxUSE_MEM_TRACING" = "yes" ; then
45373 cat >>confdefs.h <<\_ACEOF
45374 #define wxUSE_MEMORY_TRACING 1
45375 _ACEOF
45376
45377 cat >>confdefs.h <<\_ACEOF
45378 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
45379 _ACEOF
45380
45381 cat >>confdefs.h <<\_ACEOF
45382 #define wxUSE_DEBUG_NEW_ALWAYS 1
45383 _ACEOF
45384
45385 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
45386 fi
45387
45388 if test "$wxUSE_DMALLOC" = "yes" ; then
45389 DMALLOC_LIBS="-ldmallocthcxx"
45390 fi
45391
45392 PROFILE_FLAGS=
45393 if test "$wxUSE_PROFILE" = "yes" ; then
45394 PROFILE_FLAGS=" -pg"
45395 fi
45396
45397 if test "$GCC" = "yes" ; then
45398 if test "$wxUSE_NO_RTTI" = "yes" ; then
45399 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -DwxNO_RTTI -fno-rtti"
45400 fi
45401 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
45402 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
45403 fi
45404 if test "$wxUSE_PERMISSIVE" = "yes" ; then
45405 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
45406 fi
45407
45408 case "${host}" in
45409 powerpc*-*-aix* )
45410 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
45411 ;;
45412 *-hppa* )
45413 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
45414 ;;
45415 esac
45416 fi
45417
45418 OPTIMISE_CFLAGS=
45419 if `echo $CXXFLAGS $CFLAGS | grep " -O" >/dev/null`; then
45420 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&5
45421 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&2;}
45422 else
45423 if test "$wxUSE_OPTIMISE" = "no" ; then
45424 if test "$GCC" = yes ; then
45425 OPTIMISE_CFLAGS="-O0"
45426 fi
45427 else
45428 if test "$GCC" = yes ; then
45429 case "${host}" in
45430 *-pc-os2_emx | *-pc-os2-emx )
45431 OPTIMISE_CFLAGS="-O2"
45432 ;;
45433 *)
45434 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
45435 ;;
45436 esac
45437 else
45438 OPTIMISE_CFLAGS="-O"
45439 fi
45440 fi
45441 fi
45442
45443
45444 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
45445 cat >>confdefs.h <<\_ACEOF
45446 #define WXWIN_COMPATIBILITY_2_6 1
45447 _ACEOF
45448
45449
45450 WXWIN_COMPATIBILITY_2_8="yes"
45451 fi
45452
45453 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
45454 cat >>confdefs.h <<\_ACEOF
45455 #define WXWIN_COMPATIBILITY_2_8 1
45456 _ACEOF
45457
45458 fi
45459
45460
45461 if test "$wxUSE_GUI" = "yes"; then
45462 cat >>confdefs.h <<\_ACEOF
45463 #define wxUSE_GUI 1
45464 _ACEOF
45465
45466
45467 fi
45468
45469
45470 if test "$wxUSE_UNIX" = "yes"; then
45471 cat >>confdefs.h <<\_ACEOF
45472 #define wxUSE_UNIX 1
45473 _ACEOF
45474
45475 fi
45476
45477
45478 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
45479
45480 HAVE_DL_FUNCS=0
45481 HAVE_SHL_FUNCS=0
45482 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
45483 if test "$USE_DOS" = 1; then
45484 HAVE_DL_FUNCS=0
45485 else
45486
45487 for ac_func in dlopen
45488 do
45489 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45490 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45491 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45492 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45493 echo $ECHO_N "(cached) $ECHO_C" >&6
45494 else
45495 cat >conftest.$ac_ext <<_ACEOF
45496 /* confdefs.h. */
45497 _ACEOF
45498 cat confdefs.h >>conftest.$ac_ext
45499 cat >>conftest.$ac_ext <<_ACEOF
45500 /* end confdefs.h. */
45501 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45502 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45503 #define $ac_func innocuous_$ac_func
45504
45505 /* System header to define __stub macros and hopefully few prototypes,
45506 which can conflict with char $ac_func (); below.
45507 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45508 <limits.h> exists even on freestanding compilers. */
45509
45510 #ifdef __STDC__
45511 # include <limits.h>
45512 #else
45513 # include <assert.h>
45514 #endif
45515
45516 #undef $ac_func
45517
45518 /* Override any GCC internal prototype to avoid an error.
45519 Use char because int might match the return type of a GCC
45520 builtin and then its argument prototype would still apply. */
45521 #ifdef __cplusplus
45522 extern "C"
45523 #endif
45524 char $ac_func ();
45525 /* The GNU C library defines this for functions which it implements
45526 to always fail with ENOSYS. Some functions are actually named
45527 something starting with __ and the normal name is an alias. */
45528 #if defined __stub_$ac_func || defined __stub___$ac_func
45529 choke me
45530 #endif
45531
45532 int
45533 main ()
45534 {
45535 return $ac_func ();
45536 ;
45537 return 0;
45538 }
45539 _ACEOF
45540 rm -f conftest.$ac_objext conftest$ac_exeext
45541 if { (ac_try="$ac_link"
45542 case "(($ac_try" in
45543 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45544 *) ac_try_echo=$ac_try;;
45545 esac
45546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45547 (eval "$ac_link") 2>conftest.er1
45548 ac_status=$?
45549 grep -v '^ *+' conftest.er1 >conftest.err
45550 rm -f conftest.er1
45551 cat conftest.err >&5
45552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45553 (exit $ac_status); } && {
45554 test -z "$ac_c_werror_flag" ||
45555 test ! -s conftest.err
45556 } && test -s conftest$ac_exeext &&
45557 $as_test_x conftest$ac_exeext; then
45558 eval "$as_ac_var=yes"
45559 else
45560 echo "$as_me: failed program was:" >&5
45561 sed 's/^/| /' conftest.$ac_ext >&5
45562
45563 eval "$as_ac_var=no"
45564 fi
45565
45566 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45567 conftest$ac_exeext conftest.$ac_ext
45568 fi
45569 ac_res=`eval echo '${'$as_ac_var'}'`
45570 { echo "$as_me:$LINENO: result: $ac_res" >&5
45571 echo "${ECHO_T}$ac_res" >&6; }
45572 if test `eval echo '${'$as_ac_var'}'` = yes; then
45573 cat >>confdefs.h <<_ACEOF
45574 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45575 _ACEOF
45576
45577 cat >>confdefs.h <<\_ACEOF
45578 #define HAVE_DLOPEN 1
45579 _ACEOF
45580
45581 HAVE_DL_FUNCS=1
45582
45583 else
45584
45585 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
45586 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
45587 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
45588 echo $ECHO_N "(cached) $ECHO_C" >&6
45589 else
45590 ac_check_lib_save_LIBS=$LIBS
45591 LIBS="-ldl $LIBS"
45592 cat >conftest.$ac_ext <<_ACEOF
45593 /* confdefs.h. */
45594 _ACEOF
45595 cat confdefs.h >>conftest.$ac_ext
45596 cat >>conftest.$ac_ext <<_ACEOF
45597 /* end confdefs.h. */
45598
45599 /* Override any GCC internal prototype to avoid an error.
45600 Use char because int might match the return type of a GCC
45601 builtin and then its argument prototype would still apply. */
45602 #ifdef __cplusplus
45603 extern "C"
45604 #endif
45605 char dlopen ();
45606 int
45607 main ()
45608 {
45609 return dlopen ();
45610 ;
45611 return 0;
45612 }
45613 _ACEOF
45614 rm -f conftest.$ac_objext conftest$ac_exeext
45615 if { (ac_try="$ac_link"
45616 case "(($ac_try" in
45617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45618 *) ac_try_echo=$ac_try;;
45619 esac
45620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45621 (eval "$ac_link") 2>conftest.er1
45622 ac_status=$?
45623 grep -v '^ *+' conftest.er1 >conftest.err
45624 rm -f conftest.er1
45625 cat conftest.err >&5
45626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45627 (exit $ac_status); } && {
45628 test -z "$ac_c_werror_flag" ||
45629 test ! -s conftest.err
45630 } && test -s conftest$ac_exeext &&
45631 $as_test_x conftest$ac_exeext; then
45632 ac_cv_lib_dl_dlopen=yes
45633 else
45634 echo "$as_me: failed program was:" >&5
45635 sed 's/^/| /' conftest.$ac_ext >&5
45636
45637 ac_cv_lib_dl_dlopen=no
45638 fi
45639
45640 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45641 conftest$ac_exeext conftest.$ac_ext
45642 LIBS=$ac_check_lib_save_LIBS
45643 fi
45644 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
45645 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
45646 if test $ac_cv_lib_dl_dlopen = yes; then
45647
45648 cat >>confdefs.h <<\_ACEOF
45649 #define HAVE_DLOPEN 1
45650 _ACEOF
45651
45652 HAVE_DL_FUNCS=1
45653 DL_LINK=" -ldl$DL_LINK"
45654
45655 else
45656
45657
45658 for ac_func in shl_load
45659 do
45660 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45661 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45662 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45663 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45664 echo $ECHO_N "(cached) $ECHO_C" >&6
45665 else
45666 cat >conftest.$ac_ext <<_ACEOF
45667 /* confdefs.h. */
45668 _ACEOF
45669 cat confdefs.h >>conftest.$ac_ext
45670 cat >>conftest.$ac_ext <<_ACEOF
45671 /* end confdefs.h. */
45672 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45673 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45674 #define $ac_func innocuous_$ac_func
45675
45676 /* System header to define __stub macros and hopefully few prototypes,
45677 which can conflict with char $ac_func (); below.
45678 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45679 <limits.h> exists even on freestanding compilers. */
45680
45681 #ifdef __STDC__
45682 # include <limits.h>
45683 #else
45684 # include <assert.h>
45685 #endif
45686
45687 #undef $ac_func
45688
45689 /* Override any GCC internal prototype to avoid an error.
45690 Use char because int might match the return type of a GCC
45691 builtin and then its argument prototype would still apply. */
45692 #ifdef __cplusplus
45693 extern "C"
45694 #endif
45695 char $ac_func ();
45696 /* The GNU C library defines this for functions which it implements
45697 to always fail with ENOSYS. Some functions are actually named
45698 something starting with __ and the normal name is an alias. */
45699 #if defined __stub_$ac_func || defined __stub___$ac_func
45700 choke me
45701 #endif
45702
45703 int
45704 main ()
45705 {
45706 return $ac_func ();
45707 ;
45708 return 0;
45709 }
45710 _ACEOF
45711 rm -f conftest.$ac_objext conftest$ac_exeext
45712 if { (ac_try="$ac_link"
45713 case "(($ac_try" in
45714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45715 *) ac_try_echo=$ac_try;;
45716 esac
45717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45718 (eval "$ac_link") 2>conftest.er1
45719 ac_status=$?
45720 grep -v '^ *+' conftest.er1 >conftest.err
45721 rm -f conftest.er1
45722 cat conftest.err >&5
45723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45724 (exit $ac_status); } && {
45725 test -z "$ac_c_werror_flag" ||
45726 test ! -s conftest.err
45727 } && test -s conftest$ac_exeext &&
45728 $as_test_x conftest$ac_exeext; then
45729 eval "$as_ac_var=yes"
45730 else
45731 echo "$as_me: failed program was:" >&5
45732 sed 's/^/| /' conftest.$ac_ext >&5
45733
45734 eval "$as_ac_var=no"
45735 fi
45736
45737 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45738 conftest$ac_exeext conftest.$ac_ext
45739 fi
45740 ac_res=`eval echo '${'$as_ac_var'}'`
45741 { echo "$as_me:$LINENO: result: $ac_res" >&5
45742 echo "${ECHO_T}$ac_res" >&6; }
45743 if test `eval echo '${'$as_ac_var'}'` = yes; then
45744 cat >>confdefs.h <<_ACEOF
45745 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45746 _ACEOF
45747
45748 cat >>confdefs.h <<\_ACEOF
45749 #define HAVE_SHL_LOAD 1
45750 _ACEOF
45751
45752 HAVE_SHL_FUNCS=1
45753
45754 else
45755
45756 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
45757 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
45758 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
45759 echo $ECHO_N "(cached) $ECHO_C" >&6
45760 else
45761 ac_check_lib_save_LIBS=$LIBS
45762 LIBS="-lshl_load $LIBS"
45763 cat >conftest.$ac_ext <<_ACEOF
45764 /* confdefs.h. */
45765 _ACEOF
45766 cat confdefs.h >>conftest.$ac_ext
45767 cat >>conftest.$ac_ext <<_ACEOF
45768 /* end confdefs.h. */
45769
45770 /* Override any GCC internal prototype to avoid an error.
45771 Use char because int might match the return type of a GCC
45772 builtin and then its argument prototype would still apply. */
45773 #ifdef __cplusplus
45774 extern "C"
45775 #endif
45776 char dld ();
45777 int
45778 main ()
45779 {
45780 return dld ();
45781 ;
45782 return 0;
45783 }
45784 _ACEOF
45785 rm -f conftest.$ac_objext conftest$ac_exeext
45786 if { (ac_try="$ac_link"
45787 case "(($ac_try" in
45788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45789 *) ac_try_echo=$ac_try;;
45790 esac
45791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45792 (eval "$ac_link") 2>conftest.er1
45793 ac_status=$?
45794 grep -v '^ *+' conftest.er1 >conftest.err
45795 rm -f conftest.er1
45796 cat conftest.err >&5
45797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45798 (exit $ac_status); } && {
45799 test -z "$ac_c_werror_flag" ||
45800 test ! -s conftest.err
45801 } && test -s conftest$ac_exeext &&
45802 $as_test_x conftest$ac_exeext; then
45803 ac_cv_lib_shl_load_dld=yes
45804 else
45805 echo "$as_me: failed program was:" >&5
45806 sed 's/^/| /' conftest.$ac_ext >&5
45807
45808 ac_cv_lib_shl_load_dld=no
45809 fi
45810
45811 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45812 conftest$ac_exeext conftest.$ac_ext
45813 LIBS=$ac_check_lib_save_LIBS
45814 fi
45815 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
45816 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
45817 if test $ac_cv_lib_shl_load_dld = yes; then
45818
45819 HAVE_SHL_FUNCS=1
45820 DL_LINK=" -ldld$DL_LINK"
45821
45822 fi
45823
45824
45825 fi
45826 done
45827
45828
45829 fi
45830
45831
45832 fi
45833 done
45834
45835
45836 if test "$HAVE_DL_FUNCS" = 1; then
45837
45838 for ac_func in dlerror
45839 do
45840 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45841 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45842 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45843 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45844 echo $ECHO_N "(cached) $ECHO_C" >&6
45845 else
45846 cat >conftest.$ac_ext <<_ACEOF
45847 /* confdefs.h. */
45848 _ACEOF
45849 cat confdefs.h >>conftest.$ac_ext
45850 cat >>conftest.$ac_ext <<_ACEOF
45851 /* end confdefs.h. */
45852 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45853 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45854 #define $ac_func innocuous_$ac_func
45855
45856 /* System header to define __stub macros and hopefully few prototypes,
45857 which can conflict with char $ac_func (); below.
45858 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45859 <limits.h> exists even on freestanding compilers. */
45860
45861 #ifdef __STDC__
45862 # include <limits.h>
45863 #else
45864 # include <assert.h>
45865 #endif
45866
45867 #undef $ac_func
45868
45869 /* Override any GCC internal prototype to avoid an error.
45870 Use char because int might match the return type of a GCC
45871 builtin and then its argument prototype would still apply. */
45872 #ifdef __cplusplus
45873 extern "C"
45874 #endif
45875 char $ac_func ();
45876 /* The GNU C library defines this for functions which it implements
45877 to always fail with ENOSYS. Some functions are actually named
45878 something starting with __ and the normal name is an alias. */
45879 #if defined __stub_$ac_func || defined __stub___$ac_func
45880 choke me
45881 #endif
45882
45883 int
45884 main ()
45885 {
45886 return $ac_func ();
45887 ;
45888 return 0;
45889 }
45890 _ACEOF
45891 rm -f conftest.$ac_objext conftest$ac_exeext
45892 if { (ac_try="$ac_link"
45893 case "(($ac_try" in
45894 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45895 *) ac_try_echo=$ac_try;;
45896 esac
45897 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45898 (eval "$ac_link") 2>conftest.er1
45899 ac_status=$?
45900 grep -v '^ *+' conftest.er1 >conftest.err
45901 rm -f conftest.er1
45902 cat conftest.err >&5
45903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45904 (exit $ac_status); } && {
45905 test -z "$ac_c_werror_flag" ||
45906 test ! -s conftest.err
45907 } && test -s conftest$ac_exeext &&
45908 $as_test_x conftest$ac_exeext; then
45909 eval "$as_ac_var=yes"
45910 else
45911 echo "$as_me: failed program was:" >&5
45912 sed 's/^/| /' conftest.$ac_ext >&5
45913
45914 eval "$as_ac_var=no"
45915 fi
45916
45917 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45918 conftest$ac_exeext conftest.$ac_ext
45919 fi
45920 ac_res=`eval echo '${'$as_ac_var'}'`
45921 { echo "$as_me:$LINENO: result: $ac_res" >&5
45922 echo "${ECHO_T}$ac_res" >&6; }
45923 if test `eval echo '${'$as_ac_var'}'` = yes; then
45924 cat >>confdefs.h <<_ACEOF
45925 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45926 _ACEOF
45927 cat >>confdefs.h <<\_ACEOF
45928 #define HAVE_DLERROR 1
45929 _ACEOF
45930
45931 else
45932
45933 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
45934 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
45935 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
45936 echo $ECHO_N "(cached) $ECHO_C" >&6
45937 else
45938 ac_check_lib_save_LIBS=$LIBS
45939 LIBS="-ldl $LIBS"
45940 cat >conftest.$ac_ext <<_ACEOF
45941 /* confdefs.h. */
45942 _ACEOF
45943 cat confdefs.h >>conftest.$ac_ext
45944 cat >>conftest.$ac_ext <<_ACEOF
45945 /* end confdefs.h. */
45946
45947 /* Override any GCC internal prototype to avoid an error.
45948 Use char because int might match the return type of a GCC
45949 builtin and then its argument prototype would still apply. */
45950 #ifdef __cplusplus
45951 extern "C"
45952 #endif
45953 char dlerror ();
45954 int
45955 main ()
45956 {
45957 return dlerror ();
45958 ;
45959 return 0;
45960 }
45961 _ACEOF
45962 rm -f conftest.$ac_objext conftest$ac_exeext
45963 if { (ac_try="$ac_link"
45964 case "(($ac_try" in
45965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45966 *) ac_try_echo=$ac_try;;
45967 esac
45968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45969 (eval "$ac_link") 2>conftest.er1
45970 ac_status=$?
45971 grep -v '^ *+' conftest.er1 >conftest.err
45972 rm -f conftest.er1
45973 cat conftest.err >&5
45974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45975 (exit $ac_status); } && {
45976 test -z "$ac_c_werror_flag" ||
45977 test ! -s conftest.err
45978 } && test -s conftest$ac_exeext &&
45979 $as_test_x conftest$ac_exeext; then
45980 ac_cv_lib_dl_dlerror=yes
45981 else
45982 echo "$as_me: failed program was:" >&5
45983 sed 's/^/| /' conftest.$ac_ext >&5
45984
45985 ac_cv_lib_dl_dlerror=no
45986 fi
45987
45988 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45989 conftest$ac_exeext conftest.$ac_ext
45990 LIBS=$ac_check_lib_save_LIBS
45991 fi
45992 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
45993 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
45994 if test $ac_cv_lib_dl_dlerror = yes; then
45995 cat >>confdefs.h <<\_ACEOF
45996 #define HAVE_DLERROR 1
45997 _ACEOF
45998
45999 fi
46000
46001
46002
46003 fi
46004 done
46005
46006 fi
46007 fi
46008
46009 if test "$USE_DARWIN" = 1; then
46010 HAVE_DL_FUNCS=1
46011 fi
46012
46013 if test "$HAVE_DL_FUNCS" = 0; then
46014 if test "$HAVE_SHL_FUNCS" = 0; then
46015 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
46016 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
46017 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
46018 wxUSE_DYNAMIC_LOADER=no
46019 wxUSE_DYNLIB_CLASS=no
46020 else
46021 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
46022 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
46023 fi
46024 fi
46025 fi
46026 fi
46027 fi
46028
46029 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
46030 cat >>confdefs.h <<\_ACEOF
46031 #define wxUSE_DYNAMIC_LOADER 1
46032 _ACEOF
46033
46034 fi
46035 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
46036 cat >>confdefs.h <<\_ACEOF
46037 #define wxUSE_DYNLIB_CLASS 1
46038 _ACEOF
46039
46040 fi
46041
46042
46043
46044 if test "$wxUSE_PLUGINS" = "yes" ; then
46045 if test "$wxUSE_SHARED" = "no" ; then
46046 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
46047 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
46048 wxUSE_PLUGINS=no
46049 fi
46050 if test "$wxUSE_MONOLITHIC" = "yes" ; then
46051 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
46052 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
46053 wxUSE_PLUGINS=no
46054 fi
46055 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
46056 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
46057 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
46058 wxUSE_PLUGINS=no
46059 fi
46060 if test "$wxUSE_PLUGINS" = "yes" ; then
46061 cat >>confdefs.h <<\_ACEOF
46062 #define wxUSE_PLUGINS 1
46063 _ACEOF
46064
46065 fi
46066 fi
46067
46068
46069 if test "$wxUSE_FSWATCHER" = "yes"; then
46070 if test "$wxUSE_MSW" != "1"; then
46071 if test "$wxUSE_UNIX" = "yes"; then
46072
46073 for ac_header in sys/inotify.h
46074 do
46075 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
46076 { echo "$as_me:$LINENO: checking for $ac_header" >&5
46077 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
46078 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
46079 echo $ECHO_N "(cached) $ECHO_C" >&6
46080 else
46081 cat >conftest.$ac_ext <<_ACEOF
46082 /* confdefs.h. */
46083 _ACEOF
46084 cat confdefs.h >>conftest.$ac_ext
46085 cat >>conftest.$ac_ext <<_ACEOF
46086 /* end confdefs.h. */
46087 $ac_includes_default
46088
46089 #include <$ac_header>
46090 _ACEOF
46091 rm -f conftest.$ac_objext
46092 if { (ac_try="$ac_compile"
46093 case "(($ac_try" in
46094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46095 *) ac_try_echo=$ac_try;;
46096 esac
46097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46098 (eval "$ac_compile") 2>conftest.er1
46099 ac_status=$?
46100 grep -v '^ *+' conftest.er1 >conftest.err
46101 rm -f conftest.er1
46102 cat conftest.err >&5
46103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46104 (exit $ac_status); } && {
46105 test -z "$ac_c_werror_flag" ||
46106 test ! -s conftest.err
46107 } && test -s conftest.$ac_objext; then
46108 eval "$as_ac_Header=yes"
46109 else
46110 echo "$as_me: failed program was:" >&5
46111 sed 's/^/| /' conftest.$ac_ext >&5
46112
46113 eval "$as_ac_Header=no"
46114 fi
46115
46116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46117 fi
46118 ac_res=`eval echo '${'$as_ac_Header'}'`
46119 { echo "$as_me:$LINENO: result: $ac_res" >&5
46120 echo "${ECHO_T}$ac_res" >&6; }
46121 if test `eval echo '${'$as_ac_Header'}'` = yes; then
46122 cat >>confdefs.h <<_ACEOF
46123 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
46124 _ACEOF
46125
46126 fi
46127
46128 done
46129
46130 if test "$ac_cv_header_sys_inotify_h" = "yes"; then
46131 cat >>confdefs.h <<\_ACEOF
46132 #define wxHAS_INOTIFY 1
46133 _ACEOF
46134
46135 else
46136
46137 for ac_header in sys/event.h
46138 do
46139 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
46140 { echo "$as_me:$LINENO: checking for $ac_header" >&5
46141 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
46142 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
46143 echo $ECHO_N "(cached) $ECHO_C" >&6
46144 else
46145 cat >conftest.$ac_ext <<_ACEOF
46146 /* confdefs.h. */
46147 _ACEOF
46148 cat confdefs.h >>conftest.$ac_ext
46149 cat >>conftest.$ac_ext <<_ACEOF
46150 /* end confdefs.h. */
46151 $ac_includes_default
46152
46153 #include <$ac_header>
46154 _ACEOF
46155 rm -f conftest.$ac_objext
46156 if { (ac_try="$ac_compile"
46157 case "(($ac_try" in
46158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46159 *) ac_try_echo=$ac_try;;
46160 esac
46161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46162 (eval "$ac_compile") 2>conftest.er1
46163 ac_status=$?
46164 grep -v '^ *+' conftest.er1 >conftest.err
46165 rm -f conftest.er1
46166 cat conftest.err >&5
46167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46168 (exit $ac_status); } && {
46169 test -z "$ac_c_werror_flag" ||
46170 test ! -s conftest.err
46171 } && test -s conftest.$ac_objext; then
46172 eval "$as_ac_Header=yes"
46173 else
46174 echo "$as_me: failed program was:" >&5
46175 sed 's/^/| /' conftest.$ac_ext >&5
46176
46177 eval "$as_ac_Header=no"
46178 fi
46179
46180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46181 fi
46182 ac_res=`eval echo '${'$as_ac_Header'}'`
46183 { echo "$as_me:$LINENO: result: $ac_res" >&5
46184 echo "${ECHO_T}$ac_res" >&6; }
46185 if test `eval echo '${'$as_ac_Header'}'` = yes; then
46186 cat >>confdefs.h <<_ACEOF
46187 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
46188 _ACEOF
46189
46190 fi
46191
46192 done
46193
46194 if test "$ac_cv_header_sys_event_h" = "yes"; then
46195 cat >>confdefs.h <<\_ACEOF
46196 #define wxHAS_KQUEUE 1
46197 _ACEOF
46198
46199 else
46200 wxUSE_FSWATCHER=no
46201 fi
46202 fi
46203 else
46204 wxUSE_FSWATCHER=no
46205 fi
46206 else
46207 if test "$wxUSE_THREADS" != "yes"; then
46208 { echo "$as_me:$LINENO: WARNING: wxFileSystemWatcher disabled due to --disable-threads" >&5
46209 echo "$as_me: WARNING: wxFileSystemWatcher disabled due to --disable-threads" >&2;}
46210 wxUSE_FSWATCHER=no
46211 fi
46212 fi
46213
46214 if test "$wxUSE_FSWATCHER" = "yes"; then
46215 cat >>confdefs.h <<\_ACEOF
46216 #define wxUSE_FSWATCHER 1
46217 _ACEOF
46218
46219 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS fswatcher"
46220 else
46221 { echo "$as_me:$LINENO: WARNING: wxFileSystemWatcher won't be available on this platform" >&5
46222 echo "$as_me: WARNING: wxFileSystemWatcher won't be available on this platform" >&2;}
46223 fi
46224 fi
46225
46226
46227 if test "$wxUSE_STL" = "yes"; then
46228 cat >>confdefs.h <<\_ACEOF
46229 #define wxUSE_STL 1
46230 _ACEOF
46231
46232 fi
46233
46234 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
46235 cat >>confdefs.h <<\_ACEOF
46236 #define wxUSE_EXTENDED_RTTI 1
46237 _ACEOF
46238
46239 fi
46240
46241 if test "$wxUSE_ANY" = "yes"; then
46242 cat >>confdefs.h <<\_ACEOF
46243 #define wxUSE_ANY 1
46244 _ACEOF
46245
46246 fi
46247
46248 if test "$wxUSE_APPLE_IEEE" = "yes"; then
46249 cat >>confdefs.h <<\_ACEOF
46250 #define wxUSE_APPLE_IEEE 1
46251 _ACEOF
46252
46253 fi
46254
46255 if test "$wxUSE_TIMER" = "yes"; then
46256 cat >>confdefs.h <<\_ACEOF
46257 #define wxUSE_TIMER 1
46258 _ACEOF
46259
46260 fi
46261
46262 if test "$USE_UNIX" = 1 ; then
46263 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
46264 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
46265 if test "${ac_cv_header_sys_soundcard+set}" = set; then
46266 echo $ECHO_N "(cached) $ECHO_C" >&6
46267 else
46268
46269 cat >conftest.$ac_ext <<_ACEOF
46270 /* confdefs.h. */
46271 _ACEOF
46272 cat confdefs.h >>conftest.$ac_ext
46273 cat >>conftest.$ac_ext <<_ACEOF
46274 /* end confdefs.h. */
46275
46276 #include <sys/ioctl.h>
46277 #include <sys/soundcard.h>
46278
46279 int
46280 main ()
46281 {
46282
46283 ioctl(0, SNDCTL_DSP_SPEED, 0);
46284
46285 ;
46286 return 0;
46287 }
46288 _ACEOF
46289 rm -f conftest.$ac_objext conftest$ac_exeext
46290 if { (ac_try="$ac_link"
46291 case "(($ac_try" in
46292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46293 *) ac_try_echo=$ac_try;;
46294 esac
46295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46296 (eval "$ac_link") 2>conftest.er1
46297 ac_status=$?
46298 grep -v '^ *+' conftest.er1 >conftest.err
46299 rm -f conftest.er1
46300 cat conftest.err >&5
46301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46302 (exit $ac_status); } && {
46303 test -z "$ac_c_werror_flag" ||
46304 test ! -s conftest.err
46305 } && test -s conftest$ac_exeext &&
46306 $as_test_x conftest$ac_exeext; then
46307 ac_cv_header_sys_soundcard=yes
46308 else
46309 echo "$as_me: failed program was:" >&5
46310 sed 's/^/| /' conftest.$ac_ext >&5
46311
46312
46313 saveLibs="$LIBS"
46314 LIBS="$saveLibs -lossaudio"
46315 cat >conftest.$ac_ext <<_ACEOF
46316 /* confdefs.h. */
46317 _ACEOF
46318 cat confdefs.h >>conftest.$ac_ext
46319 cat >>conftest.$ac_ext <<_ACEOF
46320 /* end confdefs.h. */
46321
46322 #include <sys/ioctl.h>
46323 #include <sys/soundcard.h>
46324
46325 int
46326 main ()
46327 {
46328
46329 ioctl(0, SNDCTL_DSP_SPEED, 0);
46330
46331 ;
46332 return 0;
46333 }
46334 _ACEOF
46335 rm -f conftest.$ac_objext conftest$ac_exeext
46336 if { (ac_try="$ac_link"
46337 case "(($ac_try" in
46338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46339 *) ac_try_echo=$ac_try;;
46340 esac
46341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46342 (eval "$ac_link") 2>conftest.er1
46343 ac_status=$?
46344 grep -v '^ *+' conftest.er1 >conftest.err
46345 rm -f conftest.er1
46346 cat conftest.err >&5
46347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46348 (exit $ac_status); } && {
46349 test -z "$ac_c_werror_flag" ||
46350 test ! -s conftest.err
46351 } && test -s conftest$ac_exeext &&
46352 $as_test_x conftest$ac_exeext; then
46353 ac_cv_header_sys_soundcard=yes
46354 else
46355 echo "$as_me: failed program was:" >&5
46356 sed 's/^/| /' conftest.$ac_ext >&5
46357
46358
46359 LIBS="$saveLibs"
46360 ac_cv_header_sys_soundcard=no
46361
46362
46363 fi
46364
46365 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46366 conftest$ac_exeext conftest.$ac_ext
46367
46368
46369 fi
46370
46371 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46372 conftest$ac_exeext conftest.$ac_ext
46373
46374 fi
46375 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
46376 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
46377
46378 if test "$ac_cv_header_sys_soundcard" = "yes"; then
46379 cat >>confdefs.h <<\_ACEOF
46380 #define HAVE_SYS_SOUNDCARD_H 1
46381 _ACEOF
46382
46383 fi
46384 fi
46385
46386 WITH_PLUGIN_SDL=0
46387 if test "$wxUSE_SOUND" = "yes"; then
46388 if test "$USE_UNIX" = 1 ; then
46389 if test "$wxUSE_LIBSDL" != "no"; then
46390
46391 # Check whether --with-sdl-prefix was given.
46392 if test "${with_sdl_prefix+set}" = set; then
46393 withval=$with_sdl_prefix; sdl_prefix="$withval"
46394 else
46395 sdl_prefix=""
46396 fi
46397
46398
46399 # Check whether --with-sdl-exec-prefix was given.
46400 if test "${with_sdl_exec_prefix+set}" = set; then
46401 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
46402 else
46403 sdl_exec_prefix=""
46404 fi
46405
46406 # Check whether --enable-sdltest was given.
46407 if test "${enable_sdltest+set}" = set; then
46408 enableval=$enable_sdltest;
46409 else
46410 enable_sdltest=yes
46411 fi
46412
46413
46414 if test x$sdl_exec_prefix != x ; then
46415 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
46416 if test x${SDL_CONFIG+set} != xset ; then
46417 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
46418 fi
46419 fi
46420 if test x$sdl_prefix != x ; then
46421 sdl_args="$sdl_args --prefix=$sdl_prefix"
46422 if test x${SDL_CONFIG+set} != xset ; then
46423 SDL_CONFIG=$sdl_prefix/bin/sdl-config
46424 fi
46425 fi
46426
46427 if test "x$prefix" != xNONE; then
46428 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
46429 fi
46430 # Extract the first word of "sdl-config", so it can be a program name with args.
46431 set dummy sdl-config; ac_word=$2
46432 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46433 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46434 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
46435 echo $ECHO_N "(cached) $ECHO_C" >&6
46436 else
46437 case $SDL_CONFIG in
46438 [\\/]* | ?:[\\/]*)
46439 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
46440 ;;
46441 *)
46442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46443 for as_dir in $PATH
46444 do
46445 IFS=$as_save_IFS
46446 test -z "$as_dir" && as_dir=.
46447 for ac_exec_ext in '' $ac_executable_extensions; do
46448 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46449 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
46450 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46451 break 2
46452 fi
46453 done
46454 done
46455 IFS=$as_save_IFS
46456
46457 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
46458 ;;
46459 esac
46460 fi
46461 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
46462 if test -n "$SDL_CONFIG"; then
46463 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
46464 echo "${ECHO_T}$SDL_CONFIG" >&6; }
46465 else
46466 { echo "$as_me:$LINENO: result: no" >&5
46467 echo "${ECHO_T}no" >&6; }
46468 fi
46469
46470
46471 min_sdl_version=1.2.0
46472 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
46473 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
46474 no_sdl=""
46475 if test "$SDL_CONFIG" = "no" ; then
46476 no_sdl=yes
46477 else
46478 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
46479 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
46480
46481 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
46482 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
46483 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
46484 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
46485 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
46486 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
46487 if test "x$enable_sdltest" = "xyes" ; then
46488 ac_save_CFLAGS="$CFLAGS"
46489 ac_save_CXXFLAGS="$CXXFLAGS"
46490 ac_save_LIBS="$LIBS"
46491 CFLAGS="$CFLAGS $SDL_CFLAGS"
46492 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
46493 LIBS="$LIBS $SDL_LIBS"
46494 rm -f conf.sdltest
46495 if test "$cross_compiling" = yes; then
46496 echo $ac_n "cross compiling; assumed OK... $ac_c"
46497 else
46498 cat >conftest.$ac_ext <<_ACEOF
46499 /* confdefs.h. */
46500 _ACEOF
46501 cat confdefs.h >>conftest.$ac_ext
46502 cat >>conftest.$ac_ext <<_ACEOF
46503 /* end confdefs.h. */
46504
46505 #include <stdio.h>
46506 #include <stdlib.h>
46507 #include <string.h>
46508 #include "SDL.h"
46509
46510 char*
46511 my_strdup (char *str)
46512 {
46513 char *new_str;
46514
46515 if (str)
46516 {
46517 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
46518 strcpy (new_str, str);
46519 }
46520 else
46521 new_str = NULL;
46522
46523 return new_str;
46524 }
46525
46526 int main (int argc, char *argv[])
46527 {
46528 int major, minor, micro;
46529 char *tmp_version;
46530
46531 /* This hangs on some systems (?)
46532 system ("touch conf.sdltest");
46533 */
46534 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
46535
46536 /* HP/UX 9 (%@#!) writes to sscanf strings */
46537 tmp_version = my_strdup("$min_sdl_version");
46538 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
46539 printf("%s, bad version string\n", "$min_sdl_version");
46540 exit(1);
46541 }
46542
46543 if (($sdl_major_version > major) ||
46544 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
46545 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
46546 {
46547 return 0;
46548 }
46549 else
46550 {
46551 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
46552 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
46553 printf("*** best to upgrade to the required version.\n");
46554 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
46555 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
46556 printf("*** config.cache before re-running configure\n");
46557 return 1;
46558 }
46559 }
46560
46561
46562 _ACEOF
46563 rm -f conftest$ac_exeext
46564 if { (ac_try="$ac_link"
46565 case "(($ac_try" in
46566 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46567 *) ac_try_echo=$ac_try;;
46568 esac
46569 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46570 (eval "$ac_link") 2>&5
46571 ac_status=$?
46572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46573 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
46574 { (case "(($ac_try" in
46575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46576 *) ac_try_echo=$ac_try;;
46577 esac
46578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46579 (eval "$ac_try") 2>&5
46580 ac_status=$?
46581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46582 (exit $ac_status); }; }; then
46583 :
46584 else
46585 echo "$as_me: program exited with status $ac_status" >&5
46586 echo "$as_me: failed program was:" >&5
46587 sed 's/^/| /' conftest.$ac_ext >&5
46588
46589 ( exit $ac_status )
46590 no_sdl=yes
46591 fi
46592 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
46593 fi
46594
46595
46596 CFLAGS="$ac_save_CFLAGS"
46597 CXXFLAGS="$ac_save_CXXFLAGS"
46598 LIBS="$ac_save_LIBS"
46599 fi
46600 fi
46601 if test "x$no_sdl" = x ; then
46602 { echo "$as_me:$LINENO: result: yes" >&5
46603 echo "${ECHO_T}yes" >&6; }
46604
46605 EXTRALIBS_SDL="$SDL_LIBS"
46606 CFLAGS="$SDL_CFLAGS $CFLAGS"
46607 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
46608 cat >>confdefs.h <<\_ACEOF
46609 #define wxUSE_LIBSDL 1
46610 _ACEOF
46611
46612
46613 else
46614 { echo "$as_me:$LINENO: result: no" >&5
46615 echo "${ECHO_T}no" >&6; }
46616 if test "$SDL_CONFIG" = "no" ; then
46617 echo "*** The sdl-config script installed by SDL could not be found"
46618 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
46619 echo "*** your path, or set the SDL_CONFIG environment variable to the"
46620 echo "*** full path to sdl-config."
46621 else
46622 if test -f conf.sdltest ; then
46623 :
46624 else
46625 echo "*** Could not run SDL test program, checking why..."
46626 CFLAGS="$CFLAGS $SDL_CFLAGS"
46627 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
46628 LIBS="$LIBS $SDL_LIBS"
46629 cat >conftest.$ac_ext <<_ACEOF
46630 /* confdefs.h. */
46631 _ACEOF
46632 cat confdefs.h >>conftest.$ac_ext
46633 cat >>conftest.$ac_ext <<_ACEOF
46634 /* end confdefs.h. */
46635
46636 #include <stdio.h>
46637 #include "SDL.h"
46638
46639 int main(int argc, char *argv[])
46640 { return 0; }
46641 #undef main
46642 #define main K_and_R_C_main
46643
46644 int
46645 main ()
46646 {
46647 return 0;
46648 ;
46649 return 0;
46650 }
46651 _ACEOF
46652 rm -f conftest.$ac_objext conftest$ac_exeext
46653 if { (ac_try="$ac_link"
46654 case "(($ac_try" in
46655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46656 *) ac_try_echo=$ac_try;;
46657 esac
46658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46659 (eval "$ac_link") 2>conftest.er1
46660 ac_status=$?
46661 grep -v '^ *+' conftest.er1 >conftest.err
46662 rm -f conftest.er1
46663 cat conftest.err >&5
46664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46665 (exit $ac_status); } && {
46666 test -z "$ac_c_werror_flag" ||
46667 test ! -s conftest.err
46668 } && test -s conftest$ac_exeext &&
46669 $as_test_x conftest$ac_exeext; then
46670 echo "*** The test program compiled, but did not run. This usually means"
46671 echo "*** that the run-time linker is not finding SDL or finding the wrong"
46672 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
46673 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
46674 echo "*** to the installed location Also, make sure you have run ldconfig if that"
46675 echo "*** is required on your system"
46676 echo "***"
46677 echo "*** If you have an old version installed, it is best to remove it, although"
46678 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
46679 else
46680 echo "$as_me: failed program was:" >&5
46681 sed 's/^/| /' conftest.$ac_ext >&5
46682
46683 echo "*** The test program failed to compile or link. See the file config.log for the"
46684 echo "*** exact error that occurred. This usually means SDL was incorrectly installed"
46685 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
46686 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
46687 fi
46688
46689 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46690 conftest$ac_exeext conftest.$ac_ext
46691 CFLAGS="$ac_save_CFLAGS"
46692 CXXFLAGS="$ac_save_CXXFLAGS"
46693 LIBS="$ac_save_LIBS"
46694 fi
46695 fi
46696 SDL_CFLAGS=""
46697 SDL_LIBS=""
46698 wxUSE_LIBSDL="no"
46699 fi
46700
46701
46702 rm -f conf.sdltest
46703
46704 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
46705 WITH_PLUGIN_SDL=1
46706 fi
46707 fi
46708 fi
46709 fi
46710
46711 if test "$wxUSE_SOUND" = "yes"; then
46712 cat >>confdefs.h <<\_ACEOF
46713 #define wxUSE_SOUND 1
46714 _ACEOF
46715
46716 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
46717 fi
46718
46719 if test "$WXGTK2" = 1; then
46720
46721
46722 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
46723 if test -n "$ac_tool_prefix"; then
46724 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
46725 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
46726 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46727 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46728 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
46729 echo $ECHO_N "(cached) $ECHO_C" >&6
46730 else
46731 case $PKG_CONFIG in
46732 [\\/]* | ?:[\\/]*)
46733 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
46734 ;;
46735 *)
46736 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46737 for as_dir in $PATH
46738 do
46739 IFS=$as_save_IFS
46740 test -z "$as_dir" && as_dir=.
46741 for ac_exec_ext in '' $ac_executable_extensions; do
46742 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46743 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
46744 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46745 break 2
46746 fi
46747 done
46748 done
46749 IFS=$as_save_IFS
46750
46751 ;;
46752 esac
46753 fi
46754 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
46755 if test -n "$PKG_CONFIG"; then
46756 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
46757 echo "${ECHO_T}$PKG_CONFIG" >&6; }
46758 else
46759 { echo "$as_me:$LINENO: result: no" >&5
46760 echo "${ECHO_T}no" >&6; }
46761 fi
46762
46763
46764 fi
46765 if test -z "$ac_cv_path_PKG_CONFIG"; then
46766 ac_pt_PKG_CONFIG=$PKG_CONFIG
46767 # Extract the first word of "pkg-config", so it can be a program name with args.
46768 set dummy pkg-config; ac_word=$2
46769 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46770 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46771 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
46772 echo $ECHO_N "(cached) $ECHO_C" >&6
46773 else
46774 case $ac_pt_PKG_CONFIG in
46775 [\\/]* | ?:[\\/]*)
46776 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
46777 ;;
46778 *)
46779 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46780 for as_dir in $PATH
46781 do
46782 IFS=$as_save_IFS
46783 test -z "$as_dir" && as_dir=.
46784 for ac_exec_ext in '' $ac_executable_extensions; do
46785 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46786 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
46787 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46788 break 2
46789 fi
46790 done
46791 done
46792 IFS=$as_save_IFS
46793
46794 ;;
46795 esac
46796 fi
46797 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
46798 if test -n "$ac_pt_PKG_CONFIG"; then
46799 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
46800 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
46801 else
46802 { echo "$as_me:$LINENO: result: no" >&5
46803 echo "${ECHO_T}no" >&6; }
46804 fi
46805
46806 if test "x$ac_pt_PKG_CONFIG" = x; then
46807 PKG_CONFIG=""
46808 else
46809 case $cross_compiling:$ac_tool_warned in
46810 yes:)
46811 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46812 whose name does not start with the host triplet. If you think this
46813 configuration is useful to you, please write to autoconf@gnu.org." >&5
46814 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46815 whose name does not start with the host triplet. If you think this
46816 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46817 ac_tool_warned=yes ;;
46818 esac
46819 PKG_CONFIG=$ac_pt_PKG_CONFIG
46820 fi
46821 else
46822 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
46823 fi
46824
46825 fi
46826 if test -n "$PKG_CONFIG"; then
46827 _pkg_min_version=0.9.0
46828 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
46829 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
46830 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
46831 { echo "$as_me:$LINENO: result: yes" >&5
46832 echo "${ECHO_T}yes" >&6; }
46833 else
46834 { echo "$as_me:$LINENO: result: no" >&5
46835 echo "${ECHO_T}no" >&6; }
46836 PKG_CONFIG=""
46837 fi
46838
46839 fi
46840
46841 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
46842
46843 if test "$wxUSE_GTKPRINT" = "yes" ; then
46844
46845
46846 pkg_failed=no
46847 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
46848 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
46849
46850 if test -n "$PKG_CONFIG"; then
46851 if test -n "$GTKPRINT_CFLAGS"; then
46852 pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
46853 else
46854 if test -n "$PKG_CONFIG" && \
46855 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
46856 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
46857 ac_status=$?
46858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46859 (exit $ac_status); }; then
46860 pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
46861 else
46862 pkg_failed=yes
46863 fi
46864 fi
46865 else
46866 pkg_failed=untried
46867 fi
46868 if test -n "$PKG_CONFIG"; then
46869 if test -n "$GTKPRINT_LIBS"; then
46870 pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
46871 else
46872 if test -n "$PKG_CONFIG" && \
46873 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
46874 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
46875 ac_status=$?
46876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46877 (exit $ac_status); }; then
46878 pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
46879 else
46880 pkg_failed=yes
46881 fi
46882 fi
46883 else
46884 pkg_failed=untried
46885 fi
46886
46887
46888
46889 if test $pkg_failed = yes; then
46890
46891 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46892 _pkg_short_errors_supported=yes
46893 else
46894 _pkg_short_errors_supported=no
46895 fi
46896 if test $_pkg_short_errors_supported = yes; then
46897 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
46898 else
46899 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
46900 fi
46901 # Put the nasty error message in config.log where it belongs
46902 echo "$GTKPRINT_PKG_ERRORS" >&5
46903
46904
46905 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
46906 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
46907 wxUSE_GTKPRINT="no"
46908
46909
46910 elif test $pkg_failed = untried; then
46911
46912 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
46913 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
46914 wxUSE_GTKPRINT="no"
46915
46916
46917 else
46918 GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
46919 GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
46920 { echo "$as_me:$LINENO: result: yes" >&5
46921 echo "${ECHO_T}yes" >&6; }
46922
46923 CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
46924 CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
46925 cat >>confdefs.h <<\_ACEOF
46926 #define wxUSE_GTKPRINT 1
46927 _ACEOF
46928
46929
46930 fi
46931 fi
46932
46933 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
46934
46935
46936 pkg_failed=no
46937 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
46938 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
46939
46940 if test -n "$PKG_CONFIG"; then
46941 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
46942 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
46943 else
46944 if test -n "$PKG_CONFIG" && \
46945 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
46946 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
46947 ac_status=$?
46948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46949 (exit $ac_status); }; then
46950 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
46951 else
46952 pkg_failed=yes
46953 fi
46954 fi
46955 else
46956 pkg_failed=untried
46957 fi
46958 if test -n "$PKG_CONFIG"; then
46959 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
46960 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
46961 else
46962 if test -n "$PKG_CONFIG" && \
46963 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
46964 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
46965 ac_status=$?
46966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46967 (exit $ac_status); }; then
46968 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
46969 else
46970 pkg_failed=yes
46971 fi
46972 fi
46973 else
46974 pkg_failed=untried
46975 fi
46976
46977
46978
46979 if test $pkg_failed = yes; then
46980
46981 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46982 _pkg_short_errors_supported=yes
46983 else
46984 _pkg_short_errors_supported=no
46985 fi
46986 if test $_pkg_short_errors_supported = yes; then
46987 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
46988 else
46989 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
46990 fi
46991 # Put the nasty error message in config.log where it belongs
46992 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
46993
46994
46995 if test "$wxUSE_GTKPRINT" = yes; then
46996 { echo "$as_me:$LINENO: result: no" >&5
46997 echo "${ECHO_T}no" >&6; }
46998 else
46999 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
47000 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
47001 fi
47002 wxUSE_LIBGNOMEPRINT="no"
47003
47004
47005 elif test $pkg_failed = untried; then
47006
47007 if test "$wxUSE_GTKPRINT" = yes; then
47008 { echo "$as_me:$LINENO: result: no" >&5
47009 echo "${ECHO_T}no" >&6; }
47010 else
47011 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
47012 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
47013 fi
47014 wxUSE_LIBGNOMEPRINT="no"
47015
47016
47017 else
47018 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
47019 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
47020 { echo "$as_me:$LINENO: result: yes" >&5
47021 echo "${ECHO_T}yes" >&6; }
47022
47023 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
47024 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
47025 cat >>confdefs.h <<\_ACEOF
47026 #define wxUSE_LIBGNOMEPRINT 1
47027 _ACEOF
47028
47029
47030 fi
47031 fi
47032 fi
47033
47034 if test "$wxUSE_MIMETYPE" = "yes" ; then
47035 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
47036
47037
47038 pkg_failed=no
47039 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
47040 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
47041
47042 if test -n "$PKG_CONFIG"; then
47043 if test -n "$GNOMEVFS_CFLAGS"; then
47044 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
47045 else
47046 if test -n "$PKG_CONFIG" && \
47047 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
47048 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
47049 ac_status=$?
47050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47051 (exit $ac_status); }; then
47052 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
47053 else
47054 pkg_failed=yes
47055 fi
47056 fi
47057 else
47058 pkg_failed=untried
47059 fi
47060 if test -n "$PKG_CONFIG"; then
47061 if test -n "$GNOMEVFS_LIBS"; then
47062 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
47063 else
47064 if test -n "$PKG_CONFIG" && \
47065 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
47066 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
47067 ac_status=$?
47068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47069 (exit $ac_status); }; then
47070 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
47071 else
47072 pkg_failed=yes
47073 fi
47074 fi
47075 else
47076 pkg_failed=untried
47077 fi
47078
47079
47080
47081 if test $pkg_failed = yes; then
47082
47083 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47084 _pkg_short_errors_supported=yes
47085 else
47086 _pkg_short_errors_supported=no
47087 fi
47088 if test $_pkg_short_errors_supported = yes; then
47089 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
47090 else
47091 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
47092 fi
47093 # Put the nasty error message in config.log where it belongs
47094 echo "$GNOMEVFS_PKG_ERRORS" >&5
47095
47096
47097 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
47098 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
47099 wxUSE_LIBGNOMEVFS="no"
47100
47101
47102 elif test $pkg_failed = untried; then
47103
47104 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
47105 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
47106 wxUSE_LIBGNOMEVFS="no"
47107
47108
47109 else
47110 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
47111 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
47112 { echo "$as_me:$LINENO: result: yes" >&5
47113 echo "${ECHO_T}yes" >&6; }
47114
47115 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
47116 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
47117 cat >>confdefs.h <<\_ACEOF
47118 #define wxUSE_LIBGNOMEVFS 1
47119 _ACEOF
47120
47121
47122 fi
47123 fi
47124 fi
47125
47126 if test "$wxUSE_LIBHILDON" = "yes" ; then
47127
47128 pkg_failed=no
47129 { echo "$as_me:$LINENO: checking for HILDON" >&5
47130 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
47131
47132 if test -n "$PKG_CONFIG"; then
47133 if test -n "$HILDON_CFLAGS"; then
47134 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
47135 else
47136 if test -n "$PKG_CONFIG" && \
47137 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
47138 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
47139 ac_status=$?
47140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47141 (exit $ac_status); }; then
47142 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
47143 else
47144 pkg_failed=yes
47145 fi
47146 fi
47147 else
47148 pkg_failed=untried
47149 fi
47150 if test -n "$PKG_CONFIG"; then
47151 if test -n "$HILDON_LIBS"; then
47152 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
47153 else
47154 if test -n "$PKG_CONFIG" && \
47155 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
47156 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
47157 ac_status=$?
47158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47159 (exit $ac_status); }; then
47160 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
47161 else
47162 pkg_failed=yes
47163 fi
47164 fi
47165 else
47166 pkg_failed=untried
47167 fi
47168
47169
47170
47171 if test $pkg_failed = yes; then
47172
47173 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47174 _pkg_short_errors_supported=yes
47175 else
47176 _pkg_short_errors_supported=no
47177 fi
47178 if test $_pkg_short_errors_supported = yes; then
47179 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
47180 else
47181 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
47182 fi
47183 # Put the nasty error message in config.log where it belongs
47184 echo "$HILDON_PKG_ERRORS" >&5
47185
47186
47187 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
47188 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
47189 wxUSE_LIBHILDON="no"
47190 ac_hildon_lgpl=0
47191
47192
47193 elif test $pkg_failed = untried; then
47194
47195 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
47196 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
47197 wxUSE_LIBHILDON="no"
47198 ac_hildon_lgpl=0
47199
47200
47201 else
47202 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
47203 HILDON_LIBS=$pkg_cv_HILDON_LIBS
47204 { echo "$as_me:$LINENO: result: yes" >&5
47205 echo "${ECHO_T}yes" >&6; }
47206
47207 EXTRALIBS_HILDON="$HILDON_LIBS"
47208 CFLAGS="$CFLAGS $HILDON_CFLAGS"
47209 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
47210 cat >>confdefs.h <<\_ACEOF
47211 #define wxUSE_LIBHILDON 1
47212 _ACEOF
47213
47214 ac_hildon_lgpl=1
47215
47216 fi
47217
47218 if test "$ac_hildon_lgpl" = 0 ; then
47219
47220 pkg_failed=no
47221 { echo "$as_me:$LINENO: checking for HILDON2" >&5
47222 echo $ECHO_N "checking for HILDON2... $ECHO_C" >&6; }
47223
47224 if test -n "$PKG_CONFIG"; then
47225 if test -n "$HILDON2_CFLAGS"; then
47226 pkg_cv_HILDON2_CFLAGS="$HILDON2_CFLAGS"
47227 else
47228 if test -n "$PKG_CONFIG" && \
47229 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\"") >&5
47230 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
47231 ac_status=$?
47232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47233 (exit $ac_status); }; then
47234 pkg_cv_HILDON2_CFLAGS=`$PKG_CONFIG --cflags "hildon-1 >= 1.99" 2>/dev/null`
47235 else
47236 pkg_failed=yes
47237 fi
47238 fi
47239 else
47240 pkg_failed=untried
47241 fi
47242 if test -n "$PKG_CONFIG"; then
47243 if test -n "$HILDON2_LIBS"; then
47244 pkg_cv_HILDON2_LIBS="$HILDON2_LIBS"
47245 else
47246 if test -n "$PKG_CONFIG" && \
47247 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\"") >&5
47248 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
47249 ac_status=$?
47250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47251 (exit $ac_status); }; then
47252 pkg_cv_HILDON2_LIBS=`$PKG_CONFIG --libs "hildon-1 >= 1.99" 2>/dev/null`
47253 else
47254 pkg_failed=yes
47255 fi
47256 fi
47257 else
47258 pkg_failed=untried
47259 fi
47260
47261
47262
47263 if test $pkg_failed = yes; then
47264
47265 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47266 _pkg_short_errors_supported=yes
47267 else
47268 _pkg_short_errors_supported=no
47269 fi
47270 if test $_pkg_short_errors_supported = yes; then
47271 HILDON2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
47272 else
47273 HILDON2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
47274 fi
47275 # Put the nasty error message in config.log where it belongs
47276 echo "$HILDON2_PKG_ERRORS" >&5
47277
47278
47279 { echo "$as_me:$LINENO: WARNING: libhildon_1 not found" >&5
47280 echo "$as_me: WARNING: libhildon_1 not found" >&2;}
47281 wxUSE_LIBHILDON2="no"
47282
47283
47284 elif test $pkg_failed = untried; then
47285
47286 { echo "$as_me:$LINENO: WARNING: libhildon_1 not found" >&5
47287 echo "$as_me: WARNING: libhildon_1 not found" >&2;}
47288 wxUSE_LIBHILDON2="no"
47289
47290
47291 else
47292 HILDON2_CFLAGS=$pkg_cv_HILDON2_CFLAGS
47293 HILDON2_LIBS=$pkg_cv_HILDON2_LIBS
47294 { echo "$as_me:$LINENO: result: yes" >&5
47295 echo "${ECHO_T}yes" >&6; }
47296
47297 EXTRALIBS_HILDON="$HILDON2_LIBS"
47298 CFLAGS="$CFLAGS $HILDON2_CFLAGS"
47299 CXXFLAGS="$CXXFLAGS $HILDON2_CFLAGS"
47300 cat >>confdefs.h <<\_ACEOF
47301 #define wxUSE_LIBHILDON2 1
47302 _ACEOF
47303
47304
47305 fi
47306 fi
47307 fi
47308 fi
47309
47310 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
47311 cat >>confdefs.h <<\_ACEOF
47312 #define wxUSE_CMDLINE_PARSER 1
47313 _ACEOF
47314
47315 fi
47316
47317 if test "$wxUSE_STOPWATCH" = "yes"; then
47318 cat >>confdefs.h <<\_ACEOF
47319 #define wxUSE_STOPWATCH 1
47320 _ACEOF
47321
47322 fi
47323
47324 if test "$wxUSE_DATETIME" = "yes"; then
47325 cat >>confdefs.h <<\_ACEOF
47326 #define wxUSE_DATETIME 1
47327 _ACEOF
47328
47329 fi
47330
47331 if test "$wxUSE_FILE" = "yes"; then
47332 cat >>confdefs.h <<\_ACEOF
47333 #define wxUSE_FILE 1
47334 _ACEOF
47335
47336 fi
47337
47338 if test "$wxUSE_FFILE" = "yes"; then
47339 cat >>confdefs.h <<\_ACEOF
47340 #define wxUSE_FFILE 1
47341 _ACEOF
47342
47343 fi
47344
47345 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
47346 if test "$wxUSE_STREAMS" != yes; then
47347 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
47348 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
47349 wxUSE_ARCHIVE_STREAMS=no
47350 else
47351 cat >>confdefs.h <<\_ACEOF
47352 #define wxUSE_ARCHIVE_STREAMS 1
47353 _ACEOF
47354
47355 fi
47356 fi
47357
47358 if test "$wxUSE_ZIPSTREAM" = "yes"; then
47359 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
47360 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
47361 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
47362 elif test "$wxUSE_ZLIB" = "no"; then
47363 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
47364 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
47365 else
47366 cat >>confdefs.h <<\_ACEOF
47367 #define wxUSE_ZIPSTREAM 1
47368 _ACEOF
47369
47370 fi
47371 fi
47372
47373 if test "$wxUSE_TARSTREAM" = "yes"; then
47374 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
47375 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
47376 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
47377 else
47378 cat >>confdefs.h <<\_ACEOF
47379 #define wxUSE_TARSTREAM 1
47380 _ACEOF
47381
47382 fi
47383 fi
47384
47385 if test "$wxUSE_FILE_HISTORY" = "yes"; then
47386 cat >>confdefs.h <<\_ACEOF
47387 #define wxUSE_FILE_HISTORY 1
47388 _ACEOF
47389
47390 fi
47391
47392 if test "$wxUSE_FILESYSTEM" = "yes"; then
47393 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
47394 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
47395 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
47396 wxUSE_FILESYSTEM=no
47397 else
47398 cat >>confdefs.h <<\_ACEOF
47399 #define wxUSE_FILESYSTEM 1
47400 _ACEOF
47401
47402 fi
47403 fi
47404
47405 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
47406 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
47407 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
47408 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
47409 else
47410 cat >>confdefs.h <<\_ACEOF
47411 #define wxUSE_FS_ARCHIVE 1
47412 _ACEOF
47413
47414 fi
47415 fi
47416
47417 if test "$wxUSE_FS_ZIP" = "yes"; then
47418 if test "$wxUSE_FS_ARCHIVE" != yes; then
47419 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
47420 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
47421 else
47422 cat >>confdefs.h <<\_ACEOF
47423 #define wxUSE_FS_ZIP 1
47424 _ACEOF
47425
47426 fi
47427 fi
47428
47429 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
47430 if test "$USE_UNIX" != 1; then
47431 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
47432 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
47433 wxUSE_ON_FATAL_EXCEPTION=no
47434 else
47435 cat >>confdefs.h <<\_ACEOF
47436 #define wxUSE_ON_FATAL_EXCEPTION 1
47437 _ACEOF
47438
47439 fi
47440 fi
47441
47442 if test "$wxUSE_STACKWALKER" = "yes"; then
47443 cat >>confdefs.h <<\_ACEOF
47444 #define wxUSE_STACKWALKER 1
47445 _ACEOF
47446
47447 fi
47448
47449 if test "$wxUSE_DEBUGREPORT" = "yes"; then
47450 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
47451 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
47452 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
47453 wxUSE_DEBUGREPORT=no
47454 else
47455 cat >>confdefs.h <<\_ACEOF
47456 #define wxUSE_DEBUGREPORT 1
47457 _ACEOF
47458
47459 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
47460 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
47461 fi
47462 fi
47463 fi
47464
47465 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
47466 cat >>confdefs.h <<\_ACEOF
47467 #define wxUSE_SNGLINST_CHECKER 1
47468 _ACEOF
47469
47470 fi
47471
47472 if test "$wxUSE_BUSYINFO" = "yes"; then
47473 cat >>confdefs.h <<\_ACEOF
47474 #define wxUSE_BUSYINFO 1
47475 _ACEOF
47476
47477 fi
47478
47479 if test "$wxUSE_HOTKEY" = "yes"; then
47480 if test "$wxUSE_MSW" != 1 -a "$wxUSE_OSX_COCOA" != 1 -a "$wxUSE_OSX_CARBON" != 1; then
47481 { echo "$as_me:$LINENO: WARNING: Hot keys not supported by the current toolkit, disabled" >&5
47482 echo "$as_me: WARNING: Hot keys not supported by the current toolkit, disabled" >&2;}
47483 wxUSE_HOTKEY=no
47484 fi
47485 elif test "$wxUSE_HOTKEY" = "auto"; then
47486 if test "$wxUSE_MSW" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OSX_CARBON" = 1; then
47487 wxUSE_HOTKEY=yes
47488 fi
47489 fi
47490 if test "$wxUSE_HOTKEY" = "yes"; then
47491 cat >>confdefs.h <<\_ACEOF
47492 #define wxUSE_HOTKEY 1
47493 _ACEOF
47494
47495 fi
47496
47497 if test "$wxUSE_STD_CONTAINERS" = "yes"; then
47498 cat >>confdefs.h <<\_ACEOF
47499 #define wxUSE_STD_CONTAINERS 1
47500 _ACEOF
47501
47502 fi
47503
47504 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
47505 cat >>confdefs.h <<\_ACEOF
47506 #define wxUSE_STD_IOSTREAM 1
47507 _ACEOF
47508
47509 fi
47510
47511 if test "$wxUSE_STD_STRING" = "yes"; then
47512 cat >>confdefs.h <<\_ACEOF
47513 #define wxUSE_STD_STRING 1
47514 _ACEOF
47515
47516 fi
47517
47518 if test "$wxUSE_STD_STRING_CONV_IN_WXSTRING" = "yes"; then
47519 cat >>confdefs.h <<\_ACEOF
47520 #define wxUSE_STD_STRING_CONV_IN_WXSTRING 1
47521 _ACEOF
47522
47523 fi
47524
47525 if test "$wxUSE_STDPATHS" = "yes"; then
47526 cat >>confdefs.h <<\_ACEOF
47527 #define wxUSE_STDPATHS 1
47528 _ACEOF
47529
47530 fi
47531
47532 if test "$wxUSE_TEXTBUFFER" = "yes"; then
47533 cat >>confdefs.h <<\_ACEOF
47534 #define wxUSE_TEXTBUFFER 1
47535 _ACEOF
47536
47537 fi
47538
47539 if test "$wxUSE_TEXTFILE" = "yes"; then
47540 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
47541 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
47542 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
47543 else
47544 cat >>confdefs.h <<\_ACEOF
47545 #define wxUSE_TEXTFILE 1
47546 _ACEOF
47547
47548 fi
47549 fi
47550
47551 if test "$wxUSE_CONFIG" = "yes" ; then
47552 if test "$wxUSE_TEXTFILE" != "yes"; then
47553 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
47554 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
47555 else
47556 cat >>confdefs.h <<\_ACEOF
47557 #define wxUSE_CONFIG 1
47558 _ACEOF
47559
47560 cat >>confdefs.h <<\_ACEOF
47561 #define wxUSE_CONFIG_NATIVE 1
47562 _ACEOF
47563
47564 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
47565 fi
47566 fi
47567
47568 if test "$wxUSE_INTL" = "yes" ; then
47569 if test "$wxUSE_FILE" != "yes"; then
47570 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
47571 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
47572 else
47573 cat >>confdefs.h <<\_ACEOF
47574 #define wxUSE_INTL 1
47575 _ACEOF
47576
47577 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
47578 GUIDIST="$GUIDIST INTL_DIST"
47579 fi
47580 fi
47581
47582 if test "$wxUSE_XLOCALE" = "yes" ; then
47583 cat >>confdefs.h <<\_ACEOF
47584 #define wxUSE_XLOCALE 1
47585 _ACEOF
47586
47587 { echo "$as_me:$LINENO: checking for locale_t" >&5
47588 echo $ECHO_N "checking for locale_t... $ECHO_C" >&6; }
47589 if test "${ac_cv_type_locale_t+set}" = set; then
47590 echo $ECHO_N "(cached) $ECHO_C" >&6
47591 else
47592 cat >conftest.$ac_ext <<_ACEOF
47593 /* confdefs.h. */
47594 _ACEOF
47595 cat confdefs.h >>conftest.$ac_ext
47596 cat >>conftest.$ac_ext <<_ACEOF
47597 /* end confdefs.h. */
47598 #include <xlocale.h>
47599 #include <locale.h>
47600
47601 typedef locale_t ac__type_new_;
47602 int
47603 main ()
47604 {
47605 if ((ac__type_new_ *) 0)
47606 return 0;
47607 if (sizeof (ac__type_new_))
47608 return 0;
47609 ;
47610 return 0;
47611 }
47612 _ACEOF
47613 rm -f conftest.$ac_objext
47614 if { (ac_try="$ac_compile"
47615 case "(($ac_try" in
47616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47617 *) ac_try_echo=$ac_try;;
47618 esac
47619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47620 (eval "$ac_compile") 2>conftest.er1
47621 ac_status=$?
47622 grep -v '^ *+' conftest.er1 >conftest.err
47623 rm -f conftest.er1
47624 cat conftest.err >&5
47625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47626 (exit $ac_status); } && {
47627 test -z "$ac_c_werror_flag" ||
47628 test ! -s conftest.err
47629 } && test -s conftest.$ac_objext; then
47630 ac_cv_type_locale_t=yes
47631 else
47632 echo "$as_me: failed program was:" >&5
47633 sed 's/^/| /' conftest.$ac_ext >&5
47634
47635 ac_cv_type_locale_t=no
47636 fi
47637
47638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47639 fi
47640 { echo "$as_me:$LINENO: result: $ac_cv_type_locale_t" >&5
47641 echo "${ECHO_T}$ac_cv_type_locale_t" >&6; }
47642 if test $ac_cv_type_locale_t = yes; then
47643
47644 cat >>confdefs.h <<_ACEOF
47645 #define HAVE_LOCALE_T 1
47646 _ACEOF
47647
47648
47649 fi
47650
47651 fi
47652
47653 if test "$wxUSE_LOG" = "yes"; then
47654 cat >>confdefs.h <<\_ACEOF
47655 #define wxUSE_LOG 1
47656 _ACEOF
47657
47658
47659 if test "$wxUSE_LOGGUI" = "yes"; then
47660 cat >>confdefs.h <<\_ACEOF
47661 #define wxUSE_LOGGUI 1
47662 _ACEOF
47663
47664 fi
47665
47666 if test "$wxUSE_LOGWINDOW" = "yes"; then
47667 cat >>confdefs.h <<\_ACEOF
47668 #define wxUSE_LOGWINDOW 1
47669 _ACEOF
47670
47671 fi
47672
47673 if test "$wxUSE_LOGDIALOG" = "yes"; then
47674 cat >>confdefs.h <<\_ACEOF
47675 #define wxUSE_LOG_DIALOG 1
47676 _ACEOF
47677
47678 fi
47679
47680 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
47681 fi
47682
47683 if test "$wxUSE_LONGLONG" = "yes"; then
47684 cat >>confdefs.h <<\_ACEOF
47685 #define wxUSE_LONGLONG 1
47686 _ACEOF
47687
47688 fi
47689
47690 if test "$wxUSE_GEOMETRY" = "yes"; then
47691 cat >>confdefs.h <<\_ACEOF
47692 #define wxUSE_GEOMETRY 1
47693 _ACEOF
47694
47695 fi
47696
47697 if test "$wxUSE_BASE64" = "yes"; then
47698 cat >>confdefs.h <<\_ACEOF
47699 #define wxUSE_BASE64 1
47700 _ACEOF
47701
47702 fi
47703
47704 if test "$wxUSE_STREAMS" = "yes" ; then
47705 cat >>confdefs.h <<\_ACEOF
47706 #define wxUSE_STREAMS 1
47707 _ACEOF
47708
47709 fi
47710
47711 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
47712 cat >>confdefs.h <<\_ACEOF
47713 #define wxUSE_PRINTF_POS_PARAMS 1
47714 _ACEOF
47715
47716 fi
47717
47718 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
47719 cat >>confdefs.h <<\_ACEOF
47720 #define wxUSE_OBJC_UNIQUIFYING 1
47721 _ACEOF
47722
47723 fi
47724
47725
47726 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
47727 cat >>confdefs.h <<\_ACEOF
47728 #define wxUSE_CONSOLE_EVENTLOOP 1
47729 _ACEOF
47730
47731
47732 if test "$wxUSE_UNIX" = "yes"; then
47733 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
47734 cat >>confdefs.h <<\_ACEOF
47735 #define wxUSE_SELECT_DISPATCHER 1
47736 _ACEOF
47737
47738 fi
47739
47740 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
47741
47742 for ac_header in sys/epoll.h
47743 do
47744 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
47745 { echo "$as_me:$LINENO: checking for $ac_header" >&5
47746 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
47747 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
47748 echo $ECHO_N "(cached) $ECHO_C" >&6
47749 else
47750 cat >conftest.$ac_ext <<_ACEOF
47751 /* confdefs.h. */
47752 _ACEOF
47753 cat confdefs.h >>conftest.$ac_ext
47754 cat >>conftest.$ac_ext <<_ACEOF
47755 /* end confdefs.h. */
47756 $ac_includes_default
47757
47758 #include <$ac_header>
47759 _ACEOF
47760 rm -f conftest.$ac_objext
47761 if { (ac_try="$ac_compile"
47762 case "(($ac_try" in
47763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47764 *) ac_try_echo=$ac_try;;
47765 esac
47766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47767 (eval "$ac_compile") 2>conftest.er1
47768 ac_status=$?
47769 grep -v '^ *+' conftest.er1 >conftest.err
47770 rm -f conftest.er1
47771 cat conftest.err >&5
47772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47773 (exit $ac_status); } && {
47774 test -z "$ac_c_werror_flag" ||
47775 test ! -s conftest.err
47776 } && test -s conftest.$ac_objext; then
47777 eval "$as_ac_Header=yes"
47778 else
47779 echo "$as_me: failed program was:" >&5
47780 sed 's/^/| /' conftest.$ac_ext >&5
47781
47782 eval "$as_ac_Header=no"
47783 fi
47784
47785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47786 fi
47787 ac_res=`eval echo '${'$as_ac_Header'}'`
47788 { echo "$as_me:$LINENO: result: $ac_res" >&5
47789 echo "${ECHO_T}$ac_res" >&6; }
47790 if test `eval echo '${'$as_ac_Header'}'` = yes; then
47791 cat >>confdefs.h <<_ACEOF
47792 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
47793 _ACEOF
47794
47795 fi
47796
47797 done
47798
47799 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
47800 cat >>confdefs.h <<\_ACEOF
47801 #define wxUSE_EPOLL_DISPATCHER 1
47802 _ACEOF
47803
47804 else
47805 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
47806 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
47807 fi
47808 fi
47809 fi
47810 fi
47811
47812
47813
47814
47815 for ac_func in gettimeofday ftime
47816 do
47817 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47818 { echo "$as_me:$LINENO: checking for $ac_func" >&5
47819 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
47820 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
47821 echo $ECHO_N "(cached) $ECHO_C" >&6
47822 else
47823 cat >conftest.$ac_ext <<_ACEOF
47824 /* confdefs.h. */
47825 _ACEOF
47826 cat confdefs.h >>conftest.$ac_ext
47827 cat >>conftest.$ac_ext <<_ACEOF
47828 /* end confdefs.h. */
47829 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47830 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47831 #define $ac_func innocuous_$ac_func
47832
47833 /* System header to define __stub macros and hopefully few prototypes,
47834 which can conflict with char $ac_func (); below.
47835 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47836 <limits.h> exists even on freestanding compilers. */
47837
47838 #ifdef __STDC__
47839 # include <limits.h>
47840 #else
47841 # include <assert.h>
47842 #endif
47843
47844 #undef $ac_func
47845
47846 /* Override any GCC internal prototype to avoid an error.
47847 Use char because int might match the return type of a GCC
47848 builtin and then its argument prototype would still apply. */
47849 #ifdef __cplusplus
47850 extern "C"
47851 #endif
47852 char $ac_func ();
47853 /* The GNU C library defines this for functions which it implements
47854 to always fail with ENOSYS. Some functions are actually named
47855 something starting with __ and the normal name is an alias. */
47856 #if defined __stub_$ac_func || defined __stub___$ac_func
47857 choke me
47858 #endif
47859
47860 int
47861 main ()
47862 {
47863 return $ac_func ();
47864 ;
47865 return 0;
47866 }
47867 _ACEOF
47868 rm -f conftest.$ac_objext conftest$ac_exeext
47869 if { (ac_try="$ac_link"
47870 case "(($ac_try" in
47871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47872 *) ac_try_echo=$ac_try;;
47873 esac
47874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47875 (eval "$ac_link") 2>conftest.er1
47876 ac_status=$?
47877 grep -v '^ *+' conftest.er1 >conftest.err
47878 rm -f conftest.er1
47879 cat conftest.err >&5
47880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47881 (exit $ac_status); } && {
47882 test -z "$ac_c_werror_flag" ||
47883 test ! -s conftest.err
47884 } && test -s conftest$ac_exeext &&
47885 $as_test_x conftest$ac_exeext; then
47886 eval "$as_ac_var=yes"
47887 else
47888 echo "$as_me: failed program was:" >&5
47889 sed 's/^/| /' conftest.$ac_ext >&5
47890
47891 eval "$as_ac_var=no"
47892 fi
47893
47894 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
47895 conftest$ac_exeext conftest.$ac_ext
47896 fi
47897 ac_res=`eval echo '${'$as_ac_var'}'`
47898 { echo "$as_me:$LINENO: result: $ac_res" >&5
47899 echo "${ECHO_T}$ac_res" >&6; }
47900 if test `eval echo '${'$as_ac_var'}'` = yes; then
47901 cat >>confdefs.h <<_ACEOF
47902 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47903 _ACEOF
47904 break
47905 fi
47906 done
47907
47908
47909 if test "$ac_cv_func_gettimeofday" = "yes"; then
47910 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
47911 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
47912 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
47913 echo $ECHO_N "(cached) $ECHO_C" >&6
47914 else
47915
47916 cat >conftest.$ac_ext <<_ACEOF
47917 /* confdefs.h. */
47918 _ACEOF
47919 cat confdefs.h >>conftest.$ac_ext
47920 cat >>conftest.$ac_ext <<_ACEOF
47921 /* end confdefs.h. */
47922
47923 #include <sys/time.h>
47924 #include <unistd.h>
47925
47926 int
47927 main ()
47928 {
47929
47930 struct timeval tv;
47931 gettimeofday(&tv, NULL);
47932
47933 ;
47934 return 0;
47935 }
47936 _ACEOF
47937 rm -f conftest.$ac_objext
47938 if { (ac_try="$ac_compile"
47939 case "(($ac_try" in
47940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47941 *) ac_try_echo=$ac_try;;
47942 esac
47943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47944 (eval "$ac_compile") 2>conftest.er1
47945 ac_status=$?
47946 grep -v '^ *+' conftest.er1 >conftest.err
47947 rm -f conftest.er1
47948 cat conftest.err >&5
47949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47950 (exit $ac_status); } && {
47951 test -z "$ac_c_werror_flag" ||
47952 test ! -s conftest.err
47953 } && test -s conftest.$ac_objext; then
47954 wx_cv_func_gettimeofday_has_2_args=yes
47955 else
47956 echo "$as_me: failed program was:" >&5
47957 sed 's/^/| /' conftest.$ac_ext >&5
47958
47959 cat >conftest.$ac_ext <<_ACEOF
47960 /* confdefs.h. */
47961 _ACEOF
47962 cat confdefs.h >>conftest.$ac_ext
47963 cat >>conftest.$ac_ext <<_ACEOF
47964 /* end confdefs.h. */
47965
47966 #include <sys/time.h>
47967 #include <unistd.h>
47968
47969 int
47970 main ()
47971 {
47972
47973 struct timeval tv;
47974 gettimeofday(&tv);
47975
47976 ;
47977 return 0;
47978 }
47979 _ACEOF
47980 rm -f conftest.$ac_objext
47981 if { (ac_try="$ac_compile"
47982 case "(($ac_try" in
47983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47984 *) ac_try_echo=$ac_try;;
47985 esac
47986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47987 (eval "$ac_compile") 2>conftest.er1
47988 ac_status=$?
47989 grep -v '^ *+' conftest.er1 >conftest.err
47990 rm -f conftest.er1
47991 cat conftest.err >&5
47992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47993 (exit $ac_status); } && {
47994 test -z "$ac_c_werror_flag" ||
47995 test ! -s conftest.err
47996 } && test -s conftest.$ac_objext; then
47997 wx_cv_func_gettimeofday_has_2_args=no
47998 else
47999 echo "$as_me: failed program was:" >&5
48000 sed 's/^/| /' conftest.$ac_ext >&5
48001
48002
48003 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
48004 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
48005 wx_cv_func_gettimeofday_has_2_args=unknown
48006
48007
48008 fi
48009
48010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48011
48012 fi
48013
48014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48015
48016 fi
48017 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
48018 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
48019
48020 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
48021 cat >>confdefs.h <<\_ACEOF
48022 #define WX_GETTIMEOFDAY_NO_TZ 1
48023 _ACEOF
48024
48025 fi
48026 fi
48027
48028 if test "$wxUSE_DATETIME" = "yes"; then
48029 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
48030 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
48031 if test "${wx_cv_var_timezone+set}" = set; then
48032 echo $ECHO_N "(cached) $ECHO_C" >&6
48033 else
48034
48035 ac_ext=cpp
48036 ac_cpp='$CXXCPP $CPPFLAGS'
48037 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48038 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48039 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48040
48041 cat >conftest.$ac_ext <<_ACEOF
48042 /* confdefs.h. */
48043 _ACEOF
48044 cat confdefs.h >>conftest.$ac_ext
48045 cat >>conftest.$ac_ext <<_ACEOF
48046 /* end confdefs.h. */
48047
48048 #include <time.h>
48049
48050 int
48051 main ()
48052 {
48053
48054 int tz;
48055 tz = timezone;
48056
48057 ;
48058 return 0;
48059 }
48060 _ACEOF
48061 rm -f conftest.$ac_objext
48062 if { (ac_try="$ac_compile"
48063 case "(($ac_try" in
48064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48065 *) ac_try_echo=$ac_try;;
48066 esac
48067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48068 (eval "$ac_compile") 2>conftest.er1
48069 ac_status=$?
48070 grep -v '^ *+' conftest.er1 >conftest.err
48071 rm -f conftest.er1
48072 cat conftest.err >&5
48073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48074 (exit $ac_status); } && {
48075 test -z "$ac_cxx_werror_flag" ||
48076 test ! -s conftest.err
48077 } && test -s conftest.$ac_objext; then
48078
48079 wx_cv_var_timezone=timezone
48080
48081 else
48082 echo "$as_me: failed program was:" >&5
48083 sed 's/^/| /' conftest.$ac_ext >&5
48084
48085
48086 cat >conftest.$ac_ext <<_ACEOF
48087 /* confdefs.h. */
48088 _ACEOF
48089 cat confdefs.h >>conftest.$ac_ext
48090 cat >>conftest.$ac_ext <<_ACEOF
48091 /* end confdefs.h. */
48092
48093 #include <time.h>
48094
48095 int
48096 main ()
48097 {
48098
48099 int tz;
48100 tz = _timezone;
48101
48102 ;
48103 return 0;
48104 }
48105 _ACEOF
48106 rm -f conftest.$ac_objext
48107 if { (ac_try="$ac_compile"
48108 case "(($ac_try" in
48109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48110 *) ac_try_echo=$ac_try;;
48111 esac
48112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48113 (eval "$ac_compile") 2>conftest.er1
48114 ac_status=$?
48115 grep -v '^ *+' conftest.er1 >conftest.err
48116 rm -f conftest.er1
48117 cat conftest.err >&5
48118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48119 (exit $ac_status); } && {
48120 test -z "$ac_cxx_werror_flag" ||
48121 test ! -s conftest.err
48122 } && test -s conftest.$ac_objext; then
48123
48124 wx_cv_var_timezone=_timezone
48125
48126 else
48127 echo "$as_me: failed program was:" >&5
48128 sed 's/^/| /' conftest.$ac_ext >&5
48129
48130
48131 cat >conftest.$ac_ext <<_ACEOF
48132 /* confdefs.h. */
48133 _ACEOF
48134 cat confdefs.h >>conftest.$ac_ext
48135 cat >>conftest.$ac_ext <<_ACEOF
48136 /* end confdefs.h. */
48137
48138 #include <time.h>
48139
48140 int
48141 main ()
48142 {
48143
48144 int tz;
48145 tz = __timezone;
48146
48147 ;
48148 return 0;
48149 }
48150 _ACEOF
48151 rm -f conftest.$ac_objext
48152 if { (ac_try="$ac_compile"
48153 case "(($ac_try" in
48154 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48155 *) ac_try_echo=$ac_try;;
48156 esac
48157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48158 (eval "$ac_compile") 2>conftest.er1
48159 ac_status=$?
48160 grep -v '^ *+' conftest.er1 >conftest.err
48161 rm -f conftest.er1
48162 cat conftest.err >&5
48163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48164 (exit $ac_status); } && {
48165 test -z "$ac_cxx_werror_flag" ||
48166 test ! -s conftest.err
48167 } && test -s conftest.$ac_objext; then
48168
48169 wx_cv_var_timezone=__timezone
48170
48171 else
48172 echo "$as_me: failed program was:" >&5
48173 sed 's/^/| /' conftest.$ac_ext >&5
48174
48175
48176 if test "$USE_DOS" = 0 ; then
48177 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
48178 echo "$as_me: WARNING: no timezone variable" >&2;}
48179 fi
48180
48181
48182 fi
48183
48184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48185
48186
48187 fi
48188
48189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48190
48191
48192 fi
48193
48194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48195 ac_ext=c
48196 ac_cpp='$CPP $CPPFLAGS'
48197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48200
48201
48202
48203 fi
48204 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
48205 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
48206
48207 if test "x$wx_cv_var_timezone" != x ; then
48208 cat >>confdefs.h <<_ACEOF
48209 #define WX_TIMEZONE $wx_cv_var_timezone
48210 _ACEOF
48211
48212 fi
48213
48214
48215 for ac_func in localtime
48216 do
48217 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48218 { echo "$as_me:$LINENO: checking for $ac_func" >&5
48219 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
48220 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
48221 echo $ECHO_N "(cached) $ECHO_C" >&6
48222 else
48223 cat >conftest.$ac_ext <<_ACEOF
48224 /* confdefs.h. */
48225 _ACEOF
48226 cat confdefs.h >>conftest.$ac_ext
48227 cat >>conftest.$ac_ext <<_ACEOF
48228 /* end confdefs.h. */
48229 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48230 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48231 #define $ac_func innocuous_$ac_func
48232
48233 /* System header to define __stub macros and hopefully few prototypes,
48234 which can conflict with char $ac_func (); below.
48235 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48236 <limits.h> exists even on freestanding compilers. */
48237
48238 #ifdef __STDC__
48239 # include <limits.h>
48240 #else
48241 # include <assert.h>
48242 #endif
48243
48244 #undef $ac_func
48245
48246 /* Override any GCC internal prototype to avoid an error.
48247 Use char because int might match the return type of a GCC
48248 builtin and then its argument prototype would still apply. */
48249 #ifdef __cplusplus
48250 extern "C"
48251 #endif
48252 char $ac_func ();
48253 /* The GNU C library defines this for functions which it implements
48254 to always fail with ENOSYS. Some functions are actually named
48255 something starting with __ and the normal name is an alias. */
48256 #if defined __stub_$ac_func || defined __stub___$ac_func
48257 choke me
48258 #endif
48259
48260 int
48261 main ()
48262 {
48263 return $ac_func ();
48264 ;
48265 return 0;
48266 }
48267 _ACEOF
48268 rm -f conftest.$ac_objext conftest$ac_exeext
48269 if { (ac_try="$ac_link"
48270 case "(($ac_try" in
48271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48272 *) ac_try_echo=$ac_try;;
48273 esac
48274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48275 (eval "$ac_link") 2>conftest.er1
48276 ac_status=$?
48277 grep -v '^ *+' conftest.er1 >conftest.err
48278 rm -f conftest.er1
48279 cat conftest.err >&5
48280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48281 (exit $ac_status); } && {
48282 test -z "$ac_c_werror_flag" ||
48283 test ! -s conftest.err
48284 } && test -s conftest$ac_exeext &&
48285 $as_test_x conftest$ac_exeext; then
48286 eval "$as_ac_var=yes"
48287 else
48288 echo "$as_me: failed program was:" >&5
48289 sed 's/^/| /' conftest.$ac_ext >&5
48290
48291 eval "$as_ac_var=no"
48292 fi
48293
48294 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
48295 conftest$ac_exeext conftest.$ac_ext
48296 fi
48297 ac_res=`eval echo '${'$as_ac_var'}'`
48298 { echo "$as_me:$LINENO: result: $ac_res" >&5
48299 echo "${ECHO_T}$ac_res" >&6; }
48300 if test `eval echo '${'$as_ac_var'}'` = yes; then
48301 cat >>confdefs.h <<_ACEOF
48302 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48303 _ACEOF
48304
48305 fi
48306 done
48307
48308
48309 if test "$ac_cv_func_localtime" = "yes"; then
48310 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
48311 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
48312 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
48313 echo $ECHO_N "(cached) $ECHO_C" >&6
48314 else
48315
48316 cat >conftest.$ac_ext <<_ACEOF
48317 /* confdefs.h. */
48318 _ACEOF
48319 cat confdefs.h >>conftest.$ac_ext
48320 cat >>conftest.$ac_ext <<_ACEOF
48321 /* end confdefs.h. */
48322
48323 #include <time.h>
48324
48325 int
48326 main ()
48327 {
48328
48329 struct tm tm;
48330 tm.tm_gmtoff++;
48331
48332 ;
48333 return 0;
48334 }
48335 _ACEOF
48336 rm -f conftest.$ac_objext
48337 if { (ac_try="$ac_compile"
48338 case "(($ac_try" in
48339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48340 *) ac_try_echo=$ac_try;;
48341 esac
48342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48343 (eval "$ac_compile") 2>conftest.er1
48344 ac_status=$?
48345 grep -v '^ *+' conftest.er1 >conftest.err
48346 rm -f conftest.er1
48347 cat conftest.err >&5
48348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48349 (exit $ac_status); } && {
48350 test -z "$ac_c_werror_flag" ||
48351 test ! -s conftest.err
48352 } && test -s conftest.$ac_objext; then
48353
48354 wx_cv_struct_tm_has_gmtoff=yes
48355
48356 else
48357 echo "$as_me: failed program was:" >&5
48358 sed 's/^/| /' conftest.$ac_ext >&5
48359
48360 wx_cv_struct_tm_has_gmtoff=no
48361
48362 fi
48363
48364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48365
48366 fi
48367 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
48368 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
48369 fi
48370
48371 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
48372 cat >>confdefs.h <<\_ACEOF
48373 #define WX_GMTOFF_IN_TM 1
48374 _ACEOF
48375
48376 fi
48377
48378 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
48379 fi
48380
48381
48382 if test "$wxUSE_SOCKETS" = "yes"; then
48383 if test "$TOOLKIT" != "MSW"; then
48384 { echo "$as_me:$LINENO: checking for socket" >&5
48385 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
48386 if test "${ac_cv_func_socket+set}" = set; then
48387 echo $ECHO_N "(cached) $ECHO_C" >&6
48388 else
48389 cat >conftest.$ac_ext <<_ACEOF
48390 /* confdefs.h. */
48391 _ACEOF
48392 cat confdefs.h >>conftest.$ac_ext
48393 cat >>conftest.$ac_ext <<_ACEOF
48394 /* end confdefs.h. */
48395 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
48396 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48397 #define socket innocuous_socket
48398
48399 /* System header to define __stub macros and hopefully few prototypes,
48400 which can conflict with char socket (); below.
48401 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48402 <limits.h> exists even on freestanding compilers. */
48403
48404 #ifdef __STDC__
48405 # include <limits.h>
48406 #else
48407 # include <assert.h>
48408 #endif
48409
48410 #undef socket
48411
48412 /* Override any GCC internal prototype to avoid an error.
48413 Use char because int might match the return type of a GCC
48414 builtin and then its argument prototype would still apply. */
48415 #ifdef __cplusplus
48416 extern "C"
48417 #endif
48418 char socket ();
48419 /* The GNU C library defines this for functions which it implements
48420 to always fail with ENOSYS. Some functions are actually named
48421 something starting with __ and the normal name is an alias. */
48422 #if defined __stub_socket || defined __stub___socket
48423 choke me
48424 #endif
48425
48426 int
48427 main ()
48428 {
48429 return socket ();
48430 ;
48431 return 0;
48432 }
48433 _ACEOF
48434 rm -f conftest.$ac_objext conftest$ac_exeext
48435 if { (ac_try="$ac_link"
48436 case "(($ac_try" in
48437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48438 *) ac_try_echo=$ac_try;;
48439 esac
48440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48441 (eval "$ac_link") 2>conftest.er1
48442 ac_status=$?
48443 grep -v '^ *+' conftest.er1 >conftest.err
48444 rm -f conftest.er1
48445 cat conftest.err >&5
48446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48447 (exit $ac_status); } && {
48448 test -z "$ac_c_werror_flag" ||
48449 test ! -s conftest.err
48450 } && test -s conftest$ac_exeext &&
48451 $as_test_x conftest$ac_exeext; then
48452 ac_cv_func_socket=yes
48453 else
48454 echo "$as_me: failed program was:" >&5
48455 sed 's/^/| /' conftest.$ac_ext >&5
48456
48457 ac_cv_func_socket=no
48458 fi
48459
48460 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
48461 conftest$ac_exeext conftest.$ac_ext
48462 fi
48463 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
48464 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
48465 if test $ac_cv_func_socket = yes; then
48466 :
48467 else
48468
48469 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
48470 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
48471 if test "${ac_cv_lib_socket_socket+set}" = set; then
48472 echo $ECHO_N "(cached) $ECHO_C" >&6
48473 else
48474 ac_check_lib_save_LIBS=$LIBS
48475 LIBS="-lsocket $LIBS"
48476 cat >conftest.$ac_ext <<_ACEOF
48477 /* confdefs.h. */
48478 _ACEOF
48479 cat confdefs.h >>conftest.$ac_ext
48480 cat >>conftest.$ac_ext <<_ACEOF
48481 /* end confdefs.h. */
48482
48483 /* Override any GCC internal prototype to avoid an error.
48484 Use char because int might match the return type of a GCC
48485 builtin and then its argument prototype would still apply. */
48486 #ifdef __cplusplus
48487 extern "C"
48488 #endif
48489 char socket ();
48490 int
48491 main ()
48492 {
48493 return socket ();
48494 ;
48495 return 0;
48496 }
48497 _ACEOF
48498 rm -f conftest.$ac_objext conftest$ac_exeext
48499 if { (ac_try="$ac_link"
48500 case "(($ac_try" in
48501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48502 *) ac_try_echo=$ac_try;;
48503 esac
48504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48505 (eval "$ac_link") 2>conftest.er1
48506 ac_status=$?
48507 grep -v '^ *+' conftest.er1 >conftest.err
48508 rm -f conftest.er1
48509 cat conftest.err >&5
48510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48511 (exit $ac_status); } && {
48512 test -z "$ac_c_werror_flag" ||
48513 test ! -s conftest.err
48514 } && test -s conftest$ac_exeext &&
48515 $as_test_x conftest$ac_exeext; then
48516 ac_cv_lib_socket_socket=yes
48517 else
48518 echo "$as_me: failed program was:" >&5
48519 sed 's/^/| /' conftest.$ac_ext >&5
48520
48521 ac_cv_lib_socket_socket=no
48522 fi
48523
48524 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
48525 conftest$ac_exeext conftest.$ac_ext
48526 LIBS=$ac_check_lib_save_LIBS
48527 fi
48528 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
48529 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
48530 if test $ac_cv_lib_socket_socket = yes; then
48531 if test "$INET_LINK" != " -lsocket"; then
48532 INET_LINK="$INET_LINK -lsocket"
48533 fi
48534 else
48535
48536 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
48537 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
48538 wxUSE_SOCKETS=no
48539
48540
48541 fi
48542
48543
48544
48545 fi
48546
48547 fi
48548 fi
48549
48550 if test "$wxUSE_SOCKETS" = "yes" ; then
48551 if test "$TOOLKIT" != "MSW"; then
48552 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
48553 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
48554 if test "${wx_cv_type_getsockname3+set}" = set; then
48555 echo $ECHO_N "(cached) $ECHO_C" >&6
48556 else
48557
48558 ac_ext=cpp
48559 ac_cpp='$CXXCPP $CPPFLAGS'
48560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48563
48564 cat >conftest.$ac_ext <<_ACEOF
48565 /* confdefs.h. */
48566 _ACEOF
48567 cat confdefs.h >>conftest.$ac_ext
48568 cat >>conftest.$ac_ext <<_ACEOF
48569 /* end confdefs.h. */
48570
48571 #include <sys/types.h>
48572 #include <sys/socket.h>
48573
48574 int
48575 main ()
48576 {
48577
48578 socklen_t len;
48579 getsockname(0, 0, &len);
48580
48581 ;
48582 return 0;
48583 }
48584 _ACEOF
48585 rm -f conftest.$ac_objext
48586 if { (ac_try="$ac_compile"
48587 case "(($ac_try" in
48588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48589 *) ac_try_echo=$ac_try;;
48590 esac
48591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48592 (eval "$ac_compile") 2>conftest.er1
48593 ac_status=$?
48594 grep -v '^ *+' conftest.er1 >conftest.err
48595 rm -f conftest.er1
48596 cat conftest.err >&5
48597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48598 (exit $ac_status); } && {
48599 test -z "$ac_cxx_werror_flag" ||
48600 test ! -s conftest.err
48601 } && test -s conftest.$ac_objext; then
48602 wx_cv_type_getsockname3=socklen_t
48603 else
48604 echo "$as_me: failed program was:" >&5
48605 sed 's/^/| /' conftest.$ac_ext >&5
48606
48607
48608 CFLAGS_OLD="$CFLAGS"
48609 if test "$GCC" = yes ; then
48610 CFLAGS="-Werror $CFLAGS"
48611 fi
48612
48613 cat >conftest.$ac_ext <<_ACEOF
48614 /* confdefs.h. */
48615 _ACEOF
48616 cat confdefs.h >>conftest.$ac_ext
48617 cat >>conftest.$ac_ext <<_ACEOF
48618 /* end confdefs.h. */
48619
48620 #include <sys/types.h>
48621 #include <sys/socket.h>
48622
48623 int
48624 main ()
48625 {
48626
48627 size_t len;
48628 getsockname(0, 0, &len);
48629
48630 ;
48631 return 0;
48632 }
48633 _ACEOF
48634 rm -f conftest.$ac_objext
48635 if { (ac_try="$ac_compile"
48636 case "(($ac_try" in
48637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48638 *) ac_try_echo=$ac_try;;
48639 esac
48640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48641 (eval "$ac_compile") 2>conftest.er1
48642 ac_status=$?
48643 grep -v '^ *+' conftest.er1 >conftest.err
48644 rm -f conftest.er1
48645 cat conftest.err >&5
48646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48647 (exit $ac_status); } && {
48648 test -z "$ac_cxx_werror_flag" ||
48649 test ! -s conftest.err
48650 } && test -s conftest.$ac_objext; then
48651 wx_cv_type_getsockname3=size_t
48652 else
48653 echo "$as_me: failed program was:" >&5
48654 sed 's/^/| /' conftest.$ac_ext >&5
48655
48656 cat >conftest.$ac_ext <<_ACEOF
48657 /* confdefs.h. */
48658 _ACEOF
48659 cat confdefs.h >>conftest.$ac_ext
48660 cat >>conftest.$ac_ext <<_ACEOF
48661 /* end confdefs.h. */
48662
48663 #include <sys/types.h>
48664 #include <sys/socket.h>
48665
48666 int
48667 main ()
48668 {
48669
48670 int len;
48671 getsockname(0, 0, &len);
48672
48673 ;
48674 return 0;
48675 }
48676 _ACEOF
48677 rm -f conftest.$ac_objext
48678 if { (ac_try="$ac_compile"
48679 case "(($ac_try" in
48680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48681 *) ac_try_echo=$ac_try;;
48682 esac
48683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48684 (eval "$ac_compile") 2>conftest.er1
48685 ac_status=$?
48686 grep -v '^ *+' conftest.er1 >conftest.err
48687 rm -f conftest.er1
48688 cat conftest.err >&5
48689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48690 (exit $ac_status); } && {
48691 test -z "$ac_cxx_werror_flag" ||
48692 test ! -s conftest.err
48693 } && test -s conftest.$ac_objext; then
48694 wx_cv_type_getsockname3=int
48695 else
48696 echo "$as_me: failed program was:" >&5
48697 sed 's/^/| /' conftest.$ac_ext >&5
48698
48699 wx_cv_type_getsockname3=unknown
48700
48701 fi
48702
48703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48704
48705 fi
48706
48707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48708
48709 CFLAGS="$CFLAGS_OLD"
48710
48711
48712 fi
48713
48714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48715 ac_ext=c
48716 ac_cpp='$CPP $CPPFLAGS'
48717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48720
48721
48722 fi
48723 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
48724 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
48725
48726 if test "$wx_cv_type_getsockname3" = "unknown"; then
48727 wxUSE_SOCKETS=no
48728 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
48729 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
48730 else
48731 cat >>confdefs.h <<_ACEOF
48732 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
48733 _ACEOF
48734
48735 fi
48736 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
48737 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
48738 if test "${wx_cv_type_getsockopt5+set}" = set; then
48739 echo $ECHO_N "(cached) $ECHO_C" >&6
48740 else
48741
48742 ac_ext=cpp
48743 ac_cpp='$CXXCPP $CPPFLAGS'
48744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48747
48748 cat >conftest.$ac_ext <<_ACEOF
48749 /* confdefs.h. */
48750 _ACEOF
48751 cat confdefs.h >>conftest.$ac_ext
48752 cat >>conftest.$ac_ext <<_ACEOF
48753 /* end confdefs.h. */
48754
48755 #include <sys/types.h>
48756 #include <sys/socket.h>
48757
48758 int
48759 main ()
48760 {
48761
48762 socklen_t len;
48763 getsockopt(0, 0, 0, 0, &len);
48764
48765 ;
48766 return 0;
48767 }
48768 _ACEOF
48769 rm -f conftest.$ac_objext
48770 if { (ac_try="$ac_compile"
48771 case "(($ac_try" in
48772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48773 *) ac_try_echo=$ac_try;;
48774 esac
48775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48776 (eval "$ac_compile") 2>conftest.er1
48777 ac_status=$?
48778 grep -v '^ *+' conftest.er1 >conftest.err
48779 rm -f conftest.er1
48780 cat conftest.err >&5
48781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48782 (exit $ac_status); } && {
48783 test -z "$ac_cxx_werror_flag" ||
48784 test ! -s conftest.err
48785 } && test -s conftest.$ac_objext; then
48786 wx_cv_type_getsockopt5=socklen_t
48787 else
48788 echo "$as_me: failed program was:" >&5
48789 sed 's/^/| /' conftest.$ac_ext >&5
48790
48791
48792 cat >conftest.$ac_ext <<_ACEOF
48793 /* confdefs.h. */
48794 _ACEOF
48795 cat confdefs.h >>conftest.$ac_ext
48796 cat >>conftest.$ac_ext <<_ACEOF
48797 /* end confdefs.h. */
48798
48799 #include <sys/types.h>
48800 #include <sys/socket.h>
48801
48802 int
48803 main ()
48804 {
48805
48806 size_t len;
48807 getsockopt(0, 0, 0, 0, &len);
48808
48809 ;
48810 return 0;
48811 }
48812 _ACEOF
48813 rm -f conftest.$ac_objext
48814 if { (ac_try="$ac_compile"
48815 case "(($ac_try" in
48816 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48817 *) ac_try_echo=$ac_try;;
48818 esac
48819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48820 (eval "$ac_compile") 2>conftest.er1
48821 ac_status=$?
48822 grep -v '^ *+' conftest.er1 >conftest.err
48823 rm -f conftest.er1
48824 cat conftest.err >&5
48825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48826 (exit $ac_status); } && {
48827 test -z "$ac_cxx_werror_flag" ||
48828 test ! -s conftest.err
48829 } && test -s conftest.$ac_objext; then
48830 wx_cv_type_getsockopt5=size_t
48831 else
48832 echo "$as_me: failed program was:" >&5
48833 sed 's/^/| /' conftest.$ac_ext >&5
48834
48835 cat >conftest.$ac_ext <<_ACEOF
48836 /* confdefs.h. */
48837 _ACEOF
48838 cat confdefs.h >>conftest.$ac_ext
48839 cat >>conftest.$ac_ext <<_ACEOF
48840 /* end confdefs.h. */
48841
48842 #include <sys/types.h>
48843 #include <sys/socket.h>
48844
48845 int
48846 main ()
48847 {
48848
48849 int len;
48850 getsockopt(0, 0, 0, 0, &len);
48851
48852 ;
48853 return 0;
48854 }
48855 _ACEOF
48856 rm -f conftest.$ac_objext
48857 if { (ac_try="$ac_compile"
48858 case "(($ac_try" in
48859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48860 *) ac_try_echo=$ac_try;;
48861 esac
48862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48863 (eval "$ac_compile") 2>conftest.er1
48864 ac_status=$?
48865 grep -v '^ *+' conftest.er1 >conftest.err
48866 rm -f conftest.er1
48867 cat conftest.err >&5
48868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48869 (exit $ac_status); } && {
48870 test -z "$ac_cxx_werror_flag" ||
48871 test ! -s conftest.err
48872 } && test -s conftest.$ac_objext; then
48873 wx_cv_type_getsockopt5=int
48874 else
48875 echo "$as_me: failed program was:" >&5
48876 sed 's/^/| /' conftest.$ac_ext >&5
48877
48878 wx_cv_type_getsockopt5=unknown
48879
48880 fi
48881
48882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48883
48884 fi
48885
48886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48887
48888
48889 fi
48890
48891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48892 ac_ext=c
48893 ac_cpp='$CPP $CPPFLAGS'
48894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48897
48898
48899 fi
48900 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
48901 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
48902
48903 if test "$wx_cv_type_getsockopt5" = "unknown"; then
48904 wxUSE_SOCKETS=no
48905 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
48906 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
48907 else
48908 cat >>confdefs.h <<_ACEOF
48909 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
48910 _ACEOF
48911
48912 fi
48913 fi
48914 fi
48915
48916 if test "$wxUSE_SOCKETS" = "yes" ; then
48917 if test "$wxUSE_IPV6" = "yes"; then
48918 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
48919 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
48920 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
48921 echo $ECHO_N "(cached) $ECHO_C" >&6
48922 else
48923
48924 cat >conftest.$ac_ext <<_ACEOF
48925 /* confdefs.h. */
48926 _ACEOF
48927 cat confdefs.h >>conftest.$ac_ext
48928 cat >>conftest.$ac_ext <<_ACEOF
48929 /* end confdefs.h. */
48930
48931 #include <sys/types.h>
48932 #include <sys/socket.h>
48933 #include <netinet/in.h>
48934
48935 int
48936 main ()
48937 {
48938
48939 struct sockaddr_in6 sa6;
48940
48941 ;
48942 return 0;
48943 }
48944 _ACEOF
48945 rm -f conftest.$ac_objext
48946 if { (ac_try="$ac_compile"
48947 case "(($ac_try" in
48948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48949 *) ac_try_echo=$ac_try;;
48950 esac
48951 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48952 (eval "$ac_compile") 2>conftest.er1
48953 ac_status=$?
48954 grep -v '^ *+' conftest.er1 >conftest.err
48955 rm -f conftest.er1
48956 cat conftest.err >&5
48957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48958 (exit $ac_status); } && {
48959 test -z "$ac_c_werror_flag" ||
48960 test ! -s conftest.err
48961 } && test -s conftest.$ac_objext; then
48962 wx_cv_type_sockaddr_in6=yes
48963 else
48964 echo "$as_me: failed program was:" >&5
48965 sed 's/^/| /' conftest.$ac_ext >&5
48966
48967 wx_cv_type_sockaddr_in6=no
48968
48969 fi
48970
48971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48972
48973
48974 fi
48975 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
48976 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
48977
48978 if test "$wx_cv_type_sockaddr_in6"="yes"; then
48979 cat >>confdefs.h <<\_ACEOF
48980 #define wxUSE_IPV6 1
48981 _ACEOF
48982
48983 else
48984 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
48985 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
48986 fi
48987 fi
48988
48989 cat >>confdefs.h <<\_ACEOF
48990 #define wxUSE_SOCKETS 1
48991 _ACEOF
48992
48993 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
48994 fi
48995
48996 if test "$wxUSE_PROTOCOL" = "yes"; then
48997 if test "$wxUSE_SOCKETS" != "yes"; then
48998 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
48999 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
49000 wxUSE_PROTOCOL=no
49001 fi
49002 fi
49003
49004 if test "$wxUSE_PROTOCOL" = "yes"; then
49005 cat >>confdefs.h <<\_ACEOF
49006 #define wxUSE_PROTOCOL 1
49007 _ACEOF
49008
49009
49010 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
49011 cat >>confdefs.h <<\_ACEOF
49012 #define wxUSE_PROTOCOL_HTTP 1
49013 _ACEOF
49014
49015 fi
49016 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
49017 cat >>confdefs.h <<\_ACEOF
49018 #define wxUSE_PROTOCOL_FTP 1
49019 _ACEOF
49020
49021 fi
49022 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
49023 cat >>confdefs.h <<\_ACEOF
49024 #define wxUSE_PROTOCOL_FILE 1
49025 _ACEOF
49026
49027 fi
49028 else
49029 if test "$wxUSE_FS_INET" = "yes"; then
49030 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
49031 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
49032 wxUSE_FS_INET="no"
49033 fi
49034 fi
49035
49036 if test "$wxUSE_URL" = "yes"; then
49037 if test "$wxUSE_PROTOCOL" != "yes"; then
49038 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
49039 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
49040 wxUSE_URL=no
49041 fi
49042 if test "$wxUSE_URL" = "yes"; then
49043 cat >>confdefs.h <<\_ACEOF
49044 #define wxUSE_URL 1
49045 _ACEOF
49046
49047 fi
49048 fi
49049
49050 if test "$wxUSE_VARIANT" = "yes"; then
49051 cat >>confdefs.h <<\_ACEOF
49052 #define wxUSE_VARIANT 1
49053 _ACEOF
49054
49055 fi
49056
49057 if test "$wxUSE_FS_INET" = "yes"; then
49058 cat >>confdefs.h <<\_ACEOF
49059 #define wxUSE_FS_INET 1
49060 _ACEOF
49061
49062 fi
49063
49064
49065 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
49066 wxUSE_JOYSTICK=no
49067
49068 if test "$TOOLKIT" = "MSW"; then
49069 wxUSE_JOYSTICK=yes
49070
49071 elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
49072 if test "$USE_DARWIN" = 1; then
49073 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
49074 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
49075 ac_ext=cpp
49076 ac_cpp='$CXXCPP $CPPFLAGS'
49077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49080
49081 cat >conftest.$ac_ext <<_ACEOF
49082 /* confdefs.h. */
49083 _ACEOF
49084 cat confdefs.h >>conftest.$ac_ext
49085 cat >>conftest.$ac_ext <<_ACEOF
49086 /* end confdefs.h. */
49087 #include <IOKit/hid/IOHIDLib.h>
49088 int
49089 main ()
49090 {
49091 IOHIDQueueInterface *qi = NULL;
49092 IOHIDCallbackFunction cb = NULL;
49093 qi->setEventCallout(NULL, cb, NULL, NULL);
49094 ;
49095 return 0;
49096 }
49097 _ACEOF
49098 rm -f conftest.$ac_objext
49099 if { (ac_try="$ac_compile"
49100 case "(($ac_try" in
49101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49102 *) ac_try_echo=$ac_try;;
49103 esac
49104 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49105 (eval "$ac_compile") 2>conftest.er1
49106 ac_status=$?
49107 grep -v '^ *+' conftest.er1 >conftest.err
49108 rm -f conftest.er1
49109 cat conftest.err >&5
49110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49111 (exit $ac_status); } && {
49112 test -z "$ac_cxx_werror_flag" ||
49113 test ! -s conftest.err
49114 } && test -s conftest.$ac_objext; then
49115 wxUSE_JOYSTICK=yes
49116
49117 else
49118 echo "$as_me: failed program was:" >&5
49119 sed 's/^/| /' conftest.$ac_ext >&5
49120
49121
49122 fi
49123
49124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49125 ac_ext=c
49126 ac_cpp='$CPP $CPPFLAGS'
49127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49130
49131 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
49132 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
49133 fi
49134
49135 else
49136
49137 for ac_header in linux/joystick.h
49138 do
49139 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
49140 { echo "$as_me:$LINENO: checking for $ac_header" >&5
49141 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
49142 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
49143 echo $ECHO_N "(cached) $ECHO_C" >&6
49144 else
49145 cat >conftest.$ac_ext <<_ACEOF
49146 /* confdefs.h. */
49147 _ACEOF
49148 cat confdefs.h >>conftest.$ac_ext
49149 cat >>conftest.$ac_ext <<_ACEOF
49150 /* end confdefs.h. */
49151 $ac_includes_default
49152
49153 #include <$ac_header>
49154 _ACEOF
49155 rm -f conftest.$ac_objext
49156 if { (ac_try="$ac_compile"
49157 case "(($ac_try" in
49158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49159 *) ac_try_echo=$ac_try;;
49160 esac
49161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49162 (eval "$ac_compile") 2>conftest.er1
49163 ac_status=$?
49164 grep -v '^ *+' conftest.er1 >conftest.err
49165 rm -f conftest.er1
49166 cat conftest.err >&5
49167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49168 (exit $ac_status); } && {
49169 test -z "$ac_c_werror_flag" ||
49170 test ! -s conftest.err
49171 } && test -s conftest.$ac_objext; then
49172 eval "$as_ac_Header=yes"
49173 else
49174 echo "$as_me: failed program was:" >&5
49175 sed 's/^/| /' conftest.$ac_ext >&5
49176
49177 eval "$as_ac_Header=no"
49178 fi
49179
49180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49181 fi
49182 ac_res=`eval echo '${'$as_ac_Header'}'`
49183 { echo "$as_me:$LINENO: result: $ac_res" >&5
49184 echo "${ECHO_T}$ac_res" >&6; }
49185 if test `eval echo '${'$as_ac_Header'}'` = yes; then
49186 cat >>confdefs.h <<_ACEOF
49187 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
49188 _ACEOF
49189 wxUSE_JOYSTICK=yes
49190 fi
49191
49192 done
49193
49194 fi
49195
49196 if test "$wxUSE_JOYSTICK" = "yes"; then
49197 cat >>confdefs.h <<\_ACEOF
49198 #define wxUSE_JOYSTICK 1
49199 _ACEOF
49200
49201 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
49202 else
49203 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
49204 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
49205 fi
49206 fi
49207
49208
49209
49210 if test "$wxUSE_FONTENUM" = "yes" ; then
49211 cat >>confdefs.h <<\_ACEOF
49212 #define wxUSE_FONTENUM 1
49213 _ACEOF
49214
49215 fi
49216
49217 if test "$wxUSE_FONTMAP" = "yes" ; then
49218 cat >>confdefs.h <<\_ACEOF
49219 #define wxUSE_FONTMAP 1
49220 _ACEOF
49221
49222 fi
49223
49224 if test "$wxUSE_UNICODE" = "yes" ; then
49225 cat >>confdefs.h <<\_ACEOF
49226 #define wxUSE_UNICODE 1
49227 _ACEOF
49228
49229
49230 if test "$USE_WIN32" != 1; then
49231 wxUSE_UNICODE_MSLU=no
49232 fi
49233
49234 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
49235 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
49236 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
49237 if test "${ac_cv_lib_unicows_main+set}" = set; then
49238 echo $ECHO_N "(cached) $ECHO_C" >&6
49239 else
49240 ac_check_lib_save_LIBS=$LIBS
49241 LIBS="-lunicows $LIBS"
49242 cat >conftest.$ac_ext <<_ACEOF
49243 /* confdefs.h. */
49244 _ACEOF
49245 cat confdefs.h >>conftest.$ac_ext
49246 cat >>conftest.$ac_ext <<_ACEOF
49247 /* end confdefs.h. */
49248
49249
49250 int
49251 main ()
49252 {
49253 return main ();
49254 ;
49255 return 0;
49256 }
49257 _ACEOF
49258 rm -f conftest.$ac_objext conftest$ac_exeext
49259 if { (ac_try="$ac_link"
49260 case "(($ac_try" in
49261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49262 *) ac_try_echo=$ac_try;;
49263 esac
49264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49265 (eval "$ac_link") 2>conftest.er1
49266 ac_status=$?
49267 grep -v '^ *+' conftest.er1 >conftest.err
49268 rm -f conftest.er1
49269 cat conftest.err >&5
49270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49271 (exit $ac_status); } && {
49272 test -z "$ac_c_werror_flag" ||
49273 test ! -s conftest.err
49274 } && test -s conftest$ac_exeext &&
49275 $as_test_x conftest$ac_exeext; then
49276 ac_cv_lib_unicows_main=yes
49277 else
49278 echo "$as_me: failed program was:" >&5
49279 sed 's/^/| /' conftest.$ac_ext >&5
49280
49281 ac_cv_lib_unicows_main=no
49282 fi
49283
49284 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
49285 conftest$ac_exeext conftest.$ac_ext
49286 LIBS=$ac_check_lib_save_LIBS
49287 fi
49288 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
49289 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
49290 if test $ac_cv_lib_unicows_main = yes; then
49291
49292 cat >>confdefs.h <<\_ACEOF
49293 #define wxUSE_UNICODE_MSLU 1
49294 _ACEOF
49295
49296
49297 else
49298
49299 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
49300 Applications will only run on Windows NT/2000/XP!" >&5
49301 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
49302 Applications will only run on Windows NT/2000/XP!" >&2;}
49303 wxUSE_UNICODE_MSLU=no
49304
49305 fi
49306
49307 fi
49308 fi
49309
49310 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
49311 cat >>confdefs.h <<\_ACEOF
49312 #define wxUSE_UNICODE_UTF8 1
49313 _ACEOF
49314
49315
49316 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
49317 cat >>confdefs.h <<\_ACEOF
49318 #define wxUSE_UTF8_LOCALE_ONLY 1
49319 _ACEOF
49320
49321 fi
49322 fi
49323
49324
49325 if test "$wxUSE_CONSTRAINTS" = "yes"; then
49326 cat >>confdefs.h <<\_ACEOF
49327 #define wxUSE_CONSTRAINTS 1
49328 _ACEOF
49329
49330 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
49331 fi
49332
49333 if test "$wxUSE_MDI" = "yes"; then
49334 cat >>confdefs.h <<\_ACEOF
49335 #define wxUSE_MDI 1
49336 _ACEOF
49337
49338
49339 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
49340 cat >>confdefs.h <<\_ACEOF
49341 #define wxUSE_MDI_ARCHITECTURE 1
49342 _ACEOF
49343
49344 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
49345 fi
49346 fi
49347
49348 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
49349 cat >>confdefs.h <<\_ACEOF
49350 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
49351 _ACEOF
49352
49353 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
49354 fi
49355
49356 if test "$wxUSE_HELP" = "yes"; then
49357 cat >>confdefs.h <<\_ACEOF
49358 #define wxUSE_HELP 1
49359 _ACEOF
49360
49361 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
49362
49363 if test "$wxUSE_MSW" = 1; then
49364 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
49365 cat >>confdefs.h <<\_ACEOF
49366 #define wxUSE_MS_HTML_HELP 1
49367 _ACEOF
49368
49369 fi
49370 fi
49371
49372 if test "$wxUSE_WXHTML_HELP" = "yes"; then
49373 if test "$wxUSE_HTML" = "yes"; then
49374 cat >>confdefs.h <<\_ACEOF
49375 #define wxUSE_WXHTML_HELP 1
49376 _ACEOF
49377
49378 else
49379 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
49380 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
49381 wxUSE_WXHTML_HELP=no
49382 fi
49383 fi
49384 fi
49385
49386 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
49387 cat >>confdefs.h <<\_ACEOF
49388 #define wxUSE_PRINTING_ARCHITECTURE 1
49389 _ACEOF
49390
49391 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
49392 fi
49393
49394 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
49395 cat >>confdefs.h <<\_ACEOF
49396 #define wxUSE_POSTSCRIPT 1
49397 _ACEOF
49398
49399 fi
49400
49401 cat >>confdefs.h <<\_ACEOF
49402 #define wxUSE_AFM_FOR_POSTSCRIPT 1
49403 _ACEOF
49404
49405
49406 if test "$wxUSE_SVG" = "yes"; then
49407 cat >>confdefs.h <<\_ACEOF
49408 #define wxUSE_SVG 1
49409 _ACEOF
49410
49411 fi
49412
49413
49414 if test "$wxUSE_METAFILE" = "yes"; then
49415 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
49416 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
49417 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
49418 wxUSE_METAFILE=no
49419 fi
49420 elif test "$wxUSE_METAFILE" = "auto"; then
49421 if test "$wxUSE_MSW" = 1 -o "$wxUSE_MAC" = 1 -o "$wxUSE_PM" = 1; then
49422 wxUSE_METAFILE=yes
49423 fi
49424 fi
49425
49426 if test "$wxUSE_METAFILE" = "yes"; then
49427 cat >>confdefs.h <<\_ACEOF
49428 #define wxUSE_METAFILE 1
49429 _ACEOF
49430
49431 if test "$wxUSE_MSW" = 1; then
49432 cat >>confdefs.h <<\_ACEOF
49433 #define wxUSE_ENH_METAFILE 1
49434 _ACEOF
49435
49436 fi
49437 fi
49438
49439
49440 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
49441 -o "$wxUSE_CLIPBOARD" = "yes" \
49442 -o "$wxUSE_OLE" = "yes" \
49443 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
49444 { echo "$as_me:$LINENO: checking for ole2.h" >&5
49445 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
49446 if test "${ac_cv_header_ole2_h+set}" = set; then
49447 echo $ECHO_N "(cached) $ECHO_C" >&6
49448 else
49449 cat >conftest.$ac_ext <<_ACEOF
49450 /* confdefs.h. */
49451 _ACEOF
49452 cat confdefs.h >>conftest.$ac_ext
49453 cat >>conftest.$ac_ext <<_ACEOF
49454 /* end confdefs.h. */
49455
49456
49457 #include <ole2.h>
49458 _ACEOF
49459 rm -f conftest.$ac_objext
49460 if { (ac_try="$ac_compile"
49461 case "(($ac_try" in
49462 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49463 *) ac_try_echo=$ac_try;;
49464 esac
49465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49466 (eval "$ac_compile") 2>conftest.er1
49467 ac_status=$?
49468 grep -v '^ *+' conftest.er1 >conftest.err
49469 rm -f conftest.er1
49470 cat conftest.err >&5
49471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49472 (exit $ac_status); } && {
49473 test -z "$ac_c_werror_flag" ||
49474 test ! -s conftest.err
49475 } && test -s conftest.$ac_objext; then
49476 ac_cv_header_ole2_h=yes
49477 else
49478 echo "$as_me: failed program was:" >&5
49479 sed 's/^/| /' conftest.$ac_ext >&5
49480
49481 ac_cv_header_ole2_h=no
49482 fi
49483
49484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49485 fi
49486 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
49487 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
49488
49489
49490
49491 if test "$ac_cv_header_ole2_h" = "yes" ; then
49492 if test "$GCC" = yes ; then
49493 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
49494 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
49495 cat >conftest.$ac_ext <<_ACEOF
49496 /* confdefs.h. */
49497 _ACEOF
49498 cat confdefs.h >>conftest.$ac_ext
49499 cat >>conftest.$ac_ext <<_ACEOF
49500 /* end confdefs.h. */
49501 #include <windows.h>
49502 #include <ole2.h>
49503 int
49504 main ()
49505 {
49506
49507 ;
49508 return 0;
49509 }
49510 _ACEOF
49511 rm -f conftest.$ac_objext
49512 if { (ac_try="$ac_compile"
49513 case "(($ac_try" in
49514 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49515 *) ac_try_echo=$ac_try;;
49516 esac
49517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49518 (eval "$ac_compile") 2>conftest.er1
49519 ac_status=$?
49520 grep -v '^ *+' conftest.er1 >conftest.err
49521 rm -f conftest.er1
49522 cat conftest.err >&5
49523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49524 (exit $ac_status); } && {
49525 test -z "$ac_c_werror_flag" ||
49526 test ! -s conftest.err
49527 } && test -s conftest.$ac_objext; then
49528 { echo "$as_me:$LINENO: result: no" >&5
49529 echo "${ECHO_T}no" >&6; }
49530 else
49531 echo "$as_me: failed program was:" >&5
49532 sed 's/^/| /' conftest.$ac_ext >&5
49533
49534 { echo "$as_me:$LINENO: result: yes" >&5
49535 echo "${ECHO_T}yes" >&6; }
49536 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
49537 fi
49538
49539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49540 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
49541 if test "$wxUSE_OLE" = "yes" ; then
49542 cat >>confdefs.h <<\_ACEOF
49543 #define wxUSE_OLE 1
49544 _ACEOF
49545
49546 cat >>confdefs.h <<\_ACEOF
49547 #define wxUSE_OLE_AUTOMATION 1
49548 _ACEOF
49549
49550 cat >>confdefs.h <<\_ACEOF
49551 #define wxUSE_ACTIVEX 1
49552 _ACEOF
49553
49554 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
49555 fi
49556 fi
49557
49558 if test "$wxUSE_DATAOBJ" = "yes" ; then
49559 cat >>confdefs.h <<\_ACEOF
49560 #define wxUSE_DATAOBJ 1
49561 _ACEOF
49562
49563 fi
49564 else
49565 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
49566 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
49567
49568 wxUSE_CLIPBOARD=no
49569 wxUSE_DRAG_AND_DROP=no
49570 wxUSE_DATAOBJ=no
49571 wxUSE_OLE=no
49572 fi
49573 fi
49574
49575 if test "$wxUSE_IPC" = "yes"; then
49576 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
49577 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
49578 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
49579 wxUSE_IPC=no
49580 fi
49581
49582 if test "$wxUSE_IPC" = "yes"; then
49583 cat >>confdefs.h <<\_ACEOF
49584 #define wxUSE_IPC 1
49585 _ACEOF
49586
49587 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
49588 fi
49589 fi
49590
49591 if test "$wxUSE_DATAOBJ" = "yes"; then
49592 cat >>confdefs.h <<\_ACEOF
49593 #define wxUSE_DATAOBJ 1
49594 _ACEOF
49595
49596 else
49597 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
49598 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
49599 wxUSE_CLIPBOARD=no
49600 wxUSE_DRAG_AND_DROP=no
49601 fi
49602
49603 if test "$wxUSE_CLIPBOARD" = "yes"; then
49604 if test "$wxUSE_DFB" = 1; then
49605 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
49606 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
49607 wxUSE_CLIPBOARD=no
49608 fi
49609
49610 if test "$wxUSE_CLIPBOARD" = "yes"; then
49611 cat >>confdefs.h <<\_ACEOF
49612 #define wxUSE_CLIPBOARD 1
49613 _ACEOF
49614
49615 fi
49616 fi
49617
49618 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
49619 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_DFB" = 1; then
49620 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
49621 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
49622 wxUSE_DRAG_AND_DROP=no
49623 fi
49624
49625 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
49626 cat >>confdefs.h <<\_ACEOF
49627 #define wxUSE_DRAG_AND_DROP 1
49628 _ACEOF
49629
49630 fi
49631
49632 fi
49633
49634 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
49635 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
49636 fi
49637
49638 if test "$wxUSE_CLIPBOARD" = "yes"; then
49639 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS clipboard"
49640 fi
49641
49642 if test "$wxUSE_SPLINES" = "yes" ; then
49643 cat >>confdefs.h <<\_ACEOF
49644 #define wxUSE_SPLINES 1
49645 _ACEOF
49646
49647 fi
49648
49649 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
49650 cat >>confdefs.h <<\_ACEOF
49651 #define wxUSE_MOUSEWHEEL 1
49652 _ACEOF
49653
49654 fi
49655
49656 if test "$wxUSE_UIACTIONSIMULATOR" = "yes" ; then
49657 cat >>confdefs.h <<\_ACEOF
49658 #define wxUSE_UIACTIONSIMULATOR 1
49659 _ACEOF
49660
49661 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS uiaction"
49662 fi
49663
49664 if test "$wxUSE_DC_TRANSFORM_MATRIX" = "yes" ; then
49665 cat >>confdefs.h <<\_ACEOF
49666 #define wxUSE_DC_TRANSFORM_MATRIX 1
49667 _ACEOF
49668
49669 fi
49670
49671
49672 USES_CONTROLS=0
49673 if test "$wxUSE_CONTROLS" = "yes"; then
49674 USES_CONTROLS=1
49675 fi
49676
49677 if test "$wxUSE_MARKUP" = "yes"; then
49678 cat >>confdefs.h <<\_ACEOF
49679 #define wxUSE_MARKUP 1
49680 _ACEOF
49681
49682 fi
49683
49684 if test "$wxUSE_ACCEL" = "yes"; then
49685 cat >>confdefs.h <<\_ACEOF
49686 #define wxUSE_ACCEL 1
49687 _ACEOF
49688
49689 USES_CONTROLS=1
49690 fi
49691
49692 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
49693 cat >>confdefs.h <<\_ACEOF
49694 #define wxUSE_ANIMATIONCTRL 1
49695 _ACEOF
49696
49697 USES_CONTROLS=1
49698 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
49699 fi
49700
49701 if test "$wxUSE_BANNERWINDOW" = "yes"; then
49702 cat >>confdefs.h <<\_ACEOF
49703 #define wxUSE_BANNERWINDOW 1
49704 _ACEOF
49705
49706 fi
49707
49708 if test "$wxUSE_BUTTON" = "yes"; then
49709 cat >>confdefs.h <<\_ACEOF
49710 #define wxUSE_BUTTON 1
49711 _ACEOF
49712
49713 USES_CONTROLS=1
49714 fi
49715
49716 if test "$wxUSE_BMPBUTTON" = "yes"; then
49717 cat >>confdefs.h <<\_ACEOF
49718 #define wxUSE_BMPBUTTON 1
49719 _ACEOF
49720
49721 USES_CONTROLS=1
49722 fi
49723
49724 if test "$wxUSE_CALCTRL" = "yes"; then
49725 cat >>confdefs.h <<\_ACEOF
49726 #define wxUSE_CALENDARCTRL 1
49727 _ACEOF
49728
49729 USES_CONTROLS=1
49730 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
49731 fi
49732
49733 if test "$wxUSE_CARET" = "yes"; then
49734 cat >>confdefs.h <<\_ACEOF
49735 #define wxUSE_CARET 1
49736 _ACEOF
49737
49738 USES_CONTROLS=1
49739 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
49740 fi
49741
49742 if test "$wxUSE_COLLPANE" = "yes"; then
49743 cat >>confdefs.h <<\_ACEOF
49744 #define wxUSE_COLLPANE 1
49745 _ACEOF
49746
49747 USES_CONTROLS=1
49748 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
49749 fi
49750
49751 if test "$wxUSE_COMBOBOX" = "yes"; then
49752 cat >>confdefs.h <<\_ACEOF
49753 #define wxUSE_COMBOBOX 1
49754 _ACEOF
49755
49756 USES_CONTROLS=1
49757 fi
49758
49759 if test "$wxUSE_COMBOCTRL" = "yes"; then
49760 cat >>confdefs.h <<\_ACEOF
49761 #define wxUSE_COMBOCTRL 1
49762 _ACEOF
49763
49764 USES_CONTROLS=1
49765 fi
49766
49767 if test "$wxUSE_COMMANDLINKBUTTON" = "yes"; then
49768 cat >>confdefs.h <<\_ACEOF
49769 #define wxUSE_COMMANDLINKBUTTON 1
49770 _ACEOF
49771
49772 USES_CONTROLS=1
49773 fi
49774
49775 if test "$wxUSE_CHOICE" = "yes"; then
49776 cat >>confdefs.h <<\_ACEOF
49777 #define wxUSE_CHOICE 1
49778 _ACEOF
49779
49780 USES_CONTROLS=1
49781 fi
49782
49783 if test "$wxUSE_CHOICEBOOK" = "yes"; then
49784 cat >>confdefs.h <<\_ACEOF
49785 #define wxUSE_CHOICEBOOK 1
49786 _ACEOF
49787
49788 USES_CONTROLS=1
49789 fi
49790
49791 if test "$wxUSE_CHECKBOX" = "yes"; then
49792 cat >>confdefs.h <<\_ACEOF
49793 #define wxUSE_CHECKBOX 1
49794 _ACEOF
49795
49796 USES_CONTROLS=1
49797 fi
49798
49799 if test "$wxUSE_CHECKLST" = "yes"; then
49800 cat >>confdefs.h <<\_ACEOF
49801 #define wxUSE_CHECKLISTBOX 1
49802 _ACEOF
49803
49804 USES_CONTROLS=1
49805 fi
49806
49807 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
49808 cat >>confdefs.h <<\_ACEOF
49809 #define wxUSE_COLOURPICKERCTRL 1
49810 _ACEOF
49811
49812 USES_CONTROLS=1
49813 fi
49814
49815 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
49816 cat >>confdefs.h <<\_ACEOF
49817 #define wxUSE_DATEPICKCTRL 1
49818 _ACEOF
49819
49820 USES_CONTROLS=1
49821 fi
49822
49823 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
49824 cat >>confdefs.h <<\_ACEOF
49825 #define wxUSE_DIRPICKERCTRL 1
49826 _ACEOF
49827
49828 USES_CONTROLS=1
49829 fi
49830
49831 if test "$wxUSE_FILECTRL" = "yes"; then
49832 cat >>confdefs.h <<\_ACEOF
49833 #define wxUSE_FILECTRL 1
49834 _ACEOF
49835
49836 USES_CONTROLS=1
49837 fi
49838
49839 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
49840 cat >>confdefs.h <<\_ACEOF
49841 #define wxUSE_FILEPICKERCTRL 1
49842 _ACEOF
49843
49844 USES_CONTROLS=1
49845 fi
49846
49847 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
49848 cat >>confdefs.h <<\_ACEOF
49849 #define wxUSE_FONTPICKERCTRL 1
49850 _ACEOF
49851
49852 USES_CONTROLS=1
49853 fi
49854
49855 if test "$wxUSE_DISPLAY" = "yes"; then
49856 if test "$wxUSE_DFB" = 1; then
49857 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
49858 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
49859 wxUSE_DISPLAY=no
49860 else
49861 cat >>confdefs.h <<\_ACEOF
49862 #define wxUSE_DISPLAY 1
49863 _ACEOF
49864
49865 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
49866 fi
49867 fi
49868
49869 if test "$wxUSE_DETECT_SM" = "yes"; then
49870 cat >>confdefs.h <<\_ACEOF
49871 #define wxUSE_DETECT_SM 1
49872 _ACEOF
49873
49874 fi
49875
49876 if test "$wxUSE_GAUGE" = "yes"; then
49877 cat >>confdefs.h <<\_ACEOF
49878 #define wxUSE_GAUGE 1
49879 _ACEOF
49880
49881 USES_CONTROLS=1
49882 fi
49883
49884 if test "$wxUSE_GRID" = "yes"; then
49885 cat >>confdefs.h <<\_ACEOF
49886 #define wxUSE_GRID 1
49887 _ACEOF
49888
49889 USES_CONTROLS=1
49890 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
49891 fi
49892
49893 if test "$wxUSE_HEADERCTRL" = "yes"; then
49894 cat >>confdefs.h <<\_ACEOF
49895 #define wxUSE_HEADERCTRL 1
49896 _ACEOF
49897
49898 USES_CONTROLS=1
49899 fi
49900
49901 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
49902 cat >>confdefs.h <<\_ACEOF
49903 #define wxUSE_HYPERLINKCTRL 1
49904 _ACEOF
49905
49906 USES_CONTROLS=1
49907 fi
49908
49909 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
49910 cat >>confdefs.h <<\_ACEOF
49911 #define wxUSE_BITMAPCOMBOBOX 1
49912 _ACEOF
49913
49914 USES_CONTROLS=1
49915 fi
49916
49917 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
49918 cat >>confdefs.h <<\_ACEOF
49919 #define wxUSE_DATAVIEWCTRL 1
49920 _ACEOF
49921
49922 USES_CONTROLS=1
49923 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
49924 fi
49925
49926 if test "$wxUSE_IMAGLIST" = "yes"; then
49927 cat >>confdefs.h <<\_ACEOF
49928 #define wxUSE_IMAGLIST 1
49929 _ACEOF
49930
49931 fi
49932
49933 if test "$wxUSE_INFOBAR" = "yes"; then
49934 cat >>confdefs.h <<\_ACEOF
49935 #define wxUSE_INFOBAR 1
49936 _ACEOF
49937
49938 fi
49939
49940 if test "$wxUSE_LISTBOOK" = "yes"; then
49941 cat >>confdefs.h <<\_ACEOF
49942 #define wxUSE_LISTBOOK 1
49943 _ACEOF
49944
49945 USES_CONTROLS=1
49946 fi
49947
49948 if test "$wxUSE_LISTBOX" = "yes"; then
49949 cat >>confdefs.h <<\_ACEOF
49950 #define wxUSE_LISTBOX 1
49951 _ACEOF
49952
49953 USES_CONTROLS=1
49954 fi
49955
49956 if test "$wxUSE_LISTCTRL" = "yes"; then
49957 if test "$wxUSE_IMAGLIST" = "yes"; then
49958 cat >>confdefs.h <<\_ACEOF
49959 #define wxUSE_LISTCTRL 1
49960 _ACEOF
49961
49962 USES_CONTROLS=1
49963 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
49964 else
49965 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
49966 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
49967 fi
49968 fi
49969
49970 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
49971 cat >>confdefs.h <<\_ACEOF
49972 #define wxUSE_EDITABLELISTBOX 1
49973 _ACEOF
49974
49975 USES_CONTROLS=1
49976 fi
49977
49978 if test "$wxUSE_NOTEBOOK" = "yes"; then
49979 cat >>confdefs.h <<\_ACEOF
49980 #define wxUSE_NOTEBOOK 1
49981 _ACEOF
49982
49983 USES_CONTROLS=1
49984 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
49985 fi
49986
49987 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
49988 cat >>confdefs.h <<\_ACEOF
49989 #define wxUSE_NOTIFICATION_MESSAGE 1
49990 _ACEOF
49991
49992 fi
49993
49994 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
49995 cat >>confdefs.h <<\_ACEOF
49996 #define wxUSE_ODCOMBOBOX 1
49997 _ACEOF
49998
49999 USES_CONTROLS=1
50000 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
50001 fi
50002
50003 if test "$wxUSE_RADIOBOX" = "yes"; then
50004 cat >>confdefs.h <<\_ACEOF
50005 #define wxUSE_RADIOBOX 1
50006 _ACEOF
50007
50008 USES_CONTROLS=1
50009 fi
50010
50011 if test "$wxUSE_RADIOBTN" = "yes"; then
50012 cat >>confdefs.h <<\_ACEOF
50013 #define wxUSE_RADIOBTN 1
50014 _ACEOF
50015
50016 USES_CONTROLS=1
50017 fi
50018
50019 if test "$wxUSE_REARRANGECTRL" = "yes"; then
50020 cat >>confdefs.h <<\_ACEOF
50021 #define wxUSE_REARRANGECTRL 1
50022 _ACEOF
50023
50024 fi
50025
50026 if test "$wxUSE_RICHMSGDLG" = "yes"; then
50027 cat >>confdefs.h <<\_ACEOF
50028 #define wxUSE_RICHMSGDLG 1
50029 _ACEOF
50030
50031 fi
50032
50033 if test "$wxUSE_RICHTOOLTIP" = "yes"; then
50034 cat >>confdefs.h <<\_ACEOF
50035 #define wxUSE_RICHTOOLTIP 1
50036 _ACEOF
50037
50038 fi
50039
50040 if test "$wxUSE_SASH" = "yes"; then
50041 cat >>confdefs.h <<\_ACEOF
50042 #define wxUSE_SASH 1
50043 _ACEOF
50044
50045 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
50046 fi
50047
50048 if test "$wxUSE_SCROLLBAR" = "yes"; then
50049 cat >>confdefs.h <<\_ACEOF
50050 #define wxUSE_SCROLLBAR 1
50051 _ACEOF
50052
50053 USES_CONTROLS=1
50054 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll"
50055 fi
50056
50057 if test "$wxUSE_SEARCHCTRL" = "yes"; then
50058 cat >>confdefs.h <<\_ACEOF
50059 #define wxUSE_SEARCHCTRL 1
50060 _ACEOF
50061
50062 USES_CONTROLS=1
50063 fi
50064
50065 if test "$wxUSE_SLIDER" = "yes"; then
50066 cat >>confdefs.h <<\_ACEOF
50067 #define wxUSE_SLIDER 1
50068 _ACEOF
50069
50070 USES_CONTROLS=1
50071 fi
50072
50073 if test "$wxUSE_SPINBTN" = "yes"; then
50074 cat >>confdefs.h <<\_ACEOF
50075 #define wxUSE_SPINBTN 1
50076 _ACEOF
50077
50078 USES_CONTROLS=1
50079 fi
50080
50081 if test "$wxUSE_SPINCTRL" = "yes"; then
50082 cat >>confdefs.h <<\_ACEOF
50083 #define wxUSE_SPINCTRL 1
50084 _ACEOF
50085
50086 USES_CONTROLS=1
50087 fi
50088
50089 if test "$wxUSE_SPLITTER" = "yes"; then
50090 cat >>confdefs.h <<\_ACEOF
50091 #define wxUSE_SPLITTER 1
50092 _ACEOF
50093
50094 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
50095 fi
50096
50097 if test "$wxUSE_STATBMP" = "yes"; then
50098 cat >>confdefs.h <<\_ACEOF
50099 #define wxUSE_STATBMP 1
50100 _ACEOF
50101
50102 USES_CONTROLS=1
50103 fi
50104
50105 if test "$wxUSE_STATBOX" = "yes"; then
50106 cat >>confdefs.h <<\_ACEOF
50107 #define wxUSE_STATBOX 1
50108 _ACEOF
50109
50110 USES_CONTROLS=1
50111 fi
50112
50113 if test "$wxUSE_STATTEXT" = "yes"; then
50114 cat >>confdefs.h <<\_ACEOF
50115 #define wxUSE_STATTEXT 1
50116 _ACEOF
50117
50118 USES_CONTROLS=1
50119 fi
50120
50121 if test "$wxUSE_STATLINE" = "yes"; then
50122 cat >>confdefs.h <<\_ACEOF
50123 #define wxUSE_STATLINE 1
50124 _ACEOF
50125
50126 USES_CONTROLS=1
50127 fi
50128
50129 if test "$wxUSE_STATUSBAR" = "yes"; then
50130 cat >>confdefs.h <<\_ACEOF
50131 #define wxUSE_NATIVE_STATUSBAR 1
50132 _ACEOF
50133
50134 cat >>confdefs.h <<\_ACEOF
50135 #define wxUSE_STATUSBAR 1
50136 _ACEOF
50137
50138 USES_CONTROLS=1
50139
50140 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
50141 fi
50142
50143 if test "$wxUSE_TEXTCTRL" = "yes"; then
50144 cat >>confdefs.h <<\_ACEOF
50145 #define wxUSE_TEXTCTRL 1
50146 _ACEOF
50147
50148 USES_CONTROLS=1
50149 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
50150
50151 cat >>confdefs.h <<\_ACEOF
50152 #define wxUSE_RICHEDIT 1
50153 _ACEOF
50154
50155 cat >>confdefs.h <<\_ACEOF
50156 #define wxUSE_RICHEDIT2 1
50157 _ACEOF
50158
50159 fi
50160
50161 if test "$wxUSE_TIMEPICKCTRL" = "yes"; then
50162 cat >>confdefs.h <<\_ACEOF
50163 #define wxUSE_TIMEPICKCTRL 1
50164 _ACEOF
50165
50166 USES_CONTROLS=1
50167 fi
50168
50169 if test "$wxUSE_TOGGLEBTN" = "yes"; then
50170 if test "$wxUSE_OLD_COCOA" = 1 ; then
50171 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
50172 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
50173 wxUSE_TOGGLEBTN=no
50174 fi
50175
50176 if test "$wxUSE_TOGGLEBTN" = "yes"; then
50177 cat >>confdefs.h <<\_ACEOF
50178 #define wxUSE_TOGGLEBTN 1
50179 _ACEOF
50180
50181 USES_CONTROLS=1
50182 fi
50183 fi
50184
50185 if test "$wxUSE_TOOLBAR" = "yes"; then
50186 cat >>confdefs.h <<\_ACEOF
50187 #define wxUSE_TOOLBAR 1
50188 _ACEOF
50189
50190 USES_CONTROLS=1
50191
50192 if test "$wxUSE_UNIVERSAL" = "yes"; then
50193 wxUSE_TOOLBAR_NATIVE="no"
50194 else
50195 wxUSE_TOOLBAR_NATIVE="yes"
50196 cat >>confdefs.h <<\_ACEOF
50197 #define wxUSE_TOOLBAR_NATIVE 1
50198 _ACEOF
50199
50200 fi
50201
50202 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
50203 fi
50204
50205 if test "$wxUSE_TOOLTIPS" = "yes"; then
50206 if test "$wxUSE_MOTIF" = 1; then
50207 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
50208 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
50209 else
50210 if test "$wxUSE_UNIVERSAL" = "yes"; then
50211 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
50212 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
50213 else
50214 cat >>confdefs.h <<\_ACEOF
50215 #define wxUSE_TOOLTIPS 1
50216 _ACEOF
50217
50218 fi
50219 fi
50220 fi
50221
50222 if test "$wxUSE_TREEBOOK" = "yes"; then
50223 cat >>confdefs.h <<\_ACEOF
50224 #define wxUSE_TREEBOOK 1
50225 _ACEOF
50226
50227 USES_CONTROLS=1
50228 fi
50229
50230 if test "$wxUSE_TOOLBOOK" = "yes"; then
50231 cat >>confdefs.h <<\_ACEOF
50232 #define wxUSE_TOOLBOOK 1
50233 _ACEOF
50234
50235 USES_CONTROLS=1
50236 fi
50237
50238 if test "$wxUSE_TREECTRL" = "yes"; then
50239 if test "$wxUSE_IMAGLIST" = "yes"; then
50240 cat >>confdefs.h <<\_ACEOF
50241 #define wxUSE_TREECTRL 1
50242 _ACEOF
50243
50244 USES_CONTROLS=1
50245 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
50246 else
50247 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
50248 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
50249 fi
50250 fi
50251
50252 if test "$wxUSE_TREELISTCTRL" = "yes"; then
50253 cat >>confdefs.h <<\_ACEOF
50254 #define wxUSE_TREELISTCTRL 1
50255 _ACEOF
50256
50257 USES_CONTROLS=1
50258 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treelist"
50259 fi
50260
50261 if test "$wxUSE_POPUPWIN" = "yes"; then
50262 if test "$wxUSE_OLD_COCOA" = 1 ; then
50263 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
50264 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
50265 else
50266 if test "$wxUSE_PM" = 1; then
50267 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
50268 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
50269 else
50270 cat >>confdefs.h <<\_ACEOF
50271 #define wxUSE_POPUPWIN 1
50272 _ACEOF
50273
50274 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
50275
50276 USES_CONTROLS=1
50277 fi
50278 fi
50279 fi
50280
50281 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
50282 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
50283 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
50284 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
50285 else
50286 cat >>confdefs.h <<\_ACEOF
50287 #define wxUSE_DIALUP_MANAGER 1
50288 _ACEOF
50289
50290 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
50291 fi
50292 fi
50293
50294 if test "$wxUSE_TIPWINDOW" = "yes"; then
50295 if test "$wxUSE_PM" = 1; then
50296 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
50297 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
50298 else
50299 cat >>confdefs.h <<\_ACEOF
50300 #define wxUSE_TIPWINDOW 1
50301 _ACEOF
50302
50303 fi
50304 fi
50305
50306 if test "$USES_CONTROLS" = 1; then
50307 cat >>confdefs.h <<\_ACEOF
50308 #define wxUSE_CONTROLS 1
50309 _ACEOF
50310
50311 fi
50312
50313
50314 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
50315 cat >>confdefs.h <<\_ACEOF
50316 #define wxUSE_ACCESSIBILITY 1
50317 _ACEOF
50318
50319 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
50320 fi
50321
50322 if test "$wxUSE_ARTPROVIDER_STD" = "yes"; then
50323 cat >>confdefs.h <<\_ACEOF
50324 #define wxUSE_ARTPROVIDER_STD 1
50325 _ACEOF
50326
50327 fi
50328
50329 if test "$wxUSE_ARTPROVIDER_TANGO" = "auto"; then
50330 if test "$wxUSE_GTK" != 1; then
50331 if test "$wxUSE_LIBPNG" != no -a \
50332 "$wxUSE_IMAGE" = yes -a \
50333 "$wxUSE_STREAMS" = yes; then
50334 wxUSE_ARTPROVIDER_TANGO="yes"
50335 fi
50336 fi
50337 fi
50338
50339 if test "$wxUSE_ARTPROVIDER_TANGO" = "yes"; then
50340 cat >>confdefs.h <<\_ACEOF
50341 #define wxUSE_ARTPROVIDER_TANGO 1
50342 _ACEOF
50343
50344 fi
50345
50346 if test "$wxUSE_DRAGIMAGE" = "yes"; then
50347 cat >>confdefs.h <<\_ACEOF
50348 #define wxUSE_DRAGIMAGE 1
50349 _ACEOF
50350
50351 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
50352 fi
50353
50354 if test "$wxUSE_EXCEPTIONS" = "yes"; then
50355 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
50356 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
50357 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
50358 else
50359 cat >>confdefs.h <<\_ACEOF
50360 #define wxUSE_EXCEPTIONS 1
50361 _ACEOF
50362
50363 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
50364 fi
50365 fi
50366
50367 USE_HTML=0
50368 if test "$wxUSE_HTML" = "yes"; then
50369 cat >>confdefs.h <<\_ACEOF
50370 #define wxUSE_HTML 1
50371 _ACEOF
50372
50373 USE_HTML=1
50374 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
50375 fi
50376 if test "$wxUSE_WEBKIT" = "yes"; then
50377 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
50378 old_CPPFLAGS="$CPPFLAGS"
50379 CPPFLAGS="-x objective-c++ $CPPFLAGS"
50380 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
50381 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
50382 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
50383 echo $ECHO_N "(cached) $ECHO_C" >&6
50384 else
50385 cat >conftest.$ac_ext <<_ACEOF
50386 /* confdefs.h. */
50387 _ACEOF
50388 cat confdefs.h >>conftest.$ac_ext
50389 cat >>conftest.$ac_ext <<_ACEOF
50390 /* end confdefs.h. */
50391
50392 #include <Carbon/Carbon.h>
50393 #include <WebKit/WebKit.h>
50394
50395
50396 #include <WebKit/HIWebView.h>
50397 _ACEOF
50398 rm -f conftest.$ac_objext
50399 if { (ac_try="$ac_compile"
50400 case "(($ac_try" in
50401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
50402 *) ac_try_echo=$ac_try;;
50403 esac
50404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50405 (eval "$ac_compile") 2>conftest.er1
50406 ac_status=$?
50407 grep -v '^ *+' conftest.er1 >conftest.err
50408 rm -f conftest.er1
50409 cat conftest.err >&5
50410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50411 (exit $ac_status); } && {
50412 test -z "$ac_c_werror_flag" ||
50413 test ! -s conftest.err
50414 } && test -s conftest.$ac_objext; then
50415 ac_cv_header_WebKit_HIWebView_h=yes
50416 else
50417 echo "$as_me: failed program was:" >&5
50418 sed 's/^/| /' conftest.$ac_ext >&5
50419
50420 ac_cv_header_WebKit_HIWebView_h=no
50421 fi
50422
50423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50424 fi
50425 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
50426 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
50427 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
50428
50429 cat >>confdefs.h <<\_ACEOF
50430 #define wxUSE_WEBKIT 1
50431 _ACEOF
50432
50433 WEBKIT_LINK="-framework WebKit"
50434
50435 else
50436
50437 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
50438 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
50439 wxUSE_WEBKIT=no
50440
50441 fi
50442
50443
50444 CPPFLAGS="$old_CPPFLAGS"
50445 elif test "$wxUSE_OLD_COCOA" = 1; then
50446 cat >>confdefs.h <<\_ACEOF
50447 #define wxUSE_WEBKIT 1
50448 _ACEOF
50449
50450 else
50451 wxUSE_WEBKIT=no
50452 fi
50453 if test "$wxUSE_WEBKIT" = "yes"; then
50454 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
50455 fi
50456 fi
50457
50458 USE_XRC=0
50459 if test "$wxUSE_XRC" = "yes"; then
50460 if test "$wxUSE_XML" != "yes"; then
50461 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
50462 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
50463 wxUSE_XRC=no
50464 else
50465 cat >>confdefs.h <<\_ACEOF
50466 #define wxUSE_XRC 1
50467 _ACEOF
50468
50469 USE_XRC=1
50470 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
50471 fi
50472 fi
50473
50474 USE_AUI=0
50475 if test "$wxUSE_AUI" = "yes"; then
50476 cat >>confdefs.h <<\_ACEOF
50477 #define wxUSE_AUI 1
50478 _ACEOF
50479
50480 USE_AUI=1
50481 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
50482 fi
50483
50484 USE_PROPGRID=0
50485 if test "$wxUSE_PROPGRID" = "yes"; then
50486 cat >>confdefs.h <<\_ACEOF
50487 #define wxUSE_PROPGRID 1
50488 _ACEOF
50489
50490 USE_PROPGRID=1
50491 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS propgrid"
50492 fi
50493
50494 USE_RIBBON=0
50495 if test "$wxUSE_RIBBON" = "yes"; then
50496 cat >>confdefs.h <<\_ACEOF
50497 #define wxUSE_RIBBON 1
50498 _ACEOF
50499
50500 USE_RIBBON=1
50501 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ribbon"
50502 fi
50503
50504 USE_STC=0
50505 if test "$wxUSE_STC" = "yes"; then
50506 cat >>confdefs.h <<\_ACEOF
50507 #define wxUSE_STC 1
50508 _ACEOF
50509
50510 USE_STC=1
50511 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
50512
50513 # Extract the first word of "python", so it can be a program name with args.
50514 set dummy python; ac_word=$2
50515 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50516 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50517 if test "${ac_cv_path_PYTHON+set}" = set; then
50518 echo $ECHO_N "(cached) $ECHO_C" >&6
50519 else
50520 case $PYTHON in
50521 [\\/]* | ?:[\\/]*)
50522 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
50523 ;;
50524 *)
50525 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50526 for as_dir in $PATH
50527 do
50528 IFS=$as_save_IFS
50529 test -z "$as_dir" && as_dir=.
50530 for ac_exec_ext in '' $ac_executable_extensions; do
50531 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50532 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
50533 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50534 break 2
50535 fi
50536 done
50537 done
50538 IFS=$as_save_IFS
50539
50540 ;;
50541 esac
50542 fi
50543 PYTHON=$ac_cv_path_PYTHON
50544 if test -n "$PYTHON"; then
50545 { echo "$as_me:$LINENO: result: $PYTHON" >&5
50546 echo "${ECHO_T}$PYTHON" >&6; }
50547 else
50548 { echo "$as_me:$LINENO: result: no" >&5
50549 echo "${ECHO_T}no" >&6; }
50550 fi
50551
50552
50553 if test "x$PYTHON" = "x"; then
50554 COND_PYTHON="#"
50555 fi
50556
50557 fi
50558
50559 if test "$wxUSE_MENUS" = "yes"; then
50560 cat >>confdefs.h <<\_ACEOF
50561 #define wxUSE_MENUS 1
50562 _ACEOF
50563
50564 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
50565 fi
50566
50567 if test "$wxUSE_MIMETYPE" = "yes"; then
50568 cat >>confdefs.h <<\_ACEOF
50569 #define wxUSE_MIMETYPE 1
50570 _ACEOF
50571
50572 fi
50573
50574 if test "$wxUSE_MINIFRAME" = "yes"; then
50575 cat >>confdefs.h <<\_ACEOF
50576 #define wxUSE_MINIFRAME 1
50577 _ACEOF
50578
50579 fi
50580
50581 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
50582 cat >>confdefs.h <<\_ACEOF
50583 #define wxUSE_SYSTEM_OPTIONS 1
50584 _ACEOF
50585
50586 fi
50587
50588 if test "$wxUSE_TASKBARICON" = "yes"; then
50589 cat >>confdefs.h <<\_ACEOF
50590 #define wxUSE_TASKBARICON 1
50591 _ACEOF
50592
50593 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
50594 fi
50595
50596
50597 if test "$wxUSE_VALIDATORS" = "yes"; then
50598 cat >>confdefs.h <<\_ACEOF
50599 #define wxUSE_VALIDATORS 1
50600 _ACEOF
50601
50602 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
50603 fi
50604
50605 if test "$wxUSE_PALETTE" = "yes" ; then
50606 if test "$wxUSE_DFB" = 1; then
50607 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
50608 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
50609 wxUSE_PALETTE=no
50610 else
50611 cat >>confdefs.h <<\_ACEOF
50612 #define wxUSE_PALETTE 1
50613 _ACEOF
50614
50615 fi
50616 fi
50617
50618 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
50619 LIBS=" -lunicows $LIBS"
50620 fi
50621
50622 USE_RICHTEXT=0
50623 if test "$wxUSE_RICHTEXT" = "yes"; then
50624 cat >>confdefs.h <<\_ACEOF
50625 #define wxUSE_RICHTEXT 1
50626 _ACEOF
50627
50628 USE_RICHTEXT=1
50629 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
50630 fi
50631
50632 if test "$wxUSE_WEBVIEW" = "yes"; then
50633 USE_WEBVIEW_WEBKIT=0
50634 if test "$wxUSE_WEBVIEW_WEBKIT" = "yes"; then
50635 if test "$wxUSE_GTK" = 1; then
50636
50637 pkg_failed=no
50638 { echo "$as_me:$LINENO: checking for WEBKIT" >&5
50639 echo $ECHO_N "checking for WEBKIT... $ECHO_C" >&6; }
50640
50641 if test -n "$PKG_CONFIG"; then
50642 if test -n "$WEBKIT_CFLAGS"; then
50643 pkg_cv_WEBKIT_CFLAGS="$WEBKIT_CFLAGS"
50644 else
50645 if test -n "$PKG_CONFIG" && \
50646 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"webkit-1.0 >= 1.3.1\"") >&5
50647 ($PKG_CONFIG --exists --print-errors "webkit-1.0 >= 1.3.1") 2>&5
50648 ac_status=$?
50649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50650 (exit $ac_status); }; then
50651 pkg_cv_WEBKIT_CFLAGS=`$PKG_CONFIG --cflags "webkit-1.0 >= 1.3.1" 2>/dev/null`
50652 else
50653 pkg_failed=yes
50654 fi
50655 fi
50656 else
50657 pkg_failed=untried
50658 fi
50659 if test -n "$PKG_CONFIG"; then
50660 if test -n "$WEBKIT_LIBS"; then
50661 pkg_cv_WEBKIT_LIBS="$WEBKIT_LIBS"
50662 else
50663 if test -n "$PKG_CONFIG" && \
50664 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"webkit-1.0 >= 1.3.1\"") >&5
50665 ($PKG_CONFIG --exists --print-errors "webkit-1.0 >= 1.3.1") 2>&5
50666 ac_status=$?
50667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50668 (exit $ac_status); }; then
50669 pkg_cv_WEBKIT_LIBS=`$PKG_CONFIG --libs "webkit-1.0 >= 1.3.1" 2>/dev/null`
50670 else
50671 pkg_failed=yes
50672 fi
50673 fi
50674 else
50675 pkg_failed=untried
50676 fi
50677
50678
50679
50680 if test $pkg_failed = yes; then
50681
50682 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
50683 _pkg_short_errors_supported=yes
50684 else
50685 _pkg_short_errors_supported=no
50686 fi
50687 if test $_pkg_short_errors_supported = yes; then
50688 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "webkit-1.0 >= 1.3.1"`
50689 else
50690 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "webkit-1.0 >= 1.3.1"`
50691 fi
50692 # Put the nasty error message in config.log where it belongs
50693 echo "$WEBKIT_PKG_ERRORS" >&5
50694
50695
50696 { echo "$as_me:$LINENO: WARNING: webkitgtk not found." >&5
50697 echo "$as_me: WARNING: webkitgtk not found." >&2;}
50698
50699 elif test $pkg_failed = untried; then
50700
50701 { echo "$as_me:$LINENO: WARNING: webkitgtk not found." >&5
50702 echo "$as_me: WARNING: webkitgtk not found." >&2;}
50703
50704 else
50705 WEBKIT_CFLAGS=$pkg_cv_WEBKIT_CFLAGS
50706 WEBKIT_LIBS=$pkg_cv_WEBKIT_LIBS
50707 { echo "$as_me:$LINENO: result: yes" >&5
50708 echo "${ECHO_T}yes" >&6; }
50709
50710 USE_WEBVIEW_WEBKIT=1
50711 CPPFLAGS="$CPPFLAGS $WEBKIT_CFLAGS"
50712 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $WEBKIT_LIBS"
50713
50714 fi
50715 elif test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
50716 old_CPPFLAGS="$CPPFLAGS"
50717 CPPFLAGS="-x objective-c++ $CPPFLAGS"
50718 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
50719 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
50720 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
50721 echo $ECHO_N "(cached) $ECHO_C" >&6
50722 else
50723 cat >conftest.$ac_ext <<_ACEOF
50724 /* confdefs.h. */
50725 _ACEOF
50726 cat confdefs.h >>conftest.$ac_ext
50727 cat >>conftest.$ac_ext <<_ACEOF
50728 /* end confdefs.h. */
50729
50730 #include <Carbon/Carbon.h>
50731 #include <WebKit/WebKit.h>
50732
50733
50734 #include <WebKit/HIWebView.h>
50735 _ACEOF
50736 rm -f conftest.$ac_objext
50737 if { (ac_try="$ac_compile"
50738 case "(($ac_try" in
50739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
50740 *) ac_try_echo=$ac_try;;
50741 esac
50742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50743 (eval "$ac_compile") 2>conftest.er1
50744 ac_status=$?
50745 grep -v '^ *+' conftest.er1 >conftest.err
50746 rm -f conftest.er1
50747 cat conftest.err >&5
50748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50749 (exit $ac_status); } && {
50750 test -z "$ac_c_werror_flag" ||
50751 test ! -s conftest.err
50752 } && test -s conftest.$ac_objext; then
50753 ac_cv_header_WebKit_HIWebView_h=yes
50754 else
50755 echo "$as_me: failed program was:" >&5
50756 sed 's/^/| /' conftest.$ac_ext >&5
50757
50758 ac_cv_header_WebKit_HIWebView_h=no
50759 fi
50760
50761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50762 fi
50763 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
50764 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
50765 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
50766
50767 USE_WEBVIEW_WEBKIT=1
50768 WEBKIT_LINK="-framework WebKit"
50769
50770 else
50771
50772 { echo "$as_me:$LINENO: WARNING: WebKit headers not found" >&5
50773 echo "$as_me: WARNING: WebKit headers not found" >&2;}
50774
50775 fi
50776
50777
50778 CPPFLAGS="$old_CPPFLAGS"
50779 fi
50780 fi
50781
50782 wxUSE_WEBVIEW="no"
50783 if test "$wxUSE_GTK" = 1 -o "$wxUSE_MAC" = 1; then
50784 if test "$USE_WEBVIEW_WEBKIT" = 1; then
50785 wxUSE_WEBVIEW="yes"
50786 cat >>confdefs.h <<\_ACEOF
50787 #define wxUSE_WEBVIEW_WEBKIT 1
50788 _ACEOF
50789
50790 else
50791 { echo "$as_me:$LINENO: WARNING: WebKit not available, disabling wxWebView" >&5
50792 echo "$as_me: WARNING: WebKit not available, disabling wxWebView" >&2;}
50793 fi
50794 elif test "$wxUSE_MSW" = 1; then
50795 if test "$wxUSE_WEBVIEW_IE" = "yes"; then
50796 wxUSE_WEBVIEW="yes"
50797 cat >>confdefs.h <<\_ACEOF
50798 #define wxUSE_WEBVIEW_IE 1
50799 _ACEOF
50800
50801 fi
50802 fi
50803 fi
50804
50805 if test "$wxUSE_WEBVIEW" = "yes"; then
50806 USE_WEBVIEW=1
50807 cat >>confdefs.h <<\_ACEOF
50808 #define wxUSE_WEBVIEW 1
50809 _ACEOF
50810
50811 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS webview"
50812 else
50813 USE_WEBVIEW=0
50814 fi
50815
50816
50817 if test "$wxUSE_IMAGE" = "yes" ; then
50818 cat >>confdefs.h <<\_ACEOF
50819 #define wxUSE_IMAGE 1
50820 _ACEOF
50821
50822
50823 if test "$wxUSE_GIF" = "yes" ; then
50824 cat >>confdefs.h <<\_ACEOF
50825 #define wxUSE_GIF 1
50826 _ACEOF
50827
50828 fi
50829
50830 if test "$wxUSE_PCX" = "yes" ; then
50831 cat >>confdefs.h <<\_ACEOF
50832 #define wxUSE_PCX 1
50833 _ACEOF
50834
50835 fi
50836
50837 if test "$wxUSE_TGA" = "yes" ; then
50838 cat >>confdefs.h <<\_ACEOF
50839 #define wxUSE_TGA 1
50840 _ACEOF
50841
50842 fi
50843
50844 if test "$wxUSE_IFF" = "yes" ; then
50845 cat >>confdefs.h <<\_ACEOF
50846 #define wxUSE_IFF 1
50847 _ACEOF
50848
50849 fi
50850
50851 if test "$wxUSE_PNM" = "yes" ; then
50852 cat >>confdefs.h <<\_ACEOF
50853 #define wxUSE_PNM 1
50854 _ACEOF
50855
50856 fi
50857
50858 if test "$wxUSE_XPM" = "yes" ; then
50859 cat >>confdefs.h <<\_ACEOF
50860 #define wxUSE_XPM 1
50861 _ACEOF
50862
50863 fi
50864
50865 if test "$wxUSE_ICO_CUR" = "yes" ; then
50866 cat >>confdefs.h <<\_ACEOF
50867 #define wxUSE_ICO_CUR 1
50868 _ACEOF
50869
50870 fi
50871 fi
50872
50873
50874 if test "$wxUSE_ABOUTDLG" = "yes"; then
50875 cat >>confdefs.h <<\_ACEOF
50876 #define wxUSE_ABOUTDLG 1
50877 _ACEOF
50878
50879 fi
50880
50881 if test "$wxUSE_CHOICEDLG" = "yes"; then
50882 cat >>confdefs.h <<\_ACEOF
50883 #define wxUSE_CHOICEDLG 1
50884 _ACEOF
50885
50886 fi
50887
50888 if test "$wxUSE_COLOURDLG" = "yes"; then
50889 cat >>confdefs.h <<\_ACEOF
50890 #define wxUSE_COLOURDLG 1
50891 _ACEOF
50892
50893 fi
50894
50895 if test "$wxUSE_FILEDLG" = "yes"; then
50896 cat >>confdefs.h <<\_ACEOF
50897 #define wxUSE_FILEDLG 1
50898 _ACEOF
50899
50900 fi
50901
50902 if test "$wxUSE_FINDREPLDLG" = "yes"; then
50903 cat >>confdefs.h <<\_ACEOF
50904 #define wxUSE_FINDREPLDLG 1
50905 _ACEOF
50906
50907 fi
50908
50909 if test "$wxUSE_FONTDLG" = "yes"; then
50910 cat >>confdefs.h <<\_ACEOF
50911 #define wxUSE_FONTDLG 1
50912 _ACEOF
50913
50914 fi
50915
50916 if test "$wxUSE_DIRDLG" = "yes"; then
50917 if test "$wxUSE_TREECTRL" != "yes"; then
50918 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
50919 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
50920 else
50921 cat >>confdefs.h <<\_ACEOF
50922 #define wxUSE_DIRDLG 1
50923 _ACEOF
50924
50925 fi
50926 fi
50927
50928 if test "$wxUSE_MSGDLG" = "yes"; then
50929 cat >>confdefs.h <<\_ACEOF
50930 #define wxUSE_MSGDLG 1
50931 _ACEOF
50932
50933 fi
50934
50935 if test "$wxUSE_NUMBERDLG" = "yes"; then
50936 cat >>confdefs.h <<\_ACEOF
50937 #define wxUSE_NUMBERDLG 1
50938 _ACEOF
50939
50940 fi
50941
50942 if test "$wxUSE_PROGRESSDLG" = "yes"; then
50943 cat >>confdefs.h <<\_ACEOF
50944 #define wxUSE_PROGRESSDLG 1
50945 _ACEOF
50946
50947 fi
50948
50949 if test "$wxUSE_SPLASH" = "yes"; then
50950 cat >>confdefs.h <<\_ACEOF
50951 #define wxUSE_SPLASH 1
50952 _ACEOF
50953
50954 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
50955 fi
50956
50957 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
50958 cat >>confdefs.h <<\_ACEOF
50959 #define wxUSE_STARTUP_TIPS 1
50960 _ACEOF
50961
50962 fi
50963
50964 if test "$wxUSE_TEXTDLG" = "yes"; then
50965 cat >>confdefs.h <<\_ACEOF
50966 #define wxUSE_TEXTDLG 1
50967 _ACEOF
50968
50969 fi
50970
50971 if test "$wxUSE_WIZARDDLG" = "yes"; then
50972 cat >>confdefs.h <<\_ACEOF
50973 #define wxUSE_WIZARDDLG 1
50974 _ACEOF
50975
50976 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
50977 fi
50978
50979
50980 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
50981 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
50982 cat >>confdefs.h <<\_ACEOF
50983 #define wxUSE_OWNER_DRAWN 1
50984 _ACEOF
50985
50986 fi
50987 fi
50988
50989
50990 if test "$wxUSE_MSW" = 1 ; then
50991
50992 if test "$wxUSE_DC_CACHEING" = "yes"; then
50993 cat >>confdefs.h <<\_ACEOF
50994 #define wxUSE_DC_CACHEING 1
50995 _ACEOF
50996
50997 fi
50998
50999 if test "$wxUSE_DIB" = "yes"; then
51000 cat >>confdefs.h <<\_ACEOF
51001 #define wxUSE_WXDIB 1
51002 _ACEOF
51003
51004 fi
51005
51006 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
51007 cat >>confdefs.h <<\_ACEOF
51008 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
51009 _ACEOF
51010
51011 fi
51012
51013 if test "$wxUSE_UXTHEME" = "yes"; then
51014 cat >>confdefs.h <<\_ACEOF
51015 #define wxUSE_UXTHEME 1
51016 _ACEOF
51017
51018 fi
51019
51020 fi
51021
51022 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
51023 cat >>confdefs.h <<\_ACEOF
51024 #define wxUSE_AUTOID_MANAGEMENT 1
51025 _ACEOF
51026
51027 fi
51028
51029 if test "$USE_WIN32" = 1 ; then
51030 if test "$wxUSE_INICONF" = "yes"; then
51031 cat >>confdefs.h <<\_ACEOF
51032 #define wxUSE_INICONF 1
51033 _ACEOF
51034
51035 fi
51036
51037 if test "$wxUSE_REGKEY" = "yes"; then
51038 cat >>confdefs.h <<\_ACEOF
51039 #define wxUSE_REGKEY 1
51040 _ACEOF
51041
51042 fi
51043 fi
51044
51045
51046 if test "$wxUSE_MAC" = 1; then
51047 wxUSE_GRAPHICS_CONTEXT="yes"
51048 fi
51049
51050 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
51051 wx_has_graphics=0
51052 if test "$wxUSE_MSW" = 1; then
51053 { echo "$as_me:$LINENO: checking if GDI+ is available" >&5
51054 echo $ECHO_N "checking if GDI+ is available... $ECHO_C" >&6; }
51055 if test "${wx_cv_lib_gdiplus+set}" = set; then
51056 echo $ECHO_N "(cached) $ECHO_C" >&6
51057 else
51058
51059 ac_ext=cpp
51060 ac_cpp='$CXXCPP $CPPFLAGS'
51061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51064
51065 cat >conftest.$ac_ext <<_ACEOF
51066 /* confdefs.h. */
51067 _ACEOF
51068 cat confdefs.h >>conftest.$ac_ext
51069 cat >>conftest.$ac_ext <<_ACEOF
51070 /* end confdefs.h. */
51071 #include <windows.h>
51072 #include <gdiplus.h>
51073 int
51074 main ()
51075 {
51076
51077 using namespace Gdiplus;
51078
51079 ;
51080 return 0;
51081 }
51082 _ACEOF
51083 rm -f conftest.$ac_objext
51084 if { (ac_try="$ac_compile"
51085 case "(($ac_try" in
51086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51087 *) ac_try_echo=$ac_try;;
51088 esac
51089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51090 (eval "$ac_compile") 2>conftest.er1
51091 ac_status=$?
51092 grep -v '^ *+' conftest.er1 >conftest.err
51093 rm -f conftest.er1
51094 cat conftest.err >&5
51095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51096 (exit $ac_status); } && {
51097 test -z "$ac_cxx_werror_flag" ||
51098 test ! -s conftest.err
51099 } && test -s conftest.$ac_objext; then
51100 wx_cv_lib_gdiplus=yes
51101 else
51102 echo "$as_me: failed program was:" >&5
51103 sed 's/^/| /' conftest.$ac_ext >&5
51104
51105 wx_cv_lib_gdiplus=no
51106
51107 fi
51108
51109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51110 ac_ext=c
51111 ac_cpp='$CPP $CPPFLAGS'
51112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51115
51116
51117
51118 fi
51119 { echo "$as_me:$LINENO: result: $wx_cv_lib_gdiplus" >&5
51120 echo "${ECHO_T}$wx_cv_lib_gdiplus" >&6; }
51121 if test "$wx_cv_lib_gdiplus" = "yes"; then
51122 wx_has_graphics=1
51123 fi
51124 elif test "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
51125
51126 pkg_failed=no
51127 { echo "$as_me:$LINENO: checking for CAIRO" >&5
51128 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
51129
51130 if test -n "$PKG_CONFIG"; then
51131 if test -n "$CAIRO_CFLAGS"; then
51132 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
51133 else
51134 if test -n "$PKG_CONFIG" && \
51135 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
51136 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
51137 ac_status=$?
51138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51139 (exit $ac_status); }; then
51140 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
51141 else
51142 pkg_failed=yes
51143 fi
51144 fi
51145 else
51146 pkg_failed=untried
51147 fi
51148 if test -n "$PKG_CONFIG"; then
51149 if test -n "$CAIRO_LIBS"; then
51150 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
51151 else
51152 if test -n "$PKG_CONFIG" && \
51153 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
51154 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
51155 ac_status=$?
51156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51157 (exit $ac_status); }; then
51158 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
51159 else
51160 pkg_failed=yes
51161 fi
51162 fi
51163 else
51164 pkg_failed=untried
51165 fi
51166
51167
51168
51169 if test $pkg_failed = yes; then
51170
51171 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
51172 _pkg_short_errors_supported=yes
51173 else
51174 _pkg_short_errors_supported=no
51175 fi
51176 if test $_pkg_short_errors_supported = yes; then
51177 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
51178 else
51179 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
51180 fi
51181 # Put the nasty error message in config.log where it belongs
51182 echo "$CAIRO_PKG_ERRORS" >&5
51183
51184 { echo "$as_me:$LINENO: WARNING: Cairo library not found" >&5
51185 echo "$as_me: WARNING: Cairo library not found" >&2;}
51186
51187 elif test $pkg_failed = untried; then
51188 { echo "$as_me:$LINENO: WARNING: Cairo library not found" >&5
51189 echo "$as_me: WARNING: Cairo library not found" >&2;}
51190
51191 else
51192 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
51193 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
51194 { echo "$as_me:$LINENO: result: yes" >&5
51195 echo "${ECHO_T}yes" >&6; }
51196 wx_has_graphics=1
51197 fi
51198 if test "$wx_has_graphics" = 1; then
51199 save_LIBS="$LIBS"
51200 LIBS="$LIBS $CAIRO_LIBS"
51201
51202 for ac_func in cairo_push_group
51203 do
51204 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51205 { echo "$as_me:$LINENO: checking for $ac_func" >&5
51206 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
51207 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
51208 echo $ECHO_N "(cached) $ECHO_C" >&6
51209 else
51210 cat >conftest.$ac_ext <<_ACEOF
51211 /* confdefs.h. */
51212 _ACEOF
51213 cat confdefs.h >>conftest.$ac_ext
51214 cat >>conftest.$ac_ext <<_ACEOF
51215 /* end confdefs.h. */
51216 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51217 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51218 #define $ac_func innocuous_$ac_func
51219
51220 /* System header to define __stub macros and hopefully few prototypes,
51221 which can conflict with char $ac_func (); below.
51222 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51223 <limits.h> exists even on freestanding compilers. */
51224
51225 #ifdef __STDC__
51226 # include <limits.h>
51227 #else
51228 # include <assert.h>
51229 #endif
51230
51231 #undef $ac_func
51232
51233 /* Override any GCC internal prototype to avoid an error.
51234 Use char because int might match the return type of a GCC
51235 builtin and then its argument prototype would still apply. */
51236 #ifdef __cplusplus
51237 extern "C"
51238 #endif
51239 char $ac_func ();
51240 /* The GNU C library defines this for functions which it implements
51241 to always fail with ENOSYS. Some functions are actually named
51242 something starting with __ and the normal name is an alias. */
51243 #if defined __stub_$ac_func || defined __stub___$ac_func
51244 choke me
51245 #endif
51246
51247 int
51248 main ()
51249 {
51250 return $ac_func ();
51251 ;
51252 return 0;
51253 }
51254 _ACEOF
51255 rm -f conftest.$ac_objext conftest$ac_exeext
51256 if { (ac_try="$ac_link"
51257 case "(($ac_try" in
51258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51259 *) ac_try_echo=$ac_try;;
51260 esac
51261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51262 (eval "$ac_link") 2>conftest.er1
51263 ac_status=$?
51264 grep -v '^ *+' conftest.er1 >conftest.err
51265 rm -f conftest.er1
51266 cat conftest.err >&5
51267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51268 (exit $ac_status); } && {
51269 test -z "$ac_c_werror_flag" ||
51270 test ! -s conftest.err
51271 } && test -s conftest$ac_exeext &&
51272 $as_test_x conftest$ac_exeext; then
51273 eval "$as_ac_var=yes"
51274 else
51275 echo "$as_me: failed program was:" >&5
51276 sed 's/^/| /' conftest.$ac_ext >&5
51277
51278 eval "$as_ac_var=no"
51279 fi
51280
51281 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
51282 conftest$ac_exeext conftest.$ac_ext
51283 fi
51284 ac_res=`eval echo '${'$as_ac_var'}'`
51285 { echo "$as_me:$LINENO: result: $ac_res" >&5
51286 echo "${ECHO_T}$ac_res" >&6; }
51287 if test `eval echo '${'$as_ac_var'}'` = yes; then
51288 cat >>confdefs.h <<_ACEOF
51289 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51290 _ACEOF
51291
51292 fi
51293 done
51294
51295 LIBS="$save_LIBS"
51296 if test "$ac_cv_func_cairo_push_group" = "no"; then
51297 wx_has_graphics=0
51298 { echo "$as_me:$LINENO: WARNING: Cairo library is too old and misses cairo_push_group()" >&5
51299 echo "$as_me: WARNING: Cairo library is too old and misses cairo_push_group()" >&2;}
51300 else
51301 cat >>confdefs.h <<\_ACEOF
51302 #define wxUSE_CAIRO 1
51303 _ACEOF
51304
51305
51306 if test "$wxUSE_GTK" != 1; then
51307 CPPFLAGS="$CAIRO_CFLAGS $CPPFLAGS"
51308 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $CAIRO_LIBS"
51309 fi
51310 fi
51311 fi
51312 else
51313 wx_has_graphics=1
51314 fi
51315
51316 if test "$wx_has_graphics" = 1; then
51317 cat >>confdefs.h <<\_ACEOF
51318 #define wxUSE_GRAPHICS_CONTEXT 1
51319 _ACEOF
51320
51321 else
51322 { echo "$as_me:$LINENO: WARNING: wxGraphicsContext won't be available" >&5
51323 echo "$as_me: WARNING: wxGraphicsContext won't be available" >&2;}
51324 fi
51325 fi
51326
51327
51328 USE_MEDIA=0
51329
51330 if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then
51331 USE_MEDIA=1
51332
51333 if test "$wxUSE_GTK" = 1; then
51334 wxUSE_GSTREAMER="no"
51335
51336 GST_VERSION_MAJOR=0
51337 GST_VERSION_MINOR=10
51338 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
51339
51340 if test "$wxUSE_GSTREAMER8" = "no"; then
51341
51342 pkg_failed=no
51343 { echo "$as_me:$LINENO: checking for GST" >&5
51344 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
51345
51346 if test -n "$PKG_CONFIG"; then
51347 if test -n "$GST_CFLAGS"; then
51348 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
51349 else
51350 if test -n "$PKG_CONFIG" && \
51351 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION\"") >&5
51352 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION") 2>&5
51353 ac_status=$?
51354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51355 (exit $ac_status); }; then
51356 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION" 2>/dev/null`
51357 else
51358 pkg_failed=yes
51359 fi
51360 fi
51361 else
51362 pkg_failed=untried
51363 fi
51364 if test -n "$PKG_CONFIG"; then
51365 if test -n "$GST_LIBS"; then
51366 pkg_cv_GST_LIBS="$GST_LIBS"
51367 else
51368 if test -n "$PKG_CONFIG" && \
51369 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION\"") >&5
51370 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION") 2>&5
51371 ac_status=$?
51372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51373 (exit $ac_status); }; then
51374 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION" 2>/dev/null`
51375 else
51376 pkg_failed=yes
51377 fi
51378 fi
51379 else
51380 pkg_failed=untried
51381 fi
51382
51383
51384
51385 if test $pkg_failed = yes; then
51386
51387 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
51388 _pkg_short_errors_supported=yes
51389 else
51390 _pkg_short_errors_supported=no
51391 fi
51392 if test $_pkg_short_errors_supported = yes; then
51393 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION"`
51394 else
51395 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION"`
51396 fi
51397 # Put the nasty error message in config.log where it belongs
51398 echo "$GST_PKG_ERRORS" >&5
51399
51400
51401 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
51402 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
51403 GST_VERSION_MINOR=8
51404
51405
51406 elif test $pkg_failed = untried; then
51407
51408 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
51409 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
51410 GST_VERSION_MINOR=8
51411
51412
51413 else
51414 GST_CFLAGS=$pkg_cv_GST_CFLAGS
51415 GST_LIBS=$pkg_cv_GST_LIBS
51416 { echo "$as_me:$LINENO: result: yes" >&5
51417 echo "${ECHO_T}yes" >&6; }
51418
51419 wxUSE_GSTREAMER="yes"
51420 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
51421
51422 fi
51423 else
51424 GST_VERSION_MINOR=8
51425 fi
51426
51427 if test $GST_VERSION_MINOR = "8"; then
51428 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
51429
51430 pkg_failed=no
51431 { echo "$as_me:$LINENO: checking for GST" >&5
51432 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
51433
51434 if test -n "$PKG_CONFIG"; then
51435 if test -n "$GST_CFLAGS"; then
51436 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
51437 else
51438 if test -n "$PKG_CONFIG" && \
51439 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
51440 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
51441 ac_status=$?
51442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51443 (exit $ac_status); }; then
51444 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
51445 else
51446 pkg_failed=yes
51447 fi
51448 fi
51449 else
51450 pkg_failed=untried
51451 fi
51452 if test -n "$PKG_CONFIG"; then
51453 if test -n "$GST_LIBS"; then
51454 pkg_cv_GST_LIBS="$GST_LIBS"
51455 else
51456 if test -n "$PKG_CONFIG" && \
51457 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
51458 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
51459 ac_status=$?
51460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51461 (exit $ac_status); }; then
51462 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
51463 else
51464 pkg_failed=yes
51465 fi
51466 fi
51467 else
51468 pkg_failed=untried
51469 fi
51470
51471
51472
51473 if test $pkg_failed = yes; then
51474
51475 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
51476 _pkg_short_errors_supported=yes
51477 else
51478 _pkg_short_errors_supported=no
51479 fi
51480 if test $_pkg_short_errors_supported = yes; then
51481 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
51482 else
51483 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
51484 fi
51485 # Put the nasty error message in config.log where it belongs
51486 echo "$GST_PKG_ERRORS" >&5
51487
51488
51489 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
51490 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
51491
51492 elif test $pkg_failed = untried; then
51493
51494 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
51495 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
51496
51497 else
51498 GST_CFLAGS=$pkg_cv_GST_CFLAGS
51499 GST_LIBS=$pkg_cv_GST_LIBS
51500 { echo "$as_me:$LINENO: result: yes" >&5
51501 echo "${ECHO_T}yes" >&6; }
51502 wxUSE_GSTREAMER="yes"
51503 fi
51504 fi
51505
51506
51507 if test "$wxUSE_GSTREAMER" = "yes"; then
51508 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
51509 EXTRALIBS_MEDIA="$GST_LIBS"
51510
51511 cat >>confdefs.h <<\_ACEOF
51512 #define wxUSE_GSTREAMER 1
51513 _ACEOF
51514
51515 else
51516 USE_MEDIA=0
51517 fi
51518 fi
51519
51520 if test $USE_MEDIA = 1; then
51521 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
51522 cat >>confdefs.h <<\_ACEOF
51523 #define wxUSE_MEDIACTRL 1
51524 _ACEOF
51525
51526 else
51527 if test "$wxUSE_MEDIACTRL" = "yes"; then
51528 { { echo "$as_me:$LINENO: error: GStreamer not available" >&5
51529 echo "$as_me: error: GStreamer not available" >&2;}
51530 { (exit 1); exit 1; }; }
51531 else
51532 { echo "$as_me:$LINENO: WARNING: GStreamer not available... disabling wxMediaCtrl" >&5
51533 echo "$as_me: WARNING: GStreamer not available... disabling wxMediaCtrl" >&2;}
51534 fi
51535 fi
51536 fi
51537
51538
51539 if test "$cross_compiling" != "no"; then
51540 OSINFO="\"$host\""
51541 else
51542 OSINFO=`uname -s -r -m`
51543 OSINFO="\"$OSINFO\""
51544 fi
51545
51546 cat >>confdefs.h <<_ACEOF
51547 #define WXWIN_OS_DESCRIPTION $OSINFO
51548 _ACEOF
51549
51550
51551
51552 if test "x$prefix" != "xNONE"; then
51553 wxPREFIX=$prefix
51554 else
51555 wxPREFIX=$ac_default_prefix
51556 fi
51557
51558 cat >>confdefs.h <<_ACEOF
51559 #define wxINSTALL_PREFIX "$wxPREFIX"
51560 _ACEOF
51561
51562
51563
51564
51565 STD_BASE_LIBS="base"
51566 STD_GUI_LIBS=""
51567 BUILT_WX_LIBS="base"
51568 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
51569
51570 if test "$wxUSE_SOCKETS" = "yes" ; then
51571 STD_BASE_LIBS="net $STD_BASE_LIBS"
51572 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
51573 fi
51574 if test "$wxUSE_XML" = "yes" ; then
51575 STD_BASE_LIBS="xml $STD_BASE_LIBS"
51576 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
51577 fi
51578
51579 if test "$wxUSE_GUI" = "yes"; then
51580 STD_GUI_LIBS="adv core"
51581 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
51582
51583 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
51584 STD_GUI_LIBS="qa $STD_GUI_LIBS"
51585 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
51586 fi
51587 if test "$wxUSE_HTML" = "yes" ; then
51588 STD_GUI_LIBS="html $STD_GUI_LIBS"
51589 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
51590 fi
51591 if test "$wxUSE_MEDIACTRL" = "yes" ; then
51592 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
51593 fi
51594 if test "$wxUSE_OPENGL" = "yes" ; then
51595 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
51596 fi
51597 if test "$wxUSE_AUI" = "yes" ; then
51598 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
51599 fi
51600 if test "$wxUSE_PROPGRID" = "yes" ; then
51601 BUILT_WX_LIBS="propgrid $BUILT_WX_LIBS"
51602 fi
51603 if test "$wxUSE_RIBBON" = "yes" ; then
51604 BUILT_WX_LIBS="ribbon $BUILT_WX_LIBS"
51605 fi
51606 if test "$wxUSE_RICHTEXT" = "yes" ; then
51607 BUILT_WX_LIBS="richtext $BUILT_WX_LIBS"
51608 fi
51609 if test "$wxUSE_STC" = "yes" ; then
51610 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
51611 fi
51612 if test "$wxUSE_WEBVIEW" = "yes" ; then
51613 STD_GUI_LIBS="webview $STD_GUI_LIBS"
51614 BUILT_WX_LIBS="webview $BUILT_WX_LIBS"
51615 fi
51616 if test "$wxUSE_XRC" = "yes" ; then
51617 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
51618 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
51619 fi
51620 fi
51621
51622
51623
51624
51625
51626
51627
51628 EXTRA_FRAMEWORKS=
51629 if test "$wxUSE_MAC" = 1 ; then
51630 if test "$USE_DARWIN" = 1; then
51631 if test "$wxUSE_OSX_IPHONE" = 1; then
51632 EXTRA_FRAMEWORKS="-framework IOKit -framework UIKit -framework CFNetwork -framework AudioToolbox -framework CoreFoundation -framework CoreGraphics -framework OpenGLES -framework Foundation -framework QuartzCore"
51633 else
51634 EXTRA_FRAMEWORKS="-framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL -framework QuickTime"
51635 fi
51636 fi
51637 fi
51638 if test "$wxUSE_OLD_COCOA" = 1 ; then
51639 EXTRA_FRAMEWORKS="-framework IOKit -framework Cocoa"
51640 if test "$wxUSE_MEDIACTRL" = "yes"; then
51641 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework QuickTime"
51642 fi
51643 fi
51644 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1 ; then
51645 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
51646 fi
51647
51648 LDFLAGS="$LDFLAGS $EXTRA_FRAMEWORKS"
51649 WXCONFIG_LDFLAGS="$WXCONFIG_LDFLAGS $EXTRA_FRAMEWORKS"
51650
51651 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
51652
51653 if test "$wxUSE_GUI" = "yes"; then
51654
51655
51656 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
51657 erase event exec font image minimal render \
51658 shaped svg taborder vscroll widgets wrapsizer"
51659
51660 if test "$wxUSE_MONOLITHIC" != "yes"; then
51661 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
51662 fi
51663 if test "$TOOLKIT" = "MSW"; then
51664 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
51665 if test "$wxUSE_UNIVERSAL" != "yes"; then
51666 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg dll"
51667 fi
51668 fi
51669 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
51670 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
51671 fi
51672 else
51673 SAMPLES_SUBDIRS="console"
51674 if test "$wxUSE_SOCKETS" = "yes" ; then
51675 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
51676 fi
51677 if test "$wxUSE_IPC" = "yes" ; then
51678 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
51679 fi
51680 fi
51681
51682
51683 if test "x$INTELCC" = "xyes" ; then
51684 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684,2259"
51685 elif test "$GCC" = yes ; then
51686 CWARNINGS="-Wall -Wundef"
51687 fi
51688
51689 if test "x$INTELCXX" = "xyes" ; then
51690 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419,1881,2259"
51691 elif test "$GXX" = yes ; then
51692 CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
51693 { echo "$as_me:$LINENO: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5
51694 echo $ECHO_N "checking CXXWARNINGS for gcc -Woverloaded-virtual... $ECHO_C" >&6; }
51695 if test "${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+set}" = set; then
51696 echo $ECHO_N "(cached) $ECHO_C" >&6
51697 else
51698 ac_cv_cxxflags_gcc_option__Woverloaded_virtual="no, unknown"
51699
51700 ac_ext=cpp
51701 ac_cpp='$CXXCPP $CPPFLAGS'
51702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51705
51706 ac_save_CXXFLAGS="$CXXFLAGS"
51707 for ac_arg in "-pedantic -Werror % -Woverloaded-virtual" "-pedantic % -Woverloaded-virtual %% no, obsolete" #
51708 do CXXFLAGS="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
51709 cat >conftest.$ac_ext <<_ACEOF
51710 /* confdefs.h. */
51711 _ACEOF
51712 cat confdefs.h >>conftest.$ac_ext
51713 cat >>conftest.$ac_ext <<_ACEOF
51714 /* end confdefs.h. */
51715
51716 int
51717 main ()
51718 {
51719 return 0;
51720 ;
51721 return 0;
51722 }
51723 _ACEOF
51724 rm -f conftest.$ac_objext
51725 if { (ac_try="$ac_compile"
51726 case "(($ac_try" in
51727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51728 *) ac_try_echo=$ac_try;;
51729 esac
51730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51731 (eval "$ac_compile") 2>conftest.er1
51732 ac_status=$?
51733 grep -v '^ *+' conftest.er1 >conftest.err
51734 rm -f conftest.er1
51735 cat conftest.err >&5
51736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51737 (exit $ac_status); } && {
51738 test -z "$ac_cxx_werror_flag" ||
51739 test ! -s conftest.err
51740 } && test -s conftest.$ac_objext; then
51741 ac_cv_cxxflags_gcc_option__Woverloaded_virtual=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
51742 else
51743 echo "$as_me: failed program was:" >&5
51744 sed 's/^/| /' conftest.$ac_ext >&5
51745
51746
51747 fi
51748
51749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51750 done
51751 CXXFLAGS="$ac_save_CXXFLAGS"
51752 ac_ext=c
51753 ac_cpp='$CPP $CPPFLAGS'
51754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51757
51758
51759 fi
51760 { echo "$as_me:$LINENO: result: $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&5
51761 echo "${ECHO_T}$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&6; }
51762 case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in
51763 .ok|.ok,*) ;;
51764 .|.no|.no,*) ;;
51765 *)
51766 if echo " $CXXWARNINGS " | grep " $ac_cv_cxxflags_gcc_option__Woverloaded_virtual " 2>&1 >/dev/null
51767 then { (echo "$as_me:$LINENO: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual") >&5
51768 (: CXXWARNINGS does contain $ac_cv_cxxflags_gcc_option__Woverloaded_virtual) 2>&5
51769 ac_status=$?
51770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51771 (exit $ac_status); }
51772 else { (echo "$as_me:$LINENO: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\"") >&5
51773 (: CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual") 2>&5
51774 ac_status=$?
51775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51776 (exit $ac_status); }
51777 CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual"
51778 fi
51779 ;;
51780 esac
51781
51782
51783 if test "$wxUSE_MAC" = 1 ; then
51784 CXXWARNINGS="$CXXWARNINGS -Wno-deprecated-declarations"
51785 fi
51786 fi
51787
51788
51789 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
51790 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
51791
51792
51793 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
51794 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
51795 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
51796 $CPPFLAGS `
51797
51798 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
51799 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
51800 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
51801 OBJCFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
51802 OBJCXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
51803
51804 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
51805
51806
51807 if test "x$MWCC" = "xyes"; then
51808
51809 CC="$CC -cwd source -I-"
51810 CXX="$CXX -cwd source -I-"
51811 fi
51812
51813
51814 LIBS=`echo $LIBS`
51815 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
51816 EXTRALIBS_XML="$EXPAT_LINK"
51817 EXTRALIBS_HTML="$MSPACK_LINK"
51818 EXTRALIBS_MEDIA="$GST_LIBS"
51819 EXTRALIBS_STC="-lwxscintilla${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
51820 if test "$wxUSE_GUI" = "yes"; then
51821 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
51822 fi
51823 if test "$wxUSE_OPENGL" = "yes"; then
51824 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
51825 fi
51826
51827 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
51828
51829 WXCONFIG_LIBS="$LIBS"
51830
51831 if test "$wxUSE_REGEX" = "builtin" ; then
51832 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
51833 fi
51834 if test "$wxUSE_EXPAT" = "builtin" ; then
51835 wxconfig_3rdparty="expat $wxconfig_3rdparty"
51836 fi
51837 if test "$wxUSE_LIBTIFF" = "builtin" ; then
51838 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
51839 fi
51840 if test "$wxUSE_LIBJPEG" = "builtin" ; then
51841 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
51842 fi
51843 if test "$wxUSE_LIBPNG" = "builtin" ; then
51844 wxconfig_3rdparty="png $wxconfig_3rdparty"
51845 fi
51846 if test "$wxUSE_ZLIB" = "builtin" ; then
51847 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
51848 fi
51849
51850 for i in $wxconfig_3rdparty ; do
51851 WXCONFIG_LIBS="-lwx${i}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
51852 done
51853
51854
51855 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
51856 WXUNIV=1
51857
51858 case "$wxUNIV_THEMES" in
51859 ''|all)
51860 cat >>confdefs.h <<\_ACEOF
51861 #define wxUSE_ALL_THEMES 1
51862 _ACEOF
51863
51864 ;;
51865
51866 *)
51867 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
51868 cat >>confdefs.h <<_ACEOF
51869 #define wxUSE_THEME_$t 1
51870 _ACEOF
51871
51872 done
51873 esac
51874 else
51875 WXUNIV=0
51876 fi
51877
51878
51879
51880
51881
51882
51883
51884
51885 if test $wxUSE_MONOLITHIC = "yes" ; then
51886 MONOLITHIC=1
51887 else
51888 MONOLITHIC=0
51889 fi
51890
51891 if test $wxUSE_PLUGINS = "yes" ; then
51892 USE_PLUGINS=1
51893 else
51894 USE_PLUGINS=0
51895 fi
51896
51897 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
51898 USE_QA=1
51899 else
51900 USE_QA=0
51901 fi
51902
51903 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
51904 OFFICIAL_BUILD=1
51905 else
51906 OFFICIAL_BUILD=0
51907 fi
51908
51909
51910
51911
51912
51913
51914
51915
51916
51917
51918
51919
51920
51921
51922
51923
51924
51925
51926
51927
51928
51929
51930
51931
51932
51933
51934
51935 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
51936
51937
51938
51939
51940
51941
51942
51943
51944
51945
51946 case "$TOOLKIT" in
51947 GTK)
51948 TOOLKIT_DESC="GTK+"
51949 if test "$WXGTK2" = 1; then
51950 TOOLKIT_DESC="$TOOLKIT_DESC 2"
51951 if test "$wxUSE_GTKPRINT" = "yes" ; then
51952 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
51953 fi
51954 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
51955 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
51956 fi
51957 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
51958 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
51959 fi
51960 if test "$wxUSE_LIBHILDON" = "yes"; then
51961 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
51962 fi
51963 if test "$wxUSE_LIBHILDON2" = "yes"; then
51964 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
51965 fi
51966
51967 if test "$TOOLKIT_EXTRA" != ""; then
51968 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
51969 fi
51970 fi
51971 ;;
51972
51973 ?*)
51974 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
51975 ;;
51976
51977 *)
51978 TOOLKIT_DESC="base only"
51979 ;;
51980 esac
51981
51982 if test "$wxUSE_WINE" = "yes"; then
51983 BAKEFILE_FORCE_PLATFORM=win32
51984 fi
51985
51986 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
51987 then
51988 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
51989 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
51990 if test "${wx_cv_gcc_pch_bug+set}" = set; then
51991 echo $ECHO_N "(cached) $ECHO_C" >&6
51992 else
51993
51994 echo '#include <stdio.h>
51995 const wchar_t test_var[] = L"awidetest";' > conftest.h
51996
51997 echo '#include "conftest.h"
51998 int main()
51999 {
52000 printf("%ls", test_var);
52001 return 0;
52002 }' > conftest.cpp
52003
52004 wx_cv_gcc_pch_bug="pch not supported"
52005
52006 if $CXX conftest.h >/dev/null 2>&1
52007 then
52008 wx_cv_gcc_pch_bug=
52009
52010 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
52011 then
52012 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
52013 grep awidetest >/dev/null
52014 then
52015 wx_cv_gcc_pch_bug=no
52016 else
52017 wx_cv_gcc_pch_bug=yes
52018 fi
52019 fi
52020 fi
52021
52022 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
52023
52024 fi
52025 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
52026 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
52027
52028 if test "$wx_cv_gcc_pch_bug" = yes; then
52029 bk_use_pch=no
52030 fi
52031 fi
52032
52033
52034
52035
52036
52037
52038
52039 if test "x$BAKEFILE_HOST" = "x"; then
52040 if test "x${host}" = "x" ; then
52041 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
52042 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
52043 { (exit 1); exit 1; }; }
52044 fi
52045
52046 BAKEFILE_HOST="${host}"
52047 fi
52048
52049 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
52050
52051 if test -n "$ac_tool_prefix"; then
52052 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
52053 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
52054 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52055 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52056 if test "${ac_cv_prog_RANLIB+set}" = set; then
52057 echo $ECHO_N "(cached) $ECHO_C" >&6
52058 else
52059 if test -n "$RANLIB"; then
52060 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
52061 else
52062 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52063 for as_dir in $PATH
52064 do
52065 IFS=$as_save_IFS
52066 test -z "$as_dir" && as_dir=.
52067 for ac_exec_ext in '' $ac_executable_extensions; do
52068 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52069 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
52070 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52071 break 2
52072 fi
52073 done
52074 done
52075 IFS=$as_save_IFS
52076
52077 fi
52078 fi
52079 RANLIB=$ac_cv_prog_RANLIB
52080 if test -n "$RANLIB"; then
52081 { echo "$as_me:$LINENO: result: $RANLIB" >&5
52082 echo "${ECHO_T}$RANLIB" >&6; }
52083 else
52084 { echo "$as_me:$LINENO: result: no" >&5
52085 echo "${ECHO_T}no" >&6; }
52086 fi
52087
52088
52089 fi
52090 if test -z "$ac_cv_prog_RANLIB"; then
52091 ac_ct_RANLIB=$RANLIB
52092 # Extract the first word of "ranlib", so it can be a program name with args.
52093 set dummy ranlib; ac_word=$2
52094 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52095 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52096 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
52097 echo $ECHO_N "(cached) $ECHO_C" >&6
52098 else
52099 if test -n "$ac_ct_RANLIB"; then
52100 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
52101 else
52102 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52103 for as_dir in $PATH
52104 do
52105 IFS=$as_save_IFS
52106 test -z "$as_dir" && as_dir=.
52107 for ac_exec_ext in '' $ac_executable_extensions; do
52108 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52109 ac_cv_prog_ac_ct_RANLIB="ranlib"
52110 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52111 break 2
52112 fi
52113 done
52114 done
52115 IFS=$as_save_IFS
52116
52117 fi
52118 fi
52119 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
52120 if test -n "$ac_ct_RANLIB"; then
52121 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
52122 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
52123 else
52124 { echo "$as_me:$LINENO: result: no" >&5
52125 echo "${ECHO_T}no" >&6; }
52126 fi
52127
52128 if test "x$ac_ct_RANLIB" = x; then
52129 RANLIB=":"
52130 else
52131 case $cross_compiling:$ac_tool_warned in
52132 yes:)
52133 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
52134 whose name does not start with the host triplet. If you think this
52135 configuration is useful to you, please write to autoconf@gnu.org." >&5
52136 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
52137 whose name does not start with the host triplet. If you think this
52138 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
52139 ac_tool_warned=yes ;;
52140 esac
52141 RANLIB=$ac_ct_RANLIB
52142 fi
52143 else
52144 RANLIB="$ac_cv_prog_RANLIB"
52145 fi
52146
52147 # Find a good install program. We prefer a C program (faster),
52148 # so one script is as good as another. But avoid the broken or
52149 # incompatible versions:
52150 # SysV /etc/install, /usr/sbin/install
52151 # SunOS /usr/etc/install
52152 # IRIX /sbin/install
52153 # AIX /bin/install
52154 # AmigaOS /C/install, which installs bootblocks on floppy discs
52155 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
52156 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
52157 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
52158 # OS/2's system install, which has a completely different semantic
52159 # ./install, which can be erroneously created by make from ./install.sh.
52160 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
52161 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
52162 if test -z "$INSTALL"; then
52163 if test "${ac_cv_path_install+set}" = set; then
52164 echo $ECHO_N "(cached) $ECHO_C" >&6
52165 else
52166 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52167 for as_dir in $PATH
52168 do
52169 IFS=$as_save_IFS
52170 test -z "$as_dir" && as_dir=.
52171 # Account for people who put trailing slashes in PATH elements.
52172 case $as_dir/ in
52173 ./ | .// | /cC/* | \
52174 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
52175 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
52176 /usr/ucb/* ) ;;
52177 *)
52178 # OSF1 and SCO ODT 3.0 have their own names for install.
52179 # Don't use installbsd from OSF since it installs stuff as root
52180 # by default.
52181 for ac_prog in ginstall scoinst install; do
52182 for ac_exec_ext in '' $ac_executable_extensions; do
52183 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
52184 if test $ac_prog = install &&
52185 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
52186 # AIX install. It has an incompatible calling convention.
52187 :
52188 elif test $ac_prog = install &&
52189 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
52190 # program-specific install script used by HP pwplus--don't use.
52191 :
52192 else
52193 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
52194 break 3
52195 fi
52196 fi
52197 done
52198 done
52199 ;;
52200 esac
52201 done
52202 IFS=$as_save_IFS
52203
52204
52205 fi
52206 if test "${ac_cv_path_install+set}" = set; then
52207 INSTALL=$ac_cv_path_install
52208 else
52209 # As a last resort, use the slow shell script. Don't cache a
52210 # value for INSTALL within a source directory, because that will
52211 # break other packages using the cache if that directory is
52212 # removed, or if the value is a relative name.
52213 INSTALL=$ac_install_sh
52214 fi
52215 fi
52216 { echo "$as_me:$LINENO: result: $INSTALL" >&5
52217 echo "${ECHO_T}$INSTALL" >&6; }
52218
52219 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
52220 # It thinks the first close brace ends the variable substitution.
52221 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
52222
52223 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
52224
52225 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
52226
52227 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
52228 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
52229 LN_S=$as_ln_s
52230 if test "$LN_S" = "ln -s"; then
52231 { echo "$as_me:$LINENO: result: yes" >&5
52232 echo "${ECHO_T}yes" >&6; }
52233 else
52234 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
52235 echo "${ECHO_T}no, using $LN_S" >&6; }
52236 fi
52237
52238
52239 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
52240 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
52241 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
52242 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
52243 echo $ECHO_N "(cached) $ECHO_C" >&6
52244 else
52245 cat >conftest.make <<\_ACEOF
52246 SHELL = /bin/sh
52247 all:
52248 @echo '@@@%%%=$(MAKE)=@@@%%%'
52249 _ACEOF
52250 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
52251 case `${MAKE-make} -f conftest.make 2>/dev/null` in
52252 *@@@%%%=?*=@@@%%%*)
52253 eval ac_cv_prog_make_${ac_make}_set=yes;;
52254 *)
52255 eval ac_cv_prog_make_${ac_make}_set=no;;
52256 esac
52257 rm -f conftest.make
52258 fi
52259 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
52260 { echo "$as_me:$LINENO: result: yes" >&5
52261 echo "${ECHO_T}yes" >&6; }
52262 SET_MAKE=
52263 else
52264 { echo "$as_me:$LINENO: result: no" >&5
52265 echo "${ECHO_T}no" >&6; }
52266 SET_MAKE="MAKE=${MAKE-make}"
52267 fi
52268
52269
52270
52271 if test "x$SUNCXX" = "xyes"; then
52272 AR=$CXX
52273 AROPTIONS="-xar -o"
52274
52275 elif test "x$SGICC" = "xyes"; then
52276 AR=$CXX
52277 AROPTIONS="-ar -o"
52278
52279 else
52280 if test -n "$ac_tool_prefix"; then
52281 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
52282 set dummy ${ac_tool_prefix}ar; ac_word=$2
52283 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52284 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52285 if test "${ac_cv_prog_AR+set}" = set; then
52286 echo $ECHO_N "(cached) $ECHO_C" >&6
52287 else
52288 if test -n "$AR"; then
52289 ac_cv_prog_AR="$AR" # Let the user override the test.
52290 else
52291 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52292 for as_dir in $PATH
52293 do
52294 IFS=$as_save_IFS
52295 test -z "$as_dir" && as_dir=.
52296 for ac_exec_ext in '' $ac_executable_extensions; do
52297 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52298 ac_cv_prog_AR="${ac_tool_prefix}ar"
52299 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52300 break 2
52301 fi
52302 done
52303 done
52304 IFS=$as_save_IFS
52305
52306 fi
52307 fi
52308 AR=$ac_cv_prog_AR
52309 if test -n "$AR"; then
52310 { echo "$as_me:$LINENO: result: $AR" >&5
52311 echo "${ECHO_T}$AR" >&6; }
52312 else
52313 { echo "$as_me:$LINENO: result: no" >&5
52314 echo "${ECHO_T}no" >&6; }
52315 fi
52316
52317
52318 fi
52319 if test -z "$ac_cv_prog_AR"; then
52320 ac_ct_AR=$AR
52321 # Extract the first word of "ar", so it can be a program name with args.
52322 set dummy ar; ac_word=$2
52323 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52324 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52325 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
52326 echo $ECHO_N "(cached) $ECHO_C" >&6
52327 else
52328 if test -n "$ac_ct_AR"; then
52329 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
52330 else
52331 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52332 for as_dir in $PATH
52333 do
52334 IFS=$as_save_IFS
52335 test -z "$as_dir" && as_dir=.
52336 for ac_exec_ext in '' $ac_executable_extensions; do
52337 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52338 ac_cv_prog_ac_ct_AR="ar"
52339 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52340 break 2
52341 fi
52342 done
52343 done
52344 IFS=$as_save_IFS
52345
52346 fi
52347 fi
52348 ac_ct_AR=$ac_cv_prog_ac_ct_AR
52349 if test -n "$ac_ct_AR"; then
52350 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
52351 echo "${ECHO_T}$ac_ct_AR" >&6; }
52352 else
52353 { echo "$as_me:$LINENO: result: no" >&5
52354 echo "${ECHO_T}no" >&6; }
52355 fi
52356
52357 if test "x$ac_ct_AR" = x; then
52358 AR="ar"
52359 else
52360 case $cross_compiling:$ac_tool_warned in
52361 yes:)
52362 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
52363 whose name does not start with the host triplet. If you think this
52364 configuration is useful to you, please write to autoconf@gnu.org." >&5
52365 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
52366 whose name does not start with the host triplet. If you think this
52367 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
52368 ac_tool_warned=yes ;;
52369 esac
52370 AR=$ac_ct_AR
52371 fi
52372 else
52373 AR="$ac_cv_prog_AR"
52374 fi
52375
52376 AROPTIONS=rcu
52377 fi
52378
52379
52380 if test -n "$ac_tool_prefix"; then
52381 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
52382 set dummy ${ac_tool_prefix}strip; ac_word=$2
52383 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52384 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52385 if test "${ac_cv_prog_STRIP+set}" = set; then
52386 echo $ECHO_N "(cached) $ECHO_C" >&6
52387 else
52388 if test -n "$STRIP"; then
52389 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
52390 else
52391 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52392 for as_dir in $PATH
52393 do
52394 IFS=$as_save_IFS
52395 test -z "$as_dir" && as_dir=.
52396 for ac_exec_ext in '' $ac_executable_extensions; do
52397 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52398 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
52399 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52400 break 2
52401 fi
52402 done
52403 done
52404 IFS=$as_save_IFS
52405
52406 fi
52407 fi
52408 STRIP=$ac_cv_prog_STRIP
52409 if test -n "$STRIP"; then
52410 { echo "$as_me:$LINENO: result: $STRIP" >&5
52411 echo "${ECHO_T}$STRIP" >&6; }
52412 else
52413 { echo "$as_me:$LINENO: result: no" >&5
52414 echo "${ECHO_T}no" >&6; }
52415 fi
52416
52417
52418 fi
52419 if test -z "$ac_cv_prog_STRIP"; then
52420 ac_ct_STRIP=$STRIP
52421 # Extract the first word of "strip", so it can be a program name with args.
52422 set dummy strip; ac_word=$2
52423 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52424 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52425 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
52426 echo $ECHO_N "(cached) $ECHO_C" >&6
52427 else
52428 if test -n "$ac_ct_STRIP"; then
52429 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
52430 else
52431 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52432 for as_dir in $PATH
52433 do
52434 IFS=$as_save_IFS
52435 test -z "$as_dir" && as_dir=.
52436 for ac_exec_ext in '' $ac_executable_extensions; do
52437 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52438 ac_cv_prog_ac_ct_STRIP="strip"
52439 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52440 break 2
52441 fi
52442 done
52443 done
52444 IFS=$as_save_IFS
52445
52446 fi
52447 fi
52448 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
52449 if test -n "$ac_ct_STRIP"; then
52450 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
52451 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
52452 else
52453 { echo "$as_me:$LINENO: result: no" >&5
52454 echo "${ECHO_T}no" >&6; }
52455 fi
52456
52457 if test "x$ac_ct_STRIP" = x; then
52458 STRIP=":"
52459 else
52460 case $cross_compiling:$ac_tool_warned in
52461 yes:)
52462 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
52463 whose name does not start with the host triplet. If you think this
52464 configuration is useful to you, please write to autoconf@gnu.org." >&5
52465 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
52466 whose name does not start with the host triplet. If you think this
52467 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
52468 ac_tool_warned=yes ;;
52469 esac
52470 STRIP=$ac_ct_STRIP
52471 fi
52472 else
52473 STRIP="$ac_cv_prog_STRIP"
52474 fi
52475
52476 if test -n "$ac_tool_prefix"; then
52477 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
52478 set dummy ${ac_tool_prefix}nm; ac_word=$2
52479 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52480 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52481 if test "${ac_cv_prog_NM+set}" = set; then
52482 echo $ECHO_N "(cached) $ECHO_C" >&6
52483 else
52484 if test -n "$NM"; then
52485 ac_cv_prog_NM="$NM" # Let the user override the test.
52486 else
52487 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52488 for as_dir in $PATH
52489 do
52490 IFS=$as_save_IFS
52491 test -z "$as_dir" && as_dir=.
52492 for ac_exec_ext in '' $ac_executable_extensions; do
52493 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52494 ac_cv_prog_NM="${ac_tool_prefix}nm"
52495 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52496 break 2
52497 fi
52498 done
52499 done
52500 IFS=$as_save_IFS
52501
52502 fi
52503 fi
52504 NM=$ac_cv_prog_NM
52505 if test -n "$NM"; then
52506 { echo "$as_me:$LINENO: result: $NM" >&5
52507 echo "${ECHO_T}$NM" >&6; }
52508 else
52509 { echo "$as_me:$LINENO: result: no" >&5
52510 echo "${ECHO_T}no" >&6; }
52511 fi
52512
52513
52514 fi
52515 if test -z "$ac_cv_prog_NM"; then
52516 ac_ct_NM=$NM
52517 # Extract the first word of "nm", so it can be a program name with args.
52518 set dummy nm; ac_word=$2
52519 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52520 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52521 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
52522 echo $ECHO_N "(cached) $ECHO_C" >&6
52523 else
52524 if test -n "$ac_ct_NM"; then
52525 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
52526 else
52527 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52528 for as_dir in $PATH
52529 do
52530 IFS=$as_save_IFS
52531 test -z "$as_dir" && as_dir=.
52532 for ac_exec_ext in '' $ac_executable_extensions; do
52533 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52534 ac_cv_prog_ac_ct_NM="nm"
52535 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52536 break 2
52537 fi
52538 done
52539 done
52540 IFS=$as_save_IFS
52541
52542 fi
52543 fi
52544 ac_ct_NM=$ac_cv_prog_ac_ct_NM
52545 if test -n "$ac_ct_NM"; then
52546 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
52547 echo "${ECHO_T}$ac_ct_NM" >&6; }
52548 else
52549 { echo "$as_me:$LINENO: result: no" >&5
52550 echo "${ECHO_T}no" >&6; }
52551 fi
52552
52553 if test "x$ac_ct_NM" = x; then
52554 NM=":"
52555 else
52556 case $cross_compiling:$ac_tool_warned in
52557 yes:)
52558 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
52559 whose name does not start with the host triplet. If you think this
52560 configuration is useful to you, please write to autoconf@gnu.org." >&5
52561 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
52562 whose name does not start with the host triplet. If you think this
52563 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
52564 ac_tool_warned=yes ;;
52565 esac
52566 NM=$ac_ct_NM
52567 fi
52568 else
52569 NM="$ac_cv_prog_NM"
52570 fi
52571
52572
52573 INSTALL_DIR="mkdir -p"
52574
52575
52576 LDFLAGS_GUI=
52577 case ${BAKEFILE_HOST} in
52578 *-*-cygwin* | *-*-mingw32* )
52579 LDFLAGS_GUI="-mwindows"
52580 esac
52581
52582
52583 fi
52584
52585 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
52586 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
52587 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
52588 echo $ECHO_N "(cached) $ECHO_C" >&6
52589 else
52590
52591 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
52592 egrep -s GNU > /dev/null); then
52593 bakefile_cv_prog_makeisgnu="yes"
52594 else
52595 bakefile_cv_prog_makeisgnu="no"
52596 fi
52597
52598 fi
52599 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
52600 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
52601
52602 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
52603 IF_GNU_MAKE=""
52604 else
52605 IF_GNU_MAKE="#"
52606 fi
52607
52608
52609
52610 PLATFORM_UNIX=0
52611 PLATFORM_WIN32=0
52612 PLATFORM_MSDOS=0
52613 PLATFORM_MAC=0
52614 PLATFORM_MACOS=0
52615 PLATFORM_MACOSX=0
52616 PLATFORM_OS2=0
52617 PLATFORM_BEOS=0
52618
52619 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
52620 case "${BAKEFILE_HOST}" in
52621 *-*-mingw32* )
52622 PLATFORM_WIN32=1
52623 ;;
52624 *-pc-msdosdjgpp )
52625 PLATFORM_MSDOS=1
52626 ;;
52627 *-pc-os2_emx | *-pc-os2-emx )
52628 PLATFORM_OS2=1
52629 ;;
52630 *-*-darwin* )
52631 PLATFORM_MAC=1
52632 PLATFORM_MACOSX=1
52633 ;;
52634 *-*-beos* )
52635 PLATFORM_BEOS=1
52636 ;;
52637 powerpc-apple-macos* )
52638 PLATFORM_MAC=1
52639 PLATFORM_MACOS=1
52640 ;;
52641 * )
52642 PLATFORM_UNIX=1
52643 ;;
52644 esac
52645 else
52646 case "$BAKEFILE_FORCE_PLATFORM" in
52647 win32 )
52648 PLATFORM_WIN32=1
52649 ;;
52650 msdos )
52651 PLATFORM_MSDOS=1
52652 ;;
52653 os2 )
52654 PLATFORM_OS2=1
52655 ;;
52656 darwin )
52657 PLATFORM_MAC=1
52658 PLATFORM_MACOSX=1
52659 ;;
52660 unix )
52661 PLATFORM_UNIX=1
52662 ;;
52663 beos )
52664 PLATFORM_BEOS=1
52665 ;;
52666 * )
52667 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
52668 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
52669 { (exit 1); exit 1; }; }
52670 ;;
52671 esac
52672 fi
52673
52674
52675
52676
52677
52678
52679
52680
52681
52682
52683
52684 # Check whether --enable-omf was given.
52685 if test "${enable_omf+set}" = set; then
52686 enableval=$enable_omf; bk_os2_use_omf="$enableval"
52687 fi
52688
52689
52690 case "${BAKEFILE_HOST}" in
52691 *-*-darwin* )
52692 if test "x$GCC" = "xyes"; then
52693 CFLAGS="$CFLAGS -fno-common"
52694 CXXFLAGS="$CXXFLAGS -fno-common"
52695 fi
52696 if test "x$XLCC" = "xyes"; then
52697 CFLAGS="$CFLAGS -qnocommon"
52698 CXXFLAGS="$CXXFLAGS -qnocommon"
52699 fi
52700 ;;
52701
52702 *-pc-os2_emx | *-pc-os2-emx )
52703 if test "x$bk_os2_use_omf" = "xyes" ; then
52704 AR=emxomfar
52705 RANLIB=:
52706 LDFLAGS="-Zomf $LDFLAGS"
52707 CFLAGS="-Zomf $CFLAGS"
52708 CXXFLAGS="-Zomf $CXXFLAGS"
52709 OS2_LIBEXT="lib"
52710 else
52711 OS2_LIBEXT="a"
52712 fi
52713 ;;
52714
52715 i*86-*-beos* )
52716 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
52717 ;;
52718 esac
52719
52720
52721 SO_SUFFIX="so"
52722 SO_SUFFIX_MODULE="so"
52723 EXEEXT=""
52724 LIBPREFIX="lib"
52725 LIBEXT=".a"
52726 DLLPREFIX="lib"
52727 DLLPREFIX_MODULE=""
52728 DLLIMP_SUFFIX=""
52729 dlldir="$libdir"
52730
52731 case "${BAKEFILE_HOST}" in
52732 ia64-hp-hpux* )
52733 ;;
52734 *-hp-hpux* )
52735 SO_SUFFIX="sl"
52736 SO_SUFFIX_MODULE="sl"
52737 ;;
52738 *-*-aix* )
52739 SO_SUFFIX="a"
52740 SO_SUFFIX_MODULE="a"
52741 ;;
52742 *-*-cygwin* )
52743 SO_SUFFIX="dll"
52744 SO_SUFFIX_MODULE="dll"
52745 DLLIMP_SUFFIX="dll.a"
52746 EXEEXT=".exe"
52747 DLLPREFIX="cyg"
52748 dlldir="$bindir"
52749 ;;
52750 *-*-mingw32* )
52751 SO_SUFFIX="dll"
52752 SO_SUFFIX_MODULE="dll"
52753 DLLIMP_SUFFIX="dll.a"
52754 EXEEXT=".exe"
52755 DLLPREFIX=""
52756 dlldir="$bindir"
52757 ;;
52758 *-pc-msdosdjgpp )
52759 EXEEXT=".exe"
52760 DLLPREFIX=""
52761 dlldir="$bindir"
52762 ;;
52763 *-pc-os2_emx | *-pc-os2-emx )
52764 SO_SUFFIX="dll"
52765 SO_SUFFIX_MODULE="dll"
52766 DLLIMP_SUFFIX=$OS2_LIBEXT
52767 EXEEXT=".exe"
52768 DLLPREFIX=""
52769 LIBPREFIX=""
52770 LIBEXT=".$OS2_LIBEXT"
52771 dlldir="$bindir"
52772 ;;
52773 *-*-darwin* )
52774 SO_SUFFIX="dylib"
52775 SO_SUFFIX_MODULE="bundle"
52776 ;;
52777 esac
52778
52779 if test "x$DLLIMP_SUFFIX" = "x" ; then
52780 DLLIMP_SUFFIX="$SO_SUFFIX"
52781 fi
52782
52783
52784
52785
52786
52787
52788
52789
52790
52791
52792
52793
52794 PIC_FLAG=""
52795 if test "x$GCC" = "xyes"; then
52796 PIC_FLAG="-fPIC"
52797 fi
52798
52799 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
52800 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
52801 WINDOWS_IMPLIB=0
52802
52803 case "${BAKEFILE_HOST}" in
52804 *-hp-hpux* )
52805 if test "x$GCC" != "xyes"; then
52806 LDFLAGS="$LDFLAGS -L/usr/lib"
52807
52808 SHARED_LD_CC="${CC} -b -o"
52809 SHARED_LD_CXX="${CXX} -b -o"
52810 PIC_FLAG="+Z"
52811 fi
52812 ;;
52813
52814 *-*-linux* )
52815 if test "$INTELCC" = "yes" -a "$INTELCC8" != "yes"; then
52816 PIC_FLAG="-KPIC"
52817 elif test "x$SUNCXX" = "xyes"; then
52818 SHARED_LD_CC="${CC} -G -o"
52819 SHARED_LD_CXX="${CXX} -G -o"
52820 PIC_FLAG="-KPIC"
52821 fi
52822 ;;
52823
52824 *-*-solaris2* )
52825 if test "x$SUNCXX" = xyes ; then
52826 SHARED_LD_CC="${CC} -G -o"
52827 SHARED_LD_CXX="${CXX} -G -o"
52828 PIC_FLAG="-KPIC"
52829 fi
52830 ;;
52831
52832 *-*-darwin* )
52833
52834 D='$'
52835 cat <<EOF >shared-ld-sh
52836 #!/bin/sh
52837 #-----------------------------------------------------------------------------
52838 #-- Name: distrib/mac/shared-ld-sh
52839 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
52840 #-- Author: Gilles Depeyrot
52841 #-- Copyright: (c) 2002 Gilles Depeyrot
52842 #-- Licence: any use permitted
52843 #-----------------------------------------------------------------------------
52844
52845 verbose=0
52846 args=""
52847 objects=""
52848 linking_flag="-dynamiclib"
52849 ldargs="-r -keep_private_externs -nostdlib"
52850
52851 if test "x${D}CXX" = "x"; then
52852 CXX="c++"
52853 fi
52854
52855 while test ${D}# -gt 0; do
52856 case ${D}1 in
52857
52858 -v)
52859 verbose=1
52860 ;;
52861
52862 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
52863 # collect these options and values
52864 args="${D}{args} ${D}1 ${D}2"
52865 shift
52866 ;;
52867
52868 -arch|-isysroot)
52869 # collect these options and values
52870 ldargs="${D}{ldargs} ${D}1 ${D}2"
52871 shift
52872 ;;
52873
52874 -s|-Wl,*)
52875 # collect these load args
52876 ldargs="${D}{ldargs} ${D}1"
52877 ;;
52878
52879 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
52880 # collect these options
52881 args="${D}{args} ${D}1"
52882 ;;
52883
52884 -dynamiclib|-bundle)
52885 linking_flag="${D}1"
52886 ;;
52887
52888 -*)
52889 echo "shared-ld: unhandled option '${D}1'"
52890 exit 1
52891 ;;
52892
52893 *.o | *.a | *.dylib)
52894 # collect object files
52895 objects="${D}{objects} ${D}1"
52896 ;;
52897
52898 *)
52899 echo "shared-ld: unhandled argument '${D}1'"
52900 exit 1
52901 ;;
52902
52903 esac
52904 shift
52905 done
52906
52907 status=0
52908
52909 #
52910 # Link one module containing all the others
52911 #
52912 if test ${D}{verbose} = 1; then
52913 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
52914 fi
52915 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
52916 status=${D}?
52917
52918 #
52919 # Link the shared library from the single module created, but only if the
52920 # previous command didn't fail:
52921 #
52922 if test ${D}{status} = 0; then
52923 if test ${D}{verbose} = 1; then
52924 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
52925 fi
52926 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
52927 status=${D}?
52928 fi
52929
52930 #
52931 # Remove intermediate module
52932 #
52933 rm -f master.${D}${D}.o
52934
52935 exit ${D}status
52936 EOF
52937
52938 chmod +x shared-ld-sh
52939
52940 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
52941 SHARED_LD_MODULE_CXX="CXX=\"\$(CXX)\" $SHARED_LD_MODULE_CC"
52942
52943
52944 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
52945 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
52946 if test "${bakefile_cv_gcc31+set}" = set; then
52947 echo $ECHO_N "(cached) $ECHO_C" >&6
52948 else
52949
52950 cat >conftest.$ac_ext <<_ACEOF
52951 /* confdefs.h. */
52952 _ACEOF
52953 cat confdefs.h >>conftest.$ac_ext
52954 cat >>conftest.$ac_ext <<_ACEOF
52955 /* end confdefs.h. */
52956
52957 int
52958 main ()
52959 {
52960
52961 #if (__GNUC__ < 3) || \
52962 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
52963 This is old gcc
52964 #endif
52965
52966 ;
52967 return 0;
52968 }
52969 _ACEOF
52970 rm -f conftest.$ac_objext
52971 if { (ac_try="$ac_compile"
52972 case "(($ac_try" in
52973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
52974 *) ac_try_echo=$ac_try;;
52975 esac
52976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
52977 (eval "$ac_compile") 2>conftest.er1
52978 ac_status=$?
52979 grep -v '^ *+' conftest.er1 >conftest.err
52980 rm -f conftest.er1
52981 cat conftest.err >&5
52982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52983 (exit $ac_status); } && {
52984 test -z "$ac_c_werror_flag" ||
52985 test ! -s conftest.err
52986 } && test -s conftest.$ac_objext; then
52987
52988 bakefile_cv_gcc31=yes
52989
52990 else
52991 echo "$as_me: failed program was:" >&5
52992 sed 's/^/| /' conftest.$ac_ext >&5
52993
52994
52995 bakefile_cv_gcc31=no
52996
52997
52998 fi
52999
53000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53001
53002 fi
53003 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
53004 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
53005 if test "$bakefile_cv_gcc31" = "no"; then
53006 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
53007 SHARED_LD_CXX="$SHARED_LD_CC"
53008 else
53009 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
53010 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
53011 fi
53012
53013 if test "x$GCC" == "xyes"; then
53014 PIC_FLAG="-dynamic -fPIC"
53015 fi
53016 if test "x$XLCC" = "xyes"; then
53017 PIC_FLAG="-dynamic -DPIC"
53018 fi
53019 ;;
53020
53021 *-*-aix* )
53022 if test "x$GCC" = "xyes"; then
53023 PIC_FLAG=""
53024
53025 case "${BAKEFILE_HOST}" in
53026 *-*-aix5* )
53027 LD_EXPFULL="-Wl,-bexpfull"
53028 ;;
53029 esac
53030
53031 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
53032 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
53033 else
53034 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
53035 set dummy makeC++SharedLib; ac_word=$2
53036 { echo "$as_me:$LINENO: checking for $ac_word" >&5
53037 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
53038 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
53039 echo $ECHO_N "(cached) $ECHO_C" >&6
53040 else
53041 if test -n "$AIX_CXX_LD"; then
53042 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
53043 else
53044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
53045 for as_dir in $PATH
53046 do
53047 IFS=$as_save_IFS
53048 test -z "$as_dir" && as_dir=.
53049 for ac_exec_ext in '' $ac_executable_extensions; do
53050 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
53051 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
53052 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
53053 break 2
53054 fi
53055 done
53056 done
53057 IFS=$as_save_IFS
53058
53059 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
53060 fi
53061 fi
53062 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
53063 if test -n "$AIX_CXX_LD"; then
53064 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
53065 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
53066 else
53067 { echo "$as_me:$LINENO: result: no" >&5
53068 echo "${ECHO_T}no" >&6; }
53069 fi
53070
53071
53072 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
53073 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
53074 fi
53075 ;;
53076
53077 *-*-beos* )
53078 SHARED_LD_CC="${LD} -nostart -o"
53079 SHARED_LD_CXX="${LD} -nostart -o"
53080 ;;
53081
53082 *-*-irix* )
53083 if test "x$GCC" != "xyes"; then
53084 PIC_FLAG="-KPIC"
53085 fi
53086 ;;
53087
53088 *-*-cygwin* | *-*-mingw32* )
53089 PIC_FLAG=""
53090 SHARED_LD_CC="\$(CC) -shared -o"
53091 SHARED_LD_CXX="\$(CXX) -shared -o"
53092 WINDOWS_IMPLIB=1
53093 ;;
53094
53095 *-pc-os2_emx | *-pc-os2-emx )
53096 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
53097 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
53098 PIC_FLAG=""
53099
53100 D='$'
53101 cat <<EOF >dllar.sh
53102 #!/bin/sh
53103 #
53104 # dllar - a tool to build both a .dll and an .a file
53105 # from a set of object (.o) files for EMX/OS2.
53106 #
53107 # Written by Andrew Zabolotny, bit@freya.etu.ru
53108 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
53109 #
53110 # This script will accept a set of files on the command line.
53111 # All the public symbols from the .o files will be exported into
53112 # a .DEF file, then linker will be run (through gcc) against them to
53113 # build a shared library consisting of all given .o files. All libraries
53114 # (.a) will be first decompressed into component .o files then act as
53115 # described above. You can optionally give a description (-d "description")
53116 # which will be put into .DLL. To see the list of accepted options (as well
53117 # as command-line format) simply run this program without options. The .DLL
53118 # is built to be imported by name (there is no guarantee that new versions
53119 # of the library you build will have same ordinals for same symbols).
53120 #
53121 # dllar is free software; you can redistribute it and/or modify
53122 # it under the terms of the GNU General Public License as published by
53123 # the Free Software Foundation; either version 2, or (at your option)
53124 # any later version.
53125 #
53126 # dllar is distributed in the hope that it will be useful,
53127 # but WITHOUT ANY WARRANTY; without even the implied warranty of
53128 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
53129 # GNU General Public License for more details.
53130 #
53131 # You should have received a copy of the GNU General Public License
53132 # along with dllar; see the file COPYING. If not, write to the Free
53133 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
53134 # 02111-1307, USA.
53135
53136 # To successfuly run this program you will need:
53137 # - Current drive should have LFN support (HPFS, ext2, network, etc)
53138 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
53139 # - gcc
53140 # (used to build the .dll)
53141 # - emxexp
53142 # (used to create .def file from .o files)
53143 # - emximp
53144 # (used to create .a file from .def file)
53145 # - GNU text utilites (cat, sort, uniq)
53146 # used to process emxexp output
53147 # - GNU file utilities (mv, rm)
53148 # - GNU sed
53149 # - lxlite (optional, see flag below)
53150 # (used for general .dll cleanup)
53151 #
53152
53153 flag_USE_LXLITE=1;
53154
53155 #
53156 # helper functions
53157 # basnam, variant of basename, which does _not_ remove the path, _iff_
53158 # second argument (suffix to remove) is given
53159 basnam(){
53160 case ${D}# in
53161 1)
53162 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
53163 ;;
53164 2)
53165 echo ${D}1 | sed 's/'${D}2'${D}//'
53166 ;;
53167 *)
53168 echo "error in basnam ${D}*"
53169 exit 8
53170 ;;
53171 esac
53172 }
53173
53174 # Cleanup temporary files and output
53175 CleanUp() {
53176 cd ${D}curDir
53177 for i in ${D}inputFiles ; do
53178 case ${D}i in
53179 *!)
53180 rm -rf \`basnam ${D}i !\`
53181 ;;
53182 *)
53183 ;;
53184 esac
53185 done
53186
53187 # Kill result in case of failure as there is just to many stupid make/nmake
53188 # things out there which doesn't do this.
53189 if [ ${D}# -eq 0 ]; then
53190 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
53191 fi
53192 }
53193
53194 # Print usage and exit script with rc=1.
53195 PrintHelp() {
53196 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
53197 echo ' [-name-mangler-script script.sh]'
53198 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
53199 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
53200 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
53201 echo ' [*.o] [*.a]'
53202 echo '*> "output_file" should have no extension.'
53203 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
53204 echo ' The import library name is derived from this and is set to "name".a,'
53205 echo ' unless overridden by -import'
53206 echo '*> "importlib_name" should have no extension.'
53207 echo ' If it has the .o, or .a extension, it is automatically removed.'
53208 echo ' This name is used as the import library name and may be longer and'
53209 echo ' more descriptive than the DLL name which has to follow the old '
53210 echo ' 8.3 convention of FAT.'
53211 echo '*> "script.sh may be given to override the output_file name by a'
53212 echo ' different name. It is mainly useful if the regular make process'
53213 echo ' of some package does not take into account OS/2 restriction of'
53214 echo ' DLL name lengths. It takes the importlib name as input and is'
53215 echo ' supposed to procude a shorter name as output. The script should'
53216 echo ' expect to get importlib_name without extension and should produce'
53217 echo ' a (max.) 8 letter name without extension.'
53218 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
53219 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
53220 echo ' These flags will be put at the start of GCC command line.'
53221 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
53222 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
53223 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
53224 echo ' If the last character of a symbol is "*", all symbols beginning'
53225 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
53226 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
53227 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
53228 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
53229 echo ' C runtime DLLs.'
53230 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
53231 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
53232 echo ' unchanged to GCC at the end of command line.'
53233 echo '*> If you create a DLL from a library and you do not specify -o,'
53234 echo ' the basename for DLL and import library will be set to library name,'
53235 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
53236 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
53237 echo ' library will be renamed into gcc_s.a.'
53238 echo '--------'
53239 echo 'Example:'
53240 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
53241 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
53242 CleanUp
53243 exit 1
53244 }
53245
53246 # Execute a command.
53247 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
53248 # @Uses Whatever CleanUp() uses.
53249 doCommand() {
53250 echo "${D}*"
53251 eval ${D}*
53252 rcCmd=${D}?
53253
53254 if [ ${D}rcCmd -ne 0 ]; then
53255 echo "command failed, exit code="${D}rcCmd
53256 CleanUp
53257 exit ${D}rcCmd
53258 fi
53259 }
53260
53261 # main routine
53262 # setup globals
53263 cmdLine=${D}*
53264 outFile=""
53265 outimpFile=""
53266 inputFiles=""
53267 renameScript=""
53268 description=""
53269 CC=gcc.exe
53270 CFLAGS="-s -Zcrtdll"
53271 EXTRA_CFLAGS=""
53272 EXPORT_BY_ORDINALS=0
53273 exclude_symbols=""
53274 library_flags=""
53275 curDir=\`pwd\`
53276 curDirS=curDir
53277 case ${D}curDirS in
53278 */)
53279 ;;
53280 *)
53281 curDirS=${D}{curDirS}"/"
53282 ;;
53283 esac
53284 # Parse commandline
53285 libsToLink=0
53286 omfLinking=0
53287 while [ ${D}1 ]; do
53288 case ${D}1 in
53289 -ord*)
53290 EXPORT_BY_ORDINALS=1;
53291 ;;
53292 -o*)
53293 shift
53294 outFile=${D}1
53295 ;;
53296 -i*)
53297 shift
53298 outimpFile=${D}1
53299 ;;
53300 -name-mangler-script)
53301 shift
53302 renameScript=${D}1
53303 ;;
53304 -d*)
53305 shift
53306 description=${D}1
53307 ;;
53308 -f*)
53309 shift
53310 CFLAGS=${D}1
53311 ;;
53312 -c*)
53313 shift
53314 CC=${D}1
53315 ;;
53316 -h*)
53317 PrintHelp
53318 ;;
53319 -ex*)
53320 shift
53321 exclude_symbols=${D}{exclude_symbols}${D}1" "
53322 ;;
53323 -libf*)
53324 shift
53325 library_flags=${D}{library_flags}${D}1" "
53326 ;;
53327 -nocrt*)
53328 CFLAGS="-s"
53329 ;;
53330 -nolxl*)
53331 flag_USE_LXLITE=0
53332 ;;
53333 -* | /*)
53334 case ${D}1 in
53335 -L* | -l*)
53336 libsToLink=1
53337 ;;
53338 -Zomf)
53339 omfLinking=1
53340 ;;
53341 *)
53342 ;;
53343 esac
53344 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
53345 ;;
53346 *.dll)
53347 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
53348 if [ ${D}omfLinking -eq 1 ]; then
53349 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
53350 else
53351 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
53352 fi
53353 ;;
53354 *)
53355 found=0;
53356 if [ ${D}libsToLink -ne 0 ]; then
53357 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
53358 else
53359 for file in ${D}1 ; do
53360 if [ -f ${D}file ]; then
53361 inputFiles="${D}{inputFiles} ${D}file"
53362 found=1
53363 fi
53364 done
53365 if [ ${D}found -eq 0 ]; then
53366 echo "ERROR: No file(s) found: "${D}1
53367 exit 8
53368 fi
53369 fi
53370 ;;
53371 esac
53372 shift
53373 done # iterate cmdline words
53374
53375 #
53376 if [ -z "${D}inputFiles" ]; then
53377 echo "dllar: no input files"
53378 PrintHelp
53379 fi
53380
53381 # Now extract all .o files from .a files
53382 newInputFiles=""
53383 for file in ${D}inputFiles ; do
53384 case ${D}file in
53385 *.a | *.lib)
53386 case ${D}file in
53387 *.a)
53388 suffix=".a"
53389 AR="ar"
53390 ;;
53391 *.lib)
53392 suffix=".lib"
53393 AR="emxomfar"
53394 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
53395 ;;
53396 *)
53397 ;;
53398 esac
53399 dirname=\`basnam ${D}file ${D}suffix\`"_%"
53400 mkdir ${D}dirname
53401 if [ ${D}? -ne 0 ]; then
53402 echo "Failed to create subdirectory ./${D}dirname"
53403 CleanUp
53404 exit 8;
53405 fi
53406 # Append '!' to indicate archive
53407 newInputFiles="${D}newInputFiles ${D}{dirname}!"
53408 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
53409 cd ${D}curDir
53410 found=0;
53411 for subfile in ${D}dirname/*.o* ; do
53412 if [ -f ${D}subfile ]; then
53413 found=1
53414 if [ -s ${D}subfile ]; then
53415 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
53416 newInputFiles="${D}newInputFiles ${D}subfile"
53417 fi
53418 fi
53419 done
53420 if [ ${D}found -eq 0 ]; then
53421 echo "WARNING: there are no files in archive \\'${D}file\\'"
53422 fi
53423 ;;
53424 *)
53425 newInputFiles="${D}{newInputFiles} ${D}file"
53426 ;;
53427 esac
53428 done
53429 inputFiles="${D}newInputFiles"
53430
53431 # Output filename(s).
53432 do_backup=0;
53433 if [ -z ${D}outFile ]; then
53434 do_backup=1;
53435 set outFile ${D}inputFiles; outFile=${D}2
53436 fi
53437
53438 # If it is an archive, remove the '!' and the '_%' suffixes
53439 case ${D}outFile in
53440 *_%!)
53441 outFile=\`basnam ${D}outFile _%!\`
53442 ;;
53443 *)
53444 ;;
53445 esac
53446 case ${D}outFile in
53447 *.dll)
53448 outFile=\`basnam ${D}outFile .dll\`
53449 ;;
53450 *.DLL)
53451 outFile=\`basnam ${D}outFile .DLL\`
53452 ;;
53453 *.o)
53454 outFile=\`basnam ${D}outFile .o\`
53455 ;;
53456 *.obj)
53457 outFile=\`basnam ${D}outFile .obj\`
53458 ;;
53459 *.a)
53460 outFile=\`basnam ${D}outFile .a\`
53461 ;;
53462 *.lib)
53463 outFile=\`basnam ${D}outFile .lib\`
53464 ;;
53465 *)
53466 ;;
53467 esac
53468 case ${D}outimpFile in
53469 *.a)
53470 outimpFile=\`basnam ${D}outimpFile .a\`
53471 ;;
53472 *.lib)
53473 outimpFile=\`basnam ${D}outimpFile .lib\`
53474 ;;
53475 *)
53476 ;;
53477 esac
53478 if [ -z ${D}outimpFile ]; then
53479 outimpFile=${D}outFile
53480 fi
53481 defFile="${D}{outFile}.def"
53482 arcFile="${D}{outimpFile}.a"
53483 arcFile2="${D}{outimpFile}.lib"
53484
53485 #create ${D}dllFile as something matching 8.3 restrictions,
53486 if [ -z ${D}renameScript ] ; then
53487 dllFile="${D}outFile"
53488 else
53489 dllFile=\`${D}renameScript ${D}outimpFile\`
53490 fi
53491
53492 if [ ${D}do_backup -ne 0 ] ; then
53493 if [ -f ${D}arcFile ] ; then
53494 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
53495 fi
53496 if [ -f ${D}arcFile2 ] ; then
53497 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
53498 fi
53499 fi
53500
53501 # Extract public symbols from all the object files.
53502 tmpdefFile=${D}{defFile}_%
53503 rm -f ${D}tmpdefFile
53504 for file in ${D}inputFiles ; do
53505 case ${D}file in
53506 *!)
53507 ;;
53508 *)
53509 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
53510 ;;
53511 esac
53512 done
53513
53514 # Create the def file.
53515 rm -f ${D}defFile
53516 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
53517 dllFile="${D}{dllFile}.dll"
53518 if [ ! -z ${D}description ]; then
53519 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
53520 fi
53521 echo "EXPORTS" >> ${D}defFile
53522
53523 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
53524 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
53525
53526 # Checks if the export is ok or not.
53527 for word in ${D}exclude_symbols; do
53528 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
53529 mv ${D}{tmpdefFile}% ${D}tmpdefFile
53530 done
53531
53532
53533 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
53534 sed "=" < ${D}tmpdefFile | \\
53535 sed '
53536 N
53537 : loop
53538 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
53539 t loop
53540 ' > ${D}{tmpdefFile}%
53541 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
53542 else
53543 rm -f ${D}{tmpdefFile}%
53544 fi
53545 cat ${D}tmpdefFile >> ${D}defFile
53546 rm -f ${D}tmpdefFile
53547
53548 # Do linking, create implib, and apply lxlite.
53549 gccCmdl="";
53550 for file in ${D}inputFiles ; do
53551 case ${D}file in
53552 *!)
53553 ;;
53554 *)
53555 gccCmdl="${D}gccCmdl ${D}file"
53556 ;;
53557 esac
53558 done
53559 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
53560 touch "${D}{outFile}.dll"
53561
53562 doCommand "emximp -o ${D}arcFile ${D}defFile"
53563 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
53564 add_flags="";
53565 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
53566 add_flags="-ynd"
53567 fi
53568 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
53569 fi
53570 doCommand "emxomf -s -l ${D}arcFile"
53571
53572 # Successful exit.
53573 CleanUp 1
53574 exit 0
53575 EOF
53576
53577 chmod +x dllar.sh
53578 ;;
53579
53580 powerpc-apple-macos* | \
53581 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
53582 *-*-mirbsd* | \
53583 *-*-sunos4* | \
53584 *-*-osf* | \
53585 *-*-dgux5* | \
53586 *-*-sysv5* | \
53587 *-pc-msdosdjgpp )
53588 ;;
53589
53590 *)
53591 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
53592 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
53593 { (exit 1); exit 1; }; }
53594 esac
53595
53596 if test "x$PIC_FLAG" != "x" ; then
53597 PIC_FLAG="$PIC_FLAG -DPIC"
53598 fi
53599
53600 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
53601 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
53602 fi
53603 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
53604 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
53605 fi
53606
53607
53608
53609
53610
53611
53612
53613
53614
53615 USE_SOVERSION=0
53616 USE_SOVERLINUX=0
53617 USE_SOVERSOLARIS=0
53618 USE_SOVERCYGWIN=0
53619 USE_SOTWOSYMLINKS=0
53620 USE_MACVERSION=0
53621 SONAME_FLAG=
53622
53623 case "${BAKEFILE_HOST}" in
53624 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
53625 *-*-k*bsd*-gnu | *-*-mirbsd* )
53626 if test "x$SUNCXX" = "xyes"; then
53627 SONAME_FLAG="-h "
53628 else
53629 SONAME_FLAG="-Wl,-soname,"
53630 fi
53631 USE_SOVERSION=1
53632 USE_SOVERLINUX=1
53633 USE_SOTWOSYMLINKS=1
53634 ;;
53635
53636 *-*-solaris2* )
53637 SONAME_FLAG="-h "
53638 USE_SOVERSION=1
53639 USE_SOVERSOLARIS=1
53640 ;;
53641
53642 *-*-darwin* )
53643 USE_MACVERSION=1
53644 USE_SOVERSION=1
53645 USE_SOTWOSYMLINKS=1
53646 ;;
53647
53648 *-*-cygwin* )
53649 USE_SOVERSION=1
53650 USE_SOVERCYGWIN=1
53651 ;;
53652 esac
53653
53654
53655
53656
53657
53658
53659
53660
53661
53662
53663 # Check whether --enable-dependency-tracking was given.
53664 if test "${enable_dependency_tracking+set}" = set; then
53665 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
53666 fi
53667
53668
53669 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
53670 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
53671
53672 BK_DEPS=""
53673 if test "x$bk_use_trackdeps" = "xno" ; then
53674 DEPS_TRACKING=0
53675 { echo "$as_me:$LINENO: result: disabled" >&5
53676 echo "${ECHO_T}disabled" >&6; }
53677 else
53678 DEPS_TRACKING=1
53679
53680 if test "x$GCC" = "xyes"; then
53681 DEPSMODE=gcc
53682 case "${BAKEFILE_HOST}" in
53683 *-*-darwin* )
53684 DEPSFLAG="-no-cpp-precomp -MMD"
53685 ;;
53686 * )
53687 DEPSFLAG="-MMD"
53688 ;;
53689 esac
53690 { echo "$as_me:$LINENO: result: gcc" >&5
53691 echo "${ECHO_T}gcc" >&6; }
53692 elif test "x$MWCC" = "xyes"; then
53693 DEPSMODE=mwcc
53694 DEPSFLAG="-MM"
53695 { echo "$as_me:$LINENO: result: mwcc" >&5
53696 echo "${ECHO_T}mwcc" >&6; }
53697 elif test "x$SUNCC" = "xyes"; then
53698 DEPSMODE=unixcc
53699 DEPSFLAG="-xM1"
53700 { echo "$as_me:$LINENO: result: Sun cc" >&5
53701 echo "${ECHO_T}Sun cc" >&6; }
53702 elif test "x$SGICC" = "xyes"; then
53703 DEPSMODE=unixcc
53704 DEPSFLAG="-M"
53705 { echo "$as_me:$LINENO: result: SGI cc" >&5
53706 echo "${ECHO_T}SGI cc" >&6; }
53707 elif test "x$HPCC" = "xyes"; then
53708 DEPSMODE=unixcc
53709 DEPSFLAG="+make"
53710 { echo "$as_me:$LINENO: result: HP cc" >&5
53711 echo "${ECHO_T}HP cc" >&6; }
53712 elif test "x$COMPAQCC" = "xyes"; then
53713 DEPSMODE=gcc
53714 DEPSFLAG="-MD"
53715 { echo "$as_me:$LINENO: result: Compaq cc" >&5
53716 echo "${ECHO_T}Compaq cc" >&6; }
53717 else
53718 DEPS_TRACKING=0
53719 { echo "$as_me:$LINENO: result: none" >&5
53720 echo "${ECHO_T}none" >&6; }
53721 fi
53722
53723 if test $DEPS_TRACKING = 1 ; then
53724
53725 D='$'
53726 cat <<EOF >bk-deps
53727 #!/bin/sh
53728
53729 # This script is part of Bakefile (http://www.bakefile.org) autoconf
53730 # script. It is used to track C/C++ files dependencies in portable way.
53731 #
53732 # Permission is given to use this file in any way.
53733
53734 DEPSMODE=${DEPSMODE}
53735 DEPSFLAG="${DEPSFLAG}"
53736 DEPSDIRBASE=.deps
53737
53738 if test ${D}DEPSMODE = gcc ; then
53739 ${D}* ${D}{DEPSFLAG}
53740 status=${D}?
53741
53742 # determine location of created files:
53743 while test ${D}# -gt 0; do
53744 case "${D}1" in
53745 -o )
53746 shift
53747 objfile=${D}1
53748 ;;
53749 -* )
53750 ;;
53751 * )
53752 srcfile=${D}1
53753 ;;
53754 esac
53755 shift
53756 done
53757 objfilebase=\`basename ${D}objfile\`
53758 builddir=\`dirname ${D}objfile\`
53759 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
53760 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
53761 depsdir=${D}builddir/${D}DEPSDIRBASE
53762 mkdir -p ${D}depsdir
53763
53764 # if the compiler failed, we're done:
53765 if test ${D}{status} != 0 ; then
53766 rm -f ${D}depfile
53767 exit ${D}{status}
53768 fi
53769
53770 # move created file to the location we want it in:
53771 if test -f ${D}depfile ; then
53772 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
53773 rm -f ${D}depfile
53774 else
53775 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
53776 depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\`
53777 if test ! -f ${D}depfile ; then
53778 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
53779 depfile="${D}objfile.d"
53780 fi
53781 if test -f ${D}depfile ; then
53782 sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
53783 rm -f ${D}depfile
53784 fi
53785 fi
53786 exit 0
53787
53788 elif test ${D}DEPSMODE = mwcc ; then
53789 ${D}* || exit ${D}?
53790 # Run mwcc again with -MM and redirect into the dep file we want
53791 # NOTE: We can't use shift here because we need ${D}* to be valid
53792 prevarg=
53793 for arg in ${D}* ; do
53794 if test "${D}prevarg" = "-o"; then
53795 objfile=${D}arg
53796 else
53797 case "${D}arg" in
53798 -* )
53799 ;;
53800 * )
53801 srcfile=${D}arg
53802 ;;
53803 esac
53804 fi
53805 prevarg="${D}arg"
53806 done
53807
53808 objfilebase=\`basename ${D}objfile\`
53809 builddir=\`dirname ${D}objfile\`
53810 depsdir=${D}builddir/${D}DEPSDIRBASE
53811 mkdir -p ${D}depsdir
53812
53813 ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
53814 exit 0
53815
53816 elif test ${D}DEPSMODE = unixcc; then
53817 ${D}* || exit ${D}?
53818 # Run compiler again with deps flag and redirect into the dep file.
53819 # It doesn't work if the '-o FILE' option is used, but without it the
53820 # dependency file will contain the wrong name for the object. So it is
53821 # removed from the command line, and the dep file is fixed with sed.
53822 cmd=""
53823 while test ${D}# -gt 0; do
53824 case "${D}1" in
53825 -o )
53826 shift
53827 objfile=${D}1
53828 ;;
53829 * )
53830 eval arg${D}#=\\${D}1
53831 cmd="${D}cmd \\${D}arg${D}#"
53832 ;;
53833 esac
53834 shift
53835 done
53836
53837 objfilebase=\`basename ${D}objfile\`
53838 builddir=\`dirname ${D}objfile\`
53839 depsdir=${D}builddir/${D}DEPSDIRBASE
53840 mkdir -p ${D}depsdir
53841
53842 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d
53843 exit 0
53844
53845 else
53846 ${D}*
53847 exit ${D}?
53848 fi
53849 EOF
53850
53851 chmod +x bk-deps
53852 BK_DEPS="`pwd`/bk-deps"
53853 fi
53854 fi
53855
53856
53857
53858
53859
53860 case ${BAKEFILE_HOST} in
53861 *-*-cygwin* | *-*-mingw32* )
53862 if test -n "$ac_tool_prefix"; then
53863 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
53864 set dummy ${ac_tool_prefix}windres; ac_word=$2
53865 { echo "$as_me:$LINENO: checking for $ac_word" >&5
53866 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
53867 if test "${ac_cv_prog_WINDRES+set}" = set; then
53868 echo $ECHO_N "(cached) $ECHO_C" >&6
53869 else
53870 if test -n "$WINDRES"; then
53871 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
53872 else
53873 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
53874 for as_dir in $PATH
53875 do
53876 IFS=$as_save_IFS
53877 test -z "$as_dir" && as_dir=.
53878 for ac_exec_ext in '' $ac_executable_extensions; do
53879 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
53880 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
53881 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
53882 break 2
53883 fi
53884 done
53885 done
53886 IFS=$as_save_IFS
53887
53888 fi
53889 fi
53890 WINDRES=$ac_cv_prog_WINDRES
53891 if test -n "$WINDRES"; then
53892 { echo "$as_me:$LINENO: result: $WINDRES" >&5
53893 echo "${ECHO_T}$WINDRES" >&6; }
53894 else
53895 { echo "$as_me:$LINENO: result: no" >&5
53896 echo "${ECHO_T}no" >&6; }
53897 fi
53898
53899
53900 fi
53901 if test -z "$ac_cv_prog_WINDRES"; then
53902 ac_ct_WINDRES=$WINDRES
53903 # Extract the first word of "windres", so it can be a program name with args.
53904 set dummy windres; ac_word=$2
53905 { echo "$as_me:$LINENO: checking for $ac_word" >&5
53906 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
53907 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
53908 echo $ECHO_N "(cached) $ECHO_C" >&6
53909 else
53910 if test -n "$ac_ct_WINDRES"; then
53911 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
53912 else
53913 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
53914 for as_dir in $PATH
53915 do
53916 IFS=$as_save_IFS
53917 test -z "$as_dir" && as_dir=.
53918 for ac_exec_ext in '' $ac_executable_extensions; do
53919 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
53920 ac_cv_prog_ac_ct_WINDRES="windres"
53921 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
53922 break 2
53923 fi
53924 done
53925 done
53926 IFS=$as_save_IFS
53927
53928 fi
53929 fi
53930 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
53931 if test -n "$ac_ct_WINDRES"; then
53932 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
53933 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
53934 else
53935 { echo "$as_me:$LINENO: result: no" >&5
53936 echo "${ECHO_T}no" >&6; }
53937 fi
53938
53939 if test "x$ac_ct_WINDRES" = x; then
53940 WINDRES=""
53941 else
53942 case $cross_compiling:$ac_tool_warned in
53943 yes:)
53944 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
53945 whose name does not start with the host triplet. If you think this
53946 configuration is useful to you, please write to autoconf@gnu.org." >&5
53947 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
53948 whose name does not start with the host triplet. If you think this
53949 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
53950 ac_tool_warned=yes ;;
53951 esac
53952 WINDRES=$ac_ct_WINDRES
53953 fi
53954 else
53955 WINDRES="$ac_cv_prog_WINDRES"
53956 fi
53957
53958 ;;
53959
53960 *-*-darwin* | powerpc-apple-macos* )
53961 # Extract the first word of "Rez", so it can be a program name with args.
53962 set dummy Rez; ac_word=$2
53963 { echo "$as_me:$LINENO: checking for $ac_word" >&5
53964 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
53965 if test "${ac_cv_prog_REZ+set}" = set; then
53966 echo $ECHO_N "(cached) $ECHO_C" >&6
53967 else
53968 if test -n "$REZ"; then
53969 ac_cv_prog_REZ="$REZ" # Let the user override the test.
53970 else
53971 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
53972 for as_dir in $PATH
53973 do
53974 IFS=$as_save_IFS
53975 test -z "$as_dir" && as_dir=.
53976 for ac_exec_ext in '' $ac_executable_extensions; do
53977 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
53978 ac_cv_prog_REZ="Rez"
53979 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
53980 break 2
53981 fi
53982 done
53983 done
53984 IFS=$as_save_IFS
53985
53986 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
53987 fi
53988 fi
53989 REZ=$ac_cv_prog_REZ
53990 if test -n "$REZ"; then
53991 { echo "$as_me:$LINENO: result: $REZ" >&5
53992 echo "${ECHO_T}$REZ" >&6; }
53993 else
53994 { echo "$as_me:$LINENO: result: no" >&5
53995 echo "${ECHO_T}no" >&6; }
53996 fi
53997
53998
53999 # Extract the first word of "SetFile", so it can be a program name with args.
54000 set dummy SetFile; ac_word=$2
54001 { echo "$as_me:$LINENO: checking for $ac_word" >&5
54002 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
54003 if test "${ac_cv_prog_SETFILE+set}" = set; then
54004 echo $ECHO_N "(cached) $ECHO_C" >&6
54005 else
54006 if test -n "$SETFILE"; then
54007 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
54008 else
54009 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
54010 for as_dir in $PATH
54011 do
54012 IFS=$as_save_IFS
54013 test -z "$as_dir" && as_dir=.
54014 for ac_exec_ext in '' $ac_executable_extensions; do
54015 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
54016 ac_cv_prog_SETFILE="SetFile"
54017 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
54018 break 2
54019 fi
54020 done
54021 done
54022 IFS=$as_save_IFS
54023
54024 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
54025 fi
54026 fi
54027 SETFILE=$ac_cv_prog_SETFILE
54028 if test -n "$SETFILE"; then
54029 { echo "$as_me:$LINENO: result: $SETFILE" >&5
54030 echo "${ECHO_T}$SETFILE" >&6; }
54031 else
54032 { echo "$as_me:$LINENO: result: no" >&5
54033 echo "${ECHO_T}no" >&6; }
54034 fi
54035
54036
54037 ;;
54038 esac
54039
54040
54041
54042
54043
54044
54045
54046
54047
54048 BAKEFILE_BAKEFILE_M4_VERSION="0.2.9"
54049
54050
54051 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.9"
54052
54053
54054
54055 # Check whether --enable-precomp-headers was given.
54056 if test "${enable_precomp_headers+set}" = set; then
54057 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
54058 fi
54059
54060
54061 GCC_PCH=0
54062 ICC_PCH=0
54063 USE_PCH=0
54064 BK_MAKE_PCH=""
54065
54066 case ${BAKEFILE_HOST} in
54067 *-*-cygwin* )
54068 bk_use_pch="no"
54069 ;;
54070 esac
54071
54072 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
54073 if test "x$GCC" = "xyes"; then
54074 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
54075 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
54076 cat >conftest.$ac_ext <<_ACEOF
54077 /* confdefs.h. */
54078 _ACEOF
54079 cat confdefs.h >>conftest.$ac_ext
54080 cat >>conftest.$ac_ext <<_ACEOF
54081 /* end confdefs.h. */
54082
54083 int
54084 main ()
54085 {
54086
54087 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
54088 There is no PCH support
54089 #endif
54090 #if (__GNUC__ < 3)
54091 There is no PCH support
54092 #endif
54093 #if (__GNUC__ == 3) && \
54094 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
54095 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
54096 ( defined(__INTEL_COMPILER) )
54097 There is no PCH support
54098 #endif
54099
54100 ;
54101 return 0;
54102 }
54103 _ACEOF
54104 rm -f conftest.$ac_objext
54105 if { (ac_try="$ac_compile"
54106 case "(($ac_try" in
54107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
54108 *) ac_try_echo=$ac_try;;
54109 esac
54110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
54111 (eval "$ac_compile") 2>conftest.er1
54112 ac_status=$?
54113 grep -v '^ *+' conftest.er1 >conftest.err
54114 rm -f conftest.er1
54115 cat conftest.err >&5
54116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54117 (exit $ac_status); } && {
54118 test -z "$ac_c_werror_flag" ||
54119 test ! -s conftest.err
54120 } && test -s conftest.$ac_objext; then
54121
54122 { echo "$as_me:$LINENO: result: yes" >&5
54123 echo "${ECHO_T}yes" >&6; }
54124 GCC_PCH=1
54125
54126 else
54127 echo "$as_me: failed program was:" >&5
54128 sed 's/^/| /' conftest.$ac_ext >&5
54129
54130
54131 if test "$INTELCXX8" = "yes"; then
54132 { echo "$as_me:$LINENO: result: yes" >&5
54133 echo "${ECHO_T}yes" >&6; }
54134 ICC_PCH=1
54135 if test "$INTELCXX10" = "yes"; then
54136 ICC_PCH_CREATE_SWITCH="-pch-create"
54137 ICC_PCH_USE_SWITCH="-pch-use"
54138 else
54139 ICC_PCH_CREATE_SWITCH="-create-pch"
54140 ICC_PCH_USE_SWITCH="-use-pch"
54141 fi
54142 else
54143 { echo "$as_me:$LINENO: result: no" >&5
54144 echo "${ECHO_T}no" >&6; }
54145 fi
54146
54147 fi
54148
54149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54150 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
54151 USE_PCH=1
54152
54153 D='$'
54154 cat <<EOF >bk-make-pch
54155 #!/bin/sh
54156
54157 # This script is part of Bakefile (http://www.bakefile.org) autoconf
54158 # script. It is used to generated precompiled headers.
54159 #
54160 # Permission is given to use this file in any way.
54161
54162 outfile="${D}{1}"
54163 header="${D}{2}"
54164 shift
54165 shift
54166
54167 builddir=\`echo ${D}outfile | sed -e 's,/\\.pch/.*${D},,g'\`
54168
54169 compiler=""
54170 headerfile=""
54171
54172 while test ${D}{#} -gt 0; do
54173 add_to_cmdline=1
54174 case "${D}{1}" in
54175 -I* )
54176 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
54177 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
54178 headerfile="${D}{incdir}/${D}{header}"
54179 fi
54180 ;;
54181 -use-pch|-use_pch|-pch-use )
54182 shift
54183 add_to_cmdline=0
54184 ;;
54185 esac
54186 if test ${D}add_to_cmdline = 1 ; then
54187 compiler="${D}{compiler} ${D}{1}"
54188 fi
54189 shift
54190 done
54191
54192 if test "x${D}{headerfile}" = "x" ; then
54193 echo "error: can't find header ${D}{header} in include paths" >&2
54194 else
54195 if test -f ${D}{outfile} ; then
54196 rm -f ${D}{outfile}
54197 else
54198 mkdir -p \`dirname ${D}{outfile}\`
54199 fi
54200 depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
54201 mkdir -p ${D}{builddir}/.deps
54202 if test "x${GCC_PCH}" = "x1" ; then
54203 # can do this because gcc is >= 3.4:
54204 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
54205 elif test "x${ICC_PCH}" = "x1" ; then
54206 filename=pch_gen-${D}${D}
54207 file=${D}{filename}.c
54208 dfile=${D}{filename}.d
54209 cat > ${D}file <<EOT
54210 #include "${D}header"
54211 EOT
54212 # using -MF icc complains about differing command lines in creation/use
54213 ${D}compiler -c ${ICC_PCH_CREATE_SWITCH} ${D}outfile -MMD ${D}file && \\
54214 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
54215 rm -f ${D}file ${D}dfile ${D}{filename}.o
54216 fi
54217 exit ${D}{?}
54218 fi
54219 EOF
54220
54221 chmod +x bk-make-pch
54222 BK_MAKE_PCH="`pwd`/bk-make-pch"
54223 fi
54224 fi
54225 fi
54226
54227
54228
54229
54230
54231
54232
54233 COND_BUILD_DEBUG="#"
54234 if test "x$BUILD" = "xdebug" ; then
54235 COND_BUILD_DEBUG=""
54236 fi
54237
54238 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
54239 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
54240 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
54241 fi
54242
54243 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
54244 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
54245 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
54246 fi
54247
54248 COND_BUILD_DEBUG_UNICODE_0="#"
54249 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
54250 COND_BUILD_DEBUG_UNICODE_0=""
54251 fi
54252
54253 COND_BUILD_DEBUG_UNICODE_1="#"
54254 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
54255 COND_BUILD_DEBUG_UNICODE_1=""
54256 fi
54257
54258 COND_BUILD_RELEASE="#"
54259 if test "x$BUILD" = "xrelease" ; then
54260 COND_BUILD_RELEASE=""
54261 fi
54262
54263 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
54264 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
54265 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
54266 fi
54267
54268 COND_BUILD_RELEASE_UNICODE_0="#"
54269 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
54270 COND_BUILD_RELEASE_UNICODE_0=""
54271 fi
54272
54273 COND_BUILD_RELEASE_UNICODE_1="#"
54274 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
54275 COND_BUILD_RELEASE_UNICODE_1=""
54276 fi
54277
54278 COND_BUILD_debug="#"
54279 if test "x$BUILD" = "xdebug" ; then
54280 COND_BUILD_debug=""
54281 fi
54282
54283 COND_BUILD_debug_DEBUG_FLAG_default="#"
54284 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
54285 COND_BUILD_debug_DEBUG_FLAG_default=""
54286 fi
54287
54288 COND_BUILD_debug_DEBUG_INFO_default="#"
54289 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
54290 COND_BUILD_debug_DEBUG_INFO_default=""
54291 fi
54292
54293 COND_BUILD_debug_UNICODE_0="#"
54294 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
54295 COND_BUILD_debug_UNICODE_0=""
54296 fi
54297
54298 COND_BUILD_debug_UNICODE_1="#"
54299 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
54300 COND_BUILD_debug_UNICODE_1=""
54301 fi
54302
54303 COND_BUILD_release="#"
54304 if test "x$BUILD" = "xrelease" ; then
54305 COND_BUILD_release=""
54306 fi
54307
54308 COND_BUILD_release_DEBUG_INFO_default="#"
54309 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
54310 COND_BUILD_release_DEBUG_INFO_default=""
54311 fi
54312
54313 COND_BUILD_release_UNICODE_0="#"
54314 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
54315 COND_BUILD_release_UNICODE_0=""
54316 fi
54317
54318 COND_BUILD_release_UNICODE_1="#"
54319 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
54320 COND_BUILD_release_UNICODE_1=""
54321 fi
54322
54323 COND_DEBUG_FLAG_0="#"
54324 if test "x$DEBUG_FLAG" = "x0" ; then
54325 COND_DEBUG_FLAG_0=""
54326 fi
54327
54328 COND_DEBUG_FLAG_1="#"
54329 if test "x$DEBUG_FLAG" = "x1" ; then
54330 COND_DEBUG_FLAG_1=""
54331 fi
54332
54333 COND_DEBUG_INFO_0="#"
54334 if test "x$DEBUG_INFO" = "x0" ; then
54335 COND_DEBUG_INFO_0=""
54336 fi
54337
54338 COND_DEBUG_INFO_1="#"
54339 if test "x$DEBUG_INFO" = "x1" ; then
54340 COND_DEBUG_INFO_1=""
54341 fi
54342
54343 COND_DEPS_TRACKING_0="#"
54344 if test "x$DEPS_TRACKING" = "x0" ; then
54345 COND_DEPS_TRACKING_0=""
54346 fi
54347
54348 COND_DEPS_TRACKING_1="#"
54349 if test "x$DEPS_TRACKING" = "x1" ; then
54350 COND_DEPS_TRACKING_1=""
54351 fi
54352
54353 COND_GCC_PCH_1="#"
54354 if test "x$GCC_PCH" = "x1" ; then
54355 COND_GCC_PCH_1=""
54356 fi
54357
54358 COND_ICC_PCH_1="#"
54359 if test "x$ICC_PCH" = "x1" ; then
54360 COND_ICC_PCH_1=""
54361 fi
54362
54363 COND_MONOLITHIC_0="#"
54364 if test "x$MONOLITHIC" = "x0" ; then
54365 COND_MONOLITHIC_0=""
54366 fi
54367
54368 COND_MONOLITHIC_0_SHARED_0="#"
54369 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
54370 COND_MONOLITHIC_0_SHARED_0=""
54371 fi
54372
54373 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
54374 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
54375 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
54376 fi
54377
54378 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
54379 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
54380 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
54381 fi
54382
54383 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
54384 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
54385 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
54386 fi
54387
54388 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
54389 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
54390 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
54391 fi
54392
54393 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
54394 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
54395 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
54396 fi
54397
54398 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1="#"
54399 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_WEBVIEW" = "x1" ; then
54400 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1=""
54401 fi
54402
54403 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1="#"
54404 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
54405 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1=""
54406 fi
54407
54408 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1="#"
54409 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RIBBON" = "x1" ; then
54410 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1=""
54411 fi
54412
54413 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
54414 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
54415 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
54416 fi
54417
54418 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
54419 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
54420 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
54421 fi
54422
54423 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
54424 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
54425 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
54426 fi
54427
54428 COND_MONOLITHIC_0_SHARED_1="#"
54429 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
54430 COND_MONOLITHIC_0_SHARED_1=""
54431 fi
54432
54433 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
54434 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
54435 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
54436 fi
54437
54438 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
54439 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
54440 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
54441 fi
54442
54443 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
54444 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
54445 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
54446 fi
54447
54448 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
54449 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
54450 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
54451 fi
54452
54453 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
54454 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
54455 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
54456 fi
54457
54458 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1="#"
54459 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_WEBVIEW" = "x1" ; then
54460 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1=""
54461 fi
54462
54463 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1="#"
54464 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
54465 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1=""
54466 fi
54467
54468 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1="#"
54469 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RIBBON" = "x1" ; then
54470 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1=""
54471 fi
54472
54473 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
54474 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
54475 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
54476 fi
54477
54478 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
54479 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
54480 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
54481 fi
54482
54483 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
54484 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
54485 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
54486 fi
54487
54488 COND_MONOLITHIC_0_USE_AUI_1="#"
54489 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
54490 COND_MONOLITHIC_0_USE_AUI_1=""
54491 fi
54492
54493 COND_MONOLITHIC_0_USE_GUI_1="#"
54494 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
54495 COND_MONOLITHIC_0_USE_GUI_1=""
54496 fi
54497
54498 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
54499 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
54500 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
54501 fi
54502
54503 COND_MONOLITHIC_0_USE_HTML_1="#"
54504 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
54505 COND_MONOLITHIC_0_USE_HTML_1=""
54506 fi
54507
54508 COND_MONOLITHIC_0_USE_MEDIA_1="#"
54509 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
54510 COND_MONOLITHIC_0_USE_MEDIA_1=""
54511 fi
54512
54513 COND_MONOLITHIC_0_USE_PROPGRID_1="#"
54514 if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
54515 COND_MONOLITHIC_0_USE_PROPGRID_1=""
54516 fi
54517
54518 COND_MONOLITHIC_0_USE_QA_1="#"
54519 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
54520 COND_MONOLITHIC_0_USE_QA_1=""
54521 fi
54522
54523 COND_MONOLITHIC_0_USE_RIBBON_1="#"
54524 if test "x$MONOLITHIC" = "x0" -a "x$USE_RIBBON" = "x1" ; then
54525 COND_MONOLITHIC_0_USE_RIBBON_1=""
54526 fi
54527
54528 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
54529 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
54530 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
54531 fi
54532
54533 COND_MONOLITHIC_0_USE_STC_1="#"
54534 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
54535 COND_MONOLITHIC_0_USE_STC_1=""
54536 fi
54537
54538 COND_MONOLITHIC_0_USE_WEBVIEW_1="#"
54539 if test "x$MONOLITHIC" = "x0" -a "x$USE_WEBVIEW" = "x1" ; then
54540 COND_MONOLITHIC_0_USE_WEBVIEW_1=""
54541 fi
54542
54543 COND_MONOLITHIC_0_USE_XRC_1="#"
54544 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
54545 COND_MONOLITHIC_0_USE_XRC_1=""
54546 fi
54547
54548 COND_MONOLITHIC_1="#"
54549 if test "x$MONOLITHIC" = "x1" ; then
54550 COND_MONOLITHIC_1=""
54551 fi
54552
54553 COND_MONOLITHIC_1_SHARED_0="#"
54554 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
54555 COND_MONOLITHIC_1_SHARED_0=""
54556 fi
54557
54558 COND_MONOLITHIC_1_SHARED_1="#"
54559 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
54560 COND_MONOLITHIC_1_SHARED_1=""
54561 fi
54562
54563 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
54564 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
54565 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
54566 fi
54567
54568 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
54569 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
54570 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
54571 fi
54572
54573 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
54574 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
54575 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
54576 fi
54577
54578 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
54579 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
54580 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
54581 fi
54582
54583 COND_PLATFORM_MACOSX_1="#"
54584 if test "x$PLATFORM_MACOSX" = "x1" ; then
54585 COND_PLATFORM_MACOSX_1=""
54586 fi
54587
54588 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0="#"
54589 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
54590 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0=""
54591 fi
54592
54593 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0="#"
54594 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
54595 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0=""
54596 fi
54597
54598 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
54599 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
54600 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1=""
54601 fi
54602
54603 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0="#"
54604 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
54605 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0=""
54606 fi
54607
54608 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
54609 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
54610 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1=""
54611 fi
54612
54613 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0="#"
54614 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
54615 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0=""
54616 fi
54617
54618 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1="#"
54619 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
54620 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1=""
54621 fi
54622
54623 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0="#"
54624 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
54625 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0=""
54626 fi
54627
54628 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
54629 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
54630 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
54631 fi
54632
54633 COND_PLATFORM_MACOSX_1_USE_OPENGL_1="#"
54634 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
54635 COND_PLATFORM_MACOSX_1_USE_OPENGL_1=""
54636 fi
54637
54638 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
54639 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
54640 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
54641 fi
54642
54643 COND_PLATFORM_MACOS_1="#"
54644 if test "x$PLATFORM_MACOS" = "x1" ; then
54645 COND_PLATFORM_MACOS_1=""
54646 fi
54647
54648 COND_PLATFORM_MAC_0="#"
54649 if test "x$PLATFORM_MAC" = "x0" ; then
54650 COND_PLATFORM_MAC_0=""
54651 fi
54652
54653 COND_PLATFORM_MAC_1="#"
54654 if test "x$PLATFORM_MAC" = "x1" ; then
54655 COND_PLATFORM_MAC_1=""
54656 fi
54657
54658 COND_PLATFORM_MSDOS_0="#"
54659 if test "x$PLATFORM_MSDOS" = "x0" ; then
54660 COND_PLATFORM_MSDOS_0=""
54661 fi
54662
54663 COND_PLATFORM_MSDOS_1="#"
54664 if test "x$PLATFORM_MSDOS" = "x1" ; then
54665 COND_PLATFORM_MSDOS_1=""
54666 fi
54667
54668 COND_PLATFORM_OS2_1="#"
54669 if test "x$PLATFORM_OS2" = "x1" ; then
54670 COND_PLATFORM_OS2_1=""
54671 fi
54672
54673 COND_PLATFORM_UNIX_0="#"
54674 if test "x$PLATFORM_UNIX" = "x0" ; then
54675 COND_PLATFORM_UNIX_0=""
54676 fi
54677
54678 COND_PLATFORM_UNIX_1="#"
54679 if test "x$PLATFORM_UNIX" = "x1" ; then
54680 COND_PLATFORM_UNIX_1=""
54681 fi
54682
54683 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
54684 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
54685 COND_PLATFORM_UNIX_1_USE_GUI_1=""
54686 fi
54687
54688 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
54689 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
54690 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
54691 fi
54692
54693 COND_PLATFORM_WIN32_0="#"
54694 if test "x$PLATFORM_WIN32" = "x0" ; then
54695 COND_PLATFORM_WIN32_0=""
54696 fi
54697
54698 COND_PLATFORM_WIN32_1="#"
54699 if test "x$PLATFORM_WIN32" = "x1" ; then
54700 COND_PLATFORM_WIN32_1=""
54701 fi
54702
54703 COND_PLATFORM_WIN32_1_SHARED_0="#"
54704 if test "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
54705 COND_PLATFORM_WIN32_1_SHARED_0=""
54706 fi
54707
54708 COND_SHARED_0="#"
54709 if test "x$SHARED" = "x0" ; then
54710 COND_SHARED_0=""
54711 fi
54712
54713 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
54714 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
54715 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
54716 fi
54717
54718 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
54719 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
54720 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
54721 fi
54722
54723 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
54724 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
54725 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
54726 fi
54727
54728 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
54729 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
54730 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
54731 fi
54732
54733 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
54734 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
54735 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
54736 fi
54737
54738 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
54739 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
54740 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin=""
54741 fi
54742
54743 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
54744 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
54745 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
54746 fi
54747
54748 COND_SHARED_0_USE_STC_1="#"
54749 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
54750 COND_SHARED_0_USE_STC_1=""
54751 fi
54752
54753 COND_SHARED_0_wxUSE_EXPAT_builtin="#"
54754 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
54755 COND_SHARED_0_wxUSE_EXPAT_builtin=""
54756 fi
54757
54758 COND_SHARED_0_wxUSE_REGEX_builtin="#"
54759 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
54760 COND_SHARED_0_wxUSE_REGEX_builtin=""
54761 fi
54762
54763 COND_SHARED_0_wxUSE_ZLIB_builtin="#"
54764 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
54765 COND_SHARED_0_wxUSE_ZLIB_builtin=""
54766 fi
54767
54768 COND_SHARED_1="#"
54769 if test "x$SHARED" = "x1" ; then
54770 COND_SHARED_1=""
54771 fi
54772
54773 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
54774 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
54775 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
54776 fi
54777
54778 COND_TOOLKIT_="#"
54779 if test "x$TOOLKIT" = "x" ; then
54780 COND_TOOLKIT_=""
54781 fi
54782
54783 COND_TOOLKIT_COCOA="#"
54784 if test "x$TOOLKIT" = "xCOCOA" ; then
54785 COND_TOOLKIT_COCOA=""
54786 fi
54787
54788 COND_TOOLKIT_COCOA_USE_GUI_1="#"
54789 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
54790 COND_TOOLKIT_COCOA_USE_GUI_1=""
54791 fi
54792
54793 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
54794 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
54795 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
54796 fi
54797
54798 COND_TOOLKIT_DFB="#"
54799 if test "x$TOOLKIT" = "xDFB" ; then
54800 COND_TOOLKIT_DFB=""
54801 fi
54802
54803 COND_TOOLKIT_DFB_USE_GUI_1="#"
54804 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
54805 COND_TOOLKIT_DFB_USE_GUI_1=""
54806 fi
54807
54808 COND_TOOLKIT_GTK="#"
54809 if test "x$TOOLKIT" = "xGTK" ; then
54810 COND_TOOLKIT_GTK=""
54811 fi
54812
54813 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
54814 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
54815 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
54816 fi
54817
54818 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
54819 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
54820 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
54821 fi
54822
54823 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
54824 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
54825 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
54826 fi
54827
54828 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
54829 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
54830 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
54831 fi
54832
54833 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
54834 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
54835 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
54836 fi
54837
54838 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
54839 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
54840 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
54841 fi
54842
54843 COND_TOOLKIT_GTK_USE_GUI_1="#"
54844 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
54845 COND_TOOLKIT_GTK_USE_GUI_1=""
54846 fi
54847
54848 COND_TOOLKIT_MAC="#"
54849 if test "x$TOOLKIT" = "xMAC" ; then
54850 COND_TOOLKIT_MAC=""
54851 fi
54852
54853 COND_TOOLKIT_MOTIF="#"
54854 if test "x$TOOLKIT" = "xMOTIF" ; then
54855 COND_TOOLKIT_MOTIF=""
54856 fi
54857
54858 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
54859 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
54860 COND_TOOLKIT_MOTIF_USE_GUI_1=""
54861 fi
54862
54863 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
54864 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
54865 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
54866 fi
54867
54868 COND_TOOLKIT_MSW="#"
54869 if test "x$TOOLKIT" = "xMSW" ; then
54870 COND_TOOLKIT_MSW=""
54871 fi
54872
54873 COND_TOOLKIT_MSW_USE_GUI_1="#"
54874 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
54875 COND_TOOLKIT_MSW_USE_GUI_1=""
54876 fi
54877
54878 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
54879 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
54880 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
54881 fi
54882
54883 COND_TOOLKIT_MSW_WXUNIV_0="#"
54884 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
54885 COND_TOOLKIT_MSW_WXUNIV_0=""
54886 fi
54887
54888 COND_TOOLKIT_OSX_CARBON="#"
54889 if test "x$TOOLKIT" = "xOSX_CARBON" ; then
54890 COND_TOOLKIT_OSX_CARBON=""
54891 fi
54892
54893 COND_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
54894 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
54895 COND_TOOLKIT_OSX_CARBON_USE_GUI_1=""
54896 fi
54897
54898 COND_TOOLKIT_OSX_COCOA="#"
54899 if test "x$TOOLKIT" = "xOSX_COCOA" ; then
54900 COND_TOOLKIT_OSX_COCOA=""
54901 fi
54902
54903 COND_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
54904 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
54905 COND_TOOLKIT_OSX_COCOA_USE_GUI_1=""
54906 fi
54907
54908 COND_TOOLKIT_OSX_IPHONE="#"
54909 if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
54910 COND_TOOLKIT_OSX_IPHONE=""
54911 fi
54912
54913 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1="#"
54914 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
54915 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1=""
54916 fi
54917
54918 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0="#"
54919 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
54920 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0=""
54921 fi
54922
54923 COND_TOOLKIT_PM="#"
54924 if test "x$TOOLKIT" = "xPM" ; then
54925 COND_TOOLKIT_PM=""
54926 fi
54927
54928 COND_TOOLKIT_PM_USE_GUI_1="#"
54929 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
54930 COND_TOOLKIT_PM_USE_GUI_1=""
54931 fi
54932
54933 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
54934 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
54935 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
54936 fi
54937
54938 COND_TOOLKIT_WINCE="#"
54939 if test "x$TOOLKIT" = "xWINCE" ; then
54940 COND_TOOLKIT_WINCE=""
54941 fi
54942
54943 COND_TOOLKIT_WINCE_USE_GUI_1="#"
54944 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
54945 COND_TOOLKIT_WINCE_USE_GUI_1=""
54946 fi
54947
54948 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
54949 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
54950 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
54951 fi
54952
54953 COND_TOOLKIT_WINCE_WXUNIV_0="#"
54954 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
54955 COND_TOOLKIT_WINCE_WXUNIV_0=""
54956 fi
54957
54958 COND_TOOLKIT_X11="#"
54959 if test "x$TOOLKIT" = "xX11" ; then
54960 COND_TOOLKIT_X11=""
54961 fi
54962
54963 COND_TOOLKIT_X11_USE_GUI_1="#"
54964 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
54965 COND_TOOLKIT_X11_USE_GUI_1=""
54966 fi
54967
54968 COND_UNICODE_1="#"
54969 if test "x$UNICODE" = "x1" ; then
54970 COND_UNICODE_1=""
54971 fi
54972
54973 COND_USE_CAIRO_1="#"
54974 if test "x$USE_CAIRO" = "x1" ; then
54975 COND_USE_CAIRO_1=""
54976 fi
54977
54978 COND_USE_EXCEPTIONS_0="#"
54979 if test "x$USE_EXCEPTIONS" = "x0" ; then
54980 COND_USE_EXCEPTIONS_0=""
54981 fi
54982
54983 COND_USE_EXCEPTIONS_1="#"
54984 if test "x$USE_EXCEPTIONS" = "x1" ; then
54985 COND_USE_EXCEPTIONS_1=""
54986 fi
54987
54988 COND_USE_GUI_0="#"
54989 if test "x$USE_GUI" = "x0" ; then
54990 COND_USE_GUI_0=""
54991 fi
54992
54993 COND_USE_GUI_1="#"
54994 if test "x$USE_GUI" = "x1" ; then
54995 COND_USE_GUI_1=""
54996 fi
54997
54998 COND_USE_GUI_1_USE_OPENGL_1="#"
54999 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
55000 COND_USE_GUI_1_USE_OPENGL_1=""
55001 fi
55002
55003 COND_USE_GUI_1_WXUNIV_0="#"
55004 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
55005 COND_USE_GUI_1_WXUNIV_0=""
55006 fi
55007
55008 COND_USE_GUI_1_WXUNIV_1="#"
55009 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
55010 COND_USE_GUI_1_WXUNIV_1=""
55011 fi
55012
55013 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
55014 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
55015 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
55016 fi
55017
55018 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
55019 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
55020 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
55021 fi
55022
55023 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
55024 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
55025 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
55026 fi
55027
55028 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
55029 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
55030 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
55031 fi
55032
55033 COND_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
55034 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
55035 COND_USE_GUI_1_wxUSE_LIBPNG_builtin=""
55036 fi
55037
55038 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
55039 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
55040 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
55041 fi
55042
55043 COND_USE_OPENGL_1="#"
55044 if test "x$USE_OPENGL" = "x1" ; then
55045 COND_USE_OPENGL_1=""
55046 fi
55047
55048 COND_USE_PCH_1="#"
55049 if test "x$USE_PCH" = "x1" ; then
55050 COND_USE_PCH_1=""
55051 fi
55052
55053 COND_USE_PLUGINS_0="#"
55054 if test "x$USE_PLUGINS" = "x0" ; then
55055 COND_USE_PLUGINS_0=""
55056 fi
55057
55058 COND_USE_RTTI_0="#"
55059 if test "x$USE_RTTI" = "x0" ; then
55060 COND_USE_RTTI_0=""
55061 fi
55062
55063 COND_USE_RTTI_1="#"
55064 if test "x$USE_RTTI" = "x1" ; then
55065 COND_USE_RTTI_1=""
55066 fi
55067
55068 COND_USE_SOTWOSYMLINKS_1="#"
55069 if test "x$USE_SOTWOSYMLINKS" = "x1" ; then
55070 COND_USE_SOTWOSYMLINKS_1=""
55071 fi
55072
55073 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
55074 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
55075 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
55076 fi
55077
55078 COND_USE_SOVERLINUX_1="#"
55079 if test "x$USE_SOVERLINUX" = "x1" ; then
55080 COND_USE_SOVERLINUX_1=""
55081 fi
55082
55083 COND_USE_SOVERSION_0="#"
55084 if test "x$USE_SOVERSION" = "x0" ; then
55085 COND_USE_SOVERSION_0=""
55086 fi
55087
55088 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1="#"
55089 if test "x$USE_SOVERSION" = "x1" -a "x$USE_SOVERSOLARIS" = "x1" ; then
55090 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1=""
55091 fi
55092
55093 COND_USE_SOVERSOLARIS_1="#"
55094 if test "x$USE_SOVERSOLARIS" = "x1" ; then
55095 COND_USE_SOVERSOLARIS_1=""
55096 fi
55097
55098 COND_USE_STC_1="#"
55099 if test "x$USE_STC" = "x1" ; then
55100 COND_USE_STC_1=""
55101 fi
55102
55103 COND_USE_THREADS_0="#"
55104 if test "x$USE_THREADS" = "x0" ; then
55105 COND_USE_THREADS_0=""
55106 fi
55107
55108 COND_USE_THREADS_1="#"
55109 if test "x$USE_THREADS" = "x1" ; then
55110 COND_USE_THREADS_1=""
55111 fi
55112
55113 COND_USE_XRC_1="#"
55114 if test "x$USE_XRC" = "x1" ; then
55115 COND_USE_XRC_1=""
55116 fi
55117
55118 COND_WINDOWS_IMPLIB_1="#"
55119 if test "x$WINDOWS_IMPLIB" = "x1" ; then
55120 COND_WINDOWS_IMPLIB_1=""
55121 fi
55122
55123 COND_WITH_PLUGIN_SDL_1="#"
55124 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
55125 COND_WITH_PLUGIN_SDL_1=""
55126 fi
55127
55128 COND_WXUNIV_0="#"
55129 if test "x$WXUNIV" = "x0" ; then
55130 COND_WXUNIV_0=""
55131 fi
55132
55133 COND_WXUNIV_1="#"
55134 if test "x$WXUNIV" = "x1" ; then
55135 COND_WXUNIV_1=""
55136 fi
55137
55138 COND_WXUSE_EXPAT_BUILTIN="#"
55139 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
55140 COND_WXUSE_EXPAT_BUILTIN=""
55141 fi
55142
55143 COND_WXUSE_LIBJPEG_BUILTIN="#"
55144 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
55145 COND_WXUSE_LIBJPEG_BUILTIN=""
55146 fi
55147
55148 COND_WXUSE_LIBPNG_BUILTIN="#"
55149 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
55150 COND_WXUSE_LIBPNG_BUILTIN=""
55151 fi
55152
55153 COND_WXUSE_LIBTIFF_BUILTIN="#"
55154 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
55155 COND_WXUSE_LIBTIFF_BUILTIN=""
55156 fi
55157
55158 COND_WXUSE_REGEX_BUILTIN="#"
55159 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
55160 COND_WXUSE_REGEX_BUILTIN=""
55161 fi
55162
55163 COND_WXUSE_ZLIB_BUILTIN="#"
55164 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
55165 COND_WXUSE_ZLIB_BUILTIN=""
55166 fi
55167
55168 COND_wxUSE_EXPAT_builtin="#"
55169 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
55170 COND_wxUSE_EXPAT_builtin=""
55171 fi
55172
55173 COND_wxUSE_LIBJPEG_builtin="#"
55174 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
55175 COND_wxUSE_LIBJPEG_builtin=""
55176 fi
55177
55178 COND_wxUSE_LIBPNG_builtin="#"
55179 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
55180 COND_wxUSE_LIBPNG_builtin=""
55181 fi
55182
55183 COND_wxUSE_LIBTIFF_builtin="#"
55184 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
55185 COND_wxUSE_LIBTIFF_builtin=""
55186 fi
55187
55188 COND_wxUSE_REGEX_builtin="#"
55189 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
55190 COND_wxUSE_REGEX_builtin=""
55191 fi
55192
55193 COND_wxUSE_ZLIB_builtin="#"
55194 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
55195 COND_wxUSE_ZLIB_builtin=""
55196 fi
55197
55198
55199
55200 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
55201 { { 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
55202 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;}
55203 { (exit 1); exit 1; }; }
55204 fi
55205
55206 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
55207 { { 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
55208 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;}
55209 { (exit 1); exit 1; }; }
55210 fi
55211
55212
55213 case ${INSTALL} in
55214 /* ) # Absolute
55215 ;;
55216 ?:* ) # Drive letter, considered as absolute.
55217 ;;
55218 *)
55219 INSTALL=`pwd`/${INSTALL} ;;
55220 esac
55221
55222 if test "$wxUSE_GUI" = "yes"; then
55223
55224 if test "$wxUSE_MSW" = 1 ; then
55225 if test "x$WINDRES" = "x"; then
55226 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
55227 echo "$as_me: error: Required windres program not found" >&2;}
55228 { (exit 1); exit 1; }; }
55229 fi
55230
55231 RESCOMP="$WINDRES"
55232 fi
55233
55234 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
55235 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
55236 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
55237
55238 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
55239
55240 # Extract the first word of "DeRez", so it can be a program name with args.
55241 set dummy DeRez; ac_word=$2
55242 { echo "$as_me:$LINENO: checking for $ac_word" >&5
55243 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
55244 if test "${ac_cv_prog_DEREZ+set}" = set; then
55245 echo $ECHO_N "(cached) $ECHO_C" >&6
55246 else
55247 if test -n "$DEREZ"; then
55248 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
55249 else
55250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
55251 for as_dir in $PATH
55252 do
55253 IFS=$as_save_IFS
55254 test -z "$as_dir" && as_dir=.
55255 for ac_exec_ext in '' $ac_executable_extensions; do
55256 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
55257 ac_cv_prog_DEREZ="DeRez"
55258 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
55259 break 2
55260 fi
55261 done
55262 done
55263 IFS=$as_save_IFS
55264
55265 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
55266 fi
55267 fi
55268 DEREZ=$ac_cv_prog_DEREZ
55269 if test -n "$DEREZ"; then
55270 { echo "$as_me:$LINENO: result: $DEREZ" >&5
55271 echo "${ECHO_T}$DEREZ" >&6; }
55272 else
55273 { echo "$as_me:$LINENO: result: no" >&5
55274 echo "${ECHO_T}no" >&6; }
55275 fi
55276
55277
55278
55279 MACSETFILE="\$(SETFILE)"
55280
55281 if test "$wxUSE_OSX_CARBON" = 1; then
55282 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
55283 RESCOMP="$REZ"
55284 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
55285 else
55286 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
55287 RESCOMP="cat /dev/null \| $REZ"
55288 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
55289 fi
55290
55291 else
55292 MACSETFILE="@true"
55293
55294 if test "$wxUSE_PM" = 1; then
55295 RESCOMP="emxbind"
55296 WXCONFIG_RESFLAGS="-ep"
55297
55298 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
55299 else
55300 POSTLINK_COMMAND="@true"
55301 fi
55302 fi
55303
55304 fi
55305
55306
55307 if test $GCC_PCH = 1
55308 then
55309 if test "$wx_cv_gcc_pch_bug" = yes; then
55310 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
55311 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
55312 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
55313 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
55314 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
55315 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
55316 fi
55317
55318 # Our WX_PRECOMP flag does not make sense for any language except C++ because
55319 # the headers that benefit from precompilation are mostly C++ headers.
55320 CXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
55321 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
55322 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
55323 fi
55324
55325
55326 if test "$wxUSE_MAC" = 1 ; then
55327 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
55328 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
55329 mv temp bk-deps
55330 chmod +x bk-deps
55331 fi
55332 fi
55333
55334 if test "$wxUSE_SHARED" = "yes"; then
55335 case "${host}" in
55336 *-pc-os2_emx | *-pc-os2-emx )
55337 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
55338 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
55339 cp -p ${srcdir}/src/os2/dllnames.sh .
55340 cp -p ${srcdir}/src/os2/dllar.sh .
55341 ;;
55342 esac
55343 fi
55344 if test "$wxUSE_OMF" = "yes"; then
55345 case "${host}" in
55346 *-pc-os2_emx | *-pc-os2-emx )
55347 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
55348 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
55349 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
55350 ;;
55351 esac
55352 fi
55353
55354 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
55355
55356
55357 case "${host}" in
55358 *-*-solaris2* )
55359 if test "$GCC" = yes; then
55360 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//g'`
55361 LIBS=`echo $LIBS | sed 's/-mt//g'`
55362 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//g'`
55363 fi
55364 ;;
55365
55366 *-*-linux* )
55367 if test "x$SUNCXX" = xyes; then
55368 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//g'`
55369 LIBS=`echo $LIBS | sed 's/-pthread//g'`
55370 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//g'`
55371 fi
55372 ;;
55373 esac
55374
55375 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
55376 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
55377 OBJCFLAGS="$OBJCFLAGS $CFLAGS_VISIBILITY"
55378 OBJCXXFLAGS="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
55379
55380 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
55381
55382
55383
55384
55385
55386
55387
55388
55389
55390
55391
55392
55393
55394
55395
55396
55397
55398
55399
55400
55401
55402
55403
55404
55405
55406
55407
55408
55409
55410
55411
55412
55413
55414
55415
55416
55417
55418
55419
55420
55421
55422
55423
55424
55425
55426
55427
55428
55429
55430
55431
55432
55433
55434
55435
55436
55437
55438
55439
55440
55441 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
55442 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
55443 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
55444 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
55445 echo $ECHO_N "(cached) $ECHO_C" >&6
55446 else
55447 cat >conftest.make <<\_ACEOF
55448 SHELL = /bin/sh
55449 all:
55450 @echo '@@@%%%=$(MAKE)=@@@%%%'
55451 _ACEOF
55452 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
55453 case `${MAKE-make} -f conftest.make 2>/dev/null` in
55454 *@@@%%%=?*=@@@%%%*)
55455 eval ac_cv_prog_make_${ac_make}_set=yes;;
55456 *)
55457 eval ac_cv_prog_make_${ac_make}_set=no;;
55458 esac
55459 rm -f conftest.make
55460 fi
55461 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
55462 { echo "$as_me:$LINENO: result: yes" >&5
55463 echo "${ECHO_T}yes" >&6; }
55464 SET_MAKE=
55465 else
55466 { echo "$as_me:$LINENO: result: no" >&5
55467 echo "${ECHO_T}no" >&6; }
55468 SET_MAKE="MAKE=${MAKE-make}"
55469 fi
55470
55471
55472
55473 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
55474
55475
55476 if test "$USE_WIN32" = 1; then
55477 ac_config_commands="$ac_config_commands rcdefs.h"
55478
55479 fi
55480
55481 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
55482
55483
55484 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
55485
55486
55487 ac_config_files="$ac_config_files utils/ifacecheck/rungccxml.sh"
55488
55489
55490 if test "$wx_cv_version_script" = "yes"; then
55491 ac_config_files="$ac_config_files version-script"
55492
55493 fi
55494 ac_config_files="$ac_config_files Makefile"
55495
55496
55497 ac_config_commands="$ac_config_commands wx-config"
55498
55499
55500
55501 if test "$wxWITH_SUBDIRS" != "no"; then
55502 if test "$wxUSE_GUI" = "yes"; then
55503 SUBDIRS="samples demos utils"
55504 else
55505 SUBDIRS="samples utils"
55506 fi
55507
55508
55509
55510 # Check whether --with-cppunit-prefix was given.
55511 if test "${with_cppunit_prefix+set}" = set; then
55512 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
55513 else
55514 cppunit_config_prefix=""
55515 fi
55516
55517
55518 # Check whether --with-cppunit-exec-prefix was given.
55519 if test "${with_cppunit_exec_prefix+set}" = set; then
55520 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
55521 else
55522 cppunit_config_exec_prefix=""
55523 fi
55524
55525
55526 if test x$cppunit_config_exec_prefix != x ; then
55527 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
55528 if test x${CPPUNIT_CONFIG+set} != xset ; then
55529 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
55530 fi
55531 fi
55532 if test x$cppunit_config_prefix != x ; then
55533 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
55534 if test x${CPPUNIT_CONFIG+set} != xset ; then
55535 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
55536 fi
55537 fi
55538
55539 # Extract the first word of "cppunit-config", so it can be a program name with args.
55540 set dummy cppunit-config; ac_word=$2
55541 { echo "$as_me:$LINENO: checking for $ac_word" >&5
55542 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
55543 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
55544 echo $ECHO_N "(cached) $ECHO_C" >&6
55545 else
55546 case $CPPUNIT_CONFIG in
55547 [\\/]* | ?:[\\/]*)
55548 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
55549 ;;
55550 *)
55551 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
55552 for as_dir in $PATH
55553 do
55554 IFS=$as_save_IFS
55555 test -z "$as_dir" && as_dir=.
55556 for ac_exec_ext in '' $ac_executable_extensions; do
55557 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
55558 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
55559 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
55560 break 2
55561 fi
55562 done
55563 done
55564 IFS=$as_save_IFS
55565
55566 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
55567 ;;
55568 esac
55569 fi
55570 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
55571 if test -n "$CPPUNIT_CONFIG"; then
55572 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
55573 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
55574 else
55575 { echo "$as_me:$LINENO: result: no" >&5
55576 echo "${ECHO_T}no" >&6; }
55577 fi
55578
55579
55580 cppunit_version_min=1.8.0
55581
55582 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
55583 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
55584 no_cppunit=""
55585 if test "$CPPUNIT_CONFIG" = "no" ; then
55586 { echo "$as_me:$LINENO: result: no" >&5
55587 echo "${ECHO_T}no" >&6; }
55588 no_cppunit=yes
55589 else
55590 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
55591 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
55592 cppunit_version=`$CPPUNIT_CONFIG --version`
55593
55594 cppunit_major_version=`echo $cppunit_version | \
55595 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
55596 cppunit_minor_version=`echo $cppunit_version | \
55597 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
55598 cppunit_micro_version=`echo $cppunit_version | \
55599 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
55600
55601 cppunit_major_min=`echo $cppunit_version_min | \
55602 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
55603 cppunit_minor_min=`echo $cppunit_version_min | \
55604 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
55605 cppunit_micro_min=`echo $cppunit_version_min | \
55606 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
55607
55608 cppunit_version_proper=`expr \
55609 $cppunit_major_version \> $cppunit_major_min \| \
55610 $cppunit_major_version \= $cppunit_major_min \& \
55611 $cppunit_minor_version \> $cppunit_minor_min \| \
55612 $cppunit_major_version \= $cppunit_major_min \& \
55613 $cppunit_minor_version \= $cppunit_minor_min \& \
55614 $cppunit_micro_version \>= $cppunit_micro_min `
55615
55616 if test "$cppunit_version_proper" = "1" ; then
55617 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
55618 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
55619 else
55620 { echo "$as_me:$LINENO: result: no" >&5
55621 echo "${ECHO_T}no" >&6; }
55622 no_cppunit=yes
55623 fi
55624 fi
55625
55626 if test "x$no_cppunit" = x ; then
55627 SUBDIRS="$SUBDIRS tests"
55628 else
55629 CPPUNIT_CFLAGS=""
55630 CPPUNIT_LIBS=""
55631 :
55632 fi
55633
55634
55635
55636
55637
55638 for subdir in $SUBDIRS; do
55639 if test -d ${srcdir}/${subdir} ; then
55640 if test "$wxUSE_GUI" = "yes"; then
55641 if test ${subdir} = "samples"; then
55642 makefiles="samples/Makefile.in $makefiles"
55643 for sample in $SAMPLES_SUBDIRS; do
55644 if test -d $srcdir/samples/$sample; then
55645 makefiles="samples/$sample/Makefile.in $makefiles"
55646 fi
55647 done
55648 else
55649 disabled_var=DISABLED_`echo $subdir | tr '[a-z]' '[A-Z]'`
55650 eval "disabled=\$$disabled_var"
55651 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
55652 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
55653 fi
55654 else
55655 if test ${subdir} = "samples"; then
55656 makefiles="samples/Makefile.in $makefiles"
55657 for sample in `echo $SAMPLES_SUBDIRS`; do
55658 if test -d $srcdir/samples/$sample; then
55659 makefiles="samples/$sample/Makefile.in $makefiles"
55660 fi
55661 done
55662 elif test ${subdir} = "utils"; then
55663 makefiles=""
55664 for util in ifacecheck ; do
55665 if test -d $srcdir/utils/$util ; then
55666 makefiles="utils/$util/src/Makefile.in \
55667 $makefiles"
55668 fi
55669 done
55670 else
55671 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
55672 fi
55673 fi
55674
55675 for mkin in $makefiles ; do
55676 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
55677 ac_config_files="$ac_config_files $mk"
55678
55679 done
55680 fi
55681 done
55682 fi
55683 cat >confcache <<\_ACEOF
55684 # This file is a shell script that caches the results of configure
55685 # tests run on this system so they can be shared between configure
55686 # scripts and configure runs, see configure's option --config-cache.
55687 # It is not useful on other systems. If it contains results you don't
55688 # want to keep, you may remove or edit it.
55689 #
55690 # config.status only pays attention to the cache file if you give it
55691 # the --recheck option to rerun configure.
55692 #
55693 # `ac_cv_env_foo' variables (set or unset) will be overridden when
55694 # loading this file, other *unset* `ac_cv_foo' will be assigned the
55695 # following values.
55696
55697 _ACEOF
55698
55699 # The following way of writing the cache mishandles newlines in values,
55700 # but we know of no workaround that is simple, portable, and efficient.
55701 # So, we kill variables containing newlines.
55702 # Ultrix sh set writes to stderr and can't be redirected directly,
55703 # and sets the high bit in the cache file unless we assign to the vars.
55704 (
55705 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
55706 eval ac_val=\$$ac_var
55707 case $ac_val in #(
55708 *${as_nl}*)
55709 case $ac_var in #(
55710 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
55711 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
55712 esac
55713 case $ac_var in #(
55714 _ | IFS | as_nl) ;; #(
55715 *) $as_unset $ac_var ;;
55716 esac ;;
55717 esac
55718 done
55719
55720 (set) 2>&1 |
55721 case $as_nl`(ac_space=' '; set) 2>&1` in #(
55722 *${as_nl}ac_space=\ *)
55723 # `set' does not quote correctly, so add quotes (double-quote
55724 # substitution turns \\\\ into \\, and sed turns \\ into \).
55725 sed -n \
55726 "s/'/'\\\\''/g;
55727 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
55728 ;; #(
55729 *)
55730 # `set' quotes correctly as required by POSIX, so do not add quotes.
55731 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
55732 ;;
55733 esac |
55734 sort
55735 ) |
55736 sed '
55737 /^ac_cv_env_/b end
55738 t clear
55739 :clear
55740 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
55741 t end
55742 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
55743 :end' >>confcache
55744 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
55745 if test -w "$cache_file"; then
55746 test "x$cache_file" != "x/dev/null" &&
55747 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
55748 echo "$as_me: updating cache $cache_file" >&6;}
55749 cat confcache >$cache_file
55750 else
55751 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
55752 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
55753 fi
55754 fi
55755 rm -f confcache
55756
55757 test "x$prefix" = xNONE && prefix=$ac_default_prefix
55758 # Let make expand exec_prefix.
55759 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
55760
55761 DEFS=-DHAVE_CONFIG_H
55762
55763 ac_libobjs=
55764 ac_ltlibobjs=
55765 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
55766 # 1. Remove the extension, and $U if already installed.
55767 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
55768 ac_i=`echo "$ac_i" | sed "$ac_script"`
55769 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
55770 # will be set to the directory where LIBOBJS objects are built.
55771 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
55772 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
55773 done
55774 LIBOBJS=$ac_libobjs
55775
55776 LTLIBOBJS=$ac_ltlibobjs
55777
55778
55779
55780 : ${CONFIG_STATUS=./config.status}
55781 ac_clean_files_save=$ac_clean_files
55782 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
55783 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
55784 echo "$as_me: creating $CONFIG_STATUS" >&6;}
55785 cat >$CONFIG_STATUS <<_ACEOF
55786 #! $SHELL
55787 # Generated by $as_me.
55788 # Run this file to recreate the current configuration.
55789 # Compiler output produced by configure, useful for debugging
55790 # configure, is in config.log if it exists.
55791
55792 debug=false
55793 ac_cs_recheck=false
55794 ac_cs_silent=false
55795 SHELL=\${CONFIG_SHELL-$SHELL}
55796 _ACEOF
55797
55798 cat >>$CONFIG_STATUS <<\_ACEOF
55799 ## --------------------- ##
55800 ## M4sh Initialization. ##
55801 ## --------------------- ##
55802
55803 # Be more Bourne compatible
55804 DUALCASE=1; export DUALCASE # for MKS sh
55805 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
55806 emulate sh
55807 NULLCMD=:
55808 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
55809 # is contrary to our usage. Disable this feature.
55810 alias -g '${1+"$@"}'='"$@"'
55811 setopt NO_GLOB_SUBST
55812 else
55813 case `(set -o) 2>/dev/null` in
55814 *posix*) set -o posix ;;
55815 esac
55816
55817 fi
55818
55819
55820
55821
55822 # PATH needs CR
55823 # Avoid depending upon Character Ranges.
55824 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
55825 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
55826 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
55827 as_cr_digits='0123456789'
55828 as_cr_alnum=$as_cr_Letters$as_cr_digits
55829
55830 # The user is always right.
55831 if test "${PATH_SEPARATOR+set}" != set; then
55832 echo "#! /bin/sh" >conf$$.sh
55833 echo "exit 0" >>conf$$.sh
55834 chmod +x conf$$.sh
55835 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
55836 PATH_SEPARATOR=';'
55837 else
55838 PATH_SEPARATOR=:
55839 fi
55840 rm -f conf$$.sh
55841 fi
55842
55843 # Support unset when possible.
55844 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
55845 as_unset=unset
55846 else
55847 as_unset=false
55848 fi
55849
55850
55851 # IFS
55852 # We need space, tab and new line, in precisely that order. Quoting is
55853 # there to prevent editors from complaining about space-tab.
55854 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
55855 # splitting by setting IFS to empty value.)
55856 as_nl='
55857 '
55858 IFS=" "" $as_nl"
55859
55860 # Find who we are. Look in the path if we contain no directory separator.
55861 case $0 in
55862 *[\\/]* ) as_myself=$0 ;;
55863 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
55864 for as_dir in $PATH
55865 do
55866 IFS=$as_save_IFS
55867 test -z "$as_dir" && as_dir=.
55868 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
55869 done
55870 IFS=$as_save_IFS
55871
55872 ;;
55873 esac
55874 # We did not find ourselves, most probably we were run as `sh COMMAND'
55875 # in which case we are not to be found in the path.
55876 if test "x$as_myself" = x; then
55877 as_myself=$0
55878 fi
55879 if test ! -f "$as_myself"; then
55880 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
55881 { (exit 1); exit 1; }
55882 fi
55883
55884 # Work around bugs in pre-3.0 UWIN ksh.
55885 for as_var in ENV MAIL MAILPATH
55886 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
55887 done
55888 PS1='$ '
55889 PS2='> '
55890 PS4='+ '
55891
55892 # NLS nuisances.
55893 for as_var in \
55894 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
55895 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
55896 LC_TELEPHONE LC_TIME
55897 do
55898 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
55899 eval $as_var=C; export $as_var
55900 else
55901 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
55902 fi
55903 done
55904
55905 # Required to use basename.
55906 if expr a : '\(a\)' >/dev/null 2>&1 &&
55907 test "X`expr 00001 : '.*\(...\)'`" = X001; then
55908 as_expr=expr
55909 else
55910 as_expr=false
55911 fi
55912
55913 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
55914 as_basename=basename
55915 else
55916 as_basename=false
55917 fi
55918
55919
55920 # Name of the executable.
55921 as_me=`$as_basename -- "$0" ||
55922 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
55923 X"$0" : 'X\(//\)$' \| \
55924 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
55925 echo X/"$0" |
55926 sed '/^.*\/\([^/][^/]*\)\/*$/{
55927 s//\1/
55928 q
55929 }
55930 /^X\/\(\/\/\)$/{
55931 s//\1/
55932 q
55933 }
55934 /^X\/\(\/\).*/{
55935 s//\1/
55936 q
55937 }
55938 s/.*/./; q'`
55939
55940 # CDPATH.
55941 $as_unset CDPATH
55942
55943
55944
55945 as_lineno_1=$LINENO
55946 as_lineno_2=$LINENO
55947 test "x$as_lineno_1" != "x$as_lineno_2" &&
55948 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
55949
55950 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
55951 # uniformly replaced by the line number. The first 'sed' inserts a
55952 # line-number line after each line using $LINENO; the second 'sed'
55953 # does the real work. The second script uses 'N' to pair each
55954 # line-number line with the line containing $LINENO, and appends
55955 # trailing '-' during substitution so that $LINENO is not a special
55956 # case at line end.
55957 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
55958 # scripts with optimization help from Paolo Bonzini. Blame Lee
55959 # E. McMahon (1931-1989) for sed's syntax. :-)
55960 sed -n '
55961 p
55962 /[$]LINENO/=
55963 ' <$as_myself |
55964 sed '
55965 s/[$]LINENO.*/&-/
55966 t lineno
55967 b
55968 :lineno
55969 N
55970 :loop
55971 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
55972 t loop
55973 s/-\n.*//
55974 ' >$as_me.lineno &&
55975 chmod +x "$as_me.lineno" ||
55976 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
55977 { (exit 1); exit 1; }; }
55978
55979 # Don't try to exec as it changes $[0], causing all sort of problems
55980 # (the dirname of $[0] is not the place where we might find the
55981 # original and so on. Autoconf is especially sensitive to this).
55982 . "./$as_me.lineno"
55983 # Exit status is that of the last command.
55984 exit
55985 }
55986
55987
55988 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
55989 as_dirname=dirname
55990 else
55991 as_dirname=false
55992 fi
55993
55994 ECHO_C= ECHO_N= ECHO_T=
55995 case `echo -n x` in
55996 -n*)
55997 case `echo 'x\c'` in
55998 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
55999 *) ECHO_C='\c';;
56000 esac;;
56001 *)
56002 ECHO_N='-n';;
56003 esac
56004
56005 if expr a : '\(a\)' >/dev/null 2>&1 &&
56006 test "X`expr 00001 : '.*\(...\)'`" = X001; then
56007 as_expr=expr
56008 else
56009 as_expr=false
56010 fi
56011
56012 rm -f conf$$ conf$$.exe conf$$.file
56013 if test -d conf$$.dir; then
56014 rm -f conf$$.dir/conf$$.file
56015 else
56016 rm -f conf$$.dir
56017 mkdir conf$$.dir
56018 fi
56019 echo >conf$$.file
56020 if ln -s conf$$.file conf$$ 2>/dev/null; then
56021 as_ln_s='ln -s'
56022 # ... but there are two gotchas:
56023 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
56024 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
56025 # In both cases, we have to default to `cp -p'.
56026 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
56027 as_ln_s='cp -p'
56028 elif ln conf$$.file conf$$ 2>/dev/null; then
56029 as_ln_s=ln
56030 else
56031 as_ln_s='cp -p'
56032 fi
56033 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
56034 rmdir conf$$.dir 2>/dev/null
56035
56036 if mkdir -p . 2>/dev/null; then
56037 as_mkdir_p=:
56038 else
56039 test -d ./-p && rmdir ./-p
56040 as_mkdir_p=false
56041 fi
56042
56043 if test -x / >/dev/null 2>&1; then
56044 as_test_x='test -x'
56045 else
56046 if ls -dL / >/dev/null 2>&1; then
56047 as_ls_L_option=L
56048 else
56049 as_ls_L_option=
56050 fi
56051 as_test_x='
56052 eval sh -c '\''
56053 if test -d "$1"; then
56054 test -d "$1/.";
56055 else
56056 case $1 in
56057 -*)set "./$1";;
56058 esac;
56059 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
56060 ???[sx]*):;;*)false;;esac;fi
56061 '\'' sh
56062 '
56063 fi
56064 as_executable_p=$as_test_x
56065
56066 # Sed expression to map a string onto a valid CPP name.
56067 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
56068
56069 # Sed expression to map a string onto a valid variable name.
56070 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
56071
56072
56073 exec 6>&1
56074
56075 # Save the log message, to keep $[0] and so on meaningful, and to
56076 # report actual input values of CONFIG_FILES etc. instead of their
56077 # values after options handling.
56078 ac_log="
56079 This file was extended by wxWidgets $as_me 2.9.4, which was
56080 generated by GNU Autoconf 2.61. Invocation command line was
56081
56082 CONFIG_FILES = $CONFIG_FILES
56083 CONFIG_HEADERS = $CONFIG_HEADERS
56084 CONFIG_LINKS = $CONFIG_LINKS
56085 CONFIG_COMMANDS = $CONFIG_COMMANDS
56086 $ $0 $@
56087
56088 on `(hostname || uname -n) 2>/dev/null | sed 1q`
56089 "
56090
56091 _ACEOF
56092
56093 cat >>$CONFIG_STATUS <<_ACEOF
56094 # Files that config.status was made for.
56095 config_files="$ac_config_files"
56096 config_headers="$ac_config_headers"
56097 config_commands="$ac_config_commands"
56098
56099 _ACEOF
56100
56101 cat >>$CONFIG_STATUS <<\_ACEOF
56102 ac_cs_usage="\
56103 \`$as_me' instantiates files from templates according to the
56104 current configuration.
56105
56106 Usage: $0 [OPTIONS] [FILE]...
56107
56108 -h, --help print this help, then exit
56109 -V, --version print version number and configuration settings, then exit
56110 -q, --quiet do not print progress messages
56111 -d, --debug don't remove temporary files
56112 --recheck update $as_me by reconfiguring in the same conditions
56113 --file=FILE[:TEMPLATE]
56114 instantiate the configuration file FILE
56115 --header=FILE[:TEMPLATE]
56116 instantiate the configuration header FILE
56117
56118 Configuration files:
56119 $config_files
56120
56121 Configuration headers:
56122 $config_headers
56123
56124 Configuration commands:
56125 $config_commands
56126
56127 Report bugs to <bug-autoconf@gnu.org>."
56128
56129 _ACEOF
56130 cat >>$CONFIG_STATUS <<_ACEOF
56131 ac_cs_version="\\
56132 wxWidgets config.status 2.9.4
56133 configured by $0, generated by GNU Autoconf 2.61,
56134 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
56135
56136 Copyright (C) 2006 Free Software Foundation, Inc.
56137 This config.status script is free software; the Free Software Foundation
56138 gives unlimited permission to copy, distribute and modify it."
56139
56140 ac_pwd='$ac_pwd'
56141 srcdir='$srcdir'
56142 INSTALL='$INSTALL'
56143 _ACEOF
56144
56145 cat >>$CONFIG_STATUS <<\_ACEOF
56146 # If no file are specified by the user, then we need to provide default
56147 # value. By we need to know if files were specified by the user.
56148 ac_need_defaults=:
56149 while test $# != 0
56150 do
56151 case $1 in
56152 --*=*)
56153 ac_option=`expr "X$1" : 'X\([^=]*\)='`
56154 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
56155 ac_shift=:
56156 ;;
56157 *)
56158 ac_option=$1
56159 ac_optarg=$2
56160 ac_shift=shift
56161 ;;
56162 esac
56163
56164 case $ac_option in
56165 # Handling of the options.
56166 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
56167 ac_cs_recheck=: ;;
56168 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
56169 echo "$ac_cs_version"; exit ;;
56170 --debug | --debu | --deb | --de | --d | -d )
56171 debug=: ;;
56172 --file | --fil | --fi | --f )
56173 $ac_shift
56174 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
56175 ac_need_defaults=false;;
56176 --header | --heade | --head | --hea )
56177 $ac_shift
56178 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
56179 ac_need_defaults=false;;
56180 --he | --h)
56181 # Conflict between --help and --header
56182 { echo "$as_me: error: ambiguous option: $1
56183 Try \`$0 --help' for more information." >&2
56184 { (exit 1); exit 1; }; };;
56185 --help | --hel | -h )
56186 echo "$ac_cs_usage"; exit ;;
56187 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
56188 | -silent | --silent | --silen | --sile | --sil | --si | --s)
56189 ac_cs_silent=: ;;
56190
56191 # This is an error.
56192 -*) { echo "$as_me: error: unrecognized option: $1
56193 Try \`$0 --help' for more information." >&2
56194 { (exit 1); exit 1; }; } ;;
56195
56196 *) ac_config_targets="$ac_config_targets $1"
56197 ac_need_defaults=false ;;
56198
56199 esac
56200 shift
56201 done
56202
56203 ac_configure_extra_args=
56204
56205 if $ac_cs_silent; then
56206 exec 6>/dev/null
56207 ac_configure_extra_args="$ac_configure_extra_args --silent"
56208 fi
56209
56210 _ACEOF
56211 cat >>$CONFIG_STATUS <<_ACEOF
56212 if \$ac_cs_recheck; then
56213 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
56214 CONFIG_SHELL=$SHELL
56215 export CONFIG_SHELL
56216 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
56217 fi
56218
56219 _ACEOF
56220 cat >>$CONFIG_STATUS <<\_ACEOF
56221 exec 5>>config.log
56222 {
56223 echo
56224 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
56225 ## Running $as_me. ##
56226 _ASBOX
56227 echo "$ac_log"
56228 } >&5
56229
56230 _ACEOF
56231 cat >>$CONFIG_STATUS <<_ACEOF
56232 #
56233 # INIT-COMMANDS
56234 #
56235
56236 CPP="$CPP"
56237 infile="$srcdir/include/wx/msw/genrcdefs.h"
56238 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
56239
56240
56241 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
56242 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
56243 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
56244 LN_S="${LN_S}"
56245
56246
56247 _ACEOF
56248
56249 cat >>$CONFIG_STATUS <<\_ACEOF
56250
56251 # Handling of arguments.
56252 for ac_config_target in $ac_config_targets
56253 do
56254 case $ac_config_target in
56255 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
56256 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
56257 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
56258 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
56259 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
56260 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
56261 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
56262 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
56263 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
56264
56265 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
56266 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
56267 { (exit 1); exit 1; }; };;
56268 esac
56269 done
56270
56271
56272 # If the user did not use the arguments to specify the items to instantiate,
56273 # then the envvar interface is used. Set only those that are not.
56274 # We use the long form for the default assignment because of an extremely
56275 # bizarre bug on SunOS 4.1.3.
56276 if $ac_need_defaults; then
56277 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
56278 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
56279 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
56280 fi
56281
56282 # Have a temporary directory for convenience. Make it in the build tree
56283 # simply because there is no reason against having it here, and in addition,
56284 # creating and moving files from /tmp can sometimes cause problems.
56285 # Hook for its removal unless debugging.
56286 # Note that there is a small window in which the directory will not be cleaned:
56287 # after its creation but before its name has been assigned to `$tmp'.
56288 $debug ||
56289 {
56290 tmp=
56291 trap 'exit_status=$?
56292 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
56293 ' 0
56294 trap '{ (exit 1); exit 1; }' 1 2 13 15
56295 }
56296 # Create a (secure) tmp directory for tmp files.
56297
56298 {
56299 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
56300 test -n "$tmp" && test -d "$tmp"
56301 } ||
56302 {
56303 tmp=./conf$$-$RANDOM
56304 (umask 077 && mkdir "$tmp")
56305 } ||
56306 {
56307 echo "$me: cannot create a temporary directory in ." >&2
56308 { (exit 1); exit 1; }
56309 }
56310
56311 #
56312 # Set up the sed scripts for CONFIG_FILES section.
56313 #
56314
56315 # No need to generate the scripts if there are no CONFIG_FILES.
56316 # This happens for instance when ./config.status config.h
56317 if test -n "$CONFIG_FILES"; then
56318
56319 _ACEOF
56320
56321
56322
56323 ac_delim='%!_!# '
56324 for ac_last_try in false false false false false :; do
56325 cat >conf$$subs.sed <<_ACEOF
56326 SHELL!$SHELL$ac_delim
56327 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
56328 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
56329 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
56330 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
56331 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
56332 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
56333 exec_prefix!$exec_prefix$ac_delim
56334 prefix!$prefix$ac_delim
56335 program_transform_name!$program_transform_name$ac_delim
56336 bindir!$bindir$ac_delim
56337 sbindir!$sbindir$ac_delim
56338 libexecdir!$libexecdir$ac_delim
56339 datarootdir!$datarootdir$ac_delim
56340 datadir!$datadir$ac_delim
56341 sysconfdir!$sysconfdir$ac_delim
56342 sharedstatedir!$sharedstatedir$ac_delim
56343 localstatedir!$localstatedir$ac_delim
56344 includedir!$includedir$ac_delim
56345 oldincludedir!$oldincludedir$ac_delim
56346 docdir!$docdir$ac_delim
56347 infodir!$infodir$ac_delim
56348 htmldir!$htmldir$ac_delim
56349 dvidir!$dvidir$ac_delim
56350 pdfdir!$pdfdir$ac_delim
56351 psdir!$psdir$ac_delim
56352 libdir!$libdir$ac_delim
56353 localedir!$localedir$ac_delim
56354 mandir!$mandir$ac_delim
56355 DEFS!$DEFS$ac_delim
56356 ECHO_C!$ECHO_C$ac_delim
56357 ECHO_N!$ECHO_N$ac_delim
56358 ECHO_T!$ECHO_T$ac_delim
56359 LIBS!$LIBS$ac_delim
56360 build_alias!$build_alias$ac_delim
56361 host_alias!$host_alias$ac_delim
56362 target_alias!$target_alias$ac_delim
56363 build!$build$ac_delim
56364 build_cpu!$build_cpu$ac_delim
56365 build_vendor!$build_vendor$ac_delim
56366 build_os!$build_os$ac_delim
56367 host!$host$ac_delim
56368 host_cpu!$host_cpu$ac_delim
56369 host_vendor!$host_vendor$ac_delim
56370 host_os!$host_os$ac_delim
56371 wx_top_builddir!$wx_top_builddir$ac_delim
56372 CC!$CC$ac_delim
56373 CFLAGS!$CFLAGS$ac_delim
56374 LDFLAGS!$LDFLAGS$ac_delim
56375 CPPFLAGS!$CPPFLAGS$ac_delim
56376 ac_ct_CC!$ac_ct_CC$ac_delim
56377 EXEEXT!$EXEEXT$ac_delim
56378 OBJEXT!$OBJEXT$ac_delim
56379 CPP!$CPP$ac_delim
56380 GREP!$GREP$ac_delim
56381 EGREP!$EGREP$ac_delim
56382 CXX!$CXX$ac_delim
56383 CXXFLAGS!$CXXFLAGS$ac_delim
56384 ac_ct_CXX!$ac_ct_CXX$ac_delim
56385 AR!$AR$ac_delim
56386 OSX_SW_VERS!$OSX_SW_VERS$ac_delim
56387 CXXCPP!$CXXCPP$ac_delim
56388 subdirs!$subdirs$ac_delim
56389 PKG_CONFIG!$PKG_CONFIG$ac_delim
56390 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
56391 GTK_LIBS!$GTK_LIBS$ac_delim
56392 GTK_CONFIG!$GTK_CONFIG$ac_delim
56393 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
56394 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
56395 XMKMF!$XMKMF$ac_delim
56396 X_CFLAGS!$X_CFLAGS$ac_delim
56397 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
56398 X_LIBS!$X_LIBS$ac_delim
56399 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
56400 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
56401 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
56402 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
56403 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
56404 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
56405 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
56406 Xinerama_CFLAGS!$Xinerama_CFLAGS$ac_delim
56407 Xinerama_LIBS!$Xinerama_LIBS$ac_delim
56408 Xxf86vm_CFLAGS!$Xxf86vm_CFLAGS$ac_delim
56409 Xxf86vm_LIBS!$Xxf86vm_LIBS$ac_delim
56410 SM_CFLAGS!$SM_CFLAGS$ac_delim
56411 SM_LIBS!$SM_LIBS$ac_delim
56412 GL_CFLAGS!$GL_CFLAGS$ac_delim
56413 GL_LIBS!$GL_LIBS$ac_delim
56414 GLU_CFLAGS!$GLU_CFLAGS$ac_delim
56415 GLU_LIBS!$GLU_LIBS$ac_delim
56416 MesaGL_CFLAGS!$MesaGL_CFLAGS$ac_delim
56417 MesaGL_LIBS!$MesaGL_LIBS$ac_delim
56418 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
56419 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
56420 LIBICONV!$LIBICONV$ac_delim
56421 GXX_VERSION!$GXX_VERSION$ac_delim
56422 SDL_CONFIG!$SDL_CONFIG$ac_delim
56423 _ACEOF
56424
56425 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
56426 break
56427 elif $ac_last_try; then
56428 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
56429 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
56430 { (exit 1); exit 1; }; }
56431 else
56432 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
56433 fi
56434 done
56435
56436 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
56437 if test -n "$ac_eof"; then
56438 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
56439 ac_eof=`expr $ac_eof + 1`
56440 fi
56441
56442 cat >>$CONFIG_STATUS <<_ACEOF
56443 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
56444 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
56445 _ACEOF
56446 sed '
56447 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
56448 s/^/s,@/; s/!/@,|#_!!_#|/
56449 :n
56450 t n
56451 s/'"$ac_delim"'$/,g/; t
56452 s/$/\\/; p
56453 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
56454 ' >>$CONFIG_STATUS <conf$$subs.sed
56455 rm -f conf$$subs.sed
56456 cat >>$CONFIG_STATUS <<_ACEOF
56457 CEOF$ac_eof
56458 _ACEOF
56459
56460
56461 ac_delim='%!_!# '
56462 for ac_last_try in false false false false false :; do
56463 cat >conf$$subs.sed <<_ACEOF
56464 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
56465 SDL_LIBS!$SDL_LIBS$ac_delim
56466 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
56467 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
56468 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
56469 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
56470 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
56471 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
56472 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
56473 HILDON_LIBS!$HILDON_LIBS$ac_delim
56474 HILDON2_CFLAGS!$HILDON2_CFLAGS$ac_delim
56475 HILDON2_LIBS!$HILDON2_LIBS$ac_delim
56476 PYTHON!$PYTHON$ac_delim
56477 COND_PYTHON!$COND_PYTHON$ac_delim
56478 WEBKIT_CFLAGS!$WEBKIT_CFLAGS$ac_delim
56479 WEBKIT_LIBS!$WEBKIT_LIBS$ac_delim
56480 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
56481 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
56482 GST_CFLAGS!$GST_CFLAGS$ac_delim
56483 GST_LIBS!$GST_LIBS$ac_delim
56484 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
56485 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
56486 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
56487 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
56488 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
56489 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
56490 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
56491 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
56492 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
56493 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
56494 VENDOR!$VENDOR$ac_delim
56495 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
56496 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
56497 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
56498 WXUNIV!$WXUNIV$ac_delim
56499 MONOLITHIC!$MONOLITHIC$ac_delim
56500 USE_PLUGINS!$USE_PLUGINS$ac_delim
56501 CXXWARNINGS!$CXXWARNINGS$ac_delim
56502 EXTRALIBS!$EXTRALIBS$ac_delim
56503 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
56504 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
56505 EXTRALIBS_MEDIA!$EXTRALIBS_MEDIA$ac_delim
56506 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
56507 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
56508 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
56509 EXTRALIBS_STC!$EXTRALIBS_STC$ac_delim
56510 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
56511 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
56512 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
56513 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
56514 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
56515 UNICODE!$UNICODE$ac_delim
56516 DEBUG_INFO!$DEBUG_INFO$ac_delim
56517 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
56518 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
56519 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
56520 DYLIB_RPATH_INSTALL!$DYLIB_RPATH_INSTALL$ac_delim
56521 DYLIB_RPATH_POSTLINK!$DYLIB_RPATH_POSTLINK$ac_delim
56522 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
56523 HEADER_PAD_OPTION!$HEADER_PAD_OPTION$ac_delim
56524 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
56525 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
56526 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
56527 RANLIB!$RANLIB$ac_delim
56528 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
56529 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
56530 INSTALL_DATA!$INSTALL_DATA$ac_delim
56531 LN_S!$LN_S$ac_delim
56532 SET_MAKE!$SET_MAKE$ac_delim
56533 MAKE_SET!$MAKE_SET$ac_delim
56534 AROPTIONS!$AROPTIONS$ac_delim
56535 STRIP!$STRIP$ac_delim
56536 NM!$NM$ac_delim
56537 INSTALL_DIR!$INSTALL_DIR$ac_delim
56538 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
56539 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
56540 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
56541 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
56542 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
56543 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
56544 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
56545 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
56546 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
56547 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
56548 SO_SUFFIX!$SO_SUFFIX$ac_delim
56549 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
56550 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
56551 LIBPREFIX!$LIBPREFIX$ac_delim
56552 LIBEXT!$LIBEXT$ac_delim
56553 DLLPREFIX!$DLLPREFIX$ac_delim
56554 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
56555 dlldir!$dlldir$ac_delim
56556 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
56557 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
56558 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
56559 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
56560 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
56561 _ACEOF
56562
56563 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
56564 break
56565 elif $ac_last_try; then
56566 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
56567 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
56568 { (exit 1); exit 1; }; }
56569 else
56570 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
56571 fi
56572 done
56573
56574 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
56575 if test -n "$ac_eof"; then
56576 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
56577 ac_eof=`expr $ac_eof + 1`
56578 fi
56579
56580 cat >>$CONFIG_STATUS <<_ACEOF
56581 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
56582 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
56583 _ACEOF
56584 sed '
56585 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
56586 s/^/s,@/; s/!/@,|#_!!_#|/
56587 :n
56588 t n
56589 s/'"$ac_delim"'$/,g/; t
56590 s/$/\\/; p
56591 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
56592 ' >>$CONFIG_STATUS <conf$$subs.sed
56593 rm -f conf$$subs.sed
56594 cat >>$CONFIG_STATUS <<_ACEOF
56595 CEOF$ac_eof
56596 _ACEOF
56597
56598
56599 ac_delim='%!_!# '
56600 for ac_last_try in false false false false false :; do
56601 cat >conf$$subs.sed <<_ACEOF
56602 PIC_FLAG!$PIC_FLAG$ac_delim
56603 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
56604 USE_SOVERSION!$USE_SOVERSION$ac_delim
56605 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
56606 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
56607 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
56608 USE_MACVERSION!$USE_MACVERSION$ac_delim
56609 USE_SOTWOSYMLINKS!$USE_SOTWOSYMLINKS$ac_delim
56610 SONAME_FLAG!$SONAME_FLAG$ac_delim
56611 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
56612 BK_DEPS!$BK_DEPS$ac_delim
56613 WINDRES!$WINDRES$ac_delim
56614 REZ!$REZ$ac_delim
56615 SETFILE!$SETFILE$ac_delim
56616 OBJCXXFLAGS!$OBJCXXFLAGS$ac_delim
56617 GCC_PCH!$GCC_PCH$ac_delim
56618 ICC_PCH!$ICC_PCH$ac_delim
56619 ICC_PCH_CREATE_SWITCH!$ICC_PCH_CREATE_SWITCH$ac_delim
56620 ICC_PCH_USE_SWITCH!$ICC_PCH_USE_SWITCH$ac_delim
56621 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
56622 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
56623 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
56624 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
56625 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
56626 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
56627 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
56628 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
56629 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
56630 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
56631 COND_BUILD_debug!$COND_BUILD_debug$ac_delim
56632 COND_BUILD_debug_DEBUG_FLAG_default!$COND_BUILD_debug_DEBUG_FLAG_default$ac_delim
56633 COND_BUILD_debug_DEBUG_INFO_default!$COND_BUILD_debug_DEBUG_INFO_default$ac_delim
56634 COND_BUILD_debug_UNICODE_0!$COND_BUILD_debug_UNICODE_0$ac_delim
56635 COND_BUILD_debug_UNICODE_1!$COND_BUILD_debug_UNICODE_1$ac_delim
56636 COND_BUILD_release!$COND_BUILD_release$ac_delim
56637 COND_BUILD_release_DEBUG_INFO_default!$COND_BUILD_release_DEBUG_INFO_default$ac_delim
56638 COND_BUILD_release_UNICODE_0!$COND_BUILD_release_UNICODE_0$ac_delim
56639 COND_BUILD_release_UNICODE_1!$COND_BUILD_release_UNICODE_1$ac_delim
56640 COND_DEBUG_FLAG_0!$COND_DEBUG_FLAG_0$ac_delim
56641 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
56642 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
56643 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
56644 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
56645 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
56646 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
56647 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
56648 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
56649 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
56650 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
56651 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
56652 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
56653 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
56654 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
56655 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1$ac_delim
56656 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1$ac_delim
56657 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1$ac_delim
56658 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
56659 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
56660 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
56661 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
56662 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
56663 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
56664 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
56665 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
56666 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
56667 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1$ac_delim
56668 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1$ac_delim
56669 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1$ac_delim
56670 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
56671 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
56672 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
56673 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
56674 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
56675 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
56676 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
56677 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
56678 COND_MONOLITHIC_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_USE_PROPGRID_1$ac_delim
56679 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
56680 COND_MONOLITHIC_0_USE_RIBBON_1!$COND_MONOLITHIC_0_USE_RIBBON_1$ac_delim
56681 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
56682 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
56683 COND_MONOLITHIC_0_USE_WEBVIEW_1!$COND_MONOLITHIC_0_USE_WEBVIEW_1$ac_delim
56684 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
56685 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
56686 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
56687 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
56688 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
56689 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
56690 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
56691 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
56692 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
56693 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0!$COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0$ac_delim
56694 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0!$COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0$ac_delim
56695 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
56696 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
56697 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
56698 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
56699 _ACEOF
56700
56701 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
56702 break
56703 elif $ac_last_try; then
56704 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
56705 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
56706 { (exit 1); exit 1; }; }
56707 else
56708 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
56709 fi
56710 done
56711
56712 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
56713 if test -n "$ac_eof"; then
56714 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
56715 ac_eof=`expr $ac_eof + 1`
56716 fi
56717
56718 cat >>$CONFIG_STATUS <<_ACEOF
56719 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
56720 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
56721 _ACEOF
56722 sed '
56723 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
56724 s/^/s,@/; s/!/@,|#_!!_#|/
56725 :n
56726 t n
56727 s/'"$ac_delim"'$/,g/; t
56728 s/$/\\/; p
56729 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
56730 ' >>$CONFIG_STATUS <conf$$subs.sed
56731 rm -f conf$$subs.sed
56732 cat >>$CONFIG_STATUS <<_ACEOF
56733 CEOF$ac_eof
56734 _ACEOF
56735
56736
56737 ac_delim='%!_!# '
56738 for ac_last_try in false false false false false :; do
56739 cat >conf$$subs.sed <<_ACEOF
56740 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1$ac_delim
56741 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
56742 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
56743 COND_PLATFORM_MACOSX_1_USE_OPENGL_1!$COND_PLATFORM_MACOSX_1_USE_OPENGL_1$ac_delim
56744 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
56745 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
56746 COND_PLATFORM_MAC_0!$COND_PLATFORM_MAC_0$ac_delim
56747 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
56748 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
56749 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
56750 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
56751 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
56752 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
56753 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
56754 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
56755 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
56756 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
56757 COND_PLATFORM_WIN32_1_SHARED_0!$COND_PLATFORM_WIN32_1_SHARED_0$ac_delim
56758 COND_SHARED_0!$COND_SHARED_0$ac_delim
56759 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
56760 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
56761 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
56762 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
56763 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
56764 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
56765 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
56766 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
56767 COND_SHARED_0_wxUSE_EXPAT_builtin!$COND_SHARED_0_wxUSE_EXPAT_builtin$ac_delim
56768 COND_SHARED_0_wxUSE_REGEX_builtin!$COND_SHARED_0_wxUSE_REGEX_builtin$ac_delim
56769 COND_SHARED_0_wxUSE_ZLIB_builtin!$COND_SHARED_0_wxUSE_ZLIB_builtin$ac_delim
56770 COND_SHARED_1!$COND_SHARED_1$ac_delim
56771 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
56772 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
56773 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
56774 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
56775 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
56776 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
56777 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
56778 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
56779 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
56780 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
56781 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
56782 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
56783 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
56784 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
56785 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
56786 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
56787 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
56788 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
56789 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
56790 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
56791 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
56792 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
56793 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
56794 COND_TOOLKIT_OSX_CARBON!$COND_TOOLKIT_OSX_CARBON$ac_delim
56795 COND_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
56796 COND_TOOLKIT_OSX_COCOA!$COND_TOOLKIT_OSX_COCOA$ac_delim
56797 COND_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
56798 COND_TOOLKIT_OSX_IPHONE!$COND_TOOLKIT_OSX_IPHONE$ac_delim
56799 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1!$COND_TOOLKIT_OSX_IPHONE_USE_GUI_1$ac_delim
56800 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0$ac_delim
56801 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
56802 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
56803 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
56804 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
56805 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
56806 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
56807 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
56808 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
56809 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
56810 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
56811 COND_USE_CAIRO_1!$COND_USE_CAIRO_1$ac_delim
56812 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
56813 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
56814 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
56815 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
56816 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
56817 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
56818 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
56819 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
56820 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
56821 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
56822 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
56823 COND_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
56824 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
56825 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
56826 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
56827 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
56828 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
56829 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
56830 COND_USE_SOTWOSYMLINKS_1!$COND_USE_SOTWOSYMLINKS_1$ac_delim
56831 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
56832 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
56833 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
56834 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1!$COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1$ac_delim
56835 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
56836 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
56837 _ACEOF
56838
56839 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
56840 break
56841 elif $ac_last_try; then
56842 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
56843 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
56844 { (exit 1); exit 1; }; }
56845 else
56846 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
56847 fi
56848 done
56849
56850 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
56851 if test -n "$ac_eof"; then
56852 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
56853 ac_eof=`expr $ac_eof + 1`
56854 fi
56855
56856 cat >>$CONFIG_STATUS <<_ACEOF
56857 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
56858 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
56859 _ACEOF
56860 sed '
56861 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
56862 s/^/s,@/; s/!/@,|#_!!_#|/
56863 :n
56864 t n
56865 s/'"$ac_delim"'$/,g/; t
56866 s/$/\\/; p
56867 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
56868 ' >>$CONFIG_STATUS <conf$$subs.sed
56869 rm -f conf$$subs.sed
56870 cat >>$CONFIG_STATUS <<_ACEOF
56871 CEOF$ac_eof
56872 _ACEOF
56873
56874
56875 ac_delim='%!_!# '
56876 for ac_last_try in false false false false false :; do
56877 cat >conf$$subs.sed <<_ACEOF
56878 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
56879 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
56880 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
56881 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
56882 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
56883 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
56884 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
56885 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
56886 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
56887 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
56888 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
56889 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
56890 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
56891 COND_wxUSE_EXPAT_builtin!$COND_wxUSE_EXPAT_builtin$ac_delim
56892 COND_wxUSE_LIBJPEG_builtin!$COND_wxUSE_LIBJPEG_builtin$ac_delim
56893 COND_wxUSE_LIBPNG_builtin!$COND_wxUSE_LIBPNG_builtin$ac_delim
56894 COND_wxUSE_LIBTIFF_builtin!$COND_wxUSE_LIBTIFF_builtin$ac_delim
56895 COND_wxUSE_REGEX_builtin!$COND_wxUSE_REGEX_builtin$ac_delim
56896 COND_wxUSE_ZLIB_builtin!$COND_wxUSE_ZLIB_builtin$ac_delim
56897 DEREZ!$DEREZ$ac_delim
56898 SHARED!$SHARED$ac_delim
56899 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
56900 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
56901 USE_GUI!$USE_GUI$ac_delim
56902 AFMINSTALL!$AFMINSTALL$ac_delim
56903 WIN32INSTALL!$WIN32INSTALL$ac_delim
56904 TOOLKIT!$TOOLKIT$ac_delim
56905 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
56906 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
56907 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
56908 cross_compiling!$cross_compiling$ac_delim
56909 WIDGET_SET!$WIDGET_SET$ac_delim
56910 WX_RELEASE!$WX_RELEASE$ac_delim
56911 WX_VERSION!$WX_VERSION$ac_delim
56912 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
56913 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
56914 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
56915 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
56916 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
56917 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
56918 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
56919 WXCONFIG_LDFLAGS!$WXCONFIG_LDFLAGS$ac_delim
56920 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
56921 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
56922 GUIDIST!$GUIDIST$ac_delim
56923 DISTDIR!$DISTDIR$ac_delim
56924 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
56925 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
56926 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
56927 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
56928 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
56929 RESCOMP!$RESCOMP$ac_delim
56930 RESFLAGS!$RESFLAGS$ac_delim
56931 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
56932 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
56933 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
56934 LIBWXMACRES!$LIBWXMACRES$ac_delim
56935 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
56936 MACSETFILE!$MACSETFILE$ac_delim
56937 GCC!$GCC$ac_delim
56938 DLLTOOL!$DLLTOOL$ac_delim
56939 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
56940 LIBOBJS!$LIBOBJS$ac_delim
56941 LTLIBOBJS!$LTLIBOBJS$ac_delim
56942 _ACEOF
56943
56944 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 64; then
56945 break
56946 elif $ac_last_try; then
56947 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
56948 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
56949 { (exit 1); exit 1; }; }
56950 else
56951 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
56952 fi
56953 done
56954
56955 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
56956 if test -n "$ac_eof"; then
56957 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
56958 ac_eof=`expr $ac_eof + 1`
56959 fi
56960
56961 cat >>$CONFIG_STATUS <<_ACEOF
56962 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
56963 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
56964 _ACEOF
56965 sed '
56966 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
56967 s/^/s,@/; s/!/@,|#_!!_#|/
56968 :n
56969 t n
56970 s/'"$ac_delim"'$/,g/; t
56971 s/$/\\/; p
56972 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
56973 ' >>$CONFIG_STATUS <conf$$subs.sed
56974 rm -f conf$$subs.sed
56975 cat >>$CONFIG_STATUS <<_ACEOF
56976 :end
56977 s/|#_!!_#|//g
56978 CEOF$ac_eof
56979 _ACEOF
56980
56981
56982 # VPATH may cause trouble with some makes, so we remove $(srcdir),
56983 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
56984 # trailing colons and then remove the whole line if VPATH becomes empty
56985 # (actually we leave an empty line to preserve line numbers).
56986 if test "x$srcdir" = x.; then
56987 ac_vpsub='/^[ ]*VPATH[ ]*=/{
56988 s/:*\$(srcdir):*/:/
56989 s/:*\${srcdir}:*/:/
56990 s/:*@srcdir@:*/:/
56991 s/^\([^=]*=[ ]*\):*/\1/
56992 s/:*$//
56993 s/^[^=]*=[ ]*$//
56994 }'
56995 fi
56996
56997 cat >>$CONFIG_STATUS <<\_ACEOF
56998 fi # test -n "$CONFIG_FILES"
56999
57000
57001 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
57002 do
57003 case $ac_tag in
57004 :[FHLC]) ac_mode=$ac_tag; continue;;
57005 esac
57006 case $ac_mode$ac_tag in
57007 :[FHL]*:*);;
57008 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
57009 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
57010 { (exit 1); exit 1; }; };;
57011 :[FH]-) ac_tag=-:-;;
57012 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
57013 esac
57014 ac_save_IFS=$IFS
57015 IFS=:
57016 set x $ac_tag
57017 IFS=$ac_save_IFS
57018 shift
57019 ac_file=$1
57020 shift
57021
57022 case $ac_mode in
57023 :L) ac_source=$1;;
57024 :[FH])
57025 ac_file_inputs=
57026 for ac_f
57027 do
57028 case $ac_f in
57029 -) ac_f="$tmp/stdin";;
57030 *) # Look for the file first in the build tree, then in the source tree
57031 # (if the path is not absolute). The absolute path cannot be DOS-style,
57032 # because $ac_f cannot contain `:'.
57033 test -f "$ac_f" ||
57034 case $ac_f in
57035 [\\/$]*) false;;
57036 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
57037 esac ||
57038 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
57039 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
57040 { (exit 1); exit 1; }; };;
57041 esac
57042 ac_file_inputs="$ac_file_inputs $ac_f"
57043 done
57044
57045 # Let's still pretend it is `configure' which instantiates (i.e., don't
57046 # use $as_me), people would be surprised to read:
57047 # /* config.h. Generated by config.status. */
57048 configure_input="Generated from "`IFS=:
57049 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
57050 if test x"$ac_file" != x-; then
57051 configure_input="$ac_file. $configure_input"
57052 { echo "$as_me:$LINENO: creating $ac_file" >&5
57053 echo "$as_me: creating $ac_file" >&6;}
57054 fi
57055
57056 case $ac_tag in
57057 *:-:* | *:-) cat >"$tmp/stdin";;
57058 esac
57059 ;;
57060 esac
57061
57062 ac_dir=`$as_dirname -- "$ac_file" ||
57063 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
57064 X"$ac_file" : 'X\(//\)[^/]' \| \
57065 X"$ac_file" : 'X\(//\)$' \| \
57066 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
57067 echo X"$ac_file" |
57068 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
57069 s//\1/
57070 q
57071 }
57072 /^X\(\/\/\)[^/].*/{
57073 s//\1/
57074 q
57075 }
57076 /^X\(\/\/\)$/{
57077 s//\1/
57078 q
57079 }
57080 /^X\(\/\).*/{
57081 s//\1/
57082 q
57083 }
57084 s/.*/./; q'`
57085 { as_dir="$ac_dir"
57086 case $as_dir in #(
57087 -*) as_dir=./$as_dir;;
57088 esac
57089 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
57090 as_dirs=
57091 while :; do
57092 case $as_dir in #(
57093 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
57094 *) as_qdir=$as_dir;;
57095 esac
57096 as_dirs="'$as_qdir' $as_dirs"
57097 as_dir=`$as_dirname -- "$as_dir" ||
57098 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
57099 X"$as_dir" : 'X\(//\)[^/]' \| \
57100 X"$as_dir" : 'X\(//\)$' \| \
57101 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
57102 echo X"$as_dir" |
57103 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
57104 s//\1/
57105 q
57106 }
57107 /^X\(\/\/\)[^/].*/{
57108 s//\1/
57109 q
57110 }
57111 /^X\(\/\/\)$/{
57112 s//\1/
57113 q
57114 }
57115 /^X\(\/\).*/{
57116 s//\1/
57117 q
57118 }
57119 s/.*/./; q'`
57120 test -d "$as_dir" && break
57121 done
57122 test -z "$as_dirs" || eval "mkdir $as_dirs"
57123 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
57124 echo "$as_me: error: cannot create directory $as_dir" >&2;}
57125 { (exit 1); exit 1; }; }; }
57126 ac_builddir=.
57127
57128 case "$ac_dir" in
57129 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
57130 *)
57131 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
57132 # A ".." for each directory in $ac_dir_suffix.
57133 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
57134 case $ac_top_builddir_sub in
57135 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
57136 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
57137 esac ;;
57138 esac
57139 ac_abs_top_builddir=$ac_pwd
57140 ac_abs_builddir=$ac_pwd$ac_dir_suffix
57141 # for backward compatibility:
57142 ac_top_builddir=$ac_top_build_prefix
57143
57144 case $srcdir in
57145 .) # We are building in place.
57146 ac_srcdir=.
57147 ac_top_srcdir=$ac_top_builddir_sub
57148 ac_abs_top_srcdir=$ac_pwd ;;
57149 [\\/]* | ?:[\\/]* ) # Absolute name.
57150 ac_srcdir=$srcdir$ac_dir_suffix;
57151 ac_top_srcdir=$srcdir
57152 ac_abs_top_srcdir=$srcdir ;;
57153 *) # Relative name.
57154 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
57155 ac_top_srcdir=$ac_top_build_prefix$srcdir
57156 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
57157 esac
57158 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
57159
57160
57161 case $ac_mode in
57162 :F)
57163 #
57164 # CONFIG_FILE
57165 #
57166
57167 case $INSTALL in
57168 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
57169 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
57170 esac
57171 _ACEOF
57172
57173 cat >>$CONFIG_STATUS <<\_ACEOF
57174 # If the template does not know about datarootdir, expand it.
57175 # FIXME: This hack should be removed a few years after 2.60.
57176 ac_datarootdir_hack=; ac_datarootdir_seen=
57177
57178 case `sed -n '/datarootdir/ {
57179 p
57180 q
57181 }
57182 /@datadir@/p
57183 /@docdir@/p
57184 /@infodir@/p
57185 /@localedir@/p
57186 /@mandir@/p
57187 ' $ac_file_inputs` in
57188 *datarootdir*) ac_datarootdir_seen=yes;;
57189 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
57190 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
57191 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
57192 _ACEOF
57193 cat >>$CONFIG_STATUS <<_ACEOF
57194 ac_datarootdir_hack='
57195 s&@datadir@&$datadir&g
57196 s&@docdir@&$docdir&g
57197 s&@infodir@&$infodir&g
57198 s&@localedir@&$localedir&g
57199 s&@mandir@&$mandir&g
57200 s&\\\${datarootdir}&$datarootdir&g' ;;
57201 esac
57202 _ACEOF
57203
57204 # Neutralize VPATH when `$srcdir' = `.'.
57205 # Shell code in configure.ac might set extrasub.
57206 # FIXME: do we really want to maintain this feature?
57207 cat >>$CONFIG_STATUS <<_ACEOF
57208 sed "$ac_vpsub
57209 $extrasub
57210 _ACEOF
57211 cat >>$CONFIG_STATUS <<\_ACEOF
57212 :t
57213 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
57214 s&@configure_input@&$configure_input&;t t
57215 s&@top_builddir@&$ac_top_builddir_sub&;t t
57216 s&@srcdir@&$ac_srcdir&;t t
57217 s&@abs_srcdir@&$ac_abs_srcdir&;t t
57218 s&@top_srcdir@&$ac_top_srcdir&;t t
57219 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
57220 s&@builddir@&$ac_builddir&;t t
57221 s&@abs_builddir@&$ac_abs_builddir&;t t
57222 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
57223 s&@INSTALL@&$ac_INSTALL&;t t
57224 $ac_datarootdir_hack
57225 " $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
57226
57227 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
57228 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
57229 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
57230 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
57231 which seems to be undefined. Please make sure it is defined." >&5
57232 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
57233 which seems to be undefined. Please make sure it is defined." >&2;}
57234
57235 rm -f "$tmp/stdin"
57236 case $ac_file in
57237 -) cat "$tmp/out"; rm -f "$tmp/out";;
57238 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
57239 esac
57240 ;;
57241 :H)
57242 #
57243 # CONFIG_HEADER
57244 #
57245 _ACEOF
57246
57247 # Transform confdefs.h into a sed script `conftest.defines', that
57248 # substitutes the proper values into config.h.in to produce config.h.
57249 rm -f conftest.defines conftest.tail
57250 # First, append a space to every undef/define line, to ease matching.
57251 echo 's/$/ /' >conftest.defines
57252 # Then, protect against being on the right side of a sed subst, or in
57253 # an unquoted here document, in config.status. If some macros were
57254 # called several times there might be several #defines for the same
57255 # symbol, which is useless. But do not sort them, since the last
57256 # AC_DEFINE must be honored.
57257 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
57258 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
57259 # NAME is the cpp macro being defined, VALUE is the value it is being given.
57260 # PARAMS is the parameter list in the macro definition--in most cases, it's
57261 # just an empty string.
57262 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
57263 ac_dB='\\)[ (].*,\\1define\\2'
57264 ac_dC=' '
57265 ac_dD=' ,'
57266
57267 uniq confdefs.h |
57268 sed -n '
57269 t rset
57270 :rset
57271 s/^[ ]*#[ ]*define[ ][ ]*//
57272 t ok
57273 d
57274 :ok
57275 s/[\\&,]/\\&/g
57276 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
57277 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
57278 ' >>conftest.defines
57279
57280 # Remove the space that was appended to ease matching.
57281 # Then replace #undef with comments. This is necessary, for
57282 # example, in the case of _POSIX_SOURCE, which is predefined and required
57283 # on some systems where configure will not decide to define it.
57284 # (The regexp can be short, since the line contains either #define or #undef.)
57285 echo 's/ $//
57286 s,^[ #]*u.*,/* & */,' >>conftest.defines
57287
57288 # Break up conftest.defines:
57289 ac_max_sed_lines=50
57290
57291 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
57292 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
57293 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
57294 # et cetera.
57295 ac_in='$ac_file_inputs'
57296 ac_out='"$tmp/out1"'
57297 ac_nxt='"$tmp/out2"'
57298
57299 while :
57300 do
57301 # Write a here document:
57302 cat >>$CONFIG_STATUS <<_ACEOF
57303 # First, check the format of the line:
57304 cat >"\$tmp/defines.sed" <<\\CEOF
57305 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
57306 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
57307 b
57308 :def
57309 _ACEOF
57310 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
57311 echo 'CEOF
57312 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
57313 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
57314 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
57315 grep . conftest.tail >/dev/null || break
57316 rm -f conftest.defines
57317 mv conftest.tail conftest.defines
57318 done
57319 rm -f conftest.defines conftest.tail
57320
57321 echo "ac_result=$ac_in" >>$CONFIG_STATUS
57322 cat >>$CONFIG_STATUS <<\_ACEOF
57323 if test x"$ac_file" != x-; then
57324 echo "/* $configure_input */" >"$tmp/config.h"
57325 cat "$ac_result" >>"$tmp/config.h"
57326 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
57327 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
57328 echo "$as_me: $ac_file is unchanged" >&6;}
57329 else
57330 rm -f $ac_file
57331 mv "$tmp/config.h" $ac_file
57332 fi
57333 else
57334 echo "/* $configure_input */"
57335 cat "$ac_result"
57336 fi
57337 rm -f "$tmp/out12"
57338 ;;
57339
57340 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
57341 echo "$as_me: executing $ac_file commands" >&6;}
57342 ;;
57343 esac
57344
57345
57346 case $ac_file$ac_mode in
57347 "rcdefs.h":C)
57348 mkdir -p $outdir &&
57349 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
57350 ;;
57351 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
57352 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
57353 "utils/ifacecheck/rungccxml.sh":F) chmod +x utils/ifacecheck/rungccxml.sh ;;
57354 "wx-config":C) rm -f wx-config
57355 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
57356 ;;
57357
57358 esac
57359 done # for ac_tag
57360
57361
57362 { (exit 0); exit 0; }
57363 _ACEOF
57364 chmod +x $CONFIG_STATUS
57365 ac_clean_files=$ac_clean_files_save
57366
57367
57368 # configure is writing to config.log, and then calls config.status.
57369 # config.status does its own redirection, appending to config.log.
57370 # Unfortunately, on DOS this fails, as config.log is still kept open
57371 # by configure, so config.status won't be able to write to it; its
57372 # output is simply discarded. So we exec the FD to /dev/null,
57373 # effectively closing config.log, so it can be properly (re)opened and
57374 # appended to by config.status. When coming back to configure, we
57375 # need to make the FD available again.
57376 if test "$no_create" != yes; then
57377 ac_cs_success=:
57378 ac_config_status_args=
57379 test "$silent" = yes &&
57380 ac_config_status_args="$ac_config_status_args --quiet"
57381 exec 5>/dev/null
57382 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
57383 exec 5>>config.log
57384 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
57385 # would make configure fail if this is the last instruction.
57386 $ac_cs_success || { (exit 1); exit 1; }
57387 fi
57388
57389 #
57390 # CONFIG_SUBDIRS section.
57391 #
57392 if test "$no_recursion" != yes; then
57393
57394 # Remove --cache-file and --srcdir arguments so they do not pile up.
57395 ac_sub_configure_args=
57396 ac_prev=
57397 eval "set x $ac_configure_args"
57398 shift
57399 for ac_arg
57400 do
57401 if test -n "$ac_prev"; then
57402 ac_prev=
57403 continue
57404 fi
57405 case $ac_arg in
57406 -cache-file | --cache-file | --cache-fil | --cache-fi \
57407 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
57408 ac_prev=cache_file ;;
57409 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
57410 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
57411 | --c=*)
57412 ;;
57413 --config-cache | -C)
57414 ;;
57415 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
57416 ac_prev=srcdir ;;
57417 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
57418 ;;
57419 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
57420 ac_prev=prefix ;;
57421 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
57422 ;;
57423 *)
57424 case $ac_arg in
57425 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
57426 esac
57427 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
57428 esac
57429 done
57430
57431 # Always prepend --prefix to ensure using the same prefix
57432 # in subdir configurations.
57433 ac_arg="--prefix=$prefix"
57434 case $ac_arg in
57435 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
57436 esac
57437 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
57438
57439 # Pass --silent
57440 if test "$silent" = yes; then
57441 ac_sub_configure_args="--silent $ac_sub_configure_args"
57442 fi
57443
57444 ac_popdir=`pwd`
57445 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
57446
57447 # Do not complain, so a configure script can configure whichever
57448 # parts of a large source tree are present.
57449 test -d "$srcdir/$ac_dir" || continue
57450
57451 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
57452 echo "$as_me:$LINENO: $ac_msg" >&5
57453 echo "$ac_msg" >&6
57454 { as_dir="$ac_dir"
57455 case $as_dir in #(
57456 -*) as_dir=./$as_dir;;
57457 esac
57458 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
57459 as_dirs=
57460 while :; do
57461 case $as_dir in #(
57462 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
57463 *) as_qdir=$as_dir;;
57464 esac
57465 as_dirs="'$as_qdir' $as_dirs"
57466 as_dir=`$as_dirname -- "$as_dir" ||
57467 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
57468 X"$as_dir" : 'X\(//\)[^/]' \| \
57469 X"$as_dir" : 'X\(//\)$' \| \
57470 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
57471 echo X"$as_dir" |
57472 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
57473 s//\1/
57474 q
57475 }
57476 /^X\(\/\/\)[^/].*/{
57477 s//\1/
57478 q
57479 }
57480 /^X\(\/\/\)$/{
57481 s//\1/
57482 q
57483 }
57484 /^X\(\/\).*/{
57485 s//\1/
57486 q
57487 }
57488 s/.*/./; q'`
57489 test -d "$as_dir" && break
57490 done
57491 test -z "$as_dirs" || eval "mkdir $as_dirs"
57492 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
57493 echo "$as_me: error: cannot create directory $as_dir" >&2;}
57494 { (exit 1); exit 1; }; }; }
57495 ac_builddir=.
57496
57497 case "$ac_dir" in
57498 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
57499 *)
57500 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
57501 # A ".." for each directory in $ac_dir_suffix.
57502 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
57503 case $ac_top_builddir_sub in
57504 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
57505 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
57506 esac ;;
57507 esac
57508 ac_abs_top_builddir=$ac_pwd
57509 ac_abs_builddir=$ac_pwd$ac_dir_suffix
57510 # for backward compatibility:
57511 ac_top_builddir=$ac_top_build_prefix
57512
57513 case $srcdir in
57514 .) # We are building in place.
57515 ac_srcdir=.
57516 ac_top_srcdir=$ac_top_builddir_sub
57517 ac_abs_top_srcdir=$ac_pwd ;;
57518 [\\/]* | ?:[\\/]* ) # Absolute name.
57519 ac_srcdir=$srcdir$ac_dir_suffix;
57520 ac_top_srcdir=$srcdir
57521 ac_abs_top_srcdir=$srcdir ;;
57522 *) # Relative name.
57523 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
57524 ac_top_srcdir=$ac_top_build_prefix$srcdir
57525 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
57526 esac
57527 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
57528
57529
57530 cd "$ac_dir"
57531
57532 # Check for guested configure; otherwise get Cygnus style configure.
57533 if test -f "$ac_srcdir/configure.gnu"; then
57534 ac_sub_configure=$ac_srcdir/configure.gnu
57535 elif test -f "$ac_srcdir/configure"; then
57536 ac_sub_configure=$ac_srcdir/configure
57537 elif test -f "$ac_srcdir/configure.in"; then
57538 # This should be Cygnus configure.
57539 ac_sub_configure=$ac_aux_dir/configure
57540 else
57541 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
57542 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
57543 ac_sub_configure=
57544 fi
57545
57546 # The recursion is here.
57547 if test -n "$ac_sub_configure"; then
57548 # Make the cache file name correct relative to the subdirectory.
57549 case $cache_file in
57550 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
57551 *) # Relative name.
57552 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
57553 esac
57554
57555 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
57556 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
57557 # The eval makes quoting arguments work.
57558 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
57559 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
57560 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
57561 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
57562 { (exit 1); exit 1; }; }
57563 fi
57564
57565 cd "$ac_popdir"
57566 done
57567 fi
57568
57569
57570 echo
57571 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
57572 echo ""
57573 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
57574 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
57575 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
57576 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
57577 if test "$wxUSE_UNICODE" = "yes"; then
57578 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
57579 echo " (using UTF-8)"
57580 else
57581 echo " (using wchar_t)"
57582 fi
57583 else
57584 echo
57585 fi
57586
57587 echo " What level of wxWidgets compatibility should be enabled?"
57588 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
57589 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
57590
57591 echo " Which libraries should wxWidgets use?"
57592 echo " STL ${wxUSE_STL}"
57593 echo " jpeg ${wxUSE_LIBJPEG-none}"
57594 echo " png ${wxUSE_LIBPNG-none}"
57595 echo " regex ${wxUSE_REGEX}"
57596 echo " tiff ${wxUSE_LIBTIFF-none}"
57597 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
57598 echo " xpm ${wxUSE_LIBXPM-none}"
57599 fi
57600 echo " zlib ${wxUSE_ZLIB}"
57601 echo " expat ${wxUSE_EXPAT}"
57602 echo " libmspack ${wxUSE_LIBMSPACK}"
57603 echo " sdl ${wxUSE_LIBSDL}"
57604
57605 echo ""
57606